MCPcopy Create free account

hub / github.com/triggerdotdev/jsonhero-web / functions

Functions342 in github.com/triggerdotdev/jsonhero-web

↓ 21 callersFunctionformatStarCount
(count: number | undefined)
app/utilities/formatStarCount.ts:4
↓ 15 callersFunctionuseJson
()
app/hooks/useJson.tsx:35
↓ 12 callersFunctionuseJsonColumnViewState
()
app/hooks/useJsonColumnView.tsx:175
↓ 11 callersFunctionclassnames
(...args: string[])
app/utilities/classnames.ts:1
↓ 11 callersFunctionuseJsonColumnViewAPI
()
app/hooks/useJsonColumnView.tsx:186
↓ 11 callersFunctionuseJsonDoc
()
app/hooks/useJsonDoc.tsx:31
↓ 8 callersFunctionconvertFromRawXml
(xmlString: string)
app/utilities/xml/convertFromRawXml.ts:86
↓ 8 callersFunctionsendEvent
(event: Record<string, any>)
app/graphJSON.server.ts:1
↓ 7 callersFunctioncreateNodeItems
( nodes: T[], depth = 0, collapsedState: Record<string, boolean> = {} )
app/hooks/useVirtualTree.ts:608
↓ 7 callersFunctionformatValue
( type: JSONValueType, options?: FormatValueOptions )
app/utilities/formatter.ts:33
↓ 7 callersFunctioniconForType
(type: JSONValueType)
app/utilities/icons.ts:35
↓ 7 callersFunctionisXML
(possibleXml: string)
app/utilities/xml/isXML.ts:3
↓ 6 callersFunctioncreateFromRawJson
( filename: string, contents: string, options?: CreateJsonOptions )
app/jsonDoc.server.ts:83
↓ 6 callersFunctionformatRawValue
(type: JSONValueType)
app/utilities/formatter.ts:10
↓ 6 callersFunctionuseTheme
()
app/components/ThemeProvider.tsx:71
↓ 5 callersFunctionaddSlice
(isMatch: boolean, slice: string)
app/utilities/search.ts:30
↓ 5 callersFunctiongetStringSlices
( stringValue: string, matchingIndices: ReadonlyArray<{ start: number; end: number }>, windowSize: numbe
app/utilities/search.ts:23
↓ 5 callersFunctionsetErrorMessage
( session: Session, message: string, title: string )
app/services/toast.server.ts:37
↓ 4 callersFunctioncalculateLongestMatch
(componentSlices: ComponentSlice[])
app/utilities/search.ts:212
↓ 4 callersFunctioncalculateRelatedValuesGroups
( path: string, json: unknown )
app/utilities/relatedValues.ts:10
↓ 4 callersFunctiongetComponentSlices
( path: string, matchingIndices: ReadonlyArray<{ start: number; end: number }>, maxWeight: number )
app/utilities/search.ts:187
↓ 4 callersFunctiongetDocument
( slug: string )
app/jsonDoc.server.ts:106
↓ 4 callersFunctionstableJson
(json: unknown, keyOrder: string[] = [])
app/utilities/stableJson.ts:1
↓ 4 callersFunctionusePreferences
()
app/components/PreferencesProvider.tsx:52
↓ 4 callersFunctionuseSelectedInfo
()
app/hooks/useSelectedInfo.tsx:7
↓ 3 callersFunctioncollapseNode
( state: TreeState<T>, id: string )
app/hooks/useVirtualTree.ts:138
↓ 3 callersFunctioncreateFromUrl
( url: URL, title?: string, options?: CreateJsonOptions )
app/jsonDoc.server.ts:50
↓ 3 callersFunctiondarkTheme
()
app/utilities/codeMirrorTheme.ts:5
↓ 3 callersFunctiondateString
(date: Date)
app/components/Preview/CalendarMonth.tsx:14
↓ 3 callersFunctioninferTemporal
( value: string, format: JSONDateTimeFormat )
app/utilities/inferredTemporal.ts:11
↓ 3 callersFunctionisSameDay
(date: Date, otherDate: Date)
app/components/Preview/CalendarMonth.tsx:18
↓ 3 callersFunctionlightTheme
()
app/utilities/codeMirrorTheme.ts:147
↓ 3 callersFunctionreplaceComponentIndexWithEllipsis
( ellipsisComponentIndex: number )
app/utilities/search.ts:283
↓ 3 callersFunctionsafeFetch
( url: string, options: RequestInit = {} )
app/utilities/safeFetch.ts:1
↓ 3 callersFunctiontoggleAllChildren
( state: TreeState<T>, id: string )
app/hooks/useVirtualTree.ts:154
↓ 2 callersFunctionaddEllipsis
()
app/utilities/search.ts:36
↓ 2 callersFunctioncalculateWeight
(pathSlices: PathSlice[])
app/utilities/search.ts:192
↓ 2 callersFunctionclassNames
(...classes: (string | boolean)[])
app/components/Preview/CalendarMonth.tsx:136
↓ 2 callersFunctioncolorForItemAtPath
(path: string, json: unknown)
app/utilities/colors.ts:31
↓ 2 callersFunctioncolorForTypeName
(typeName: string)
app/utilities/colors.ts:4
↓ 2 callersFunctioncreateId
()
app/jsonDoc.server.ts:135
↓ 2 callersFunctionexpandNode
( state: TreeState<T>, id: string )
app/hooks/useVirtualTree.ts:121
↓ 2 callersFunctiongenerateColumnViewNode
(json: unknown)
app/utilities/jsonColumnView.ts:7
↓ 2 callersFunctiongetHighlightedSibling
( state: ColumnViewState, nodeTable: NodeTable, direction: -1 | 1 )
app/useColumnView/index.ts:580
↓ 2 callersFunctiongetPathToNode
(nodeTable: NodeTable, nodeId?: string)
app/useColumnView/index.ts:516
↓ 2 callersFunctiongetRelatedPathsAtPath
( path: string, json: unknown, relatedPaths: Set<string> = new Set<string>() )
app/utilities/relatedValues.ts:52
↓ 2 callersFunctiongetThemeSession
(request: Request)
app/theme.server.ts:18
↓ 2 callersFunctiongroupRelatedValues
( relatedPaths: Array<string>, json: unknown )
app/utilities/relatedValues.ts:18
↓ 2 callersFunctionhighlightLineRange
(range: LineRange | null)
app/components/JsonPreview.tsx:142
↓ 2 callersFunctionhighlightLines
(view: EditorView)
app/components/JsonPreview.tsx:153
↓ 2 callersFunctionisTheme
(value: unknown)
app/components/ThemeProvider.tsx:107
↓ 2 callersFunctionmoveToChildren
(state: ColumnViewState)
app/useColumnView/index.ts:455
↓ 2 callersFunctionresetInterval
()
app/components/Home/HomeInfoBoxSection.tsx:66
↓ 2 callersFunctiontoggleOpen
(id: string)
app/components/RelatedValues.tsx:31
↓ 2 callersFunctionuseJsonSearchApi
()
app/hooks/useJsonSearch.tsx:248
↓ 2 callersFunctionuseStarCount
()
app/components/StarCountProvider.tsx:22
↓ 1 callersFunctionaddColumn
(nodeRecord: NodeRecord)
app/useColumnView/index.ts:485
↓ 1 callersFunctionaddComponent
(slice: StringSlice, componentIndex: number)
app/utilities/search.ts:430
↓ 1 callersFunctionaddEllipsisToSlices
( slices: PathSlice[], mostImportantComponentIndex: number )
app/utilities/search.ts:222
↓ 1 callersFunctionaddJoin
()
app/utilities/search.ts:434
↓ 1 callersFunctionaddNode
(node: ColumnViewNode, parentId?: string)
app/useColumnView/index.ts:556
↓ 1 callersFunctionarrowStyle
()
app/components/ToolTip.tsx:14
↓ 1 callersFunctioncalculatePathToNode
( nodes: T[], searchNode: T, path: string[] = [] )
app/hooks/useVirtualTree.ts:745
↓ 1 callersFunctioncalculateSliceWeight
(slice: PathSlice)
app/utilities/search.ts:202
↓ 1 callersFunctioncalculateStablePath
( previousPathString: string, selectionPathString: string, json: unknown )
app/utilities/jsonColumnView.ts:148
↓ 1 callersFunctioncalculateWindow
()
app/utilities/search.ts:40
↓ 1 callersFunctioncb
()
app/hooks/useLoadWhenOnline.tsx:11
↓ 1 callersFunctioncheckPathExists
(json: unknown, newPath: string)
app/components/InfoHeader.tsx:112
↓ 1 callersFunctionclasses
()
app/components/Resizable.tsx:82
↓ 1 callersFunctioncolumnViewReducer
( state: ColumnViewState, action: ColumnViewAction )
app/useColumnView/index.ts:345
↓ 1 callersFunctioncombineAdjacentEllipsis
(toCombine: PathSlice[])
app/utilities/search.ts:251
↓ 1 callersFunctioncomputeTreeNodePaddingClass
(depth: number)
app/components/JsonTreeView.tsx:223
↓ 1 callersFunctionconcatenated
(types: HierarchicalTypes)
app/utilities/dataType.ts:7
↓ 1 callersFunctioncreateComponentSlices
( path: string, matchingIndices: ReadonlyArray<{ start: number; end: number }> )
app/utilities/search.ts:424
↓ 1 callersFunctioncreateFromRawXml
( filename: string, contents: string, options?: CreateJsonOptions )
app/utilities/xml/createFromRawXml.ts:8
↓ 1 callersFunctioncreateFromUrlOrRawJson
( urlOrJson: string, title?: string )
app/jsonDoc.server.ts:31
↓ 1 callersFunctioncreateItemProps
( item: TreeNodeItem<T>, virtualItem: VirtualItem, state: TreeState<T>, dispatch: Dispatch<TreeAction>
app/hooks/useVirtualTree.ts:696
↓ 1 callersFunctioncreateOutputForMatch
( stringValue: string, isHighlighted: boolean, textSize: "text-xs" | "text-sm" | "text-base" | "text-lg"
app/components/SearchPalette.tsx:415
↓ 1 callersFunctioncreatePreviewIPFSImageURL
(src: URL)
app/components/Preview/Types/PreviewIPFSImage.tsx:9
↓ 1 callersFunctioncreatePreviewImage
(uri: string, head: HeadInfo)
app/services/uriPreview.server.ts:144
↓ 1 callersFunctioncreatePreviewJson
(uri: string, json: unknown)
app/services/uriPreview.server.ts:136
↓ 1 callersFunctioncreateTreeProps
( dispatch: Dispatch<TreeAction> )
app/hooks/useVirtualTree.ts:633
↓ 1 callersFunctiondeleteDocument
(slug: string)
app/jsonDoc.server.ts:131
↓ 1 callersFunctionearlyRespondIfHomepagePreviewUri
(uri: string)
app/routes/actions/getPreview.$url.ts:43
↓ 1 callersFunctionfindNodeInTreeById
( nodes: T[], id: string )
app/hooks/useVirtualTree.ts:724
↓ 1 callersFunctionfirstChildToDescendant
( ancestor: JSONHeroPath, descendant: JSONHeroPath )
app/utilities/jsonColumnView.ts:95
↓ 1 callersFunctionformatBytes
(bytes: number, decimals = 2)
app/utilities/formatter.ts:146
↓ 1 callersFunctionformatDateTime
( value: string, format?: JSONDateTimeFormat )
app/utilities/formatter.ts:106
↓ 1 callersFunctionformatNumber
(value: number)
app/utilities/formatter.ts:85
↓ 1 callersFunctionformatString
(value: string, format?: JSONStringFormat)
app/utilities/formatter.ts:89
↓ 1 callersFunctiongenerateChildren
( info: JSONValueType, path: JSONHeroPath )
app/utilities/jsonColumnView.ts:21
↓ 1 callersFunctiongenerateChildren
( info: JSONValueType, path: JSONHeroPath )
app/hooks/useJsonTree.tsx:99
↓ 1 callersFunctiongenerateColumns
( nodeTable: NodeTable, path: string[], columnCache: ColumnDefinitionCache )
app/useColumnView/index.ts:478
↓ 1 callersFunctiongenerateNodeTable
(rootNode: ColumnViewNode)
app/useColumnView/index.ts:553
↓ 1 callersFunctiongenerateNodesToPath
( json: unknown, path: string )
app/utilities/jsonColumnView.ts:64
↓ 1 callersFunctiongenerateTreeViewNodes
(json: unknown)
app/hooks/useJsonTree.tsx:92
↓ 1 callersFunctiongetCleanXmlString
(xmlString: string)
app/utilities/xml/convertFromRawXml.ts:9
↓ 1 callersFunctiongetCurrentTimeFormatted
()
app/hooks/useJsonSearch.tsx:164
↓ 1 callersFunctiongetEditorSetup
()
app/utilities/codeMirrorSetup.ts:30
↓ 1 callersFunctiongetHierarchicalTypes
(type: JSONValueType)
app/utilities/dataType.ts:11
next →1–100 of 342, ranked by callers