@scalar/workspace-store 0.20.0 → 0.21.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.
Files changed (174) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +2 -2
  3. package/dist/client.d.ts +40 -4
  4. package/dist/client.d.ts.map +1 -1
  5. package/dist/client.js +58 -23
  6. package/dist/client.js.map +2 -2
  7. package/dist/events/bus.d.ts +13 -1
  8. package/dist/events/bus.d.ts.map +1 -1
  9. package/dist/events/bus.js +46 -10
  10. package/dist/events/bus.js.map +3 -3
  11. package/dist/events/definitions/cookie.d.ts +20 -0
  12. package/dist/events/definitions/cookie.d.ts.map +1 -0
  13. package/dist/events/definitions/cookie.js +1 -0
  14. package/dist/events/definitions/cookie.js.map +7 -0
  15. package/dist/events/definitions/document.d.ts +8 -2
  16. package/dist/events/definitions/document.d.ts.map +1 -1
  17. package/dist/events/definitions/index.d.ts +4 -1
  18. package/dist/events/definitions/index.d.ts.map +1 -1
  19. package/dist/events/definitions/operation.d.ts +0 -13
  20. package/dist/events/definitions/operation.d.ts.map +1 -1
  21. package/dist/events/definitions/server.d.ts +2 -2
  22. package/dist/events/definitions/server.d.ts.map +1 -1
  23. package/dist/events/definitions/tabs.d.ts +40 -0
  24. package/dist/events/definitions/tabs.d.ts.map +1 -0
  25. package/dist/events/definitions/tabs.js +1 -0
  26. package/dist/events/definitions/tabs.js.map +7 -0
  27. package/dist/events/definitions/ui.d.ts +39 -4
  28. package/dist/events/definitions/ui.d.ts.map +1 -1
  29. package/dist/events/definitions/workspace.d.ts +18 -0
  30. package/dist/events/definitions/workspace.d.ts.map +1 -0
  31. package/dist/events/definitions/workspace.js +1 -0
  32. package/dist/events/definitions/workspace.js.map +7 -0
  33. package/dist/helpers/generate-unique-value.d.ts +19 -6
  34. package/dist/helpers/generate-unique-value.d.ts.map +1 -1
  35. package/dist/helpers/generate-unique-value.js +12 -7
  36. package/dist/helpers/generate-unique-value.js.map +2 -2
  37. package/dist/helpers/unpack-proxy.d.ts +14 -1
  38. package/dist/helpers/unpack-proxy.d.ts.map +1 -1
  39. package/dist/helpers/unpack-proxy.js +51 -1
  40. package/dist/helpers/unpack-proxy.js.map +3 -3
  41. package/dist/mutators/auth.d.ts +1 -1
  42. package/dist/mutators/auth.d.ts.map +1 -1
  43. package/dist/mutators/auth.js +24 -21
  44. package/dist/mutators/auth.js.map +2 -2
  45. package/dist/mutators/cookie.d.ts +21 -13
  46. package/dist/mutators/cookie.d.ts.map +1 -1
  47. package/dist/mutators/cookie.js +34 -26
  48. package/dist/mutators/cookie.js.map +3 -3
  49. package/dist/mutators/document.d.ts +9 -2
  50. package/dist/mutators/document.d.ts.map +1 -1
  51. package/dist/mutators/document.js +18 -3
  52. package/dist/mutators/document.js.map +2 -2
  53. package/dist/mutators/index.d.ts +4 -14
  54. package/dist/mutators/index.d.ts.map +1 -1
  55. package/dist/mutators/index.js +15 -9
  56. package/dist/mutators/index.js.map +2 -2
  57. package/dist/mutators/operation.d.ts +23 -101
  58. package/dist/mutators/operation.d.ts.map +1 -1
  59. package/dist/mutators/operation.js +132 -96
  60. package/dist/mutators/operation.js.map +2 -2
  61. package/dist/mutators/server.d.ts +1 -1
  62. package/dist/mutators/server.d.ts.map +1 -1
  63. package/dist/mutators/server.js +6 -5
  64. package/dist/mutators/server.js.map +2 -2
  65. package/dist/mutators/workspace.d.ts +6 -0
  66. package/dist/mutators/workspace.d.ts.map +1 -0
  67. package/dist/mutators/workspace.js +24 -0
  68. package/dist/mutators/workspace.js.map +7 -0
  69. package/dist/navigation/get-navigation-options.d.ts.map +1 -1
  70. package/dist/navigation/get-navigation-options.js +4 -4
  71. package/dist/navigation/get-navigation-options.js.map +2 -2
  72. package/dist/navigation/helpers/traverse-document.d.ts +1 -0
  73. package/dist/navigation/helpers/traverse-document.d.ts.map +1 -1
  74. package/dist/navigation/helpers/traverse-document.js +16 -2
  75. package/dist/navigation/helpers/traverse-document.js.map +2 -2
  76. package/dist/navigation/helpers/traverse-examples.js +2 -2
  77. package/dist/navigation/helpers/traverse-examples.js.map +2 -2
  78. package/dist/navigation/helpers/traverse-paths.d.ts +6 -3
  79. package/dist/navigation/helpers/traverse-paths.d.ts.map +1 -1
  80. package/dist/navigation/helpers/traverse-paths.js +4 -9
  81. package/dist/navigation/helpers/traverse-paths.js.map +2 -2
  82. package/dist/navigation/helpers/traverse-tags.d.ts +0 -1
  83. package/dist/navigation/helpers/traverse-tags.d.ts.map +1 -1
  84. package/dist/navigation/helpers/traverse-tags.js +57 -49
  85. package/dist/navigation/helpers/traverse-tags.js.map +3 -3
  86. package/dist/persistence/index.d.ts +6 -0
  87. package/dist/persistence/index.d.ts.map +1 -1
  88. package/dist/persistence/index.js +18 -0
  89. package/dist/persistence/index.js.map +2 -2
  90. package/dist/persistence/indexdb.d.ts +1 -0
  91. package/dist/persistence/indexdb.d.ts.map +1 -1
  92. package/dist/persistence/indexdb.js +6 -1
  93. package/dist/persistence/indexdb.js.map +2 -2
  94. package/dist/plugins/client/persistence.d.ts.map +1 -1
  95. package/dist/plugins/client/persistence.js +6 -0
  96. package/dist/plugins/client/persistence.js.map +2 -2
  97. package/dist/schemas/extensions/document/x-scalar-environments.d.ts +1 -0
  98. package/dist/schemas/extensions/document/x-scalar-environments.d.ts.map +1 -1
  99. package/dist/schemas/extensions/document/x-scalar-environments.js.map +2 -2
  100. package/dist/schemas/extensions/document/x-scalar-set-operation-security.d.ts +13 -0
  101. package/dist/schemas/extensions/document/x-scalar-set-operation-security.d.ts.map +1 -0
  102. package/dist/schemas/extensions/document/x-scalar-set-operation-security.js +8 -0
  103. package/dist/schemas/extensions/document/x-scalar-set-operation-security.js.map +7 -0
  104. package/dist/schemas/extensions/general/x-scalar-cookies.d.ts +36 -0
  105. package/dist/schemas/extensions/general/x-scalar-cookies.d.ts.map +1 -0
  106. package/dist/schemas/extensions/general/x-scalar-cookies.js +15 -0
  107. package/dist/schemas/extensions/general/x-scalar-cookies.js.map +7 -0
  108. package/dist/schemas/extensions/general/x-scalar-order.d.ts +12 -0
  109. package/dist/schemas/extensions/general/x-scalar-order.d.ts.map +1 -0
  110. package/dist/schemas/extensions/general/x-scalar-order.js +8 -0
  111. package/dist/schemas/extensions/general/x-scalar-order.js.map +7 -0
  112. package/dist/schemas/extensions/tag/x-tag-groups.d.ts +10 -5
  113. package/dist/schemas/extensions/tag/x-tag-groups.d.ts.map +1 -1
  114. package/dist/schemas/extensions/tag/x-tag-groups.js +15 -10
  115. package/dist/schemas/extensions/tag/x-tag-groups.js.map +2 -2
  116. package/dist/schemas/extensions/workspace/x-scalar-active-proxy.d.ts +18 -0
  117. package/dist/schemas/extensions/workspace/x-scalar-active-proxy.d.ts.map +1 -0
  118. package/dist/schemas/extensions/workspace/x-scalar-active-proxy.js +8 -0
  119. package/dist/schemas/extensions/workspace/x-scalar-active-proxy.js.map +7 -0
  120. package/dist/schemas/extensions.d.ts +1 -1
  121. package/dist/schemas/extensions.js +1 -1
  122. package/dist/schemas/extensions.js.map +2 -2
  123. package/dist/schemas/inmemory-workspace.d.ts +41 -27
  124. package/dist/schemas/inmemory-workspace.d.ts.map +1 -1
  125. package/dist/schemas/navigation.d.ts +4 -1
  126. package/dist/schemas/navigation.d.ts.map +1 -1
  127. package/dist/schemas/navigation.js +2 -1
  128. package/dist/schemas/navigation.js.map +2 -2
  129. package/dist/schemas/reference-config/index.d.ts +20 -13
  130. package/dist/schemas/reference-config/index.d.ts.map +1 -1
  131. package/dist/schemas/reference-config/settings.d.ts +20 -13
  132. package/dist/schemas/reference-config/settings.d.ts.map +1 -1
  133. package/dist/schemas/reference-config/settings.js +2 -0
  134. package/dist/schemas/reference-config/settings.js.map +2 -2
  135. package/dist/schemas/v3.1/strict/openapi-document.d.ts +685 -448
  136. package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
  137. package/dist/schemas/v3.1/strict/openapi-document.js +10 -10
  138. package/dist/schemas/v3.1/strict/openapi-document.js.map +2 -2
  139. package/dist/schemas/v3.1/strict/operation.d.ts +1 -5
  140. package/dist/schemas/v3.1/strict/operation.d.ts.map +1 -1
  141. package/dist/schemas/v3.1/strict/operation.js +1 -5
  142. package/dist/schemas/v3.1/strict/operation.js.map +2 -2
  143. package/dist/schemas/v3.1/strict/tag.d.ts +4 -1
  144. package/dist/schemas/v3.1/strict/tag.d.ts.map +1 -1
  145. package/dist/schemas/v3.1/strict/tag.js +3 -1
  146. package/dist/schemas/v3.1/strict/tag.js.map +2 -2
  147. package/dist/schemas/v3.1/strict/type-guards.d.ts +6 -0
  148. package/dist/schemas/v3.1/strict/type-guards.d.ts.map +1 -1
  149. package/dist/schemas/v3.1/strict/type-guards.js +4 -0
  150. package/dist/schemas/v3.1/strict/type-guards.js.map +2 -2
  151. package/dist/schemas/workspace-specification/config.d.ts +20 -13
  152. package/dist/schemas/workspace-specification/config.d.ts.map +1 -1
  153. package/dist/schemas/workspace-specification/index.d.ts +21 -14
  154. package/dist/schemas/workspace-specification/index.d.ts.map +1 -1
  155. package/dist/schemas/workspace.d.ts +170 -109
  156. package/dist/schemas/workspace.d.ts.map +1 -1
  157. package/dist/schemas/workspace.js +8 -6
  158. package/dist/schemas/workspace.js.map +2 -2
  159. package/dist/server.d.ts +1 -1
  160. package/dist/workspace-plugin.d.ts +3 -0
  161. package/dist/workspace-plugin.d.ts.map +1 -1
  162. package/package.json +8 -7
  163. package/dist/schemas/extensions/document/x-scalar-document-security.d.ts +0 -13
  164. package/dist/schemas/extensions/document/x-scalar-document-security.d.ts.map +0 -1
  165. package/dist/schemas/extensions/document/x-scalar-document-security.js +0 -8
  166. package/dist/schemas/extensions/document/x-scalar-document-security.js.map +0 -7
  167. package/dist/schemas/extensions/operation/x-scalar-operation-identifiers.d.ts +0 -13
  168. package/dist/schemas/extensions/operation/x-scalar-operation-identifiers.d.ts.map +0 -1
  169. package/dist/schemas/extensions/operation/x-scalar-operation-identifiers.js +0 -9
  170. package/dist/schemas/extensions/operation/x-scalar-operation-identifiers.js.map +0 -7
  171. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts +0 -32
  172. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts.map +0 -1
  173. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.js +0 -13
  174. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.js.map +0 -7
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/extensions/document/x-scalar-environments.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nexport const xScalarEnvVarSchema = Type.Object({\n name: Type.String(),\n value: Type.Union([\n Type.Object({\n description: Type.Optional(Type.String()),\n default: Type.String({ default: '' }),\n }),\n Type.String(),\n ]),\n})\n\n/** A scalar environment variable */\nexport type XScalarEnvVar = {\n name: string\n value:\n | {\n description?: string\n default: string\n }\n | string\n}\n\nexport const xScalarEnvironmentSchema = Type.Object({\n description: Type.Optional(Type.String()),\n color: Type.String({ default: '#FFFFFF' }),\n variables: Type.Array(xScalarEnvVarSchema),\n})\n\nexport type XScalarEnvironment = {\n /** Optional description for the environment */\n description?: string\n /** Color for the environment */\n color: string\n /** An array of variables */\n variables: XScalarEnvVar[]\n}\n\nexport const xScalarEnvironmentsSchema = Type.Object({\n 'x-scalar-environments': Type.Optional(Type.Record(Type.String(), xScalarEnvironmentSchema)),\n})\n\nexport type XScalarEnvironments = {\n /** A record of environments by name */\n 'x-scalar-environments'?: Record<string, XScalarEnvironment>\n}\n"],
5
- "mappings": "AAAA,SAAS,YAAY;AAEd,MAAM,sBAAsB,KAAK,OAAO;AAAA,EAC7C,MAAM,KAAK,OAAO;AAAA,EAClB,OAAO,KAAK,MAAM;AAAA,IAChB,KAAK,OAAO;AAAA,MACV,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,MACxC,SAAS,KAAK,OAAO,EAAE,SAAS,GAAG,CAAC;AAAA,IACtC,CAAC;AAAA,IACD,KAAK,OAAO;AAAA,EACd,CAAC;AACH,CAAC;AAaM,MAAM,2BAA2B,KAAK,OAAO;AAAA,EAClD,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EACxC,OAAO,KAAK,OAAO,EAAE,SAAS,UAAU,CAAC;AAAA,EACzC,WAAW,KAAK,MAAM,mBAAmB;AAC3C,CAAC;AAWM,MAAM,4BAA4B,KAAK,OAAO;AAAA,EACnD,yBAAyB,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,wBAAwB,CAAC;AAC7F,CAAC;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nexport const xScalarEnvVarSchema = Type.Object({\n name: Type.String(),\n value: Type.Union([\n Type.Object({\n description: Type.Optional(Type.String()),\n default: Type.String({ default: '' }),\n }),\n Type.String(),\n ]),\n})\n\n/** A scalar environment variable */\nexport type XScalarEnvVar = {\n name: string\n value:\n | {\n description?: string\n default: string\n }\n | string\n}\n\nexport const xScalarEnvironmentSchema = Type.Object({\n description: Type.Optional(Type.String()),\n color: Type.String({ default: '#FFFFFF' }),\n variables: Type.Array(xScalarEnvVarSchema),\n})\n\n/** An environment definition */\nexport type XScalarEnvironment = {\n /** Optional description for the environment */\n description?: string\n /** Color for the environment */\n color: string\n /** An array of variables */\n variables: XScalarEnvVar[]\n}\n\nexport const xScalarEnvironmentsSchema = Type.Object({\n 'x-scalar-environments': Type.Optional(Type.Record(Type.String(), xScalarEnvironmentSchema)),\n})\n\nexport type XScalarEnvironments = {\n /** A record of environments by name */\n 'x-scalar-environments'?: Record<string, XScalarEnvironment>\n}\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAEd,MAAM,sBAAsB,KAAK,OAAO;AAAA,EAC7C,MAAM,KAAK,OAAO;AAAA,EAClB,OAAO,KAAK,MAAM;AAAA,IAChB,KAAK,OAAO;AAAA,MACV,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,MACxC,SAAS,KAAK,OAAO,EAAE,SAAS,GAAG,CAAC;AAAA,IACtC,CAAC;AAAA,IACD,KAAK,OAAO;AAAA,EACd,CAAC;AACH,CAAC;AAaM,MAAM,2BAA2B,KAAK,OAAO;AAAA,EAClD,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EACxC,OAAO,KAAK,OAAO,EAAE,SAAS,UAAU,CAAC;AAAA,EACzC,WAAW,KAAK,MAAM,mBAAmB;AAC3C,CAAC;AAYM,MAAM,4BAA4B,KAAK,OAAO;AAAA,EACnD,yBAAyB,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,wBAAwB,CAAC;AAC7F,CAAC;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,13 @@
1
+ export declare const XScalarSetOperationSecuritySchema: import("@scalar/typebox").TObject<{
2
+ 'x-scalar-set-operation-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
3
+ }>;
4
+ export type XScalarSetOperationSecurity = {
5
+ /**
6
+ * XScalarSetOperationSecurity Extension
7
+ *
8
+ * If enabled we set the selected security schemes at the operation level
9
+ * If disabled/undefined we set the selected security schemes at the document level
10
+ */
11
+ 'x-scalar-set-operation-security'?: boolean;
12
+ };
13
+ //# sourceMappingURL=x-scalar-set-operation-security.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-scalar-set-operation-security.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/document/x-scalar-set-operation-security.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iCAAiC;;EAE5C,CAAA;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC;;;;;OAKG;IACH,iCAAiC,CAAC,EAAE,OAAO,CAAA;CAC5C,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { Type } from "@scalar/typebox";
2
+ const XScalarSetOperationSecuritySchema = Type.Object({
3
+ "x-scalar-set-operation-security": Type.Optional(Type.Boolean({ default: false }))
4
+ });
5
+ export {
6
+ XScalarSetOperationSecuritySchema
7
+ };
8
+ //# sourceMappingURL=x-scalar-set-operation-security.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/schemas/extensions/document/x-scalar-set-operation-security.ts"],
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nexport const XScalarSetOperationSecuritySchema = Type.Object({\n 'x-scalar-set-operation-security': Type.Optional(Type.Boolean({ default: false })),\n})\n\nexport type XScalarSetOperationSecurity = {\n /**\n * XScalarSetOperationSecurity Extension\n *\n * If enabled we set the selected security schemes at the operation level\n * If disabled/undefined we set the selected security schemes at the document level\n */\n 'x-scalar-set-operation-security'?: boolean\n}\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAEd,MAAM,oCAAoC,KAAK,OAAO;AAAA,EAC3D,mCAAmC,KAAK,SAAS,KAAK,QAAQ,EAAE,SAAS,MAAM,CAAC,CAAC;AACnF,CAAC;",
6
+ "names": []
7
+ }
@@ -0,0 +1,36 @@
1
+ export declare const xScalarCookieSchema: import("@scalar/typebox").TObject<{
2
+ name: import("@scalar/typebox").TString;
3
+ value: import("@scalar/typebox").TString;
4
+ domain: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
5
+ isDisabled: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
6
+ }>;
7
+ export type XScalarCookie = {
8
+ /**
9
+ * Defines the cookie name and its value. A cookie definition begins with a name-value pair.
10
+ */
11
+ name: string;
12
+ /**
13
+ * Defines the cookie value.
14
+ */
15
+ value: string;
16
+ /**
17
+ * Defines the host to which the cookie will be sent.
18
+ */
19
+ domain?: string;
20
+ /**
21
+ * Indicates if the cookie is disabled.
22
+ */
23
+ isDisabled?: boolean;
24
+ };
25
+ export declare const xScalarCookiesSchema: import("@scalar/typebox").TObject<{
26
+ 'x-scalar-cookies': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
27
+ name: import("@scalar/typebox").TString;
28
+ value: import("@scalar/typebox").TString;
29
+ domain: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
30
+ isDisabled: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
31
+ }>>>;
32
+ }>;
33
+ export type XScalarCookies = {
34
+ 'x-scalar-cookies'?: XScalarCookie[];
35
+ };
36
+ //# sourceMappingURL=x-scalar-cookies.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-scalar-cookies.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/general/x-scalar-cookies.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB;;;;;EAK9B,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AAED,eAAO,MAAM,oBAAoB;;;;;;;EAE/B,CAAA;AACF,MAAM,MAAM,cAAc,GAAG;IAC3B,kBAAkB,CAAC,EAAE,aAAa,EAAE,CAAA;CACrC,CAAA"}
@@ -0,0 +1,15 @@
1
+ import { Type } from "@scalar/typebox";
2
+ const xScalarCookieSchema = Type.Object({
3
+ name: Type.String(),
4
+ value: Type.String(),
5
+ domain: Type.Optional(Type.String()),
6
+ isDisabled: Type.Optional(Type.Boolean())
7
+ });
8
+ const xScalarCookiesSchema = Type.Object({
9
+ "x-scalar-cookies": Type.Optional(Type.Array(xScalarCookieSchema))
10
+ });
11
+ export {
12
+ xScalarCookieSchema,
13
+ xScalarCookiesSchema
14
+ };
15
+ //# sourceMappingURL=x-scalar-cookies.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/schemas/extensions/general/x-scalar-cookies.ts"],
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nexport const xScalarCookieSchema = Type.Object({\n name: Type.String(),\n value: Type.String(),\n domain: Type.Optional(Type.String()),\n isDisabled: Type.Optional(Type.Boolean()),\n})\n\nexport type XScalarCookie = {\n /**\n * Defines the cookie name and its value. A cookie definition begins with a name-value pair.\n */\n name: string\n /**\n * Defines the cookie value.\n */\n value: string\n /**\n * Defines the host to which the cookie will be sent.\n */\n domain?: string\n /**\n * Indicates if the cookie is disabled.\n */\n isDisabled?: boolean\n}\n\nexport const xScalarCookiesSchema = Type.Object({\n 'x-scalar-cookies': Type.Optional(Type.Array(xScalarCookieSchema)),\n})\nexport type XScalarCookies = {\n 'x-scalar-cookies'?: XScalarCookie[]\n}\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAEd,MAAM,sBAAsB,KAAK,OAAO;AAAA,EAC7C,MAAM,KAAK,OAAO;AAAA,EAClB,OAAO,KAAK,OAAO;AAAA,EACnB,QAAQ,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EACnC,YAAY,KAAK,SAAS,KAAK,QAAQ,CAAC;AAC1C,CAAC;AAqBM,MAAM,uBAAuB,KAAK,OAAO;AAAA,EAC9C,oBAAoB,KAAK,SAAS,KAAK,MAAM,mBAAmB,CAAC;AACnE,CAAC;",
6
+ "names": []
7
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Schema for the "x-scalar-order" OpenAPI extension.
3
+ * This extension allows specifying an optional array of strings,
4
+ * which can be used to represent a custom order for elements (e.g., tags, operations) in the Scalar UI.
5
+ */
6
+ export declare const XScalarOrderSchema: import("@scalar/typebox").TObject<{
7
+ 'x-scalar-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
8
+ }>;
9
+ export type XScalarOrder = {
10
+ 'x-scalar-order'?: string[];
11
+ };
12
+ //# sourceMappingURL=x-scalar-order.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-scalar-order.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/general/x-scalar-order.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,kBAAkB;;EAE7B,CAAA;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAA;CAC5B,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { Type } from "@scalar/typebox";
2
+ const XScalarOrderSchema = Type.Object({
3
+ "x-scalar-order": Type.Optional(Type.Array(Type.String()))
4
+ });
5
+ export {
6
+ XScalarOrderSchema
7
+ };
8
+ //# sourceMappingURL=x-scalar-order.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/schemas/extensions/general/x-scalar-order.ts"],
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/**\n * Schema for the \"x-scalar-order\" OpenAPI extension.\n * This extension allows specifying an optional array of strings,\n * which can be used to represent a custom order for elements (e.g., tags, operations) in the Scalar UI.\n */\nexport const XScalarOrderSchema = Type.Object({\n 'x-scalar-order': Type.Optional(Type.Array(Type.String())),\n})\n\nexport type XScalarOrder = {\n 'x-scalar-order'?: string[]\n}\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAOd,MAAM,qBAAqB,KAAK,OAAO;AAAA,EAC5C,kBAAkB,KAAK,SAAS,KAAK,MAAM,KAAK,OAAO,CAAC,CAAC;AAC3D,CAAC;",
6
+ "names": []
7
+ }
@@ -1,4 +1,5 @@
1
- export declare const XTagGroupSchema: import("@scalar/typebox").TObject<{
1
+ import { type XScalarOrder } from '../../../schemas/extensions/general/x-scalar-order.js';
2
+ export declare const XTagGroupSchema: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
2
3
  /**
3
4
  * The group name.
4
5
  */
@@ -7,7 +8,9 @@ export declare const XTagGroupSchema: import("@scalar/typebox").TObject<{
7
8
  * List of tags to include in this group.
8
9
  */
9
10
  tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
10
- }>;
11
+ }>, import("@scalar/typebox").TObject<{
12
+ 'x-scalar-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
13
+ }>]>;
11
14
  export type XTagGroup = {
12
15
  /**
13
16
  * The group name.
@@ -17,14 +20,14 @@ export type XTagGroup = {
17
20
  * List of tags to include in this group.
18
21
  */
19
22
  tags: string[];
20
- };
23
+ } & XScalarOrder;
21
24
  /**
22
25
  * x-tagGroups
23
26
  *
24
27
  * List of tags to include in this group.
25
28
  */
