Skip to content

TypeScript API / laikacms/storage / ChangeSummarySchema

Variable: ChangeSummarySchema ​

ts
const ChangeSummarySchema: StandardSchemaV1<{
  deleted: boolean;
  key: string;
  version?: string;
}, {
  deleted: boolean;
  key: string;
  version?: string;
}> & Struct<{
  deleted: Boolean;
  key: String;
  version: optional<String>;
}>;

One entry of a change feed: the key that changed, the record's new opaque version (when the backend tracks per-record versions), and whether the change was a deletion.

Released under the MIT License.