@scalar/workspace-store 0.68.5 → 0.69.2

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.
Files changed (144) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/channel-example/get-channel-connection-context.d.ts +1 -1
  3. package/dist/channel-example/get-channel-connection-context.js +8 -8
  4. package/dist/channel-example/get-channel-connection-security.js +1 -1
  5. package/dist/channel-example/get-channel-parameters.js +1 -1
  6. package/dist/channel-example/servers.d.ts +1 -1
  7. package/dist/channel-example/servers.js +1 -1
  8. package/dist/entities/auth/index.d.ts +1 -1
  9. package/dist/entities/auth/index.js +1 -1
  10. package/dist/entities/history/index.d.ts +1 -1
  11. package/dist/entities/history/index.js +1 -1
  12. package/dist/events/definitions/cookie.d.ts +1 -1
  13. package/dist/events/definitions/environment.d.ts +1 -1
  14. package/dist/events/definitions/hooks.d.ts +1 -1
  15. package/dist/events/definitions/index.d.ts +5 -5
  16. package/dist/helpers/asyncapi-model-chunk-reference.js +1 -1
  17. package/dist/helpers/chunk-index.d.ts.map +1 -1
  18. package/dist/helpers/chunk-index.js +9 -1
  19. package/dist/helpers/document-revision.js +1 -1
  20. package/dist/helpers/dynamic-ref.js +2 -2
  21. package/dist/helpers/for-each-path-item-operation.d.ts +1 -1
  22. package/dist/helpers/for-each-path-item-operation.js +1 -1
  23. package/dist/helpers/get-example-value.js +1 -1
  24. package/dist/helpers/get-parameter-example.js +1 -1
  25. package/dist/helpers/operation-examples.js +1 -1
  26. package/dist/helpers/querystring-parameter.js +1 -1
  27. package/dist/helpers/resolve-async-api-schema.d.ts +16 -0
  28. package/dist/helpers/resolve-async-api-schema.d.ts.map +1 -0
  29. package/dist/helpers/resolve-async-api-schema.js +42 -0
  30. package/dist/helpers/resolve-security-requirements.js +2 -2
  31. package/dist/helpers/snapshot-schema.js +1 -1
  32. package/dist/helpers/unpack-proxy.js +2 -2
  33. package/dist/helpers/use-external-examples.d.ts +1 -1
  34. package/dist/helpers/use-external-examples.js +1 -1
  35. package/dist/mutators/index.js +10 -10
  36. package/dist/mutators/operation/helpers/sync-path-parameters.js +1 -1
  37. package/dist/mutators/operation/index.js +5 -5
  38. package/dist/mutators/operation/operation.js +1 -1
  39. package/dist/navigation/get-navigation-options.d.ts +1 -1
  40. package/dist/navigation/helpers/get-navigation-tag-names.d.ts +1 -1
  41. package/dist/navigation/helpers/get-tag.d.ts +1 -1
  42. package/dist/navigation/helpers/traverse-asyncapi-document.d.ts +1 -1
  43. package/dist/navigation/helpers/traverse-asyncapi-document.d.ts.map +1 -1
  44. package/dist/navigation/helpers/traverse-asyncapi-document.js +10 -17
  45. package/dist/navigation/helpers/traverse-description.d.ts +1 -1
  46. package/dist/navigation/helpers/traverse-description.js +1 -1
  47. package/dist/navigation/helpers/traverse-document.d.ts +1 -1
  48. package/dist/navigation/helpers/traverse-document.js +1 -1
  49. package/dist/navigation/helpers/traverse-paths.d.ts +1 -1
  50. package/dist/navigation/helpers/traverse-paths.js +1 -1
  51. package/dist/navigation/helpers/traverse-schemas.d.ts +1 -1
  52. package/dist/navigation/helpers/traverse-schemas.js +2 -2
  53. package/dist/navigation/helpers/traverse-tags.d.ts +1 -1
  54. package/dist/navigation/helpers/traverse-tags.js +2 -2
  55. package/dist/navigation/helpers/traverse-webhooks.d.ts +1 -1
  56. package/dist/navigation/helpers/traverse-webhooks.js +1 -1
  57. package/dist/navigation/helpers/update-order-ids.js +2 -2
  58. package/dist/navigation/helpers/utils.d.ts +1 -1
  59. package/dist/persistence/index.js +3 -3
  60. package/dist/persistence/migrations/v1-initial.d.ts +1 -1
  61. package/dist/persistence/migrations/v2-team-to-local.d.ts +1 -1
  62. package/dist/plugins/bundler/index.js +1 -1
  63. package/dist/request-example/builder/body/get-request-body-example.js +3 -3
  64. package/dist/request-example/builder/build-request.d.ts +2 -2
  65. package/dist/request-example/builder/build-request.js +5 -5
  66. package/dist/request-example/builder/header/build-request-parameters.js +1 -1
  67. package/dist/request-example/builder/header/is-param-disabled.js +1 -1
  68. package/dist/request-example/builder/helpers/get-resolved-url.js +1 -1
  69. package/dist/request-example/builder/request-factory.d.ts +3 -3
  70. package/dist/request-example/builder/request-factory.js +2 -2
  71. package/dist/request-example/builder/resolve-request-factory-url.d.ts +1 -1
  72. package/dist/request-example/builder/security/build-request-security.d.ts +1 -1
  73. package/dist/request-example/builder/security/secret-types.d.ts +1 -1
  74. package/dist/request-example/context/get-request-example-context.d.ts +4 -4
  75. package/dist/request-example/context/get-request-example-context.js +9 -9
  76. package/dist/request-example/context/headers.js +2 -2
  77. package/dist/request-example/context/security/extract-security-scheme-secrets.d.ts +1 -1
  78. package/dist/request-example/context/security/get-security-schemes.d.ts +2 -2
  79. package/dist/request-example/context/security/merge-security.d.ts +1 -1
  80. package/dist/request-example/context/security/merge-security.js +1 -1
  81. package/dist/request-example/variable-store/index.d.ts +1 -1
  82. package/dist/schemas/extensions/tag/x-tag-groups.d.ts +1 -1
  83. package/dist/schemas/extensions/tag/x-tag-groups.js +2 -2
  84. package/dist/schemas/inmemory-workspace.d.ts +1 -1
  85. package/dist/schemas/navigation.d.ts +5 -5
  86. package/dist/schemas/navigation.js +2 -2
  87. package/dist/schemas/reference-config/settings.d.ts +1 -1
  88. package/dist/schemas/reference-config/settings.js +1 -1
  89. package/dist/schemas/v3.1/strict/example.js +2 -2
  90. package/dist/schemas/v3.1/strict/header.js +1 -1
  91. package/dist/schemas/v3.1/strict/info.d.ts +2 -2
  92. package/dist/schemas/v3.1/strict/info.js +3 -3
  93. package/dist/schemas/v3.1/strict/link.js +1 -1
  94. package/dist/schemas/v3.1/strict/oauth-flow.d.ts +8 -8
  95. package/dist/schemas/v3.1/strict/oauth-flow.js +9 -9
  96. package/dist/schemas/v3.1/strict/oauthflows.d.ts +1 -1
  97. package/dist/schemas/v3.1/strict/oauthflows.js +1 -1
  98. package/dist/schemas/v3.1/strict/openapi-document.d.ts +17 -17
  99. package/dist/schemas/v3.1/strict/openapi-document.js +18 -18
  100. package/dist/schemas/v3.1/strict/operation.d.ts +10 -10
  101. package/dist/schemas/v3.1/strict/operation.js +11 -11
  102. package/dist/schemas/v3.1/strict/parameter.d.ts +6 -6
  103. package/dist/schemas/v3.1/strict/parameter.js +6 -6
  104. package/dist/schemas/v3.1/strict/reference.js +1 -1
  105. package/dist/schemas/v3.1/strict/request-body.d.ts +1 -1
  106. package/dist/schemas/v3.1/strict/request-body.js +2 -2
  107. package/dist/schemas/v3.1/strict/response.d.ts +2 -2
  108. package/dist/schemas/v3.1/strict/schema.d.ts +11 -11
  109. package/dist/schemas/v3.1/strict/schema.js +10 -10
  110. package/dist/schemas/v3.1/strict/security-scheme.d.ts +3 -3
  111. package/dist/schemas/v3.1/strict/security-scheme.js +4 -4
  112. package/dist/schemas/v3.1/strict/tag.d.ts +4 -4
  113. package/dist/schemas/v3.1/strict/tag.js +5 -5
  114. package/dist/schemas/v3.1/strict/type-guards.d.ts +2 -2
  115. package/dist/schemas/v3.2/openapi/index.js +43 -43
  116. package/dist/schemas/v3.2/strict/example.js +2 -2
  117. package/dist/schemas/v3.2/strict/header.js +1 -1
  118. package/dist/schemas/v3.2/strict/info.d.ts +2 -2
  119. package/dist/schemas/v3.2/strict/info.js +3 -3
  120. package/dist/schemas/v3.2/strict/link.js +1 -1
  121. package/dist/schemas/v3.2/strict/oauth-flow.d.ts +8 -8
  122. package/dist/schemas/v3.2/strict/oauth-flow.js +9 -9
  123. package/dist/schemas/v3.2/strict/openapi-document.d.ts +17 -17
  124. package/dist/schemas/v3.2/strict/openapi-document.js +18 -18
  125. package/dist/schemas/v3.2/strict/operation.d.ts +10 -10
  126. package/dist/schemas/v3.2/strict/operation.js +11 -11
  127. package/dist/schemas/v3.2/strict/parameter.d.ts +6 -6
  128. package/dist/schemas/v3.2/strict/parameter.js +6 -6
  129. package/dist/schemas/v3.2/strict/reference.js +1 -1
  130. package/dist/schemas/v3.2/strict/request-body.d.ts +1 -1
  131. package/dist/schemas/v3.2/strict/request-body.js +2 -2
  132. package/dist/schemas/v3.2/strict/response.d.ts +2 -2
  133. package/dist/schemas/v3.2/strict/schema.d.ts +11 -11
  134. package/dist/schemas/v3.2/strict/schema.js +10 -10
  135. package/dist/schemas/v3.2/strict/security-scheme.d.ts +3 -3
  136. package/dist/schemas/v3.2/strict/security-scheme.js +4 -4
  137. package/dist/schemas/v3.2/strict/tag.d.ts +4 -4
  138. package/dist/schemas/v3.2/strict/tag.js +5 -5
  139. package/dist/schemas/v3.2/strict/type-guards.d.ts +2 -2
  140. package/dist/schemas/workspace-specification/index.d.ts +3 -3
  141. package/dist/schemas/workspace-specification/index.js +3 -3
  142. package/dist/schemas/workspace.d.ts +7 -7
  143. package/dist/schemas/workspace.js +8 -8
  144. package/package.json +15 -15
