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,26 @@
import type { Data, UID } from '@strapi/types';
import { type errors } from '@strapi/utils';
/**
* GET /content-manager/preview/url/:uid
*/
export declare namespace GetPreviewUrl {
interface Request {
params: {
contentType: UID.ContentType;
};
query: {
documentId?: Data.DocumentID;
locale?: string;
status?: 'published' | 'draft';
};
}
type Response = {
data: {
url: string | undefined;
};
error?: never;
} | {
data?: never;
error: errors.ApplicationError | errors.ValidationError | errors.NotFoundError;
};
}