MCPcopy Index your code

hub / github.com/scalar/scalar / functions

Functions4,087 in github.com/scalar/scalar

↓ 8 callersFunctionfilterSelectedSecurity
( document: OpenApiDocument, operation: OperationObject | null, selectedSecurityDocument?: SelectedSecur
packages/api-reference/src/features/Operation/helpers/filter-selected-security.ts:22
↓ 8 callersFunctionflushAsync
()
projects/scalar-app/entrypoints/electron/main/actions/handle-custom-fetch.test.ts:68
↓ 8 callersFunctionformatScheme
({ name, value }: { name: string; value: SecurityRequirementObject })
packages/api-client/src/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.ts:36
↓ 8 callersFunctiongetAsyncApiModelSchema
(document: AsyncApiDocument, name: string)
packages/api-reference/src/helpers/get-async-api-model-schema.ts:18
↓ 8 callersFunctiongetCookieHeaderKeys
(headers: Headers)
packages/api-client/src/v2/blocks/operation-block/helpers/get-cookie-header-keys.ts:15
↓ 8 callersFunctiongetLanguageIcon
(lang: string)
packages/api-reference/src/blocks/scalar-sdk-installation-instructions/helpers/language-icon.ts:57
↓ 8 callersFunctiongetPathStructuralSignature
(path: string)
packages/postman-to-openapi/src/helpers/urls.ts:104
↓ 8 callersFunctiongetRequestExampleContext
( workspaceStore: WorkspaceStore, documentName: string, requestExampleMeta: RequestExampleMeta, option
packages/workspace-store/src/request-example/context/get-request-example-context.ts:57
↓ 8 callersFunctiongetWorkspaceRoot
()
tooling/scripts/src/helpers/index.ts:9
↓ 8 callersFunctionhandleLogin
()
projects/scalar-app/src/hooks/use-auth-handlers.ts:30
↓ 8 callersFunctionhandleRegister
()
projects/scalar-app/src/hooks/use-auth-handlers.ts:56
↓ 8 callersFunctionisArraySchema
( schema: T, )
packages/openapi-types/src/helpers/is-array-schema.ts:11
↓ 8 callersFunctionisBooleanSchema
( schema: T, )
packages/openapi-types/src/helpers/is-boolean-schema.ts:11
↓ 8 callersFunctionisElectron
()
packages/helpers/src/general/is-electron.ts:6
↓ 8 callersFunctionisRecord
(value: unknown)
packages/oas-utils/src/migrations/migrate-to-indexdb.test.ts:11
↓ 8 callersFunctionisTextMediaType
(type: string)
packages/api-client/src/v2/blocks/response-block/helpers/media-types.ts:179
↓ 8 callersFunctionloadRegistryDocument
({ workspaceStore, fetcher, namespace, slug, version = 'latest', }: { workspaceStore: WorkspaceSto
projects/scalar-app/src/features/app/helpers/load-registry-document.ts:10
↓ 8 callersFunctionmakePlugin
(handler: ResponseBodyHandler)
packages/api-client/src/v2/blocks/response-block/helpers/resolve-response-body-handler.test.ts:6
↓ 8 callersFunctionmockStore
(themeSlug?: string)
projects/scalar-app/src/hooks/use-themes.test.ts:69
↓ 8 callersFunctionmountModal
(props: { existingVersions?: string[]; sourceVersion?: string } = {})
projects/scalar-app/src/features/app/components/CreateVersionModal.test.ts:43
↓ 8 callersFunctionmountRequestBodyForm
({ example, selectedContentType = 'multipart/form-data', }: { example: ExampleObject | null | undefined
packages/api-client/src/v2/blocks/request-block/components/RequestBodyForm.test.ts:48
↓ 8 callersFunctionnormalizeMimeType
(contentType: string | undefined)
packages/api-reference/src/features/example-responses/helpers/normalize-mime-type.ts:11
↓ 8 callersFunctionnormalizeUrl
(url: string)
packages/snippetz/src/libs/http.ts:48
↓ 8 callersFunctionnotDefined
(options?: Documentation)
packages/validation/src/schema.ts:214
↓ 8 callersFunctionobjcStringLiteral
(value: string)
packages/snippetz/src/plugins/objc/nsurlsession/nsurlsession.ts:15
↓ 8 callersFunctionobjectReplace
(target: A, replacement: B)
packages/helpers/src/object/object-replace.ts:6
↓ 8 callersFunctiononMessage
(data: SandboxOutboundMessage)
packages/pre-post-request-scripts/src/libs/execute-scripts/postman-adapter/sandbox-adapter.ts:344
↓ 8 callersFunctionopenModal
(wrapper: ReturnType<typeof mountWithProps>)
packages/api-client/src/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.test.ts:34
↓ 8 callersFunctionparseJson
()
packages/json-magic/src/bundle/plugins/parse-json/index.ts:14
↓ 8 callersFunctionparseJsonPointerSegments
(path: string)
packages/helpers/src/json/parse-json-pointer-segments.ts:6
↓ 8 callersFunctionparseMediaType
(value: string | undefined)
packages/postman-to-openapi/src/helpers/header-utils.ts:23
↓ 8 callersFunctionpathItemIsEmpty
(pathItem: NodeInput<PathItemObject> | undefined)
packages/workspace-store/src/helpers/for-each-path-item-operation.ts:106
↓ 8 callersFunctionpersistencePlugin
({ workspaceId, debounceDelay = 500, /** Maximum time in milliseconds to wait before forcing execution,
packages/workspace-store/src/plugins/client/persistence.ts:49
↓ 8 callersFunctionplanWorkspaceMigration
( workspaces: readonly WorkspaceRecordV1[], )
packages/workspace-store/src/persistence/migrations/v2-team-to-local.ts:133
↓ 8 callersFunctionprocessExternalDocs
( collection: PostmanCollection, )
packages/postman-to-openapi/src/helpers/external-docs.ts:24
↓ 8 callersFunctionpushDynamicScope
(scope: DynamicScope, schema: SchemaObject)
packages/workspace-store/src/helpers/dynamic-ref.ts:89
↓ 8 callersFunctionrandInt
(min: number, max: number)
packages/workspace-store/src/request-example/functions.ts:106
↓ 8 callersFunctionremoveSecretFields
(input: Record<string, unknown>)
packages/helpers/src/general/extract-config-secrets.ts:35
↓ 8 callersFunctionresolveDynamicRef
(dynamicRef: string, scope: DynamicScope)
packages/workspace-store/src/helpers/dynamic-ref.ts:99
↓ 8 callersFunctionresolveMethod
( ctx: ResolverContext, path: string | undefined, method: string | undefined, )
packages/api-client/src/v2/features/modal/helpers/resolve-route-parameters.ts:93
↓ 8 callersFunctionresolveThemeStyles
(themeSlug: string, customThemes: Theme[])
projects/scalar-app/src/helpers/theme/resolve-theme-styles.ts:9
↓ 8 callersFunctionrunSandboxExecution
( request: SandboxExecuteRequest, emit: (message: SandboxOutboundMessage) => void, )
packages/pre-post-request-scripts/src/libs/execute-scripts/postman-adapter/sandbox-frame-server.ts:75
↓ 8 callersFunctionsafeAssign
(target: T, source: Partial<T>)
packages/workspace-store/src/helpers/general.ts:90
↓ 8 callersFunctionsetOffsetTop
(element: HTMLElement, value: number)
packages/sidebar/src/helpers/scroll-sidebar-to-top.test.ts:5
↓ 8 callersMethodsetPath
(String path)
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/ScalarProperties.java:331
↓ 8 callersFunctionsetupApp
({ layout = 'web', oauth2RedirectUri, customFetch, routeName = 'document.overview', }: {
projects/scalar-app/src/features/app/App.test.ts:116
↓ 8 callersFunctionshellQuote
(value = '')
packages/snippetz/src/httpsnippet-lite/helpers/shell.ts:5
↓ 8 callersFunctionsnippetz
()
packages/snippetz/src/snippetz.ts:8
↓ 8 callersFunctionupdateOperationMeta
( store: WorkspaceStore | null, document: WorkspaceDocument | null, { meta, payload }: OperationEvents['
packages/workspace-store/src/mutators/operation/operation.ts:114
↓ 8 callersFunctionupdateServerVariables
( document: WorkspaceDocument | null, { index, key, value, meta }: ServerEvents['server:update:variables']
packages/workspace-store/src/mutators/server.ts:263
↓ 8 callersFunctionuseThemeSwatches
(css: MaybeRefOrGetter<string>)
packages/components/src/components/ScalarThemeSwatches/useThemeSwatches.ts:63
↓ 8 callersFunctionuseWhatsNew
(options: UseWhatsNewOptions = {})
projects/scalar-app/src/features/whats-new/hooks/use-whats-new.ts:94
↓ 8 callersFunctionwithMeasurementSync
( name: string, fn: ReturnType<F> extends Promise<unknown> ? never : F, )
packages/workspace-store/src/client.ts:646
↓ 8 callersFunctionwithMeta
(document: Omit<OpenApiDocument, 'x-scalar-original-document-hash'>)
packages/openapi-to-markdown/src/components/MarkdownReference.test.ts:18
↓ 7 callersFunctionaddOAuthUrl
(url?: string)
packages/mock-server/src/utils/get-open-auth-token-urls.ts:59
↓ 7 callersFunctionappend
(fullKey: string, val: unknown)
packages/workspace-store/src/request-example/builder/header/serialize-parameter.ts:245
↓ 7 callersFunctionapplyAllowReservedToUrl
(url: string, allowReservedQueryParameters: Set<string>)
packages/workspace-store/src/request-example/builder/helpers/apply-allow-reserved-to-url.ts:43
↓ 7 callersFunctionasDocument
(components: unknown)
packages/api-reference/src/helpers/get-async-api-model-schema.test.ts:6
↓ 7 callersFunctionbuildRegistryStub
( overrides: Partial<NonNullable<CollectionProps['registry']>> = {}, )
projects/scalar-app/src/features/collection/components/Settings.test.ts:312
↓ 7 callersFunctioncheckVersionConflict
({ workspaceStore, fetcher, documentName, namespace, slug, version, registryCommitHash, }: { w
projects/scalar-app/src/features/app/helpers/check-version-conflict.ts:43
↓ 7 callersFunctioncleanup
()
packages/helpers/src/general/debounce.ts:36
↓ 7 callersFunctioncloseTab
(workspace: Workspace | null, payload: TabEvents['tabs:close:tab'])
packages/workspace-store/src/mutators/tabs.ts:86
↓ 7 callersFunctioncombineParams
( pathParams: PathItemObject['parameters'] = [], operationParams: OperationObject['parameters'] = [], )
packages/workspace-store/src/request-example/context/helpers/combine-params.ts:5
↓ 7 callersFunctioncreateFactory
(headers?: Record<string, string>)
packages/oas-utils/src/helpers/client-plugins.test.ts:7
↓ 7 callersFunctioncreateMockWebhook
(overrides: Partial<TraversedWebhook> = {})
packages/api-reference/src/components/OperationsList/OperationsList.test.ts:36
↓ 7 callersFunctioncreateMockWorkspaceStore
(environments?: any)
projects/scalar-app/src/features/collection/components/Environment.test.ts:38
↓ 7 callersFunctioncreateOperationDraftExample
( workspace: WorkspaceStore | null, { meta: { path, method }, documentName, exampleName }: OperationEvents
packages/workspace-store/src/mutators/operation/operation.ts:304
↓ 7 callersFunctioncreateRequestBuilder
()
packages/pre-post-request-scripts/src/plugins/request-scripts/request-scripts-plugin.test.ts:22
↓ 7 callersFunctioncreateVariablesStore
()
packages/pre-post-request-scripts/src/plugins/request-scripts/request-scripts-plugin.test.ts:40
↓ 7 callersFunctioncreateWorkspaceProps
(overrides: Partial<CollectionProps> = {})
projects/scalar-app/src/features/collection/components/Settings.test.ts:67
↓ 7 callersFunctioncreateWorkspaceStoreInstance
()
projects/scalar-app/src/features/collection/components/Settings.test.ts:33
↓ 7 callersFunctiondeepClone
(obj: T)
packages/json-magic/src/diff/apply.test.ts:5
↓ 7 callersFunctiondeleteScope
( store: WorkspaceStore | null, document: WorkspaceDocument | null, { name, flowType, scope }: AuthEvent
packages/workspace-store/src/mutators/auth.ts:553
↓ 7 callersFunctiondetectDocumentConflicts
({ original, local, remote, }: { /** Last-known remote document (the baseline both sides diverged from
projects/scalar-app/src/features/app/helpers/detect-document-conflicts.ts:20
↓ 7 callersFunctiondownloadDocument
(content: string, filename?: string, format?: 'json' | 'yaml')
packages/api-reference/src/helpers/download.ts:74
↓ 7 callersFunctioneditTag
(store: WorkspaceStore | null, payload: TagEvents['tag:edit:tag'])
packages/workspace-store/src/mutators/tag.ts:42
↓ 7 callersFunctionescapeForDoubleQuotes
(value: string)
packages/snippetz/src/httpsnippet-lite/helpers/escape.ts:89
↓ 7 callersFunctionextractConfigSecrets
(input: Record<string, unknown>)
packages/helpers/src/general/extract-config-secrets.ts:20
↓ 7 callersFunctionextractParameterNames
(parameters: ReferenceType<ParameterObject>[])
packages/api-reference/src/helpers/openapi.ts:101
↓ 7 callersFunctionfetchUrl
( url: string, limiter: <T>(fn: () => Promise<T>) => Promise<T>, config?: FetchConfig, )
packages/json-magic/src/bundle/plugins/fetch-urls/index.ts:38
↓ 7 callersFunctionfreezeElement
(element: HTMLElement)
packages/helpers/src/dom/freeze-element.ts:10
↓ 7 callersFunctiongenerateUniqueValue
( defaultValue: string, validation: (value: string) => boolean, prefix = '', )
packages/postman-to-openapi/src/helpers/generate-unique-value.ts:22
↓ 7 callersFunctiongetAsyncApiSecurityRequirements
( document: AsyncApiDocument, operation?: AsyncApiOperationObject | null, server?: AsyncApiServerObject
packages/workspace-store/src/channel-example/get-asyncapi-security-requirements.ts:91
↓ 7 callersFunctiongetChainTagName
(segments: string[])
packages/postman-to-openapi/src/convert.ts:105
↓ 7 callersFunctiongetClients
( customCodeSamples: XCodeSample[], clientOptions: ClientOptionGroup[], label: string = CODE_EXAMPLES_GR
packages/blocks/src/code-example/helpers/get-clients.ts:17
↓ 7 callersFunctiongetConfiguration
( givenConfiguration: Partial<HtmlRenderingConfiguration> | Record<string, unknown>, )
packages/client-side-rendering/src/html-rendering.ts:211
↓ 7 callersFunctiongetConfigurationAttribute
(html: string)
packages/import/src/resolve.ts:273
↓ 7 callersFunctiongetCustomClientIds
(samples: XCodeSample[])
packages/blocks/src/code-example/helpers/generate-client-options.ts:26
↓ 7 callersFunctiongetEnumValues
(value: SchemaObject | undefined)
packages/api-reference/src/components/Content/Schema/helpers/get-enum-values.ts:11
↓ 7 callersFunctiongetModifierKeySymbol
(modifier: HotKeyModifier)
packages/components/src/components/ScalarHotkey/formatHotkey.ts:39
↓ 7 callersFunctiongetOAuthCallbackParams
( callbackUrl: string, )
packages/api-client/src/v2/blocks/scalar-auth-selector-block/helpers/oauth-callback.ts:43
↓ 7 callersFunctiongetObjectPropertyNames
(schema: Record<string, unknown> | undefined)
packages/mock-server/src/utils/deserialize-parameter.ts:93
↓ 7 callersFunctiongetOperationEntries
(document: TraversedDocument)
packages/workspace-store/src/navigation/helpers/get-operation-entries.ts:31
↓ 7 callersFunctiongetOperationStability
(operation: OperationStability)
packages/api-reference/src/features/Operation/helpers/operation-stability.ts:17
↓ 7 callersFunctiongetSecurityRequirements
( documentSecurity: OpenApiDocument['security'], operationSecurity?: OperationObject['security'], )
packages/workspace-store/src/request-example/context/security/get-security-requirements.ts:12
↓ 7 callersFunctiongetServerTarget
(document: WorkspaceDocument | null, meta: ServerMeta)
packages/workspace-store/src/mutators/server.ts:26
↓ 7 callersFunctiongetStore
(mode: IDBTransactionMode)
packages/workspace-store/src/persistence/indexdb.ts:209
↓ 7 callersFunctiongetTagContextKey
(segments: string[])
packages/postman-to-openapi/src/convert.ts:103
↓ 7 callersFunctionhandleDelete
()
projects/scalar-app/src/features/app/hooks/use-sidebar-context-menu.ts:100
↓ 7 callersFunctionhasValidTabs
( workspace: Workspace | null, )
packages/workspace-store/src/mutators/tabs.ts:15
← previousnext →701–800 of 4,087, ranked by callers