@scalar/oas-utils 0.6.2 → 0.6.4

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 (47) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist/entities/cookie/cookie.d.ts +1 -1
  3. package/dist/entities/environment/environment.d.ts.map +1 -1
  4. package/dist/entities/environment/environment.js.map +2 -2
  5. package/dist/entities/environment/index.d.ts +2 -1
  6. package/dist/entities/environment/index.d.ts.map +1 -1
  7. package/dist/entities/environment/index.js.map +2 -2
  8. package/dist/entities/spec/collection.d.ts +1 -132
  9. package/dist/entities/spec/collection.d.ts.map +1 -1
  10. package/dist/entities/spec/collection.js +4 -7
  11. package/dist/entities/spec/collection.js.map +2 -2
  12. package/dist/entities/spec/index.d.ts +9 -8
  13. package/dist/entities/spec/index.d.ts.map +1 -1
  14. package/dist/entities/spec/index.js +22 -22
  15. package/dist/entities/spec/index.js.map +2 -2
  16. package/dist/entities/spec/operation.d.ts +4 -4
  17. package/dist/entities/spec/parameters.d.ts +1 -19
  18. package/dist/entities/spec/parameters.d.ts.map +1 -1
  19. package/dist/entities/spec/parameters.js +1 -5
  20. package/dist/entities/spec/parameters.js.map +2 -2
  21. package/dist/entities/spec/request-examples.d.ts +1 -130
  22. package/dist/entities/spec/request-examples.d.ts.map +1 -1
  23. package/dist/entities/spec/request-examples.js +1 -7
  24. package/dist/entities/spec/request-examples.js.map +2 -2
  25. package/dist/entities/spec/requests.d.ts +5 -87
  26. package/dist/entities/spec/requests.d.ts.map +1 -1
  27. package/dist/entities/spec/requests.js +4 -6
  28. package/dist/entities/spec/requests.js.map +2 -2
  29. package/dist/entities/spec/server.d.ts +1 -30
  30. package/dist/entities/spec/server.d.ts.map +1 -1
  31. package/dist/entities/spec/server.js +0 -2
  32. package/dist/entities/spec/server.js.map +2 -2
  33. package/dist/entities/spec/spec-objects.d.ts +1 -33
  34. package/dist/entities/spec/spec-objects.d.ts.map +1 -1
  35. package/dist/entities/spec/spec-objects.js +1 -3
  36. package/dist/entities/spec/spec-objects.js.map +2 -2
  37. package/dist/entities/spec/x-scalar-environments.d.ts +2 -6
  38. package/dist/entities/spec/x-scalar-environments.d.ts.map +1 -1
  39. package/dist/entities/spec/x-scalar-environments.js +0 -2
  40. package/dist/entities/spec/x-scalar-environments.js.map +2 -2
  41. package/dist/entities/spec/x-scalar-secrets.d.ts +0 -5
  42. package/dist/entities/spec/x-scalar-secrets.d.ts.map +1 -1
  43. package/dist/entities/spec/x-scalar-secrets.js +0 -1
  44. package/dist/entities/spec/x-scalar-secrets.js.map +2 -2
  45. package/dist/entities/workspace/workspace.d.ts +1 -1
  46. package/dist/helpers/security/get-schemes.d.ts.map +1 -1
  47. package/package.json +10 -21
package/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # @scalar/oas-utils
2
2
 
