MCPcopy Create free account

hub / github.com/scalar/scalar / functions

Functions4,087 in github.com/scalar/scalar

↓ 4 callersFunctionmakeBindingsObject
(typeName: string, typeComment: string)
packages/schemas/src/asyncapi/3.1/bindings.ts:47
↓ 4 callersFunctionmakeLazySingleton
( factory: (...args: Args) => Promise<T>, )
packages/api-client-react/src/lazy-load.ts:10
↓ 4 callersFunctionmeasureAsync
(name: string, fn: () => Promise<T>)
packages/helpers/src/testing/measure.ts:45
↓ 4 callersFunctionmergeFlowSecrets
( properties: T, configSecrets: Record<string, unknown>, authStoreSecrets: Record<string, unknown> = {},
packages/workspace-store/src/request-example/context/security/extract-security-scheme-secrets.ts:46
↓ 4 callersFunctionmergeFlowSecrets
( properties: T, configSecrets: Record<string, unknown>, authStoreSecrets: Record<string, unknown> = {},
packages/api-client/src/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.ts:45
↓ 4 callersFunctionmergePropertiesIntoResult
( result: Extract<SchemaObject, { type: 'object' }>['properties'], properties: Extract<SchemaObject, { typ
packages/api-reference/src/components/Content/Schema/helpers/merge-all-of-schemas.ts:210
↓ 4 callersFunctionmessageForDeleteVersionError
(code: DeleteRegistryVersionError, detail?: string)
projects/scalar-app/src/features/app/helpers/registry-error-messages.ts:96
↓ 4 callersFunctionmigrate_v_2_5_0
(data: v_2_4_0.DataRecord)
packages/oas-utils/src/migrations/v-2.5.0/migration.ts:6
↓ 4 callersFunctionmountHarness
(props: HarnessProps)
packages/api-client/src/v2/blocks/scalar-address-bar-block/hooks/use-path-masking.test.ts:17
↓ 4 callersFunctionmountSchema
(schema: unknown)
packages/api-reference/src/components/Content/Schema/dynamic-ref.test.ts:33
↓ 4 callersFunctionnavigate
(route: RouteLocationRaw)
projects/scalar-app/src/features/app/app-state.ts:1034
↓ 4 callersFunctiononIpcEvent
(key: K, handler: Window['api'][K])
projects/scalar-app/entrypoints/electron/main/actions/helpers.ts:5
↓ 4 callersFunctionopen
(payload: RoutePayload)
packages/api-client-react/src/use-api-client.ts:64
↓ 4 callersFunctionoperationMatchesProtocol
( document: AsyncApiDocument, operation: AsyncApiOperationObject, protocol: string | undefined, contex
packages/workspace-store/src/channel-example/get-async-api-protocols.ts:162
↓ 4 callersFunctionoperationMatchesServer
( document: AsyncApiDocument, operation: AsyncApiOperationObject, serverName: string | undefined, cont
packages/workspace-store/src/channel-example/get-async-api-protocols.ts:181
↓ 4 callersFunctionpadBlock
(padSize: number, input: string)
packages/snippetz/src/plugins/clojure/clj_http/clj_http.ts:54
↓ 4 callersFunctionparseOpenedRedirectUri
()
projects/scalar-app/entrypoints/electron/main/actions/authorize-oauth2.test.ts:32
↓ 4 callersFunctionparsePostmanPathKey
(key: string)
projects/scalar-app/src/features/command-palette/helpers/postman-request-tree.ts:21
↓ 4 callersFunctionpersistencePlugin
({ debounceDelay = 500, maxWait = 10000, persistAuth = false, }: { debounceDelay?: number /** Maximu
packages/api-reference/src/plugins/persistence-plugin.ts:9
↓ 4 callersFunctionpickHeading
(...candidates: Array<string | undefined>)
packages/api-reference/src/components/Content/AsyncApi/helpers/pick-heading.ts:9
↓ 4 callersFunctionpushUnique
(list: string[], value: string | undefined | null)
packages/postman-to-openapi/scripts/evaluate/run.ts:73
↓ 4 callersFunctionqueryAlert
()
packages/api-client/src/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.test.ts:111
↓ 4 callersFunctionreadFiles
()
packages/icons/scripts/generate-icons.ts:30
↓ 4 callersFunctionregistryKey
(namespace: string, slug: string)
projects/scalar-app/src/features/app/hooks/use-sidebar-documents/helpers/build-registry-item.ts:9
↓ 4 callersFunctionrenameOperationExample
( workspace: WorkspaceStore | null, { meta: { path, method, exampleKey }, documentName, payload }: Operati
packages/workspace-store/src/mutators/operation/operation.ts:402
↓ 4 callersFunctionrenderText
(schema: unknown)
packages/api-reference/src/components/Content/Schema/Schema.test.ts:1251
↓ 4 callersFunctionresetDragState
()
projects/scalar-app/src/features/collection/components/Runner/hooks/use-runner-selection.ts:159
↓ 4 callersFunctionresolveAndCopyReferences
( targetDocument: unknown, sourceDocument: unknown, referencePath: string, externalRefsKey: string,
packages/json-magic/src/bundle/bundle.ts:167
↓ 4 callersFunctionresolveOperationChannel
( document: AsyncApiDocument, operation: AsyncApiOperationObject, )
packages/workspace-store/src/channel-example/resolve-operation-channel.ts:32
↓ 4 callersFunctionresolveVariableValue
(value: string, variables: Record<string, string>)
packages/helpers/src/theme/load-css-variables.ts:81
↓ 4 callersFunctionresolveVariables
(variables: Record<string, string>)
packages/helpers/src/theme/load-css-variables.ts:101
↓ 4 callersFunctionresolver
()
packages/json-magic/src/bundle/bundle.test.ts:2474
↓ 4 callersFunctionrunCommand
(command: string, logFilename?: string)
tooling/scripts/src/helpers/index.ts:27
↓ 4 callersFunctionrunInScope
(callback: () => T)
projects/scalar-app/src/features/app/hooks/use-network-status.test.ts:23
↓ 4 callersFunctionscrollToId
(id: string, focus?: boolean)
packages/helpers/src/dom/scroll-to-id.ts:6
↓ 4 callersFunctionserializeFormPropertyWithEncoding
( key: string, value: unknown, encoding: EncodingObject | undefined, )
packages/workspace-store/src/request-example/builder/body/serialize-form-property.ts:41
↓ 4 callersFunctionset
* Proxy "set" trap for magic proxy. * Allows setting properties on the proxied object. * This will update the underlying target object.
packages/json-magic/src/magic-proxy/proxy.ts:177
↓ 4 callersFunctionsetCodeMirrorContent
(newValue = '')
packages/use-codemirror/src/hooks/useCodeMirror.ts:120
↓ 4 callersMethodsetCustomCss
(String customCss)
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/ScalarProperties.java:387
↓ 4 callersMethodsetHideModels
(boolean hideModels)
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/ScalarProperties.java:355
↓ 4 callersMethodsetKey
Sets the Agent Scalar key. @param key the key
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/config/ScalarAgentOptions.java:47
↓ 4 callersMethodsetPageTitle
(String pageTitle)
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/ScalarProperties.java:339
↓ 4 callersFunctionsetPathItemOperation
( pathItem: NodeInput<PathItemObject> | undefined, method: HttpMethod, operation: OperationObject, )
packages/workspace-store/src/helpers/for-each-path-item-operation.ts:37
↓ 4 callersMethodsetShowSidebar
(boolean showSidebar)
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/ScalarProperties.java:347
↓ 4 callersFunctionsetupServer
(origin = window.location.origin)
packages/pre-post-request-scripts/src/libs/execute-scripts/postman-adapter/sandbox-frame-server.test.ts:164
↓ 4 callersFunctionsidebarTop
(page: Page, name: string)
packages/api-reference/test/configuration/tags-sorter.e2e.ts:16
↓ 4 callersFunctionsidebarTop
(page: Page, name: string)
packages/api-reference/test/configuration/operations-sorter.e2e.ts:17
↓ 4 callersFunctionstubLocation
(href: string)
packages/pre-post-request-scripts/src/libs/execute-scripts/postman-adapter/sandbox-adapter.test.ts:62
↓ 4 callersFunctiontoHex
(v: string)
packages/helpers/src/theme/load-css-variables.ts:64
↓ 4 callersFunctiontoJson
(yamlContent: string)
packages/galaxy/scripts/post-build.ts:24
↓ 4 callersFunctiontoKeyValueArray
(input: VariableEntry[] | Record<string, string>)
packages/pre-post-request-scripts/src/libs/execute-scripts/variables-store.ts:3
↓ 4 callersFunctiontoPascalCase
* Helper function to convert a string to PascalCase for C# enum values. * Uses the custom mappings defined at the top of the file for better naming c
packages/snippetz/scripts/generate-dotnet-enums.ts:97
↓ 4 callersFunctiontoSlug
(input: string)
packages/components/test/helpers.ts:74
↓ 4 callersFunctiontoTableRow
({ parameter, name, value, description, schema, isRequired, isDisabled, sourceParameterValuePa
packages/api-client/src/v2/blocks/request-block/helpers/create-parameter-rows.ts:86
↓ 4 callersFunctiontoVariableEntries
( values: Array<{ key: string; value: string; type?: string }> | undefined, )
packages/pre-post-request-scripts/src/libs/execute-scripts/variables-store.ts:34
↓ 4 callersFunctiontoVariableList
(entries: VariableEntry[])
packages/pre-post-request-scripts/src/libs/execute-scripts/build-sandbox-context.ts:6
↓ 4 callersFunctiontoYaml
(value: AnyObject)
packages/openapi-parser/src/utils/to-yaml.ts:5
↓ 4 callersFunctiontopOf
(page: Page, text: string)
packages/api-reference/test/configuration/order-schema-properties-by.e2e.ts:23
↓ 4 callersFunctiontopOf
(page: Page, text: string)
packages/api-reference/test/configuration/order-required-properties-first.e2e.ts:24
↓ 4 callersFunctiontransform
(schema: any)
packages/openapi-parser/src/utils/traverse.test.ts:8
↓ 4 callersFunctionunescapeJsonPointer
(uri: string)
packages/helpers/src/json/unescape-json-pointer.ts:7
↓ 4 callersFunctionunescapeJsonPointer
(uri: string)
packages/json-magic/src/helpers/unescape-json-pointer.ts:7
↓ 4 callersFunctionunescapeJsonPointer
(uri: string)
packages/openapi-parser/src/utils/unescape-json-pointer.ts:7
↓ 4 callersFunctionuniqueValueGeneratorFactory
( compress: (value: string) => Promise<string> | string, compressedToValue: Record<string, string>, )
packages/json-magic/src/bundle/value-generator.ts:101
↓ 4 callersFunctionunwrapConfig
* Unwrap the configuration from an array if needed, since AnyApiReferenceConfiguration * can be a single config or an array of configs.
packages/server-side-rendering/src/ssr.ts:18
↓ 4 callersFunctionupdateAsyncApiServerVariables
( document: WorkspaceDocument | null, { name, key, value }: ServerEvents['asyncapi-server:update:variables
packages/workspace-store/src/mutators/server.ts:337
↓ 4 callersFunctionupdateSelectedAsyncApiServer
( document: WorkspaceDocument | null, { name }: ServerEvents['asyncapi-server:update:selected'], )
packages/workspace-store/src/mutators/server.ts:316
↓ 4 callersFunctionupsertEnvironment
( workspace: Workspace | null, collection: WorkspaceDocument | Workspace | null, { environmentName, payl
packages/workspace-store/src/mutators/environment.ts:25
↓ 4 callersFunctionupsertEnvironmentVariable
( collection: WorkspaceDocument | Workspace | null, { environmentName, variable, index }: Event<'environme
packages/workspace-store/src/mutators/environment.ts:96
↓ 4 callersFunctionuseBreakpoints
()
packages/use-hooks/src/useBreakpoints/useBreakpoints.ts:13
↓ 4 callersFunctionuseRunnerExecution
({ workspaceStore, document, documentName, isWeb, selectedOrder, customFetch, }: UseRunnerExecutio
projects/scalar-app/src/features/collection/components/Runner/hooks/use-runner-execution.ts:92
↓ 4 callersFunctionwaitForBrowserToOpen
()
projects/scalar-app/entrypoints/electron/main/actions/authorize-oauth2.test.ts:43
↓ 4 callersFunctionwithDefault
(value: T, defaultValue: K)
packages/openapi-parser/src/utils/join/join.ts:42
↓ 4 callersFunctionwrap
(req: IDBRequest<T>)
packages/workspace-store/src/persistence/indexdb.test.ts:343
↓ 3 callersMethod_unsavedMutate
Mutate without saving a record. Private function.
packages/object-utils/src/mutator-record/mutations.ts:63
↓ 3 callersFunctionadd
()
packages/components/src/components/ScalarCombobox/ScalarCombobox.stories.ts:206
↓ 3 callersFunctionaddEntryPoint
(distPath: string)
tooling/scripts/vite-lib-config.ts:116
↓ 3 callersFunctionaddTab
(workspace: Workspace | null, _payload: TabEvents['tabs:add:tab'])
packages/workspace-store/src/mutators/tabs.ts:61
↓ 3 callersFunctionalternatingFromList
(parts: string[])
packages/mock-server/src/utils/deserialize-parameter.ts:184
↓ 3 callersFunctionapplySlugPrefix
(base: string, slugPrefix: string | undefined)
packages/api-reference/src/helpers/id-routing.ts:11
↓ 3 callersFunctionassertOpenApiOrUndefined
(doc: unknown, label: string)
packages/workspace-store/test/helpers.ts:29
↓ 3 callersFunctionassertScalarAppEnvPlugin
(envDir: string)
projects/scalar-app/assert-scalar-app-env-plugin.ts:6
↓ 3 callersFunctionauthorizeServers
( flows: NonImplicitFlows, type: keyof NonImplicitFlows, scopes: string, { code, pkce, pro
packages/api-client/src/v2/blocks/scalar-auth-selector-block/helpers/oauth.ts:394
↓ 3 callersFunctionbareHashCarrier
(url: URL)
packages/api-reference/src/helpers/id-routing.ts:174
↓ 3 callersFunctionblockInteractiveStickerLoads
()
documentation/assets/company.js:154
↓ 3 callersMethodbuildDecorations
(view: EditorView)
packages/api-client/src/v2/components/code-input/code-variable-widget.ts:148
↓ 3 callersFunctionbuildPaginatedResource
(item: Record<string, unknown>)
packages/api-reference/src/components/Content/Schema/dynamic-ref.test.ts:11
↓ 3 callersFunctionbuildSafeBodyRequest
(url: string, init: RequestInit)
packages/helpers/src/http/can-method-have-body.ts:24
↓ 3 callersFunctionbyPreference
(predicate: (response: string) => boolean)
packages/mock-server/src/utils/find-preferred-response-key.ts:49
↓ 3 callersFunctioncaps
(strings: TemplateStringsArray, ...values: string[])
packages/api-reference/test/snapshots/themes.e2e.ts:6
↓ 3 callersFunctionchannelIds
(result: TraversedEntry[])
packages/api-reference/src/blocks/scalar-asyncapi-sidebar-filters-block/helpers/filter-async-api-navigation.test.ts:64
↓ 3 callersFunctionchannelWithOperation
()
packages/api-reference/src/components/Content/AsyncApi/Channel.test.ts:169
↓ 3 callersFunctionclickFirstTabLink
(page: Page, label: string)
projects/scalar-app/test/scalar-app-page-tour.e2e.ts:94
↓ 3 callersFunctioncloseOtherTabs
(workspace: Workspace | null, payload: TabEvents['tabs:close:other-tabs'])
packages/workspace-store/src/mutators/tabs.ts:122
↓ 3 callersFunctioncollectAsyncApiOperations
(children: TraversedEntry[] | undefined)
packages/workspace-store/src/navigation/helpers/traverse-asyncapi-document.test.ts:123
↓ 3 callersFunctioncollectEntries
( children: TraversedEntry[] | undefined, type: Entry['type'], )
packages/workspace-store/src/navigation/helpers/traverse-asyncapi-document.test.ts:91
↓ 3 callersFunctioncollectSchemaProperties
* Recursively visits every property of a schema, descending transparently through composition * keywords (`oneOf`, `anyOf`, `allOf`) and one level in
packages/api-reference/src/helpers/openapi.ts:51
↓ 3 callersFunctionconnectionFailed
()
packages/api-client/src/v2/blocks/channel-operation-block/helpers/connect-websocket.ts:48
↓ 3 callersFunctioncontent
()
integrations/nestjs/src/nestJSApiReference.ts:94
↓ 3 callersFunctionconvertToPythonSyntax
(str: string)
packages/snippetz/src/plugins/python/requestsLike.ts:8
← previousnext →1,201–1,300 of 4,087, ranked by callers