@scalar/workspace-store 0.20.0 → 0.22.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 (260) hide show
  1. package/CHANGELOG.md +58 -0
  2. package/README.md +2 -2
  3. package/dist/client.d.ts +54 -6
  4. package/dist/client.d.ts.map +1 -1
  5. package/dist/client.js +66 -29
  6. package/dist/client.js.map +2 -2
  7. package/dist/events/bus.d.ts +14 -2
  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/auth.d.ts +2 -1
  12. package/dist/events/definitions/auth.d.ts.map +1 -1
  13. package/dist/events/definitions/cookie.d.ts +20 -0
  14. package/dist/events/definitions/cookie.d.ts.map +1 -0
  15. package/dist/events/definitions/cookie.js +1 -0
  16. package/dist/events/definitions/cookie.js.map +7 -0
  17. package/dist/events/definitions/document.d.ts +19 -2
  18. package/dist/events/definitions/document.d.ts.map +1 -1
  19. package/dist/events/definitions/index.d.ts +6 -1
  20. package/dist/events/definitions/index.d.ts.map +1 -1
  21. package/dist/events/definitions/operation.d.ts +20 -14
  22. package/dist/events/definitions/operation.d.ts.map +1 -1
  23. package/dist/events/definitions/server.d.ts +2 -2
  24. package/dist/events/definitions/server.d.ts.map +1 -1
  25. package/dist/events/definitions/tabs.d.ts +55 -0
  26. package/dist/events/definitions/tabs.d.ts.map +1 -0
  27. package/dist/events/definitions/tabs.js +1 -0
  28. package/dist/events/definitions/tabs.js.map +7 -0
  29. package/dist/events/definitions/tag.d.ts +15 -0
  30. package/dist/events/definitions/tag.d.ts.map +1 -0
  31. package/dist/events/definitions/tag.js +1 -0
  32. package/dist/events/definitions/tag.js.map +7 -0
  33. package/dist/events/definitions/ui.d.ts +131 -39
  34. package/dist/events/definitions/ui.d.ts.map +1 -1
  35. package/dist/events/definitions/workspace.d.ts +18 -0
  36. package/dist/events/definitions/workspace.d.ts.map +1 -0
  37. package/dist/events/definitions/workspace.js +1 -0
  38. package/dist/events/definitions/workspace.js.map +7 -0
  39. package/dist/events/index.d.ts +1 -1
  40. package/dist/events/index.d.ts.map +1 -1
  41. package/dist/events/index.js.map +2 -2
  42. package/dist/helpers/generate-unique-value.d.ts +19 -6
  43. package/dist/helpers/generate-unique-value.d.ts.map +1 -1
  44. package/dist/helpers/generate-unique-value.js +12 -7
  45. package/dist/helpers/generate-unique-value.js.map +2 -2
  46. package/dist/helpers/unpack-proxy.d.ts +14 -1
  47. package/dist/helpers/unpack-proxy.d.ts.map +1 -1
  48. package/dist/helpers/unpack-proxy.js +51 -1
  49. package/dist/helpers/unpack-proxy.js.map +3 -3
  50. package/dist/mutators/auth.d.ts +7 -2
  51. package/dist/mutators/auth.d.ts.map +1 -1
  52. package/dist/mutators/auth.js +24 -21
  53. package/dist/mutators/auth.js.map +2 -2
  54. package/dist/mutators/cookie.d.ts +21 -13
  55. package/dist/mutators/cookie.d.ts.map +1 -1
  56. package/dist/mutators/cookie.js +34 -26
  57. package/dist/mutators/cookie.js.map +3 -3
  58. package/dist/mutators/document.d.ts +12 -2
  59. package/dist/mutators/document.d.ts.map +1 -1
  60. package/dist/mutators/document.js +42 -3
  61. package/dist/mutators/document.js.map +2 -2
  62. package/dist/mutators/index.d.ts +30 -20
  63. package/dist/mutators/index.d.ts.map +1 -1
  64. package/dist/mutators/index.js +38 -9
  65. package/dist/mutators/index.js.map +2 -2
  66. package/dist/mutators/operation.d.ts +49 -108
  67. package/dist/mutators/operation.d.ts.map +1 -1
  68. package/dist/mutators/operation.js +198 -94
  69. package/dist/mutators/operation.js.map +2 -2
  70. package/dist/mutators/request.d.ts +2 -1
  71. package/dist/mutators/request.d.ts.map +1 -1
  72. package/dist/mutators/request.js.map +1 -1
  73. package/dist/mutators/server.d.ts +1 -1
  74. package/dist/mutators/server.d.ts.map +1 -1
  75. package/dist/mutators/server.js +6 -5
  76. package/dist/mutators/server.js.map +2 -2
  77. package/dist/mutators/tabs.d.ts +44 -0
  78. package/dist/mutators/tabs.d.ts.map +1 -0
  79. package/dist/mutators/tabs.js +133 -0
  80. package/dist/mutators/tabs.js.map +7 -0
  81. package/dist/mutators/tag.d.ts +12 -0
  82. package/dist/mutators/tag.d.ts.map +1 -0
  83. package/dist/mutators/tag.js +19 -0
  84. package/dist/mutators/tag.js.map +7 -0
  85. package/dist/mutators/workspace.d.ts +6 -0
  86. package/dist/mutators/workspace.d.ts.map +1 -0
  87. package/dist/mutators/workspace.js +24 -0
  88. package/dist/mutators/workspace.js.map +7 -0
  89. package/dist/navigation/get-navigation-options.d.ts.map +1 -1
  90. package/dist/navigation/get-navigation-options.js +4 -4
  91. package/dist/navigation/get-navigation-options.js.map +2 -2
  92. package/dist/navigation/helpers/get-openapi-object.d.ts +35 -0
  93. package/dist/navigation/helpers/get-openapi-object.d.ts.map +1 -0
  94. package/dist/navigation/helpers/get-openapi-object.js +31 -0
  95. package/dist/navigation/helpers/get-openapi-object.js.map +7 -0
  96. package/dist/navigation/helpers/get-operation-entries.d.ts +24 -0
  97. package/dist/navigation/helpers/get-operation-entries.d.ts.map +1 -0
  98. package/dist/navigation/helpers/get-operation-entries.js +33 -0
  99. package/dist/navigation/helpers/get-operation-entries.js.map +7 -0
  100. package/dist/navigation/helpers/get-parent-entry.d.ts +15 -0
  101. package/dist/navigation/helpers/get-parent-entry.d.ts.map +1 -0
  102. package/dist/navigation/helpers/get-parent-entry.js +13 -0
  103. package/dist/navigation/helpers/get-parent-entry.js.map +7 -0
  104. package/dist/navigation/helpers/traverse-description.d.ts +0 -1
  105. package/dist/navigation/helpers/traverse-description.d.ts.map +1 -1
  106. package/dist/navigation/helpers/traverse-description.js +0 -1
  107. package/dist/navigation/helpers/traverse-description.js.map +2 -2
  108. package/dist/navigation/helpers/traverse-document.d.ts +1 -0
  109. package/dist/navigation/helpers/traverse-document.d.ts.map +1 -1
  110. package/dist/navigation/helpers/traverse-document.js +16 -2
  111. package/dist/navigation/helpers/traverse-document.js.map +2 -2
  112. package/dist/navigation/helpers/traverse-examples.js +2 -2
  113. package/dist/navigation/helpers/traverse-examples.js.map +2 -2
  114. package/dist/navigation/helpers/traverse-paths.d.ts +6 -3
  115. package/dist/navigation/helpers/traverse-paths.d.ts.map +1 -1
  116. package/dist/navigation/helpers/traverse-paths.js +5 -10
  117. package/dist/navigation/helpers/traverse-paths.js.map +2 -2
  118. package/dist/navigation/helpers/traverse-tags.d.ts +0 -1
  119. package/dist/navigation/helpers/traverse-tags.d.ts.map +1 -1
  120. package/dist/navigation/helpers/traverse-tags.js +57 -49
  121. package/dist/navigation/helpers/traverse-tags.js.map +3 -3
  122. package/dist/navigation/helpers/utils.d.ts +2 -1
  123. package/dist/navigation/helpers/utils.d.ts.map +1 -1
  124. package/dist/navigation/helpers/utils.js.map +1 -1
  125. package/dist/navigation/index.d.ts +2 -1
  126. package/dist/navigation/index.d.ts.map +1 -1
  127. package/dist/navigation/index.js +5 -3
  128. package/dist/navigation/index.js.map +2 -2
  129. package/dist/persistence/index.d.ts +6 -0
  130. package/dist/persistence/index.d.ts.map +1 -1
  131. package/dist/persistence/index.js +18 -0
  132. package/dist/persistence/index.js.map +2 -2
  133. package/dist/persistence/indexdb.d.ts +1 -0
  134. package/dist/persistence/indexdb.d.ts.map +1 -1
  135. package/dist/persistence/indexdb.js +6 -1
  136. package/dist/persistence/indexdb.js.map +2 -2
  137. package/dist/plugins/client/persistence.d.ts.map +1 -1
  138. package/dist/plugins/client/persistence.js +6 -0
  139. package/dist/plugins/client/persistence.js.map +2 -2
  140. package/dist/schemas/extensions/document/x-scalar-environments.d.ts +1 -0
  141. package/dist/schemas/extensions/document/x-scalar-environments.d.ts.map +1 -1
  142. package/dist/schemas/extensions/document/x-scalar-environments.js.map +2 -2
  143. package/dist/schemas/extensions/document/x-scalar-set-operation-security.d.ts +13 -0
  144. package/dist/schemas/extensions/document/x-scalar-set-operation-security.d.ts.map +1 -0
  145. package/dist/schemas/extensions/document/x-scalar-set-operation-security.js +8 -0
  146. package/dist/schemas/extensions/document/x-scalar-set-operation-security.js.map +7 -0
  147. package/dist/schemas/extensions/general/x-scalar-cookies.d.ts +36 -0
  148. package/dist/schemas/extensions/general/x-scalar-cookies.d.ts.map +1 -0
  149. package/dist/schemas/extensions/general/x-scalar-cookies.js +15 -0
  150. package/dist/schemas/extensions/general/x-scalar-cookies.js.map +7 -0
  151. package/dist/schemas/extensions/general/x-scalar-order.d.ts +12 -0
  152. package/dist/schemas/extensions/general/x-scalar-order.d.ts.map +1 -0
  153. package/dist/schemas/extensions/general/x-scalar-order.js +8 -0
  154. package/dist/schemas/extensions/general/x-scalar-order.js.map +7 -0
  155. package/dist/schemas/extensions/operation/index.d.ts +4 -1
  156. package/dist/schemas/extensions/operation/index.d.ts.map +1 -1
  157. package/dist/schemas/extensions/operation/index.js +22 -0
  158. package/dist/schemas/extensions/operation/index.js.map +3 -3
  159. package/dist/schemas/extensions/operation/x-code-samples.d.ts +0 -5
  160. package/dist/schemas/extensions/operation/x-code-samples.d.ts.map +1 -1
  161. package/dist/schemas/extensions/operation/x-code-samples.js +0 -1
  162. package/dist/schemas/extensions/operation/x-code-samples.js.map +2 -2
  163. package/dist/schemas/extensions/operation/x-post-response.d.ts +0 -18
  164. package/dist/schemas/extensions/operation/x-post-response.d.ts.map +1 -1
  165. package/dist/schemas/extensions/operation/x-post-response.js.map +1 -1
  166. package/dist/schemas/extensions/tag/x-tag-groups.d.ts +8 -14
  167. package/dist/schemas/extensions/tag/x-tag-groups.d.ts.map +1 -1
  168. package/dist/schemas/extensions/tag/x-tag-groups.js +15 -11
  169. package/dist/schemas/extensions/tag/x-tag-groups.js.map +2 -2
  170. package/dist/schemas/extensions/workspace/index.d.ts +4 -0
  171. package/dist/schemas/extensions/workspace/index.d.ts.map +1 -0
  172. package/dist/schemas/extensions/workspace/index.js +15 -0
  173. package/dist/schemas/extensions/workspace/index.js.map +7 -0
  174. package/dist/schemas/extensions/workspace/x-scalar-active-proxy.d.ts +18 -0
  175. package/dist/schemas/extensions/workspace/x-scalar-active-proxy.d.ts.map +1 -0
  176. package/dist/schemas/extensions/workspace/x-scalar-active-proxy.js +8 -0
  177. package/dist/schemas/extensions/workspace/x-scalar-active-proxy.js.map +7 -0
  178. package/dist/schemas/extensions/workspace/x-scalar-tabs.d.ts +36 -0
  179. package/dist/schemas/extensions/workspace/x-scalar-tabs.d.ts.map +1 -0
  180. package/dist/schemas/extensions/workspace/x-scalar-tabs.js +16 -0
  181. package/dist/schemas/extensions/workspace/x-scalar-tabs.js.map +7 -0
  182. package/dist/schemas/extensions.d.ts +1 -1
  183. package/dist/schemas/extensions.js +1 -1
  184. package/dist/schemas/extensions.js.map +2 -2
  185. package/dist/schemas/inmemory-workspace.d.ts +46 -33
  186. package/dist/schemas/inmemory-workspace.d.ts.map +1 -1
  187. package/dist/schemas/navigation.d.ts +12 -1
  188. package/dist/schemas/navigation.d.ts.map +1 -1
  189. package/dist/schemas/navigation.js +2 -1
  190. package/dist/schemas/navigation.js.map +2 -2
  191. package/dist/schemas/reference-config/index.d.ts +22 -16
  192. package/dist/schemas/reference-config/index.d.ts.map +1 -1
  193. package/dist/schemas/reference-config/settings.d.ts +22 -16
  194. package/dist/schemas/reference-config/settings.d.ts.map +1 -1
  195. package/dist/schemas/reference-config/settings.js +2 -0
  196. package/dist/schemas/reference-config/settings.js.map +2 -2
  197. package/dist/schemas/v3.1/strict/header.d.ts +0 -45
  198. package/dist/schemas/v3.1/strict/header.d.ts.map +1 -1
  199. package/dist/schemas/v3.1/strict/header.js +1 -3
  200. package/dist/schemas/v3.1/strict/header.js.map +2 -2
  201. package/dist/schemas/v3.1/strict/oauth-flow.d.ts +0 -99
  202. package/dist/schemas/v3.1/strict/oauth-flow.d.ts.map +1 -1
  203. package/dist/schemas/v3.1/strict/oauth-flow.js +0 -7
  204. package/dist/schemas/v3.1/strict/oauth-flow.js.map +2 -2
  205. package/dist/schemas/v3.1/strict/openapi-document.d.ts +756 -552
  206. package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
  207. package/dist/schemas/v3.1/strict/openapi-document.js +10 -11
  208. package/dist/schemas/v3.1/strict/openapi-document.js.map +2 -2
  209. package/dist/schemas/v3.1/strict/operation.d.ts +1 -5
  210. package/dist/schemas/v3.1/strict/operation.d.ts.map +1 -1
  211. package/dist/schemas/v3.1/strict/operation.js +1 -5
  212. package/dist/schemas/v3.1/strict/operation.js.map +2 -2
  213. package/dist/schemas/v3.1/strict/parameter.d.ts +1 -101
  214. package/dist/schemas/v3.1/strict/parameter.d.ts.map +1 -1
  215. package/dist/schemas/v3.1/strict/parameter.js +1 -4
  216. package/dist/schemas/v3.1/strict/parameter.js.map +2 -2
  217. package/dist/schemas/v3.1/strict/ref-definitions.d.ts +0 -1
  218. package/dist/schemas/v3.1/strict/ref-definitions.d.ts.map +1 -1
  219. package/dist/schemas/v3.1/strict/ref-definitions.js +0 -2
  220. package/dist/schemas/v3.1/strict/ref-definitions.js.map +2 -2
  221. package/dist/schemas/v3.1/strict/schema.d.ts +28 -11
  222. package/dist/schemas/v3.1/strict/schema.d.ts.map +1 -1
  223. package/dist/schemas/v3.1/strict/schema.js +2 -2
  224. package/dist/schemas/v3.1/strict/schema.js.map +2 -2
  225. package/dist/schemas/v3.1/strict/security-scheme.d.ts +1 -54
  226. package/dist/schemas/v3.1/strict/security-scheme.d.ts.map +1 -1
  227. package/dist/schemas/v3.1/strict/security-scheme.js +0 -5
  228. package/dist/schemas/v3.1/strict/security-scheme.js.map +2 -2
  229. package/dist/schemas/v3.1/strict/tag.d.ts +4 -1
  230. package/dist/schemas/v3.1/strict/tag.d.ts.map +1 -1
  231. package/dist/schemas/v3.1/strict/tag.js +3 -1
  232. package/dist/schemas/v3.1/strict/tag.js.map +2 -2
  233. package/dist/schemas/v3.1/strict/type-guards.d.ts +6 -0
  234. package/dist/schemas/v3.1/strict/type-guards.d.ts.map +1 -1
  235. package/dist/schemas/v3.1/strict/type-guards.js +4 -0
  236. package/dist/schemas/v3.1/strict/type-guards.js.map +2 -2
  237. package/dist/schemas/workspace-specification/config.d.ts +22 -16
  238. package/dist/schemas/workspace-specification/config.d.ts.map +1 -1
  239. package/dist/schemas/workspace-specification/index.d.ts +23 -17
  240. package/dist/schemas/workspace-specification/index.d.ts.map +1 -1
  241. package/dist/schemas/workspace.d.ts +204 -130
  242. package/dist/schemas/workspace.d.ts.map +1 -1
  243. package/dist/schemas/workspace.js +18 -11
  244. package/dist/schemas/workspace.js.map +2 -2
  245. package/dist/server.d.ts +1 -1
  246. package/dist/workspace-plugin.d.ts +3 -0
  247. package/dist/workspace-plugin.d.ts.map +1 -1
  248. package/package.json +50 -35
  249. package/dist/schemas/extensions/document/x-scalar-document-security.d.ts +0 -13
  250. package/dist/schemas/extensions/document/x-scalar-document-security.d.ts.map +0 -1
  251. package/dist/schemas/extensions/document/x-scalar-document-security.js +0 -8
  252. package/dist/schemas/extensions/document/x-scalar-document-security.js.map +0 -7
  253. package/dist/schemas/extensions/operation/x-scalar-operation-identifiers.d.ts +0 -13
  254. package/dist/schemas/extensions/operation/x-scalar-operation-identifiers.d.ts.map +0 -1
  255. package/dist/schemas/extensions/operation/x-scalar-operation-identifiers.js +0 -9
  256. package/dist/schemas/extensions/operation/x-scalar-operation-identifiers.js.map +0 -7
  257. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts +0 -32
  258. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts.map +0 -1
  259. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.js +0 -13
  260. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.js.map +0 -7
