Skip to content

TypeScript API / laikacms/documents / DocumentSummarySchema

Variable: DocumentSummarySchema ​

ts
const DocumentSummarySchema: StandardSchemaV1<{
  createdAt?: string;
  key: string;
  language?: string;
  status: "published";
  type: "published-summary";
  updatedAt?: string;
  version?: string;
}, {
  createdAt?: string;
  key: string;
  language: string;
  status: "published";
  type: "published-summary";
  updatedAt?: string;
  version?: string;
}> & Struct<{
  createdAt: optional<String>;
  key: String;
  language: StandardSchemaV1<string | undefined, string> & withDecodingDefault<String, never>;
  status: Literal<"published">;
  type: Literal<"published-summary">;
  updatedAt: optional<String>;
  version: optional<String>;
}>;

Released under the MIT License.