@sqlrooms/documents / CreateBlockDocumentsSliceProps
Type Alias: CreateBlockDocumentsSliceProps<TRoomState>
CreateBlockDocumentsSliceProps<
TRoomState> =object
Type Parameters
| Type Parameter | Default type |
|---|---|
TRoomState extends BaseRoomStoreState & BlockDocumentsSliceState | BaseRoomStoreState & BlockDocumentsSliceState |
Properties
config?
optionalconfig?:Partial<BlockDocumentsSliceConfig>
now?
optionalnow?: () =>number
Returns
number
onDeleteOwnedStatefulBlock?
optionalonDeleteOwnedStatefulBlock?: (context) =>void
Parameters
| Parameter | Type |
|---|---|
context | BlockDocumentOwnedStatefulBlockDeleteContext<TRoomState> |
Returns
void
onCreateOwnedStatefulBlock?
optionalonCreateOwnedStatefulBlock?: (context) =>void
Parameters
| Parameter | Type |
|---|---|
context | BlockDocumentOwnedStatefulBlockCreateContext<TRoomState> |
Returns
void
onRenameOwnedStatefulBlock?
optionalonRenameOwnedStatefulBlock?: (context) =>void
Parameters
| Parameter | Type |
|---|---|
context | BlockDocumentOwnedStatefulBlockRenameContext<TRoomState> |
Returns
void
