UNPKG

@lucidcms/core

Version:

The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.

15 lines 985 B
import { CollectionDocumentKey } from "../../../types/response.mjs"; import { CollectionDocumentSingleQuery } from "../../../types/query-params.mjs"; import { ToolkitDocumentVersion } from "./index.mjs"; import { ToolkitTenantOptions } from "../types.mjs"; //#region src/libs/toolkit/documents/get-single.d.ts type ToolkitDocumentsGetSingleQuery<TCollectionKey extends CollectionDocumentKey = CollectionDocumentKey> = Omit<CollectionDocumentSingleQuery<TCollectionKey>, never>; type ToolkitDocumentsGetSingleInput<TCollectionKey extends CollectionDocumentKey = CollectionDocumentKey> = ToolkitTenantOptions & { collectionKey: TCollectionKey; version: ToolkitDocumentVersion<TCollectionKey>; /** Optional preview context that may override the requested version. */ preview?: string | null; query?: ToolkitDocumentsGetSingleQuery<TCollectionKey>; }; //#endregion export { ToolkitDocumentsGetSingleInput, ToolkitDocumentsGetSingleQuery }; //# sourceMappingURL=get-single.d.mts.map