Removed MeiliDocumentRequest

This commit is contained in:
DrMint 2024-07-28 13:58:54 +02:00
parent caa79dee9e
commit 516fc03307
1 changed files with 41 additions and 79 deletions

View File

@ -11,45 +11,7 @@ import type {
EndpointChronologyEvent, EndpointChronologyEvent,
} from "../payload/endpoint-types"; } from "../payload/endpoint-types";
export type MeiliDocumentRequest = export type MeiliDocument = {
| {
slug: string;
type: Collections.Collectibles;
}
| {
slug: string;
type: Collections.Pages;
}
| {
slug: string;
type: Collections.Folders;
}
| {
id: string;
type: Collections.Videos;
}
| {
id: string;
type: Collections.Audios;
}
| {
id: string;
type: Collections.Images;
}
| {
id: string;
type: Collections.Files;
}
| {
id: string;
type: Collections.Recorders;
}
| {
id: string;
type: Collections.ChronologyEvents;
};
export type MeiliDocument = MeiliDocumentRequest & {
docId: string; docId: string;
distinctId: string; distinctId: string;
languages: string[]; languages: string[];