@@ -2,7 +2,7 @@ import { escapeJsonPointer } from '@scalar/json-magic/helpers/escape-json-pointe
2
2
  import { forEachPathItemOperation, getPathItemOperationKey } from '../../helpers/for-each-path-item-operation.js';
3
3
  import { getResolvedRef, mergeSiblingReferences } from '../../helpers/get-resolved-ref.js';
4
4
  import { isHidden } from '../../helpers/is-hidden.js';
5
- import { traverseOperationExamples } from '../../navigation/helpers/traverse-examples.js';
5
+ import { traverseOperationExamples } from './traverse-examples.js';
6
6
  import { XScalarStabilityValues } from '../../schemas/extensions/operation/index.js';
7
7
  import { getNavigationTagNames } from './get-navigation-tag-names.js';
8
8
  import { getTag } from './get-tag.js';
@@ -1,4 +1,4 @@
1
- import type { TagsMap, TraverseSpecOptions } from '../../navigation/types.js';
1
+ import type { TagsMap, TraverseSpecOptions } from '../types.js';
2
2
  import type { TraversedSchema } from '../../schemas/navigation.js';
3
3
  import type { OpenApiDocument } from '../../schemas/v3.2/strict/openapi-document.js';
4
4
  /** Traverses the schemas in an OpenAPI document to build an array of model entries.
@@ -1,8 +1,8 @@
1
1
  import { isObject } from '@scalar/helpers/object/is-object';
2
2
  import { getResolvedRef, mergeSiblingReferences } from '../../helpers/get-resolved-ref.js';
3
3
  import { isHidden } from '../../helpers/is-hidden.js';
4
- import { getNavigationTagNames } from '../../navigation/helpers/get-navigation-tag-names.js';
5
- import { getTag } from '../../navigation/helpers/get-tag.js';
4
+ import { getNavigationTagNames } from './get-navigation-tag-names.js';
5
+ import { getTag } from './get-tag.js';
6
6
  /** Creates a traversed schema entry from an OpenAPI schema object.
7
7
  *
8
8
  * @param ref - JSON pointer reference to the schema in the OpenAPI document
@@ -1,4 +1,4 @@
1
- import type { TagsMap, TraverseSpecOptions } from '../../navigation/types.js';
1
+ import type { TagsMap, TraverseSpecOptions } from '../types.js';
2
2
  import type { TraversedEntry } from '../../schemas/navigation.js';
3
3
  import type { OpenApiDocument } from '../../schemas/v3.2/strict/openapi-document.js';
4
4
  type Options = Pick<TraverseSpecOptions, 'tagsSorter' | 'operationsSorter' | 'generateId'>;
@@ -2,8 +2,8 @@ import { sortByOrder } from '@scalar/helpers/array/sort-by-order';
2
2
  import { getTagKind } from '../../helpers/get-tag-kind.js';
3
3
  import { isHidden } from '../../helpers/is-hidden.js';
4
4
  import { unpackProxyObject } from '../../helpers/unpack-proxy.js';
5
- import { getTagExternalDocs } from '../../navigation/helpers/get-tag-external-docs.js';
6
- import { getXKeysFromObject } from '../../navigation/helpers/get-x-keys.js';
5
+ import { getTagExternalDocs } from './get-tag-external-docs.js';
6
+ import { getXKeysFromObject } from './get-x-keys.js';
7
7
  import { getTag } from './get-tag.js';
8
8
  /** Creates a traversed tag entry from an OpenAPI tag object.
9
9
  *
@@ -1,4 +1,4 @@
1
- import type { TagsMap, TraverseSpecOptions } from '../../navigation/types.js';
1
+ import type { TagsMap, TraverseSpecOptions } from '../types.js';
2
2
  import type { TraversedWebhook } from '../../schemas/navigation.js';
3
3
  import type { OpenApiDocument } from '../../schemas/v3.2/strict/openapi-document.js';
4
4
  /** Traverses the webhooks in an OpenAPI document to build an array of webhook entries.
@@ -1,7 +1,7 @@
1
1
  import { forEachPathItemOperation, getPathItemOperationKey } from '../../helpers/for-each-path-item-operation.js';
2
2
  import { getResolvedRef, mergeSiblingReferences } from '../../helpers/get-resolved-ref.js';
3
3
  import { isHidden } from '../../helpers/is-hidden.js';
4
- import { isDeprecatedOperation } from '../../navigation/helpers/traverse-paths.js';
4
+ import { isDeprecatedOperation } from './traverse-paths.js';
5
5
  import { getNavigationTagNames } from './get-navigation-tag-names.js';
6
6
  import { getTag } from './get-tag.js';
7
7
  /** Creates a traversed webhook entry from an OpenAPI webhook object.
@@ -1,5 +1,5 @@
1
- import { canHaveOrder, getOpenapiObject } from '../../navigation/helpers/get-openapi-object.js';
2
- import { getParentEntry } from '../../navigation/helpers/get-parent-entry.js';
1
+ import { canHaveOrder, getOpenapiObject } from './get-openapi-object.js';
2
+ import { getParentEntry } from './get-parent-entry.js';
3
3
  import { isOpenApiDocument } from '../../schemas/type-guards.js';
4
4
  /**
5
5
  * Updates the order ID of an entry (operation or tag) in the sidebar.
@@ -1,4 +1,4 @@
1
- import type { Heading } from '../../navigation/types.js';
1
+ import type { Heading } from '../types.js';
2
2
  /**
3
3
  * Extracts all headings from a Markdown string and adds URL-friendly slugs to each heading.
4
4
  * Uses GithubSlugger to generate consistent slugs that match GitHub's heading anchor format.
@@ -1,7 +1,7 @@
1
1
  import { Type } from '@scalar/typebox';
2
- import { createIndexDbConnection } from '../persistence/indexdb.js';
3
- import { v1InitialMigration } from '../persistence/migrations/v1-initial.js';
4
- import { v2TeamToLocalMigration } from '../persistence/migrations/v2-team-to-local.js';
2
+ import { createIndexDbConnection } from './indexdb.js';
3
+ import { v1InitialMigration } from './migrations/v1-initial.js';
4
+ import { v2TeamToLocalMigration } from './migrations/v2-team-to-local.js';
5
5
  /**
6
6
  * Generates a fresh `workspaceUid` for new workspaces.
7
7
  *
@@ -1,4 +1,4 @@
1
- import type { Migration } from '../../persistence/indexdb.js';
1
+ import type { Migration } from '../indexdb.js';
2
2
  /**
3
3
  * v1 — initial schema for the workspace store.
4
4
  *
@@ -1,4 +1,4 @@
1
- import type { Migration } from '../../persistence/indexdb.js';
1
+ import type { Migration } from '../indexdb.js';
2
2
  type WorkspaceRecordV1 = {
3
3
  name: string;
4
4
  /** Team UID at the time of save. Often missing for personal workspaces. */
