Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Toola-bakery/Toola
/ functions
Functions
354 in github.com/Toola-bakery/Toola
⨍
Functions
354
◇
Types & classes
22
↓ 56 callers
Function
useBlockProperty
(name: string, defaultValue?: T)
client/src/features/editor/hooks/useBlockProperty.ts:11
↓ 33 callers
Function
usePageContext
()
client/src/features/executor/hooks/useReferences.ts:9
↓ 31 callers
Function
useBlock
(skipError?: boolean)
client/src/features/editor/hooks/useBlock.tsx:8
↓ 25 callers
Function
useBlockContext
(skipError?: boolean)
client/src/features/editor/hooks/useBlockContext.tsx:5
↓ 24 callers
Function
useEditor
()
client/src/features/editor/hooks/useEditor.ts:60
↓ 23 callers
Function
useAppendBlockMenu
(menu: MenuItemProps[], index: number)
client/src/features/editor/hooks/blockInspector/useAppendBlockMenu.ts:5
↓ 21 callers
Function
useCurrent
()
client/src/features/editor/hooks/useCurrent.ts:4
↓ 16 callers
Function
setValue
(v: unknown)
client/src/features/blocks/blocks/ProgressBarBlock.tsx:30
↓ 16 callers
Function
useReferences
(_sourceCode: T)
client/src/features/executor/hooks/useReferences.ts:97
↓ 15 callers
Function
useProjects
()
client/src/features/usersAndProjects/hooks/useProjects.ts:25
↓ 12 callers
Function
useUser
(skipFetch = false)
client/src/features/usersAndProjects/hooks/useUser.ts:9
↓ 11 callers
Function
copyProps
(joinWith: { type: P } & BlockProps, anyBlock?: BlockProps)
client/src/features/blocks/helpers/BlockCreators.ts:4
↓ 11 callers
Method
send
(id: string, message: any)
repl/src/services/gateway/WSRegister.ts:108
↓ 11 callers
Function
sliceEntities
( text: string, entities: TextEntity[], startPosition: number, endPosition = text.length - 1, )
client/src/features/blocks/blocks/TextBlock/plugins/TextEntitiesMutation.ts:125
↓ 11 callers
Function
useReferenceEvaluator
({ syncWithBlockProps, watchReferences = true, watchListProps = {}, }: { syncWithBlockProps?: boolean; wa
client/src/features/executor/hooks/useReferences.ts:13
↓ 9 callers
Function
getDatabase
(ctx: Context<{ id: string }>)
repl/src/services/databases/mongo/mongoProxy.service.ts:11
↓ 9 callers
Function
useDrawer
({ name, defaultSize = 240, maxSize = MAX_DRAWER_SIZE, minSize = MIN_DRAWER_SIZE, }: { name: string; def
client/src/features/drawer/hooks/useDrawer.ts:8
↓ 9 callers
Function
usePageNavigator
()
client/src/hooks/usePageNavigator.ts:4
↓ 8 callers
Function
output
(data)
serverless/src/handler.ts:75
↓ 8 callers
Function
useBlockState
(name: string, defaultValue?: T | (() => T))
client/src/features/editor/hooks/useBlockProperty.ts:43
↓ 8 callers
Function
useDeclareBlockMethods
(methods: T, deps: DependencyList)
client/src/features/editor/hooks/useDeclareBlockMethods.tsx:6
↓ 8 callers
Function
useEventListener
( id: string, effect: (event: U & Event) => void, deps: DependencyList, )
client/src/features/editor/hooks/useEvents.tsx:58
↓ 8 callers
Function
usePrevious
(value: T)
client/src/hooks/usePrevious.ts:3
↓ 8 callers
Function
useSyncBlockState
(key: K | keyof T, value: T[K])
client/src/features/editor/hooks/useSyncBlockState.ts:6
↓ 7 callers
Function
onChange
(v: unknown)
client/src/features/inspector/hooks/useQueryConstructor.tsx:23
↓ 7 callers
Function
resolve
()
serverless/src/handler.ts:6
↓ 7 callers
Function
useRefLatest
(prop: T)
client/src/hooks/useRefLatest.ts:3
↓ 6 callers
Function
getAndLoadPackage
(monaco: Monaco, packageNameWithVersion: string)
client/src/features/blocks/blocks/CodeBlock/setupMonaco.ts:44
↓ 6 callers
Function
getPageHelper
(state: EditorState, pageId: string)
client/src/features/editor/redux/editor.ts:38
↓ 6 callers
Function
useOnMountedEffect
(effect: EffectCallback)
client/src/hooks/useOnMounted.ts:13
↓ 6 callers
Function
useResources
()
client/src/features/resources/hooks/useResources.ts:19
↓ 5 callers
Function
deleteChildFromParentHelper
(state: EditorState, pageId: string, blockId: string)
client/src/features/editor/redux/editor.ts:60
↓ 5 callers
Method
get
(id: string)
repl/src/services/gateway/WSRegister.ts:104
↓ 5 callers
Function
getBlocks
(pageId: string)
client/src/features/editor/hooks/useEditor.ts:58
↓ 5 callers
Function
getCaretIndex
(element: HTMLElement)
client/src/features/blocks/helpers/caretOperators.ts:29
↓ 5 callers
Function
parseIntSafe
(value: unknown)
client/src/features/blocks/helpers/parsers.ts:1
↓ 5 callers
Function
typeOf
(object: any)
client/src/features/inspector/components/CodeInput.tsx:13
↓ 5 callers
Function
updateParentIdHelper
(state: EditorState, pageId: string, blockId: string, newParentId: null | string)
client/src/features/editor/redux/editor.ts:75
↓ 5 callers
Function
useAppDispatch
()
client/src/redux/hooks.ts:9
↓ 5 callers
Function
useKy
()
client/src/hooks/useKy.ts:6
↓ 5 callers
Function
useWindowSize
({ width, height, }: { width?: W; height?: H; })
client/src/hooks/useWindowSize.ts:3
↓ 4 callers
Function
concatEntities
( text1: string, entities1: TextEntity[], text2: string, entities2: TextEntity[], )
client/src/features/blocks/blocks/TextBlock/plugins/TextEntitiesMutation.ts:182
↓ 4 callers
Method
disconnect
(id: string)
repl/src/services/gateway/WSRegister.ts:112
↓ 4 callers
Function
evalGet
(anyTopLevel: { globals: any; blocks: any }, keys: string[])
client/src/features/executor/hooks/useWatchList.ts:25
↓ 4 callers
Function
getBlockHelper
(state: EditorState, pageId: string, blockId: string)
client/src/features/editor/redux/editor.ts:33
↓ 4 callers
Function
selectBlockProps
(state: RootState, pageId: string, blockId: string)
client/src/features/editor/redux/editor.ts:199
↓ 4 callers
Function
setCaretPosition
(el: Node, start: number, end = start)
client/src/features/blocks/helpers/caretOperators.ts:89
↓ 4 callers
Method
stop
()
repl/src/services/gateway/Heartbeat.ts:41
↓ 4 callers
Function
togglePlugin
(plugin: TextEntityPlugins)
client/src/features/blocks/blocks/TextBlock/hooks/useTextBlockOnKeyDownHandler.ts:51
↓ 4 callers
Function
usePage
(pageId: string)
client/src/features/editor/components/Page/hooks/usePage.tsx:5
↓ 4 callers
Function
useTopLevelPages
()
client/src/features/drawer/hooks/useTopLevelPages.ts:7
↓ 3 callers
Function
addChildAfterId
(state, action: PayloadAction<{ pageId: string; putAfterId: string; blocksId: string | string[] }>)
client/src/features/editor/redux/editor.ts:140
↓ 3 callers
Function
close
()
client/src/features/editor/components/Block/Block.tsx:35
↓ 3 callers
Function
fillEmptyEntities
(text: string, _entities: TextEntity[])
client/src/features/blocks/blocks/TextBlock/plugins/TextEntitiesMutation.ts:4
↓ 3 callers
Function
getParentHelper
(state: EditorState, pageId: string, blockId: string)
client/src/features/editor/redux/editor.ts:26
↓ 3 callers
Function
normalizeCase
(input: string)
client/src/libs/normalizeCase.ts:7
↓ 3 callers
Function
populateKeys
(keys: string[])
client/src/features/executor/hooks/useWatchList.ts:11
↓ 3 callers
Function
selectBlocksProps
(state: RootState, pageId: string)
client/src/features/editor/redux/editor.ts:195
↓ 3 callers
Function
stringifyCellValue
(cell: Cell)
client/src/features/blocks/blocks/TableBlock/RenderCellType.tsx:16
↓ 3 callers
Function
useDrawerResizable
({ axis = 'x', reverse = false, setSize, }: { axis?: 'x' | 'y'; reverse?: boolean; setSize: (newWidth: n
client/src/features/drawer/hooks/useDrawer.ts:48
↓ 3 callers
Function
useEvents
()
client/src/features/editor/hooks/useEvents.tsx:23
↓ 3 callers
Function
useImmerState
(key: string)
client/src/redux/hooks.ts:14
↓ 3 callers
Function
useIsDevtoolsOpen
()
client/src/features/editor/hooks/useIsDevtoolsOpen.tsx:6
↓ 3 callers
Function
usePageModal
()
client/src/features/pageModal/hooks/usePageModal.ts:4
↓ 3 callers
Function
usePagesMutations
()
client/src/features/editor/components/Page/hooks/usePagesMutations.ts:12
↓ 3 callers
Function
watchListKeyGetter
(keys: string[])
client/src/features/executor/hooks/useWatchList.ts:14
↓ 3 callers
Function
wrapKey
(key: string)
client/src/features/inspector/components/CodeInput.tsx:30
↓ 2 callers
Method
add
(fn: (itemId: number) => Promise<T>)
repl/src/utils/taskQueue.ts:23
↓ 2 callers
Method
askInit
(id)
repl/src/services/gateway/WSRegister.ts:100
↓ 2 callers
Function
concatMultipleEntities
(concat: [string, TextEntity[]][])
client/src/features/blocks/blocks/TextBlock/plugins/TextEntitiesMutation.ts:199
↓ 2 callers
Function
deleteBlockHelper
(state: EditorState, pageId: string, blockId: string)
client/src/features/editor/redux/editor.ts:47
↓ 2 callers
Method
deleteByNode
(nodeIds: string[], isWhitelist = false)
repl/src/services/gateway/WSRegister.ts:143
↓ 2 callers
Function
entitiesToHTML
(text: string, entities: TextEntity[])
client/src/features/blocks/blocks/TextBlock/plugins/TextEntitiesMutation.ts:40
↓ 2 callers
Function
findNodeAtPosition
( element: Node, position: number, current = 0, )
client/src/features/blocks/helpers/caretOperators.ts:80
↓ 2 callers
Function
getMongoClient
(mongoProps: MongoDatabaseSchema)
repl/src/services/databases/mongo/getMongoClient.ts:4
↓ 2 callers
Function
getNewPromise
()
client/src/features/ws/components/WSProvider.tsx:21
↓ 2 callers
Function
getPostgresqlClient
(connectionData: PostgresqlDatabaseSchema)
repl/src/services/databases/postgresql/getPostgresqlClient.ts:4
↓ 2 callers
Function
getPromise
()
client/src/hooks/usePromise.ts:4
↓ 2 callers
Function
getRange
()
client/src/features/blocks/helpers/caretOperators.ts:1
↓ 2 callers
Function
getSelection
(element: HTMLElement)
client/src/features/blocks/helpers/caretOperators.ts:11
↓ 2 callers
Function
htmlToEntities
(htmlString: string)
client/src/features/blocks/blocks/TextBlock/plugins/TextEntitiesMutation.ts:120
↓ 2 callers
Function
parseDate
(value: any)
client/src/features/blocks/blocks/Inputs/DateInputBlock.tsx:13
↓ 2 callers
Method
resetTimeout
()
repl/src/services/gateway/Heartbeat.ts:33
↓ 2 callers
Function
sendToUser
(message, awaitResp)
packages/sdk/modules/pageState.js:59
↓ 2 callers
Function
sendToUser
(message)
serverless/src/handler.ts:51
↓ 2 callers
Function
setPath
()
client/src/features/editor/components/Block/Block.tsx:35
↓ 2 callers
Function
updateParentId
(state, action: PayloadAction<{ blockId: string; parentId: string; pageId: string }>)
client/src/features/editor/redux/editor.ts:92
↓ 2 callers
Function
useBlockDrag
(block: BasicBlock & Blocks)
client/src/features/editor/hooks/useBlockDrag.ts:6
↓ 2 callers
Function
useButtonEventHandler
(index = 1)
client/src/features/blocks/hooks/useButtonEventHandler.ts:12
↓ 2 callers
Function
useCanEdit
()
client/src/features/editor/hooks/useIsEditing.tsx:8
↓ 2 callers
Function
useCardStyle
(index = 0)
client/src/features/blocks/hooks/useCardStyle.ts:7
↓ 2 callers
Function
useDataSource
(index = 0)
client/src/features/blocks/hooks/useDataSource.ts:7
↓ 2 callers
Function
useForm
(form: T)
client/src/features/form/hooks/useForm.ts:10
↓ 2 callers
Function
useFunctionExecutor
({ watchListProp, listener, onTrigger, value, disabled = false }: FunctionExecutor)
client/src/features/executor/hooks/useExecutor.ts:28
↓ 2 callers
Function
useInitialValue
(index = 1)
client/src/features/blocks/hooks/useInitialValue.ts:7
↓ 2 callers
Function
useInspectorState
({ disabled = false, menu }: UseInspectorStateOptions)
client/src/features/inspector/hooks/useInspectorState.ts:19
↓ 2 callers
Function
useIsMounted
()
client/src/hooks/useOnMounted.ts:3
↓ 2 callers
Function
useMap
(deps: DependencyList = [])
client/src/hooks/useMap.ts:4
↓ 2 callers
Function
useMutateResource
()
client/src/features/resources/hooks/useMutateResource.ts:6
↓ 2 callers
Function
usePages
(search = '')
client/src/features/editor/components/Page/hooks/usePages.ts:12
next →
1–100 of 354, ranked by callers