@@ -1,27 +1,10 @@
1
1
  import { type XDefaultScopes } from '../../../schemas/extensions/security/x-default-scopes.js';
2
2
  import { type XScalarSecretHTTP, type XScalarSecretToken } from '../../../schemas/extensions/security/x-scalar-security-secrets.js';
3
3
  import type { OAuthFlowsObject } from '../../../schemas/v3.1/strict/oauthflows.js';
4
- export declare const DescriptionSchema: import("@scalar/typebox").TObject<{
5
- /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */
6
- description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
7
- }>;
8
4
  type Description = {
9
5
  /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */
10
6
  description?: string;
11
7
  };
12
- export declare const ApiKeySchema: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
13
- /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */
14
- description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
15
- }>, import("@scalar/typebox").TObject<{
16
- 'x-scalar-secret-token': import("@scalar/typebox").TString;
17
- }>, import("@scalar/typebox").TObject<{
18
- /** REQUIRED. The type of the security scheme. Valid values are "apiKey", "http", "mutualTLS", "oauth2", "openIdConnect". */
19
- type: import("@scalar/typebox").TLiteral<"apiKey">;
20
- /** REQUIRED. The name of the header, query or cookie parameter to be used. */
21
- name: import("@scalar/typebox").TString;
22
- /** REQUIRED. The location of the API key. Valid values are "query", "header", or "cookie". */
23
- in: import("@scalar/typebox").TString;
24
- }>]>;
25
8
  export type ApiKeyObject = Description & {
26
9
  /** REQUIRED. The type of the security scheme. Valid values are "apiKey", "http", "mutualTLS", "oauth2", "openIdConnect". */
27
10
  type: 'apiKey';
@@ -30,22 +13,6 @@ export type ApiKeyObject = Description & {
30
13
  /** REQUIRED. The location of the API key. Valid values are "query", "header", or "cookie". */
31
14
  in: string;
32
15
  } & XScalarSecretToken;
33
- export declare const HttpSchema: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
34
- /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */
35
- description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
36
- }>, import("@scalar/typebox").TObject<{
37
- 'x-scalar-secret-token': import("@scalar/typebox").TString;
38
- }>, import("@scalar/typebox").TObject<{
39
- 'x-scalar-secret-username': import("@scalar/typebox").TString;
40
- 'x-scalar-secret-password': import("@scalar/typebox").TString;
41
- }>, import("@scalar/typebox").TObject<{
42
- /** REQUIRED. The type of the security scheme. Valid values are "apiKey", "http", "mutualTLS", "oauth2", "openIdConnect". */
43
- type: import("@scalar/typebox").TLiteral<"http">;
44
- /** REQUIRED. The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235. The values used SHOULD be registered in the IANA Authentication Scheme registry. The value is case-insensitive, as defined in RFC7235. */
45
- scheme: import("@scalar/typebox").TString;
46
- /** A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes. */
47
- bearerFormat: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
48
- }>]>;
49
16
  export type HttpObject = Description & {
50
17
  /** REQUIRED. The type of the security scheme. Valid values are "apiKey", "http", "mutualTLS", "oauth2", "openIdConnect". */
51
18
  type: 'http';
@@ -54,33 +21,13 @@ export type HttpObject = Description & {
54
21
  /** A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes. */
55
22
  bearerFormat?: string;
56
23
  } & XScalarSecretHTTP & XScalarSecretToken;
57
- export declare const OAuth2: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
58
- /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */
59
- description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
60
- }>, import("@scalar/typebox").TObject<{
61
- /** REQUIRED. The type of the security scheme. Valid values are "apiKey", "http", "mutualTLS", "oauth2", "openIdConnect". */
62
- type: import("@scalar/typebox").TLiteral<"oauth2">;
63
- /** REQUIRED. An object containing configuration information for the flow types supported. */
64
- flows: import("@scalar/typebox").TRef<"OAuthFlowsObject">;
65
- }>, import("@scalar/typebox").TObject<{
66
- 'x-default-scopes': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
67
- }>]>;
68
24
  export type OAuth2Object = Description & {
69
25
  /** REQUIRED. The type of the security scheme. Valid values are "apiKey", "http", "mutualTLS", "oauth2", "openIdConnect". */
70
26
  type: 'oauth2';
71
27
  /** REQUIRED. An object containing configuration information for the flow types supported. */
72
28
  flows: OAuthFlowsObject;
73
29
  } & XDefaultScopes;
