MCPcopy Create free account

hub / github.com/Vadorequest/rwa-faunadb-reaflow-nextjs-magic / functions

Functions168 in github.com/Vadorequest/rwa-faunadb-reaflow-nextjs-magic

↓ 11 callersFunctionpatchCurrentNode
(patch: PartialBaseNodeData, stateUpdateDelay = 0)
src/components/nodes/BaseNode.tsx:193
↓ 8 callersFunctionqueueCanvasDatasetMutation
(patch, stateUpdateDelay = 0)
src/components/editor/CanvasContainer.tsx:132
↓ 7 callersFunctioncreatePort
(portData?: Partial<BasePortData>)
src/utils/ports.ts:11
↓ 5 callersFunctionuseUserSession
(props?: Props)
src/hooks/useUserSession.ts:93
↓ 4 callersFunctioncreateNodeFromDefaultProps
(defaultProps: BaseNodeDefaultProps)
src/utils/nodes.ts:54
↓ 4 callersFunctiongetDefaultNodePropsWithFallback
(nodeType: NodeType)
src/utils/nodes.ts:138
↓ 4 callersFunctionhasDuplicatedObjects
(array: T[], key: keyof T)
src/utils/array.ts:7
↓ 4 callersFunctiononBlockClick
(nodeType: NodeType, blockPickerMenu: BlockPickerMenu | undefined)
src/components/ports/BasePort.tsx:102
↓ 4 callersFunctiontranslateXYToCanvasPosition
(x: number, y: number, margin?: PositionMargin)
src/utils/canvas.ts:17
↓ 3 callersFunctioncreateEdge
(fromNode?: BaseNodeData, toNode?: BaseNodeData, fromPort?: Partial<BasePortData>, toPort?: Partial<BasePortDa
src/utils/edges.ts:17
↓ 3 callersFunctiongetClient
(secret: string)
src/lib/faunadb/faunadb.ts:19
↓ 3 callersFunctiongetDefaultToPort
(toNode?: BaseNodeData, toPort?: Partial<BasePortData>)
src/utils/ports.ts:41
↓ 3 callersFunctiongetUserClient
(user: Partial<UserSession>)
src/utils/canvasStream.ts:38
↓ 3 callersFunctionisYoungerThan
(timestamp?: number, age: number = 1000, target: number = now())
src/utils/date.ts:10
↓ 3 callersFunctiononInit
(canvasDataset: CanvasDataset)
src/utils/canvasStream.ts:322
↓ 3 callersFunctionsetRecoilExternalState
()
src/components/RecoilExternalStatePortal.tsx:36
↓ 2 callersFunctionaddNodeAndEdgeThroughPorts
( nodes: BaseNodeData[], edges: BaseEdgeData[], newNode: BaseNodeData, fromNode?: BaseNodeData, toNo
src/utils/nodes.ts:174
↓ 2 callersFunctioncalculateNodeHeight
(dynHeights: Partial<QuestionNodeAdditionalData['dynHeights']>, willDisplayChoiceInputs: boolean)
src/components/nodes/QuestionNode.tsx:79
↓ 2 callersFunctioncanConnectToDestinationPort
(edges: BaseEdgeData[], fromNode?: BaseNodeData, fromPort?: BasePortData, toNode?: BaseNodeData, toPort?: Base
src/utils/ports.ts:62
↓ 2 callersFunctioncreateNode
(nodeData?: Partial<BaseNodeData>)
src/utils/nodes.ts:37
↓ 2 callersMethodcreateProjectWithCanvas
* Creates a project and its canvas and link them to the current user. * * @param userSession * @param projectLabel
src/lib/faunadb/models/userModel.ts:204
↓ 2 callersFunctionfindNodeComponentByType
(nodeType: NodeType)
src/utils/nodes.ts:113
↓ 2 callersFunctionfindUserCanvasRef
(user: Partial<UserSession>)
src/utils/canvasStream.ts:140
↓ 2 callersFunctiongetDefaultFromPort
(fromNode?: BaseNodeData, fromPort?: Partial<BasePortData>)
src/utils/ports.ts:29
↓ 2 callersFunctiongetUserSession
(req: EndpointRequest, res?: NextApiResponse)
src/lib/auth/userSession.ts:53
↓ 2 callersFunctioninitStream
(user: Partial<UserSession>, onStart: OnStreamStart, onInit: OnStreamInit, onUpdate: OnStreamedDocumentUpdate,
src/utils/canvasStream.ts:55
↓ 2 callersFunctionmutateLocalUser
(userSession: UserSession, user: Partial<UserSession>)
src/utils/userSession.ts:11
↓ 2 callersFunctionparseCookies
(req: NextApiRequest)
src/lib/auth/authCookies.ts:60
↓ 2 callersFunctionpatchCurrentQuestionChoice
(patch: Partial<QuestionChoiceVariable>)
src/components/plugins/QuestionChoice.tsx:48
↓ 1 callersFunction_startStream
()
src/utils/canvasStream.ts:64
↓ 1 callersFunctionapplyPendingMutations
({ nodes, edges, mutationsCounter, setCanvasDataset })
src/utils/canvasDatasetMutationsQueue.ts:44
↓ 1 callersFunctioncalculateNodeHeight
(dynHeights?: InformationNodeAdditionalData['dynHeights'])
src/components/nodes/InformationNode.tsx:56
↓ 1 callersFunctioncleanupAppliedPatches
()
src/utils/canvasDatasetMutationsQueue.ts:152
↓ 1 callersFunctioncloneNode
(node: BaseNodeData)
src/utils/nodes.ts:84
↓ 1 callersMethodcreateCanvas
* Creates a canvas and link it to the current user. * * @param userSession * @param projectId
src/lib/faunadb/models/userModel.ts:176
↓ 1 callersMethodcreateProject
* Creates a project and link it to the current user. * * @param userSession * @param label
src/lib/faunadb/models/userModel.ts:148
↓ 1 callersMethodcreateUser
* Creates a new user in the "users" collection. * * @param email
src/lib/faunadb/models/userModel.ts:42
↓ 1 callersFunctiondecryptToken
(token: string)
src/lib/auth/crypto.ts:24
↓ 1 callersFunctionencryptData
(data: Data)
src/lib/auth/crypto.ts:17
↓ 1 callersFunctionfetchUseSession
()
src/hooks/useUserSession.ts:51
↓ 1 callersFunctionfilterCurrentQuestionChoice
()
src/components/plugins/QuestionChoice.tsx:37
↓ 1 callersFunctionfindOrCreateUserCanvas
(user: Partial<UserSession>)
src/utils/canvasStream.ts:153
↓ 1 callersFunctionfindSelectedQuestionTypeOption
(selectedQuestionTypeValue: QuestionChoiceType | undefined)
src/components/nodes/QuestionNode.tsx:145
↓ 1 callersMethodgetProjects
* Fetches all the user's projects. * * @param userSession
src/lib/faunadb/models/userModel.ts:89
↓ 1 callersFunctiongetTokenCookie
(req: NextApiRequest)
src/lib/auth/authCookies.ts:74
↓ 1 callersMethodgetUserByEmail
* Find a user using the "usersByEmail" index. * * Don't throw on failures because we want to auto-create users when they don't exist yet. *
src/lib/faunadb/models/userModel.ts:55
↓ 1 callersFunctionhasDatasetChanged
(newCanvasDataset: CanvasDataset)
src/utils/canvasStream.ts:209
↓ 1 callersFunctionhumanizeEmail
(email: string)
src/utils/user.ts:9
↓ 1 callersMethodinvalidateFaunaDBToken
* * @param token
src/lib/faunadb/models/userModel.ts:80
↓ 1 callersFunctionisNodeReachable
(node: BaseNodeData, edges: BaseEdgeData[])
src/utils/nodes.ts:157
↓ 1 callersFunctionisOlderThan
(timestamp?: number, age: number = 1000, target: number = now())
src/utils/date.ts:21
↓ 1 callersFunctionisQuestionNodeData
(nodeData: BaseNodeData)
src/utils/guards.ts:11
↓ 1 callersFunctionmutateLocalUserActiveProjectLabel
(userSession: UserSession, label: string)
src/utils/userSession.ts:24
↓ 1 callersFunctionmutateProject
(projects: Project[], projectToUpdate: Project)
src/utils/project.ts:9
↓ 1 callersMethodobtainFaunaDBToken
* Generates a FaunaDB Token for the user. * * The token is associated to the user instance. * * @param user * * @see https://docs.fa
src/lib/faunadb/models/userModel.ts:70
↓ 1 callersFunctiononIconClick
()
src/components/edges/AbsoluteLabelEditor.tsx:77
↓ 1 callersFunctiononSubmit
()
src/components/plugins/VariableNameInput.tsx:50
↓ 1 callersFunctiononUpdate
(canvasDatasetRemotelyUpdated: CanvasDataset)
src/utils/canvasStream.ts:343
↓ 1 callersFunctionpatchCurrentEdge
(patch: Partial<BaseEdgeData>, stateUpdateDelay = 0)
src/components/edges/BaseEdge.tsx:174
↓ 1 callersFunctionremoveAndUpsertNodesThroughPorts
( nodes: BaseNodeData[], edges: BaseEdgeData[], removeNodes: BaseNodeData | BaseNodeData[], onNodeLink
src/utils/nodes.ts:294
↓ 1 callersFunctionremoveTokenCookie
(res: NextApiResponse)
src/lib/auth/authCookies.ts:44
↓ 1 callersFunctionsetTokenCookie
(res: NextApiResponse, token: string)
src/lib/auth/authCookies.ts:26
↓ 1 callersFunctionsetUserSession
(res: NextApiResponse, userMetadata: UserMetadataWithAuth)
src/lib/auth/userSession.ts:29
↓ 1 callersMethodupdateProjectLabel
* Updates a project's label. * * @param userSession * @param projectId * @param label
src/lib/faunadb/models/userModel.ts:120
↓ 1 callersFunctionupdateUserCanvas
(canvasRef: TypeOfRef | undefined, user: Partial<UserSession>, newCanvasDataset: CanvasDataset, previousCanvas
src/utils/canvasStream.ts:233
↓ 1 callersFunctionupsertNodeThroughPorts
( nodes: BaseNodeData[], edges: BaseEdgeData[], edge: BaseEdgeData, newNode: BaseNodeData, )
src/utils/nodes.ts:224
↓ 1 callersFunctionuseDebouncedEffect
(effect: () => any, delay: number, deps: DependencyList)
src/hooks/useDebouncedEffect.tsx:16
↓ 1 callersFunctionuseFocus
()
src/hooks/useFocus.tsx:15
↓ 1 callersFunctionusePreviousValue
(value: T)
src/hooks/usePreviousValue.tsx:17
↓ 1 callersFunctionuseRenderingTrace
(componentName: string, propsAndStates: any, level: 'debug' | 'info' | 'log' = 'debug')
src/hooks/useTraceUpdate.ts:27
FunctionAbsoluteLabelEditor
(props)
src/components/edges/AbsoluteLabelEditor.tsx:20
FunctionAbsoluteTooltip
(props)
src/components/plugins/AbsoluteTooltip.tsx:14
FunctionAnimated3Dots
(props: Props)
src/components/Animated3Dots.tsx:20
FunctionApp
(props)
src/pages/_app.tsx:85
FunctionAuthFormModal
(props: Props)
src/components/AuthFormModal.tsx:30
FunctionBaseEdge
(props)
src/components/edges/BaseEdge.tsx:51
FunctionBaseNode
(props)
src/components/nodes/BaseNode.tsx:78
FunctionBasePort
(props)
src/components/ports/BasePort.tsx:62
FunctionBasePortChild
(props)
src/components/ports/BasePortChild.tsx:21
FunctionBlockPickerMenu
(props)
src/components/blocks/BlockPickerMenu.tsx:24
FunctionCanvasContainer
(props)
src/components/editor/CanvasContainer.tsx:74
FunctionContainerSeparator
(props)
src/components/editor/ContainerSeparator.tsx:12
FunctionCreateOrUpdateFunction
(obj: any)
src/utils/fql.ts:24
FunctionCreateOrUpdateRole
(obj: any)
src/utils/fql.ts:30
FunctionDeleteIfExists
(ref: ExprArg)
src/utils/fql.ts:20
FunctionDescribeCollection
(collectionName: string)
src/utils/fql.ts:58
FunctionDisplayOnBrowserMount
(props)
src/components/DisplayOnBrowserMount.tsx:54
FunctionEdge
(edgeProps: EdgeProps)
src/components/editor/CanvasContainer.tsx:317
FunctionEdgeActions
(props)
src/components/edges/EdgeActions.tsx:30
FunctionEditorContainer
(props)
src/components/editor/EditorContainer.tsx:18
FunctionEndNode
(props)
src/components/nodes/EndNode.tsx:30
FunctionFaunaDBCanvasStream
(props)
src/components/FaunaDBCanvasStream.tsx:34
FunctionFooter
(props)
src/components/Footer.tsx:18
FunctionGetNewId
()
src/utils/fql.ts:69
FunctionGlobalStyles
(props)
src/components/GlobalStyles.tsx:16
FunctionIfBlock
(props)
src/components/blocks/IfBlock.tsx:13
FunctionIfNode
(props)
src/components/nodes/IfNode.tsx:34
FunctionIfNotExists
(ref: ExprArg, then: ExprArg)
src/utils/fql.ts:22
FunctionIndexPage
(props)
src/pages/index.tsx:35
FunctionInformationBlock
(props)
src/components/blocks/InformationBlock.tsx:13
next →1–100 of 168, ranked by callers