26
29
  export declare const XTagGroupsSchema: import("@scalar/typebox").TObject<{
27
- 'x-tagGroups': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
30
+ 'x-tagGroups': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
28
31
  /**
29
32
  * The group name.
30
33
  */
@@ -33,7 +36,9 @@ export declare const XTagGroupsSchema: import("@scalar/typebox").TObject<{
33
36
  * List of tags to include in this group.
34
37
  */
35
38
  tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
36
- }>>>;
39
+ }>, import("@scalar/typebox").TObject<{
40
+ 'x-scalar-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
41
+ }>]>>>;
37
42
  }>;
38
43
  export type XTagGroups = {
39
44
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"x-tag-groups.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/tag/x-tag-groups.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;IAC1B;;OAEG;;IAEH;;OAEG;;EAEH,CAAA;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,IAAI,EAAE,MAAM,EAAE,CAAA;CACf,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,gBAAgB;;QA1B3B;;WAEG;;QAEH;;WAEG;;;EAsBH,CAAA;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,SAAS,EAAE,CAAA;CAC5B,CAAA"}
1
+ {"version":3,"file":"x-tag-groups.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/tag/x-tag-groups.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAsB,MAAM,6CAA6C,CAAA;AAEnG,eAAO,MAAM,eAAe;IAExB;;OAEG;;IAEH;;OAEG;;;;IAIN,CAAA;AAED,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,IAAI,EAAE,MAAM,EAAE,CAAA;CACf,GAAG,YAAY,CAAA;AAEhB;;;;GAIG;AACH,eAAO,MAAM,gBAAgB;;QA5BzB;;WAEG;;QAEH;;WAEG;;;;;EAwBL,CAAA;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,SAAS,EAAE,CAAA;CAC5B,CAAA"}
@@ -1,14 +1,19 @@
1
1
  import { Type } from "@scalar/typebox";
