@scalar/api-client 2.1.49 → 2.1.51
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 +25 -0
- package/dist/components/CodeInput/CodeInput.vue.js +2 -2
- package/dist/components/CodeInput/CodeInput.vue2.js +1 -1
- package/dist/components/DataTable/DataTableInput.vue.d.ts +1 -1
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElementActions.vue.js +1 -1
- package/dist/components/TopNav/TopNav.vue.js +2 -2
- package/dist/components/TopNav/TopNav.vue2.js +7 -7
- package/dist/hooks/index.d.ts +0 -2
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +8 -12
- package/dist/layouts/App/ApiClientApp.vue.js +19 -19
- package/dist/layouts/App/create-api-client-app.d.ts +317 -151
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.d.ts +634 -302
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Web/ApiClientWeb.vue.js +20 -20
- package/dist/layouts/Web/create-api-client-web.d.ts +317 -151
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +310 -144
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/store/collections.d.ts +134 -4
- package/dist/store/collections.d.ts.map +1 -1
- package/dist/store/cookies.d.ts +4 -4
- package/dist/store/environment.d.ts +4 -4
- package/dist/store/import-spec.d.ts +26 -0
- package/dist/store/import-spec.d.ts.map +1 -1
- package/dist/store/request-example.d.ts +22 -72
- package/dist/store/request-example.d.ts.map +1 -1
- package/dist/store/requests.d.ts +15 -15
- package/dist/store/requests.d.ts.map +1 -1
- package/dist/store/servers.d.ts +4 -4
- package/dist/store/store.d.ts +632 -300
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/tags.d.ts +34 -34
- package/dist/store/tags.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue2.js +20 -21
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Settings/SettingsGeneralMode.vue.d.ts.map +1 -1
- package/dist/views/Settings/SettingsGeneralMode.vue.js +38 -46
- package/package.json +5 -4
- package/dist/hooks/useClipboard.d.ts +0 -4
- package/dist/hooks/useClipboard.d.ts.map +0 -1
- package/dist/hooks/useClipboard.js +0 -14
- package/dist/hooks/useDarkModeState.d.ts +0 -8
- package/dist/hooks/useDarkModeState.d.ts.map +0 -1
- package/dist/hooks/useDarkModeState.js +0 -46
package/dist/store/store.d.ts
CHANGED
|
@@ -109,6 +109,19 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
109
109
|
} | undefined;
|
|
110
110
|
components?: Record<string, unknown> | undefined;
|
|
111
111
|
webhooks?: Record<string, unknown> | undefined;
|
|
112
|
+
'x-scalar-environment'?: string | undefined;
|
|
113
|
+
'x-scalar-environments'?: Record<string, {
|
|
114
|
+
variables: Record<string, string | {
|
|
115
|
+
default: string;
|
|
116
|
+
description?: string | undefined;
|
|
117
|
+
}>;
|
|
118
|
+
description?: string | undefined;
|
|
119
|
+
color?: string | undefined;
|
|
120
|
+
}> | undefined;
|
|
121
|
+
'x-scalar-secrets'?: Record<string, {
|
|
122
|
+
description?: string | undefined;
|
|
123
|
+
example?: string | undefined;
|
|
124
|
+
}> | undefined;
|
|
112
125
|
documentUrl?: string | undefined;
|
|
113
126
|
integration?: string | null | undefined;
|
|
114
127
|
}>;
|
|
@@ -116,15 +129,15 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
116
129
|
type: "tag";
|
|
117
130
|
uid: string;
|
|
118
131
|
name: string;
|
|
119
|
-
'x-scalar-children': {
|
|
120
|
-
tagName: string;
|
|
121
|
-
}[];
|
|
122
132
|
children: string[];
|
|
123
133
|
description?: string | undefined;
|
|
124
134
|
externalDocs?: {
|
|
125
135
|
url: string;
|
|
126
136
|
description?: string | undefined;
|
|
127
137
|
} | undefined;
|
|
138
|
+
'x-scalar-children'?: {
|
|
139
|
+
tagName: string;
|
|
140
|
+
}[] | undefined;
|
|
128
141
|
}>;
|
|
129
142
|
cookies: Record<string, {
|
|
130
143
|
value: string;
|
|
@@ -151,7 +164,7 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
151
164
|
uid: string;
|
|
152
165
|
name: string;
|
|
153
166
|
body: {
|
|
154
|
-
activeBody: "formData" | "
|
|
167
|
+
activeBody: "formData" | "binary" | "raw";
|
|
155
168
|
formData?: {
|
|
156
169
|
value: {
|
|
157
170
|
value: string;
|
|
@@ -166,16 +179,15 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
166
179
|
enum?: string[] | undefined;
|
|
167
180
|
format?: string | undefined;
|
|
168
181
|
file?: any;
|
|
169
|
-
refUid?: string | undefined;
|
|
170
182
|
nullable?: boolean | undefined;
|
|
171
183
|
}[];
|
|
172
184
|
encoding: "form-data" | "urlencoded";
|
|
173
185
|
} | undefined;
|
|
186
|
+
binary?: Blob | undefined;
|
|
174
187
|
raw?: {
|
|
175
188
|
value: string;
|
|
176
189
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
177
190
|
} | undefined;
|
|
178
|
-
binary?: Blob | undefined;
|
|
179
191
|
};
|
|
180
192
|
requestUid: string;
|
|
181
193
|
parameters: {
|
|
@@ -192,7 +204,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
192
204
|
enum?: string[] | undefined;
|
|
193
205
|
format?: string | undefined;
|
|
194
206
|
file?: any;
|
|
195
|
-
refUid?: string | undefined;
|
|
196
207
|
nullable?: boolean | undefined;
|
|
197
208
|
}[];
|
|
198
209
|
cookies: {
|
|
@@ -208,7 +219,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
208
219
|
enum?: string[] | undefined;
|
|
209
220
|
format?: string | undefined;
|
|
210
221
|
file?: any;
|
|
211
|
-
refUid?: string | undefined;
|
|
212
222
|
nullable?: boolean | undefined;
|
|
213
223
|
}[];
|
|
214
224
|
query: {
|
|
@@ -224,7 +234,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
224
234
|
enum?: string[] | undefined;
|
|
225
235
|
format?: string | undefined;
|
|
226
236
|
file?: any;
|
|
227
|
-
refUid?: string | undefined;
|
|
228
237
|
nullable?: boolean | undefined;
|
|
229
238
|
}[];
|
|
230
239
|
headers: {
|
|
@@ -240,7 +249,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
240
249
|
enum?: string[] | undefined;
|
|
241
250
|
format?: string | undefined;
|
|
242
251
|
file?: any;
|
|
243
|
-
refUid?: string | undefined;
|
|
244
252
|
nullable?: boolean | undefined;
|
|
245
253
|
}[];
|
|
246
254
|
};
|
|
@@ -271,10 +279,10 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
271
279
|
in: "path" | "query" | "header" | "cookie";
|
|
272
280
|
deprecated: boolean;
|
|
273
281
|
description?: string | undefined;
|
|
282
|
+
example?: unknown;
|
|
274
283
|
schema?: unknown;
|
|
275
284
|
content?: unknown;
|
|
276
285
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
277
|
-
example?: unknown;
|
|
278
286
|
examples?: Record<string, {
|
|
279
287
|
value?: unknown;
|
|
280
288
|
summary?: string | undefined;
|
|
@@ -413,6 +421,19 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
413
421
|
} | undefined;
|
|
414
422
|
components?: Record<string, unknown> | undefined;
|
|
415
423
|
webhooks?: Record<string, unknown> | undefined;
|
|
424
|
+
'x-scalar-environment'?: string | undefined;
|
|
425
|
+
'x-scalar-environments'?: Record<string, {
|
|
426
|
+
variables: Record<string, string | {
|
|
427
|
+
default: string;
|
|
428
|
+
description?: string | undefined;
|
|
429
|
+
}>;
|
|
430
|
+
description?: string | undefined;
|
|
431
|
+
color?: string | undefined;
|
|
432
|
+
}> | undefined;
|
|
433
|
+
'x-scalar-secrets'?: Record<string, {
|
|
434
|
+
description?: string | undefined;
|
|
435
|
+
example?: string | undefined;
|
|
436
|
+
}> | undefined;
|
|
416
437
|
documentUrl?: string | undefined;
|
|
417
438
|
integration?: string | null | undefined;
|
|
418
439
|
} | undefined>;
|
|
@@ -422,7 +443,7 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
422
443
|
uid: string;
|
|
423
444
|
name: string;
|
|
424
445
|
body: {
|
|
425
|
-
activeBody: "formData" | "
|
|
446
|
+
activeBody: "formData" | "binary" | "raw";
|
|
426
447
|
formData?: {
|
|
427
448
|
value: {
|
|
428
449
|
value: string;
|
|
@@ -437,16 +458,15 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
437
458
|
enum?: string[] | undefined;
|
|
438
459
|
format?: string | undefined;
|
|
439
460
|
file?: any;
|
|
440
|
-
refUid?: string | undefined;
|
|
441
461
|
nullable?: boolean | undefined;
|
|
442
462
|
}[];
|
|
443
463
|
encoding: "form-data" | "urlencoded";
|
|
444
464
|
} | undefined;
|
|
465
|
+
binary?: Blob | undefined;
|
|
445
466
|
raw?: {
|
|
446
467
|
value: string;
|
|
447
468
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
448
469
|
} | undefined;
|
|
449
|
-
binary?: Blob | undefined;
|
|
450
470
|
};
|
|
451
471
|
requestUid: string;
|
|
452
472
|
parameters: {
|
|
@@ -463,7 +483,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
463
483
|
enum?: string[] | undefined;
|
|
464
484
|
format?: string | undefined;
|
|
465
485
|
file?: any;
|
|
466
|
-
refUid?: string | undefined;
|
|
467
486
|
nullable?: boolean | undefined;
|
|
468
487
|
}[];
|
|
469
488
|
cookies: {
|
|
@@ -479,7 +498,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
479
498
|
enum?: string[] | undefined;
|
|
480
499
|
format?: string | undefined;
|
|
481
500
|
file?: any;
|
|
482
|
-
refUid?: string | undefined;
|
|
483
501
|
nullable?: boolean | undefined;
|
|
484
502
|
}[];
|
|
485
503
|
query: {
|
|
@@ -495,7 +513,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
495
513
|
enum?: string[] | undefined;
|
|
496
514
|
format?: string | undefined;
|
|
497
515
|
file?: any;
|
|
498
|
-
refUid?: string | undefined;
|
|
499
516
|
nullable?: boolean | undefined;
|
|
500
517
|
}[];
|
|
501
518
|
headers: {
|
|
@@ -511,7 +528,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
511
528
|
enum?: string[] | undefined;
|
|
512
529
|
format?: string | undefined;
|
|
513
530
|
file?: any;
|
|
514
|
-
refUid?: string | undefined;
|
|
515
531
|
nullable?: boolean | undefined;
|
|
516
532
|
}[];
|
|
517
533
|
};
|
|
@@ -542,10 +558,10 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
542
558
|
in: "path" | "query" | "header" | "cookie";
|
|
543
559
|
deprecated: boolean;
|
|
544
560
|
description?: string | undefined;
|
|
561
|
+
example?: unknown;
|
|
545
562
|
schema?: unknown;
|
|
546
563
|
content?: unknown;
|
|
547
564
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
548
|
-
example?: unknown;
|
|
549
565
|
examples?: Record<string, {
|
|
550
566
|
value?: unknown;
|
|
551
567
|
summary?: string | undefined;
|
|
@@ -665,6 +681,19 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
665
681
|
} | undefined;
|
|
666
682
|
components?: Record<string, unknown> | undefined;
|
|
667
683
|
webhooks?: Record<string, unknown> | undefined;
|
|
684
|
+
'x-scalar-environment'?: string | undefined;
|
|
685
|
+
'x-scalar-environments'?: Record<string, {
|
|
686
|
+
variables: Record<string, string | {
|
|
687
|
+
default: string;
|
|
688
|
+
description?: string | undefined;
|
|
689
|
+
}>;
|
|
690
|
+
description?: string | undefined;
|
|
691
|
+
color?: string | undefined;
|
|
692
|
+
}> | undefined;
|
|
693
|
+
'x-scalar-secrets'?: Record<string, {
|
|
694
|
+
description?: string | undefined;
|
|
695
|
+
example?: string | undefined;
|
|
696
|
+
}> | undefined;
|
|
668
697
|
documentUrl?: string | undefined;
|
|
669
698
|
integration?: string | null | undefined;
|
|
670
699
|
}[]>;
|
|
@@ -731,6 +760,19 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
731
760
|
components?: Record<string, unknown> | undefined;
|
|
732
761
|
webhooks?: Record<string, unknown> | undefined;
|
|
733
762
|
'x-scalar-icon'?: string | undefined;
|
|
763
|
+
'x-scalar-environment'?: string | undefined;
|
|
764
|
+
'x-scalar-environments'?: Record<string, {
|
|
765
|
+
variables: Record<string, string | {
|
|
766
|
+
default?: string | undefined;
|
|
767
|
+
description?: string | undefined;
|
|
768
|
+
}>;
|
|
769
|
+
description?: string | undefined;
|
|
770
|
+
color?: string | undefined;
|
|
771
|
+
}> | undefined;
|
|
772
|
+
'x-scalar-secrets'?: Record<string, {
|
|
773
|
+
description?: string | undefined;
|
|
774
|
+
example?: string | undefined;
|
|
775
|
+
}> | undefined;
|
|
734
776
|
securitySchemes?: string[] | undefined;
|
|
735
777
|
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
736
778
|
selectedServerUid?: string | undefined;
|
|
@@ -768,9 +810,9 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
768
810
|
watchMode?: boolean | undefined;
|
|
769
811
|
integration?: string | null | undefined;
|
|
770
812
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
771
|
-
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types
|
|
813
|
+
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types").ReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
|
|
772
814
|
setCollectionSecurity?: boolean;
|
|
773
|
-
} & Pick<import("@scalar/types
|
|
815
|
+
} & Pick<import("@scalar/types").ReferenceConfiguration, "servers">) => Promise<{
|
|
774
816
|
type: "collection";
|
|
775
817
|
uid: string;
|
|
776
818
|
children: string[];
|
|
@@ -836,6 +878,19 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
836
878
|
} | undefined;
|
|
837
879
|
components?: Record<string, unknown> | undefined;
|
|
838
880
|
webhooks?: Record<string, unknown> | undefined;
|
|
881
|
+
'x-scalar-environment'?: string | undefined;
|
|
882
|
+
'x-scalar-environments'?: Record<string, {
|
|
883
|
+
variables: Record<string, string | {
|
|
884
|
+
default: string;
|
|
885
|
+
description?: string | undefined;
|
|
886
|
+
}>;
|
|
887
|
+
description?: string | undefined;
|
|
888
|
+
color?: string | undefined;
|
|
889
|
+
}> | undefined;
|
|
890
|
+
'x-scalar-secrets'?: Record<string, {
|
|
891
|
+
description?: string | undefined;
|
|
892
|
+
example?: string | undefined;
|
|
893
|
+
}> | undefined;
|
|
839
894
|
documentUrl?: string | undefined;
|
|
840
895
|
integration?: string | null | undefined;
|
|
841
896
|
} | undefined>;
|
|
@@ -870,6 +925,19 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
870
925
|
components?: Record<string, unknown> | undefined;
|
|
871
926
|
webhooks?: Record<string, unknown> | undefined;
|
|
872
927
|
'x-scalar-icon'?: string | undefined;
|
|
928
|
+
'x-scalar-environment'?: string | undefined;
|
|
929
|
+
'x-scalar-environments'?: Record<string, {
|
|
930
|
+
variables: Record<string, string | {
|
|
931
|
+
default?: string | undefined;
|
|
932
|
+
description?: string | undefined;
|
|
933
|
+
}>;
|
|
934
|
+
description?: string | undefined;
|
|
935
|
+
color?: string | undefined;
|
|
936
|
+
}> | undefined;
|
|
937
|
+
'x-scalar-secrets'?: Record<string, {
|
|
938
|
+
description?: string | undefined;
|
|
939
|
+
example?: string | undefined;
|
|
940
|
+
}> | undefined;
|
|
873
941
|
securitySchemes?: string[] | undefined;
|
|
874
942
|
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
875
943
|
selectedServerUid?: string | undefined;
|
|
@@ -907,9 +975,9 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
907
975
|
watchMode?: boolean | undefined;
|
|
908
976
|
integration?: string | null | undefined;
|
|
909
977
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
910
|
-
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types
|
|
978
|
+
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types").ReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
|
|
911
979
|
setCollectionSecurity?: boolean;
|
|
912
|
-
} & Pick<import("@scalar/types
|
|
980
|
+
} & Pick<import("@scalar/types").ReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types").ReferenceConfiguration, "proxy">) => Promise<import("../libs/index.js").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
|
|
913
981
|
type?: "collection" | undefined;
|
|
914
982
|
uid?: string | undefined;
|
|
915
983
|
externalDocs?: {
|
|
@@ -940,6 +1008,19 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
940
1008
|
components?: Record<string, unknown> | undefined;
|
|
941
1009
|
webhooks?: Record<string, unknown> | undefined;
|
|
942
1010
|
'x-scalar-icon'?: string | undefined;
|
|
1011
|
+
'x-scalar-environment'?: string | undefined;
|
|
1012
|
+
'x-scalar-environments'?: Record<string, {
|
|
1013
|
+
variables: Record<string, string | {
|
|
1014
|
+
default?: string | undefined;
|
|
1015
|
+
description?: string | undefined;
|
|
1016
|
+
}>;
|
|
1017
|
+
description?: string | undefined;
|
|
1018
|
+
color?: string | undefined;
|
|
1019
|
+
}> | undefined;
|
|
1020
|
+
'x-scalar-secrets'?: Record<string, {
|
|
1021
|
+
description?: string | undefined;
|
|
1022
|
+
example?: string | undefined;
|
|
1023
|
+
}> | undefined;
|
|
943
1024
|
securitySchemes?: string[] | undefined;
|
|
944
1025
|
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
945
1026
|
selectedServerUid?: string | undefined;
|
|
@@ -977,9 +1058,9 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
977
1058
|
watchMode?: boolean | undefined;
|
|
978
1059
|
integration?: string | null | undefined;
|
|
979
1060
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
980
|
-
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types
|
|
1061
|
+
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types").ReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
|
|
981
1062
|
setCollectionSecurity?: boolean;
|
|
982
|
-
} & Pick<import("@scalar/types
|
|
1063
|
+
} & Pick<import("@scalar/types").ReferenceConfiguration, "servers">) => Promise<{
|
|
983
1064
|
type: "collection";
|
|
984
1065
|
uid: string;
|
|
985
1066
|
children: string[];
|
|
@@ -1045,6 +1126,19 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
1045
1126
|
} | undefined;
|
|
1046
1127
|
components?: Record<string, unknown> | undefined;
|
|
1047
1128
|
webhooks?: Record<string, unknown> | undefined;
|
|
1129
|
+
'x-scalar-environment'?: string | undefined;
|
|
1130
|
+
'x-scalar-environments'?: Record<string, {
|
|
1131
|
+
variables: Record<string, string | {
|
|
1132
|
+
default: string;
|
|
1133
|
+
description?: string | undefined;
|
|
1134
|
+
}>;
|
|
1135
|
+
description?: string | undefined;
|
|
1136
|
+
color?: string | undefined;
|
|
1137
|
+
}> | undefined;
|
|
1138
|
+
'x-scalar-secrets'?: Record<string, {
|
|
1139
|
+
description?: string | undefined;
|
|
1140
|
+
example?: string | undefined;
|
|
1141
|
+
}> | undefined;
|
|
1048
1142
|
documentUrl?: string | undefined;
|
|
1049
1143
|
integration?: string | null | undefined;
|
|
1050
1144
|
} | undefined>>>>>;
|
|
@@ -1076,7 +1170,7 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
1076
1170
|
partitioned?: boolean | undefined;
|
|
1077
1171
|
secure?: boolean | undefined;
|
|
1078
1172
|
}) => void;
|
|
1079
|
-
edit: <P extends "
|
|
1173
|
+
edit: <P extends "name" | "value" | "path" | "uid" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure">(uid: string, path: P, value: P extends "name" | "value" | "path" | "uid" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? {
|
|
1080
1174
|
value: string;
|
|
1081
1175
|
uid: string;
|
|
1082
1176
|
name: string;
|
|
@@ -1088,7 +1182,7 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
1088
1182
|
maxAge?: number | undefined;
|
|
1089
1183
|
partitioned?: boolean | undefined;
|
|
1090
1184
|
secure?: boolean | undefined;
|
|
1091
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
1185
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "value" | "path" | "uid" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? R extends Path<{
|
|
1092
1186
|
value: string;
|
|
1093
1187
|
uid: string;
|
|
1094
1188
|
name: string;
|
|
@@ -1113,7 +1207,7 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
1113
1207
|
partitioned?: boolean | undefined;
|
|
1114
1208
|
secure?: boolean | undefined;
|
|
1115
1209
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1116
|
-
untrackedEdit: <P extends "
|
|
1210
|
+
untrackedEdit: <P extends "name" | "value" | "path" | "uid" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure">(uid: string, path: P, value: P extends "name" | "value" | "path" | "uid" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? {
|
|
1117
1211
|
value: string;
|
|
1118
1212
|
uid: string;
|
|
1119
1213
|
name: string;
|
|
@@ -1125,7 +1219,7 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
1125
1219
|
maxAge?: number | undefined;
|
|
1126
1220
|
partitioned?: boolean | undefined;
|
|
1127
1221
|
secure?: boolean | undefined;
|
|
1128
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
1222
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "value" | "path" | "uid" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? R extends Path<{
|
|
1129
1223
|
value: string;
|
|
1130
1224
|
uid: string;
|
|
1131
1225
|
name: string;
|
|
@@ -1221,6 +1315,19 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
1221
1315
|
} | undefined;
|
|
1222
1316
|
components?: Record<string, unknown> | undefined;
|
|
1223
1317
|
webhooks?: Record<string, unknown> | undefined;
|
|
1318
|
+
'x-scalar-environment'?: string | undefined;
|
|
1319
|
+
'x-scalar-environments'?: Record<string, {
|
|
1320
|
+
variables: Record<string, string | {
|
|
1321
|
+
default: string;
|
|
1322
|
+
description?: string | undefined;
|
|
1323
|
+
}>;
|
|
1324
|
+
description?: string | undefined;
|
|
1325
|
+
color?: string | undefined;
|
|
1326
|
+
}> | undefined;
|
|
1327
|
+
'x-scalar-secrets'?: Record<string, {
|
|
1328
|
+
description?: string | undefined;
|
|
1329
|
+
example?: string | undefined;
|
|
1330
|
+
}> | undefined;
|
|
1224
1331
|
documentUrl?: string | undefined;
|
|
1225
1332
|
integration?: string | null | undefined;
|
|
1226
1333
|
}) => void;
|
|
@@ -1290,6 +1397,19 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
1290
1397
|
} | undefined;
|
|
1291
1398
|
components?: Record<string, unknown> | undefined;
|
|
1292
1399
|
webhooks?: Record<string, unknown> | undefined;
|
|
1400
|
+
'x-scalar-environment'?: string | undefined;
|
|
1401
|
+
'x-scalar-environments'?: Record<string, {
|
|
1402
|
+
variables: Record<string, string | {
|
|
1403
|
+
default: string;
|
|
1404
|
+
description?: string | undefined;
|
|
1405
|
+
}>;
|
|
1406
|
+
description?: string | undefined;
|
|
1407
|
+
color?: string | undefined;
|
|
1408
|
+
}> | undefined;
|
|
1409
|
+
'x-scalar-secrets'?: Record<string, {
|
|
1410
|
+
description?: string | undefined;
|
|
1411
|
+
example?: string | undefined;
|
|
1412
|
+
}> | undefined;
|
|
1293
1413
|
documentUrl?: string | undefined;
|
|
1294
1414
|
integration?: string | null | undefined;
|
|
1295
1415
|
};
|
|
@@ -1360,10 +1480,23 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
1360
1480
|
} | undefined;
|
|
1361
1481
|
components?: Record<string, unknown> | undefined;
|
|
1362
1482
|
webhooks?: Record<string, unknown> | undefined;
|
|
1483
|
+
'x-scalar-environment'?: string | undefined;
|
|
1484
|
+
'x-scalar-environments'?: Record<string, {
|
|
1485
|
+
variables: Record<string, string | {
|
|
1486
|
+
default: string;
|
|
1487
|
+
description?: string | undefined;
|
|
1488
|
+
}>;
|
|
1489
|
+
description?: string | undefined;
|
|
1490
|
+
color?: string | undefined;
|
|
1491
|
+
}> | undefined;
|
|
1492
|
+
'x-scalar-secrets'?: Record<string, {
|
|
1493
|
+
description?: string | undefined;
|
|
1494
|
+
example?: string | undefined;
|
|
1495
|
+
}> | undefined;
|
|
1363
1496
|
documentUrl?: string | undefined;
|
|
1364
1497
|
integration?: string | null | undefined;
|
|
1365
1498
|
}) => void;
|
|
1366
|
-
edit: <P extends "
|
|
1499
|
+
edit: <P extends "type" | "children" | "tags" | "security" | "externalDocs" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "requests" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `servers.${number}` | `selectedSecuritySchemeUids.${number}` | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" | `children.${number}` | "info.summary" | "info.title" | "info.description" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.email" | "info.contact.url" | "info.license.name" | "info.license.url" | "info.license.identifier" | `auth.${string}` | `securitySchemes.${number}` | `requests.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-environments.${string}` | `x-scalar-secrets.${string}`>(uid: string, path: P, value: P extends "type" | "children" | "tags" | "security" | "externalDocs" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "requests" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? {
|
|
1367
1500
|
type: "collection";
|
|
1368
1501
|
uid: string;
|
|
1369
1502
|
children: string[];
|
|
@@ -1429,9 +1562,22 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
1429
1562
|
} | undefined;
|
|
1430
1563
|
components?: Record<string, unknown> | undefined;
|
|
1431
1564
|
webhooks?: Record<string, unknown> | undefined;
|
|
1565
|
+
'x-scalar-environment'?: string | undefined;
|
|
1566
|
+
'x-scalar-environments'?: Record<string, {
|
|
1567
|
+
variables: Record<string, string | {
|
|
1568
|
+
default: string;
|
|
1569
|
+
description?: string | undefined;
|
|
1570
|
+
}>;
|
|
1571
|
+
description?: string | undefined;
|
|
1572
|
+
color?: string | undefined;
|
|
1573
|
+
}> | undefined;
|
|
1574
|
+
'x-scalar-secrets'?: Record<string, {
|
|
1575
|
+
description?: string | undefined;
|
|
1576
|
+
example?: string | undefined;
|
|
1577
|
+
}> | undefined;
|
|
1432
1578
|
documentUrl?: string | undefined;
|
|
1433
1579
|
integration?: string | null | undefined;
|
|
1434
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
1580
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "tags" | "security" | "externalDocs" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "requests" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? R extends Path<{
|
|
1435
1581
|
type: "collection";
|
|
1436
1582
|
uid: string;
|
|
1437
1583
|
children: string[];
|
|
@@ -1497,6 +1643,19 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
1497
1643
|
} | undefined;
|
|
1498
1644
|
components?: Record<string, unknown> | undefined;
|
|
1499
1645
|
webhooks?: Record<string, unknown> | undefined;
|
|
1646
|
+
'x-scalar-environment'?: string | undefined;
|
|
1647
|
+
'x-scalar-environments'?: Record<string, {
|
|
1648
|
+
variables: Record<string, string | {
|
|
1649
|
+
default: string;
|
|
1650
|
+
description?: string | undefined;
|
|
1651
|
+
}>;
|
|
1652
|
+
description?: string | undefined;
|
|
1653
|
+
color?: string | undefined;
|
|
1654
|
+
}> | undefined;
|
|
1655
|
+
'x-scalar-secrets'?: Record<string, {
|
|
1656
|
+
description?: string | undefined;
|
|
1657
|
+
example?: string | undefined;
|
|
1658
|
+
}> | undefined;
|
|
1500
1659
|
documentUrl?: string | undefined;
|
|
1501
1660
|
integration?: string | null | undefined;
|
|
1502
1661
|
}[K]> ? PathValue<{
|
|
@@ -1565,10 +1724,23 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
1565
1724
|
} | undefined;
|
|
1566
1725
|
components?: Record<string, unknown> | undefined;
|
|
1567
1726
|
webhooks?: Record<string, unknown> | undefined;
|
|
1727
|
+
'x-scalar-environment'?: string | undefined;
|
|
1728
|
+
'x-scalar-environments'?: Record<string, {
|
|
1729
|
+
variables: Record<string, string | {
|
|
1730
|
+
default: string;
|
|
1731
|
+
description?: string | undefined;
|
|
1732
|
+
}>;
|
|
1733
|
+
description?: string | undefined;
|
|
1734
|
+
color?: string | undefined;
|
|
1735
|
+
}> | undefined;
|
|
1736
|
+
'x-scalar-secrets'?: Record<string, {
|
|
1737
|
+
description?: string | undefined;
|
|
1738
|
+
example?: string | undefined;
|
|
1739
|
+
}> | undefined;
|
|
1568
1740
|
documentUrl?: string | undefined;
|
|
1569
1741
|
integration?: string | null | undefined;
|
|
1570
1742
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1571
|
-
untrackedEdit: <P extends "
|
|
1743
|
+
untrackedEdit: <P extends "type" | "children" | "tags" | "security" | "externalDocs" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "requests" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `servers.${number}` | `selectedSecuritySchemeUids.${number}` | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" | `children.${number}` | "info.summary" | "info.title" | "info.description" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.email" | "info.contact.url" | "info.license.name" | "info.license.url" | "info.license.identifier" | `auth.${string}` | `securitySchemes.${number}` | `requests.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-environments.${string}` | `x-scalar-secrets.${string}`>(uid: string, path: P, value: P extends "type" | "children" | "tags" | "security" | "externalDocs" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "requests" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? {
|
|
1572
1744
|
type: "collection";
|
|
1573
1745
|
uid: string;
|
|
1574
1746
|
children: string[];
|
|
@@ -1634,9 +1806,22 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
1634
1806
|
} | undefined;
|
|
1635
1807
|
components?: Record<string, unknown> | undefined;
|
|
1636
1808
|
webhooks?: Record<string, unknown> | undefined;
|
|
1809
|
+
'x-scalar-environment'?: string | undefined;
|
|
1810
|
+
'x-scalar-environments'?: Record<string, {
|
|
1811
|
+
variables: Record<string, string | {
|
|
1812
|
+
default: string;
|
|
1813
|
+
description?: string | undefined;
|
|
1814
|
+
}>;
|
|
1815
|
+
description?: string | undefined;
|
|
1816
|
+
color?: string | undefined;
|
|
1817
|
+
}> | undefined;
|
|
1818
|
+
'x-scalar-secrets'?: Record<string, {
|
|
1819
|
+
description?: string | undefined;
|
|
1820
|
+
example?: string | undefined;
|
|
1821
|
+
}> | undefined;
|
|
1637
1822
|
documentUrl?: string | undefined;
|
|
1638
1823
|
integration?: string | null | undefined;
|
|
1639
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
1824
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "tags" | "security" | "externalDocs" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "requests" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? R extends Path<{
|
|
1640
1825
|
type: "collection";
|
|
1641
1826
|
uid: string;
|
|
1642
1827
|
children: string[];
|
|
@@ -1702,6 +1887,19 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
1702
1887
|
} | undefined;
|
|
1703
1888
|
components?: Record<string, unknown> | undefined;
|
|
1704
1889
|
webhooks?: Record<string, unknown> | undefined;
|
|
1890
|
+
'x-scalar-environment'?: string | undefined;
|
|
1891
|
+
'x-scalar-environments'?: Record<string, {
|
|
1892
|
+
variables: Record<string, string | {
|
|
1893
|
+
default: string;
|
|
1894
|
+
description?: string | undefined;
|
|
1895
|
+
}>;
|
|
1896
|
+
description?: string | undefined;
|
|
1897
|
+
color?: string | undefined;
|
|
1898
|
+
}> | undefined;
|
|
1899
|
+
'x-scalar-secrets'?: Record<string, {
|
|
1900
|
+
description?: string | undefined;
|
|
1901
|
+
example?: string | undefined;
|
|
1902
|
+
}> | undefined;
|
|
1705
1903
|
documentUrl?: string | undefined;
|
|
1706
1904
|
integration?: string | null | undefined;
|
|
1707
1905
|
}[K]> ? PathValue<{
|
|
@@ -1770,6 +1968,19 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
1770
1968
|
} | undefined;
|
|
1771
1969
|
components?: Record<string, unknown> | undefined;
|
|
1772
1970
|
webhooks?: Record<string, unknown> | undefined;
|
|
1971
|
+
'x-scalar-environment'?: string | undefined;
|
|
1972
|
+
'x-scalar-environments'?: Record<string, {
|
|
1973
|
+
variables: Record<string, string | {
|
|
1974
|
+
default: string;
|
|
1975
|
+
description?: string | undefined;
|
|
1976
|
+
}>;
|
|
1977
|
+
description?: string | undefined;
|
|
1978
|
+
color?: string | undefined;
|
|
1979
|
+
}> | undefined;
|
|
1980
|
+
'x-scalar-secrets'?: Record<string, {
|
|
1981
|
+
description?: string | undefined;
|
|
1982
|
+
example?: string | undefined;
|
|
1983
|
+
}> | undefined;
|
|
1773
1984
|
documentUrl?: string | undefined;
|
|
1774
1985
|
integration?: string | null | undefined;
|
|
1775
1986
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
@@ -1793,13 +2004,13 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
1793
2004
|
color: string;
|
|
1794
2005
|
isDefault?: boolean | undefined;
|
|
1795
2006
|
}) => void;
|
|
1796
|
-
edit: <P extends "
|
|
2007
|
+
edit: <P extends "name" | "value" | "uid" | "color" | "isDefault">(uid: string, path: P, value: P extends "name" | "value" | "uid" | "color" | "isDefault" ? {
|
|
1797
2008
|
value: string;
|
|
1798
2009
|
uid: string;
|
|
1799
2010
|
name: string;
|
|
1800
2011
|
color: string;
|
|
1801
2012
|
isDefault?: boolean | undefined;
|
|
1802
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
2013
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "value" | "uid" | "color" | "isDefault" ? R extends Path<{
|
|
1803
2014
|
value: string;
|
|
1804
2015
|
uid: string;
|
|
1805
2016
|
name: string;
|
|
@@ -1812,13 +2023,13 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
1812
2023
|
color: string;
|
|
1813
2024
|
isDefault?: boolean | undefined;
|
|
1814
2025
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1815
|
-
untrackedEdit: <P extends "
|
|
2026
|
+
untrackedEdit: <P extends "name" | "value" | "uid" | "color" | "isDefault">(uid: string, path: P, value: P extends "name" | "value" | "uid" | "color" | "isDefault" ? {
|
|
1816
2027
|
value: string;
|
|
1817
2028
|
uid: string;
|
|
1818
2029
|
name: string;
|
|
1819
2030
|
color: string;
|
|
1820
2031
|
isDefault?: boolean | undefined;
|
|
1821
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
2032
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "value" | "uid" | "color" | "isDefault" ? R extends Path<{
|
|
1822
2033
|
value: string;
|
|
1823
2034
|
uid: string;
|
|
1824
2035
|
name: string;
|
|
@@ -1861,10 +2072,10 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
1861
2072
|
in: "path" | "query" | "header" | "cookie";
|
|
1862
2073
|
deprecated: boolean;
|
|
1863
2074
|
description?: string | undefined;
|
|
2075
|
+
example?: unknown;
|
|
1864
2076
|
schema?: unknown;
|
|
1865
2077
|
content?: unknown;
|
|
1866
2078
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
1867
|
-
example?: unknown;
|
|
1868
2079
|
examples?: Record<string, {
|
|
1869
2080
|
value?: unknown;
|
|
1870
2081
|
summary?: string | undefined;
|
|
@@ -1898,10 +2109,10 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
1898
2109
|
in: "path" | "query" | "header" | "cookie";
|
|
1899
2110
|
deprecated: boolean;
|
|
1900
2111
|
description?: string | undefined;
|
|
2112
|
+
example?: unknown;
|
|
1901
2113
|
schema?: unknown;
|
|
1902
2114
|
content?: unknown;
|
|
1903
2115
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
1904
|
-
example?: unknown;
|
|
1905
2116
|
examples?: Record<string, {
|
|
1906
2117
|
value?: unknown;
|
|
1907
2118
|
summary?: string | undefined;
|
|
@@ -1936,10 +2147,10 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
1936
2147
|
in: "path" | "query" | "header" | "cookie";
|
|
1937
2148
|
deprecated: boolean;
|
|
1938
2149
|
description?: string | undefined;
|
|
2150
|
+
example?: unknown;
|
|
1939
2151
|
schema?: unknown;
|
|
1940
2152
|
content?: unknown;
|
|
1941
2153
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
1942
|
-
example?: unknown;
|
|
1943
2154
|
examples?: Record<string, {
|
|
1944
2155
|
value?: unknown;
|
|
1945
2156
|
summary?: string | undefined;
|
|
@@ -1948,7 +2159,7 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
1948
2159
|
requestBody?: any;
|
|
1949
2160
|
responses?: Record<string, any> | undefined;
|
|
1950
2161
|
}) => void;
|
|
1951
|
-
edit: <P extends "summary" | "type" | "method" | "path" | "
|
|
2162
|
+
edit: <P extends "summary" | "type" | "method" | "path" | "tags" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "servers" | "uid" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | `requestBody.${string}` | `parameters.${number}` | `parameters.${number}.required` | `parameters.${number}.description` | `parameters.${number}.style` | `parameters.${number}.name` | `parameters.${number}.deprecated` | `parameters.${number}.in` | `parameters.${number}.example` | `parameters.${number}.examples` | `parameters.${number}.content` | `parameters.${number}.schema` | `parameters.${number}.examples.${string}` | "externalDocs.description" | "externalDocs.url" | `responses.${string}` | `servers.${number}` | `selectedSecuritySchemeUids.${number}` | `examples.${number}`>(uid: string, path: P, value: P extends "summary" | "type" | "method" | "path" | "tags" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "servers" | "uid" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" ? {
|
|
1952
2163
|
path: string;
|
|
1953
2164
|
type: "request";
|
|
1954
2165
|
uid: string;
|
|
@@ -1973,10 +2184,10 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
1973
2184
|
in: "path" | "query" | "header" | "cookie";
|
|
1974
2185
|
deprecated: boolean;
|
|
1975
2186
|
description?: string | undefined;
|
|
2187
|
+
example?: unknown;
|
|
1976
2188
|
schema?: unknown;
|
|
1977
2189
|
content?: unknown;
|
|
1978
2190
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
1979
|
-
example?: unknown;
|
|
1980
2191
|
examples?: Record<string, {
|
|
1981
2192
|
value?: unknown;
|
|
1982
2193
|
summary?: string | undefined;
|
|
@@ -1984,7 +2195,7 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
1984
2195
|
}[] | undefined;
|
|
1985
2196
|
requestBody?: any;
|
|
1986
2197
|
responses?: Record<string, any> | undefined;
|
|
1987
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "summary" | "type" | "method" | "path" | "
|
|
2198
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "summary" | "type" | "method" | "path" | "tags" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "servers" | "uid" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" ? R extends Path<{
|
|
1988
2199
|
path: string;
|
|
1989
2200
|
type: "request";
|
|
1990
2201
|
uid: string;
|
|
@@ -2009,10 +2220,10 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2009
2220
|
in: "path" | "query" | "header" | "cookie";
|
|
2010
2221
|
deprecated: boolean;
|
|
2011
2222
|
description?: string | undefined;
|
|
2223
|
+
example?: unknown;
|
|
2012
2224
|
schema?: unknown;
|
|
2013
2225
|
content?: unknown;
|
|
2014
2226
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
2015
|
-
example?: unknown;
|
|
2016
2227
|
examples?: Record<string, {
|
|
2017
2228
|
value?: unknown;
|
|
2018
2229
|
summary?: string | undefined;
|
|
@@ -2045,10 +2256,10 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2045
2256
|
in: "path" | "query" | "header" | "cookie";
|
|
2046
2257
|
deprecated: boolean;
|
|
2047
2258
|
description?: string | undefined;
|
|
2259
|
+
example?: unknown;
|
|
2048
2260
|
schema?: unknown;
|
|
2049
2261
|
content?: unknown;
|
|
2050
2262
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
2051
|
-
example?: unknown;
|
|
2052
2263
|
examples?: Record<string, {
|
|
2053
2264
|
value?: unknown;
|
|
2054
2265
|
summary?: string | undefined;
|
|
@@ -2057,7 +2268,7 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2057
2268
|
requestBody?: any;
|
|
2058
2269
|
responses?: Record<string, any> | undefined;
|
|
2059
2270
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2060
|
-
untrackedEdit: <P extends "summary" | "type" | "method" | "path" | "
|
|
2271
|
+
untrackedEdit: <P extends "summary" | "type" | "method" | "path" | "tags" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "servers" | "uid" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | `requestBody.${string}` | `parameters.${number}` | `parameters.${number}.required` | `parameters.${number}.description` | `parameters.${number}.style` | `parameters.${number}.name` | `parameters.${number}.deprecated` | `parameters.${number}.in` | `parameters.${number}.example` | `parameters.${number}.examples` | `parameters.${number}.content` | `parameters.${number}.schema` | `parameters.${number}.examples.${string}` | "externalDocs.description" | "externalDocs.url" | `responses.${string}` | `servers.${number}` | `selectedSecuritySchemeUids.${number}` | `examples.${number}`>(uid: string, path: P, value: P extends "summary" | "type" | "method" | "path" | "tags" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "servers" | "uid" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" ? {
|
|
2061
2272
|
path: string;
|
|
2062
2273
|
type: "request";
|
|
2063
2274
|
uid: string;
|
|
@@ -2082,10 +2293,10 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2082
2293
|
in: "path" | "query" | "header" | "cookie";
|
|
2083
2294
|
deprecated: boolean;
|
|
2084
2295
|
description?: string | undefined;
|
|
2296
|
+
example?: unknown;
|
|
2085
2297
|
schema?: unknown;
|
|
2086
2298
|
content?: unknown;
|
|
2087
2299
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
2088
|
-
example?: unknown;
|
|
2089
2300
|
examples?: Record<string, {
|
|
2090
2301
|
value?: unknown;
|
|
2091
2302
|
summary?: string | undefined;
|
|
@@ -2093,7 +2304,7 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2093
2304
|
}[] | undefined;
|
|
2094
2305
|
requestBody?: any;
|
|
2095
2306
|
responses?: Record<string, any> | undefined;
|
|
2096
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "summary" | "type" | "method" | "path" | "
|
|
2307
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "summary" | "type" | "method" | "path" | "tags" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "servers" | "uid" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" ? R extends Path<{
|
|
2097
2308
|
path: string;
|
|
2098
2309
|
type: "request";
|
|
2099
2310
|
uid: string;
|
|
@@ -2118,10 +2329,10 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2118
2329
|
in: "path" | "query" | "header" | "cookie";
|
|
2119
2330
|
deprecated: boolean;
|
|
2120
2331
|
description?: string | undefined;
|
|
2332
|
+
example?: unknown;
|
|
2121
2333
|
schema?: unknown;
|
|
2122
2334
|
content?: unknown;
|
|
2123
2335
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
2124
|
-
example?: unknown;
|
|
2125
2336
|
examples?: Record<string, {
|
|
2126
2337
|
value?: unknown;
|
|
2127
2338
|
summary?: string | undefined;
|
|
@@ -2154,10 +2365,10 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2154
2365
|
in: "path" | "query" | "header" | "cookie";
|
|
2155
2366
|
deprecated: boolean;
|
|
2156
2367
|
description?: string | undefined;
|
|
2368
|
+
example?: unknown;
|
|
2157
2369
|
schema?: unknown;
|
|
2158
2370
|
content?: unknown;
|
|
2159
2371
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
2160
|
-
example?: unknown;
|
|
2161
2372
|
examples?: Record<string, {
|
|
2162
2373
|
value?: unknown;
|
|
2163
2374
|
summary?: string | undefined;
|
|
@@ -2177,7 +2388,7 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2177
2388
|
uid: string;
|
|
2178
2389
|
name: string;
|
|
2179
2390
|
body: {
|
|
2180
|
-
activeBody: "formData" | "
|
|
2391
|
+
activeBody: "formData" | "binary" | "raw";
|
|
2181
2392
|
formData?: {
|
|
2182
2393
|
value: {
|
|
2183
2394
|
value: string;
|
|
@@ -2192,16 +2403,15 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2192
2403
|
enum?: string[] | undefined;
|
|
2193
2404
|
format?: string | undefined;
|
|
2194
2405
|
file?: any;
|
|
2195
|
-
refUid?: string | undefined;
|
|
2196
2406
|
nullable?: boolean | undefined;
|
|
2197
2407
|
}[];
|
|
2198
2408
|
encoding: "form-data" | "urlencoded";
|
|
2199
2409
|
} | undefined;
|
|
2410
|
+
binary?: Blob | undefined;
|
|
2200
2411
|
raw?: {
|
|
2201
2412
|
value: string;
|
|
2202
2413
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2203
2414
|
} | undefined;
|
|
2204
|
-
binary?: Blob | undefined;
|
|
2205
2415
|
};
|
|
2206
2416
|
requestUid: string;
|
|
2207
2417
|
parameters: {
|
|
@@ -2218,7 +2428,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2218
2428
|
enum?: string[] | undefined;
|
|
2219
2429
|
format?: string | undefined;
|
|
2220
2430
|
file?: any;
|
|
2221
|
-
refUid?: string | undefined;
|
|
2222
2431
|
nullable?: boolean | undefined;
|
|
2223
2432
|
}[];
|
|
2224
2433
|
cookies: {
|
|
@@ -2234,7 +2443,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2234
2443
|
enum?: string[] | undefined;
|
|
2235
2444
|
format?: string | undefined;
|
|
2236
2445
|
file?: any;
|
|
2237
|
-
refUid?: string | undefined;
|
|
2238
2446
|
nullable?: boolean | undefined;
|
|
2239
2447
|
}[];
|
|
2240
2448
|
query: {
|
|
@@ -2250,7 +2458,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2250
2458
|
enum?: string[] | undefined;
|
|
2251
2459
|
format?: string | undefined;
|
|
2252
2460
|
file?: any;
|
|
2253
|
-
refUid?: string | undefined;
|
|
2254
2461
|
nullable?: boolean | undefined;
|
|
2255
2462
|
}[];
|
|
2256
2463
|
headers: {
|
|
@@ -2266,7 +2473,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2266
2473
|
enum?: string[] | undefined;
|
|
2267
2474
|
format?: string | undefined;
|
|
2268
2475
|
file?: any;
|
|
2269
|
-
refUid?: string | undefined;
|
|
2270
2476
|
nullable?: boolean | undefined;
|
|
2271
2477
|
}[];
|
|
2272
2478
|
};
|
|
@@ -2277,7 +2483,7 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2277
2483
|
uid: string;
|
|
2278
2484
|
name: string;
|
|
2279
2485
|
body: {
|
|
2280
|
-
activeBody: "formData" | "
|
|
2486
|
+
activeBody: "formData" | "binary" | "raw";
|
|
2281
2487
|
formData?: {
|
|
2282
2488
|
value: {
|
|
2283
2489
|
value: string;
|
|
@@ -2292,16 +2498,15 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2292
2498
|
enum?: string[] | undefined;
|
|
2293
2499
|
format?: string | undefined;
|
|
2294
2500
|
file?: any;
|
|
2295
|
-
refUid?: string | undefined;
|
|
2296
2501
|
nullable?: boolean | undefined;
|
|
2297
2502
|
}[];
|
|
2298
2503
|
encoding: "form-data" | "urlencoded";
|
|
2299
2504
|
} | undefined;
|
|
2505
|
+
binary?: Blob | undefined;
|
|
2300
2506
|
raw?: {
|
|
2301
2507
|
value: string;
|
|
2302
2508
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2303
2509
|
} | undefined;
|
|
2304
|
-
binary?: Blob | undefined;
|
|
2305
2510
|
};
|
|
2306
2511
|
requestUid: string;
|
|
2307
2512
|
parameters: {
|
|
@@ -2318,7 +2523,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2318
2523
|
enum?: string[] | undefined;
|
|
2319
2524
|
format?: string | undefined;
|
|
2320
2525
|
file?: any;
|
|
2321
|
-
refUid?: string | undefined;
|
|
2322
2526
|
nullable?: boolean | undefined;
|
|
2323
2527
|
}[];
|
|
2324
2528
|
cookies: {
|
|
@@ -2334,7 +2538,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2334
2538
|
enum?: string[] | undefined;
|
|
2335
2539
|
format?: string | undefined;
|
|
2336
2540
|
file?: any;
|
|
2337
|
-
refUid?: string | undefined;
|
|
2338
2541
|
nullable?: boolean | undefined;
|
|
2339
2542
|
}[];
|
|
2340
2543
|
query: {
|
|
@@ -2350,7 +2553,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2350
2553
|
enum?: string[] | undefined;
|
|
2351
2554
|
format?: string | undefined;
|
|
2352
2555
|
file?: any;
|
|
2353
|
-
refUid?: string | undefined;
|
|
2354
2556
|
nullable?: boolean | undefined;
|
|
2355
2557
|
}[];
|
|
2356
2558
|
headers: {
|
|
@@ -2366,7 +2568,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2366
2568
|
enum?: string[] | undefined;
|
|
2367
2569
|
format?: string | undefined;
|
|
2368
2570
|
file?: any;
|
|
2369
|
-
refUid?: string | undefined;
|
|
2370
2571
|
nullable?: boolean | undefined;
|
|
2371
2572
|
}[];
|
|
2372
2573
|
};
|
|
@@ -2378,7 +2579,7 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2378
2579
|
uid: string;
|
|
2379
2580
|
name: string;
|
|
2380
2581
|
body: {
|
|
2381
|
-
activeBody: "formData" | "
|
|
2582
|
+
activeBody: "formData" | "binary" | "raw";
|
|
2382
2583
|
formData?: {
|
|
2383
2584
|
value: {
|
|
2384
2585
|
value: string;
|
|
@@ -2393,16 +2594,15 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2393
2594
|
enum?: string[] | undefined;
|
|
2394
2595
|
format?: string | undefined;
|
|
2395
2596
|
file?: any;
|
|
2396
|
-
refUid?: string | undefined;
|
|
2397
2597
|
nullable?: boolean | undefined;
|
|
2398
2598
|
}[];
|
|
2399
2599
|
encoding: "form-data" | "urlencoded";
|
|
2400
2600
|
} | undefined;
|
|
2601
|
+
binary?: Blob | undefined;
|
|
2401
2602
|
raw?: {
|
|
2402
2603
|
value: string;
|
|
2403
2604
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2404
2605
|
} | undefined;
|
|
2405
|
-
binary?: Blob | undefined;
|
|
2406
2606
|
};
|
|
2407
2607
|
requestUid: string;
|
|
2408
2608
|
parameters: {
|
|
@@ -2419,7 +2619,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2419
2619
|
enum?: string[] | undefined;
|
|
2420
2620
|
format?: string | undefined;
|
|
2421
2621
|
file?: any;
|
|
2422
|
-
refUid?: string | undefined;
|
|
2423
2622
|
nullable?: boolean | undefined;
|
|
2424
2623
|
}[];
|
|
2425
2624
|
cookies: {
|
|
@@ -2435,7 +2634,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2435
2634
|
enum?: string[] | undefined;
|
|
2436
2635
|
format?: string | undefined;
|
|
2437
2636
|
file?: any;
|
|
2438
|
-
refUid?: string | undefined;
|
|
2439
2637
|
nullable?: boolean | undefined;
|
|
2440
2638
|
}[];
|
|
2441
2639
|
query: {
|
|
@@ -2451,7 +2649,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2451
2649
|
enum?: string[] | undefined;
|
|
2452
2650
|
format?: string | undefined;
|
|
2453
2651
|
file?: any;
|
|
2454
|
-
refUid?: string | undefined;
|
|
2455
2652
|
nullable?: boolean | undefined;
|
|
2456
2653
|
}[];
|
|
2457
2654
|
headers: {
|
|
@@ -2467,18 +2664,17 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2467
2664
|
enum?: string[] | undefined;
|
|
2468
2665
|
format?: string | undefined;
|
|
2469
2666
|
file?: any;
|
|
2470
|
-
refUid?: string | undefined;
|
|
2471
2667
|
nullable?: boolean | undefined;
|
|
2472
2668
|
}[];
|
|
2473
2669
|
};
|
|
2474
2670
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2475
2671
|
}) => void;
|
|
2476
|
-
edit: <P extends "body" | "name" | "type" | "parameters" | "uid" | "requestUid" | "serverVariables" | "body.binary" | "body.raw" | "body.formData" | "body.activeBody" | "body.raw.value" | "body.raw.encoding" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.
|
|
2672
|
+
edit: <P extends "body" | "name" | "type" | "parameters" | "uid" | "requestUid" | "serverVariables" | "body.binary" | "body.raw" | "body.formData" | "body.activeBody" | "body.raw.value" | "body.raw.encoding" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.required` | `body.formData.value.${number}.type` | `body.formData.value.${number}.value` | `body.formData.value.${number}.file` | `body.formData.value.${number}.key` | `body.formData.value.${number}.default` | `body.formData.value.${number}.description` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.format` | `body.formData.value.${number}.file.${string}` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.enum.${number}` | "body.binary.size" | "body.binary.type" | "body.binary.arrayBuffer" | "body.binary.slice" | "body.binary.stream" | "body.binary.text" | "parameters.cookies" | "parameters.path" | "parameters.headers" | "parameters.query" | `parameters.cookies.${number}` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.file.${string}` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.enum.${number}` | `parameters.path.${number}` | `parameters.path.${number}.required` | `parameters.path.${number}.type` | `parameters.path.${number}.value` | `parameters.path.${number}.file` | `parameters.path.${number}.key` | `parameters.path.${number}.default` | `parameters.path.${number}.description` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.enabled` | `parameters.path.${number}.minimum` | `parameters.path.${number}.maximum` | `parameters.path.${number}.format` | `parameters.path.${number}.file.${string}` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.enum.${number}` | `parameters.headers.${number}` | `parameters.headers.${number}.required` | `parameters.headers.${number}.type` | `parameters.headers.${number}.value` | `parameters.headers.${number}.file` | `parameters.headers.${number}.key` | `parameters.headers.${number}.default` | `parameters.headers.${number}.description` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.format` | `parameters.headers.${number}.file.${string}` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.enum.${number}` | `parameters.query.${number}` | `parameters.query.${number}.required` | `parameters.query.${number}.type` | `parameters.query.${number}.value` | `parameters.query.${number}.file` | `parameters.query.${number}.key` | `parameters.query.${number}.default` | `parameters.query.${number}.description` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.enabled` | `parameters.query.${number}.minimum` | `parameters.query.${number}.maximum` | `parameters.query.${number}.format` | `parameters.query.${number}.file.${string}` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.enum.${number}` | `serverVariables.${string}`>(uid: string, path: P, value: P extends "body" | "name" | "type" | "parameters" | "uid" | "requestUid" | "serverVariables" ? {
|
|
2477
2673
|
type: "requestExample";
|
|
2478
2674
|
uid: string;
|
|
2479
2675
|
name: string;
|
|
2480
2676
|
body: {
|
|
2481
|
-
activeBody: "formData" | "
|
|
2677
|
+
activeBody: "formData" | "binary" | "raw";
|
|
2482
2678
|
formData?: {
|
|
2483
2679
|
value: {
|
|
2484
2680
|
value: string;
|
|
@@ -2493,16 +2689,15 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2493
2689
|
enum?: string[] | undefined;
|
|
2494
2690
|
format?: string | undefined;
|
|
2495
2691
|
file?: any;
|
|
2496
|
-
refUid?: string | undefined;
|
|
2497
2692
|
nullable?: boolean | undefined;
|
|
2498
2693
|
}[];
|
|
2499
2694
|
encoding: "form-data" | "urlencoded";
|
|
2500
2695
|
} | undefined;
|
|
2696
|
+
binary?: Blob | undefined;
|
|
2501
2697
|
raw?: {
|
|
2502
2698
|
value: string;
|
|
2503
2699
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2504
2700
|
} | undefined;
|
|
2505
|
-
binary?: Blob | undefined;
|
|
2506
2701
|
};
|
|
2507
2702
|
requestUid: string;
|
|
2508
2703
|
parameters: {
|
|
@@ -2519,7 +2714,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2519
2714
|
enum?: string[] | undefined;
|
|
2520
2715
|
format?: string | undefined;
|
|
2521
2716
|
file?: any;
|
|
2522
|
-
refUid?: string | undefined;
|
|
2523
2717
|
nullable?: boolean | undefined;
|
|
2524
2718
|
}[];
|
|
2525
2719
|
cookies: {
|
|
@@ -2535,7 +2729,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2535
2729
|
enum?: string[] | undefined;
|
|
2536
2730
|
format?: string | undefined;
|
|
2537
2731
|
file?: any;
|
|
2538
|
-
refUid?: string | undefined;
|
|
2539
2732
|
nullable?: boolean | undefined;
|
|
2540
2733
|
}[];
|
|
2541
2734
|
query: {
|
|
@@ -2551,7 +2744,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2551
2744
|
enum?: string[] | undefined;
|
|
2552
2745
|
format?: string | undefined;
|
|
2553
2746
|
file?: any;
|
|
2554
|
-
refUid?: string | undefined;
|
|
2555
2747
|
nullable?: boolean | undefined;
|
|
2556
2748
|
}[];
|
|
2557
2749
|
headers: {
|
|
@@ -2567,7 +2759,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2567
2759
|
enum?: string[] | undefined;
|
|
2568
2760
|
format?: string | undefined;
|
|
2569
2761
|
file?: any;
|
|
2570
|
-
refUid?: string | undefined;
|
|
2571
2762
|
nullable?: boolean | undefined;
|
|
2572
2763
|
}[];
|
|
2573
2764
|
};
|
|
@@ -2577,7 +2768,7 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2577
2768
|
uid: string;
|
|
2578
2769
|
name: string;
|
|
2579
2770
|
body: {
|
|
2580
|
-
activeBody: "formData" | "
|
|
2771
|
+
activeBody: "formData" | "binary" | "raw";
|
|
2581
2772
|
formData?: {
|
|
2582
2773
|
value: {
|
|
2583
2774
|
value: string;
|
|
@@ -2592,16 +2783,15 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2592
2783
|
enum?: string[] | undefined;
|
|
2593
2784
|
format?: string | undefined;
|
|
2594
2785
|
file?: any;
|
|
2595
|
-
refUid?: string | undefined;
|
|
2596
2786
|
nullable?: boolean | undefined;
|
|
2597
2787
|
}[];
|
|
2598
2788
|
encoding: "form-data" | "urlencoded";
|
|
2599
2789
|
} | undefined;
|
|
2790
|
+
binary?: Blob | undefined;
|
|
2600
2791
|
raw?: {
|
|
2601
2792
|
value: string;
|
|
2602
2793
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2603
2794
|
} | undefined;
|
|
2604
|
-
binary?: Blob | undefined;
|
|
2605
2795
|
};
|
|
2606
2796
|
requestUid: string;
|
|
2607
2797
|
parameters: {
|
|
@@ -2618,7 +2808,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2618
2808
|
enum?: string[] | undefined;
|
|
2619
2809
|
format?: string | undefined;
|
|
2620
2810
|
file?: any;
|
|
2621
|
-
refUid?: string | undefined;
|
|
2622
2811
|
nullable?: boolean | undefined;
|
|
2623
2812
|
}[];
|
|
2624
2813
|
cookies: {
|
|
@@ -2634,7 +2823,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2634
2823
|
enum?: string[] | undefined;
|
|
2635
2824
|
format?: string | undefined;
|
|
2636
2825
|
file?: any;
|
|
2637
|
-
refUid?: string | undefined;
|
|
2638
2826
|
nullable?: boolean | undefined;
|
|
2639
2827
|
}[];
|
|
2640
2828
|
query: {
|
|
@@ -2650,7 +2838,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2650
2838
|
enum?: string[] | undefined;
|
|
2651
2839
|
format?: string | undefined;
|
|
2652
2840
|
file?: any;
|
|
2653
|
-
refUid?: string | undefined;
|
|
2654
2841
|
nullable?: boolean | undefined;
|
|
2655
2842
|
}[];
|
|
2656
2843
|
headers: {
|
|
@@ -2666,7 +2853,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2666
2853
|
enum?: string[] | undefined;
|
|
2667
2854
|
format?: string | undefined;
|
|
2668
2855
|
file?: any;
|
|
2669
|
-
refUid?: string | undefined;
|
|
2670
2856
|
nullable?: boolean | undefined;
|
|
2671
2857
|
}[];
|
|
2672
2858
|
};
|
|
@@ -2676,7 +2862,7 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2676
2862
|
uid: string;
|
|
2677
2863
|
name: string;
|
|
2678
2864
|
body: {
|
|
2679
|
-
activeBody: "formData" | "
|
|
2865
|
+
activeBody: "formData" | "binary" | "raw";
|
|
2680
2866
|
formData?: {
|
|
2681
2867
|
value: {
|
|
2682
2868
|
value: string;
|
|
@@ -2691,16 +2877,15 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2691
2877
|
enum?: string[] | undefined;
|
|
2692
2878
|
format?: string | undefined;
|
|
2693
2879
|
file?: any;
|
|
2694
|
-
refUid?: string | undefined;
|
|
2695
2880
|
nullable?: boolean | undefined;
|
|
2696
2881
|
}[];
|
|
2697
2882
|
encoding: "form-data" | "urlencoded";
|
|
2698
2883
|
} | undefined;
|
|
2884
|
+
binary?: Blob | undefined;
|
|
2699
2885
|
raw?: {
|
|
2700
2886
|
value: string;
|
|
2701
2887
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2702
2888
|
} | undefined;
|
|
2703
|
-
binary?: Blob | undefined;
|
|
2704
2889
|
};
|
|
2705
2890
|
requestUid: string;
|
|
2706
2891
|
parameters: {
|
|
@@ -2717,7 +2902,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2717
2902
|
enum?: string[] | undefined;
|
|
2718
2903
|
format?: string | undefined;
|
|
2719
2904
|
file?: any;
|
|
2720
|
-
refUid?: string | undefined;
|
|
2721
2905
|
nullable?: boolean | undefined;
|
|
2722
2906
|
}[];
|
|
2723
2907
|
cookies: {
|
|
@@ -2733,7 +2917,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2733
2917
|
enum?: string[] | undefined;
|
|
2734
2918
|
format?: string | undefined;
|
|
2735
2919
|
file?: any;
|
|
2736
|
-
refUid?: string | undefined;
|
|
2737
2920
|
nullable?: boolean | undefined;
|
|
2738
2921
|
}[];
|
|
2739
2922
|
query: {
|
|
@@ -2749,7 +2932,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2749
2932
|
enum?: string[] | undefined;
|
|
2750
2933
|
format?: string | undefined;
|
|
2751
2934
|
file?: any;
|
|
2752
|
-
refUid?: string | undefined;
|
|
2753
2935
|
nullable?: boolean | undefined;
|
|
2754
2936
|
}[];
|
|
2755
2937
|
headers: {
|
|
@@ -2765,18 +2947,17 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2765
2947
|
enum?: string[] | undefined;
|
|
2766
2948
|
format?: string | undefined;
|
|
2767
2949
|
file?: any;
|
|
2768
|
-
refUid?: string | undefined;
|
|
2769
2950
|
nullable?: boolean | undefined;
|
|
2770
2951
|
}[];
|
|
2771
2952
|
};
|
|
2772
2953
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2773
2954
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2774
|
-
untrackedEdit: <P extends "body" | "name" | "type" | "parameters" | "uid" | "requestUid" | "serverVariables" | "body.binary" | "body.raw" | "body.formData" | "body.activeBody" | "body.raw.value" | "body.raw.encoding" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.
|
|
2955
|
+
untrackedEdit: <P extends "body" | "name" | "type" | "parameters" | "uid" | "requestUid" | "serverVariables" | "body.binary" | "body.raw" | "body.formData" | "body.activeBody" | "body.raw.value" | "body.raw.encoding" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.required` | `body.formData.value.${number}.type` | `body.formData.value.${number}.value` | `body.formData.value.${number}.file` | `body.formData.value.${number}.key` | `body.formData.value.${number}.default` | `body.formData.value.${number}.description` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.format` | `body.formData.value.${number}.file.${string}` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.enum.${number}` | "body.binary.size" | "body.binary.type" | "body.binary.arrayBuffer" | "body.binary.slice" | "body.binary.stream" | "body.binary.text" | "parameters.cookies" | "parameters.path" | "parameters.headers" | "parameters.query" | `parameters.cookies.${number}` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.file.${string}` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.enum.${number}` | `parameters.path.${number}` | `parameters.path.${number}.required` | `parameters.path.${number}.type` | `parameters.path.${number}.value` | `parameters.path.${number}.file` | `parameters.path.${number}.key` | `parameters.path.${number}.default` | `parameters.path.${number}.description` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.enabled` | `parameters.path.${number}.minimum` | `parameters.path.${number}.maximum` | `parameters.path.${number}.format` | `parameters.path.${number}.file.${string}` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.enum.${number}` | `parameters.headers.${number}` | `parameters.headers.${number}.required` | `parameters.headers.${number}.type` | `parameters.headers.${number}.value` | `parameters.headers.${number}.file` | `parameters.headers.${number}.key` | `parameters.headers.${number}.default` | `parameters.headers.${number}.description` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.format` | `parameters.headers.${number}.file.${string}` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.enum.${number}` | `parameters.query.${number}` | `parameters.query.${number}.required` | `parameters.query.${number}.type` | `parameters.query.${number}.value` | `parameters.query.${number}.file` | `parameters.query.${number}.key` | `parameters.query.${number}.default` | `parameters.query.${number}.description` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.enabled` | `parameters.query.${number}.minimum` | `parameters.query.${number}.maximum` | `parameters.query.${number}.format` | `parameters.query.${number}.file.${string}` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.enum.${number}` | `serverVariables.${string}`>(uid: string, path: P, value: P extends "body" | "name" | "type" | "parameters" | "uid" | "requestUid" | "serverVariables" ? {
|
|
2775
2956
|
type: "requestExample";
|
|
2776
2957
|
uid: string;
|
|
2777
2958
|
name: string;
|
|
2778
2959
|
body: {
|
|
2779
|
-
activeBody: "formData" | "
|
|
2960
|
+
activeBody: "formData" | "binary" | "raw";
|
|
2780
2961
|
formData?: {
|
|
2781
2962
|
value: {
|
|
2782
2963
|
value: string;
|
|
@@ -2791,16 +2972,15 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2791
2972
|
enum?: string[] | undefined;
|
|
2792
2973
|
format?: string | undefined;
|
|
2793
2974
|
file?: any;
|
|
2794
|
-
refUid?: string | undefined;
|
|
2795
2975
|
nullable?: boolean | undefined;
|
|
2796
2976
|
}[];
|
|
2797
2977
|
encoding: "form-data" | "urlencoded";
|
|
2798
2978
|
} | undefined;
|
|
2979
|
+
binary?: Blob | undefined;
|
|
2799
2980
|
raw?: {
|
|
2800
2981
|
value: string;
|
|
2801
2982
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2802
2983
|
} | undefined;
|
|
2803
|
-
binary?: Blob | undefined;
|
|
2804
2984
|
};
|
|
2805
2985
|
requestUid: string;
|
|
2806
2986
|
parameters: {
|
|
@@ -2817,7 +2997,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2817
2997
|
enum?: string[] | undefined;
|
|
2818
2998
|
format?: string | undefined;
|
|
2819
2999
|
file?: any;
|
|
2820
|
-
refUid?: string | undefined;
|
|
2821
3000
|
nullable?: boolean | undefined;
|
|
2822
3001
|
}[];
|
|
2823
3002
|
cookies: {
|
|
@@ -2833,7 +3012,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2833
3012
|
enum?: string[] | undefined;
|
|
2834
3013
|
format?: string | undefined;
|
|
2835
3014
|
file?: any;
|
|
2836
|
-
refUid?: string | undefined;
|
|
2837
3015
|
nullable?: boolean | undefined;
|
|
2838
3016
|
}[];
|
|
2839
3017
|
query: {
|
|
@@ -2849,7 +3027,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2849
3027
|
enum?: string[] | undefined;
|
|
2850
3028
|
format?: string | undefined;
|
|
2851
3029
|
file?: any;
|
|
2852
|
-
refUid?: string | undefined;
|
|
2853
3030
|
nullable?: boolean | undefined;
|
|
2854
3031
|
}[];
|
|
2855
3032
|
headers: {
|
|
@@ -2865,7 +3042,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2865
3042
|
enum?: string[] | undefined;
|
|
2866
3043
|
format?: string | undefined;
|
|
2867
3044
|
file?: any;
|
|
2868
|
-
refUid?: string | undefined;
|
|
2869
3045
|
nullable?: boolean | undefined;
|
|
2870
3046
|
}[];
|
|
2871
3047
|
};
|
|
@@ -2875,7 +3051,7 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2875
3051
|
uid: string;
|
|
2876
3052
|
name: string;
|
|
2877
3053
|
body: {
|
|
2878
|
-
activeBody: "formData" | "
|
|
3054
|
+
activeBody: "formData" | "binary" | "raw";
|
|
2879
3055
|
formData?: {
|
|
2880
3056
|
value: {
|
|
2881
3057
|
value: string;
|
|
@@ -2890,16 +3066,15 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2890
3066
|
enum?: string[] | undefined;
|
|
2891
3067
|
format?: string | undefined;
|
|
2892
3068
|
file?: any;
|
|
2893
|
-
refUid?: string | undefined;
|
|
2894
3069
|
nullable?: boolean | undefined;
|
|
2895
3070
|
}[];
|
|
2896
3071
|
encoding: "form-data" | "urlencoded";
|
|
2897
3072
|
} | undefined;
|
|
3073
|
+
binary?: Blob | undefined;
|
|
2898
3074
|
raw?: {
|
|
2899
3075
|
value: string;
|
|
2900
3076
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2901
3077
|
} | undefined;
|
|
2902
|
-
binary?: Blob | undefined;
|
|
2903
3078
|
};
|
|
2904
3079
|
requestUid: string;
|
|
2905
3080
|
parameters: {
|
|
@@ -2916,7 +3091,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2916
3091
|
enum?: string[] | undefined;
|
|
2917
3092
|
format?: string | undefined;
|
|
2918
3093
|
file?: any;
|
|
2919
|
-
refUid?: string | undefined;
|
|
2920
3094
|
nullable?: boolean | undefined;
|
|
2921
3095
|
}[];
|
|
2922
3096
|
cookies: {
|
|
@@ -2932,7 +3106,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2932
3106
|
enum?: string[] | undefined;
|
|
2933
3107
|
format?: string | undefined;
|
|
2934
3108
|
file?: any;
|
|
2935
|
-
refUid?: string | undefined;
|
|
2936
3109
|
nullable?: boolean | undefined;
|
|
2937
3110
|
}[];
|
|
2938
3111
|
query: {
|
|
@@ -2948,7 +3121,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2948
3121
|
enum?: string[] | undefined;
|
|
2949
3122
|
format?: string | undefined;
|
|
2950
3123
|
file?: any;
|
|
2951
|
-
refUid?: string | undefined;
|
|
2952
3124
|
nullable?: boolean | undefined;
|
|
2953
3125
|
}[];
|
|
2954
3126
|
headers: {
|
|
@@ -2964,7 +3136,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2964
3136
|
enum?: string[] | undefined;
|
|
2965
3137
|
format?: string | undefined;
|
|
2966
3138
|
file?: any;
|
|
2967
|
-
refUid?: string | undefined;
|
|
2968
3139
|
nullable?: boolean | undefined;
|
|
2969
3140
|
}[];
|
|
2970
3141
|
};
|
|
@@ -2974,7 +3145,7 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2974
3145
|
uid: string;
|
|
2975
3146
|
name: string;
|
|
2976
3147
|
body: {
|
|
2977
|
-
activeBody: "formData" | "
|
|
3148
|
+
activeBody: "formData" | "binary" | "raw";
|
|
2978
3149
|
formData?: {
|
|
2979
3150
|
value: {
|
|
2980
3151
|
value: string;
|
|
@@ -2989,16 +3160,15 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
2989
3160
|
enum?: string[] | undefined;
|
|
2990
3161
|
format?: string | undefined;
|
|
2991
3162
|
file?: any;
|
|
2992
|
-
refUid?: string | undefined;
|
|
2993
3163
|
nullable?: boolean | undefined;
|
|
2994
3164
|
}[];
|
|
2995
3165
|
encoding: "form-data" | "urlencoded";
|
|
2996
3166
|
} | undefined;
|
|
3167
|
+
binary?: Blob | undefined;
|
|
2997
3168
|
raw?: {
|
|
2998
3169
|
value: string;
|
|
2999
3170
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
3000
3171
|
} | undefined;
|
|
3001
|
-
binary?: Blob | undefined;
|
|
3002
3172
|
};
|
|
3003
3173
|
requestUid: string;
|
|
3004
3174
|
parameters: {
|
|
@@ -3015,7 +3185,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
3015
3185
|
enum?: string[] | undefined;
|
|
3016
3186
|
format?: string | undefined;
|
|
3017
3187
|
file?: any;
|
|
3018
|
-
refUid?: string | undefined;
|
|
3019
3188
|
nullable?: boolean | undefined;
|
|
3020
3189
|
}[];
|
|
3021
3190
|
cookies: {
|
|
@@ -3031,7 +3200,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
3031
3200
|
enum?: string[] | undefined;
|
|
3032
3201
|
format?: string | undefined;
|
|
3033
3202
|
file?: any;
|
|
3034
|
-
refUid?: string | undefined;
|
|
3035
3203
|
nullable?: boolean | undefined;
|
|
3036
3204
|
}[];
|
|
3037
3205
|
query: {
|
|
@@ -3047,7 +3215,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
3047
3215
|
enum?: string[] | undefined;
|
|
3048
3216
|
format?: string | undefined;
|
|
3049
3217
|
file?: any;
|
|
3050
|
-
refUid?: string | undefined;
|
|
3051
3218
|
nullable?: boolean | undefined;
|
|
3052
3219
|
}[];
|
|
3053
3220
|
headers: {
|
|
@@ -3063,7 +3230,6 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
3063
3230
|
enum?: string[] | undefined;
|
|
3064
3231
|
format?: string | undefined;
|
|
3065
3232
|
file?: any;
|
|
3066
|
-
refUid?: string | undefined;
|
|
3067
3233
|
nullable?: boolean | undefined;
|
|
3068
3234
|
}[];
|
|
3069
3235
|
};
|
|
@@ -3606,14 +3772,14 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
3606
3772
|
enum?: [string, ...string[]];
|
|
3607
3773
|
}> | undefined;
|
|
3608
3774
|
}) => void;
|
|
3609
|
-
edit: <P extends "
|
|
3775
|
+
edit: <P extends "description" | "url" | "uid" | "variables" | `variables.${string}`>(uid: string, path: P, value: P extends "description" | "url" | "uid" | "variables" ? {
|
|
3610
3776
|
uid: string;
|
|
3611
3777
|
url: string;
|
|
3612
3778
|
description?: string | undefined;
|
|
3613
3779
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
3614
3780
|
enum?: [string, ...string[]];
|
|
3615
3781
|
}> | undefined;
|
|
3616
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
3782
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "url" | "uid" | "variables" ? R extends Path<{
|
|
3617
3783
|
uid: string;
|
|
3618
3784
|
url: string;
|
|
3619
3785
|
description?: string | undefined;
|
|
@@ -3628,14 +3794,14 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
3628
3794
|
enum?: [string, ...string[]];
|
|
3629
3795
|
}> | undefined;
|
|
3630
3796
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3631
|
-
untrackedEdit: <P extends "
|
|
3797
|
+
untrackedEdit: <P extends "description" | "url" | "uid" | "variables" | `variables.${string}`>(uid: string, path: P, value: P extends "description" | "url" | "uid" | "variables" ? {
|
|
3632
3798
|
uid: string;
|
|
3633
3799
|
url: string;
|
|
3634
3800
|
description?: string | undefined;
|
|
3635
3801
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
3636
3802
|
enum?: [string, ...string[]];
|
|
3637
3803
|
}> | undefined;
|
|
3638
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
3804
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "url" | "uid" | "variables" ? R extends Path<{
|
|
3639
3805
|
uid: string;
|
|
3640
3806
|
url: string;
|
|
3641
3807
|
description?: string | undefined;
|
|
@@ -3659,124 +3825,124 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
3659
3825
|
type: "tag";
|
|
3660
3826
|
uid: string;
|
|
3661
3827
|
name: string;
|
|
3662
|
-
'x-scalar-children': {
|
|
3663
|
-
tagName: string;
|
|
3664
|
-
}[];
|
|
3665
3828
|
children: string[];
|
|
3666
3829
|
description?: string | undefined;
|
|
3667
3830
|
externalDocs?: {
|
|
3668
3831
|
url: string;
|
|
3669
3832
|
description?: string | undefined;
|
|
3670
3833
|
} | undefined;
|
|
3834
|
+
'x-scalar-children'?: {
|
|
3835
|
+
tagName: string;
|
|
3836
|
+
}[] | undefined;
|
|
3671
3837
|
}) => void;
|
|
3672
3838
|
add: (payload: import("@scalar/oas-utils/entities/spec").TagPayload, collectionUid: string) => void | {
|
|
3673
3839
|
type: "tag";
|
|
3674
3840
|
uid: string;
|
|
3675
3841
|
name: string;
|
|
3676
|
-
'x-scalar-children': {
|
|
3677
|
-
tagName: string;
|
|
3678
|
-
}[];
|
|
3679
3842
|
children: string[];
|
|
3680
3843
|
description?: string | undefined;
|
|
3681
3844
|
externalDocs?: {
|
|
3682
3845
|
url: string;
|
|
3683
3846
|
description?: string | undefined;
|
|
3684
3847
|
} | undefined;
|
|
3848
|
+
'x-scalar-children'?: {
|
|
3849
|
+
tagName: string;
|
|
3850
|
+
}[] | undefined;
|
|
3685
3851
|
};
|
|
3686
3852
|
delete: (tag: import("@scalar/oas-utils/entities/spec").Tag, collectionUid: string) => void;
|
|
3687
3853
|
set: (item: {
|
|
3688
3854
|
type: "tag";
|
|
3689
3855
|
uid: string;
|
|
3690
3856
|
name: string;
|
|
3691
|
-
'x-scalar-children': {
|
|
3692
|
-
tagName: string;
|
|
3693
|
-
}[];
|
|
3694
3857
|
children: string[];
|
|
3695
3858
|
description?: string | undefined;
|
|
3696
3859
|
externalDocs?: {
|
|
3697
3860
|
url: string;
|
|
3698
3861
|
description?: string | undefined;
|
|
3699
3862
|
} | undefined;
|
|
3863
|
+
'x-scalar-children'?: {
|
|
3864
|
+
tagName: string;
|
|
3865
|
+
}[] | undefined;
|
|
3700
3866
|
}) => void;
|
|
3701
|
-
edit: <P extends "name" | "type" | "children" | "description" | "
|
|
3867
|
+
edit: <P extends "name" | "type" | "children" | "description" | "externalDocs" | "uid" | "externalDocs.description" | "externalDocs.url" | `children.${number}` | "x-scalar-children" | `x-scalar-children.${number}` | `x-scalar-children.${number}.tagName`>(uid: string, path: P, value: P extends "name" | "type" | "children" | "description" | "externalDocs" | "uid" | "x-scalar-children" ? {
|
|
3702
3868
|
type: "tag";
|
|
3703
3869
|
uid: string;
|
|
3704
3870
|
name: string;
|
|
3705
|
-
'x-scalar-children': {
|
|
3706
|
-
tagName: string;
|
|
3707
|
-
}[];
|
|
3708
3871
|
children: string[];
|
|
3709
3872
|
description?: string | undefined;
|
|
3710
3873
|
externalDocs?: {
|
|
3711
3874
|
url: string;
|
|
3712
3875
|
description?: string | undefined;
|
|
3713
3876
|
} | undefined;
|
|
3714
|
-
|
|
3877
|
+
'x-scalar-children'?: {
|
|
3878
|
+
tagName: string;
|
|
3879
|
+
}[] | undefined;
|
|
3880
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "type" | "children" | "description" | "externalDocs" | "uid" | "x-scalar-children" ? R extends Path<{
|
|
3715
3881
|
type: "tag";
|
|
3716
3882
|
uid: string;
|
|
3717
3883
|
name: string;
|
|
3718
|
-
'x-scalar-children': {
|
|
3719
|
-
tagName: string;
|
|
3720
|
-
}[];
|
|
3721
3884
|
children: string[];
|
|
3722
3885
|
description?: string | undefined;
|
|
3723
3886
|
externalDocs?: {
|
|
3724
3887
|
url: string;
|
|
3725
3888
|
description?: string | undefined;
|
|
3726
3889
|
} | undefined;
|
|
3890
|
+
'x-scalar-children'?: {
|
|
3891
|
+
tagName: string;
|
|
3892
|
+
}[] | undefined;
|
|
3727
3893
|
}[K]> ? PathValue<{
|
|
3728
3894
|
type: "tag";
|
|
3729
3895
|
uid: string;
|
|
3730
3896
|
name: string;
|
|
3731
|
-
'x-scalar-children': {
|
|
3732
|
-
tagName: string;
|
|
3733
|
-
}[];
|
|
3734
3897
|
children: string[];
|
|
3735
3898
|
description?: string | undefined;
|
|
3736
3899
|
externalDocs?: {
|
|
3737
3900
|
url: string;
|
|
3738
3901
|
description?: string | undefined;
|
|
3739
3902
|
} | undefined;
|
|
3903
|
+
'x-scalar-children'?: {
|
|
3904
|
+
tagName: string;
|
|
3905
|
+
}[] | undefined;
|
|
3740
3906
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3741
|
-
untrackedEdit: <P extends "name" | "type" | "children" | "description" | "
|
|
3907
|
+
untrackedEdit: <P extends "name" | "type" | "children" | "description" | "externalDocs" | "uid" | "externalDocs.description" | "externalDocs.url" | `children.${number}` | "x-scalar-children" | `x-scalar-children.${number}` | `x-scalar-children.${number}.tagName`>(uid: string, path: P, value: P extends "name" | "type" | "children" | "description" | "externalDocs" | "uid" | "x-scalar-children" ? {
|
|
3742
3908
|
type: "tag";
|
|
3743
3909
|
uid: string;
|
|
3744
3910
|
name: string;
|
|
3745
|
-
'x-scalar-children': {
|
|
3746
|
-
tagName: string;
|
|
3747
|
-
}[];
|
|
3748
3911
|
children: string[];
|
|
3749
3912
|
description?: string | undefined;
|
|
3750
3913
|
externalDocs?: {
|
|
3751
3914
|
url: string;
|
|
3752
3915
|
description?: string | undefined;
|
|
3753
3916
|
} | undefined;
|
|
3754
|
-
|
|
3917
|
+
'x-scalar-children'?: {
|
|
3918
|
+
tagName: string;
|
|
3919
|
+
}[] | undefined;
|
|
3920
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "type" | "children" | "description" | "externalDocs" | "uid" | "x-scalar-children" ? R extends Path<{
|
|
3755
3921
|
type: "tag";
|
|
3756
3922
|
uid: string;
|
|
3757
3923
|
name: string;
|
|
3758
|
-
'x-scalar-children': {
|
|
3759
|
-
tagName: string;
|
|
3760
|
-
}[];
|
|
3761
3924
|
children: string[];
|
|
3762
3925
|
description?: string | undefined;
|
|
3763
3926
|
externalDocs?: {
|
|
3764
3927
|
url: string;
|
|
3765
3928
|
description?: string | undefined;
|
|
3766
3929
|
} | undefined;
|
|
3930
|
+
'x-scalar-children'?: {
|
|
3931
|
+
tagName: string;
|
|
3932
|
+
}[] | undefined;
|
|
3767
3933
|
}[K]> ? PathValue<{
|
|
3768
3934
|
type: "tag";
|
|
3769
3935
|
uid: string;
|
|
3770
3936
|
name: string;
|
|
3771
|
-
'x-scalar-children': {
|
|
3772
|
-
tagName: string;
|
|
3773
|
-
}[];
|
|
3774
3937
|
children: string[];
|
|
3775
3938
|
description?: string | undefined;
|
|
3776
3939
|
externalDocs?: {
|
|
3777
3940
|
url: string;
|
|
3778
3941
|
description?: string | undefined;
|
|
3779
3942
|
} | undefined;
|
|
3943
|
+
'x-scalar-children'?: {
|
|
3944
|
+
tagName: string;
|
|
3945
|
+
}[] | undefined;
|
|
3780
3946
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3781
3947
|
undo: (uid: string) => void;
|
|
3782
3948
|
redo: (uid: string) => void;
|
|
@@ -4050,6 +4216,19 @@ export declare const useWorkspace: () => {
|
|
|
4050
4216
|
} | undefined;
|
|
4051
4217
|
components?: Record<string, unknown> | undefined;
|
|
4052
4218
|
webhooks?: Record<string, unknown> | undefined;
|
|
4219
|
+
'x-scalar-environment'?: string | undefined;
|
|
4220
|
+
'x-scalar-environments'?: Record<string, {
|
|
4221
|
+
variables: Record<string, string | {
|
|
4222
|
+
default: string;
|
|
4223
|
+
description?: string | undefined;
|
|
4224
|
+
}>;
|
|
4225
|
+
description?: string | undefined;
|
|
4226
|
+
color?: string | undefined;
|
|
4227
|
+
}> | undefined;
|
|
4228
|
+
'x-scalar-secrets'?: Record<string, {
|
|
4229
|
+
description?: string | undefined;
|
|
4230
|
+
example?: string | undefined;
|
|
4231
|
+
}> | undefined;
|
|
4053
4232
|
documentUrl?: string | undefined;
|
|
4054
4233
|
integration?: string | null | undefined;
|
|
4055
4234
|
}>;
|
|
@@ -4057,15 +4236,15 @@ export declare const useWorkspace: () => {
|
|
|
4057
4236
|
type: "tag";
|
|
4058
4237
|
uid: string;
|
|
4059
4238
|
name: string;
|
|
4060
|
-
'x-scalar-children': {
|
|
4061
|
-
tagName: string;
|
|
4062
|
-
}[];
|
|
4063
4239
|
children: string[];
|
|
4064
4240
|
description?: string | undefined;
|
|
4065
4241
|
externalDocs?: {
|
|
4066
4242
|
url: string;
|
|
4067
4243
|
description?: string | undefined;
|
|
4068
4244
|
} | undefined;
|
|
4245
|
+
'x-scalar-children'?: {
|
|
4246
|
+
tagName: string;
|
|
4247
|
+
}[] | undefined;
|
|
4069
4248
|
}>;
|
|
4070
4249
|
cookies: Record<string, {
|
|
4071
4250
|
value: string;
|
|
@@ -4092,7 +4271,7 @@ export declare const useWorkspace: () => {
|
|
|
4092
4271
|
uid: string;
|
|
4093
4272
|
name: string;
|
|
4094
4273
|
body: {
|
|
4095
|
-
activeBody: "formData" | "
|
|
4274
|
+
activeBody: "formData" | "binary" | "raw";
|
|
4096
4275
|
formData?: {
|
|
4097
4276
|
value: {
|
|
4098
4277
|
value: string;
|
|
@@ -4107,16 +4286,15 @@ export declare const useWorkspace: () => {
|
|
|
4107
4286
|
enum?: string[] | undefined;
|
|
4108
4287
|
format?: string | undefined;
|
|
4109
4288
|
file?: any;
|
|
4110
|
-
refUid?: string | undefined;
|
|
4111
4289
|
nullable?: boolean | undefined;
|
|
4112
4290
|
}[];
|
|
4113
4291
|
encoding: "form-data" | "urlencoded";
|
|
4114
4292
|
} | undefined;
|
|
4293
|
+
binary?: Blob | undefined;
|
|
4115
4294
|
raw?: {
|
|
4116
4295
|
value: string;
|
|
4117
4296
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
4118
4297
|
} | undefined;
|
|
4119
|
-
binary?: Blob | undefined;
|
|
4120
4298
|
};
|
|
4121
4299
|
requestUid: string;
|
|
4122
4300
|
parameters: {
|
|
@@ -4133,7 +4311,6 @@ export declare const useWorkspace: () => {
|
|
|
4133
4311
|
enum?: string[] | undefined;
|
|
4134
4312
|
format?: string | undefined;
|
|
4135
4313
|
file?: any;
|
|
4136
|
-
refUid?: string | undefined;
|
|
4137
4314
|
nullable?: boolean | undefined;
|
|
4138
4315
|
}[];
|
|
4139
4316
|
cookies: {
|
|
@@ -4149,7 +4326,6 @@ export declare const useWorkspace: () => {
|
|
|
4149
4326
|
enum?: string[] | undefined;
|
|
4150
4327
|
format?: string | undefined;
|
|
4151
4328
|
file?: any;
|
|
4152
|
-
refUid?: string | undefined;
|
|
4153
4329
|
nullable?: boolean | undefined;
|
|
4154
4330
|
}[];
|
|
4155
4331
|
query: {
|
|
@@ -4165,7 +4341,6 @@ export declare const useWorkspace: () => {
|
|
|
4165
4341
|
enum?: string[] | undefined;
|
|
4166
4342
|
format?: string | undefined;
|
|
4167
4343
|
file?: any;
|
|
4168
|
-
refUid?: string | undefined;
|
|
4169
4344
|
nullable?: boolean | undefined;
|
|
4170
4345
|
}[];
|
|
4171
4346
|
headers: {
|
|
@@ -4181,7 +4356,6 @@ export declare const useWorkspace: () => {
|
|
|
4181
4356
|
enum?: string[] | undefined;
|
|
4182
4357
|
format?: string | undefined;
|
|
4183
4358
|
file?: any;
|
|
4184
|
-
refUid?: string | undefined;
|
|
4185
4359
|
nullable?: boolean | undefined;
|
|
4186
4360
|
}[];
|
|
4187
4361
|
};
|
|
@@ -4212,10 +4386,10 @@ export declare const useWorkspace: () => {
|
|
|
4212
4386
|
in: "path" | "query" | "header" | "cookie";
|
|
4213
4387
|
deprecated: boolean;
|
|
4214
4388
|
description?: string | undefined;
|
|
4389
|
+
example?: unknown;
|
|
4215
4390
|
schema?: unknown;
|
|
4216
4391
|
content?: unknown;
|
|
4217
4392
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
4218
|
-
example?: unknown;
|
|
4219
4393
|
examples?: Record<string, {
|
|
4220
4394
|
value?: unknown;
|
|
4221
4395
|
summary?: string | undefined;
|
|
@@ -4354,6 +4528,19 @@ export declare const useWorkspace: () => {
|
|
|
4354
4528
|
} | undefined;
|
|
4355
4529
|
components?: Record<string, unknown> | undefined;
|
|
4356
4530
|
webhooks?: Record<string, unknown> | undefined;
|
|
4531
|
+
'x-scalar-environment'?: string | undefined;
|
|
4532
|
+
'x-scalar-environments'?: Record<string, {
|
|
4533
|
+
variables: Record<string, string | {
|
|
4534
|
+
default: string;
|
|
4535
|
+
description?: string | undefined;
|
|
4536
|
+
}>;
|
|
4537
|
+
description?: string | undefined;
|
|
4538
|
+
color?: string | undefined;
|
|
4539
|
+
}> | undefined;
|
|
4540
|
+
'x-scalar-secrets'?: Record<string, {
|
|
4541
|
+
description?: string | undefined;
|
|
4542
|
+
example?: string | undefined;
|
|
4543
|
+
}> | undefined;
|
|
4357
4544
|
documentUrl?: string | undefined;
|
|
4358
4545
|
integration?: string | null | undefined;
|
|
4359
4546
|
} | undefined>;
|
|
@@ -4363,7 +4550,7 @@ export declare const useWorkspace: () => {
|
|
|
4363
4550
|
uid: string;
|
|
4364
4551
|
name: string;
|
|
4365
4552
|
body: {
|
|
4366
|
-
activeBody: "formData" | "
|
|
4553
|
+
activeBody: "formData" | "binary" | "raw";
|
|
4367
4554
|
formData?: {
|
|
4368
4555
|
value: {
|
|
4369
4556
|
value: string;
|
|
@@ -4378,16 +4565,15 @@ export declare const useWorkspace: () => {
|
|
|
4378
4565
|
enum?: string[] | undefined;
|
|
4379
4566
|
format?: string | undefined;
|
|
4380
4567
|
file?: any;
|
|
4381
|
-
refUid?: string | undefined;
|
|
4382
4568
|
nullable?: boolean | undefined;
|
|
4383
4569
|
}[];
|
|
4384
4570
|
encoding: "form-data" | "urlencoded";
|
|
4385
4571
|
} | undefined;
|
|
4572
|
+
binary?: Blob | undefined;
|
|
4386
4573
|
raw?: {
|
|
4387
4574
|
value: string;
|
|
4388
4575
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
4389
4576
|
} | undefined;
|
|
4390
|
-
binary?: Blob | undefined;
|
|
4391
4577
|
};
|
|
4392
4578
|
requestUid: string;
|
|
4393
4579
|
parameters: {
|
|
@@ -4404,7 +4590,6 @@ export declare const useWorkspace: () => {
|
|
|
4404
4590
|
enum?: string[] | undefined;
|
|
4405
4591
|
format?: string | undefined;
|
|
4406
4592
|
file?: any;
|
|
4407
|
-
refUid?: string | undefined;
|
|
4408
4593
|
nullable?: boolean | undefined;
|
|
4409
4594
|
}[];
|
|
4410
4595
|
cookies: {
|
|
@@ -4420,7 +4605,6 @@ export declare const useWorkspace: () => {
|
|
|
4420
4605
|
enum?: string[] | undefined;
|
|
4421
4606
|
format?: string | undefined;
|
|
4422
4607
|
file?: any;
|
|
4423
|
-
refUid?: string | undefined;
|
|
4424
4608
|
nullable?: boolean | undefined;
|
|
4425
4609
|
}[];
|
|
4426
4610
|
query: {
|
|
@@ -4436,7 +4620,6 @@ export declare const useWorkspace: () => {
|
|
|
4436
4620
|
enum?: string[] | undefined;
|
|
4437
4621
|
format?: string | undefined;
|
|
4438
4622
|
file?: any;
|
|
4439
|
-
refUid?: string | undefined;
|
|
4440
4623
|
nullable?: boolean | undefined;
|
|
4441
4624
|
}[];
|
|
4442
4625
|
headers: {
|
|
@@ -4452,7 +4635,6 @@ export declare const useWorkspace: () => {
|
|
|
4452
4635
|
enum?: string[] | undefined;
|
|
4453
4636
|
format?: string | undefined;
|
|
4454
4637
|
file?: any;
|
|
4455
|
-
refUid?: string | undefined;
|
|
4456
4638
|
nullable?: boolean | undefined;
|
|
4457
4639
|
}[];
|
|
4458
4640
|
};
|
|
@@ -4483,10 +4665,10 @@ export declare const useWorkspace: () => {
|
|
|
4483
4665
|
in: "path" | "query" | "header" | "cookie";
|
|
4484
4666
|
deprecated: boolean;
|
|
4485
4667
|
description?: string | undefined;
|
|
4668
|
+
example?: unknown;
|
|
4486
4669
|
schema?: unknown;
|
|
4487
4670
|
content?: unknown;
|
|
4488
4671
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
4489
|
-
example?: unknown;
|
|
4490
4672
|
examples?: Record<string, {
|
|
4491
4673
|
value?: unknown;
|
|
4492
4674
|
summary?: string | undefined;
|
|
@@ -4606,6 +4788,19 @@ export declare const useWorkspace: () => {
|
|
|
4606
4788
|
} | undefined;
|
|
4607
4789
|
components?: Record<string, unknown> | undefined;
|
|
4608
4790
|
webhooks?: Record<string, unknown> | undefined;
|
|
4791
|
+
'x-scalar-environment'?: string | undefined;
|
|
4792
|
+
'x-scalar-environments'?: Record<string, {
|
|
4793
|
+
variables: Record<string, string | {
|
|
4794
|
+
default: string;
|
|
4795
|
+
description?: string | undefined;
|
|
4796
|
+
}>;
|
|
4797
|
+
description?: string | undefined;
|
|
4798
|
+
color?: string | undefined;
|
|
4799
|
+
}> | undefined;
|
|
4800
|
+
'x-scalar-secrets'?: Record<string, {
|
|
4801
|
+
description?: string | undefined;
|
|
4802
|
+
example?: string | undefined;
|
|
4803
|
+
}> | undefined;
|
|
4609
4804
|
documentUrl?: string | undefined;
|
|
4610
4805
|
integration?: string | null | undefined;
|
|
4611
4806
|
}[]>;
|
|
@@ -4672,6 +4867,19 @@ export declare const useWorkspace: () => {
|
|
|
4672
4867
|
components?: Record<string, unknown> | undefined;
|
|
4673
4868
|
webhooks?: Record<string, unknown> | undefined;
|
|
4674
4869
|
'x-scalar-icon'?: string | undefined;
|
|
4870
|
+
'x-scalar-environment'?: string | undefined;
|
|
4871
|
+
'x-scalar-environments'?: Record<string, {
|
|
4872
|
+
variables: Record<string, string | {
|
|
4873
|
+
default?: string | undefined;
|
|
4874
|
+
description?: string | undefined;
|
|
4875
|
+
}>;
|
|
4876
|
+
description?: string | undefined;
|
|
4877
|
+
color?: string | undefined;
|
|
4878
|
+
}> | undefined;
|
|
4879
|
+
'x-scalar-secrets'?: Record<string, {
|
|
4880
|
+
description?: string | undefined;
|
|
4881
|
+
example?: string | undefined;
|
|
4882
|
+
}> | undefined;
|
|
4675
4883
|
securitySchemes?: string[] | undefined;
|
|
4676
4884
|
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
4677
4885
|
selectedServerUid?: string | undefined;
|
|
@@ -4709,9 +4917,9 @@ export declare const useWorkspace: () => {
|
|
|
4709
4917
|
watchMode?: boolean | undefined;
|
|
4710
4918
|
integration?: string | null | undefined;
|
|
4711
4919
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
4712
|
-
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types
|
|
4920
|
+
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types").ReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
|
|
4713
4921
|
setCollectionSecurity?: boolean;
|
|
4714
|
-
} & Pick<import("@scalar/types
|
|
4922
|
+
} & Pick<import("@scalar/types").ReferenceConfiguration, "servers">) => Promise<{
|
|
4715
4923
|
type: "collection";
|
|
4716
4924
|
uid: string;
|
|
4717
4925
|
children: string[];
|
|
@@ -4777,6 +4985,19 @@ export declare const useWorkspace: () => {
|
|
|
4777
4985
|
} | undefined;
|
|
4778
4986
|
components?: Record<string, unknown> | undefined;
|
|
4779
4987
|
webhooks?: Record<string, unknown> | undefined;
|
|
4988
|
+
'x-scalar-environment'?: string | undefined;
|
|
4989
|
+
'x-scalar-environments'?: Record<string, {
|
|
4990
|
+
variables: Record<string, string | {
|
|
4991
|
+
default: string;
|
|
4992
|
+
description?: string | undefined;
|
|
4993
|
+
}>;
|
|
4994
|
+
description?: string | undefined;
|
|
4995
|
+
color?: string | undefined;
|
|
4996
|
+
}> | undefined;
|
|
4997
|
+
'x-scalar-secrets'?: Record<string, {
|
|
4998
|
+
description?: string | undefined;
|
|
4999
|
+
example?: string | undefined;
|
|
5000
|
+
}> | undefined;
|
|
4780
5001
|
documentUrl?: string | undefined;
|
|
4781
5002
|
integration?: string | null | undefined;
|
|
4782
5003
|
} | undefined>;
|
|
@@ -4811,6 +5032,19 @@ export declare const useWorkspace: () => {
|
|
|
4811
5032
|
components?: Record<string, unknown> | undefined;
|
|
4812
5033
|
webhooks?: Record<string, unknown> | undefined;
|
|
4813
5034
|
'x-scalar-icon'?: string | undefined;
|
|
5035
|
+
'x-scalar-environment'?: string | undefined;
|
|
5036
|
+
'x-scalar-environments'?: Record<string, {
|
|
5037
|
+
variables: Record<string, string | {
|
|
5038
|
+
default?: string | undefined;
|
|
5039
|
+
description?: string | undefined;
|
|
5040
|
+
}>;
|
|
5041
|
+
description?: string | undefined;
|
|
5042
|
+
color?: string | undefined;
|
|
5043
|
+
}> | undefined;
|
|
5044
|
+
'x-scalar-secrets'?: Record<string, {
|
|
5045
|
+
description?: string | undefined;
|
|
5046
|
+
example?: string | undefined;
|
|
5047
|
+
}> | undefined;
|
|
4814
5048
|
securitySchemes?: string[] | undefined;
|
|
4815
5049
|
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
4816
5050
|
selectedServerUid?: string | undefined;
|
|
@@ -4848,9 +5082,9 @@ export declare const useWorkspace: () => {
|
|
|
4848
5082
|
watchMode?: boolean | undefined;
|
|
4849
5083
|
integration?: string | null | undefined;
|
|
4850
5084
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
4851
|
-
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types
|
|
5085
|
+
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types").ReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
|
|
4852
5086
|
setCollectionSecurity?: boolean;
|
|
4853
|
-
} & Pick<import("@scalar/types
|
|
5087
|
+
} & Pick<import("@scalar/types").ReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types").ReferenceConfiguration, "proxy">) => Promise<import("../libs/index.js").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
|
|
4854
5088
|
type?: "collection" | undefined;
|
|
4855
5089
|
uid?: string | undefined;
|
|
4856
5090
|
externalDocs?: {
|
|
@@ -4881,6 +5115,19 @@ export declare const useWorkspace: () => {
|
|
|
4881
5115
|
components?: Record<string, unknown> | undefined;
|
|
4882
5116
|
webhooks?: Record<string, unknown> | undefined;
|
|
4883
5117
|
'x-scalar-icon'?: string | undefined;
|
|
5118
|
+
'x-scalar-environment'?: string | undefined;
|
|
5119
|
+
'x-scalar-environments'?: Record<string, {
|
|
5120
|
+
variables: Record<string, string | {
|
|
5121
|
+
default?: string | undefined;
|
|
5122
|
+
description?: string | undefined;
|
|
5123
|
+
}>;
|
|
5124
|
+
description?: string | undefined;
|
|
5125
|
+
color?: string | undefined;
|
|
5126
|
+
}> | undefined;
|
|
5127
|
+
'x-scalar-secrets'?: Record<string, {
|
|
5128
|
+
description?: string | undefined;
|
|
5129
|
+
example?: string | undefined;
|
|
5130
|
+
}> | undefined;
|
|
4884
5131
|
securitySchemes?: string[] | undefined;
|
|
4885
5132
|
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
4886
5133
|
selectedServerUid?: string | undefined;
|
|
@@ -4918,9 +5165,9 @@ export declare const useWorkspace: () => {
|
|
|
4918
5165
|
watchMode?: boolean | undefined;
|
|
4919
5166
|
integration?: string | null | undefined;
|
|
4920
5167
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
4921
|
-
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types
|
|
5168
|
+
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types").ReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
|
|
4922
5169
|
setCollectionSecurity?: boolean;
|
|
4923
|
-
} & Pick<import("@scalar/types
|
|
5170
|
+
} & Pick<import("@scalar/types").ReferenceConfiguration, "servers">) => Promise<{
|
|
4924
5171
|
type: "collection";
|
|
4925
5172
|
uid: string;
|
|
4926
5173
|
children: string[];
|
|
@@ -4986,6 +5233,19 @@ export declare const useWorkspace: () => {
|
|
|
4986
5233
|
} | undefined;
|
|
4987
5234
|
components?: Record<string, unknown> | undefined;
|
|
4988
5235
|
webhooks?: Record<string, unknown> | undefined;
|
|
5236
|
+
'x-scalar-environment'?: string | undefined;
|
|
5237
|
+
'x-scalar-environments'?: Record<string, {
|
|
5238
|
+
variables: Record<string, string | {
|
|
5239
|
+
default: string;
|
|
5240
|
+
description?: string | undefined;
|
|
5241
|
+
}>;
|
|
5242
|
+
description?: string | undefined;
|
|
5243
|
+
color?: string | undefined;
|
|
5244
|
+
}> | undefined;
|
|
5245
|
+
'x-scalar-secrets'?: Record<string, {
|
|
5246
|
+
description?: string | undefined;
|
|
5247
|
+
example?: string | undefined;
|
|
5248
|
+
}> | undefined;
|
|
4989
5249
|
documentUrl?: string | undefined;
|
|
4990
5250
|
integration?: string | null | undefined;
|
|
4991
5251
|
} | undefined>>>>>;
|
|
@@ -5017,7 +5277,7 @@ export declare const useWorkspace: () => {
|
|
|
5017
5277
|
partitioned?: boolean | undefined;
|
|
5018
5278
|
secure?: boolean | undefined;
|
|
5019
5279
|
}) => void;
|
|
5020
|
-
edit: <P extends "
|
|
5280
|
+
edit: <P extends "name" | "value" | "path" | "uid" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure">(uid: string, path: P, value: P extends "name" | "value" | "path" | "uid" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? {
|
|
5021
5281
|
value: string;
|
|
5022
5282
|
uid: string;
|
|
5023
5283
|
name: string;
|
|
@@ -5029,7 +5289,7 @@ export declare const useWorkspace: () => {
|
|
|
5029
5289
|
maxAge?: number | undefined;
|
|
5030
5290
|
partitioned?: boolean | undefined;
|
|
5031
5291
|
secure?: boolean | undefined;
|
|
5032
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
5292
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "value" | "path" | "uid" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? R extends Path<{
|
|
5033
5293
|
value: string;
|
|
5034
5294
|
uid: string;
|
|
5035
5295
|
name: string;
|
|
@@ -5054,7 +5314,7 @@ export declare const useWorkspace: () => {
|
|
|
5054
5314
|
partitioned?: boolean | undefined;
|
|
5055
5315
|
secure?: boolean | undefined;
|
|
5056
5316
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
5057
|
-
untrackedEdit: <P extends "
|
|
5317
|
+
untrackedEdit: <P extends "name" | "value" | "path" | "uid" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure">(uid: string, path: P, value: P extends "name" | "value" | "path" | "uid" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? {
|
|
5058
5318
|
value: string;
|
|
5059
5319
|
uid: string;
|
|
5060
5320
|
name: string;
|
|
@@ -5066,7 +5326,7 @@ export declare const useWorkspace: () => {
|
|
|
5066
5326
|
maxAge?: number | undefined;
|
|
5067
5327
|
partitioned?: boolean | undefined;
|
|
5068
5328
|
secure?: boolean | undefined;
|
|
5069
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
5329
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "value" | "path" | "uid" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? R extends Path<{
|
|
5070
5330
|
value: string;
|
|
5071
5331
|
uid: string;
|
|
5072
5332
|
name: string;
|
|
@@ -5162,6 +5422,19 @@ export declare const useWorkspace: () => {
|
|
|
5162
5422
|
} | undefined;
|
|
5163
5423
|
components?: Record<string, unknown> | undefined;
|
|
5164
5424
|
webhooks?: Record<string, unknown> | undefined;
|
|
5425
|
+
'x-scalar-environment'?: string | undefined;
|
|
5426
|
+
'x-scalar-environments'?: Record<string, {
|
|
5427
|
+
variables: Record<string, string | {
|
|
5428
|
+
default: string;
|
|
5429
|
+
description?: string | undefined;
|
|
5430
|
+
}>;
|
|
5431
|
+
description?: string | undefined;
|
|
5432
|
+
color?: string | undefined;
|
|
5433
|
+
}> | undefined;
|
|
5434
|
+
'x-scalar-secrets'?: Record<string, {
|
|
5435
|
+
description?: string | undefined;
|
|
5436
|
+
example?: string | undefined;
|
|
5437
|
+
}> | undefined;
|
|
5165
5438
|
documentUrl?: string | undefined;
|
|
5166
5439
|
integration?: string | null | undefined;
|
|
5167
5440
|
}) => void;
|
|
@@ -5231,6 +5504,19 @@ export declare const useWorkspace: () => {
|
|
|
5231
5504
|
} | undefined;
|
|
5232
5505
|
components?: Record<string, unknown> | undefined;
|
|
5233
5506
|
webhooks?: Record<string, unknown> | undefined;
|
|
5507
|
+
'x-scalar-environment'?: string | undefined;
|
|
5508
|
+
'x-scalar-environments'?: Record<string, {
|
|
5509
|
+
variables: Record<string, string | {
|
|
5510
|
+
default: string;
|
|
5511
|
+
description?: string | undefined;
|
|
5512
|
+
}>;
|
|
5513
|
+
description?: string | undefined;
|
|
5514
|
+
color?: string | undefined;
|
|
5515
|
+
}> | undefined;
|
|
5516
|
+
'x-scalar-secrets'?: Record<string, {
|
|
5517
|
+
description?: string | undefined;
|
|
5518
|
+
example?: string | undefined;
|
|
5519
|
+
}> | undefined;
|
|
5234
5520
|
documentUrl?: string | undefined;
|
|
5235
5521
|
integration?: string | null | undefined;
|
|
5236
5522
|
};
|
|
@@ -5301,10 +5587,23 @@ export declare const useWorkspace: () => {
|
|
|
5301
5587
|
} | undefined;
|
|
5302
5588
|
components?: Record<string, unknown> | undefined;
|
|
5303
5589
|
webhooks?: Record<string, unknown> | undefined;
|
|
5590
|
+
'x-scalar-environment'?: string | undefined;
|
|
5591
|
+
'x-scalar-environments'?: Record<string, {
|
|
5592
|
+
variables: Record<string, string | {
|
|
5593
|
+
default: string;
|
|
5594
|
+
description?: string | undefined;
|
|
5595
|
+
}>;
|
|
5596
|
+
description?: string | undefined;
|
|
5597
|
+
color?: string | undefined;
|
|
5598
|
+
}> | undefined;
|
|
5599
|
+
'x-scalar-secrets'?: Record<string, {
|
|
5600
|
+
description?: string | undefined;
|
|
5601
|
+
example?: string | undefined;
|
|
5602
|
+
}> | undefined;
|
|
5304
5603
|
documentUrl?: string | undefined;
|
|
5305
5604
|
integration?: string | null | undefined;
|
|
5306
5605
|
}) => void;
|
|
5307
|
-
edit: <P extends "
|
|
5606
|
+
edit: <P extends "type" | "children" | "tags" | "security" | "externalDocs" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "requests" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `servers.${number}` | `selectedSecuritySchemeUids.${number}` | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" | `children.${number}` | "info.summary" | "info.title" | "info.description" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.email" | "info.contact.url" | "info.license.name" | "info.license.url" | "info.license.identifier" | `auth.${string}` | `securitySchemes.${number}` | `requests.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-environments.${string}` | `x-scalar-secrets.${string}`>(uid: string, path: P, value: P extends "type" | "children" | "tags" | "security" | "externalDocs" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "requests" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? {
|
|
5308
5607
|
type: "collection";
|
|
5309
5608
|
uid: string;
|
|
5310
5609
|
children: string[];
|
|
@@ -5370,9 +5669,22 @@ export declare const useWorkspace: () => {
|
|
|
5370
5669
|
} | undefined;
|
|
5371
5670
|
components?: Record<string, unknown> | undefined;
|
|
5372
5671
|
webhooks?: Record<string, unknown> | undefined;
|
|
5672
|
+
'x-scalar-environment'?: string | undefined;
|
|
5673
|
+
'x-scalar-environments'?: Record<string, {
|
|
5674
|
+
variables: Record<string, string | {
|
|
5675
|
+
default: string;
|
|
5676
|
+
description?: string | undefined;
|
|
5677
|
+
}>;
|
|
5678
|
+
description?: string | undefined;
|
|
5679
|
+
color?: string | undefined;
|
|
5680
|
+
}> | undefined;
|
|
5681
|
+
'x-scalar-secrets'?: Record<string, {
|
|
5682
|
+
description?: string | undefined;
|
|
5683
|
+
example?: string | undefined;
|
|
5684
|
+
}> | undefined;
|
|
5373
5685
|
documentUrl?: string | undefined;
|
|
5374
5686
|
integration?: string | null | undefined;
|
|
5375
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
5687
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "tags" | "security" | "externalDocs" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "requests" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? R extends Path<{
|
|
5376
5688
|
type: "collection";
|
|
5377
5689
|
uid: string;
|
|
5378
5690
|
children: string[];
|
|
@@ -5438,6 +5750,19 @@ export declare const useWorkspace: () => {
|
|
|
5438
5750
|
} | undefined;
|
|
5439
5751
|
components?: Record<string, unknown> | undefined;
|
|
5440
5752
|
webhooks?: Record<string, unknown> | undefined;
|
|
5753
|
+
'x-scalar-environment'?: string | undefined;
|
|
5754
|
+
'x-scalar-environments'?: Record<string, {
|
|
5755
|
+
variables: Record<string, string | {
|
|
5756
|
+
default: string;
|
|
5757
|
+
description?: string | undefined;
|
|
5758
|
+
}>;
|
|
5759
|
+
description?: string | undefined;
|
|
5760
|
+
color?: string | undefined;
|
|
5761
|
+
}> | undefined;
|
|
5762
|
+
'x-scalar-secrets'?: Record<string, {
|
|
5763
|
+
description?: string | undefined;
|
|
5764
|
+
example?: string | undefined;
|
|
5765
|
+
}> | undefined;
|
|
5441
5766
|
documentUrl?: string | undefined;
|
|
5442
5767
|
integration?: string | null | undefined;
|
|
5443
5768
|
}[K]> ? PathValue<{
|
|
@@ -5506,10 +5831,23 @@ export declare const useWorkspace: () => {
|
|
|
5506
5831
|
} | undefined;
|
|
5507
5832
|
components?: Record<string, unknown> | undefined;
|
|
5508
5833
|
webhooks?: Record<string, unknown> | undefined;
|
|
5834
|
+
'x-scalar-environment'?: string | undefined;
|
|
5835
|
+
'x-scalar-environments'?: Record<string, {
|
|
5836
|
+
variables: Record<string, string | {
|
|
5837
|
+
default: string;
|
|
5838
|
+
description?: string | undefined;
|
|
5839
|
+
}>;
|
|
5840
|
+
description?: string | undefined;
|
|
5841
|
+
color?: string | undefined;
|
|
5842
|
+
}> | undefined;
|
|
5843
|
+
'x-scalar-secrets'?: Record<string, {
|
|
5844
|
+
description?: string | undefined;
|
|
5845
|
+
example?: string | undefined;
|
|
5846
|
+
}> | undefined;
|
|
5509
5847
|
documentUrl?: string | undefined;
|
|
5510
5848
|
integration?: string | null | undefined;
|
|
5511
5849
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
5512
|
-
untrackedEdit: <P extends "
|
|
5850
|
+
untrackedEdit: <P extends "type" | "children" | "tags" | "security" | "externalDocs" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "requests" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `servers.${number}` | `selectedSecuritySchemeUids.${number}` | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" | `children.${number}` | "info.summary" | "info.title" | "info.description" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.email" | "info.contact.url" | "info.license.name" | "info.license.url" | "info.license.identifier" | `auth.${string}` | `securitySchemes.${number}` | `requests.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-environments.${string}` | `x-scalar-secrets.${string}`>(uid: string, path: P, value: P extends "type" | "children" | "tags" | "security" | "externalDocs" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "requests" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? {
|
|
5513
5851
|
type: "collection";
|
|
5514
5852
|
uid: string;
|
|
5515
5853
|
children: string[];
|
|
@@ -5575,9 +5913,22 @@ export declare const useWorkspace: () => {
|
|
|
5575
5913
|
} | undefined;
|
|
5576
5914
|
components?: Record<string, unknown> | undefined;
|
|
5577
5915
|
webhooks?: Record<string, unknown> | undefined;
|
|
5916
|
+
'x-scalar-environment'?: string | undefined;
|
|
5917
|
+
'x-scalar-environments'?: Record<string, {
|
|
5918
|
+
variables: Record<string, string | {
|
|
5919
|
+
default: string;
|
|
5920
|
+
description?: string | undefined;
|
|
5921
|
+
}>;
|
|
5922
|
+
description?: string | undefined;
|
|
5923
|
+
color?: string | undefined;
|
|
5924
|
+
}> | undefined;
|
|
5925
|
+
'x-scalar-secrets'?: Record<string, {
|
|
5926
|
+
description?: string | undefined;
|
|
5927
|
+
example?: string | undefined;
|
|
5928
|
+
}> | undefined;
|
|
5578
5929
|
documentUrl?: string | undefined;
|
|
5579
5930
|
integration?: string | null | undefined;
|
|
5580
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
5931
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "tags" | "security" | "externalDocs" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "requests" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? R extends Path<{
|
|
5581
5932
|
type: "collection";
|
|
5582
5933
|
uid: string;
|
|
5583
5934
|
children: string[];
|
|
@@ -5643,6 +5994,19 @@ export declare const useWorkspace: () => {
|
|
|
5643
5994
|
} | undefined;
|
|
5644
5995
|
components?: Record<string, unknown> | undefined;
|
|
5645
5996
|
webhooks?: Record<string, unknown> | undefined;
|
|
5997
|
+
'x-scalar-environment'?: string | undefined;
|
|
5998
|
+
'x-scalar-environments'?: Record<string, {
|
|
5999
|
+
variables: Record<string, string | {
|
|
6000
|
+
default: string;
|
|
6001
|
+
description?: string | undefined;
|
|
6002
|
+
}>;
|
|
6003
|
+
description?: string | undefined;
|
|
6004
|
+
color?: string | undefined;
|
|
6005
|
+
}> | undefined;
|
|
6006
|
+
'x-scalar-secrets'?: Record<string, {
|
|
6007
|
+
description?: string | undefined;
|
|
6008
|
+
example?: string | undefined;
|
|
6009
|
+
}> | undefined;
|
|
5646
6010
|
documentUrl?: string | undefined;
|
|
5647
6011
|
integration?: string | null | undefined;
|
|
5648
6012
|
}[K]> ? PathValue<{
|
|
@@ -5711,6 +6075,19 @@ export declare const useWorkspace: () => {
|
|
|
5711
6075
|
} | undefined;
|
|
5712
6076
|
components?: Record<string, unknown> | undefined;
|
|
5713
6077
|
webhooks?: Record<string, unknown> | undefined;
|
|
6078
|
+
'x-scalar-environment'?: string | undefined;
|
|
6079
|
+
'x-scalar-environments'?: Record<string, {
|
|
6080
|
+
variables: Record<string, string | {
|
|
6081
|
+
default: string;
|
|
6082
|
+
description?: string | undefined;
|
|
6083
|
+
}>;
|
|
6084
|
+
description?: string | undefined;
|
|
6085
|
+
color?: string | undefined;
|
|
6086
|
+
}> | undefined;
|
|
6087
|
+
'x-scalar-secrets'?: Record<string, {
|
|
6088
|
+
description?: string | undefined;
|
|
6089
|
+
example?: string | undefined;
|
|
6090
|
+
}> | undefined;
|
|
5714
6091
|
documentUrl?: string | undefined;
|
|
5715
6092
|
integration?: string | null | undefined;
|
|
5716
6093
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
@@ -5734,13 +6111,13 @@ export declare const useWorkspace: () => {
|
|
|
5734
6111
|
color: string;
|
|
5735
6112
|
isDefault?: boolean | undefined;
|
|
5736
6113
|
}) => void;
|
|
5737
|
-
edit: <P extends "
|
|
6114
|
+
edit: <P extends "name" | "value" | "uid" | "color" | "isDefault">(uid: string, path: P, value: P extends "name" | "value" | "uid" | "color" | "isDefault" ? {
|
|
5738
6115
|
value: string;
|
|
5739
6116
|
uid: string;
|
|
5740
6117
|
name: string;
|
|
5741
6118
|
color: string;
|
|
5742
6119
|
isDefault?: boolean | undefined;
|
|
5743
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
6120
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "value" | "uid" | "color" | "isDefault" ? R extends Path<{
|
|
5744
6121
|
value: string;
|
|
5745
6122
|
uid: string;
|
|
5746
6123
|
name: string;
|
|
@@ -5753,13 +6130,13 @@ export declare const useWorkspace: () => {
|
|
|
5753
6130
|
color: string;
|
|
5754
6131
|
isDefault?: boolean | undefined;
|
|
5755
6132
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
5756
|
-
untrackedEdit: <P extends "
|
|
6133
|
+
untrackedEdit: <P extends "name" | "value" | "uid" | "color" | "isDefault">(uid: string, path: P, value: P extends "name" | "value" | "uid" | "color" | "isDefault" ? {
|
|
5757
6134
|
value: string;
|
|
5758
6135
|
uid: string;
|
|
5759
6136
|
name: string;
|
|
5760
6137
|
color: string;
|
|
5761
6138
|
isDefault?: boolean | undefined;
|
|
5762
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
6139
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "value" | "uid" | "color" | "isDefault" ? R extends Path<{
|
|
5763
6140
|
value: string;
|
|
5764
6141
|
uid: string;
|
|
5765
6142
|
name: string;
|
|
@@ -5802,10 +6179,10 @@ export declare const useWorkspace: () => {
|
|
|
5802
6179
|
in: "path" | "query" | "header" | "cookie";
|
|
5803
6180
|
deprecated: boolean;
|
|
5804
6181
|
description?: string | undefined;
|
|
6182
|
+
example?: unknown;
|
|
5805
6183
|
schema?: unknown;
|
|
5806
6184
|
content?: unknown;
|
|
5807
6185
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
5808
|
-
example?: unknown;
|
|
5809
6186
|
examples?: Record<string, {
|
|
5810
6187
|
value?: unknown;
|
|
5811
6188
|
summary?: string | undefined;
|
|
@@ -5839,10 +6216,10 @@ export declare const useWorkspace: () => {
|
|
|
5839
6216
|
in: "path" | "query" | "header" | "cookie";
|
|
5840
6217
|
deprecated: boolean;
|
|
5841
6218
|
description?: string | undefined;
|
|
6219
|
+
example?: unknown;
|
|
5842
6220
|
schema?: unknown;
|
|
5843
6221
|
content?: unknown;
|
|
5844
6222
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
5845
|
-
example?: unknown;
|
|
5846
6223
|
examples?: Record<string, {
|
|
5847
6224
|
value?: unknown;
|
|
5848
6225
|
summary?: string | undefined;
|
|
@@ -5877,10 +6254,10 @@ export declare const useWorkspace: () => {
|
|
|
5877
6254
|
in: "path" | "query" | "header" | "cookie";
|
|
5878
6255
|
deprecated: boolean;
|
|
5879
6256
|
description?: string | undefined;
|
|
6257
|
+
example?: unknown;
|
|
5880
6258
|
schema?: unknown;
|
|
5881
6259
|
content?: unknown;
|
|
5882
6260
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
5883
|
-
example?: unknown;
|
|
5884
6261
|
examples?: Record<string, {
|
|
5885
6262
|
value?: unknown;
|
|
5886
6263
|
summary?: string | undefined;
|
|
@@ -5889,7 +6266,7 @@ export declare const useWorkspace: () => {
|
|
|
5889
6266
|
requestBody?: any;
|
|
5890
6267
|
responses?: Record<string, any> | undefined;
|
|
5891
6268
|
}) => void;
|
|
5892
|
-
edit: <P extends "summary" | "type" | "method" | "path" | "
|
|
6269
|
+
edit: <P extends "summary" | "type" | "method" | "path" | "tags" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "servers" | "uid" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | `requestBody.${string}` | `parameters.${number}` | `parameters.${number}.required` | `parameters.${number}.description` | `parameters.${number}.style` | `parameters.${number}.name` | `parameters.${number}.deprecated` | `parameters.${number}.in` | `parameters.${number}.example` | `parameters.${number}.examples` | `parameters.${number}.content` | `parameters.${number}.schema` | `parameters.${number}.examples.${string}` | "externalDocs.description" | "externalDocs.url" | `responses.${string}` | `servers.${number}` | `selectedSecuritySchemeUids.${number}` | `examples.${number}`>(uid: string, path: P, value: P extends "summary" | "type" | "method" | "path" | "tags" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "servers" | "uid" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" ? {
|
|
5893
6270
|
path: string;
|
|
5894
6271
|
type: "request";
|
|
5895
6272
|
uid: string;
|
|
@@ -5914,10 +6291,10 @@ export declare const useWorkspace: () => {
|
|
|
5914
6291
|
in: "path" | "query" | "header" | "cookie";
|
|
5915
6292
|
deprecated: boolean;
|
|
5916
6293
|
description?: string | undefined;
|
|
6294
|
+
example?: unknown;
|
|
5917
6295
|
schema?: unknown;
|
|
5918
6296
|
content?: unknown;
|
|
5919
6297
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
5920
|
-
example?: unknown;
|
|
5921
6298
|
examples?: Record<string, {
|
|
5922
6299
|
value?: unknown;
|
|
5923
6300
|
summary?: string | undefined;
|
|
@@ -5925,7 +6302,7 @@ export declare const useWorkspace: () => {
|
|
|
5925
6302
|
}[] | undefined;
|
|
5926
6303
|
requestBody?: any;
|
|
5927
6304
|
responses?: Record<string, any> | undefined;
|
|
5928
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "summary" | "type" | "method" | "path" | "
|
|
6305
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "summary" | "type" | "method" | "path" | "tags" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "servers" | "uid" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" ? R extends Path<{
|
|
5929
6306
|
path: string;
|
|
5930
6307
|
type: "request";
|
|
5931
6308
|
uid: string;
|
|
@@ -5950,10 +6327,10 @@ export declare const useWorkspace: () => {
|
|
|
5950
6327
|
in: "path" | "query" | "header" | "cookie";
|
|
5951
6328
|
deprecated: boolean;
|
|
5952
6329
|
description?: string | undefined;
|
|
6330
|
+
example?: unknown;
|
|
5953
6331
|
schema?: unknown;
|
|
5954
6332
|
content?: unknown;
|
|
5955
6333
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
5956
|
-
example?: unknown;
|
|
5957
6334
|
examples?: Record<string, {
|
|
5958
6335
|
value?: unknown;
|
|
5959
6336
|
summary?: string | undefined;
|
|
@@ -5986,10 +6363,10 @@ export declare const useWorkspace: () => {
|
|
|
5986
6363
|
in: "path" | "query" | "header" | "cookie";
|
|
5987
6364
|
deprecated: boolean;
|
|
5988
6365
|
description?: string | undefined;
|
|
6366
|
+
example?: unknown;
|
|
5989
6367
|
schema?: unknown;
|
|
5990
6368
|
content?: unknown;
|
|
5991
6369
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
5992
|
-
example?: unknown;
|
|
5993
6370
|
examples?: Record<string, {
|
|
5994
6371
|
value?: unknown;
|
|
5995
6372
|
summary?: string | undefined;
|
|
@@ -5998,7 +6375,7 @@ export declare const useWorkspace: () => {
|
|
|
5998
6375
|
requestBody?: any;
|
|
5999
6376
|
responses?: Record<string, any> | undefined;
|
|
6000
6377
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
6001
|
-
untrackedEdit: <P extends "summary" | "type" | "method" | "path" | "
|
|
6378
|
+
untrackedEdit: <P extends "summary" | "type" | "method" | "path" | "tags" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "servers" | "uid" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | `requestBody.${string}` | `parameters.${number}` | `parameters.${number}.required` | `parameters.${number}.description` | `parameters.${number}.style` | `parameters.${number}.name` | `parameters.${number}.deprecated` | `parameters.${number}.in` | `parameters.${number}.example` | `parameters.${number}.examples` | `parameters.${number}.content` | `parameters.${number}.schema` | `parameters.${number}.examples.${string}` | "externalDocs.description" | "externalDocs.url" | `responses.${string}` | `servers.${number}` | `selectedSecuritySchemeUids.${number}` | `examples.${number}`>(uid: string, path: P, value: P extends "summary" | "type" | "method" | "path" | "tags" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "servers" | "uid" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" ? {
|
|
6002
6379
|
path: string;
|
|
6003
6380
|
type: "request";
|
|
6004
6381
|
uid: string;
|
|
@@ -6023,10 +6400,10 @@ export declare const useWorkspace: () => {
|
|
|
6023
6400
|
in: "path" | "query" | "header" | "cookie";
|
|
6024
6401
|
deprecated: boolean;
|
|
6025
6402
|
description?: string | undefined;
|
|
6403
|
+
example?: unknown;
|
|
6026
6404
|
schema?: unknown;
|
|
6027
6405
|
content?: unknown;
|
|
6028
6406
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
6029
|
-
example?: unknown;
|
|
6030
6407
|
examples?: Record<string, {
|
|
6031
6408
|
value?: unknown;
|
|
6032
6409
|
summary?: string | undefined;
|
|
@@ -6034,7 +6411,7 @@ export declare const useWorkspace: () => {
|
|
|
6034
6411
|
}[] | undefined;
|
|
6035
6412
|
requestBody?: any;
|
|
6036
6413
|
responses?: Record<string, any> | undefined;
|
|
6037
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "summary" | "type" | "method" | "path" | "
|
|
6414
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "summary" | "type" | "method" | "path" | "tags" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "servers" | "uid" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" ? R extends Path<{
|
|
6038
6415
|
path: string;
|
|
6039
6416
|
type: "request";
|
|
6040
6417
|
uid: string;
|
|
@@ -6059,10 +6436,10 @@ export declare const useWorkspace: () => {
|
|
|
6059
6436
|
in: "path" | "query" | "header" | "cookie";
|
|
6060
6437
|
deprecated: boolean;
|
|
6061
6438
|
description?: string | undefined;
|
|
6439
|
+
example?: unknown;
|
|
6062
6440
|
schema?: unknown;
|
|
6063
6441
|
content?: unknown;
|
|
6064
6442
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
6065
|
-
example?: unknown;
|
|
6066
6443
|
examples?: Record<string, {
|
|
6067
6444
|
value?: unknown;
|
|
6068
6445
|
summary?: string | undefined;
|
|
@@ -6095,10 +6472,10 @@ export declare const useWorkspace: () => {
|
|
|
6095
6472
|
in: "path" | "query" | "header" | "cookie";
|
|
6096
6473
|
deprecated: boolean;
|
|
6097
6474
|
description?: string | undefined;
|
|
6475
|
+
example?: unknown;
|
|
6098
6476
|
schema?: unknown;
|
|
6099
6477
|
content?: unknown;
|
|
6100
6478
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
6101
|
-
example?: unknown;
|
|
6102
6479
|
examples?: Record<string, {
|
|
6103
6480
|
value?: unknown;
|
|
6104
6481
|
summary?: string | undefined;
|
|
@@ -6118,7 +6495,7 @@ export declare const useWorkspace: () => {
|
|
|
6118
6495
|
uid: string;
|
|
6119
6496
|
name: string;
|
|
6120
6497
|
body: {
|
|
6121
|
-
activeBody: "formData" | "
|
|
6498
|
+
activeBody: "formData" | "binary" | "raw";
|
|
6122
6499
|
formData?: {
|
|
6123
6500
|
value: {
|
|
6124
6501
|
value: string;
|
|
@@ -6133,16 +6510,15 @@ export declare const useWorkspace: () => {
|
|
|
6133
6510
|
enum?: string[] | undefined;
|
|
6134
6511
|
format?: string | undefined;
|
|
6135
6512
|
file?: any;
|
|
6136
|
-
refUid?: string | undefined;
|
|
6137
6513
|
nullable?: boolean | undefined;
|
|
6138
6514
|
}[];
|
|
6139
6515
|
encoding: "form-data" | "urlencoded";
|
|
6140
6516
|
} | undefined;
|
|
6517
|
+
binary?: Blob | undefined;
|
|
6141
6518
|
raw?: {
|
|
6142
6519
|
value: string;
|
|
6143
6520
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
6144
6521
|
} | undefined;
|
|
6145
|
-
binary?: Blob | undefined;
|
|
6146
6522
|
};
|
|
6147
6523
|
requestUid: string;
|
|
6148
6524
|
parameters: {
|
|
@@ -6159,7 +6535,6 @@ export declare const useWorkspace: () => {
|
|
|
6159
6535
|
enum?: string[] | undefined;
|
|
6160
6536
|
format?: string | undefined;
|
|
6161
6537
|
file?: any;
|
|
6162
|
-
refUid?: string | undefined;
|
|
6163
6538
|
nullable?: boolean | undefined;
|
|
6164
6539
|
}[];
|
|
6165
6540
|
cookies: {
|
|
@@ -6175,7 +6550,6 @@ export declare const useWorkspace: () => {
|
|
|
6175
6550
|
enum?: string[] | undefined;
|
|
6176
6551
|
format?: string | undefined;
|
|
6177
6552
|
file?: any;
|
|
6178
|
-
refUid?: string | undefined;
|
|
6179
6553
|
nullable?: boolean | undefined;
|
|
6180
6554
|
}[];
|
|
6181
6555
|
query: {
|
|
@@ -6191,7 +6565,6 @@ export declare const useWorkspace: () => {
|
|
|
6191
6565
|
enum?: string[] | undefined;
|
|
6192
6566
|
format?: string | undefined;
|
|
6193
6567
|
file?: any;
|
|
6194
|
-
refUid?: string | undefined;
|
|
6195
6568
|
nullable?: boolean | undefined;
|
|
6196
6569
|
}[];
|
|
6197
6570
|
headers: {
|
|
@@ -6207,7 +6580,6 @@ export declare const useWorkspace: () => {
|
|
|
6207
6580
|
enum?: string[] | undefined;
|
|
6208
6581
|
format?: string | undefined;
|
|
6209
6582
|
file?: any;
|
|
6210
|
-
refUid?: string | undefined;
|
|
6211
6583
|
nullable?: boolean | undefined;
|
|
6212
6584
|
}[];
|
|
6213
6585
|
};
|
|
@@ -6218,7 +6590,7 @@ export declare const useWorkspace: () => {
|
|
|
6218
6590
|
uid: string;
|
|
6219
6591
|
name: string;
|
|
6220
6592
|
body: {
|
|
6221
|
-
activeBody: "formData" | "
|
|
6593
|
+
activeBody: "formData" | "binary" | "raw";
|
|
6222
6594
|
formData?: {
|
|
6223
6595
|
value: {
|
|
6224
6596
|
value: string;
|
|
@@ -6233,16 +6605,15 @@ export declare const useWorkspace: () => {
|
|
|
6233
6605
|
enum?: string[] | undefined;
|
|
6234
6606
|
format?: string | undefined;
|
|
6235
6607
|
file?: any;
|
|
6236
|
-
refUid?: string | undefined;
|
|
6237
6608
|
nullable?: boolean | undefined;
|
|
6238
6609
|
}[];
|
|
6239
6610
|
encoding: "form-data" | "urlencoded";
|
|
6240
6611
|
} | undefined;
|
|
6612
|
+
binary?: Blob | undefined;
|
|
6241
6613
|
raw?: {
|
|
6242
6614
|
value: string;
|
|
6243
6615
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
6244
6616
|
} | undefined;
|
|
6245
|
-
binary?: Blob | undefined;
|
|
6246
6617
|
};
|
|
6247
6618
|
requestUid: string;
|
|
6248
6619
|
parameters: {
|
|
@@ -6259,7 +6630,6 @@ export declare const useWorkspace: () => {
|
|
|
6259
6630
|
enum?: string[] | undefined;
|
|
6260
6631
|
format?: string | undefined;
|
|
6261
6632
|
file?: any;
|
|
6262
|
-
refUid?: string | undefined;
|
|
6263
6633
|
nullable?: boolean | undefined;
|
|
6264
6634
|
}[];
|
|
6265
6635
|
cookies: {
|
|
@@ -6275,7 +6645,6 @@ export declare const useWorkspace: () => {
|
|
|
6275
6645
|
enum?: string[] | undefined;
|
|
6276
6646
|
format?: string | undefined;
|
|
6277
6647
|
file?: any;
|
|
6278
|
-
refUid?: string | undefined;
|
|
6279
6648
|
nullable?: boolean | undefined;
|
|
6280
6649
|
}[];
|
|
6281
6650
|
query: {
|
|
@@ -6291,7 +6660,6 @@ export declare const useWorkspace: () => {
|
|
|
6291
6660
|
enum?: string[] | undefined;
|
|
6292
6661
|
format?: string | undefined;
|
|
6293
6662
|
file?: any;
|
|
6294
|
-
refUid?: string | undefined;
|
|
6295
6663
|
nullable?: boolean | undefined;
|
|
6296
6664
|
}[];
|
|
6297
6665
|
headers: {
|
|
@@ -6307,7 +6675,6 @@ export declare const useWorkspace: () => {
|
|
|
6307
6675
|
enum?: string[] | undefined;
|
|
6308
6676
|
format?: string | undefined;
|
|
6309
6677
|
file?: any;
|
|
6310
|
-
refUid?: string | undefined;
|
|
6311
6678
|
nullable?: boolean | undefined;
|
|
6312
6679
|
}[];
|
|
6313
6680
|
};
|
|
@@ -6319,7 +6686,7 @@ export declare const useWorkspace: () => {
|
|
|
6319
6686
|
uid: string;
|
|
6320
6687
|
name: string;
|
|
6321
6688
|
body: {
|
|
6322
|
-
activeBody: "formData" | "
|
|
6689
|
+
activeBody: "formData" | "binary" | "raw";
|
|
6323
6690
|
formData?: {
|
|
6324
6691
|
value: {
|
|
6325
6692
|
value: string;
|
|
@@ -6334,16 +6701,15 @@ export declare const useWorkspace: () => {
|
|
|
6334
6701
|
enum?: string[] | undefined;
|
|
6335
6702
|
format?: string | undefined;
|
|
6336
6703
|
file?: any;
|
|
6337
|
-
refUid?: string | undefined;
|
|
6338
6704
|
nullable?: boolean | undefined;
|
|
6339
6705
|
}[];
|
|
6340
6706
|
encoding: "form-data" | "urlencoded";
|
|
6341
6707
|
} | undefined;
|
|
6708
|
+
binary?: Blob | undefined;
|
|
6342
6709
|
raw?: {
|
|
6343
6710
|
value: string;
|
|
6344
6711
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
6345
6712
|
} | undefined;
|
|
6346
|
-
binary?: Blob | undefined;
|
|
6347
6713
|
};
|
|
6348
6714
|
requestUid: string;
|
|
6349
6715
|
parameters: {
|
|
@@ -6360,7 +6726,6 @@ export declare const useWorkspace: () => {
|
|
|
6360
6726
|
enum?: string[] | undefined;
|
|
6361
6727
|
format?: string | undefined;
|
|
6362
6728
|
file?: any;
|
|
6363
|
-
refUid?: string | undefined;
|
|
6364
6729
|
nullable?: boolean | undefined;
|
|
6365
6730
|
}[];
|
|
6366
6731
|
cookies: {
|
|
@@ -6376,7 +6741,6 @@ export declare const useWorkspace: () => {
|
|
|
6376
6741
|
enum?: string[] | undefined;
|
|
6377
6742
|
format?: string | undefined;
|
|
6378
6743
|
file?: any;
|
|
6379
|
-
refUid?: string | undefined;
|
|
6380
6744
|
nullable?: boolean | undefined;
|
|
6381
6745
|
}[];
|
|
6382
6746
|
query: {
|
|
@@ -6392,7 +6756,6 @@ export declare const useWorkspace: () => {
|
|
|
6392
6756
|
enum?: string[] | undefined;
|
|
6393
6757
|
format?: string | undefined;
|
|
6394
6758
|
file?: any;
|
|
6395
|
-
refUid?: string | undefined;
|
|
6396
6759
|
nullable?: boolean | undefined;
|
|
6397
6760
|
}[];
|
|
6398
6761
|
headers: {
|
|
@@ -6408,18 +6771,17 @@ export declare const useWorkspace: () => {
|
|
|
6408
6771
|
enum?: string[] | undefined;
|
|
6409
6772
|
format?: string | undefined;
|
|
6410
6773
|
file?: any;
|
|
6411
|
-
refUid?: string | undefined;
|
|
6412
6774
|
nullable?: boolean | undefined;
|
|
6413
6775
|
}[];
|
|
6414
6776
|
};
|
|
6415
6777
|
serverVariables?: Record<string, string[]> | undefined;
|
|
6416
6778
|
}) => void;
|
|
6417
|
-
edit: <P extends "body" | "name" | "type" | "parameters" | "uid" | "requestUid" | "serverVariables" | "body.binary" | "body.raw" | "body.formData" | "body.activeBody" | "body.raw.value" | "body.raw.encoding" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.
|
|
6779
|
+
edit: <P extends "body" | "name" | "type" | "parameters" | "uid" | "requestUid" | "serverVariables" | "body.binary" | "body.raw" | "body.formData" | "body.activeBody" | "body.raw.value" | "body.raw.encoding" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.required` | `body.formData.value.${number}.type` | `body.formData.value.${number}.value` | `body.formData.value.${number}.file` | `body.formData.value.${number}.key` | `body.formData.value.${number}.default` | `body.formData.value.${number}.description` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.format` | `body.formData.value.${number}.file.${string}` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.enum.${number}` | "body.binary.size" | "body.binary.type" | "body.binary.arrayBuffer" | "body.binary.slice" | "body.binary.stream" | "body.binary.text" | "parameters.cookies" | "parameters.path" | "parameters.headers" | "parameters.query" | `parameters.cookies.${number}` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.file.${string}` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.enum.${number}` | `parameters.path.${number}` | `parameters.path.${number}.required` | `parameters.path.${number}.type` | `parameters.path.${number}.value` | `parameters.path.${number}.file` | `parameters.path.${number}.key` | `parameters.path.${number}.default` | `parameters.path.${number}.description` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.enabled` | `parameters.path.${number}.minimum` | `parameters.path.${number}.maximum` | `parameters.path.${number}.format` | `parameters.path.${number}.file.${string}` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.enum.${number}` | `parameters.headers.${number}` | `parameters.headers.${number}.required` | `parameters.headers.${number}.type` | `parameters.headers.${number}.value` | `parameters.headers.${number}.file` | `parameters.headers.${number}.key` | `parameters.headers.${number}.default` | `parameters.headers.${number}.description` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.format` | `parameters.headers.${number}.file.${string}` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.enum.${number}` | `parameters.query.${number}` | `parameters.query.${number}.required` | `parameters.query.${number}.type` | `parameters.query.${number}.value` | `parameters.query.${number}.file` | `parameters.query.${number}.key` | `parameters.query.${number}.default` | `parameters.query.${number}.description` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.enabled` | `parameters.query.${number}.minimum` | `parameters.query.${number}.maximum` | `parameters.query.${number}.format` | `parameters.query.${number}.file.${string}` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.enum.${number}` | `serverVariables.${string}`>(uid: string, path: P, value: P extends "body" | "name" | "type" | "parameters" | "uid" | "requestUid" | "serverVariables" ? {
|
|
6418
6780
|
type: "requestExample";
|
|
6419
6781
|
uid: string;
|
|
6420
6782
|
name: string;
|
|
6421
6783
|
body: {
|
|
6422
|
-
activeBody: "formData" | "
|
|
6784
|
+
activeBody: "formData" | "binary" | "raw";
|
|
6423
6785
|
formData?: {
|
|
6424
6786
|
value: {
|
|
6425
6787
|
value: string;
|
|
@@ -6434,16 +6796,15 @@ export declare const useWorkspace: () => {
|
|
|
6434
6796
|
enum?: string[] | undefined;
|
|
6435
6797
|
format?: string | undefined;
|
|
6436
6798
|
file?: any;
|
|
6437
|
-
refUid?: string | undefined;
|
|
6438
6799
|
nullable?: boolean | undefined;
|
|
6439
6800
|
}[];
|
|
6440
6801
|
encoding: "form-data" | "urlencoded";
|
|
6441
6802
|
} | undefined;
|
|
6803
|
+
binary?: Blob | undefined;
|
|
6442
6804
|
raw?: {
|
|
6443
6805
|
value: string;
|
|
6444
6806
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
6445
6807
|
} | undefined;
|
|
6446
|
-
binary?: Blob | undefined;
|
|
6447
6808
|
};
|
|
6448
6809
|
requestUid: string;
|
|
6449
6810
|
parameters: {
|
|
@@ -6460,7 +6821,6 @@ export declare const useWorkspace: () => {
|
|
|
6460
6821
|
enum?: string[] | undefined;
|
|
6461
6822
|
format?: string | undefined;
|
|
6462
6823
|
file?: any;
|
|
6463
|
-
refUid?: string | undefined;
|
|
6464
6824
|
nullable?: boolean | undefined;
|
|
6465
6825
|
}[];
|
|
6466
6826
|
cookies: {
|
|
@@ -6476,7 +6836,6 @@ export declare const useWorkspace: () => {
|
|
|
6476
6836
|
enum?: string[] | undefined;
|
|
6477
6837
|
format?: string | undefined;
|
|
6478
6838
|
file?: any;
|
|
6479
|
-
refUid?: string | undefined;
|
|
6480
6839
|
nullable?: boolean | undefined;
|
|
6481
6840
|
}[];
|
|
6482
6841
|
query: {
|
|
@@ -6492,7 +6851,6 @@ export declare const useWorkspace: () => {
|
|
|
6492
6851
|
enum?: string[] | undefined;
|
|
6493
6852
|
format?: string | undefined;
|
|
6494
6853
|
file?: any;
|
|
6495
|
-
refUid?: string | undefined;
|
|
6496
6854
|
nullable?: boolean | undefined;
|
|
6497
6855
|
}[];
|
|
6498
6856
|
headers: {
|
|
@@ -6508,7 +6866,6 @@ export declare const useWorkspace: () => {
|
|
|
6508
6866
|
enum?: string[] | undefined;
|
|
6509
6867
|
format?: string | undefined;
|
|
6510
6868
|
file?: any;
|
|
6511
|
-
refUid?: string | undefined;
|
|
6512
6869
|
nullable?: boolean | undefined;
|
|
6513
6870
|
}[];
|
|
6514
6871
|
};
|
|
@@ -6518,7 +6875,7 @@ export declare const useWorkspace: () => {
|
|
|
6518
6875
|
uid: string;
|
|
6519
6876
|
name: string;
|
|
6520
6877
|
body: {
|
|
6521
|
-
activeBody: "formData" | "
|
|
6878
|
+
activeBody: "formData" | "binary" | "raw";
|
|
6522
6879
|
formData?: {
|
|
6523
6880
|
value: {
|
|
6524
6881
|
value: string;
|
|
@@ -6533,16 +6890,15 @@ export declare const useWorkspace: () => {
|
|
|
6533
6890
|
enum?: string[] | undefined;
|
|
6534
6891
|
format?: string | undefined;
|
|
6535
6892
|
file?: any;
|
|
6536
|
-
refUid?: string | undefined;
|
|
6537
6893
|
nullable?: boolean | undefined;
|
|
6538
6894
|
}[];
|
|
6539
6895
|
encoding: "form-data" | "urlencoded";
|
|
6540
6896
|
} | undefined;
|
|
6897
|
+
binary?: Blob | undefined;
|
|
6541
6898
|
raw?: {
|
|
6542
6899
|
value: string;
|
|
6543
6900
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
6544
6901
|
} | undefined;
|
|
6545
|
-
binary?: Blob | undefined;
|
|
6546
6902
|
};
|
|
6547
6903
|
requestUid: string;
|
|
6548
6904
|
parameters: {
|
|
@@ -6559,7 +6915,6 @@ export declare const useWorkspace: () => {
|
|
|
6559
6915
|
enum?: string[] | undefined;
|
|
6560
6916
|
format?: string | undefined;
|
|
6561
6917
|
file?: any;
|
|
6562
|
-
refUid?: string | undefined;
|
|
6563
6918
|
nullable?: boolean | undefined;
|
|
6564
6919
|
}[];
|
|
6565
6920
|
cookies: {
|
|
@@ -6575,7 +6930,6 @@ export declare const useWorkspace: () => {
|
|
|
6575
6930
|
enum?: string[] | undefined;
|
|
6576
6931
|
format?: string | undefined;
|
|
6577
6932
|
file?: any;
|
|
6578
|
-
refUid?: string | undefined;
|
|
6579
6933
|
nullable?: boolean | undefined;
|
|
6580
6934
|
}[];
|
|
6581
6935
|
query: {
|
|
@@ -6591,7 +6945,6 @@ export declare const useWorkspace: () => {
|
|
|
6591
6945
|
enum?: string[] | undefined;
|
|
6592
6946
|
format?: string | undefined;
|
|
6593
6947
|
file?: any;
|
|
6594
|
-
refUid?: string | undefined;
|
|
6595
6948
|
nullable?: boolean | undefined;
|
|
6596
6949
|
}[];
|
|
6597
6950
|
headers: {
|
|
@@ -6607,7 +6960,6 @@ export declare const useWorkspace: () => {
|
|
|
6607
6960
|
enum?: string[] | undefined;
|
|
6608
6961
|
format?: string | undefined;
|
|
6609
6962
|
file?: any;
|
|
6610
|
-
refUid?: string | undefined;
|
|
6611
6963
|
nullable?: boolean | undefined;
|
|
6612
6964
|
}[];
|
|
6613
6965
|
};
|
|
@@ -6617,7 +6969,7 @@ export declare const useWorkspace: () => {
|
|
|
6617
6969
|
uid: string;
|
|
6618
6970
|
name: string;
|
|
6619
6971
|
body: {
|
|
6620
|
-
activeBody: "formData" | "
|
|
6972
|
+
activeBody: "formData" | "binary" | "raw";
|
|
6621
6973
|
formData?: {
|
|
6622
6974
|
value: {
|
|
6623
6975
|
value: string;
|
|
@@ -6632,16 +6984,15 @@ export declare const useWorkspace: () => {
|
|
|
6632
6984
|
enum?: string[] | undefined;
|
|
6633
6985
|
format?: string | undefined;
|
|
6634
6986
|
file?: any;
|
|
6635
|
-
refUid?: string | undefined;
|
|
6636
6987
|
nullable?: boolean | undefined;
|
|
6637
6988
|
}[];
|
|
6638
6989
|
encoding: "form-data" | "urlencoded";
|
|
6639
6990
|
} | undefined;
|
|
6991
|
+
binary?: Blob | undefined;
|
|
6640
6992
|
raw?: {
|
|
6641
6993
|
value: string;
|
|
6642
6994
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
6643
6995
|
} | undefined;
|
|
6644
|
-
binary?: Blob | undefined;
|
|
6645
6996
|
};
|
|
6646
6997
|
requestUid: string;
|
|
6647
6998
|
parameters: {
|
|
@@ -6658,7 +7009,6 @@ export declare const useWorkspace: () => {
|
|
|
6658
7009
|
enum?: string[] | undefined;
|
|
6659
7010
|
format?: string | undefined;
|
|
6660
7011
|
file?: any;
|
|
6661
|
-
refUid?: string | undefined;
|
|
6662
7012
|
nullable?: boolean | undefined;
|
|
6663
7013
|
}[];
|
|
6664
7014
|
cookies: {
|
|
@@ -6674,7 +7024,6 @@ export declare const useWorkspace: () => {
|
|
|
6674
7024
|
enum?: string[] | undefined;
|
|
6675
7025
|
format?: string | undefined;
|
|
6676
7026
|
file?: any;
|
|
6677
|
-
refUid?: string | undefined;
|
|
6678
7027
|
nullable?: boolean | undefined;
|
|
6679
7028
|
}[];
|
|
6680
7029
|
query: {
|
|
@@ -6690,7 +7039,6 @@ export declare const useWorkspace: () => {
|
|
|
6690
7039
|
enum?: string[] | undefined;
|
|
6691
7040
|
format?: string | undefined;
|
|
6692
7041
|
file?: any;
|
|
6693
|
-
refUid?: string | undefined;
|
|
6694
7042
|
nullable?: boolean | undefined;
|
|
6695
7043
|
}[];
|
|
6696
7044
|
headers: {
|
|
@@ -6706,18 +7054,17 @@ export declare const useWorkspace: () => {
|
|
|
6706
7054
|
enum?: string[] | undefined;
|
|
6707
7055
|
format?: string | undefined;
|
|
6708
7056
|
file?: any;
|
|
6709
|
-
refUid?: string | undefined;
|
|
6710
7057
|
nullable?: boolean | undefined;
|
|
6711
7058
|
}[];
|
|
6712
7059
|
};
|
|
6713
7060
|
serverVariables?: Record<string, string[]> | undefined;
|
|
6714
7061
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
6715
|
-
untrackedEdit: <P extends "body" | "name" | "type" | "parameters" | "uid" | "requestUid" | "serverVariables" | "body.binary" | "body.raw" | "body.formData" | "body.activeBody" | "body.raw.value" | "body.raw.encoding" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.
|
|
7062
|
+
untrackedEdit: <P extends "body" | "name" | "type" | "parameters" | "uid" | "requestUid" | "serverVariables" | "body.binary" | "body.raw" | "body.formData" | "body.activeBody" | "body.raw.value" | "body.raw.encoding" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.required` | `body.formData.value.${number}.type` | `body.formData.value.${number}.value` | `body.formData.value.${number}.file` | `body.formData.value.${number}.key` | `body.formData.value.${number}.default` | `body.formData.value.${number}.description` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.format` | `body.formData.value.${number}.file.${string}` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.enum.${number}` | "body.binary.size" | "body.binary.type" | "body.binary.arrayBuffer" | "body.binary.slice" | "body.binary.stream" | "body.binary.text" | "parameters.cookies" | "parameters.path" | "parameters.headers" | "parameters.query" | `parameters.cookies.${number}` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.file.${string}` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.enum.${number}` | `parameters.path.${number}` | `parameters.path.${number}.required` | `parameters.path.${number}.type` | `parameters.path.${number}.value` | `parameters.path.${number}.file` | `parameters.path.${number}.key` | `parameters.path.${number}.default` | `parameters.path.${number}.description` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.enabled` | `parameters.path.${number}.minimum` | `parameters.path.${number}.maximum` | `parameters.path.${number}.format` | `parameters.path.${number}.file.${string}` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.enum.${number}` | `parameters.headers.${number}` | `parameters.headers.${number}.required` | `parameters.headers.${number}.type` | `parameters.headers.${number}.value` | `parameters.headers.${number}.file` | `parameters.headers.${number}.key` | `parameters.headers.${number}.default` | `parameters.headers.${number}.description` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.format` | `parameters.headers.${number}.file.${string}` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.enum.${number}` | `parameters.query.${number}` | `parameters.query.${number}.required` | `parameters.query.${number}.type` | `parameters.query.${number}.value` | `parameters.query.${number}.file` | `parameters.query.${number}.key` | `parameters.query.${number}.default` | `parameters.query.${number}.description` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.enabled` | `parameters.query.${number}.minimum` | `parameters.query.${number}.maximum` | `parameters.query.${number}.format` | `parameters.query.${number}.file.${string}` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.enum.${number}` | `serverVariables.${string}`>(uid: string, path: P, value: P extends "body" | "name" | "type" | "parameters" | "uid" | "requestUid" | "serverVariables" ? {
|
|
6716
7063
|
type: "requestExample";
|
|
6717
7064
|
uid: string;
|
|
6718
7065
|
name: string;
|
|
6719
7066
|
body: {
|
|
6720
|
-
activeBody: "formData" | "
|
|
7067
|
+
activeBody: "formData" | "binary" | "raw";
|
|
6721
7068
|
formData?: {
|
|
6722
7069
|
value: {
|
|
6723
7070
|
value: string;
|
|
@@ -6732,16 +7079,15 @@ export declare const useWorkspace: () => {
|
|
|
6732
7079
|
enum?: string[] | undefined;
|
|
6733
7080
|
format?: string | undefined;
|
|
6734
7081
|
file?: any;
|
|
6735
|
-
refUid?: string | undefined;
|
|
6736
7082
|
nullable?: boolean | undefined;
|
|
6737
7083
|
}[];
|
|
6738
7084
|
encoding: "form-data" | "urlencoded";
|
|
6739
7085
|
} | undefined;
|
|
7086
|
+
binary?: Blob | undefined;
|
|
6740
7087
|
raw?: {
|
|
6741
7088
|
value: string;
|
|
6742
7089
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
6743
7090
|
} | undefined;
|
|
6744
|
-
binary?: Blob | undefined;
|
|
6745
7091
|
};
|
|
6746
7092
|
requestUid: string;
|
|
6747
7093
|
parameters: {
|
|
@@ -6758,7 +7104,6 @@ export declare const useWorkspace: () => {
|
|
|
6758
7104
|
enum?: string[] | undefined;
|
|
6759
7105
|
format?: string | undefined;
|
|
6760
7106
|
file?: any;
|
|
6761
|
-
refUid?: string | undefined;
|
|
6762
7107
|
nullable?: boolean | undefined;
|
|
6763
7108
|
}[];
|
|
6764
7109
|
cookies: {
|
|
@@ -6774,7 +7119,6 @@ export declare const useWorkspace: () => {
|
|
|
6774
7119
|
enum?: string[] | undefined;
|
|
6775
7120
|
format?: string | undefined;
|
|
6776
7121
|
file?: any;
|
|
6777
|
-
refUid?: string | undefined;
|
|
6778
7122
|
nullable?: boolean | undefined;
|
|
6779
7123
|
}[];
|
|
6780
7124
|
query: {
|
|
@@ -6790,7 +7134,6 @@ export declare const useWorkspace: () => {
|
|
|
6790
7134
|
enum?: string[] | undefined;
|
|
6791
7135
|
format?: string | undefined;
|
|
6792
7136
|
file?: any;
|
|
6793
|
-
refUid?: string | undefined;
|
|
6794
7137
|
nullable?: boolean | undefined;
|
|
6795
7138
|
}[];
|
|
6796
7139
|
headers: {
|
|
@@ -6806,7 +7149,6 @@ export declare const useWorkspace: () => {
|
|
|
6806
7149
|
enum?: string[] | undefined;
|
|
6807
7150
|
format?: string | undefined;
|
|
6808
7151
|
file?: any;
|
|
6809
|
-
refUid?: string | undefined;
|
|
6810
7152
|
nullable?: boolean | undefined;
|
|
6811
7153
|
}[];
|
|
6812
7154
|
};
|
|
@@ -6816,7 +7158,7 @@ export declare const useWorkspace: () => {
|
|
|
6816
7158
|
uid: string;
|
|
6817
7159
|
name: string;
|
|
6818
7160
|
body: {
|
|
6819
|
-
activeBody: "formData" | "
|
|
7161
|
+
activeBody: "formData" | "binary" | "raw";
|
|
6820
7162
|
formData?: {
|
|
6821
7163
|
value: {
|
|
6822
7164
|
value: string;
|
|
@@ -6831,16 +7173,15 @@ export declare const useWorkspace: () => {
|
|
|
6831
7173
|
enum?: string[] | undefined;
|
|
6832
7174
|
format?: string | undefined;
|
|
6833
7175
|
file?: any;
|
|
6834
|
-
refUid?: string | undefined;
|
|
6835
7176
|
nullable?: boolean | undefined;
|
|
6836
7177
|
}[];
|
|
6837
7178
|
encoding: "form-data" | "urlencoded";
|
|
6838
7179
|
} | undefined;
|
|
7180
|
+
binary?: Blob | undefined;
|
|
6839
7181
|
raw?: {
|
|
6840
7182
|
value: string;
|
|
6841
7183
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
6842
7184
|
} | undefined;
|
|
6843
|
-
binary?: Blob | undefined;
|
|
6844
7185
|
};
|
|
6845
7186
|
requestUid: string;
|
|
6846
7187
|
parameters: {
|
|
@@ -6857,7 +7198,6 @@ export declare const useWorkspace: () => {
|
|
|
6857
7198
|
enum?: string[] | undefined;
|
|
6858
7199
|
format?: string | undefined;
|
|
6859
7200
|
file?: any;
|
|
6860
|
-
refUid?: string | undefined;
|
|
6861
7201
|
nullable?: boolean | undefined;
|
|
6862
7202
|
}[];
|
|
6863
7203
|
cookies: {
|
|
@@ -6873,7 +7213,6 @@ export declare const useWorkspace: () => {
|
|
|
6873
7213
|
enum?: string[] | undefined;
|
|
6874
7214
|
format?: string | undefined;
|
|
6875
7215
|
file?: any;
|
|
6876
|
-
refUid?: string | undefined;
|
|
6877
7216
|
nullable?: boolean | undefined;
|
|
6878
7217
|
}[];
|
|
6879
7218
|
query: {
|
|
@@ -6889,7 +7228,6 @@ export declare const useWorkspace: () => {
|
|
|
6889
7228
|
enum?: string[] | undefined;
|
|
6890
7229
|
format?: string | undefined;
|
|
6891
7230
|
file?: any;
|
|
6892
|
-
refUid?: string | undefined;
|
|
6893
7231
|
nullable?: boolean | undefined;
|
|
6894
7232
|
}[];
|
|
6895
7233
|
headers: {
|
|
@@ -6905,7 +7243,6 @@ export declare const useWorkspace: () => {
|
|
|
6905
7243
|
enum?: string[] | undefined;
|
|
6906
7244
|
format?: string | undefined;
|
|
6907
7245
|
file?: any;
|
|
6908
|
-
refUid?: string | undefined;
|
|
6909
7246
|
nullable?: boolean | undefined;
|
|
6910
7247
|
}[];
|
|
6911
7248
|
};
|
|
@@ -6915,7 +7252,7 @@ export declare const useWorkspace: () => {
|
|
|
6915
7252
|
uid: string;
|
|
6916
7253
|
name: string;
|
|
6917
7254
|
body: {
|
|
6918
|
-
activeBody: "formData" | "
|
|
7255
|
+
activeBody: "formData" | "binary" | "raw";
|
|
6919
7256
|
formData?: {
|
|
6920
7257
|
value: {
|
|
6921
7258
|
value: string;
|
|
@@ -6930,16 +7267,15 @@ export declare const useWorkspace: () => {
|
|
|
6930
7267
|
enum?: string[] | undefined;
|
|
6931
7268
|
format?: string | undefined;
|
|
6932
7269
|
file?: any;
|
|
6933
|
-
refUid?: string | undefined;
|
|
6934
7270
|
nullable?: boolean | undefined;
|
|
6935
7271
|
}[];
|
|
6936
7272
|
encoding: "form-data" | "urlencoded";
|
|
6937
7273
|
} | undefined;
|
|
7274
|
+
binary?: Blob | undefined;
|
|
6938
7275
|
raw?: {
|
|
6939
7276
|
value: string;
|
|
6940
7277
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
6941
7278
|
} | undefined;
|
|
6942
|
-
binary?: Blob | undefined;
|
|
6943
7279
|
};
|
|
6944
7280
|
requestUid: string;
|
|
6945
7281
|
parameters: {
|
|
@@ -6956,7 +7292,6 @@ export declare const useWorkspace: () => {
|
|
|
6956
7292
|
enum?: string[] | undefined;
|
|
6957
7293
|
format?: string | undefined;
|
|
6958
7294
|
file?: any;
|
|
6959
|
-
refUid?: string | undefined;
|
|
6960
7295
|
nullable?: boolean | undefined;
|
|
6961
7296
|
}[];
|
|
6962
7297
|
cookies: {
|
|
@@ -6972,7 +7307,6 @@ export declare const useWorkspace: () => {
|
|
|
6972
7307
|
enum?: string[] | undefined;
|
|
6973
7308
|
format?: string | undefined;
|
|
6974
7309
|
file?: any;
|
|
6975
|
-
refUid?: string | undefined;
|
|
6976
7310
|
nullable?: boolean | undefined;
|
|
6977
7311
|
}[];
|
|
6978
7312
|
query: {
|
|
@@ -6988,7 +7322,6 @@ export declare const useWorkspace: () => {
|
|
|
6988
7322
|
enum?: string[] | undefined;
|
|
6989
7323
|
format?: string | undefined;
|
|
6990
7324
|
file?: any;
|
|
6991
|
-
refUid?: string | undefined;
|
|
6992
7325
|
nullable?: boolean | undefined;
|
|
6993
7326
|
}[];
|
|
6994
7327
|
headers: {
|
|
@@ -7004,7 +7337,6 @@ export declare const useWorkspace: () => {
|
|
|
7004
7337
|
enum?: string[] | undefined;
|
|
7005
7338
|
format?: string | undefined;
|
|
7006
7339
|
file?: any;
|
|
7007
|
-
refUid?: string | undefined;
|
|
7008
7340
|
nullable?: boolean | undefined;
|
|
7009
7341
|
}[];
|
|
7010
7342
|
};
|
|
@@ -7547,14 +7879,14 @@ export declare const useWorkspace: () => {
|
|
|
7547
7879
|
enum?: [string, ...string[]];
|
|
7548
7880
|
}> | undefined;
|
|
7549
7881
|
}) => void;
|
|
7550
|
-
edit: <P extends "
|
|
7882
|
+
edit: <P extends "description" | "url" | "uid" | "variables" | `variables.${string}`>(uid: string, path: P, value: P extends "description" | "url" | "uid" | "variables" ? {
|
|
7551
7883
|
uid: string;
|
|
7552
7884
|
url: string;
|
|
7553
7885
|
description?: string | undefined;
|
|
7554
7886
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
7555
7887
|
enum?: [string, ...string[]];
|
|
7556
7888
|
}> | undefined;
|
|
7557
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
7889
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "url" | "uid" | "variables" ? R extends Path<{
|
|
7558
7890
|
uid: string;
|
|
7559
7891
|
url: string;
|
|
7560
7892
|
description?: string | undefined;
|
|
@@ -7569,14 +7901,14 @@ export declare const useWorkspace: () => {
|
|
|
7569
7901
|
enum?: [string, ...string[]];
|
|
7570
7902
|
}> | undefined;
|
|
7571
7903
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
7572
|
-
untrackedEdit: <P extends "
|
|
7904
|
+
untrackedEdit: <P extends "description" | "url" | "uid" | "variables" | `variables.${string}`>(uid: string, path: P, value: P extends "description" | "url" | "uid" | "variables" ? {
|
|
7573
7905
|
uid: string;
|
|
7574
7906
|
url: string;
|
|
7575
7907
|
description?: string | undefined;
|
|
7576
7908
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
7577
7909
|
enum?: [string, ...string[]];
|
|
7578
7910
|
}> | undefined;
|
|
7579
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
7911
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "url" | "uid" | "variables" ? R extends Path<{
|
|
7580
7912
|
uid: string;
|
|
7581
7913
|
url: string;
|
|
7582
7914
|
description?: string | undefined;
|
|
@@ -7600,124 +7932,124 @@ export declare const useWorkspace: () => {
|
|
|
7600
7932
|
type: "tag";
|
|
7601
7933
|
uid: string;
|
|
7602
7934
|
name: string;
|
|
7603
|
-
'x-scalar-children': {
|
|
7604
|
-
tagName: string;
|
|
7605
|
-
}[];
|
|
7606
7935
|
children: string[];
|
|
7607
7936
|
description?: string | undefined;
|
|
7608
7937
|
externalDocs?: {
|
|
7609
7938
|
url: string;
|
|
7610
7939
|
description?: string | undefined;
|
|
7611
7940
|
} | undefined;
|
|
7941
|
+
'x-scalar-children'?: {
|
|
7942
|
+
tagName: string;
|
|
7943
|
+
}[] | undefined;
|
|
7612
7944
|
}) => void;
|
|
7613
7945
|
add: (payload: import("@scalar/oas-utils/entities/spec").TagPayload, collectionUid: string) => void | {
|
|
7614
7946
|
type: "tag";
|
|
7615
7947
|
uid: string;
|
|
7616
7948
|
name: string;
|
|
7617
|
-
'x-scalar-children': {
|
|
7618
|
-
tagName: string;
|
|
7619
|
-
}[];
|
|
7620
7949
|
children: string[];
|
|
7621
7950
|
description?: string | undefined;
|
|
7622
7951
|
externalDocs?: {
|
|
7623
7952
|
url: string;
|
|
7624
7953
|
description?: string | undefined;
|
|
7625
7954
|
} | undefined;
|
|
7955
|
+
'x-scalar-children'?: {
|
|
7956
|
+
tagName: string;
|
|
7957
|
+
}[] | undefined;
|
|
7626
7958
|
};
|
|
7627
7959
|
delete: (tag: import("@scalar/oas-utils/entities/spec").Tag, collectionUid: string) => void;
|
|
7628
7960
|
set: (item: {
|
|
7629
7961
|
type: "tag";
|
|
7630
7962
|
uid: string;
|
|
7631
7963
|
name: string;
|
|
7632
|
-
'x-scalar-children': {
|
|
7633
|
-
tagName: string;
|
|
7634
|
-
}[];
|
|
7635
7964
|
children: string[];
|
|
7636
7965
|
description?: string | undefined;
|
|
7637
7966
|
externalDocs?: {
|
|
7638
7967
|
url: string;
|
|
7639
7968
|
description?: string | undefined;
|
|
7640
7969
|
} | undefined;
|
|
7970
|
+
'x-scalar-children'?: {
|
|
7971
|
+
tagName: string;
|
|
7972
|
+
}[] | undefined;
|
|
7641
7973
|
}) => void;
|
|
7642
|
-
edit: <P extends "name" | "type" | "children" | "description" | "
|
|
7974
|
+
edit: <P extends "name" | "type" | "children" | "description" | "externalDocs" | "uid" | "externalDocs.description" | "externalDocs.url" | `children.${number}` | "x-scalar-children" | `x-scalar-children.${number}` | `x-scalar-children.${number}.tagName`>(uid: string, path: P, value: P extends "name" | "type" | "children" | "description" | "externalDocs" | "uid" | "x-scalar-children" ? {
|
|
7643
7975
|
type: "tag";
|
|
7644
7976
|
uid: string;
|
|
7645
7977
|
name: string;
|
|
7646
|
-
'x-scalar-children': {
|
|
7647
|
-
tagName: string;
|
|
7648
|
-
}[];
|
|
7649
7978
|
children: string[];
|
|
7650
7979
|
description?: string | undefined;
|
|
7651
7980
|
externalDocs?: {
|
|
7652
7981
|
url: string;
|
|
7653
7982
|
description?: string | undefined;
|
|
7654
7983
|
} | undefined;
|
|
7655
|
-
|
|
7984
|
+
'x-scalar-children'?: {
|
|
7985
|
+
tagName: string;
|
|
7986
|
+
}[] | undefined;
|
|
7987
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "type" | "children" | "description" | "externalDocs" | "uid" | "x-scalar-children" ? R extends Path<{
|
|
7656
7988
|
type: "tag";
|
|
7657
7989
|
uid: string;
|
|
7658
7990
|
name: string;
|
|
7659
|
-
'x-scalar-children': {
|
|
7660
|
-
tagName: string;
|
|
7661
|
-
}[];
|
|
7662
7991
|
children: string[];
|
|
7663
7992
|
description?: string | undefined;
|
|
7664
7993
|
externalDocs?: {
|
|
7665
7994
|
url: string;
|
|
7666
7995
|
description?: string | undefined;
|
|
7667
7996
|
} | undefined;
|
|
7997
|
+
'x-scalar-children'?: {
|
|
7998
|
+
tagName: string;
|
|
7999
|
+
}[] | undefined;
|
|
7668
8000
|
}[K]> ? PathValue<{
|
|
7669
8001
|
type: "tag";
|
|
7670
8002
|
uid: string;
|
|
7671
8003
|
name: string;
|
|
7672
|
-
'x-scalar-children': {
|
|
7673
|
-
tagName: string;
|
|
7674
|
-
}[];
|
|
7675
8004
|
children: string[];
|
|
7676
8005
|
description?: string | undefined;
|
|
7677
8006
|
externalDocs?: {
|
|
7678
8007
|
url: string;
|
|
7679
8008
|
description?: string | undefined;
|
|
7680
8009
|
} | undefined;
|
|
8010
|
+
'x-scalar-children'?: {
|
|
8011
|
+
tagName: string;
|
|
8012
|
+
}[] | undefined;
|
|
7681
8013
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
7682
|
-
untrackedEdit: <P extends "name" | "type" | "children" | "description" | "
|
|
8014
|
+
untrackedEdit: <P extends "name" | "type" | "children" | "description" | "externalDocs" | "uid" | "externalDocs.description" | "externalDocs.url" | `children.${number}` | "x-scalar-children" | `x-scalar-children.${number}` | `x-scalar-children.${number}.tagName`>(uid: string, path: P, value: P extends "name" | "type" | "children" | "description" | "externalDocs" | "uid" | "x-scalar-children" ? {
|
|
7683
8015
|
type: "tag";
|
|
7684
8016
|
uid: string;
|
|
7685
8017
|
name: string;
|
|
7686
|
-
'x-scalar-children': {
|
|
7687
|
-
tagName: string;
|
|
7688
|
-
}[];
|
|
7689
8018
|
children: string[];
|
|
7690
8019
|
description?: string | undefined;
|
|
7691
8020
|
externalDocs?: {
|
|
7692
8021
|
url: string;
|
|
7693
8022
|
description?: string | undefined;
|
|
7694
8023
|
} | undefined;
|
|
7695
|
-
|
|
8024
|
+
'x-scalar-children'?: {
|
|
8025
|
+
tagName: string;
|
|
8026
|
+
}[] | undefined;
|
|
8027
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "type" | "children" | "description" | "externalDocs" | "uid" | "x-scalar-children" ? R extends Path<{
|
|
7696
8028
|
type: "tag";
|
|
7697
8029
|
uid: string;
|
|
7698
8030
|
name: string;
|
|
7699
|
-
'x-scalar-children': {
|
|
7700
|
-
tagName: string;
|
|
7701
|
-
}[];
|
|
7702
8031
|
children: string[];
|
|
7703
8032
|
description?: string | undefined;
|
|
7704
8033
|
externalDocs?: {
|
|
7705
8034
|
url: string;
|
|
7706
8035
|
description?: string | undefined;
|
|
7707
8036
|
} | undefined;
|
|
8037
|
+
'x-scalar-children'?: {
|
|
8038
|
+
tagName: string;
|
|
8039
|
+
}[] | undefined;
|
|
7708
8040
|
}[K]> ? PathValue<{
|
|
7709
8041
|
type: "tag";
|
|
7710
8042
|
uid: string;
|
|
7711
8043
|
name: string;
|
|
7712
|
-
'x-scalar-children': {
|
|
7713
|
-
tagName: string;
|
|
7714
|
-
}[];
|
|
7715
8044
|
children: string[];
|
|
7716
8045
|
description?: string | undefined;
|
|
7717
8046
|
externalDocs?: {
|
|
7718
8047
|
url: string;
|
|
7719
8048
|
description?: string | undefined;
|
|
7720
8049
|
} | undefined;
|
|
8050
|
+
'x-scalar-children'?: {
|
|
8051
|
+
tagName: string;
|
|
8052
|
+
}[] | undefined;
|
|
7721
8053
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
7722
8054
|
undo: (uid: string) => void;
|
|
7723
8055
|
redo: (uid: string) => void;
|