TypeScript API / laikacms/documents / DocumentCreateSchema
Variable: DocumentCreateSchema
ts
const DocumentCreateSchema: StandardSchemaV1<{
content: {
[key: string]: any;
};
key: string;
language?: string;
status: "published";
type: "published";
}, {
content: {
[key: string]: any;
};
key: string;
language: string;
status: "published";
type: "published";
}> & Struct<{
content: $Record<String, Any>;
key: String;
language: StandardSchemaV1<string | undefined, string> & withDecodingDefault<String, never>;
status: Literal<"published">;
type: Literal<"published">;
}>;