3
+ ## 0.6.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#7292](https://github.com/scalar/scalar/pull/7292) [`0519a33`](https://github.com/scalar/scalar/commit/0519a33c7d3f3cf65b93b37392c51d3c0586cbab) Thanks [@marcalexiei](https://github.com/marcalexiei)! - fix(oas-utils): remove unused dependencies
8
+ - `@hyperjump/browser`
9
+ - `@hyperjump/json-schema`
10
+ - `@types/har-format`
11
+ - `js-base64`
12
+ - `microdiff`
13
+ - `nanoid`
14
+
15
+ - Updated dependencies [[`d86f1d6`](https://github.com/scalar/scalar/commit/d86f1d6911ecbca70b011a2a0efb6d6e0eca59bb), [`6e1cb89`](https://github.com/scalar/scalar/commit/6e1cb89f71770601a5059449d68b409ffc87d332), [`1fbd809`](https://github.com/scalar/scalar/commit/1fbd809197bfaef77d7d3cb8cf7b657f397232a7), [`44aeef0`](https://github.com/scalar/scalar/commit/44aeef01073801165e339163462378b7b62ff68d), [`dd5c518`](https://github.com/scalar/scalar/commit/dd5c518a422dddc7948c0253861101cf741b6af0), [`a68b1af`](https://github.com/scalar/scalar/commit/a68b1afc54b2aa95a224fee89c3266bffed57215), [`cbedfab`](https://github.com/scalar/scalar/commit/cbedfab576502069be27ceacbea145a917214e47), [`a68b1af`](https://github.com/scalar/scalar/commit/a68b1afc54b2aa95a224fee89c3266bffed57215), [`5a108fc`](https://github.com/scalar/scalar/commit/5a108fcbc52ae7957731c23689896ba353b83d3b), [`4cda566`](https://github.com/scalar/scalar/commit/4cda566c2dc2cf306e4e3597e292ae1c2dadd78c), [`cded2d6`](https://github.com/scalar/scalar/commit/cded2d6c087418c3c44731d344d0827a87b78b74), [`cbedfab`](https://github.com/scalar/scalar/commit/cbedfab576502069be27ceacbea145a917214e47), [`3ebff92`](https://github.com/scalar/scalar/commit/3ebff92f29d8d03d626d4000e8323528e794e755), [`4059e68`](https://github.com/scalar/scalar/commit/4059e68375d31ec0142a8019b385bc3ac82055fc)]:
16
+ - @scalar/workspace-store@0.21.0
17
+ - @scalar/json-magic@0.8.2
18
+ - @scalar/helpers@0.1.2
19
+ - @scalar/types@0.5.0
20
+ - @scalar/object-utils@1.2.12
21
+ - @scalar/themes@0.13.24
22
+ - @scalar/openapi-types@0.5.1
23
+
24
+ ## 0.6.3
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies [[`c7a4690`](https://github.com/scalar/scalar/commit/c7a4690cec484ee16cee8dcba7ef5cb0fbb98133), [`9c9dbba`](https://github.com/scalar/scalar/commit/9c9dbbaa940667303f0ace59469fd78c2a741937), [`4bec1ba`](https://github.com/scalar/scalar/commit/4bec1ba332e919c4ee32dcfbfb07bd8ee42c4d74), [`7ccd035`](https://github.com/scalar/scalar/commit/7ccd0351de104f78ef9c6e16538753d302c50d47)]:
29
+ - @scalar/workspace-store@0.20.0
30
+ - @scalar/helpers@0.1.1
31
+ - @scalar/object-utils@1.2.11
32
+ - @scalar/json-magic@0.8.1
33
+
3
34
  ## 0.6.2
4
35
 
5
36
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export declare const cookieSchema: z.ZodObject<{
3
- uid: z.core.$ZodBranded<z.ZodDefault<z.ZodOptional<z.ZodString>>, "cookie">;
3
+ uid: z.core.$ZodBranded<z.ZodDefault<z.ZodString>, "cookie">;
4
4
  name: z.ZodDefault<z.ZodString>;
5
5
  value: z.ZodDefault<z.ZodString>;
6
6
  domain: z.ZodOptional<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"environment.d.ts","sourceRoot":"","sources":["../../../src/entities/environment/environment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,eAAO,MAAM,iBAAiB;;;;;;iBAM5B,CAAA;AAEF,kBAAkB;AAClB,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAC3D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA"}
1
+ {"version":3,"file":"environment.d.ts","sourceRoot":"","sources":["../../../src/entities/environment/environment.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,iBAAiB;;;;;;iBAM5B,CAAA;AAEF,kBAAkB;AAClB,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAC3D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/entities/environment/environment.ts"],
4
- "sourcesContent": ["import { z } from 'zod'\n\nimport type { ENTITY_BRANDS } from '@scalar/types/utils'\n\nexport const environmentSchema = z.object({\n uid: z.string().brand<ENTITY_BRANDS['ENVIRONMENT']>(),\n name: z.string().optional().default('Default Environment'),\n color: z.string().optional().default('#FFFFFF'),\n value: z.string().default(''),\n isDefault: z.boolean().optional(),\n})\n\n/** Environment */\nexport type Environment = z.infer<typeof environmentSchema>\nexport type EnvironmentPayload = z.input<typeof environmentSchema>\n"],
5
- "mappings": "AAAA,SAAS,SAAS;AAIX,MAAM,oBAAoB,EAAE,OAAO;AAAA,EACxC,KAAK,EAAE,OAAO,EAAE,MAAoC;AAAA,EACpD,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,qBAAqB;AAAA,EACzD,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,SAAS;AAAA,EAC9C,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE;AAAA,EAC5B,WAAW,EAAE,QAAQ,EAAE,SAAS;AAClC,CAAC;",
4
+ "sourcesContent": ["import type { ENTITY_BRANDS } from '@scalar/types/utils'\nimport { z } from 'zod'\n\nexport const environmentSchema = z.object({\n uid: z.string().brand<ENTITY_BRANDS['ENVIRONMENT']>(),\n name: z.string().optional().default('Default Environment'),\n color: z.string().optional().default('#FFFFFF'),\n value: z.string().default(''),\n isDefault: z.boolean().optional(),\n})\n\n/** Environment */\nexport type Environment = z.infer<typeof environmentSchema>\nexport type EnvironmentPayload = z.input<typeof environmentSchema>\n"],
5
+ "mappings": "AACA,SAAS,SAAS;AAEX,MAAM,oBAAoB,EAAE,OAAO;AAAA,EACxC,KAAK,EAAE,OAAO,EAAE,MAAoC;AAAA,EACpD,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,qBAAqB;AAAA,EACzD,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,SAAS;AAAA,EAC9C,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE;AAAA,EAC5B,WAAW,EAAE,QAAQ,EAAE,SAAS;AAClC,CAAC;",
6
6
  "names": []
7
7
  }
@@ -1,2 +1,3 @@
1
- export { type Environment, environmentSchema } from './environment.js';
1
+ /** biome-ignore-all lint/performance/noBarrelFile: entrypoint */
2
+ export { type Environment, type EnvironmentPayload, environmentSchema } from './environment.js';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/entities/environment/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/entities/environment/index.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/entities/environment/index.ts"],
4
- "sourcesContent": ["export { type Environment, environmentSchema } from './environment'\n"],
5
- "mappings": "AAAA,SAA2B,yBAAyB;",
4
+ "sourcesContent": ["/** biome-ignore-all lint/performance/noBarrelFile: entrypoint */\nexport { type Environment, type EnvironmentPayload, environmentSchema } from './environment'\n"],
5
+ "mappings": "AACA,SAAoD,yBAAyB;",
6
6
  "names": []
7
7
  }
@@ -1,135 +1,4 @@
1
1
  import { z } from 'zod';
2
- export declare const oasCollectionSchema: z.ZodObject<{
3
- type: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"collection">>>;
4
- openapi: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"3.0.0">, z.ZodLiteral<"3.1.0">, z.ZodLiteral<"4.0.0">]>>>;
5
- jsonSchemaDialect: z.ZodOptional<z.ZodString>;
6
- info: z.ZodCatch<z.ZodPipe<z.ZodObject<{
7
- title: z.ZodCatch<z.ZodString>;
8
- summary: z.ZodCatch<z.ZodOptional<z.ZodString>>;
9
- description: z.ZodCatch<z.ZodOptional<z.ZodString>>;
10
- termsOfService: z.ZodCatch<z.ZodOptional<z.ZodString>>;
11
- contact: z.ZodCatch<z.ZodOptional<z.ZodPipe<z.ZodObject<{
12
- name: z.ZodOptional<z.ZodString>;
13
- url: z.ZodCatch<z.ZodOptional<z.ZodString>>;
14
- email: z.ZodCatch<z.ZodOptional<z.ZodString>>;
15
- }, z.core.$strip>, z.ZodTransform<{
16
- name?: string | undefined;
17
- url?: string | undefined;
18
- email?: string | undefined;
19
- }, {
20
- name?: string | undefined;
21
- url?: string | undefined;
22
- email?: string | undefined;
23
- }>>>>;
24
- license: z.ZodCatch<z.ZodOptional<z.ZodPipe<z.ZodObject<{
25
- name: z.ZodCatch<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
26
- identifier: z.ZodCatch<z.ZodOptional<z.ZodString>>;
27
- url: z.ZodCatch<z.ZodOptional<z.ZodString>>;
28
- }, z.core.$strip>, z.ZodTransform<{
29
- name?: string | null | undefined;
30
- identifier?: string | undefined;
31
- url?: string | undefined;
32
- }, {
33
- name?: string | null | undefined;
34
- identifier?: string | undefined;
35
- url?: string | undefined;
36
- }>>>>;
37
- version: z.ZodCatch<z.ZodString>;
38
- 'x-scalar-sdk-installation': z.ZodCatch<z.ZodOptional<z.ZodArray<z.ZodObject<{
39
- lang: z.ZodString;
40
- source: z.ZodCatch<z.ZodOptional<z.ZodString>>;
41
- description: z.ZodCatch<z.ZodOptional<z.ZodString>>;
42
- }, z.core.$strip>>>>;
43
- }, z.core.$strip>, z.ZodTransform<{
44
- title: string;
45
- version: string;
46
- summary?: string | undefined;
47
- description?: string | undefined;
48
- termsOfService?: string | undefined;
49
- contact?: {
50
- name?: string | undefined;
51
- url?: string | undefined;
52
- email?: string | undefined;
53
- } | undefined;
54
- license?: {
55
- name?: string | null | undefined;
56
- identifier?: string | undefined;
57
- url?: string | undefined;
58
- } | undefined;
59
- 'x-scalar-sdk-installation'?: {
60
- lang: string;
61
- source?: string | undefined;
62
- description?: string | undefined;
63
- }[] | undefined;
64
- }, {
65
- title: string;
66
- version: string;
67
- summary?: string | undefined;
68
- description?: string | undefined;
69
- termsOfService?: string | undefined;
70
- contact?: {
71
- name?: string | undefined;
72
- url?: string | undefined;
73
- email?: string | undefined;
74
- } | undefined;
75
- license?: {
76
- name?: string | null | undefined;
77
- identifier?: string | undefined;
78
- url?: string | undefined;
79
- } | undefined;
80
- 'x-scalar-sdk-installation'?: {
81
- lang: string;
82
- source?: string | undefined;
83
- description?: string | undefined;
84
- }[] | undefined;
85
- }>>>;
86
- security: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>>>>>;
87
- externalDocs: z.ZodCatch<z.ZodOptional<z.ZodPipe<z.ZodObject<{
88
- description: z.ZodCatch<z.ZodOptional<z.ZodString>>;
89
- url: z.ZodString;
90
- }, z.core.$strip>, z.ZodTransform<{
91
- url: string;
92
- description?: string | undefined;
93
- }, {
94
- url: string;
95
- description?: string | undefined;
96
- }>>>>;
97
- components: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
98
- webhooks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
99
- 'x-scalar-icon': z.ZodDefault<z.ZodOptional<z.ZodString>>;
100
- 'x-scalar-active-environment': z.ZodOptional<z.ZodString>;
101
- 'x-scalar-environments': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
102
- description: z.ZodOptional<z.ZodString>;
103
- color: z.ZodOptional<z.ZodString>;
104
- variables: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
105
- description: z.ZodOptional<z.ZodString>;
106
- default: z.ZodDefault<z.ZodString>;
107
- }, z.core.$strip>, z.ZodString]>>;
108
- }, z.core.$strip>>>;
109
- 'x-scalar-secrets': z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
110
- description: z.ZodOptional<z.ZodString>;
111
- example: z.ZodOptional<z.ZodString>;
112
- }, z.core.$strip>>>;
113
- }, z.core.$strip>;
114
- export declare const extendedCollectionSchema: z.ZodObject<{
115
- uid: z.core.$ZodBranded<z.ZodDefault<z.ZodOptional<z.ZodString>>, "collection">;
116
- securitySchemes: z.ZodDefault<z.ZodArray<z.ZodString>>;
117
- selectedSecuritySchemeUids: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodString, "securityScheme">, z.ZodArray<z.core.$ZodBranded<z.ZodString, "securityScheme">>]>>>;
118
- selectedServerUid: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "server">>;
119
- servers: z.ZodDefault<z.ZodArray<z.core.$ZodBranded<z.ZodString, "server">>>;
120
- requests: z.ZodDefault<z.ZodArray<z.core.$ZodBranded<z.ZodString, "operation">>>;
121
- tags: z.ZodDefault<z.ZodArray<z.core.$ZodBranded<z.ZodString, "tag">>>;
122
- children: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodString, "operation">, z.core.$ZodBranded<z.ZodString, "tag">]>>>;
123
- documentUrl: z.ZodOptional<z.ZodString>;
124
- watchMode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
125
- integration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
126
- useCollectionSecurity: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
127
- watchModeStatus: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
128
- IDLE: "IDLE";
129
- WATCHING: "WATCHING";
130
- ERROR: "ERROR";
131
- }>>>;
132
- }, z.core.$strip>;
133
2
  export declare const collectionSchema: z.ZodObject<{
134
3
  type: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"collection">>>;
135
4
  openapi: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"3.0.0">, z.ZodLiteral<"3.1.0">, z.ZodLiteral<"4.0.0">]>>>;
