MCPcopy Create free account

hub / github.com/amelioro/ameliorate / functions

Functions865 in github.com/amelioro/ameliorate

↓ 162 callersFunctionbuildNode
({ id, customType = null, text, notes, type, arguedDiagramPartId, }: BuildProps)
src/web/topic/utils/graph.ts:44
↓ 117 callersFunctionbuildEdge
({ id, customLabel = null, notes, sourceId, targetId, relation, arguedDiagramPartId, }: BuildEdg
src/web/topic/utils/graph.ts:79
↓ 37 callersFunctionuseSessionUser
()
src/web/common/hooks.ts:53
↓ 32 callersFunctionsetSelected
(graphPartId: string | null)
src/web/view/selectedPartStore.ts:100
↓ 28 callersFunctionoklchToHex
(oklchStr: string)
src/web/common/theme.ts:171
↓ 25 callersFunctionbuildIndirectEdge
( source: MinimalNode, type: IndirectEdge["type"], target: MinimalNode, hiddenPath: MinimalEdge[], )
src/web/topic/utils/indirectEdges.test.ts:13
↓ 25 callersFunctioncreateEdge
(source: Node, type: RelationName, target: Node)
scripts/seed.ts:95
↓ 24 callersFunctionuseUserCanEditTopicData
(username?: string)
src/web/topic/topicStore/store.ts:49
↓ 21 callersFunctionfindNodeOrThrow
(nodeId: string, nodes: TNode[])
src/web/topic/utils/graph.ts:108
↓ 20 callersFunctioncreateScore
(graphPart: Node | Edge, value: number)
scripts/seed.ts:180
↓ 20 callersFunctionerrorWithData
(message: string, ...data: any[])
src/common/errorHandling.ts:7
↓ 20 callersFunctiongetIndirectEdges
( displayingDiagram: MinimalGraph, fullDiagram: MinimalGraph, )
src/web/topic/utils/indirectEdges.ts:56
↓ 20 callersFunctionstartTutorial
(tutorial: Tutorial, track: Track | null)
src/web/tutorial/tutorial.ts:72
↓ 20 callersFunctionupstreamNodes
( fromNode: MinimalNode, graph: { nodes: TNode[]; edges: MinimalEdge[] }, labelsToTraverse?: RelationNam
src/web/topic/utils/graph.ts:224
↓ 19 callersFunctionhandleCommentCreated
(comment: Comment)
src/api/notifications/commentCreated.ts:209
↓ 19 callersFunctionthrowError
(message: string, ...data: any[])
src/common/errorHandling.ts:20
↓ 18 callersFunctionreplaceEqualDeep
(oldData: T, newData: T)
src/common/utils.ts:29
↓ 17 callersFunctioncreateNode
(type: NodeType, text: string, rootArgued?: Node | Edge)
scripts/seed.ts:36
↓ 17 callersFunctiondownstreamNodes
( fromNode: MinimalNode, graph: { nodes: TNode[]; edges: MinimalEdge[] }, labelsToTraverse?: RelationNam
src/web/topic/utils/graph.ts:241
↓ 16 callersFunctionisPlaygroundTopic
(topic: StoreTopic)
src/web/topic/utils/topic.ts:4
↓ 14 callersFunctionaddableRelationsFrom
( fromNodeType: NodeType, addingAs: EdgeDirection | undefined, unrestrictedAddingFrom: boolean, effect
src/web/topic/utils/edge.ts:316
↓ 13 callersFunctionget
(_target, prop)
mcp-server/scripts/stubs/extendedPrisma.ts:9
↓ 11 callersFunctionfilterAddablesViaSearchRelations
( defaultAddableRelations: DirectedToRelationWithCommonality[], directedSearchRelations: DirectedSearchRel
src/web/topic/utils/edge.ts:189
↓ 11 callersFunctiongenerateComment
(author: User, topic: Topic, rootComment?: Comment)
src/api/routers/comment.test.ts:23
↓ 11 callersFunctiongetTopic
()
src/web/topic/topicStore/store.ts:145
↓ 11 callersFunctionisNode
(part: GraphPart | MinimalCalculatedEdge)
src/web/topic/utils/graph.ts:134
↓ 11 callersFunctionregister
()
src/instrumentation.page.ts:3
↓ 10 callersFunctioncreateContext
({ req, res }: CreateNextContextOptions)
src/api/context.ts:15
↓ 10 callersFunctionisIndirectEdge
(edge: { id: string })
src/web/topic/utils/indirectEdges.ts:32
↓ 9 callersFunctiongetNode
(page: Page, nodeType: string)
e2e/tests/utils.ts:3
↓ 9 callersFunctiongetRelevantEdges
( nodes: MinimalNode[], graph: { nodes: MinimalNode[]; edges: TEdge[] }, )
src/web/topic/utils/graph.ts:258
↓ 9 callersFunctionwithDefaults
(value: Partial<T>, defaultValue: T)
src/common/object.ts:3
↓ 8 callersFunctiongenerateToken
()
src/api/personalAccessTokenAuth.ts:22
↓ 8 callersFunctiongetNumericScore
(score: DisplayScore)
src/web/topic/utils/score.ts:102
↓ 8 callersFunctiongetProgressIcon
(tutorial: Tutorial)
src/web/topic/components/TopicWorkspace/HelpMenu.tsx:47
↓ 8 callersFunctionscalePxViaDefaultFontSize
(px: number)
src/pages/_document.page.tsx:29
↓ 8 callersFunctionsplitNodesByDirectAndIndirect
( nodes: (TNode & { layersAway: number })[], )
src/web/topic/utils/graph.ts:332
↓ 8 callersFunctionuseEffectType
(nodeId: string)
src/web/topic/diagramStore/nodeTypeHooks.ts:5
↓ 8 callersFunctionuseFormat
()
src/web/view/currentViewStore/store.ts:138
↓ 7 callersFunctiondeepIsEqual
(a: unknown, b: unknown)
src/common/utils.ts:16
↓ 7 callersFunctionfindEdgeOrThrow
(edgeId: string, edges: TEdge[])
src/web/topic/utils/graph.ts:115
↓ 7 callersFunctiongenerateView
(title: string, order: number, topic: Topic)
src/api/routers/view.test.ts:19
↓ 7 callersFunctiongetDefaultNode
(nodeType: NodeType)
src/web/topic/diagramStore/nodeGetters.ts:6
↓ 7 callersFunctionhashToken
(plaintext: string)
src/api/personalAccessTokenAuth.ts:12
↓ 7 callersFunctionsourceNodes
( node: MinimalNode, topicGraph: { nodes: TNode[]; edges: MinimalEdge[] }, sameCategoryNodes = true, )
src/web/topic/utils/node.ts:9
↓ 7 callersFunctiontargetNodes
( node: MinimalNode, topicGraph: { nodes: TNode[]; edges: MinimalEdge[] }, sameCategoryNodes = true, )
src/web/topic/utils/node.ts:29
↓ 7 callersFunctionuseDisplayScores
( graphPartIds: string[], )
src/web/topic/diagramStore/scoreHooks.ts:17
↓ 6 callersFunctioncreatePatInDb
(ownerUsername: string, name: string)
src/api/routers/personalAccessToken.test.ts:37
↓ 6 callersFunctiongetBaseUrl
(allowRelative = false)
src/common/utils.ts:6
↓ 6 callersFunctiongetScoreColor
(score: DisplayScore, scoreMeaning: ScoreMeaning)
src/web/topic/utils/score.ts:20
↓ 6 callersFunctiongetSolutionBenefits
( summaryNode: MinimalNode, graph: { nodes: TNode[]; edges: MinimalEdge[] }, )
src/web/summary/aspectFilter.ts:294
↓ 6 callersFunctionmockRequest
(authorization?: string)
src/api/context.test.ts:21
↓ 6 callersFunctionopenContextMenu
(event: React.MouseEvent, context: Context)
src/web/common/store/contextMenuActions.ts:5
↓ 6 callersFunctionptToStr
({ x, y }: Point)
src/web/topic/components/Edge/svgPathDrawer.ts:260
↓ 6 callersFunctionshowError
(trigger: Trigger, message: ReactNode, anchor?: Anchor)
src/web/common/components/InfoDialog/infoEvents.ts:40
↓ 5 callersFunctionfindGraphPartOrThrow
(graphPartId: string, nodes: Node[], edges: Edge[])
src/web/topic/utils/graph.ts:122
↓ 5 callersFunctiongenerateComment
( author: User, topic: Topic, parent: CommentParent, parentType: CommentParentType, content?: string
src/api/notifications/commentCreated.test.ts:26
↓ 5 callersFunctiongetIsAbout
(summaryNode: Node, graph: Graph)
src/web/summary/aspectFilter.ts:404
↓ 5 callersFunctiongetNodeOrThrow
(allNodesById: Record<string, MinimalNode>, nodeId: string)
src/web/topic/utils/indirectEdges.ts:128
↓ 5 callersFunctionhandleClose
()
src/web/topic/components/TopicWorkspace/MoreActionsMenu.tsx:134
↓ 5 callersFunctionsessionContext
(forUser: User)
src/api/routers/personalAccessToken.test.ts:23
↓ 5 callersFunctionsetFormat
(format: Format)
src/web/view/currentViewStore/store.ts:151
↓ 5 callersFunctionsetTabs
( topicTab: TopicTab, partDetailsTab?: PartDetailsTab, topicDetailsTab?: TopicDetailsTab,
src/web/topic/components/TopicPane/TopicPane.tsx:93
↓ 5 callersFunctionsetTutorialIsOpening
(isOpening: boolean)
src/web/tutorial/tutorialStore.ts:78
↓ 5 callersFunctionuseIsGraphPartSelected
(graphPartId: string)
src/web/view/selectedPartStore.ts:61
↓ 5 callersFunctionuseNode
(nodeId: string | null)
src/web/topic/diagramStore/nodeHooks.ts:17
↓ 5 callersFunctionuseNodesOfType
(type: NodeType)
src/web/topic/diagramStore/nodeHooks.ts:187
↓ 5 callersFunctionuseWhenToShowIndicators
()
src/web/view/userConfigStore/store.ts:93
↓ 5 callersFunctionwithViewDefaults
(viewState?: Partial<ViewState>)
src/web/view/currentViewStore/store.ts:161
↓ 4 callersFunctionbuildApiSyncerError
(changeLists: Record<string, object[]>, error: unknown)
src/web/common/components/Error/apiSyncerError.tsx:3
↓ 4 callersFunctionbuildPortId
(nodeId: string, direction: EdgeDirection)
src/web/topic/utils/layout.ts:379
↓ 4 callersFunctionfindTopicByUsernameAndTitle
( isCreator: boolean, topicCreatorName: string, topicTitle: string, include?: TInclude, )
src/api/topic/topic.ts:12
↓ 4 callersFunctiongetAddressed
( summaryNode: MinimalNode, graph: { nodes: TNode[]; edges: MinimalEdge[] }, )
src/web/summary/aspectFilter.ts:186
↓ 4 callersFunctiongetDirectedRelationDescription
(relation: DirectedToRelation)
src/web/topic/utils/edge.ts:219
↓ 4 callersFunctiongetInAppNotificationMessage
(comment: Comment)
src/api/notifications/commentCreated.ts:35
↓ 4 callersFunctiongetJustification
(summaryNode: MinimalNode, graph: Graph)
src/web/summary/aspectFilter.ts:356
↓ 4 callersFunctiongetTutorialHasStarted
(tutorial: Tutorial)
src/web/tutorial/tutorialStore.ts:93
↓ 4 callersFunctionisNodeType
( graphPart: GraphPart, type: TNodeType, )
src/web/topic/utils/graph.ts:139
↓ 4 callersFunctionneighbors
( node: TNode, topicGraph: { nodes: TNode[]; edges: MinimalEdge[] }, layersDeep = 1, sameCategoryNodes
src/web/topic/utils/node.ts:52
↓ 4 callersFunctionparsePortId
(portId: string)
src/web/topic/utils/layout.ts:385
↓ 4 callersFunctionpatContext
(forUser: User)
src/api/routers/personalAccessToken.test.ts:30
↓ 4 callersFunctionsourceNode
( edge: Omit<MinimalEdge, "type">, nodes: TNode[], )
src/web/topic/utils/edge.ts:442
↓ 4 callersFunctiontargetNode
( edge: Omit<MinimalEdge, "type">, nodes: TNode[], )
src/web/topic/utils/edge.ts:449
↓ 4 callersFunctiontryUpdateTopic
(loggedInUser: User | null, topic: Topic)
src/api/routers/topic.test.ts:180
↓ 4 callersFunctionuseReadonlyMode
()
src/web/view/actionConfigStore.ts:42
↓ 4 callersFunctionuseResearchNodes
(graphPartId: string)
src/web/topic/diagramStore/graphPartHooks.ts:79
↓ 4 callersFunctionuseShowResolvedComments
()
src/web/view/miscTopicConfigStore.ts:30
↓ 4 callersFunctionuseTopic
()
src/web/topic/topicStore/store.ts:43
↓ 4 callersFunctionuseUnrestrictedEditing
()
src/web/view/actionConfigStore.ts:34
↓ 3 callersFunctionapplyScoreFilter
( graphParts: T[], filter: GeneralFilter, scores: Record<string, DisplayScore>, )
src/web/view/utils/generalFilter.ts:29
↓ 3 callersFunctionapplyTradeoffsFilter
(graph: Graph, filters: TradeoffsOptions)
src/web/view/utils/infoFilter.ts:143
↓ 3 callersFunctioncompareNodesByType
(node1: { type: NodeType }, node2: { type: NodeType })
src/common/node.ts:288
↓ 3 callersFunctionconnectNodes
( sourceId: string | null, relationName: RelationName | undefined, targetId: string | null, )
src/web/topic/diagramStore/createDeleteActions.ts:207
↓ 3 callersFunctiondeleteEdge
(edgeId: string)
src/web/topic/diagramStore/createDeleteActions.ts:284
↓ 3 callersFunctiondistSqFrom
(length: number)
src/web/topic/components/Edge/EdgeArrow.tsx:220
↓ 3 callersFunctionfitTextIntoElement
(element: HTMLTextAreaElement)
src/web/topic/components/Node/NodeTextArea.tsx:55
↓ 3 callersFunctionformatNode
(node: WebNode)
src/api/topicAI.ts:112
↓ 3 callersFunctiongetCoreNodes
(state: DiagramStoreState)
src/web/topic/diagramStore/nodeHooks.ts:83
↓ 3 callersFunctiongetCrudDiffs
( before: T[], after: T[], identifierFn: (element: T) => string, )
src/web/topic/diagramStore/apiSyncerMiddleware.ts:20
↓ 3 callersFunctiongetDetriments
( summaryNode: MinimalNode, graph: { nodes: TNode[]; edges: MinimalEdge[] }, )
src/web/summary/aspectFilter.ts:308
next →1–100 of 865, ranked by callers