TypeScript API / laikacms/documents / DocumentUpdateSchema
Variable: DocumentUpdateSchema
ts
const DocumentUpdateSchema: 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: optional<$Record<String, Any>>;
key: String;
language: optional<StandardSchemaV1<string | undefined, string> & withDecodingDefault<String, never>>;
status: optional<Literal<"published">>;
type: optional<Literal<"published">>;
}>;