@@ -241,7 +110,7 @@ export declare const collectionSchema: z.ZodObject<{
241
110
  description: z.ZodOptional<z.ZodString>;
242
111
  example: z.ZodOptional<z.ZodString>;
243
112
  }, z.core.$strip>>>;
244
- uid: z.core.$ZodBranded<z.ZodDefault<z.ZodOptional<z.ZodString>>, "collection">;
113
+ uid: z.core.$ZodBranded<z.ZodDefault<z.ZodString>, "collection">;
245
114
  securitySchemes: z.ZodDefault<z.ZodArray<z.ZodString>>;
246
115
  selectedSecuritySchemeUids: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodString, "securityScheme">, z.ZodArray<z.core.$ZodBranded<z.ZodString, "securityScheme">>]>>>;
247
116
  selectedServerUid: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "server">>;
@@ -1 +1 @@
1
- {"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../src/entities/spec/collection.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAwC9B,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;iBA8CnC,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAsD,CAAA;AACnF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AACzD,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA"}
1
+ {"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../src/entities/spec/collection.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAiGvB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAsD,CAAA;AACnF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AACzD,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA"}
@@ -1,14 +1,13 @@
1
- import { selectedSecuritySchemeUidSchema } from "../../entities/shared/utility.js";
2
- import { xScalarEnvironmentsSchema } from "../../entities/spec/x-scalar-environments.js";
3
- import { xScalarSecretsSchema } from "../../entities/spec/x-scalar-secrets.js";
4
1
  import { oasSecurityRequirementSchema } from "@scalar/types/entities";
5
2
  import { nanoidSchema } from "@scalar/types/utils";
6
3
  import { z } from "zod";
4
+ import { selectedSecuritySchemeUidSchema } from "../../entities/shared/utility.js";
5
+ import { xScalarEnvironmentsSchema } from "../../entities/spec/x-scalar-environments.js";
6
+ import { xScalarSecretsSchema } from "../../entities/spec/x-scalar-secrets.js";
7
7
  import { oasExternalDocumentationSchema, oasInfoSchema } from "./spec-objects.js";