74
- export declare const OpenIdConnect: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
75
- /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */
76
- description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
77
- }>, import("@scalar/typebox").TObject<{
78
- /** REQUIRED. The type of the security scheme. Valid values are "apiKey", "http", "mutualTLS", "oauth2", "openIdConnect". */
79
- type: import("@scalar/typebox").TLiteral<"openIdConnect">;
80
- /** REQUIRED. Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata. */
81
- openIdConnectUrl: import("@scalar/typebox").TString;
82
- }>]>;
83
- export type OpenIdConnectObject = Description & {
30
+ type OpenIdConnectObject = Description & {
84
31
  /** REQUIRED. The type of the security scheme. Valid values are "apiKey", "http", "mutualTLS", "oauth2", "openIdConnect". */
85
32
  type: 'openIdConnect';
86
33
  /** REQUIRED. Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata. */
@@ -1 +1 @@
1
- {"version":3,"file":"security-scheme.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/security-scheme.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,cAAc,EAAwB,MAAM,gDAAgD,CAAA;AAC1G,OAAO,EACL,KAAK,iBAAiB,EAEtB,KAAK,kBAAkB,EAExB,MAAM,yDAAyD,CAAA;AAChE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAA;AAGxE,eAAO,MAAM,iBAAiB;IAC5B,qGAAqG;;EAErG,CAAA;AAEF,KAAK,WAAW,GAAG;IACjB,qGAAqG;IACrG,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,eAAO,MAAM,YAAY;IATvB,qGAAqG;;;;;IAanG,4HAA4H;;IAE5H,8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,mBAAmB,GAAG,WAAW,GAAG;IACvC,4HAA4H;IAC5H,IAAI,EAAE,eAAe,CAAA;IACrB,+FAA+F;IAC/F,gBAAgB,EAAE,MAAM,CAAA;CACzB,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,oCAAoC;IA/F/C,qGAAqG;;;;;IAanG,4HAA4H;;IAE5H,8EAA8E;;IAE9E,8FAA8F;;;IAjBhG,qGAAqG;;;;;;;;IAoCnG,4HAA4H;;IAE5H,gQAAgQ;;IAEhQ,uMAAuM;;;IAxCzM,qGAAqG;;;IA0DnG,4HAA4H;;IAE5H,6FAA6F;;;;;IA5D/F,qGAAqG;;;IA4EnG,4HAA4H;;IAE5H,+FAA+F;;MAiBc,CAAA;AAEjH,MAAM,MAAM,oBAAoB,GAAG,YAAY,GAAG,UAAU,GAAG,YAAY,GAAG,mBAAmB,CAAA"}
@@ -56,11 +56,6 @@ const OpenIdConnect = compose(
56
56
  );
57
57
  const SecuritySchemeObjectSchemaDefinition = Type.Union([ApiKeySchema, HttpSchema, OAuth2, OpenIdConnect]);
58
58
  export {
59
- ApiKeySchema,
60
- DescriptionSchema,
61
- HttpSchema,
62
- OAuth2,
63
- OpenIdConnect,
64
59
  SecuritySchemeObjectSchemaDefinition
65
60
  };
66
61
  //# sourceMappingURL=security-scheme.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/security-scheme.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport { compose } from '@/schemas/compose'\nimport { type XDefaultScopes, XDefaultScopesSchema } from '@/schemas/extensions/security/x-default-scopes'\nimport {\n type XScalarSecretHTTP,\n XScalarSecretHTTPSchema,\n type XScalarSecretToken,\n XScalarSecretTokenSchema,\n} from '@/schemas/extensions/security/x-scalar-security-secrets'\nimport type { OAuthFlowsObject } from '@/schemas/v3.1/strict/oauthflows'\nimport { OAuthFlowsObjectRef } from '@/schemas/v3.1/strict/ref-definitions'\n\nexport const DescriptionSchema = Type.Object({\n /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n})\n\ntype Description = {\n /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */\n description?: string\n}\n\nexport const ApiKeySchema = compose(\n DescriptionSchema,\n XScalarSecretTokenSchema,\n Type.Object({\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: Type.Literal('apiKey'),\n /** REQUIRED. The name of the header, query or cookie parameter to be used. */\n name: Type.String(),\n /** REQUIRED. The location of the API key. Valid values are \"query\", \"header\", or \"cookie\". */\n in: Type.String(),\n }),\n)\n\nexport type ApiKeyObject = Description & {\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: 'apiKey'\n /** REQUIRED. The name of the header, query or cookie parameter to be used. */\n name: string\n /** REQUIRED. The location of the API key. Valid values are \"query\", \"header\", or \"cookie\". */\n in: string\n} & XScalarSecretToken\n\nexport const HttpSchema = compose(\n DescriptionSchema,\n XScalarSecretTokenSchema,\n XScalarSecretHTTPSchema,\n Type.Object({\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: Type.Literal('http'),\n /** REQUIRED. The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235. The values used SHOULD be registered in the IANA Authentication Scheme registry. The value is case-insensitive, as defined in RFC7235. */\n scheme: Type.String(),\n /** A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes. */\n bearerFormat: Type.Optional(Type.String()),\n }),\n)\n\nexport type HttpObject = Description & {\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: 'http'\n /** REQUIRED. The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235. The values used SHOULD be registered in the IANA Authentication Scheme registry. The value is case-insensitive, as defined in RFC7235. */\n scheme: string\n /** A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes. */\n bearerFormat?: string\n} & XScalarSecretHTTP &\n XScalarSecretToken\n\nexport const OAuth2 = compose(\n DescriptionSchema,\n Type.Object({\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: Type.Literal('oauth2'),\n /** REQUIRED. An object containing configuration information for the flow types supported. */\n flows: OAuthFlowsObjectRef,\n }),\n XDefaultScopesSchema,\n)\n\nexport type OAuth2Object = Description & {\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: 'oauth2'\n /** REQUIRED. An object containing configuration information for the flow types supported. */\n flows: OAuthFlowsObject\n} & XDefaultScopes\n\nexport const OpenIdConnect = compose(\n DescriptionSchema,\n Type.Object({\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: Type.Literal('openIdConnect'),\n /** REQUIRED. Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata. */\n openIdConnectUrl: Type.String(),\n }),\n)\n\nexport type OpenIdConnectObject = Description & {\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: 'openIdConnect'\n /** REQUIRED. Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata. */\n openIdConnectUrl: string\n}\n\n/**\n * Defines a security scheme that can be used by the operations.\n *\n * Supported schemes are HTTP authentication, an API key (either as a header, a cookie parameter or as a query parameter), mutual TLS (use of a client certificate), OAuth2's common flows (implicit, password, client credentials and authorization code) as defined in RFC6749, and [[OpenID-Connect-Core]]. Please note that as of 2020, the implicit flow is about to be deprecated by OAuth 2.0 Security Best Current Practice. Recommended for most use cases is Authorization Code Grant flow with PKCE.\n */\nexport const SecuritySchemeObjectSchemaDefinition = Type.Union([ApiKeySchema, HttpSchema, OAuth2, OpenIdConnect])\n\nexport type SecuritySchemeObject = ApiKeyObject | HttpObject | OAuth2Object | OpenIdConnectObject\n"],
5
- "mappings": "AAAA,SAAS,YAAY;AAErB,SAAS,eAAe;AACxB,SAA8B,4BAA4B;AAC1D;AAAA,EAEE;AAAA,EAEA;AAAA,OACK;AAEP,SAAS,2BAA2B;AAE7B,MAAM,oBAAoB,KAAK,OAAO;AAAA;AAAA,EAE3C,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAC1C,CAAC;AAOM,MAAM,eAAe;AAAA,EAC1B;AAAA,EACA;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,QAAQ;AAAA;AAAA,IAE3B,MAAM,KAAK,OAAO;AAAA;AAAA,IAElB,IAAI,KAAK,OAAO;AAAA,EAClB,CAAC;AACH;AAWO,MAAM,aAAa;AAAA,EACxB;AAAA,EACA;AAAA,EACA;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,MAAM;AAAA;AAAA,IAEzB,QAAQ,KAAK,OAAO;AAAA;AAAA,IAEpB,cAAc,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EAC3C,CAAC;AACH;AAYO,MAAM,SAAS;AAAA,EACpB;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,QAAQ;AAAA;AAAA,IAE3B,OAAO;AAAA,EACT,CAAC;AAAA,EACD;AACF;AASO,MAAM,gBAAgB;AAAA,EAC3B;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,eAAe;AAAA;AAAA,IAElC,kBAAkB,KAAK,OAAO;AAAA,EAChC,CAAC;AACH;AAcO,MAAM,uCAAuC,KAAK,MAAM,CAAC,cAAc,YAAY,QAAQ,aAAa,CAAC;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport { compose } from '@/schemas/compose'\nimport { type XDefaultScopes, XDefaultScopesSchema } from '@/schemas/extensions/security/x-default-scopes'\nimport {\n type XScalarSecretHTTP,\n XScalarSecretHTTPSchema,\n type XScalarSecretToken,\n XScalarSecretTokenSchema,\n} from '@/schemas/extensions/security/x-scalar-security-secrets'\nimport type { OAuthFlowsObject } from '@/schemas/v3.1/strict/oauthflows'\nimport { OAuthFlowsObjectRef } from '@/schemas/v3.1/strict/ref-definitions'\n\nconst DescriptionSchema = Type.Object({\n /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n})\n\ntype Description = {\n /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */\n description?: string\n}\n\nconst ApiKeySchema = compose(\n DescriptionSchema,\n XScalarSecretTokenSchema,\n Type.Object({\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: Type.Literal('apiKey'),\n /** REQUIRED. The name of the header, query or cookie parameter to be used. */\n name: Type.String(),\n /** REQUIRED. The location of the API key. Valid values are \"query\", \"header\", or \"cookie\". */\n in: Type.String(),\n }),\n)\n\nexport type ApiKeyObject = Description & {\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: 'apiKey'\n /** REQUIRED. The name of the header, query or cookie parameter to be used. */\n name: string\n /** REQUIRED. The location of the API key. Valid values are \"query\", \"header\", or \"cookie\". */\n in: string\n} & XScalarSecretToken\n\nconst HttpSchema = compose(\n DescriptionSchema,\n XScalarSecretTokenSchema,\n XScalarSecretHTTPSchema,\n Type.Object({\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: Type.Literal('http'),\n /** REQUIRED. The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235. The values used SHOULD be registered in the IANA Authentication Scheme registry. The value is case-insensitive, as defined in RFC7235. */\n scheme: Type.String(),\n /** A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes. */\n bearerFormat: Type.Optional(Type.String()),\n }),\n)\n\nexport type HttpObject = Description & {\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: 'http'\n /** REQUIRED. The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235. The values used SHOULD be registered in the IANA Authentication Scheme registry. The value is case-insensitive, as defined in RFC7235. */\n scheme: string\n /** A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes. */\n bearerFormat?: string\n} & XScalarSecretHTTP &\n XScalarSecretToken\n\nconst OAuth2 = compose(\n DescriptionSchema,\n Type.Object({\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: Type.Literal('oauth2'),\n /** REQUIRED. An object containing configuration information for the flow types supported. */\n flows: OAuthFlowsObjectRef,\n }),\n XDefaultScopesSchema,\n)\n\nexport type OAuth2Object = Description & {\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: 'oauth2'\n /** REQUIRED. An object containing configuration information for the flow types supported. */\n flows: OAuthFlowsObject\n} & XDefaultScopes\n\nconst OpenIdConnect = compose(\n DescriptionSchema,\n Type.Object({\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: Type.Literal('openIdConnect'),\n /** REQUIRED. Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata. */\n openIdConnectUrl: Type.String(),\n }),\n)\n\ntype OpenIdConnectObject = Description & {\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: 'openIdConnect'\n /** REQUIRED. Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata. */\n openIdConnectUrl: string\n}\n\n/**\n * Defines a security scheme that can be used by the operations.\n *\n * Supported schemes are HTTP authentication, an API key (either as a header, a cookie parameter or as a query parameter), mutual TLS (use of a client certificate), OAuth2's common flows (implicit, password, client credentials and authorization code) as defined in RFC6749, and [[OpenID-Connect-Core]]. Please note that as of 2020, the implicit flow is about to be deprecated by OAuth 2.0 Security Best Current Practice. Recommended for most use cases is Authorization Code Grant flow with PKCE.\n */\nexport const SecuritySchemeObjectSchemaDefinition = Type.Union([ApiKeySchema, HttpSchema, OAuth2, OpenIdConnect])\n\nexport type SecuritySchemeObject = ApiKeyObject | HttpObject | OAuth2Object | OpenIdConnectObject\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAErB,SAAS,eAAe;AACxB,SAA8B,4BAA4B;AAC1D;AAAA,EAEE;AAAA,EAEA;AAAA,OACK;AAEP,SAAS,2BAA2B;AAEpC,MAAM,oBAAoB,KAAK,OAAO;AAAA;AAAA,EAEpC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAC1C,CAAC;AAOD,MAAM,eAAe;AAAA,EACnB;AAAA,EACA;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,QAAQ;AAAA;AAAA,IAE3B,MAAM,KAAK,OAAO;AAAA;AAAA,IAElB,IAAI,KAAK,OAAO;AAAA,EAClB,CAAC;AACH;AAWA,MAAM,aAAa;AAAA,EACjB;AAAA,EACA;AAAA,EACA;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,MAAM;AAAA;AAAA,IAEzB,QAAQ,KAAK,OAAO;AAAA;AAAA,IAEpB,cAAc,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EAC3C,CAAC;AACH;AAYA,MAAM,SAAS;AAAA,EACb;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,QAAQ;AAAA;AAAA,IAE3B,OAAO;AAAA,EACT,CAAC;AAAA,EACD;AACF;AASA,MAAM,gBAAgB;AAAA,EACpB;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,eAAe;AAAA;AAAA,IAElC,kBAAkB,KAAK,OAAO;AAAA,EAChC,CAAC;AACH;AAcO,MAAM,uCAAuC,KAAK,MAAM,CAAC,cAAc,YAAY,QAAQ,aAAa,CAAC;",
6
6
  "names": []
7
7
  }
@@ -1,5 +1,6 @@
1
1
  import { type XInternal } from '../../../schemas/extensions/document/x-internal.js';
2
2
  import { type XScalarIgnore } from '../../../schemas/extensions/document/x-scalar-ignore.js';
3
+ import { type XScalarOrder } from '../../../schemas/extensions/general/x-scalar-order.js';
3
4
  import { type XDisplayName } from '../../../schemas/extensions/tag/x-display-name.js';
4
5
  import type { ExternalDocumentationObject } from './external-documentation.js';
5
6
  /** Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances. */
@@ -16,6 +17,8 @@ export declare const TagObjectSchemaDefinition: import("@scalar/typebox").TInter
16
17
  'x-internal': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
17
18
  }>, import("@scalar/typebox").TObject<{
18
19
  'x-scalar-ignore': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
20
+ }>, import("@scalar/typebox").TObject<{
21
+ 'x-scalar-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
19
22
  }>]>;
