@scalar/api-client 2.3.27 → 2.3.29
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 +24 -0
- package/dist/components/CodeInput/CodeInput.vue.d.ts +4 -1
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.js +2 -2
- package/dist/components/CodeInput/CodeInput.vue2.js +2 -1
- package/dist/components/CodeInput/index.d.ts +2 -0
- package/dist/components/CodeInput/index.d.ts.map +1 -0
- package/dist/components/CodeInput/index.js +4 -0
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +12 -10
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.d.ts +6 -1
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.js +54 -53
- package/dist/components/ViewLayout/index.d.ts +2 -0
- package/dist/components/ViewLayout/index.d.ts.map +1 -0
- package/dist/components/ViewLayout/index.js +4 -0
- package/dist/layouts/App/create-api-client-app.d.ts +192 -182
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.d.ts +384 -364
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.d.ts +192 -182
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +192 -182
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/find-request.d.ts +6 -5
- package/dist/libs/find-request.d.ts.map +1 -1
- package/dist/libs/send-request/create-request-operation.test.d.ts +18 -17
- package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
- package/dist/store/active-entities.d.ts +18 -17
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/request-example.d.ts +122 -122
- package/dist/store/request-example.d.ts.map +1 -1
- package/dist/store/requests.d.ts +66 -55
- package/dist/store/requests.d.ts.map +1 -1
- package/dist/store/security-schemes.d.ts +10 -10
- package/dist/store/store.d.ts +192 -182
- package/dist/store/store.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +23 -22
- package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts +1 -0
- package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBody.vue.js +2 -2
- package/dist/views/Request/ResponseSection/ResponseBody.vue2.js +18 -14
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +12 -11
- package/dist/views/Request/ResponseSection/index.d.ts +1 -0
- package/dist/views/Request/ResponseSection/index.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/index.js +2 -0
- package/package.json +21 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request-example.d.ts","sourceRoot":"","sources":["../../src/store/request-example.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACzD,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,cAAc,EAA4B,MAAM,iCAAiC,CAAA;AAK7G,0DAA0D;AAC1D,wBAAgB,0BAA0B,CAAC,eAAe,EAAE,OAAO;;;;;;;
|
|
1
|
+
{"version":3,"file":"request-example.d.ts","sourceRoot":"","sources":["../../src/store/request-example.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACzD,OAAO,E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2D,CAAC;;;;;;;uBAAkK,CAAC;oBAAsC,CAAC;uBAAoD,CAAC;2BAA6C,CAAC;uBAAyC,CAAC;wBAA2B,CAAC;oBAAuC,CAAC;sBAA0C,CAAC;wBAA0C,CAAC;oBAAqC,CAAC;wBAA2B,CAAC;;;;;;uBAA0J,CAAC;oBAAsC,CAAC;uBAAoD,CAAC;2BAA6C,CAAC;uBAAyC,CAAC;wBAA2B,CAAC;oBAAuC,CAAC;sBAA0C,CAAC;wBAA0C,CAAC;oBAAqC,CAAC;wBAA2B,CAAC;;;;;;uBAA4J,CAAC;oBAAsC,CAAC;uBAAoD,CAAC;2BAA6C,CAAC;uBAAyC,CAAC;wBAA2B,CAAC;oBAAuC,CAAC;sBAA0C,CAAC;wBAA0C,CAAC;oBAAqC,CAAC;wBAA2B,CAAC;;;;;;uBAA4J,CAAC;oBAAsC,CAAC;uBAAoD,CAAC;2BAA6C,CAAC;uBAAyC,CAAC;wBAA2B,CAAC;oBAAuC,CAAC;sBAA0C,CAAC;wBAA0C,CAAC;oBAAqC,CAAC;wBAA2B,CAAC;;;;;;2CArBh7wC,cAAc;EAoB7D"}
|
package/dist/store/requests.d.ts
CHANGED
|
@@ -27,20 +27,22 @@ export declare function createStoreRequests(useLocalStorage: boolean): {
|
|
|
27
27
|
parameters?: {
|
|
28
28
|
name: string;
|
|
29
29
|
required: boolean;
|
|
30
|
-
in: "cookie" | "path" | "query" | "header";
|
|
31
30
|
deprecated: boolean;
|
|
31
|
+
in: "cookie" | "path" | "query" | "header";
|
|
32
32
|
description?: string | undefined;
|
|
33
33
|
example?: unknown;
|
|
34
|
-
schema?: unknown;
|
|
35
|
-
content?: unknown;
|
|
36
|
-
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
37
34
|
examples?: unknown[] | Record<string, {
|
|
38
35
|
value?: unknown;
|
|
39
36
|
summary?: string | undefined;
|
|
37
|
+
externalValue?: string | undefined;
|
|
40
38
|
}> | undefined;
|
|
39
|
+
schema?: unknown;
|
|
40
|
+
content?: unknown;
|
|
41
|
+
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
41
42
|
}[] | undefined;
|
|
42
43
|
requestBody?: any;
|
|
43
44
|
responses?: Record<string, any> | undefined;
|
|
45
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
44
46
|
'x-codeSamples'?: {
|
|
45
47
|
source: string;
|
|
46
48
|
label?: string | undefined;
|
|
@@ -56,7 +58,6 @@ export declare function createStoreRequests(useLocalStorage: boolean): {
|
|
|
56
58
|
label?: string | undefined;
|
|
57
59
|
lang?: string | undefined;
|
|
58
60
|
}[] | undefined;
|
|
59
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
60
61
|
}>;
|
|
61
62
|
requestMutators: {
|
|
62
63
|
add: (item: {
|
|
@@ -83,20 +84,22 @@ export declare function createStoreRequests(useLocalStorage: boolean): {
|
|
|
83
84
|
parameters?: {
|
|
84
85
|
name: string;
|
|
85
86
|
required: boolean;
|
|
86
|
-
in: "cookie" | "path" | "query" | "header";
|
|
87
87
|
deprecated: boolean;
|
|
88
|
+
in: "cookie" | "path" | "query" | "header";
|
|
88
89
|
description?: string | undefined;
|
|
89
90
|
example?: unknown;
|
|
90
|
-
schema?: unknown;
|
|
91
|
-
content?: unknown;
|
|
92
|
-
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
93
91
|
examples?: unknown[] | Record<string, {
|
|
94
92
|
value?: unknown;
|
|
95
93
|
summary?: string | undefined;
|
|
94
|
+
externalValue?: string | undefined;
|
|
96
95
|
}> | undefined;
|
|
96
|
+
schema?: unknown;
|
|
97
|
+
content?: unknown;
|
|
98
|
+
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
97
99
|
}[] | undefined;
|
|
98
100
|
requestBody?: any;
|
|
99
101
|
responses?: Record<string, any> | undefined;
|
|
102
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
100
103
|
'x-codeSamples'?: {
|
|
101
104
|
source: string;
|
|
102
105
|
label?: string | undefined;
|
|
@@ -112,7 +115,6 @@ export declare function createStoreRequests(useLocalStorage: boolean): {
|
|
|
112
115
|
label?: string | undefined;
|
|
113
116
|
lang?: string | undefined;
|
|
114
117
|
}[] | undefined;
|
|
115
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
116
118
|
}) => void;
|
|
117
119
|
delete: (uid: (string & import("zod").BRAND<"operation">) | null | undefined) => void;
|
|
118
120
|
set: (item: {
|
|
@@ -139,20 +141,22 @@ export declare function createStoreRequests(useLocalStorage: boolean): {
|
|
|
139
141
|
parameters?: {
|
|
140
142
|
name: string;
|
|
141
143
|
required: boolean;
|
|
142
|
-
in: "cookie" | "path" | "query" | "header";
|
|
143
144
|
deprecated: boolean;
|
|
145
|
+
in: "cookie" | "path" | "query" | "header";
|
|
144
146
|
description?: string | undefined;
|
|
145
147
|
example?: unknown;
|
|
146
|
-
schema?: unknown;
|
|
147
|
-
content?: unknown;
|
|
148
|
-
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
149
148
|
examples?: unknown[] | Record<string, {
|
|
150
149
|
value?: unknown;
|
|
151
150
|
summary?: string | undefined;
|
|
151
|
+
externalValue?: string | undefined;
|
|
152
152
|
}> | undefined;
|
|
153
|
+
schema?: unknown;
|
|
154
|
+
content?: unknown;
|
|
155
|
+
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
153
156
|
}[] | undefined;
|
|
154
157
|
requestBody?: any;
|
|
155
158
|
responses?: Record<string, any> | undefined;
|
|
159
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
156
160
|
'x-codeSamples'?: {
|
|
157
161
|
source: string;
|
|
158
162
|
label?: string | undefined;
|
|
@@ -168,7 +172,6 @@ export declare function createStoreRequests(useLocalStorage: boolean): {
|
|
|
168
172
|
label?: string | undefined;
|
|
169
173
|
lang?: string | undefined;
|
|
170
174
|
}[] | undefined;
|
|
171
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
172
175
|
}) => void;
|
|
173
176
|
edit: <P extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "x-codeSamples" | "x-code-samples" | "x-custom-examples" | "x-scalar-stability" | "path" | "method" | "type" | "uid" | "selectedSecuritySchemeUids" | "selectedServerUid" | `servers.${number}` | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.url" | "externalDocs.description" | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | "examples" | `requestBody.${string}` | `examples.${number}` | `parameters.${number}` | `parameters.${number}.description` | `parameters.${number}.content` | `parameters.${number}.deprecated` | `parameters.${number}.example` | `parameters.${number}.name` | `parameters.${number}.in` | `parameters.${number}.style` | `parameters.${number}.examples` | `parameters.${number}.required` | `parameters.${number}.schema` | `parameters.${number}.examples.${number}` | `parameters.${number}.examples.${string}` | `responses.${string}` | `x-codeSamples.${number}` | `x-codeSamples.${number}.lang` | `x-codeSamples.${number}.source` | `x-codeSamples.${number}.label` | `x-code-samples.${number}` | `x-code-samples.${number}.lang` | `x-code-samples.${number}.source` | `x-code-samples.${number}.label` | `x-custom-examples.${number}` | `x-custom-examples.${number}.lang` | `x-custom-examples.${number}.source` | `x-custom-examples.${number}.label`>(uid: (string & import("zod").BRAND<"operation">) | null | undefined, path: P, value: P extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "x-codeSamples" | "x-code-samples" | "x-custom-examples" | "x-scalar-stability" | "path" | "method" | "type" | "uid" | "selectedSecuritySchemeUids" | "selectedServerUid" | "examples" ? {
|
|
174
177
|
uid: string & import("zod").BRAND<"operation">;
|
|
@@ -194,20 +197,22 @@ export declare function createStoreRequests(useLocalStorage: boolean): {
|
|
|
194
197
|
parameters?: {
|
|
195
198
|
name: string;
|
|
196
199
|
required: boolean;
|
|
197
|
-
in: "cookie" | "path" | "query" | "header";
|
|
198
200
|
deprecated: boolean;
|
|
201
|
+
in: "cookie" | "path" | "query" | "header";
|
|
199
202
|
description?: string | undefined;
|
|
200
203
|
example?: unknown;
|
|
201
|
-
schema?: unknown;
|
|
202
|
-
content?: unknown;
|
|
203
|
-
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
204
204
|
examples?: unknown[] | Record<string, {
|
|
205
205
|
value?: unknown;
|
|
206
206
|
summary?: string | undefined;
|
|
207
|
+
externalValue?: string | undefined;
|
|
207
208
|
}> | undefined;
|
|
209
|
+
schema?: unknown;
|
|
210
|
+
content?: unknown;
|
|
211
|
+
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
208
212
|
}[] | undefined;
|
|
209
213
|
requestBody?: any;
|
|
210
214
|
responses?: Record<string, any> | undefined;
|
|
215
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
211
216
|
'x-codeSamples'?: {
|
|
212
217
|
source: string;
|
|
213
218
|
label?: string | undefined;
|
|
@@ -223,7 +228,6 @@ export declare function createStoreRequests(useLocalStorage: boolean): {
|
|
|
223
228
|
label?: string | undefined;
|
|
224
229
|
lang?: string | undefined;
|
|
225
230
|
}[] | undefined;
|
|
226
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
227
231
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "x-codeSamples" | "x-code-samples" | "x-custom-examples" | "x-scalar-stability" | "path" | "method" | "type" | "uid" | "selectedSecuritySchemeUids" | "selectedServerUid" | "examples" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
228
232
|
uid: string & import("zod").BRAND<"operation">;
|
|
229
233
|
path: string;
|
|
@@ -248,20 +252,22 @@ export declare function createStoreRequests(useLocalStorage: boolean): {
|
|
|
248
252
|
parameters?: {
|
|
249
253
|
name: string;
|
|
250
254
|
required: boolean;
|
|
251
|
-
in: "cookie" | "path" | "query" | "header";
|
|
252
255
|
deprecated: boolean;
|
|
256
|
+
in: "cookie" | "path" | "query" | "header";
|
|
253
257
|
description?: string | undefined;
|
|
254
258
|
example?: unknown;
|
|
255
|
-
schema?: unknown;
|
|
256
|
-
content?: unknown;
|
|
257
|
-
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
258
259
|
examples?: unknown[] | Record<string, {
|
|
259
260
|
value?: unknown;
|
|
260
261
|
summary?: string | undefined;
|
|
262
|
+
externalValue?: string | undefined;
|
|
261
263
|
}> | undefined;
|
|
264
|
+
schema?: unknown;
|
|
265
|
+
content?: unknown;
|
|
266
|
+
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
262
267
|
}[] | undefined;
|
|
263
268
|
requestBody?: any;
|
|
264
269
|
responses?: Record<string, any> | undefined;
|
|
270
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
265
271
|
'x-codeSamples'?: {
|
|
266
272
|
source: string;
|
|
267
273
|
label?: string | undefined;
|
|
@@ -277,7 +283,6 @@ export declare function createStoreRequests(useLocalStorage: boolean): {
|
|
|
277
283
|
label?: string | undefined;
|
|
278
284
|
lang?: string | undefined;
|
|
279
285
|
}[] | undefined;
|
|
280
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
281
286
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
282
287
|
uid: string & import("zod").BRAND<"operation">;
|
|
283
288
|
path: string;
|
|
@@ -302,20 +307,22 @@ export declare function createStoreRequests(useLocalStorage: boolean): {
|
|
|
302
307
|
parameters?: {
|
|
303
308
|
name: string;
|
|
304
309
|
required: boolean;
|
|
305
|
-
in: "cookie" | "path" | "query" | "header";
|
|
306
310
|
deprecated: boolean;
|
|
311
|
+
in: "cookie" | "path" | "query" | "header";
|
|
307
312
|
description?: string | undefined;
|
|
308
313
|
example?: unknown;
|
|
309
|
-
schema?: unknown;
|
|
310
|
-
content?: unknown;
|
|
311
|
-
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
312
314
|
examples?: unknown[] | Record<string, {
|
|
313
315
|
value?: unknown;
|
|
314
316
|
summary?: string | undefined;
|
|
317
|
+
externalValue?: string | undefined;
|
|
315
318
|
}> | undefined;
|
|
319
|
+
schema?: unknown;
|
|
320
|
+
content?: unknown;
|
|
321
|
+
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
316
322
|
}[] | undefined;
|
|
317
323
|
requestBody?: any;
|
|
318
324
|
responses?: Record<string, any> | undefined;
|
|
325
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
319
326
|
'x-codeSamples'?: {
|
|
320
327
|
source: string;
|
|
321
328
|
label?: string | undefined;
|
|
@@ -331,7 +338,6 @@ export declare function createStoreRequests(useLocalStorage: boolean): {
|
|
|
331
338
|
label?: string | undefined;
|
|
332
339
|
lang?: string | undefined;
|
|
333
340
|
}[] | undefined;
|
|
334
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
335
341
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
336
342
|
untrackedEdit: <P extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "x-codeSamples" | "x-code-samples" | "x-custom-examples" | "x-scalar-stability" | "path" | "method" | "type" | "uid" | "selectedSecuritySchemeUids" | "selectedServerUid" | `servers.${number}` | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.url" | "externalDocs.description" | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | "examples" | `requestBody.${string}` | `examples.${number}` | `parameters.${number}` | `parameters.${number}.description` | `parameters.${number}.content` | `parameters.${number}.deprecated` | `parameters.${number}.example` | `parameters.${number}.name` | `parameters.${number}.in` | `parameters.${number}.style` | `parameters.${number}.examples` | `parameters.${number}.required` | `parameters.${number}.schema` | `parameters.${number}.examples.${number}` | `parameters.${number}.examples.${string}` | `responses.${string}` | `x-codeSamples.${number}` | `x-codeSamples.${number}.lang` | `x-codeSamples.${number}.source` | `x-codeSamples.${number}.label` | `x-code-samples.${number}` | `x-code-samples.${number}.lang` | `x-code-samples.${number}.source` | `x-code-samples.${number}.label` | `x-custom-examples.${number}` | `x-custom-examples.${number}.lang` | `x-custom-examples.${number}.source` | `x-custom-examples.${number}.label`>(uid: string & import("zod").BRAND<"operation">, path: P, value: P extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "x-codeSamples" | "x-code-samples" | "x-custom-examples" | "x-scalar-stability" | "path" | "method" | "type" | "uid" | "selectedSecuritySchemeUids" | "selectedServerUid" | "examples" ? {
|
|
337
343
|
uid: string & import("zod").BRAND<"operation">;
|
|
@@ -357,20 +363,22 @@ export declare function createStoreRequests(useLocalStorage: boolean): {
|
|
|
357
363
|
parameters?: {
|
|
358
364
|
name: string;
|
|
359
365
|
required: boolean;
|
|
360
|
-
in: "cookie" | "path" | "query" | "header";
|
|
361
366
|
deprecated: boolean;
|
|
367
|
+
in: "cookie" | "path" | "query" | "header";
|
|
362
368
|
description?: string | undefined;
|
|
363
369
|
example?: unknown;
|
|
364
|
-
schema?: unknown;
|
|
365
|
-
content?: unknown;
|
|
366
|
-
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
367
370
|
examples?: unknown[] | Record<string, {
|
|
368
371
|
value?: unknown;
|
|
369
372
|
summary?: string | undefined;
|
|
373
|
+
externalValue?: string | undefined;
|
|
370
374
|
}> | undefined;
|
|
375
|
+
schema?: unknown;
|
|
376
|
+
content?: unknown;
|
|
377
|
+
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
371
378
|
}[] | undefined;
|
|
372
379
|
requestBody?: any;
|
|
373
380
|
responses?: Record<string, any> | undefined;
|
|
381
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
374
382
|
'x-codeSamples'?: {
|
|
375
383
|
source: string;
|
|
376
384
|
label?: string | undefined;
|
|
@@ -386,7 +394,6 @@ export declare function createStoreRequests(useLocalStorage: boolean): {
|
|
|
386
394
|
label?: string | undefined;
|
|
387
395
|
lang?: string | undefined;
|
|
388
396
|
}[] | undefined;
|
|
389
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
390
397
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "x-codeSamples" | "x-code-samples" | "x-custom-examples" | "x-scalar-stability" | "path" | "method" | "type" | "uid" | "selectedSecuritySchemeUids" | "selectedServerUid" | "examples" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
391
398
|
uid: string & import("zod").BRAND<"operation">;
|
|
392
399
|
path: string;
|
|
@@ -411,20 +418,22 @@ export declare function createStoreRequests(useLocalStorage: boolean): {
|
|
|
411
418
|
parameters?: {
|
|
412
419
|
name: string;
|
|
413
420
|
required: boolean;
|
|
414
|
-
in: "cookie" | "path" | "query" | "header";
|
|
415
421
|
deprecated: boolean;
|
|
422
|
+
in: "cookie" | "path" | "query" | "header";
|
|
416
423
|
description?: string | undefined;
|
|
417
424
|
example?: unknown;
|
|
418
|
-
schema?: unknown;
|
|
419
|
-
content?: unknown;
|
|
420
|
-
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
421
425
|
examples?: unknown[] | Record<string, {
|
|
422
426
|
value?: unknown;
|
|
423
427
|
summary?: string | undefined;
|
|
428
|
+
externalValue?: string | undefined;
|
|
424
429
|
}> | undefined;
|
|
430
|
+
schema?: unknown;
|
|
431
|
+
content?: unknown;
|
|
432
|
+
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
425
433
|
}[] | undefined;
|
|
426
434
|
requestBody?: any;
|
|
427
435
|
responses?: Record<string, any> | undefined;
|
|
436
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
428
437
|
'x-codeSamples'?: {
|
|
429
438
|
source: string;
|
|
430
439
|
label?: string | undefined;
|
|
@@ -440,7 +449,6 @@ export declare function createStoreRequests(useLocalStorage: boolean): {
|
|
|
440
449
|
label?: string | undefined;
|
|
441
450
|
lang?: string | undefined;
|
|
442
451
|
}[] | undefined;
|
|
443
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
444
452
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
445
453
|
uid: string & import("zod").BRAND<"operation">;
|
|
446
454
|
path: string;
|
|
@@ -465,20 +473,22 @@ export declare function createStoreRequests(useLocalStorage: boolean): {
|
|
|
465
473
|
parameters?: {
|
|
466
474
|
name: string;
|
|
467
475
|
required: boolean;
|
|
468
|
-
in: "cookie" | "path" | "query" | "header";
|
|
469
476
|
deprecated: boolean;
|
|
477
|
+
in: "cookie" | "path" | "query" | "header";
|
|
470
478
|
description?: string | undefined;
|
|
471
479
|
example?: unknown;
|
|
472
|
-
schema?: unknown;
|
|
473
|
-
content?: unknown;
|
|
474
|
-
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
475
480
|
examples?: unknown[] | Record<string, {
|
|
476
481
|
value?: unknown;
|
|
477
482
|
summary?: string | undefined;
|
|
483
|
+
externalValue?: string | undefined;
|
|
478
484
|
}> | undefined;
|
|
485
|
+
schema?: unknown;
|
|
486
|
+
content?: unknown;
|
|
487
|
+
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
479
488
|
}[] | undefined;
|
|
480
489
|
requestBody?: any;
|
|
481
490
|
responses?: Record<string, any> | undefined;
|
|
491
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
482
492
|
'x-codeSamples'?: {
|
|
483
493
|
source: string;
|
|
484
494
|
label?: string | undefined;
|
|
@@ -494,7 +504,6 @@ export declare function createStoreRequests(useLocalStorage: boolean): {
|
|
|
494
504
|
label?: string | undefined;
|
|
495
505
|
lang?: string | undefined;
|
|
496
506
|
}[] | undefined;
|
|
497
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
498
507
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
499
508
|
undo: (uid: string & import("zod").BRAND<"operation">) => void;
|
|
500
509
|
redo: (uid: string & import("zod").BRAND<"operation">) => void;
|
|
@@ -530,20 +539,22 @@ export declare function extendedRequestDataFactory({ requestExamples, requestExa
|
|
|
530
539
|
parameters?: {
|
|
531
540
|
name: string;
|
|
532
541
|
required: boolean;
|
|
533
|
-
in: "cookie" | "path" | "query" | "header";
|
|
534
542
|
deprecated: boolean;
|
|
543
|
+
in: "cookie" | "path" | "query" | "header";
|
|
535
544
|
description?: string | undefined;
|
|
536
545
|
example?: unknown;
|
|
537
|
-
schema?: unknown;
|
|
538
|
-
content?: unknown;
|
|
539
|
-
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
540
546
|
examples?: unknown[] | Record<string, {
|
|
541
547
|
value?: unknown;
|
|
542
548
|
summary?: string | undefined;
|
|
549
|
+
externalValue?: string | undefined;
|
|
543
550
|
}> | undefined;
|
|
551
|
+
schema?: unknown;
|
|
552
|
+
content?: unknown;
|
|
553
|
+
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
544
554
|
}[] | undefined;
|
|
545
555
|
requestBody?: any;
|
|
546
556
|
responses?: Record<string, any> | undefined;
|
|
557
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
547
558
|
'x-codeSamples'?: {
|
|
548
559
|
source: string;
|
|
549
560
|
label?: string | undefined;
|
|
@@ -559,7 +570,6 @@ export declare function extendedRequestDataFactory({ requestExamples, requestExa
|
|
|
559
570
|
label?: string | undefined;
|
|
560
571
|
lang?: string | undefined;
|
|
561
572
|
}[] | undefined;
|
|
562
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
563
573
|
};
|
|
564
574
|
deleteRequest: (request: Request, collectionUid: Collection["uid"]) => void;
|
|
565
575
|
findRequestParents: (r: Request) => string[];
|
|
@@ -595,20 +605,22 @@ export declare function createInitialRequest(): {
|
|
|
595
605
|
parameters?: {
|
|
596
606
|
name: string;
|
|
597
607
|
required: boolean;
|
|
598
|
-
in: "cookie" | "path" | "query" | "header";
|
|
599
608
|
deprecated: boolean;
|
|
609
|
+
in: "cookie" | "path" | "query" | "header";
|
|
600
610
|
description?: string | undefined;
|
|
601
611
|
example?: unknown;
|
|
602
|
-
schema?: unknown;
|
|
603
|
-
content?: unknown;
|
|
604
|
-
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
605
612
|
examples?: unknown[] | Record<string, {
|
|
606
613
|
value?: unknown;
|
|
607
614
|
summary?: string | undefined;
|
|
615
|
+
externalValue?: string | undefined;
|
|
608
616
|
}> | undefined;
|
|
617
|
+
schema?: unknown;
|
|
618
|
+
content?: unknown;
|
|
619
|
+
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
609
620
|
}[] | undefined;
|
|
610
621
|
requestBody?: any;
|
|
611
622
|
responses?: Record<string, any> | undefined;
|
|
623
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
612
624
|
'x-codeSamples'?: {
|
|
613
625
|
source: string;
|
|
614
626
|
label?: string | undefined;
|
|
@@ -624,7 +636,6 @@ export declare function createInitialRequest(): {
|
|
|
624
636
|
label?: string | undefined;
|
|
625
637
|
lang?: string | undefined;
|
|
626
638
|
}[] | undefined;
|
|
627
|
-
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
628
639
|
};
|
|
629
640
|
};
|
|
630
641
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requests.d.ts","sourceRoot":"","sources":["../../src/store/requests.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAA;AAC1D,OAAO,EACL,KAAK,UAAU,EACf,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,GAAG,EAGT,MAAM,iCAAiC,CAAA;AAKxC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAEnD,wDAAwD;AACxD,wBAAgB,mBAAmB,CAAC,eAAe,EAAE,OAAO;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"requests.d.ts","sourceRoot":"","sources":["../../src/store/requests.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAA;AAC1D,OAAO,EACL,KAAK,UAAU,EACf,KAAK,OAAO,EACZ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2B,CAAC;qBAAgD,CAAC;uBAA8B,CAAC;6BAA+C,CAAC;;kBAA4D,CAAC;mBAA0B,CAAC;iBAAwB,CAAC;;;;;;;iBAA6T,CAAC;gBAAkC,CAAC;;;;iBAAyG,CAAC;gBAAkC,CAAC;;;;iBAA4G,CAAC;gBAAkC,CAAC;;;EADvptB"}
|
|
@@ -4,8 +4,8 @@ import { type Collection, type SecurityScheme, type SecuritySchemePayload } from
|
|
|
4
4
|
export declare function createStoreSecuritySchemes(useLocalStorage: boolean): {
|
|
5
5
|
securitySchemes: Record<string, {
|
|
6
6
|
name: string;
|
|
7
|
-
type: "apiKey";
|
|
8
7
|
value: string;
|
|
8
|
+
type: "apiKey";
|
|
9
9
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
10
10
|
nameKey: string;
|
|
11
11
|
in: "cookie" | "query" | "header";
|
|
@@ -83,8 +83,8 @@ export declare function createStoreSecuritySchemes(useLocalStorage: boolean): {
|
|
|
83
83
|
securitySchemeMutators: {
|
|
84
84
|
add: (item: {
|
|
85
85
|
name: string;
|
|
86
|
-
type: "apiKey";
|
|
87
86
|
value: string;
|
|
87
|
+
type: "apiKey";
|
|
88
88
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
89
89
|
nameKey: string;
|
|
90
90
|
in: "cookie" | "query" | "header";
|
|
@@ -162,8 +162,8 @@ export declare function createStoreSecuritySchemes(useLocalStorage: boolean): {
|
|
|
162
162
|
delete: (uid: (string & import("zod").BRAND<"securityScheme">) | null | undefined) => void;
|
|
163
163
|
set: (item: {
|
|
164
164
|
name: string;
|
|
165
|
-
type: "apiKey";
|
|
166
165
|
value: string;
|
|
166
|
+
type: "apiKey";
|
|
167
167
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
168
168
|
nameKey: string;
|
|
169
169
|
in: "cookie" | "query" | "header";
|
|
@@ -240,24 +240,24 @@ export declare function createStoreSecuritySchemes(useLocalStorage: boolean): {
|
|
|
240
240
|
}) => void;
|
|
241
241
|
edit: <P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "x-default-scopes" | "flows" | "password" | "username" | "token" | `x-default-scopes.${number}` | "flows.password" | "flows.implicit" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.tokenUrl" | "flows.password.clientSecret" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-usePkce">(uid: (string & import("zod").BRAND<"securityScheme">) | null | undefined, path: P, value: (P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? {
|
|
242
242
|
name: string;
|
|
243
|
-
type: "apiKey";
|
|
244
243
|
value: string;
|
|
244
|
+
type: "apiKey";
|
|
245
245
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
246
246
|
nameKey: string;
|
|
247
247
|
in: "cookie" | "query" | "header";
|
|
248
248
|
description?: string | undefined;
|
|
249
249
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
250
250
|
name: string;
|
|
251
|
-
type: "apiKey";
|
|
252
251
|
value: string;
|
|
252
|
+
type: "apiKey";
|
|
253
253
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
254
254
|
nameKey: string;
|
|
255
255
|
in: "cookie" | "query" | "header";
|
|
256
256
|
description?: string | undefined;
|
|
257
257
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
258
258
|
name: string;
|
|
259
|
-
type: "apiKey";
|
|
260
259
|
value: string;
|
|
260
|
+
type: "apiKey";
|
|
261
261
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
262
262
|
nameKey: string;
|
|
263
263
|
in: "cookie" | "query" | "header";
|
|
@@ -472,24 +472,24 @@ export declare function createStoreSecuritySchemes(useLocalStorage: boolean): {
|
|
|
472
472
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
473
473
|
untrackedEdit: <P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "x-default-scopes" | "flows" | "password" | "username" | "token" | `x-default-scopes.${number}` | "flows.password" | "flows.implicit" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.tokenUrl" | "flows.password.clientSecret" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-usePkce">(uid: string & import("zod").BRAND<"securityScheme">, path: P, value: (P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? {
|
|
474
474
|
name: string;
|
|
475
|
-
type: "apiKey";
|
|
476
475
|
value: string;
|
|
476
|
+
type: "apiKey";
|
|
477
477
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
478
478
|
nameKey: string;
|
|
479
479
|
in: "cookie" | "query" | "header";
|
|
480
480
|
description?: string | undefined;
|
|
481
481
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
482
482
|
name: string;
|
|
483
|
-
type: "apiKey";
|
|
484
483
|
value: string;
|
|
484
|
+
type: "apiKey";
|
|
485
485
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
486
486
|
nameKey: string;
|
|
487
487
|
in: "cookie" | "query" | "header";
|
|
488
488
|
description?: string | undefined;
|
|
489
489
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
490
490
|
name: string;
|
|
491
|
-
type: "apiKey";
|
|
492
491
|
value: string;
|
|
492
|
+
type: "apiKey";
|
|
493
493
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
494
494
|
nameKey: string;
|
|
495
495
|
in: "cookie" | "query" | "header";
|
|
@@ -711,8 +711,8 @@ export declare function createStoreSecuritySchemes(useLocalStorage: boolean): {
|
|
|
711
711
|
export declare function extendedSecurityDataFactory({ securitySchemeMutators, collectionMutators, collections, requests, requestMutators, }: StoreContext): {
|
|
712
712
|
addSecurityScheme: (payload: SecuritySchemePayload, collectionUid: Collection["uid"]) => {
|
|
713
713
|
name: string;
|
|
714
|
-
type: "apiKey";
|
|
715
714
|
value: string;
|
|
715
|
+
type: "apiKey";
|
|
716
716
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
717
717
|
nameKey: string;
|
|
718
718
|
in: "cookie" | "query" | "header";
|