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