20
23
  /** Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances. */
21
24
  export type TagObject = {
@@ -25,5 +28,5 @@ export type TagObject = {
25
28
  description?: string;
26
29
  /** Additional external documentation for this tag. */
27
30
  externalDocs?: ExternalDocumentationObject;
28
- } & XDisplayName & XInternal & XScalarIgnore;
31
+ } & XDisplayName & XInternal & XScalarIgnore & XScalarOrder;
29
32
  //# sourceMappingURL=tag.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/tag.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAmB,MAAM,0CAA0C,CAAA;AAC1F,OAAO,EAAE,KAAK,aAAa,EAAuB,MAAM,+CAA+C,CAAA;AACvG,OAAO,EAAE,KAAK,YAAY,EAAsB,MAAM,yCAAyC,CAAA;AAE/F,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAA;AAG3E,sKAAsK;AACtK,eAAO,MAAM,yBAAyB;IAElC,qCAAqC;;IAErC,6FAA6F;;IAE7F,sDAAsD;;;;;;;;IAMzD,CAAA;AAED,sKAAsK;AACtK,MAAM,MAAM,SAAS,GAAG;IACtB,qCAAqC;IACrC,IAAI,EAAE,MAAM,CAAA;IACZ,6FAA6F;IAC7F,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,sDAAsD;IACtD,YAAY,CAAC,EAAE,2BAA2B,CAAA;CAC3C,GAAG,YAAY,GACd,SAAS,GACT,aAAa,CAAA"}