2
- const XTagGroupSchema = Type.Object({
3
- /**
4
- * The group name.
5
- */
6
- name: Type.String(),
7
- /**
8
- * List of tags to include in this group.
9
- */
10
- tags: Type.Array(Type.String())
11
- });
2
+ import { compose } from "../../../schemas/compose.js";
3
+ import { XScalarOrderSchema } from "../../../schemas/extensions/general/x-scalar-order.js";
4
+ const XTagGroupSchema = compose(
5
+ Type.Object({
6
+ /**
7
+ * The group name.
8
+ */
9
+ name: Type.String(),
10
+ /**
11
+ * List of tags to include in this group.
12
+ */
13
+ tags: Type.Array(Type.String())
14
+ }),
15
+ XScalarOrderSchema
16
+ );
12
17
  const XTagGroupsSchema = Type.Object({
13
18
  "x-tagGroups": Type.Optional(Type.Array(XTagGroupSchema))
14
19
  });
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/extensions/tag/x-tag-groups.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nexport const XTagGroupSchema = Type.Object({\n /**\n * The group name.\n */\n name: Type.String(),\n /**\n * List of tags to include in this group.\n */\n tags: Type.Array(Type.String()),\n})\n\nexport type XTagGroup = {\n /**\n * The group name.\n */\n name: string\n /**\n * List of tags to include in this group.\n */\n tags: string[]\n}\n\n/**\n * x-tagGroups\n *\n * List of tags to include in this group.\n */\nexport const XTagGroupsSchema = Type.Object({\n 'x-tagGroups': Type.Optional(Type.Array(XTagGroupSchema)),\n})\n\nexport type XTagGroups = {\n /**\n * x-tagGroups\n *\n * List of tags to include in this group.\n */\n 'x-tagGroups'?: XTagGroup[]\n}\n"],
5
- "mappings": "AAAA,SAAS,YAAY;AAEd,MAAM,kBAAkB,KAAK,OAAO;AAAA;AAAA;AAAA;AAAA,EAIzC,MAAM,KAAK,OAAO;AAAA;AAAA;AAAA;AAAA,EAIlB,MAAM,KAAK,MAAM,KAAK,OAAO,CAAC;AAChC,CAAC;AAkBM,MAAM,mBAAmB,KAAK,OAAO;AAAA,EAC1C,eAAe,KAAK,SAAS,KAAK,MAAM,eAAe,CAAC;AAC1D,CAAC;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport { compose } from '@/schemas/compose'\nimport { type XScalarOrder, XScalarOrderSchema } from '@/schemas/extensions/general/x-scalar-order'\n\nexport const XTagGroupSchema = compose(\n Type.Object({\n /**\n * The group name.\n */\n name: Type.String(),\n /**\n * List of tags to include in this group.\n */\n tags: Type.Array(Type.String()),\n }),\n XScalarOrderSchema,\n)\n\nexport type XTagGroup = {\n /**\n * The group name.\n */\n name: string\n /**\n * List of tags to include in this group.\n */\n tags: string[]\n} & XScalarOrder\n\n/**\n * x-tagGroups\n *\n * List of tags to include in this group.\n */\nexport const XTagGroupsSchema = Type.Object({\n 'x-tagGroups': Type.Optional(Type.Array(XTagGroupSchema)),\n})\n\nexport type XTagGroups = {\n /**\n * x-tagGroups\n *\n * List of tags to include in this group.\n */\n 'x-tagGroups'?: XTagGroup[]\n}\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAErB,SAAS,eAAe;AACxB,SAA4B,0BAA0B;AAE/C,MAAM,kBAAkB;AAAA,EAC7B,KAAK,OAAO;AAAA;AAAA;AAAA;AAAA,IAIV,MAAM,KAAK,OAAO;AAAA;AAAA;AAAA;AAAA,IAIlB,MAAM,KAAK,MAAM,KAAK,OAAO,CAAC;AAAA,EAChC,CAAC;AAAA,EACD;AACF;AAkBO,MAAM,mBAAmB,KAAK,OAAO;AAAA,EAC1C,eAAe,KAAK,SAAS,KAAK,MAAM,eAAe,CAAC;AAC1D,CAAC;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Schema for the x-scalar-active-proxy extension.
3
+ *
4
+ * This property indicates the currently selected proxy's identifier.
5
+ *
6
+ * @example
7
+ * {
8
+ * "x-scalar-active-proxy": "my-proxy-id"
9
+ * }
10
+ */
11
+ export declare const XScalarActiveProxySchema: import("@scalar/typebox").TObject<{
12
+ 'x-scalar-active-proxy': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
13
+ }>;
14
+ export type XScalarActiveProxy = {
15
+ /** The currently selected proxy */
16
+ 'x-scalar-active-proxy'?: string;
17
+ };
18
+ //# sourceMappingURL=x-scalar-active-proxy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-scalar-active-proxy.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/workspace/x-scalar-active-proxy.ts"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AACH,eAAO,MAAM,wBAAwB;;EAEnC,CAAA;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,mCAAmC;IACnC,uBAAuB,CAAC,EAAE,MAAM,CAAA;CACjC,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { Type } from "@scalar/typebox";
2
+ const XScalarActiveProxySchema = Type.Object({
3
+ "x-scalar-active-proxy": Type.Optional(Type.String())
4
+ });
5
+ export {
6
+ XScalarActiveProxySchema
7
+ };
8
+ //# sourceMappingURL=x-scalar-active-proxy.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/schemas/extensions/workspace/x-scalar-active-proxy.ts"],
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/**\n * Schema for the x-scalar-active-proxy extension.\n *\n * This property indicates the currently selected proxy's identifier.\n *\n * @example\n * {\n * \"x-scalar-active-proxy\": \"my-proxy-id\"\n * }\n */\nexport const XScalarActiveProxySchema = Type.Object({\n 'x-scalar-active-proxy': Type.Optional(Type.String()),\n})\n\nexport type XScalarActiveProxy = {\n /** The currently selected proxy */\n 'x-scalar-active-proxy'?: string\n}\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAYd,MAAM,2BAA2B,KAAK,OAAO;AAAA,EAClD,yBAAyB,KAAK,SAAS,KAAK,OAAO,CAAC;AACtD,CAAC;",
6
+ "names": []
7
+ }
@@ -5,7 +5,7 @@ export declare const extensions: {
5
5
  readonly activeServer: "x-scalar-active-server";
6
6
  };
