@scalar/workspace-store 0.64.0 → 0.66.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 +121 -0
- package/README.md +45 -10
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +109 -10
- package/dist/entities/auth/schema.d.ts +351 -20
- package/dist/entities/auth/schema.d.ts.map +1 -1
- package/dist/entities/auth/schema.js +3 -1
- package/dist/events/definitions/auth.d.ts +1 -2
- package/dist/events/definitions/auth.d.ts.map +1 -1
- package/dist/events/definitions/operation.d.ts +3 -4
- package/dist/events/definitions/operation.d.ts.map +1 -1
- package/dist/events/definitions/server.d.ts +1 -2
- package/dist/events/definitions/server.d.ts.map +1 -1
- package/dist/events/definitions/ui.d.ts +3 -4
- package/dist/events/definitions/ui.d.ts.map +1 -1
- package/dist/events/old-definitions.d.ts +1 -2
- package/dist/events/old-definitions.d.ts.map +1 -1
- package/dist/helpers/chunk-index.d.ts +20 -2
- package/dist/helpers/chunk-index.d.ts.map +1 -1
- package/dist/helpers/chunk-index.js +14 -1
- package/dist/helpers/external-examples.d.ts +2 -0
- package/dist/helpers/external-examples.d.ts.map +1 -1
- package/dist/helpers/external-examples.js +1 -0
- package/dist/helpers/for-each-path-item-operation.d.ts +6 -5
- package/dist/helpers/for-each-path-item-operation.d.ts.map +1 -1
- package/dist/helpers/for-each-path-item-operation.js +40 -14
- package/dist/helpers/get-example-value.d.ts +15 -0
- package/dist/helpers/get-example-value.d.ts.map +1 -0
- package/dist/helpers/get-example-value.js +28 -0
- package/dist/helpers/get-parameter-example.d.ts +14 -0
- package/dist/helpers/get-parameter-example.d.ts.map +1 -0
- package/dist/helpers/get-parameter-example.js +19 -0
- package/dist/helpers/get-resolved-ref.d.ts.map +1 -1
- package/dist/helpers/get-resolved-ref.js +12 -1
- package/dist/helpers/normalize-boolean-schemas.d.ts +10 -0
- package/dist/helpers/normalize-boolean-schemas.d.ts.map +1 -0
- package/dist/helpers/normalize-boolean-schemas.js +193 -0
- package/dist/helpers/operation-examples.d.ts.map +1 -1
- package/dist/helpers/operation-examples.js +5 -2
- package/dist/helpers/querystring-parameter.d.ts +21 -0
- package/dist/helpers/querystring-parameter.d.ts.map +1 -0
- package/dist/helpers/querystring-parameter.js +108 -0
- package/dist/helpers/serialize-stream-example.d.ts +8 -0
- package/dist/helpers/serialize-stream-example.d.ts.map +1 -0
- package/dist/helpers/serialize-stream-example.js +52 -0
- package/dist/helpers/use-external-examples.d.ts.map +1 -1
- package/dist/helpers/use-external-examples.js +8 -1
- package/dist/mutators/index.d.ts +3 -3
- package/dist/mutators/operation/body.d.ts.map +1 -1
- package/dist/mutators/operation/body.js +9 -2
- package/dist/mutators/operation/operation.d.ts.map +1 -1
- package/dist/mutators/operation/operation.js +4 -7
- package/dist/mutators/operation/parameters.d.ts.map +1 -1
- package/dist/mutators/operation/parameters.js +43 -3
- package/dist/navigation/get-navigation-options.d.ts.map +1 -1
- package/dist/navigation/get-navigation-options.js +19 -4
- package/dist/navigation/helpers/traverse-paths.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-paths.js +2 -2
- package/dist/navigation/helpers/traverse-webhooks.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-webhooks.js +2 -2
- package/dist/navigation/helpers/update-order-ids.d.ts +1 -2
- package/dist/navigation/helpers/update-order-ids.d.ts.map +1 -1
- package/dist/plugins/bundler/index.d.ts +1 -0
- package/dist/plugins/bundler/index.d.ts.map +1 -1
- package/dist/plugins/bundler/index.js +11 -3
- package/dist/plugins/bundler/openapi-document.d.ts +6 -0
- package/dist/plugins/bundler/openapi-document.d.ts.map +1 -0
- package/dist/plugins/bundler/openapi-document.js +57 -0
- package/dist/request-example/builder/body/build-multipart.d.ts +29 -0
- package/dist/request-example/builder/body/build-multipart.d.ts.map +1 -0
- package/dist/request-example/builder/body/build-multipart.js +191 -0
- package/dist/request-example/builder/body/build-request-body.d.ts +6 -1
- package/dist/request-example/builder/body/build-request-body.d.ts.map +1 -1
- package/dist/request-example/builder/body/build-request-body.js +80 -23
- package/dist/request-example/builder/body/encode-multipart-body.d.ts +8 -8
- package/dist/request-example/builder/body/encode-multipart-body.d.ts.map +1 -1
- package/dist/request-example/builder/body/encode-multipart-body.js +56 -18
- package/dist/request-example/builder/body/get-request-body-example.d.ts.map +1 -1
- package/dist/request-example/builder/body/get-request-body-example.js +20 -6
- package/dist/request-example/builder/body/multipart-limits.d.ts +3 -0
- package/dist/request-example/builder/body/multipart-limits.d.ts.map +1 -0
- package/dist/request-example/builder/body/multipart-limits.js +2 -0
- package/dist/request-example/builder/body/serialize-form-property.d.ts +2 -0
- package/dist/request-example/builder/body/serialize-form-property.d.ts.map +1 -1
- package/dist/request-example/builder/body/serialize-form-property.js +3 -2
- package/dist/request-example/builder/body/serialize-multipart-array.d.ts +1 -1
- package/dist/request-example/builder/build-request.d.ts.map +1 -1
- package/dist/request-example/builder/build-request.js +7 -1
- package/dist/request-example/builder/header/build-request-parameters.d.ts +2 -0
- package/dist/request-example/builder/header/build-request-parameters.d.ts.map +1 -1
- package/dist/request-example/builder/header/build-request-parameters.js +54 -11
- package/dist/request-example/builder/header/is-param-disabled.d.ts.map +1 -1
- package/dist/request-example/builder/header/is-param-disabled.js +3 -1
- package/dist/request-example/builder/header/serialize-parameter.d.ts +11 -0
- package/dist/request-example/builder/header/serialize-parameter.d.ts.map +1 -1
- package/dist/request-example/builder/header/serialize-parameter.js +22 -0
- package/dist/request-example/builder/helpers/get-example-from-schema.d.ts.map +1 -1
- package/dist/request-example/builder/helpers/get-example-from-schema.js +42 -3
- package/dist/request-example/builder/helpers/get-example.d.ts.map +1 -1
- package/dist/request-example/builder/helpers/get-example.js +5 -2
- package/dist/request-example/builder/index.d.ts +2 -2
- package/dist/request-example/builder/index.d.ts.map +1 -1
- package/dist/request-example/builder/index.js +1 -1
- package/dist/request-example/builder/request-factory.d.ts +7 -0
- package/dist/request-example/builder/request-factory.d.ts.map +1 -1
- package/dist/request-example/builder/request-factory.js +10 -1
- package/dist/request-example/builder/resolve-request-factory-url.d.ts.map +1 -1
- package/dist/request-example/builder/resolve-request-factory-url.js +18 -2
- package/dist/request-example/builder/security/secret-types.d.ts +4 -1
- package/dist/request-example/builder/security/secret-types.d.ts.map +1 -1
- package/dist/request-example/context/headers.d.ts +1 -2
- package/dist/request-example/context/headers.d.ts.map +1 -1
- package/dist/request-example/context/security/extract-security-scheme-secrets.d.ts.map +1 -1
- package/dist/request-example/context/security/extract-security-scheme-secrets.js +15 -0
- package/dist/request-example/index.d.ts +5 -2
- package/dist/request-example/index.d.ts.map +1 -1
- package/dist/request-example/index.js +4 -1
- package/dist/request-example/types.d.ts +1 -2
- package/dist/request-example/types.d.ts.map +1 -1
- package/dist/request-example/xml/serialize-xml-part.d.ts +9 -0
- package/dist/request-example/xml/serialize-xml-part.d.ts.map +1 -0
- package/dist/request-example/xml/serialize-xml-part.js +12 -0
- package/dist/schemas/extensions/operation/x-code-samples.d.ts +22 -0
- package/dist/schemas/extensions/operation/x-code-samples.d.ts.map +1 -1
- package/dist/schemas/extensions/operation/x-code-samples.js +4 -0
- package/dist/schemas/extensions.d.ts +9 -0
- package/dist/schemas/extensions.d.ts.map +1 -1
- package/dist/schemas/extensions.js +9 -0
- package/dist/schemas/navigation.d.ts +40 -34
- package/dist/schemas/navigation.d.ts.map +1 -1
- package/dist/schemas/navigation.js +2 -3
- package/dist/schemas/reference-config/index.d.ts +24 -4
- package/dist/schemas/reference-config/index.d.ts.map +1 -1
- package/dist/schemas/reference-config/settings.d.ts +24 -4
- package/dist/schemas/reference-config/settings.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/oauthflows.d.ts +26 -0
- package/dist/schemas/v3.1/strict/oauthflows.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/oauthflows.js +3 -0
- package/dist/schemas/v3.1/strict/openapi-document.d.ts +1582 -147
- package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/operation.d.ts +8 -0
- package/dist/schemas/v3.1/strict/operation.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/path-item.d.ts +19 -0
- package/dist/schemas/v3.1/strict/path-item.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/path-item.js +5 -0
- package/dist/schemas/v3.2/openapi/index.d.ts +5 -0
- package/dist/schemas/v3.2/openapi/index.d.ts.map +1 -1
- package/dist/schemas/v3.2/openapi/index.js +48 -12
- package/dist/schemas/v3.2/openapi/reference.d.ts.map +1 -1
- package/dist/schemas/v3.2/openapi/reference.js +11 -3
- package/dist/schemas/v3.2/strict/openapi-document.d.ts +842 -140
- package/dist/schemas/v3.2/strict/openapi-document.d.ts.map +1 -1
- package/dist/schemas/v3.2/strict/openapi-document.js +6 -14
- package/dist/schemas/v3.2/strict/operation.d.ts +8 -0
- package/dist/schemas/v3.2/strict/operation.d.ts.map +1 -1
- package/dist/schemas/v3.2/strict/parameter.d.ts +14 -0
- package/dist/schemas/v3.2/strict/parameter.d.ts.map +1 -1
- package/dist/schemas/v3.2/strict/parameter.js +2 -0
- package/dist/server.d.ts +10 -6
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +67 -45
- package/package.json +19 -9
- package/dist/schemas/v3.1/openapi/index.d.ts +0 -149
- package/dist/schemas/v3.1/openapi/index.d.ts.map +0 -1
- package/dist/schemas/v3.1/openapi/index.js +0 -732
- package/dist/schemas/v3.1/openapi/reference.d.ts +0 -4
- package/dist/schemas/v3.1/openapi/reference.d.ts.map +0 -1
- package/dist/schemas/v3.1/openapi/reference.js +0 -29
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
export const extensions = {
|
|
2
2
|
document: {
|
|
3
3
|
navigation: 'x-scalar-navigation',
|
|
4
|
+
/**
|
|
5
|
+
* Where a compact document's navigation children are, until they are loaded.
|
|
6
|
+
*
|
|
7
|
+
* Only a compact server workspace sets it, and `resolve(['x-scalar-navigation'])` removes it once
|
|
8
|
+
* the children are on the document. Its presence is what "not loaded yet" means, so it has to
|
|
9
|
+
* travel with the document: `exportWorkspace` carries it, and a store the workspace is loaded
|
|
10
|
+
* into resolves from it.
|
|
11
|
+
*/
|
|
12
|
+
navigationChunk: 'x-scalar-navigation-chunk',
|
|
4
13
|
},
|
|
5
14
|
workspace: {
|
|
6
15
|
colorMode: 'x-scalar-color-mode',
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { type TLiteral } from '@scalar/typebox';
|
|
1
|
+
import type { HttpMethod } from '@scalar/helpers/http/http-methods';
|
|
3
2
|
import type { AsyncApiInfoObject } from '@scalar/types/asyncapi/3.1';
|
|
3
|
+
import type { LiteralUnion } from 'type-fest';
|
|
4
4
|
import type { InfoObject } from '../schemas/v3.2/strict/info.js';
|
|
5
5
|
import type { OperationObject } from '../schemas/v3.2/strict/operation.js';
|
|
6
6
|
import type { SchemaObject } from '../schemas/v3.2/strict/schema.js';
|
|
7
7
|
import type { TagObject } from '../schemas/v3.2/strict/tag.js';
|
|
8
|
+
/**
|
|
9
|
+
* An operation method, including document-defined extension methods.
|
|
10
|
+
* Known methods retain editor completion; the open string branch still requires
|
|
11
|
+
* consumers to handle unknown methods rather than rely on an exhaustive switch.
|
|
12
|
+
*/
|
|
13
|
+
export type OperationMethod = LiteralUnion<HttpMethod, string>;
|
|
8
14
|
export declare const NavigationBaseSchemaDefinition: import("@scalar/typebox").TObject<{
|
|
9
15
|
id: import("@scalar/typebox").TString;
|
|
10
16
|
title: import("@scalar/typebox").TString;
|
|
@@ -23,7 +29,7 @@ export declare const TraversedDocumentSchemaDefinition: import("@scalar/typebox"
|
|
|
23
29
|
id: import("@scalar/typebox").TString;
|
|
24
30
|
title: import("@scalar/typebox").TString;
|
|
25
31
|
}>, import("@scalar/typebox").TObject<{
|
|
26
|
-
type: TLiteral<"document">;
|
|
32
|
+
type: import("@scalar/typebox").TLiteral<"document">;
|
|
27
33
|
name: import("@scalar/typebox").TString;
|
|
28
34
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
29
35
|
icon: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
@@ -45,7 +51,7 @@ export declare const TraversedDescriptionSchemaDefinition: import("@scalar/typeb
|
|
|
45
51
|
id: import("@scalar/typebox").TString;
|
|
46
52
|
title: import("@scalar/typebox").TString;
|
|
47
53
|
}>, import("@scalar/typebox").TObject<{
|
|
48
|
-
type: TLiteral<"text">;
|
|
54
|
+
type: import("@scalar/typebox").TLiteral<"text">;
|
|
49
55
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
50
56
|
}>]>;
|
|
51
57
|
/**
|
|
@@ -59,7 +65,7 @@ export declare const TraversedExampleSchemaDefinition: import("@scalar/typebox")
|
|
|
59
65
|
id: import("@scalar/typebox").TString;
|
|
60
66
|
title: import("@scalar/typebox").TString;
|
|
61
67
|
}>, import("@scalar/typebox").TObject<{
|
|
62
|
-
type: TLiteral<"example">;
|
|
68
|
+
type: import("@scalar/typebox").TLiteral<"example">;
|
|
63
69
|
name: import("@scalar/typebox").TString;
|
|
64
70
|
}>]>;
|
|
65
71
|
/**
|
|
@@ -73,9 +79,9 @@ export declare const TraversedOperationSchemaDefinition: import("@scalar/typebox
|
|
|
73
79
|
id: import("@scalar/typebox").TString;
|
|
74
80
|
title: import("@scalar/typebox").TString;
|
|
75
81
|
}>, import("@scalar/typebox").TObject<{
|
|
76
|
-
type: TLiteral<"operation">;
|
|
82
|
+
type: import("@scalar/typebox").TLiteral<"operation">;
|
|
77
83
|
ref: import("@scalar/typebox").TString;
|
|
78
|
-
method:
|
|
84
|
+
method: import("@scalar/typebox").TString;
|
|
79
85
|
path: import("@scalar/typebox").TString;
|
|
80
86
|
isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
81
87
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
@@ -86,7 +92,7 @@ export declare const TraversedOperationSchemaDefinition: import("@scalar/typebox
|
|
|
86
92
|
export type TraversedOperation = BaseSchema & {
|
|
87
93
|
type: 'operation';
|
|
88
94
|
ref: string;
|
|
89
|
-
method:
|
|
95
|
+
method: OperationMethod;
|
|
90
96
|
path: string;
|
|
91
97
|
isDeprecated?: boolean;
|
|
92
98
|
children?: TraversedEntry[];
|
|
@@ -95,9 +101,9 @@ export declare const TraversedAsyncApiOperationSchemaDefinition: import("@scalar
|
|
|
95
101
|
id: import("@scalar/typebox").TString;
|
|
96
102
|
title: import("@scalar/typebox").TString;
|
|
97
103
|
}>, import("@scalar/typebox").TObject<{
|
|
98
|
-
type: TLiteral<"asyncapi-operation">;
|
|
104
|
+
type: import("@scalar/typebox").TLiteral<"asyncapi-operation">;
|
|
99
105
|
operationName: import("@scalar/typebox").TString;
|
|
100
|
-
action: import("@scalar/typebox").TUnion<[TLiteral<"send">, TLiteral<"receive">]>;
|
|
106
|
+
action: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"send">, import("@scalar/typebox").TLiteral<"receive">]>;
|
|
101
107
|
channelName: import("@scalar/typebox").TString;
|
|
102
108
|
channelAddress: import("@scalar/typebox").TString;
|
|
103
109
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
@@ -121,7 +127,7 @@ export declare const TraversedAsyncApiChannelSchemaDefinition: import("@scalar/t
|
|
|
121
127
|
id: import("@scalar/typebox").TString;
|
|
122
128
|
title: import("@scalar/typebox").TString;
|
|
123
129
|
}>, import("@scalar/typebox").TObject<{
|
|
124
|
-
type: TLiteral<"asyncapi-channel">;
|
|
130
|
+
type: import("@scalar/typebox").TLiteral<"asyncapi-channel">;
|
|
125
131
|
channelName: import("@scalar/typebox").TString;
|
|
126
132
|
channelAddress: import("@scalar/typebox").TString;
|
|
127
133
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
@@ -142,7 +148,7 @@ export declare const TraversedAsyncApiMessageSchemaDefinition: import("@scalar/t
|
|
|
142
148
|
id: import("@scalar/typebox").TString;
|
|
143
149
|
title: import("@scalar/typebox").TString;
|
|
144
150
|
}>, import("@scalar/typebox").TObject<{
|
|
145
|
-
type: TLiteral<"asyncapi-message">;
|
|
151
|
+
type: import("@scalar/typebox").TLiteral<"asyncapi-message">;
|
|
146
152
|
messageName: import("@scalar/typebox").TString;
|
|
147
153
|
channelName: import("@scalar/typebox").TString;
|
|
148
154
|
}>]>;
|
|
@@ -160,7 +166,7 @@ export declare const TraversedSchemaSchemaDefinition: import("@scalar/typebox").
|
|
|
160
166
|
id: import("@scalar/typebox").TString;
|
|
161
167
|
title: import("@scalar/typebox").TString;
|
|
162
168
|
}>, import("@scalar/typebox").TObject<{
|
|
163
|
-
type: TLiteral<"model">;
|
|
169
|
+
type: import("@scalar/typebox").TLiteral<"model">;
|
|
164
170
|
ref: import("@scalar/typebox").TString;
|
|
165
171
|
name: import("@scalar/typebox").TString;
|
|
166
172
|
}>]>;
|
|
@@ -176,9 +182,9 @@ export declare const TraversedWebhookSchemaDefinition: import("@scalar/typebox")
|
|
|
176
182
|
id: import("@scalar/typebox").TString;
|
|
177
183
|
title: import("@scalar/typebox").TString;
|
|
178
184
|
}>, import("@scalar/typebox").TObject<{
|
|
179
|
-
type: TLiteral<"webhook">;
|
|
185
|
+
type: import("@scalar/typebox").TLiteral<"webhook">;
|
|
180
186
|
ref: import("@scalar/typebox").TString;
|
|
181
|
-
method:
|
|
187
|
+
method: import("@scalar/typebox").TString;
|
|
182
188
|
name: import("@scalar/typebox").TString;
|
|
183
189
|
isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
184
190
|
}>]>;
|
|
@@ -188,7 +194,7 @@ export declare const TraversedWebhookSchemaDefinition: import("@scalar/typebox")
|
|
|
188
194
|
export type TraversedWebhook = BaseSchema & {
|
|
189
195
|
type: 'webhook';
|
|
190
196
|
ref: string;
|
|
191
|
-
method:
|
|
197
|
+
method: OperationMethod;
|
|
192
198
|
name: string;
|
|
193
199
|
isDeprecated?: boolean;
|
|
194
200
|
};
|
|
@@ -196,7 +202,7 @@ export declare const TraversedTagSchemaDefinition: import("@scalar/typebox").TIn
|
|
|
196
202
|
id: import("@scalar/typebox").TString;
|
|
197
203
|
title: import("@scalar/typebox").TString;
|
|
198
204
|
}>, import("@scalar/typebox").TObject<{
|
|
199
|
-
type: TLiteral<"tag">;
|
|
205
|
+
type: import("@scalar/typebox").TLiteral<"tag">;
|
|
200
206
|
name: import("@scalar/typebox").TString;
|
|
201
207
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
202
208
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
@@ -229,7 +235,7 @@ export declare const TraversedModelsSchemaDefinition: import("@scalar/typebox").
|
|
|
229
235
|
id: import("@scalar/typebox").TString;
|
|
230
236
|
title: import("@scalar/typebox").TString;
|
|
231
237
|
}>, import("@scalar/typebox").TObject<{
|
|
232
|
-
type: TLiteral<"models">;
|
|
238
|
+
type: import("@scalar/typebox").TLiteral<"models">;
|
|
233
239
|
name: import("@scalar/typebox").TString;
|
|
234
240
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
235
241
|
}>]>;
|
|
@@ -245,15 +251,15 @@ export declare const TraversedEntrySchemaDefinition: import("@scalar/typebox").T
|
|
|
245
251
|
id: import("@scalar/typebox").TString;
|
|
246
252
|
title: import("@scalar/typebox").TString;
|
|
247
253
|
}>, import("@scalar/typebox").TObject<{
|
|
248
|
-
type: TLiteral<"text">;
|
|
254
|
+
type: import("@scalar/typebox").TLiteral<"text">;
|
|
249
255
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
250
256
|
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
251
257
|
id: import("@scalar/typebox").TString;
|
|
252
258
|
title: import("@scalar/typebox").TString;
|
|
253
259
|
}>, import("@scalar/typebox").TObject<{
|
|
254
|
-
type: TLiteral<"operation">;
|
|
260
|
+
type: import("@scalar/typebox").TLiteral<"operation">;
|
|
255
261
|
ref: import("@scalar/typebox").TString;
|
|
256
|
-
method:
|
|
262
|
+
method: import("@scalar/typebox").TString;
|
|
257
263
|
path: import("@scalar/typebox").TString;
|
|
258
264
|
isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
259
265
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
@@ -261,9 +267,9 @@ export declare const TraversedEntrySchemaDefinition: import("@scalar/typebox").T
|
|
|
261
267
|
id: import("@scalar/typebox").TString;
|
|
262
268
|
title: import("@scalar/typebox").TString;
|
|
263
269
|
}>, import("@scalar/typebox").TObject<{
|
|
264
|
-
type: TLiteral<"asyncapi-operation">;
|
|
270
|
+
type: import("@scalar/typebox").TLiteral<"asyncapi-operation">;
|
|
265
271
|
operationName: import("@scalar/typebox").TString;
|
|
266
|
-
action: import("@scalar/typebox").TUnion<[TLiteral<"send">, TLiteral<"receive">]>;
|
|
272
|
+
action: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"send">, import("@scalar/typebox").TLiteral<"receive">]>;
|
|
267
273
|
channelName: import("@scalar/typebox").TString;
|
|
268
274
|
channelAddress: import("@scalar/typebox").TString;
|
|
269
275
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
@@ -271,7 +277,7 @@ export declare const TraversedEntrySchemaDefinition: import("@scalar/typebox").T
|
|
|
271
277
|
id: import("@scalar/typebox").TString;
|
|
272
278
|
title: import("@scalar/typebox").TString;
|
|
273
279
|
}>, import("@scalar/typebox").TObject<{
|
|
274
|
-
type: TLiteral<"asyncapi-channel">;
|
|
280
|
+
type: import("@scalar/typebox").TLiteral<"asyncapi-channel">;
|
|
275
281
|
channelName: import("@scalar/typebox").TString;
|
|
276
282
|
channelAddress: import("@scalar/typebox").TString;
|
|
277
283
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
@@ -279,21 +285,21 @@ export declare const TraversedEntrySchemaDefinition: import("@scalar/typebox").T
|
|
|
279
285
|
id: import("@scalar/typebox").TString;
|
|
280
286
|
title: import("@scalar/typebox").TString;
|
|
281
287
|
}>, import("@scalar/typebox").TObject<{
|
|
282
|
-
type: TLiteral<"asyncapi-message">;
|
|
288
|
+
type: import("@scalar/typebox").TLiteral<"asyncapi-message">;
|
|
283
289
|
messageName: import("@scalar/typebox").TString;
|
|
284
290
|
channelName: import("@scalar/typebox").TString;
|
|
285
291
|
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
286
292
|
id: import("@scalar/typebox").TString;
|
|
287
293
|
title: import("@scalar/typebox").TString;
|
|
288
294
|
}>, import("@scalar/typebox").TObject<{
|
|
289
|
-
type: TLiteral<"model">;
|
|
295
|
+
type: import("@scalar/typebox").TLiteral<"model">;
|
|
290
296
|
ref: import("@scalar/typebox").TString;
|
|
291
297
|
name: import("@scalar/typebox").TString;
|
|
292
298
|
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
293
299
|
id: import("@scalar/typebox").TString;
|
|
294
300
|
title: import("@scalar/typebox").TString;
|
|
295
301
|
}>, import("@scalar/typebox").TObject<{
|
|
296
|
-
type: TLiteral<"tag">;
|
|
302
|
+
type: import("@scalar/typebox").TLiteral<"tag">;
|
|
297
303
|
name: import("@scalar/typebox").TString;
|
|
298
304
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
299
305
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
@@ -305,22 +311,22 @@ export declare const TraversedEntrySchemaDefinition: import("@scalar/typebox").T
|
|
|
305
311
|
id: import("@scalar/typebox").TString;
|
|
306
312
|
title: import("@scalar/typebox").TString;
|
|
307
313
|
}>, import("@scalar/typebox").TObject<{
|
|
308
|
-
type: TLiteral<"webhook">;
|
|
314
|
+
type: import("@scalar/typebox").TLiteral<"webhook">;
|
|
309
315
|
ref: import("@scalar/typebox").TString;
|
|
310
|
-
method:
|
|
316
|
+
method: import("@scalar/typebox").TString;
|
|
311
317
|
name: import("@scalar/typebox").TString;
|
|
312
318
|
isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
313
319
|
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
314
320
|
id: import("@scalar/typebox").TString;
|
|
315
321
|
title: import("@scalar/typebox").TString;
|
|
316
322
|
}>, import("@scalar/typebox").TObject<{
|
|
317
|
-
type: TLiteral<"example">;
|
|
323
|
+
type: import("@scalar/typebox").TLiteral<"example">;
|
|
318
324
|
name: import("@scalar/typebox").TString;
|
|
319
325
|
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
320
326
|
id: import("@scalar/typebox").TString;
|
|
321
327
|
title: import("@scalar/typebox").TString;
|
|
322
328
|
}>, import("@scalar/typebox").TObject<{
|
|
323
|
-
type: TLiteral<"document">;
|
|
329
|
+
type: import("@scalar/typebox").TLiteral<"document">;
|
|
324
330
|
name: import("@scalar/typebox").TString;
|
|
325
331
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
326
332
|
icon: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
@@ -328,7 +334,7 @@ export declare const TraversedEntrySchemaDefinition: import("@scalar/typebox").T
|
|
|
328
334
|
id: import("@scalar/typebox").TString;
|
|
329
335
|
title: import("@scalar/typebox").TString;
|
|
330
336
|
}>, import("@scalar/typebox").TObject<{
|
|
331
|
-
type: TLiteral<"models">;
|
|
337
|
+
type: import("@scalar/typebox").TLiteral<"models">;
|
|
332
338
|
name: import("@scalar/typebox").TString;
|
|
333
339
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
334
340
|
}>]>]>;
|
|
@@ -378,7 +384,7 @@ type OperationProps = {
|
|
|
378
384
|
parentId: string;
|
|
379
385
|
operation: OperationObject;
|
|
380
386
|
path: string;
|
|
381
|
-
method:
|
|
387
|
+
method: OperationMethod;
|
|
382
388
|
type: 'operation';
|
|
383
389
|
parentTag?: ParentTag;
|
|
384
390
|
};
|
|
@@ -386,7 +392,7 @@ type WebhookProps = {
|
|
|
386
392
|
parentId: string;
|
|
387
393
|
webhook?: OperationObject;
|
|
388
394
|
name: string;
|
|
389
|
-
method?:
|
|
395
|
+
method?: OperationMethod;
|
|
390
396
|
type: 'webhook';
|
|
391
397
|
parentTag?: ParentTag;
|
|
392
398
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../src/schemas/navigation.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../src/schemas/navigation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AAEnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AACpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAG7C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,KAAK,EAAE,eAAe,E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{ HTTP_METHODS } from '@scalar/helpers/http/http-methods';
|
|
2
1
|
import { Type } from '@scalar/typebox';
|
|
3
2
|
import { compose } from '../schemas/compose.js';
|
|
4
3
|
import { TraversedEntryObjectRef } from '../schemas/v3.2/strict/ref-definitions.js';
|
|
@@ -23,7 +22,7 @@ export const TraversedExampleSchemaDefinition = compose(NavigationBaseSchemaDefi
|
|
|
23
22
|
export const TraversedOperationSchemaDefinition = compose(NavigationBaseSchemaDefinition, Type.Object({
|
|
24
23
|
type: Type.Literal('operation'),
|
|
25
24
|
ref: Type.String(),
|
|
26
|
-
method: Type.
|
|
25
|
+
method: Type.String(),
|
|
27
26
|
path: Type.String(),
|
|
28
27
|
isDeprecated: Type.Optional(Type.Boolean()),
|
|
29
28
|
children: Type.Optional(Type.Array(TraversedEntryObjectRef)),
|
|
@@ -55,7 +54,7 @@ export const TraversedSchemaSchemaDefinition = compose(NavigationBaseSchemaDefin
|
|
|
55
54
|
export const TraversedWebhookSchemaDefinition = compose(NavigationBaseSchemaDefinition, Type.Object({
|
|
56
55
|
type: Type.Literal('webhook'),
|
|
57
56
|
ref: Type.String(),
|
|
58
|
-
method: Type.
|
|
57
|
+
method: Type.String(),
|
|
59
58
|
name: Type.String(),
|
|
60
59
|
isDeprecated: Type.Optional(Type.Boolean()),
|
|
61
60
|
}));
|
|
@@ -348,16 +348,22 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
|
|
|
348
348
|
lang: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
349
349
|
label: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
350
350
|
source: import("@scalar/typebox").TString;
|
|
351
|
+
example: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
352
|
+
contentType: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
351
353
|
}>>>;
|
|
352
354
|
'x-code-samples': import("@scalar/typebox").TOptional<TArray<import("@scalar/typebox").TObject<{
|
|
353
355
|
lang: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
354
356
|
label: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
355
357
|
source: import("@scalar/typebox").TString;
|
|
358
|
+
example: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
359
|
+
contentType: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
356
360
|
}>>>;
|
|
357
361
|
'x-custom-examples': import("@scalar/typebox").TOptional<TArray<import("@scalar/typebox").TObject<{
|
|
358
362
|
lang: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
359
363
|
label: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
360
364
|
source: import("@scalar/typebox").TString;
|
|
365
|
+
example: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
366
|
+
contentType: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
361
367
|
}>>>;
|
|
362
368
|
'x-readme': import("@scalar/typebox").TOptional<import("@scalar/typebox").TObject<{
|
|
363
369
|
'code-samples': import("@scalar/typebox").TOptional<TArray<import("@scalar/typebox").TObject<{
|
|
@@ -383,6 +389,8 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
|
|
|
383
389
|
lang: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
384
390
|
label: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
385
391
|
source: import("@scalar/typebox").TString;
|
|
392
|
+
example: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
393
|
+
contentType: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
386
394
|
}>>>;
|
|
387
395
|
}>, import("@scalar/typebox").TObject<{
|
|
388
396
|
'x-scalar-stability': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[TLiteral<"deprecated">, TLiteral<"experimental">, TLiteral<"stable">]>>;
|
|
@@ -1432,6 +1440,17 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
|
|
|
1432
1440
|
'x-scalar-ignore': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1433
1441
|
}>]>, import("@scalar/typebox").TObject<{
|
|
1434
1442
|
content: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"MediaTypeObject">>>;
|
|
1443
|
+
example: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnknown>;
|
|
1444
|
+
examples: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"ExampleObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1445
|
+
$ref: import("@scalar/typebox").TString;
|
|
1446
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1447
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1448
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1449
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[TLiteral<"loading">, TLiteral<"error">]>>;
|
|
1450
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1451
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
1452
|
+
'$ref-value': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExampleObject">>;
|
|
1453
|
+
}>]>]>>>;
|
|
1435
1454
|
}>]>]>;
|
|
1436
1455
|
ExampleObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1437
1456
|
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
@@ -1660,6 +1679,7 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
|
|
|
1660
1679
|
}>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1661
1680
|
'x-original-oas-version': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1662
1681
|
"x-scalar-navigation": import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"TraversedDocumentObject">>;
|
|
1682
|
+
"x-scalar-navigation-chunk": import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1663
1683
|
}>, import("@scalar/typebox").TObject<{
|
|
1664
1684
|
'x-scalar-original-source-url': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1665
1685
|
}>, import("@scalar/typebox").TObject<{
|
|
@@ -1732,7 +1752,7 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
|
|
|
1732
1752
|
}>, import("@scalar/typebox").TObject<{
|
|
1733
1753
|
type: TLiteral<"operation">;
|
|
1734
1754
|
ref: import("@scalar/typebox").TString;
|
|
1735
|
-
method:
|
|
1755
|
+
method: import("@scalar/typebox").TString;
|
|
1736
1756
|
path: import("@scalar/typebox").TString;
|
|
1737
1757
|
isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1738
1758
|
children: import("@scalar/typebox").TOptional<TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
@@ -1779,7 +1799,7 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
|
|
|
1779
1799
|
}>, import("@scalar/typebox").TObject<{
|
|
1780
1800
|
type: TLiteral<"webhook">;
|
|
1781
1801
|
ref: import("@scalar/typebox").TString;
|
|
1782
|
-
method:
|
|
1802
|
+
method: import("@scalar/typebox").TString;
|
|
1783
1803
|
name: import("@scalar/typebox").TString;
|
|
1784
1804
|
isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1785
1805
|
}>]>;
|
|
@@ -1808,7 +1828,7 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
|
|
|
1808
1828
|
}>, import("@scalar/typebox").TObject<{
|
|
1809
1829
|
type: TLiteral<"operation">;
|
|
1810
1830
|
ref: import("@scalar/typebox").TString;
|
|
1811
|
-
method:
|
|
1831
|
+
method: import("@scalar/typebox").TString;
|
|
1812
1832
|
path: import("@scalar/typebox").TString;
|
|
1813
1833
|
isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1814
1834
|
children: import("@scalar/typebox").TOptional<TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
@@ -1862,7 +1882,7 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
|
|
|
1862
1882
|
}>, import("@scalar/typebox").TObject<{
|
|
1863
1883
|
type: TLiteral<"webhook">;
|
|
1864
1884
|
ref: import("@scalar/typebox").TString;
|
|
1865
|
-
method:
|
|
1885
|
+
method: import("@scalar/typebox").TString;
|
|
1866
1886
|
name: import("@scalar/typebox").TString;
|
|
1867
1887
|
isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1868
1888
|
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,QAAQ,EAAQ,MAAM,iBAAiB,CAAA;AAClE,OAAO,EAA2C,KAAK,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACvG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAE7C,OAAO,EAAE,KAAK,UAAU,EAAuC,MAAM,cAAc,CAAA;AACnF,OAAO,EAAE,KAAK,QAAQ,EAAmC,MAAM,YAAY,CAAA;AAC3E,OAAO,EAAE,KAAK,IAAI,EAA2B,MAAM,QAAQ,CAAA;AAC3D,OAAO,EAAE,KAAK,OAAO,EAAiC,MAAM,WAAW,CAAA;AACvE,OAAO,EAAE,KAAK,QAAQ,EAAmC,M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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBjC,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,QAAQ,CAAA;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,QAAQ,CAAC,EAAE,QAAQ,CAAA;IACnB,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,WAAW,CAAC,EAAE,gBAAgB,CAAA;CAC/B,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,YAAY,CAAC,eAAe,CAgChE,CAAA"}
|
|
@@ -334,16 +334,22 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
334
334
|
lang: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
335
335
|
label: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
336
336
|
source: import("@scalar/typebox").TString;
|
|
337
|
+
example: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
338
|
+
contentType: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
337
339
|
}>>>;
|
|
338
340
|
'x-code-samples': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
|
|
339
341
|
lang: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
340
342
|
label: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
341
343
|
source: import("@scalar/typebox").TString;
|
|
344
|
+
example: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
345
|
+
contentType: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
342
346
|
}>>>;
|
|
343
347
|
'x-custom-examples': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
|
|
344
348
|
lang: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
345
349
|
label: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
346
350
|
source: import("@scalar/typebox").TString;
|
|
351
|
+
example: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
352
|
+
contentType: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
347
353
|
}>>>;
|
|
348
354
|
'x-readme': import("@scalar/typebox").TOptional<import("@scalar/typebox").TObject<{
|
|
349
355
|
'code-samples': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
|
|
@@ -369,6 +375,8 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
369
375
|
lang: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
370
376
|
label: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
371
377
|
source: import("@scalar/typebox").TString;
|
|
378
|
+
example: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
379
|
+
contentType: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
372
380
|
}>>>;
|
|
373
381
|
}>, import("@scalar/typebox").TObject<{
|
|
374
382
|
'x-scalar-stability': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"deprecated">, import("@scalar/typebox").TLiteral<"experimental">, import("@scalar/typebox").TLiteral<"stable">]>>;
|
|
@@ -1418,6 +1426,17 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
1418
1426
|
'x-scalar-ignore': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1419
1427
|
}>]>, import("@scalar/typebox").TObject<{
|
|
1420
1428
|
content: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"MediaTypeObject">>>;
|
|
1429
|
+
example: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnknown>;
|
|
1430
|
+
examples: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"ExampleObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1431
|
+
$ref: import("@scalar/typebox").TString;
|
|
1432
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1433
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1434
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1435
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
1436
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1437
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
1438
|
+
'$ref-value': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExampleObject">>;
|
|
1439
|
+
}>]>]>>>;
|
|
1421
1440
|
}>]>]>;
|
|
1422
1441
|
ExampleObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1423
1442
|
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
@@ -1646,6 +1665,7 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
1646
1665
|
}>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1647
1666
|
'x-original-oas-version': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1648
1667
|
"x-scalar-navigation": import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"TraversedDocumentObject">>;
|
|
1668
|
+
"x-scalar-navigation-chunk": import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1649
1669
|
}>, import("@scalar/typebox").TObject<{
|
|
1650
1670
|
'x-scalar-original-source-url': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1651
1671
|
}>, import("@scalar/typebox").TObject<{
|
|
@@ -1718,7 +1738,7 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
1718
1738
|
}>, import("@scalar/typebox").TObject<{
|
|
1719
1739
|
type: import("@scalar/typebox").TLiteral<"operation">;
|
|
1720
1740
|
ref: import("@scalar/typebox").TString;
|
|
1721
|
-
method: import("@scalar/typebox").
|
|
1741
|
+
method: import("@scalar/typebox").TString;
|
|
1722
1742
|
path: import("@scalar/typebox").TString;
|
|
1723
1743
|
isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1724
1744
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
@@ -1765,7 +1785,7 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
1765
1785
|
}>, import("@scalar/typebox").TObject<{
|
|
1766
1786
|
type: import("@scalar/typebox").TLiteral<"webhook">;
|
|
1767
1787
|
ref: import("@scalar/typebox").TString;
|
|
1768
|
-
method: import("@scalar/typebox").
|
|
1788
|
+
method: import("@scalar/typebox").TString;
|
|
1769
1789
|
name: import("@scalar/typebox").TString;
|
|
1770
1790
|
isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1771
1791
|
}>]>;
|
|
@@ -1794,7 +1814,7 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
1794
1814
|
}>, import("@scalar/typebox").TObject<{
|
|
1795
1815
|
type: import("@scalar/typebox").TLiteral<"operation">;
|
|
1796
1816
|
ref: import("@scalar/typebox").TString;
|
|
1797
|
-
method: import("@scalar/typebox").
|
|
1817
|
+
method: import("@scalar/typebox").TString;
|
|
1798
1818
|
path: import("@scalar/typebox").TString;
|
|
1799
1819
|
isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1800
1820
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
@@ -1848,7 +1868,7 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
1848
1868
|
}>, import("@scalar/typebox").TObject<{
|
|
1849
1869
|
type: import("@scalar/typebox").TLiteral<"webhook">;
|
|
1850
1870
|
ref: import("@scalar/typebox").TString;
|
|
1851
|
-
method: import("@scalar/typebox").
|
|
1871
|
+
method: import("@scalar/typebox").TString;
|
|
1852
1872
|
name: import("@scalar/typebox").TString;
|
|
1853
1873
|
isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1854
1874
|
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/settings.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAG7C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAEhE,eAAO,MA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW1B,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;IACxB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,YAAY,CAAC,QAAQ,CAKlD,CAAA"}
|
|
@@ -1,9 +1,34 @@
|
|
|
1
|
+
import { type OAuthFlowDeviceAuthorization } from '../../../schemas/v3.2/strict/oauth-flow.js';
|
|
1
2
|
import { type OAuthFlowAuthorizationCode, type OAuthFlowClientCredentials, type OAuthFlowImplicit, type OAuthFlowPassword } from './oauth-flow.js';
|
|
2
3
|
/**
|
|
3
4
|
* Allows configuration of the supported OAuth Flows.
|
|
4
5
|
*/
|
|
5
6
|
export declare const OAuthFlowsObjectSchemaDefinition: import("@scalar/typebox").TObject<{
|
|
6
7
|
/** Configuration for the OAuth Implicit flow */
|
|
8
|
+
/** Device authorization is retained by the shared runtime model for OpenAPI 3.2 documents. */
|
|
9
|
+
deviceAuthorization: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
10
|
+
refreshUrl: import("@scalar/typebox").TString;
|
|
11
|
+
scopes: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>;
|
|
12
|
+
}>, import("@scalar/typebox").TObject<{
|
|
13
|
+
'x-scalar-security-query': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
|
|
14
|
+
}>, import("@scalar/typebox").TObject<{
|
|
15
|
+
'x-scalar-security-body': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
|
|
16
|
+
}>, import("@scalar/typebox").TObject<{
|
|
17
|
+
'x-tokenName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
18
|
+
}>, import("@scalar/typebox").TObject<{
|
|
19
|
+
'x-scalar-secret-auth-url': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
20
|
+
}>, import("@scalar/typebox").TObject<{
|
|
21
|
+
'x-scalar-secret-token-url': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
22
|
+
}>, import("@scalar/typebox").TObject<{
|
|
23
|
+
'x-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
|
|
24
|
+
}>, import("@scalar/typebox").TObject<{
|
|
25
|
+
'x-scalar-ignore': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
26
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
27
|
+
deviceAuthorizationUrl: import("@scalar/typebox").TString;
|
|
28
|
+
tokenUrl: import("@scalar/typebox").TString;
|
|
29
|
+
}>, import("@scalar/typebox").TObject<{
|
|
30
|
+
'x-scalar-credentials-location': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"body">]>>;
|
|
31
|
+
}>]>>;
|
|
7
32
|
implicit: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
8
33
|
refreshUrl: import("@scalar/typebox").TString;
|
|
9
34
|
scopes: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>;
|
|
@@ -99,6 +124,7 @@ export declare const OAuthFlowsObjectSchemaDefinition: import("@scalar/typebox")
|
|
|
99
124
|
}>;
|
|
100
125
|
export type OAuthFlowsObject = {
|
|
101
126
|
/** Configuration for the OAuth Implicit flow */
|
|
127
|
+
deviceAuthorization?: OAuthFlowDeviceAuthorization;
|
|
102
128
|
implicit?: OAuthFlowImplicit;
|
|
103
129
|
/** Configuration for the OAuth Resource Owner Password flow */
|
|
104
130
|
password?: OAuthFlowPassword;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauthflows.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/oauthflows.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,0BAA0B,EAE/B,KAAK,0BAA0B,EAE/B,KAAK,iBAAiB,EAEtB,KAAK,iBAAiB,EAEvB,MAAM,cAAc,CAAA;AAErB;;GAEG;AACH,eAAO,MAAM,gCAAgC;IAC3C,gDAAgD
|
|
1
|
+
{"version":3,"file":"oauthflows.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/oauthflows.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,4BAA4B,EAAsC,MAAM,kCAAkC,CAAA;AAExH,OAAO,EACL,KAAK,0BAA0B,EAE/B,KAAK,0BAA0B,EAE/B,KAAK,iBAAiB,EAEtB,KAAK,iBAAiB,EAEvB,MAAM,cAAc,CAAA;AAErB;;GAEG;AACH,eAAO,MAAM,gCAAgC;IAC3C,gDAAgD;IAChD,8FAA8F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAG9F,+DAA+D;;;;;;;;;;;;;;;;;;;;;;;IAE/D,yGAAyG;;;;;;;;;;;;;;;;;;;;;;;IAEzG,wGAAwG;;;;;;;;;;;;;;;;;;;;;;;;;;EAExG,CAAA;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,gDAAgD;IAChD,mBAAmB,CAAC,EAAE,4BAA4B,CAAA;IAClD,QAAQ,CAAC,EAAE,iBAAiB,CAAA;IAC5B,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,iBAAiB,CAAA;IAC5B,yGAAyG;IACzG,iBAAiB,CAAC,EAAE,0BAA0B,CAAA;IAC9C,wGAAwG;IACxG,iBAAiB,CAAC,EAAE,0BAA0B,CAAA;CAC/C,CAAA"}
|