1
+ {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/tag.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAmB,MAAM,0CAA0C,CAAA;AAC1F,OAAO,EAAE,KAAK,aAAa,EAAuB,MAAM,+CAA+C,CAAA;AACvG,OAAO,EAAE,KAAK,YAAY,EAAsB,MAAM,6CAA6C,CAAA;AACnG,OAAO,EAAE,KAAK,YAAY,EAAsB,MAAM,yCAAyC,CAAA;AAE/F,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAA;AAG3E,sKAAsK;AACtK,eAAO,MAAM,yBAAyB;IAElC,qCAAqC;;IAErC,6FAA6F;;IAE7F,sDAAsD;;;;;;;;;;IAOzD,CAAA;AAED,sKAAsK;AACtK,MAAM,MAAM,SAAS,GAAG;IACtB,qCAAqC;IACrC,IAAI,EAAE,MAAM,CAAA;IACZ,6FAA6F;IAC7F,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,sDAAsD;IACtD,YAAY,CAAC,EAAE,2BAA2B,CAAA;CAC3C,GAAG,YAAY,GACd,SAAS,GACT,aAAa,GACb,YAAY,CAAA"}
@@ -2,6 +2,7 @@ import { Type } from "@scalar/typebox";
2
2
  import { compose } from "../../../schemas/compose.js";
3
3
  import { XInternalSchema } from "../../../schemas/extensions/document/x-internal.js";
4
4
  import { XScalarIgnoreSchema } from "../../../schemas/extensions/document/x-scalar-ignore.js";
5
+ import { XScalarOrderSchema } from "../../../schemas/extensions/general/x-scalar-order.js";
5
6
  import { XDisplayNameSchema } from "../../../schemas/extensions/tag/x-display-name.js";
6
7
  import { ExternalDocumentationObjectRef } from "./ref-definitions.js";
7
8
  const TagObjectSchemaDefinition = compose(
@@ -15,7 +16,8 @@ const TagObjectSchemaDefinition = compose(
15
16
  }),
16
17
  XDisplayNameSchema,
17
18
  XInternalSchema,
18
- XScalarIgnoreSchema
19
+ XScalarIgnoreSchema,
20
+ XScalarOrderSchema
19
21
  );
