Skip to content

TypeScript API / laikacms/documents / RevisionUpdateSchema

Variable: RevisionUpdateSchema ​

ts
const RevisionUpdateSchema: StandardSchemaV1<{
  content?: {
   [key: string]: any;
  };
  key: string;
  language?: string;
  revision?: string;
  type?: "revision";
}, {
  content?: {
   [key: string]: any;
  };
  key: string;
  language?: string;
  revision?: string;
  type?: "revision";
}> & Struct<{
  content: optional<$Record<String, Any>>;
  key: String;
  language: optional<StandardSchemaV1<string | undefined, string> & withDecodingDefault<String, never>>;
  revision: optional<String>;
  type: optional<Literal<"revision">>;
}>;

Released under the MIT License.