8
8
  const oasCollectionSchema = z.object({
9
9
  /**
10
10
  * @deprecated
11
- *
12
11
  * Needs to be remove as it is not a spec property
13
12
  */
14
13
  "type": z.literal("collection").optional().default("collection"),
@@ -89,8 +88,6 @@ const extendedCollectionSchema = z.object({
89
88
  });
90
89
  const collectionSchema = oasCollectionSchema.merge(extendedCollectionSchema);
91
90
  export {
92
- collectionSchema,
93
- extendedCollectionSchema,
94
- oasCollectionSchema
91
+ collectionSchema
95
92
  };
96
93
  //# sourceMappingURL=collection.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/entities/spec/collection.ts"],
4
- "sourcesContent": ["import { selectedSecuritySchemeUidSchema } from '@/entities/shared/utility'\nimport { xScalarEnvironmentsSchema } from '@/entities/spec/x-scalar-environments'\nimport { xScalarSecretsSchema } from '@/entities/spec/x-scalar-secrets'\nimport { oasSecurityRequirementSchema } from '@scalar/types/entities'\nimport { type ENTITY_BRANDS, nanoidSchema } from '@scalar/types/utils'\nimport { z } from 'zod'\n\nimport { oasExternalDocumentationSchema, oasInfoSchema } from './spec-objects'\n\nexport const oasCollectionSchema = z.object({\n /**\n * @deprecated\n *\n * Needs to be remove as it is not a spec property\n */\n 'type': z.literal('collection').optional().default('collection'),\n 'openapi': z\n .union([z.string(), z.literal('3.0.0'), z.literal('3.1.0'), z.literal('4.0.0')])\n .optional()\n .default('3.1.0'),\n 'jsonSchemaDialect': z.string().optional(),\n 'info': oasInfoSchema.catch({\n title: 'API',\n version: '1.0',\n }),\n /**\n * A declaration of which security mechanisms can be used across the API. The list of\n * values includes alternative security requirement objects that can be used. Only\n * one of the security requirement objects need to be satisfied to authorize a request.\n * Individual operations can override this definition. To make security optional, an empty\n * security requirement ({}) can be included in the array.\n */\n 'security': z.array(oasSecurityRequirementSchema).optional().default([]),\n 'externalDocs': oasExternalDocumentationSchema.optional().catch(undefined),\n /** TODO: Type these */\n 'components': z.record(z.string(), z.unknown()).optional(),\n /** TODO: Type these */\n 'webhooks': z.record(z.string(), z.unknown()).optional(),\n /** A custom icon representing the collection */\n 'x-scalar-icon': z.string().optional().default('interface-content-folder'),\n 'x-scalar-active-environment': z.string().optional(),\n 'x-scalar-environments': xScalarEnvironmentsSchema.optional(),\n 'x-scalar-secrets': xScalarSecretsSchema.optional(),\n // These properties will be stripped out and mapped back as id lists\n // servers\n // paths/**\n // servers\n // tags\n // security\n})\n\nexport const extendedCollectionSchema = z.object({\n uid: nanoidSchema.brand<ENTITY_BRANDS['COLLECTION']>(),\n /** A list of security schemes UIDs associated with the collection */\n securitySchemes: z.string().array().default([]),\n /** List of currently selected security scheme UIDs, these can be overridden per request */\n selectedSecuritySchemeUids: selectedSecuritySchemeUidSchema,\n /** The currently selected server */\n selectedServerUid: z.string().brand<ENTITY_BRANDS['SERVER']>().optional(),\n /** UIDs which refer to servers on the workspace base */\n servers: z.string().brand<ENTITY_BRANDS['SERVER']>().array().default([]),\n /** Request UIDs associated with a collection */\n requests: z.string().brand<ENTITY_BRANDS['OPERATION']>().array().default([]),\n /** Tag UIDs associated with the collection */\n tags: z.string().brand<ENTITY_BRANDS['TAG']>().array().default([]),\n /** List of requests without tags and top level tag \"folders\" */\n children: z\n .union([z.string().brand<ENTITY_BRANDS['OPERATION']>(), z.string().brand<ENTITY_BRANDS['TAG']>()])\n .array()\n .default([]),\n /**\n * A link to where this document is stored\n *\n * - Used for watch mode\n * - Possibly useful for Git sync down the line\n */\n documentUrl: z.string().optional(),\n /**\n * Enables polling of OpenAPI document urls\n *\n * @remarks Only effective when `documentUrl` is set\n */\n watchMode: z.boolean().optional().default(false),\n /** Keeps track of which integration is associated with the specific collection */\n integration: z.string().nullable().optional(),\n /**\n * Selected authentication will be set at the collection level instead of the request level\n *\n * @default false\n */\n useCollectionSecurity: z.boolean().optional().default(false),\n /**\n * Status of the watcher from above\n *\n * @defaults to idle for all collections, doesn't mean that it can watch for changes\n */\n watchModeStatus: z.enum(['IDLE', 'WATCHING', 'ERROR']).optional().default('IDLE'),\n})\n\nexport const collectionSchema = oasCollectionSchema.merge(extendedCollectionSchema)\nexport type Collection = z.infer<typeof collectionSchema>\nexport type CollectionPayload = z.input<typeof collectionSchema>\n"],
5
- "mappings": "AAAA,SAAS,uCAAuC;AAChD,SAAS,iCAAiC;AAC1C,SAAS,4BAA4B;AACrC,SAAS,oCAAoC;AAC7C,SAA6B,oBAAoB;AACjD,SAAS,SAAS;AAElB,SAAS,gCAAgC,qBAAqB;AAEvD,MAAM,sBAAsB,EAAE,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAM1C,QAAQ,EAAE,QAAQ,YAAY,EAAE,SAAS,EAAE,QAAQ,YAAY;AAAA,EAC/D,WAAW,EACR,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,QAAQ,OAAO,GAAG,EAAE,QAAQ,OAAO,GAAG,EAAE,QAAQ,OAAO,CAAC,CAAC,EAC9E,SAAS,EACT,QAAQ,OAAO;AAAA,EAClB,qBAAqB,EAAE,OAAO,EAAE,SAAS;AAAA,EACzC,QAAQ,cAAc,MAAM;AAAA,IAC1B,OAAO;AAAA,IACP,SAAS;AAAA,EACX,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQD,YAAY,EAAE,MAAM,4BAA4B,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC;AAAA,EACvE,gBAAgB,+BAA+B,SAAS,EAAE,MAAM,MAAS;AAAA;AAAA,EAEzE,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,EAAE,SAAS;AAAA;AAAA,EAEzD,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,EAAE,SAAS;AAAA;AAAA,EAEvD,iBAAiB,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,0BAA0B;AAAA,EACzE,+BAA+B,EAAE,OAAO,EAAE,SAAS;AAAA,EACnD,yBAAyB,0BAA0B,SAAS;AAAA,EAC5D,oBAAoB,qBAAqB,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOpD,CAAC;AAEM,MAAM,2BAA2B,EAAE,OAAO;AAAA,EAC/C,KAAK,aAAa,MAAmC;AAAA;AAAA,EAErD,iBAAiB,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;AAAA;AAAA,EAE9C,4BAA4B;AAAA;AAAA,EAE5B,mBAAmB,EAAE,OAAO,EAAE,MAA+B,EAAE,SAAS;AAAA;AAAA,EAExE,SAAS,EAAE,OAAO,EAAE,MAA+B,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;AAAA;AAAA,EAEvE,UAAU,EAAE,OAAO,EAAE,MAAkC,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;AAAA;AAAA,EAE3E,MAAM,EAAE,OAAO,EAAE,MAA4B,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;AAAA;AAAA,EAEjE,UAAU,EACP,MAAM,CAAC,EAAE,OAAO,EAAE,MAAkC,GAAG,EAAE,OAAO,EAAE,MAA4B,CAAC,CAAC,EAChG,MAAM,EACN,QAAQ,CAAC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOb,aAAa,EAAE,OAAO,EAAE,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMjC,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,KAAK;AAAA;AAAA,EAE/C,aAAa,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAM5C,uBAAuB,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAM3D,iBAAiB,EAAE,KAAK,CAAC,QAAQ,YAAY,OAAO,CAAC,EAAE,SAAS,EAAE,QAAQ,MAAM;AAClF,CAAC;AAEM,MAAM,mBAAmB,oBAAoB,MAAM,wBAAwB;",
4
+ "sourcesContent": ["import { oasSecurityRequirementSchema } from '@scalar/types/entities'\nimport { type ENTITY_BRANDS, nanoidSchema } from '@scalar/types/utils'\nimport { z } from 'zod'\n\nimport { selectedSecuritySchemeUidSchema } from '@/entities/shared/utility'\nimport { xScalarEnvironmentsSchema } from '@/entities/spec/x-scalar-environments'\nimport { xScalarSecretsSchema } from '@/entities/spec/x-scalar-secrets'\n\nimport { oasExternalDocumentationSchema, oasInfoSchema } from './spec-objects'\n\nconst oasCollectionSchema = z.object({\n /**\n * @deprecated\n * Needs to be remove as it is not a spec property\n */\n 'type': z.literal('collection').optional().default('collection'),\n 'openapi': z\n .union([z.string(), z.literal('3.0.0'), z.literal('3.1.0'), z.literal('4.0.0')])\n .optional()\n .default('3.1.0'),\n 'jsonSchemaDialect': z.string().optional(),\n 'info': oasInfoSchema.catch({\n title: 'API',\n version: '1.0',\n }),\n /**\n * A declaration of which security mechanisms can be used across the API. The list of\n * values includes alternative security requirement objects that can be used. Only\n * one of the security requirement objects need to be satisfied to authorize a request.\n * Individual operations can override this definition. To make security optional, an empty\n * security requirement ({}) can be included in the array.\n */\n 'security': z.array(oasSecurityRequirementSchema).optional().default([]),\n 'externalDocs': oasExternalDocumentationSchema.optional().catch(undefined),\n /** TODO: Type these */\n 'components': z.record(z.string(), z.unknown()).optional(),\n /** TODO: Type these */\n 'webhooks': z.record(z.string(), z.unknown()).optional(),\n /** A custom icon representing the collection */\n 'x-scalar-icon': z.string().optional().default('interface-content-folder'),\n 'x-scalar-active-environment': z.string().optional(),\n 'x-scalar-environments': xScalarEnvironmentsSchema.optional(),\n 'x-scalar-secrets': xScalarSecretsSchema.optional(),\n // These properties will be stripped out and mapped back as id lists\n // servers\n // paths/**\n // servers\n // tags\n // security\n})\n\nconst extendedCollectionSchema = z.object({\n uid: nanoidSchema.brand<ENTITY_BRANDS['COLLECTION']>(),\n /** A list of security schemes UIDs associated with the collection */\n securitySchemes: z.string().array().default([]),\n /** List of currently selected security scheme UIDs, these can be overridden per request */\n selectedSecuritySchemeUids: selectedSecuritySchemeUidSchema,\n /** The currently selected server */\n selectedServerUid: z.string().brand<ENTITY_BRANDS['SERVER']>().optional(),\n /** UIDs which refer to servers on the workspace base */\n servers: z.string().brand<ENTITY_BRANDS['SERVER']>().array().default([]),\n /** Request UIDs associated with a collection */\n requests: z.string().brand<ENTITY_BRANDS['OPERATION']>().array().default([]),\n /** Tag UIDs associated with the collection */\n tags: z.string().brand<ENTITY_BRANDS['TAG']>().array().default([]),\n /** List of requests without tags and top level tag \"folders\" */\n children: z\n .union([z.string().brand<ENTITY_BRANDS['OPERATION']>(), z.string().brand<ENTITY_BRANDS['TAG']>()])\n .array()\n .default([]),\n /**\n * A link to where this document is stored\n *\n * - Used for watch mode\n * - Possibly useful for Git sync down the line\n */\n documentUrl: z.string().optional(),\n /**\n * Enables polling of OpenAPI document urls\n *\n * @remarks Only effective when `documentUrl` is set\n */\n watchMode: z.boolean().optional().default(false),\n /** Keeps track of which integration is associated with the specific collection */\n integration: z.string().nullable().optional(),\n /**\n * Selected authentication will be set at the collection level instead of the request level\n *\n * @default false\n */\n useCollectionSecurity: z.boolean().optional().default(false),\n /**\n * Status of the watcher from above\n *\n * @defaults to idle for all collections, doesn't mean that it can watch for changes\n */\n watchModeStatus: z.enum(['IDLE', 'WATCHING', 'ERROR']).optional().default('IDLE'),\n})\n\nexport const collectionSchema = oasCollectionSchema.merge(extendedCollectionSchema)\nexport type Collection = z.infer<typeof collectionSchema>\nexport type CollectionPayload = z.input<typeof collectionSchema>\n"],
5
+ "mappings": "AAAA,SAAS,oCAAoC;AAC7C,SAA6B,oBAAoB;AACjD,SAAS,SAAS;AAElB,SAAS,uCAAuC;AAChD,SAAS,iCAAiC;AAC1C,SAAS,4BAA4B;AAErC,SAAS,gCAAgC,qBAAqB;AAE9D,MAAM,sBAAsB,EAAE,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA,EAKnC,QAAQ,EAAE,QAAQ,YAAY,EAAE,SAAS,EAAE,QAAQ,YAAY;AAAA,EAC/D,WAAW,EACR,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,QAAQ,OAAO,GAAG,EAAE,QAAQ,OAAO,GAAG,EAAE,QAAQ,OAAO,CAAC,CAAC,EAC9E,SAAS,EACT,QAAQ,OAAO;AAAA,EAClB,qBAAqB,EAAE,OAAO,EAAE,SAAS;AAAA,EACzC,QAAQ,cAAc,MAAM;AAAA,IAC1B,OAAO;AAAA,IACP,SAAS;AAAA,EACX,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQD,YAAY,EAAE,MAAM,4BAA4B,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC;AAAA,EACvE,gBAAgB,+BAA+B,SAAS,EAAE,MAAM,MAAS;AAAA;AAAA,EAEzE,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,EAAE,SAAS;AAAA;AAAA,EAEzD,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,EAAE,SAAS;AAAA;AAAA,EAEvD,iBAAiB,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,0BAA0B;AAAA,EACzE,+BAA+B,EAAE,OAAO,EAAE,SAAS;AAAA,EACnD,yBAAyB,0BAA0B,SAAS;AAAA,EAC5D,oBAAoB,qBAAqB,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOpD,CAAC;AAED,MAAM,2BAA2B,EAAE,OAAO;AAAA,EACxC,KAAK,aAAa,MAAmC;AAAA;AAAA,EAErD,iBAAiB,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;AAAA;AAAA,EAE9C,4BAA4B;AAAA;AAAA,EAE5B,mBAAmB,EAAE,OAAO,EAAE,MAA+B,EAAE,SAAS;AAAA;AAAA,EAExE,SAAS,EAAE,OAAO,EAAE,MAA+B,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;AAAA;AAAA,EAEvE,UAAU,EAAE,OAAO,EAAE,MAAkC,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;AAAA;AAAA,EAE3E,MAAM,EAAE,OAAO,EAAE,MAA4B,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;AAAA;AAAA,EAEjE,UAAU,EACP,MAAM,CAAC,EAAE,OAAO,EAAE,MAAkC,GAAG,EAAE,OAAO,EAAE,MAA4B,CAAC,CAAC,EAChG,MAAM,EACN,QAAQ,CAAC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOb,aAAa,EAAE,OAAO,EAAE,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMjC,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,KAAK;AAAA;AAAA,EAE/C,aAAa,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAM5C,uBAAuB,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAM3D,iBAAiB,EAAE,KAAK,CAAC,QAAQ,YAAY,OAAO,CAAC,EAAE,SAAS,EAAE,QAAQ,MAAM;AAClF,CAAC;AAEM,MAAM,mBAAmB,oBAAoB,MAAM,wBAAwB;",
6
6
  "names": []
7
7
  }
@@ -1,12 +1,13 @@
1
- export { collectionSchema, type Collection, type CollectionPayload } from './collection.js';
2
- export { oasParameterSchema, type RequestParameter, type RequestParameterPayload } from './parameters.js';
3
- export { serverSchema, type Server, type ServerPayload } from './server.js';
4
- export { requestSchema, type Request, type RequestPayload, type RequestMethod, type ResponseInstance, type RequestEvent, } from './requests.js';
5
- export { requestExampleSchema, createExampleFromRequest, requestExampleParametersSchema, type RequestExample, type RequestExampleParameter, } from './request-examples.js';
6
- export { tagSchema, oasExternalDocumentationSchema, oasInfoSchema, oasContactSchema, oasLicenseSchema, type Tag, type TagPayload, } from './spec-objects.js';
7
- export { type Operation, type OperationPayload, operationSchema, } from './operation.js';
8
- export { xScalarEnvironmentsSchema, type XScalarEnvironment, type XScalarEnvironments, } from './x-scalar-environments.js';
1
+ /** biome-ignore-all lint/performance/noBarrelFile: entrypoint */
9
2
  /** Re-exported here for ease of use but we should use the other ones directly */
10
3
  export { type Oauth2Flow, type Oauth2FlowPayload, type SecuritySchemaHttp, type SecuritySchemaOpenId, type SecurityScheme, type SecuritySchemeApiKey, type SecuritySchemeOauth2, type SecuritySchemeOauth2Payload, type SecuritySchemePayload, oasSecurityRequirementSchema, oasSecuritySchemeSchema, pkceOptions, securityApiKeySchema, securityHttpSchema, securityOauthSchema, securityOpenIdSchema, securitySchemeSchema, } from '@scalar/types/entities';
4
+ export { type Collection, type CollectionPayload, collectionSchema } from './collection.js';
5
+ export { type Operation, type OperationPayload, operationSchema, } from './operation.js';
6
+ export { type RequestParameter, type RequestParameterPayload, oasParameterSchema } from './parameters.js';
7
+ export { type RequestExample, type RequestExampleParameter, createExampleFromRequest, requestExampleParametersSchema, requestExampleSchema, } from './request-examples.js';
8
+ export { type Request, type RequestEvent, type RequestMethod, type RequestPayload, type ResponseInstance, requestSchema, } from './requests.js';
11
9
  export type { PostResponseScript, PostResponseScripts, } from './requests.ts';
10
+ export { type Server, type ServerPayload, serverSchema } from './server.js';
11
+ export { type Tag, type TagPayload, oasContactSchema, oasExternalDocumentationSchema, oasInfoSchema, oasLicenseSchema, tagSchema, } from './spec-objects.js';
12
+ export { type XScalarEnvironment, type XScalarEnvironments, xScalarEnvironmentsSchema, } from './x-scalar-environments.js';
12
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/entities/spec/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,KAAK,UAAU,EAAE,KAAK,iBAAiB,EAAE,MAAM,cAAc,CAAA;AACxF,OAAO,EAAE,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,uBAAuB,EAAE,MAAM,cAAc,CAAA;AACtG,OAAO,EAAE,YAAY,EAAE,KAAK,MAAM,EAAE,KAAK,aAAa,EAAE,MAAM,UAAU,CAAA;AACxE,OAAO,EACL,aAAa,EACb,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,YAAY,GAClB,MAAM,YAAY,CAAA;AAEnB,OAAO,EACL,oBAAoB,EACpB,wBAAwB,EACxB,8BAA8B,EAC9B,KAAK,cAAc,EACnB,KAAK,uBAAuB,GAC7B,MAAM,oBAAoB,CAAA;AAE3B,OAAO,EACL,SAAS,EACT,8BAA8B,EAC9B,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EAChB,KAAK,GAAG,EACR,KAAK,UAAU,GAChB,MAAM,gBAAgB,CAAA;AAEvB,OAAO,EACL,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,eAAe,GAChB,MAAM,aAAa,CAAA;AAEpB,OAAO,EACL,yBAAyB,EACzB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,GACzB,MAAM,yBAAyB,CAAA;AAEhC,iFAAiF;AACjF,OAAO,EACL,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC1B,4BAA4B,EAC5B,uBAAuB,EACvB,WAAW,EACX,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,wBAAwB,CAAA;AAE/B,YAAY,EACV,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,eAAe,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/entities/spec/index.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,iFAAiF;AACjF,OAAO,EACL,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC1B,4BAA4B,EAC5B,uBAAuB,EACvB,WAAW,EACX,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,wBAAwB,CAAA;AAE/B,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AACxF,OAAO,EACL,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,eAAe,GAChB,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AACtG,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,wBAAwB,EACxB,8BAA8B,EAC9B,oBAAoB,GACrB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,aAAa,GACd,MAAM,YAAY,CAAA;AACnB,YAAY,EACV,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,aAAa,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AACxE,OAAO,EACL,KAAK,GAAG,EACR,KAAK,UAAU,EACf,gBAAgB,EAChB,8BAA8B,EAC9B,aAAa,EACb,gBAAgB,EAChB,SAAS,GACV,MAAM,gBAAgB,CAAA;AACvB,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,yBAAyB,GAC1B,MAAM,yBAAyB,CAAA"}
@@ -1,37 +1,37 @@
1
+ import {
2
+ oasSecurityRequirementSchema,
3
+ oasSecuritySchemeSchema,
4
+ pkceOptions,
5
+ securityApiKeySchema,
6
+ securityHttpSchema,
7
+ securityOauthSchema,
8
+ securityOpenIdSchema,
9
+ securitySchemeSchema
10
+ } from "@scalar/types/entities";
1
11
  import { collectionSchema } from "./collection.js";
2
- import { oasParameterSchema } from "./parameters.js";
3
- import { serverSchema } from "./server.js";
4
12
  import {
5
- requestSchema
6
- } from "./requests.js";
13
+ operationSchema
14
+ } from "./operation.js";
15
+ import { oasParameterSchema } from "./parameters.js";
7
16
  import {
8
- requestExampleSchema,
9
17
  createExampleFromRequest,
10
- requestExampleParametersSchema
18
+ requestExampleParametersSchema,
19
+ requestExampleSchema
11
20
  } from "./request-examples.js";
