TypeScript API / @laikacms/vite-plugin / ContentChangeEvent
Interface: ContentChangeEvent
A single content-change notification. kind is upsert when an item was created or modified (regenerate its types) and delete when it was removed (drop its types).
Properties
key
ts
readonly key: string;kind
ts
readonly kind: "delete" | "upsert";namespace
ts
readonly namespace: Namespace;