@scalar/workspace-store 0.69.3 → 0.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +58 -0
- package/dist/channel-example/build-connection-url.d.ts +2 -2
- package/dist/channel-example/build-connection-url.d.ts.map +1 -1
- package/dist/channel-example/dedupe-requirements.d.ts.map +1 -1
- package/dist/channel-example/get-all-channel-messages.d.ts.map +1 -1
- package/dist/channel-example/get-async-api-protocols.d.ts +1 -1
- package/dist/channel-example/get-async-api-protocols.d.ts.map +1 -1
- package/dist/channel-example/get-asyncapi-security-requirements.d.ts.map +1 -1
- package/dist/channel-example/get-channel-connection-context.d.ts.map +1 -1
- package/dist/channel-example/get-channel-connection-security.d.ts.map +1 -1
- package/dist/channel-example/get-channel-operations.d.ts.map +1 -1
- package/dist/channel-example/get-channel-parameters.d.ts +1 -1
- package/dist/channel-example/get-channel-parameters.d.ts.map +1 -1
- package/dist/channel-example/resolve-channel.d.ts.map +1 -1
- package/dist/channel-example/resolve-operation-channel.d.ts.map +1 -1
- package/dist/channel-example/resolve-operation-with-traits.d.ts.map +1 -1
- package/dist/channel-example/servers.d.ts.map +1 -1
- package/dist/client.d.ts +13 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +43 -5
- package/dist/entities/auth/index.d.ts.map +1 -1
- package/dist/entities/auth/schema.d.ts +155 -5
- package/dist/entities/auth/schema.d.ts.map +1 -1
- package/dist/entities/history/index.d.ts.map +1 -1
- package/dist/events/bus.d.ts.map +1 -1
- package/dist/events/definitions/operation.d.ts +9 -1
- package/dist/events/definitions/operation.d.ts.map +1 -1
- package/dist/helpers/asyncapi-chunk-groups.d.ts.map +1 -1
- package/dist/helpers/asyncapi-model-chunk-reference.d.ts.map +1 -1
- package/dist/helpers/auth-secret-fields.d.ts.map +1 -1
- package/dist/helpers/chunk-index.d.ts +2 -2
- package/dist/helpers/chunk-index.d.ts.map +1 -1
- package/dist/helpers/chunk-index.js +11 -7
- package/dist/helpers/create-chunk-writer.d.ts.map +1 -1
- package/dist/helpers/deep-clone.d.ts.map +1 -1
- package/dist/helpers/detect-changes-proxy.d.ts.map +1 -1
- package/dist/helpers/document-revision.d.ts.map +1 -1
- package/dist/helpers/dynamic-ref.d.ts.map +1 -1
- package/dist/helpers/encode-chunk-name.d.ts.map +1 -1
- package/dist/helpers/encode-path-parameter.d.ts +1 -1
- package/dist/helpers/encode-path-parameter.d.ts.map +1 -1
- package/dist/helpers/external-examples.d.ts.map +1 -1
- package/dist/helpers/for-each-path-item-operation.d.ts.map +1 -1
- package/dist/helpers/general.d.ts.map +1 -1
- package/dist/helpers/get-async-api-schema-view.d.ts.map +1 -1
- package/dist/helpers/get-boolean-schema.d.ts.map +1 -1
- package/dist/helpers/get-example-value.d.ts.map +1 -1
- package/dist/helpers/get-fetch.d.ts +1 -1
- package/dist/helpers/get-fetch.d.ts.map +1 -1
- package/dist/helpers/get-first-server.d.ts.map +1 -1
- package/dist/helpers/get-name-from-ref.d.ts.map +1 -1
- package/dist/helpers/get-parameter-example.d.ts.map +1 -1
- package/dist/helpers/get-path-entries.d.ts +3 -0
- package/dist/helpers/get-path-entries.d.ts.map +1 -0
- package/dist/helpers/get-path-entries.js +2 -0
- package/dist/helpers/get-resolved-async-api-ref.d.ts +1 -1
- package/dist/helpers/get-resolved-async-api-ref.d.ts.map +1 -1
- package/dist/helpers/get-resolved-ref-deep.d.ts.map +1 -1
- package/dist/helpers/get-resolved-ref.d.ts.map +1 -1
- package/dist/helpers/get-tag-kind.d.ts +1 -1
- package/dist/helpers/get-tag-kind.d.ts.map +1 -1
- package/dist/helpers/is-file-schema.d.ts +4 -0
- package/dist/helpers/is-file-schema.d.ts.map +1 -0
- package/dist/helpers/is-file-schema.js +53 -0
- package/dist/helpers/is-hidden.d.ts.map +1 -1
- package/dist/helpers/is-non-optional-security-requirement.d.ts.map +1 -1
- package/dist/helpers/merge-object.d.ts.map +1 -1
- package/dist/helpers/normalize-boolean-schemas.d.ts.map +1 -1
- package/dist/helpers/operation-examples.d.ts.map +1 -1
- package/dist/helpers/overrides-proxy.d.ts.map +1 -1
- package/dist/helpers/querystring-parameter.d.ts.map +1 -1
- package/dist/helpers/resolve-async-api-schema.d.ts.map +1 -1
- package/dist/helpers/resolve-form-schema.d.ts +1 -1
- package/dist/helpers/resolve-form-schema.d.ts.map +1 -1
- package/dist/helpers/resolve-form-schema.js +13 -3
- package/dist/helpers/resolve-schema-with-annotations.d.ts.map +1 -1
- package/dist/helpers/resolve-security-requirements.d.ts.map +1 -1
- package/dist/helpers/resolve-traits.d.ts.map +1 -1
- package/dist/helpers/serialize-stream-example.d.ts.map +1 -1
- package/dist/helpers/snapshot-request-bodies.d.ts +7 -0
- package/dist/helpers/snapshot-request-bodies.d.ts.map +1 -0
- package/dist/helpers/snapshot-request-bodies.js +45 -0
- package/dist/helpers/snapshot-schema.d.ts.map +1 -1
- package/dist/helpers/unpack-proxy.d.ts.map +1 -1
- package/dist/helpers/use-external-examples.d.ts.map +1 -1
- package/dist/mutators/auth.d.ts +18 -18
- package/dist/mutators/auth.d.ts.map +1 -1
- package/dist/mutators/auth.js +3 -2
- package/dist/mutators/cookie.d.ts +7 -4
- package/dist/mutators/cookie.d.ts.map +1 -1
- package/dist/mutators/document.d.ts +10 -10
- package/dist/mutators/document.d.ts.map +1 -1
- package/dist/mutators/environment.d.ts +16 -8
- package/dist/mutators/environment.d.ts.map +1 -1
- package/dist/mutators/helpers.d.ts.map +1 -1
- package/dist/mutators/index.d.ts +123 -121
- package/dist/mutators/index.d.ts.map +1 -1
- package/dist/mutators/operation/body.d.ts +3 -3
- package/dist/mutators/operation/body.d.ts.map +1 -1
- package/dist/mutators/operation/extensions.d.ts +1 -1
- package/dist/mutators/operation/extensions.d.ts.map +1 -1
- package/dist/mutators/operation/helpers/fetch-request-to-har.d.ts.map +1 -1
- package/dist/mutators/operation/helpers/fetch-response-to-har.d.ts.map +1 -1
- package/dist/mutators/operation/helpers/fetch-response-to-har.js +9 -5
- package/dist/mutators/operation/helpers/get-parameter-position.d.ts.map +1 -1
- package/dist/mutators/operation/helpers/har-to-operation.d.ts.map +1 -1
- package/dist/mutators/operation/helpers/sync-path-parameters.d.ts.map +1 -1
- package/dist/mutators/operation/history.d.ts +2 -2
- package/dist/mutators/operation/history.d.ts.map +1 -1
- package/dist/mutators/operation/index.d.ts +18 -17
- package/dist/mutators/operation/index.d.ts.map +1 -1
- package/dist/mutators/operation/index.js +2 -0
- package/dist/mutators/operation/operation.d.ts +7 -7
- package/dist/mutators/operation/operation.d.ts.map +1 -1
- package/dist/mutators/operation/parameters.d.ts +4 -4
- package/dist/mutators/operation/parameters.d.ts.map +1 -1
- package/dist/mutators/operation/reset-request-body.d.ts +5 -0
- package/dist/mutators/operation/reset-request-body.d.ts.map +1 -0
- package/dist/mutators/operation/reset-request-body.js +123 -0
- package/dist/mutators/server.d.ts +18 -18
- package/dist/mutators/server.d.ts.map +1 -1
- package/dist/mutators/tabs.d.ts +16 -16
- package/dist/mutators/tabs.d.ts.map +1 -1
- package/dist/mutators/tag.d.ts +6 -6
- package/dist/mutators/tag.d.ts.map +1 -1
- package/dist/mutators/tag.js +2 -1
- package/dist/mutators/workspace.d.ts +12 -12
- package/dist/mutators/workspace.d.ts.map +1 -1
- package/dist/navigation/get-navigation-options.d.ts.map +1 -1
- package/dist/navigation/helpers/get-navigation-tag-names.d.ts.map +1 -1
- package/dist/navigation/helpers/get-openapi-object.d.ts.map +1 -1
- package/dist/navigation/helpers/get-operation-entries.d.ts.map +1 -1
- package/dist/navigation/helpers/get-parent-entry.d.ts +1 -1
- package/dist/navigation/helpers/get-parent-entry.d.ts.map +1 -1
- package/dist/navigation/helpers/get-tag-entries.d.ts.map +1 -1
- package/dist/navigation/helpers/get-tag-external-docs.d.ts.map +1 -1
- package/dist/navigation/helpers/get-tag.d.ts +1 -1
- package/dist/navigation/helpers/get-tag.d.ts.map +1 -1
- package/dist/navigation/helpers/get-x-keys.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-asyncapi-document.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-description.d.ts +1 -1
- package/dist/navigation/helpers/traverse-description.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-document.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-examples.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-paths.d.ts +1 -1
- package/dist/navigation/helpers/traverse-paths.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-paths.js +2 -1
- package/dist/navigation/helpers/traverse-schemas.d.ts +1 -1
- package/dist/navigation/helpers/traverse-schemas.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-tags.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-webhooks.d.ts +1 -1
- package/dist/navigation/helpers/traverse-webhooks.d.ts.map +1 -1
- package/dist/navigation/helpers/update-order-ids.d.ts.map +1 -1
- package/dist/navigation/helpers/utils.d.ts.map +1 -1
- package/dist/persistence/index.d.ts +6 -6
- package/dist/persistence/index.d.ts.map +1 -1
- package/dist/persistence/indexdb.d.ts.map +1 -1
- package/dist/persistence/migrations/v2-team-to-local.d.ts.map +1 -1
- package/dist/plugins/bundler/helpers.d.ts.map +1 -1
- package/dist/plugins/bundler/index.d.ts.map +1 -1
- package/dist/plugins/bundler/index.js +1 -1
- package/dist/plugins/client/persistence.d.ts.map +1 -1
- package/dist/request-example/builder/body/build-multipart.d.ts +2 -2
- package/dist/request-example/builder/body/build-multipart.d.ts.map +1 -1
- package/dist/request-example/builder/body/build-request-body.d.ts.map +1 -1
- package/dist/request-example/builder/body/encode-multipart-body.d.ts.map +1 -1
- package/dist/request-example/builder/body/get-request-body-example.d.ts.map +1 -1
- package/dist/request-example/builder/body/get-selected-body-content-type.d.ts.map +1 -1
- package/dist/request-example/builder/body/schema-value-coercion.d.ts.map +1 -1
- package/dist/request-example/builder/body/serialize-form-property.d.ts.map +1 -1
- package/dist/request-example/builder/body/serialize-multipart-array.d.ts.map +1 -1
- package/dist/request-example/builder/build-request.d.ts +1 -1
- package/dist/request-example/builder/build-request.d.ts.map +1 -1
- package/dist/request-example/builder/header/build-request-cookie-header.d.ts.map +1 -1
- package/dist/request-example/builder/header/build-request-parameters.d.ts.map +1 -1
- package/dist/request-example/builder/header/de-serialize-parameter.d.ts +1 -1
- package/dist/request-example/builder/header/de-serialize-parameter.d.ts.map +1 -1
- package/dist/request-example/builder/header/filter-disabled-properties.d.ts.map +1 -1
- package/dist/request-example/builder/header/filter-global-cookies.d.ts.map +1 -1
- package/dist/request-example/builder/header/is-param-disabled.d.ts.map +1 -1
- package/dist/request-example/builder/header/matches-domain.d.ts.map +1 -1
- package/dist/request-example/builder/header/serialize-parameter.d.ts.map +1 -1
- package/dist/request-example/builder/helpers/apply-allow-reserved-to-url.d.ts.map +1 -1
- package/dist/request-example/builder/helpers/get-environment-variables.d.ts.map +1 -1
- package/dist/request-example/builder/helpers/get-example-from-schema.d.ts +9 -10
- package/dist/request-example/builder/helpers/get-example-from-schema.d.ts.map +1 -1
- package/dist/request-example/builder/helpers/get-example-from-schema.js +578 -107
- package/dist/request-example/builder/helpers/get-example.d.ts.map +1 -1
- package/dist/request-example/builder/helpers/get-resolved-url.d.ts.map +1 -1
- package/dist/request-example/builder/helpers/get-server-variables.d.ts.map +1 -1
- package/dist/request-example/builder/request-factory.d.ts.map +1 -1
- package/dist/request-example/builder/resolve-request-factory-url.d.ts +2 -2
- package/dist/request-example/builder/resolve-request-factory-url.d.ts.map +1 -1
- package/dist/request-example/builder/security/broker-scheme-types.d.ts +2 -2
- package/dist/request-example/builder/security/broker-scheme-types.d.ts.map +1 -1
- package/dist/request-example/builder/security/build-request-security.d.ts.map +1 -1
- package/dist/request-example/builder/security/secret-types.d.ts +4 -0
- package/dist/request-example/builder/security/secret-types.d.ts.map +1 -1
- package/dist/request-example/context/environment.d.ts.map +1 -1
- package/dist/request-example/context/get-request-example-context.d.ts.map +1 -1
- package/dist/request-example/context/headers.d.ts.map +1 -1
- package/dist/request-example/context/helpers/combine-params.d.ts +1 -1
- package/dist/request-example/context/helpers/combine-params.d.ts.map +1 -1
- package/dist/request-example/context/proxy.d.ts +1 -1
- package/dist/request-example/context/proxy.d.ts.map +1 -1
- package/dist/request-example/context/security/extract-security-scheme-secrets.d.ts +5 -1
- package/dist/request-example/context/security/extract-security-scheme-secrets.d.ts.map +1 -1
- package/dist/request-example/context/security/extract-security-scheme-secrets.js +26 -6
- package/dist/request-example/context/security/get-security-requirements.d.ts +1 -1
- package/dist/request-example/context/security/get-security-requirements.d.ts.map +1 -1
- package/dist/request-example/context/security/get-security-schemes.d.ts.map +1 -1
- package/dist/request-example/context/security/get-selected-security.d.ts +1 -1
- package/dist/request-example/context/security/get-selected-security.d.ts.map +1 -1
- package/dist/request-example/context/security/get-selected-security.js +3 -3
- package/dist/request-example/context/security/is-auth-optional.d.ts +1 -1
- package/dist/request-example/context/security/is-auth-optional.d.ts.map +1 -1
- package/dist/request-example/context/security/merge-security.d.ts +1 -1
- package/dist/request-example/context/security/merge-security.d.ts.map +1 -1
- package/dist/request-example/context/security/resolve-credential-placeholders.d.ts +13 -0
- package/dist/request-example/context/security/resolve-credential-placeholders.d.ts.map +1 -0
- package/dist/request-example/context/security/resolve-credential-placeholders.js +73 -0
- package/dist/request-example/context/security/uses-api-key-name-override.d.ts.map +1 -1
- package/dist/request-example/context/servers.d.ts.map +1 -1
- package/dist/request-example/functions.d.ts +1 -1
- package/dist/request-example/functions.d.ts.map +1 -1
- package/dist/request-example/index.d.ts +3 -1
- package/dist/request-example/index.d.ts.map +1 -1
- package/dist/request-example/index.js +3 -1
- package/dist/request-example/xml/get-xml-body-example.d.ts.map +1 -1
- package/dist/request-example/xml/get-xml-example.d.ts.map +1 -1
- package/dist/request-example/xml/get-xml-example.js +2 -6
- package/dist/request-example/xml/match-xml-property-pattern.d.ts.map +1 -1
- package/dist/request-example/xml/serialize-xml-part.d.ts.map +1 -1
- package/dist/request-example/xml/write-xml.d.ts.map +1 -1
- package/dist/resolve.d.ts.map +1 -1
- package/dist/schemas/compose.d.ts.map +1 -1
- package/dist/schemas/extensions/document/x-scalar-sdk-installation.d.ts +4 -0
- package/dist/schemas/extensions/document/x-scalar-sdk-installation.d.ts.map +1 -1
- package/dist/schemas/extensions/document/x-scalar-sdk-installation.js +2 -0
- package/dist/schemas/extensions/operation/x-code-samples.d.ts +11 -0
- package/dist/schemas/extensions/operation/x-code-samples.d.ts.map +1 -1
- package/dist/schemas/extensions/operation/x-code-samples.js +2 -0
- package/dist/schemas/extensions/operation/x-scalar-stability.d.ts +3 -3
- package/dist/schemas/extensions/operation/x-scalar-stability.d.ts.map +1 -1
- package/dist/schemas/extensions/security/x-scalar-credential-placeholders.d.ts +24 -0
- package/dist/schemas/extensions/security/x-scalar-credential-placeholders.d.ts.map +1 -0
- package/dist/schemas/extensions/security/x-scalar-credential-placeholders.js +17 -0
- package/dist/schemas/extensions.d.ts +8 -8
- package/dist/schemas/extensions.d.ts.map +1 -1
- package/dist/schemas/inmemory-workspace.d.ts +3 -0
- package/dist/schemas/inmemory-workspace.d.ts.map +1 -1
- package/dist/schemas/reference-config/index.d.ts +32 -2
- package/dist/schemas/reference-config/index.d.ts.map +1 -1
- package/dist/schemas/reference-config/settings.d.ts +31 -1
- package/dist/schemas/reference-config/settings.d.ts.map +1 -1
- package/dist/schemas/type-guards.d.ts +2 -2
- package/dist/schemas/type-guards.d.ts.map +1 -1
- package/dist/schemas/typebox-coerce.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/info.d.ts +1 -0
- package/dist/schemas/v3.1/strict/info.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/openapi-document.d.ts +1050 -0
- package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/operation.d.ts +4 -0
- package/dist/schemas/v3.1/strict/operation.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/ref-definitions.d.ts +38 -38
- package/dist/schemas/v3.1/strict/ref-definitions.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/reference.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/security-scheme.d.ts +27 -1
- package/dist/schemas/v3.1/strict/security-scheme.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/security-scheme.js +2 -1
- package/dist/schemas/v3.1/strict/type-guards.d.ts +4 -4
- package/dist/schemas/v3.1/strict/type-guards.d.ts.map +1 -1
- package/dist/schemas/v3.2/openapi/index.d.ts +2 -1
- package/dist/schemas/v3.2/openapi/index.d.ts.map +1 -1
- package/dist/schemas/v3.2/openapi/index.js +9 -3
- package/dist/schemas/v3.2/openapi/reference.d.ts.map +1 -1
- package/dist/schemas/v3.2/strict/info.d.ts +1 -0
- package/dist/schemas/v3.2/strict/info.d.ts.map +1 -1
- package/dist/schemas/v3.2/strict/openapi-document.d.ts +1085 -35
- package/dist/schemas/v3.2/strict/openapi-document.d.ts.map +1 -1
- package/dist/schemas/v3.2/strict/operation.d.ts +4 -0
- package/dist/schemas/v3.2/strict/operation.d.ts.map +1 -1
- package/dist/schemas/v3.2/strict/paths.d.ts +1 -1
- package/dist/schemas/v3.2/strict/paths.d.ts.map +1 -1
- package/dist/schemas/v3.2/strict/paths.js +4 -2
- package/dist/schemas/v3.2/strict/ref-definitions.d.ts +38 -38
- package/dist/schemas/v3.2/strict/ref-definitions.d.ts.map +1 -1
- package/dist/schemas/v3.2/strict/reference.d.ts.map +1 -1
- package/dist/schemas/v3.2/strict/security-scheme.d.ts +27 -1
- package/dist/schemas/v3.2/strict/security-scheme.d.ts.map +1 -1
- package/dist/schemas/v3.2/strict/security-scheme.js +2 -1
- package/dist/schemas/v3.2/strict/type-guards.d.ts +4 -4
- package/dist/schemas/v3.2/strict/type-guards.d.ts.map +1 -1
- package/dist/schemas/workspace-specification/index.d.ts +1 -1
- package/dist/schemas/workspace.d.ts +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +4 -0
- package/package.json +10 -9
|
@@ -269,7 +269,7 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
269
269
|
'$ref-value': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ParameterObject">>;
|
|
270
270
|
}>]>]>>>;
|
|
271
271
|
}>;
|
|
272
|
-
PathsObject: import("@scalar/typebox").TRecord<import("@scalar/typebox").
|
|
272
|
+
PathsObject: import("@scalar/typebox").TRecord<import("@scalar/typebox").TRegExp, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"PathItemObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
273
273
|
$ref: import("@scalar/typebox").TString;
|
|
274
274
|
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
275
275
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
@@ -333,6 +333,7 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
333
333
|
'x-codeSamples': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
|
|
334
334
|
lang: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
335
335
|
label: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
336
|
+
group: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
336
337
|
source: import("@scalar/typebox").TString;
|
|
337
338
|
example: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
338
339
|
contentType: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
@@ -340,6 +341,7 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
340
341
|
'x-code-samples': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
|
|
341
342
|
lang: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
342
343
|
label: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
344
|
+
group: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
343
345
|
source: import("@scalar/typebox").TString;
|
|
344
346
|
example: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
345
347
|
contentType: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
@@ -347,6 +349,7 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
347
349
|
'x-custom-examples': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
|
|
348
350
|
lang: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
349
351
|
label: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
352
|
+
group: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
350
353
|
source: import("@scalar/typebox").TString;
|
|
351
354
|
example: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
352
355
|
contentType: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
@@ -374,6 +377,7 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
374
377
|
'x-scalar-examples': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
|
|
375
378
|
lang: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
376
379
|
label: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
380
|
+
group: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
377
381
|
source: import("@scalar/typebox").TString;
|
|
378
382
|
example: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
379
383
|
contentType: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
@@ -1318,6 +1322,7 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
1318
1322
|
}>, import("@scalar/typebox").TObject<{
|
|
1319
1323
|
'x-scalar-sdk-installation': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
|
|
1320
1324
|
lang: import("@scalar/typebox").TString;
|
|
1325
|
+
label: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1321
1326
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1322
1327
|
source: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1323
1328
|
}>>>;
|
|
@@ -1471,6 +1476,11 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
1471
1476
|
deprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1472
1477
|
}>, import("@scalar/typebox").TObject<{
|
|
1473
1478
|
'x-scalar-ignore': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1479
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1480
|
+
'x-scalar-credential-placeholders': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
|
|
1481
|
+
field: import("@scalar/typebox").TLiteral<"clientId" | "clientSecret" | "password" | "token" | "username">;
|
|
1482
|
+
mask: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1483
|
+
}>>>;
|
|
1474
1484
|
}>]>, import("@scalar/typebox").TObject<{
|
|
1475
1485
|
type: import("@scalar/typebox").TLiteral<"apiKey">;
|
|
1476
1486
|
name: import("@scalar/typebox").TString;
|
|
@@ -1480,6 +1490,11 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
1480
1490
|
deprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1481
1491
|
}>, import("@scalar/typebox").TObject<{
|
|
1482
1492
|
'x-scalar-ignore': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1493
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1494
|
+
'x-scalar-credential-placeholders': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
|
|
1495
|
+
field: import("@scalar/typebox").TLiteral<"clientId" | "clientSecret" | "password" | "token" | "username">;
|
|
1496
|
+
mask: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1497
|
+
}>>>;
|
|
1483
1498
|
}>]>, import("@scalar/typebox").TObject<{
|
|
1484
1499
|
type: import("@scalar/typebox").TLiteral<"http">;
|
|
1485
1500
|
scheme: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"basic">, import("@scalar/typebox").TLiteral<"bearer">]>;
|
|
@@ -1489,6 +1504,11 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
1489
1504
|
deprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1490
1505
|
}>, import("@scalar/typebox").TObject<{
|
|
1491
1506
|
'x-scalar-ignore': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1507
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1508
|
+
'x-scalar-credential-placeholders': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
|
|
1509
|
+
field: import("@scalar/typebox").TLiteral<"clientId" | "clientSecret" | "password" | "token" | "username">;
|
|
1510
|
+
mask: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1511
|
+
}>>>;
|
|
1492
1512
|
}>]>, import("@scalar/typebox").TObject<{
|
|
1493
1513
|
type: import("@scalar/typebox").TLiteral<"mutualTLS">;
|
|
1494
1514
|
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
@@ -1496,6 +1516,11 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
1496
1516
|
deprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1497
1517
|
}>, import("@scalar/typebox").TObject<{
|
|
1498
1518
|
'x-scalar-ignore': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1519
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1520
|
+
'x-scalar-credential-placeholders': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
|
|
1521
|
+
field: import("@scalar/typebox").TLiteral<"clientId" | "clientSecret" | "password" | "token" | "username">;
|
|
1522
|
+
mask: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1523
|
+
}>>>;
|
|
1499
1524
|
}>]>, import("@scalar/typebox").TObject<{
|
|
1500
1525
|
type: import("@scalar/typebox").TLiteral<"oauth2">;
|
|
1501
1526
|
flows: import("@scalar/typebox").TRef<"OAuthFlowsObject">;
|
|
@@ -1507,6 +1532,11 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
1507
1532
|
deprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1508
1533
|
}>, import("@scalar/typebox").TObject<{
|
|
1509
1534
|
'x-scalar-ignore': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1535
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1536
|
+
'x-scalar-credential-placeholders': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
|
|
1537
|
+
field: import("@scalar/typebox").TLiteral<"clientId" | "clientSecret" | "password" | "token" | "username">;
|
|
1538
|
+
mask: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1539
|
+
}>>>;
|
|
1510
1540
|
}>]>, import("@scalar/typebox").TObject<{
|
|
1511
1541
|
type: import("@scalar/typebox").TLiteral<"openIdConnect">;
|
|
1512
1542
|
openIdConnectUrl: import("@scalar/typebox").TString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/settings.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW1B,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;IACxB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,YAAY,CAAC,QAAQ,CAKlD,CAAA"}
|
|
@@ -20,12 +20,12 @@ export declare const isAsyncApiDocument: (value: unknown) => value is AsyncApiDo
|
|
|
20
20
|
* Returns `'openapi'` or `'asyncapi'` when the value matches one of the known
|
|
21
21
|
* document shapes, or `undefined` when it matches neither.
|
|
22
22
|
*/
|
|
23
|
-
export declare const getDocumentType: (value: unknown) =>
|
|
23
|
+
export declare const getDocumentType: (value: unknown) => 'openapi' | 'asyncapi' | undefined;
|
|
24
24
|
/**
|
|
25
25
|
* Human-readable label for a document type, e.g. for badges and warnings.
|
|
26
26
|
*
|
|
27
27
|
* Defaults to `'OpenAPI'` when the type is unknown, matching the OpenAPI-native surfaces that
|
|
28
28
|
* only distinguish AsyncAPI as the exception.
|
|
29
29
|
*/
|
|
30
|
-
export declare const getDocumentTypeLabel: (documentType:
|
|
30
|
+
export declare const getDocumentTypeLabel: (documentType: 'openapi' | 'asyncapi' | undefined) => string;
|
|
31
31
|
//# sourceMappingURL=type-guards.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type-guards.d.ts","sourceRoot":"","sources":["../../src/schemas/type-guards.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAElE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAErE;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"type-guards.d.ts","sourceRoot":"","sources":["../../src/schemas/type-guards.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAElE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAErE;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,UAAW,OAAO,KAAG,KAAK,IAAI,eACgB,CAAA;AAE5E;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,UAAW,OAAO,KAAG,KAAK,IAAI,gBACiB,CAAA;AAE9E;;;;;GAKG;AACH,eAAO,MAAM,eAAe,UAAW,OAAO,KAAG,SAAS,GAAG,UAAU,GAAG,SAUzE,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,iBAAkB,SAAS,GAAG,UAAU,GAAG,SAAS,KAAG,MAClC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typebox-coerce.d.ts","sourceRoot":"","sources":["../../src/schemas/typebox-coerce.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAG9C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,OAAO,
|
|
1
|
+
{"version":3,"file":"typebox-coerce.d.ts","sourceRoot":"","sources":["../../src/schemas/typebox-coerce.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAG9C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,OAAO,UAAU,CAAC,SAAS,OAAO;;YAA8B,CAAA"}
|
|
@@ -23,6 +23,7 @@ export declare const InfoObjectSchemaDefinition: import("@scalar/typebox").TInte
|
|
|
23
23
|
}>, import("@scalar/typebox").TObject<{
|
|
24
24
|
'x-scalar-sdk-installation': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
|
|
25
25
|
lang: import("@scalar/typebox").TString;
|
|
26
|
+
label: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
26
27
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
27
28
|
source: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
28
29
|
}>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"info.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/info.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAsB,MAAM,8CAA8C,CAAA;AACpG,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,yDAAyD,CAAA;AAEhE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAG9C;;GAEG;AACH,eAAO,MAAM,0BAA0B;IAEnC,sCAAsC;;IAEtC,oMAAoM;;IAEpM,kCAAkC;;IAElC,4FAA4F;;IAE5F,qFAAqF;;IAErF,mDAAmD;;IAEnD,mDAAmD
|
|
1
|
+
{"version":3,"file":"info.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/info.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAsB,MAAM,8CAA8C,CAAA;AACpG,OAAO,EACL,KAAK,sBAAsB,EAE5B,MAAM,yDAAyD,CAAA;AAEhE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAG9C;;GAEG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