20
22
  export {
21
23
  TagObjectSchemaDefinition
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/tag.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport { compose } from '@/schemas/compose'\nimport { type XInternal, XInternalSchema } from '@/schemas/extensions/document/x-internal'\nimport { type XScalarIgnore, XScalarIgnoreSchema } from '@/schemas/extensions/document/x-scalar-ignore'\nimport { type XDisplayName, XDisplayNameSchema } from '@/schemas/extensions/tag/x-display-name'\n\nimport type { ExternalDocumentationObject } from './external-documentation'\nimport { ExternalDocumentationObjectRef } from './ref-definitions'\n\n/** Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances. */\nexport const TagObjectSchemaDefinition = compose(\n Type.Object({\n /** REQUIRED. The name of the tag. */\n name: Type.String(),\n /** A description for the tag. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** Additional external documentation for this tag. */\n externalDocs: Type.Optional(ExternalDocumentationObjectRef),\n }),\n XDisplayNameSchema,\n XInternalSchema,\n XScalarIgnoreSchema,\n)\n\n/** Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances. */\nexport type TagObject = {\n /** REQUIRED. The name of the tag. */\n name: string\n /** A description for the tag. CommonMark syntax MAY be used for rich text representation. */\n description?: string\n /** Additional external documentation for this tag. */\n externalDocs?: ExternalDocumentationObject\n} & XDisplayName &\n XInternal &\n XScalarIgnore\n"],
5
- "mappings": "AAAA,SAAS,YAAY;AAErB,SAAS,eAAe;AACxB,SAAyB,uBAAuB;AAChD,SAA6B,2BAA2B;AACxD,SAA4B,0BAA0B;AAGtD,SAAS,sCAAsC;AAGxC,MAAM,4BAA4B;AAAA,EACvC,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,OAAO;AAAA;AAAA,IAElB,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAExC,cAAc,KAAK,SAAS,8BAA8B;AAAA,EAC5D,CAAC;AAAA,EACD;AAAA,EACA;AAAA,EACA;AACF;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport { compose } from '@/schemas/compose'\nimport { type XInternal, XInternalSchema } from '@/schemas/extensions/document/x-internal'\nimport { type XScalarIgnore, XScalarIgnoreSchema } from '@/schemas/extensions/document/x-scalar-ignore'\nimport { type XScalarOrder, XScalarOrderSchema } from '@/schemas/extensions/general/x-scalar-order'\nimport { type XDisplayName, XDisplayNameSchema } from '@/schemas/extensions/tag/x-display-name'\n\nimport type { ExternalDocumentationObject } from './external-documentation'\nimport { ExternalDocumentationObjectRef } from './ref-definitions'\n\n/** Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances. */\nexport const TagObjectSchemaDefinition = compose(\n Type.Object({\n /** REQUIRED. The name of the tag. */\n name: Type.String(),\n /** A description for the tag. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** Additional external documentation for this tag. */\n externalDocs: Type.Optional(ExternalDocumentationObjectRef),\n }),\n XDisplayNameSchema,\n XInternalSchema,\n XScalarIgnoreSchema,\n XScalarOrderSchema,\n)\n\n/** Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances. */\nexport type TagObject = {\n /** REQUIRED. The name of the tag. */\n name: string\n /** A description for the tag. CommonMark syntax MAY be used for rich text representation. */\n description?: string\n /** Additional external documentation for this tag. */\n externalDocs?: ExternalDocumentationObject\n} & XDisplayName &\n XInternal &\n XScalarIgnore &\n XScalarOrder\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAErB,SAAS,eAAe;AACxB,SAAyB,uBAAuB;AAChD,SAA6B,2BAA2B;AACxD,SAA4B,0BAA0B;AACtD,SAA4B,0BAA0B;AAGtD,SAAS,sCAAsC;AAGxC,MAAM,4BAA4B;AAAA,EACvC,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,OAAO;AAAA;AAAA,IAElB,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAExC,cAAc,KAAK,SAAS,8BAA8B;AAAA,EAC5D,CAAC;AAAA,EACD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;",
6
6
  "names": []
7
7
  }
@@ -1,3 +1,4 @@
1
+ import type { ParameterObject, ParameterWithContentObject } from '../../../schemas/v3.1/strict/parameter.js';
1
2
  import type { SchemaObject } from './schema.js';
