@scalar/api-client 2.3.8 → 2.3.9
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 +20 -0
- package/dist/components/CodeInput/CodeInput.vue.d.ts +1 -1
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.js +2 -2
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +8 -8
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/ScalarHotkey.vue.d.ts +1 -1
- package/dist/components/ScalarHotkey.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdownItem.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdownItem.vue.js +2 -2
- package/dist/components/ViewLayout/ViewLayoutSection.test.d.ts +2 -0
- package/dist/components/ViewLayout/ViewLayoutSection.test.d.ts.map +1 -0
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +8 -8
- package/dist/layouts/App/create-api-client-app.d.ts +638 -466
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.d.ts +1297 -953
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.d.ts +638 -466
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +631 -459
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/find-request.d.ts +4 -4
- package/dist/libs/find-request.d.ts.map +1 -1
- package/dist/libs/hot-keys.d.ts +2 -2
- package/dist/libs/send-request/build-request-security.d.ts +2 -2
- package/dist/libs/send-request/create-request-operation.test.d.ts +49 -47
- package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
- package/dist/store/active-entities.d.ts +65 -61
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/collections.d.ts +30 -30
- package/dist/store/collections.d.ts.map +1 -1
- package/dist/store/cookies.d.ts +18 -18
- package/dist/store/environment.d.ts +9 -9
- package/dist/store/import-spec.d.ts +154 -2
- package/dist/store/import-spec.d.ts.map +1 -1
- package/dist/store/request-example.d.ts +272 -272
- package/dist/store/request-example.d.ts.map +1 -1
- package/dist/store/requests.d.ts +44 -44
- package/dist/store/requests.d.ts.map +1 -1
- package/dist/store/security-schemes.d.ts +10 -10
- package/dist/store/security-schemes.d.ts.map +1 -1
- package/dist/store/servers.d.ts +50 -30
- package/dist/store/servers.d.ts.map +1 -1
- package/dist/store/store.d.ts +635 -463
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/tags.d.ts +10 -10
- package/dist/store/workspace.d.ts +44 -44
- package/dist/style.css +1 -1
- package/dist/views/Collection/CollectionServerForm.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.test.d.ts +2 -0
- package/dist/views/Request/RequestSection/RequestSection.test.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestSection.vue2.js +26 -19
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +191 -193
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.test.d.ts +2 -0
- package/dist/views/Request/ResponseSection/ResponseSection.test.d.ts.map +1 -0
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +2 -2
- package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +50 -47
- package/package.json +12 -12
|
@@ -7,10 +7,10 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
7
7
|
updateConfig: (_newConfig: Partial<ApiClientConfiguration>) => Promise<void>;
|
|
8
8
|
updateServer: (serverUrl: string) => void;
|
|
9
9
|
onUpdateServer: (callback: (url: string) => void) => void;
|
|
10
|
-
updateAuth: <P extends import("@scalar/object-utils/nested").Path<import("@scalar/
|
|
10
|
+
updateAuth: <P extends import("@scalar/object-utils/nested").Path<import("@scalar/types/entities").SecurityScheme>>({ nameKey, propertyKey, value, }: {
|
|
11
11
|
nameKey: string;
|
|
12
12
|
propertyKey: P;
|
|
13
|
-
value: NonNullable<import("@scalar/object-utils/nested").PathValue<import("@scalar/
|
|
13
|
+
value: NonNullable<import("@scalar/object-utils/nested").PathValue<import("@scalar/types/entities").SecurityScheme, P>>;
|
|
14
14
|
}) => void;
|
|
15
15
|
route: (payload?: import("../../libs").OpenClientPayload) => void;
|
|
16
16
|
open: (payload?: import("../../libs").OpenClientPayload) => void;
|
|
@@ -25,27 +25,27 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
25
25
|
uid: string & import("zod").BRAND<"workspace">;
|
|
26
26
|
name: string;
|
|
27
27
|
description: string;
|
|
28
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
28
29
|
collections: (string & import("zod").BRAND<"collection">)[];
|
|
29
30
|
environments: Record<string, string>;
|
|
30
31
|
activeEnvironmentId: string;
|
|
31
|
-
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
32
32
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
33
33
|
selectedHttpClient: {
|
|
34
34
|
targetKey: string;
|
|
35
35
|
clientKey: string;
|
|
36
36
|
};
|
|
37
37
|
hotKeyConfig?: {
|
|
38
|
-
modifiers: ("
|
|
39
|
-
hotKeys?: Partial<Record<"" | "
|
|
38
|
+
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
39
|
+
hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
40
40
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
41
|
-
modifiers?: ("
|
|
41
|
+
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
42
42
|
}>> | undefined;
|
|
43
43
|
} | undefined;
|
|
44
44
|
proxyUrl?: string | undefined;
|
|
45
45
|
}>;
|
|
46
46
|
collections: Record<string, {
|
|
47
|
-
type: "collection";
|
|
48
47
|
uid: string & import("zod").BRAND<"collection">;
|
|
48
|
+
type: "collection";
|
|
49
49
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
50
50
|
openapi: string;
|
|
51
51
|
info: {
|
|
@@ -87,21 +87,21 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
87
87
|
default: string;
|
|
88
88
|
description?: string | undefined;
|
|
89
89
|
}>;
|
|
90
|
-
description?: string | undefined;
|
|
91
90
|
color?: string | undefined;
|
|
91
|
+
description?: string | undefined;
|
|
92
92
|
}> | undefined;
|
|
93
93
|
'x-scalar-secrets'?: Record<string, {
|
|
94
|
-
example?: string | undefined;
|
|
95
94
|
description?: string | undefined;
|
|
95
|
+
example?: string | undefined;
|
|
96
96
|
}> | undefined;
|
|
97
97
|
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
98
98
|
documentUrl?: string | undefined;
|
|
99
99
|
integration?: string | null | undefined;
|
|
100
100
|
}>;
|
|
101
101
|
tags: Record<string, {
|
|
102
|
-
type: "tag";
|
|
103
102
|
uid: string & import("zod").BRAND<"tag">;
|
|
104
103
|
name: string;
|
|
104
|
+
type: "tag";
|
|
105
105
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
106
106
|
description?: string | undefined;
|
|
107
107
|
externalDocs?: {
|
|
@@ -115,23 +115,51 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
115
115
|
'x-scalar-ignore'?: boolean | undefined;
|
|
116
116
|
}>;
|
|
117
117
|
cookies: Record<string, {
|
|
118
|
-
value: string;
|
|
119
118
|
uid: string & import("zod").BRAND<"cookie">;
|
|
120
119
|
name: string;
|
|
121
|
-
|
|
120
|
+
value: string;
|
|
122
121
|
domain?: string | undefined;
|
|
122
|
+
path?: string | undefined;
|
|
123
123
|
}>;
|
|
124
124
|
environments: Record<string, {
|
|
125
|
-
value: string;
|
|
126
125
|
uid: string & import("zod").BRAND<"environment">;
|
|
127
126
|
name: string;
|
|
127
|
+
value: string;
|
|
128
128
|
color: string;
|
|
129
129
|
isDefault?: boolean | undefined;
|
|
130
130
|
}>;
|
|
131
131
|
requestExamples: Record<string, {
|
|
132
|
-
type: "requestExample";
|
|
133
132
|
uid: string & import("zod").BRAND<"example">;
|
|
134
133
|
name: string;
|
|
134
|
+
type: "requestExample";
|
|
135
|
+
body: {
|
|
136
|
+
activeBody: "formData" | "binary" | "raw";
|
|
137
|
+
formData?: {
|
|
138
|
+
value: {
|
|
139
|
+
value: string;
|
|
140
|
+
key: string;
|
|
141
|
+
enabled: boolean;
|
|
142
|
+
minimum?: number | undefined;
|
|
143
|
+
type?: string | string[] | undefined;
|
|
144
|
+
maximum?: number | undefined;
|
|
145
|
+
description?: string | undefined;
|
|
146
|
+
default?: any;
|
|
147
|
+
required?: boolean | undefined;
|
|
148
|
+
examples?: string[] | undefined;
|
|
149
|
+
format?: string | undefined;
|
|
150
|
+
enum?: string[] | undefined;
|
|
151
|
+
file?: any;
|
|
152
|
+
nullable?: boolean | undefined;
|
|
153
|
+
}[];
|
|
154
|
+
encoding: "form-data" | "urlencoded";
|
|
155
|
+
} | undefined;
|
|
156
|
+
binary?: Blob | undefined;
|
|
157
|
+
raw?: {
|
|
158
|
+
value: string;
|
|
159
|
+
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
160
|
+
mimeType?: string | undefined;
|
|
161
|
+
} | undefined;
|
|
162
|
+
};
|
|
135
163
|
parameters: {
|
|
136
164
|
path: {
|
|
137
165
|
value: string;
|
|
@@ -140,99 +168,71 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
140
168
|
minimum?: number | undefined;
|
|
141
169
|
type?: string | string[] | undefined;
|
|
142
170
|
maximum?: number | undefined;
|
|
171
|
+
description?: string | undefined;
|
|
143
172
|
default?: any;
|
|
144
173
|
required?: boolean | undefined;
|
|
145
|
-
description?: string | undefined;
|
|
146
|
-
enum?: string[] | undefined;
|
|
147
174
|
examples?: string[] | undefined;
|
|
148
175
|
format?: string | undefined;
|
|
176
|
+
enum?: string[] | undefined;
|
|
149
177
|
file?: any;
|
|
150
178
|
nullable?: boolean | undefined;
|
|
151
179
|
}[];
|
|
152
|
-
|
|
180
|
+
query: {
|
|
153
181
|
value: string;
|
|
154
182
|
key: string;
|
|
155
183
|
enabled: boolean;
|
|
156
184
|
minimum?: number | undefined;
|
|
157
185
|
type?: string | string[] | undefined;
|
|
158
186
|
maximum?: number | undefined;
|
|
187
|
+
description?: string | undefined;
|
|
159
188
|
default?: any;
|
|
160
189
|
required?: boolean | undefined;
|
|
161
|
-
description?: string | undefined;
|
|
162
|
-
enum?: string[] | undefined;
|
|
163
190
|
examples?: string[] | undefined;
|
|
164
191
|
format?: string | undefined;
|
|
192
|
+
enum?: string[] | undefined;
|
|
165
193
|
file?: any;
|
|
166
194
|
nullable?: boolean | undefined;
|
|
167
195
|
}[];
|
|
168
|
-
|
|
196
|
+
headers: {
|
|
169
197
|
value: string;
|
|
170
198
|
key: string;
|
|
171
199
|
enabled: boolean;
|
|
172
200
|
minimum?: number | undefined;
|
|
173
201
|
type?: string | string[] | undefined;
|
|
174
202
|
maximum?: number | undefined;
|
|
203
|
+
description?: string | undefined;
|
|
175
204
|
default?: any;
|
|
176
205
|
required?: boolean | undefined;
|
|
177
|
-
description?: string | undefined;
|
|
178
|
-
enum?: string[] | undefined;
|
|
179
206
|
examples?: string[] | undefined;
|
|
180
207
|
format?: string | undefined;
|
|
208
|
+
enum?: string[] | undefined;
|
|
181
209
|
file?: any;
|
|
182
210
|
nullable?: boolean | undefined;
|
|
183
211
|
}[];
|
|
184
|
-
|
|
212
|
+
cookies: {
|
|
185
213
|
value: string;
|
|
186
214
|
key: string;
|
|
187
215
|
enabled: boolean;
|
|
188
216
|
minimum?: number | undefined;
|
|
189
217
|
type?: string | string[] | undefined;
|
|
190
218
|
maximum?: number | undefined;
|
|
219
|
+
description?: string | undefined;
|
|
191
220
|
default?: any;
|
|
192
221
|
required?: boolean | undefined;
|
|
193
|
-
description?: string | undefined;
|
|
194
|
-
enum?: string[] | undefined;
|
|
195
222
|
examples?: string[] | undefined;
|
|
196
223
|
format?: string | undefined;
|
|
224
|
+
enum?: string[] | undefined;
|
|
197
225
|
file?: any;
|
|
198
226
|
nullable?: boolean | undefined;
|
|
199
227
|
}[];
|
|
200
228
|
};
|
|
201
|
-
body: {
|
|
202
|
-
activeBody: "binary" | "formData" | "raw";
|
|
203
|
-
binary?: Blob | undefined;
|
|
204
|
-
formData?: {
|
|
205
|
-
value: {
|
|
206
|
-
value: string;
|
|
207
|
-
key: string;
|
|
208
|
-
enabled: boolean;
|
|
209
|
-
minimum?: number | undefined;
|
|
210
|
-
type?: string | string[] | undefined;
|
|
211
|
-
maximum?: number | undefined;
|
|
212
|
-
default?: any;
|
|
213
|
-
required?: boolean | undefined;
|
|
214
|
-
description?: string | undefined;
|
|
215
|
-
enum?: string[] | undefined;
|
|
216
|
-
examples?: string[] | undefined;
|
|
217
|
-
format?: string | undefined;
|
|
218
|
-
file?: any;
|
|
219
|
-
nullable?: boolean | undefined;
|
|
220
|
-
}[];
|
|
221
|
-
encoding: "form-data" | "urlencoded";
|
|
222
|
-
} | undefined;
|
|
223
|
-
raw?: {
|
|
224
|
-
value: string;
|
|
225
|
-
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
226
|
-
mimeType?: string | undefined;
|
|
227
|
-
} | undefined;
|
|
228
|
-
};
|
|
229
229
|
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
230
230
|
serverVariables?: Record<string, string[]> | undefined;
|
|
231
231
|
}>;
|
|
232
232
|
requests: Record<string, {
|
|
233
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
233
234
|
path: string;
|
|
234
235
|
type: "request";
|
|
235
|
-
uid: string & import("zod").BRAND<"operation">;
|
|
236
236
|
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
237
237
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
238
238
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
@@ -251,12 +251,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
251
251
|
deprecated?: boolean | undefined;
|
|
252
252
|
operationId?: string | undefined;
|
|
253
253
|
parameters?: {
|
|
254
|
-
required: boolean;
|
|
255
254
|
name: string;
|
|
256
|
-
|
|
255
|
+
required: boolean;
|
|
256
|
+
in: "cookie" | "path" | "query" | "header";
|
|
257
257
|
deprecated: boolean;
|
|
258
|
-
example?: unknown;
|
|
259
258
|
description?: string | undefined;
|
|
259
|
+
example?: unknown;
|
|
260
260
|
schema?: unknown;
|
|
261
261
|
content?: unknown;
|
|
262
262
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -273,17 +273,19 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
273
273
|
uid: string & import("zod").BRAND<"server">;
|
|
274
274
|
url: string;
|
|
275
275
|
description?: string | undefined;
|
|
276
|
-
variables?: Record<string,
|
|
277
|
-
|
|
278
|
-
|
|
276
|
+
variables?: Record<string, {
|
|
277
|
+
value?: string | undefined;
|
|
278
|
+
description?: string | undefined;
|
|
279
|
+
default?: string | undefined;
|
|
280
|
+
enum?: string[] | undefined;
|
|
279
281
|
}> | undefined;
|
|
280
282
|
}>;
|
|
281
283
|
securitySchemes: Record<string, {
|
|
282
284
|
type: "apiKey";
|
|
283
285
|
value: string;
|
|
284
286
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
285
|
-
name: string;
|
|
286
287
|
nameKey: string;
|
|
288
|
+
name: string;
|
|
287
289
|
in: "cookie" | "query" | "header";
|
|
288
290
|
description?: string | undefined;
|
|
289
291
|
} | {
|
|
@@ -377,8 +379,8 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
377
379
|
showSidebar: boolean;
|
|
378
380
|
integration: "elysiajs" | "fastify" | "vue" | "html" | "go" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | null | undefined;
|
|
379
381
|
importSpecFile: (_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
|
|
380
|
-
type?: "collection" | undefined;
|
|
381
382
|
uid?: string | undefined;
|
|
383
|
+
type?: "collection" | undefined;
|
|
382
384
|
externalDocs?: {
|
|
383
385
|
url: string;
|
|
384
386
|
description?: unknown;
|
|
@@ -394,15 +396,15 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
394
396
|
'x-scalar-active-environment'?: string | undefined;
|
|
395
397
|
'x-scalar-environments'?: Record<string, {
|
|
396
398
|
variables: Record<string, string | {
|
|
397
|
-
default?: string | undefined;
|
|
398
399
|
description?: string | undefined;
|
|
400
|
+
default?: string | undefined;
|
|
399
401
|
}>;
|
|
400
|
-
description?: string | undefined;
|
|
401
402
|
color?: string | undefined;
|
|
403
|
+
description?: string | undefined;
|
|
402
404
|
}> | undefined;
|
|
403
405
|
'x-scalar-secrets'?: Record<string, {
|
|
404
|
-
example?: string | undefined;
|
|
405
406
|
description?: string | undefined;
|
|
407
|
+
example?: string | undefined;
|
|
406
408
|
}> | undefined;
|
|
407
409
|
securitySchemes?: string[] | undefined;
|
|
408
410
|
selectedSecuritySchemeUids?: (string | string[])[] | undefined;
|
|
@@ -425,11 +427,87 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
425
427
|
examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
|
|
426
428
|
servers: import("@scalar/oas-utils/entities/spec").Server[];
|
|
427
429
|
tags: import("@scalar/oas-utils/entities/spec").Tag[];
|
|
428
|
-
securitySchemes:
|
|
430
|
+
securitySchemes: ({
|
|
431
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
432
|
+
name: string;
|
|
433
|
+
value: string;
|
|
434
|
+
type: "apiKey";
|
|
435
|
+
in: "cookie" | "query" | "header";
|
|
436
|
+
nameKey: string;
|
|
437
|
+
description?: string | undefined;
|
|
438
|
+
} | {
|
|
439
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
440
|
+
type: "http";
|
|
441
|
+
password: string;
|
|
442
|
+
nameKey: string;
|
|
443
|
+
scheme: "basic" | "bearer";
|
|
444
|
+
bearerFormat: string;
|
|
445
|
+
username: string;
|
|
446
|
+
token: string;
|
|
447
|
+
description?: string | undefined;
|
|
448
|
+
} | {
|
|
449
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
450
|
+
type: "openIdConnect";
|
|
451
|
+
nameKey: string;
|
|
452
|
+
openIdConnectUrl: string;
|
|
453
|
+
description?: string | undefined;
|
|
454
|
+
} | {
|
|
455
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
456
|
+
type: "oauth2";
|
|
457
|
+
nameKey: string;
|
|
458
|
+
flows: {
|
|
459
|
+
password?: {
|
|
460
|
+
type: "password";
|
|
461
|
+
password: string;
|
|
462
|
+
username: string;
|
|
463
|
+
token: string;
|
|
464
|
+
refreshUrl: string;
|
|
465
|
+
scopes: Record<string, string>;
|
|
466
|
+
selectedScopes: string[];
|
|
467
|
+
"x-scalar-client-id": string;
|
|
468
|
+
tokenUrl: string;
|
|
469
|
+
clientSecret: string;
|
|
470
|
+
} | undefined;
|
|
471
|
+
implicit?: {
|
|
472
|
+
type: "implicit";
|
|
473
|
+
token: string;
|
|
474
|
+
refreshUrl: string;
|
|
475
|
+
scopes: Record<string, string>;
|
|
476
|
+
selectedScopes: string[];
|
|
477
|
+
"x-scalar-client-id": string;
|
|
478
|
+
authorizationUrl: string;
|
|
479
|
+
"x-scalar-redirect-uri": string;
|
|
480
|
+
} | undefined;
|
|
481
|
+
clientCredentials?: {
|
|
482
|
+
type: "clientCredentials";
|
|
483
|
+
token: string;
|
|
484
|
+
refreshUrl: string;
|
|
485
|
+
scopes: Record<string, string>;
|
|
486
|
+
selectedScopes: string[];
|
|
487
|
+
"x-scalar-client-id": string;
|
|
488
|
+
tokenUrl: string;
|
|
489
|
+
clientSecret: string;
|
|
490
|
+
} | undefined;
|
|
491
|
+
authorizationCode?: {
|
|
492
|
+
type: "authorizationCode";
|
|
493
|
+
token: string;
|
|
494
|
+
refreshUrl: string;
|
|
495
|
+
scopes: Record<string, string>;
|
|
496
|
+
selectedScopes: string[];
|
|
497
|
+
"x-scalar-client-id": string;
|
|
498
|
+
authorizationUrl: string;
|
|
499
|
+
"x-scalar-redirect-uri": string;
|
|
500
|
+
tokenUrl: string;
|
|
501
|
+
clientSecret: string;
|
|
502
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
503
|
+
} | undefined;
|
|
504
|
+
};
|
|
505
|
+
description?: string | undefined;
|
|
506
|
+
})[];
|
|
429
507
|
} | undefined>;
|
|
430
508
|
importSpecFromUrl: (url: string, workspaceUid: string, { proxyUrl, ...options }?: Omit<Pick<{
|
|
431
|
-
type?: "collection" | undefined;
|
|
432
509
|
uid?: string | undefined;
|
|
510
|
+
type?: "collection" | undefined;
|
|
433
511
|
externalDocs?: {
|
|
434
512
|
url: string;
|
|
435
513
|
description?: unknown;
|
|
@@ -445,15 +523,15 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
445
523
|
'x-scalar-active-environment'?: string | undefined;
|
|
446
524
|
'x-scalar-environments'?: Record<string, {
|
|
447
525
|
variables: Record<string, string | {
|
|
448
|
-
default?: string | undefined;
|
|
449
526
|
description?: string | undefined;
|
|
527
|
+
default?: string | undefined;
|
|
450
528
|
}>;
|
|
451
|
-
description?: string | undefined;
|
|
452
529
|
color?: string | undefined;
|
|
530
|
+
description?: string | undefined;
|
|
453
531
|
}> | undefined;
|
|
454
532
|
'x-scalar-secrets'?: Record<string, {
|
|
455
|
-
example?: string | undefined;
|
|
456
533
|
description?: string | undefined;
|
|
534
|
+
example?: string | undefined;
|
|
457
535
|
}> | undefined;
|
|
458
536
|
securitySchemes?: string[] | undefined;
|
|
459
537
|
selectedSecuritySchemeUids?: (string | string[])[] | undefined;
|
|
@@ -469,8 +547,8 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
469
547
|
setCollectionSecurity?: boolean;
|
|
470
548
|
shouldLoad?: boolean;
|
|
471
549
|
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("../../libs").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
|
|
472
|
-
type?: "collection" | undefined;
|
|
473
550
|
uid?: string | undefined;
|
|
551
|
+
type?: "collection" | undefined;
|
|
474
552
|
externalDocs?: {
|
|
475
553
|
url: string;
|
|
476
554
|
description?: unknown;
|
|
@@ -486,15 +564,15 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
486
564
|
'x-scalar-active-environment'?: string | undefined;
|
|
487
565
|
'x-scalar-environments'?: Record<string, {
|
|
488
566
|
variables: Record<string, string | {
|
|
489
|
-
default?: string | undefined;
|
|
490
567
|
description?: string | undefined;
|
|
568
|
+
default?: string | undefined;
|
|
491
569
|
}>;
|
|
492
|
-
description?: string | undefined;
|
|
493
570
|
color?: string | undefined;
|
|
571
|
+
description?: string | undefined;
|
|
494
572
|
}> | undefined;
|
|
495
573
|
'x-scalar-secrets'?: Record<string, {
|
|
496
|
-
example?: string | undefined;
|
|
497
574
|
description?: string | undefined;
|
|
575
|
+
example?: string | undefined;
|
|
498
576
|
}> | undefined;
|
|
499
577
|
securitySchemes?: string[] | undefined;
|
|
500
578
|
selectedSecuritySchemeUids?: (string | string[])[] | undefined;
|
|
@@ -517,61 +595,137 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
517
595
|
examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
|
|
518
596
|
servers: import("@scalar/oas-utils/entities/spec").Server[];
|
|
519
597
|
tags: import("@scalar/oas-utils/entities/spec").Tag[];
|
|
520
|
-
securitySchemes:
|
|
598
|
+
securitySchemes: ({
|
|
599
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
600
|
+
name: string;
|
|
601
|
+
value: string;
|
|
602
|
+
type: "apiKey";
|
|
603
|
+
in: "cookie" | "query" | "header";
|
|
604
|
+
nameKey: string;
|
|
605
|
+
description?: string | undefined;
|
|
606
|
+
} | {
|
|
607
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
608
|
+
type: "http";
|
|
609
|
+
password: string;
|
|
610
|
+
nameKey: string;
|
|
611
|
+
scheme: "basic" | "bearer";
|
|
612
|
+
bearerFormat: string;
|
|
613
|
+
username: string;
|
|
614
|
+
token: string;
|
|
615
|
+
description?: string | undefined;
|
|
616
|
+
} | {
|
|
617
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
618
|
+
type: "openIdConnect";
|
|
619
|
+
nameKey: string;
|
|
620
|
+
openIdConnectUrl: string;
|
|
621
|
+
description?: string | undefined;
|
|
622
|
+
} | {
|
|
623
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
624
|
+
type: "oauth2";
|
|
625
|
+
nameKey: string;
|
|
626
|
+
flows: {
|
|
627
|
+
password?: {
|
|
628
|
+
type: "password";
|
|
629
|
+
password: string;
|
|
630
|
+
username: string;
|
|
631
|
+
token: string;
|
|
632
|
+
refreshUrl: string;
|
|
633
|
+
scopes: Record<string, string>;
|
|
634
|
+
selectedScopes: string[];
|
|
635
|
+
"x-scalar-client-id": string;
|
|
636
|
+
tokenUrl: string;
|
|
637
|
+
clientSecret: string;
|
|
638
|
+
} | undefined;
|
|
639
|
+
implicit?: {
|
|
640
|
+
type: "implicit";
|
|
641
|
+
token: string;
|
|
642
|
+
refreshUrl: string;
|
|
643
|
+
scopes: Record<string, string>;
|
|
644
|
+
selectedScopes: string[];
|
|
645
|
+
"x-scalar-client-id": string;
|
|
646
|
+
authorizationUrl: string;
|
|
647
|
+
"x-scalar-redirect-uri": string;
|
|
648
|
+
} | undefined;
|
|
649
|
+
clientCredentials?: {
|
|
650
|
+
type: "clientCredentials";
|
|
651
|
+
token: string;
|
|
652
|
+
refreshUrl: string;
|
|
653
|
+
scopes: Record<string, string>;
|
|
654
|
+
selectedScopes: string[];
|
|
655
|
+
"x-scalar-client-id": string;
|
|
656
|
+
tokenUrl: string;
|
|
657
|
+
clientSecret: string;
|
|
658
|
+
} | undefined;
|
|
659
|
+
authorizationCode?: {
|
|
660
|
+
type: "authorizationCode";
|
|
661
|
+
token: string;
|
|
662
|
+
refreshUrl: string;
|
|
663
|
+
scopes: Record<string, string>;
|
|
664
|
+
selectedScopes: string[];
|
|
665
|
+
"x-scalar-client-id": string;
|
|
666
|
+
authorizationUrl: string;
|
|
667
|
+
"x-scalar-redirect-uri": string;
|
|
668
|
+
tokenUrl: string;
|
|
669
|
+
clientSecret: string;
|
|
670
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
671
|
+
} | undefined;
|
|
672
|
+
};
|
|
673
|
+
description?: string | undefined;
|
|
674
|
+
})[];
|
|
521
675
|
} | undefined>>>>>;
|
|
522
676
|
cookieMutators: {
|
|
523
677
|
add: (item: {
|
|
524
|
-
value: string;
|
|
525
678
|
uid: string & import("zod").BRAND<"cookie">;
|
|
526
679
|
name: string;
|
|
527
|
-
|
|
680
|
+
value: string;
|
|
528
681
|
domain?: string | undefined;
|
|
682
|
+
path?: string | undefined;
|
|
529
683
|
}) => void;
|
|
530
684
|
delete: (uid: (string & import("zod").BRAND<"cookie">) | null | undefined) => void;
|
|
531
685
|
set: (item: {
|
|
532
|
-
value: string;
|
|
533
686
|
uid: string & import("zod").BRAND<"cookie">;
|
|
534
687
|
name: string;
|
|
535
|
-
|
|
688
|
+
value: string;
|
|
536
689
|
domain?: string | undefined;
|
|
690
|
+
path?: string | undefined;
|
|
537
691
|
}) => void;
|
|
538
692
|
edit: <P extends "value" | "path" | "name" | "uid" | "domain">(uid: (string & import("zod").BRAND<"cookie">) | null | undefined, path: P, value: P extends "value" | "path" | "name" | "uid" | "domain" ? {
|
|
539
|
-
value: string;
|
|
540
693
|
uid: string & import("zod").BRAND<"cookie">;
|
|
541
694
|
name: string;
|
|
542
|
-
|
|
695
|
+
value: string;
|
|
543
696
|
domain?: string | undefined;
|
|
697
|
+
path?: string | undefined;
|
|
544
698
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "path" | "name" | "uid" | "domain" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
545
|
-
value: string;
|
|
546
699
|
uid: string & import("zod").BRAND<"cookie">;
|
|
547
700
|
name: string;
|
|
548
|
-
|
|
701
|
+
value: string;
|
|
549
702
|
domain?: string | undefined;
|
|
703
|
+
path?: string | undefined;
|
|
550
704
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
551
|
-
value: string;
|
|
552
705
|
uid: string & import("zod").BRAND<"cookie">;
|
|
553
706
|
name: string;
|
|
554
|
-
|
|
707
|
+
value: string;
|
|
555
708
|
domain?: string | undefined;
|
|
709
|
+
path?: string | undefined;
|
|
556
710
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
557
711
|
untrackedEdit: <P extends "value" | "path" | "name" | "uid" | "domain">(uid: string & import("zod").BRAND<"cookie">, path: P, value: P extends "value" | "path" | "name" | "uid" | "domain" ? {
|
|
558
|
-
value: string;
|
|
559
712
|
uid: string & import("zod").BRAND<"cookie">;
|
|
560
713
|
name: string;
|
|
561
|
-
|
|
714
|
+
value: string;
|
|
562
715
|
domain?: string | undefined;
|
|
716
|
+
path?: string | undefined;
|
|
563
717
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "path" | "name" | "uid" | "domain" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
564
|
-
value: string;
|
|
565
718
|
uid: string & import("zod").BRAND<"cookie">;
|
|
566
719
|
name: string;
|
|
567
|
-
|
|
720
|
+
value: string;
|
|
568
721
|
domain?: string | undefined;
|
|
722
|
+
path?: string | undefined;
|
|
569
723
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
570
|
-
value: string;
|
|
571
724
|
uid: string & import("zod").BRAND<"cookie">;
|
|
572
725
|
name: string;
|
|
573
|
-
|
|
726
|
+
value: string;
|
|
574
727
|
domain?: string | undefined;
|
|
728
|
+
path?: string | undefined;
|
|
575
729
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
576
730
|
undo: (uid: string & import("zod").BRAND<"cookie">) => void;
|
|
577
731
|
redo: (uid: string & import("zod").BRAND<"cookie">) => void;
|
|
@@ -579,8 +733,8 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
579
733
|
};
|
|
580
734
|
collectionMutators: {
|
|
581
735
|
rawAdd: (item: {
|
|
582
|
-
type: "collection";
|
|
583
736
|
uid: string & import("zod").BRAND<"collection">;
|
|
737
|
+
type: "collection";
|
|
584
738
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
585
739
|
openapi: string;
|
|
586
740
|
info: {
|
|
@@ -622,20 +776,20 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
622
776
|
default: string;
|
|
623
777
|
description?: string | undefined;
|
|
624
778
|
}>;
|
|
625
|
-
description?: string | undefined;
|
|
626
779
|
color?: string | undefined;
|
|
780
|
+
description?: string | undefined;
|
|
627
781
|
}> | undefined;
|
|
628
782
|
'x-scalar-secrets'?: Record<string, {
|
|
629
|
-
example?: string | undefined;
|
|
630
783
|
description?: string | undefined;
|
|
784
|
+
example?: string | undefined;
|
|
631
785
|
}> | undefined;
|
|
632
786
|
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
633
787
|
documentUrl?: string | undefined;
|
|
634
788
|
integration?: string | null | undefined;
|
|
635
789
|
}) => void;
|
|
636
|
-
add: (payload: import("@scalar/oas-utils/entities/spec").CollectionPayload, workspaceUid: import("@scalar/oas-utils/entities").Workspace["uid"]) => {
|
|
637
|
-
type: "collection";
|
|
790
|
+
add: (payload: import("@scalar/oas-utils/entities/spec").CollectionPayload, workspaceUid: import("@scalar/oas-utils/entities/workspace").Workspace["uid"]) => {
|
|
638
791
|
uid: string & import("zod").BRAND<"collection">;
|
|
792
|
+
type: "collection";
|
|
639
793
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
640
794
|
openapi: string;
|
|
641
795
|
info: {
|
|
@@ -677,23 +831,23 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
677
831
|
default: string;
|
|
678
832
|
description?: string | undefined;
|
|
679
833
|
}>;
|
|
680
|
-
description?: string | undefined;
|
|
681
834
|
color?: string | undefined;
|
|
835
|
+
description?: string | undefined;
|
|
682
836
|
}> | undefined;
|
|
683
837
|
'x-scalar-secrets'?: Record<string, {
|
|
684
|
-
example?: string | undefined;
|
|
685
838
|
description?: string | undefined;
|
|
839
|
+
example?: string | undefined;
|
|
686
840
|
}> | undefined;
|
|
687
841
|
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
688
842
|
documentUrl?: string | undefined;
|
|
689
843
|
integration?: string | null | undefined;
|
|
690
844
|
};
|
|
691
|
-
delete: (collection: import("@scalar/oas-utils/entities/spec").Collection, workspace: import("@scalar/oas-utils/entities").Workspace) => void;
|
|
845
|
+
delete: (collection: import("@scalar/oas-utils/entities/spec").Collection, workspace: import("@scalar/oas-utils/entities/workspace").Workspace) => void;
|
|
692
846
|
addEnvironment: (environmentName: string, environment: import("@scalar/oas-utils/entities/spec").XScalarEnvironment, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
693
847
|
removeEnvironment: (environmentName: string, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
694
848
|
set: (item: {
|
|
695
|
-
type: "collection";
|
|
696
849
|
uid: string & import("zod").BRAND<"collection">;
|
|
850
|
+
type: "collection";
|
|
697
851
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
698
852
|
openapi: string;
|
|
699
853
|
info: {
|
|
@@ -735,20 +889,20 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
735
889
|
default: string;
|
|
736
890
|
description?: string | undefined;
|
|
737
891
|
}>;
|
|
738
|
-
description?: string | undefined;
|
|
739
892
|
color?: string | undefined;
|
|
893
|
+
description?: string | undefined;
|
|
740
894
|
}> | undefined;
|
|
741
895
|
'x-scalar-secrets'?: Record<string, {
|
|
742
|
-
example?: string | undefined;
|
|
743
896
|
description?: string | undefined;
|
|
897
|
+
example?: string | undefined;
|
|
744
898
|
}> | undefined;
|
|
745
899
|
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
746
900
|
documentUrl?: string | undefined;
|
|
747
901
|
integration?: string | null | undefined;
|
|
748
902
|
}) => void;
|
|
749
903
|
edit: <P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `requests.${number}` | `x-scalar-environments.${string}` | `children.${number}` | "info.summary" | "info.description" | "info.title" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.url" | "info.contact.email" | "info.license.name" | "info.license.url" | "info.license.identifier" | `securitySchemes.${number}` | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | `servers.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-secrets.${string}`>(uid: (string & import("zod").BRAND<"collection">) | null | undefined, path: P, value: P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? {
|
|
750
|
-
type: "collection";
|
|
751
904
|
uid: string & import("zod").BRAND<"collection">;
|
|
905
|
+
type: "collection";
|
|
752
906
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
753
907
|
openapi: string;
|
|
754
908
|
info: {
|
|
@@ -790,19 +944,19 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
790
944
|
default: string;
|
|
791
945
|
description?: string | undefined;
|
|
792
946
|
}>;
|
|
793
|
-
description?: string | undefined;
|
|
794
947
|
color?: string | undefined;
|
|
948
|
+
description?: string | undefined;
|
|
795
949
|
}> | undefined;
|
|
796
950
|
'x-scalar-secrets'?: Record<string, {
|
|
797
|
-
example?: string | undefined;
|
|
798
951
|
description?: string | undefined;
|
|
952
|
+
example?: string | undefined;
|
|
799
953
|
}> | undefined;
|
|
800
954
|
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
801
955
|
documentUrl?: string | undefined;
|
|
802
956
|
integration?: string | null | undefined;
|
|
803
957
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
804
|
-
type: "collection";
|
|
805
958
|
uid: string & import("zod").BRAND<"collection">;
|
|
959
|
+
type: "collection";
|
|
806
960
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
807
961
|
openapi: string;
|
|
808
962
|
info: {
|
|
@@ -844,19 +998,19 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
844
998
|
default: string;
|
|
845
999
|
description?: string | undefined;
|
|
846
1000
|
}>;
|
|
847
|
-
description?: string | undefined;
|
|
848
1001
|
color?: string | undefined;
|
|
1002
|
+
description?: string | undefined;
|
|
849
1003
|
}> | undefined;
|
|
850
1004
|
'x-scalar-secrets'?: Record<string, {
|
|
851
|
-
example?: string | undefined;
|
|
852
1005
|
description?: string | undefined;
|
|
1006
|
+
example?: string | undefined;
|
|
853
1007
|
}> | undefined;
|
|
854
1008
|
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
855
1009
|
documentUrl?: string | undefined;
|
|
856
1010
|
integration?: string | null | undefined;
|
|
857
1011
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
858
|
-
type: "collection";
|
|
859
1012
|
uid: string & import("zod").BRAND<"collection">;
|
|
1013
|
+
type: "collection";
|
|
860
1014
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
861
1015
|
openapi: string;
|
|
862
1016
|
info: {
|
|
@@ -898,20 +1052,20 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
898
1052
|
default: string;
|
|
899
1053
|
description?: string | undefined;
|
|
900
1054
|
}>;
|
|
901
|
-
description?: string | undefined;
|
|
902
1055
|
color?: string | undefined;
|
|
1056
|
+
description?: string | undefined;
|
|
903
1057
|
}> | undefined;
|
|
904
1058
|
'x-scalar-secrets'?: Record<string, {
|
|
905
|
-
example?: string | undefined;
|
|
906
1059
|
description?: string | undefined;
|
|
1060
|
+
example?: string | undefined;
|
|
907
1061
|
}> | undefined;
|
|
908
1062
|
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
909
1063
|
documentUrl?: string | undefined;
|
|
910
1064
|
integration?: string | null | undefined;
|
|
911
1065
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
912
1066
|
untrackedEdit: <P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `requests.${number}` | `x-scalar-environments.${string}` | `children.${number}` | "info.summary" | "info.description" | "info.title" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.url" | "info.contact.email" | "info.license.name" | "info.license.url" | "info.license.identifier" | `securitySchemes.${number}` | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | `servers.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-secrets.${string}`>(uid: string & import("zod").BRAND<"collection">, path: P, value: P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? {
|
|
913
|
-
type: "collection";
|
|
914
1067
|
uid: string & import("zod").BRAND<"collection">;
|
|
1068
|
+
type: "collection";
|
|
915
1069
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
916
1070
|
openapi: string;
|
|
917
1071
|
info: {
|
|
@@ -953,19 +1107,19 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
953
1107
|
default: string;
|
|
954
1108
|
description?: string | undefined;
|
|
955
1109
|
}>;
|
|
956
|
-
description?: string | undefined;
|
|
957
1110
|
color?: string | undefined;
|
|
1111
|
+
description?: string | undefined;
|
|
958
1112
|
}> | undefined;
|
|
959
1113
|
'x-scalar-secrets'?: Record<string, {
|
|
960
|
-
example?: string | undefined;
|
|
961
1114
|
description?: string | undefined;
|
|
1115
|
+
example?: string | undefined;
|
|
962
1116
|
}> | undefined;
|
|
963
1117
|
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
964
1118
|
documentUrl?: string | undefined;
|
|
965
1119
|
integration?: string | null | undefined;
|
|
966
1120
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
967
|
-
type: "collection";
|
|
968
1121
|
uid: string & import("zod").BRAND<"collection">;
|
|
1122
|
+
type: "collection";
|
|
969
1123
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
970
1124
|
openapi: string;
|
|
971
1125
|
info: {
|
|
@@ -1007,19 +1161,19 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1007
1161
|
default: string;
|
|
1008
1162
|
description?: string | undefined;
|
|
1009
1163
|
}>;
|
|
1010
|
-
description?: string | undefined;
|
|
1011
1164
|
color?: string | undefined;
|
|
1165
|
+
description?: string | undefined;
|
|
1012
1166
|
}> | undefined;
|
|
1013
1167
|
'x-scalar-secrets'?: Record<string, {
|
|
1014
|
-
example?: string | undefined;
|
|
1015
1168
|
description?: string | undefined;
|
|
1169
|
+
example?: string | undefined;
|
|
1016
1170
|
}> | undefined;
|
|
1017
1171
|
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
1018
1172
|
documentUrl?: string | undefined;
|
|
1019
1173
|
integration?: string | null | undefined;
|
|
1020
1174
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
1021
|
-
type: "collection";
|
|
1022
1175
|
uid: string & import("zod").BRAND<"collection">;
|
|
1176
|
+
type: "collection";
|
|
1023
1177
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
1024
1178
|
openapi: string;
|
|
1025
1179
|
info: {
|
|
@@ -1061,12 +1215,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1061
1215
|
default: string;
|
|
1062
1216
|
description?: string | undefined;
|
|
1063
1217
|
}>;
|
|
1064
|
-
description?: string | undefined;
|
|
1065
1218
|
color?: string | undefined;
|
|
1219
|
+
description?: string | undefined;
|
|
1066
1220
|
}> | undefined;
|
|
1067
1221
|
'x-scalar-secrets'?: Record<string, {
|
|
1068
|
-
example?: string | undefined;
|
|
1069
1222
|
description?: string | undefined;
|
|
1223
|
+
example?: string | undefined;
|
|
1070
1224
|
}> | undefined;
|
|
1071
1225
|
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
1072
1226
|
documentUrl?: string | undefined;
|
|
@@ -1079,54 +1233,54 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1079
1233
|
environmentMutators: {
|
|
1080
1234
|
delete: (uid: import("@scalar/oas-utils/entities/environment").Environment["uid"]) => void;
|
|
1081
1235
|
add: (item: {
|
|
1082
|
-
value: string;
|
|
1083
1236
|
uid: string & import("zod").BRAND<"environment">;
|
|
1084
1237
|
name: string;
|
|
1238
|
+
value: string;
|
|
1085
1239
|
color: string;
|
|
1086
1240
|
isDefault?: boolean | undefined;
|
|
1087
1241
|
}) => void;
|
|
1088
1242
|
set: (item: {
|
|
1089
|
-
value: string;
|
|
1090
1243
|
uid: string & import("zod").BRAND<"environment">;
|
|
1091
1244
|
name: string;
|
|
1245
|
+
value: string;
|
|
1092
1246
|
color: string;
|
|
1093
1247
|
isDefault?: boolean | undefined;
|
|
1094
1248
|
}) => void;
|
|
1095
1249
|
edit: <P extends "value" | "name" | "uid" | "color" | "isDefault">(uid: (string & import("zod").BRAND<"environment">) | null | undefined, path: P, value: P extends "value" | "name" | "uid" | "color" | "isDefault" ? {
|
|
1096
|
-
value: string;
|
|
1097
1250
|
uid: string & import("zod").BRAND<"environment">;
|
|
1098
1251
|
name: string;
|
|
1252
|
+
value: string;
|
|
1099
1253
|
color: string;
|
|
1100
1254
|
isDefault?: boolean | undefined;
|
|
1101
1255
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "name" | "uid" | "color" | "isDefault" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
1102
|
-
value: string;
|
|
1103
1256
|
uid: string & import("zod").BRAND<"environment">;
|
|
1104
1257
|
name: string;
|
|
1258
|
+
value: string;
|
|
1105
1259
|
color: string;
|
|
1106
1260
|
isDefault?: boolean | undefined;
|
|
1107
1261
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
1108
|
-
value: string;
|
|
1109
1262
|
uid: string & import("zod").BRAND<"environment">;
|
|
1110
1263
|
name: string;
|
|
1264
|
+
value: string;
|
|
1111
1265
|
color: string;
|
|
1112
1266
|
isDefault?: boolean | undefined;
|
|
1113
1267
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1114
1268
|
untrackedEdit: <P extends "value" | "name" | "uid" | "color" | "isDefault">(uid: string & import("zod").BRAND<"environment">, path: P, value: P extends "value" | "name" | "uid" | "color" | "isDefault" ? {
|
|
1115
|
-
value: string;
|
|
1116
1269
|
uid: string & import("zod").BRAND<"environment">;
|
|
1117
1270
|
name: string;
|
|
1271
|
+
value: string;
|
|
1118
1272
|
color: string;
|
|
1119
1273
|
isDefault?: boolean | undefined;
|
|
1120
1274
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "name" | "uid" | "color" | "isDefault" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
1121
|
-
value: string;
|
|
1122
1275
|
uid: string & import("zod").BRAND<"environment">;
|
|
1123
1276
|
name: string;
|
|
1277
|
+
value: string;
|
|
1124
1278
|
color: string;
|
|
1125
1279
|
isDefault?: boolean | undefined;
|
|
1126
1280
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
1127
|
-
value: string;
|
|
1128
1281
|
uid: string & import("zod").BRAND<"environment">;
|
|
1129
1282
|
name: string;
|
|
1283
|
+
value: string;
|
|
1130
1284
|
color: string;
|
|
1131
1285
|
isDefault?: boolean | undefined;
|
|
1132
1286
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
@@ -1136,9 +1290,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1136
1290
|
};
|
|
1137
1291
|
requestMutators: {
|
|
1138
1292
|
rawAdd: (item: {
|
|
1293
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1139
1294
|
path: string;
|
|
1140
1295
|
type: "request";
|
|
1141
|
-
uid: string & import("zod").BRAND<"operation">;
|
|
1142
1296
|
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1143
1297
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1144
1298
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
@@ -1157,12 +1311,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1157
1311
|
deprecated?: boolean | undefined;
|
|
1158
1312
|
operationId?: string | undefined;
|
|
1159
1313
|
parameters?: {
|
|
1160
|
-
required: boolean;
|
|
1161
1314
|
name: string;
|
|
1162
|
-
|
|
1315
|
+
required: boolean;
|
|
1316
|
+
in: "cookie" | "path" | "query" | "header";
|
|
1163
1317
|
deprecated: boolean;
|
|
1164
|
-
example?: unknown;
|
|
1165
1318
|
description?: string | undefined;
|
|
1319
|
+
example?: unknown;
|
|
1166
1320
|
schema?: unknown;
|
|
1167
1321
|
content?: unknown;
|
|
1168
1322
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1176,9 +1330,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1176
1330
|
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1177
1331
|
}) => void;
|
|
1178
1332
|
add: (payload: import("@scalar/oas-utils/entities/spec").RequestPayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void | {
|
|
1333
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1179
1334
|
path: string;
|
|
1180
1335
|
type: "request";
|
|
1181
|
-
uid: string & import("zod").BRAND<"operation">;
|
|
1182
1336
|
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1183
1337
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1184
1338
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
@@ -1197,12 +1351,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1197
1351
|
deprecated?: boolean | undefined;
|
|
1198
1352
|
operationId?: string | undefined;
|
|
1199
1353
|
parameters?: {
|
|
1200
|
-
required: boolean;
|
|
1201
1354
|
name: string;
|
|
1202
|
-
|
|
1355
|
+
required: boolean;
|
|
1356
|
+
in: "cookie" | "path" | "query" | "header";
|
|
1203
1357
|
deprecated: boolean;
|
|
1204
|
-
example?: unknown;
|
|
1205
1358
|
description?: string | undefined;
|
|
1359
|
+
example?: unknown;
|
|
1206
1360
|
schema?: unknown;
|
|
1207
1361
|
content?: unknown;
|
|
1208
1362
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1217,9 +1371,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1217
1371
|
};
|
|
1218
1372
|
delete: (request: import("@scalar/oas-utils/entities/spec").Request, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
1219
1373
|
set: (item: {
|
|
1374
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1220
1375
|
path: string;
|
|
1221
1376
|
type: "request";
|
|
1222
|
-
uid: string & import("zod").BRAND<"operation">;
|
|
1223
1377
|
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1224
1378
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1225
1379
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
@@ -1238,12 +1392,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1238
1392
|
deprecated?: boolean | undefined;
|
|
1239
1393
|
operationId?: string | undefined;
|
|
1240
1394
|
parameters?: {
|
|
1241
|
-
required: boolean;
|
|
1242
1395
|
name: string;
|
|
1243
|
-
|
|
1396
|
+
required: boolean;
|
|
1397
|
+
in: "cookie" | "path" | "query" | "header";
|
|
1244
1398
|
deprecated: boolean;
|
|
1245
|
-
example?: unknown;
|
|
1246
1399
|
description?: string | undefined;
|
|
1400
|
+
example?: unknown;
|
|
1247
1401
|
schema?: unknown;
|
|
1248
1402
|
content?: unknown;
|
|
1249
1403
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1257,9 +1411,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1257
1411
|
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1258
1412
|
}) => void;
|
|
1259
1413
|
edit: <P extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "x-scalar-stability" | "path" | "method" | "type" | "uid" | "selectedSecuritySchemeUids" | "servers" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | `servers.${number}` | "examples" | `requestBody.${string}` | `examples.${number}` | `parameters.${number}` | `parameters.${number}.description` | `parameters.${number}.deprecated` | `parameters.${number}.example` | `parameters.${number}.name` | `parameters.${number}.in` | `parameters.${number}.style` | `parameters.${number}.examples` | `parameters.${number}.content` | `parameters.${number}.required` | `parameters.${number}.schema` | `parameters.${number}.examples.${number}` | `parameters.${number}.examples.${string}` | `responses.${string}`>(uid: (string & import("zod").BRAND<"operation">) | null | undefined, path: P, value: P extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "x-scalar-stability" | "path" | "method" | "type" | "uid" | "selectedSecuritySchemeUids" | "servers" | "selectedServerUid" | "examples" ? {
|
|
1414
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1260
1415
|
path: string;
|
|
1261
1416
|
type: "request";
|
|
1262
|
-
uid: string & import("zod").BRAND<"operation">;
|
|
1263
1417
|
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1264
1418
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1265
1419
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
@@ -1278,12 +1432,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1278
1432
|
deprecated?: boolean | undefined;
|
|
1279
1433
|
operationId?: string | undefined;
|
|
1280
1434
|
parameters?: {
|
|
1281
|
-
required: boolean;
|
|
1282
1435
|
name: string;
|
|
1283
|
-
|
|
1436
|
+
required: boolean;
|
|
1437
|
+
in: "cookie" | "path" | "query" | "header";
|
|
1284
1438
|
deprecated: boolean;
|
|
1285
|
-
example?: unknown;
|
|
1286
1439
|
description?: string | undefined;
|
|
1440
|
+
example?: unknown;
|
|
1287
1441
|
schema?: unknown;
|
|
1288
1442
|
content?: unknown;
|
|
1289
1443
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1296,9 +1450,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1296
1450
|
responses?: Record<string, any> | undefined;
|
|
1297
1451
|
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1298
1452
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "x-scalar-stability" | "path" | "method" | "type" | "uid" | "selectedSecuritySchemeUids" | "servers" | "selectedServerUid" | "examples" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
1453
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1299
1454
|
path: string;
|
|
1300
1455
|
type: "request";
|
|
1301
|
-
uid: string & import("zod").BRAND<"operation">;
|
|
1302
1456
|
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1303
1457
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1304
1458
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
@@ -1317,12 +1471,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1317
1471
|
deprecated?: boolean | undefined;
|
|
1318
1472
|
operationId?: string | undefined;
|
|
1319
1473
|
parameters?: {
|
|
1320
|
-
required: boolean;
|
|
1321
1474
|
name: string;
|
|
1322
|
-
|
|
1475
|
+
required: boolean;
|
|
1476
|
+
in: "cookie" | "path" | "query" | "header";
|
|
1323
1477
|
deprecated: boolean;
|
|
1324
|
-
example?: unknown;
|
|
1325
1478
|
description?: string | undefined;
|
|
1479
|
+
example?: unknown;
|
|
1326
1480
|
schema?: unknown;
|
|
1327
1481
|
content?: unknown;
|
|
1328
1482
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1335,9 +1489,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1335
1489
|
responses?: Record<string, any> | undefined;
|
|
1336
1490
|
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1337
1491
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
1492
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1338
1493
|
path: string;
|
|
1339
1494
|
type: "request";
|
|
1340
|
-
uid: string & import("zod").BRAND<"operation">;
|
|
1341
1495
|
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1342
1496
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1343
1497
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
@@ -1356,12 +1510,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1356
1510
|
deprecated?: boolean | undefined;
|
|
1357
1511
|
operationId?: string | undefined;
|
|
1358
1512
|
parameters?: {
|
|
1359
|
-
required: boolean;
|
|
1360
1513
|
name: string;
|
|
1361
|
-
|
|
1514
|
+
required: boolean;
|
|
1515
|
+
in: "cookie" | "path" | "query" | "header";
|
|
1362
1516
|
deprecated: boolean;
|
|
1363
|
-
example?: unknown;
|
|
1364
1517
|
description?: string | undefined;
|
|
1518
|
+
example?: unknown;
|
|
1365
1519
|
schema?: unknown;
|
|
1366
1520
|
content?: unknown;
|
|
1367
1521
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1375,9 +1529,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1375
1529
|
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1376
1530
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1377
1531
|
untrackedEdit: <P extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "x-scalar-stability" | "path" | "method" | "type" | "uid" | "selectedSecuritySchemeUids" | "servers" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | `servers.${number}` | "examples" | `requestBody.${string}` | `examples.${number}` | `parameters.${number}` | `parameters.${number}.description` | `parameters.${number}.deprecated` | `parameters.${number}.example` | `parameters.${number}.name` | `parameters.${number}.in` | `parameters.${number}.style` | `parameters.${number}.examples` | `parameters.${number}.content` | `parameters.${number}.required` | `parameters.${number}.schema` | `parameters.${number}.examples.${number}` | `parameters.${number}.examples.${string}` | `responses.${string}`>(uid: string & import("zod").BRAND<"operation">, path: P, value: P extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "x-scalar-stability" | "path" | "method" | "type" | "uid" | "selectedSecuritySchemeUids" | "servers" | "selectedServerUid" | "examples" ? {
|
|
1532
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1378
1533
|
path: string;
|
|
1379
1534
|
type: "request";
|
|
1380
|
-
uid: string & import("zod").BRAND<"operation">;
|
|
1381
1535
|
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1382
1536
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1383
1537
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
@@ -1396,12 +1550,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1396
1550
|
deprecated?: boolean | undefined;
|
|
1397
1551
|
operationId?: string | undefined;
|
|
1398
1552
|
parameters?: {
|
|
1399
|
-
required: boolean;
|
|
1400
1553
|
name: string;
|
|
1401
|
-
|
|
1554
|
+
required: boolean;
|
|
1555
|
+
in: "cookie" | "path" | "query" | "header";
|
|
1402
1556
|
deprecated: boolean;
|
|
1403
|
-
example?: unknown;
|
|
1404
1557
|
description?: string | undefined;
|
|
1558
|
+
example?: unknown;
|
|
1405
1559
|
schema?: unknown;
|
|
1406
1560
|
content?: unknown;
|
|
1407
1561
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1414,9 +1568,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1414
1568
|
responses?: Record<string, any> | undefined;
|
|
1415
1569
|
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1416
1570
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "x-scalar-stability" | "path" | "method" | "type" | "uid" | "selectedSecuritySchemeUids" | "servers" | "selectedServerUid" | "examples" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
1571
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1417
1572
|
path: string;
|
|
1418
1573
|
type: "request";
|
|
1419
|
-
uid: string & import("zod").BRAND<"operation">;
|
|
1420
1574
|
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1421
1575
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1422
1576
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
@@ -1435,12 +1589,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1435
1589
|
deprecated?: boolean | undefined;
|
|
1436
1590
|
operationId?: string | undefined;
|
|
1437
1591
|
parameters?: {
|
|
1438
|
-
required: boolean;
|
|
1439
1592
|
name: string;
|
|
1440
|
-
|
|
1593
|
+
required: boolean;
|
|
1594
|
+
in: "cookie" | "path" | "query" | "header";
|
|
1441
1595
|
deprecated: boolean;
|
|
1442
|
-
example?: unknown;
|
|
1443
1596
|
description?: string | undefined;
|
|
1597
|
+
example?: unknown;
|
|
1444
1598
|
schema?: unknown;
|
|
1445
1599
|
content?: unknown;
|
|
1446
1600
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1453,9 +1607,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1453
1607
|
responses?: Record<string, any> | undefined;
|
|
1454
1608
|
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1455
1609
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
1610
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1456
1611
|
path: string;
|
|
1457
1612
|
type: "request";
|
|
1458
|
-
uid: string & import("zod").BRAND<"operation">;
|
|
1459
1613
|
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1460
1614
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1461
1615
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
@@ -1474,12 +1628,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1474
1628
|
deprecated?: boolean | undefined;
|
|
1475
1629
|
operationId?: string | undefined;
|
|
1476
1630
|
parameters?: {
|
|
1477
|
-
required: boolean;
|
|
1478
1631
|
name: string;
|
|
1479
|
-
|
|
1632
|
+
required: boolean;
|
|
1633
|
+
in: "cookie" | "path" | "query" | "header";
|
|
1480
1634
|
deprecated: boolean;
|
|
1481
|
-
example?: unknown;
|
|
1482
1635
|
description?: string | undefined;
|
|
1636
|
+
example?: unknown;
|
|
1483
1637
|
schema?: unknown;
|
|
1484
1638
|
content?: unknown;
|
|
1485
1639
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1499,9 +1653,37 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1499
1653
|
findRequestParents: (r: import("@scalar/oas-utils/entities/spec").Request) => string[];
|
|
1500
1654
|
requestExampleMutators: {
|
|
1501
1655
|
rawAdd: (item: {
|
|
1502
|
-
type: "requestExample";
|
|
1503
1656
|
uid: string & import("zod").BRAND<"example">;
|
|
1504
1657
|
name: string;
|
|
1658
|
+
type: "requestExample";
|
|
1659
|
+
body: {
|
|
1660
|
+
activeBody: "formData" | "binary" | "raw";
|
|
1661
|
+
formData?: {
|
|
1662
|
+
value: {
|
|
1663
|
+
value: string;
|
|
1664
|
+
key: string;
|
|
1665
|
+
enabled: boolean;
|
|
1666
|
+
minimum?: number | undefined;
|
|
1667
|
+
type?: string | string[] | undefined;
|
|
1668
|
+
maximum?: number | undefined;
|
|
1669
|
+
description?: string | undefined;
|
|
1670
|
+
default?: any;
|
|
1671
|
+
required?: boolean | undefined;
|
|
1672
|
+
examples?: string[] | undefined;
|
|
1673
|
+
format?: string | undefined;
|
|
1674
|
+
enum?: string[] | undefined;
|
|
1675
|
+
file?: any;
|
|
1676
|
+
nullable?: boolean | undefined;
|
|
1677
|
+
}[];
|
|
1678
|
+
encoding: "form-data" | "urlencoded";
|
|
1679
|
+
} | undefined;
|
|
1680
|
+
binary?: Blob | undefined;
|
|
1681
|
+
raw?: {
|
|
1682
|
+
value: string;
|
|
1683
|
+
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
1684
|
+
mimeType?: string | undefined;
|
|
1685
|
+
} | undefined;
|
|
1686
|
+
};
|
|
1505
1687
|
parameters: {
|
|
1506
1688
|
path: {
|
|
1507
1689
|
value: string;
|
|
@@ -1510,67 +1692,73 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1510
1692
|
minimum?: number | undefined;
|
|
1511
1693
|
type?: string | string[] | undefined;
|
|
1512
1694
|
maximum?: number | undefined;
|
|
1695
|
+
description?: string | undefined;
|
|
1513
1696
|
default?: any;
|
|
1514
1697
|
required?: boolean | undefined;
|
|
1515
|
-
description?: string | undefined;
|
|
1516
|
-
enum?: string[] | undefined;
|
|
1517
1698
|
examples?: string[] | undefined;
|
|
1518
1699
|
format?: string | undefined;
|
|
1700
|
+
enum?: string[] | undefined;
|
|
1519
1701
|
file?: any;
|
|
1520
1702
|
nullable?: boolean | undefined;
|
|
1521
1703
|
}[];
|
|
1522
|
-
|
|
1704
|
+
query: {
|
|
1523
1705
|
value: string;
|
|
1524
1706
|
key: string;
|
|
1525
1707
|
enabled: boolean;
|
|
1526
1708
|
minimum?: number | undefined;
|
|
1527
1709
|
type?: string | string[] | undefined;
|
|
1528
1710
|
maximum?: number | undefined;
|
|
1711
|
+
description?: string | undefined;
|
|
1529
1712
|
default?: any;
|
|
1530
1713
|
required?: boolean | undefined;
|
|
1531
|
-
description?: string | undefined;
|
|
1532
|
-
enum?: string[] | undefined;
|
|
1533
1714
|
examples?: string[] | undefined;
|
|
1534
1715
|
format?: string | undefined;
|
|
1716
|
+
enum?: string[] | undefined;
|
|
1535
1717
|
file?: any;
|
|
1536
1718
|
nullable?: boolean | undefined;
|
|
1537
1719
|
}[];
|
|
1538
|
-
|
|
1720
|
+
headers: {
|
|
1539
1721
|
value: string;
|
|
1540
1722
|
key: string;
|
|
1541
1723
|
enabled: boolean;
|
|
1542
1724
|
minimum?: number | undefined;
|
|
1543
1725
|
type?: string | string[] | undefined;
|
|
1544
1726
|
maximum?: number | undefined;
|
|
1727
|
+
description?: string | undefined;
|
|
1545
1728
|
default?: any;
|
|
1546
1729
|
required?: boolean | undefined;
|
|
1547
|
-
description?: string | undefined;
|
|
1548
|
-
enum?: string[] | undefined;
|
|
1549
1730
|
examples?: string[] | undefined;
|
|
1550
1731
|
format?: string | undefined;
|
|
1732
|
+
enum?: string[] | undefined;
|
|
1551
1733
|
file?: any;
|
|
1552
1734
|
nullable?: boolean | undefined;
|
|
1553
1735
|
}[];
|
|
1554
|
-
|
|
1736
|
+
cookies: {
|
|
1555
1737
|
value: string;
|
|
1556
1738
|
key: string;
|
|
1557
1739
|
enabled: boolean;
|
|
1558
1740
|
minimum?: number | undefined;
|
|
1559
1741
|
type?: string | string[] | undefined;
|
|
1560
1742
|
maximum?: number | undefined;
|
|
1743
|
+
description?: string | undefined;
|
|
1561
1744
|
default?: any;
|
|
1562
1745
|
required?: boolean | undefined;
|
|
1563
|
-
description?: string | undefined;
|
|
1564
|
-
enum?: string[] | undefined;
|
|
1565
1746
|
examples?: string[] | undefined;
|
|
1566
1747
|
format?: string | undefined;
|
|
1748
|
+
enum?: string[] | undefined;
|
|
1567
1749
|
file?: any;
|
|
1568
1750
|
nullable?: boolean | undefined;
|
|
1569
1751
|
}[];
|
|
1570
1752
|
};
|
|
1753
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1754
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
1755
|
+
}) => void;
|
|
1756
|
+
add: (request: import("@scalar/oas-utils/entities/spec").Request, _name?: string) => {
|
|
1757
|
+
uid: string & import("zod").BRAND<"example">;
|
|
1758
|
+
name: string;
|
|
1759
|
+
type: "requestExample";
|
|
1571
1760
|
body: {
|
|
1572
|
-
activeBody: "
|
|
1573
|
-
binary?: Blob | undefined;
|
|
1761
|
+
activeBody: "formData" | "binary" | "raw";
|
|
1574
1762
|
formData?: {
|
|
1575
1763
|
value: {
|
|
1576
1764
|
value: string;
|
|
@@ -1579,30 +1767,24 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1579
1767
|
minimum?: number | undefined;
|
|
1580
1768
|
type?: string | string[] | undefined;
|
|
1581
1769
|
maximum?: number | undefined;
|
|
1770
|
+
description?: string | undefined;
|
|
1582
1771
|
default?: any;
|
|
1583
1772
|
required?: boolean | undefined;
|
|
1584
|
-
description?: string | undefined;
|
|
1585
|
-
enum?: string[] | undefined;
|
|
1586
1773
|
examples?: string[] | undefined;
|
|
1587
1774
|
format?: string | undefined;
|
|
1775
|
+
enum?: string[] | undefined;
|
|
1588
1776
|
file?: any;
|
|
1589
1777
|
nullable?: boolean | undefined;
|
|
1590
1778
|
}[];
|
|
1591
1779
|
encoding: "form-data" | "urlencoded";
|
|
1592
1780
|
} | undefined;
|
|
1781
|
+
binary?: Blob | undefined;
|
|
1593
1782
|
raw?: {
|
|
1594
1783
|
value: string;
|
|
1595
1784
|
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
1596
1785
|
mimeType?: string | undefined;
|
|
1597
1786
|
} | undefined;
|
|
1598
1787
|
};
|
|
1599
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1600
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
1601
|
-
}) => void;
|
|
1602
|
-
add: (request: import("@scalar/oas-utils/entities/spec").Request, _name?: string) => {
|
|
1603
|
-
type: "requestExample";
|
|
1604
|
-
uid: string & import("zod").BRAND<"example">;
|
|
1605
|
-
name: string;
|
|
1606
1788
|
parameters: {
|
|
1607
1789
|
path: {
|
|
1608
1790
|
value: string;
|
|
@@ -1611,67 +1793,74 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1611
1793
|
minimum?: number | undefined;
|
|
1612
1794
|
type?: string | string[] | undefined;
|
|
1613
1795
|
maximum?: number | undefined;
|
|
1796
|
+
description?: string | undefined;
|
|
1614
1797
|
default?: any;
|
|
1615
1798
|
required?: boolean | undefined;
|
|
1616
|
-
description?: string | undefined;
|
|
1617
|
-
enum?: string[] | undefined;
|
|
1618
1799
|
examples?: string[] | undefined;
|
|
1619
1800
|
format?: string | undefined;
|
|
1801
|
+
enum?: string[] | undefined;
|
|
1620
1802
|
file?: any;
|
|
1621
1803
|
nullable?: boolean | undefined;
|
|
1622
1804
|
}[];
|
|
1623
|
-
|
|
1805
|
+
query: {
|
|
1624
1806
|
value: string;
|
|
1625
1807
|
key: string;
|
|
1626
1808
|
enabled: boolean;
|
|
1627
1809
|
minimum?: number | undefined;
|
|
1628
1810
|
type?: string | string[] | undefined;
|
|
1629
1811
|
maximum?: number | undefined;
|
|
1812
|
+
description?: string | undefined;
|
|
1630
1813
|
default?: any;
|
|
1631
1814
|
required?: boolean | undefined;
|
|
1632
|
-
description?: string | undefined;
|
|
1633
|
-
enum?: string[] | undefined;
|
|
1634
1815
|
examples?: string[] | undefined;
|
|
1635
1816
|
format?: string | undefined;
|
|
1817
|
+
enum?: string[] | undefined;
|
|
1636
1818
|
file?: any;
|
|
1637
1819
|
nullable?: boolean | undefined;
|
|
1638
1820
|
}[];
|
|
1639
|
-
|
|
1821
|
+
headers: {
|
|
1640
1822
|
value: string;
|
|
1641
1823
|
key: string;
|
|
1642
1824
|
enabled: boolean;
|
|
1643
1825
|
minimum?: number | undefined;
|
|
1644
1826
|
type?: string | string[] | undefined;
|
|
1645
1827
|
maximum?: number | undefined;
|
|
1828
|
+
description?: string | undefined;
|
|
1646
1829
|
default?: any;
|
|
1647
1830
|
required?: boolean | undefined;
|
|
1648
|
-
description?: string | undefined;
|
|
1649
|
-
enum?: string[] | undefined;
|
|
1650
1831
|
examples?: string[] | undefined;
|
|
1651
1832
|
format?: string | undefined;
|
|
1833
|
+
enum?: string[] | undefined;
|
|
1652
1834
|
file?: any;
|
|
1653
1835
|
nullable?: boolean | undefined;
|
|
1654
1836
|
}[];
|
|
1655
|
-
|
|
1837
|
+
cookies: {
|
|
1656
1838
|
value: string;
|
|
1657
1839
|
key: string;
|
|
1658
1840
|
enabled: boolean;
|
|
1659
1841
|
minimum?: number | undefined;
|
|
1660
1842
|
type?: string | string[] | undefined;
|
|
1661
1843
|
maximum?: number | undefined;
|
|
1844
|
+
description?: string | undefined;
|
|
1662
1845
|
default?: any;
|
|
1663
1846
|
required?: boolean | undefined;
|
|
1664
|
-
description?: string | undefined;
|
|
1665
|
-
enum?: string[] | undefined;
|
|
1666
1847
|
examples?: string[] | undefined;
|
|
1667
1848
|
format?: string | undefined;
|
|
1849
|
+
enum?: string[] | undefined;
|
|
1668
1850
|
file?: any;
|
|
1669
1851
|
nullable?: boolean | undefined;
|
|
1670
1852
|
}[];
|
|
1671
1853
|
};
|
|
1854
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1855
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
1856
|
+
};
|
|
1857
|
+
delete: (requestExample: import("@scalar/oas-utils/entities/spec").RequestExample) => void;
|
|
1858
|
+
set: (item: {
|
|
1859
|
+
uid: string & import("zod").BRAND<"example">;
|
|
1860
|
+
name: string;
|
|
1861
|
+
type: "requestExample";
|
|
1672
1862
|
body: {
|
|
1673
|
-
activeBody: "
|
|
1674
|
-
binary?: Blob | undefined;
|
|
1863
|
+
activeBody: "formData" | "binary" | "raw";
|
|
1675
1864
|
formData?: {
|
|
1676
1865
|
value: {
|
|
1677
1866
|
value: string;
|
|
@@ -1680,31 +1869,24 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1680
1869
|
minimum?: number | undefined;
|
|
1681
1870
|
type?: string | string[] | undefined;
|
|
1682
1871
|
maximum?: number | undefined;
|
|
1872
|
+
description?: string | undefined;
|
|
1683
1873
|
default?: any;
|
|
1684
1874
|
required?: boolean | undefined;
|
|
1685
|
-
description?: string | undefined;
|
|
1686
|
-
enum?: string[] | undefined;
|
|
1687
1875
|
examples?: string[] | undefined;
|
|
1688
1876
|
format?: string | undefined;
|
|
1877
|
+
enum?: string[] | undefined;
|
|
1689
1878
|
file?: any;
|
|
1690
1879
|
nullable?: boolean | undefined;
|
|
1691
1880
|
}[];
|
|
1692
1881
|
encoding: "form-data" | "urlencoded";
|
|
1693
1882
|
} | undefined;
|
|
1883
|
+
binary?: Blob | undefined;
|
|
1694
1884
|
raw?: {
|
|
1695
1885
|
value: string;
|
|
1696
1886
|
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
1697
1887
|
mimeType?: string | undefined;
|
|
1698
1888
|
} | undefined;
|
|
1699
1889
|
};
|
|
1700
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1701
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
1702
|
-
};
|
|
1703
|
-
delete: (requestExample: import("@scalar/oas-utils/entities/spec").RequestExample) => void;
|
|
1704
|
-
set: (item: {
|
|
1705
|
-
type: "requestExample";
|
|
1706
|
-
uid: string & import("zod").BRAND<"example">;
|
|
1707
|
-
name: string;
|
|
1708
1890
|
parameters: {
|
|
1709
1891
|
path: {
|
|
1710
1892
|
value: string;
|
|
@@ -1713,67 +1895,73 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1713
1895
|
minimum?: number | undefined;
|
|
1714
1896
|
type?: string | string[] | undefined;
|
|
1715
1897
|
maximum?: number | undefined;
|
|
1898
|
+
description?: string | undefined;
|
|
1716
1899
|
default?: any;
|
|
1717
1900
|
required?: boolean | undefined;
|
|
1718
|
-
description?: string | undefined;
|
|
1719
|
-
enum?: string[] | undefined;
|
|
1720
1901
|
examples?: string[] | undefined;
|
|
1721
1902
|
format?: string | undefined;
|
|
1903
|
+
enum?: string[] | undefined;
|
|
1722
1904
|
file?: any;
|
|
1723
1905
|
nullable?: boolean | undefined;
|
|
1724
1906
|
}[];
|
|
1725
|
-
|
|
1907
|
+
query: {
|
|
1726
1908
|
value: string;
|
|
1727
1909
|
key: string;
|
|
1728
1910
|
enabled: boolean;
|
|
1729
1911
|
minimum?: number | undefined;
|
|
1730
1912
|
type?: string | string[] | undefined;
|
|
1731
1913
|
maximum?: number | undefined;
|
|
1914
|
+
description?: string | undefined;
|
|
1732
1915
|
default?: any;
|
|
1733
1916
|
required?: boolean | undefined;
|
|
1734
|
-
description?: string | undefined;
|
|
1735
|
-
enum?: string[] | undefined;
|
|
1736
1917
|
examples?: string[] | undefined;
|
|
1737
1918
|
format?: string | undefined;
|
|
1919
|
+
enum?: string[] | undefined;
|
|
1738
1920
|
file?: any;
|
|
1739
1921
|
nullable?: boolean | undefined;
|
|
1740
1922
|
}[];
|
|
1741
|
-
|
|
1923
|
+
headers: {
|
|
1742
1924
|
value: string;
|
|
1743
1925
|
key: string;
|
|
1744
1926
|
enabled: boolean;
|
|
1745
1927
|
minimum?: number | undefined;
|
|
1746
1928
|
type?: string | string[] | undefined;
|
|
1747
1929
|
maximum?: number | undefined;
|
|
1930
|
+
description?: string | undefined;
|
|
1748
1931
|
default?: any;
|
|
1749
1932
|
required?: boolean | undefined;
|
|
1750
|
-
description?: string | undefined;
|
|
1751
|
-
enum?: string[] | undefined;
|
|
1752
1933
|
examples?: string[] | undefined;
|
|
1753
1934
|
format?: string | undefined;
|
|
1935
|
+
enum?: string[] | undefined;
|
|
1754
1936
|
file?: any;
|
|
1755
1937
|
nullable?: boolean | undefined;
|
|
1756
1938
|
}[];
|
|
1757
|
-
|
|
1939
|
+
cookies: {
|
|
1758
1940
|
value: string;
|
|
1759
1941
|
key: string;
|
|
1760
1942
|
enabled: boolean;
|
|
1761
1943
|
minimum?: number | undefined;
|
|
1762
1944
|
type?: string | string[] | undefined;
|
|
1763
1945
|
maximum?: number | undefined;
|
|
1946
|
+
description?: string | undefined;
|
|
1764
1947
|
default?: any;
|
|
1765
1948
|
required?: boolean | undefined;
|
|
1766
|
-
description?: string | undefined;
|
|
1767
|
-
enum?: string[] | undefined;
|
|
1768
1949
|
examples?: string[] | undefined;
|
|
1769
1950
|
format?: string | undefined;
|
|
1951
|
+
enum?: string[] | undefined;
|
|
1770
1952
|
file?: any;
|
|
1771
1953
|
nullable?: boolean | undefined;
|
|
1772
1954
|
}[];
|
|
1773
1955
|
};
|
|
1956
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1957
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
1958
|
+
}) => void;
|
|
1959
|
+
edit: <P extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" | "parameters.path" | "parameters.query" | "parameters.cookies" | `parameters.cookies.${number}` | "parameters.headers" | `parameters.path.${number}` | `parameters.path.${number}.description` | `parameters.path.${number}.examples` | `parameters.path.${number}.required` | `parameters.path.${number}.examples.${number}` | `parameters.path.${number}.value` | `parameters.path.${number}.type` | `parameters.path.${number}.default` | `parameters.path.${number}.key` | `parameters.path.${number}.file` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.format` | `parameters.path.${number}.maximum` | `parameters.path.${number}.minimum` | `parameters.path.${number}.enum.${number}` | `parameters.path.${number}.enabled` | `parameters.path.${number}.type.${number}` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.file.${string}` | `parameters.query.${number}` | `parameters.query.${number}.description` | `parameters.query.${number}.examples` | `parameters.query.${number}.required` | `parameters.query.${number}.examples.${number}` | `parameters.query.${number}.value` | `parameters.query.${number}.type` | `parameters.query.${number}.default` | `parameters.query.${number}.key` | `parameters.query.${number}.file` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.format` | `parameters.query.${number}.maximum` | `parameters.query.${number}.minimum` | `parameters.query.${number}.enum.${number}` | `parameters.query.${number}.enabled` | `parameters.query.${number}.type.${number}` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.file.${string}` | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.examples` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.examples.${number}` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.enum.${number}` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.type.${number}` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.file.${string}` | `parameters.headers.${number}` | `parameters.headers.${number}.description` | `parameters.headers.${number}.examples` | `parameters.headers.${number}.required` | `parameters.headers.${number}.examples.${number}` | `parameters.headers.${number}.value` | `parameters.headers.${number}.type` | `parameters.headers.${number}.default` | `parameters.headers.${number}.key` | `parameters.headers.${number}.file` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.format` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.enum.${number}` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.type.${number}` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.file.${string}` | "body.formData" | "body.binary" | "body.raw" | "body.activeBody" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.description` | `body.formData.value.${number}.examples` | `body.formData.value.${number}.required` | `body.formData.value.${number}.examples.${number}` | `body.formData.value.${number}.value` | `body.formData.value.${number}.type` | `body.formData.value.${number}.default` | `body.formData.value.${number}.key` | `body.formData.value.${number}.file` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.format` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.enum.${number}` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.type.${number}` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.file.${string}` | "body.binary.size" | "body.binary.type" | "body.binary.slice" | "body.binary.text" | "body.binary.arrayBuffer" | "body.binary.stream" | "body.raw.value" | "body.raw.encoding" | "body.raw.mimeType" | `serverVariables.${string}`>(uid: (string & import("zod").BRAND<"example">) | null | undefined, path: P, value: P extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" ? {
|
|
1960
|
+
uid: string & import("zod").BRAND<"example">;
|
|
1961
|
+
name: string;
|
|
1962
|
+
type: "requestExample";
|
|
1774
1963
|
body: {
|
|
1775
|
-
activeBody: "
|
|
1776
|
-
binary?: Blob | undefined;
|
|
1964
|
+
activeBody: "formData" | "binary" | "raw";
|
|
1777
1965
|
formData?: {
|
|
1778
1966
|
value: {
|
|
1779
1967
|
value: string;
|
|
@@ -1782,30 +1970,24 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1782
1970
|
minimum?: number | undefined;
|
|
1783
1971
|
type?: string | string[] | undefined;
|
|
1784
1972
|
maximum?: number | undefined;
|
|
1973
|
+
description?: string | undefined;
|
|
1785
1974
|
default?: any;
|
|
1786
1975
|
required?: boolean | undefined;
|
|
1787
|
-
description?: string | undefined;
|
|
1788
|
-
enum?: string[] | undefined;
|
|
1789
1976
|
examples?: string[] | undefined;
|
|
1790
1977
|
format?: string | undefined;
|
|
1978
|
+
enum?: string[] | undefined;
|
|
1791
1979
|
file?: any;
|
|
1792
1980
|
nullable?: boolean | undefined;
|
|
1793
1981
|
}[];
|
|
1794
1982
|
encoding: "form-data" | "urlencoded";
|
|
1795
1983
|
} | undefined;
|
|
1984
|
+
binary?: Blob | undefined;
|
|
1796
1985
|
raw?: {
|
|
1797
1986
|
value: string;
|
|
1798
1987
|
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
1799
1988
|
mimeType?: string | undefined;
|
|
1800
1989
|
} | undefined;
|
|
1801
1990
|
};
|
|
1802
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1803
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
1804
|
-
}) => void;
|
|
1805
|
-
edit: <P extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" | "parameters.path" | "parameters.query" | "parameters.cookies" | `parameters.cookies.${number}` | "parameters.headers" | `parameters.path.${number}` | `parameters.path.${number}.description` | `parameters.path.${number}.examples` | `parameters.path.${number}.required` | `parameters.path.${number}.examples.${number}` | `parameters.path.${number}.value` | `parameters.path.${number}.type` | `parameters.path.${number}.default` | `parameters.path.${number}.key` | `parameters.path.${number}.file` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.format` | `parameters.path.${number}.maximum` | `parameters.path.${number}.minimum` | `parameters.path.${number}.enum.${number}` | `parameters.path.${number}.enabled` | `parameters.path.${number}.type.${number}` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.file.${string}` | `parameters.query.${number}` | `parameters.query.${number}.description` | `parameters.query.${number}.examples` | `parameters.query.${number}.required` | `parameters.query.${number}.examples.${number}` | `parameters.query.${number}.value` | `parameters.query.${number}.type` | `parameters.query.${number}.default` | `parameters.query.${number}.key` | `parameters.query.${number}.file` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.format` | `parameters.query.${number}.maximum` | `parameters.query.${number}.minimum` | `parameters.query.${number}.enum.${number}` | `parameters.query.${number}.enabled` | `parameters.query.${number}.type.${number}` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.file.${string}` | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.examples` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.examples.${number}` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.enum.${number}` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.type.${number}` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.file.${string}` | `parameters.headers.${number}` | `parameters.headers.${number}.description` | `parameters.headers.${number}.examples` | `parameters.headers.${number}.required` | `parameters.headers.${number}.examples.${number}` | `parameters.headers.${number}.value` | `parameters.headers.${number}.type` | `parameters.headers.${number}.default` | `parameters.headers.${number}.key` | `parameters.headers.${number}.file` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.format` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.enum.${number}` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.type.${number}` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.file.${string}` | "body.binary" | "body.formData" | "body.raw" | "body.activeBody" | "body.binary.size" | "body.binary.type" | "body.binary.slice" | "body.binary.text" | "body.binary.arrayBuffer" | "body.binary.stream" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.description` | `body.formData.value.${number}.examples` | `body.formData.value.${number}.required` | `body.formData.value.${number}.examples.${number}` | `body.formData.value.${number}.value` | `body.formData.value.${number}.type` | `body.formData.value.${number}.default` | `body.formData.value.${number}.key` | `body.formData.value.${number}.file` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.format` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.enum.${number}` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.type.${number}` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.file.${string}` | "body.raw.value" | "body.raw.encoding" | "body.raw.mimeType" | `serverVariables.${string}`>(uid: (string & import("zod").BRAND<"example">) | null | undefined, path: P, value: P extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" ? {
|
|
1806
|
-
type: "requestExample";
|
|
1807
|
-
uid: string & import("zod").BRAND<"example">;
|
|
1808
|
-
name: string;
|
|
1809
1991
|
parameters: {
|
|
1810
1992
|
path: {
|
|
1811
1993
|
value: string;
|
|
@@ -1814,67 +1996,72 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1814
1996
|
minimum?: number | undefined;
|
|
1815
1997
|
type?: string | string[] | undefined;
|
|
1816
1998
|
maximum?: number | undefined;
|
|
1999
|
+
description?: string | undefined;
|
|
1817
2000
|
default?: any;
|
|
1818
2001
|
required?: boolean | undefined;
|
|
1819
|
-
description?: string | undefined;
|
|
1820
|
-
enum?: string[] | undefined;
|
|
1821
2002
|
examples?: string[] | undefined;
|
|
1822
2003
|
format?: string | undefined;
|
|
2004
|
+
enum?: string[] | undefined;
|
|
1823
2005
|
file?: any;
|
|
1824
2006
|
nullable?: boolean | undefined;
|
|
1825
2007
|
}[];
|
|
1826
|
-
|
|
2008
|
+
query: {
|
|
1827
2009
|
value: string;
|
|
1828
2010
|
key: string;
|
|
1829
2011
|
enabled: boolean;
|
|
1830
2012
|
minimum?: number | undefined;
|
|
1831
2013
|
type?: string | string[] | undefined;
|
|
1832
2014
|
maximum?: number | undefined;
|
|
2015
|
+
description?: string | undefined;
|
|
1833
2016
|
default?: any;
|
|
1834
2017
|
required?: boolean | undefined;
|
|
1835
|
-
description?: string | undefined;
|
|
1836
|
-
enum?: string[] | undefined;
|
|
1837
2018
|
examples?: string[] | undefined;
|
|
1838
2019
|
format?: string | undefined;
|
|
2020
|
+
enum?: string[] | undefined;
|
|
1839
2021
|
file?: any;
|
|
1840
2022
|
nullable?: boolean | undefined;
|
|
1841
2023
|
}[];
|
|
1842
|
-
|
|
2024
|
+
headers: {
|
|
1843
2025
|
value: string;
|
|
1844
2026
|
key: string;
|
|
1845
2027
|
enabled: boolean;
|
|
1846
2028
|
minimum?: number | undefined;
|
|
1847
2029
|
type?: string | string[] | undefined;
|
|
1848
2030
|
maximum?: number | undefined;
|
|
2031
|
+
description?: string | undefined;
|
|
1849
2032
|
default?: any;
|
|
1850
2033
|
required?: boolean | undefined;
|
|
1851
|
-
description?: string | undefined;
|
|
1852
|
-
enum?: string[] | undefined;
|
|
1853
2034
|
examples?: string[] | undefined;
|
|
1854
2035
|
format?: string | undefined;
|
|
2036
|
+
enum?: string[] | undefined;
|
|
1855
2037
|
file?: any;
|
|
1856
2038
|
nullable?: boolean | undefined;
|
|
1857
2039
|
}[];
|
|
1858
|
-
|
|
2040
|
+
cookies: {
|
|
1859
2041
|
value: string;
|
|
1860
2042
|
key: string;
|
|
1861
2043
|
enabled: boolean;
|
|
1862
2044
|
minimum?: number | undefined;
|
|
1863
2045
|
type?: string | string[] | undefined;
|
|
1864
2046
|
maximum?: number | undefined;
|
|
2047
|
+
description?: string | undefined;
|
|
1865
2048
|
default?: any;
|
|
1866
2049
|
required?: boolean | undefined;
|
|
1867
|
-
description?: string | undefined;
|
|
1868
|
-
enum?: string[] | undefined;
|
|
1869
2050
|
examples?: string[] | undefined;
|
|
1870
2051
|
format?: string | undefined;
|
|
2052
|
+
enum?: string[] | undefined;
|
|
1871
2053
|
file?: any;
|
|
1872
2054
|
nullable?: boolean | undefined;
|
|
1873
2055
|
}[];
|
|
1874
2056
|
};
|
|
2057
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2058
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
2059
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2060
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2061
|
+
name: string;
|
|
2062
|
+
type: "requestExample";
|
|
1875
2063
|
body: {
|
|
1876
|
-
activeBody: "
|
|
1877
|
-
binary?: Blob | undefined;
|
|
2064
|
+
activeBody: "formData" | "binary" | "raw";
|
|
1878
2065
|
formData?: {
|
|
1879
2066
|
value: {
|
|
1880
2067
|
value: string;
|
|
@@ -1883,29 +2070,24 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1883
2070
|
minimum?: number | undefined;
|
|
1884
2071
|
type?: string | string[] | undefined;
|
|
1885
2072
|
maximum?: number | undefined;
|
|
2073
|
+
description?: string | undefined;
|
|
1886
2074
|
default?: any;
|
|
1887
2075
|
required?: boolean | undefined;
|
|
1888
|
-
description?: string | undefined;
|
|
1889
|
-
enum?: string[] | undefined;
|
|
1890
2076
|
examples?: string[] | undefined;
|
|
1891
2077
|
format?: string | undefined;
|
|
2078
|
+
enum?: string[] | undefined;
|
|
1892
2079
|
file?: any;
|
|
1893
2080
|
nullable?: boolean | undefined;
|
|
1894
2081
|
}[];
|
|
1895
2082
|
encoding: "form-data" | "urlencoded";
|
|
1896
2083
|
} | undefined;
|
|
2084
|
+
binary?: Blob | undefined;
|
|
1897
2085
|
raw?: {
|
|
1898
2086
|
value: string;
|
|
1899
2087
|
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
1900
2088
|
mimeType?: string | undefined;
|
|
1901
2089
|
} | undefined;
|
|
1902
2090
|
};
|
|
1903
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1904
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
1905
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
1906
|
-
type: "requestExample";
|
|
1907
|
-
uid: string & import("zod").BRAND<"example">;
|
|
1908
|
-
name: string;
|
|
1909
2091
|
parameters: {
|
|
1910
2092
|
path: {
|
|
1911
2093
|
value: string;
|
|
@@ -1914,67 +2096,72 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1914
2096
|
minimum?: number | undefined;
|
|
1915
2097
|
type?: string | string[] | undefined;
|
|
1916
2098
|
maximum?: number | undefined;
|
|
2099
|
+
description?: string | undefined;
|
|
1917
2100
|
default?: any;
|
|
1918
2101
|
required?: boolean | undefined;
|
|
1919
|
-
description?: string | undefined;
|
|
1920
|
-
enum?: string[] | undefined;
|
|
1921
2102
|
examples?: string[] | undefined;
|
|
1922
2103
|
format?: string | undefined;
|
|
2104
|
+
enum?: string[] | undefined;
|
|
1923
2105
|
file?: any;
|
|
1924
2106
|
nullable?: boolean | undefined;
|
|
1925
2107
|
}[];
|
|
1926
|
-
|
|
2108
|
+
query: {
|
|
1927
2109
|
value: string;
|
|
1928
2110
|
key: string;
|
|
1929
2111
|
enabled: boolean;
|
|
1930
2112
|
minimum?: number | undefined;
|
|
1931
2113
|
type?: string | string[] | undefined;
|
|
1932
2114
|
maximum?: number | undefined;
|
|
2115
|
+
description?: string | undefined;
|
|
1933
2116
|
default?: any;
|
|
1934
2117
|
required?: boolean | undefined;
|
|
1935
|
-
description?: string | undefined;
|
|
1936
|
-
enum?: string[] | undefined;
|
|
1937
2118
|
examples?: string[] | undefined;
|
|
1938
2119
|
format?: string | undefined;
|
|
2120
|
+
enum?: string[] | undefined;
|
|
1939
2121
|
file?: any;
|
|
1940
2122
|
nullable?: boolean | undefined;
|
|
1941
2123
|
}[];
|
|
1942
|
-
|
|
2124
|
+
headers: {
|
|
1943
2125
|
value: string;
|
|
1944
2126
|
key: string;
|
|
1945
2127
|
enabled: boolean;
|
|
1946
2128
|
minimum?: number | undefined;
|
|
1947
2129
|
type?: string | string[] | undefined;
|
|
1948
2130
|
maximum?: number | undefined;
|
|
2131
|
+
description?: string | undefined;
|
|
1949
2132
|
default?: any;
|
|
1950
2133
|
required?: boolean | undefined;
|
|
1951
|
-
description?: string | undefined;
|
|
1952
|
-
enum?: string[] | undefined;
|
|
1953
2134
|
examples?: string[] | undefined;
|
|
1954
2135
|
format?: string | undefined;
|
|
2136
|
+
enum?: string[] | undefined;
|
|
1955
2137
|
file?: any;
|
|
1956
2138
|
nullable?: boolean | undefined;
|
|
1957
2139
|
}[];
|
|
1958
|
-
|
|
2140
|
+
cookies: {
|
|
1959
2141
|
value: string;
|
|
1960
2142
|
key: string;
|
|
1961
2143
|
enabled: boolean;
|
|
1962
2144
|
minimum?: number | undefined;
|
|
1963
2145
|
type?: string | string[] | undefined;
|
|
1964
2146
|
maximum?: number | undefined;
|
|
2147
|
+
description?: string | undefined;
|
|
1965
2148
|
default?: any;
|
|
1966
2149
|
required?: boolean | undefined;
|
|
1967
|
-
description?: string | undefined;
|
|
1968
|
-
enum?: string[] | undefined;
|
|
1969
2150
|
examples?: string[] | undefined;
|
|
1970
2151
|
format?: string | undefined;
|
|
2152
|
+
enum?: string[] | undefined;
|
|
1971
2153
|
file?: any;
|
|
1972
2154
|
nullable?: boolean | undefined;
|
|
1973
2155
|
}[];
|
|
1974
2156
|
};
|
|
2157
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2158
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
2159
|
+
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2160
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2161
|
+
name: string;
|
|
2162
|
+
type: "requestExample";
|
|
1975
2163
|
body: {
|
|
1976
|
-
activeBody: "
|
|
1977
|
-
binary?: Blob | undefined;
|
|
2164
|
+
activeBody: "formData" | "binary" | "raw";
|
|
1978
2165
|
formData?: {
|
|
1979
2166
|
value: {
|
|
1980
2167
|
value: string;
|
|
@@ -1983,29 +2170,24 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1983
2170
|
minimum?: number | undefined;
|
|
1984
2171
|
type?: string | string[] | undefined;
|
|
1985
2172
|
maximum?: number | undefined;
|
|
2173
|
+
description?: string | undefined;
|
|
1986
2174
|
default?: any;
|
|
1987
2175
|
required?: boolean | undefined;
|
|
1988
|
-
description?: string | undefined;
|
|
1989
|
-
enum?: string[] | undefined;
|
|
1990
2176
|
examples?: string[] | undefined;
|
|
1991
2177
|
format?: string | undefined;
|
|
2178
|
+
enum?: string[] | undefined;
|
|
1992
2179
|
file?: any;
|
|
1993
2180
|
nullable?: boolean | undefined;
|
|
1994
2181
|
}[];
|
|
1995
2182
|
encoding: "form-data" | "urlencoded";
|
|
1996
2183
|
} | undefined;
|
|
2184
|
+
binary?: Blob | undefined;
|
|
1997
2185
|
raw?: {
|
|
1998
2186
|
value: string;
|
|
1999
2187
|
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
2000
2188
|
mimeType?: string | undefined;
|
|
2001
2189
|
} | undefined;
|
|
2002
2190
|
};
|
|
2003
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2004
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
2005
|
-
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2006
|
-
type: "requestExample";
|
|
2007
|
-
uid: string & import("zod").BRAND<"example">;
|
|
2008
|
-
name: string;
|
|
2009
2191
|
parameters: {
|
|
2010
2192
|
path: {
|
|
2011
2193
|
value: string;
|
|
@@ -2014,67 +2196,73 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2014
2196
|
minimum?: number | undefined;
|
|
2015
2197
|
type?: string | string[] | undefined;
|
|
2016
2198
|
maximum?: number | undefined;
|
|
2199
|
+
description?: string | undefined;
|
|
2017
2200
|
default?: any;
|
|
2018
2201
|
required?: boolean | undefined;
|
|
2019
|
-
description?: string | undefined;
|
|
2020
|
-
enum?: string[] | undefined;
|
|
2021
2202
|
examples?: string[] | undefined;
|
|
2022
2203
|
format?: string | undefined;
|
|
2204
|
+
enum?: string[] | undefined;
|
|
2023
2205
|
file?: any;
|
|
2024
2206
|
nullable?: boolean | undefined;
|
|
2025
2207
|
}[];
|
|
2026
|
-
|
|
2208
|
+
query: {
|
|
2027
2209
|
value: string;
|
|
2028
2210
|
key: string;
|
|
2029
2211
|
enabled: boolean;
|
|
2030
2212
|
minimum?: number | undefined;
|
|
2031
2213
|
type?: string | string[] | undefined;
|
|
2032
2214
|
maximum?: number | undefined;
|
|
2215
|
+
description?: string | undefined;
|
|
2033
2216
|
default?: any;
|
|
2034
2217
|
required?: boolean | undefined;
|
|
2035
|
-
description?: string | undefined;
|
|
2036
|
-
enum?: string[] | undefined;
|
|
2037
2218
|
examples?: string[] | undefined;
|
|
2038
2219
|
format?: string | undefined;
|
|
2220
|
+
enum?: string[] | undefined;
|
|
2039
2221
|
file?: any;
|
|
2040
2222
|
nullable?: boolean | undefined;
|
|
2041
2223
|
}[];
|
|
2042
|
-
|
|
2224
|
+
headers: {
|
|
2043
2225
|
value: string;
|
|
2044
2226
|
key: string;
|
|
2045
2227
|
enabled: boolean;
|
|
2046
2228
|
minimum?: number | undefined;
|
|
2047
2229
|
type?: string | string[] | undefined;
|
|
2048
2230
|
maximum?: number | undefined;
|
|
2231
|
+
description?: string | undefined;
|
|
2049
2232
|
default?: any;
|
|
2050
2233
|
required?: boolean | undefined;
|
|
2051
|
-
description?: string | undefined;
|
|
2052
|
-
enum?: string[] | undefined;
|
|
2053
2234
|
examples?: string[] | undefined;
|
|
2054
2235
|
format?: string | undefined;
|
|
2236
|
+
enum?: string[] | undefined;
|
|
2055
2237
|
file?: any;
|
|
2056
2238
|
nullable?: boolean | undefined;
|
|
2057
2239
|
}[];
|
|
2058
|
-
|
|
2240
|
+
cookies: {
|
|
2059
2241
|
value: string;
|
|
2060
2242
|
key: string;
|
|
2061
2243
|
enabled: boolean;
|
|
2062
2244
|
minimum?: number | undefined;
|
|
2063
2245
|
type?: string | string[] | undefined;
|
|
2064
2246
|
maximum?: number | undefined;
|
|
2247
|
+
description?: string | undefined;
|
|
2065
2248
|
default?: any;
|
|
2066
2249
|
required?: boolean | undefined;
|
|
2067
|
-
description?: string | undefined;
|
|
2068
|
-
enum?: string[] | undefined;
|
|
2069
2250
|
examples?: string[] | undefined;
|
|
2070
2251
|
format?: string | undefined;
|
|
2252
|
+
enum?: string[] | undefined;
|
|
2071
2253
|
file?: any;
|
|
2072
2254
|
nullable?: boolean | undefined;
|
|
2073
2255
|
}[];
|
|
2074
2256
|
};
|
|
2257
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2258
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
2259
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2260
|
+
untrackedEdit: <P extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" | "parameters.path" | "parameters.query" | "parameters.cookies" | `parameters.cookies.${number}` | "parameters.headers" | `parameters.path.${number}` | `parameters.path.${number}.description` | `parameters.path.${number}.examples` | `parameters.path.${number}.required` | `parameters.path.${number}.examples.${number}` | `parameters.path.${number}.value` | `parameters.path.${number}.type` | `parameters.path.${number}.default` | `parameters.path.${number}.key` | `parameters.path.${number}.file` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.format` | `parameters.path.${number}.maximum` | `parameters.path.${number}.minimum` | `parameters.path.${number}.enum.${number}` | `parameters.path.${number}.enabled` | `parameters.path.${number}.type.${number}` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.file.${string}` | `parameters.query.${number}` | `parameters.query.${number}.description` | `parameters.query.${number}.examples` | `parameters.query.${number}.required` | `parameters.query.${number}.examples.${number}` | `parameters.query.${number}.value` | `parameters.query.${number}.type` | `parameters.query.${number}.default` | `parameters.query.${number}.key` | `parameters.query.${number}.file` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.format` | `parameters.query.${number}.maximum` | `parameters.query.${number}.minimum` | `parameters.query.${number}.enum.${number}` | `parameters.query.${number}.enabled` | `parameters.query.${number}.type.${number}` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.file.${string}` | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.examples` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.examples.${number}` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.enum.${number}` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.type.${number}` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.file.${string}` | `parameters.headers.${number}` | `parameters.headers.${number}.description` | `parameters.headers.${number}.examples` | `parameters.headers.${number}.required` | `parameters.headers.${number}.examples.${number}` | `parameters.headers.${number}.value` | `parameters.headers.${number}.type` | `parameters.headers.${number}.default` | `parameters.headers.${number}.key` | `parameters.headers.${number}.file` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.format` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.enum.${number}` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.type.${number}` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.file.${string}` | "body.formData" | "body.binary" | "body.raw" | "body.activeBody" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.description` | `body.formData.value.${number}.examples` | `body.formData.value.${number}.required` | `body.formData.value.${number}.examples.${number}` | `body.formData.value.${number}.value` | `body.formData.value.${number}.type` | `body.formData.value.${number}.default` | `body.formData.value.${number}.key` | `body.formData.value.${number}.file` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.format` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.enum.${number}` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.type.${number}` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.file.${string}` | "body.binary.size" | "body.binary.type" | "body.binary.slice" | "body.binary.text" | "body.binary.arrayBuffer" | "body.binary.stream" | "body.raw.value" | "body.raw.encoding" | "body.raw.mimeType" | `serverVariables.${string}`>(uid: string & import("zod").BRAND<"example">, path: P, value: P extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" ? {
|
|
2261
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2262
|
+
name: string;
|
|
2263
|
+
type: "requestExample";
|
|
2075
2264
|
body: {
|
|
2076
|
-
activeBody: "
|
|
2077
|
-
binary?: Blob | undefined;
|
|
2265
|
+
activeBody: "formData" | "binary" | "raw";
|
|
2078
2266
|
formData?: {
|
|
2079
2267
|
value: {
|
|
2080
2268
|
value: string;
|
|
@@ -2083,30 +2271,24 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2083
2271
|
minimum?: number | undefined;
|
|
2084
2272
|
type?: string | string[] | undefined;
|
|
2085
2273
|
maximum?: number | undefined;
|
|
2274
|
+
description?: string | undefined;
|
|
2086
2275
|
default?: any;
|
|
2087
2276
|
required?: boolean | undefined;
|
|
2088
|
-
description?: string | undefined;
|
|
2089
|
-
enum?: string[] | undefined;
|
|
2090
2277
|
examples?: string[] | undefined;
|
|
2091
2278
|
format?: string | undefined;
|
|
2279
|
+
enum?: string[] | undefined;
|
|
2092
2280
|
file?: any;
|
|
2093
2281
|
nullable?: boolean | undefined;
|
|
2094
2282
|
}[];
|
|
2095
2283
|
encoding: "form-data" | "urlencoded";
|
|
2096
2284
|
} | undefined;
|
|
2285
|
+
binary?: Blob | undefined;
|
|
2097
2286
|
raw?: {
|
|
2098
2287
|
value: string;
|
|
2099
2288
|
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
2100
2289
|
mimeType?: string | undefined;
|
|
2101
2290
|
} | undefined;
|
|
2102
2291
|
};
|
|
2103
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2104
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
2105
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2106
|
-
untrackedEdit: <P extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" | "parameters.path" | "parameters.query" | "parameters.cookies" | `parameters.cookies.${number}` | "parameters.headers" | `parameters.path.${number}` | `parameters.path.${number}.description` | `parameters.path.${number}.examples` | `parameters.path.${number}.required` | `parameters.path.${number}.examples.${number}` | `parameters.path.${number}.value` | `parameters.path.${number}.type` | `parameters.path.${number}.default` | `parameters.path.${number}.key` | `parameters.path.${number}.file` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.format` | `parameters.path.${number}.maximum` | `parameters.path.${number}.minimum` | `parameters.path.${number}.enum.${number}` | `parameters.path.${number}.enabled` | `parameters.path.${number}.type.${number}` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.file.${string}` | `parameters.query.${number}` | `parameters.query.${number}.description` | `parameters.query.${number}.examples` | `parameters.query.${number}.required` | `parameters.query.${number}.examples.${number}` | `parameters.query.${number}.value` | `parameters.query.${number}.type` | `parameters.query.${number}.default` | `parameters.query.${number}.key` | `parameters.query.${number}.file` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.format` | `parameters.query.${number}.maximum` | `parameters.query.${number}.minimum` | `parameters.query.${number}.enum.${number}` | `parameters.query.${number}.enabled` | `parameters.query.${number}.type.${number}` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.file.${string}` | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.examples` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.examples.${number}` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.enum.${number}` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.type.${number}` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.file.${string}` | `parameters.headers.${number}` | `parameters.headers.${number}.description` | `parameters.headers.${number}.examples` | `parameters.headers.${number}.required` | `parameters.headers.${number}.examples.${number}` | `parameters.headers.${number}.value` | `parameters.headers.${number}.type` | `parameters.headers.${number}.default` | `parameters.headers.${number}.key` | `parameters.headers.${number}.file` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.format` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.enum.${number}` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.type.${number}` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.file.${string}` | "body.binary" | "body.formData" | "body.raw" | "body.activeBody" | "body.binary.size" | "body.binary.type" | "body.binary.slice" | "body.binary.text" | "body.binary.arrayBuffer" | "body.binary.stream" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.description` | `body.formData.value.${number}.examples` | `body.formData.value.${number}.required` | `body.formData.value.${number}.examples.${number}` | `body.formData.value.${number}.value` | `body.formData.value.${number}.type` | `body.formData.value.${number}.default` | `body.formData.value.${number}.key` | `body.formData.value.${number}.file` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.format` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.enum.${number}` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.type.${number}` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.file.${string}` | "body.raw.value" | "body.raw.encoding" | "body.raw.mimeType" | `serverVariables.${string}`>(uid: string & import("zod").BRAND<"example">, path: P, value: P extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" ? {
|
|
2107
|
-
type: "requestExample";
|
|
2108
|
-
uid: string & import("zod").BRAND<"example">;
|
|
2109
|
-
name: string;
|
|
2110
2292
|
parameters: {
|
|
2111
2293
|
path: {
|
|
2112
2294
|
value: string;
|
|
@@ -2115,67 +2297,72 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2115
2297
|
minimum?: number | undefined;
|
|
2116
2298
|
type?: string | string[] | undefined;
|
|
2117
2299
|
maximum?: number | undefined;
|
|
2300
|
+
description?: string | undefined;
|
|
2118
2301
|
default?: any;
|
|
2119
2302
|
required?: boolean | undefined;
|
|
2120
|
-
description?: string | undefined;
|
|
2121
|
-
enum?: string[] | undefined;
|
|
2122
2303
|
examples?: string[] | undefined;
|
|
2123
2304
|
format?: string | undefined;
|
|
2305
|
+
enum?: string[] | undefined;
|
|
2124
2306
|
file?: any;
|
|
2125
2307
|
nullable?: boolean | undefined;
|
|
2126
2308
|
}[];
|
|
2127
|
-
|
|
2309
|
+
query: {
|
|
2128
2310
|
value: string;
|
|
2129
2311
|
key: string;
|
|
2130
2312
|
enabled: boolean;
|
|
2131
2313
|
minimum?: number | undefined;
|
|
2132
2314
|
type?: string | string[] | undefined;
|
|
2133
2315
|
maximum?: number | undefined;
|
|
2316
|
+
description?: string | undefined;
|
|
2134
2317
|
default?: any;
|
|
2135
2318
|
required?: boolean | undefined;
|
|
2136
|
-
description?: string | undefined;
|
|
2137
|
-
enum?: string[] | undefined;
|
|
2138
2319
|
examples?: string[] | undefined;
|
|
2139
2320
|
format?: string | undefined;
|
|
2321
|
+
enum?: string[] | undefined;
|
|
2140
2322
|
file?: any;
|
|
2141
2323
|
nullable?: boolean | undefined;
|
|
2142
2324
|
}[];
|
|
2143
|
-
|
|
2325
|
+
headers: {
|
|
2144
2326
|
value: string;
|
|
2145
2327
|
key: string;
|
|
2146
2328
|
enabled: boolean;
|
|
2147
2329
|
minimum?: number | undefined;
|
|
2148
2330
|
type?: string | string[] | undefined;
|
|
2149
2331
|
maximum?: number | undefined;
|
|
2332
|
+
description?: string | undefined;
|
|
2150
2333
|
default?: any;
|
|
2151
2334
|
required?: boolean | undefined;
|
|
2152
|
-
description?: string | undefined;
|
|
2153
|
-
enum?: string[] | undefined;
|
|
2154
2335
|
examples?: string[] | undefined;
|
|
2155
2336
|
format?: string | undefined;
|
|
2337
|
+
enum?: string[] | undefined;
|
|
2156
2338
|
file?: any;
|
|
2157
2339
|
nullable?: boolean | undefined;
|
|
2158
2340
|
}[];
|
|
2159
|
-
|
|
2341
|
+
cookies: {
|
|
2160
2342
|
value: string;
|
|
2161
2343
|
key: string;
|
|
2162
2344
|
enabled: boolean;
|
|
2163
2345
|
minimum?: number | undefined;
|
|
2164
2346
|
type?: string | string[] | undefined;
|
|
2165
2347
|
maximum?: number | undefined;
|
|
2348
|
+
description?: string | undefined;
|
|
2166
2349
|
default?: any;
|
|
2167
2350
|
required?: boolean | undefined;
|
|
2168
|
-
description?: string | undefined;
|
|
2169
|
-
enum?: string[] | undefined;
|
|
2170
2351
|
examples?: string[] | undefined;
|
|
2171
2352
|
format?: string | undefined;
|
|
2353
|
+
enum?: string[] | undefined;
|
|
2172
2354
|
file?: any;
|
|
2173
2355
|
nullable?: boolean | undefined;
|
|
2174
2356
|
}[];
|
|
2175
2357
|
};
|
|
2358
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2359
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
2360
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2361
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2362
|
+
name: string;
|
|
2363
|
+
type: "requestExample";
|
|
2176
2364
|
body: {
|
|
2177
|
-
activeBody: "
|
|
2178
|
-
binary?: Blob | undefined;
|
|
2365
|
+
activeBody: "formData" | "binary" | "raw";
|
|
2179
2366
|
formData?: {
|
|
2180
2367
|
value: {
|
|
2181
2368
|
value: string;
|
|
@@ -2184,29 +2371,24 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2184
2371
|
minimum?: number | undefined;
|
|
2185
2372
|
type?: string | string[] | undefined;
|
|
2186
2373
|
maximum?: number | undefined;
|
|
2374
|
+
description?: string | undefined;
|
|
2187
2375
|
default?: any;
|
|
2188
2376
|
required?: boolean | undefined;
|
|
2189
|
-
description?: string | undefined;
|
|
2190
|
-
enum?: string[] | undefined;
|
|
2191
2377
|
examples?: string[] | undefined;
|
|
2192
2378
|
format?: string | undefined;
|
|
2379
|
+
enum?: string[] | undefined;
|
|
2193
2380
|
file?: any;
|
|
2194
2381
|
nullable?: boolean | undefined;
|
|
2195
2382
|
}[];
|
|
2196
2383
|
encoding: "form-data" | "urlencoded";
|
|
2197
2384
|
} | undefined;
|
|
2385
|
+
binary?: Blob | undefined;
|
|
2198
2386
|
raw?: {
|
|
2199
2387
|
value: string;
|
|
2200
2388
|
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
2201
2389
|
mimeType?: string | undefined;
|
|
2202
2390
|
} | undefined;
|
|
2203
2391
|
};
|
|
2204
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2205
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
2206
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2207
|
-
type: "requestExample";
|
|
2208
|
-
uid: string & import("zod").BRAND<"example">;
|
|
2209
|
-
name: string;
|
|
2210
2392
|
parameters: {
|
|
2211
2393
|
path: {
|
|
2212
2394
|
value: string;
|
|
@@ -2215,67 +2397,72 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2215
2397
|
minimum?: number | undefined;
|
|
2216
2398
|
type?: string | string[] | undefined;
|
|
2217
2399
|
maximum?: number | undefined;
|
|
2400
|
+
description?: string | undefined;
|
|
2218
2401
|
default?: any;
|
|
2219
2402
|
required?: boolean | undefined;
|
|
2220
|
-
description?: string | undefined;
|
|
2221
|
-
enum?: string[] | undefined;
|
|
2222
2403
|
examples?: string[] | undefined;
|
|
2223
2404
|
format?: string | undefined;
|
|
2405
|
+
enum?: string[] | undefined;
|
|
2224
2406
|
file?: any;
|
|
2225
2407
|
nullable?: boolean | undefined;
|
|
2226
2408
|
}[];
|
|
2227
|
-
|
|
2409
|
+
query: {
|
|
2228
2410
|
value: string;
|
|
2229
2411
|
key: string;
|
|
2230
2412
|
enabled: boolean;
|
|
2231
2413
|
minimum?: number | undefined;
|
|
2232
2414
|
type?: string | string[] | undefined;
|
|
2233
2415
|
maximum?: number | undefined;
|
|
2416
|
+
description?: string | undefined;
|
|
2234
2417
|
default?: any;
|
|
2235
2418
|
required?: boolean | undefined;
|
|
2236
|
-
description?: string | undefined;
|
|
2237
|
-
enum?: string[] | undefined;
|
|
2238
2419
|
examples?: string[] | undefined;
|
|
2239
2420
|
format?: string | undefined;
|
|
2421
|
+
enum?: string[] | undefined;
|
|
2240
2422
|
file?: any;
|
|
2241
2423
|
nullable?: boolean | undefined;
|
|
2242
2424
|
}[];
|
|
2243
|
-
|
|
2425
|
+
headers: {
|
|
2244
2426
|
value: string;
|
|
2245
2427
|
key: string;
|
|
2246
2428
|
enabled: boolean;
|
|
2247
2429
|
minimum?: number | undefined;
|
|
2248
2430
|
type?: string | string[] | undefined;
|
|
2249
2431
|
maximum?: number | undefined;
|
|
2432
|
+
description?: string | undefined;
|
|
2250
2433
|
default?: any;
|
|
2251
2434
|
required?: boolean | undefined;
|
|
2252
|
-
description?: string | undefined;
|
|
2253
|
-
enum?: string[] | undefined;
|
|
2254
2435
|
examples?: string[] | undefined;
|
|
2255
2436
|
format?: string | undefined;
|
|
2437
|
+
enum?: string[] | undefined;
|
|
2256
2438
|
file?: any;
|
|
2257
2439
|
nullable?: boolean | undefined;
|
|
2258
2440
|
}[];
|
|
2259
|
-
|
|
2441
|
+
cookies: {
|
|
2260
2442
|
value: string;
|
|
2261
2443
|
key: string;
|
|
2262
2444
|
enabled: boolean;
|
|
2263
2445
|
minimum?: number | undefined;
|
|
2264
2446
|
type?: string | string[] | undefined;
|
|
2265
2447
|
maximum?: number | undefined;
|
|
2448
|
+
description?: string | undefined;
|
|
2266
2449
|
default?: any;
|
|
2267
2450
|
required?: boolean | undefined;
|
|
2268
|
-
description?: string | undefined;
|
|
2269
|
-
enum?: string[] | undefined;
|
|
2270
2451
|
examples?: string[] | undefined;
|
|
2271
2452
|
format?: string | undefined;
|
|
2453
|
+
enum?: string[] | undefined;
|
|
2272
2454
|
file?: any;
|
|
2273
2455
|
nullable?: boolean | undefined;
|
|
2274
2456
|
}[];
|
|
2275
2457
|
};
|
|
2458
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2459
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
2460
|
+
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2461
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2462
|
+
name: string;
|
|
2463
|
+
type: "requestExample";
|
|
2276
2464
|
body: {
|
|
2277
|
-
activeBody: "
|
|
2278
|
-
binary?: Blob | undefined;
|
|
2465
|
+
activeBody: "formData" | "binary" | "raw";
|
|
2279
2466
|
formData?: {
|
|
2280
2467
|
value: {
|
|
2281
2468
|
value: string;
|
|
@@ -2284,29 +2471,24 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2284
2471
|
minimum?: number | undefined;
|
|
2285
2472
|
type?: string | string[] | undefined;
|
|
2286
2473
|
maximum?: number | undefined;
|
|
2474
|
+
description?: string | undefined;
|
|
2287
2475
|
default?: any;
|
|
2288
2476
|
required?: boolean | undefined;
|
|
2289
|
-
description?: string | undefined;
|
|
2290
|
-
enum?: string[] | undefined;
|
|
2291
2477
|
examples?: string[] | undefined;
|
|
2292
2478
|
format?: string | undefined;
|
|
2479
|
+
enum?: string[] | undefined;
|
|
2293
2480
|
file?: any;
|
|
2294
2481
|
nullable?: boolean | undefined;
|
|
2295
2482
|
}[];
|
|
2296
2483
|
encoding: "form-data" | "urlencoded";
|
|
2297
2484
|
} | undefined;
|
|
2485
|
+
binary?: Blob | undefined;
|
|
2298
2486
|
raw?: {
|
|
2299
2487
|
value: string;
|
|
2300
2488
|
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
2301
2489
|
mimeType?: string | undefined;
|
|
2302
2490
|
} | undefined;
|
|
2303
2491
|
};
|
|
2304
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2305
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
2306
|
-
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2307
|
-
type: "requestExample";
|
|
2308
|
-
uid: string & import("zod").BRAND<"example">;
|
|
2309
|
-
name: string;
|
|
2310
2492
|
parameters: {
|
|
2311
2493
|
path: {
|
|
2312
2494
|
value: string;
|
|
@@ -2315,92 +2497,64 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2315
2497
|
minimum?: number | undefined;
|
|
2316
2498
|
type?: string | string[] | undefined;
|
|
2317
2499
|
maximum?: number | undefined;
|
|
2500
|
+
description?: string | undefined;
|
|
2318
2501
|
default?: any;
|
|
2319
2502
|
required?: boolean | undefined;
|
|
2320
|
-
description?: string | undefined;
|
|
2321
|
-
enum?: string[] | undefined;
|
|
2322
2503
|
examples?: string[] | undefined;
|
|
2323
2504
|
format?: string | undefined;
|
|
2505
|
+
enum?: string[] | undefined;
|
|
2324
2506
|
file?: any;
|
|
2325
2507
|
nullable?: boolean | undefined;
|
|
2326
2508
|
}[];
|
|
2327
|
-
|
|
2509
|
+
query: {
|
|
2328
2510
|
value: string;
|
|
2329
2511
|
key: string;
|
|
2330
2512
|
enabled: boolean;
|
|
2331
2513
|
minimum?: number | undefined;
|
|
2332
2514
|
type?: string | string[] | undefined;
|
|
2333
2515
|
maximum?: number | undefined;
|
|
2516
|
+
description?: string | undefined;
|
|
2334
2517
|
default?: any;
|
|
2335
2518
|
required?: boolean | undefined;
|
|
2336
|
-
description?: string | undefined;
|
|
2337
|
-
enum?: string[] | undefined;
|
|
2338
2519
|
examples?: string[] | undefined;
|
|
2339
2520
|
format?: string | undefined;
|
|
2521
|
+
enum?: string[] | undefined;
|
|
2340
2522
|
file?: any;
|
|
2341
2523
|
nullable?: boolean | undefined;
|
|
2342
2524
|
}[];
|
|
2343
|
-
|
|
2525
|
+
headers: {
|
|
2344
2526
|
value: string;
|
|
2345
2527
|
key: string;
|
|
2346
2528
|
enabled: boolean;
|
|
2347
2529
|
minimum?: number | undefined;
|
|
2348
2530
|
type?: string | string[] | undefined;
|
|
2349
2531
|
maximum?: number | undefined;
|
|
2532
|
+
description?: string | undefined;
|
|
2350
2533
|
default?: any;
|
|
2351
2534
|
required?: boolean | undefined;
|
|
2352
|
-
description?: string | undefined;
|
|
2353
|
-
enum?: string[] | undefined;
|
|
2354
2535
|
examples?: string[] | undefined;
|
|
2355
2536
|
format?: string | undefined;
|
|
2537
|
+
enum?: string[] | undefined;
|
|
2356
2538
|
file?: any;
|
|
2357
2539
|
nullable?: boolean | undefined;
|
|
2358
2540
|
}[];
|
|
2359
|
-
|
|
2541
|
+
cookies: {
|
|
2360
2542
|
value: string;
|
|
2361
2543
|
key: string;
|
|
2362
2544
|
enabled: boolean;
|
|
2363
2545
|
minimum?: number | undefined;
|
|
2364
2546
|
type?: string | string[] | undefined;
|
|
2365
2547
|
maximum?: number | undefined;
|
|
2548
|
+
description?: string | undefined;
|
|
2366
2549
|
default?: any;
|
|
2367
2550
|
required?: boolean | undefined;
|
|
2368
|
-
description?: string | undefined;
|
|
2369
|
-
enum?: string[] | undefined;
|
|
2370
2551
|
examples?: string[] | undefined;
|
|
2371
2552
|
format?: string | undefined;
|
|
2553
|
+
enum?: string[] | undefined;
|
|
2372
2554
|
file?: any;
|
|
2373
2555
|
nullable?: boolean | undefined;
|
|
2374
2556
|
}[];
|
|
2375
2557
|
};
|
|
2376
|
-
body: {
|
|
2377
|
-
activeBody: "binary" | "formData" | "raw";
|
|
2378
|
-
binary?: Blob | undefined;
|
|
2379
|
-
formData?: {
|
|
2380
|
-
value: {
|
|
2381
|
-
value: string;
|
|
2382
|
-
key: string;
|
|
2383
|
-
enabled: boolean;
|
|
2384
|
-
minimum?: number | undefined;
|
|
2385
|
-
type?: string | string[] | undefined;
|
|
2386
|
-
maximum?: number | undefined;
|
|
2387
|
-
default?: any;
|
|
2388
|
-
required?: boolean | undefined;
|
|
2389
|
-
description?: string | undefined;
|
|
2390
|
-
enum?: string[] | undefined;
|
|
2391
|
-
examples?: string[] | undefined;
|
|
2392
|
-
format?: string | undefined;
|
|
2393
|
-
file?: any;
|
|
2394
|
-
nullable?: boolean | undefined;
|
|
2395
|
-
}[];
|
|
2396
|
-
encoding: "form-data" | "urlencoded";
|
|
2397
|
-
} | undefined;
|
|
2398
|
-
raw?: {
|
|
2399
|
-
value: string;
|
|
2400
|
-
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
2401
|
-
mimeType?: string | undefined;
|
|
2402
|
-
} | undefined;
|
|
2403
|
-
};
|
|
2404
2558
|
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2405
2559
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2406
2560
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
@@ -2414,8 +2568,8 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2414
2568
|
type: "apiKey";
|
|
2415
2569
|
value: string;
|
|
2416
2570
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2417
|
-
name: string;
|
|
2418
2571
|
nameKey: string;
|
|
2572
|
+
name: string;
|
|
2419
2573
|
in: "cookie" | "query" | "header";
|
|
2420
2574
|
description?: string | undefined;
|
|
2421
2575
|
} | {
|
|
@@ -2487,12 +2641,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2487
2641
|
};
|
|
2488
2642
|
description?: string | undefined;
|
|
2489
2643
|
}) => void;
|
|
2490
|
-
add: (payload: import("@scalar/
|
|
2644
|
+
add: (payload: import("@scalar/types/entities").SecuritySchemePayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => {
|
|
2491
2645
|
type: "apiKey";
|
|
2492
2646
|
value: string;
|
|
2493
2647
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2494
|
-
name: string;
|
|
2495
2648
|
nameKey: string;
|
|
2649
|
+
name: string;
|
|
2496
2650
|
in: "cookie" | "query" | "header";
|
|
2497
2651
|
description?: string | undefined;
|
|
2498
2652
|
} | {
|
|
@@ -2564,13 +2718,13 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2564
2718
|
};
|
|
2565
2719
|
description?: string | undefined;
|
|
2566
2720
|
};
|
|
2567
|
-
delete: (schemeUid: import("@scalar/
|
|
2721
|
+
delete: (schemeUid: import("@scalar/types/entities").SecurityScheme["uid"]) => void;
|
|
2568
2722
|
set: (item: {
|
|
2569
2723
|
type: "apiKey";
|
|
2570
2724
|
value: string;
|
|
2571
2725
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2572
|
-
name: string;
|
|
2573
2726
|
nameKey: string;
|
|
2727
|
+
name: string;
|
|
2574
2728
|
in: "cookie" | "query" | "header";
|
|
2575
2729
|
description?: string | undefined;
|
|
2576
2730
|
} | {
|
|
@@ -2646,24 +2800,24 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2646
2800
|
type: "apiKey";
|
|
2647
2801
|
value: string;
|
|
2648
2802
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2649
|
-
name: string;
|
|
2650
2803
|
nameKey: string;
|
|
2804
|
+
name: string;
|
|
2651
2805
|
in: "cookie" | "query" | "header";
|
|
2652
2806
|
description?: string | undefined;
|
|
2653
2807
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2654
2808
|
type: "apiKey";
|
|
2655
2809
|
value: string;
|
|
2656
2810
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2657
|
-
name: string;
|
|
2658
2811
|
nameKey: string;
|
|
2812
|
+
name: string;
|
|
2659
2813
|
in: "cookie" | "query" | "header";
|
|
2660
2814
|
description?: string | undefined;
|
|
2661
2815
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2662
2816
|
type: "apiKey";
|
|
2663
2817
|
value: string;
|
|
2664
2818
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2665
|
-
name: string;
|
|
2666
2819
|
nameKey: string;
|
|
2820
|
+
name: string;
|
|
2667
2821
|
in: "cookie" | "query" | "header";
|
|
2668
2822
|
description?: string | undefined;
|
|
2669
2823
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "username" | "token" ? {
|
|
@@ -2875,24 +3029,24 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2875
3029
|
type: "apiKey";
|
|
2876
3030
|
value: string;
|
|
2877
3031
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2878
|
-
name: string;
|
|
2879
3032
|
nameKey: string;
|
|
3033
|
+
name: string;
|
|
2880
3034
|
in: "cookie" | "query" | "header";
|
|
2881
3035
|
description?: string | undefined;
|
|
2882
3036
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2883
3037
|
type: "apiKey";
|
|
2884
3038
|
value: string;
|
|
2885
3039
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2886
|
-
name: string;
|
|
2887
3040
|
nameKey: string;
|
|
3041
|
+
name: string;
|
|
2888
3042
|
in: "cookie" | "query" | "header";
|
|
2889
3043
|
description?: string | undefined;
|
|
2890
3044
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2891
3045
|
type: "apiKey";
|
|
2892
3046
|
value: string;
|
|
2893
3047
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2894
|
-
name: string;
|
|
2895
3048
|
nameKey: string;
|
|
3049
|
+
name: string;
|
|
2896
3050
|
in: "cookie" | "query" | "header";
|
|
2897
3051
|
description?: string | undefined;
|
|
2898
3052
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "username" | "token" ? {
|
|
@@ -3109,18 +3263,22 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3109
3263
|
uid: string & import("zod").BRAND<"server">;
|
|
3110
3264
|
url: string;
|
|
3111
3265
|
description?: string | undefined;
|
|
3112
|
-
variables?: Record<string,
|
|
3113
|
-
|
|
3114
|
-
|
|
3266
|
+
variables?: Record<string, {
|
|
3267
|
+
value?: string | undefined;
|
|
3268
|
+
description?: string | undefined;
|
|
3269
|
+
default?: string | undefined;
|
|
3270
|
+
enum?: string[] | undefined;
|
|
3115
3271
|
}> | undefined;
|
|
3116
3272
|
}) => void;
|
|
3117
3273
|
add: (payload: import("@scalar/oas-utils/entities/spec").ServerPayload, parentUid: string) => {
|
|
3118
3274
|
uid: string & import("zod").BRAND<"server">;
|
|
3119
3275
|
url: string;
|
|
3120
3276
|
description?: string | undefined;
|
|
3121
|
-
variables?: Record<string,
|
|
3122
|
-
|
|
3123
|
-
|
|
3277
|
+
variables?: Record<string, {
|
|
3278
|
+
value?: string | undefined;
|
|
3279
|
+
description?: string | undefined;
|
|
3280
|
+
default?: string | undefined;
|
|
3281
|
+
enum?: string[] | undefined;
|
|
3124
3282
|
}> | undefined;
|
|
3125
3283
|
};
|
|
3126
3284
|
delete: (serverUid: import("@scalar/oas-utils/entities/spec").Server["uid"], collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
@@ -3128,59 +3286,73 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3128
3286
|
uid: string & import("zod").BRAND<"server">;
|
|
3129
3287
|
url: string;
|
|
3130
3288
|
description?: string | undefined;
|
|
3131
|
-
variables?: Record<string,
|
|
3132
|
-
|
|
3133
|
-
|
|
3289
|
+
variables?: Record<string, {
|
|
3290
|
+
value?: string | undefined;
|
|
3291
|
+
description?: string | undefined;
|
|
3292
|
+
default?: string | undefined;
|
|
3293
|
+
enum?: string[] | undefined;
|
|
3134
3294
|
}> | undefined;
|
|
3135
3295
|
}) => void;
|
|
3136
3296
|
edit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: (string & import("zod").BRAND<"server">) | null | undefined, path: P, value: P extends "description" | "uid" | "url" | "variables" ? {
|
|
3137
3297
|
uid: string & import("zod").BRAND<"server">;
|
|
3138
3298
|
url: string;
|
|
3139
3299
|
description?: string | undefined;
|
|
3140
|
-
variables?: Record<string,
|
|
3141
|
-
|
|
3142
|
-
|
|
3300
|
+
variables?: Record<string, {
|
|
3301
|
+
value?: string | undefined;
|
|
3302
|
+
description?: string | undefined;
|
|
3303
|
+
default?: string | undefined;
|
|
3304
|
+
enum?: string[] | undefined;
|
|
3143
3305
|
}> | undefined;
|
|
3144
3306
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "uid" | "url" | "variables" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3145
3307
|
uid: string & import("zod").BRAND<"server">;
|
|
3146
3308
|
url: string;
|
|
3147
3309
|
description?: string | undefined;
|
|
3148
|
-
variables?: Record<string,
|
|
3149
|
-
|
|
3150
|
-
|
|
3310
|
+
variables?: Record<string, {
|
|
3311
|
+
value?: string | undefined;
|
|
3312
|
+
description?: string | undefined;
|
|
3313
|
+
default?: string | undefined;
|
|
3314
|
+
enum?: string[] | undefined;
|
|
3151
3315
|
}> | undefined;
|
|
3152
3316
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3153
3317
|
uid: string & import("zod").BRAND<"server">;
|
|
3154
3318
|
url: string;
|
|
3155
3319
|
description?: string | undefined;
|
|
3156
|
-
variables?: Record<string,
|
|
3157
|
-
|
|
3158
|
-
|
|
3320
|
+
variables?: Record<string, {
|
|
3321
|
+
value?: string | undefined;
|
|
3322
|
+
description?: string | undefined;
|
|
3323
|
+
default?: string | undefined;
|
|
3324
|
+
enum?: string[] | undefined;
|
|
3159
3325
|
}> | undefined;
|
|
3160
3326
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3161
3327
|
untrackedEdit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: string & import("zod").BRAND<"server">, path: P, value: P extends "description" | "uid" | "url" | "variables" ? {
|
|
3162
3328
|
uid: string & import("zod").BRAND<"server">;
|
|
3163
3329
|
url: string;
|
|
3164
3330
|
description?: string | undefined;
|
|
3165
|
-
variables?: Record<string,
|
|
3166
|
-
|
|
3167
|
-
|
|
3331
|
+
variables?: Record<string, {
|
|
3332
|
+
value?: string | undefined;
|
|
3333
|
+
description?: string | undefined;
|
|
3334
|
+
default?: string | undefined;
|
|
3335
|
+
enum?: string[] | undefined;
|
|
3168
3336
|
}> | undefined;
|
|
3169
3337
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "uid" | "url" | "variables" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3170
3338
|
uid: string & import("zod").BRAND<"server">;
|
|
3171
3339
|
url: string;
|
|
3172
3340
|
description?: string | undefined;
|
|
3173
|
-
variables?: Record<string,
|
|
3174
|
-
|
|
3175
|
-
|
|
3341
|
+
variables?: Record<string, {
|
|
3342
|
+
value?: string | undefined;
|
|
3343
|
+
description?: string | undefined;
|
|
3344
|
+
default?: string | undefined;
|
|
3345
|
+
enum?: string[] | undefined;
|
|
3176
3346
|
}> | undefined;
|
|
3177
3347
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3178
3348
|
uid: string & import("zod").BRAND<"server">;
|
|
3179
3349
|
url: string;
|
|
3180
3350
|
description?: string | undefined;
|
|
3181
|
-
variables?: Record<string,
|
|
3182
|
-
|
|
3183
|
-
|
|
3351
|
+
variables?: Record<string, {
|
|
3352
|
+
value?: string | undefined;
|
|
3353
|
+
description?: string | undefined;
|
|
3354
|
+
default?: string | undefined;
|
|
3355
|
+
enum?: string[] | undefined;
|
|
3184
3356
|
}> | undefined;
|
|
3185
3357
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3186
3358
|
undo: (uid: string & import("zod").BRAND<"server">) => void;
|
|
@@ -3189,9 +3361,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3189
3361
|
};
|
|
3190
3362
|
tagMutators: {
|
|
3191
3363
|
rawAdd: (item: {
|
|
3192
|
-
type: "tag";
|
|
3193
3364
|
uid: string & import("zod").BRAND<"tag">;
|
|
3194
3365
|
name: string;
|
|
3366
|
+
type: "tag";
|
|
3195
3367
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3196
3368
|
description?: string | undefined;
|
|
3197
3369
|
externalDocs?: {
|
|
@@ -3205,9 +3377,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3205
3377
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3206
3378
|
}) => void;
|
|
3207
3379
|
add: (payload: import("@scalar/oas-utils/entities/spec").TagPayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void | {
|
|
3208
|
-
type: "tag";
|
|
3209
3380
|
uid: string & import("zod").BRAND<"tag">;
|
|
3210
3381
|
name: string;
|
|
3382
|
+
type: "tag";
|
|
3211
3383
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3212
3384
|
description?: string | undefined;
|
|
3213
3385
|
externalDocs?: {
|
|
@@ -3222,9 +3394,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3222
3394
|
};
|
|
3223
3395
|
delete: (tag: import("@scalar/oas-utils/entities/spec").Tag, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
3224
3396
|
set: (item: {
|
|
3225
|
-
type: "tag";
|
|
3226
3397
|
uid: string & import("zod").BRAND<"tag">;
|
|
3227
3398
|
name: string;
|
|
3399
|
+
type: "tag";
|
|
3228
3400
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3229
3401
|
description?: string | undefined;
|
|
3230
3402
|
externalDocs?: {
|
|
@@ -3238,9 +3410,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3238
3410
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3239
3411
|
}) => void;
|
|
3240
3412
|
edit: <P extends "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "type" | "name" | "uid" | "children" | "externalDocs.description" | "externalDocs.url" | `children.${number}` | "x-scalar-children" | `x-scalar-children.${number}` | `x-scalar-children.${number}.tagName`>(uid: (string & import("zod").BRAND<"tag">) | null | undefined, path: P, value: P extends "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "type" | "name" | "uid" | "children" | "x-scalar-children" ? {
|
|
3241
|
-
type: "tag";
|
|
3242
3413
|
uid: string & import("zod").BRAND<"tag">;
|
|
3243
3414
|
name: string;
|
|
3415
|
+
type: "tag";
|
|
3244
3416
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3245
3417
|
description?: string | undefined;
|
|
3246
3418
|
externalDocs?: {
|
|
@@ -3253,9 +3425,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3253
3425
|
'x-internal'?: boolean | undefined;
|
|
3254
3426
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3255
3427
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "type" | "name" | "uid" | "children" | "x-scalar-children" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3256
|
-
type: "tag";
|
|
3257
3428
|
uid: string & import("zod").BRAND<"tag">;
|
|
3258
3429
|
name: string;
|
|
3430
|
+
type: "tag";
|
|
3259
3431
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3260
3432
|
description?: string | undefined;
|
|
3261
3433
|
externalDocs?: {
|
|
@@ -3268,9 +3440,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3268
3440
|
'x-internal'?: boolean | undefined;
|
|
3269
3441
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3270
3442
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3271
|
-
type: "tag";
|
|
3272
3443
|
uid: string & import("zod").BRAND<"tag">;
|
|
3273
3444
|
name: string;
|
|
3445
|
+
type: "tag";
|
|
3274
3446
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3275
3447
|
description?: string | undefined;
|
|
3276
3448
|
externalDocs?: {
|
|
@@ -3284,9 +3456,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3284
3456
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3285
3457
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3286
3458
|
untrackedEdit: <P extends "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "type" | "name" | "uid" | "children" | "externalDocs.description" | "externalDocs.url" | `children.${number}` | "x-scalar-children" | `x-scalar-children.${number}` | `x-scalar-children.${number}.tagName`>(uid: string & import("zod").BRAND<"tag">, path: P, value: P extends "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "type" | "name" | "uid" | "children" | "x-scalar-children" ? {
|
|
3287
|
-
type: "tag";
|
|
3288
3459
|
uid: string & import("zod").BRAND<"tag">;
|
|
3289
3460
|
name: string;
|
|
3461
|
+
type: "tag";
|
|
3290
3462
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3291
3463
|
description?: string | undefined;
|
|
3292
3464
|
externalDocs?: {
|
|
@@ -3299,9 +3471,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3299
3471
|
'x-internal'?: boolean | undefined;
|
|
3300
3472
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3301
3473
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "type" | "name" | "uid" | "children" | "x-scalar-children" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3302
|
-
type: "tag";
|
|
3303
3474
|
uid: string & import("zod").BRAND<"tag">;
|
|
3304
3475
|
name: string;
|
|
3476
|
+
type: "tag";
|
|
3305
3477
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3306
3478
|
description?: string | undefined;
|
|
3307
3479
|
externalDocs?: {
|
|
@@ -3314,9 +3486,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3314
3486
|
'x-internal'?: boolean | undefined;
|
|
3315
3487
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3316
3488
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3317
|
-
type: "tag";
|
|
3318
3489
|
uid: string & import("zod").BRAND<"tag">;
|
|
3319
3490
|
name: string;
|
|
3491
|
+
type: "tag";
|
|
3320
3492
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3321
3493
|
description?: string | undefined;
|
|
3322
3494
|
externalDocs?: {
|
|
@@ -3338,108 +3510,108 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3338
3510
|
uid: string & import("zod").BRAND<"workspace">;
|
|
3339
3511
|
name: string;
|
|
3340
3512
|
description: string;
|
|
3513
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3341
3514
|
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3342
3515
|
environments: Record<string, string>;
|
|
3343
3516
|
activeEnvironmentId: string;
|
|
3344
|
-
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3345
3517
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3346
3518
|
selectedHttpClient: {
|
|
3347
3519
|
targetKey: string;
|
|
3348
3520
|
clientKey: string;
|
|
3349
3521
|
};
|
|
3350
3522
|
hotKeyConfig?: {
|
|
3351
|
-
modifiers: ("
|
|
3352
|
-
hotKeys?: Partial<Record<"" | "
|
|
3523
|
+
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
3524
|
+
hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3353
3525
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3354
|
-
modifiers?: ("
|
|
3526
|
+
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
3355
3527
|
}>> | undefined;
|
|
3356
3528
|
} | undefined;
|
|
3357
3529
|
proxyUrl?: string | undefined;
|
|
3358
3530
|
}) => void;
|
|
3359
|
-
add: (payload?: Partial<import("@scalar/oas-utils/entities").Workspace>) => {
|
|
3531
|
+
add: (payload?: Partial<import("@scalar/oas-utils/entities/workspace").Workspace>) => {
|
|
3360
3532
|
uid: string & import("zod").BRAND<"workspace">;
|
|
3361
3533
|
name: string;
|
|
3362
3534
|
description: string;
|
|
3535
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3363
3536
|
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3364
3537
|
environments: Record<string, string>;
|
|
3365
3538
|
activeEnvironmentId: string;
|
|
3366
|
-
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3367
3539
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3368
3540
|
selectedHttpClient: {
|
|
3369
3541
|
targetKey: string;
|
|
3370
3542
|
clientKey: string;
|
|
3371
3543
|
};
|
|
3372
3544
|
hotKeyConfig?: {
|
|
3373
|
-
modifiers: ("
|
|
3374
|
-
hotKeys?: Partial<Record<"" | "
|
|
3545
|
+
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
3546
|
+
hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3375
3547
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3376
|
-
modifiers?: ("
|
|
3548
|
+
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
3377
3549
|
}>> | undefined;
|
|
3378
3550
|
} | undefined;
|
|
3379
3551
|
proxyUrl?: string | undefined;
|
|
3380
3552
|
};
|
|
3381
|
-
delete: (uid: import("@scalar/oas-utils/entities").Workspace["uid"]) => void;
|
|
3553
|
+
delete: (uid: import("@scalar/oas-utils/entities/workspace").Workspace["uid"]) => void;
|
|
3382
3554
|
set: (item: {
|
|
3383
3555
|
uid: string & import("zod").BRAND<"workspace">;
|
|
3384
3556
|
name: string;
|
|
3385
3557
|
description: string;
|
|
3558
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3386
3559
|
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3387
3560
|
environments: Record<string, string>;
|
|
3388
3561
|
activeEnvironmentId: string;
|
|
3389
|
-
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3390
3562
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3391
3563
|
selectedHttpClient: {
|
|
3392
3564
|
targetKey: string;
|
|
3393
3565
|
clientKey: string;
|
|
3394
3566
|
};
|
|
3395
3567
|
hotKeyConfig?: {
|
|
3396
|
-
modifiers: ("
|
|
3397
|
-
hotKeys?: Partial<Record<"" | "
|
|
3568
|
+
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
3569
|
+
hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3398
3570
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3399
|
-
modifiers?: ("
|
|
3571
|
+
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
3400
3572
|
}>> | undefined;
|
|
3401
3573
|
} | undefined;
|
|
3402
3574
|
proxyUrl?: string | undefined;
|
|
3403
3575
|
}) => void;
|
|
3404
|
-
edit: <P extends "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "cookies" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" | `collections.${number}` | `environments.${string}` | `cookies.${number}` | "selectedHttpClient.targetKey" | "selectedHttpClient.clientKey" | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys./" | "hotKeyConfig.hotKeys.0" | "hotKeyConfig.hotKeys.Space" | "hotKeyConfig.hotKeys.Backspace" | "hotKeyConfig.hotKeys.Tab" | "hotKeyConfig.hotKeys.Enter" | "hotKeyConfig.hotKeys.Escape" | "hotKeyConfig.hotKeys.ArrowDown" | "hotKeyConfig.hotKeys.ArrowLeft" | "hotKeyConfig.hotKeys.ArrowRight" | "hotKeyConfig.hotKeys.ArrowUp" | "hotKeyConfig.hotKeys.End" | "hotKeyConfig.hotKeys.Home" | "hotKeyConfig.hotKeys.PageDown" | "hotKeyConfig.hotKeys.PageUp" | "hotKeyConfig.hotKeys.Delete" | "hotKeyConfig.hotKeys.1" | "hotKeyConfig.hotKeys.2" | "hotKeyConfig.hotKeys.3" | "hotKeyConfig.hotKeys.4" | "hotKeyConfig.hotKeys.5" | "hotKeyConfig.hotKeys.6" | "hotKeyConfig.hotKeys.7" | "hotKeyConfig.hotKeys.8" | "hotKeyConfig.hotKeys.9" | "hotKeyConfig.hotKeys.a" | "hotKeyConfig.hotKeys.b" | "hotKeyConfig.hotKeys.c" | "hotKeyConfig.hotKeys.d" | "hotKeyConfig.hotKeys.e" | "hotKeyConfig.hotKeys.f" | "hotKeyConfig.hotKeys.g" | "hotKeyConfig.hotKeys.h" | "hotKeyConfig.hotKeys.i" | "hotKeyConfig.hotKeys.j" | "hotKeyConfig.hotKeys.k" | "hotKeyConfig.hotKeys.l" | "hotKeyConfig.hotKeys.m" | "hotKeyConfig.hotKeys.n" | "hotKeyConfig.hotKeys.o" | "hotKeyConfig.hotKeys.p" | "hotKeyConfig.hotKeys.q" | "hotKeyConfig.hotKeys.r" | "hotKeyConfig.hotKeys.s" | "hotKeyConfig.hotKeys.t" | "hotKeyConfig.hotKeys.u" | "hotKeyConfig.hotKeys.v" | "hotKeyConfig.hotKeys.w" | "hotKeyConfig.hotKeys.x" | "hotKeyConfig.hotKeys.y" | "hotKeyConfig.hotKeys.z" | "hotKeyConfig.hotKeys.*" | "hotKeyConfig.hotKeys.+" | "hotKeyConfig.hotKeys.-" | "hotKeyConfig.hotKeys.." | "hotKeyConfig.hotKeys.F1" | "hotKeyConfig.hotKeys.F2" | "hotKeyConfig.hotKeys.F3" | "hotKeyConfig.hotKeys.F4" | "hotKeyConfig.hotKeys.F5" | "hotKeyConfig.hotKeys.F6" | "hotKeyConfig.hotKeys.F7" | "hotKeyConfig.hotKeys.F8" | "hotKeyConfig.hotKeys.F9" | "hotKeyConfig.hotKeys.F10" | "hotKeyConfig.hotKeys.F11" | "hotKeyConfig.hotKeys.F12" | "hotKeyConfig.hotKeys.;" | "hotKeyConfig.hotKeys.=" | "hotKeyConfig.hotKeys.," | "hotKeyConfig.hotKeys.`" | "hotKeyConfig.hotKeys.[" | "hotKeyConfig.hotKeys.\\" | "hotKeyConfig.hotKeys.]" | "hotKeyConfig.hotKeys..modifiers" | `hotKeyConfig.hotKeys..modifiers.${number}` | "hotKeyConfig.hotKeys..event" | "hotKeyConfig.hotKeys./.modifiers" | `hotKeyConfig.hotKeys./.modifiers.${number}` | "hotKeyConfig.hotKeys./.event" | "hotKeyConfig.hotKeys.0.modifiers" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.0.event" | "hotKeyConfig.hotKeys.Space.modifiers" | `hotKeyConfig.hotKeys.Space.modifiers.${number}` | "hotKeyConfig.hotKeys.Space.event" | "hotKeyConfig.hotKeys.Backspace.modifiers" | `hotKeyConfig.hotKeys.Backspace.modifiers.${number}` | "hotKeyConfig.hotKeys.Backspace.event" | "hotKeyConfig.hotKeys.Tab.modifiers" | `hotKeyConfig.hotKeys.Tab.modifiers.${number}` | "hotKeyConfig.hotKeys.Tab.event" | "hotKeyConfig.hotKeys.Enter.modifiers" | `hotKeyConfig.hotKeys.Enter.modifiers.${number}` | "hotKeyConfig.hotKeys.Enter.event" | "hotKeyConfig.hotKeys.Escape.modifiers" | `hotKeyConfig.hotKeys.Escape.modifiers.${number}` | "hotKeyConfig.hotKeys.Escape.event" | "hotKeyConfig.hotKeys.ArrowDown.modifiers" | `hotKeyConfig.hotKeys.ArrowDown.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowDown.event" | "hotKeyConfig.hotKeys.ArrowLeft.modifiers" | `hotKeyConfig.hotKeys.ArrowLeft.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowLeft.event" | "hotKeyConfig.hotKeys.ArrowRight.modifiers" | `hotKeyConfig.hotKeys.ArrowRight.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowRight.event" | "hotKeyConfig.hotKeys.ArrowUp.modifiers" | `hotKeyConfig.hotKeys.ArrowUp.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowUp.event" | "hotKeyConfig.hotKeys.End.modifiers" | `hotKeyConfig.hotKeys.End.modifiers.${number}` | "hotKeyConfig.hotKeys.End.event" | "hotKeyConfig.hotKeys.Home.modifiers" | `hotKeyConfig.hotKeys.Home.modifiers.${number}` | "hotKeyConfig.hotKeys.Home.event" | "hotKeyConfig.hotKeys.PageDown.modifiers" | `hotKeyConfig.hotKeys.PageDown.modifiers.${number}` | "hotKeyConfig.hotKeys.PageDown.event" | "hotKeyConfig.hotKeys.PageUp.modifiers" | `hotKeyConfig.hotKeys.PageUp.modifiers.${number}` | "hotKeyConfig.hotKeys.PageUp.event" | "hotKeyConfig.hotKeys.Delete.modifiers" | `hotKeyConfig.hotKeys.Delete.modifiers.${number}` | "hotKeyConfig.hotKeys.Delete.event" | "hotKeyConfig.hotKeys.1.modifiers" | `hotKeyConfig.hotKeys.1.modifiers.${number}` | "hotKeyConfig.hotKeys.1.event" | "hotKeyConfig.hotKeys.2.modifiers" | `hotKeyConfig.hotKeys.2.modifiers.${number}` | "hotKeyConfig.hotKeys.2.event" | "hotKeyConfig.hotKeys.3.modifiers" | `hotKeyConfig.hotKeys.3.modifiers.${number}` | "hotKeyConfig.hotKeys.3.event" | "hotKeyConfig.hotKeys.4.modifiers" | `hotKeyConfig.hotKeys.4.modifiers.${number}` | "hotKeyConfig.hotKeys.4.event" | "hotKeyConfig.hotKeys.5.modifiers" | `hotKeyConfig.hotKeys.5.modifiers.${number}` | "hotKeyConfig.hotKeys.5.event" | "hotKeyConfig.hotKeys.6.modifiers" | `hotKeyConfig.hotKeys.6.modifiers.${number}` | "hotKeyConfig.hotKeys.6.event" | "hotKeyConfig.hotKeys.7.modifiers" | `hotKeyConfig.hotKeys.7.modifiers.${number}` | "hotKeyConfig.hotKeys.7.event" | "hotKeyConfig.hotKeys.8.modifiers" | `hotKeyConfig.hotKeys.8.modifiers.${number}` | "hotKeyConfig.hotKeys.8.event" | "hotKeyConfig.hotKeys.9.modifiers" | `hotKeyConfig.hotKeys.9.modifiers.${number}` | "hotKeyConfig.hotKeys.9.event" | "hotKeyConfig.hotKeys.a.modifiers" | `hotKeyConfig.hotKeys.a.modifiers.${number}` | "hotKeyConfig.hotKeys.a.event" | "hotKeyConfig.hotKeys.b.modifiers" | `hotKeyConfig.hotKeys.b.modifiers.${number}` | "hotKeyConfig.hotKeys.b.event" | "hotKeyConfig.hotKeys.c.modifiers" | `hotKeyConfig.hotKeys.c.modifiers.${number}` | "hotKeyConfig.hotKeys.c.event" | "hotKeyConfig.hotKeys.d.modifiers" | `hotKeyConfig.hotKeys.d.modifiers.${number}` | "hotKeyConfig.hotKeys.d.event" | "hotKeyConfig.hotKeys.e.modifiers" | `hotKeyConfig.hotKeys.e.modifiers.${number}` | "hotKeyConfig.hotKeys.e.event" | "hotKeyConfig.hotKeys.f.modifiers" | `hotKeyConfig.hotKeys.f.modifiers.${number}` | "hotKeyConfig.hotKeys.f.event" | "hotKeyConfig.hotKeys.g.modifiers" | `hotKeyConfig.hotKeys.g.modifiers.${number}` | "hotKeyConfig.hotKeys.g.event" | "hotKeyConfig.hotKeys.h.modifiers" | `hotKeyConfig.hotKeys.h.modifiers.${number}` | "hotKeyConfig.hotKeys.h.event" | "hotKeyConfig.hotKeys.i.modifiers" | `hotKeyConfig.hotKeys.i.modifiers.${number}` | "hotKeyConfig.hotKeys.i.event" | "hotKeyConfig.hotKeys.j.modifiers" | `hotKeyConfig.hotKeys.j.modifiers.${number}` | "hotKeyConfig.hotKeys.j.event" | "hotKeyConfig.hotKeys.k.modifiers" | `hotKeyConfig.hotKeys.k.modifiers.${number}` | "hotKeyConfig.hotKeys.k.event" | "hotKeyConfig.hotKeys.l.modifiers" | `hotKeyConfig.hotKeys.l.modifiers.${number}` | "hotKeyConfig.hotKeys.l.event" | "hotKeyConfig.hotKeys.m.modifiers" | `hotKeyConfig.hotKeys.m.modifiers.${number}` | "hotKeyConfig.hotKeys.m.event" | "hotKeyConfig.hotKeys.n.modifiers" | `hotKeyConfig.hotKeys.n.modifiers.${number}` | "hotKeyConfig.hotKeys.n.event" | "hotKeyConfig.hotKeys.o.modifiers" | `hotKeyConfig.hotKeys.o.modifiers.${number}` | "hotKeyConfig.hotKeys.o.event" | "hotKeyConfig.hotKeys.p.modifiers" | `hotKeyConfig.hotKeys.p.modifiers.${number}` | "hotKeyConfig.hotKeys.p.event" | "hotKeyConfig.hotKeys.q.modifiers" | `hotKeyConfig.hotKeys.q.modifiers.${number}` | "hotKeyConfig.hotKeys.q.event" | "hotKeyConfig.hotKeys.r.modifiers" | `hotKeyConfig.hotKeys.r.modifiers.${number}` | "hotKeyConfig.hotKeys.r.event" | "hotKeyConfig.hotKeys.s.modifiers" | `hotKeyConfig.hotKeys.s.modifiers.${number}` | "hotKeyConfig.hotKeys.s.event" | "hotKeyConfig.hotKeys.t.modifiers" | `hotKeyConfig.hotKeys.t.modifiers.${number}` | "hotKeyConfig.hotKeys.t.event" | "hotKeyConfig.hotKeys.u.modifiers" | `hotKeyConfig.hotKeys.u.modifiers.${number}` | "hotKeyConfig.hotKeys.u.event" | "hotKeyConfig.hotKeys.v.modifiers" | `hotKeyConfig.hotKeys.v.modifiers.${number}` | "hotKeyConfig.hotKeys.v.event" | "hotKeyConfig.hotKeys.w.modifiers" | `hotKeyConfig.hotKeys.w.modifiers.${number}` | "hotKeyConfig.hotKeys.w.event" | "hotKeyConfig.hotKeys.x.modifiers" | `hotKeyConfig.hotKeys.x.modifiers.${number}` | "hotKeyConfig.hotKeys.x.event" | "hotKeyConfig.hotKeys.y.modifiers" | `hotKeyConfig.hotKeys.y.modifiers.${number}` | "hotKeyConfig.hotKeys.y.event" | "hotKeyConfig.hotKeys.z.modifiers" | `hotKeyConfig.hotKeys.z.modifiers.${number}` | "hotKeyConfig.hotKeys.z.event" | "hotKeyConfig.hotKeys.*.modifiers" | `hotKeyConfig.hotKeys.*.modifiers.${number}` | "hotKeyConfig.hotKeys.*.event" | "hotKeyConfig.hotKeys.+.modifiers" | `hotKeyConfig.hotKeys.+.modifiers.${number}` | "hotKeyConfig.hotKeys.+.event" | "hotKeyConfig.hotKeys.-.modifiers" | `hotKeyConfig.hotKeys.-.modifiers.${number}` | "hotKeyConfig.hotKeys.-.event" | "hotKeyConfig.hotKeys...modifiers" | `hotKeyConfig.hotKeys...modifiers.${number}` | "hotKeyConfig.hotKeys...event" | "hotKeyConfig.hotKeys.F1.modifiers" | `hotKeyConfig.hotKeys.F1.modifiers.${number}` | "hotKeyConfig.hotKeys.F1.event" | "hotKeyConfig.hotKeys.F2.modifiers" | `hotKeyConfig.hotKeys.F2.modifiers.${number}` | "hotKeyConfig.hotKeys.F2.event" | "hotKeyConfig.hotKeys.F3.modifiers" | `hotKeyConfig.hotKeys.F3.modifiers.${number}` | "hotKeyConfig.hotKeys.F3.event" | "hotKeyConfig.hotKeys.F4.modifiers" | `hotKeyConfig.hotKeys.F4.modifiers.${number}` | "hotKeyConfig.hotKeys.F4.event" | "hotKeyConfig.hotKeys.F5.modifiers" | `hotKeyConfig.hotKeys.F5.modifiers.${number}` | "hotKeyConfig.hotKeys.F5.event" | "hotKeyConfig.hotKeys.F6.modifiers" | `hotKeyConfig.hotKeys.F6.modifiers.${number}` | "hotKeyConfig.hotKeys.F6.event" | "hotKeyConfig.hotKeys.F7.modifiers" | `hotKeyConfig.hotKeys.F7.modifiers.${number}` | "hotKeyConfig.hotKeys.F7.event" | "hotKeyConfig.hotKeys.F8.modifiers" | `hotKeyConfig.hotKeys.F8.modifiers.${number}` | "hotKeyConfig.hotKeys.F8.event" | "hotKeyConfig.hotKeys.F9.modifiers" | `hotKeyConfig.hotKeys.F9.modifiers.${number}` | "hotKeyConfig.hotKeys.F9.event" | "hotKeyConfig.hotKeys.F10.modifiers" | `hotKeyConfig.hotKeys.F10.modifiers.${number}` | "hotKeyConfig.hotKeys.F10.event" | "hotKeyConfig.hotKeys.F11.modifiers" | `hotKeyConfig.hotKeys.F11.modifiers.${number}` | "hotKeyConfig.hotKeys.F11.event" | "hotKeyConfig.hotKeys.F12.modifiers" | `hotKeyConfig.hotKeys.F12.modifiers.${number}` | "hotKeyConfig.hotKeys.F12.event" | "hotKeyConfig.hotKeys.;.modifiers" | `hotKeyConfig.hotKeys.;.modifiers.${number}` | "hotKeyConfig.hotKeys.;.event" | "hotKeyConfig.hotKeys.=.modifiers" | `hotKeyConfig.hotKeys.=.modifiers.${number}` | "hotKeyConfig.hotKeys.=.event" | "hotKeyConfig.hotKeys.,.modifiers" | `hotKeyConfig.hotKeys.,.modifiers.${number}` | "hotKeyConfig.hotKeys.,.event" | "hotKeyConfig.hotKeys.`.modifiers" | `hotKeyConfig.hotKeys.\`.modifiers.${number}` | "hotKeyConfig.hotKeys.`.event" | "hotKeyConfig.hotKeys.[.modifiers" | `hotKeyConfig.hotKeys.[.modifiers.${number}` | "hotKeyConfig.hotKeys.[.event" | "hotKeyConfig.hotKeys.\\.modifiers" | `hotKeyConfig.hotKeys.\\.modifiers.${number}` | "hotKeyConfig.hotKeys.\\.event" | "hotKeyConfig.hotKeys.].modifiers" | `hotKeyConfig.hotKeys.].modifiers.${number}` | "hotKeyConfig.hotKeys.].event">(uid: (string & import("zod").BRAND<"workspace">) | null | undefined, path: P, value: P extends "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "cookies" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? {
|
|
3576
|
+
edit: <P extends "description" | "name" | "uid" | "collections" | "cookies" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" | `collections.${number}` | `cookies.${number}` | `environments.${string}` | "selectedHttpClient.targetKey" | "selectedHttpClient.clientKey" | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys.0" | "hotKeyConfig.hotKeys.Space" | "hotKeyConfig.hotKeys.Backspace" | "hotKeyConfig.hotKeys.Tab" | "hotKeyConfig.hotKeys.Enter" | "hotKeyConfig.hotKeys.Escape" | "hotKeyConfig.hotKeys.ArrowDown" | "hotKeyConfig.hotKeys.ArrowLeft" | "hotKeyConfig.hotKeys.ArrowRight" | "hotKeyConfig.hotKeys.ArrowUp" | "hotKeyConfig.hotKeys.End" | "hotKeyConfig.hotKeys.Home" | "hotKeyConfig.hotKeys.PageDown" | "hotKeyConfig.hotKeys.PageUp" | "hotKeyConfig.hotKeys.Delete" | "hotKeyConfig.hotKeys.1" | "hotKeyConfig.hotKeys.2" | "hotKeyConfig.hotKeys.3" | "hotKeyConfig.hotKeys.4" | "hotKeyConfig.hotKeys.5" | "hotKeyConfig.hotKeys.6" | "hotKeyConfig.hotKeys.7" | "hotKeyConfig.hotKeys.8" | "hotKeyConfig.hotKeys.9" | "hotKeyConfig.hotKeys.a" | "hotKeyConfig.hotKeys.b" | "hotKeyConfig.hotKeys.c" | "hotKeyConfig.hotKeys.d" | "hotKeyConfig.hotKeys.e" | "hotKeyConfig.hotKeys.f" | "hotKeyConfig.hotKeys.g" | "hotKeyConfig.hotKeys.h" | "hotKeyConfig.hotKeys.i" | "hotKeyConfig.hotKeys.j" | "hotKeyConfig.hotKeys.k" | "hotKeyConfig.hotKeys.l" | "hotKeyConfig.hotKeys.m" | "hotKeyConfig.hotKeys.n" | "hotKeyConfig.hotKeys.o" | "hotKeyConfig.hotKeys.p" | "hotKeyConfig.hotKeys.q" | "hotKeyConfig.hotKeys.r" | "hotKeyConfig.hotKeys.s" | "hotKeyConfig.hotKeys.t" | "hotKeyConfig.hotKeys.u" | "hotKeyConfig.hotKeys.v" | "hotKeyConfig.hotKeys.w" | "hotKeyConfig.hotKeys.x" | "hotKeyConfig.hotKeys.y" | "hotKeyConfig.hotKeys.z" | "hotKeyConfig.hotKeys.*" | "hotKeyConfig.hotKeys.+" | "hotKeyConfig.hotKeys.-" | "hotKeyConfig.hotKeys.." | "hotKeyConfig.hotKeys./" | "hotKeyConfig.hotKeys.F1" | "hotKeyConfig.hotKeys.F2" | "hotKeyConfig.hotKeys.F3" | "hotKeyConfig.hotKeys.F4" | "hotKeyConfig.hotKeys.F5" | "hotKeyConfig.hotKeys.F6" | "hotKeyConfig.hotKeys.F7" | "hotKeyConfig.hotKeys.F8" | "hotKeyConfig.hotKeys.F9" | "hotKeyConfig.hotKeys.F10" | "hotKeyConfig.hotKeys.F11" | "hotKeyConfig.hotKeys.F12" | "hotKeyConfig.hotKeys.;" | "hotKeyConfig.hotKeys.=" | "hotKeyConfig.hotKeys.," | "hotKeyConfig.hotKeys.`" | "hotKeyConfig.hotKeys.[" | "hotKeyConfig.hotKeys.\\" | "hotKeyConfig.hotKeys.]" | "hotKeyConfig.hotKeys..modifiers" | `hotKeyConfig.hotKeys..modifiers.${number}` | "hotKeyConfig.hotKeys..event" | "hotKeyConfig.hotKeys.0.modifiers" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.0.event" | "hotKeyConfig.hotKeys.Space.modifiers" | `hotKeyConfig.hotKeys.Space.modifiers.${number}` | "hotKeyConfig.hotKeys.Space.event" | "hotKeyConfig.hotKeys.Backspace.modifiers" | `hotKeyConfig.hotKeys.Backspace.modifiers.${number}` | "hotKeyConfig.hotKeys.Backspace.event" | "hotKeyConfig.hotKeys.Tab.modifiers" | `hotKeyConfig.hotKeys.Tab.modifiers.${number}` | "hotKeyConfig.hotKeys.Tab.event" | "hotKeyConfig.hotKeys.Enter.modifiers" | `hotKeyConfig.hotKeys.Enter.modifiers.${number}` | "hotKeyConfig.hotKeys.Enter.event" | "hotKeyConfig.hotKeys.Escape.modifiers" | `hotKeyConfig.hotKeys.Escape.modifiers.${number}` | "hotKeyConfig.hotKeys.Escape.event" | "hotKeyConfig.hotKeys.ArrowDown.modifiers" | `hotKeyConfig.hotKeys.ArrowDown.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowDown.event" | "hotKeyConfig.hotKeys.ArrowLeft.modifiers" | `hotKeyConfig.hotKeys.ArrowLeft.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowLeft.event" | "hotKeyConfig.hotKeys.ArrowRight.modifiers" | `hotKeyConfig.hotKeys.ArrowRight.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowRight.event" | "hotKeyConfig.hotKeys.ArrowUp.modifiers" | `hotKeyConfig.hotKeys.ArrowUp.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowUp.event" | "hotKeyConfig.hotKeys.End.modifiers" | `hotKeyConfig.hotKeys.End.modifiers.${number}` | "hotKeyConfig.hotKeys.End.event" | "hotKeyConfig.hotKeys.Home.modifiers" | `hotKeyConfig.hotKeys.Home.modifiers.${number}` | "hotKeyConfig.hotKeys.Home.event" | "hotKeyConfig.hotKeys.PageDown.modifiers" | `hotKeyConfig.hotKeys.PageDown.modifiers.${number}` | "hotKeyConfig.hotKeys.PageDown.event" | "hotKeyConfig.hotKeys.PageUp.modifiers" | `hotKeyConfig.hotKeys.PageUp.modifiers.${number}` | "hotKeyConfig.hotKeys.PageUp.event" | "hotKeyConfig.hotKeys.Delete.modifiers" | `hotKeyConfig.hotKeys.Delete.modifiers.${number}` | "hotKeyConfig.hotKeys.Delete.event" | "hotKeyConfig.hotKeys.1.modifiers" | `hotKeyConfig.hotKeys.1.modifiers.${number}` | "hotKeyConfig.hotKeys.1.event" | "hotKeyConfig.hotKeys.2.modifiers" | `hotKeyConfig.hotKeys.2.modifiers.${number}` | "hotKeyConfig.hotKeys.2.event" | "hotKeyConfig.hotKeys.3.modifiers" | `hotKeyConfig.hotKeys.3.modifiers.${number}` | "hotKeyConfig.hotKeys.3.event" | "hotKeyConfig.hotKeys.4.modifiers" | `hotKeyConfig.hotKeys.4.modifiers.${number}` | "hotKeyConfig.hotKeys.4.event" | "hotKeyConfig.hotKeys.5.modifiers" | `hotKeyConfig.hotKeys.5.modifiers.${number}` | "hotKeyConfig.hotKeys.5.event" | "hotKeyConfig.hotKeys.6.modifiers" | `hotKeyConfig.hotKeys.6.modifiers.${number}` | "hotKeyConfig.hotKeys.6.event" | "hotKeyConfig.hotKeys.7.modifiers" | `hotKeyConfig.hotKeys.7.modifiers.${number}` | "hotKeyConfig.hotKeys.7.event" | "hotKeyConfig.hotKeys.8.modifiers" | `hotKeyConfig.hotKeys.8.modifiers.${number}` | "hotKeyConfig.hotKeys.8.event" | "hotKeyConfig.hotKeys.9.modifiers" | `hotKeyConfig.hotKeys.9.modifiers.${number}` | "hotKeyConfig.hotKeys.9.event" | "hotKeyConfig.hotKeys.a.modifiers" | `hotKeyConfig.hotKeys.a.modifiers.${number}` | "hotKeyConfig.hotKeys.a.event" | "hotKeyConfig.hotKeys.b.modifiers" | `hotKeyConfig.hotKeys.b.modifiers.${number}` | "hotKeyConfig.hotKeys.b.event" | "hotKeyConfig.hotKeys.c.modifiers" | `hotKeyConfig.hotKeys.c.modifiers.${number}` | "hotKeyConfig.hotKeys.c.event" | "hotKeyConfig.hotKeys.d.modifiers" | `hotKeyConfig.hotKeys.d.modifiers.${number}` | "hotKeyConfig.hotKeys.d.event" | "hotKeyConfig.hotKeys.e.modifiers" | `hotKeyConfig.hotKeys.e.modifiers.${number}` | "hotKeyConfig.hotKeys.e.event" | "hotKeyConfig.hotKeys.f.modifiers" | `hotKeyConfig.hotKeys.f.modifiers.${number}` | "hotKeyConfig.hotKeys.f.event" | "hotKeyConfig.hotKeys.g.modifiers" | `hotKeyConfig.hotKeys.g.modifiers.${number}` | "hotKeyConfig.hotKeys.g.event" | "hotKeyConfig.hotKeys.h.modifiers" | `hotKeyConfig.hotKeys.h.modifiers.${number}` | "hotKeyConfig.hotKeys.h.event" | "hotKeyConfig.hotKeys.i.modifiers" | `hotKeyConfig.hotKeys.i.modifiers.${number}` | "hotKeyConfig.hotKeys.i.event" | "hotKeyConfig.hotKeys.j.modifiers" | `hotKeyConfig.hotKeys.j.modifiers.${number}` | "hotKeyConfig.hotKeys.j.event" | "hotKeyConfig.hotKeys.k.modifiers" | `hotKeyConfig.hotKeys.k.modifiers.${number}` | "hotKeyConfig.hotKeys.k.event" | "hotKeyConfig.hotKeys.l.modifiers" | `hotKeyConfig.hotKeys.l.modifiers.${number}` | "hotKeyConfig.hotKeys.l.event" | "hotKeyConfig.hotKeys.m.modifiers" | `hotKeyConfig.hotKeys.m.modifiers.${number}` | "hotKeyConfig.hotKeys.m.event" | "hotKeyConfig.hotKeys.n.modifiers" | `hotKeyConfig.hotKeys.n.modifiers.${number}` | "hotKeyConfig.hotKeys.n.event" | "hotKeyConfig.hotKeys.o.modifiers" | `hotKeyConfig.hotKeys.o.modifiers.${number}` | "hotKeyConfig.hotKeys.o.event" | "hotKeyConfig.hotKeys.p.modifiers" | `hotKeyConfig.hotKeys.p.modifiers.${number}` | "hotKeyConfig.hotKeys.p.event" | "hotKeyConfig.hotKeys.q.modifiers" | `hotKeyConfig.hotKeys.q.modifiers.${number}` | "hotKeyConfig.hotKeys.q.event" | "hotKeyConfig.hotKeys.r.modifiers" | `hotKeyConfig.hotKeys.r.modifiers.${number}` | "hotKeyConfig.hotKeys.r.event" | "hotKeyConfig.hotKeys.s.modifiers" | `hotKeyConfig.hotKeys.s.modifiers.${number}` | "hotKeyConfig.hotKeys.s.event" | "hotKeyConfig.hotKeys.t.modifiers" | `hotKeyConfig.hotKeys.t.modifiers.${number}` | "hotKeyConfig.hotKeys.t.event" | "hotKeyConfig.hotKeys.u.modifiers" | `hotKeyConfig.hotKeys.u.modifiers.${number}` | "hotKeyConfig.hotKeys.u.event" | "hotKeyConfig.hotKeys.v.modifiers" | `hotKeyConfig.hotKeys.v.modifiers.${number}` | "hotKeyConfig.hotKeys.v.event" | "hotKeyConfig.hotKeys.w.modifiers" | `hotKeyConfig.hotKeys.w.modifiers.${number}` | "hotKeyConfig.hotKeys.w.event" | "hotKeyConfig.hotKeys.x.modifiers" | `hotKeyConfig.hotKeys.x.modifiers.${number}` | "hotKeyConfig.hotKeys.x.event" | "hotKeyConfig.hotKeys.y.modifiers" | `hotKeyConfig.hotKeys.y.modifiers.${number}` | "hotKeyConfig.hotKeys.y.event" | "hotKeyConfig.hotKeys.z.modifiers" | `hotKeyConfig.hotKeys.z.modifiers.${number}` | "hotKeyConfig.hotKeys.z.event" | "hotKeyConfig.hotKeys.*.modifiers" | `hotKeyConfig.hotKeys.*.modifiers.${number}` | "hotKeyConfig.hotKeys.*.event" | "hotKeyConfig.hotKeys.+.modifiers" | `hotKeyConfig.hotKeys.+.modifiers.${number}` | "hotKeyConfig.hotKeys.+.event" | "hotKeyConfig.hotKeys.-.modifiers" | `hotKeyConfig.hotKeys.-.modifiers.${number}` | "hotKeyConfig.hotKeys.-.event" | "hotKeyConfig.hotKeys...modifiers" | `hotKeyConfig.hotKeys...modifiers.${number}` | "hotKeyConfig.hotKeys...event" | "hotKeyConfig.hotKeys./.modifiers" | `hotKeyConfig.hotKeys./.modifiers.${number}` | "hotKeyConfig.hotKeys./.event" | "hotKeyConfig.hotKeys.F1.modifiers" | `hotKeyConfig.hotKeys.F1.modifiers.${number}` | "hotKeyConfig.hotKeys.F1.event" | "hotKeyConfig.hotKeys.F2.modifiers" | `hotKeyConfig.hotKeys.F2.modifiers.${number}` | "hotKeyConfig.hotKeys.F2.event" | "hotKeyConfig.hotKeys.F3.modifiers" | `hotKeyConfig.hotKeys.F3.modifiers.${number}` | "hotKeyConfig.hotKeys.F3.event" | "hotKeyConfig.hotKeys.F4.modifiers" | `hotKeyConfig.hotKeys.F4.modifiers.${number}` | "hotKeyConfig.hotKeys.F4.event" | "hotKeyConfig.hotKeys.F5.modifiers" | `hotKeyConfig.hotKeys.F5.modifiers.${number}` | "hotKeyConfig.hotKeys.F5.event" | "hotKeyConfig.hotKeys.F6.modifiers" | `hotKeyConfig.hotKeys.F6.modifiers.${number}` | "hotKeyConfig.hotKeys.F6.event" | "hotKeyConfig.hotKeys.F7.modifiers" | `hotKeyConfig.hotKeys.F7.modifiers.${number}` | "hotKeyConfig.hotKeys.F7.event" | "hotKeyConfig.hotKeys.F8.modifiers" | `hotKeyConfig.hotKeys.F8.modifiers.${number}` | "hotKeyConfig.hotKeys.F8.event" | "hotKeyConfig.hotKeys.F9.modifiers" | `hotKeyConfig.hotKeys.F9.modifiers.${number}` | "hotKeyConfig.hotKeys.F9.event" | "hotKeyConfig.hotKeys.F10.modifiers" | `hotKeyConfig.hotKeys.F10.modifiers.${number}` | "hotKeyConfig.hotKeys.F10.event" | "hotKeyConfig.hotKeys.F11.modifiers" | `hotKeyConfig.hotKeys.F11.modifiers.${number}` | "hotKeyConfig.hotKeys.F11.event" | "hotKeyConfig.hotKeys.F12.modifiers" | `hotKeyConfig.hotKeys.F12.modifiers.${number}` | "hotKeyConfig.hotKeys.F12.event" | "hotKeyConfig.hotKeys.;.modifiers" | `hotKeyConfig.hotKeys.;.modifiers.${number}` | "hotKeyConfig.hotKeys.;.event" | "hotKeyConfig.hotKeys.=.modifiers" | `hotKeyConfig.hotKeys.=.modifiers.${number}` | "hotKeyConfig.hotKeys.=.event" | "hotKeyConfig.hotKeys.,.modifiers" | `hotKeyConfig.hotKeys.,.modifiers.${number}` | "hotKeyConfig.hotKeys.,.event" | "hotKeyConfig.hotKeys.`.modifiers" | `hotKeyConfig.hotKeys.\`.modifiers.${number}` | "hotKeyConfig.hotKeys.`.event" | "hotKeyConfig.hotKeys.[.modifiers" | `hotKeyConfig.hotKeys.[.modifiers.${number}` | "hotKeyConfig.hotKeys.[.event" | "hotKeyConfig.hotKeys.\\.modifiers" | `hotKeyConfig.hotKeys.\\.modifiers.${number}` | "hotKeyConfig.hotKeys.\\.event" | "hotKeyConfig.hotKeys.].modifiers" | `hotKeyConfig.hotKeys.].modifiers.${number}` | "hotKeyConfig.hotKeys.].event">(uid: (string & import("zod").BRAND<"workspace">) | null | undefined, path: P, value: P extends "description" | "name" | "uid" | "collections" | "cookies" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? {
|
|
3405
3577
|
uid: string & import("zod").BRAND<"workspace">;
|
|
3406
3578
|
name: string;
|
|
3407
3579
|
description: string;
|
|
3580
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3408
3581
|
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3409
3582
|
environments: Record<string, string>;
|
|
3410
3583
|
activeEnvironmentId: string;
|
|
3411
|
-
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3412
3584
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3413
3585
|
selectedHttpClient: {
|
|
3414
3586
|
targetKey: string;
|
|
3415
3587
|
clientKey: string;
|
|
3416
3588
|
};
|
|
3417
3589
|
hotKeyConfig?: {
|
|
3418
|
-
modifiers: ("
|
|
3419
|
-
hotKeys?: Partial<Record<"" | "
|
|
3590
|
+
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
3591
|
+
hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3420
3592
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3421
|
-
modifiers?: ("
|
|
3593
|
+
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
3422
3594
|
}>> | undefined;
|
|
3423
3595
|
} | undefined;
|
|
3424
3596
|
proxyUrl?: string | undefined;
|
|
3425
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "name" | "uid" | "collections" | "
|
|
3597
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "name" | "uid" | "collections" | "cookies" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3426
3598
|
uid: string & import("zod").BRAND<"workspace">;
|
|
3427
3599
|
name: string;
|
|
3428
3600
|
description: string;
|
|
3601
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3429
3602
|
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3430
3603
|
environments: Record<string, string>;
|
|
3431
3604
|
activeEnvironmentId: string;
|
|
3432
|
-
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3433
3605
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3434
3606
|
selectedHttpClient: {
|
|
3435
3607
|
targetKey: string;
|
|
3436
3608
|
clientKey: string;
|
|
3437
3609
|
};
|
|
3438
3610
|
hotKeyConfig?: {
|
|
3439
|
-
modifiers: ("
|
|
3440
|
-
hotKeys?: Partial<Record<"" | "
|
|
3611
|
+
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
3612
|
+
hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3441
3613
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3442
|
-
modifiers?: ("
|
|
3614
|
+
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
3443
3615
|
}>> | undefined;
|
|
3444
3616
|
} | undefined;
|
|
3445
3617
|
proxyUrl?: string | undefined;
|
|
@@ -3447,63 +3619,63 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3447
3619
|
uid: string & import("zod").BRAND<"workspace">;
|
|
3448
3620
|
name: string;
|
|
3449
3621
|
description: string;
|
|
3622
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3450
3623
|
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3451
3624
|
environments: Record<string, string>;
|
|
3452
3625
|
activeEnvironmentId: string;
|
|
3453
|
-
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3454
3626
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3455
3627
|
selectedHttpClient: {
|
|
3456
3628
|
targetKey: string;
|
|
3457
3629
|
clientKey: string;
|
|
3458
3630
|
};
|
|
3459
3631
|
hotKeyConfig?: {
|
|
3460
|
-
modifiers: ("
|
|
3461
|
-
hotKeys?: Partial<Record<"" | "
|
|
3632
|
+
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
3633
|
+
hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3462
3634
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3463
|
-
modifiers?: ("
|
|
3635
|
+
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
3464
3636
|
}>> | undefined;
|
|
3465
3637
|
} | undefined;
|
|
3466
3638
|
proxyUrl?: string | undefined;
|
|
3467
3639
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3468
|
-
untrackedEdit: <P extends "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "cookies" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" | `collections.${number}` | `environments.${string}` | `cookies.${number}` | "selectedHttpClient.targetKey" | "selectedHttpClient.clientKey" | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys./" | "hotKeyConfig.hotKeys.0" | "hotKeyConfig.hotKeys.Space" | "hotKeyConfig.hotKeys.Backspace" | "hotKeyConfig.hotKeys.Tab" | "hotKeyConfig.hotKeys.Enter" | "hotKeyConfig.hotKeys.Escape" | "hotKeyConfig.hotKeys.ArrowDown" | "hotKeyConfig.hotKeys.ArrowLeft" | "hotKeyConfig.hotKeys.ArrowRight" | "hotKeyConfig.hotKeys.ArrowUp" | "hotKeyConfig.hotKeys.End" | "hotKeyConfig.hotKeys.Home" | "hotKeyConfig.hotKeys.PageDown" | "hotKeyConfig.hotKeys.PageUp" | "hotKeyConfig.hotKeys.Delete" | "hotKeyConfig.hotKeys.1" | "hotKeyConfig.hotKeys.2" | "hotKeyConfig.hotKeys.3" | "hotKeyConfig.hotKeys.4" | "hotKeyConfig.hotKeys.5" | "hotKeyConfig.hotKeys.6" | "hotKeyConfig.hotKeys.7" | "hotKeyConfig.hotKeys.8" | "hotKeyConfig.hotKeys.9" | "hotKeyConfig.hotKeys.a" | "hotKeyConfig.hotKeys.b" | "hotKeyConfig.hotKeys.c" | "hotKeyConfig.hotKeys.d" | "hotKeyConfig.hotKeys.e" | "hotKeyConfig.hotKeys.f" | "hotKeyConfig.hotKeys.g" | "hotKeyConfig.hotKeys.h" | "hotKeyConfig.hotKeys.i" | "hotKeyConfig.hotKeys.j" | "hotKeyConfig.hotKeys.k" | "hotKeyConfig.hotKeys.l" | "hotKeyConfig.hotKeys.m" | "hotKeyConfig.hotKeys.n" | "hotKeyConfig.hotKeys.o" | "hotKeyConfig.hotKeys.p" | "hotKeyConfig.hotKeys.q" | "hotKeyConfig.hotKeys.r" | "hotKeyConfig.hotKeys.s" | "hotKeyConfig.hotKeys.t" | "hotKeyConfig.hotKeys.u" | "hotKeyConfig.hotKeys.v" | "hotKeyConfig.hotKeys.w" | "hotKeyConfig.hotKeys.x" | "hotKeyConfig.hotKeys.y" | "hotKeyConfig.hotKeys.z" | "hotKeyConfig.hotKeys.*" | "hotKeyConfig.hotKeys.+" | "hotKeyConfig.hotKeys.-" | "hotKeyConfig.hotKeys.." | "hotKeyConfig.hotKeys.F1" | "hotKeyConfig.hotKeys.F2" | "hotKeyConfig.hotKeys.F3" | "hotKeyConfig.hotKeys.F4" | "hotKeyConfig.hotKeys.F5" | "hotKeyConfig.hotKeys.F6" | "hotKeyConfig.hotKeys.F7" | "hotKeyConfig.hotKeys.F8" | "hotKeyConfig.hotKeys.F9" | "hotKeyConfig.hotKeys.F10" | "hotKeyConfig.hotKeys.F11" | "hotKeyConfig.hotKeys.F12" | "hotKeyConfig.hotKeys.;" | "hotKeyConfig.hotKeys.=" | "hotKeyConfig.hotKeys.," | "hotKeyConfig.hotKeys.`" | "hotKeyConfig.hotKeys.[" | "hotKeyConfig.hotKeys.\\" | "hotKeyConfig.hotKeys.]" | "hotKeyConfig.hotKeys..modifiers" | `hotKeyConfig.hotKeys..modifiers.${number}` | "hotKeyConfig.hotKeys..event" | "hotKeyConfig.hotKeys./.modifiers" | `hotKeyConfig.hotKeys./.modifiers.${number}` | "hotKeyConfig.hotKeys./.event" | "hotKeyConfig.hotKeys.0.modifiers" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.0.event" | "hotKeyConfig.hotKeys.Space.modifiers" | `hotKeyConfig.hotKeys.Space.modifiers.${number}` | "hotKeyConfig.hotKeys.Space.event" | "hotKeyConfig.hotKeys.Backspace.modifiers" | `hotKeyConfig.hotKeys.Backspace.modifiers.${number}` | "hotKeyConfig.hotKeys.Backspace.event" | "hotKeyConfig.hotKeys.Tab.modifiers" | `hotKeyConfig.hotKeys.Tab.modifiers.${number}` | "hotKeyConfig.hotKeys.Tab.event" | "hotKeyConfig.hotKeys.Enter.modifiers" | `hotKeyConfig.hotKeys.Enter.modifiers.${number}` | "hotKeyConfig.hotKeys.Enter.event" | "hotKeyConfig.hotKeys.Escape.modifiers" | `hotKeyConfig.hotKeys.Escape.modifiers.${number}` | "hotKeyConfig.hotKeys.Escape.event" | "hotKeyConfig.hotKeys.ArrowDown.modifiers" | `hotKeyConfig.hotKeys.ArrowDown.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowDown.event" | "hotKeyConfig.hotKeys.ArrowLeft.modifiers" | `hotKeyConfig.hotKeys.ArrowLeft.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowLeft.event" | "hotKeyConfig.hotKeys.ArrowRight.modifiers" | `hotKeyConfig.hotKeys.ArrowRight.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowRight.event" | "hotKeyConfig.hotKeys.ArrowUp.modifiers" | `hotKeyConfig.hotKeys.ArrowUp.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowUp.event" | "hotKeyConfig.hotKeys.End.modifiers" | `hotKeyConfig.hotKeys.End.modifiers.${number}` | "hotKeyConfig.hotKeys.End.event" | "hotKeyConfig.hotKeys.Home.modifiers" | `hotKeyConfig.hotKeys.Home.modifiers.${number}` | "hotKeyConfig.hotKeys.Home.event" | "hotKeyConfig.hotKeys.PageDown.modifiers" | `hotKeyConfig.hotKeys.PageDown.modifiers.${number}` | "hotKeyConfig.hotKeys.PageDown.event" | "hotKeyConfig.hotKeys.PageUp.modifiers" | `hotKeyConfig.hotKeys.PageUp.modifiers.${number}` | "hotKeyConfig.hotKeys.PageUp.event" | "hotKeyConfig.hotKeys.Delete.modifiers" | `hotKeyConfig.hotKeys.Delete.modifiers.${number}` | "hotKeyConfig.hotKeys.Delete.event" | "hotKeyConfig.hotKeys.1.modifiers" | `hotKeyConfig.hotKeys.1.modifiers.${number}` | "hotKeyConfig.hotKeys.1.event" | "hotKeyConfig.hotKeys.2.modifiers" | `hotKeyConfig.hotKeys.2.modifiers.${number}` | "hotKeyConfig.hotKeys.2.event" | "hotKeyConfig.hotKeys.3.modifiers" | `hotKeyConfig.hotKeys.3.modifiers.${number}` | "hotKeyConfig.hotKeys.3.event" | "hotKeyConfig.hotKeys.4.modifiers" | `hotKeyConfig.hotKeys.4.modifiers.${number}` | "hotKeyConfig.hotKeys.4.event" | "hotKeyConfig.hotKeys.5.modifiers" | `hotKeyConfig.hotKeys.5.modifiers.${number}` | "hotKeyConfig.hotKeys.5.event" | "hotKeyConfig.hotKeys.6.modifiers" | `hotKeyConfig.hotKeys.6.modifiers.${number}` | "hotKeyConfig.hotKeys.6.event" | "hotKeyConfig.hotKeys.7.modifiers" | `hotKeyConfig.hotKeys.7.modifiers.${number}` | "hotKeyConfig.hotKeys.7.event" | "hotKeyConfig.hotKeys.8.modifiers" | `hotKeyConfig.hotKeys.8.modifiers.${number}` | "hotKeyConfig.hotKeys.8.event" | "hotKeyConfig.hotKeys.9.modifiers" | `hotKeyConfig.hotKeys.9.modifiers.${number}` | "hotKeyConfig.hotKeys.9.event" | "hotKeyConfig.hotKeys.a.modifiers" | `hotKeyConfig.hotKeys.a.modifiers.${number}` | "hotKeyConfig.hotKeys.a.event" | "hotKeyConfig.hotKeys.b.modifiers" | `hotKeyConfig.hotKeys.b.modifiers.${number}` | "hotKeyConfig.hotKeys.b.event" | "hotKeyConfig.hotKeys.c.modifiers" | `hotKeyConfig.hotKeys.c.modifiers.${number}` | "hotKeyConfig.hotKeys.c.event" | "hotKeyConfig.hotKeys.d.modifiers" | `hotKeyConfig.hotKeys.d.modifiers.${number}` | "hotKeyConfig.hotKeys.d.event" | "hotKeyConfig.hotKeys.e.modifiers" | `hotKeyConfig.hotKeys.e.modifiers.${number}` | "hotKeyConfig.hotKeys.e.event" | "hotKeyConfig.hotKeys.f.modifiers" | `hotKeyConfig.hotKeys.f.modifiers.${number}` | "hotKeyConfig.hotKeys.f.event" | "hotKeyConfig.hotKeys.g.modifiers" | `hotKeyConfig.hotKeys.g.modifiers.${number}` | "hotKeyConfig.hotKeys.g.event" | "hotKeyConfig.hotKeys.h.modifiers" | `hotKeyConfig.hotKeys.h.modifiers.${number}` | "hotKeyConfig.hotKeys.h.event" | "hotKeyConfig.hotKeys.i.modifiers" | `hotKeyConfig.hotKeys.i.modifiers.${number}` | "hotKeyConfig.hotKeys.i.event" | "hotKeyConfig.hotKeys.j.modifiers" | `hotKeyConfig.hotKeys.j.modifiers.${number}` | "hotKeyConfig.hotKeys.j.event" | "hotKeyConfig.hotKeys.k.modifiers" | `hotKeyConfig.hotKeys.k.modifiers.${number}` | "hotKeyConfig.hotKeys.k.event" | "hotKeyConfig.hotKeys.l.modifiers" | `hotKeyConfig.hotKeys.l.modifiers.${number}` | "hotKeyConfig.hotKeys.l.event" | "hotKeyConfig.hotKeys.m.modifiers" | `hotKeyConfig.hotKeys.m.modifiers.${number}` | "hotKeyConfig.hotKeys.m.event" | "hotKeyConfig.hotKeys.n.modifiers" | `hotKeyConfig.hotKeys.n.modifiers.${number}` | "hotKeyConfig.hotKeys.n.event" | "hotKeyConfig.hotKeys.o.modifiers" | `hotKeyConfig.hotKeys.o.modifiers.${number}` | "hotKeyConfig.hotKeys.o.event" | "hotKeyConfig.hotKeys.p.modifiers" | `hotKeyConfig.hotKeys.p.modifiers.${number}` | "hotKeyConfig.hotKeys.p.event" | "hotKeyConfig.hotKeys.q.modifiers" | `hotKeyConfig.hotKeys.q.modifiers.${number}` | "hotKeyConfig.hotKeys.q.event" | "hotKeyConfig.hotKeys.r.modifiers" | `hotKeyConfig.hotKeys.r.modifiers.${number}` | "hotKeyConfig.hotKeys.r.event" | "hotKeyConfig.hotKeys.s.modifiers" | `hotKeyConfig.hotKeys.s.modifiers.${number}` | "hotKeyConfig.hotKeys.s.event" | "hotKeyConfig.hotKeys.t.modifiers" | `hotKeyConfig.hotKeys.t.modifiers.${number}` | "hotKeyConfig.hotKeys.t.event" | "hotKeyConfig.hotKeys.u.modifiers" | `hotKeyConfig.hotKeys.u.modifiers.${number}` | "hotKeyConfig.hotKeys.u.event" | "hotKeyConfig.hotKeys.v.modifiers" | `hotKeyConfig.hotKeys.v.modifiers.${number}` | "hotKeyConfig.hotKeys.v.event" | "hotKeyConfig.hotKeys.w.modifiers" | `hotKeyConfig.hotKeys.w.modifiers.${number}` | "hotKeyConfig.hotKeys.w.event" | "hotKeyConfig.hotKeys.x.modifiers" | `hotKeyConfig.hotKeys.x.modifiers.${number}` | "hotKeyConfig.hotKeys.x.event" | "hotKeyConfig.hotKeys.y.modifiers" | `hotKeyConfig.hotKeys.y.modifiers.${number}` | "hotKeyConfig.hotKeys.y.event" | "hotKeyConfig.hotKeys.z.modifiers" | `hotKeyConfig.hotKeys.z.modifiers.${number}` | "hotKeyConfig.hotKeys.z.event" | "hotKeyConfig.hotKeys.*.modifiers" | `hotKeyConfig.hotKeys.*.modifiers.${number}` | "hotKeyConfig.hotKeys.*.event" | "hotKeyConfig.hotKeys.+.modifiers" | `hotKeyConfig.hotKeys.+.modifiers.${number}` | "hotKeyConfig.hotKeys.+.event" | "hotKeyConfig.hotKeys.-.modifiers" | `hotKeyConfig.hotKeys.-.modifiers.${number}` | "hotKeyConfig.hotKeys.-.event" | "hotKeyConfig.hotKeys...modifiers" | `hotKeyConfig.hotKeys...modifiers.${number}` | "hotKeyConfig.hotKeys...event" | "hotKeyConfig.hotKeys.F1.modifiers" | `hotKeyConfig.hotKeys.F1.modifiers.${number}` | "hotKeyConfig.hotKeys.F1.event" | "hotKeyConfig.hotKeys.F2.modifiers" | `hotKeyConfig.hotKeys.F2.modifiers.${number}` | "hotKeyConfig.hotKeys.F2.event" | "hotKeyConfig.hotKeys.F3.modifiers" | `hotKeyConfig.hotKeys.F3.modifiers.${number}` | "hotKeyConfig.hotKeys.F3.event" | "hotKeyConfig.hotKeys.F4.modifiers" | `hotKeyConfig.hotKeys.F4.modifiers.${number}` | "hotKeyConfig.hotKeys.F4.event" | "hotKeyConfig.hotKeys.F5.modifiers" | `hotKeyConfig.hotKeys.F5.modifiers.${number}` | "hotKeyConfig.hotKeys.F5.event" | "hotKeyConfig.hotKeys.F6.modifiers" | `hotKeyConfig.hotKeys.F6.modifiers.${number}` | "hotKeyConfig.hotKeys.F6.event" | "hotKeyConfig.hotKeys.F7.modifiers" | `hotKeyConfig.hotKeys.F7.modifiers.${number}` | "hotKeyConfig.hotKeys.F7.event" | "hotKeyConfig.hotKeys.F8.modifiers" | `hotKeyConfig.hotKeys.F8.modifiers.${number}` | "hotKeyConfig.hotKeys.F8.event" | "hotKeyConfig.hotKeys.F9.modifiers" | `hotKeyConfig.hotKeys.F9.modifiers.${number}` | "hotKeyConfig.hotKeys.F9.event" | "hotKeyConfig.hotKeys.F10.modifiers" | `hotKeyConfig.hotKeys.F10.modifiers.${number}` | "hotKeyConfig.hotKeys.F10.event" | "hotKeyConfig.hotKeys.F11.modifiers" | `hotKeyConfig.hotKeys.F11.modifiers.${number}` | "hotKeyConfig.hotKeys.F11.event" | "hotKeyConfig.hotKeys.F12.modifiers" | `hotKeyConfig.hotKeys.F12.modifiers.${number}` | "hotKeyConfig.hotKeys.F12.event" | "hotKeyConfig.hotKeys.;.modifiers" | `hotKeyConfig.hotKeys.;.modifiers.${number}` | "hotKeyConfig.hotKeys.;.event" | "hotKeyConfig.hotKeys.=.modifiers" | `hotKeyConfig.hotKeys.=.modifiers.${number}` | "hotKeyConfig.hotKeys.=.event" | "hotKeyConfig.hotKeys.,.modifiers" | `hotKeyConfig.hotKeys.,.modifiers.${number}` | "hotKeyConfig.hotKeys.,.event" | "hotKeyConfig.hotKeys.`.modifiers" | `hotKeyConfig.hotKeys.\`.modifiers.${number}` | "hotKeyConfig.hotKeys.`.event" | "hotKeyConfig.hotKeys.[.modifiers" | `hotKeyConfig.hotKeys.[.modifiers.${number}` | "hotKeyConfig.hotKeys.[.event" | "hotKeyConfig.hotKeys.\\.modifiers" | `hotKeyConfig.hotKeys.\\.modifiers.${number}` | "hotKeyConfig.hotKeys.\\.event" | "hotKeyConfig.hotKeys.].modifiers" | `hotKeyConfig.hotKeys.].modifiers.${number}` | "hotKeyConfig.hotKeys.].event">(uid: string & import("zod").BRAND<"workspace">, path: P, value: P extends "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "cookies" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? {
|
|
3640
|
+
untrackedEdit: <P extends "description" | "name" | "uid" | "collections" | "cookies" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" | `collections.${number}` | `cookies.${number}` | `environments.${string}` | "selectedHttpClient.targetKey" | "selectedHttpClient.clientKey" | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys.0" | "hotKeyConfig.hotKeys.Space" | "hotKeyConfig.hotKeys.Backspace" | "hotKeyConfig.hotKeys.Tab" | "hotKeyConfig.hotKeys.Enter" | "hotKeyConfig.hotKeys.Escape" | "hotKeyConfig.hotKeys.ArrowDown" | "hotKeyConfig.hotKeys.ArrowLeft" | "hotKeyConfig.hotKeys.ArrowRight" | "hotKeyConfig.hotKeys.ArrowUp" | "hotKeyConfig.hotKeys.End" | "hotKeyConfig.hotKeys.Home" | "hotKeyConfig.hotKeys.PageDown" | "hotKeyConfig.hotKeys.PageUp" | "hotKeyConfig.hotKeys.Delete" | "hotKeyConfig.hotKeys.1" | "hotKeyConfig.hotKeys.2" | "hotKeyConfig.hotKeys.3" | "hotKeyConfig.hotKeys.4" | "hotKeyConfig.hotKeys.5" | "hotKeyConfig.hotKeys.6" | "hotKeyConfig.hotKeys.7" | "hotKeyConfig.hotKeys.8" | "hotKeyConfig.hotKeys.9" | "hotKeyConfig.hotKeys.a" | "hotKeyConfig.hotKeys.b" | "hotKeyConfig.hotKeys.c" | "hotKeyConfig.hotKeys.d" | "hotKeyConfig.hotKeys.e" | "hotKeyConfig.hotKeys.f" | "hotKeyConfig.hotKeys.g" | "hotKeyConfig.hotKeys.h" | "hotKeyConfig.hotKeys.i" | "hotKeyConfig.hotKeys.j" | "hotKeyConfig.hotKeys.k" | "hotKeyConfig.hotKeys.l" | "hotKeyConfig.hotKeys.m" | "hotKeyConfig.hotKeys.n" | "hotKeyConfig.hotKeys.o" | "hotKeyConfig.hotKeys.p" | "hotKeyConfig.hotKeys.q" | "hotKeyConfig.hotKeys.r" | "hotKeyConfig.hotKeys.s" | "hotKeyConfig.hotKeys.t" | "hotKeyConfig.hotKeys.u" | "hotKeyConfig.hotKeys.v" | "hotKeyConfig.hotKeys.w" | "hotKeyConfig.hotKeys.x" | "hotKeyConfig.hotKeys.y" | "hotKeyConfig.hotKeys.z" | "hotKeyConfig.hotKeys.*" | "hotKeyConfig.hotKeys.+" | "hotKeyConfig.hotKeys.-" | "hotKeyConfig.hotKeys.." | "hotKeyConfig.hotKeys./" | "hotKeyConfig.hotKeys.F1" | "hotKeyConfig.hotKeys.F2" | "hotKeyConfig.hotKeys.F3" | "hotKeyConfig.hotKeys.F4" | "hotKeyConfig.hotKeys.F5" | "hotKeyConfig.hotKeys.F6" | "hotKeyConfig.hotKeys.F7" | "hotKeyConfig.hotKeys.F8" | "hotKeyConfig.hotKeys.F9" | "hotKeyConfig.hotKeys.F10" | "hotKeyConfig.hotKeys.F11" | "hotKeyConfig.hotKeys.F12" | "hotKeyConfig.hotKeys.;" | "hotKeyConfig.hotKeys.=" | "hotKeyConfig.hotKeys.," | "hotKeyConfig.hotKeys.`" | "hotKeyConfig.hotKeys.[" | "hotKeyConfig.hotKeys.\\" | "hotKeyConfig.hotKeys.]" | "hotKeyConfig.hotKeys..modifiers" | `hotKeyConfig.hotKeys..modifiers.${number}` | "hotKeyConfig.hotKeys..event" | "hotKeyConfig.hotKeys.0.modifiers" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.0.event" | "hotKeyConfig.hotKeys.Space.modifiers" | `hotKeyConfig.hotKeys.Space.modifiers.${number}` | "hotKeyConfig.hotKeys.Space.event" | "hotKeyConfig.hotKeys.Backspace.modifiers" | `hotKeyConfig.hotKeys.Backspace.modifiers.${number}` | "hotKeyConfig.hotKeys.Backspace.event" | "hotKeyConfig.hotKeys.Tab.modifiers" | `hotKeyConfig.hotKeys.Tab.modifiers.${number}` | "hotKeyConfig.hotKeys.Tab.event" | "hotKeyConfig.hotKeys.Enter.modifiers" | `hotKeyConfig.hotKeys.Enter.modifiers.${number}` | "hotKeyConfig.hotKeys.Enter.event" | "hotKeyConfig.hotKeys.Escape.modifiers" | `hotKeyConfig.hotKeys.Escape.modifiers.${number}` | "hotKeyConfig.hotKeys.Escape.event" | "hotKeyConfig.hotKeys.ArrowDown.modifiers" | `hotKeyConfig.hotKeys.ArrowDown.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowDown.event" | "hotKeyConfig.hotKeys.ArrowLeft.modifiers" | `hotKeyConfig.hotKeys.ArrowLeft.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowLeft.event" | "hotKeyConfig.hotKeys.ArrowRight.modifiers" | `hotKeyConfig.hotKeys.ArrowRight.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowRight.event" | "hotKeyConfig.hotKeys.ArrowUp.modifiers" | `hotKeyConfig.hotKeys.ArrowUp.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowUp.event" | "hotKeyConfig.hotKeys.End.modifiers" | `hotKeyConfig.hotKeys.End.modifiers.${number}` | "hotKeyConfig.hotKeys.End.event" | "hotKeyConfig.hotKeys.Home.modifiers" | `hotKeyConfig.hotKeys.Home.modifiers.${number}` | "hotKeyConfig.hotKeys.Home.event" | "hotKeyConfig.hotKeys.PageDown.modifiers" | `hotKeyConfig.hotKeys.PageDown.modifiers.${number}` | "hotKeyConfig.hotKeys.PageDown.event" | "hotKeyConfig.hotKeys.PageUp.modifiers" | `hotKeyConfig.hotKeys.PageUp.modifiers.${number}` | "hotKeyConfig.hotKeys.PageUp.event" | "hotKeyConfig.hotKeys.Delete.modifiers" | `hotKeyConfig.hotKeys.Delete.modifiers.${number}` | "hotKeyConfig.hotKeys.Delete.event" | "hotKeyConfig.hotKeys.1.modifiers" | `hotKeyConfig.hotKeys.1.modifiers.${number}` | "hotKeyConfig.hotKeys.1.event" | "hotKeyConfig.hotKeys.2.modifiers" | `hotKeyConfig.hotKeys.2.modifiers.${number}` | "hotKeyConfig.hotKeys.2.event" | "hotKeyConfig.hotKeys.3.modifiers" | `hotKeyConfig.hotKeys.3.modifiers.${number}` | "hotKeyConfig.hotKeys.3.event" | "hotKeyConfig.hotKeys.4.modifiers" | `hotKeyConfig.hotKeys.4.modifiers.${number}` | "hotKeyConfig.hotKeys.4.event" | "hotKeyConfig.hotKeys.5.modifiers" | `hotKeyConfig.hotKeys.5.modifiers.${number}` | "hotKeyConfig.hotKeys.5.event" | "hotKeyConfig.hotKeys.6.modifiers" | `hotKeyConfig.hotKeys.6.modifiers.${number}` | "hotKeyConfig.hotKeys.6.event" | "hotKeyConfig.hotKeys.7.modifiers" | `hotKeyConfig.hotKeys.7.modifiers.${number}` | "hotKeyConfig.hotKeys.7.event" | "hotKeyConfig.hotKeys.8.modifiers" | `hotKeyConfig.hotKeys.8.modifiers.${number}` | "hotKeyConfig.hotKeys.8.event" | "hotKeyConfig.hotKeys.9.modifiers" | `hotKeyConfig.hotKeys.9.modifiers.${number}` | "hotKeyConfig.hotKeys.9.event" | "hotKeyConfig.hotKeys.a.modifiers" | `hotKeyConfig.hotKeys.a.modifiers.${number}` | "hotKeyConfig.hotKeys.a.event" | "hotKeyConfig.hotKeys.b.modifiers" | `hotKeyConfig.hotKeys.b.modifiers.${number}` | "hotKeyConfig.hotKeys.b.event" | "hotKeyConfig.hotKeys.c.modifiers" | `hotKeyConfig.hotKeys.c.modifiers.${number}` | "hotKeyConfig.hotKeys.c.event" | "hotKeyConfig.hotKeys.d.modifiers" | `hotKeyConfig.hotKeys.d.modifiers.${number}` | "hotKeyConfig.hotKeys.d.event" | "hotKeyConfig.hotKeys.e.modifiers" | `hotKeyConfig.hotKeys.e.modifiers.${number}` | "hotKeyConfig.hotKeys.e.event" | "hotKeyConfig.hotKeys.f.modifiers" | `hotKeyConfig.hotKeys.f.modifiers.${number}` | "hotKeyConfig.hotKeys.f.event" | "hotKeyConfig.hotKeys.g.modifiers" | `hotKeyConfig.hotKeys.g.modifiers.${number}` | "hotKeyConfig.hotKeys.g.event" | "hotKeyConfig.hotKeys.h.modifiers" | `hotKeyConfig.hotKeys.h.modifiers.${number}` | "hotKeyConfig.hotKeys.h.event" | "hotKeyConfig.hotKeys.i.modifiers" | `hotKeyConfig.hotKeys.i.modifiers.${number}` | "hotKeyConfig.hotKeys.i.event" | "hotKeyConfig.hotKeys.j.modifiers" | `hotKeyConfig.hotKeys.j.modifiers.${number}` | "hotKeyConfig.hotKeys.j.event" | "hotKeyConfig.hotKeys.k.modifiers" | `hotKeyConfig.hotKeys.k.modifiers.${number}` | "hotKeyConfig.hotKeys.k.event" | "hotKeyConfig.hotKeys.l.modifiers" | `hotKeyConfig.hotKeys.l.modifiers.${number}` | "hotKeyConfig.hotKeys.l.event" | "hotKeyConfig.hotKeys.m.modifiers" | `hotKeyConfig.hotKeys.m.modifiers.${number}` | "hotKeyConfig.hotKeys.m.event" | "hotKeyConfig.hotKeys.n.modifiers" | `hotKeyConfig.hotKeys.n.modifiers.${number}` | "hotKeyConfig.hotKeys.n.event" | "hotKeyConfig.hotKeys.o.modifiers" | `hotKeyConfig.hotKeys.o.modifiers.${number}` | "hotKeyConfig.hotKeys.o.event" | "hotKeyConfig.hotKeys.p.modifiers" | `hotKeyConfig.hotKeys.p.modifiers.${number}` | "hotKeyConfig.hotKeys.p.event" | "hotKeyConfig.hotKeys.q.modifiers" | `hotKeyConfig.hotKeys.q.modifiers.${number}` | "hotKeyConfig.hotKeys.q.event" | "hotKeyConfig.hotKeys.r.modifiers" | `hotKeyConfig.hotKeys.r.modifiers.${number}` | "hotKeyConfig.hotKeys.r.event" | "hotKeyConfig.hotKeys.s.modifiers" | `hotKeyConfig.hotKeys.s.modifiers.${number}` | "hotKeyConfig.hotKeys.s.event" | "hotKeyConfig.hotKeys.t.modifiers" | `hotKeyConfig.hotKeys.t.modifiers.${number}` | "hotKeyConfig.hotKeys.t.event" | "hotKeyConfig.hotKeys.u.modifiers" | `hotKeyConfig.hotKeys.u.modifiers.${number}` | "hotKeyConfig.hotKeys.u.event" | "hotKeyConfig.hotKeys.v.modifiers" | `hotKeyConfig.hotKeys.v.modifiers.${number}` | "hotKeyConfig.hotKeys.v.event" | "hotKeyConfig.hotKeys.w.modifiers" | `hotKeyConfig.hotKeys.w.modifiers.${number}` | "hotKeyConfig.hotKeys.w.event" | "hotKeyConfig.hotKeys.x.modifiers" | `hotKeyConfig.hotKeys.x.modifiers.${number}` | "hotKeyConfig.hotKeys.x.event" | "hotKeyConfig.hotKeys.y.modifiers" | `hotKeyConfig.hotKeys.y.modifiers.${number}` | "hotKeyConfig.hotKeys.y.event" | "hotKeyConfig.hotKeys.z.modifiers" | `hotKeyConfig.hotKeys.z.modifiers.${number}` | "hotKeyConfig.hotKeys.z.event" | "hotKeyConfig.hotKeys.*.modifiers" | `hotKeyConfig.hotKeys.*.modifiers.${number}` | "hotKeyConfig.hotKeys.*.event" | "hotKeyConfig.hotKeys.+.modifiers" | `hotKeyConfig.hotKeys.+.modifiers.${number}` | "hotKeyConfig.hotKeys.+.event" | "hotKeyConfig.hotKeys.-.modifiers" | `hotKeyConfig.hotKeys.-.modifiers.${number}` | "hotKeyConfig.hotKeys.-.event" | "hotKeyConfig.hotKeys...modifiers" | `hotKeyConfig.hotKeys...modifiers.${number}` | "hotKeyConfig.hotKeys...event" | "hotKeyConfig.hotKeys./.modifiers" | `hotKeyConfig.hotKeys./.modifiers.${number}` | "hotKeyConfig.hotKeys./.event" | "hotKeyConfig.hotKeys.F1.modifiers" | `hotKeyConfig.hotKeys.F1.modifiers.${number}` | "hotKeyConfig.hotKeys.F1.event" | "hotKeyConfig.hotKeys.F2.modifiers" | `hotKeyConfig.hotKeys.F2.modifiers.${number}` | "hotKeyConfig.hotKeys.F2.event" | "hotKeyConfig.hotKeys.F3.modifiers" | `hotKeyConfig.hotKeys.F3.modifiers.${number}` | "hotKeyConfig.hotKeys.F3.event" | "hotKeyConfig.hotKeys.F4.modifiers" | `hotKeyConfig.hotKeys.F4.modifiers.${number}` | "hotKeyConfig.hotKeys.F4.event" | "hotKeyConfig.hotKeys.F5.modifiers" | `hotKeyConfig.hotKeys.F5.modifiers.${number}` | "hotKeyConfig.hotKeys.F5.event" | "hotKeyConfig.hotKeys.F6.modifiers" | `hotKeyConfig.hotKeys.F6.modifiers.${number}` | "hotKeyConfig.hotKeys.F6.event" | "hotKeyConfig.hotKeys.F7.modifiers" | `hotKeyConfig.hotKeys.F7.modifiers.${number}` | "hotKeyConfig.hotKeys.F7.event" | "hotKeyConfig.hotKeys.F8.modifiers" | `hotKeyConfig.hotKeys.F8.modifiers.${number}` | "hotKeyConfig.hotKeys.F8.event" | "hotKeyConfig.hotKeys.F9.modifiers" | `hotKeyConfig.hotKeys.F9.modifiers.${number}` | "hotKeyConfig.hotKeys.F9.event" | "hotKeyConfig.hotKeys.F10.modifiers" | `hotKeyConfig.hotKeys.F10.modifiers.${number}` | "hotKeyConfig.hotKeys.F10.event" | "hotKeyConfig.hotKeys.F11.modifiers" | `hotKeyConfig.hotKeys.F11.modifiers.${number}` | "hotKeyConfig.hotKeys.F11.event" | "hotKeyConfig.hotKeys.F12.modifiers" | `hotKeyConfig.hotKeys.F12.modifiers.${number}` | "hotKeyConfig.hotKeys.F12.event" | "hotKeyConfig.hotKeys.;.modifiers" | `hotKeyConfig.hotKeys.;.modifiers.${number}` | "hotKeyConfig.hotKeys.;.event" | "hotKeyConfig.hotKeys.=.modifiers" | `hotKeyConfig.hotKeys.=.modifiers.${number}` | "hotKeyConfig.hotKeys.=.event" | "hotKeyConfig.hotKeys.,.modifiers" | `hotKeyConfig.hotKeys.,.modifiers.${number}` | "hotKeyConfig.hotKeys.,.event" | "hotKeyConfig.hotKeys.`.modifiers" | `hotKeyConfig.hotKeys.\`.modifiers.${number}` | "hotKeyConfig.hotKeys.`.event" | "hotKeyConfig.hotKeys.[.modifiers" | `hotKeyConfig.hotKeys.[.modifiers.${number}` | "hotKeyConfig.hotKeys.[.event" | "hotKeyConfig.hotKeys.\\.modifiers" | `hotKeyConfig.hotKeys.\\.modifiers.${number}` | "hotKeyConfig.hotKeys.\\.event" | "hotKeyConfig.hotKeys.].modifiers" | `hotKeyConfig.hotKeys.].modifiers.${number}` | "hotKeyConfig.hotKeys.].event">(uid: string & import("zod").BRAND<"workspace">, path: P, value: P extends "description" | "name" | "uid" | "collections" | "cookies" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? {
|
|
3469
3641
|
uid: string & import("zod").BRAND<"workspace">;
|
|
3470
3642
|
name: string;
|
|
3471
3643
|
description: string;
|
|
3644
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3472
3645
|
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3473
3646
|
environments: Record<string, string>;
|
|
3474
3647
|
activeEnvironmentId: string;
|
|
3475
|
-
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3476
3648
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3477
3649
|
selectedHttpClient: {
|
|
3478
3650
|
targetKey: string;
|
|
3479
3651
|
clientKey: string;
|
|
3480
3652
|
};
|
|
3481
3653
|
hotKeyConfig?: {
|
|
3482
|
-
modifiers: ("
|
|
3483
|
-
hotKeys?: Partial<Record<"" | "
|
|
3654
|
+
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
3655
|
+
hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3484
3656
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3485
|
-
modifiers?: ("
|
|
3657
|
+
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
3486
3658
|
}>> | undefined;
|
|
3487
3659
|
} | undefined;
|
|
3488
3660
|
proxyUrl?: string | undefined;
|
|
3489
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "name" | "uid" | "collections" | "
|
|
3661
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "name" | "uid" | "collections" | "cookies" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3490
3662
|
uid: string & import("zod").BRAND<"workspace">;
|
|
3491
3663
|
name: string;
|
|
3492
3664
|
description: string;
|
|
3665
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3493
3666
|
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3494
3667
|
environments: Record<string, string>;
|
|
3495
3668
|
activeEnvironmentId: string;
|
|
3496
|
-
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3497
3669
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3498
3670
|
selectedHttpClient: {
|
|
3499
3671
|
targetKey: string;
|
|
3500
3672
|
clientKey: string;
|
|
3501
3673
|
};
|
|
3502
3674
|
hotKeyConfig?: {
|
|
3503
|
-
modifiers: ("
|
|
3504
|
-
hotKeys?: Partial<Record<"" | "
|
|
3675
|
+
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
3676
|
+
hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3505
3677
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3506
|
-
modifiers?: ("
|
|
3678
|
+
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
3507
3679
|
}>> | undefined;
|
|
3508
3680
|
} | undefined;
|
|
3509
3681
|
proxyUrl?: string | undefined;
|
|
@@ -3511,20 +3683,20 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3511
3683
|
uid: string & import("zod").BRAND<"workspace">;
|
|
3512
3684
|
name: string;
|
|
3513
3685
|
description: string;
|
|
3686
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3514
3687
|
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3515
3688
|
environments: Record<string, string>;
|
|
3516
3689
|
activeEnvironmentId: string;
|
|
3517
|
-
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3518
3690
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3519
3691
|
selectedHttpClient: {
|
|
3520
3692
|
targetKey: string;
|
|
3521
3693
|
clientKey: string;
|
|
3522
3694
|
};
|
|
3523
3695
|
hotKeyConfig?: {
|
|
3524
|
-
modifiers: ("
|
|
3525
|
-
hotKeys?: Partial<Record<"" | "
|
|
3696
|
+
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
3697
|
+
hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3526
3698
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3527
|
-
modifiers?: ("
|
|
3699
|
+
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
3528
3700
|
}>> | undefined;
|
|
3529
3701
|
} | undefined;
|
|
3530
3702
|
proxyUrl?: string | undefined;
|