MCPcopy Index your code

hub / github.com/scalar/scalar / functions

Functions4,087 in github.com/scalar/scalar

↓ 10 callersFunctionparseLocalStorage
(lsKey: (typeof LS_KEYS)[keyof typeof LS_KEYS])
packages/oas-utils/src/migrations/local-storage.ts:10
↓ 10 callersFunctionparseYaml
()
packages/json-magic/src/bundle/plugins/parse-yaml/index.ts:16
↓ 10 callersFunctionplugin
()
packages/api-reference/src/plugins/plugin-manager.test.ts:386
↓ 10 callersFunctionprettyErrorMessage
(message: string)
packages/helpers/src/errors/normalize-error.ts:23
↓ 10 callersFunctionprocessPostResponseScripts
(events: Event[] = [])
packages/postman-to-openapi/src/helpers/post-response-scripts.ts:7
↓ 10 callersFunctionprocessPreRequestScripts
(events: Event[] = [])
packages/postman-to-openapi/src/helpers/pre-request-scripts.ts:7
↓ 10 callersFunctionpruneDocument
(document: OpenAPIV3_1.Document)
packages/postman-to-openapi/src/helpers/prune-document.ts:36
↓ 10 callersFunctionreadFile
(path: string)
packages/icons/scripts/generate-icons.ts:70
↓ 10 callersFunctionreadHeader
(headers: RequestHeaders, name: string)
packages/postman-to-openapi/src/helpers/header-utils.ts:10
↓ 10 callersMethodrender
Renders the complete HTML content for the Scalar API Reference interface. @param properties the configuration properties for the Scalar integration @
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/ScalarHtmlRenderer.java:51
↓ 10 callersFunctionresolveDocumentSlug
(store: WorkspaceStore, slug: string | undefined)
packages/api-client/src/v2/features/modal/helpers/resolve-route-parameters.ts:50
↓ 10 callersFunctionresolveLocalization
(localization?: ApiReferenceLocalization)
packages/api-reference/src/features/localization/use-localization.ts:61
↓ 10 callersFunctionserializeValue
(value: CodeInputModelValue)
packages/api-client/src/v2/components/code-input/helpers/serialize-value.ts:10
↓ 10 callersFunctionsetColorMode
Sets the color mode to the specified value.
packages/use-hooks/src/useColorMode/useColorMode.ts:52
↓ 10 callersFunctionsetupTestServer
(handler http.HandlerFunc)
projects/proxy-scalar-com/main_test.go:21
↓ 10 callersFunctionshouldDisplayDescription
(schema: SchemaObject | undefined, propDescription?: string)
packages/api-reference/src/components/Content/Schema/helpers/should-display-description.ts:10
↓ 10 callersFunctionstubLocation
()
projects/scalar-app/src/hooks/use-auth-handlers.test.ts:30
↓ 10 callersMethodtoString
()
packages/snippetz/src/plugins/clojure/clj_http/clj_http.ts:26
↓ 10 callersFunctiontraverse
( content: UnknownObject, transform: (content: UnknownObject, path?: string[]) => UnknownObject, path: s
packages/openapi-upgrader/src/helpers/traverse.ts:6
↓ 10 callersFunctiontraverseWebhooks
({ document, tagsMap, generateId, untaggedWebhooksParentId, documentId, }: { /** Openapi document
packages/workspace-store/src/navigation/helpers/traverse-webhooks.ts:83
↓ 10 callersFunctiontruncate
(str: string, maxLength = 18)
packages/helpers/src/string/truncate.ts:12
↓ 10 callersFunctiontypeCommentInlineCode
(text: string)
packages/schemas/src/extensions/type-comment.ts:15
↓ 10 callersFunctionupdateActiveProxy
( workspace: Workspace | null, payload: WorkspaceEvents['workspace:update:active-proxy'], )
packages/workspace-store/src/mutators/workspace.ts:10
↓ 10 callersFunctionuseTeams
(options?: Omit<UseQueryOptions, 'queryKey' | 'queryFn'>)
projects/scalar-app/src/hooks/use-teams.ts:17
↓ 10 callersFunctionuseToasts
()
packages/use-toasts/src/hooks/useToasts.ts:19
↓ 10 callersFunctionuseVersionConflictCheck
({ store, fetcher, registry, versions, }: { /** Workspace store the conflict result is cached on. */
projects/scalar-app/src/features/app/hooks/use-version-conflict-check.ts:25
↓ 9 callersFunctionPostHogPlugin
(config: PostHogConfig)
packages/api-reference/src/plugins/posthog/index.ts:20
↓ 9 callersFunctionaddResponseToHistory
( store: WorkspaceStore | null, document: WorkspaceDocument | null, { payload, meta }: HooksEvents['hook
packages/workspace-store/src/mutators/operation/history.ts:14
↓ 9 callersFunctionanalyzeServerDistribution
(serverUsage: ServerUsage[], allUniquePaths: Set<string>)
packages/postman-to-openapi/src/helpers/servers.ts:42
↓ 9 callersFunctionbuildOAuthDocument
(scopes: Record<string, string>)
packages/workspace-store/src/mutators/auth.test.ts:1079
↓ 9 callersFunctionbuildQueryString
(queryParams?: Array<{ name: string; value: string }>)
packages/snippetz/src/libs/http.ts:31
↓ 9 callersFunctionbuildQueryString
* Builds a query string from an array of query parameters
packages/snippetz/src/plugins/fsharp/httpclient/httpclient.ts:49
↓ 9 callersFunctioncreateMockEventBus
()
packages/api-client/src/v2/helpers/test-utils.ts:5
↓ 9 callersFunctioncreateMockOperation
(overrides: Partial<TraversedOperation> = {})
packages/api-reference/src/components/Content/Operations/TraversedEntry.test.ts:139
↓ 9 callersFunctioncreateMockTag
(overrides: Partial<TraversedTag> = {})
packages/api-reference/src/components/Content/Operations/TraversedEntry.test.ts:159
↓ 9 callersFunctioncreatePreserveModulesOutput
()
tooling/scripts/vite-lib-config.ts:58
↓ 9 callersFunctioncreateStore
(documents: Record<string, FakeDocument> = {})
projects/scalar-app/src/features/app/hooks/use-version-conflict-check.test.ts:31
↓ 9 callersFunctiondecodeBuffer
( buffer: ArrayBuffer, contentType: string, pluginHandler?: ResponseBodyHandler, )
packages/api-client/src/v2/blocks/operation-block/helpers/decode-buffer.ts:13
↓ 9 callersFunctiondeepClone
(obj: T)
packages/json-magic/src/diff/merge.test.ts:6
↓ 9 callersFunctionencode
Encode a generated value to a wire string. Strings pass through; everything else is JSON.
packages/mock-server/src/utils/generate-message.ts:7
↓ 9 callersFunctionencodeQueryValue
(value: string, param: ParameterObject)
packages/blocks/src/code-example/helpers/operation-to-har/process-parameters.ts:41
↓ 9 callersFunctionescapeRubySingleQuoted
(value: string)
packages/snippetz/src/plugins/ruby/native/native.ts:7
↓ 9 callersFunctionexchangeToken
(token: string)
projects/scalar-app/src/helpers/auth/exchange-token.ts:9
↓ 9 callersFunctionextractPathFromUrl
(url: string | undefined)
packages/postman-to-openapi/src/helpers/urls.ts:33
↓ 9 callersFunctionfireWorkspaceChange
(event: WorkspaceStateChangeEvent)
packages/workspace-store/src/client.ts:668
↓ 9 callersFunctiongenerateBodyScript
(configuration: AnyApiReferenceConfiguration)
packages/server-side-rendering/src/ssr.ts:51
↓ 9 callersFunctiongenerateUniqueValue
({ defaultValue, /** Check function to verify the uniqueness of the value */ validation, /** Transform
packages/workspace-store/src/helpers/generate-unique-value.ts:24
↓ 9 callersFunctiongetCookieHeader
(cookieParams: XScalarCookie[], originalCookieHeader: string | undefined)
packages/workspace-store/src/request-example/builder/header/build-request-cookie-header.ts:17
↓ 9 callersFunctiongetExampleFromBody
( requestBody: RequestBodyObject, contentType: string, exampleName: string, requestBodyCompositionSele
packages/workspace-store/src/request-example/builder/body/get-request-body-example.ts:15
↓ 9 callersFunctiongetModalProps
(app: App)
packages/api-client/src/v2/features/modal/helpers/create-api-client-modal.test.ts:68
↓ 9 callersFunctiongetOAuthCallbackData
(getCallbackUrl: () => string, tokenName = 'access_token')
packages/api-client/src/v2/blocks/scalar-auth-selector-block/helpers/oauth-callback.ts:97
↓ 9 callersMethodgetSize
* Returns the number of elements in the queue. * @returns The size of the queue.
packages/helpers/src/queue/queue.ts:101
↓ 9 callersFunctionisMacOS
()
packages/helpers/src/general/is-mac-os.ts:19
↓ 9 callersFunctionisSchema
(schema: SchemaObject | undefined)
packages/workspace-store/src/schemas/v3.1/strict/type-guards.ts:33
↓ 9 callersFunctionmakeFilesystem
( value: string | UnknownObject | Filesystem, overwrites: Partial<FilesystemEntry> = {}, )
packages/openapi-parser/src/utils/make-filesystem.ts:6
↓ 9 callersFunctionmergeObjects
(base: T, override?: unknown)
packages/helpers/src/object/merge-objects.ts:18
↓ 9 callersFunctionnav
(name: string, title: string)
projects/scalar-app/src/features/command-palette/hooks/use-command-palette-documents.test.ts:49
↓ 9 callersFunctionnestedItemGroups
({ itemAttrs = (label: string) => `is="button" :icon="args.icon" :selected="selected === '${label}'" @cl
packages/components/src/components/ScalarSidebar/ScalarSidebar.stories.ts:18
↓ 9 callersMethodobserve
(target: Element)
packages/api-reference/src/components/Lazy/Lazy.test.ts:26
↓ 9 callersFunctionparseOpenedCallbackPort
()
projects/scalar-app/entrypoints/electron/main/actions/get-exchange-token.test.ts:50
↓ 9 callersFunctionpillPlugin
(props: { environment: XScalarEnvironment | undefined isReadOnly: boolean | undefined isContextFunctionN
packages/api-client/src/v2/components/code-input/code-variable-widget.ts:119
↓ 9 callersFunctionplaceholder
(s: string, w: string = 'w-full')
packages/components/src/components/ScalarHeader/ScalarHeader.stories.ts:7
↓ 9 callersFunctionprocess
(markdown: string)
packages/code-highlight/src/rehype-alert/rehype-alert.test.ts:10
↓ 9 callersFunctionrenameOperationExamples
( operation: OpenAPIV3_1.OperationObject, exampleName: string, newExampleName: string, )
packages/postman-to-openapi/src/helpers/rename-operation-example.ts:40
↓ 9 callersFunctionrenderApiReferenceToString
(configuration: AnyApiReferenceConfiguration)
packages/server-side-rendering/src/ssr.ts:162
↓ 9 callersFunctionresolve
(...parameters: Array<string>)
packages/helpers/src/node/path.ts:65
↓ 9 callersFunctionresolveExampleName
( ctx: ResolverContext, operation: TraversedEntry | undefined, exampleKey: string | undefined, )
packages/api-client/src/v2/features/modal/helpers/resolve-route-parameters.ts:122
↓ 9 callersFunctionresolveOperationWithTraits
(operation: AsyncApiOperationObject)
packages/workspace-store/src/channel-example/resolve-operation-with-traits.ts:16
↓ 9 callersFunctionresolveResponseBodyHandler
( mimeType: string, plugins: ClientPlugin[], )
packages/api-client/src/v2/blocks/response-block/helpers/resolve-response-body-handler.ts:11
↓ 9 callersFunctionresolveSerialization
( location: ParameterLocation, style?: string, explode?: boolean, )
packages/mock-server/src/utils/deserialize-parameter.ts:25
↓ 9 callersFunctionschema
(value: Record<string, unknown>)
packages/openapi-to-markdown/src/components/Schema.test.ts:7
↓ 9 callersFunctionshouldMigrateToIndexDb
( workspacePersistence: Awaited<ReturnType<typeof createWorkspaceStorePersistence>>['workspace'], )
packages/oas-utils/src/migrations/migrate-to-indexdb.ts:127
↓ 9 callersFunctiontrigger
(wrapper: ReturnType<typeof mount>)
packages/components/src/components/ScalarMenu/ScalarMenu.test.ts:10
↓ 9 callersFunctionunwrapAsyncApiSchema
(value: unknown)
packages/api-reference/src/helpers/get-async-api-message-payload-schema.ts:23
↓ 9 callersFunctionupdateOperationRequestBodyExample
( document: WorkspaceDocument | null, { meta, payload, contentType }: OperationEvents['operation:update:re
packages/workspace-store/src/mutators/operation/body.ts:98
↓ 9 callersFunctionupdateWatchMode
(document: WorkspaceDocument | null, watchMode: boolean)
packages/workspace-store/src/mutators/document.ts:29
↓ 9 callersFunctionupgrade
( value: UnknownObject, targetVersion: '3.0' | '3.1' | '3.2', )
packages/openapi-upgrader/src/upgrade.ts:15
↓ 9 callersFunctionuseScrollLock
(element: MaybeRefOrGetter<HTMLElement | null | undefined>)
packages/api-client/src/v2/hooks/use-scroll-lock.ts:28
↓ 9 callersFunctionwaitForLoginPageToOpen
()
projects/scalar-app/entrypoints/electron/main/actions/get-exchange-token.test.ts:61
↓ 9 callersFunctionworkThroughQueue
(queue: Queue<T>)
packages/openapi-parser/src/utils/openapi/utils/workThroughQueue.ts:11
↓ 8 callersFunctionapiReference
(givenConfiguration: NestJSReferenceConfiguration)
integrations/nestjs/src/nestJSApiReference.ts:88
↓ 8 callersFunctionbuildPostmanRequestTree
(items: unknown)
projects/scalar-app/src/features/command-palette/helpers/postman-request-tree.ts:103
↓ 8 callersFunctioncheckRefresh
()
projects/scalar-app/src/hooks/use-auth.ts:247
↓ 8 callersFunctionclearServers
(document: WorkspaceDocument | null, { meta }: ServerEvents['server:clear:servers'])
packages/workspace-store/src/mutators/server.ts:242
↓ 8 callersFunctioncreateBasicDocument
(title = 'Test API')
packages/api-reference/src/components/ApiReference.config.test.ts:99
↓ 8 callersFunctioncreateConsoleContext
()
packages/pre-post-request-scripts/src/libs/execute-scripts/context/console.ts:11
↓ 8 callersFunctioncreateDraftRegistryDocument
({ workspaceStore, namespace, slug, version, seedDocumentName, }: { workspaceStore: WorkspaceStore
projects/scalar-app/src/features/app/helpers/create-draft-registry-document.ts:27
↓ 8 callersFunctioncreateHtmlDocument
Utility to create a new HTML document from a string
packages/api-reference/src/standalone/lib/html-api.test.ts:487
↓ 8 callersFunctioncreateMatchMediaMock
(mode: 'light' | 'dark' = 'dark')
packages/use-hooks/src/useColorMode/useColorMode.test.ts:13
↓ 8 callersFunctioncreateMockCookies
(cookies: XScalarCookie[] = [])
projects/scalar-app/src/features/global-cookies/components/CookiesTable.test.ts:8
↓ 8 callersFunctioncreateModalState
(open = false)
packages/api-client/src/v2/components/modals/ModalClientContainer.spec.ts:8
↓ 8 callersFunctioncreateStore
()
packages/blocks/src/code-example/mount.test.ts:10
↓ 8 callersFunctioncreateTag
(store: WorkspaceStore | null, payload: TagEvents['tag:create:tag'])
packages/workspace-store/src/mutators/tag.ts:19
↓ 8 callersFunctioncreateWorkspaceStore
(documents: Record<string, FakeDocument> = {})
projects/scalar-app/src/features/app/helpers/load-registry-document.test.ts:23
↓ 8 callersFunctioncreateWorkspaceStore
(documents: Record<string, FakeDocument>)
projects/scalar-app/src/features/app/helpers/create-draft-registry-document.test.ts:26
↓ 8 callersFunctionescapeJsonPointer
(str: string)
packages/helpers/src/json/escape-json-pointer.ts:6
↓ 8 callersFunctionexecuteHook
( payload: HookPayloadMap[K], hookName: K, plugins: ClientPlugin[], )
packages/oas-utils/src/helpers/client-plugins.ts:264
↓ 8 callersFunctionexecuteHooks
( type: T, ...args: Parameters<HookFn<T>> )
packages/json-magic/src/bundle/bundle.ts:599
↓ 8 callersFunctionexecutePostResponseScript
( script: string | undefined, data: { requestBuilder: RequestFactory response: Response onTest
packages/pre-post-request-scripts/src/libs/execute-scripts/execute-post-response-script.ts:14
↓ 8 callersFunctionfetchRegistryDocument
({ namespace, slug, version = 'latest' })
projects/scalar-app/src/helpers/fetch-registry-document.ts:20
← previousnext →601–700 of 4,087, ranked by callers