2
3
  export declare const isObjectSchema: (schema: SchemaObject) => schema is Extract<SchemaObject, {
3
4
  type: "object";
@@ -11,4 +12,9 @@ export declare const isStringSchema: (schema: SchemaObject) => schema is Extract
11
12
  export declare const isNumberSchema: (schema: SchemaObject) => schema is Extract<SchemaObject, {
12
13
  type: "number" | "integer";
13
14
  }>;
15
+ /**
16
+ * Type guard to check if the given parameter is a ParameterWithContentObject,
17
+ * i.e., it has a 'content' property defined.
18
+ */
19
+ export declare const isContentTypeParameterObject: (parameter: ParameterObject) => parameter is ParameterWithContentObject;
14
20
  //# sourceMappingURL=type-guards.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"type-guards.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/type-guards.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAE5C,eAAO,MAAM,cAAc,GAAI,QAAQ,YAAY,KAAG,MAAM,IAAI,OAAO,CAAC,YAAY,EAAE;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAIvG,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,QAAQ,YAAY,KAAG,MAAM,IAAI,OAAO,CAAC,YAAY,EAAE;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,CAErG,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,QAAQ,YAAY,KAAG,MAAM,IAAI,OAAO,CAAC,YAAY,EAAE;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAIvG,CAAA;AAED,eAAO,MAAM,cAAc,GACzB,QAAQ,YAAY,KACnB,MAAM,IAAI,OAAO,CAAC,YAAY,EAAE;IAAE,IAAI,EAAE,QAAQ,GAAG,SAAS,CAAA;CAAE,CAQhE,CAAA"}
1
+ {"version":3,"file":"type-guards.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/type-guards.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAA;AAElG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAE5C,eAAO,MAAM,cAAc,GAAI,QAAQ,YAAY,KAAG,MAAM,IAAI,OAAO,CAAC,YAAY,EAAE;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAIvG,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,QAAQ,YAAY,KAAG,MAAM,IAAI,OAAO,CAAC,YAAY,EAAE;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,CAErG,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,QAAQ,YAAY,KAAG,MAAM,IAAI,OAAO,CAAC,YAAY,EAAE;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAIvG,CAAA;AAED,eAAO,MAAM,cAAc,GACzB,QAAQ,YAAY,KACnB,MAAM,IAAI,OAAO,CAAC,YAAY,EAAE;IAAE,IAAI,EAAE,QAAQ,GAAG,SAAS,CAAA;CAAE,CAQhE,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,4BAA4B,GAAI,WAAW,eAAe,KAAG,SAAS,IAAI,0BAEtF,CAAA"}
@@ -10,8 +10,12 @@ const isStringSchema = (schema) => {
10
10
  const isNumberSchema = (schema) => {
11
11
  return "type" in schema && (schema.type === "number" || schema.type === "integer" || Array.isArray(schema.type) && schema.type.includes("number") || Array.isArray(schema.type) && schema.type.includes("integer"));
12
12
  };
13
+ const isContentTypeParameterObject = (parameter) => {
14
+ return "content" in parameter && parameter.content !== void 0;
15
+ };
13
16
  export {
14
17
  isArraySchema,
18
+ isContentTypeParameterObject,
15
19
  isNumberSchema,
16
20
  isObjectSchema,
17
21
  isStringSchema
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/type-guards.ts"],
4
- "sourcesContent": ["import type { SchemaObject } from './schema'\n\nexport const isObjectSchema = (schema: SchemaObject): schema is Extract<SchemaObject, { type: 'object' }> => {\n return (\n 'type' in schema && (schema.type === 'object' || (Array.isArray(schema.type) && schema.type.includes('object')))\n )\n}\n\nexport const isArraySchema = (schema: SchemaObject): schema is Extract<SchemaObject, { type: 'array' }> => {\n return 'type' in schema && (schema.type === 'array' || (Array.isArray(schema.type) && schema.type.includes('array')))\n}\n\nexport const isStringSchema = (schema: SchemaObject): schema is Extract<SchemaObject, { type: 'string' }> => {\n return (\n 'type' in schema && (schema.type === 'string' || (Array.isArray(schema.type) && schema.type.includes('string')))\n )\n}\n\nexport const isNumberSchema = (\n schema: SchemaObject,\n): schema is Extract<SchemaObject, { type: 'number' | 'integer' }> => {\n return (\n 'type' in schema &&\n (schema.type === 'number' ||\n schema.type === 'integer' ||\n (Array.isArray(schema.type) && schema.type.includes('number')) ||\n (Array.isArray(schema.type) && schema.type.includes('integer')))\n )\n}\n"],
5
- "mappings": "AAEO,MAAM,iBAAiB,CAAC,WAA8E;AAC3G,SACE,UAAU,WAAW,OAAO,SAAS,YAAa,MAAM,QAAQ,OAAO,IAAI,KAAK,OAAO,KAAK,SAAS,QAAQ;AAEjH;AAEO,MAAM,gBAAgB,CAAC,WAA6E;AACzG,SAAO,UAAU,WAAW,OAAO,SAAS,WAAY,MAAM,QAAQ,OAAO,IAAI,KAAK,OAAO,KAAK,SAAS,OAAO;AACpH;AAEO,MAAM,iBAAiB,CAAC,WAA8E;AAC3G,SACE,UAAU,WAAW,OAAO,SAAS,YAAa,MAAM,QAAQ,OAAO,IAAI,KAAK,OAAO,KAAK,SAAS,QAAQ;AAEjH;AAEO,MAAM,iBAAiB,CAC5B,WACoE;AACpE,SACE,UAAU,WACT,OAAO,SAAS,YACf,OAAO,SAAS,aACf,MAAM,QAAQ,OAAO,IAAI,KAAK,OAAO,KAAK,SAAS,QAAQ,KAC3D,MAAM,QAAQ,OAAO,IAAI,KAAK,OAAO,KAAK,SAAS,SAAS;AAEnE;",
4
+ "sourcesContent": ["import type { ParameterObject, ParameterWithContentObject } from '@/schemas/v3.1/strict/parameter'\n\nimport type { SchemaObject } from './schema'\n\nexport const isObjectSchema = (schema: SchemaObject): schema is Extract<SchemaObject, { type: 'object' }> => {\n return (\n 'type' in schema && (schema.type === 'object' || (Array.isArray(schema.type) && schema.type.includes('object')))\n )\n}\n\nexport const isArraySchema = (schema: SchemaObject): schema is Extract<SchemaObject, { type: 'array' }> => {\n return 'type' in schema && (schema.type === 'array' || (Array.isArray(schema.type) && schema.type.includes('array')))\n}\n\nexport const isStringSchema = (schema: SchemaObject): schema is Extract<SchemaObject, { type: 'string' }> => {\n return (\n 'type' in schema && (schema.type === 'string' || (Array.isArray(schema.type) && schema.type.includes('string')))\n )\n}\n\nexport const isNumberSchema = (\n schema: SchemaObject,\n): schema is Extract<SchemaObject, { type: 'number' | 'integer' }> => {\n return (\n 'type' in schema &&\n (schema.type === 'number' ||\n schema.type === 'integer' ||\n (Array.isArray(schema.type) && schema.type.includes('number')) ||\n (Array.isArray(schema.type) && schema.type.includes('integer')))\n )\n}\n\n/**\n * Type guard to check if the given parameter is a ParameterWithContentObject,\n * i.e., it has a 'content' property defined.\n */\nexport const isContentTypeParameterObject = (parameter: ParameterObject): parameter is ParameterWithContentObject => {\n return 'content' in parameter && parameter.content !== undefined\n}\n"],
5
+ "mappings": "AAIO,MAAM,iBAAiB,CAAC,WAA8E;AAC3G,SACE,UAAU,WAAW,OAAO,SAAS,YAAa,MAAM,QAAQ,OAAO,IAAI,KAAK,OAAO,KAAK,SAAS,QAAQ;AAEjH;AAEO,MAAM,gBAAgB,CAAC,WAA6E;AACzG,SAAO,UAAU,WAAW,OAAO,SAAS,WAAY,MAAM,QAAQ,OAAO,IAAI,KAAK,OAAO,KAAK,SAAS,OAAO;AACpH;AAEO,MAAM,iBAAiB,CAAC,WAA8E;AAC3G,SACE,UAAU,WAAW,OAAO,SAAS,YAAa,MAAM,QAAQ,OAAO,IAAI,KAAK,OAAO,KAAK,SAAS,QAAQ;AAEjH;AAEO,MAAM,iBAAiB,CAC5B,WACoE;AACpE,SACE,UAAU,WACT,OAAO,SAAS,YACf,OAAO,SAAS,aACf,MAAM,QAAQ,OAAO,IAAI,KAAK,OAAO,KAAK,SAAS,QAAQ,KAC3D,MAAM,QAAQ,OAAO,IAAI,KAAK,OAAO,KAAK,SAAS,SAAS;AAEnE;AAMO,MAAM,+BAA+B,CAAC,cAAwE;AACnH,SAAO,aAAa,aAAa,UAAU,YAAY;AACzD;",
6
6
  "names": []
7
7
  }
@@ -113,6 +113,8 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
113
113
  'x-internal': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
114
114
  }>, import("@scalar/typebox").TObject<{
115
115
  'x-scalar-ignore': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
116
+ }>, import("@scalar/typebox").TObject<{
117
+ 'x-scalar-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
116
118
  }>]>;
117
119
  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<{
118
120
  $ref: import("@scalar/typebox").TString;
@@ -304,9 +306,6 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
304
306
  }>>>;
305
307
  }>, import("@scalar/typebox").TObject<{
306
308
  '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">]>>;
307
- }>, import("@scalar/typebox").TObject<{
308
- 'x-scalar-path': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
309
- 'x-scalar-method': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
310
309
  }>]>;
311
310
  SchemaObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
312
311
  __scalar_: import("@scalar/typebox").TString;
@@ -483,9 +482,9 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
483
482
  format: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
484
483
  multipleOf: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
485
484
  maximum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
486
- exclusiveMaximum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TBoolean, import("@scalar/typebox").TNumber]>>;
485
+ exclusiveMaximum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
487
486
  minimum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
488
- exclusiveMinimum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TBoolean, import("@scalar/typebox").TNumber]>>;
487
+ exclusiveMinimum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
489
488
  }>, import("@scalar/typebox").TObject<{
490
489
  name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
491
490
  title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -1252,22 +1251,16 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1252
1251
  externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
1253
1252
  }>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1254
1253
  'x-scalar-client-config-active-environment': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1255
- 'x-scalar-client-config-icon': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1256
- 'x-scalar-client-config-cookies': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
1257
- name: import("@scalar/typebox").TString;
1258
- value: import("@scalar/typebox").TString;
1259
- domain: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1260
- path: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1261
- }>>>;
1262
1254
  'x-original-oas-version': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1263
1255
  'x-scalar-original-source-url': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1264
- 'x-scalar-watch-mode': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1265
1256
  "x-scalar-navigation": import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"TraversedDocumentObject">>;