7
7
  readonly workspace: {
8
- readonly darkMode: "x-scalar-dark-mode";
8
+ readonly colorMode: "x-scalar-color-mode";
9
9
  readonly sidebarWidth: "x-scalar-sidebar-width";
10
10
  readonly defaultClient: "x-scalar-default-client";
11
11
  readonly activeDocument: "x-scalar-active-document";
@@ -5,7 +5,7 @@ const extensions = {
5
5
  activeServer: "x-scalar-active-server"
6
6
  },
7
7
  workspace: {
8
- darkMode: "x-scalar-dark-mode",
8
+ colorMode: "x-scalar-color-mode",
9
9
  sidebarWidth: "x-scalar-sidebar-width",
10
10
  defaultClient: "x-scalar-default-client",
11
11
  activeDocument: "x-scalar-active-document",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/schemas/extensions.ts"],
4
- "sourcesContent": ["export const extensions = {\n document: {\n navigation: 'x-scalar-navigation',\n activeAuth: 'x-scalar-active-auth',\n activeServer: 'x-scalar-active-server',\n },\n workspace: {\n darkMode: 'x-scalar-dark-mode',\n sidebarWidth: 'x-scalar-sidebar-width',\n defaultClient: 'x-scalar-default-client',\n activeDocument: 'x-scalar-active-document',\n theme: 'x-scalar-theme',\n },\n} as const\n"],
5
- "mappings": "AAAO,MAAM,aAAa;AAAA,EACxB,UAAU;AAAA,IACR,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,cAAc;AAAA,EAChB;AAAA,EACA,WAAW;AAAA,IACT,UAAU;AAAA,IACV,cAAc;AAAA,IACd,eAAe;AAAA,IACf,gBAAgB;AAAA,IAChB,OAAO;AAAA,EACT;AACF;",
4
+ "sourcesContent": ["export const extensions = {\n document: {\n navigation: 'x-scalar-navigation',\n activeAuth: 'x-scalar-active-auth',\n activeServer: 'x-scalar-active-server',\n },\n workspace: {\n colorMode: 'x-scalar-color-mode',\n sidebarWidth: 'x-scalar-sidebar-width',\n defaultClient: 'x-scalar-default-client',\n activeDocument: 'x-scalar-active-document',\n theme: 'x-scalar-theme',\n },\n} as const\n"],
5
+ "mappings": "AAAO,MAAM,aAAa;AAAA,EACxB,UAAU;AAAA,IACR,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,cAAc;AAAA,EAChB;AAAA,EACA,WAAW;AAAA,IACT,WAAW;AAAA,IACX,cAAc;AAAA,IACd,eAAe;AAAA,IACf,gBAAgB;AAAA,IAChB,OAAO;AAAA,EACT;AACF;",
6
6
  "names": []
7
7
  }
@@ -2,7 +2,7 @@ import { type WorkspaceDocument, type WorkspaceMeta } from '../schemas/workspace
2
2
  import { type Config } from '../schemas/workspace-specification/config.js';
3
3
  export declare const InMemoryWorkspaceSchema: import("@scalar/typebox").TObject<{
4
4
  meta: import("@scalar/typebox").TObject<{
5
- "x-scalar-dark-mode": import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
5
+ "x-scalar-color-mode": import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"system">, import("@scalar/typebox").TLiteral<"light">, import("@scalar/typebox").TLiteral<"dark">]>>;
6
6
  "x-scalar-default-client": import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<import("@scalar/typebox").TLiteral<"c/libcurl" | "clojure/clj_http" | "csharp/httpclient" | "csharp/restsharp" | "dart/http" | "fsharp/httpclient" | "go/native" | "http/http1.1" | "java/asynchttp" | "java/nethttp" | "java/okhttp" | "java/unirest" | "js/axios" | "js/fetch" | "js/jquery" | "js/ofetch" | "js/xhr" | "kotlin/okhttp" | "node/axios" | "node/fetch" | "node/ofetch" | "node/undici" | "objc/nsurlsession" | "ocaml/cohttp" | "php/curl" | "php/guzzle" | "powershell/restmethod" | "powershell/webrequest" | "python/python3" | "python/requests" | "python/httpx_sync" | "python/httpx_async" | "r/httr" | "ruby/native" | "rust/reqwest" | "shell/curl" | "shell/httpie" | "shell/wget" | "swift/nsurlsession">[]>>;
7
7
  "x-scalar-active-document": import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
8
8
  "x-scalar-theme": import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<import("@scalar/typebox").TLiteral<"default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "laserwave" | "none">[]>>;
@@ -120,6 +120,8 @@ export declare const InMemoryWorkspaceSchema: import("@scalar/typebox").TObject<
120
120
  'x-internal': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
121
121
  }>, import("@scalar/typebox").TObject<{
122
122
  'x-scalar-ignore': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
123
+ }>, import("@scalar/typebox").TObject<{
124
+ 'x-scalar-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
123
125
  }>]>;
