MCPcopy Create free account

hub / github.com/scalar/scalar / functions

Functions4,087 in github.com/scalar/scalar

↓ 2 callersFunctiongetDocumentSlug
(configuration: ApiClientConfigurationReact)
packages/api-client-react/src/use-api-client.ts:38
↓ 2 callersFunctiongetDocumentSource
(input: WorkspaceDocumentInput)
packages/workspace-store/src/client.ts:174
↓ 2 callersFunctiongetEditableDocument
(documentName: string)
packages/workspace-store/src/client.ts:1234
↓ 2 callersFunctiongetEditedValuePath
(typedName: string, parameterName: string | undefined, fallback: string[])
packages/api-client/src/v2/blocks/request-block/helpers/create-parameter-handlers.ts:50
↓ 2 callersMethodgetEnumValues
Gets the enum values. @return the enum values
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/config/ScalarServer.java:184
↓ 2 callersFunctiongetExampleFromExamples
( examples: MediaTypeObject['examples'], exampleField: MediaTypeObject['example'], exampleName: string |
packages/workspace-store/src/request-example/builder/helpers/get-example.ts:11
↓ 2 callersFunctiongetExpandedObjectPayload
( row: TableRow, context: TableRow[], payload?: ParameterUpsertPayload, )
packages/api-client/src/v2/blocks/request-block/helpers/create-parameter-handlers.ts:61
↓ 2 callersFunctiongetExpandedRowName
(parameter: ParameterObject, path: string[], mode: ExpansionMode)
packages/api-client/src/v2/blocks/request-block/helpers/create-parameter-rows.ts:119
↓ 2 callersFunctiongetFileName
(input: unknown)
packages/api-client/src/v2/blocks/request-block/helpers/files.ts:4
↓ 2 callersFunctiongetInputIndex
()
packages/workspace-store/src/mutators/tabs.ts:87
↓ 2 callersFunctiongetJSDocFromNode
(node: Node)
packages/ts-to-openapi/src/js-doc.ts:10
↓ 2 callersFunctiongetKey
(slug: string)
packages/agent-chat/src/helpers.ts:80
↓ 2 callersFunctiongetKey
(slug: string)
packages/api-reference/src/helpers/storage.ts:37
↓ 2 callersMethodgetLayout
()
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/ScalarProperties.java:551
↓ 2 callersFunctiongetLeafTagName
(segments: string[])
packages/postman-to-openapi/src/convert.ts:142
↓ 2 callersFunctiongetMarkdownAst
* Create a Markdown AST from a string.
packages/code-highlight/src/markdown/markdown.ts:203
↓ 2 callersFunctiongetMediaTypeConfig
(type: string)
packages/api-client/src/v2/blocks/response-block/helpers/media-types.ts:159
↓ 2 callersFunctiongetNameKey
(scheme: v_0_0_0.SecurityScheme)
packages/oas-utils/src/migrations/v-2.1.0/migration.ts:261
↓ 2 callersFunctiongetOpenApiServerDocument
(store: ServerWorkspaceStore, name: string)
packages/workspace-store/test/helpers.ts:62
↓ 2 callersMethodgetOperationTitleSource
()
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/internal/ScalarConfiguration.java:175
↓ 2 callersFunctiongetOrCreateChannelBucket
( channelBuckets: Map<string, ChannelBucket>, channelName: string, channel: AsyncApiChannelObject, )
packages/workspace-store/src/navigation/helpers/traverse-asyncapi-document.ts:506
↓ 2 callersFunctiongetOrderedPathParameterNames
(path: string)
packages/postman-to-openapi/src/convert.ts:532
↓ 2 callersFunctiongetParameterPositions
(path: string, parameters: readonly string[])
packages/workspace-store/src/mutators/operation/helpers/get-parameter-position.ts:5
↓ 2 callersFunctiongetParentNode
()
packages/json-magic/src/magic-proxy/proxy.ts:199
↓ 2 callersFunctiongetPath
(segments: string[])
packages/json-magic/src/helpers/get-schemas.ts:20
↓ 2 callersFunctiongetPathEntries
(document: OpenApiDocument)
packages/openapi-to-markdown/src/create-markdown-from-openapi.ts:129
↓ 2 callersFunctiongetPathParameters
(parameters: unknown, pathPrefix: string[])
packages/openapi-parser/src/utils/validate-path-parameters.ts:92
↓ 2 callersFunctiongetPathToJavaScriptBundle
* Looks into the package.json and returns the path to the browser bundle.
packages/api-reference/test/utils/serve-example.ts:133
↓ 2 callersFunctiongetPluginViewId
(documentSlug: string, pluginName: string, viewName: PluginViewName, index: number)
packages/api-reference/src/plugins/plugin-manager.ts:40
↓ 2 callersFunctiongetPostmanConvertOptions
({ document, mergeOperation, importPathKeys, }: GetPostmanConvertOptionsInput)
projects/scalar-app/src/features/command-palette/helpers/get-postman-convert-options.ts:16
↓ 2 callersFunctiongetRefName
(ref: string)
packages/api-reference/src/components/Content/Schema/helpers/get-ref-name.ts:10
↓ 2 callersFunctiongetRepoRoot
()
packages/schemas/scripts/generated-type-paths.ts:25
↓ 2 callersFunctiongetRequestBodyCompositionSelection
(wrapper: ReturnType<typeof mount>)
packages/api-reference/src/features/Operation/layouts/ClassicLayout.test.ts:149
↓ 2 callersFunctiongetReturnStatements
(node: Node)
packages/ts-to-openapi/src/responses.ts:36
↓ 2 callersFunctiongetSchemaFromNode
(node: Node, typeChecker: TypeChecker)
packages/ts-to-openapi/src/node.ts:33
↓ 2 callersFunctiongetSchemaFromTypeNode
( typeNode: TypeNode, program: Program, fileNameResolver: FileNameResolver, )
packages/ts-to-openapi/src/type-nodes.ts:34
↓ 2 callersFunctiongetScreenshotOptions
(page: Page)
packages/api-reference/test/snapshots/header.e2e.ts:51
↓ 2 callersFunctiongetScreenshotOptions
(...mask: Locator[])
packages/api-reference/test/snapshots/tag-groups.e2e.ts:15
↓ 2 callersFunctiongetSecuritySchemes
(document: UnknownObject)
packages/asyncapi-upgrader/src/2.6-to-3.0/upgrade-from-two-to-three.ts:116
↓ 2 callersFunctiongetSelectedIndex
()
packages/workspace-store/src/mutators/auth.ts:98
↓ 2 callersFunctiongetServerProtocols
(document: AsyncApiDocument)
packages/workspace-store/src/channel-example/get-async-api-protocols.ts:26
↓ 2 callersFunctiongetSignature
(bytes: Uint8Array, offset: number)
packages/void-server/src/utils/create-zip-file-response.test.ts:7
↓ 2 callersFunctiongetSortedTagEntries
({ _keys, tagsMap, options: { tagsSorter, operationsSorter, generateId }, documentId, sortOrder, }:
packages/workspace-store/src/navigation/helpers/traverse-tags.ts:79
↓ 2 callersFunctiongetSpecFilenameSlug
(spec: OpenAPI.Document)
integrations/fastify/src/fastifyApiReference.ts:130
↓ 2 callersFunctiongetStandaloneStyleState
(doc: Document)
packages/api-reference/src/standalone/lib/html-api.ts:36
↓ 2 callersFunctiongetSystemModePreference
()
projects/scalar-app/src/hooks/use-color-mode.ts:16
↓ 2 callersMethodgetTagSorter
()
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/internal/ScalarConfiguration.java:311
↓ 2 callersMethodgetTelemetry
()
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/internal/ScalarConfiguration.java:383
↓ 2 callersFunctiongetTypeComment
(schema: Schema)
packages/validation/src/typegen.ts:150
↓ 2 callersFunctiongetValues
(o)
packages/openapi-parser/src/utils/betterAjvErrors/utils.ts:5
↓ 2 callersFunctiongetVariablePositions
(url: string, variables: readonly string[])
packages/workspace-store/src/mutators/server.ts:90
↓ 2 callersFunctiongetWorkspaceRoot
()
packages/release-notes/src/core/detect-versioned-changelog-paths.ts:9
↓ 2 callersFunctiongetXOrder
(property: unknown)
packages/workspace-store/src/request-example/builder/helpers/get-example-from-schema.ts:373
↓ 2 callersFunctionguessFromFormat
( schema: SchemaObject, makeUpRandomData: boolean = false, fallback: string = '', )
packages/workspace-store/src/request-example/builder/helpers/get-example-from-schema.ts:76
↓ 2 callersFunctionhandleFailure
()
projects/scalar-app/src/features/app/hooks/use-document-watcher.ts:154
↓ 2 callersFunctionhandleReorderWithinParent
( store: WorkspaceStore, draggingItem: TraversedEntry & { parent?: TraversedEntry }, hoveredItem: Traver
projects/scalar-app/src/helpers/drag-handle-factory.ts:159
↓ 2 callersFunctionhandleSubmit
(event, form)
documentation/assets/enterprise-contact-form.js:64
↓ 2 callersFunctionhandleSuccess
()
projects/scalar-app/src/features/app/hooks/use-document-watcher.ts:146
↓ 2 callersFunctionhasArrayMarker
(name: string)
packages/api-client/src/v2/blocks/request-block/helpers/create-parameter-handlers.ts:24
↓ 2 callersFunctionhasComplexFeatures
(schema: SchemaObject)
packages/api-reference/src/components/Content/Schema/helpers/has-complex-array-items.ts:27
↓ 2 callersFunctionhasContentType
()
packages/snippetz/src/plugins/php/curl/curl.ts:57
↓ 2 callersFunctionhasHeader
(headers: Headers<T>, name: string)
packages/snippetz/src/httpsnippet-lite/helpers/headers.ts:22
↓ 2 callersFunctionhasLineBreak
* Checks if a node has a line break * * @param node - The node to check
packages/code-highlight/src/code/line-numbers.ts:108
↓ 2 callersFunctionhasNoResponseBodyStatusCode
(statusCode: string)
packages/postman-to-openapi/src/helpers/responses.ts:160
↓ 2 callersFunctionhasPostmanTemplateSyntax
(value: string)
packages/postman-to-openapi/src/helpers/urls.ts:57
↓ 2 callersFunctioninitBrandColorSwatches
()
documentation/assets/brand.js:2
↓ 2 callersFunctioninitEnterpriseContactForm
()
documentation/assets/enterprise-contact-form.js:1
↓ 2 callersFunctioninitializeToasts
(toastFunction: ToastFunction)
packages/use-toasts/src/hooks/useToasts.ts:14
↓ 2 callersFunctioninitializeWorkspaceEventHandlers
({ eventBus, store, hooks, }: { eventBus: WorkspaceEventBus store: Ref<WorkspaceStore | null> hook
packages/api-client/src/v2/workspace-events.ts:52
↓ 2 callersFunctioninjectHeader
(page: Page)
packages/api-reference/test/snapshots/header.e2e.ts:41
↓ 2 callersFunctionisBlockedHost
Check if a given hostname or IP resolves to any blocked CIDR
projects/proxy-scalar-com/main.go:48
↓ 2 callersFunctionisClient
(id: any)
packages/blocks/src/code-example/helpers/find-client.ts:20
↓ 2 callersFunctionisCompleteUrl
(value: string)
packages/postman-to-openapi/src/helpers/urls.ts:55
↓ 2 callersFunctionisDefined
(value: T | null | undefined)
packages/helpers/src/array/is-defined.ts:12
↓ 2 callersFunctionisElement
(node?: ElementContent)
packages/code-highlight/src/code/line-numbers.ts:11
↓ 2 callersFunctionisEmptyObject
(input: unknown)
packages/snippetz/src/plugins/clojure/clj_http/clj_http.ts:32
↓ 2 callersFunctionisExampleObject
* Checks if a value is a valid OpenAPI 3.x ExampleObject. * * An ExampleObject must have a `value` (or `externalValue`) property and can only contai
packages/openapi-upgrader/src/2.0-to-3.0/upgrade-from-two-to-three.ts:132
↓ 2 callersFunctionisFile
* Check if the data is a File instance
packages/void-server/src/utils/get-body.ts:97
↓ 2 callersFunctionisInFlight
()
packages/api-client/src/v2/blocks/channel-operation-block/helpers/websocket-session.ts:102
↓ 2 callersFunctionisJsonContentType
(value: string | undefined)
packages/snippetz/src/plugins/shell/wget/wget.ts:11
↓ 2 callersFunctionisJsonContentType
(value: string | undefined)
packages/snippetz/src/plugins/shell/curl/curl.ts:11
↓ 2 callersFunctionisMagicProxyObject
(obj: unknown)
packages/json-magic/src/magic-proxy/proxy.ts:301
↓ 2 callersFunctionisMediaTypeKey
(key: string)
packages/openapi-upgrader/src/2.0-to-3.0/upgrade-from-two-to-three.ts:161
↓ 2 callersMethodisMutableRecord
(value: unknown)
packages/openapi-parser/src/lib/Validator/Validator.ts:38
↓ 2 callersFunctionisObjectType
(schema: SchemaObject)
packages/api-reference/src/components/Content/Schema/helpers/has-complex-array-items.ts:11
↓ 2 callersFunctionisPortListening
(port: number)
tooling/scripts/src/commands/run.ts:10
↓ 2 callersFunctionisUnescapedQuote
(text: string, index: number)
projects/scalar-app/src/features/editor/helpers/json/json-pointer-links.ts:15
↓ 2 callersFunctionisValidBearerAuth
* Validate the shape of a `Bearer` credential. * * We only check that a non-empty token is present after the scheme. Verifying the * token itself (
packages/mock-server/src/utils/handle-authentication.ts:42
↓ 2 callersFunctionisValueOfType
(value: unknown, targetType: SchemaPrimitiveType)
packages/workspace-store/src/request-example/builder/helpers/get-example-from-schema.ts:230
↓ 2 callersFunctionisWhitespace
(node: any)
packages/code-highlight/src/rehype-alert/rehype-alert.ts:8
↓ 2 callersFunctionlabelParts
(value: string, explode: boolean)
packages/mock-server/src/utils/deserialize-parameter.ts:166
↓ 2 callersFunctionlatestVersion
(packageName: string, current: string)
tooling/scripts/src/helpers/npm-version.ts:5
↓ 2 callersFunctionlaunchElectronApp
()
projects/scalar-app/test/electron.e2e.ts:73
↓ 2 callersFunctionload
(data)
packages/workspace-store/src/entities/auth/index.ts:201
↓ 2 callersFunctionloadCssVariables
(css: string)
packages/helpers/src/theme/load-css-variables.ts:121
↓ 2 callersFunctionloadWorkspace
Load the pnpm workspace file
tooling/scripts/src/commands/packages/catalog.ts:71
↓ 2 callersFunctionmakeHistory
(count = 3)
packages/api-client/src/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.test.ts:6
↓ 2 callersFunctionmakeSendBlurEvent
()
packages/api-client/src/v2/blocks/scalar-address-bar-block/components/AddressBar.test.ts:66
↓ 2 callersFunctionmakeWebhookEntry
(overrides: Partial<WithParent<TraversedWebhook>> = {})
packages/workspace-store/src/navigation/helpers/update-order-ids.test.ts:54
↓ 2 callersFunctionmapErrors
(errors: ErrorObject[] | null | undefined, location: ViolationLocation)
packages/mock-server/src/utils/validate-request.ts:254
← previousnext →1,701–1,800 of 4,087, ranked by callers