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,52 @@
import type { errors } from '@strapi/utils';
import type { SanitizedAdminUser, Permission } from './shared';
/**
* GET /users/me - Log in as an admin user
*/
export declare namespace GetMe {
interface Request {
query: {};
body: {};
}
interface Response {
data: SanitizedAdminUser;
error?: errors.ApplicationError;
}
}
/**
* PUT /users/me - Update the current admin user
*/
export declare namespace UpdateMe {
interface BaseRequestBody {
password?: string;
currentPassword?: string;
email?: string;
firstname?: string;
lastname?: string;
username?: string;
preferedLanguage?: string;
}
interface Request {
query: {};
body: BaseRequestBody;
}
interface Response {
data: SanitizedAdminUser;
error?: errors.ApplicationError | errors.ValidationError<'ValidationError', {
currentPassword: ['Invalid credentials'];
}> | errors.YupValidationError;
}
}
/**
* GET /users/me/permissions - Get the permissions of the current admin user
*/
export declare namespace GetOwnPermissions {
interface Request {
query: {};
body: {};
}
interface Response {
data: Permission[];
error?: errors.ApplicationError;
}
}