@scalar/api-client 2.2.48 → 2.2.50
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 +41 -0
- package/dist/components/AddressBar/AddressBar.vue.d.ts +15 -3
- package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBar.vue.js +1 -1
- package/dist/components/AddressBar/AddressBar.vue2.js +102 -94
- package/dist/components/AddressBar/AddressBarHistory.vue.d.ts +2 -0
- package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarHistory.vue.js +2 -2
- package/dist/components/AddressBar/AddressBarHistory.vue2.js +54 -58
- package/dist/components/CodeInput/CodeInput.vue.d.ts +9 -0
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.js +2 -2
- package/dist/components/CodeInput/CodeInput.vue2.js +95 -93
- package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -1
- package/dist/components/CodeInput/codeVariableWidget.js +1 -3
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +26 -22
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteImport.vue.js +13 -13
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +12 -12
- package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteServer.vue.js +54 -49
- package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteTag.vue.js +9 -9
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableCell.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableCell.vue.js +11 -8
- package/dist/components/DataTable/DataTableInput.vue.d.ts +6 -0
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.js +4 -4
- package/dist/components/DataTable/DataTableInput.vue2.js +36 -30
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.js +15 -15
- package/dist/components/Form/Form.vue.d.ts +3 -1
- package/dist/components/Form/Form.vue.d.ts.map +1 -1
- package/dist/components/Form/Form.vue.js +30 -25
- package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportCollectionModal.vue.js +41 -41
- package/dist/components/ImportCollection/ImportNowButton.vue.js +24 -24
- package/dist/components/ScreenReader.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdown.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdown.vue.js +13 -13
- package/dist/components/Server/ServerDropdownItem.vue.d.ts +1 -1
- package/dist/components/Server/ServerDropdownItem.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdownItem.vue.js +1 -1
- package/dist/components/Server/ServerDropdownItem.vue2.js +19 -19
- package/dist/layouts/App/create-api-client-app.d.ts +387 -477
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.d.ts +774 -954
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.d.ts +387 -477
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +390 -479
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +3 -15
- package/dist/libs/env-helpers.d.ts.map +1 -1
- package/dist/libs/find-request.d.ts +7 -7
- package/dist/libs/find-request.d.ts.map +1 -1
- package/dist/libs/hot-keys.d.ts +3 -1
- package/dist/libs/hot-keys.d.ts.map +1 -1
- package/dist/libs/hot-keys.js +11 -15
- package/dist/libs/hot-keys.test.d.ts +2 -0
- package/dist/libs/hot-keys.test.d.ts.map +1 -0
- package/dist/libs/index.js +27 -26
- package/dist/libs/send-request/build-request-security.d.ts +1 -1
- package/dist/libs/send-request/build-request-security.js +19 -16
- package/dist/libs/send-request/create-request-operation.test.d.ts +10 -10
- package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
- package/dist/libs/send-request/set-request-cookies.d.ts +1 -1
- package/dist/libs/send-request/set-request-cookies.d.ts.map +1 -1
- package/dist/libs/send-request/set-request-cookies.js +37 -34
- package/dist/store/active-entities.d.ts +58 -67
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/active-entities.js +61 -74
- package/dist/store/collections.d.ts +90 -90
- package/dist/store/collections.d.ts.map +1 -1
- package/dist/store/collections.js +4 -17
- package/dist/store/cookies.d.ts +14 -14
- package/dist/store/environment.d.ts +19 -18
- package/dist/store/environment.d.ts.map +1 -1
- package/dist/store/environment.js +2 -8
- package/dist/store/import-spec.d.ts +16 -106
- package/dist/store/import-spec.d.ts.map +1 -1
- package/dist/store/import-spec.js +9 -14
- package/dist/store/request-example.d.ts +25 -25
- package/dist/store/request-example.d.ts.map +1 -1
- package/dist/store/request-example.js +15 -20
- package/dist/store/requests.d.ts +84 -84
- package/dist/store/requests.d.ts.map +1 -1
- package/dist/store/requests.js +17 -40
- package/dist/store/router-params.d.ts +13 -11
- package/dist/store/router-params.d.ts.map +1 -1
- package/dist/store/router-params.js +5 -5
- package/dist/store/security-schemes.d.ts +58 -58
- package/dist/store/security-schemes.d.ts.map +1 -1
- package/dist/store/security-schemes.js +1 -3
- package/dist/store/servers.d.ts +17 -17
- package/dist/store/servers.d.ts.map +1 -1
- package/dist/store/servers.js +2 -9
- package/dist/store/store.d.ts +387 -477
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/store.js +2 -4
- package/dist/store/tags.d.ts +28 -28
- package/dist/store/tags.d.ts.map +1 -1
- package/dist/store/tags.js +19 -34
- package/dist/store/workspace.d.ts +36 -36
- package/dist/store/workspace.d.ts.map +1 -1
- package/dist/store/workspace.js +1 -5
- package/dist/style.css +1 -1
- package/dist/views/Collection/Collection.vue.d.ts.map +1 -1
- package/dist/views/Cookies/CookieForm.vue.d.ts.map +1 -1
- package/dist/views/Cookies/CookieForm.vue.js +18 -18
- package/dist/views/Cookies/CookieRaw.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue2.js +24 -24
- package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
- package/dist/views/Environment/Environment.vue2.js +140 -132
- package/dist/views/Environment/EnvironmentModal.vue.d.ts +2 -2
- package/dist/views/Environment/EnvironmentModal.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentModal.vue.js +15 -15
- 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 +160 -141
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts +2 -1
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +7 -7
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts +6 -2
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +99 -95
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +4 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +70 -64
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts +4 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue2.js +40 -34
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts +6 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.js +32 -26
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts +4 -0
- 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/RequestAuth/RequestAuthTab.vue2.js +93 -85
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts +9 -0
- 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/RequestBody.vue2.js +214 -244
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts +10 -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/RequestCodeExample.vue2.js +77 -80
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts +7 -0
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.js +89 -96
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts +10 -2
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestPathParams.vue.js +59 -66
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +11 -0
- 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 +176 -155
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +6 -0
- 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 +97 -100
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue2.js +31 -22
- package/dist/views/Request/RequestSection/helpers/getting-started.d.ts +2 -2
- package/dist/views/Request/RequestSection/helpers/getting-started.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/helpers/getting-started.js +11 -13
- package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebar.vue.js +1 -1
- package/dist/views/Request/RequestSidebar.vue2.js +50 -48
- package/dist/views/Request/RequestSidebarItem.vue.d.ts +1 -1
- package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
- package/dist/views/Request/RequestSidebarItem.vue2.js +38 -44
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts +10 -0
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue2.js +77 -69
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +7 -7
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts +4 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +41 -39
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts +1 -0
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +56 -52
- package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +68 -68
- package/dist/views/Request/consts/new-auth-options.d.ts.map +1 -1
- package/dist/views/Request/handle-drag.d.ts +1 -1
- package/dist/views/Request/handle-drag.d.ts.map +1 -1
- package/dist/views/Request/handle-drag.js +38 -55
- package/dist/views/Request/libs/auth.d.ts +2 -2
- package/dist/views/Request/libs/auth.d.ts.map +1 -1
- package/dist/views/Request/libs/auth.js +28 -29
- package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
- package/dist/views/Request/libs/oauth2.js +42 -65
- package/dist/views/Request/libs/request.d.ts +5 -0
- package/dist/views/Request/libs/request.d.ts.map +1 -1
- package/dist/views/Request/libs/request.js +37 -2
- package/dist/views/Request/libs/watch-mode.d.ts.map +1 -1
- package/dist/views/Request/libs/watch-mode.js +10 -34
- package/dist/views/Servers/ServerForm.vue.d.ts +1 -8
- package/dist/views/Servers/ServerForm.vue.d.ts.map +1 -1
- package/dist/views/Servers/ServerForm.vue.js +21 -22
- package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
- package/dist/views/Servers/Servers.vue2.js +73 -81
- package/dist/views/Settings/SettingsGeneral.vue.d.ts.map +1 -1
- package/dist/views/Settings/SettingsGeneral.vue.js +118 -134
- package/package.json +14 -14
|
@@ -23,13 +23,13 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
23
23
|
};
|
|
24
24
|
store: {
|
|
25
25
|
workspaces: Record<string, {
|
|
26
|
-
uid: string
|
|
26
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
27
27
|
name: string;
|
|
28
28
|
description: string;
|
|
29
|
-
collections: string[];
|
|
29
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
30
30
|
environments: Record<string, string>;
|
|
31
31
|
activeEnvironmentId: string;
|
|
32
|
-
cookies: string[];
|
|
32
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
33
33
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
34
34
|
selectedHttpClient: {
|
|
35
35
|
targetKey: string;
|
|
@@ -46,17 +46,16 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
46
46
|
}>;
|
|
47
47
|
collections: Record<string, {
|
|
48
48
|
type: "collection";
|
|
49
|
-
uid: string
|
|
50
|
-
children: string[];
|
|
49
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
50
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
51
51
|
openapi: string;
|
|
52
52
|
security: Record<string, string[]>[];
|
|
53
53
|
'x-scalar-icon': string;
|
|
54
54
|
securitySchemes: string[];
|
|
55
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
tags: string[];
|
|
55
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
56
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
57
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
58
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
60
59
|
watchMode: boolean;
|
|
61
60
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
62
61
|
externalDocs?: {
|
|
@@ -93,17 +92,18 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
93
92
|
color?: string | undefined;
|
|
94
93
|
}> | undefined;
|
|
95
94
|
'x-scalar-secrets'?: Record<string, {
|
|
96
|
-
description?: string | undefined;
|
|
97
95
|
example?: string | undefined;
|
|
96
|
+
description?: string | undefined;
|
|
98
97
|
}> | undefined;
|
|
98
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
99
99
|
documentUrl?: string | undefined;
|
|
100
100
|
integration?: string | null | undefined;
|
|
101
101
|
}>;
|
|
102
102
|
tags: Record<string, {
|
|
103
103
|
type: "tag";
|
|
104
|
-
uid: string
|
|
104
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
105
105
|
name: string;
|
|
106
|
-
children: string[];
|
|
106
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
107
107
|
description?: string | undefined;
|
|
108
108
|
externalDocs?: {
|
|
109
109
|
url: string;
|
|
@@ -117,21 +117,21 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
117
117
|
}>;
|
|
118
118
|
cookies: Record<string, {
|
|
119
119
|
value: string;
|
|
120
|
-
uid: string
|
|
120
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
121
121
|
name: string;
|
|
122
122
|
path?: string | undefined;
|
|
123
123
|
domain?: string | undefined;
|
|
124
124
|
}>;
|
|
125
125
|
environments: Record<string, {
|
|
126
126
|
value: string;
|
|
127
|
-
uid: string
|
|
127
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
128
128
|
name: string;
|
|
129
129
|
color: string;
|
|
130
130
|
isDefault?: boolean | undefined;
|
|
131
131
|
}>;
|
|
132
132
|
requestExamples: Record<string, {
|
|
133
133
|
type: "requestExample";
|
|
134
|
-
uid: string
|
|
134
|
+
uid: string & import("zod").BRAND<"example">;
|
|
135
135
|
name: string;
|
|
136
136
|
parameters: {
|
|
137
137
|
path: {
|
|
@@ -226,17 +226,17 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
226
226
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
227
227
|
} | undefined;
|
|
228
228
|
};
|
|
229
|
-
requestUid
|
|
229
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
230
230
|
serverVariables?: Record<string, string[]> | undefined;
|
|
231
231
|
}>;
|
|
232
232
|
requests: Record<string, {
|
|
233
233
|
path: string;
|
|
234
234
|
type: "request";
|
|
235
|
-
uid: string
|
|
236
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
237
|
-
selectedServerUid: string;
|
|
238
|
-
servers: string[];
|
|
239
|
-
examples: string[];
|
|
235
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
236
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
237
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
238
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
239
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
240
240
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
241
241
|
description?: string | undefined;
|
|
242
242
|
summary?: string | undefined;
|
|
@@ -253,10 +253,10 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
253
253
|
parameters?: {
|
|
254
254
|
required: boolean;
|
|
255
255
|
name: string;
|
|
256
|
-
in: "path" | "
|
|
256
|
+
in: "path" | "cookie" | "query" | "header";
|
|
257
257
|
deprecated: boolean;
|
|
258
|
-
description?: string | undefined;
|
|
259
258
|
example?: unknown;
|
|
259
|
+
description?: string | undefined;
|
|
260
260
|
schema?: unknown;
|
|
261
261
|
content?: unknown;
|
|
262
262
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -269,7 +269,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
269
269
|
responses?: Record<string, any> | undefined;
|
|
270
270
|
}>;
|
|
271
271
|
servers: Record<string, {
|
|
272
|
-
uid: string
|
|
272
|
+
uid: string & import("zod").BRAND<"server">;
|
|
273
273
|
url: string;
|
|
274
274
|
description?: string | undefined;
|
|
275
275
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -280,14 +280,14 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
280
280
|
securitySchemes: Record<string, {
|
|
281
281
|
type: "apiKey";
|
|
282
282
|
value: string;
|
|
283
|
-
uid: string
|
|
283
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
284
284
|
name: string;
|
|
285
285
|
nameKey: string;
|
|
286
|
-
in: "
|
|
286
|
+
in: "cookie" | "query" | "header";
|
|
287
287
|
description?: string | undefined;
|
|
288
288
|
} | {
|
|
289
289
|
type: "http";
|
|
290
|
-
uid: string
|
|
290
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
291
291
|
nameKey: string;
|
|
292
292
|
scheme: "basic" | "bearer";
|
|
293
293
|
bearerFormat: string;
|
|
@@ -297,13 +297,13 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
297
297
|
description?: string | undefined;
|
|
298
298
|
} | {
|
|
299
299
|
type: "openIdConnect";
|
|
300
|
-
uid: string
|
|
300
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
301
301
|
nameKey: string;
|
|
302
302
|
openIdConnectUrl: string;
|
|
303
303
|
description?: string | undefined;
|
|
304
304
|
} | {
|
|
305
305
|
type: "oauth2";
|
|
306
|
-
uid: string
|
|
306
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
307
307
|
nameKey: string;
|
|
308
308
|
flows: {
|
|
309
309
|
password?: {
|
|
@@ -381,7 +381,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
381
381
|
description?: string | undefined;
|
|
382
382
|
url?: string | undefined;
|
|
383
383
|
} | undefined;
|
|
384
|
-
children?:
|
|
384
|
+
children?: string[] | undefined;
|
|
385
385
|
openapi?: string | undefined;
|
|
386
386
|
jsonSchemaDialect?: string | undefined;
|
|
387
387
|
info?: {
|
|
@@ -415,15 +415,15 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
415
415
|
color?: string | undefined;
|
|
416
416
|
}> | undefined;
|
|
417
417
|
'x-scalar-secrets'?: Record<string, {
|
|
418
|
-
description?: string | undefined;
|
|
419
418
|
example?: string | undefined;
|
|
419
|
+
description?: string | undefined;
|
|
420
420
|
}> | undefined;
|
|
421
421
|
securitySchemes?: string[] | undefined;
|
|
422
|
-
selectedSecuritySchemeUids?: (string |
|
|
422
|
+
selectedSecuritySchemeUids?: (string | string[])[] | undefined;
|
|
423
423
|
selectedServerUid?: string | undefined;
|
|
424
|
-
servers?:
|
|
425
|
-
requests?:
|
|
426
|
-
tags?:
|
|
424
|
+
servers?: string[] | undefined;
|
|
425
|
+
requests?: string[] | undefined;
|
|
426
|
+
tags?: string[] | undefined;
|
|
427
427
|
documentUrl?: string | undefined;
|
|
428
428
|
watchMode?: boolean | undefined;
|
|
429
429
|
integration?: string | null | undefined;
|
|
@@ -432,59 +432,14 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
432
432
|
setCollectionSecurity?: boolean;
|
|
433
433
|
shouldLoad?: boolean;
|
|
434
434
|
} & Pick<import("@scalar/types").ReferenceConfiguration, "servers">) => Promise<{
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
selectedServerUid: string;
|
|
444
|
-
servers: string[];
|
|
445
|
-
requests: string[];
|
|
446
|
-
tags: string[];
|
|
447
|
-
watchMode: boolean;
|
|
448
|
-
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
449
|
-
externalDocs?: {
|
|
450
|
-
url: string;
|
|
451
|
-
description?: string | undefined;
|
|
452
|
-
} | undefined;
|
|
453
|
-
jsonSchemaDialect?: string | undefined;
|
|
454
|
-
info?: {
|
|
455
|
-
title: string;
|
|
456
|
-
version: string;
|
|
457
|
-
description?: string | undefined;
|
|
458
|
-
summary?: string | undefined;
|
|
459
|
-
termsOfService?: string | undefined;
|
|
460
|
-
contact?: {
|
|
461
|
-
name?: string | undefined;
|
|
462
|
-
url?: string | undefined;
|
|
463
|
-
email?: string | undefined;
|
|
464
|
-
} | undefined;
|
|
465
|
-
license?: {
|
|
466
|
-
name: string;
|
|
467
|
-
identifier?: string | undefined;
|
|
468
|
-
url?: string | undefined;
|
|
469
|
-
} | undefined;
|
|
470
|
-
} | undefined;
|
|
471
|
-
components?: Record<string, unknown> | undefined;
|
|
472
|
-
webhooks?: Record<string, unknown> | undefined;
|
|
473
|
-
'x-scalar-active-environment'?: string | undefined;
|
|
474
|
-
'x-scalar-environments'?: Record<string, {
|
|
475
|
-
variables: Record<string, string | {
|
|
476
|
-
default: string;
|
|
477
|
-
description?: string | undefined;
|
|
478
|
-
}>;
|
|
479
|
-
description?: string | undefined;
|
|
480
|
-
color?: string | undefined;
|
|
481
|
-
}> | undefined;
|
|
482
|
-
'x-scalar-secrets'?: Record<string, {
|
|
483
|
-
description?: string | undefined;
|
|
484
|
-
example?: string | undefined;
|
|
485
|
-
}> | undefined;
|
|
486
|
-
documentUrl?: string | undefined;
|
|
487
|
-
integration?: string | null | undefined;
|
|
435
|
+
error: false;
|
|
436
|
+
collection: import("@scalar/oas-utils/entities/spec").Collection;
|
|
437
|
+
requests: import("@scalar/oas-utils/entities/spec").Request[];
|
|
438
|
+
schema: import("@scalar/openapi-types").OpenAPIV3_1.Document;
|
|
439
|
+
examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
|
|
440
|
+
servers: import("@scalar/oas-utils/entities/spec").Server[];
|
|
441
|
+
tags: import("@scalar/oas-utils/entities/spec").Tag[];
|
|
442
|
+
securitySchemes: import("@scalar/oas-utils/entities/spec").SecurityScheme[];
|
|
488
443
|
} | undefined>;
|
|
489
444
|
importSpecFromUrl: (url: string, workspaceUid: string, { proxyUrl, ...options }?: Omit<Pick<{
|
|
490
445
|
type?: "collection" | undefined;
|
|
@@ -493,7 +448,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
493
448
|
description?: string | undefined;
|
|
494
449
|
url?: string | undefined;
|
|
495
450
|
} | undefined;
|
|
496
|
-
children?:
|
|
451
|
+
children?: string[] | undefined;
|
|
497
452
|
openapi?: string | undefined;
|
|
498
453
|
jsonSchemaDialect?: string | undefined;
|
|
499
454
|
info?: {
|
|
@@ -527,15 +482,15 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
527
482
|
color?: string | undefined;
|
|
528
483
|
}> | undefined;
|
|
529
484
|
'x-scalar-secrets'?: Record<string, {
|
|
530
|
-
description?: string | undefined;
|
|
531
485
|
example?: string | undefined;
|
|
486
|
+
description?: string | undefined;
|
|
532
487
|
}> | undefined;
|
|
533
488
|
securitySchemes?: string[] | undefined;
|
|
534
|
-
selectedSecuritySchemeUids?: (string |
|
|
489
|
+
selectedSecuritySchemeUids?: (string | string[])[] | undefined;
|
|
535
490
|
selectedServerUid?: string | undefined;
|
|
536
|
-
servers?:
|
|
537
|
-
requests?:
|
|
538
|
-
tags?:
|
|
491
|
+
servers?: string[] | undefined;
|
|
492
|
+
requests?: string[] | undefined;
|
|
493
|
+
tags?: string[] | undefined;
|
|
539
494
|
documentUrl?: string | undefined;
|
|
540
495
|
watchMode?: boolean | undefined;
|
|
541
496
|
integration?: string | null | undefined;
|
|
@@ -550,7 +505,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
550
505
|
description?: string | undefined;
|
|
551
506
|
url?: string | undefined;
|
|
552
507
|
} | undefined;
|
|
553
|
-
children?:
|
|
508
|
+
children?: string[] | undefined;
|
|
554
509
|
openapi?: string | undefined;
|
|
555
510
|
jsonSchemaDialect?: string | undefined;
|
|
556
511
|
info?: {
|
|
@@ -584,15 +539,15 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
584
539
|
color?: string | undefined;
|
|
585
540
|
}> | undefined;
|
|
586
541
|
'x-scalar-secrets'?: Record<string, {
|
|
587
|
-
description?: string | undefined;
|
|
588
542
|
example?: string | undefined;
|
|
543
|
+
description?: string | undefined;
|
|
589
544
|
}> | undefined;
|
|
590
545
|
securitySchemes?: string[] | undefined;
|
|
591
|
-
selectedSecuritySchemeUids?: (string |
|
|
546
|
+
selectedSecuritySchemeUids?: (string | string[])[] | undefined;
|
|
592
547
|
selectedServerUid?: string | undefined;
|
|
593
|
-
servers?:
|
|
594
|
-
requests?:
|
|
595
|
-
tags?:
|
|
548
|
+
servers?: string[] | undefined;
|
|
549
|
+
requests?: string[] | undefined;
|
|
550
|
+
tags?: string[] | undefined;
|
|
596
551
|
documentUrl?: string | undefined;
|
|
597
552
|
watchMode?: boolean | undefined;
|
|
598
553
|
integration?: string | null | undefined;
|
|
@@ -601,132 +556,86 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
601
556
|
setCollectionSecurity?: boolean;
|
|
602
557
|
shouldLoad?: boolean;
|
|
603
558
|
} & Pick<import("@scalar/types").ReferenceConfiguration, "servers">) => Promise<{
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
selectedServerUid: string;
|
|
613
|
-
servers: string[];
|
|
614
|
-
requests: string[];
|
|
615
|
-
tags: string[];
|
|
616
|
-
watchMode: boolean;
|
|
617
|
-
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
618
|
-
externalDocs?: {
|
|
619
|
-
url: string;
|
|
620
|
-
description?: string | undefined;
|
|
621
|
-
} | undefined;
|
|
622
|
-
jsonSchemaDialect?: string | undefined;
|
|
623
|
-
info?: {
|
|
624
|
-
title: string;
|
|
625
|
-
version: string;
|
|
626
|
-
description?: string | undefined;
|
|
627
|
-
summary?: string | undefined;
|
|
628
|
-
termsOfService?: string | undefined;
|
|
629
|
-
contact?: {
|
|
630
|
-
name?: string | undefined;
|
|
631
|
-
url?: string | undefined;
|
|
632
|
-
email?: string | undefined;
|
|
633
|
-
} | undefined;
|
|
634
|
-
license?: {
|
|
635
|
-
name: string;
|
|
636
|
-
identifier?: string | undefined;
|
|
637
|
-
url?: string | undefined;
|
|
638
|
-
} | undefined;
|
|
639
|
-
} | undefined;
|
|
640
|
-
components?: Record<string, unknown> | undefined;
|
|
641
|
-
webhooks?: Record<string, unknown> | undefined;
|
|
642
|
-
'x-scalar-active-environment'?: string | undefined;
|
|
643
|
-
'x-scalar-environments'?: Record<string, {
|
|
644
|
-
variables: Record<string, string | {
|
|
645
|
-
default: string;
|
|
646
|
-
description?: string | undefined;
|
|
647
|
-
}>;
|
|
648
|
-
description?: string | undefined;
|
|
649
|
-
color?: string | undefined;
|
|
650
|
-
}> | undefined;
|
|
651
|
-
'x-scalar-secrets'?: Record<string, {
|
|
652
|
-
description?: string | undefined;
|
|
653
|
-
example?: string | undefined;
|
|
654
|
-
}> | undefined;
|
|
655
|
-
documentUrl?: string | undefined;
|
|
656
|
-
integration?: string | null | undefined;
|
|
559
|
+
error: false;
|
|
560
|
+
collection: import("@scalar/oas-utils/entities/spec").Collection;
|
|
561
|
+
requests: import("@scalar/oas-utils/entities/spec").Request[];
|
|
562
|
+
schema: import("@scalar/openapi-types").OpenAPIV3_1.Document;
|
|
563
|
+
examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
|
|
564
|
+
servers: import("@scalar/oas-utils/entities/spec").Server[];
|
|
565
|
+
tags: import("@scalar/oas-utils/entities/spec").Tag[];
|
|
566
|
+
securitySchemes: import("@scalar/oas-utils/entities/spec").SecurityScheme[];
|
|
657
567
|
} | undefined>>>>>;
|
|
658
568
|
cookieMutators: {
|
|
659
569
|
add: (item: {
|
|
660
570
|
value: string;
|
|
661
|
-
uid: string
|
|
571
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
662
572
|
name: string;
|
|
663
573
|
path?: string | undefined;
|
|
664
574
|
domain?: string | undefined;
|
|
665
575
|
}) => void;
|
|
666
|
-
delete: (uid: string) => void;
|
|
576
|
+
delete: (uid: (string & import("zod").BRAND<"cookie">) | null | undefined) => void;
|
|
667
577
|
set: (item: {
|
|
668
578
|
value: string;
|
|
669
|
-
uid: string
|
|
579
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
670
580
|
name: string;
|
|
671
581
|
path?: string | undefined;
|
|
672
582
|
domain?: string | undefined;
|
|
673
583
|
}) => void;
|
|
674
|
-
edit: <P extends "name" | "uid" | "path" | "value" | "domain">(uid: string, path: P, value: P extends "name" | "uid" | "path" | "value" | "domain" ? {
|
|
584
|
+
edit: <P extends "name" | "uid" | "path" | "value" | "domain">(uid: (string & import("zod").BRAND<"cookie">) | null | undefined, path: P, value: P extends "name" | "uid" | "path" | "value" | "domain" ? {
|
|
675
585
|
value: string;
|
|
676
|
-
uid: string
|
|
586
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
677
587
|
name: string;
|
|
678
588
|
path?: string | undefined;
|
|
679
589
|
domain?: string | undefined;
|
|
680
590
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "path" | "value" | "domain" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
681
591
|
value: string;
|
|
682
|
-
uid: string
|
|
592
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
683
593
|
name: string;
|
|
684
594
|
path?: string | undefined;
|
|
685
595
|
domain?: string | undefined;
|
|
686
596
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
687
597
|
value: string;
|
|
688
|
-
uid: string
|
|
598
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
689
599
|
name: string;
|
|
690
600
|
path?: string | undefined;
|
|
691
601
|
domain?: string | undefined;
|
|
692
602
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
693
|
-
untrackedEdit: <P extends "name" | "uid" | "path" | "value" | "domain">(uid: string
|
|
603
|
+
untrackedEdit: <P extends "name" | "uid" | "path" | "value" | "domain">(uid: string & import("zod").BRAND<"cookie">, path: P, value: P extends "name" | "uid" | "path" | "value" | "domain" ? {
|
|
694
604
|
value: string;
|
|
695
|
-
uid: string
|
|
605
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
696
606
|
name: string;
|
|
697
607
|
path?: string | undefined;
|
|
698
608
|
domain?: string | undefined;
|
|
699
609
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "path" | "value" | "domain" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
700
610
|
value: string;
|
|
701
|
-
uid: string
|
|
611
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
702
612
|
name: string;
|
|
703
613
|
path?: string | undefined;
|
|
704
614
|
domain?: string | undefined;
|
|
705
615
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
706
616
|
value: string;
|
|
707
|
-
uid: string
|
|
617
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
708
618
|
name: string;
|
|
709
619
|
path?: string | undefined;
|
|
710
620
|
domain?: string | undefined;
|
|
711
621
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
712
|
-
undo: (uid: string) => void;
|
|
713
|
-
redo: (uid: string) => void;
|
|
622
|
+
undo: (uid: string & import("zod").BRAND<"cookie">) => void;
|
|
623
|
+
redo: (uid: string & import("zod").BRAND<"cookie">) => void;
|
|
714
624
|
reset: () => void;
|
|
715
625
|
};
|
|
716
626
|
collectionMutators: {
|
|
717
627
|
rawAdd: (item: {
|
|
718
628
|
type: "collection";
|
|
719
|
-
uid: string
|
|
720
|
-
children: string[];
|
|
629
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
630
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
721
631
|
openapi: string;
|
|
722
632
|
security: Record<string, string[]>[];
|
|
723
633
|
'x-scalar-icon': string;
|
|
724
634
|
securitySchemes: string[];
|
|
725
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
tags: string[];
|
|
635
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
636
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
637
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
638
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
730
639
|
watchMode: boolean;
|
|
731
640
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
732
641
|
externalDocs?: {
|
|
@@ -763,25 +672,25 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
763
672
|
color?: string | undefined;
|
|
764
673
|
}> | undefined;
|
|
765
674
|
'x-scalar-secrets'?: Record<string, {
|
|
766
|
-
description?: string | undefined;
|
|
767
675
|
example?: string | undefined;
|
|
676
|
+
description?: string | undefined;
|
|
768
677
|
}> | undefined;
|
|
678
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
769
679
|
documentUrl?: string | undefined;
|
|
770
680
|
integration?: string | null | undefined;
|
|
771
681
|
}) => void;
|
|
772
|
-
add: (payload: import("@scalar/oas-utils/entities/spec").CollectionPayload, workspaceUid:
|
|
682
|
+
add: (payload: import("@scalar/oas-utils/entities/spec").CollectionPayload, workspaceUid: import("@scalar/oas-utils/entities").Workspace["uid"]) => {
|
|
773
683
|
type: "collection";
|
|
774
|
-
uid: string
|
|
775
|
-
children: string[];
|
|
684
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
685
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
776
686
|
openapi: string;
|
|
777
687
|
security: Record<string, string[]>[];
|
|
778
688
|
'x-scalar-icon': string;
|
|
779
689
|
securitySchemes: string[];
|
|
780
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
tags: string[];
|
|
690
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
691
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
692
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
693
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
785
694
|
watchMode: boolean;
|
|
786
695
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
787
696
|
externalDocs?: {
|
|
@@ -818,28 +727,28 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
818
727
|
color?: string | undefined;
|
|
819
728
|
}> | undefined;
|
|
820
729
|
'x-scalar-secrets'?: Record<string, {
|
|
821
|
-
description?: string | undefined;
|
|
822
730
|
example?: string | undefined;
|
|
731
|
+
description?: string | undefined;
|
|
823
732
|
}> | undefined;
|
|
733
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
824
734
|
documentUrl?: string | undefined;
|
|
825
735
|
integration?: string | null | undefined;
|
|
826
736
|
};
|
|
827
737
|
delete: (collection: import("@scalar/oas-utils/entities/spec").Collection, workspace: import("@scalar/oas-utils/entities").Workspace) => void;
|
|
828
|
-
addEnvironment: (environmentName: string, environment: import("@scalar/oas-utils/entities/spec").XScalarEnvironment, collectionUid:
|
|
829
|
-
removeEnvironment: (environmentName: string, collectionUid:
|
|
738
|
+
addEnvironment: (environmentName: string, environment: import("@scalar/oas-utils/entities/spec").XScalarEnvironment, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
739
|
+
removeEnvironment: (environmentName: string, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
830
740
|
set: (item: {
|
|
831
741
|
type: "collection";
|
|
832
|
-
uid: string
|
|
833
|
-
children: string[];
|
|
742
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
743
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
834
744
|
openapi: string;
|
|
835
745
|
security: Record<string, string[]>[];
|
|
836
746
|
'x-scalar-icon': string;
|
|
837
747
|
securitySchemes: string[];
|
|
838
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
tags: string[];
|
|
748
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
749
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
750
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
751
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
843
752
|
watchMode: boolean;
|
|
844
753
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
845
754
|
externalDocs?: {
|
|
@@ -876,25 +785,25 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
876
785
|
color?: string | undefined;
|
|
877
786
|
}> | undefined;
|
|
878
787
|
'x-scalar-secrets'?: Record<string, {
|
|
879
|
-
description?: string | undefined;
|
|
880
788
|
example?: string | undefined;
|
|
789
|
+
description?: string | undefined;
|
|
881
790
|
}> | undefined;
|
|
791
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
882
792
|
documentUrl?: string | undefined;
|
|
883
793
|
integration?: string | null | undefined;
|
|
884
794
|
}) => void;
|
|
885
|
-
edit: <P extends "servers" | "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "
|
|
795
|
+
edit: <P extends "servers" | "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "info" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" | `servers.${number}` | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `requests.${number}` | `x-scalar-environments.${string}` | `children.${number}` | `securitySchemes.${number}` | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${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" | `components.${string}` | `webhooks.${string}` | `x-scalar-secrets.${string}`>(uid: (string & import("zod").BRAND<"collection">) | null | undefined, path: P, value: P extends "servers" | "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "info" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? {
|
|
886
796
|
type: "collection";
|
|
887
|
-
uid: string
|
|
888
|
-
children: string[];
|
|
797
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
798
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
889
799
|
openapi: string;
|
|
890
800
|
security: Record<string, string[]>[];
|
|
891
801
|
'x-scalar-icon': string;
|
|
892
802
|
securitySchemes: string[];
|
|
893
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
tags: string[];
|
|
803
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
804
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
805
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
806
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
898
807
|
watchMode: boolean;
|
|
899
808
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
900
809
|
externalDocs?: {
|
|
@@ -931,24 +840,24 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
931
840
|
color?: string | undefined;
|
|
932
841
|
}> | undefined;
|
|
933
842
|
'x-scalar-secrets'?: Record<string, {
|
|
934
|
-
description?: string | undefined;
|
|
935
843
|
example?: string | undefined;
|
|
844
|
+
description?: string | undefined;
|
|
936
845
|
}> | undefined;
|
|
846
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
937
847
|
documentUrl?: string | undefined;
|
|
938
848
|
integration?: string | null | undefined;
|
|
939
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "servers" | "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "
|
|
849
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "servers" | "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "info" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
940
850
|
type: "collection";
|
|
941
|
-
uid: string
|
|
942
|
-
children: string[];
|
|
851
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
852
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
943
853
|
openapi: string;
|
|
944
854
|
security: Record<string, string[]>[];
|
|
945
855
|
'x-scalar-icon': string;
|
|
946
856
|
securitySchemes: string[];
|
|
947
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
tags: string[];
|
|
857
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
858
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
859
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
860
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
952
861
|
watchMode: boolean;
|
|
953
862
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
954
863
|
externalDocs?: {
|
|
@@ -985,24 +894,24 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
985
894
|
color?: string | undefined;
|
|
986
895
|
}> | undefined;
|
|
987
896
|
'x-scalar-secrets'?: Record<string, {
|
|
988
|
-
description?: string | undefined;
|
|
989
897
|
example?: string | undefined;
|
|
898
|
+
description?: string | undefined;
|
|
990
899
|
}> | undefined;
|
|
900
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
991
901
|
documentUrl?: string | undefined;
|
|
992
902
|
integration?: string | null | undefined;
|
|
993
903
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
994
904
|
type: "collection";
|
|
995
|
-
uid: string
|
|
996
|
-
children: string[];
|
|
905
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
906
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
997
907
|
openapi: string;
|
|
998
908
|
security: Record<string, string[]>[];
|
|
999
909
|
'x-scalar-icon': string;
|
|
1000
910
|
securitySchemes: string[];
|
|
1001
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
tags: string[];
|
|
911
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
912
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
913
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
914
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
1006
915
|
watchMode: boolean;
|
|
1007
916
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1008
917
|
externalDocs?: {
|
|
@@ -1039,25 +948,25 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1039
948
|
color?: string | undefined;
|
|
1040
949
|
}> | undefined;
|
|
1041
950
|
'x-scalar-secrets'?: Record<string, {
|
|
1042
|
-
description?: string | undefined;
|
|
1043
951
|
example?: string | undefined;
|
|
952
|
+
description?: string | undefined;
|
|
1044
953
|
}> | undefined;
|
|
954
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
1045
955
|
documentUrl?: string | undefined;
|
|
1046
956
|
integration?: string | null | undefined;
|
|
1047
957
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1048
|
-
untrackedEdit: <P extends "servers" | "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "
|
|
958
|
+
untrackedEdit: <P extends "servers" | "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "info" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" | `servers.${number}` | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `requests.${number}` | `x-scalar-environments.${string}` | `children.${number}` | `securitySchemes.${number}` | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${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" | `components.${string}` | `webhooks.${string}` | `x-scalar-secrets.${string}`>(uid: string & import("zod").BRAND<"collection">, path: P, value: P extends "servers" | "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "info" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? {
|
|
1049
959
|
type: "collection";
|
|
1050
|
-
uid: string
|
|
1051
|
-
children: string[];
|
|
960
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
961
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
1052
962
|
openapi: string;
|
|
1053
963
|
security: Record<string, string[]>[];
|
|
1054
964
|
'x-scalar-icon': string;
|
|
1055
965
|
securitySchemes: string[];
|
|
1056
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
tags: string[];
|
|
966
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
967
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
968
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
969
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
1061
970
|
watchMode: boolean;
|
|
1062
971
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1063
972
|
externalDocs?: {
|
|
@@ -1094,24 +1003,24 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1094
1003
|
color?: string | undefined;
|
|
1095
1004
|
}> | undefined;
|
|
1096
1005
|
'x-scalar-secrets'?: Record<string, {
|
|
1097
|
-
description?: string | undefined;
|
|
1098
1006
|
example?: string | undefined;
|
|
1007
|
+
description?: string | undefined;
|
|
1099
1008
|
}> | undefined;
|
|
1009
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
1100
1010
|
documentUrl?: string | undefined;
|
|
1101
1011
|
integration?: string | null | undefined;
|
|
1102
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "servers" | "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "
|
|
1012
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "servers" | "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "info" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
1103
1013
|
type: "collection";
|
|
1104
|
-
uid: string
|
|
1105
|
-
children: string[];
|
|
1014
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
1015
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
1106
1016
|
openapi: string;
|
|
1107
1017
|
security: Record<string, string[]>[];
|
|
1108
1018
|
'x-scalar-icon': string;
|
|
1109
1019
|
securitySchemes: string[];
|
|
1110
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
tags: string[];
|
|
1020
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1021
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1022
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
1023
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
1115
1024
|
watchMode: boolean;
|
|
1116
1025
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1117
1026
|
externalDocs?: {
|
|
@@ -1148,24 +1057,24 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1148
1057
|
color?: string | undefined;
|
|
1149
1058
|
}> | undefined;
|
|
1150
1059
|
'x-scalar-secrets'?: Record<string, {
|
|
1151
|
-
description?: string | undefined;
|
|
1152
1060
|
example?: string | undefined;
|
|
1061
|
+
description?: string | undefined;
|
|
1153
1062
|
}> | undefined;
|
|
1063
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
1154
1064
|
documentUrl?: string | undefined;
|
|
1155
1065
|
integration?: string | null | undefined;
|
|
1156
1066
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
1157
1067
|
type: "collection";
|
|
1158
|
-
uid: string
|
|
1159
|
-
children: string[];
|
|
1068
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
1069
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
1160
1070
|
openapi: string;
|
|
1161
1071
|
security: Record<string, string[]>[];
|
|
1162
1072
|
'x-scalar-icon': string;
|
|
1163
1073
|
securitySchemes: string[];
|
|
1164
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
tags: string[];
|
|
1074
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1075
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1076
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
1077
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
1169
1078
|
watchMode: boolean;
|
|
1170
1079
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1171
1080
|
externalDocs?: {
|
|
@@ -1202,83 +1111,84 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1202
1111
|
color?: string | undefined;
|
|
1203
1112
|
}> | undefined;
|
|
1204
1113
|
'x-scalar-secrets'?: Record<string, {
|
|
1205
|
-
description?: string | undefined;
|
|
1206
1114
|
example?: string | undefined;
|
|
1115
|
+
description?: string | undefined;
|
|
1207
1116
|
}> | undefined;
|
|
1117
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
1208
1118
|
documentUrl?: string | undefined;
|
|
1209
1119
|
integration?: string | null | undefined;
|
|
1210
1120
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1211
|
-
undo: (uid: string) => void;
|
|
1212
|
-
redo: (uid: string) => void;
|
|
1121
|
+
undo: (uid: string & import("zod").BRAND<"collection">) => void;
|
|
1122
|
+
redo: (uid: string & import("zod").BRAND<"collection">) => void;
|
|
1213
1123
|
reset: () => void;
|
|
1214
1124
|
};
|
|
1215
1125
|
environmentMutators: {
|
|
1216
|
-
delete: (uid:
|
|
1126
|
+
delete: (uid: import("@scalar/oas-utils/entities/environment").Environment["uid"]) => void;
|
|
1217
1127
|
add: (item: {
|
|
1218
1128
|
value: string;
|
|
1219
|
-
uid: string
|
|
1129
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1220
1130
|
name: string;
|
|
1221
1131
|
color: string;
|
|
1222
1132
|
isDefault?: boolean | undefined;
|
|
1223
1133
|
}) => void;
|
|
1224
1134
|
set: (item: {
|
|
1225
1135
|
value: string;
|
|
1226
|
-
uid: string
|
|
1136
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1227
1137
|
name: string;
|
|
1228
1138
|
color: string;
|
|
1229
1139
|
isDefault?: boolean | undefined;
|
|
1230
1140
|
}) => void;
|
|
1231
|
-
edit: <P extends "name" | "uid" | "color" | "
|
|
1141
|
+
edit: <P extends "name" | "uid" | "color" | "value" | "isDefault">(uid: (string & import("zod").BRAND<"environment">) | null | undefined, path: P, value: P extends "name" | "uid" | "color" | "value" | "isDefault" ? {
|
|
1232
1142
|
value: string;
|
|
1233
|
-
uid: string
|
|
1143
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1234
1144
|
name: string;
|
|
1235
1145
|
color: string;
|
|
1236
1146
|
isDefault?: boolean | undefined;
|
|
1237
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "color" | "
|
|
1147
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "color" | "value" | "isDefault" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
1238
1148
|
value: string;
|
|
1239
|
-
uid: string
|
|
1149
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1240
1150
|
name: string;
|
|
1241
1151
|
color: string;
|
|
1242
1152
|
isDefault?: boolean | undefined;
|
|
1243
1153
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
1244
1154
|
value: string;
|
|
1245
|
-
uid: string
|
|
1155
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1246
1156
|
name: string;
|
|
1247
1157
|
color: string;
|
|
1248
1158
|
isDefault?: boolean | undefined;
|
|
1249
1159
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1250
|
-
untrackedEdit: <P extends "name" | "uid" | "color" | "
|
|
1160
|
+
untrackedEdit: <P extends "name" | "uid" | "color" | "value" | "isDefault">(uid: string & import("zod").BRAND<"environment">, path: P, value: P extends "name" | "uid" | "color" | "value" | "isDefault" ? {
|
|
1251
1161
|
value: string;
|
|
1252
|
-
uid: string
|
|
1162
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1253
1163
|
name: string;
|
|
1254
1164
|
color: string;
|
|
1255
1165
|
isDefault?: boolean | undefined;
|
|
1256
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "color" | "
|
|
1166
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "color" | "value" | "isDefault" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
1257
1167
|
value: string;
|
|
1258
|
-
uid: string
|
|
1168
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1259
1169
|
name: string;
|
|
1260
1170
|
color: string;
|
|
1261
1171
|
isDefault?: boolean | undefined;
|
|
1262
1172
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
1263
1173
|
value: string;
|
|
1264
|
-
uid: string
|
|
1174
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1265
1175
|
name: string;
|
|
1266
1176
|
color: string;
|
|
1267
1177
|
isDefault?: boolean | undefined;
|
|
1268
1178
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1269
|
-
undo: (uid: string) => void;
|
|
1270
|
-
redo: (uid: string) => void;
|
|
1179
|
+
undo: (uid: string & import("zod").BRAND<"environment">) => void;
|
|
1180
|
+
redo: (uid: string & import("zod").BRAND<"environment">) => void;
|
|
1271
1181
|
reset: () => void;
|
|
1272
1182
|
};
|
|
1273
1183
|
requestMutators: {
|
|
1274
1184
|
rawAdd: (item: {
|
|
1275
1185
|
path: string;
|
|
1276
1186
|
type: "request";
|
|
1277
|
-
uid: string
|
|
1278
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1279
|
-
selectedServerUid: string;
|
|
1280
|
-
servers: string[];
|
|
1281
|
-
examples: string[];
|
|
1187
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1188
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1189
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1190
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1191
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1282
1192
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1283
1193
|
description?: string | undefined;
|
|
1284
1194
|
summary?: string | undefined;
|
|
@@ -1295,10 +1205,10 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1295
1205
|
parameters?: {
|
|
1296
1206
|
required: boolean;
|
|
1297
1207
|
name: string;
|
|
1298
|
-
in: "path" | "
|
|
1208
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1299
1209
|
deprecated: boolean;
|
|
1300
|
-
description?: string | undefined;
|
|
1301
1210
|
example?: unknown;
|
|
1211
|
+
description?: string | undefined;
|
|
1302
1212
|
schema?: unknown;
|
|
1303
1213
|
content?: unknown;
|
|
1304
1214
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1310,14 +1220,14 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1310
1220
|
requestBody?: any;
|
|
1311
1221
|
responses?: Record<string, any> | undefined;
|
|
1312
1222
|
}) => void;
|
|
1313
|
-
add: (payload: import("@scalar/oas-utils/entities/spec").RequestPayload, collectionUid:
|
|
1223
|
+
add: (payload: import("@scalar/oas-utils/entities/spec").RequestPayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void | {
|
|
1314
1224
|
path: string;
|
|
1315
1225
|
type: "request";
|
|
1316
|
-
uid: string
|
|
1317
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1318
|
-
selectedServerUid: string;
|
|
1319
|
-
servers: string[];
|
|
1320
|
-
examples: string[];
|
|
1226
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1227
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1228
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1229
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1230
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1321
1231
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1322
1232
|
description?: string | undefined;
|
|
1323
1233
|
summary?: string | undefined;
|
|
@@ -1334,10 +1244,10 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1334
1244
|
parameters?: {
|
|
1335
1245
|
required: boolean;
|
|
1336
1246
|
name: string;
|
|
1337
|
-
in: "path" | "
|
|
1247
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1338
1248
|
deprecated: boolean;
|
|
1339
|
-
description?: string | undefined;
|
|
1340
1249
|
example?: unknown;
|
|
1250
|
+
description?: string | undefined;
|
|
1341
1251
|
schema?: unknown;
|
|
1342
1252
|
content?: unknown;
|
|
1343
1253
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1349,15 +1259,15 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1349
1259
|
requestBody?: any;
|
|
1350
1260
|
responses?: Record<string, any> | undefined;
|
|
1351
1261
|
};
|
|
1352
|
-
delete: (request: import("@scalar/oas-utils/entities/spec").Request, collectionUid:
|
|
1262
|
+
delete: (request: import("@scalar/oas-utils/entities/spec").Request, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
1353
1263
|
set: (item: {
|
|
1354
1264
|
path: string;
|
|
1355
1265
|
type: "request";
|
|
1356
|
-
uid: string
|
|
1357
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1358
|
-
selectedServerUid: string;
|
|
1359
|
-
servers: string[];
|
|
1360
|
-
examples: string[];
|
|
1266
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1267
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1268
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1269
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1270
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1361
1271
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1362
1272
|
description?: string | undefined;
|
|
1363
1273
|
summary?: string | undefined;
|
|
@@ -1374,10 +1284,10 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1374
1284
|
parameters?: {
|
|
1375
1285
|
required: boolean;
|
|
1376
1286
|
name: string;
|
|
1377
|
-
in: "path" | "
|
|
1287
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1378
1288
|
deprecated: boolean;
|
|
1379
|
-
description?: string | undefined;
|
|
1380
1289
|
example?: unknown;
|
|
1290
|
+
description?: string | undefined;
|
|
1381
1291
|
schema?: unknown;
|
|
1382
1292
|
content?: unknown;
|
|
1383
1293
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1389,14 +1299,14 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1389
1299
|
requestBody?: any;
|
|
1390
1300
|
responses?: Record<string, any> | undefined;
|
|
1391
1301
|
}) => void;
|
|
1392
|
-
edit: <P extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "type" | "uid" | "selectedSecuritySchemeUids" | "selectedServerUid" | `servers.${number}` | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | "method" | "path" | "examples" | `examples.${number}` | `requestBody.${string}` | `parameters.${number}` | `parameters.${number}.description` | `parameters.${number}.required` | `parameters.${number}.examples` | `parameters.${number}.deprecated` | `parameters.${number}.name` | `parameters.${number}.in` | `parameters.${number}.example` | `parameters.${number}.style` | `parameters.${number}.content` | `parameters.${number}.schema` | `parameters.${number}.examples.${string}` | `responses.${string}`>(uid: string, path: P, value: P extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "type" | "uid" | "selectedSecuritySchemeUids" | "selectedServerUid" | "method" | "path" | "examples" ? {
|
|
1302
|
+
edit: <P extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "type" | "uid" | "selectedSecuritySchemeUids" | "selectedServerUid" | `servers.${number}` | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | "method" | "path" | "examples" | `examples.${number}` | `requestBody.${string}` | `parameters.${number}` | `parameters.${number}.description` | `parameters.${number}.required` | `parameters.${number}.examples` | `parameters.${number}.deprecated` | `parameters.${number}.name` | `parameters.${number}.in` | `parameters.${number}.example` | `parameters.${number}.style` | `parameters.${number}.content` | `parameters.${number}.schema` | `parameters.${number}.examples.${string}` | `responses.${string}`>(uid: (string & import("zod").BRAND<"operation">) | null | undefined, path: P, value: P extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "type" | "uid" | "selectedSecuritySchemeUids" | "selectedServerUid" | "method" | "path" | "examples" ? {
|
|
1393
1303
|
path: string;
|
|
1394
1304
|
type: "request";
|
|
1395
|
-
uid: string
|
|
1396
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1397
|
-
selectedServerUid: string;
|
|
1398
|
-
servers: string[];
|
|
1399
|
-
examples: string[];
|
|
1305
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1306
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1307
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1308
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1309
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1400
1310
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1401
1311
|
description?: string | undefined;
|
|
1402
1312
|
summary?: string | undefined;
|
|
@@ -1413,10 +1323,10 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1413
1323
|
parameters?: {
|
|
1414
1324
|
required: boolean;
|
|
1415
1325
|
name: string;
|
|
1416
|
-
in: "path" | "
|
|
1326
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1417
1327
|
deprecated: boolean;
|
|
1418
|
-
description?: string | undefined;
|
|
1419
1328
|
example?: unknown;
|
|
1329
|
+
description?: string | undefined;
|
|
1420
1330
|
schema?: unknown;
|
|
1421
1331
|
content?: unknown;
|
|
1422
1332
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1430,11 +1340,11 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1430
1340
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "type" | "uid" | "selectedSecuritySchemeUids" | "selectedServerUid" | "method" | "path" | "examples" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
1431
1341
|
path: string;
|
|
1432
1342
|
type: "request";
|
|
1433
|
-
uid: string
|
|
1434
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1435
|
-
selectedServerUid: string;
|
|
1436
|
-
servers: string[];
|
|
1437
|
-
examples: string[];
|
|
1343
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1344
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1345
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1346
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1347
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1438
1348
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1439
1349
|
description?: string | undefined;
|
|
1440
1350
|
summary?: string | undefined;
|
|
@@ -1451,10 +1361,10 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1451
1361
|
parameters?: {
|
|
1452
1362
|
required: boolean;
|
|
1453
1363
|
name: string;
|
|
1454
|
-
in: "path" | "
|
|
1364
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1455
1365
|
deprecated: boolean;
|
|
1456
|
-
description?: string | undefined;
|
|
1457
1366
|
example?: unknown;
|
|
1367
|
+
description?: string | undefined;
|
|
1458
1368
|
schema?: unknown;
|
|
1459
1369
|
content?: unknown;
|
|
1460
1370
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1468,11 +1378,11 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1468
1378
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
1469
1379
|
path: string;
|
|
1470
1380
|
type: "request";
|
|
1471
|
-
uid: string
|
|
1472
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1473
|
-
selectedServerUid: string;
|
|
1474
|
-
servers: string[];
|
|
1475
|
-
examples: string[];
|
|
1381
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1382
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1383
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1384
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1385
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1476
1386
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1477
1387
|
description?: string | undefined;
|
|
1478
1388
|
summary?: string | undefined;
|
|
@@ -1489,10 +1399,10 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1489
1399
|
parameters?: {
|
|
1490
1400
|
required: boolean;
|
|
1491
1401
|
name: string;
|
|
1492
|
-
in: "path" | "
|
|
1402
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1493
1403
|
deprecated: boolean;
|
|
1494
|
-
description?: string | undefined;
|
|
1495
1404
|
example?: unknown;
|
|
1405
|
+
description?: string | undefined;
|
|
1496
1406
|
schema?: unknown;
|
|
1497
1407
|
content?: unknown;
|
|
1498
1408
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1504,14 +1414,14 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1504
1414
|
requestBody?: any;
|
|
1505
1415
|
responses?: Record<string, any> | undefined;
|
|
1506
1416
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1507
|
-
untrackedEdit: <P extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "type" | "uid" | "selectedSecuritySchemeUids" | "selectedServerUid" | `servers.${number}` | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | "method" | "path" | "examples" | `examples.${number}` | `requestBody.${string}` | `parameters.${number}` | `parameters.${number}.description` | `parameters.${number}.required` | `parameters.${number}.examples` | `parameters.${number}.deprecated` | `parameters.${number}.name` | `parameters.${number}.in` | `parameters.${number}.example` | `parameters.${number}.style` | `parameters.${number}.content` | `parameters.${number}.schema` | `parameters.${number}.examples.${string}` | `responses.${string}`>(uid: string
|
|
1417
|
+
untrackedEdit: <P extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "type" | "uid" | "selectedSecuritySchemeUids" | "selectedServerUid" | `servers.${number}` | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | "method" | "path" | "examples" | `examples.${number}` | `requestBody.${string}` | `parameters.${number}` | `parameters.${number}.description` | `parameters.${number}.required` | `parameters.${number}.examples` | `parameters.${number}.deprecated` | `parameters.${number}.name` | `parameters.${number}.in` | `parameters.${number}.example` | `parameters.${number}.style` | `parameters.${number}.content` | `parameters.${number}.schema` | `parameters.${number}.examples.${string}` | `responses.${string}`>(uid: string & import("zod").BRAND<"operation">, path: P, value: P extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "type" | "uid" | "selectedSecuritySchemeUids" | "selectedServerUid" | "method" | "path" | "examples" ? {
|
|
1508
1418
|
path: string;
|
|
1509
1419
|
type: "request";
|
|
1510
|
-
uid: string
|
|
1511
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1512
|
-
selectedServerUid: string;
|
|
1513
|
-
servers: string[];
|
|
1514
|
-
examples: string[];
|
|
1420
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1421
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1422
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1423
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1424
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1515
1425
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1516
1426
|
description?: string | undefined;
|
|
1517
1427
|
summary?: string | undefined;
|
|
@@ -1528,10 +1438,10 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1528
1438
|
parameters?: {
|
|
1529
1439
|
required: boolean;
|
|
1530
1440
|
name: string;
|
|
1531
|
-
in: "path" | "
|
|
1441
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1532
1442
|
deprecated: boolean;
|
|
1533
|
-
description?: string | undefined;
|
|
1534
1443
|
example?: unknown;
|
|
1444
|
+
description?: string | undefined;
|
|
1535
1445
|
schema?: unknown;
|
|
1536
1446
|
content?: unknown;
|
|
1537
1447
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1545,11 +1455,11 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1545
1455
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "type" | "uid" | "selectedSecuritySchemeUids" | "selectedServerUid" | "method" | "path" | "examples" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
1546
1456
|
path: string;
|
|
1547
1457
|
type: "request";
|
|
1548
|
-
uid: string
|
|
1549
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1550
|
-
selectedServerUid: string;
|
|
1551
|
-
servers: string[];
|
|
1552
|
-
examples: string[];
|
|
1458
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1459
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1460
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1461
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1462
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1553
1463
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1554
1464
|
description?: string | undefined;
|
|
1555
1465
|
summary?: string | undefined;
|
|
@@ -1566,10 +1476,10 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1566
1476
|
parameters?: {
|
|
1567
1477
|
required: boolean;
|
|
1568
1478
|
name: string;
|
|
1569
|
-
in: "path" | "
|
|
1479
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1570
1480
|
deprecated: boolean;
|
|
1571
|
-
description?: string | undefined;
|
|
1572
1481
|
example?: unknown;
|
|
1482
|
+
description?: string | undefined;
|
|
1573
1483
|
schema?: unknown;
|
|
1574
1484
|
content?: unknown;
|
|
1575
1485
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1583,11 +1493,11 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1583
1493
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
1584
1494
|
path: string;
|
|
1585
1495
|
type: "request";
|
|
1586
|
-
uid: string
|
|
1587
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1588
|
-
selectedServerUid: string;
|
|
1589
|
-
servers: string[];
|
|
1590
|
-
examples: string[];
|
|
1496
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1497
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1498
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1499
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1500
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1591
1501
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1592
1502
|
description?: string | undefined;
|
|
1593
1503
|
summary?: string | undefined;
|
|
@@ -1604,10 +1514,10 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1604
1514
|
parameters?: {
|
|
1605
1515
|
required: boolean;
|
|
1606
1516
|
name: string;
|
|
1607
|
-
in: "path" | "
|
|
1517
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1608
1518
|
deprecated: boolean;
|
|
1609
|
-
description?: string | undefined;
|
|
1610
1519
|
example?: unknown;
|
|
1520
|
+
description?: string | undefined;
|
|
1611
1521
|
schema?: unknown;
|
|
1612
1522
|
content?: unknown;
|
|
1613
1523
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1619,15 +1529,15 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1619
1529
|
requestBody?: any;
|
|
1620
1530
|
responses?: Record<string, any> | undefined;
|
|
1621
1531
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1622
|
-
undo: (uid: string) => void;
|
|
1623
|
-
redo: (uid: string) => void;
|
|
1532
|
+
undo: (uid: string & import("zod").BRAND<"operation">) => void;
|
|
1533
|
+
redo: (uid: string & import("zod").BRAND<"operation">) => void;
|
|
1624
1534
|
reset: () => void;
|
|
1625
1535
|
};
|
|
1626
1536
|
findRequestParents: (r: import("@scalar/oas-utils/entities/spec").Request) => string[];
|
|
1627
1537
|
requestExampleMutators: {
|
|
1628
1538
|
rawAdd: (item: {
|
|
1629
1539
|
type: "requestExample";
|
|
1630
|
-
uid: string
|
|
1540
|
+
uid: string & import("zod").BRAND<"example">;
|
|
1631
1541
|
name: string;
|
|
1632
1542
|
parameters: {
|
|
1633
1543
|
path: {
|
|
@@ -1722,12 +1632,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1722
1632
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
1723
1633
|
} | undefined;
|
|
1724
1634
|
};
|
|
1725
|
-
requestUid
|
|
1635
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1726
1636
|
serverVariables?: Record<string, string[]> | undefined;
|
|
1727
1637
|
}) => void;
|
|
1728
1638
|
add: (request: import("@scalar/oas-utils/entities/spec").Request, _name?: string) => {
|
|
1729
1639
|
type: "requestExample";
|
|
1730
|
-
uid: string
|
|
1640
|
+
uid: string & import("zod").BRAND<"example">;
|
|
1731
1641
|
name: string;
|
|
1732
1642
|
parameters: {
|
|
1733
1643
|
path: {
|
|
@@ -1822,13 +1732,13 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1822
1732
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
1823
1733
|
} | undefined;
|
|
1824
1734
|
};
|
|
1825
|
-
requestUid
|
|
1735
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1826
1736
|
serverVariables?: Record<string, string[]> | undefined;
|
|
1827
1737
|
};
|
|
1828
1738
|
delete: (requestExample: import("@scalar/oas-utils/entities/spec").RequestExample) => void;
|
|
1829
1739
|
set: (item: {
|
|
1830
1740
|
type: "requestExample";
|
|
1831
|
-
uid: string
|
|
1741
|
+
uid: string & import("zod").BRAND<"example">;
|
|
1832
1742
|
name: string;
|
|
1833
1743
|
parameters: {
|
|
1834
1744
|
path: {
|
|
@@ -1923,12 +1833,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
1923
1833
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
1924
1834
|
} | undefined;
|
|
1925
1835
|
};
|
|
1926
|
-
requestUid
|
|
1836
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1927
1837
|
serverVariables?: Record<string, string[]> | undefined;
|
|
1928
1838
|
}) => void;
|
|
1929
|
-
edit: <P extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" | "body.
|
|
1839
|
+
edit: <P extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" | "body.formData.value" | "parameters.cookies" | `parameters.cookies.${number}` | "parameters.path" | "parameters.headers" | "parameters.query" | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.examples` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.type.${number}` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.examples.${number}` | `parameters.cookies.${number}.file.${string}` | `parameters.cookies.${number}.enum.${number}` | `parameters.path.${number}` | `parameters.path.${number}.description` | `parameters.path.${number}.type` | `parameters.path.${number}.default` | `parameters.path.${number}.key` | `parameters.path.${number}.required` | `parameters.path.${number}.examples` | `parameters.path.${number}.file` | `parameters.path.${number}.value` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.enabled` | `parameters.path.${number}.minimum` | `parameters.path.${number}.maximum` | `parameters.path.${number}.format` | `parameters.path.${number}.type.${number}` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.examples.${number}` | `parameters.path.${number}.file.${string}` | `parameters.path.${number}.enum.${number}` | `parameters.headers.${number}` | `parameters.headers.${number}.description` | `parameters.headers.${number}.type` | `parameters.headers.${number}.default` | `parameters.headers.${number}.key` | `parameters.headers.${number}.required` | `parameters.headers.${number}.examples` | `parameters.headers.${number}.file` | `parameters.headers.${number}.value` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.format` | `parameters.headers.${number}.type.${number}` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.examples.${number}` | `parameters.headers.${number}.file.${string}` | `parameters.headers.${number}.enum.${number}` | `parameters.query.${number}` | `parameters.query.${number}.description` | `parameters.query.${number}.type` | `parameters.query.${number}.default` | `parameters.query.${number}.key` | `parameters.query.${number}.required` | `parameters.query.${number}.examples` | `parameters.query.${number}.file` | `parameters.query.${number}.value` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.enabled` | `parameters.query.${number}.minimum` | `parameters.query.${number}.maximum` | `parameters.query.${number}.format` | `parameters.query.${number}.type.${number}` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.examples.${number}` | `parameters.query.${number}.file.${string}` | `parameters.query.${number}.enum.${number}` | "body.binary" | "body.formData" | "body.raw" | "body.activeBody" | "body.binary.type" | "body.binary.size" | "body.binary.slice" | "body.binary.text" | "body.binary.arrayBuffer" | "body.binary.stream" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.description` | `body.formData.value.${number}.type` | `body.formData.value.${number}.default` | `body.formData.value.${number}.key` | `body.formData.value.${number}.required` | `body.formData.value.${number}.examples` | `body.formData.value.${number}.file` | `body.formData.value.${number}.value` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.format` | `body.formData.value.${number}.type.${number}` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.examples.${number}` | `body.formData.value.${number}.file.${string}` | `body.formData.value.${number}.enum.${number}` | "body.raw.value" | "body.raw.encoding" | `serverVariables.${string}`>(uid: (string & import("zod").BRAND<"example">) | null | undefined, path: P, value: P extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" ? {
|
|
1930
1840
|
type: "requestExample";
|
|
1931
|
-
uid: string
|
|
1841
|
+
uid: string & import("zod").BRAND<"example">;
|
|
1932
1842
|
name: string;
|
|
1933
1843
|
parameters: {
|
|
1934
1844
|
path: {
|
|
@@ -2023,11 +1933,11 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2023
1933
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2024
1934
|
} | undefined;
|
|
2025
1935
|
};
|
|
2026
|
-
requestUid
|
|
1936
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2027
1937
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2028
1938
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2029
1939
|
type: "requestExample";
|
|
2030
|
-
uid: string
|
|
1940
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2031
1941
|
name: string;
|
|
2032
1942
|
parameters: {
|
|
2033
1943
|
path: {
|
|
@@ -2122,11 +2032,11 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2122
2032
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2123
2033
|
} | undefined;
|
|
2124
2034
|
};
|
|
2125
|
-
requestUid
|
|
2035
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2126
2036
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2127
2037
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2128
2038
|
type: "requestExample";
|
|
2129
|
-
uid: string
|
|
2039
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2130
2040
|
name: string;
|
|
2131
2041
|
parameters: {
|
|
2132
2042
|
path: {
|
|
@@ -2221,12 +2131,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2221
2131
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2222
2132
|
} | undefined;
|
|
2223
2133
|
};
|
|
2224
|
-
requestUid
|
|
2134
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2225
2135
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2226
2136
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2227
|
-
untrackedEdit: <P extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" | "body.
|
|
2137
|
+
untrackedEdit: <P extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" | "body.formData.value" | "parameters.cookies" | `parameters.cookies.${number}` | "parameters.path" | "parameters.headers" | "parameters.query" | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.examples` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.type.${number}` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.examples.${number}` | `parameters.cookies.${number}.file.${string}` | `parameters.cookies.${number}.enum.${number}` | `parameters.path.${number}` | `parameters.path.${number}.description` | `parameters.path.${number}.type` | `parameters.path.${number}.default` | `parameters.path.${number}.key` | `parameters.path.${number}.required` | `parameters.path.${number}.examples` | `parameters.path.${number}.file` | `parameters.path.${number}.value` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.enabled` | `parameters.path.${number}.minimum` | `parameters.path.${number}.maximum` | `parameters.path.${number}.format` | `parameters.path.${number}.type.${number}` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.examples.${number}` | `parameters.path.${number}.file.${string}` | `parameters.path.${number}.enum.${number}` | `parameters.headers.${number}` | `parameters.headers.${number}.description` | `parameters.headers.${number}.type` | `parameters.headers.${number}.default` | `parameters.headers.${number}.key` | `parameters.headers.${number}.required` | `parameters.headers.${number}.examples` | `parameters.headers.${number}.file` | `parameters.headers.${number}.value` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.format` | `parameters.headers.${number}.type.${number}` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.examples.${number}` | `parameters.headers.${number}.file.${string}` | `parameters.headers.${number}.enum.${number}` | `parameters.query.${number}` | `parameters.query.${number}.description` | `parameters.query.${number}.type` | `parameters.query.${number}.default` | `parameters.query.${number}.key` | `parameters.query.${number}.required` | `parameters.query.${number}.examples` | `parameters.query.${number}.file` | `parameters.query.${number}.value` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.enabled` | `parameters.query.${number}.minimum` | `parameters.query.${number}.maximum` | `parameters.query.${number}.format` | `parameters.query.${number}.type.${number}` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.examples.${number}` | `parameters.query.${number}.file.${string}` | `parameters.query.${number}.enum.${number}` | "body.binary" | "body.formData" | "body.raw" | "body.activeBody" | "body.binary.type" | "body.binary.size" | "body.binary.slice" | "body.binary.text" | "body.binary.arrayBuffer" | "body.binary.stream" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.description` | `body.formData.value.${number}.type` | `body.formData.value.${number}.default` | `body.formData.value.${number}.key` | `body.formData.value.${number}.required` | `body.formData.value.${number}.examples` | `body.formData.value.${number}.file` | `body.formData.value.${number}.value` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.format` | `body.formData.value.${number}.type.${number}` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.examples.${number}` | `body.formData.value.${number}.file.${string}` | `body.formData.value.${number}.enum.${number}` | "body.raw.value" | "body.raw.encoding" | `serverVariables.${string}`>(uid: string & import("zod").BRAND<"example">, path: P, value: P extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" ? {
|
|
2228
2138
|
type: "requestExample";
|
|
2229
|
-
uid: string
|
|
2139
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2230
2140
|
name: string;
|
|
2231
2141
|
parameters: {
|
|
2232
2142
|
path: {
|
|
@@ -2321,11 +2231,11 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2321
2231
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2322
2232
|
} | undefined;
|
|
2323
2233
|
};
|
|
2324
|
-
requestUid
|
|
2234
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2325
2235
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2326
2236
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2327
2237
|
type: "requestExample";
|
|
2328
|
-
uid: string
|
|
2238
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2329
2239
|
name: string;
|
|
2330
2240
|
parameters: {
|
|
2331
2241
|
path: {
|
|
@@ -2420,11 +2330,11 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2420
2330
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2421
2331
|
} | undefined;
|
|
2422
2332
|
};
|
|
2423
|
-
requestUid
|
|
2333
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2424
2334
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2425
2335
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2426
2336
|
type: "requestExample";
|
|
2427
|
-
uid: string
|
|
2337
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2428
2338
|
name: string;
|
|
2429
2339
|
parameters: {
|
|
2430
2340
|
path: {
|
|
@@ -2519,11 +2429,11 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2519
2429
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2520
2430
|
} | undefined;
|
|
2521
2431
|
};
|
|
2522
|
-
requestUid
|
|
2432
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2523
2433
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2524
2434
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2525
|
-
undo: (uid: string) => void;
|
|
2526
|
-
redo: (uid: string) => void;
|
|
2435
|
+
undo: (uid: string & import("zod").BRAND<"example">) => void;
|
|
2436
|
+
redo: (uid: string & import("zod").BRAND<"example">) => void;
|
|
2527
2437
|
reset: () => void;
|
|
2528
2438
|
};
|
|
2529
2439
|
requestHistory: import("vue").Reactive<import("@scalar/oas-utils/entities/spec").RequestEvent[]>;
|
|
@@ -2531,14 +2441,14 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2531
2441
|
rawAdd: (item: {
|
|
2532
2442
|
type: "apiKey";
|
|
2533
2443
|
value: string;
|
|
2534
|
-
uid: string
|
|
2444
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2535
2445
|
name: string;
|
|
2536
2446
|
nameKey: string;
|
|
2537
|
-
in: "
|
|
2447
|
+
in: "cookie" | "query" | "header";
|
|
2538
2448
|
description?: string | undefined;
|
|
2539
2449
|
} | {
|
|
2540
2450
|
type: "http";
|
|
2541
|
-
uid: string
|
|
2451
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2542
2452
|
nameKey: string;
|
|
2543
2453
|
scheme: "basic" | "bearer";
|
|
2544
2454
|
bearerFormat: string;
|
|
@@ -2548,13 +2458,13 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2548
2458
|
description?: string | undefined;
|
|
2549
2459
|
} | {
|
|
2550
2460
|
type: "openIdConnect";
|
|
2551
|
-
uid: string
|
|
2461
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2552
2462
|
nameKey: string;
|
|
2553
2463
|
openIdConnectUrl: string;
|
|
2554
2464
|
description?: string | undefined;
|
|
2555
2465
|
} | {
|
|
2556
2466
|
type: "oauth2";
|
|
2557
|
-
uid: string
|
|
2467
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2558
2468
|
nameKey: string;
|
|
2559
2469
|
flows: {
|
|
2560
2470
|
password?: {
|
|
@@ -2605,17 +2515,17 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2605
2515
|
};
|
|
2606
2516
|
description?: string | undefined;
|
|
2607
2517
|
}) => void;
|
|
2608
|
-
add: (payload: import("@scalar/oas-utils/entities/spec").SecuritySchemePayload, collectionUid:
|
|
2518
|
+
add: (payload: import("@scalar/oas-utils/entities/spec").SecuritySchemePayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => {
|
|
2609
2519
|
type: "apiKey";
|
|
2610
2520
|
value: string;
|
|
2611
|
-
uid: string
|
|
2521
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2612
2522
|
name: string;
|
|
2613
2523
|
nameKey: string;
|
|
2614
|
-
in: "
|
|
2524
|
+
in: "cookie" | "query" | "header";
|
|
2615
2525
|
description?: string | undefined;
|
|
2616
2526
|
} | {
|
|
2617
2527
|
type: "http";
|
|
2618
|
-
uid: string
|
|
2528
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2619
2529
|
nameKey: string;
|
|
2620
2530
|
scheme: "basic" | "bearer";
|
|
2621
2531
|
bearerFormat: string;
|
|
@@ -2625,13 +2535,13 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2625
2535
|
description?: string | undefined;
|
|
2626
2536
|
} | {
|
|
2627
2537
|
type: "openIdConnect";
|
|
2628
|
-
uid: string
|
|
2538
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2629
2539
|
nameKey: string;
|
|
2630
2540
|
openIdConnectUrl: string;
|
|
2631
2541
|
description?: string | undefined;
|
|
2632
2542
|
} | {
|
|
2633
2543
|
type: "oauth2";
|
|
2634
|
-
uid: string
|
|
2544
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2635
2545
|
nameKey: string;
|
|
2636
2546
|
flows: {
|
|
2637
2547
|
password?: {
|
|
@@ -2682,18 +2592,18 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2682
2592
|
};
|
|
2683
2593
|
description?: string | undefined;
|
|
2684
2594
|
};
|
|
2685
|
-
delete: (schemeUid:
|
|
2595
|
+
delete: (schemeUid: import("@scalar/oas-utils/entities/spec").SecurityScheme["uid"]) => void;
|
|
2686
2596
|
set: (item: {
|
|
2687
2597
|
type: "apiKey";
|
|
2688
2598
|
value: string;
|
|
2689
|
-
uid: string
|
|
2599
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2690
2600
|
name: string;
|
|
2691
2601
|
nameKey: string;
|
|
2692
|
-
in: "
|
|
2602
|
+
in: "cookie" | "query" | "header";
|
|
2693
2603
|
description?: string | undefined;
|
|
2694
2604
|
} | {
|
|
2695
2605
|
type: "http";
|
|
2696
|
-
uid: string
|
|
2606
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2697
2607
|
nameKey: string;
|
|
2698
2608
|
scheme: "basic" | "bearer";
|
|
2699
2609
|
bearerFormat: string;
|
|
@@ -2703,13 +2613,13 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2703
2613
|
description?: string | undefined;
|
|
2704
2614
|
} | {
|
|
2705
2615
|
type: "openIdConnect";
|
|
2706
|
-
uid: string
|
|
2616
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2707
2617
|
nameKey: string;
|
|
2708
2618
|
openIdConnectUrl: string;
|
|
2709
2619
|
description?: string | undefined;
|
|
2710
2620
|
} | {
|
|
2711
2621
|
type: "oauth2";
|
|
2712
|
-
uid: string
|
|
2622
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2713
2623
|
nameKey: string;
|
|
2714
2624
|
flows: {
|
|
2715
2625
|
password?: {
|
|
@@ -2760,33 +2670,33 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2760
2670
|
};
|
|
2761
2671
|
description?: string | undefined;
|
|
2762
2672
|
}) => void;
|
|
2763
|
-
edit: <P extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "flows" | "value" | "password" | "token" | "username" | "flows.implicit" | "flows.password" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.x-scalar-redirect-uri" | "flows.implicit.x-scalar-client-id" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.authorizationUrl" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.password.type" | "flows.password.password" | "flows.password.token" | "flows.password.x-scalar-client-id" | "flows.password.username" | "flows.password.tokenUrl" | "flows.password.clientSecret" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.x-usePkce" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.authorizationUrl" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}`>(uid: string, path: P, value: (P extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "value" ? {
|
|
2673
|
+
edit: <P extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "flows" | "value" | "password" | "token" | "username" | "flows.implicit" | "flows.password" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.x-scalar-redirect-uri" | "flows.implicit.x-scalar-client-id" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.authorizationUrl" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.password.type" | "flows.password.password" | "flows.password.token" | "flows.password.x-scalar-client-id" | "flows.password.username" | "flows.password.tokenUrl" | "flows.password.clientSecret" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.x-usePkce" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.authorizationUrl" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}`>(uid: (string & import("zod").BRAND<"securityScheme">) | null | undefined, path: P, value: (P extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "value" ? {
|
|
2764
2674
|
type: "apiKey";
|
|
2765
2675
|
value: string;
|
|
2766
|
-
uid: string
|
|
2676
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2767
2677
|
name: string;
|
|
2768
2678
|
nameKey: string;
|
|
2769
|
-
in: "
|
|
2679
|
+
in: "cookie" | "query" | "header";
|
|
2770
2680
|
description?: string | undefined;
|
|
2771
2681
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "value" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2772
2682
|
type: "apiKey";
|
|
2773
2683
|
value: string;
|
|
2774
|
-
uid: string
|
|
2684
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2775
2685
|
name: string;
|
|
2776
2686
|
nameKey: string;
|
|
2777
|
-
in: "
|
|
2687
|
+
in: "cookie" | "query" | "header";
|
|
2778
2688
|
description?: string | undefined;
|
|
2779
2689
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2780
2690
|
type: "apiKey";
|
|
2781
2691
|
value: string;
|
|
2782
|
-
uid: string
|
|
2692
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2783
2693
|
name: string;
|
|
2784
2694
|
nameKey: string;
|
|
2785
|
-
in: "
|
|
2695
|
+
in: "cookie" | "query" | "header";
|
|
2786
2696
|
description?: string | undefined;
|
|
2787
2697
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "token" | "username" ? {
|
|
2788
2698
|
type: "http";
|
|
2789
|
-
uid: string
|
|
2699
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2790
2700
|
nameKey: string;
|
|
2791
2701
|
scheme: "basic" | "bearer";
|
|
2792
2702
|
bearerFormat: string;
|
|
@@ -2796,7 +2706,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2796
2706
|
description?: string | undefined;
|
|
2797
2707
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "token" | "username" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2798
2708
|
type: "http";
|
|
2799
|
-
uid: string
|
|
2709
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2800
2710
|
nameKey: string;
|
|
2801
2711
|
scheme: "basic" | "bearer";
|
|
2802
2712
|
bearerFormat: string;
|
|
@@ -2806,7 +2716,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2806
2716
|
description?: string | undefined;
|
|
2807
2717
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2808
2718
|
type: "http";
|
|
2809
|
-
uid: string
|
|
2719
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2810
2720
|
nameKey: string;
|
|
2811
2721
|
scheme: "basic" | "bearer";
|
|
2812
2722
|
bearerFormat: string;
|
|
@@ -2816,25 +2726,25 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2816
2726
|
description?: string | undefined;
|
|
2817
2727
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? {
|
|
2818
2728
|
type: "openIdConnect";
|
|
2819
|
-
uid: string
|
|
2729
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2820
2730
|
nameKey: string;
|
|
2821
2731
|
openIdConnectUrl: string;
|
|
2822
2732
|
description?: string | undefined;
|
|
2823
2733
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2824
2734
|
type: "openIdConnect";
|
|
2825
|
-
uid: string
|
|
2735
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2826
2736
|
nameKey: string;
|
|
2827
2737
|
openIdConnectUrl: string;
|
|
2828
2738
|
description?: string | undefined;
|
|
2829
2739
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2830
2740
|
type: "openIdConnect";
|
|
2831
|
-
uid: string
|
|
2741
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2832
2742
|
nameKey: string;
|
|
2833
2743
|
openIdConnectUrl: string;
|
|
2834
2744
|
description?: string | undefined;
|
|
2835
2745
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
|
|
2836
2746
|
type: "oauth2";
|
|
2837
|
-
uid: string
|
|
2747
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2838
2748
|
nameKey: string;
|
|
2839
2749
|
flows: {
|
|
2840
2750
|
password?: {
|
|
@@ -2886,7 +2796,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2886
2796
|
description?: string | undefined;
|
|
2887
2797
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "flows" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2888
2798
|
type: "oauth2";
|
|
2889
|
-
uid: string
|
|
2799
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2890
2800
|
nameKey: string;
|
|
2891
2801
|
flows: {
|
|
2892
2802
|
password?: {
|
|
@@ -2938,7 +2848,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2938
2848
|
description?: string | undefined;
|
|
2939
2849
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2940
2850
|
type: "oauth2";
|
|
2941
|
-
uid: string
|
|
2851
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2942
2852
|
nameKey: string;
|
|
2943
2853
|
flows: {
|
|
2944
2854
|
password?: {
|
|
@@ -2989,33 +2899,33 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
2989
2899
|
};
|
|
2990
2900
|
description?: string | undefined;
|
|
2991
2901
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
2992
|
-
untrackedEdit: <P extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "flows" | "value" | "password" | "token" | "username" | "flows.implicit" | "flows.password" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.x-scalar-redirect-uri" | "flows.implicit.x-scalar-client-id" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.authorizationUrl" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.password.type" | "flows.password.password" | "flows.password.token" | "flows.password.x-scalar-client-id" | "flows.password.username" | "flows.password.tokenUrl" | "flows.password.clientSecret" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.x-usePkce" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.authorizationUrl" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}`>(uid: string
|
|
2902
|
+
untrackedEdit: <P extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "flows" | "value" | "password" | "token" | "username" | "flows.implicit" | "flows.password" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.x-scalar-redirect-uri" | "flows.implicit.x-scalar-client-id" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.authorizationUrl" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.password.type" | "flows.password.password" | "flows.password.token" | "flows.password.x-scalar-client-id" | "flows.password.username" | "flows.password.tokenUrl" | "flows.password.clientSecret" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.x-usePkce" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.authorizationUrl" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}`>(uid: string & import("zod").BRAND<"securityScheme">, path: P, value: (P extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "value" ? {
|
|
2993
2903
|
type: "apiKey";
|
|
2994
2904
|
value: string;
|
|
2995
|
-
uid: string
|
|
2905
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2996
2906
|
name: string;
|
|
2997
2907
|
nameKey: string;
|
|
2998
|
-
in: "
|
|
2908
|
+
in: "cookie" | "query" | "header";
|
|
2999
2909
|
description?: string | undefined;
|
|
3000
2910
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "value" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3001
2911
|
type: "apiKey";
|
|
3002
2912
|
value: string;
|
|
3003
|
-
uid: string
|
|
2913
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3004
2914
|
name: string;
|
|
3005
2915
|
nameKey: string;
|
|
3006
|
-
in: "
|
|
2916
|
+
in: "cookie" | "query" | "header";
|
|
3007
2917
|
description?: string | undefined;
|
|
3008
2918
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3009
2919
|
type: "apiKey";
|
|
3010
2920
|
value: string;
|
|
3011
|
-
uid: string
|
|
2921
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3012
2922
|
name: string;
|
|
3013
2923
|
nameKey: string;
|
|
3014
|
-
in: "
|
|
2924
|
+
in: "cookie" | "query" | "header";
|
|
3015
2925
|
description?: string | undefined;
|
|
3016
2926
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "token" | "username" ? {
|
|
3017
2927
|
type: "http";
|
|
3018
|
-
uid: string
|
|
2928
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3019
2929
|
nameKey: string;
|
|
3020
2930
|
scheme: "basic" | "bearer";
|
|
3021
2931
|
bearerFormat: string;
|
|
@@ -3025,7 +2935,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3025
2935
|
description?: string | undefined;
|
|
3026
2936
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "token" | "username" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3027
2937
|
type: "http";
|
|
3028
|
-
uid: string
|
|
2938
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3029
2939
|
nameKey: string;
|
|
3030
2940
|
scheme: "basic" | "bearer";
|
|
3031
2941
|
bearerFormat: string;
|
|
@@ -3035,7 +2945,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3035
2945
|
description?: string | undefined;
|
|
3036
2946
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3037
2947
|
type: "http";
|
|
3038
|
-
uid: string
|
|
2948
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3039
2949
|
nameKey: string;
|
|
3040
2950
|
scheme: "basic" | "bearer";
|
|
3041
2951
|
bearerFormat: string;
|
|
@@ -3045,25 +2955,25 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3045
2955
|
description?: string | undefined;
|
|
3046
2956
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? {
|
|
3047
2957
|
type: "openIdConnect";
|
|
3048
|
-
uid: string
|
|
2958
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3049
2959
|
nameKey: string;
|
|
3050
2960
|
openIdConnectUrl: string;
|
|
3051
2961
|
description?: string | undefined;
|
|
3052
2962
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3053
2963
|
type: "openIdConnect";
|
|
3054
|
-
uid: string
|
|
2964
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3055
2965
|
nameKey: string;
|
|
3056
2966
|
openIdConnectUrl: string;
|
|
3057
2967
|
description?: string | undefined;
|
|
3058
2968
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3059
2969
|
type: "openIdConnect";
|
|
3060
|
-
uid: string
|
|
2970
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3061
2971
|
nameKey: string;
|
|
3062
2972
|
openIdConnectUrl: string;
|
|
3063
2973
|
description?: string | undefined;
|
|
3064
2974
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
|
|
3065
2975
|
type: "oauth2";
|
|
3066
|
-
uid: string
|
|
2976
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3067
2977
|
nameKey: string;
|
|
3068
2978
|
flows: {
|
|
3069
2979
|
password?: {
|
|
@@ -3115,7 +3025,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3115
3025
|
description?: string | undefined;
|
|
3116
3026
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "flows" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3117
3027
|
type: "oauth2";
|
|
3118
|
-
uid: string
|
|
3028
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3119
3029
|
nameKey: string;
|
|
3120
3030
|
flows: {
|
|
3121
3031
|
password?: {
|
|
@@ -3167,7 +3077,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3167
3077
|
description?: string | undefined;
|
|
3168
3078
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3169
3079
|
type: "oauth2";
|
|
3170
|
-
uid: string
|
|
3080
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3171
3081
|
nameKey: string;
|
|
3172
3082
|
flows: {
|
|
3173
3083
|
password?: {
|
|
@@ -3218,13 +3128,13 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3218
3128
|
};
|
|
3219
3129
|
description?: string | undefined;
|
|
3220
3130
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
3221
|
-
undo: (uid: string) => void;
|
|
3222
|
-
redo: (uid: string) => void;
|
|
3131
|
+
undo: (uid: string & import("zod").BRAND<"securityScheme">) => void;
|
|
3132
|
+
redo: (uid: string & import("zod").BRAND<"securityScheme">) => void;
|
|
3223
3133
|
reset: () => void;
|
|
3224
3134
|
};
|
|
3225
3135
|
serverMutators: {
|
|
3226
3136
|
rawAdd: (item: {
|
|
3227
|
-
uid: string
|
|
3137
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3228
3138
|
url: string;
|
|
3229
3139
|
description?: string | undefined;
|
|
3230
3140
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3233,7 +3143,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3233
3143
|
}> | undefined;
|
|
3234
3144
|
}) => void;
|
|
3235
3145
|
add: (payload: import("@scalar/oas-utils/entities/spec").ServerPayload, parentUid: string) => {
|
|
3236
|
-
uid: string
|
|
3146
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3237
3147
|
url: string;
|
|
3238
3148
|
description?: string | undefined;
|
|
3239
3149
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3241,9 +3151,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3241
3151
|
value?: string;
|
|
3242
3152
|
}> | undefined;
|
|
3243
3153
|
};
|
|
3244
|
-
delete: (serverUid:
|
|
3154
|
+
delete: (serverUid: import("@scalar/oas-utils/entities/spec").Server["uid"], collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
3245
3155
|
set: (item: {
|
|
3246
|
-
uid: string
|
|
3156
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3247
3157
|
url: string;
|
|
3248
3158
|
description?: string | undefined;
|
|
3249
3159
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3251,8 +3161,8 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3251
3161
|
value?: string;
|
|
3252
3162
|
}> | undefined;
|
|
3253
3163
|
}) => void;
|
|
3254
|
-
edit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: string, path: P, value: P extends "description" | "uid" | "url" | "variables" ? {
|
|
3255
|
-
uid: string
|
|
3164
|
+
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" ? {
|
|
3165
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3256
3166
|
url: string;
|
|
3257
3167
|
description?: string | undefined;
|
|
3258
3168
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3260,7 +3170,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3260
3170
|
value?: string;
|
|
3261
3171
|
}> | undefined;
|
|
3262
3172
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "uid" | "url" | "variables" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3263
|
-
uid: string
|
|
3173
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3264
3174
|
url: string;
|
|
3265
3175
|
description?: string | undefined;
|
|
3266
3176
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3268,7 +3178,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3268
3178
|
value?: string;
|
|
3269
3179
|
}> | undefined;
|
|
3270
3180
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3271
|
-
uid: string
|
|
3181
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3272
3182
|
url: string;
|
|
3273
3183
|
description?: string | undefined;
|
|
3274
3184
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3276,8 +3186,8 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3276
3186
|
value?: string;
|
|
3277
3187
|
}> | undefined;
|
|
3278
3188
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3279
|
-
untrackedEdit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: string
|
|
3280
|
-
uid: string
|
|
3189
|
+
untrackedEdit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: string & import("zod").BRAND<"server">, path: P, value: P extends "description" | "uid" | "url" | "variables" ? {
|
|
3190
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3281
3191
|
url: string;
|
|
3282
3192
|
description?: string | undefined;
|
|
3283
3193
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3285,7 +3195,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3285
3195
|
value?: string;
|
|
3286
3196
|
}> | undefined;
|
|
3287
3197
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "uid" | "url" | "variables" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3288
|
-
uid: string
|
|
3198
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3289
3199
|
url: string;
|
|
3290
3200
|
description?: string | undefined;
|
|
3291
3201
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3293,7 +3203,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3293
3203
|
value?: string;
|
|
3294
3204
|
}> | undefined;
|
|
3295
3205
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3296
|
-
uid: string
|
|
3206
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3297
3207
|
url: string;
|
|
3298
3208
|
description?: string | undefined;
|
|
3299
3209
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3301,16 +3211,16 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3301
3211
|
value?: string;
|
|
3302
3212
|
}> | undefined;
|
|
3303
3213
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3304
|
-
undo: (uid: string) => void;
|
|
3305
|
-
redo: (uid: string) => void;
|
|
3214
|
+
undo: (uid: string & import("zod").BRAND<"server">) => void;
|
|
3215
|
+
redo: (uid: string & import("zod").BRAND<"server">) => void;
|
|
3306
3216
|
reset: () => void;
|
|
3307
3217
|
};
|
|
3308
3218
|
tagMutators: {
|
|
3309
3219
|
rawAdd: (item: {
|
|
3310
3220
|
type: "tag";
|
|
3311
|
-
uid: string
|
|
3221
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3312
3222
|
name: string;
|
|
3313
|
-
children: string[];
|
|
3223
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3314
3224
|
description?: string | undefined;
|
|
3315
3225
|
externalDocs?: {
|
|
3316
3226
|
url: string;
|
|
@@ -3322,11 +3232,11 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3322
3232
|
'x-internal'?: boolean | undefined;
|
|
3323
3233
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3324
3234
|
}) => void;
|
|
3325
|
-
add: (payload: import("@scalar/oas-utils/entities/spec").TagPayload, collectionUid:
|
|
3235
|
+
add: (payload: import("@scalar/oas-utils/entities/spec").TagPayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void | {
|
|
3326
3236
|
type: "tag";
|
|
3327
|
-
uid: string
|
|
3237
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3328
3238
|
name: string;
|
|
3329
|
-
children: string[];
|
|
3239
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3330
3240
|
description?: string | undefined;
|
|
3331
3241
|
externalDocs?: {
|
|
3332
3242
|
url: string;
|
|
@@ -3338,12 +3248,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3338
3248
|
'x-internal'?: boolean | undefined;
|
|
3339
3249
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3340
3250
|
};
|
|
3341
|
-
delete: (tag: import("@scalar/oas-utils/entities/spec").Tag, collectionUid:
|
|
3251
|
+
delete: (tag: import("@scalar/oas-utils/entities/spec").Tag, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
3342
3252
|
set: (item: {
|
|
3343
3253
|
type: "tag";
|
|
3344
|
-
uid: string
|
|
3254
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3345
3255
|
name: string;
|
|
3346
|
-
children: string[];
|
|
3256
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3347
3257
|
description?: string | undefined;
|
|
3348
3258
|
externalDocs?: {
|
|
3349
3259
|
url: string;
|
|
@@ -3355,11 +3265,11 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3355
3265
|
'x-internal'?: boolean | undefined;
|
|
3356
3266
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3357
3267
|
}) => void;
|
|
3358
|
-
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, path: P, value: P extends "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "type" | "name" | "uid" | "children" | "x-scalar-children" ? {
|
|
3268
|
+
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" ? {
|
|
3359
3269
|
type: "tag";
|
|
3360
|
-
uid: string
|
|
3270
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3361
3271
|
name: string;
|
|
3362
|
-
children: string[];
|
|
3272
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3363
3273
|
description?: string | undefined;
|
|
3364
3274
|
externalDocs?: {
|
|
3365
3275
|
url: string;
|
|
@@ -3372,9 +3282,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3372
3282
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3373
3283
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "type" | "name" | "uid" | "children" | "x-scalar-children" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3374
3284
|
type: "tag";
|
|
3375
|
-
uid: string
|
|
3285
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3376
3286
|
name: string;
|
|
3377
|
-
children: string[];
|
|
3287
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3378
3288
|
description?: string | undefined;
|
|
3379
3289
|
externalDocs?: {
|
|
3380
3290
|
url: string;
|
|
@@ -3387,9 +3297,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3387
3297
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3388
3298
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3389
3299
|
type: "tag";
|
|
3390
|
-
uid: string
|
|
3300
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3391
3301
|
name: string;
|
|
3392
|
-
children: string[];
|
|
3302
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3393
3303
|
description?: string | undefined;
|
|
3394
3304
|
externalDocs?: {
|
|
3395
3305
|
url: string;
|
|
@@ -3401,11 +3311,11 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3401
3311
|
'x-internal'?: boolean | undefined;
|
|
3402
3312
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3403
3313
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3404
|
-
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
|
|
3314
|
+
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" ? {
|
|
3405
3315
|
type: "tag";
|
|
3406
|
-
uid: string
|
|
3316
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3407
3317
|
name: string;
|
|
3408
|
-
children: string[];
|
|
3318
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3409
3319
|
description?: string | undefined;
|
|
3410
3320
|
externalDocs?: {
|
|
3411
3321
|
url: string;
|
|
@@ -3418,9 +3328,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3418
3328
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3419
3329
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "type" | "name" | "uid" | "children" | "x-scalar-children" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3420
3330
|
type: "tag";
|
|
3421
|
-
uid: string
|
|
3331
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3422
3332
|
name: string;
|
|
3423
|
-
children: string[];
|
|
3333
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3424
3334
|
description?: string | undefined;
|
|
3425
3335
|
externalDocs?: {
|
|
3426
3336
|
url: string;
|
|
@@ -3433,9 +3343,9 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3433
3343
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3434
3344
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3435
3345
|
type: "tag";
|
|
3436
|
-
uid: string
|
|
3346
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3437
3347
|
name: string;
|
|
3438
|
-
children: string[];
|
|
3348
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3439
3349
|
description?: string | undefined;
|
|
3440
3350
|
externalDocs?: {
|
|
3441
3351
|
url: string;
|
|
@@ -3447,19 +3357,19 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3447
3357
|
'x-internal'?: boolean | undefined;
|
|
3448
3358
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3449
3359
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3450
|
-
undo: (uid: string) => void;
|
|
3451
|
-
redo: (uid: string) => void;
|
|
3360
|
+
undo: (uid: string & import("zod").BRAND<"tag">) => void;
|
|
3361
|
+
redo: (uid: string & import("zod").BRAND<"tag">) => void;
|
|
3452
3362
|
reset: () => void;
|
|
3453
3363
|
};
|
|
3454
3364
|
workspaceMutators: {
|
|
3455
3365
|
rawAdd: (item: {
|
|
3456
|
-
uid: string
|
|
3366
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3457
3367
|
name: string;
|
|
3458
3368
|
description: string;
|
|
3459
|
-
collections: string[];
|
|
3369
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3460
3370
|
environments: Record<string, string>;
|
|
3461
3371
|
activeEnvironmentId: string;
|
|
3462
|
-
cookies: string[];
|
|
3372
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3463
3373
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3464
3374
|
selectedHttpClient: {
|
|
3465
3375
|
targetKey: string;
|
|
@@ -3475,13 +3385,13 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3475
3385
|
proxyUrl?: string | undefined;
|
|
3476
3386
|
}) => void;
|
|
3477
3387
|
add: (payload?: Partial<import("@scalar/oas-utils/entities").Workspace>) => {
|
|
3478
|
-
uid: string
|
|
3388
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3479
3389
|
name: string;
|
|
3480
3390
|
description: string;
|
|
3481
|
-
collections: string[];
|
|
3391
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3482
3392
|
environments: Record<string, string>;
|
|
3483
3393
|
activeEnvironmentId: string;
|
|
3484
|
-
cookies: string[];
|
|
3394
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3485
3395
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3486
3396
|
selectedHttpClient: {
|
|
3487
3397
|
targetKey: string;
|
|
@@ -3496,15 +3406,15 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3496
3406
|
} | undefined;
|
|
3497
3407
|
proxyUrl?: string | undefined;
|
|
3498
3408
|
};
|
|
3499
|
-
delete: (uid:
|
|
3409
|
+
delete: (uid: import("@scalar/oas-utils/entities").Workspace["uid"]) => void;
|
|
3500
3410
|
set: (item: {
|
|
3501
|
-
uid: string
|
|
3411
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3502
3412
|
name: string;
|
|
3503
3413
|
description: string;
|
|
3504
|
-
collections: string[];
|
|
3414
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3505
3415
|
environments: Record<string, string>;
|
|
3506
3416
|
activeEnvironmentId: string;
|
|
3507
|
-
cookies: string[];
|
|
3417
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3508
3418
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3509
3419
|
selectedHttpClient: {
|
|
3510
3420
|
targetKey: string;
|
|
@@ -3519,14 +3429,14 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3519
3429
|
} | undefined;
|
|
3520
3430
|
proxyUrl?: string | undefined;
|
|
3521
3431
|
}) => void;
|
|
3522
|
-
edit: <P extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" | `cookies.${number}` | `collections.${number}` | `environments.${string}` | "selectedHttpClient.targetKey" | "selectedHttpClient.clientKey" | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys./" | "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.0" | "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.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.0.modifiers" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.0.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, path: P, value: P extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? {
|
|
3523
|
-
uid: string
|
|
3432
|
+
edit: <P extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" | `cookies.${number}` | `collections.${number}` | `environments.${string}` | "selectedHttpClient.targetKey" | "selectedHttpClient.clientKey" | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys./" | "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.0" | "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.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.0.modifiers" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.0.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 "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? {
|
|
3433
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3524
3434
|
name: string;
|
|
3525
3435
|
description: string;
|
|
3526
|
-
collections: string[];
|
|
3436
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3527
3437
|
environments: Record<string, string>;
|
|
3528
3438
|
activeEnvironmentId: string;
|
|
3529
|
-
cookies: string[];
|
|
3439
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3530
3440
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3531
3441
|
selectedHttpClient: {
|
|
3532
3442
|
targetKey: string;
|
|
@@ -3541,13 +3451,13 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3541
3451
|
} | undefined;
|
|
3542
3452
|
proxyUrl?: string | undefined;
|
|
3543
3453
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3544
|
-
uid: string
|
|
3454
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3545
3455
|
name: string;
|
|
3546
3456
|
description: string;
|
|
3547
|
-
collections: string[];
|
|
3457
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3548
3458
|
environments: Record<string, string>;
|
|
3549
3459
|
activeEnvironmentId: string;
|
|
3550
|
-
cookies: string[];
|
|
3460
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3551
3461
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3552
3462
|
selectedHttpClient: {
|
|
3553
3463
|
targetKey: string;
|
|
@@ -3562,13 +3472,13 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3562
3472
|
} | undefined;
|
|
3563
3473
|
proxyUrl?: string | undefined;
|
|
3564
3474
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3565
|
-
uid: string
|
|
3475
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3566
3476
|
name: string;
|
|
3567
3477
|
description: string;
|
|
3568
|
-
collections: string[];
|
|
3478
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3569
3479
|
environments: Record<string, string>;
|
|
3570
3480
|
activeEnvironmentId: string;
|
|
3571
|
-
cookies: string[];
|
|
3481
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3572
3482
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3573
3483
|
selectedHttpClient: {
|
|
3574
3484
|
targetKey: string;
|
|
@@ -3583,14 +3493,14 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3583
3493
|
} | undefined;
|
|
3584
3494
|
proxyUrl?: string | undefined;
|
|
3585
3495
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3586
|
-
untrackedEdit: <P extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" | `cookies.${number}` | `collections.${number}` | `environments.${string}` | "selectedHttpClient.targetKey" | "selectedHttpClient.clientKey" | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys./" | "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.0" | "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.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.0.modifiers" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.0.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, path: P, value: P extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? {
|
|
3587
|
-
uid: string
|
|
3496
|
+
untrackedEdit: <P extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" | `cookies.${number}` | `collections.${number}` | `environments.${string}` | "selectedHttpClient.targetKey" | "selectedHttpClient.clientKey" | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys./" | "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.0" | "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.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.0.modifiers" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.0.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 "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? {
|
|
3497
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3588
3498
|
name: string;
|
|
3589
3499
|
description: string;
|
|
3590
|
-
collections: string[];
|
|
3500
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3591
3501
|
environments: Record<string, string>;
|
|
3592
3502
|
activeEnvironmentId: string;
|
|
3593
|
-
cookies: string[];
|
|
3503
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3594
3504
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3595
3505
|
selectedHttpClient: {
|
|
3596
3506
|
targetKey: string;
|
|
@@ -3605,13 +3515,13 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3605
3515
|
} | undefined;
|
|
3606
3516
|
proxyUrl?: string | undefined;
|
|
3607
3517
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3608
|
-
uid: string
|
|
3518
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3609
3519
|
name: string;
|
|
3610
3520
|
description: string;
|
|
3611
|
-
collections: string[];
|
|
3521
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3612
3522
|
environments: Record<string, string>;
|
|
3613
3523
|
activeEnvironmentId: string;
|
|
3614
|
-
cookies: string[];
|
|
3524
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3615
3525
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3616
3526
|
selectedHttpClient: {
|
|
3617
3527
|
targetKey: string;
|
|
@@ -3626,13 +3536,13 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3626
3536
|
} | undefined;
|
|
3627
3537
|
proxyUrl?: string | undefined;
|
|
3628
3538
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3629
|
-
uid: string
|
|
3539
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3630
3540
|
name: string;
|
|
3631
3541
|
description: string;
|
|
3632
|
-
collections: string[];
|
|
3542
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3633
3543
|
environments: Record<string, string>;
|
|
3634
3544
|
activeEnvironmentId: string;
|
|
3635
|
-
cookies: string[];
|
|
3545
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3636
3546
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3637
3547
|
selectedHttpClient: {
|
|
3638
3548
|
targetKey: string;
|
|
@@ -3647,12 +3557,12 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
3647
3557
|
} | undefined;
|
|
3648
3558
|
proxyUrl?: string | undefined;
|
|
3649
3559
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3650
|
-
undo: (uid: string) => void;
|
|
3651
|
-
redo: (uid: string) => void;
|
|
3560
|
+
undo: (uid: string & import("zod").BRAND<"workspace">) => void;
|
|
3561
|
+
redo: (uid: string & import("zod").BRAND<"workspace">) => void;
|
|
3652
3562
|
reset: () => void;
|
|
3653
3563
|
};
|
|
3654
|
-
addCollectionEnvironment: (environmentName: string, environment: import("@scalar/oas-utils/entities/spec").XScalarEnvironment, collectionUid:
|
|
3655
|
-
removeCollectionEnvironment: (environmentName: string, collectionUid:
|
|
3564
|
+
addCollectionEnvironment: (environmentName: string, environment: import("@scalar/oas-utils/entities/spec").XScalarEnvironment, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
3565
|
+
removeCollectionEnvironment: (environmentName: string, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
3656
3566
|
};
|
|
3657
3567
|
updateExample: (exampleKey: string, operationId: string) => void;
|
|
3658
3568
|
}>;
|