@sqlrooms/documents / CreateBlockDocumentCommandAiAdapterOptions
Type Alias: CreateBlockDocumentCommandAiAdapterOptions<TRoomState>
CreateBlockDocumentCommandAiAdapterOptions<
TRoomState> =object
Type Parameters
| Type Parameter |
|---|
TRoomState extends BlockDocumentCommandAiAdapterState |
Properties
store
store:
StoreApi<TRoomState>
Store with artifacts, block documents, and command slices mounted.
isBlockDocumentArtifact?
optionalisBlockDocumentArtifact?: (artifact) =>boolean
Optional host predicate for persisted artifact compatibility.
Omit this for plain block-document artifacts. Hosts that temporarily persist another artifact type can provide a predicate without leaking that type into the reusable adapter API.
Parameters
| Parameter | Type |
|---|---|
artifact | ArtifactMetadataType |
Returns
boolean