interface

FieldAuthoringHost

interface FieldAuthoringHost { ... }

Optional authoring services for relationship-like field components.

Source packages/plugin/src/index.ts:2

collectionsreadonly SchemaCollection[]
The collections value.
documentRevisionnumber
The documentRevision value.
localestring
The locale value.
referenceBrowserComponent<FieldReferenceBrowserProps, {}, string>
The referenceBrowser value.
findDocument(collection: string, id: string, signal?: AbortSignal) => Promise<FieldDocument>
The findDocument value.
requestPlugin<Result>(path: string, body: unknown, signal?: AbortSignal) => Promise<Result>
The requestPlugin value.

requestPlugin is owner-scoped by the framework to the component’s paired backend plugin and routes through the configured SDK transport.

Methods