124
126
  CallbackObject: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"PathItemObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
125
127
  $ref: import("@scalar/typebox").TString;
@@ -311,9 +313,6 @@ export declare const InMemoryWorkspaceSchema: import("@scalar/typebox").TObject<
311
313
  }>>>;
312
314
  }>, import("@scalar/typebox").TObject<{
313
315
  'x-scalar-stability': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"deprecated">, import("@scalar/typebox").TLiteral<"experimental">, import("@scalar/typebox").TLiteral<"stable">]>>;
314
- }>, import("@scalar/typebox").TObject<{
315
- 'x-scalar-path': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
316
- 'x-scalar-method': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
317
316
  }>]>;
318
317
  SchemaObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
319
318
  __scalar_: import("@scalar/typebox").TString;
@@ -1259,22 +1258,17 @@ export declare const InMemoryWorkspaceSchema: import("@scalar/typebox").TObject<
1259
1258
  externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
1260
1259
  }>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1261
1260
  'x-scalar-client-config-active-environment': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1262
- 'x-scalar-client-config-icon': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1263
- 'x-scalar-client-config-cookies': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
1264
- name: import("@scalar/typebox").TString;
1265
- value: import("@scalar/typebox").TString;
1266
- domain: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1267
- path: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1268
- }>>>;
1269
1261
  'x-original-oas-version': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1270
