@sqlrooms/documents / DocumentsSliceState
Type Alias: DocumentsSliceState
DocumentsSliceState =
object
Properties
documents
documents:
object
| Name | Type |
|---|---|
config | DocumentsSliceConfig |
setConfig() | (config) => void |
ensureDocument() | (artifactId, markdown?) => void |
removeDocument() | (artifactId) => void |
setMarkdown() | (artifactId, markdown) => void |
upsertAsset() | (artifactId, asset) => void |
removeAsset() | (artifactId, assetId) => void |
getAsset() | (artifactId, assetId) => DocumentAsset | undefined |
getDocument() | (artifactId) => DocumentArtifact | undefined |
