web / UseBlocksList
Interface: UseBlocksList ​
Defined in: apps/web/app/composables/useBlocksList/types.ts:26
Properties ​
blocksLists ​
blocksLists:
Ref<BlocksList>
Defined in: apps/web/app/composables/useBlocksList/types.ts:27
getBlocksLists() ​
getBlocksLists: () =>
Promise<void>
Defined in: apps/web/app/composables/useBlocksList/types.ts:29
Returns ​
Promise<void>
getBlockTemplateByLanguage() ​
getBlockTemplateByLanguage: (
category,variationIndex,lang) =>Promise<Block>
Defined in: apps/web/app/composables/useBlocksList/types.ts:30
Parameters ​
category ​
string
variationIndex ​
number
lang ​
string
Returns ​
Promise<Block>
pageHasAccessToCategory() ​
pageHasAccessToCategory: (
category) =>boolean
Defined in: apps/web/app/composables/useBlocksList/types.ts:31
Parameters ​
category ​
Returns ​
boolean
setBlocksListContext() ​
setBlocksListContext: (
context) =>void
Defined in: apps/web/app/composables/useBlocksList/types.ts:28
Parameters ​
context ​
Returns ​
void