1262
  'x-scalar-original-source-url': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1271
1263
  'x-scalar-watch-mode': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1272
1264
  "x-scalar-navigation": import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"TraversedDocumentObject">>;
1273
1265
  }>, import("@scalar/typebox").TObject<{
1274
- 'x-tagGroups': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
1266
+ 'x-tagGroups': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1275
1267
  name: import("@scalar/typebox").TString;
1276
1268
  tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
1277
- }>>>;
1269
+ }>, import("@scalar/typebox").TObject<{
1270
+ 'x-scalar-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
1271
+ }>]>>>;
1278
1272
  }>, import("@scalar/typebox").TObject<{
1279
1273
  'x-scalar-environments': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
1280
1274
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -1295,7 +1289,18 @@ export declare const InMemoryWorkspaceSchema: import("@scalar/typebox").TObject<
1295
1289
  }>, import("@scalar/typebox").TObject<{
1296
1290
  'x-scalar-selected-server': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1297
1291
  }>, import("@scalar/typebox").TObject<{
1298
- 'x-scalar-document-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1292
+ 'x-scalar-set-operation-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1293
+ }>, import("@scalar/typebox").TObject<{
1294
+ 'x-scalar-icon': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1295
+ }>, import("@scalar/typebox").TObject<{
1296
+ 'x-scalar-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
1297
+ }>, import("@scalar/typebox").TObject<{
1298
+ 'x-scalar-cookies': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
1299
+ name: import("@scalar/typebox").TString;
1300
+ value: import("@scalar/typebox").TString;
1301
+ domain: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1302
+ isDisabled: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1303
+ }>>>;
1299
1304
  }>, import("@scalar/typebox").TObject<{
1300
1305
  'x-scalar-original-document-hash': import("@scalar/typebox").TString;
1301
1306
  }>]>]>;
