@scalar/workspace-store 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/README.md +47 -1
- package/dist/client.d.ts +11713 -11143
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +27 -2
- package/dist/client.js.map +2 -2
- package/dist/helpers/json-path-utils.d.ts +1 -1
- package/dist/helpers/json-path-utils.d.ts.map +1 -1
- package/dist/helpers/json-path-utils.js.map +2 -2
- package/dist/helpers/merge-object.d.ts +23 -0
- package/dist/helpers/merge-object.d.ts.map +1 -0
- package/dist/helpers/merge-object.js +20 -0
- package/dist/helpers/merge-object.js.map +7 -0
- package/dist/schemas/reference-config/appearance.d.ts +13 -0
- package/dist/schemas/reference-config/appearance.d.ts.map +1 -0
- package/dist/schemas/reference-config/appearance.js +26 -0
- package/dist/schemas/reference-config/appearance.js.map +7 -0
- package/dist/schemas/reference-config/features.d.ts +15 -0
- package/dist/schemas/reference-config/features.d.ts.map +1 -0
- package/dist/schemas/reference-config/features.js +30 -0
- package/dist/schemas/reference-config/features.js.map +7 -0
- package/dist/schemas/reference-config/index.d.ts +53 -0
- package/dist/schemas/reference-config/index.d.ts.map +1 -0
- package/dist/schemas/reference-config/index.js +66 -0
- package/dist/schemas/reference-config/index.js.map +7 -0
- package/dist/schemas/reference-config/meta.d.ts +12 -0
- package/dist/schemas/reference-config/meta.d.ts.map +1 -0
- package/dist/schemas/reference-config/meta.js +24 -0
- package/dist/schemas/reference-config/meta.js.map +7 -0
- package/dist/schemas/reference-config/routing.d.ts +8 -0
- package/dist/schemas/reference-config/routing.d.ts.map +1 -0
- package/dist/schemas/reference-config/routing.js +16 -0
- package/dist/schemas/reference-config/routing.js.map +7 -0
- package/dist/schemas/reference-config/settings.d.ts +8 -0
- package/dist/schemas/reference-config/settings.d.ts.map +1 -0
- package/dist/schemas/reference-config/settings.js +16 -0
- package/dist/schemas/reference-config/settings.js.map +7 -0
- package/dist/schemas/v3.1/strict/components.d.ts +167 -40
- package/dist/schemas/v3.1/strict/components.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/header.d.ts +2 -0
- package/dist/schemas/v3.1/strict/header.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/media-header-encoding.d.ts +6 -0
- package/dist/schemas/v3.1/strict/media-header-encoding.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/media-type.d.ts +1 -0
- package/dist/schemas/v3.1/strict/media-type.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/oauth-flow.d.ts +73 -2
- package/dist/schemas/v3.1/strict/oauth-flow.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/oauth-flow.js +44 -7
- package/dist/schemas/v3.1/strict/oauth-flow.js.map +2 -2
- package/dist/schemas/v3.1/strict/oauthflows.d.ts +11 -10
- package/dist/schemas/v3.1/strict/oauthflows.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/oauthflows.js +11 -8
- package/dist/schemas/v3.1/strict/oauthflows.js.map +2 -2
- package/dist/schemas/v3.1/strict/operation.d.ts +11 -2
- package/dist/schemas/v3.1/strict/operation.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/parameter.d.ts +11 -5
- package/dist/schemas/v3.1/strict/parameter.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/parameter.js +1 -1
- package/dist/schemas/v3.1/strict/parameter.js.map +2 -2
- package/dist/schemas/v3.1/strict/path-item.d.ts +5 -2
- package/dist/schemas/v3.1/strict/path-item.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/path-operations.d.ts +158 -32
- package/dist/schemas/v3.1/strict/path-operations.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/paths.d.ts +71 -14
- package/dist/schemas/v3.1/strict/paths.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/request-body.d.ts +2 -0
- package/dist/schemas/v3.1/strict/request-body.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/response.d.ts +4 -0
- package/dist/schemas/v3.1/strict/response.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/responses.d.ts +4 -0
- package/dist/schemas/v3.1/strict/responses.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/schema.d.ts +6 -1
- package/dist/schemas/v3.1/strict/schema.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/schema.js +7 -2
- package/dist/schemas/v3.1/strict/schema.js.map +2 -2
- package/dist/schemas/v3.1/strict/security-scheme.d.ts +22 -20
- package/dist/schemas/v3.1/strict/security-scheme.d.ts.map +1 -1
- package/dist/schemas/v3.1/type-guard.d.ts +5 -0
- package/dist/schemas/v3.1/type-guard.d.ts.map +1 -1
- package/dist/schemas/v3.1/type-guard.js +1 -3
- package/dist/schemas/v3.1/type-guard.js.map +2 -2
- package/dist/server.d.ts +640 -614
- package/dist/server.d.ts.map +1 -1
- package/dist/types.d.ts +57 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +1 -0
- package/dist/types.js.map +7 -0
- package/package.json +18 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/components.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAcrD,kOAAkO;AAClO,eAAO,MAAM,sBAAsB;IAE/B,iDAAiD
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/components.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAcrD,kOAAkO;AAClO,eAAO,MAAM,sBAAsB;IAE/B,iDAAiD;;;;;;;;;;;;;;;;;;;;;;IAEjD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kJAIvD,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAA"}
|
|
@@ -37,6 +37,7 @@ export declare const HeaderObjectWithSchemaSchema: import("@sinclair/typebox").T
|
|
|
37
37
|
url: import("@sinclair/typebox").TString;
|
|
38
38
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
39
39
|
example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
40
|
+
examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
|
|
40
41
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
|
|
41
42
|
'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
42
43
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
@@ -94,6 +95,7 @@ export declare const headerObjectSchemaBuilder: <T extends TSchema>(mediaType: T
|
|
|
94
95
|
url: import("@sinclair/typebox").TString;
|
|
95
96
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
96
97
|
example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
98
|
+
examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
|
|
97
99
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
|
|
98
100
|
'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
99
101
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/header.ts"],"names":[],"mappings":"AAKA,OAAO,EAAQ,KAAK,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAEtD,eAAO,MAAM,sBAAsB;IAE/B,yIAAyI;;IAEzI,+EAA+E;;IAE/E,+GAA+G;;kJAIlH,CAAA;AAED,eAAO,MAAM,4BAA4B;IAVrC,yIAAyI;;IAEzI,+EAA+E;;IAE/E,+GAA+G;;;IAS/G,qHAAqH;;IAErH,+QAA+Q;;IAE/Q,wDAAwD
|
|
1
|
+
{"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/header.ts"],"names":[],"mappings":"AAKA,OAAO,EAAQ,KAAK,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAEtD,eAAO,MAAM,sBAAsB;IAE/B,yIAAyI;;IAEzI,+EAA+E;;IAE/E,+GAA+G;;kJAIlH,CAAA;AAED,eAAO,MAAM,4BAA4B;IAVrC,yIAAyI;;IAEzI,+EAA+E;;IAE/E,+GAA+G;;;IAS/G,qHAAqH;;IAErH,+QAA+Q;;IAE/Q,wDAAwD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAExD,kIAAkI;;IAElI,mIAAmI;;;;;;;;;;;;;;IAGtI,CAAA;AAED,eAAO,MAAM,yBAAyB,GAAI,CAAC,SAAS,OAAO,aAAa,CAAC;IA1BrE,yIAAyI;;IAEzI,+EAA+E;;IAE/E,+GAA+G;;;IAS/G,qHAAqH;;IAErH,+QAA+Q;;IAE/Q,wDAAwD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAExD,kIAAkI;;IAElI,mIAAmI;;;;;;;;;;;;;;;IArBnI,yIAAyI;;IAEzI,+EAA+E;;IAE/E,+GAA+G;;;;MAgC/G,CAAA"}
|
|
@@ -32,6 +32,7 @@ export declare const EncodingObjectSchema: import("@sinclair/typebox").TRecursiv
|
|
|
32
32
|
url: import("@sinclair/typebox").TString;
|
|
33
33
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
34
34
|
example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
35
|
+
examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
|
|
35
36
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
|
|
36
37
|
'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
37
38
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
@@ -79,6 +80,7 @@ export declare const EncodingObjectSchema: import("@sinclair/typebox").TRecursiv
|
|
|
79
80
|
url: import("@sinclair/typebox").TString;
|
|
80
81
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
81
82
|
example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
83
|
+
examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
|
|
82
84
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
|
|
83
85
|
'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
84
86
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>>;
|
|
@@ -130,6 +132,7 @@ export declare const MediaTypeObjectSchema: import("@sinclair/typebox").TRecursi
|
|
|
130
132
|
url: import("@sinclair/typebox").TString;
|
|
131
133
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
132
134
|
example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
135
|
+
examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
|
|
133
136
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
|
|
134
137
|
'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
135
138
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>>;
|
|
@@ -173,6 +176,7 @@ export declare const MediaTypeObjectSchema: import("@sinclair/typebox").TRecursi
|
|
|
173
176
|
url: import("@sinclair/typebox").TString;
|
|
174
177
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
175
178
|
example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
179
|
+
examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
|
|
176
180
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
|
|
177
181
|
'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
178
182
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
@@ -246,6 +250,7 @@ export declare const HeaderObjectSchema: import("@sinclair/typebox").TRecursive<
|
|
|
246
250
|
url: import("@sinclair/typebox").TString;
|
|
247
251
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
248
252
|
example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
253
|
+
examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
|
|
249
254
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
|
|
250
255
|
'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
251
256
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
@@ -293,6 +298,7 @@ export declare const HeaderObjectSchema: import("@sinclair/typebox").TRecursive<
|
|
|
293
298
|
url: import("@sinclair/typebox").TString;
|
|
294
299
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
295
300
|
example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
301
|
+
examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
|
|
296
302
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
|
|
297
303
|
'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
298
304
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media-header-encoding.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/media-header-encoding.ts"],"names":[],"mappings":"AAGA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAErD;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"media-header-encoding.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/media-header-encoding.ts"],"names":[],"mappings":"AAGA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAErD;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mJAEhC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mJAEjC,CAAA;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAE9B,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAE5D,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAElE,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
|
|
@@ -18,6 +18,7 @@ export declare const mediaTypeObjectSchemaBuilder: <E extends TSchema>(encoding:
|
|
|
18
18
|
url: import("@sinclair/typebox").TString;
|
|
19
19
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
20
20
|
example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
21
|
+
examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
|
|
21
22
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
|
|
22
23
|
'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
23
24
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media-type.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/media-type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAOtD,eAAO,MAAM,4BAA4B,GAAI,CAAC,SAAS,OAAO,YAAY,CAAC;IAIrE,sFAAsF
|
|
1
|
+
{"version":3,"file":"media-type.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/media-type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAOtD,eAAO,MAAM,4BAA4B,GAAI,CAAC,SAAS,OAAO,YAAY,CAAC;IAIrE,sFAAsF;;;;;;;;;;;;;;;;;;;;;;IAGtF,gCAAgC;;IAEhC,iCAAiC;;;;;;;;;;;;;;IAEjC,gaAAga;;kJAIna,CAAA"}
|
|
@@ -1,14 +1,85 @@
|
|
|
1
1
|
import { type Static } from '@sinclair/typebox';
|
|
2
|
-
/** Configuration
|
|
3
|
-
export declare const
|
|
2
|
+
/** Configuration for the OAuth Implicit flow */
|
|
3
|
+
export declare const OAuthFlowImplicitSchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
4
|
+
/** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
5
|
+
refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
6
|
+
/** REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */
|
|
7
|
+
scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
|
8
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
4
9
|
/** REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
5
10
|
authorizationUrl: import("@sinclair/typebox").TString;
|
|
11
|
+
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>;
|
|
12
|
+
/** Configuration for the OAuth Resource Owner Password flow */
|
|
13
|
+
export declare const OAuthFlowPasswordSchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
14
|
+
/** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
15
|
+
refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
16
|
+
/** REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */
|
|
17
|
+
scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
|
18
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
19
|
+
/** REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
20
|
+
tokenUrl: import("@sinclair/typebox").TString;
|
|
21
|
+
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>;
|
|
22
|
+
/** Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0. */
|
|
23
|
+
export declare const OAuthFlowClientCredentialsSchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
24
|
+
/** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
25
|
+
refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
26
|
+
/** REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */
|
|
27
|
+
scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
|
28
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
6
29
|
/** REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
7
30
|
tokenUrl: import("@sinclair/typebox").TString;
|
|
31
|
+
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>;
|
|
32
|
+
/** Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0. */
|
|
33
|
+
export declare const OAuthFlowAuthorizationCodeSchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
8
34
|
/** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
9
35
|
refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
10
36
|
/** REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */
|
|
11
37
|
scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
|
38
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
39
|
+
/** REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
40
|
+
authorizationUrl: import("@sinclair/typebox").TString;
|
|
41
|
+
/** REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
42
|
+
tokenUrl: import("@sinclair/typebox").TString;
|
|
12
43
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>;
|
|
44
|
+
/** Union of all OAuth flow schemas */
|
|
45
|
+
export declare const OAuthFlowObjectSchema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
46
|
+
/** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
47
|
+
refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
48
|
+
/** REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */
|
|
49
|
+
scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
|
50
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
51
|
+
/** REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
52
|
+
authorizationUrl: import("@sinclair/typebox").TString;
|
|
53
|
+
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
54
|
+
/** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
55
|
+
refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
56
|
+
/** REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */
|
|
57
|
+
scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
|
58
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
59
|
+
/** REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
60
|
+
tokenUrl: import("@sinclair/typebox").TString;
|
|
61
|
+
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
62
|
+
/** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
63
|
+
refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
64
|
+
/** REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */
|
|
65
|
+
scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
|
66
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
67
|
+
/** REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
68
|
+
tokenUrl: import("@sinclair/typebox").TString;
|
|
69
|
+
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
70
|
+
/** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
71
|
+
refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
72
|
+
/** REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */
|
|
73
|
+
scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
|
74
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
75
|
+
/** REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
76
|
+
authorizationUrl: import("@sinclair/typebox").TString;
|
|
77
|
+
/** REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
78
|
+
tokenUrl: import("@sinclair/typebox").TString;
|
|
79
|
+
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>]>;
|
|
13
80
|
export type OAuthFlowObject = Static<typeof OAuthFlowObjectSchema>;
|
|
81
|
+
export type OAuthFlowImplicit = Static<typeof OAuthFlowImplicitSchema>;
|
|
82
|
+
export type OAuthFlowPassword = Static<typeof OAuthFlowPasswordSchema>;
|
|
83
|
+
export type OAuthFlowClientCredentials = Static<typeof OAuthFlowClientCredentialsSchema>;
|
|
84
|
+
export type OAuthFlowAuthorizationCode = Static<typeof OAuthFlowAuthorizationCodeSchema>;
|
|
14
85
|
//# sourceMappingURL=oauth-flow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth-flow.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/oauth-flow.ts"],"names":[],"mappings":"AAEA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"oauth-flow.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/oauth-flow.ts"],"names":[],"mappings":"AAEA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAUrD,gDAAgD;AAChD,eAAO,MAAM,uBAAuB;IAPlC,uIAAuI;;IAEvI,wJAAwJ;;;IAQtJ,gJAAgJ;;kJAInJ,CAAA;AAED,+DAA+D;AAC/D,eAAO,MAAM,uBAAuB;IAjBlC,uIAAuI;;IAEvI,wJAAwJ;;;IAkBtJ,wIAAwI;;kJAI3I,CAAA;AAED,yGAAyG;AACzG,eAAO,MAAM,gCAAgC;IA3B3C,uIAAuI;;IAEvI,wJAAwJ;;;IA4BtJ,wIAAwI;;kJAI3I,CAAA;AAED,wGAAwG;AACxG,eAAO,MAAM,gCAAgC;IArC3C,uIAAuI;;IAEvI,wJAAwJ;;;IAsCtJ,gJAAgJ;;IAEhJ,wIAAwI;;kJAI3I,CAAA;AAED,sCAAsC;AACtC,eAAO,MAAM,qBAAqB;IAjDhC,uIAAuI;;IAEvI,wJAAwJ;;;IAQtJ,gJAAgJ;;;IAVlJ,uIAAuI;;IAEvI,wJAAwJ;;;IAkBtJ,wIAAwI;;;IApB1I,uIAAuI;;IAEvI,wJAAwJ;;;IA4BtJ,wIAAwI;;;IA9B1I,uIAAuI;;IAEvI,wJAAwJ;;;IAsCtJ,gJAAgJ;;IAEhJ,wIAAwI;;oJAY1I,CAAA;AAEF,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAClE,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAA;AACtE,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAA;AACtE,MAAM,MAAM,0BAA0B,GAAG,MAAM,CAAC,OAAO,gCAAgC,CAAC,CAAA;AACxF,MAAM,MAAM,0BAA0B,GAAG,MAAM,CAAC,OAAO,gCAAgC,CAAC,CAAA"}
|
|
@@ -1,20 +1,57 @@
|
|
|
1
1
|
import { compose } from "../../../schemas/v3.1/compose.js";
|
|
2
2
|
import { ExtensionsSchema } from "../../../schemas/v3.1/strict/extensions.js";
|
|
3
3
|
import { Type } from "@sinclair/typebox";
|
|
4
|
-
const
|
|
4
|
+
const OAuthFlowCommonSchema = Type.Object({
|
|
5
|
+
/** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
6
|
+
refreshUrl: Type.Optional(Type.String()),
|
|
7
|
+
/** REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */
|
|
8
|
+
scopes: Type.Record(Type.String(), Type.String())
|
|
9
|
+
});
|
|
10
|
+
const OAuthFlowImplicitSchema = compose(
|
|
11
|
+
OAuthFlowCommonSchema,
|
|
12
|
+
Type.Object({
|
|
13
|
+
/** REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
14
|
+
authorizationUrl: Type.String()
|
|
15
|
+
}),
|
|
16
|
+
ExtensionsSchema
|
|
17
|
+
);
|
|
18
|
+
const OAuthFlowPasswordSchema = compose(
|
|
19
|
+
OAuthFlowCommonSchema,
|
|
20
|
+
Type.Object({
|
|
21
|
+
/** REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
22
|
+
tokenUrl: Type.String()
|
|
23
|
+
}),
|
|
24
|
+
ExtensionsSchema
|
|
25
|
+
);
|
|
26
|
+
const OAuthFlowClientCredentialsSchema = compose(
|
|
27
|
+
OAuthFlowCommonSchema,
|
|
28
|
+
Type.Object({
|
|
29
|
+
/** REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
30
|
+
tokenUrl: Type.String()
|
|
31
|
+
}),
|
|
32
|
+
ExtensionsSchema
|
|
33
|
+
);
|
|
34
|
+
const OAuthFlowAuthorizationCodeSchema = compose(
|
|
35
|
+
OAuthFlowCommonSchema,
|
|
5
36
|
Type.Object({
|
|
6
37
|
/** REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
7
38
|
authorizationUrl: Type.String(),
|
|
8
39
|
/** REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
9
|
-
tokenUrl: Type.String()
|
|
10
|
-
/** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
|
|
11
|
-
refreshUrl: Type.Optional(Type.String()),
|
|
12
|
-
/** REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */
|
|
13
|
-
scopes: Type.Record(Type.String(), Type.String())
|
|
40
|
+
tokenUrl: Type.String()
|
|
14
41
|
}),
|
|
15
42
|
ExtensionsSchema
|
|
16
43
|
);
|
|
44
|
+
const OAuthFlowObjectSchema = Type.Union([
|
|
45
|
+
OAuthFlowImplicitSchema,
|
|
46
|
+
OAuthFlowPasswordSchema,
|
|
47
|
+
OAuthFlowClientCredentialsSchema,
|
|
48
|
+
OAuthFlowAuthorizationCodeSchema
|
|
49
|
+
]);
|
|
17
50
|
export {
|
|
18
|
-
|
|
51
|
+
OAuthFlowAuthorizationCodeSchema,
|
|
52
|
+
OAuthFlowClientCredentialsSchema,
|
|
53
|
+
OAuthFlowImplicitSchema,
|
|
54
|
+
OAuthFlowObjectSchema,
|
|
55
|
+
OAuthFlowPasswordSchema
|
|
19
56
|
};
|
|
20
57
|
//# sourceMappingURL=oauth-flow.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/schemas/v3.1/strict/oauth-flow.ts"],
|
|
4
|
-
"sourcesContent": ["import { compose } from '@/schemas/v3.1/compose'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { Type, type Static } from '@sinclair/typebox'\n\n/**
|
|
5
|
-
"mappings": "AAAA,SAAS,eAAe;AACxB,SAAS,wBAAwB;AACjC,SAAS,YAAyB;
|
|
4
|
+
"sourcesContent": ["import { compose } from '@/schemas/v3.1/compose'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { Type, type Static } from '@sinclair/typebox'\n\n/** Common properties used across all OAuth flows */\nconst OAuthFlowCommonSchema = Type.Object({\n /** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */\n refreshUrl: Type.Optional(Type.String()),\n /** REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */\n scopes: Type.Record(Type.String(), Type.String()),\n})\n\n/** Configuration for the OAuth Implicit flow */\nexport const OAuthFlowImplicitSchema = compose(\n OAuthFlowCommonSchema,\n Type.Object({\n /** REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */\n authorizationUrl: Type.String(),\n }),\n ExtensionsSchema,\n)\n\n/** Configuration for the OAuth Resource Owner Password flow */\nexport const OAuthFlowPasswordSchema = compose(\n OAuthFlowCommonSchema,\n Type.Object({\n /** REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */\n tokenUrl: Type.String(),\n }),\n ExtensionsSchema,\n)\n\n/** Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0. */\nexport const OAuthFlowClientCredentialsSchema = compose(\n OAuthFlowCommonSchema,\n Type.Object({\n /** REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */\n tokenUrl: Type.String(),\n }),\n ExtensionsSchema,\n)\n\n/** Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0. */\nexport const OAuthFlowAuthorizationCodeSchema = compose(\n OAuthFlowCommonSchema,\n Type.Object({\n /** REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */\n authorizationUrl: Type.String(),\n /** REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */\n tokenUrl: Type.String(),\n }),\n ExtensionsSchema,\n)\n\n/** Union of all OAuth flow schemas */\nexport const OAuthFlowObjectSchema = Type.Union([\n OAuthFlowImplicitSchema,\n OAuthFlowPasswordSchema,\n OAuthFlowClientCredentialsSchema,\n OAuthFlowAuthorizationCodeSchema,\n])\n\nexport type OAuthFlowObject = Static<typeof OAuthFlowObjectSchema>\nexport type OAuthFlowImplicit = Static<typeof OAuthFlowImplicitSchema>\nexport type OAuthFlowPassword = Static<typeof OAuthFlowPasswordSchema>\nexport type OAuthFlowClientCredentials = Static<typeof OAuthFlowClientCredentialsSchema>\nexport type OAuthFlowAuthorizationCode = Static<typeof OAuthFlowAuthorizationCodeSchema>\n"],
|
|
5
|
+
"mappings": "AAAA,SAAS,eAAe;AACxB,SAAS,wBAAwB;AACjC,SAAS,YAAyB;AAGlC,MAAM,wBAAwB,KAAK,OAAO;AAAA;AAAA,EAExC,YAAY,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEvC,QAAQ,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,OAAO,CAAC;AAClD,CAAC;AAGM,MAAM,0BAA0B;AAAA,EACrC;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,kBAAkB,KAAK,OAAO;AAAA,EAChC,CAAC;AAAA,EACD;AACF;AAGO,MAAM,0BAA0B;AAAA,EACrC;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,UAAU,KAAK,OAAO;AAAA,EACxB,CAAC;AAAA,EACD;AACF;AAGO,MAAM,mCAAmC;AAAA,EAC9C;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,UAAU,KAAK,OAAO;AAAA,EACxB,CAAC;AAAA,EACD;AACF;AAGO,MAAM,mCAAmC;AAAA,EAC9C;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,kBAAkB,KAAK,OAAO;AAAA;AAAA,IAE9B,UAAU,KAAK,OAAO;AAAA,EACxB,CAAC;AAAA,EACD;AACF;AAGO,MAAM,wBAAwB,KAAK,MAAM;AAAA,EAC9C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -2,35 +2,36 @@ import { type Static } from '@sinclair/typebox';
|
|
|
2
2
|
/**
|
|
3
3
|
* Allows configuration of the supported OAuth Flows.
|
|
4
4
|
*/
|
|
5
|
-
export declare const OAuthFlowsObjectSchema: import("@sinclair/typebox").
|
|
5
|
+
export declare const OAuthFlowsObjectSchema: import("@sinclair/typebox").TObject<{
|
|
6
6
|
/** Configuration for the OAuth Implicit flow */
|
|
7
7
|
implicit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
8
|
-
authorizationUrl: import("@sinclair/typebox").TString;
|
|
9
|
-
tokenUrl: import("@sinclair/typebox").TString;
|
|
10
8
|
refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
11
9
|
scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
|
10
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
11
|
+
authorizationUrl: import("@sinclair/typebox").TString;
|
|
12
12
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
13
13
|
/** Configuration for the OAuth Resource Owner Password flow */
|
|
14
14
|
password: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
15
|
-
authorizationUrl: import("@sinclair/typebox").TString;
|
|
16
|
-
tokenUrl: import("@sinclair/typebox").TString;
|
|
17
15
|
refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
18
16
|
scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
|
17
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
18
|
+
tokenUrl: import("@sinclair/typebox").TString;
|
|
19
19
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
20
20
|
/** Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0. */
|
|
21
21
|
clientCredentials: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
22
|
-
authorizationUrl: import("@sinclair/typebox").TString;
|
|
23
|
-
tokenUrl: import("@sinclair/typebox").TString;
|
|
24
22
|
refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
25
23
|
scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
|
24
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
25
|
+
tokenUrl: import("@sinclair/typebox").TString;
|
|
26
26
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
27
27
|
/** Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0. */
|
|
28
28
|
authorizationCode: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
29
|
-
authorizationUrl: import("@sinclair/typebox").TString;
|
|
30
|
-
tokenUrl: import("@sinclair/typebox").TString;
|
|
31
29
|
refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
32
30
|
scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
|
31
|
+
}>, import("@sinclair/typebox").TObject<{
|
|
32
|
+
authorizationUrl: import("@sinclair/typebox").TString;
|
|
33
|
+
tokenUrl: import("@sinclair/typebox").TString;
|
|
33
34
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
34
|
-
}
|
|
35
|
+
}>;
|
|
35
36
|
export type OAuthFlowsObject = Static<typeof OAuthFlowsObjectSchema>;
|
|
36
37
|
//# sourceMappingURL=oauthflows.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauthflows.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/oauthflows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"oauthflows.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/oauthflows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AASrD;;GAEG;AACH,eAAO,MAAM,sBAAsB;IAE/B,gDAAgD;;;;;;;IAEhD,+DAA+D;;;;;;;IAE/D,yGAAyG;;;;;;;IAEzG,wGAAwG;;;;;;;;EAG3G,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAA"}
|
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
import { Type } from "@sinclair/typebox";
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import {
|
|
3
|
+
OAuthFlowImplicitSchema,
|
|
4
|
+
OAuthFlowPasswordSchema,
|
|
5
|
+
OAuthFlowClientCredentialsSchema,
|
|
6
|
+
OAuthFlowAuthorizationCodeSchema
|
|
7
|
+
} from "./oauth-flow.js";
|
|
4
8
|
import { compose } from "../../../schemas/v3.1/compose.js";
|
|
5
9
|
const OAuthFlowsObjectSchema = compose(
|
|
6
10
|
Type.Object({
|
|
7
11
|
/** Configuration for the OAuth Implicit flow */
|
|
8
|
-
implicit: Type.Optional(
|
|
12
|
+
implicit: Type.Optional(OAuthFlowImplicitSchema),
|
|
9
13
|
/** Configuration for the OAuth Resource Owner Password flow */
|
|
10
|
-
password: Type.Optional(
|
|
14
|
+
password: Type.Optional(OAuthFlowPasswordSchema),
|
|
11
15
|
/** Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0. */
|
|
12
|
-
clientCredentials: Type.Optional(
|
|
16
|
+
clientCredentials: Type.Optional(OAuthFlowClientCredentialsSchema),
|
|
13
17
|
/** Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0. */
|
|
14
|
-
authorizationCode: Type.Optional(
|
|
15
|
-
})
|
|
16
|
-
ExtensionsSchema
|
|
18
|
+
authorizationCode: Type.Optional(OAuthFlowAuthorizationCodeSchema)
|
|
19
|
+
})
|
|
17
20
|
);
|
|
18
21
|
export {
|
|
19
22
|
OAuthFlowsObjectSchema
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/schemas/v3.1/strict/oauthflows.ts"],
|
|
4
|
-
"sourcesContent": ["import { Type, type Static } from '@sinclair/typebox'\nimport {
|
|
5
|
-
"mappings": "AAAA,SAAS,YAAyB;AAClC,
|
|
4
|
+
"sourcesContent": ["import { Type, type Static } from '@sinclair/typebox'\nimport {\n OAuthFlowImplicitSchema,\n OAuthFlowPasswordSchema,\n OAuthFlowClientCredentialsSchema,\n OAuthFlowAuthorizationCodeSchema,\n} from './oauth-flow'\nimport { compose } from '@/schemas/v3.1/compose'\n\n/**\n * Allows configuration of the supported OAuth Flows.\n */\nexport const OAuthFlowsObjectSchema = compose(\n Type.Object({\n /** Configuration for the OAuth Implicit flow */\n implicit: Type.Optional(OAuthFlowImplicitSchema),\n /** Configuration for the OAuth Resource Owner Password flow */\n password: Type.Optional(OAuthFlowPasswordSchema),\n /** Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0. */\n clientCredentials: Type.Optional(OAuthFlowClientCredentialsSchema),\n /** Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0. */\n authorizationCode: Type.Optional(OAuthFlowAuthorizationCodeSchema),\n }),\n)\n\nexport type OAuthFlowsObject = Static<typeof OAuthFlowsObjectSchema>\n"],
|
|
5
|
+
"mappings": "AAAA,SAAS,YAAyB;AAClC;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,eAAe;AAKjB,MAAM,yBAAyB;AAAA,EACpC,KAAK,OAAO;AAAA;AAAA,IAEV,UAAU,KAAK,SAAS,uBAAuB;AAAA;AAAA,IAE/C,UAAU,KAAK,SAAS,uBAAuB;AAAA;AAAA,IAE/C,mBAAmB,KAAK,SAAS,gCAAgC;AAAA;AAAA,IAEjE,mBAAmB,KAAK,SAAS,gCAAgC;AAAA,EACnE,CAAC;AACH;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -16,7 +16,7 @@ export declare const operationObjectSchemaBuilder: <C extends TSchema>(callback:
|
|
|
16
16
|
/** A list of parameters that are applicable for this operation. If a parameter is already defined at the Path Item, the new definition will override it but can never remove it. The list MUST NOT include duplicated parameters. A unique parameter is defined by a combination of a name and location. The list can use the Reference Object to link to parameters that are defined in the OpenAPI Object's components.parameters. */
|
|
17
17
|
parameters: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
18
18
|
name: import("@sinclair/typebox").TString;
|
|
19
|
-
in: import("@sinclair/typebox").
|
|
19
|
+
in: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"query">, import("@sinclair/typebox").TLiteral<"header">, import("@sinclair/typebox").TLiteral<"path">, import("@sinclair/typebox").TLiteral<"cookie">]>;
|
|
20
20
|
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
21
21
|
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
22
22
|
deprecated: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -41,6 +41,7 @@ export declare const operationObjectSchemaBuilder: <C extends TSchema>(callback:
|
|
|
41
41
|
url: import("@sinclair/typebox").TString;
|
|
42
42
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
43
43
|
example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
44
|
+
examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
|
|
44
45
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
|
|
45
46
|
'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
46
47
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
@@ -67,7 +68,7 @@ export declare const operationObjectSchemaBuilder: <C extends TSchema>(callback:
|
|
|
67
68
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>]>>>;
|
|
68
69
|
}>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
69
70
|
name: import("@sinclair/typebox").TString;
|
|
70
|
-
in: import("@sinclair/typebox").
|
|
71
|
+
in: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"query">, import("@sinclair/typebox").TLiteral<"header">, import("@sinclair/typebox").TLiteral<"path">, import("@sinclair/typebox").TLiteral<"cookie">]>;
|
|
71
72
|
description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
72
73
|
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
73
74
|
deprecated: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -91,6 +92,7 @@ export declare const operationObjectSchemaBuilder: <C extends TSchema>(callback:
|
|
|
91
92
|
url: import("@sinclair/typebox").TString;
|
|
92
93
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
93
94
|
example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
95
|
+
examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
|
|
94
96
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
|
|
95
97
|
'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
96
98
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>>;
|
|
@@ -134,6 +136,7 @@ export declare const operationObjectSchemaBuilder: <C extends TSchema>(callback:
|
|
|
134
136
|
url: import("@sinclair/typebox").TString;
|
|
135
137
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
136
138
|
example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
139
|
+
examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
|
|
137
140
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
|
|
138
141
|
'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
139
142
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
@@ -203,6 +206,7 @@ export declare const operationObjectSchemaBuilder: <C extends TSchema>(callback:
|
|
|
203
206
|
url: import("@sinclair/typebox").TString;
|
|
204
207
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
205
208
|
example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
209
|
+
examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
|
|
206
210
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
|
|
207
211
|
'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
208
212
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>>;
|
|
@@ -246,6 +250,7 @@ export declare const operationObjectSchemaBuilder: <C extends TSchema>(callback:
|
|
|
246
250
|
url: import("@sinclair/typebox").TString;
|
|
247
251
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
248
252
|
example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
253
|
+
examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
|
|
249
254
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
|
|
250
255
|
'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
251
256
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
@@ -322,6 +327,7 @@ export declare const operationObjectSchemaBuilder: <C extends TSchema>(callback:
|
|
|
322
327
|
url: import("@sinclair/typebox").TString;
|
|
323
328
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
324
329
|
example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
330
|
+
examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
|
|
325
331
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
|
|
326
332
|
'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
327
333
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
@@ -369,6 +375,7 @@ export declare const operationObjectSchemaBuilder: <C extends TSchema>(callback:
|
|
|
369
375
|
url: import("@sinclair/typebox").TString;
|
|
370
376
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
371
377
|
example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
378
|
+
examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
|
|
372
379
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
|
|
373
380
|
'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
374
381
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>>;
|
|
@@ -424,6 +431,7 @@ export declare const operationObjectSchemaBuilder: <C extends TSchema>(callback:
|
|
|
424
431
|
url: import("@sinclair/typebox").TString;
|
|
425
432
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
426
433
|
example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
434
|
+
examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
|
|
427
435
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
|
|
428
436
|
'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
429
437
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>>;
|
|
@@ -467,6 +475,7 @@ export declare const operationObjectSchemaBuilder: <C extends TSchema>(callback:
|
|
|
467
475
|
url: import("@sinclair/typebox").TString;
|
|
468
476
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
|
|
469
477
|
example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
|
|
478
|
+
examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
|
|
470
479
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
|
|
471
480
|
'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
472
481
|
}>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAWtD,eAAO,MAAM,4BAA4B,GAAI,CAAC,SAAS,OAAO,YAAY,CAAC;IAInE,6IAA6I;;IAE7I,kDAAkD;;IAElD,mHAAmH;;IAEnH,4DAA4D;;;;;IAE5D,2TAA2T;;IAE3T,waAAwa
|
|
1
|
+
{"version":3,"file":"operation.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAWtD,eAAO,MAAM,4BAA4B,GAAI,CAAC,SAAS,OAAO,YAAY,CAAC;IAInE,6IAA6I;;IAE7I,kDAAkD;;IAElD,mHAAmH;;IAEnH,4DAA4D;;;;;IAE5D,2TAA2T;;IAE3T,waAAwa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAExa,wXAAwX;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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