12
21
  import {
13
- tagSchema,
22
+ requestSchema
23
+ } from "./requests.js";
24
+ import { serverSchema } from "./server.js";
25
+ import {
26
+ oasContactSchema,
14
27
  oasExternalDocumentationSchema,
15
28
  oasInfoSchema,
16
- oasContactSchema,
17
- oasLicenseSchema
29
+ oasLicenseSchema,
30
+ tagSchema
18
31
  } from "./spec-objects.js";
19
- import {
20
- operationSchema
21
- } from "./operation.js";
22
32
  import {
23
33
  xScalarEnvironmentsSchema
24
34
  } from "./x-scalar-environments.js";
25
- import {
26
- oasSecurityRequirementSchema,
27
- oasSecuritySchemeSchema,
28
- pkceOptions,
29
- securityApiKeySchema,
30
- securityHttpSchema,
31
- securityOauthSchema,
32
- securityOpenIdSchema,
33
- securitySchemeSchema
34
- } from "@scalar/types/entities";
35
35
  export {
36
36
  collectionSchema,
37
37
  createExampleFromRequest,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/entities/spec/index.ts"],
4
- "sourcesContent": ["export { collectionSchema, type Collection, type CollectionPayload } from './collection'\nexport { oasParameterSchema, type RequestParameter, type RequestParameterPayload } from './parameters'\nexport { serverSchema, type Server, type ServerPayload } from './server'\nexport {\n requestSchema,\n type Request,\n type RequestPayload,\n type RequestMethod,\n type ResponseInstance,\n type RequestEvent,\n} from './requests'\n\nexport {\n requestExampleSchema,\n createExampleFromRequest,\n requestExampleParametersSchema,\n type RequestExample,\n type RequestExampleParameter,\n} from './request-examples'\n\nexport {\n tagSchema,\n oasExternalDocumentationSchema,\n oasInfoSchema,\n oasContactSchema,\n oasLicenseSchema,\n type Tag,\n type TagPayload,\n} from './spec-objects'\n\nexport {\n type Operation,\n type OperationPayload,\n operationSchema,\n} from './operation'\n\nexport {\n xScalarEnvironmentsSchema,\n type XScalarEnvironment,\n type XScalarEnvironments,\n} from './x-scalar-environments'\n\n/** Re-exported here for ease of use but we should use the other ones directly */\nexport {\n type Oauth2Flow,\n type Oauth2FlowPayload,\n type SecuritySchemaHttp,\n type SecuritySchemaOpenId,\n type SecurityScheme,\n type SecuritySchemeApiKey,\n type SecuritySchemeOauth2,\n type SecuritySchemeOauth2Payload,\n type SecuritySchemePayload,\n oasSecurityRequirementSchema,\n oasSecuritySchemeSchema,\n pkceOptions,\n securityApiKeySchema,\n securityHttpSchema,\n securityOauthSchema,\n securityOpenIdSchema,\n securitySchemeSchema,\n} from '@scalar/types/entities'\n\nexport type {\n PostResponseScript,\n PostResponseScripts,\n} from './requests.ts'\n"],
5
- "mappings": "AAAA,SAAS,wBAAiE;AAC1E,SAAS,0BAA+E;AACxF,SAAS,oBAAqD;AAC9D;AAAA,EACE;AAAA,OAMK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAGK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAGK;AAEP;AAAA,EAGE;AAAA,OACK;AAEP;AAAA,EACE;AAAA,OAGK;AAGP;AAAA,EAUE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;",
4
+ "sourcesContent": ["/** biome-ignore-all lint/performance/noBarrelFile: entrypoint */\n/** Re-exported here for ease of use but we should use the other ones directly */\nexport {\n type Oauth2Flow,\n type Oauth2FlowPayload,\n type SecuritySchemaHttp,\n type SecuritySchemaOpenId,\n type SecurityScheme,\n type SecuritySchemeApiKey,\n type SecuritySchemeOauth2,\n type SecuritySchemeOauth2Payload,\n type SecuritySchemePayload,\n oasSecurityRequirementSchema,\n oasSecuritySchemeSchema,\n pkceOptions,\n securityApiKeySchema,\n securityHttpSchema,\n securityOauthSchema,\n securityOpenIdSchema,\n securitySchemeSchema,\n} from '@scalar/types/entities'\n\nexport { type Collection, type CollectionPayload, collectionSchema } from './collection'\nexport {\n type Operation,\n type OperationPayload,\n operationSchema,\n} from './operation'\nexport { type RequestParameter, type RequestParameterPayload, oasParameterSchema } from './parameters'\nexport {\n type RequestExample,\n type RequestExampleParameter,\n createExampleFromRequest,\n requestExampleParametersSchema,\n requestExampleSchema,\n} from './request-examples'\nexport {\n type Request,\n type RequestEvent,\n type RequestMethod,\n type RequestPayload,\n type ResponseInstance,\n requestSchema,\n} from './requests'\nexport type {\n PostResponseScript,\n PostResponseScripts,\n} from './requests.ts'\nexport { type Server, type ServerPayload, serverSchema } from './server'\nexport {\n type Tag,\n type TagPayload,\n oasContactSchema,\n oasExternalDocumentationSchema,\n oasInfoSchema,\n oasLicenseSchema,\n tagSchema,\n} from './spec-objects'\nexport {\n type XScalarEnvironment,\n type XScalarEnvironments,\n xScalarEnvironmentsSchema,\n} from './x-scalar-environments'\n"],
5
+ "mappings": "AAEA;AAAA,EAUE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,SAAkD,wBAAwB;AAC1E;AAAA,EAGE;AAAA,OACK;AACP,SAA8D,0BAA0B;AACxF;AAAA,EAGE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP;AAAA,EAME;AAAA,OACK;AAKP,SAA0C,oBAAoB;AAC9D;AAAA,EAGE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP;AAAA,EAGE;AAAA,OACK;",
6
6
  "names": []
7
7
  }
