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,
} from "../payload/endpoint-types";
export type MeiliDocumentRequest =
| {
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 & {
export type MeiliDocument = {
docId: string;
distinctId: string;
languages: string[];