@@ -1403,6 +1408,7 @@ export declare const InMemoryWorkspaceSchema: import("@scalar/typebox").TObject<
1403
1408
  type: import("@scalar/typebox").TLiteral<"document">;
1404
1409
  name: import("@scalar/typebox").TString;
1405
1410
  children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1411
+ icon: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1406
1412
  }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1407
1413
  id: import("@scalar/typebox").TString;
1408
1414
  title: import("@scalar/typebox").TString;
@@ -1418,6 +1424,7 @@ export declare const InMemoryWorkspaceSchema: import("@scalar/typebox").TObject<
1418
1424
  type: import("@scalar/typebox").TLiteral<"document">;
1419
1425
  name: import("@scalar/typebox").TString;
1420
1426
  children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1427
+ icon: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1421
1428
  }>]>;
1422
1429
  }, "ServerObject">>>;
1423
1430
  baseServerUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -1565,6 +1572,8 @@ export declare const InMemoryWorkspaceSchema: import("@scalar/typebox").TObject<
1565
1572
  'x-internal': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1566
1573
  }>, import("@scalar/typebox").TObject<{
1567
1574
  'x-scalar-ignore': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1575
+ }>, import("@scalar/typebox").TObject<{
1576
+ 'x-scalar-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
1568
1577
  }>]>;
1569
1578
  CallbackObject: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"PathItemObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1570
1579
  $ref: import("@scalar/typebox").TString;
@@ -1756,9 +1765,6 @@ export declare const InMemoryWorkspaceSchema: import("@scalar/typebox").TObject<
1756
1765
  }>>>;
1757
1766
  }>, import("@scalar/typebox").TObject<{
1758
1767
  'x-scalar-stability': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"deprecated">, import("@scalar/typebox").TLiteral<"experimental">, import("@scalar/typebox").TLiteral<"stable">]>>;
1759
- }>, import("@scalar/typebox").TObject<{
1760
- 'x-scalar-path': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1761
- 'x-scalar-method': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1762
1768
  }>]>;
1763
1769
  SchemaObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1764
