type

FieldDocument

The authoring-safe document shape exposed to extension components.

Full signature

type FieldDocument = Record<string, unknown> & { id: string; createdAt?: string; updatedAt?: string; deletedAt?: string; _status?: "draft" | "published"; _revision?: number; /** Revision of the live snapshot when this is an authorized working-draft read. */ _publishedRevision?: number; /** Whether the working snapshot differs from that live snapshot. */ _hasDraftChanges?: boolean; _localization?: { sources: Record<string, string>; }; }

Source packages/plugin/src/lib/index.ts:9