node_modules ignore

This commit is contained in:
2025-05-08 23:43:47 +02:00
parent e19d52f172
commit 4574544c9f
65041 changed files with 10593536 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
/**
* Used to store the media library configuration.
* E.g the page size, the sort.
*/
import { errors } from '@strapi/utils';
import type { Utils } from '@strapi/types';
type SortOrder = 'ASC' | 'DESC';
type SortKey = 'createdAt' | 'name' | 'updatedAt';
export interface Configuration {
pageSize: number;
sort: `${SortKey}:${SortOrder}`;
}
/**
* GET /upload/configuration
*
* Return the configuration for the media files.
*/
export declare namespace GetConfiguration {
interface Request {
query?: {};
}
interface Response {
data: {
data: Configuration;
};
error?: errors.ApplicationError | errors.NotFoundError;
}
}
/**
* PUT /upload/configuration
*
* Update the configuration
*/
export declare namespace UpdateConfiguration {
interface Request {
body: Configuration;
}
type Response = Utils.OneOf<{
data: Configuration;
}, {
error?: errors.ApplicationError | errors.ValidationError;
}>;
}
export {};