The preview component shown in the editor
preview: (props: PreviewProps<ObjectField<Schema>> & {The schema for the props that the preview component, toolbar and rendered component will receive
schema: Schema;The label to show in the insert menu and chrome around the block if chromeless is false
label: string;An icon to show in the toolbar for this component block. Component blocks with toolbarIcon
are shown in the toolbar directly instead of the insert menu
This will be true when validate has returned false and the user has attempted to close the form or when the form is open and they attempt to save the item
forceValidation: boolean;If undefined is returned, the field will generally not be written, except in array fields where it will be stored as null
serialize(value: ParsedValue): { };@default — process.env.KEYSTATIC_GITHUB_CLIENT_ID
clientId?: string;@default — process.env.KEYSTATIC_GITHUB_CLIENT_SECRET
clientSecret?: string;@default — process.env.KEYSTATIC_SECRET
secret?: string;@deprecated — Experimental
export function cloudImage(args: {@deprecated — This is experimental and buggy, use at your own risk.
export function __experimental_markdoc_field({ label, description, config, }: {