Skip to content

@sqlrooms/documents / CreateBlockDocumentsSliceProps

Type Alias: CreateBlockDocumentsSliceProps<TRoomState> ​

CreateBlockDocumentsSliceProps<TRoomState> = object

Type Parameters ​

Type ParameterDefault type
TRoomState extends BaseRoomStoreState & BlockDocumentsSliceStateBaseRoomStoreState & BlockDocumentsSliceState

Properties ​

config? ​

optional config?: Partial<BlockDocumentsSliceConfig>


now? ​

optional now?: () => number

Returns ​

number


onDeleteOwnedStatefulBlock? ​

optional onDeleteOwnedStatefulBlock?: (context) => void

Parameters ​

ParameterType
contextBlockDocumentOwnedStatefulBlockDeleteContext<TRoomState>

Returns ​

void


onCreateOwnedStatefulBlock? ​

optional onCreateOwnedStatefulBlock?: (context) => void

Parameters ​

ParameterType
contextBlockDocumentOwnedStatefulBlockCreateContext<TRoomState>

Returns ​

void