@@ -73,12 +73,12 @@ export declare const operationSchema: import("zod").ZodObject<{
73
73
  source: import("zod").ZodString;
74
74
  }, import("zod/v4/core").$strip>>>>;
75
75
  'x-scalar-stability': import("zod").ZodCatch<import("zod").ZodOptional<import("zod").ZodEnum<{
76
- deprecated: import("@scalar/types").XScalarStability.Deprecated;
77
- experimental: import("@scalar/types").XScalarStability.Experimental;
78
- stable: import("@scalar/types").XScalarStability.Stable;
76
+ deprecated: import("@scalar/types/legacy").XScalarStability.Deprecated;
77
+ experimental: import("@scalar/types/legacy").XScalarStability.Experimental;
78
+ stable: import("@scalar/types/legacy").XScalarStability.Stable;
79
79
  }>>>;
80
80
  type: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodLiteral<"request">>>;
81
- uid: import("zod/v4/core").$ZodBranded<import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>, "operation">;
81
+ uid: import("zod/v4/core").$ZodBranded<import("zod").ZodDefault<import("zod").ZodString>, "operation">;
82
82
  path: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
83
83
  method: import("zod").ZodDefault<import("zod").ZodEnum<{
84
84
  delete: "delete";
@@ -1,29 +1,11 @@
1
- import { z } from 'zod';
2
1
  import type { OpenAPIV3_1 } from '@scalar/openapi-types';
2
+ import { z } from 'zod';
3
3
  import type { RequestExampleParameter } from './request-examples.js';
4
- export declare const parameterTypeSchema: z.ZodEnum<{
5
- cookie: "cookie";
6
- path: "path";
7
- query: "query";
8
- header: "header";
9
- }>;
10
- export type ParamType = z.infer<typeof parameterTypeSchema>;
11
- export declare const parameterStyleSchema: z.ZodEnum<{
12
- matrix: "matrix";
13
- label: "label";
14
- form: "form";
15
- simple: "simple";
16
- spaceDelimited: "spaceDelimited";
17
- pipeDelimited: "pipeDelimited";
18
- deepObject: "deepObject";
19
- }>;
20
- export type ParameterStyle = z.infer<typeof parameterStyleSchema>;
21
4
  export type ParameterContent = Record<string, {
22
5
  schema?: OpenAPIV3_1.Document;
23
6
  examples?: Record<string, RequestExampleParameter>;
24
7
  example?: RequestExampleParameter;
25
8
  }>;
26
- export declare const parameterExampleSchema: z.ZodUnknown;
27
9
  /**
28
10
  * OpenAPI compliant parameters object
29
11
  */
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/entities/spec/parameters.ts"],"names":[],"mappings":"AACA,OAAO,EAAkB,CAAC,EAAE,MAAM,KAAK,CAAA;AACvC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAA;AAEjE,eAAO,MAAM,mBAAmB;;;;;EAAgD,CAAA;AAChF,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAE3D,eAAO,MAAM,oBAAoB;;;;;;;;EAQ/B,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AACjE,MAAM,MAAM,gBAAgB,GAAG,MAAM,CACnC,MAAM,EACN;IACE,MAAM,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAA;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAAC,CAAA;IAClD,OAAO,CAAC,EAAE,uBAAuB,CAAA;CAClC,CACF,CAAA;AACD,eAAO,MAAM,sBAAsB,cAAc,CAAA;AAEjD;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2BU,CAAA;AAEzC,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AACjE,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA"}
1
+ {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/entities/spec/parameters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAW,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACjE,OAAO,EAAkB,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAA;AAkBjE,MAAM,MAAM,gBAAgB,GAAG,MAAM,CACnC,MAAM,EACN;IACE,MAAM,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAA;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAAC,CAAA;IAClD,OAAO,CAAC,EAAE,uBAAuB,CAAA;CAClC,CACF,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2BU,CAAA;AAEzC,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AACjE,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA"}
@@ -9,7 +9,6 @@ const parameterStyleSchema = z.enum([
9
9
  "pipeDelimited",
10
10
  "deepObject"
11
11
  ]);
12
- const parameterExampleSchema = z.unknown();
13
12
  const oasParameterSchema = z.object({
14
13
  in: parameterTypeSchema,
15
14
  name: z.string(),
@@ -37,9 +36,6 @@ const oasParameterSchema = z.object({
37
36
  ]).optional()
38
37
  });
39
38
  export {
40
- oasParameterSchema,
41
- parameterExampleSchema,
42
- parameterStyleSchema,
43
- parameterTypeSchema
39
+ oasParameterSchema
44
40
  };
45
41
  //# sourceMappingURL=parameters.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/entities/spec/parameters.ts"],
4
- "sourcesContent": ["import type { OpenAPI } from '@scalar/openapi-types'\nimport { type ZodSchema, z } from 'zod'\nimport type { OpenAPIV3_1 } from '@scalar/openapi-types'\nimport type { RequestExampleParameter } from './request-examples'\n\nexport const parameterTypeSchema = z.enum(['path', 'query', 'header', 'cookie'])\nexport type ParamType = z.infer<typeof parameterTypeSchema>\n\nexport const parameterStyleSchema = z.enum([\n 'matrix',\n 'simple',\n 'form',\n 'label',\n 'spaceDelimited',\n 'pipeDelimited',\n 'deepObject',\n])\nexport type ParameterStyle = z.infer<typeof parameterStyleSchema>\nexport type ParameterContent = Record<\n string,\n {\n schema?: OpenAPIV3_1.Document\n examples?: Record<string, RequestExampleParameter>\n example?: RequestExampleParameter\n }\n>\nexport const parameterExampleSchema = z.unknown()\n\n/**\n * OpenAPI compliant parameters object\n */\nexport const oasParameterSchema = z.object({\n in: parameterTypeSchema,\n name: z.string(),\n description: z.string().optional(),\n /** Defaulted to false */\n required: z.boolean().optional().default(false),\n /** Defaulted to false */\n deprecated: z.boolean().optional().default(false),\n schema: z.unknown().optional(),\n content: z.unknown().optional(),\n /** Defaulted according to @url https://spec.openapis.org/oas/v3.1.0#parameter-object */\n style: parameterStyleSchema.optional(),\n explode: z.boolean().optional(),\n example: z.unknown().optional(),\n examples: z\n .union([\n z.record(\n z.string(),\n z.object({\n value: z.unknown().optional(),\n summary: z.string().optional(),\n externalValue: z.string().optional(),\n }),\n ),\n z.array(z.unknown()),\n ])\n .optional(),\n}) satisfies ZodSchema<OpenAPI.Parameter>\n\nexport type RequestParameter = z.infer<typeof oasParameterSchema>\nexport type RequestParameterPayload = z.input<typeof oasParameterSchema>\n"],
5
- "mappings": "AACA,SAAyB,SAAS;AAI3B,MAAM,sBAAsB,EAAE,KAAK,CAAC,QAAQ,SAAS,UAAU,QAAQ,CAAC;AAGxE,MAAM,uBAAuB,EAAE,KAAK;AAAA,EACzC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AAUM,MAAM,yBAAyB,EAAE,QAAQ;AAKzC,MAAM,qBAAqB,EAAE,OAAO;AAAA,EACzC,IAAI;AAAA,EACJ,MAAM,EAAE,OAAO;AAAA,EACf,aAAa,EAAE,OAAO,EAAE,SAAS;AAAA;AAAA,EAEjC,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,KAAK;AAAA;AAAA,EAE9C,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,KAAK;AAAA,EAChD,QAAQ,EAAE,QAAQ,EAAE,SAAS;AAAA,EAC7B,SAAS,EAAE,QAAQ,EAAE,SAAS;AAAA;AAAA,EAE9B,OAAO,qBAAqB,SAAS;AAAA,EACrC,SAAS,EAAE,QAAQ,EAAE,SAAS;AAAA,EAC9B,SAAS,EAAE,QAAQ,EAAE,SAAS;AAAA,EAC9B,UAAU,EACP,MAAM;AAAA,IACL,EAAE;AAAA,MACA,EAAE,OAAO;AAAA,MACT,EAAE,OAAO;AAAA,QACP,OAAO,EAAE,QAAQ,EAAE,SAAS;AAAA,QAC5B,SAAS,EAAE,OAAO,EAAE,SAAS;AAAA,QAC7B,eAAe,EAAE,OAAO,EAAE,SAAS;AAAA,MACrC,CAAC;AAAA,IACH;AAAA,IACA,EAAE,MAAM,EAAE,QAAQ,CAAC;AAAA,EACrB,CAAC,EACA,SAAS;AACd,CAAC;",
4
+ "sourcesContent": ["import type { OpenAPI, OpenAPIV3_1 } from '@scalar/openapi-types'\nimport { type ZodSchema, z } from 'zod'\n\nimport type { RequestExampleParameter } from './request-examples'\n\nconst parameterTypeSchema = z.enum(['path', 'query', 'header', 'cookie'])\n// not used but kept for consistency\n// export type ParamType = z.infer<typeof parameterTypeSchema>\n\nconst parameterStyleSchema = z.enum([\n 'matrix',\n 'simple',\n 'form',\n 'label',\n 'spaceDelimited',\n 'pipeDelimited',\n 'deepObject',\n])\n// not used but kept for consistency\n// export type ParameterStyle = z.infer<typeof parameterStyleSchema>\n\nexport type ParameterContent = Record<\n string,\n {\n schema?: OpenAPIV3_1.Document\n examples?: Record<string, RequestExampleParameter>\n example?: RequestExampleParameter\n }\n>\n\n/**\n * OpenAPI compliant parameters object\n */\nexport const oasParameterSchema = z.object({\n in: parameterTypeSchema,\n name: z.string(),\n description: z.string().optional(),\n /** Defaulted to false */\n required: z.boolean().optional().default(false),\n /** Defaulted to false */\n deprecated: z.boolean().optional().default(false),\n schema: z.unknown().optional(),\n content: z.unknown().optional(),\n /** Defaulted according to @url https://spec.openapis.org/oas/v3.1.0#parameter-object */\n style: parameterStyleSchema.optional(),\n explode: z.boolean().optional(),\n example: z.unknown().optional(),\n examples: z\n .union([\n z.record(\n z.string(),\n z.object({\n value: z.unknown().optional(),\n summary: z.string().optional(),\n externalValue: z.string().optional(),\n }),\n ),\n z.array(z.unknown()),\n ])\n .optional(),\n}) satisfies ZodSchema<OpenAPI.Parameter>\n\nexport type RequestParameter = z.infer<typeof oasParameterSchema>\nexport type RequestParameterPayload = z.input<typeof oasParameterSchema>\n"],
5
+ "mappings": "AACA,SAAyB,SAAS;AAIlC,MAAM,sBAAsB,EAAE,KAAK,CAAC,QAAQ,SAAS,UAAU,QAAQ,CAAC;AAIxE,MAAM,uBAAuB,EAAE,KAAK;AAAA,EAClC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AAgBM,MAAM,qBAAqB,EAAE,OAAO;AAAA,EACzC,IAAI;AAAA,EACJ,MAAM,EAAE,OAAO;AAAA,EACf,aAAa,EAAE,OAAO,EAAE,SAAS;AAAA;AAAA,EAEjC,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,KAAK;AAAA;AAAA,EAE9C,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,KAAK;AAAA,EAChD,QAAQ,EAAE,QAAQ,EAAE,SAAS;AAAA,EAC7B,SAAS,EAAE,QAAQ,EAAE,SAAS;AAAA;AAAA,EAE9B,OAAO,qBAAqB,SAAS;AAAA,EACrC,SAAS,EAAE,QAAQ,EAAE,SAAS;AAAA,EAC9B,SAAS,EAAE,QAAQ,EAAE,SAAS;AAAA,EAC9B,UAAU,EACP,MAAM;AAAA,IACL,EAAE;AAAA,MACA,EAAE,OAAO;AAAA,MACT,EAAE,OAAO;AAAA,QACP,OAAO,EAAE,QAAQ,EAAE,SAAS;AAAA,QAC5B,SAAS,EAAE,OAAO,EAAE,SAAS;AAAA,QAC7B,eAAe,EAAE,OAAO,EAAE,SAAS;AAAA,MACrC,CAAC;AAAA,IACH;AAAA,IACA,EAAE,MAAM,EAAE,QAAQ,CAAC;AAAA,EACrB,CAAC,EACA,SAAS;AACd,CAAC;",
6
6
  "names": []
7
7
  }