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,42 @@
/**
* Used to store user configurations related to media files.
* E.g the size optimization flag, the responsive dimensions flag and the auto orientation.
*/
import { errors } from '@strapi/utils';
import type { Utils } from '@strapi/types';
export interface Settings {
data: {
sizeOptimization?: boolean;
responsiveDimensions?: boolean;
autoOrientation?: boolean;
videoPreview?: boolean;
};
}
/**
* GET /upload/settings
*
* Return the stored settings for the media files.
*/
export declare namespace GetSettings {
interface Request {
query?: {};
}
interface Response {
data: Settings;
}
}
/**
* PUT /upload/settings
*
* Update the stored settings
*/
export declare namespace UpdateSettings {
interface Request {
body: Settings['data'];
}
type Response = Utils.OneOf<{
data: Settings['data'];
}, {
error?: errors.ApplicationError | errors.ValidationError;
}>;
}