1770
  __scalar_: import("@scalar/typebox").TString;
@@ -2704,22 +2710,17 @@ export declare const InMemoryWorkspaceSchema: import("@scalar/typebox").TObject<
2704
2710
  externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
2705
2711
  }>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
2706
2712
  'x-scalar-client-config-active-environment': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
2707
- 'x-scalar-client-config-icon': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
2708
- 'x-scalar-client-config-cookies': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
2709
- name: import("@scalar/typebox").TString;
2710
- value: import("@scalar/typebox").TString;
2711
- domain: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
2712
- path: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
2713
- }>>>;
2714
2713
  'x-original-oas-version': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
2715
2714
  'x-scalar-original-source-url': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
2716
2715
  'x-scalar-watch-mode': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
2717
2716
  "x-scalar-navigation": import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"TraversedDocumentObject">>;
2718
2717
  }>, import("@scalar/typebox").TObject<{
2719
- 'x-tagGroups': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
2718
+ 'x-tagGroups': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
2720
2719
  name: import("@scalar/typebox").TString;
2721
2720
  tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
2722
- }>>>;
2721
+ }>, import("@scalar/typebox").TObject<{
2722
+ 'x-scalar-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
2723
+ }>]>>>;
2723
2724
  }>, import("@scalar/typebox").TObject<{
2724
2725
  'x-scalar-environments': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
2725
2726
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -2740,7 +2741,18 @@ export declare const InMemoryWorkspaceSchema: import("@scalar/typebox").TObject<
2740
2741
  }>, import("@scalar/typebox").TObject<{
2741
2742
  'x-scalar-selected-server': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
2742
2743
  }>, import("@scalar/typebox").TObject<{
2743
- 'x-scalar-document-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
2744
+ 'x-scalar-set-operation-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
2745
+ }>, import("@scalar/typebox").TObject<{
2746
+ 'x-scalar-icon': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
2747
+ }>, import("@scalar/typebox").TObject<{
2748
+ 'x-scalar-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
2749
+ }>, import("@scalar/typebox").TObject<{
2750
+ 'x-scalar-cookies': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
2751
+ name: import("@scalar/typebox").TString;
2752
+ value: import("@scalar/typebox").TString;
2753
+ domain: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
2754
+ isDisabled: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
2755
+ }>>>;
2744
2756
  }>, import("@scalar/typebox").TObject<{
2745
2757
  'x-scalar-original-document-hash': import("@scalar/typebox").TString;
2746
2758
  }>]>]>;
@@ -2848,6 +2860,7 @@ export declare const InMemoryWorkspaceSchema: import("@scalar/typebox").TObject<
2848
2860
  type: import("@scalar/typebox").TLiteral<"document">;
2849
2861
  name: import("@scalar/typebox").TString;
2850
2862
  children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
2863
+ icon: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
2851
2864
  }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
2852
2865
  id: import("@scalar/typebox").TString;
2853
2866
  title: import("@scalar/typebox").TString;
@@ -2863,6 +2876,7 @@ export declare const InMemoryWorkspaceSchema: import("@scalar/typebox").TObject<
2863
2876
  type: import("@scalar/typebox").TLiteral<"document">;
2864
2877
  name: import("@scalar/typebox").TString;
2865
2878
  children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
2879
+ icon: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
2866
2880
  }>]>;
2867
2881
  }, "OpenApiDocument">]>>;
2868
2882
  originalDocuments: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnknown>>;
@@ -1 +1 @@
1
- {"version":3,"file":"inmemory-workspace.d.ts","sourceRoot":"","sources":["../../src/schemas/inmemory-workspace.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,iBAAiB,EAEtB,KAAK,aAAa,EAEnB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,0CAA0C,CAAA;AAIpF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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CAAC,CAAA;IAC1D,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;IAC9D,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B,CAAA"}
@@ -25,6 +25,7 @@ export declare const TraversedDocumentSchemaDefinition: import("@scalar/typebox"
25
25
  type: TLiteral<"document">;
26
26
  name: import("@scalar/typebox").TString;
27
27
  children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
28
+ icon: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
28
29
  }>]>;
29
30
  /**
30
31
  * An entry representing an OpenAPI in the navigation structure.
@@ -37,6 +38,7 @@ export type TraversedDocument = BaseSchema & {
37
38
  name: string;
38
39
  /** Child entries under the document */
39
40
  children?: TraversedEntry[];
41
+ icon?: string;
40
42
  };
41
43
  export declare const TraversedDescriptionSchemaDefinition: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
42
44
  id: import("@scalar/typebox").TString;
@@ -222,6 +224,7 @@ export declare const TraversedEntrySchemaDefinition: import("@scalar/typebox").T
222
224
  type: TLiteral<"document">;
223
225
  name: import("@scalar/typebox").TString;
224
226
  children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
227
+ icon: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
225
228
  }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
226
229
  id: import("@scalar/typebox").TString;
227
230
  title: import("@scalar/typebox").TString;
@@ -259,7 +262,7 @@ type OperationProps = {
259
262
  path: string;
260
263
  method: string;
261
264
  type: 'operation';
262
- parentTag: ParentTag;
265
+ parentTag?: ParentTag;
263
266
  };
264
267
  type WebhookProps = {
265
268
  parentId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"navigation.d.ts","sourceRoot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A;IACrB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,OAAO,CAAA;IACb,SAAS,CAAC,EAAE,SAAS,CAAA;CACtB,CAAA;AAED,KAAK,YAAY,GAAG;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,SAAS,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,gBAAgB,GACxB,eAAe,GACf,kBAAkB,GAClB,QAAQ,GACR,cAAc,GACd,YAAY,GACZ,UAAU,GACV,YAAY,CAAA;AAEhB,MAAM,MAAM,WAAW,GAAG,CAAC,KAAK,EAAE,gBAAgB,KAAK,MAAM,CAAA"}
@@ -11,7 +11,8 @@ const TraversedDocumentSchemaDefinition = compose(
11
11
  Type.Object({
12
12
  type: Type.Literal("document"),
13
13
  name: Type.String(),
14
- children: Type.Optional(Type.Array(TraversedEntryObjectRef))
14
+ children: Type.Optional(Type.Array(TraversedEntryObjectRef)),
15
+ icon: Type.Optional(Type.String())
15
16
  })
16
17
  );
17
18
  const TraversedDescriptionSchemaDefinition = compose(