@scalar/workspace-store 0.14.2 → 0.15.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 +28 -0
- package/dist/client.d.ts +24 -4
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +58 -52
- package/dist/client.js.map +2 -2
- package/dist/events/definitions.d.ts +155 -0
- package/dist/events/definitions.d.ts.map +1 -0
- package/dist/events/definitions.js +13 -0
- package/dist/events/definitions.js.map +7 -0
- package/dist/events/index.d.ts +3 -0
- package/dist/events/index.d.ts.map +1 -0
- package/dist/events/index.js +7 -0
- package/dist/events/index.js.map +7 -0
- package/dist/events/listeners.d.ts +8 -0
- package/dist/events/listeners.d.ts.map +1 -0
- package/dist/events/listeners.js +23 -0
- package/dist/events/listeners.js.map +7 -0
- package/dist/helpers/apply-selective-updates.d.ts +1 -1
- package/dist/helpers/apply-selective-updates.d.ts.map +1 -1
- package/dist/helpers/apply-selective-updates.js +1 -1
- package/dist/helpers/apply-selective-updates.js.map +2 -2
- package/dist/helpers/deep-clone.d.ts.map +1 -1
- package/dist/helpers/general.d.ts.map +1 -1
- package/dist/helpers/get-resolved-ref.d.ts.map +1 -1
- package/dist/helpers/merge-object.d.ts.map +1 -1
- package/dist/helpers/merge-object.js.map +2 -2
- package/dist/helpers/overrides-proxy.d.ts.map +1 -1
- package/dist/helpers/overrides-proxy.js.map +2 -2
- package/dist/mutators/cookie.d.ts.map +1 -1
- package/dist/mutators/environment.d.ts +1 -1
- package/dist/mutators/environment.d.ts.map +1 -1
- package/dist/mutators/environment.js.map +1 -1
- package/dist/mutators/helpers.d.ts.map +1 -1
- package/dist/mutators/index.d.ts +9 -9
- package/dist/mutators/request-example.d.ts.map +1 -1
- package/dist/mutators/request.d.ts +1 -1
- package/dist/mutators/request.d.ts.map +1 -1
- package/dist/mutators/request.js.map +2 -2
- package/dist/mutators/security-schemes.d.ts +1 -2
- package/dist/mutators/security-schemes.d.ts.map +1 -1
- package/dist/mutators/security-schemes.js.map +2 -2
- package/dist/mutators/server.d.ts +2 -2
- package/dist/mutators/server.d.ts.map +1 -1
- package/dist/mutators/server.js +4 -2
- package/dist/mutators/server.js.map +2 -2
- package/dist/navigation/helpers/get-tag.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-description.d.ts +3 -1
- package/dist/navigation/helpers/traverse-description.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-document.d.ts +30 -30
- package/dist/navigation/helpers/traverse-document.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-document.js.map +2 -2
- package/dist/navigation/helpers/traverse-paths.d.ts +5 -1
- package/dist/navigation/helpers/traverse-paths.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-paths.js +3 -3
- package/dist/navigation/helpers/traverse-paths.js.map +2 -2
- package/dist/navigation/helpers/traverse-schemas.d.ts +5 -1
- package/dist/navigation/helpers/traverse-schemas.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-schemas.js +1 -1
- package/dist/navigation/helpers/traverse-schemas.js.map +2 -2
- package/dist/navigation/helpers/traverse-tags.d.ts +6 -2
- package/dist/navigation/helpers/traverse-tags.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-tags.js.map +2 -2
- package/dist/navigation/helpers/traverse-webhooks.d.ts +6 -2
- package/dist/navigation/helpers/traverse-webhooks.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-webhooks.js +2 -2
- package/dist/navigation/helpers/traverse-webhooks.js.map +2 -2
- package/dist/navigation/helpers/utils.d.ts.map +1 -1
- package/dist/navigation/helpers/utils.js.map +2 -2
- package/dist/navigation/index.d.ts +1 -1
- package/dist/navigation/index.d.ts.map +1 -1
- package/dist/navigation/index.js.map +2 -2
- package/dist/navigation/types.d.ts +1 -2
- package/dist/navigation/types.d.ts.map +1 -1
- package/dist/plugins.d.ts +5 -37
- package/dist/plugins.d.ts.map +1 -1
- package/dist/plugins.js +0 -21
- package/dist/plugins.js.map +2 -2
- package/dist/preprocessing/server.d.ts +23 -0
- package/dist/preprocessing/server.d.ts.map +1 -0
- package/dist/preprocessing/server.js +84 -0
- package/dist/preprocessing/server.js.map +7 -0
- package/dist/schemas/compose.d.ts +1 -1
- package/dist/schemas/compose.d.ts.map +1 -1
- package/dist/schemas/compose.js +1 -1
- package/dist/schemas/compose.js.map +2 -2
- package/dist/schemas/extensions/document/x-internal.d.ts +2 -2
- package/dist/schemas/extensions/document/x-internal.js +1 -1
- package/dist/schemas/extensions/document/x-internal.js.map +1 -1
- package/dist/schemas/extensions/document/x-scalar-icon.d.ts +2 -2
- package/dist/schemas/extensions/document/x-scalar-icon.js +1 -1
- package/dist/schemas/extensions/document/x-scalar-icon.js.map +1 -1
- package/dist/schemas/extensions/document/x-scalar-ignore.d.ts +2 -2
- package/dist/schemas/extensions/document/x-scalar-ignore.js +1 -1
- package/dist/schemas/extensions/document/x-scalar-ignore.js.map +1 -1
- package/dist/schemas/extensions/document/x-scalar-sdk-installation.d.ts +7 -5
- package/dist/schemas/extensions/document/x-scalar-sdk-installation.d.ts.map +1 -1
- package/dist/schemas/extensions/document/x-scalar-sdk-installation.js +1 -1
- package/dist/schemas/extensions/document/x-scalar-sdk-installation.js.map +2 -2
- package/dist/schemas/extensions/document/x-tags.d.ts +4 -0
- package/dist/schemas/extensions/document/x-tags.d.ts.map +1 -0
- package/dist/schemas/extensions/document/x-tags.js +8 -0
- package/dist/schemas/extensions/document/x-tags.js.map +7 -0
- package/dist/schemas/extensions/operation/x-badge.d.ts +10 -10
- package/dist/schemas/extensions/operation/x-badge.d.ts.map +1 -1
- package/dist/schemas/extensions/operation/x-badge.js +1 -1
- package/dist/schemas/extensions/operation/x-badge.js.map +2 -2
- package/dist/schemas/extensions/operation/x-code-samples.d.ts +17 -17
- package/dist/schemas/extensions/operation/x-code-samples.js +1 -1
- package/dist/schemas/extensions/operation/x-code-samples.js.map +1 -1
- package/dist/schemas/extensions/operation/x-post-response.d.ts +2 -2
- package/dist/schemas/extensions/operation/x-post-response.js +1 -1
- package/dist/schemas/extensions/operation/x-post-response.js.map +1 -1
- package/dist/schemas/extensions/operation/x-scalar-stability.d.ts +2 -2
- package/dist/schemas/extensions/operation/x-scalar-stability.js +1 -1
- package/dist/schemas/extensions/operation/x-scalar-stability.js.map +1 -1
- package/dist/schemas/extensions/schema/x-additional-properties-name.d.ts +2 -2
- package/dist/schemas/extensions/schema/x-additional-properties-name.js +1 -1
- package/dist/schemas/extensions/schema/x-additional-properties-name.js.map +1 -1
- package/dist/schemas/extensions/schema/x-enum-descriptions.d.ts +2 -2
- package/dist/schemas/extensions/schema/x-enum-descriptions.js +1 -1
- package/dist/schemas/extensions/schema/x-enum-descriptions.js.map +1 -1
- package/dist/schemas/extensions/schema/x-variable.d.ts +2 -2
- package/dist/schemas/extensions/schema/x-variable.js +1 -1
- package/dist/schemas/extensions/schema/x-variable.js.map +1 -1
- package/dist/schemas/extensions/security/x-scalar-credentials-location.d.ts +2 -2
- package/dist/schemas/extensions/security/x-scalar-credentials-location.js +1 -1
- package/dist/schemas/extensions/security/x-scalar-credentials-location.js.map +1 -1
- package/dist/schemas/extensions/security/x-scalar-redirect-uri.d.ts +2 -2
- package/dist/schemas/extensions/security/x-scalar-redirect-uri.js +1 -1
- package/dist/schemas/extensions/security/x-scalar-redirect-uri.js.map +1 -1
- package/dist/schemas/extensions/security/x-scalar-security-body.d.ts +2 -2
- package/dist/schemas/extensions/security/x-scalar-security-body.js +1 -1
- package/dist/schemas/extensions/security/x-scalar-security-body.js.map +1 -1
- package/dist/schemas/extensions/security/x-scalar-security-query.d.ts +2 -2
- package/dist/schemas/extensions/security/x-scalar-security-query.js +1 -1
- package/dist/schemas/extensions/security/x-scalar-security-query.js.map +1 -1
- package/dist/schemas/extensions/security/x-scalar-security-secrets.d.ts +5 -5
- package/dist/schemas/extensions/security/x-scalar-security-secrets.js +1 -1
- package/dist/schemas/extensions/security/x-scalar-security-secrets.js.map +1 -1
- package/dist/schemas/extensions/security/x-tokenName.d.ts +2 -2
- package/dist/schemas/extensions/security/x-tokenName.js +1 -1
- package/dist/schemas/extensions/security/x-tokenName.js.map +1 -1
- package/dist/schemas/extensions/security/x-use-pkce.d.ts +2 -2
- package/dist/schemas/extensions/security/x-use-pkce.js +1 -1
- package/dist/schemas/extensions/security/x-use-pkce.js.map +1 -1
- package/dist/schemas/extensions/tag/x-display-name.d.ts +2 -2
- package/dist/schemas/extensions/tag/x-display-name.js +1 -1
- package/dist/schemas/extensions/tag/x-display-name.js.map +1 -1
- package/dist/schemas/extensions/tag/x-tag-groups.d.ts +7 -7
- package/dist/schemas/extensions/tag/x-tag-groups.js +1 -1
- package/dist/schemas/extensions/tag/x-tag-groups.js.map +1 -1
- package/dist/schemas/inmemory-workspace.d.ts +2470 -190
- package/dist/schemas/inmemory-workspace.d.ts.map +1 -1
- package/dist/schemas/inmemory-workspace.js +2 -3
- package/dist/schemas/inmemory-workspace.js.map +2 -2
- package/dist/schemas/navigation.d.ts +140 -134
- package/dist/schemas/navigation.d.ts.map +1 -1
- package/dist/schemas/navigation.js +13 -9
- package/dist/schemas/navigation.js.map +2 -2
- package/dist/schemas/reference-config/appearance.d.ts +9 -9
- package/dist/schemas/reference-config/appearance.d.ts.map +1 -1
- package/dist/schemas/reference-config/appearance.js +1 -1
- package/dist/schemas/reference-config/appearance.js.map +2 -2
- package/dist/schemas/reference-config/features.d.ts +11 -11
- package/dist/schemas/reference-config/features.d.ts.map +1 -1
- package/dist/schemas/reference-config/features.js +1 -1
- package/dist/schemas/reference-config/features.js.map +2 -2
- package/dist/schemas/reference-config/index.d.ts +1247 -46
- package/dist/schemas/reference-config/index.d.ts.map +1 -1
- package/dist/schemas/reference-config/index.js +5 -5
- package/dist/schemas/reference-config/index.js.map +2 -2
- package/dist/schemas/reference-config/meta.d.ts +8 -8
- package/dist/schemas/reference-config/meta.d.ts.map +1 -1
- package/dist/schemas/reference-config/meta.js +1 -1
- package/dist/schemas/reference-config/meta.js.map +2 -2
- package/dist/schemas/reference-config/routing.d.ts +4 -4
- package/dist/schemas/reference-config/routing.d.ts.map +1 -1
- package/dist/schemas/reference-config/routing.js +1 -1
- package/dist/schemas/reference-config/routing.js.map +2 -2
- package/dist/schemas/reference-config/settings.d.ts +1215 -14
- package/dist/schemas/reference-config/settings.d.ts.map +1 -1
- package/dist/schemas/reference-config/settings.js +2 -2
- package/dist/schemas/reference-config/settings.js.map +2 -2
- package/dist/schemas/typebox-coerce.d.ts +1 -1
- package/dist/schemas/typebox-coerce.d.ts.map +1 -1
- package/dist/schemas/typebox-coerce.js +2 -2
- package/dist/schemas/typebox-coerce.js.map +2 -2
- package/dist/schemas/v3.1/strict/callback.d.ts +1 -2
- package/dist/schemas/v3.1/strict/callback.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/callback.js +5 -4
- package/dist/schemas/v3.1/strict/callback.js.map +2 -2
- package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts +11 -11
- package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.js +1 -1
- package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.js.map +2 -2
- package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.d.ts +19 -19
- package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.js +1 -1
- package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.js.map +2 -2
- package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.d.ts +27 -27
- package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.js +1 -1
- package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.js.map +2 -2
- package/dist/schemas/v3.1/strict/components.d.ts +22 -42
- package/dist/schemas/v3.1/strict/components.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/components.js +24 -29
- package/dist/schemas/v3.1/strict/components.js.map +2 -2
- package/dist/schemas/v3.1/strict/contact.d.ts +4 -6
- package/dist/schemas/v3.1/strict/contact.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/contact.js +3 -3
- package/dist/schemas/v3.1/strict/contact.js.map +2 -2
- package/dist/schemas/v3.1/strict/discriminator.d.ts +3 -5
- package/dist/schemas/v3.1/strict/discriminator.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/discriminator.js +3 -3
- package/dist/schemas/v3.1/strict/discriminator.js.map +2 -2
- package/dist/schemas/v3.1/strict/encoding.d.ts +10 -4
- package/dist/schemas/v3.1/strict/encoding.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/encoding.js +5 -4
- package/dist/schemas/v3.1/strict/encoding.js.map +2 -2
- package/dist/schemas/v3.1/strict/example.d.ts +5 -7
- package/dist/schemas/v3.1/strict/example.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/example.js +3 -3
- package/dist/schemas/v3.1/strict/example.js.map +2 -2
- package/dist/schemas/v3.1/strict/external-documentation.d.ts +3 -5
- package/dist/schemas/v3.1/strict/external-documentation.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/external-documentation.js +3 -3
- package/dist/schemas/v3.1/strict/external-documentation.js.map +2 -2
- package/dist/schemas/v3.1/strict/header.d.ts +39 -347
- package/dist/schemas/v3.1/strict/header.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/header.js +8 -11
- package/dist/schemas/v3.1/strict/header.js.map +2 -2
- package/dist/schemas/v3.1/strict/info.d.ts +13 -23
- package/dist/schemas/v3.1/strict/info.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/info.js +7 -8
- package/dist/schemas/v3.1/strict/info.js.map +2 -2
- package/dist/schemas/v3.1/strict/license.d.ts +4 -6
- package/dist/schemas/v3.1/strict/license.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/license.js +3 -3
- package/dist/schemas/v3.1/strict/license.js.map +2 -2
- package/dist/schemas/v3.1/strict/link.d.ts +7 -17
- package/dist/schemas/v3.1/strict/link.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/link.js +5 -5
- package/dist/schemas/v3.1/strict/link.js.map +2 -2
- package/dist/schemas/v3.1/strict/media-type.d.ts +10 -164
- package/dist/schemas/v3.1/strict/media-type.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/media-type.js +7 -10
- package/dist/schemas/v3.1/strict/media-type.js.map +2 -2
- package/dist/schemas/v3.1/strict/oauth-flow.d.ts +59 -60
- package/dist/schemas/v3.1/strict/oauth-flow.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/oauth-flow.js +3 -3
- package/dist/schemas/v3.1/strict/oauth-flow.js.map +2 -2
- package/dist/schemas/v3.1/strict/oauthflows.d.ts +30 -32
- package/dist/schemas/v3.1/strict/oauthflows.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/oauthflows.js +6 -6
- package/dist/schemas/v3.1/strict/oauthflows.js.map +2 -2
- package/dist/schemas/v3.1/strict/openapi-document.d.ts +33908 -112
- package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/openapi-document.js +139 -24
- package/dist/schemas/v3.1/strict/openapi-document.js.map +2 -2
- package/dist/schemas/v3.1/strict/operation.d.ts +52 -4946
- package/dist/schemas/v3.1/strict/operation.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/operation.js +22 -19
- package/dist/schemas/v3.1/strict/operation.js.map +2 -2
- package/dist/schemas/v3.1/strict/parameter.d.ts +51 -1397
- package/dist/schemas/v3.1/strict/parameter.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/parameter.js +10 -11
- package/dist/schemas/v3.1/strict/parameter.js.map +2 -2
- package/dist/schemas/v3.1/strict/path-item.d.ts +15 -1412
- package/dist/schemas/v3.1/strict/path-item.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/path-item.js +15 -16
- package/dist/schemas/v3.1/strict/path-item.js.map +2 -2
- package/dist/schemas/v3.1/strict/paths.d.ts +1 -4
- package/dist/schemas/v3.1/strict/paths.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/paths.js +5 -5
- package/dist/schemas/v3.1/strict/paths.js.map +2 -2
- package/dist/schemas/v3.1/strict/ref-definitions.d.ts +63 -0
- package/dist/schemas/v3.1/strict/ref-definitions.d.ts.map +1 -0
- package/dist/schemas/v3.1/strict/ref-definitions.js +88 -0
- package/dist/schemas/v3.1/strict/ref-definitions.js.map +7 -0
- package/dist/schemas/v3.1/strict/reference.d.ts +8 -8
- package/dist/schemas/v3.1/strict/reference.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/reference.js +1 -1
- package/dist/schemas/v3.1/strict/reference.js.map +2 -2
- package/dist/schemas/v3.1/strict/request-body.d.ts +4 -520
- package/dist/schemas/v3.1/strict/request-body.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/request-body.js +5 -5
- package/dist/schemas/v3.1/strict/request-body.js.map +2 -2
- package/dist/schemas/v3.1/strict/response.d.ts +5 -1231
- package/dist/schemas/v3.1/strict/response.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/response.js +7 -8
- package/dist/schemas/v3.1/strict/response.js.map +2 -2
- package/dist/schemas/v3.1/strict/responses.d.ts +1 -2461
- package/dist/schemas/v3.1/strict/responses.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/responses.js +5 -5
- package/dist/schemas/v3.1/strict/responses.js.map +2 -2
- package/dist/schemas/v3.1/strict/schema.d.ts +337 -192
- package/dist/schemas/v3.1/strict/schema.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/schema.js +215 -207
- package/dist/schemas/v3.1/strict/schema.js.map +2 -2
- package/dist/schemas/v3.1/strict/security-requirement.d.ts +1 -3
- package/dist/schemas/v3.1/strict/security-requirement.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/security-requirement.js +3 -3
- package/dist/schemas/v3.1/strict/security-requirement.js.map +2 -2
- package/dist/schemas/v3.1/strict/security-scheme.d.ts +60 -130
- package/dist/schemas/v3.1/strict/security-scheme.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/security-scheme.js +5 -5
- package/dist/schemas/v3.1/strict/security-scheme.js.map +2 -2
- package/dist/schemas/v3.1/strict/server-variable.d.ts +4 -6
- package/dist/schemas/v3.1/strict/server-variable.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/server-variable.js +3 -3
- package/dist/schemas/v3.1/strict/server-variable.js.map +2 -2
- package/dist/schemas/v3.1/strict/server.d.ts +4 -10
- package/dist/schemas/v3.1/strict/server.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/server.js +5 -5
- package/dist/schemas/v3.1/strict/server.js.map +2 -2
- package/dist/schemas/v3.1/strict/tag.d.ts +10 -15
- package/dist/schemas/v3.1/strict/tag.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/tag.js +6 -6
- package/dist/schemas/v3.1/strict/tag.js.map +2 -2
- package/dist/schemas/v3.1/strict/xml.d.ts +6 -8
- package/dist/schemas/v3.1/strict/xml.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/xml.js +3 -3
- package/dist/schemas/v3.1/strict/xml.js.map +2 -2
- package/dist/schemas/workspace-specification/config.d.ts +1248 -47
- package/dist/schemas/workspace-specification/config.d.ts.map +1 -1
- package/dist/schemas/workspace-specification/config.js +1 -1
- package/dist/schemas/workspace-specification/config.js.map +2 -2
- package/dist/schemas/workspace-specification/index.d.ts +1260 -224
- package/dist/schemas/workspace-specification/index.d.ts.map +1 -1
- package/dist/schemas/workspace-specification/index.js +2 -3
- package/dist/schemas/workspace-specification/index.js.map +2 -2
- package/dist/schemas/workspace-specification/info.d.ts +3 -3
- package/dist/schemas/workspace-specification/info.js +1 -1
- package/dist/schemas/workspace-specification/info.js.map +1 -1
- package/dist/schemas/workspace.d.ts +8520 -199
- package/dist/schemas/workspace.d.ts.map +1 -1
- package/dist/schemas/workspace.js +6 -8
- package/dist/schemas/workspace.js.map +2 -2
- package/dist/schemas.d.ts +1 -1
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +1 -4
- package/dist/schemas.js.map +2 -2
- package/dist/server.d.ts +2 -4
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +7 -5
- package/dist/server.js.map +2 -2
- package/package.json +12 -6
- package/dist/schemas/typebox-types.d.ts +0 -14
- package/dist/schemas/typebox-types.d.ts.map +0 -1
- package/dist/schemas/typebox-types.js +0 -19
- package/dist/schemas/typebox-types.js.map +0 -7
- package/dist/schemas/v3.1/loose/callback.d.ts +0 -10
- package/dist/schemas/v3.1/loose/callback.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/callback.js +0 -11
- package/dist/schemas/v3.1/loose/callback.js.map +0 -7
- package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-cookies.d.ts +0 -16
- package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-cookies.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-cookies.js +0 -13
- package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-cookies.js.map +0 -7
- package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-environments.d.ts +0 -27
- package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-environments.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-environments.js +0 -23
- package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-environments.js.map +0 -7
- package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-request-example.d.ts +0 -38
- package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-request-example.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-request-example.js +0 -45
- package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-request-example.js.map +0 -7
- package/dist/schemas/v3.1/loose/components.d.ts +0 -43
- package/dist/schemas/v3.1/loose/components.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/components.js +0 -41
- package/dist/schemas/v3.1/loose/components.js.map +0 -7
- package/dist/schemas/v3.1/loose/contact.d.ts +0 -10
- package/dist/schemas/v3.1/loose/contact.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/contact.js +0 -13
- package/dist/schemas/v3.1/loose/contact.js.map +0 -7
- package/dist/schemas/v3.1/loose/discriminator.d.ts +0 -12
- package/dist/schemas/v3.1/loose/discriminator.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/discriminator.js +0 -11
- package/dist/schemas/v3.1/loose/discriminator.js.map +0 -7
- package/dist/schemas/v3.1/loose/encoding.d.ts +0 -15
- package/dist/schemas/v3.1/loose/encoding.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/encoding.js +0 -12
- package/dist/schemas/v3.1/loose/encoding.js.map +0 -7
- package/dist/schemas/v3.1/loose/example.d.ts +0 -16
- package/dist/schemas/v3.1/loose/example.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/example.js +0 -15
- package/dist/schemas/v3.1/loose/example.js.map +0 -7
- package/dist/schemas/v3.1/loose/external-documentation.d.ts +0 -8
- package/dist/schemas/v3.1/loose/external-documentation.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/external-documentation.js +0 -11
- package/dist/schemas/v3.1/loose/external-documentation.js.map +0 -7
- package/dist/schemas/v3.1/loose/header.d.ts +0 -355
- package/dist/schemas/v3.1/loose/header.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/header.js +0 -43
- package/dist/schemas/v3.1/loose/header.js.map +0 -7
- package/dist/schemas/v3.1/loose/info.d.ts +0 -48
- package/dist/schemas/v3.1/loose/info.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/info.js +0 -29
- package/dist/schemas/v3.1/loose/info.js.map +0 -7
- package/dist/schemas/v3.1/loose/license.d.ts +0 -10
- package/dist/schemas/v3.1/loose/license.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/license.js +0 -13
- package/dist/schemas/v3.1/loose/license.js.map +0 -7
- package/dist/schemas/v3.1/loose/link.d.ts +0 -30
- package/dist/schemas/v3.1/loose/link.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/link.js +0 -20
- package/dist/schemas/v3.1/loose/link.js.map +0 -7
- package/dist/schemas/v3.1/loose/media-header-encoding.d.ts +0 -1012
- package/dist/schemas/v3.1/loose/media-header-encoding.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/media-header-encoding.js +0 -19
- package/dist/schemas/v3.1/loose/media-header-encoding.js.map +0 -7
- package/dist/schemas/v3.1/loose/media-type.d.ts +0 -161
- package/dist/schemas/v3.1/loose/media-type.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/media-type.js +0 -18
- package/dist/schemas/v3.1/loose/media-type.js.map +0 -7
- package/dist/schemas/v3.1/loose/oauth-flow.d.ts +0 -95
- package/dist/schemas/v3.1/loose/oauth-flow.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/oauth-flow.js +0 -57
- package/dist/schemas/v3.1/loose/oauth-flow.js.map +0 -7
- package/dist/schemas/v3.1/loose/oauthflows.d.ts +0 -43
- package/dist/schemas/v3.1/loose/oauthflows.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/oauthflows.js +0 -21
- package/dist/schemas/v3.1/loose/oauthflows.js.map +0 -7
- package/dist/schemas/v3.1/loose/openapi-document.d.ts +0 -115
- package/dist/schemas/v3.1/loose/openapi-document.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/openapi-document.js +0 -64
- package/dist/schemas/v3.1/loose/openapi-document.js.map +0 -7
- package/dist/schemas/v3.1/loose/operation.d.ts +0 -1645
- package/dist/schemas/v3.1/loose/operation.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/operation.js +0 -61
- package/dist/schemas/v3.1/loose/operation.js.map +0 -7
- package/dist/schemas/v3.1/loose/parameter.d.ts +0 -1074
- package/dist/schemas/v3.1/loose/parameter.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/parameter.js +0 -54
- package/dist/schemas/v3.1/loose/parameter.js.map +0 -7
- package/dist/schemas/v3.1/loose/path-item.d.ts +0 -551
- package/dist/schemas/v3.1/loose/path-item.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/path-item.js +0 -42
- package/dist/schemas/v3.1/loose/path-item.js.map +0 -7
- package/dist/schemas/v3.1/loose/path-operations.d.ts +0 -2196
- package/dist/schemas/v3.1/loose/path-operations.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/path-operations.js +0 -21
- package/dist/schemas/v3.1/loose/path-operations.js.map +0 -7
- package/dist/schemas/v3.1/loose/paths.d.ts +0 -20
- package/dist/schemas/v3.1/loose/paths.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/paths.js +0 -11
- package/dist/schemas/v3.1/loose/paths.js.map +0 -7
- package/dist/schemas/v3.1/loose/reference.d.ts +0 -26
- package/dist/schemas/v3.1/loose/reference.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/reference.js +0 -24
- package/dist/schemas/v3.1/loose/reference.js.map +0 -7
- package/dist/schemas/v3.1/loose/request-body.d.ts +0 -339
- package/dist/schemas/v3.1/loose/request-body.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/request-body.js +0 -14
- package/dist/schemas/v3.1/loose/request-body.js.map +0 -7
- package/dist/schemas/v3.1/loose/response.d.ts +0 -698
- package/dist/schemas/v3.1/loose/response.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/response.js +0 -18
- package/dist/schemas/v3.1/loose/response.js.map +0 -7
- package/dist/schemas/v3.1/loose/responses.d.ts +0 -710
- package/dist/schemas/v3.1/loose/responses.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/responses.js +0 -11
- package/dist/schemas/v3.1/loose/responses.js.map +0 -7
- package/dist/schemas/v3.1/loose/schema.d.ts +0 -373
- package/dist/schemas/v3.1/loose/schema.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/schema.js +0 -146
- package/dist/schemas/v3.1/loose/schema.js.map +0 -7
- package/dist/schemas/v3.1/loose/security-requirement.d.ts +0 -11
- package/dist/schemas/v3.1/loose/security-requirement.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/security-requirement.js +0 -10
- package/dist/schemas/v3.1/loose/security-requirement.js.map +0 -7
- package/dist/schemas/v3.1/loose/security-scheme.d.ts +0 -169
- package/dist/schemas/v3.1/loose/security-scheme.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/security-scheme.js +0 -64
- package/dist/schemas/v3.1/loose/security-scheme.js.map +0 -7
- package/dist/schemas/v3.1/loose/server-variable.d.ts +0 -10
- package/dist/schemas/v3.1/loose/server-variable.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/server-variable.js +0 -13
- package/dist/schemas/v3.1/loose/server-variable.js.map +0 -7
- package/dist/schemas/v3.1/loose/server.d.ts +0 -14
- package/dist/schemas/v3.1/loose/server.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/server.js +0 -14
- package/dist/schemas/v3.1/loose/server.js.map +0 -7
- package/dist/schemas/v3.1/loose/tag.d.ts +0 -19
- package/dist/schemas/v3.1/loose/tag.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/tag.js +0 -23
- package/dist/schemas/v3.1/loose/tag.js.map +0 -7
- package/dist/schemas/v3.1/loose/xml.d.ts +0 -18
- package/dist/schemas/v3.1/loose/xml.d.ts.map +0 -1
- package/dist/schemas/v3.1/loose/xml.js +0 -17
- package/dist/schemas/v3.1/loose/xml.js.map +0 -7
- package/dist/schemas/v3.1/strict/media-header-encoding.d.ts +0 -1560
- package/dist/schemas/v3.1/strict/media-header-encoding.d.ts.map +0 -1
- package/dist/schemas/v3.1/strict/media-header-encoding.js +0 -19
- package/dist/schemas/v3.1/strict/media-header-encoding.js.map +0 -7
- package/dist/schemas/v3.1/strict/path-operations.d.ts +0 -10628
- package/dist/schemas/v3.1/strict/path-operations.d.ts.map +0 -1
- package/dist/schemas/v3.1/strict/path-operations.js +0 -21
- package/dist/schemas/v3.1/strict/path-operations.js.map +0 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inmemory-workspace.d.ts","sourceRoot":"","sources":["../../src/schemas/inmemory-workspace.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"inmemory-workspace.d.ts","sourceRoot":"","sources":["../../src/schemas/inmemory-workspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,iBAAiB,CAAA;AAOnD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAelC,CAAA;AAEF,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Type } from "@scalar/typebox";
|
|
2
2
|
import { WorkspaceDocumentSchema, WorkspaceMetaSchema } from "../schemas/workspace.js";
|
|
3
3
|
import { ConfigSchema } from "../schemas/workspace-specification/config.js";
|
|
4
|
-
import { Type } from "@sinclair/typebox";
|
|
5
4
|
const UnknownObjectSchema = Type.Record(Type.String(), Type.Unknown());
|
|
6
5
|
const InMemoryWorkspaceSchema = Type.Object({
|
|
7
6
|
meta: WorkspaceMetaSchema,
|
|
@@ -9,7 +8,7 @@ const InMemoryWorkspaceSchema = Type.Object({
|
|
|
9
8
|
documents: Type.Record(Type.String(), WorkspaceDocumentSchema),
|
|
10
9
|
originalDocuments: Type.Record(Type.String(), UnknownObjectSchema),
|
|
11
10
|
intermediateDocuments: Type.Record(Type.String(), UnknownObjectSchema),
|
|
12
|
-
overrides: Type.Record(Type.String(),
|
|
11
|
+
overrides: Type.Record(Type.String(), Type.Any()),
|
|
13
12
|
documentMeta: Type.Record(
|
|
14
13
|
Type.String(),
|
|
15
14
|
Type.Partial(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/schemas/inmemory-workspace.ts"],
|
|
4
|
-
"sourcesContent": ["import {
|
|
5
|
-
"mappings": "AAAA,
|
|
4
|
+
"sourcesContent": ["import { type Static, Type } from '@scalar/typebox'\n\nimport { WorkspaceDocumentSchema, WorkspaceMetaSchema } from '@/schemas/workspace'\nimport { ConfigSchema } from '@/schemas/workspace-specification/config'\n\nconst UnknownObjectSchema = Type.Record(Type.String(), Type.Unknown())\n\nexport const InMemoryWorkspaceSchema = Type.Object({\n meta: WorkspaceMetaSchema,\n documentConfigs: Type.Record(Type.String(), ConfigSchema),\n documents: Type.Record(Type.String(), WorkspaceDocumentSchema),\n originalDocuments: Type.Record(Type.String(), UnknownObjectSchema),\n intermediateDocuments: Type.Record(Type.String(), UnknownObjectSchema),\n overrides: Type.Record(Type.String(), Type.Any()),\n documentMeta: Type.Record(\n Type.String(),\n Type.Partial(\n Type.Object({\n documentSource: Type.Optional(Type.String()),\n }),\n ),\n ),\n})\n\nexport type InMemoryWorkspace = Static<typeof InMemoryWorkspaceSchema>\n"],
|
|
5
|
+
"mappings": "AAAA,SAAsB,YAAY;AAElC,SAAS,yBAAyB,2BAA2B;AAC7D,SAAS,oBAAoB;AAE7B,MAAM,sBAAsB,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,QAAQ,CAAC;AAE9D,MAAM,0BAA0B,KAAK,OAAO;AAAA,EACjD,MAAM;AAAA,EACN,iBAAiB,KAAK,OAAO,KAAK,OAAO,GAAG,YAAY;AAAA,EACxD,WAAW,KAAK,OAAO,KAAK,OAAO,GAAG,uBAAuB;AAAA,EAC7D,mBAAmB,KAAK,OAAO,KAAK,OAAO,GAAG,mBAAmB;AAAA,EACjE,uBAAuB,KAAK,OAAO,KAAK,OAAO,GAAG,mBAAmB;AAAA,EACrE,WAAW,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,IAAI,CAAC;AAAA,EAChD,cAAc,KAAK;AAAA,IACjB,KAAK,OAAO;AAAA,IACZ,KAAK;AAAA,MACH,KAAK,OAAO;AAAA,QACV,gBAAgB,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,MAC7C,CAAC;AAAA,IACH;AAAA,EACF;AACF,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,148 +1,154 @@
|
|
|
1
|
-
import { type Static } from '@
|
|
2
|
-
export declare const NavigationBaseSchema: import("@
|
|
3
|
-
type: import("@
|
|
4
|
-
id: import("@
|
|
5
|
-
title: import("@
|
|
1
|
+
import { type Static } from '@scalar/typebox';
|
|
2
|
+
export declare const NavigationBaseSchema: import("@scalar/typebox").TObject<{
|
|
3
|
+
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
4
|
+
id: import("@scalar/typebox").TString;
|
|
5
|
+
title: import("@scalar/typebox").TString;
|
|
6
6
|
}>;
|
|
7
|
-
export declare const TraversedDescriptionSchema: import("@
|
|
8
|
-
type: import("@
|
|
9
|
-
id: import("@
|
|
10
|
-
title: import("@
|
|
11
|
-
}>, import("@
|
|
12
|
-
type: import("@
|
|
13
|
-
children: import("@
|
|
14
|
-
type: import("@
|
|
15
|
-
id: import("@
|
|
16
|
-
title: import("@
|
|
7
|
+
export declare const TraversedDescriptionSchema: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
8
|
+
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
9
|
+
id: import("@scalar/typebox").TString;
|
|
10
|
+
title: import("@scalar/typebox").TString;
|
|
11
|
+
}>, import("@scalar/typebox").TObject<{
|
|
12
|
+
type: import("@scalar/typebox").TLiteral<"text">;
|
|
13
|
+
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
|
|
14
|
+
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
15
|
+
id: import("@scalar/typebox").TString;
|
|
16
|
+
title: import("@scalar/typebox").TString;
|
|
17
17
|
}>>>;
|
|
18
18
|
}>]>;
|
|
19
19
|
export type TraversedDescription = Static<typeof TraversedDescriptionSchema>;
|
|
20
|
-
export declare const TraversedOperationSchema: import("@
|
|
21
|
-
type: import("@
|
|
22
|
-
id: import("@
|
|
23
|
-
title: import("@
|
|
24
|
-
}>, import("@
|
|
25
|
-
type: import("@
|
|
26
|
-
ref: import("@
|
|
27
|
-
method: import("@
|
|
28
|
-
path: import("@
|
|
20
|
+
export declare const TraversedOperationSchema: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
21
|
+
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
22
|
+
id: import("@scalar/typebox").TString;
|
|
23
|
+
title: import("@scalar/typebox").TString;
|
|
24
|
+
}>, import("@scalar/typebox").TObject<{
|
|
25
|
+
type: import("@scalar/typebox").TLiteral<"operation">;
|
|
26
|
+
ref: import("@scalar/typebox").TString;
|
|
27
|
+
method: import("@scalar/typebox").TString;
|
|
28
|
+
path: import("@scalar/typebox").TString;
|
|
29
29
|
}>]>;
|
|
30
30
|
export type TraversedOperation = Static<typeof TraversedOperationSchema>;
|
|
31
|
-
export declare const TraversedSchemaSchema: import("@
|
|
32
|
-
type: import("@
|
|
33
|
-
id: import("@
|
|
34
|
-
title: import("@
|
|
35
|
-
}>, import("@
|
|
36
|
-
type: import("@
|
|
37
|
-
ref: import("@
|
|
38
|
-
name: import("@
|
|
31
|
+
export declare const TraversedSchemaSchema: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
32
|
+
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
33
|
+
id: import("@scalar/typebox").TString;
|
|
34
|
+
title: import("@scalar/typebox").TString;
|
|
35
|
+
}>, import("@scalar/typebox").TObject<{
|
|
36
|
+
type: import("@scalar/typebox").TLiteral<"model">;
|
|
37
|
+
ref: import("@scalar/typebox").TString;
|
|
38
|
+
name: import("@scalar/typebox").TString;
|
|
39
39
|
}>]>;
|
|
40
40
|
export type TraversedSchema = Static<typeof TraversedSchemaSchema>;
|
|
41
|
-
export declare const TraversedWebhookSchema: import("@
|
|
42
|
-
type: import("@
|
|
43
|
-
id: import("@
|
|
44
|
-
title: import("@
|
|
45
|
-
}>, import("@
|
|
46
|
-
type: import("@
|
|
47
|
-
ref: import("@
|
|
48
|
-
method: import("@
|
|
49
|
-
name: import("@
|
|
41
|
+
export declare const TraversedWebhookSchema: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
42
|
+
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
43
|
+
id: import("@scalar/typebox").TString;
|
|
44
|
+
title: import("@scalar/typebox").TString;
|
|
45
|
+
}>, import("@scalar/typebox").TObject<{
|
|
46
|
+
type: import("@scalar/typebox").TLiteral<"webhook">;
|
|
47
|
+
ref: import("@scalar/typebox").TString;
|
|
48
|
+
method: import("@scalar/typebox").TString;
|
|
49
|
+
name: import("@scalar/typebox").TString;
|
|
50
50
|
}>]>;
|
|
51
51
|
export type TraversedWebhook = Static<typeof TraversedWebhookSchema>;
|
|
52
|
-
export declare const TraversedTagSchema: import("@
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
type: import("@
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
52
|
+
export declare const TraversedTagSchema: import("@scalar/typebox").TImport<{
|
|
53
|
+
TraversedTagSchema: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
54
|
+
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
55
|
+
id: import("@scalar/typebox").TString;
|
|
56
|
+
title: import("@scalar/typebox").TString;
|
|
57
|
+
}>, import("@scalar/typebox").TObject<{
|
|
58
|
+
type: import("@scalar/typebox").TLiteral<"tag">;
|
|
59
|
+
name: import("@scalar/typebox").TString;
|
|
60
|
+
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntrySchema">>>;
|
|
61
|
+
isGroup: import("@scalar/typebox").TBoolean;
|
|
62
|
+
}>]>;
|
|
63
|
+
TraversedEntrySchema: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"TraversedTagSchema">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
64
|
+
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
65
|
+
id: import("@scalar/typebox").TString;
|
|
66
|
+
title: import("@scalar/typebox").TString;
|
|
67
|
+
}>, import("@scalar/typebox").TObject<{
|
|
68
|
+
type: import("@scalar/typebox").TLiteral<"text">;
|
|
69
|
+
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
|
|
70
|
+
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
71
|
+
id: import("@scalar/typebox").TString;
|
|
72
|
+
title: import("@scalar/typebox").TString;
|
|
69
73
|
}>>>;
|
|
70
|
-
}>]>, import("@
|
|
71
|
-
type: import("@
|
|
72
|
-
id: import("@
|
|
73
|
-
title: import("@
|
|
74
|
-
}>, import("@
|
|
75
|
-
type: import("@
|
|
76
|
-
ref: import("@
|
|
77
|
-
method: import("@
|
|
78
|
-
path: import("@
|
|
79
|
-
}>]>, import("@
|
|
80
|
-
type: import("@
|
|
81
|
-
id: import("@
|
|
82
|
-
title: import("@
|
|
83
|
-
}>, import("@
|
|
84
|
-
type: import("@
|
|
85
|
-
ref: import("@
|
|
86
|
-
name: import("@
|
|
87
|
-
}>]>, import("@
|
|
88
|
-
type: import("@
|
|
89
|
-
id: import("@
|
|
90
|
-
title: import("@
|
|
91
|
-
}>, import("@
|
|
92
|
-
type: import("@
|
|
93
|
-
ref: import("@
|
|
94
|
-
method: import("@
|
|
95
|
-
name: import("@
|
|
96
|
-
}>]>]
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}>, import("@
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
74
|
+
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
75
|
+
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
76
|
+
id: import("@scalar/typebox").TString;
|
|
77
|
+
title: import("@scalar/typebox").TString;
|
|
78
|
+
}>, import("@scalar/typebox").TObject<{
|
|
79
|
+
type: import("@scalar/typebox").TLiteral<"operation">;
|
|
80
|
+
ref: import("@scalar/typebox").TString;
|
|
81
|
+
method: import("@scalar/typebox").TString;
|
|
82
|
+
path: import("@scalar/typebox").TString;
|
|
83
|
+
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
84
|
+
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
85
|
+
id: import("@scalar/typebox").TString;
|
|
86
|
+
title: import("@scalar/typebox").TString;
|
|
87
|
+
}>, import("@scalar/typebox").TObject<{
|
|
88
|
+
type: import("@scalar/typebox").TLiteral<"model">;
|
|
89
|
+
ref: import("@scalar/typebox").TString;
|
|
90
|
+
name: import("@scalar/typebox").TString;
|
|
91
|
+
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
92
|
+
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
93
|
+
id: import("@scalar/typebox").TString;
|
|
94
|
+
title: import("@scalar/typebox").TString;
|
|
95
|
+
}>, import("@scalar/typebox").TObject<{
|
|
96
|
+
type: import("@scalar/typebox").TLiteral<"webhook">;
|
|
97
|
+
ref: import("@scalar/typebox").TString;
|
|
98
|
+
method: import("@scalar/typebox").TString;
|
|
99
|
+
name: import("@scalar/typebox").TString;
|
|
100
|
+
}>]>]>;
|
|
101
|
+
}, "TraversedTagSchema">;
|
|
102
|
+
export declare const TraversedEntrySchema: import("@scalar/typebox").TImport<{
|
|
103
|
+
TraversedTagSchema: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
104
|
+
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
105
|
+
id: import("@scalar/typebox").TString;
|
|
106
|
+
title: import("@scalar/typebox").TString;
|
|
107
|
+
}>, import("@scalar/typebox").TObject<{
|
|
108
|
+
type: import("@scalar/typebox").TLiteral<"tag">;
|
|
109
|
+
name: import("@scalar/typebox").TString;
|
|
110
|
+
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntrySchema">>>;
|
|
111
|
+
isGroup: import("@scalar/typebox").TBoolean;
|
|
112
|
+
}>]>;
|
|
113
|
+
TraversedEntrySchema: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"TraversedTagSchema">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
114
|
+
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
115
|
+
id: import("@scalar/typebox").TString;
|
|
116
|
+
title: import("@scalar/typebox").TString;
|
|
117
|
+
}>, import("@scalar/typebox").TObject<{
|
|
118
|
+
type: import("@scalar/typebox").TLiteral<"text">;
|
|
119
|
+
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
|
|
120
|
+
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
121
|
+
id: import("@scalar/typebox").TString;
|
|
122
|
+
title: import("@scalar/typebox").TString;
|
|
123
|
+
}>>>;
|
|
124
|
+
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
125
|
+
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
126
|
+
id: import("@scalar/typebox").TString;
|
|
127
|
+
title: import("@scalar/typebox").TString;
|
|
128
|
+
}>, import("@scalar/typebox").TObject<{
|
|
129
|
+
type: import("@scalar/typebox").TLiteral<"operation">;
|
|
130
|
+
ref: import("@scalar/typebox").TString;
|
|
131
|
+
method: import("@scalar/typebox").TString;
|
|
132
|
+
path: import("@scalar/typebox").TString;
|
|
133
|
+
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
134
|
+
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
135
|
+
id: import("@scalar/typebox").TString;
|
|
136
|
+
title: import("@scalar/typebox").TString;
|
|
137
|
+
}>, import("@scalar/typebox").TObject<{
|
|
138
|
+
type: import("@scalar/typebox").TLiteral<"model">;
|
|
139
|
+
ref: import("@scalar/typebox").TString;
|
|
140
|
+
name: import("@scalar/typebox").TString;
|
|
141
|
+
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
142
|
+
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
|
|
143
|
+
id: import("@scalar/typebox").TString;
|
|
144
|
+
title: import("@scalar/typebox").TString;
|
|
145
|
+
}>, import("@scalar/typebox").TObject<{
|
|
146
|
+
type: import("@scalar/typebox").TLiteral<"webhook">;
|
|
147
|
+
ref: import("@scalar/typebox").TString;
|
|
148
|
+
method: import("@scalar/typebox").TString;
|
|
149
|
+
name: import("@scalar/typebox").TString;
|
|
150
|
+
}>]>]>;
|
|
151
|
+
}, "TraversedEntrySchema">;
|
|
146
152
|
export type TraversedTag = Static<typeof TraversedTagSchema>;
|
|
147
153
|
export type TraversedEntry = Static<typeof TraversedEntrySchema>;
|
|
148
154
|
//# sourceMappingURL=navigation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../src/schemas/navigation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../src/schemas/navigation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,iBAAiB,CAAA;AAInD,eAAO,MAAM,oBAAoB;;;;EAU/B,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;IAMtC,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAE5E,eAAO,MAAM,wBAAwB;;;;;;;;;IAQpC,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAExE,eAAO,MAAM,qBAAqB;;;;;;;;IAOjC,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAElE,eAAO,MAAM,sBAAsB;;;;;;;;;IAQlC,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAA;AA4BpE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAAsC,CAAA;AACrE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAAwC,CAAA;AAEzE,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAC5D,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { Type } from "@scalar/typebox";
|
|
1
2
|
import { compose } from "../schemas/compose.js";
|
|
2
|
-
import { Type } from "@sinclair/typebox";
|
|
3
3
|
const NavigationBaseSchema = Type.Object({
|
|
4
4
|
type: Type.Union([
|
|
5
5
|
Type.Literal("text"),
|
|
@@ -44,26 +44,30 @@ const TraversedWebhookSchema = compose(
|
|
|
44
44
|
name: Type.String()
|
|
45
45
|
})
|
|
46
46
|
);
|
|
47
|
-
const
|
|
47
|
+
const TraversedEntryRef = Type.Ref("TraversedEntrySchema");
|
|
48
|
+
const TraversedTagRef = Type.Ref("TraversedTagSchema");
|
|
49
|
+
const TraversedTagSchemaDefinition = compose(
|
|
48
50
|
NavigationBaseSchema,
|
|
49
51
|
Type.Object({
|
|
50
52
|
type: Type.Literal("tag"),
|
|
51
53
|
name: Type.String(),
|
|
52
|
-
children: Type.Optional(Type.Array(
|
|
54
|
+
children: Type.Optional(Type.Array(TraversedEntryRef)),
|
|
53
55
|
isGroup: Type.Boolean()
|
|
54
56
|
})
|
|
55
57
|
);
|
|
56
|
-
const
|
|
58
|
+
const TraversedEntrySchemaDefinition = Type.Union([
|
|
59
|
+
TraversedTagRef,
|
|
57
60
|
TraversedDescriptionSchema,
|
|
58
61
|
TraversedOperationSchema,
|
|
59
62
|
TraversedSchemaSchema,
|
|
60
|
-
traversedTagSchema,
|
|
61
63
|
TraversedWebhookSchema
|
|
62
64
|
]);
|
|
63
|
-
const
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
);
|
|
65
|
+
const module = Type.Module({
|
|
66
|
+
TraversedTagSchema: TraversedTagSchemaDefinition,
|
|
67
|
+
TraversedEntrySchema: TraversedEntrySchemaDefinition
|
|
68
|
+
});
|
|
69
|
+
const TraversedTagSchema = module.Import("TraversedTagSchema");
|
|
70
|
+
const TraversedEntrySchema = module.Import("TraversedEntrySchema");
|
|
67
71
|
export {
|
|
68
72
|
NavigationBaseSchema,
|
|
69
73
|
TraversedDescriptionSchema,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/schemas/navigation.ts"],
|
|
4
|
-
"sourcesContent": ["import {
|
|
5
|
-
"mappings": "AAAA,
|
|
4
|
+
"sourcesContent": ["import { type Static, Type } from '@scalar/typebox'\n\nimport { compose } from '@/schemas/compose'\n\nexport const NavigationBaseSchema = Type.Object({\n type: Type.Union([\n Type.Literal('text'),\n Type.Literal('operation'),\n Type.Literal('model'),\n Type.Literal('tag'),\n Type.Literal('webhook'),\n ]),\n id: Type.String(),\n title: Type.String(),\n})\n\nexport const TraversedDescriptionSchema = compose(\n NavigationBaseSchema,\n Type.Object({\n type: Type.Literal('text'),\n children: Type.Optional(Type.Array(NavigationBaseSchema)),\n }),\n)\n\nexport type TraversedDescription = Static<typeof TraversedDescriptionSchema>\n\nexport const TraversedOperationSchema = compose(\n NavigationBaseSchema,\n Type.Object({\n type: Type.Literal('operation'),\n ref: Type.String(),\n method: Type.String(),\n path: Type.String(),\n }),\n)\n\nexport type TraversedOperation = Static<typeof TraversedOperationSchema>\n\nexport const TraversedSchemaSchema = compose(\n NavigationBaseSchema,\n Type.Object({\n type: Type.Literal('model'),\n ref: Type.String(),\n name: Type.String(),\n }),\n)\n\nexport type TraversedSchema = Static<typeof TraversedSchemaSchema>\n\nexport const TraversedWebhookSchema = compose(\n NavigationBaseSchema,\n Type.Object({\n type: Type.Literal('webhook'),\n ref: Type.String(),\n method: Type.String(),\n name: Type.String(),\n }),\n)\n\nexport type TraversedWebhook = Static<typeof TraversedWebhookSchema>\n\nconst TraversedEntryRef = Type.Ref('TraversedEntrySchema')\nconst TraversedTagRef = Type.Ref('TraversedTagSchema')\n\nconst TraversedTagSchemaDefinition = compose(\n NavigationBaseSchema,\n Type.Object({\n type: Type.Literal('tag'),\n name: Type.String(),\n children: Type.Optional(Type.Array(TraversedEntryRef)),\n isGroup: Type.Boolean(),\n }),\n)\n\nconst TraversedEntrySchemaDefinition = Type.Union([\n TraversedTagRef,\n TraversedDescriptionSchema,\n TraversedOperationSchema,\n TraversedSchemaSchema,\n TraversedWebhookSchema,\n])\n\nconst module = Type.Module({\n TraversedTagSchema: TraversedTagSchemaDefinition,\n TraversedEntrySchema: TraversedEntrySchemaDefinition,\n})\n\nexport const TraversedTagSchema = module.Import('TraversedTagSchema')\nexport const TraversedEntrySchema = module.Import('TraversedEntrySchema')\n\nexport type TraversedTag = Static<typeof TraversedTagSchema>\nexport type TraversedEntry = Static<typeof TraversedEntrySchema>\n"],
|
|
5
|
+
"mappings": "AAAA,SAAsB,YAAY;AAElC,SAAS,eAAe;AAEjB,MAAM,uBAAuB,KAAK,OAAO;AAAA,EAC9C,MAAM,KAAK,MAAM;AAAA,IACf,KAAK,QAAQ,MAAM;AAAA,IACnB,KAAK,QAAQ,WAAW;AAAA,IACxB,KAAK,QAAQ,OAAO;AAAA,IACpB,KAAK,QAAQ,KAAK;AAAA,IAClB,KAAK,QAAQ,SAAS;AAAA,EACxB,CAAC;AAAA,EACD,IAAI,KAAK,OAAO;AAAA,EAChB,OAAO,KAAK,OAAO;AACrB,CAAC;AAEM,MAAM,6BAA6B;AAAA,EACxC;AAAA,EACA,KAAK,OAAO;AAAA,IACV,MAAM,KAAK,QAAQ,MAAM;AAAA,IACzB,UAAU,KAAK,SAAS,KAAK,MAAM,oBAAoB,CAAC;AAAA,EAC1D,CAAC;AACH;AAIO,MAAM,2BAA2B;AAAA,EACtC;AAAA,EACA,KAAK,OAAO;AAAA,IACV,MAAM,KAAK,QAAQ,WAAW;AAAA,IAC9B,KAAK,KAAK,OAAO;AAAA,IACjB,QAAQ,KAAK,OAAO;AAAA,IACpB,MAAM,KAAK,OAAO;AAAA,EACpB,CAAC;AACH;AAIO,MAAM,wBAAwB;AAAA,EACnC;AAAA,EACA,KAAK,OAAO;AAAA,IACV,MAAM,KAAK,QAAQ,OAAO;AAAA,IAC1B,KAAK,KAAK,OAAO;AAAA,IACjB,MAAM,KAAK,OAAO;AAAA,EACpB,CAAC;AACH;AAIO,MAAM,yBAAyB;AAAA,EACpC;AAAA,EACA,KAAK,OAAO;AAAA,IACV,MAAM,KAAK,QAAQ,SAAS;AAAA,IAC5B,KAAK,KAAK,OAAO;AAAA,IACjB,QAAQ,KAAK,OAAO;AAAA,IACpB,MAAM,KAAK,OAAO;AAAA,EACpB,CAAC;AACH;AAIA,MAAM,oBAAoB,KAAK,IAAI,sBAAsB;AACzD,MAAM,kBAAkB,KAAK,IAAI,oBAAoB;AAErD,MAAM,+BAA+B;AAAA,EACnC;AAAA,EACA,KAAK,OAAO;AAAA,IACV,MAAM,KAAK,QAAQ,KAAK;AAAA,IACxB,MAAM,KAAK,OAAO;AAAA,IAClB,UAAU,KAAK,SAAS,KAAK,MAAM,iBAAiB,CAAC;AAAA,IACrD,SAAS,KAAK,QAAQ;AAAA,EACxB,CAAC;AACH;AAEA,MAAM,iCAAiC,KAAK,MAAM;AAAA,EAChD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AAED,MAAM,SAAS,KAAK,OAAO;AAAA,EACzB,oBAAoB;AAAA,EACpB,sBAAsB;AACxB,CAAC;AAEM,MAAM,qBAAqB,OAAO,OAAO,oBAAoB;AAC7D,MAAM,uBAAuB,OAAO,OAAO,sBAAsB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { type Static } from '@
|
|
2
|
-
export declare const AppearanceSchema: import("@
|
|
3
|
-
layout: import("@
|
|
4
|
-
theme: import("@
|
|
5
|
-
favicon: import("@
|
|
6
|
-
initialColorMode: import("@
|
|
7
|
-
forceColorMode: import("@
|
|
8
|
-
css: import("@
|
|
9
|
-
loadDefaultFonts: import("@
|
|
1
|
+
import { type Static } from '@scalar/typebox';
|
|
2
|
+
export declare const AppearanceSchema: import("@scalar/typebox").TObject<{
|
|
3
|
+
layout: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"modern">, import("@scalar/typebox").TLiteral<"classic">]>>;
|
|
4
|
+
theme: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
5
|
+
favicon: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
6
|
+
initialColorMode: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"auto">, import("@scalar/typebox").TLiteral<"dark">, import("@scalar/typebox").TLiteral<"light">]>>;
|
|
7
|
+
forceColorMode: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"dark">, import("@scalar/typebox").TLiteral<"light">]>>;
|
|
8
|
+
css: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
9
|
+
loadDefaultFonts: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
10
10
|
}>;
|
|
11
11
|
export type Appearance = Static<typeof AppearanceSchema>;
|
|
12
12
|
export declare const defaultAppearance: Required<Appearance>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appearance.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/appearance.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"appearance.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/appearance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,iBAAiB,CAAA;AAEnD,eAAO,MAAM,gBAAgB;;;;;;;;EAU5B,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAExD,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CAAC,UAAU,CAQlD,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/schemas/reference-config/appearance.ts"],
|
|
4
|
-
"sourcesContent": ["import {
|
|
5
|
-
"mappings": "AAAA,
|
|
4
|
+
"sourcesContent": ["import { type Static, Type } from '@scalar/typebox'\n\nexport const AppearanceSchema = Type.Partial(\n Type.Object({\n layout: Type.Union([Type.Literal('modern'), Type.Literal('classic')]),\n theme: Type.String(),\n favicon: Type.String(),\n initialColorMode: Type.Union([Type.Literal('auto'), Type.Literal('dark'), Type.Literal('light')]),\n forceColorMode: Type.Union([Type.Literal('dark'), Type.Literal('light')]),\n css: Type.String(),\n loadDefaultFonts: Type.Boolean(),\n }),\n)\n\nexport type Appearance = Static<typeof AppearanceSchema>\n\nexport const defaultAppearance: Required<Appearance> = {\n layout: 'modern',\n theme: 'default',\n favicon: '',\n initialColorMode: 'auto',\n forceColorMode: 'dark',\n css: '',\n loadDefaultFonts: true,\n}\n"],
|
|
5
|
+
"mappings": "AAAA,SAAsB,YAAY;AAE3B,MAAM,mBAAmB,KAAK;AAAA,EACnC,KAAK,OAAO;AAAA,IACV,QAAQ,KAAK,MAAM,CAAC,KAAK,QAAQ,QAAQ,GAAG,KAAK,QAAQ,SAAS,CAAC,CAAC;AAAA,IACpE,OAAO,KAAK,OAAO;AAAA,IACnB,SAAS,KAAK,OAAO;AAAA,IACrB,kBAAkB,KAAK,MAAM,CAAC,KAAK,QAAQ,MAAM,GAAG,KAAK,QAAQ,MAAM,GAAG,KAAK,QAAQ,OAAO,CAAC,CAAC;AAAA,IAChG,gBAAgB,KAAK,MAAM,CAAC,KAAK,QAAQ,MAAM,GAAG,KAAK,QAAQ,OAAO,CAAC,CAAC;AAAA,IACxE,KAAK,KAAK,OAAO;AAAA,IACjB,kBAAkB,KAAK,QAAQ;AAAA,EACjC,CAAC;AACH;AAIO,MAAM,oBAA0C;AAAA,EACrD,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,SAAS;AAAA,EACT,kBAAkB;AAAA,EAClB,gBAAgB;AAAA,EAChB,KAAK;AAAA,EACL,kBAAkB;AACpB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { type Static } from '@
|
|
2
|
-
export declare const FeaturesSchema: import("@
|
|
3
|
-
showSidebar: import("@
|
|
4
|
-
showModels: import("@
|
|
5
|
-
showDownload: import("@
|
|
6
|
-
showTestRequestButton: import("@
|
|
7
|
-
showSearch: import("@
|
|
8
|
-
showApiClientImport: import("@
|
|
9
|
-
showDarkModeToggle: import("@
|
|
10
|
-
expandAllTagSections: import("@
|
|
11
|
-
persistAuthenticationState: import("@
|
|
1
|
+
import { type Static } from '@scalar/typebox';
|
|
2
|
+
export declare const FeaturesSchema: import("@scalar/typebox").TObject<{
|
|
3
|
+
showSidebar: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
4
|
+
showModels: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
5
|
+
showDownload: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
6
|
+
showTestRequestButton: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
7
|
+
showSearch: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
8
|
+
showApiClientImport: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
9
|
+
showDarkModeToggle: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
10
|
+
expandAllTagSections: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
11
|
+
persistAuthenticationState: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
12
12
|
}>;
|
|
13
13
|
export type Features = Static<typeof FeaturesSchema>;
|
|
14
14
|
export declare const defaultFeatures: Required<Features>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"features.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/features.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"features.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/features.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,iBAAiB,CAAA;AAEnD,eAAO,MAAM,cAAc;;;;;;;;;;EAY1B,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,cAAc,CAAC,CAAA;AAEpD,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,QAAQ,CAU9C,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/schemas/reference-config/features.ts"],
|
|
4
|
-
"sourcesContent": ["import {
|
|
5
|
-
"mappings": "AAAA,
|
|
4
|
+
"sourcesContent": ["import { type Static, Type } from '@scalar/typebox'\n\nexport const FeaturesSchema = Type.Partial(\n Type.Object({\n showSidebar: Type.Boolean(),\n showModels: Type.Boolean(),\n showDownload: Type.Boolean(),\n showTestRequestButton: Type.Boolean(),\n showSearch: Type.Boolean(),\n showApiClientImport: Type.Boolean(),\n showDarkModeToggle: Type.Boolean(),\n expandAllTagSections: Type.Boolean(),\n persistAuthenticationState: Type.Boolean(),\n }),\n)\n\nexport type Features = Static<typeof FeaturesSchema>\n\nexport const defaultFeatures: Required<Features> = {\n showSidebar: true,\n showModels: true,\n showDownload: true,\n showTestRequestButton: true,\n showSearch: true,\n showApiClientImport: true,\n showDarkModeToggle: true,\n expandAllTagSections: false,\n persistAuthenticationState: false,\n}\n"],
|
|
5
|
+
"mappings": "AAAA,SAAsB,YAAY;AAE3B,MAAM,iBAAiB,KAAK;AAAA,EACjC,KAAK,OAAO;AAAA,IACV,aAAa,KAAK,QAAQ;AAAA,IAC1B,YAAY,KAAK,QAAQ;AAAA,IACzB,cAAc,KAAK,QAAQ;AAAA,IAC3B,uBAAuB,KAAK,QAAQ;AAAA,IACpC,YAAY,KAAK,QAAQ;AAAA,IACzB,qBAAqB,KAAK,QAAQ;AAAA,IAClC,oBAAoB,KAAK,QAAQ;AAAA,IACjC,sBAAsB,KAAK,QAAQ;AAAA,IACnC,4BAA4B,KAAK,QAAQ;AAAA,EAC3C,CAAC;AACH;AAIO,MAAM,kBAAsC;AAAA,EACjD,aAAa;AAAA,EACb,YAAY;AAAA,EACZ,cAAc;AAAA,EACd,uBAAuB;AAAA,EACvB,YAAY;AAAA,EACZ,qBAAqB;AAAA,EACrB,oBAAoB;AAAA,EACpB,sBAAsB;AAAA,EACtB,4BAA4B;AAC9B;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|