@@ -9,7 +9,7 @@ import { isSchemaPath } from '@scalar/helpers/openapi/is-schema-path';
9
9
  import { resolveReferencePath } from '@scalar/json-magic/bundle';
10
10
  import { isLocalRef } from '../../helpers/general.js';
11
11
  import { syncParametersForPathChange, } from '../../mutators/operation/helpers/sync-path-parameters.js';
12
- import { getResolvedRef } from '../../plugins/bundler/helpers.js';
12
+ import { getResolvedRef } from './helpers.js';
13
13
  /**
14
14
  * A lifecycle plugin that adds a `$status` property to nodes during resolution.
15
15
  * - Sets `$status` to 'loading' when resolution starts.
@@ -4,9 +4,9 @@ import { getExampleValue } from '../../../helpers/get-example-value.js';
4
4
  import { getResolvedRef } from '../../../helpers/get-resolved-ref.js';
5
5
  import { serializeStreamExample } from '../../../helpers/serialize-stream-example.js';
6
6
  import { snapshotSchema } from '../../../helpers/snapshot-schema.js';
7
- import { getExample } from '../../../request-example/builder/helpers/get-example.js';
8
- import { getExampleFromSchema } from '../../../request-example/builder/helpers/get-example-from-schema.js';
9
- import { getXmlBodyExample } from '../../../request-example/xml/get-xml-body-example.js';
7
+ import { getExample } from '../helpers/get-example.js';
8
+ import { getExampleFromSchema } from '../helpers/get-example-from-schema.js';
9
+ import { getXmlBodyExample } from '../../xml/get-xml-body-example.js';
10
10
  /**
11
11
  * Generate a write-mode example directly from a request body's schema, ignoring any stored example.
12
12
  *
@@ -1,6 +1,6 @@
1
1
  import { type Result } from '@scalar/helpers/types/result';
2
- import type { RequestFactory } from '../../request-example/builder/request-factory.js';
3
- import { type ResolveRequestFactoryUrlError } from '../../request-example/builder/resolve-request-factory-url.js';
2
+ import type { RequestFactory } from './request-factory.js';
3
+ import { type ResolveRequestFactoryUrlError } from './resolve-request-factory-url.js';
4
4
  /**
5
5
  * The payload to build a request, useful when bypassing limitations of the browser Request object
6
6
  */