1266
1257
  }>, import("@scalar/typebox").TObject<{
1267
- 'x-tagGroups': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
1258
+ 'x-tagGroups': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1268
1259
  name: import("@scalar/typebox").TString;
1269
1260
  tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
1270
- }>>>;
1261
+ }>, import("@scalar/typebox").TObject<{
1262
+ 'x-scalar-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
1263
+ }>]>>>;
1271
1264
  }>, import("@scalar/typebox").TObject<{
1272
1265
  'x-scalar-environments': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
1273
1266
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -1288,7 +1281,18 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1288
1281
  }>, import("@scalar/typebox").TObject<{
1289
1282
  'x-scalar-selected-server': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1290
1283
  }>, import("@scalar/typebox").TObject<{
1291
- 'x-scalar-document-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1284
+ 'x-scalar-set-operation-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1285
+ }>, import("@scalar/typebox").TObject<{
1286
+ 'x-scalar-icon': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1287
+ }>, import("@scalar/typebox").TObject<{
1288
+ 'x-scalar-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
1289
+ }>, import("@scalar/typebox").TObject<{
1290
+ 'x-scalar-cookies': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
1291
+ name: import("@scalar/typebox").TString;
1292
+ value: import("@scalar/typebox").TString;
1293
+ domain: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1294
+ isDisabled: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1295
+ }>>>;
1292
1296
  }>, import("@scalar/typebox").TObject<{
1293
1297
  'x-scalar-original-document-hash': import("@scalar/typebox").TString;
1294
1298
  }>]>]>;
@@ -1396,6 +1400,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1396
1400
  type: import("@scalar/typebox").TLiteral<"document">;
1397
1401
  name: import("@scalar/typebox").TString;
1398
1402
  children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1403
+ icon: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1399
1404
  }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1400
1405
  id: import("@scalar/typebox").TString;
1401
1406
  title: import("@scalar/typebox").TString;
@@ -1411,6 +1416,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1411
1416
  type: import("@scalar/typebox").TLiteral<"document">;
1412
1417
  name: import("@scalar/typebox").TString;
1413
1418
  children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1419
+ icon: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1414
1420
  }>]>;
1415
1421
  }, "ServerObject">>>;
1416
1422
  baseServerUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").T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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIxB,CAAA;AAED,MAAM,MAAM,MAAM,GAAG;IACnB,2BAA2B,CAAC,EAAE,WAAW,CAAC,eAAe,CAAC,CAAA;CAC3D,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,MAAM,GACxC,WAAW,CAAC;IACV,2BAA2B,EAAE;QAC3B,OAAO,EAAE,mBAAmB,CAAC,YAAY,CAAC,CAAA;QAC1C,gBAAgB,EAAE,mBAAmB,CAAC,kBAAkB,CAAC,CAAA;QACzD,qBAAqB,CAAC,EAAE,CAAC,OAAO,EAAE;YAChC,IAAI,EAAE,MAAM,CAAA;YACZ,WAAW,CAAC,EAAE,MAAM,CAAA;YACpB,MAAM,EAAE,MAAM,CAAA;YACd,OAAO,CAAC,EAAE,MAAM,CAAA;SACjB,KAAK,MAAM,CAAA;QACZ,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE;YAAE,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK,MAAM,CAAA;QAC5D,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE;YAAE,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK,MAAM,CAAA;QACxD,iBAAiB,CAAC,EAAE,CAAC,OAAO,EAAE;YAAE,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK,MAAM,CAAA;QAC1D,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,MAAM,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK,MAAM,CAAA;KAC7E,CAAA;CACF,CAAC,CAAA"}
@@ -125,6 +125,8 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
125
125
  'x-internal': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
126
126
  }>, import("@scalar/typebox").TObject<{
127
127
  'x-scalar-ignore': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
128
+ }>, import("@scalar/typebox").TObject<{
129
+ 'x-scalar-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
128
130
  }>]>;
129
131
  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<{
130
132
  $ref: import("@scalar/typebox").TString;
@@ -316,9 +318,6 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
316
318
  }>>>;
317
319
  }>, import("@scalar/typebox").TObject<{
318
320
  '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">]>>;
319
- }>, import("@scalar/typebox").TObject<{
320
- 'x-scalar-path': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
321
- 'x-scalar-method': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
322
321
  }>]>;
323
322
  SchemaObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
324
323
  __scalar_: import("@scalar/typebox").TString;
@@ -495,9 +494,9 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
495
494
  format: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
496
495
  multipleOf: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
497
496
  maximum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
498
- exclusiveMaximum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TBoolean, import("@scalar/typebox").TNumber]>>;
497
+ exclusiveMaximum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
499
498
  minimum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
500
- exclusiveMinimum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TBoolean, import("@scalar/typebox").TNumber]>>;
499
+ exclusiveMinimum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
501
500
  }>, import("@scalar/typebox").TObject<{
502
501
  name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
503
502
  title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -1264,22 +1263,16 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
1264
1263
  externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
1265
1264
  }>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1266
1265
  'x-scalar-client-config-active-environment': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1267
- 'x-scalar-client-config-icon': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1268
- 'x-scalar-client-config-cookies': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
1269
- name: import("@scalar/typebox").TString;
1270
- value: import("@scalar/typebox").TString;
1271
- domain: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1272
- path: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1273
- }>>>;
1274
1266
  'x-original-oas-version': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1275
1267
  'x-scalar-original-source-url': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1276
- 'x-scalar-watch-mode': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1277
1268
  "x-scalar-navigation": import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"TraversedDocumentObject">>;
1278
1269
  }>, import("@scalar/typebox").TObject<{
1279
- 'x-tagGroups': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
1270
+ 'x-tagGroups': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1280
1271
  name: import("@scalar/typebox").TString;
1281
1272
  tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
1282
- }>>>;
1273
+ }>, import("@scalar/typebox").TObject<{
1274
+ 'x-scalar-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
1275
+ }>]>>>;
1283
1276
  }>, import("@scalar/typebox").TObject<{
1284
1277
  'x-scalar-environments': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
1285
1278
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -1300,7 +1293,18 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
1300
1293
  }>, import("@scalar/typebox").TObject<{
1301
1294
  'x-scalar-selected-server': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1302
1295
  }>, import("@scalar/typebox").TObject<{
1303
- 'x-scalar-document-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1296
+ 'x-scalar-set-operation-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1297
+ }>, import("@scalar/typebox").TObject<{
1298
+ 'x-scalar-icon': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1299
+ }>, import("@scalar/typebox").TObject<{
1300
+ 'x-scalar-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
1301
+ }>, import("@scalar/typebox").TObject<{
1302
+ 'x-scalar-cookies': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
1303
+ name: import("@scalar/typebox").TString;
1304
+ value: import("@scalar/typebox").TString;
1305
+ domain: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1306
+ isDisabled: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1307
+ }>>>;
1304
1308
  }>, import("@scalar/typebox").TObject<{
1305
1309
  'x-scalar-original-document-hash': import("@scalar/typebox").TString;
1306
1310
  }>]>]>;
@@ -1408,6 +1412,7 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
1408
1412
  type: import("@scalar/typebox").TLiteral<"document">;
1409
1413
  name: import("@scalar/typebox").TString;
1410
1414
  children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1415
+ icon: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1411
1416
  }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1412
1417
  id: import("@scalar/typebox").TString;
1413
1418
  title: import("@scalar/typebox").TString;
@@ -1423,6 +1428,7 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
1423
1428
  type: import("@scalar/typebox").TLiteral<"document">;
1424
1429
  name: import("@scalar/typebox").TString;
1425
1430
  children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1431
+ icon: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1426
1432
  }>]>;
1427
1433
  }, "ServerObject">>>;
1428
1434
  baseServerUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -1462,7 +1468,7 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
1462
1468
  httpClients: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<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">>>;
1463
1469
  }>>;
1464
1470
  }>, import("@scalar/typebox").TObject<{
1465
- "x-scalar-dark-mode": import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1471
+ "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">]>>;
1466
1472
  "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">[]>>;
1467
1473
  "x-scalar-active-document": import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1468
1474
  "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">[]>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/workspace-specification/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAG5C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAA;AAC7E,OAAO,EAAE,KAAK,aAAa,EAAuB,MAAM,qBAAqB,CAAA;AAC7E,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,0CAA0C,CAAA;AACpF,OAAO,EAAE,KAAK,IAAI,EAAc,MAAM,wCAAwC,CAAA;AAE9E,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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