@@ -5,11 +5,11 @@ import { err, ok } from '@scalar/helpers/types/result';
5
5
  import { safeRun } from '@scalar/helpers/types/safe-run';
6
6
  import { redirectToProxy, shouldUseProxy } from '@scalar/helpers/url/redirect-to-proxy';
7
7
  import { encode as encodeBase64 } from 'js-base64';
8
- import { encodeMultipartBody } from '../../request-example/builder/body/encode-multipart-body.js';
9
- import { buildRequestCookieHeader } from '../../request-example/builder/header/build-request-cookie-header.js';
10
- import { applyAllowReservedToUrl } from '../../request-example/builder/helpers/apply-allow-reserved-to-url.js';
11
- import { resolveRequestFactoryUrl, } from '../../request-example/builder/resolve-request-factory-url.js';
12
- import { contextFunctions, isContextFunctionName } from '../../request-example/functions.js';
8
+ import { encodeMultipartBody } from './body/encode-multipart-body.js';
9
+ import { buildRequestCookieHeader } from './header/build-request-cookie-header.js';
10
+ import { applyAllowReservedToUrl } from './helpers/apply-allow-reserved-to-url.js';
11
+ import { resolveRequestFactoryUrl, } from './resolve-request-factory-url.js';
12
+ import { contextFunctions, isContextFunctionName } from '../functions.js';
13
13
  const FORBIDDEN_HEADERS = [
14
14
  { header: 'date', scalarHeader: X_SCALAR_DATE },
15
15
  { header: 'dnt', scalarHeader: X_SCALAR_DNT },
@@ -5,7 +5,7 @@ import { getResolvedRef } from '@scalar/workspace-store/helpers/get-resolved-ref
5
5
  import { xScalarCookieSchema, } from '@scalar/workspace-store/schemas/extensions/general/x-scalar-cookies';
6
6
  import { coerceValue } from '@scalar/workspace-store/schemas/typebox-coerce';
7
7
  import { getParameterExample } from '../../../helpers/get-parameter-example.js';
8
- import { deSerializeParameter } from '../../../request-example/builder/header/de-serialize-parameter.js';
8
+ import { deSerializeParameter } from './de-serialize-parameter.js';
9
9
  import { filterDisabledProperties } from './filter-disabled-properties.js';
10
10
  import { isParamDisabled } from './is-param-disabled.js';
11
11
  import { serializeContentValue, serializeCookieStyle, serializeDeepObjectStyle, serializeFormStyle, serializeFormStyleForCookies, serializePipeDelimitedStyle, serializeSimpleStyle, serializeSpaceDelimitedStyle, } from './serialize-parameter.js';
@@ -1,5 +1,5 @@
1
1
  import { getExampleValue } from '../../../helpers/get-example-value.js';
2
- import { isGeneratedExample } from '../../../request-example/builder/helpers/get-example.js';
2
+ import { isGeneratedExample } from '../helpers/get-example.js';
3
3
  /**
4
4
  * Determines if a parameter is disabled
5
5
  *
@@ -1,6 +1,6 @@
1
1
  import { replaceVariables } from '@scalar/helpers/regex/replace-variables';
2
2
  import { mergeUrls } from '@scalar/helpers/url/merge-urls';
3
- import { getServerVariables } from '../../../request-example/builder/helpers/get-server-variables.js';
3
+ import { getServerVariables } from './get-server-variables.js';
4
4
  /**
5
5
  * Resolves the full request URL by:
6
6
  * 1. Applying OpenAPI server variables to the server URL template.
@@ -4,9 +4,9 @@ import type { ServerObject } from '@scalar/workspace-store/schemas/v3.2/strict/o
4
4
  import type { OperationObject } from '@scalar/workspace-store/schemas/v3.2/strict/operation';
5
5
  import type { ReservedPathParameter } from '../../helpers/encode-path-parameter.js';
6
6
  import { type QuerystringParameter } from '../../helpers/querystring-parameter.js';
7
- import { type BuildRequestSecurityResult } from '../../request-example/builder/security/build-request-security.js';
8
- import type { SecuritySchemeObjectSecret } from '../../request-example/builder/security/secret-types.js';
9
- import type { RequestExampleMeta } from '../../request-example/types.js';
7
+ import { type BuildRequestSecurityResult } from './security/build-request-security.js';
8
+ import type { SecuritySchemeObjectSecret } from './security/secret-types.js';
9
+ import type { RequestExampleMeta } from '../types.js';
10
10
  import { type RequestBody } from './body/build-request-body.js';
11
11
  /**
12
12
  * RequestFactory
@@ -3,8 +3,8 @@ import { isHttpMethod } from '@scalar/helpers/http/is-http-method';
3
3
  import { replacePathVariables } from '@scalar/helpers/regex/replace-variables';
4
4
  import { getResolvedRef } from '@scalar/workspace-store/helpers/get-resolved-ref';
5
5
  import { getQuerystringParameter } from '../../helpers/querystring-parameter.js';
6
- import { getServerVariables } from '../../request-example/builder/helpers/get-server-variables.js';
7
- import { buildRequestSecurity, } from '../../request-example/builder/security/build-request-security.js';
6
+ import { getServerVariables } from './helpers/get-server-variables.js';
7
+ import { buildRequestSecurity, } from './security/build-request-security.js';
8
8
  import { filterDisabledDefaultHeaders } from '../context/headers.js';
9
9
  import { buildRequestBody } from './body/build-request-body.js';
10
10
  import { buildRequestParameters } from './header/build-request-parameters.js';
@@ -1,5 +1,5 @@
1
1
  import { type Result } from '@scalar/helpers/types/result';
2
- import type { RequestFactory } from '../../request-example/builder/request-factory.js';
2
+ import type { RequestFactory } from './request-factory.js';
3
3
  /**
4
4
  * Discriminated error code when the merged request URL is not a complete absolute target
5
5
  * (for example no OpenAPI server, or unresolved `{{environment}}` segments left in the merged URL).
@@ -1,4 +1,4 @@
1
- import type { SecuritySchemeObjectSecret } from '../../../request-example/builder/security/secret-types.js';
1
+ import type { SecuritySchemeObjectSecret } from './secret-types.js';
2
2
  /**
3
3
  * BuildRequestSecurityResult
4
4
  *
@@ -1,5 +1,5 @@
1
1
  import type { AuthSecretField } from '../../../helpers/auth-secret-fields.js';
2
- import type { EncryptionSchemeType, SaslSchemeType } from '../../../request-example/builder/security/broker-scheme-types.js';
2
+ import type { EncryptionSchemeType, SaslSchemeType } from './broker-scheme-types.js';
3
3
  import type { XScalarAuthUrl, XScalarCredentialsLocation, XScalarSecretClientCertificate, XScalarSecretClientId, XScalarSecretClientSecret, XScalarSecretHTTP, XScalarSecretPrivateKey, XScalarSecretRedirectUri, XScalarSecretRefreshToken, XScalarSecretServiceName, XScalarSecretToken, XScalarTokenUrl } from '../../../schemas/extensions/security/index.js';
4
4
  import type { OAuthFlowAuthorizationCode, OAuthFlowClientCredentials, OAuthFlowDeviceAuthorization, OAuthFlowImplicit, OAuthFlowPassword } from '../../../schemas/v3.2/strict/oauth-flow.js';
5
5
  import type { ApiKeyObject, HttpObject, MutualTlsObject, OAuth2Object, OpenIdConnectObject } from '../../../schemas/v3.2/strict/security-scheme.js';
@@ -2,10 +2,10 @@ import type { AuthenticationConfiguration } from '@scalar/types/api-reference';
2
2
  import type { WorkspaceStore } from '../../client.js';
3
3
  import type { SelectedSecurity } from '../../entities/auth/index.js';
4
4
  import type { AuthMeta, ServerMeta } from '../../events/index.js';
5
- import type { SecuritySchemeObjectSecret } from '../../request-example/builder/security/secret-types.js';
6
- import { type Layout } from '../../request-example/context/proxy.js';
7
- import { type MergedSecuritySchemes } from '../../request-example/context/security/merge-security.js';
8
- import type { RequestExampleMeta, Result } from '../../request-example/types.js';
5
+ import type { SecuritySchemeObjectSecret } from '../builder/security/secret-types.js';
6
+ import { type Layout } from './proxy.js';
7
+ import { type MergedSecuritySchemes } from './security/merge-security.js';
8
+ import type { RequestExampleMeta, Result } from '../types.js';
9
9
  import type { XScalarEnvironment } from '../../schemas/extensions/document/x-scalar-environments.js';
10
10
  import type { XScalarCookie } from '../../schemas/extensions/general/x-scalar-cookies.js';
11
11
  import type { OperationObject } from '../../schemas/v3.2/strict/operation.js';
@@ -1,14 +1,14 @@
1
1
  import { getPathItemOperation, getResolvedPathItem } from '../../helpers/for-each-path-item-operation.js';
2
2
  import { getResolvedRef } from '../../helpers/get-resolved-ref.js';
3
- import { getActiveEnvironment } from '../../request-example/context/environment.js';
4
- import { getDefaultHeaders } from '../../request-example/context/headers.js';
5
- import { combineParams } from '../../request-example/context/helpers/combine-params.js';
6
- import { getActiveProxyUrl } from '../../request-example/context/proxy.js';
7
- import { getSecurityRequirements } from '../../request-example/context/security/get-security-requirements.js';
8
- import { getSecuritySchemes } from '../../request-example/context/security/get-security-schemes.js';
9
- import { getSelectedSecurity } from '../../request-example/context/security/get-selected-security.js';
10
- import { mergeSecurity } from '../../request-example/context/security/merge-security.js';
11
- import { getSelectedServer, getServers } from '../../request-example/context/servers.js';
3
+ import { getActiveEnvironment } from './environment.js';
4
+ import { getDefaultHeaders } from './headers.js';
5
+ import { combineParams } from './helpers/combine-params.js';
6
+ import { getActiveProxyUrl } from './proxy.js';
7
+ import { getSecurityRequirements } from './security/get-security-requirements.js';
8
+ import { getSecuritySchemes } from './security/get-security-schemes.js';
9
+ import { getSelectedSecurity } from './security/get-selected-security.js';
10
+ import { mergeSecurity } from './security/merge-security.js';
11
+ import { getSelectedServer, getServers } from './servers.js';
12
12
  import { isOpenApiDocument } from '../../schemas/type-guards.js';
13
13
  export const getRequestExampleContext = (workspaceStore, documentName, requestExampleMeta, options = {}) => {
14
14
  const { path, method, exampleName, isWebhook = false } = requestExampleMeta;
@@ -1,7 +1,7 @@
1
1
  import { canMethodHaveBody } from '@scalar/helpers/http/can-method-have-body';
2
2
  import { getResolvedRef } from '@scalar/workspace-store/helpers/get-resolved-ref';
3
- import { isParamDisabled } from '../../request-example/builder/header/is-param-disabled.js';
4
- import { getExample } from '../../request-example/builder/helpers/get-example.js';
3
+ import { isParamDisabled } from '../builder/header/is-param-disabled.js';
4
+ import { getExample } from '../builder/helpers/get-example.js';
5
5
  /** Default Accept header value to accept all response types. */
6
6
  const DEFAULT_ACCEPT = '*/*';
7
7
  const CONVENTIONAL_DEFAULT_HEADER_NAMES = {
@@ -2,7 +2,7 @@ import type { SecurityScheme } from '@scalar/types/entities';
2
2
  import type { AuthStore } from '@scalar/workspace-store/entities/auth';
3
3
  import type { DeepPartial } from '@scalar/workspace-store/helpers/overrides-proxy';
4
4
  import type { SecuritySchemeObject } from '@scalar/workspace-store/schemas/v3.2/strict/openapi-document';
5
- import type { BrokerApiKeyObject, EncryptionObjectSecret, SaslObjectSecret, SecuritySchemeObjectSecret } from '../../../request-example/builder/security/secret-types.js';
5
+ import type { BrokerApiKeyObject, EncryptionObjectSecret, SaslObjectSecret, SecuritySchemeObjectSecret } from '../../builder/security/secret-types.js';
6
6
  /** A combined scheme that includes both the auth store secrets and a deep partial of the config auth */
7
7
  export type ConfigAuthScheme = SecuritySchemeObject & DeepPartial<SecurityScheme>;
8
8
  type BrokerSchemeType = SaslObjectSecret['type'] | EncryptionObjectSecret['type'] | 'X509' | 'gssapi';
@@ -1,5 +1,5 @@
1
- import type { SecuritySchemeObjectSecret } from '../../../request-example/builder/security/secret-types.js';
2
- import type { MergedSecuritySchemes } from '../../../request-example/context/security/merge-security.js';
1
+ import type { SecuritySchemeObjectSecret } from '../../builder/security/secret-types.js';
2
+ import type { MergedSecuritySchemes } from './merge-security.js';
3
3
  import type { SecurityRequirementObject } from '../../../schemas/v3.2/strict/security-requirement.js';
4
4
  /**
5
5
  * Get the selected security schemes from security requirements.
@@ -2,7 +2,7 @@ import type { AuthenticationConfiguration } from '@scalar/types/api-reference';
2
2
  import type { AsyncApiComponentsObject } from '@scalar/types/asyncapi/3.1';
3
3
  import type { AuthStore } from '@scalar/workspace-store/entities/auth';
4
4
  import { type ComponentsObject } from '@scalar/workspace-store/schemas/v3.2/strict/openapi-document';
5
- import type { SecuritySchemeObjectSecret } from '../../../request-example/builder/security/secret-types.js';
5
+ import type { SecuritySchemeObjectSecret } from '../../builder/security/secret-types.js';
6
6
  /** Document security merged with the config security schemes */
7
7
  export type MergedSecuritySchemes = Record<string, SecuritySchemeObjectSecret>;
8
8
  /**
@@ -6,7 +6,7 @@ import { getResolvedRef } from '@scalar/workspace-store/helpers/get-resolved-ref
6
6
  import { mergeObjects } from '@scalar/workspace-store/helpers/merge-object';
7
7
  import { coerceValue } from '@scalar/workspace-store/schemas/typebox-coerce';
8
8
  import { SecuritySchemeObjectSchema, } from '@scalar/workspace-store/schemas/v3.2/strict/openapi-document';
9
- import { isEncryptionSchemeType, isSaslSchemeType } from '../../../request-example/builder/security/broker-scheme-types.js';
9
+ import { isEncryptionSchemeType, isSaslSchemeType } from '../../builder/security/broker-scheme-types.js';
10
10
  import { extractSecuritySchemeSecrets } from './extract-security-scheme-secrets.js';
11
11
  import { usesApiKeyNameOverride } from './uses-api-key-name-override.js';
12
12
  const hasAvailableScopes = (flow) => {
@@ -1,4 +1,4 @@
1
- import type { VariablesStore } from '../../request-example/variable-store/types.js';
1
+ import type { VariablesStore } from './types.js';
2
2
  /**
3
3
  * Creates an in-memory VariablesStore for a single request execution,
4
4
  * managing environment, collection, global, and local variables in priority order.
@@ -1,4 +1,4 @@
1
- import { type XScalarOrder } from '../../../schemas/extensions/general/x-scalar-order.js';
1
+ import { type XScalarOrder } from '../general/x-scalar-order.js';
2
2
  export type XTagGroup = {
3
3
  /**
4
4
  * The group name.
@@ -1,7 +1,7 @@
1
1
  import { Type } from '@scalar/typebox';
2
2
  import { array, intersection, object, optional, string } from '@scalar/validation';
3
- import { compose } from '../../../schemas/compose.js';
4
- import { XScalarOrder as XScalarOrderFields, XScalarOrderSchema, } from '../../../schemas/extensions/general/x-scalar-order.js';
3
+ import { compose } from '../../compose.js';
4
+ import { XScalarOrder as XScalarOrderFields, XScalarOrderSchema, } from '../general/x-scalar-order.js';
5
5
  const XTagGroupSchema = compose(Type.Object({
6
6
  /**
7
7
  * The group name.
@@ -1,6 +1,6 @@
1
1
  import type { DocumentAuth } from '../entities/auth/schema.js';
2
2
  import type { DocumentHistory } from '../entities/history/schema.js';
3
- import type { WorkspaceDocument, WorkspaceExtensions, WorkspaceMeta } from '../schemas/workspace.js';
3
+ import type { WorkspaceDocument, WorkspaceExtensions, WorkspaceMeta } from './workspace.js';
4
4
  export type InMemoryWorkspace = {
5
5
  meta: WorkspaceMeta & WorkspaceExtensions;
6
6
  documents: Record<string, WorkspaceDocument>;
@@ -1,11 +1,11 @@
1
1
  import type { HttpMethod } from '@scalar/helpers/http/http-methods';
2
2
  import type { AsyncApiInfoObject } from '@scalar/types/asyncapi/3.1';
3
3
  import type { LiteralUnion } from 'type-fest';
4
- import type { ExternalDocumentationObject } from '../schemas/v3.2/strict/external-documentation.js';
5
- import type { InfoObject } from '../schemas/v3.2/strict/info.js';
6
- import type { OperationObject } from '../schemas/v3.2/strict/operation.js';
7
- import type { SchemaObject } from '../schemas/v3.2/strict/schema.js';
8
- import type { TagObject } from '../schemas/v3.2/strict/tag.js';
4
+ import type { ExternalDocumentationObject } from './v3.2/strict/external-documentation.js';
5
+ import type { InfoObject } from './v3.2/strict/info.js';
6
+ import type { OperationObject } from './v3.2/strict/operation.js';
7
+ import type { SchemaObject } from './v3.2/strict/schema.js';
8
+ import type { TagObject } from './v3.2/strict/tag.js';
9
9
  /**
10
10
  * An operation method, including document-defined extension methods.
11
11
  * Known methods retain editor completion; the open string branch still requires
@@ -1,6 +1,6 @@
1
1
  import { Type } from '@scalar/typebox';
2
- import { compose } from '../schemas/compose.js';
3
- import { ExternalDocumentationObjectRef, TraversedEntryObjectRef } from '../schemas/v3.2/strict/ref-definitions.js';
2
+ import { compose } from './compose.js';
3
+ import { ExternalDocumentationObjectRef, TraversedEntryObjectRef } from './v3.2/strict/ref-definitions.js';
4
4
  export const NavigationBaseSchemaDefinition = Type.Object({
5
5
  id: Type.String(),
6
6
  title: Type.String(),
@@ -1,5 +1,5 @@
1
1
  import type { RequiredDeep } from 'type-fest';
2
- import type { ServerObject } from '../../schemas/v3.2/strict/server.js';
2
+ import type { ServerObject } from '../v3.2/strict/server.js';
3
3
  export declare const SettingsSchema: import("@scalar/typebox").TObject<{
4
4
  proxyUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
5
5
  searchKey: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -1,5 +1,5 @@
1
1
  import { Type } from '@scalar/typebox';
2
- import { ServerObjectSchema } from '../../schemas/v3.2/strict/openapi-document.js';
2
+ import { ServerObjectSchema } from '../v3.2/strict/openapi-document.js';
3
3
  export const SettingsSchema = Type.Partial(Type.Object({
4
4
  /** Custom proxy configuration */
5
5
  proxyUrl: Type.String(),
@@ -1,6 +1,6 @@
1
1
  import { Type } from '@scalar/typebox';
2
- import { compose } from '../../../schemas/compose.js';
3
- import { XDisabledSchema } from '../../../schemas/extensions/example/x-disabled.js';
2
+ import { compose } from '../../compose.js';
3
+ import { XDisabledSchema } from '../../extensions/example/x-disabled.js';
4
4
  /**
5
5
  * An object grouping an internal or external example value with basic summary and description metadata. This object is typically used in fields named examples (plural), and is a referenceable alternative to older example (singular) fields that do not support referencing or metadata.
6
6
  *
@@ -1,5 +1,5 @@
1
1
  import { Type } from '@scalar/typebox';
2
- import { compose } from '../../../schemas/compose.js';
2
+ import { compose } from '../../compose.js';
3
3
  import { ExampleObjectRef, MediaTypeObjectRef, SchemaObjectRef } from './ref-definitions.js';
4
4
  import { reference } from './reference.js';
5
5
  const HeaderObjectSchemaBase = Type.Object({
@@ -1,5 +1,5 @@
1
- import { type XScalarLinks } from '../../../schemas/extensions/document/x-scalar-links.js';
2
- import { type XScalarSdkInstallation } from '../../../schemas/extensions/document/x-scalar-sdk-installation.js';
1
+ import { type XScalarLinks } from '../../extensions/document/x-scalar-links.js';
2
+ import { type XScalarSdkInstallation } from '../../extensions/document/x-scalar-sdk-installation.js';
3
3
  import type { ContactObject } from './contact.js';
4
4
  import type { LicenseObject } from './license.js';
5
5
  /**
@@ -1,7 +1,7 @@
1
1
  import { Type } from '@scalar/typebox';
2
- import { compose } from '../../../schemas/compose.js';
3
- import { XScalarLinksSchema } from '../../../schemas/extensions/document/x-scalar-links.js';
4
- import { XScalarSdkInstallationSchema, } from '../../../schemas/extensions/document/x-scalar-sdk-installation.js';
2
+ import { compose } from '../../compose.js';
3
+ import { XScalarLinksSchema } from '../../extensions/document/x-scalar-links.js';
4
+ import { XScalarSdkInstallationSchema, } from '../../extensions/document/x-scalar-sdk-installation.js';
5
5
  import { ContactObjectRef, LicenseObjectRef } from './ref-definitions.js';
6
6
  /**
7
7
  * The object provides metadata about the API. The metadata MAY be used by the clients if needed, and MAY be presented in editing or documentation generation tools for convenience.
@@ -1,5 +1,5 @@
1
1
  import { Type } from '@scalar/typebox';
2
- import { ServerObjectRef } from '../../../schemas/v3.1/strict/ref-definitions.js';
2
+ import { ServerObjectRef } from './ref-definitions.js';
3
3
  /**
4
4
  * The Link Object represents a possible design-time link for a response. The presence of a link does not guarantee the caller's ability to successfully invoke it, rather it provides a known relationship and traversal mechanism between responses and other operations.
5
5
  *
@@ -1,11 +1,11 @@
1
- import { type XScalarIgnore } from '../../../schemas/extensions/document/x-scalar-ignore.js';
2
- import { type XOrder } from '../../../schemas/extensions/schema/x-order.js';
3
- import { type XScalarCredentialsLocation } from '../../../schemas/extensions/security/x-scalar-credentials-location.js';
4
- import { type XScalarSecurityBody } from '../../../schemas/extensions/security/x-scalar-security-body.js';
5
- import { type XScalarSecurityQuery } from '../../../schemas/extensions/security/x-scalar-security-query.js';
6
- import { type XScalarAuthUrl, type XScalarTokenUrl } from '../../../schemas/extensions/security/x-scalar-security-secrets.js';
7
- import { type XTokenName } from '../../../schemas/extensions/security/x-tokenName.js';
8
- import { type XusePkce } from '../../../schemas/extensions/security/x-use-pkce.js';
1
+ import { type XScalarIgnore } from '../../extensions/document/x-scalar-ignore.js';
2
+ import { type XOrder } from '../../extensions/schema/x-order.js';
3
+ import { type XScalarCredentialsLocation } from '../../extensions/security/x-scalar-credentials-location.js';
4
+ import { type XScalarSecurityBody } from '../../extensions/security/x-scalar-security-body.js';
5
+ import { type XScalarSecurityQuery } from '../../extensions/security/x-scalar-security-query.js';
6
+ import { type XScalarAuthUrl, type XScalarTokenUrl } from '../../extensions/security/x-scalar-security-secrets.js';
7
+ import { type XTokenName } from '../../extensions/security/x-tokenName.js';
8
+ import { type XusePkce } from '../../extensions/security/x-use-pkce.js';
9
9
  /** Common properties used across all OAuth flows */
10
10
  type OAuthFlowCommon = {
11
11
  /** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
@@ -1,13 +1,13 @@
1
1
  import { Type } from '@scalar/typebox';
2
- import { compose } from '../../../schemas/compose.js';
3
- import { XScalarIgnoreSchema } from '../../../schemas/extensions/document/x-scalar-ignore.js';
4
- import { XOrderSchema } from '../../../schemas/extensions/schema/x-order.js';
5
- import { XScalarCredentialsLocationSchema, } from '../../../schemas/extensions/security/x-scalar-credentials-location.js';
6
- import { XScalarSecurityBodySchema, } from '../../../schemas/extensions/security/x-scalar-security-body.js';
7
- import { XScalarSecurityQuerySchema, } from '../../../schemas/extensions/security/x-scalar-security-query.js';
8
- import { XScalarAuthUrlSchema, XScalarTokenUrlSchema, } from '../../../schemas/extensions/security/x-scalar-security-secrets.js';
9
- import { XTokenNameSchema } from '../../../schemas/extensions/security/x-tokenName.js';
10
- import { XusePkceSchema } from '../../../schemas/extensions/security/x-use-pkce.js';
2
+ import { compose } from '../../compose.js';
3
+ import { XScalarIgnoreSchema } from '../../extensions/document/x-scalar-ignore.js';
4
+ import { XOrderSchema } from '../../extensions/schema/x-order.js';
5
+ import { XScalarCredentialsLocationSchema, } from '../../extensions/security/x-scalar-credentials-location.js';
6
+ import { XScalarSecurityBodySchema, } from '../../extensions/security/x-scalar-security-body.js';
7
+ import { XScalarSecurityQuerySchema, } from '../../extensions/security/x-scalar-security-query.js';
8
+ import { XScalarAuthUrlSchema, XScalarTokenUrlSchema, } from '../../extensions/security/x-scalar-security-secrets.js';
9
+ import { XTokenNameSchema } from '../../extensions/security/x-tokenName.js';
10
+ import { XusePkceSchema } from '../../extensions/security/x-use-pkce.js';
11
11
  /** Common properties used across all OAuth flows */
12
12
  const OAuthFlowCommonSchema = compose(Type.Object({
13
13
  /** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
@@ -1,4 +1,4 @@
1
- import { type OAuthFlowDeviceAuthorization } from '../../../schemas/v3.2/strict/oauth-flow.js';
1
+ import { type OAuthFlowDeviceAuthorization } from '../../v3.2/strict/oauth-flow.js';
2
2
  import { type OAuthFlowAuthorizationCode, type OAuthFlowClientCredentials, type OAuthFlowImplicit, type OAuthFlowPassword } from './oauth-flow.js';
3
3
  /**
4
4
  * Allows configuration of the supported OAuth Flows.
@@ -1,5 +1,5 @@
1
1
  import { Type } from '@scalar/typebox';
2
- import { OAuthFlowDeviceAuthorizationSchema } from '../../../schemas/v3.2/strict/oauth-flow.js';
2
+ import { OAuthFlowDeviceAuthorizationSchema } from '../../v3.2/strict/oauth-flow.js';
3
3
  import { OAuthFlowAuthorizationCodeSchema, OAuthFlowClientCredentialsSchema, OAuthFlowImplicitSchema, OAuthFlowPasswordSchema, } from './oauth-flow.js';
4
4
  /**
5
5
  * Allows configuration of the supported OAuth Flows.
@@ -1,20 +1,20 @@
1
- import { extensions } from '../../../schemas/extensions.js';
2
- import { type XScalarDefaultRequestBodyView } from '../../../schemas/extensions/document/x-scalar-default-request-body-view.js';
3
- import { type XScalarEnvironments } from '../../../schemas/extensions/document/x-scalar-environments.js';
4
- import { type XScalarIcon } from '../../../schemas/extensions/document/x-scalar-icon.js';
5
- import { type XScalarIsDirty } from '../../../schemas/extensions/document/x-scalar-is-dirty.js';
6
- import { type XScalarOriginalDocumentHash } from '../../../schemas/extensions/document/x-scalar-original-document-hash.js';
7
- import { type XScalarOriginalSourceUrl } from '../../../schemas/extensions/document/x-scalar-original-source-url.js';
8
- import { type XScalarRegistryMeta } from '../../../schemas/extensions/document/x-scalar-registry-meta.js';
9
- import { type XScalarWatchMode } from '../../../schemas/extensions/document/x-scalar-watch-mode.js';
10
- import { type XPostResponse } from '../../../schemas/extensions/general/x-post-response.js';
11
- import { type XPreRequest } from '../../../schemas/extensions/general/x-pre-request.js';
12
- import { type XScalarActiveEnvironment } from '../../../schemas/extensions/general/x-scalar-active-environment.js';
13
- import { type XScalarCookies } from '../../../schemas/extensions/general/x-scalar-cookies.js';
14
- import { type XScalarOrder } from '../../../schemas/extensions/general/x-scalar-order.js';
15
- import { type XScalarSelectedServer } from '../../../schemas/extensions/server/x-scalar-selected-server.js';
16
- import { type XTagGroups } from '../../../schemas/extensions/tag/x-tag-groups.js';
17
- import { type TraversedDocument } from '../../../schemas/navigation.js';
1
+ import { extensions } from '../../extensions.js';
2
+ import { type XScalarDefaultRequestBodyView } from '../../extensions/document/x-scalar-default-request-body-view.js';
3
+ import { type XScalarEnvironments } from '../../extensions/document/x-scalar-environments.js';
4
+ import { type XScalarIcon } from '../../extensions/document/x-scalar-icon.js';
5
+ import { type XScalarIsDirty } from '../../extensions/document/x-scalar-is-dirty.js';
6
+ import { type XScalarOriginalDocumentHash } from '../../extensions/document/x-scalar-original-document-hash.js';
7
+ import { type XScalarOriginalSourceUrl } from '../../extensions/document/x-scalar-original-source-url.js';
8
+ import { type XScalarRegistryMeta } from '../../extensions/document/x-scalar-registry-meta.js';
9
+ import { type XScalarWatchMode } from '../../extensions/document/x-scalar-watch-mode.js';
10
+ import { type XPostResponse } from '../../extensions/general/x-post-response.js';
11
+ import { type XPreRequest } from '../../extensions/general/x-pre-request.js';
12
+ import { type XScalarActiveEnvironment } from '../../extensions/general/x-scalar-active-environment.js';
13
+ import { type XScalarCookies } from '../../extensions/general/x-scalar-cookies.js';
14
+ import { type XScalarOrder } from '../../extensions/general/x-scalar-order.js';
15
+ import { type XScalarSelectedServer } from '../../extensions/server/x-scalar-selected-server.js';
16
+ import { type XTagGroups } from '../../extensions/tag/x-tag-groups.js';
17
+ import { type TraversedDocument } from '../../navigation.js';
18
18
  import { type ComponentsObject } from './components.js';
19
19
  import { type ExternalDocumentationObject } from './external-documentation.js';
20
20
  import { type InfoObject } from './info.js';