@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
|
@@ -25,13 +25,13 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
25
25
|
};
|
|
26
26
|
store: {
|
|
27
27
|
workspaces: Record<string, {
|
|
28
|
-
uid: string
|
|
28
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
29
29
|
name: string;
|
|
30
30
|
description: string;
|
|
31
|
-
collections: string[];
|
|
31
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
32
32
|
environments: Record<string, string>;
|
|
33
33
|
activeEnvironmentId: string;
|
|
34
|
-
cookies: string[];
|
|
34
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
35
35
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
36
36
|
selectedHttpClient: {
|
|
37
37
|
targetKey: string;
|
|
@@ -48,17 +48,16 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
48
48
|
}>;
|
|
49
49
|
collections: Record<string, {
|
|
50
50
|
type: "collection";
|
|
51
|
-
uid: string
|
|
52
|
-
children: string[];
|
|
51
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
52
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
53
53
|
openapi: string;
|
|
54
54
|
security: Record<string, string[]>[];
|
|
55
55
|
'x-scalar-icon': string;
|
|
56
56
|
securitySchemes: string[];
|
|
57
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
tags: string[];
|
|
57
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
58
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
59
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
60
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
62
61
|
watchMode: boolean;
|
|
63
62
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
64
63
|
externalDocs?: {
|
|
@@ -95,17 +94,18 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
95
94
|
color?: string | undefined;
|
|
96
95
|
}> | undefined;
|
|
97
96
|
'x-scalar-secrets'?: Record<string, {
|
|
98
|
-
description?: string | undefined;
|
|
99
97
|
example?: string | undefined;
|
|
98
|
+
description?: string | undefined;
|
|
100
99
|
}> | undefined;
|
|
100
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
101
101
|
documentUrl?: string | undefined;
|
|
102
102
|
integration?: string | null | undefined;
|
|
103
103
|
}>;
|
|
104
104
|
tags: Record<string, {
|
|
105
105
|
type: "tag";
|
|
106
|
-
uid: string
|
|
106
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
107
107
|
name: string;
|
|
108
|
-
children: string[];
|
|
108
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
109
109
|
description?: string | undefined;
|
|
110
110
|
externalDocs?: {
|
|
111
111
|
url: string;
|
|
@@ -119,21 +119,21 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
119
119
|
}>;
|
|
120
120
|
cookies: Record<string, {
|
|
121
121
|
value: string;
|
|
122
|
-
uid: string
|
|
122
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
123
123
|
name: string;
|
|
124
124
|
path?: string | undefined;
|
|
125
125
|
domain?: string | undefined;
|
|
126
126
|
}>;
|
|
127
127
|
environments: Record<string, {
|
|
128
128
|
value: string;
|
|
129
|
-
uid: string
|
|
129
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
130
130
|
name: string;
|
|
131
131
|
color: string;
|
|
132
132
|
isDefault?: boolean | undefined;
|
|
133
133
|
}>;
|
|
134
134
|
requestExamples: Record<string, {
|
|
135
135
|
type: "requestExample";
|
|
136
|
-
uid: string
|
|
136
|
+
uid: string & import("zod").BRAND<"example">;
|
|
137
137
|
name: string;
|
|
138
138
|
parameters: {
|
|
139
139
|
path: {
|
|
@@ -228,17 +228,17 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
228
228
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
229
229
|
} | undefined;
|
|
230
230
|
};
|
|
231
|
-
requestUid
|
|
231
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
232
232
|
serverVariables?: Record<string, string[]> | undefined;
|
|
233
233
|
}>;
|
|
234
234
|
requests: Record<string, {
|
|
235
235
|
path: string;
|
|
236
236
|
type: "request";
|
|
237
|
-
uid: string
|
|
238
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
239
|
-
selectedServerUid: string;
|
|
240
|
-
servers: string[];
|
|
241
|
-
examples: string[];
|
|
237
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
238
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
239
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
240
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
241
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
242
242
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
243
243
|
description?: string | undefined;
|
|
244
244
|
summary?: string | undefined;
|
|
@@ -255,10 +255,10 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
255
255
|
parameters?: {
|
|
256
256
|
required: boolean;
|
|
257
257
|
name: string;
|
|
258
|
-
in: "path" | "
|
|
258
|
+
in: "path" | "cookie" | "query" | "header";
|
|
259
259
|
deprecated: boolean;
|
|
260
|
-
description?: string | undefined;
|
|
261
260
|
example?: unknown;
|
|
261
|
+
description?: string | undefined;
|
|
262
262
|
schema?: unknown;
|
|
263
263
|
content?: unknown;
|
|
264
264
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -271,7 +271,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
271
271
|
responses?: Record<string, any> | undefined;
|
|
272
272
|
}>;
|
|
273
273
|
servers: Record<string, {
|
|
274
|
-
uid: string
|
|
274
|
+
uid: string & import("zod").BRAND<"server">;
|
|
275
275
|
url: string;
|
|
276
276
|
description?: string | undefined;
|
|
277
277
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -282,14 +282,14 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
282
282
|
securitySchemes: Record<string, {
|
|
283
283
|
type: "apiKey";
|
|
284
284
|
value: string;
|
|
285
|
-
uid: string
|
|
285
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
286
286
|
name: string;
|
|
287
287
|
nameKey: string;
|
|
288
|
-
in: "
|
|
288
|
+
in: "cookie" | "query" | "header";
|
|
289
289
|
description?: string | undefined;
|
|
290
290
|
} | {
|
|
291
291
|
type: "http";
|
|
292
|
-
uid: string
|
|
292
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
293
293
|
nameKey: string;
|
|
294
294
|
scheme: "basic" | "bearer";
|
|
295
295
|
bearerFormat: string;
|
|
@@ -299,13 +299,13 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
299
299
|
description?: string | undefined;
|
|
300
300
|
} | {
|
|
301
301
|
type: "openIdConnect";
|
|
302
|
-
uid: string
|
|
302
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
303
303
|
nameKey: string;
|
|
304
304
|
openIdConnectUrl: string;
|
|
305
305
|
description?: string | undefined;
|
|
306
306
|
} | {
|
|
307
307
|
type: "oauth2";
|
|
308
|
-
uid: string
|
|
308
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
309
309
|
nameKey: string;
|
|
310
310
|
flows: {
|
|
311
311
|
password?: {
|
|
@@ -383,7 +383,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
383
383
|
description?: string | undefined;
|
|
384
384
|
url?: string | undefined;
|
|
385
385
|
} | undefined;
|
|
386
|
-
children?:
|
|
386
|
+
children?: string[] | undefined;
|
|
387
387
|
openapi?: string | undefined;
|
|
388
388
|
jsonSchemaDialect?: string | undefined;
|
|
389
389
|
info?: {
|
|
@@ -417,15 +417,15 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
417
417
|
color?: string | undefined;
|
|
418
418
|
}> | undefined;
|
|
419
419
|
'x-scalar-secrets'?: Record<string, {
|
|
420
|
-
description?: string | undefined;
|
|
421
420
|
example?: string | undefined;
|
|
421
|
+
description?: string | undefined;
|
|
422
422
|
}> | undefined;
|
|
423
423
|
securitySchemes?: string[] | undefined;
|
|
424
|
-
selectedSecuritySchemeUids?: (string |
|
|
424
|
+
selectedSecuritySchemeUids?: (string | string[])[] | undefined;
|
|
425
425
|
selectedServerUid?: string | undefined;
|
|
426
|
-
servers?:
|
|
427
|
-
requests?:
|
|
428
|
-
tags?:
|
|
426
|
+
servers?: string[] | undefined;
|
|
427
|
+
requests?: string[] | undefined;
|
|
428
|
+
tags?: string[] | undefined;
|
|
429
429
|
documentUrl?: string | undefined;
|
|
430
430
|
watchMode?: boolean | undefined;
|
|
431
431
|
integration?: string | null | undefined;
|
|
@@ -434,59 +434,14 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
434
434
|
setCollectionSecurity?: boolean;
|
|
435
435
|
shouldLoad?: boolean;
|
|
436
436
|
} & Pick<import("@scalar/types").ReferenceConfiguration, "servers">) => Promise<{
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
selectedServerUid: string;
|
|
446
|
-
servers: string[];
|
|
447
|
-
requests: string[];
|
|
448
|
-
tags: string[];
|
|
449
|
-
watchMode: boolean;
|
|
450
|
-
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
451
|
-
externalDocs?: {
|
|
452
|
-
url: string;
|
|
453
|
-
description?: string | undefined;
|
|
454
|
-
} | undefined;
|
|
455
|
-
jsonSchemaDialect?: string | undefined;
|
|
456
|
-
info?: {
|
|
457
|
-
title: string;
|
|
458
|
-
version: string;
|
|
459
|
-
description?: string | undefined;
|
|
460
|
-
summary?: string | undefined;
|
|
461
|
-
termsOfService?: string | undefined;
|
|
462
|
-
contact?: {
|
|
463
|
-
name?: string | undefined;
|
|
464
|
-
url?: string | undefined;
|
|
465
|
-
email?: string | undefined;
|
|
466
|
-
} | undefined;
|
|
467
|
-
license?: {
|
|
468
|
-
name: string;
|
|
469
|
-
identifier?: string | undefined;
|
|
470
|
-
url?: string | undefined;
|
|
471
|
-
} | undefined;
|
|
472
|
-
} | undefined;
|
|
473
|
-
components?: Record<string, unknown> | undefined;
|
|
474
|
-
webhooks?: Record<string, unknown> | undefined;
|
|
475
|
-
'x-scalar-active-environment'?: string | undefined;
|
|
476
|
-
'x-scalar-environments'?: Record<string, {
|
|
477
|
-
variables: Record<string, string | {
|
|
478
|
-
default: string;
|
|
479
|
-
description?: string | undefined;
|
|
480
|
-
}>;
|
|
481
|
-
description?: string | undefined;
|
|
482
|
-
color?: string | undefined;
|
|
483
|
-
}> | undefined;
|
|
484
|
-
'x-scalar-secrets'?: Record<string, {
|
|
485
|
-
description?: string | undefined;
|
|
486
|
-
example?: string | undefined;
|
|
487
|
-
}> | undefined;
|
|
488
|
-
documentUrl?: string | undefined;
|
|
489
|
-
integration?: string | null | undefined;
|
|
437
|
+
error: false;
|
|
438
|
+
collection: import("@scalar/oas-utils/entities/spec").Collection;
|
|
439
|
+
requests: import("@scalar/oas-utils/entities/spec").Request[];
|
|
440
|
+
schema: import("@scalar/openapi-types").OpenAPIV3_1.Document;
|
|
441
|
+
examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
|
|
442
|
+
servers: import("@scalar/oas-utils/entities/spec").Server[];
|
|
443
|
+
tags: import("@scalar/oas-utils/entities/spec").Tag[];
|
|
444
|
+
securitySchemes: import("@scalar/oas-utils/entities/spec").SecurityScheme[];
|
|
490
445
|
} | undefined>;
|
|
491
446
|
importSpecFromUrl: (url: string, workspaceUid: string, { proxyUrl, ...options }?: Omit<Pick<{
|
|
492
447
|
type?: "collection" | undefined;
|
|
@@ -495,7 +450,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
495
450
|
description?: string | undefined;
|
|
496
451
|
url?: string | undefined;
|
|
497
452
|
} | undefined;
|
|
498
|
-
children?:
|
|
453
|
+
children?: string[] | undefined;
|
|
499
454
|
openapi?: string | undefined;
|
|
500
455
|
jsonSchemaDialect?: string | undefined;
|
|
501
456
|
info?: {
|
|
@@ -529,15 +484,15 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
529
484
|
color?: string | undefined;
|
|
530
485
|
}> | undefined;
|
|
531
486
|
'x-scalar-secrets'?: Record<string, {
|
|
532
|
-
description?: string | undefined;
|
|
533
487
|
example?: string | undefined;
|
|
488
|
+
description?: string | undefined;
|
|
534
489
|
}> | undefined;
|
|
535
490
|
securitySchemes?: string[] | undefined;
|
|
536
|
-
selectedSecuritySchemeUids?: (string |
|
|
491
|
+
selectedSecuritySchemeUids?: (string | string[])[] | undefined;
|
|
537
492
|
selectedServerUid?: string | undefined;
|
|
538
|
-
servers?:
|
|
539
|
-
requests?:
|
|
540
|
-
tags?:
|
|
493
|
+
servers?: string[] | undefined;
|
|
494
|
+
requests?: string[] | undefined;
|
|
495
|
+
tags?: string[] | undefined;
|
|
541
496
|
documentUrl?: string | undefined;
|
|
542
497
|
watchMode?: boolean | undefined;
|
|
543
498
|
integration?: string | null | undefined;
|
|
@@ -552,7 +507,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
552
507
|
description?: string | undefined;
|
|
553
508
|
url?: string | undefined;
|
|
554
509
|
} | undefined;
|
|
555
|
-
children?:
|
|
510
|
+
children?: string[] | undefined;
|
|
556
511
|
openapi?: string | undefined;
|
|
557
512
|
jsonSchemaDialect?: string | undefined;
|
|
558
513
|
info?: {
|
|
@@ -586,15 +541,15 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
586
541
|
color?: string | undefined;
|
|
587
542
|
}> | undefined;
|
|
588
543
|
'x-scalar-secrets'?: Record<string, {
|
|
589
|
-
description?: string | undefined;
|
|
590
544
|
example?: string | undefined;
|
|
545
|
+
description?: string | undefined;
|
|
591
546
|
}> | undefined;
|
|
592
547
|
securitySchemes?: string[] | undefined;
|
|
593
|
-
selectedSecuritySchemeUids?: (string |
|
|
548
|
+
selectedSecuritySchemeUids?: (string | string[])[] | undefined;
|
|
594
549
|
selectedServerUid?: string | undefined;
|
|
595
|
-
servers?:
|
|
596
|
-
requests?:
|
|
597
|
-
tags?:
|
|
550
|
+
servers?: string[] | undefined;
|
|
551
|
+
requests?: string[] | undefined;
|
|
552
|
+
tags?: string[] | undefined;
|
|
598
553
|
documentUrl?: string | undefined;
|
|
599
554
|
watchMode?: boolean | undefined;
|
|
600
555
|
integration?: string | null | undefined;
|
|
@@ -603,132 +558,86 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
603
558
|
setCollectionSecurity?: boolean;
|
|
604
559
|
shouldLoad?: boolean;
|
|
605
560
|
} & Pick<import("@scalar/types").ReferenceConfiguration, "servers">) => Promise<{
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
selectedServerUid: string;
|
|
615
|
-
servers: string[];
|
|
616
|
-
requests: string[];
|
|
617
|
-
tags: string[];
|
|
618
|
-
watchMode: boolean;
|
|
619
|
-
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
620
|
-
externalDocs?: {
|
|
621
|
-
url: string;
|
|
622
|
-
description?: string | undefined;
|
|
623
|
-
} | undefined;
|
|
624
|
-
jsonSchemaDialect?: string | undefined;
|
|
625
|
-
info?: {
|
|
626
|
-
title: string;
|
|
627
|
-
version: string;
|
|
628
|
-
description?: string | undefined;
|
|
629
|
-
summary?: string | undefined;
|
|
630
|
-
termsOfService?: string | undefined;
|
|
631
|
-
contact?: {
|
|
632
|
-
name?: string | undefined;
|
|
633
|
-
url?: string | undefined;
|
|
634
|
-
email?: string | undefined;
|
|
635
|
-
} | undefined;
|
|
636
|
-
license?: {
|
|
637
|
-
name: string;
|
|
638
|
-
identifier?: string | undefined;
|
|
639
|
-
url?: string | undefined;
|
|
640
|
-
} | undefined;
|
|
641
|
-
} | undefined;
|
|
642
|
-
components?: Record<string, unknown> | undefined;
|
|
643
|
-
webhooks?: Record<string, unknown> | undefined;
|
|
644
|
-
'x-scalar-active-environment'?: string | undefined;
|
|
645
|
-
'x-scalar-environments'?: Record<string, {
|
|
646
|
-
variables: Record<string, string | {
|
|
647
|
-
default: string;
|
|
648
|
-
description?: string | undefined;
|
|
649
|
-
}>;
|
|
650
|
-
description?: string | undefined;
|
|
651
|
-
color?: string | undefined;
|
|
652
|
-
}> | undefined;
|
|
653
|
-
'x-scalar-secrets'?: Record<string, {
|
|
654
|
-
description?: string | undefined;
|
|
655
|
-
example?: string | undefined;
|
|
656
|
-
}> | undefined;
|
|
657
|
-
documentUrl?: string | undefined;
|
|
658
|
-
integration?: string | null | undefined;
|
|
561
|
+
error: false;
|
|
562
|
+
collection: import("@scalar/oas-utils/entities/spec").Collection;
|
|
563
|
+
requests: import("@scalar/oas-utils/entities/spec").Request[];
|
|
564
|
+
schema: import("@scalar/openapi-types").OpenAPIV3_1.Document;
|
|
565
|
+
examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
|
|
566
|
+
servers: import("@scalar/oas-utils/entities/spec").Server[];
|
|
567
|
+
tags: import("@scalar/oas-utils/entities/spec").Tag[];
|
|
568
|
+
securitySchemes: import("@scalar/oas-utils/entities/spec").SecurityScheme[];
|
|
659
569
|
} | undefined>>>>>;
|
|
660
570
|
cookieMutators: {
|
|
661
571
|
add: (item: {
|
|
662
572
|
value: string;
|
|
663
|
-
uid: string
|
|
573
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
664
574
|
name: string;
|
|
665
575
|
path?: string | undefined;
|
|
666
576
|
domain?: string | undefined;
|
|
667
577
|
}) => void;
|
|
668
|
-
delete: (uid: string) => void;
|
|
578
|
+
delete: (uid: (string & import("zod").BRAND<"cookie">) | null | undefined) => void;
|
|
669
579
|
set: (item: {
|
|
670
580
|
value: string;
|
|
671
|
-
uid: string
|
|
581
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
672
582
|
name: string;
|
|
673
583
|
path?: string | undefined;
|
|
674
584
|
domain?: string | undefined;
|
|
675
585
|
}) => void;
|
|
676
|
-
edit: <P extends "name" | "uid" | "path" | "value" | "domain">(uid: string, path: P, value: P extends "name" | "uid" | "path" | "value" | "domain" ? {
|
|
586
|
+
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" ? {
|
|
677
587
|
value: string;
|
|
678
|
-
uid: string
|
|
588
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
679
589
|
name: string;
|
|
680
590
|
path?: string | undefined;
|
|
681
591
|
domain?: string | undefined;
|
|
682
592
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "path" | "value" | "domain" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
683
593
|
value: string;
|
|
684
|
-
uid: string
|
|
594
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
685
595
|
name: string;
|
|
686
596
|
path?: string | undefined;
|
|
687
597
|
domain?: string | undefined;
|
|
688
598
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
689
599
|
value: string;
|
|
690
|
-
uid: string
|
|
600
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
691
601
|
name: string;
|
|
692
602
|
path?: string | undefined;
|
|
693
603
|
domain?: string | undefined;
|
|
694
604
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
695
|
-
untrackedEdit: <P extends "name" | "uid" | "path" | "value" | "domain">(uid: string
|
|
605
|
+
untrackedEdit: <P extends "name" | "uid" | "path" | "value" | "domain">(uid: string & import("zod").BRAND<"cookie">, path: P, value: P extends "name" | "uid" | "path" | "value" | "domain" ? {
|
|
696
606
|
value: string;
|
|
697
|
-
uid: string
|
|
607
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
698
608
|
name: string;
|
|
699
609
|
path?: string | undefined;
|
|
700
610
|
domain?: string | undefined;
|
|
701
611
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "path" | "value" | "domain" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
702
612
|
value: string;
|
|
703
|
-
uid: string
|
|
613
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
704
614
|
name: string;
|
|
705
615
|
path?: string | undefined;
|
|
706
616
|
domain?: string | undefined;
|
|
707
617
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
708
618
|
value: string;
|
|
709
|
-
uid: string
|
|
619
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
710
620
|
name: string;
|
|
711
621
|
path?: string | undefined;
|
|
712
622
|
domain?: string | undefined;
|
|
713
623
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
714
|
-
undo: (uid: string) => void;
|
|
715
|
-
redo: (uid: string) => void;
|
|
624
|
+
undo: (uid: string & import("zod").BRAND<"cookie">) => void;
|
|
625
|
+
redo: (uid: string & import("zod").BRAND<"cookie">) => void;
|
|
716
626
|
reset: () => void;
|
|
717
627
|
};
|
|
718
628
|
collectionMutators: {
|
|
719
629
|
rawAdd: (item: {
|
|
720
630
|
type: "collection";
|
|
721
|
-
uid: string
|
|
722
|
-
children: string[];
|
|
631
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
632
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
723
633
|
openapi: string;
|
|
724
634
|
security: Record<string, string[]>[];
|
|
725
635
|
'x-scalar-icon': string;
|
|
726
636
|
securitySchemes: string[];
|
|
727
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
tags: string[];
|
|
637
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
638
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
639
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
640
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
732
641
|
watchMode: boolean;
|
|
733
642
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
734
643
|
externalDocs?: {
|
|
@@ -765,25 +674,25 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
765
674
|
color?: string | undefined;
|
|
766
675
|
}> | undefined;
|
|
767
676
|
'x-scalar-secrets'?: Record<string, {
|
|
768
|
-
description?: string | undefined;
|
|
769
677
|
example?: string | undefined;
|
|
678
|
+
description?: string | undefined;
|
|
770
679
|
}> | undefined;
|
|
680
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
771
681
|
documentUrl?: string | undefined;
|
|
772
682
|
integration?: string | null | undefined;
|
|
773
683
|
}) => void;
|
|
774
|
-
add: (payload: import("@scalar/oas-utils/entities/spec").CollectionPayload, workspaceUid:
|
|
684
|
+
add: (payload: import("@scalar/oas-utils/entities/spec").CollectionPayload, workspaceUid: import("@scalar/oas-utils/entities").Workspace["uid"]) => {
|
|
775
685
|
type: "collection";
|
|
776
|
-
uid: string
|
|
777
|
-
children: string[];
|
|
686
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
687
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
778
688
|
openapi: string;
|
|
779
689
|
security: Record<string, string[]>[];
|
|
780
690
|
'x-scalar-icon': string;
|
|
781
691
|
securitySchemes: string[];
|
|
782
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
tags: string[];
|
|
692
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
693
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
694
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
695
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
787
696
|
watchMode: boolean;
|
|
788
697
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
789
698
|
externalDocs?: {
|
|
@@ -820,28 +729,28 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
820
729
|
color?: string | undefined;
|
|
821
730
|
}> | undefined;
|
|
822
731
|
'x-scalar-secrets'?: Record<string, {
|
|
823
|
-
description?: string | undefined;
|
|
824
732
|
example?: string | undefined;
|
|
733
|
+
description?: string | undefined;
|
|
825
734
|
}> | undefined;
|
|
735
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
826
736
|
documentUrl?: string | undefined;
|
|
827
737
|
integration?: string | null | undefined;
|
|
828
738
|
};
|
|
829
739
|
delete: (collection: import("@scalar/oas-utils/entities/spec").Collection, workspace: import("@scalar/oas-utils/entities").Workspace) => void;
|
|
830
|
-
addEnvironment: (environmentName: string, environment: import("@scalar/oas-utils/entities/spec").XScalarEnvironment, collectionUid:
|
|
831
|
-
removeEnvironment: (environmentName: string, collectionUid:
|
|
740
|
+
addEnvironment: (environmentName: string, environment: import("@scalar/oas-utils/entities/spec").XScalarEnvironment, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
741
|
+
removeEnvironment: (environmentName: string, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
832
742
|
set: (item: {
|
|
833
743
|
type: "collection";
|
|
834
|
-
uid: string
|
|
835
|
-
children: string[];
|
|
744
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
745
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
836
746
|
openapi: string;
|
|
837
747
|
security: Record<string, string[]>[];
|
|
838
748
|
'x-scalar-icon': string;
|
|
839
749
|
securitySchemes: string[];
|
|
840
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
tags: string[];
|
|
750
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
751
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
752
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
753
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
845
754
|
watchMode: boolean;
|
|
846
755
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
847
756
|
externalDocs?: {
|
|
@@ -878,25 +787,25 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
878
787
|
color?: string | undefined;
|
|
879
788
|
}> | undefined;
|
|
880
789
|
'x-scalar-secrets'?: Record<string, {
|
|
881
|
-
description?: string | undefined;
|
|
882
790
|
example?: string | undefined;
|
|
791
|
+
description?: string | undefined;
|
|
883
792
|
}> | undefined;
|
|
793
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
884
794
|
documentUrl?: string | undefined;
|
|
885
795
|
integration?: string | null | undefined;
|
|
886
796
|
}) => void;
|
|
887
|
-
edit: <P extends "servers" | "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "
|
|
797
|
+
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" ? {
|
|
888
798
|
type: "collection";
|
|
889
|
-
uid: string
|
|
890
|
-
children: string[];
|
|
799
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
800
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
891
801
|
openapi: string;
|
|
892
802
|
security: Record<string, string[]>[];
|
|
893
803
|
'x-scalar-icon': string;
|
|
894
804
|
securitySchemes: string[];
|
|
895
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
tags: string[];
|
|
805
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
806
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
807
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
808
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
900
809
|
watchMode: boolean;
|
|
901
810
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
902
811
|
externalDocs?: {
|
|
@@ -933,24 +842,24 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
933
842
|
color?: string | undefined;
|
|
934
843
|
}> | undefined;
|
|
935
844
|
'x-scalar-secrets'?: Record<string, {
|
|
936
|
-
description?: string | undefined;
|
|
937
845
|
example?: string | undefined;
|
|
846
|
+
description?: string | undefined;
|
|
938
847
|
}> | undefined;
|
|
848
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
939
849
|
documentUrl?: string | undefined;
|
|
940
850
|
integration?: string | null | undefined;
|
|
941
|
-
}[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" | "
|
|
851
|
+
}[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<{
|
|
942
852
|
type: "collection";
|
|
943
|
-
uid: string
|
|
944
|
-
children: string[];
|
|
853
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
854
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
945
855
|
openapi: string;
|
|
946
856
|
security: Record<string, string[]>[];
|
|
947
857
|
'x-scalar-icon': string;
|
|
948
858
|
securitySchemes: string[];
|
|
949
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
tags: string[];
|
|
859
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
860
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
861
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
862
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
954
863
|
watchMode: boolean;
|
|
955
864
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
956
865
|
externalDocs?: {
|
|
@@ -987,24 +896,24 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
987
896
|
color?: string | undefined;
|
|
988
897
|
}> | undefined;
|
|
989
898
|
'x-scalar-secrets'?: Record<string, {
|
|
990
|
-
description?: string | undefined;
|
|
991
899
|
example?: string | undefined;
|
|
900
|
+
description?: string | undefined;
|
|
992
901
|
}> | undefined;
|
|
902
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
993
903
|
documentUrl?: string | undefined;
|
|
994
904
|
integration?: string | null | undefined;
|
|
995
905
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
996
906
|
type: "collection";
|
|
997
|
-
uid: string
|
|
998
|
-
children: string[];
|
|
907
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
908
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
999
909
|
openapi: string;
|
|
1000
910
|
security: Record<string, string[]>[];
|
|
1001
911
|
'x-scalar-icon': string;
|
|
1002
912
|
securitySchemes: string[];
|
|
1003
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
tags: string[];
|
|
913
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
914
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
915
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
916
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
1008
917
|
watchMode: boolean;
|
|
1009
918
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1010
919
|
externalDocs?: {
|
|
@@ -1041,25 +950,25 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1041
950
|
color?: string | undefined;
|
|
1042
951
|
}> | undefined;
|
|
1043
952
|
'x-scalar-secrets'?: Record<string, {
|
|
1044
|
-
description?: string | undefined;
|
|
1045
953
|
example?: string | undefined;
|
|
954
|
+
description?: string | undefined;
|
|
1046
955
|
}> | undefined;
|
|
956
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
1047
957
|
documentUrl?: string | undefined;
|
|
1048
958
|
integration?: string | null | undefined;
|
|
1049
959
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1050
|
-
untrackedEdit: <P extends "servers" | "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "
|
|
960
|
+
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" ? {
|
|
1051
961
|
type: "collection";
|
|
1052
|
-
uid: string
|
|
1053
|
-
children: string[];
|
|
962
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
963
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
1054
964
|
openapi: string;
|
|
1055
965
|
security: Record<string, string[]>[];
|
|
1056
966
|
'x-scalar-icon': string;
|
|
1057
967
|
securitySchemes: string[];
|
|
1058
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
tags: string[];
|
|
968
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
969
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
970
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
971
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
1063
972
|
watchMode: boolean;
|
|
1064
973
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1065
974
|
externalDocs?: {
|
|
@@ -1096,24 +1005,24 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1096
1005
|
color?: string | undefined;
|
|
1097
1006
|
}> | undefined;
|
|
1098
1007
|
'x-scalar-secrets'?: Record<string, {
|
|
1099
|
-
description?: string | undefined;
|
|
1100
1008
|
example?: string | undefined;
|
|
1009
|
+
description?: string | undefined;
|
|
1101
1010
|
}> | undefined;
|
|
1011
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
1102
1012
|
documentUrl?: string | undefined;
|
|
1103
1013
|
integration?: string | null | undefined;
|
|
1104
|
-
}[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" | "
|
|
1014
|
+
}[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<{
|
|
1105
1015
|
type: "collection";
|
|
1106
|
-
uid: string
|
|
1107
|
-
children: string[];
|
|
1016
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
1017
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
1108
1018
|
openapi: string;
|
|
1109
1019
|
security: Record<string, string[]>[];
|
|
1110
1020
|
'x-scalar-icon': string;
|
|
1111
1021
|
securitySchemes: string[];
|
|
1112
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
tags: string[];
|
|
1022
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1023
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1024
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
1025
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
1117
1026
|
watchMode: boolean;
|
|
1118
1027
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1119
1028
|
externalDocs?: {
|
|
@@ -1150,24 +1059,24 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1150
1059
|
color?: string | undefined;
|
|
1151
1060
|
}> | undefined;
|
|
1152
1061
|
'x-scalar-secrets'?: Record<string, {
|
|
1153
|
-
description?: string | undefined;
|
|
1154
1062
|
example?: string | undefined;
|
|
1063
|
+
description?: string | undefined;
|
|
1155
1064
|
}> | undefined;
|
|
1065
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
1156
1066
|
documentUrl?: string | undefined;
|
|
1157
1067
|
integration?: string | null | undefined;
|
|
1158
1068
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
1159
1069
|
type: "collection";
|
|
1160
|
-
uid: string
|
|
1161
|
-
children: string[];
|
|
1070
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
1071
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
1162
1072
|
openapi: string;
|
|
1163
1073
|
security: Record<string, string[]>[];
|
|
1164
1074
|
'x-scalar-icon': string;
|
|
1165
1075
|
securitySchemes: string[];
|
|
1166
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
tags: string[];
|
|
1076
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1077
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1078
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
1079
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
1171
1080
|
watchMode: boolean;
|
|
1172
1081
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1173
1082
|
externalDocs?: {
|
|
@@ -1204,83 +1113,84 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1204
1113
|
color?: string | undefined;
|
|
1205
1114
|
}> | undefined;
|
|
1206
1115
|
'x-scalar-secrets'?: Record<string, {
|
|
1207
|
-
description?: string | undefined;
|
|
1208
1116
|
example?: string | undefined;
|
|
1117
|
+
description?: string | undefined;
|
|
1209
1118
|
}> | undefined;
|
|
1119
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
1210
1120
|
documentUrl?: string | undefined;
|
|
1211
1121
|
integration?: string | null | undefined;
|
|
1212
1122
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1213
|
-
undo: (uid: string) => void;
|
|
1214
|
-
redo: (uid: string) => void;
|
|
1123
|
+
undo: (uid: string & import("zod").BRAND<"collection">) => void;
|
|
1124
|
+
redo: (uid: string & import("zod").BRAND<"collection">) => void;
|
|
1215
1125
|
reset: () => void;
|
|
1216
1126
|
};
|
|
1217
1127
|
environmentMutators: {
|
|
1218
|
-
delete: (uid:
|
|
1128
|
+
delete: (uid: import("@scalar/oas-utils/entities/environment").Environment["uid"]) => void;
|
|
1219
1129
|
add: (item: {
|
|
1220
1130
|
value: string;
|
|
1221
|
-
uid: string
|
|
1131
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1222
1132
|
name: string;
|
|
1223
1133
|
color: string;
|
|
1224
1134
|
isDefault?: boolean | undefined;
|
|
1225
1135
|
}) => void;
|
|
1226
1136
|
set: (item: {
|
|
1227
1137
|
value: string;
|
|
1228
|
-
uid: string
|
|
1138
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1229
1139
|
name: string;
|
|
1230
1140
|
color: string;
|
|
1231
1141
|
isDefault?: boolean | undefined;
|
|
1232
1142
|
}) => void;
|
|
1233
|
-
edit: <P extends "name" | "uid" | "color" | "
|
|
1143
|
+
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" ? {
|
|
1234
1144
|
value: string;
|
|
1235
|
-
uid: string
|
|
1145
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1236
1146
|
name: string;
|
|
1237
1147
|
color: string;
|
|
1238
1148
|
isDefault?: boolean | undefined;
|
|
1239
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "color" | "
|
|
1149
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "color" | "value" | "isDefault" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
1240
1150
|
value: string;
|
|
1241
|
-
uid: string
|
|
1151
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1242
1152
|
name: string;
|
|
1243
1153
|
color: string;
|
|
1244
1154
|
isDefault?: boolean | undefined;
|
|
1245
1155
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
1246
1156
|
value: string;
|
|
1247
|
-
uid: string
|
|
1157
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1248
1158
|
name: string;
|
|
1249
1159
|
color: string;
|
|
1250
1160
|
isDefault?: boolean | undefined;
|
|
1251
1161
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1252
|
-
untrackedEdit: <P extends "name" | "uid" | "color" | "
|
|
1162
|
+
untrackedEdit: <P extends "name" | "uid" | "color" | "value" | "isDefault">(uid: string & import("zod").BRAND<"environment">, path: P, value: P extends "name" | "uid" | "color" | "value" | "isDefault" ? {
|
|
1253
1163
|
value: string;
|
|
1254
|
-
uid: string
|
|
1164
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1255
1165
|
name: string;
|
|
1256
1166
|
color: string;
|
|
1257
1167
|
isDefault?: boolean | undefined;
|
|
1258
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "color" | "
|
|
1168
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "color" | "value" | "isDefault" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
1259
1169
|
value: string;
|
|
1260
|
-
uid: string
|
|
1170
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1261
1171
|
name: string;
|
|
1262
1172
|
color: string;
|
|
1263
1173
|
isDefault?: boolean | undefined;
|
|
1264
1174
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
1265
1175
|
value: string;
|
|
1266
|
-
uid: string
|
|
1176
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1267
1177
|
name: string;
|
|
1268
1178
|
color: string;
|
|
1269
1179
|
isDefault?: boolean | undefined;
|
|
1270
1180
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1271
|
-
undo: (uid: string) => void;
|
|
1272
|
-
redo: (uid: string) => void;
|
|
1181
|
+
undo: (uid: string & import("zod").BRAND<"environment">) => void;
|
|
1182
|
+
redo: (uid: string & import("zod").BRAND<"environment">) => void;
|
|
1273
1183
|
reset: () => void;
|
|
1274
1184
|
};
|
|
1275
1185
|
requestMutators: {
|
|
1276
1186
|
rawAdd: (item: {
|
|
1277
1187
|
path: string;
|
|
1278
1188
|
type: "request";
|
|
1279
|
-
uid: string
|
|
1280
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1281
|
-
selectedServerUid: string;
|
|
1282
|
-
servers: string[];
|
|
1283
|
-
examples: string[];
|
|
1189
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1190
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1191
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1192
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1193
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1284
1194
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1285
1195
|
description?: string | undefined;
|
|
1286
1196
|
summary?: string | undefined;
|
|
@@ -1297,10 +1207,10 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1297
1207
|
parameters?: {
|
|
1298
1208
|
required: boolean;
|
|
1299
1209
|
name: string;
|
|
1300
|
-
in: "path" | "
|
|
1210
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1301
1211
|
deprecated: boolean;
|
|
1302
|
-
description?: string | undefined;
|
|
1303
1212
|
example?: unknown;
|
|
1213
|
+
description?: string | undefined;
|
|
1304
1214
|
schema?: unknown;
|
|
1305
1215
|
content?: unknown;
|
|
1306
1216
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1312,14 +1222,14 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1312
1222
|
requestBody?: any;
|
|
1313
1223
|
responses?: Record<string, any> | undefined;
|
|
1314
1224
|
}) => void;
|
|
1315
|
-
add: (payload: import("@scalar/oas-utils/entities/spec").RequestPayload, collectionUid:
|
|
1225
|
+
add: (payload: import("@scalar/oas-utils/entities/spec").RequestPayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void | {
|
|
1316
1226
|
path: string;
|
|
1317
1227
|
type: "request";
|
|
1318
|
-
uid: string
|
|
1319
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1320
|
-
selectedServerUid: string;
|
|
1321
|
-
servers: string[];
|
|
1322
|
-
examples: string[];
|
|
1228
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1229
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1230
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1231
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1232
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1323
1233
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1324
1234
|
description?: string | undefined;
|
|
1325
1235
|
summary?: string | undefined;
|
|
@@ -1336,10 +1246,10 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1336
1246
|
parameters?: {
|
|
1337
1247
|
required: boolean;
|
|
1338
1248
|
name: string;
|
|
1339
|
-
in: "path" | "
|
|
1249
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1340
1250
|
deprecated: boolean;
|
|
1341
|
-
description?: string | undefined;
|
|
1342
1251
|
example?: unknown;
|
|
1252
|
+
description?: string | undefined;
|
|
1343
1253
|
schema?: unknown;
|
|
1344
1254
|
content?: unknown;
|
|
1345
1255
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1351,15 +1261,15 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1351
1261
|
requestBody?: any;
|
|
1352
1262
|
responses?: Record<string, any> | undefined;
|
|
1353
1263
|
};
|
|
1354
|
-
delete: (request: import("@scalar/oas-utils/entities/spec").Request, collectionUid:
|
|
1264
|
+
delete: (request: import("@scalar/oas-utils/entities/spec").Request, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
1355
1265
|
set: (item: {
|
|
1356
1266
|
path: string;
|
|
1357
1267
|
type: "request";
|
|
1358
|
-
uid: string
|
|
1359
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1360
|
-
selectedServerUid: string;
|
|
1361
|
-
servers: string[];
|
|
1362
|
-
examples: string[];
|
|
1268
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1269
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1270
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1271
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1272
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1363
1273
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1364
1274
|
description?: string | undefined;
|
|
1365
1275
|
summary?: string | undefined;
|
|
@@ -1376,10 +1286,10 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1376
1286
|
parameters?: {
|
|
1377
1287
|
required: boolean;
|
|
1378
1288
|
name: string;
|
|
1379
|
-
in: "path" | "
|
|
1289
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1380
1290
|
deprecated: boolean;
|
|
1381
|
-
description?: string | undefined;
|
|
1382
1291
|
example?: unknown;
|
|
1292
|
+
description?: string | undefined;
|
|
1383
1293
|
schema?: unknown;
|
|
1384
1294
|
content?: unknown;
|
|
1385
1295
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1391,14 +1301,14 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1391
1301
|
requestBody?: any;
|
|
1392
1302
|
responses?: Record<string, any> | undefined;
|
|
1393
1303
|
}) => void;
|
|
1394
|
-
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" ? {
|
|
1304
|
+
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" ? {
|
|
1395
1305
|
path: string;
|
|
1396
1306
|
type: "request";
|
|
1397
|
-
uid: string
|
|
1398
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1399
|
-
selectedServerUid: string;
|
|
1400
|
-
servers: string[];
|
|
1401
|
-
examples: string[];
|
|
1307
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1308
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1309
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1310
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1311
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1402
1312
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1403
1313
|
description?: string | undefined;
|
|
1404
1314
|
summary?: string | undefined;
|
|
@@ -1415,10 +1325,10 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1415
1325
|
parameters?: {
|
|
1416
1326
|
required: boolean;
|
|
1417
1327
|
name: string;
|
|
1418
|
-
in: "path" | "
|
|
1328
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1419
1329
|
deprecated: boolean;
|
|
1420
|
-
description?: string | undefined;
|
|
1421
1330
|
example?: unknown;
|
|
1331
|
+
description?: string | undefined;
|
|
1422
1332
|
schema?: unknown;
|
|
1423
1333
|
content?: unknown;
|
|
1424
1334
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1432,11 +1342,11 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1432
1342
|
}[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<{
|
|
1433
1343
|
path: string;
|
|
1434
1344
|
type: "request";
|
|
1435
|
-
uid: string
|
|
1436
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1437
|
-
selectedServerUid: string;
|
|
1438
|
-
servers: string[];
|
|
1439
|
-
examples: string[];
|
|
1345
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1346
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1347
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1348
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1349
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1440
1350
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1441
1351
|
description?: string | undefined;
|
|
1442
1352
|
summary?: string | undefined;
|
|
@@ -1453,10 +1363,10 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1453
1363
|
parameters?: {
|
|
1454
1364
|
required: boolean;
|
|
1455
1365
|
name: string;
|
|
1456
|
-
in: "path" | "
|
|
1366
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1457
1367
|
deprecated: boolean;
|
|
1458
|
-
description?: string | undefined;
|
|
1459
1368
|
example?: unknown;
|
|
1369
|
+
description?: string | undefined;
|
|
1460
1370
|
schema?: unknown;
|
|
1461
1371
|
content?: unknown;
|
|
1462
1372
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1470,11 +1380,11 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1470
1380
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
1471
1381
|
path: string;
|
|
1472
1382
|
type: "request";
|
|
1473
|
-
uid: string
|
|
1474
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1475
|
-
selectedServerUid: string;
|
|
1476
|
-
servers: string[];
|
|
1477
|
-
examples: string[];
|
|
1383
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1384
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1385
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1386
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1387
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1478
1388
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1479
1389
|
description?: string | undefined;
|
|
1480
1390
|
summary?: string | undefined;
|
|
@@ -1491,10 +1401,10 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1491
1401
|
parameters?: {
|
|
1492
1402
|
required: boolean;
|
|
1493
1403
|
name: string;
|
|
1494
|
-
in: "path" | "
|
|
1404
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1495
1405
|
deprecated: boolean;
|
|
1496
|
-
description?: string | undefined;
|
|
1497
1406
|
example?: unknown;
|
|
1407
|
+
description?: string | undefined;
|
|
1498
1408
|
schema?: unknown;
|
|
1499
1409
|
content?: unknown;
|
|
1500
1410
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1506,14 +1416,14 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1506
1416
|
requestBody?: any;
|
|
1507
1417
|
responses?: Record<string, any> | undefined;
|
|
1508
1418
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1509
|
-
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
|
|
1419
|
+
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" ? {
|
|
1510
1420
|
path: string;
|
|
1511
1421
|
type: "request";
|
|
1512
|
-
uid: string
|
|
1513
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1514
|
-
selectedServerUid: string;
|
|
1515
|
-
servers: string[];
|
|
1516
|
-
examples: string[];
|
|
1422
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1423
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1424
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1425
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1426
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1517
1427
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1518
1428
|
description?: string | undefined;
|
|
1519
1429
|
summary?: string | undefined;
|
|
@@ -1530,10 +1440,10 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1530
1440
|
parameters?: {
|
|
1531
1441
|
required: boolean;
|
|
1532
1442
|
name: string;
|
|
1533
|
-
in: "path" | "
|
|
1443
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1534
1444
|
deprecated: boolean;
|
|
1535
|
-
description?: string | undefined;
|
|
1536
1445
|
example?: unknown;
|
|
1446
|
+
description?: string | undefined;
|
|
1537
1447
|
schema?: unknown;
|
|
1538
1448
|
content?: unknown;
|
|
1539
1449
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1547,11 +1457,11 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1547
1457
|
}[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<{
|
|
1548
1458
|
path: string;
|
|
1549
1459
|
type: "request";
|
|
1550
|
-
uid: string
|
|
1551
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1552
|
-
selectedServerUid: string;
|
|
1553
|
-
servers: string[];
|
|
1554
|
-
examples: string[];
|
|
1460
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1461
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1462
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1463
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1464
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1555
1465
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1556
1466
|
description?: string | undefined;
|
|
1557
1467
|
summary?: string | undefined;
|
|
@@ -1568,10 +1478,10 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1568
1478
|
parameters?: {
|
|
1569
1479
|
required: boolean;
|
|
1570
1480
|
name: string;
|
|
1571
|
-
in: "path" | "
|
|
1481
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1572
1482
|
deprecated: boolean;
|
|
1573
|
-
description?: string | undefined;
|
|
1574
1483
|
example?: unknown;
|
|
1484
|
+
description?: string | undefined;
|
|
1575
1485
|
schema?: unknown;
|
|
1576
1486
|
content?: unknown;
|
|
1577
1487
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1585,11 +1495,11 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1585
1495
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
1586
1496
|
path: string;
|
|
1587
1497
|
type: "request";
|
|
1588
|
-
uid: string
|
|
1589
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1590
|
-
selectedServerUid: string;
|
|
1591
|
-
servers: string[];
|
|
1592
|
-
examples: string[];
|
|
1498
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1499
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1500
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1501
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1502
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1593
1503
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1594
1504
|
description?: string | undefined;
|
|
1595
1505
|
summary?: string | undefined;
|
|
@@ -1606,10 +1516,10 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1606
1516
|
parameters?: {
|
|
1607
1517
|
required: boolean;
|
|
1608
1518
|
name: string;
|
|
1609
|
-
in: "path" | "
|
|
1519
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1610
1520
|
deprecated: boolean;
|
|
1611
|
-
description?: string | undefined;
|
|
1612
1521
|
example?: unknown;
|
|
1522
|
+
description?: string | undefined;
|
|
1613
1523
|
schema?: unknown;
|
|
1614
1524
|
content?: unknown;
|
|
1615
1525
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1621,15 +1531,15 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1621
1531
|
requestBody?: any;
|
|
1622
1532
|
responses?: Record<string, any> | undefined;
|
|
1623
1533
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1624
|
-
undo: (uid: string) => void;
|
|
1625
|
-
redo: (uid: string) => void;
|
|
1534
|
+
undo: (uid: string & import("zod").BRAND<"operation">) => void;
|
|
1535
|
+
redo: (uid: string & import("zod").BRAND<"operation">) => void;
|
|
1626
1536
|
reset: () => void;
|
|
1627
1537
|
};
|
|
1628
1538
|
findRequestParents: (r: import("@scalar/oas-utils/entities/spec").Request) => string[];
|
|
1629
1539
|
requestExampleMutators: {
|
|
1630
1540
|
rawAdd: (item: {
|
|
1631
1541
|
type: "requestExample";
|
|
1632
|
-
uid: string
|
|
1542
|
+
uid: string & import("zod").BRAND<"example">;
|
|
1633
1543
|
name: string;
|
|
1634
1544
|
parameters: {
|
|
1635
1545
|
path: {
|
|
@@ -1724,12 +1634,12 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1724
1634
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
1725
1635
|
} | undefined;
|
|
1726
1636
|
};
|
|
1727
|
-
requestUid
|
|
1637
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1728
1638
|
serverVariables?: Record<string, string[]> | undefined;
|
|
1729
1639
|
}) => void;
|
|
1730
1640
|
add: (request: import("@scalar/oas-utils/entities/spec").Request, _name?: string) => {
|
|
1731
1641
|
type: "requestExample";
|
|
1732
|
-
uid: string
|
|
1642
|
+
uid: string & import("zod").BRAND<"example">;
|
|
1733
1643
|
name: string;
|
|
1734
1644
|
parameters: {
|
|
1735
1645
|
path: {
|
|
@@ -1824,13 +1734,13 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1824
1734
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
1825
1735
|
} | undefined;
|
|
1826
1736
|
};
|
|
1827
|
-
requestUid
|
|
1737
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1828
1738
|
serverVariables?: Record<string, string[]> | undefined;
|
|
1829
1739
|
};
|
|
1830
1740
|
delete: (requestExample: import("@scalar/oas-utils/entities/spec").RequestExample) => void;
|
|
1831
1741
|
set: (item: {
|
|
1832
1742
|
type: "requestExample";
|
|
1833
|
-
uid: string
|
|
1743
|
+
uid: string & import("zod").BRAND<"example">;
|
|
1834
1744
|
name: string;
|
|
1835
1745
|
parameters: {
|
|
1836
1746
|
path: {
|
|
@@ -1925,12 +1835,12 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1925
1835
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
1926
1836
|
} | undefined;
|
|
1927
1837
|
};
|
|
1928
|
-
requestUid
|
|
1838
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1929
1839
|
serverVariables?: Record<string, string[]> | undefined;
|
|
1930
1840
|
}) => void;
|
|
1931
|
-
edit: <P extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" | "body.
|
|
1841
|
+
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" ? {
|
|
1932
1842
|
type: "requestExample";
|
|
1933
|
-
uid: string
|
|
1843
|
+
uid: string & import("zod").BRAND<"example">;
|
|
1934
1844
|
name: string;
|
|
1935
1845
|
parameters: {
|
|
1936
1846
|
path: {
|
|
@@ -2025,11 +1935,11 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2025
1935
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2026
1936
|
} | undefined;
|
|
2027
1937
|
};
|
|
2028
|
-
requestUid
|
|
1938
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2029
1939
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2030
1940
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2031
1941
|
type: "requestExample";
|
|
2032
|
-
uid: string
|
|
1942
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2033
1943
|
name: string;
|
|
2034
1944
|
parameters: {
|
|
2035
1945
|
path: {
|
|
@@ -2124,11 +2034,11 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2124
2034
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2125
2035
|
} | undefined;
|
|
2126
2036
|
};
|
|
2127
|
-
requestUid
|
|
2037
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2128
2038
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2129
2039
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2130
2040
|
type: "requestExample";
|
|
2131
|
-
uid: string
|
|
2041
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2132
2042
|
name: string;
|
|
2133
2043
|
parameters: {
|
|
2134
2044
|
path: {
|
|
@@ -2223,12 +2133,12 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2223
2133
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2224
2134
|
} | undefined;
|
|
2225
2135
|
};
|
|
2226
|
-
requestUid
|
|
2136
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2227
2137
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2228
2138
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2229
|
-
untrackedEdit: <P extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" | "body.
|
|
2139
|
+
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" ? {
|
|
2230
2140
|
type: "requestExample";
|
|
2231
|
-
uid: string
|
|
2141
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2232
2142
|
name: string;
|
|
2233
2143
|
parameters: {
|
|
2234
2144
|
path: {
|
|
@@ -2323,11 +2233,11 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2323
2233
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2324
2234
|
} | undefined;
|
|
2325
2235
|
};
|
|
2326
|
-
requestUid
|
|
2236
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2327
2237
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2328
2238
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2329
2239
|
type: "requestExample";
|
|
2330
|
-
uid: string
|
|
2240
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2331
2241
|
name: string;
|
|
2332
2242
|
parameters: {
|
|
2333
2243
|
path: {
|
|
@@ -2422,11 +2332,11 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2422
2332
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2423
2333
|
} | undefined;
|
|
2424
2334
|
};
|
|
2425
|
-
requestUid
|
|
2335
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2426
2336
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2427
2337
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2428
2338
|
type: "requestExample";
|
|
2429
|
-
uid: string
|
|
2339
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2430
2340
|
name: string;
|
|
2431
2341
|
parameters: {
|
|
2432
2342
|
path: {
|
|
@@ -2521,11 +2431,11 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2521
2431
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2522
2432
|
} | undefined;
|
|
2523
2433
|
};
|
|
2524
|
-
requestUid
|
|
2434
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2525
2435
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2526
2436
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2527
|
-
undo: (uid: string) => void;
|
|
2528
|
-
redo: (uid: string) => void;
|
|
2437
|
+
undo: (uid: string & import("zod").BRAND<"example">) => void;
|
|
2438
|
+
redo: (uid: string & import("zod").BRAND<"example">) => void;
|
|
2529
2439
|
reset: () => void;
|
|
2530
2440
|
};
|
|
2531
2441
|
requestHistory: import("vue").Reactive<import("@scalar/oas-utils/entities/spec").RequestEvent[]>;
|
|
@@ -2533,14 +2443,14 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2533
2443
|
rawAdd: (item: {
|
|
2534
2444
|
type: "apiKey";
|
|
2535
2445
|
value: string;
|
|
2536
|
-
uid: string
|
|
2446
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2537
2447
|
name: string;
|
|
2538
2448
|
nameKey: string;
|
|
2539
|
-
in: "
|
|
2449
|
+
in: "cookie" | "query" | "header";
|
|
2540
2450
|
description?: string | undefined;
|
|
2541
2451
|
} | {
|
|
2542
2452
|
type: "http";
|
|
2543
|
-
uid: string
|
|
2453
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2544
2454
|
nameKey: string;
|
|
2545
2455
|
scheme: "basic" | "bearer";
|
|
2546
2456
|
bearerFormat: string;
|
|
@@ -2550,13 +2460,13 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2550
2460
|
description?: string | undefined;
|
|
2551
2461
|
} | {
|
|
2552
2462
|
type: "openIdConnect";
|
|
2553
|
-
uid: string
|
|
2463
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2554
2464
|
nameKey: string;
|
|
2555
2465
|
openIdConnectUrl: string;
|
|
2556
2466
|
description?: string | undefined;
|
|
2557
2467
|
} | {
|
|
2558
2468
|
type: "oauth2";
|
|
2559
|
-
uid: string
|
|
2469
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2560
2470
|
nameKey: string;
|
|
2561
2471
|
flows: {
|
|
2562
2472
|
password?: {
|
|
@@ -2607,17 +2517,17 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2607
2517
|
};
|
|
2608
2518
|
description?: string | undefined;
|
|
2609
2519
|
}) => void;
|
|
2610
|
-
add: (payload: import("@scalar/oas-utils/entities/spec").SecuritySchemePayload, collectionUid:
|
|
2520
|
+
add: (payload: import("@scalar/oas-utils/entities/spec").SecuritySchemePayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => {
|
|
2611
2521
|
type: "apiKey";
|
|
2612
2522
|
value: string;
|
|
2613
|
-
uid: string
|
|
2523
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2614
2524
|
name: string;
|
|
2615
2525
|
nameKey: string;
|
|
2616
|
-
in: "
|
|
2526
|
+
in: "cookie" | "query" | "header";
|
|
2617
2527
|
description?: string | undefined;
|
|
2618
2528
|
} | {
|
|
2619
2529
|
type: "http";
|
|
2620
|
-
uid: string
|
|
2530
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2621
2531
|
nameKey: string;
|
|
2622
2532
|
scheme: "basic" | "bearer";
|
|
2623
2533
|
bearerFormat: string;
|
|
@@ -2627,13 +2537,13 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2627
2537
|
description?: string | undefined;
|
|
2628
2538
|
} | {
|
|
2629
2539
|
type: "openIdConnect";
|
|
2630
|
-
uid: string
|
|
2540
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2631
2541
|
nameKey: string;
|
|
2632
2542
|
openIdConnectUrl: string;
|
|
2633
2543
|
description?: string | undefined;
|
|
2634
2544
|
} | {
|
|
2635
2545
|
type: "oauth2";
|
|
2636
|
-
uid: string
|
|
2546
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2637
2547
|
nameKey: string;
|
|
2638
2548
|
flows: {
|
|
2639
2549
|
password?: {
|
|
@@ -2684,18 +2594,18 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2684
2594
|
};
|
|
2685
2595
|
description?: string | undefined;
|
|
2686
2596
|
};
|
|
2687
|
-
delete: (schemeUid:
|
|
2597
|
+
delete: (schemeUid: import("@scalar/oas-utils/entities/spec").SecurityScheme["uid"]) => void;
|
|
2688
2598
|
set: (item: {
|
|
2689
2599
|
type: "apiKey";
|
|
2690
2600
|
value: string;
|
|
2691
|
-
uid: string
|
|
2601
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2692
2602
|
name: string;
|
|
2693
2603
|
nameKey: string;
|
|
2694
|
-
in: "
|
|
2604
|
+
in: "cookie" | "query" | "header";
|
|
2695
2605
|
description?: string | undefined;
|
|
2696
2606
|
} | {
|
|
2697
2607
|
type: "http";
|
|
2698
|
-
uid: string
|
|
2608
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2699
2609
|
nameKey: string;
|
|
2700
2610
|
scheme: "basic" | "bearer";
|
|
2701
2611
|
bearerFormat: string;
|
|
@@ -2705,13 +2615,13 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2705
2615
|
description?: string | undefined;
|
|
2706
2616
|
} | {
|
|
2707
2617
|
type: "openIdConnect";
|
|
2708
|
-
uid: string
|
|
2618
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2709
2619
|
nameKey: string;
|
|
2710
2620
|
openIdConnectUrl: string;
|
|
2711
2621
|
description?: string | undefined;
|
|
2712
2622
|
} | {
|
|
2713
2623
|
type: "oauth2";
|
|
2714
|
-
uid: string
|
|
2624
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2715
2625
|
nameKey: string;
|
|
2716
2626
|
flows: {
|
|
2717
2627
|
password?: {
|
|
@@ -2762,33 +2672,33 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2762
2672
|
};
|
|
2763
2673
|
description?: string | undefined;
|
|
2764
2674
|
}) => void;
|
|
2765
|
-
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" ? {
|
|
2675
|
+
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" ? {
|
|
2766
2676
|
type: "apiKey";
|
|
2767
2677
|
value: string;
|
|
2768
|
-
uid: string
|
|
2678
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2769
2679
|
name: string;
|
|
2770
2680
|
nameKey: string;
|
|
2771
|
-
in: "
|
|
2681
|
+
in: "cookie" | "query" | "header";
|
|
2772
2682
|
description?: string | undefined;
|
|
2773
2683
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "value" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2774
2684
|
type: "apiKey";
|
|
2775
2685
|
value: string;
|
|
2776
|
-
uid: string
|
|
2686
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2777
2687
|
name: string;
|
|
2778
2688
|
nameKey: string;
|
|
2779
|
-
in: "
|
|
2689
|
+
in: "cookie" | "query" | "header";
|
|
2780
2690
|
description?: string | undefined;
|
|
2781
2691
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2782
2692
|
type: "apiKey";
|
|
2783
2693
|
value: string;
|
|
2784
|
-
uid: string
|
|
2694
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2785
2695
|
name: string;
|
|
2786
2696
|
nameKey: string;
|
|
2787
|
-
in: "
|
|
2697
|
+
in: "cookie" | "query" | "header";
|
|
2788
2698
|
description?: string | undefined;
|
|
2789
2699
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "token" | "username" ? {
|
|
2790
2700
|
type: "http";
|
|
2791
|
-
uid: string
|
|
2701
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2792
2702
|
nameKey: string;
|
|
2793
2703
|
scheme: "basic" | "bearer";
|
|
2794
2704
|
bearerFormat: string;
|
|
@@ -2798,7 +2708,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2798
2708
|
description?: string | undefined;
|
|
2799
2709
|
}[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<{
|
|
2800
2710
|
type: "http";
|
|
2801
|
-
uid: string
|
|
2711
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2802
2712
|
nameKey: string;
|
|
2803
2713
|
scheme: "basic" | "bearer";
|
|
2804
2714
|
bearerFormat: string;
|
|
@@ -2808,7 +2718,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2808
2718
|
description?: string | undefined;
|
|
2809
2719
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2810
2720
|
type: "http";
|
|
2811
|
-
uid: string
|
|
2721
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2812
2722
|
nameKey: string;
|
|
2813
2723
|
scheme: "basic" | "bearer";
|
|
2814
2724
|
bearerFormat: string;
|
|
@@ -2818,25 +2728,25 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2818
2728
|
description?: string | undefined;
|
|
2819
2729
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? {
|
|
2820
2730
|
type: "openIdConnect";
|
|
2821
|
-
uid: string
|
|
2731
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2822
2732
|
nameKey: string;
|
|
2823
2733
|
openIdConnectUrl: string;
|
|
2824
2734
|
description?: string | undefined;
|
|
2825
2735
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2826
2736
|
type: "openIdConnect";
|
|
2827
|
-
uid: string
|
|
2737
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2828
2738
|
nameKey: string;
|
|
2829
2739
|
openIdConnectUrl: string;
|
|
2830
2740
|
description?: string | undefined;
|
|
2831
2741
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2832
2742
|
type: "openIdConnect";
|
|
2833
|
-
uid: string
|
|
2743
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2834
2744
|
nameKey: string;
|
|
2835
2745
|
openIdConnectUrl: string;
|
|
2836
2746
|
description?: string | undefined;
|
|
2837
2747
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
|
|
2838
2748
|
type: "oauth2";
|
|
2839
|
-
uid: string
|
|
2749
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2840
2750
|
nameKey: string;
|
|
2841
2751
|
flows: {
|
|
2842
2752
|
password?: {
|
|
@@ -2888,7 +2798,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2888
2798
|
description?: string | undefined;
|
|
2889
2799
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "flows" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2890
2800
|
type: "oauth2";
|
|
2891
|
-
uid: string
|
|
2801
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2892
2802
|
nameKey: string;
|
|
2893
2803
|
flows: {
|
|
2894
2804
|
password?: {
|
|
@@ -2940,7 +2850,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2940
2850
|
description?: string | undefined;
|
|
2941
2851
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2942
2852
|
type: "oauth2";
|
|
2943
|
-
uid: string
|
|
2853
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2944
2854
|
nameKey: string;
|
|
2945
2855
|
flows: {
|
|
2946
2856
|
password?: {
|
|
@@ -2991,33 +2901,33 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2991
2901
|
};
|
|
2992
2902
|
description?: string | undefined;
|
|
2993
2903
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
2994
|
-
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
|
|
2904
|
+
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" ? {
|
|
2995
2905
|
type: "apiKey";
|
|
2996
2906
|
value: string;
|
|
2997
|
-
uid: string
|
|
2907
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2998
2908
|
name: string;
|
|
2999
2909
|
nameKey: string;
|
|
3000
|
-
in: "
|
|
2910
|
+
in: "cookie" | "query" | "header";
|
|
3001
2911
|
description?: string | undefined;
|
|
3002
2912
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "value" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3003
2913
|
type: "apiKey";
|
|
3004
2914
|
value: string;
|
|
3005
|
-
uid: string
|
|
2915
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3006
2916
|
name: string;
|
|
3007
2917
|
nameKey: string;
|
|
3008
|
-
in: "
|
|
2918
|
+
in: "cookie" | "query" | "header";
|
|
3009
2919
|
description?: string | undefined;
|
|
3010
2920
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3011
2921
|
type: "apiKey";
|
|
3012
2922
|
value: string;
|
|
3013
|
-
uid: string
|
|
2923
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3014
2924
|
name: string;
|
|
3015
2925
|
nameKey: string;
|
|
3016
|
-
in: "
|
|
2926
|
+
in: "cookie" | "query" | "header";
|
|
3017
2927
|
description?: string | undefined;
|
|
3018
2928
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "token" | "username" ? {
|
|
3019
2929
|
type: "http";
|
|
3020
|
-
uid: string
|
|
2930
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3021
2931
|
nameKey: string;
|
|
3022
2932
|
scheme: "basic" | "bearer";
|
|
3023
2933
|
bearerFormat: string;
|
|
@@ -3027,7 +2937,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3027
2937
|
description?: string | undefined;
|
|
3028
2938
|
}[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<{
|
|
3029
2939
|
type: "http";
|
|
3030
|
-
uid: string
|
|
2940
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3031
2941
|
nameKey: string;
|
|
3032
2942
|
scheme: "basic" | "bearer";
|
|
3033
2943
|
bearerFormat: string;
|
|
@@ -3037,7 +2947,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3037
2947
|
description?: string | undefined;
|
|
3038
2948
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3039
2949
|
type: "http";
|
|
3040
|
-
uid: string
|
|
2950
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3041
2951
|
nameKey: string;
|
|
3042
2952
|
scheme: "basic" | "bearer";
|
|
3043
2953
|
bearerFormat: string;
|
|
@@ -3047,25 +2957,25 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3047
2957
|
description?: string | undefined;
|
|
3048
2958
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? {
|
|
3049
2959
|
type: "openIdConnect";
|
|
3050
|
-
uid: string
|
|
2960
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3051
2961
|
nameKey: string;
|
|
3052
2962
|
openIdConnectUrl: string;
|
|
3053
2963
|
description?: string | undefined;
|
|
3054
2964
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3055
2965
|
type: "openIdConnect";
|
|
3056
|
-
uid: string
|
|
2966
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3057
2967
|
nameKey: string;
|
|
3058
2968
|
openIdConnectUrl: string;
|
|
3059
2969
|
description?: string | undefined;
|
|
3060
2970
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3061
2971
|
type: "openIdConnect";
|
|
3062
|
-
uid: string
|
|
2972
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3063
2973
|
nameKey: string;
|
|
3064
2974
|
openIdConnectUrl: string;
|
|
3065
2975
|
description?: string | undefined;
|
|
3066
2976
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
|
|
3067
2977
|
type: "oauth2";
|
|
3068
|
-
uid: string
|
|
2978
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3069
2979
|
nameKey: string;
|
|
3070
2980
|
flows: {
|
|
3071
2981
|
password?: {
|
|
@@ -3117,7 +3027,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3117
3027
|
description?: string | undefined;
|
|
3118
3028
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "flows" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3119
3029
|
type: "oauth2";
|
|
3120
|
-
uid: string
|
|
3030
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3121
3031
|
nameKey: string;
|
|
3122
3032
|
flows: {
|
|
3123
3033
|
password?: {
|
|
@@ -3169,7 +3079,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3169
3079
|
description?: string | undefined;
|
|
3170
3080
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3171
3081
|
type: "oauth2";
|
|
3172
|
-
uid: string
|
|
3082
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3173
3083
|
nameKey: string;
|
|
3174
3084
|
flows: {
|
|
3175
3085
|
password?: {
|
|
@@ -3220,13 +3130,13 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3220
3130
|
};
|
|
3221
3131
|
description?: string | undefined;
|
|
3222
3132
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
3223
|
-
undo: (uid: string) => void;
|
|
3224
|
-
redo: (uid: string) => void;
|
|
3133
|
+
undo: (uid: string & import("zod").BRAND<"securityScheme">) => void;
|
|
3134
|
+
redo: (uid: string & import("zod").BRAND<"securityScheme">) => void;
|
|
3225
3135
|
reset: () => void;
|
|
3226
3136
|
};
|
|
3227
3137
|
serverMutators: {
|
|
3228
3138
|
rawAdd: (item: {
|
|
3229
|
-
uid: string
|
|
3139
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3230
3140
|
url: string;
|
|
3231
3141
|
description?: string | undefined;
|
|
3232
3142
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3235,7 +3145,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3235
3145
|
}> | undefined;
|
|
3236
3146
|
}) => void;
|
|
3237
3147
|
add: (payload: import("@scalar/oas-utils/entities/spec").ServerPayload, parentUid: string) => {
|
|
3238
|
-
uid: string
|
|
3148
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3239
3149
|
url: string;
|
|
3240
3150
|
description?: string | undefined;
|
|
3241
3151
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3243,9 +3153,9 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3243
3153
|
value?: string;
|
|
3244
3154
|
}> | undefined;
|
|
3245
3155
|
};
|
|
3246
|
-
delete: (serverUid:
|
|
3156
|
+
delete: (serverUid: import("@scalar/oas-utils/entities/spec").Server["uid"], collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
3247
3157
|
set: (item: {
|
|
3248
|
-
uid: string
|
|
3158
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3249
3159
|
url: string;
|
|
3250
3160
|
description?: string | undefined;
|
|
3251
3161
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3253,8 +3163,8 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3253
3163
|
value?: string;
|
|
3254
3164
|
}> | undefined;
|
|
3255
3165
|
}) => void;
|
|
3256
|
-
edit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: string, path: P, value: P extends "description" | "uid" | "url" | "variables" ? {
|
|
3257
|
-
uid: string
|
|
3166
|
+
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" ? {
|
|
3167
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3258
3168
|
url: string;
|
|
3259
3169
|
description?: string | undefined;
|
|
3260
3170
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3262,7 +3172,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3262
3172
|
value?: string;
|
|
3263
3173
|
}> | undefined;
|
|
3264
3174
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "uid" | "url" | "variables" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3265
|
-
uid: string
|
|
3175
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3266
3176
|
url: string;
|
|
3267
3177
|
description?: string | undefined;
|
|
3268
3178
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3270,7 +3180,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3270
3180
|
value?: string;
|
|
3271
3181
|
}> | undefined;
|
|
3272
3182
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3273
|
-
uid: string
|
|
3183
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3274
3184
|
url: string;
|
|
3275
3185
|
description?: string | undefined;
|
|
3276
3186
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3278,8 +3188,8 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3278
3188
|
value?: string;
|
|
3279
3189
|
}> | undefined;
|
|
3280
3190
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3281
|
-
untrackedEdit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: string
|
|
3282
|
-
uid: string
|
|
3191
|
+
untrackedEdit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: string & import("zod").BRAND<"server">, path: P, value: P extends "description" | "uid" | "url" | "variables" ? {
|
|
3192
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3283
3193
|
url: string;
|
|
3284
3194
|
description?: string | undefined;
|
|
3285
3195
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3287,7 +3197,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3287
3197
|
value?: string;
|
|
3288
3198
|
}> | undefined;
|
|
3289
3199
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "uid" | "url" | "variables" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3290
|
-
uid: string
|
|
3200
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3291
3201
|
url: string;
|
|
3292
3202
|
description?: string | undefined;
|
|
3293
3203
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3295,7 +3205,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3295
3205
|
value?: string;
|
|
3296
3206
|
}> | undefined;
|
|
3297
3207
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3298
|
-
uid: string
|
|
3208
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3299
3209
|
url: string;
|
|
3300
3210
|
description?: string | undefined;
|
|
3301
3211
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3303,16 +3213,16 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3303
3213
|
value?: string;
|
|
3304
3214
|
}> | undefined;
|
|
3305
3215
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3306
|
-
undo: (uid: string) => void;
|
|
3307
|
-
redo: (uid: string) => void;
|
|
3216
|
+
undo: (uid: string & import("zod").BRAND<"server">) => void;
|
|
3217
|
+
redo: (uid: string & import("zod").BRAND<"server">) => void;
|
|
3308
3218
|
reset: () => void;
|
|
3309
3219
|
};
|
|
3310
3220
|
tagMutators: {
|
|
3311
3221
|
rawAdd: (item: {
|
|
3312
3222
|
type: "tag";
|
|
3313
|
-
uid: string
|
|
3223
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3314
3224
|
name: string;
|
|
3315
|
-
children: string[];
|
|
3225
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3316
3226
|
description?: string | undefined;
|
|
3317
3227
|
externalDocs?: {
|
|
3318
3228
|
url: string;
|
|
@@ -3324,11 +3234,11 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3324
3234
|
'x-internal'?: boolean | undefined;
|
|
3325
3235
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3326
3236
|
}) => void;
|
|
3327
|
-
add: (payload: import("@scalar/oas-utils/entities/spec").TagPayload, collectionUid:
|
|
3237
|
+
add: (payload: import("@scalar/oas-utils/entities/spec").TagPayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void | {
|
|
3328
3238
|
type: "tag";
|
|
3329
|
-
uid: string
|
|
3239
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3330
3240
|
name: string;
|
|
3331
|
-
children: string[];
|
|
3241
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3332
3242
|
description?: string | undefined;
|
|
3333
3243
|
externalDocs?: {
|
|
3334
3244
|
url: string;
|
|
@@ -3340,12 +3250,12 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3340
3250
|
'x-internal'?: boolean | undefined;
|
|
3341
3251
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3342
3252
|
};
|
|
3343
|
-
delete: (tag: import("@scalar/oas-utils/entities/spec").Tag, collectionUid:
|
|
3253
|
+
delete: (tag: import("@scalar/oas-utils/entities/spec").Tag, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
3344
3254
|
set: (item: {
|
|
3345
3255
|
type: "tag";
|
|
3346
|
-
uid: string
|
|
3256
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3347
3257
|
name: string;
|
|
3348
|
-
children: string[];
|
|
3258
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3349
3259
|
description?: string | undefined;
|
|
3350
3260
|
externalDocs?: {
|
|
3351
3261
|
url: string;
|
|
@@ -3357,11 +3267,11 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3357
3267
|
'x-internal'?: boolean | undefined;
|
|
3358
3268
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3359
3269
|
}) => void;
|
|
3360
|
-
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" ? {
|
|
3270
|
+
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" ? {
|
|
3361
3271
|
type: "tag";
|
|
3362
|
-
uid: string
|
|
3272
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3363
3273
|
name: string;
|
|
3364
|
-
children: string[];
|
|
3274
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3365
3275
|
description?: string | undefined;
|
|
3366
3276
|
externalDocs?: {
|
|
3367
3277
|
url: string;
|
|
@@ -3374,9 +3284,9 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3374
3284
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3375
3285
|
}[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<{
|
|
3376
3286
|
type: "tag";
|
|
3377
|
-
uid: string
|
|
3287
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3378
3288
|
name: string;
|
|
3379
|
-
children: string[];
|
|
3289
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3380
3290
|
description?: string | undefined;
|
|
3381
3291
|
externalDocs?: {
|
|
3382
3292
|
url: string;
|
|
@@ -3389,9 +3299,9 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3389
3299
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3390
3300
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3391
3301
|
type: "tag";
|
|
3392
|
-
uid: string
|
|
3302
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3393
3303
|
name: string;
|
|
3394
|
-
children: string[];
|
|
3304
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3395
3305
|
description?: string | undefined;
|
|
3396
3306
|
externalDocs?: {
|
|
3397
3307
|
url: string;
|
|
@@ -3403,11 +3313,11 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3403
3313
|
'x-internal'?: boolean | undefined;
|
|
3404
3314
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3405
3315
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3406
|
-
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
|
|
3316
|
+
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" ? {
|
|
3407
3317
|
type: "tag";
|
|
3408
|
-
uid: string
|
|
3318
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3409
3319
|
name: string;
|
|
3410
|
-
children: string[];
|
|
3320
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3411
3321
|
description?: string | undefined;
|
|
3412
3322
|
externalDocs?: {
|
|
3413
3323
|
url: string;
|
|
@@ -3420,9 +3330,9 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3420
3330
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3421
3331
|
}[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<{
|
|
3422
3332
|
type: "tag";
|
|
3423
|
-
uid: string
|
|
3333
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3424
3334
|
name: string;
|
|
3425
|
-
children: string[];
|
|
3335
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3426
3336
|
description?: string | undefined;
|
|
3427
3337
|
externalDocs?: {
|
|
3428
3338
|
url: string;
|
|
@@ -3435,9 +3345,9 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3435
3345
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3436
3346
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3437
3347
|
type: "tag";
|
|
3438
|
-
uid: string
|
|
3348
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3439
3349
|
name: string;
|
|
3440
|
-
children: string[];
|
|
3350
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3441
3351
|
description?: string | undefined;
|
|
3442
3352
|
externalDocs?: {
|
|
3443
3353
|
url: string;
|
|
@@ -3449,19 +3359,19 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3449
3359
|
'x-internal'?: boolean | undefined;
|
|
3450
3360
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3451
3361
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3452
|
-
undo: (uid: string) => void;
|
|
3453
|
-
redo: (uid: string) => void;
|
|
3362
|
+
undo: (uid: string & import("zod").BRAND<"tag">) => void;
|
|
3363
|
+
redo: (uid: string & import("zod").BRAND<"tag">) => void;
|
|
3454
3364
|
reset: () => void;
|
|
3455
3365
|
};
|
|
3456
3366
|
workspaceMutators: {
|
|
3457
3367
|
rawAdd: (item: {
|
|
3458
|
-
uid: string
|
|
3368
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3459
3369
|
name: string;
|
|
3460
3370
|
description: string;
|
|
3461
|
-
collections: string[];
|
|
3371
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3462
3372
|
environments: Record<string, string>;
|
|
3463
3373
|
activeEnvironmentId: string;
|
|
3464
|
-
cookies: string[];
|
|
3374
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3465
3375
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3466
3376
|
selectedHttpClient: {
|
|
3467
3377
|
targetKey: string;
|
|
@@ -3477,13 +3387,13 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3477
3387
|
proxyUrl?: string | undefined;
|
|
3478
3388
|
}) => void;
|
|
3479
3389
|
add: (payload?: Partial<import("@scalar/oas-utils/entities").Workspace>) => {
|
|
3480
|
-
uid: string
|
|
3390
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3481
3391
|
name: string;
|
|
3482
3392
|
description: string;
|
|
3483
|
-
collections: string[];
|
|
3393
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3484
3394
|
environments: Record<string, string>;
|
|
3485
3395
|
activeEnvironmentId: string;
|
|
3486
|
-
cookies: string[];
|
|
3396
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3487
3397
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3488
3398
|
selectedHttpClient: {
|
|
3489
3399
|
targetKey: string;
|
|
@@ -3498,15 +3408,15 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3498
3408
|
} | undefined;
|
|
3499
3409
|
proxyUrl?: string | undefined;
|
|
3500
3410
|
};
|
|
3501
|
-
delete: (uid:
|
|
3411
|
+
delete: (uid: import("@scalar/oas-utils/entities").Workspace["uid"]) => void;
|
|
3502
3412
|
set: (item: {
|
|
3503
|
-
uid: string
|
|
3413
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3504
3414
|
name: string;
|
|
3505
3415
|
description: string;
|
|
3506
|
-
collections: string[];
|
|
3416
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3507
3417
|
environments: Record<string, string>;
|
|
3508
3418
|
activeEnvironmentId: string;
|
|
3509
|
-
cookies: string[];
|
|
3419
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3510
3420
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3511
3421
|
selectedHttpClient: {
|
|
3512
3422
|
targetKey: string;
|
|
@@ -3521,14 +3431,14 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3521
3431
|
} | undefined;
|
|
3522
3432
|
proxyUrl?: string | undefined;
|
|
3523
3433
|
}) => void;
|
|
3524
|
-
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" ? {
|
|
3525
|
-
uid: string
|
|
3434
|
+
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" ? {
|
|
3435
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3526
3436
|
name: string;
|
|
3527
3437
|
description: string;
|
|
3528
|
-
collections: string[];
|
|
3438
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3529
3439
|
environments: Record<string, string>;
|
|
3530
3440
|
activeEnvironmentId: string;
|
|
3531
|
-
cookies: string[];
|
|
3441
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3532
3442
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3533
3443
|
selectedHttpClient: {
|
|
3534
3444
|
targetKey: string;
|
|
@@ -3543,13 +3453,13 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3543
3453
|
} | undefined;
|
|
3544
3454
|
proxyUrl?: string | undefined;
|
|
3545
3455
|
}[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<{
|
|
3546
|
-
uid: string
|
|
3456
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3547
3457
|
name: string;
|
|
3548
3458
|
description: string;
|
|
3549
|
-
collections: string[];
|
|
3459
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3550
3460
|
environments: Record<string, string>;
|
|
3551
3461
|
activeEnvironmentId: string;
|
|
3552
|
-
cookies: string[];
|
|
3462
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3553
3463
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3554
3464
|
selectedHttpClient: {
|
|
3555
3465
|
targetKey: string;
|
|
@@ -3564,13 +3474,13 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3564
3474
|
} | undefined;
|
|
3565
3475
|
proxyUrl?: string | undefined;
|
|
3566
3476
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3567
|
-
uid: string
|
|
3477
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3568
3478
|
name: string;
|
|
3569
3479
|
description: string;
|
|
3570
|
-
collections: string[];
|
|
3480
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3571
3481
|
environments: Record<string, string>;
|
|
3572
3482
|
activeEnvironmentId: string;
|
|
3573
|
-
cookies: string[];
|
|
3483
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3574
3484
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3575
3485
|
selectedHttpClient: {
|
|
3576
3486
|
targetKey: string;
|
|
@@ -3585,14 +3495,14 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3585
3495
|
} | undefined;
|
|
3586
3496
|
proxyUrl?: string | undefined;
|
|
3587
3497
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3588
|
-
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" ? {
|
|
3589
|
-
uid: string
|
|
3498
|
+
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" ? {
|
|
3499
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3590
3500
|
name: string;
|
|
3591
3501
|
description: string;
|
|
3592
|
-
collections: string[];
|
|
3502
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3593
3503
|
environments: Record<string, string>;
|
|
3594
3504
|
activeEnvironmentId: string;
|
|
3595
|
-
cookies: string[];
|
|
3505
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3596
3506
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3597
3507
|
selectedHttpClient: {
|
|
3598
3508
|
targetKey: string;
|
|
@@ -3607,13 +3517,13 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3607
3517
|
} | undefined;
|
|
3608
3518
|
proxyUrl?: string | undefined;
|
|
3609
3519
|
}[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<{
|
|
3610
|
-
uid: string
|
|
3520
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3611
3521
|
name: string;
|
|
3612
3522
|
description: string;
|
|
3613
|
-
collections: string[];
|
|
3523
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3614
3524
|
environments: Record<string, string>;
|
|
3615
3525
|
activeEnvironmentId: string;
|
|
3616
|
-
cookies: string[];
|
|
3526
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3617
3527
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3618
3528
|
selectedHttpClient: {
|
|
3619
3529
|
targetKey: string;
|
|
@@ -3628,13 +3538,13 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3628
3538
|
} | undefined;
|
|
3629
3539
|
proxyUrl?: string | undefined;
|
|
3630
3540
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3631
|
-
uid: string
|
|
3541
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3632
3542
|
name: string;
|
|
3633
3543
|
description: string;
|
|
3634
|
-
collections: string[];
|
|
3544
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3635
3545
|
environments: Record<string, string>;
|
|
3636
3546
|
activeEnvironmentId: string;
|
|
3637
|
-
cookies: string[];
|
|
3547
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3638
3548
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3639
3549
|
selectedHttpClient: {
|
|
3640
3550
|
targetKey: string;
|
|
@@ -3649,12 +3559,12 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3649
3559
|
} | undefined;
|
|
3650
3560
|
proxyUrl?: string | undefined;
|
|
3651
3561
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3652
|
-
undo: (uid: string) => void;
|
|
3653
|
-
redo: (uid: string) => void;
|
|
3562
|
+
undo: (uid: string & import("zod").BRAND<"workspace">) => void;
|
|
3563
|
+
redo: (uid: string & import("zod").BRAND<"workspace">) => void;
|
|
3654
3564
|
reset: () => void;
|
|
3655
3565
|
};
|
|
3656
|
-
addCollectionEnvironment: (environmentName: string, environment: import("@scalar/oas-utils/entities/spec").XScalarEnvironment, collectionUid:
|
|
3657
|
-
removeCollectionEnvironment: (environmentName: string, collectionUid:
|
|
3566
|
+
addCollectionEnvironment: (environmentName: string, environment: import("@scalar/oas-utils/entities/spec").XScalarEnvironment, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
3567
|
+
removeCollectionEnvironment: (environmentName: string, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
3658
3568
|
};
|
|
3659
3569
|
updateExample: (exampleKey: string, operationId: string) => void;
|
|
3660
3570
|
}>;
|
|
@@ -3684,13 +3594,13 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
3684
3594
|
};
|
|
3685
3595
|
store: {
|
|
3686
3596
|
workspaces: Record<string, {
|
|
3687
|
-
uid: string
|
|
3597
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3688
3598
|
name: string;
|
|
3689
3599
|
description: string;
|
|
3690
|
-
collections: string[];
|
|
3600
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3691
3601
|
environments: Record<string, string>;
|
|
3692
3602
|
activeEnvironmentId: string;
|
|
3693
|
-
cookies: string[];
|
|
3603
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3694
3604
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3695
3605
|
selectedHttpClient: {
|
|
3696
3606
|
targetKey: string;
|
|
@@ -3707,17 +3617,16 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
3707
3617
|
}>;
|
|
3708
3618
|
collections: Record<string, {
|
|
3709
3619
|
type: "collection";
|
|
3710
|
-
uid: string
|
|
3711
|
-
children: string[];
|
|
3620
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
3621
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3712
3622
|
openapi: string;
|
|
3713
3623
|
security: Record<string, string[]>[];
|
|
3714
3624
|
'x-scalar-icon': string;
|
|
3715
3625
|
securitySchemes: string[];
|
|
3716
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
tags: string[];
|
|
3626
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
3627
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
3628
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
3629
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
3721
3630
|
watchMode: boolean;
|
|
3722
3631
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
3723
3632
|
externalDocs?: {
|
|
@@ -3754,17 +3663,18 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
3754
3663
|
color?: string | undefined;
|
|
3755
3664
|
}> | undefined;
|
|
3756
3665
|
'x-scalar-secrets'?: Record<string, {
|
|
3757
|
-
description?: string | undefined;
|
|
3758
3666
|
example?: string | undefined;
|
|
3667
|
+
description?: string | undefined;
|
|
3759
3668
|
}> | undefined;
|
|
3669
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
3760
3670
|
documentUrl?: string | undefined;
|
|
3761
3671
|
integration?: string | null | undefined;
|
|
3762
3672
|
}>;
|
|
3763
3673
|
tags: Record<string, {
|
|
3764
3674
|
type: "tag";
|
|
3765
|
-
uid: string
|
|
3675
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3766
3676
|
name: string;
|
|
3767
|
-
children: string[];
|
|
3677
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3768
3678
|
description?: string | undefined;
|
|
3769
3679
|
externalDocs?: {
|
|
3770
3680
|
url: string;
|
|
@@ -3778,21 +3688,21 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
3778
3688
|
}>;
|
|
3779
3689
|
cookies: Record<string, {
|
|
3780
3690
|
value: string;
|
|
3781
|
-
uid: string
|
|
3691
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
3782
3692
|
name: string;
|
|
3783
3693
|
path?: string | undefined;
|
|
3784
3694
|
domain?: string | undefined;
|
|
3785
3695
|
}>;
|
|
3786
3696
|
environments: Record<string, {
|
|
3787
3697
|
value: string;
|
|
3788
|
-
uid: string
|
|
3698
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
3789
3699
|
name: string;
|
|
3790
3700
|
color: string;
|
|
3791
3701
|
isDefault?: boolean | undefined;
|
|
3792
3702
|
}>;
|
|
3793
3703
|
requestExamples: Record<string, {
|
|
3794
3704
|
type: "requestExample";
|
|
3795
|
-
uid: string
|
|
3705
|
+
uid: string & import("zod").BRAND<"example">;
|
|
3796
3706
|
name: string;
|
|
3797
3707
|
parameters: {
|
|
3798
3708
|
path: {
|
|
@@ -3887,17 +3797,17 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
3887
3797
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
3888
3798
|
} | undefined;
|
|
3889
3799
|
};
|
|
3890
|
-
requestUid
|
|
3800
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
3891
3801
|
serverVariables?: Record<string, string[]> | undefined;
|
|
3892
3802
|
}>;
|
|
3893
3803
|
requests: Record<string, {
|
|
3894
3804
|
path: string;
|
|
3895
3805
|
type: "request";
|
|
3896
|
-
uid: string
|
|
3897
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
3898
|
-
selectedServerUid: string;
|
|
3899
|
-
servers: string[];
|
|
3900
|
-
examples: string[];
|
|
3806
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
3807
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
3808
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
3809
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
3810
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
3901
3811
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
3902
3812
|
description?: string | undefined;
|
|
3903
3813
|
summary?: string | undefined;
|
|
@@ -3914,10 +3824,10 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
3914
3824
|
parameters?: {
|
|
3915
3825
|
required: boolean;
|
|
3916
3826
|
name: string;
|
|
3917
|
-
in: "path" | "
|
|
3827
|
+
in: "path" | "cookie" | "query" | "header";
|
|
3918
3828
|
deprecated: boolean;
|
|
3919
|
-
description?: string | undefined;
|
|
3920
3829
|
example?: unknown;
|
|
3830
|
+
description?: string | undefined;
|
|
3921
3831
|
schema?: unknown;
|
|
3922
3832
|
content?: unknown;
|
|
3923
3833
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -3930,7 +3840,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
3930
3840
|
responses?: Record<string, any> | undefined;
|
|
3931
3841
|
}>;
|
|
3932
3842
|
servers: Record<string, {
|
|
3933
|
-
uid: string
|
|
3843
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3934
3844
|
url: string;
|
|
3935
3845
|
description?: string | undefined;
|
|
3936
3846
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3941,14 +3851,14 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
3941
3851
|
securitySchemes: Record<string, {
|
|
3942
3852
|
type: "apiKey";
|
|
3943
3853
|
value: string;
|
|
3944
|
-
uid: string
|
|
3854
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3945
3855
|
name: string;
|
|
3946
3856
|
nameKey: string;
|
|
3947
|
-
in: "
|
|
3857
|
+
in: "cookie" | "query" | "header";
|
|
3948
3858
|
description?: string | undefined;
|
|
3949
3859
|
} | {
|
|
3950
3860
|
type: "http";
|
|
3951
|
-
uid: string
|
|
3861
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3952
3862
|
nameKey: string;
|
|
3953
3863
|
scheme: "basic" | "bearer";
|
|
3954
3864
|
bearerFormat: string;
|
|
@@ -3958,13 +3868,13 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
3958
3868
|
description?: string | undefined;
|
|
3959
3869
|
} | {
|
|
3960
3870
|
type: "openIdConnect";
|
|
3961
|
-
uid: string
|
|
3871
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3962
3872
|
nameKey: string;
|
|
3963
3873
|
openIdConnectUrl: string;
|
|
3964
3874
|
description?: string | undefined;
|
|
3965
3875
|
} | {
|
|
3966
3876
|
type: "oauth2";
|
|
3967
|
-
uid: string
|
|
3877
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3968
3878
|
nameKey: string;
|
|
3969
3879
|
flows: {
|
|
3970
3880
|
password?: {
|
|
@@ -4042,7 +3952,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4042
3952
|
description?: string | undefined;
|
|
4043
3953
|
url?: string | undefined;
|
|
4044
3954
|
} | undefined;
|
|
4045
|
-
children?:
|
|
3955
|
+
children?: string[] | undefined;
|
|
4046
3956
|
openapi?: string | undefined;
|
|
4047
3957
|
jsonSchemaDialect?: string | undefined;
|
|
4048
3958
|
info?: {
|
|
@@ -4076,15 +3986,15 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4076
3986
|
color?: string | undefined;
|
|
4077
3987
|
}> | undefined;
|
|
4078
3988
|
'x-scalar-secrets'?: Record<string, {
|
|
4079
|
-
description?: string | undefined;
|
|
4080
3989
|
example?: string | undefined;
|
|
3990
|
+
description?: string | undefined;
|
|
4081
3991
|
}> | undefined;
|
|
4082
3992
|
securitySchemes?: string[] | undefined;
|
|
4083
|
-
selectedSecuritySchemeUids?: (string |
|
|
3993
|
+
selectedSecuritySchemeUids?: (string | string[])[] | undefined;
|
|
4084
3994
|
selectedServerUid?: string | undefined;
|
|
4085
|
-
servers?:
|
|
4086
|
-
requests?:
|
|
4087
|
-
tags?:
|
|
3995
|
+
servers?: string[] | undefined;
|
|
3996
|
+
requests?: string[] | undefined;
|
|
3997
|
+
tags?: string[] | undefined;
|
|
4088
3998
|
documentUrl?: string | undefined;
|
|
4089
3999
|
watchMode?: boolean | undefined;
|
|
4090
4000
|
integration?: string | null | undefined;
|
|
@@ -4093,59 +4003,14 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4093
4003
|
setCollectionSecurity?: boolean;
|
|
4094
4004
|
shouldLoad?: boolean;
|
|
4095
4005
|
} & Pick<import("@scalar/types").ReferenceConfiguration, "servers">) => Promise<{
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
selectedServerUid: string;
|
|
4105
|
-
servers: string[];
|
|
4106
|
-
requests: string[];
|
|
4107
|
-
tags: string[];
|
|
4108
|
-
watchMode: boolean;
|
|
4109
|
-
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4110
|
-
externalDocs?: {
|
|
4111
|
-
url: string;
|
|
4112
|
-
description?: string | undefined;
|
|
4113
|
-
} | undefined;
|
|
4114
|
-
jsonSchemaDialect?: string | undefined;
|
|
4115
|
-
info?: {
|
|
4116
|
-
title: string;
|
|
4117
|
-
version: string;
|
|
4118
|
-
description?: string | undefined;
|
|
4119
|
-
summary?: string | undefined;
|
|
4120
|
-
termsOfService?: string | undefined;
|
|
4121
|
-
contact?: {
|
|
4122
|
-
name?: string | undefined;
|
|
4123
|
-
url?: string | undefined;
|
|
4124
|
-
email?: string | undefined;
|
|
4125
|
-
} | undefined;
|
|
4126
|
-
license?: {
|
|
4127
|
-
name: string;
|
|
4128
|
-
identifier?: string | undefined;
|
|
4129
|
-
url?: string | undefined;
|
|
4130
|
-
} | undefined;
|
|
4131
|
-
} | undefined;
|
|
4132
|
-
components?: Record<string, unknown> | undefined;
|
|
4133
|
-
webhooks?: Record<string, unknown> | undefined;
|
|
4134
|
-
'x-scalar-active-environment'?: string | undefined;
|
|
4135
|
-
'x-scalar-environments'?: Record<string, {
|
|
4136
|
-
variables: Record<string, string | {
|
|
4137
|
-
default: string;
|
|
4138
|
-
description?: string | undefined;
|
|
4139
|
-
}>;
|
|
4140
|
-
description?: string | undefined;
|
|
4141
|
-
color?: string | undefined;
|
|
4142
|
-
}> | undefined;
|
|
4143
|
-
'x-scalar-secrets'?: Record<string, {
|
|
4144
|
-
description?: string | undefined;
|
|
4145
|
-
example?: string | undefined;
|
|
4146
|
-
}> | undefined;
|
|
4147
|
-
documentUrl?: string | undefined;
|
|
4148
|
-
integration?: string | null | undefined;
|
|
4006
|
+
error: false;
|
|
4007
|
+
collection: import("@scalar/oas-utils/entities/spec").Collection;
|
|
4008
|
+
requests: import("@scalar/oas-utils/entities/spec").Request[];
|
|
4009
|
+
schema: import("@scalar/openapi-types").OpenAPIV3_1.Document;
|
|
4010
|
+
examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
|
|
4011
|
+
servers: import("@scalar/oas-utils/entities/spec").Server[];
|
|
4012
|
+
tags: import("@scalar/oas-utils/entities/spec").Tag[];
|
|
4013
|
+
securitySchemes: import("@scalar/oas-utils/entities/spec").SecurityScheme[];
|
|
4149
4014
|
} | undefined>;
|
|
4150
4015
|
importSpecFromUrl: (url: string, workspaceUid: string, { proxyUrl, ...options }?: Omit<Pick<{
|
|
4151
4016
|
type?: "collection" | undefined;
|
|
@@ -4154,7 +4019,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4154
4019
|
description?: string | undefined;
|
|
4155
4020
|
url?: string | undefined;
|
|
4156
4021
|
} | undefined;
|
|
4157
|
-
children?:
|
|
4022
|
+
children?: string[] | undefined;
|
|
4158
4023
|
openapi?: string | undefined;
|
|
4159
4024
|
jsonSchemaDialect?: string | undefined;
|
|
4160
4025
|
info?: {
|
|
@@ -4188,15 +4053,15 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4188
4053
|
color?: string | undefined;
|
|
4189
4054
|
}> | undefined;
|
|
4190
4055
|
'x-scalar-secrets'?: Record<string, {
|
|
4191
|
-
description?: string | undefined;
|
|
4192
4056
|
example?: string | undefined;
|
|
4057
|
+
description?: string | undefined;
|
|
4193
4058
|
}> | undefined;
|
|
4194
4059
|
securitySchemes?: string[] | undefined;
|
|
4195
|
-
selectedSecuritySchemeUids?: (string |
|
|
4060
|
+
selectedSecuritySchemeUids?: (string | string[])[] | undefined;
|
|
4196
4061
|
selectedServerUid?: string | undefined;
|
|
4197
|
-
servers?:
|
|
4198
|
-
requests?:
|
|
4199
|
-
tags?:
|
|
4062
|
+
servers?: string[] | undefined;
|
|
4063
|
+
requests?: string[] | undefined;
|
|
4064
|
+
tags?: string[] | undefined;
|
|
4200
4065
|
documentUrl?: string | undefined;
|
|
4201
4066
|
watchMode?: boolean | undefined;
|
|
4202
4067
|
integration?: string | null | undefined;
|
|
@@ -4211,7 +4076,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4211
4076
|
description?: string | undefined;
|
|
4212
4077
|
url?: string | undefined;
|
|
4213
4078
|
} | undefined;
|
|
4214
|
-
children?:
|
|
4079
|
+
children?: string[] | undefined;
|
|
4215
4080
|
openapi?: string | undefined;
|
|
4216
4081
|
jsonSchemaDialect?: string | undefined;
|
|
4217
4082
|
info?: {
|
|
@@ -4245,15 +4110,15 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4245
4110
|
color?: string | undefined;
|
|
4246
4111
|
}> | undefined;
|
|
4247
4112
|
'x-scalar-secrets'?: Record<string, {
|
|
4248
|
-
description?: string | undefined;
|
|
4249
4113
|
example?: string | undefined;
|
|
4114
|
+
description?: string | undefined;
|
|
4250
4115
|
}> | undefined;
|
|
4251
4116
|
securitySchemes?: string[] | undefined;
|
|
4252
|
-
selectedSecuritySchemeUids?: (string |
|
|
4117
|
+
selectedSecuritySchemeUids?: (string | string[])[] | undefined;
|
|
4253
4118
|
selectedServerUid?: string | undefined;
|
|
4254
|
-
servers?:
|
|
4255
|
-
requests?:
|
|
4256
|
-
tags?:
|
|
4119
|
+
servers?: string[] | undefined;
|
|
4120
|
+
requests?: string[] | undefined;
|
|
4121
|
+
tags?: string[] | undefined;
|
|
4257
4122
|
documentUrl?: string | undefined;
|
|
4258
4123
|
watchMode?: boolean | undefined;
|
|
4259
4124
|
integration?: string | null | undefined;
|
|
@@ -4262,132 +4127,86 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4262
4127
|
setCollectionSecurity?: boolean;
|
|
4263
4128
|
shouldLoad?: boolean;
|
|
4264
4129
|
} & Pick<import("@scalar/types").ReferenceConfiguration, "servers">) => Promise<{
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
selectedServerUid: string;
|
|
4274
|
-
servers: string[];
|
|
4275
|
-
requests: string[];
|
|
4276
|
-
tags: string[];
|
|
4277
|
-
watchMode: boolean;
|
|
4278
|
-
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4279
|
-
externalDocs?: {
|
|
4280
|
-
url: string;
|
|
4281
|
-
description?: string | undefined;
|
|
4282
|
-
} | undefined;
|
|
4283
|
-
jsonSchemaDialect?: string | undefined;
|
|
4284
|
-
info?: {
|
|
4285
|
-
title: string;
|
|
4286
|
-
version: string;
|
|
4287
|
-
description?: string | undefined;
|
|
4288
|
-
summary?: string | undefined;
|
|
4289
|
-
termsOfService?: string | undefined;
|
|
4290
|
-
contact?: {
|
|
4291
|
-
name?: string | undefined;
|
|
4292
|
-
url?: string | undefined;
|
|
4293
|
-
email?: string | undefined;
|
|
4294
|
-
} | undefined;
|
|
4295
|
-
license?: {
|
|
4296
|
-
name: string;
|
|
4297
|
-
identifier?: string | undefined;
|
|
4298
|
-
url?: string | undefined;
|
|
4299
|
-
} | undefined;
|
|
4300
|
-
} | undefined;
|
|
4301
|
-
components?: Record<string, unknown> | undefined;
|
|
4302
|
-
webhooks?: Record<string, unknown> | undefined;
|
|
4303
|
-
'x-scalar-active-environment'?: string | undefined;
|
|
4304
|
-
'x-scalar-environments'?: Record<string, {
|
|
4305
|
-
variables: Record<string, string | {
|
|
4306
|
-
default: string;
|
|
4307
|
-
description?: string | undefined;
|
|
4308
|
-
}>;
|
|
4309
|
-
description?: string | undefined;
|
|
4310
|
-
color?: string | undefined;
|
|
4311
|
-
}> | undefined;
|
|
4312
|
-
'x-scalar-secrets'?: Record<string, {
|
|
4313
|
-
description?: string | undefined;
|
|
4314
|
-
example?: string | undefined;
|
|
4315
|
-
}> | undefined;
|
|
4316
|
-
documentUrl?: string | undefined;
|
|
4317
|
-
integration?: string | null | undefined;
|
|
4130
|
+
error: false;
|
|
4131
|
+
collection: import("@scalar/oas-utils/entities/spec").Collection;
|
|
4132
|
+
requests: import("@scalar/oas-utils/entities/spec").Request[];
|
|
4133
|
+
schema: import("@scalar/openapi-types").OpenAPIV3_1.Document;
|
|
4134
|
+
examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
|
|
4135
|
+
servers: import("@scalar/oas-utils/entities/spec").Server[];
|
|
4136
|
+
tags: import("@scalar/oas-utils/entities/spec").Tag[];
|
|
4137
|
+
securitySchemes: import("@scalar/oas-utils/entities/spec").SecurityScheme[];
|
|
4318
4138
|
} | undefined>>>>>;
|
|
4319
4139
|
cookieMutators: {
|
|
4320
4140
|
add: (item: {
|
|
4321
4141
|
value: string;
|
|
4322
|
-
uid: string
|
|
4142
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
4323
4143
|
name: string;
|
|
4324
4144
|
path?: string | undefined;
|
|
4325
4145
|
domain?: string | undefined;
|
|
4326
4146
|
}) => void;
|
|
4327
|
-
delete: (uid: string) => void;
|
|
4147
|
+
delete: (uid: (string & import("zod").BRAND<"cookie">) | null | undefined) => void;
|
|
4328
4148
|
set: (item: {
|
|
4329
4149
|
value: string;
|
|
4330
|
-
uid: string
|
|
4150
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
4331
4151
|
name: string;
|
|
4332
4152
|
path?: string | undefined;
|
|
4333
4153
|
domain?: string | undefined;
|
|
4334
4154
|
}) => void;
|
|
4335
|
-
edit: <P extends "name" | "uid" | "path" | "value" | "domain">(uid: string, path: P, value: P extends "name" | "uid" | "path" | "value" | "domain" ? {
|
|
4155
|
+
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" ? {
|
|
4336
4156
|
value: string;
|
|
4337
|
-
uid: string
|
|
4157
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
4338
4158
|
name: string;
|
|
4339
4159
|
path?: string | undefined;
|
|
4340
4160
|
domain?: string | undefined;
|
|
4341
4161
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "path" | "value" | "domain" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
4342
4162
|
value: string;
|
|
4343
|
-
uid: string
|
|
4163
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
4344
4164
|
name: string;
|
|
4345
4165
|
path?: string | undefined;
|
|
4346
4166
|
domain?: string | undefined;
|
|
4347
4167
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
4348
4168
|
value: string;
|
|
4349
|
-
uid: string
|
|
4169
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
4350
4170
|
name: string;
|
|
4351
4171
|
path?: string | undefined;
|
|
4352
4172
|
domain?: string | undefined;
|
|
4353
4173
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
4354
|
-
untrackedEdit: <P extends "name" | "uid" | "path" | "value" | "domain">(uid: string
|
|
4174
|
+
untrackedEdit: <P extends "name" | "uid" | "path" | "value" | "domain">(uid: string & import("zod").BRAND<"cookie">, path: P, value: P extends "name" | "uid" | "path" | "value" | "domain" ? {
|
|
4355
4175
|
value: string;
|
|
4356
|
-
uid: string
|
|
4176
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
4357
4177
|
name: string;
|
|
4358
4178
|
path?: string | undefined;
|
|
4359
4179
|
domain?: string | undefined;
|
|
4360
4180
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "path" | "value" | "domain" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
4361
4181
|
value: string;
|
|
4362
|
-
uid: string
|
|
4182
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
4363
4183
|
name: string;
|
|
4364
4184
|
path?: string | undefined;
|
|
4365
4185
|
domain?: string | undefined;
|
|
4366
4186
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
4367
4187
|
value: string;
|
|
4368
|
-
uid: string
|
|
4188
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
4369
4189
|
name: string;
|
|
4370
4190
|
path?: string | undefined;
|
|
4371
4191
|
domain?: string | undefined;
|
|
4372
4192
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
4373
|
-
undo: (uid: string) => void;
|
|
4374
|
-
redo: (uid: string) => void;
|
|
4193
|
+
undo: (uid: string & import("zod").BRAND<"cookie">) => void;
|
|
4194
|
+
redo: (uid: string & import("zod").BRAND<"cookie">) => void;
|
|
4375
4195
|
reset: () => void;
|
|
4376
4196
|
};
|
|
4377
4197
|
collectionMutators: {
|
|
4378
4198
|
rawAdd: (item: {
|
|
4379
4199
|
type: "collection";
|
|
4380
|
-
uid: string
|
|
4381
|
-
children: string[];
|
|
4200
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
4201
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
4382
4202
|
openapi: string;
|
|
4383
4203
|
security: Record<string, string[]>[];
|
|
4384
4204
|
'x-scalar-icon': string;
|
|
4385
4205
|
securitySchemes: string[];
|
|
4386
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
tags: string[];
|
|
4206
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
4207
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
4208
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
4209
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
4391
4210
|
watchMode: boolean;
|
|
4392
4211
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4393
4212
|
externalDocs?: {
|
|
@@ -4424,25 +4243,25 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4424
4243
|
color?: string | undefined;
|
|
4425
4244
|
}> | undefined;
|
|
4426
4245
|
'x-scalar-secrets'?: Record<string, {
|
|
4427
|
-
description?: string | undefined;
|
|
4428
4246
|
example?: string | undefined;
|
|
4247
|
+
description?: string | undefined;
|
|
4429
4248
|
}> | undefined;
|
|
4249
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
4430
4250
|
documentUrl?: string | undefined;
|
|
4431
4251
|
integration?: string | null | undefined;
|
|
4432
4252
|
}) => void;
|
|
4433
|
-
add: (payload: import("@scalar/oas-utils/entities/spec").CollectionPayload, workspaceUid:
|
|
4253
|
+
add: (payload: import("@scalar/oas-utils/entities/spec").CollectionPayload, workspaceUid: import("@scalar/oas-utils/entities").Workspace["uid"]) => {
|
|
4434
4254
|
type: "collection";
|
|
4435
|
-
uid: string
|
|
4436
|
-
children: string[];
|
|
4255
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
4256
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
4437
4257
|
openapi: string;
|
|
4438
4258
|
security: Record<string, string[]>[];
|
|
4439
4259
|
'x-scalar-icon': string;
|
|
4440
4260
|
securitySchemes: string[];
|
|
4441
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
tags: string[];
|
|
4261
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
4262
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
4263
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
4264
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
4446
4265
|
watchMode: boolean;
|
|
4447
4266
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4448
4267
|
externalDocs?: {
|
|
@@ -4479,28 +4298,28 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4479
4298
|
color?: string | undefined;
|
|
4480
4299
|
}> | undefined;
|
|
4481
4300
|
'x-scalar-secrets'?: Record<string, {
|
|
4482
|
-
description?: string | undefined;
|
|
4483
4301
|
example?: string | undefined;
|
|
4302
|
+
description?: string | undefined;
|
|
4484
4303
|
}> | undefined;
|
|
4304
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
4485
4305
|
documentUrl?: string | undefined;
|
|
4486
4306
|
integration?: string | null | undefined;
|
|
4487
4307
|
};
|
|
4488
4308
|
delete: (collection: import("@scalar/oas-utils/entities/spec").Collection, workspace: import("@scalar/oas-utils/entities").Workspace) => void;
|
|
4489
|
-
addEnvironment: (environmentName: string, environment: import("@scalar/oas-utils/entities/spec").XScalarEnvironment, collectionUid:
|
|
4490
|
-
removeEnvironment: (environmentName: string, collectionUid:
|
|
4309
|
+
addEnvironment: (environmentName: string, environment: import("@scalar/oas-utils/entities/spec").XScalarEnvironment, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
4310
|
+
removeEnvironment: (environmentName: string, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
4491
4311
|
set: (item: {
|
|
4492
4312
|
type: "collection";
|
|
4493
|
-
uid: string
|
|
4494
|
-
children: string[];
|
|
4313
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
4314
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
4495
4315
|
openapi: string;
|
|
4496
4316
|
security: Record<string, string[]>[];
|
|
4497
4317
|
'x-scalar-icon': string;
|
|
4498
4318
|
securitySchemes: string[];
|
|
4499
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
tags: string[];
|
|
4319
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
4320
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
4321
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
4322
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
4504
4323
|
watchMode: boolean;
|
|
4505
4324
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4506
4325
|
externalDocs?: {
|
|
@@ -4537,25 +4356,25 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4537
4356
|
color?: string | undefined;
|
|
4538
4357
|
}> | undefined;
|
|
4539
4358
|
'x-scalar-secrets'?: Record<string, {
|
|
4540
|
-
description?: string | undefined;
|
|
4541
4359
|
example?: string | undefined;
|
|
4360
|
+
description?: string | undefined;
|
|
4542
4361
|
}> | undefined;
|
|
4362
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
4543
4363
|
documentUrl?: string | undefined;
|
|
4544
4364
|
integration?: string | null | undefined;
|
|
4545
4365
|
}) => void;
|
|
4546
|
-
edit: <P extends "servers" | "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "
|
|
4366
|
+
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" ? {
|
|
4547
4367
|
type: "collection";
|
|
4548
|
-
uid: string
|
|
4549
|
-
children: string[];
|
|
4368
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
4369
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
4550
4370
|
openapi: string;
|
|
4551
4371
|
security: Record<string, string[]>[];
|
|
4552
4372
|
'x-scalar-icon': string;
|
|
4553
4373
|
securitySchemes: string[];
|
|
4554
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
tags: string[];
|
|
4374
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
4375
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
4376
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
4377
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
4559
4378
|
watchMode: boolean;
|
|
4560
4379
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4561
4380
|
externalDocs?: {
|
|
@@ -4592,24 +4411,24 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4592
4411
|
color?: string | undefined;
|
|
4593
4412
|
}> | undefined;
|
|
4594
4413
|
'x-scalar-secrets'?: Record<string, {
|
|
4595
|
-
description?: string | undefined;
|
|
4596
4414
|
example?: string | undefined;
|
|
4415
|
+
description?: string | undefined;
|
|
4597
4416
|
}> | undefined;
|
|
4417
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
4598
4418
|
documentUrl?: string | undefined;
|
|
4599
4419
|
integration?: string | null | undefined;
|
|
4600
|
-
}[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" | "
|
|
4420
|
+
}[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<{
|
|
4601
4421
|
type: "collection";
|
|
4602
|
-
uid: string
|
|
4603
|
-
children: string[];
|
|
4422
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
4423
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
4604
4424
|
openapi: string;
|
|
4605
4425
|
security: Record<string, string[]>[];
|
|
4606
4426
|
'x-scalar-icon': string;
|
|
4607
4427
|
securitySchemes: string[];
|
|
4608
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
tags: string[];
|
|
4428
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
4429
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
4430
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
4431
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
4613
4432
|
watchMode: boolean;
|
|
4614
4433
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4615
4434
|
externalDocs?: {
|
|
@@ -4646,24 +4465,24 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4646
4465
|
color?: string | undefined;
|
|
4647
4466
|
}> | undefined;
|
|
4648
4467
|
'x-scalar-secrets'?: Record<string, {
|
|
4649
|
-
description?: string | undefined;
|
|
4650
4468
|
example?: string | undefined;
|
|
4469
|
+
description?: string | undefined;
|
|
4651
4470
|
}> | undefined;
|
|
4471
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
4652
4472
|
documentUrl?: string | undefined;
|
|
4653
4473
|
integration?: string | null | undefined;
|
|
4654
4474
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
4655
4475
|
type: "collection";
|
|
4656
|
-
uid: string
|
|
4657
|
-
children: string[];
|
|
4476
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
4477
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
4658
4478
|
openapi: string;
|
|
4659
4479
|
security: Record<string, string[]>[];
|
|
4660
4480
|
'x-scalar-icon': string;
|
|
4661
4481
|
securitySchemes: string[];
|
|
4662
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
tags: string[];
|
|
4482
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
4483
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
4484
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
4485
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
4667
4486
|
watchMode: boolean;
|
|
4668
4487
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4669
4488
|
externalDocs?: {
|
|
@@ -4700,25 +4519,25 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4700
4519
|
color?: string | undefined;
|
|
4701
4520
|
}> | undefined;
|
|
4702
4521
|
'x-scalar-secrets'?: Record<string, {
|
|
4703
|
-
description?: string | undefined;
|
|
4704
4522
|
example?: string | undefined;
|
|
4523
|
+
description?: string | undefined;
|
|
4705
4524
|
}> | undefined;
|
|
4525
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
4706
4526
|
documentUrl?: string | undefined;
|
|
4707
4527
|
integration?: string | null | undefined;
|
|
4708
4528
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
4709
|
-
untrackedEdit: <P extends "servers" | "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "
|
|
4529
|
+
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" ? {
|
|
4710
4530
|
type: "collection";
|
|
4711
|
-
uid: string
|
|
4712
|
-
children: string[];
|
|
4531
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
4532
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
4713
4533
|
openapi: string;
|
|
4714
4534
|
security: Record<string, string[]>[];
|
|
4715
4535
|
'x-scalar-icon': string;
|
|
4716
4536
|
securitySchemes: string[];
|
|
4717
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
tags: string[];
|
|
4537
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
4538
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
4539
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
4540
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
4722
4541
|
watchMode: boolean;
|
|
4723
4542
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4724
4543
|
externalDocs?: {
|
|
@@ -4755,24 +4574,24 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4755
4574
|
color?: string | undefined;
|
|
4756
4575
|
}> | undefined;
|
|
4757
4576
|
'x-scalar-secrets'?: Record<string, {
|
|
4758
|
-
description?: string | undefined;
|
|
4759
4577
|
example?: string | undefined;
|
|
4578
|
+
description?: string | undefined;
|
|
4760
4579
|
}> | undefined;
|
|
4580
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
4761
4581
|
documentUrl?: string | undefined;
|
|
4762
4582
|
integration?: string | null | undefined;
|
|
4763
|
-
}[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" | "
|
|
4583
|
+
}[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<{
|
|
4764
4584
|
type: "collection";
|
|
4765
|
-
uid: string
|
|
4766
|
-
children: string[];
|
|
4585
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
4586
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
4767
4587
|
openapi: string;
|
|
4768
4588
|
security: Record<string, string[]>[];
|
|
4769
4589
|
'x-scalar-icon': string;
|
|
4770
4590
|
securitySchemes: string[];
|
|
4771
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
4772
|
-
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
tags: string[];
|
|
4591
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
4592
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
4593
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
4594
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
4776
4595
|
watchMode: boolean;
|
|
4777
4596
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4778
4597
|
externalDocs?: {
|
|
@@ -4809,24 +4628,24 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4809
4628
|
color?: string | undefined;
|
|
4810
4629
|
}> | undefined;
|
|
4811
4630
|
'x-scalar-secrets'?: Record<string, {
|
|
4812
|
-
description?: string | undefined;
|
|
4813
4631
|
example?: string | undefined;
|
|
4632
|
+
description?: string | undefined;
|
|
4814
4633
|
}> | undefined;
|
|
4634
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
4815
4635
|
documentUrl?: string | undefined;
|
|
4816
4636
|
integration?: string | null | undefined;
|
|
4817
4637
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
4818
4638
|
type: "collection";
|
|
4819
|
-
uid: string
|
|
4820
|
-
children: string[];
|
|
4639
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
4640
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
4821
4641
|
openapi: string;
|
|
4822
4642
|
security: Record<string, string[]>[];
|
|
4823
4643
|
'x-scalar-icon': string;
|
|
4824
4644
|
securitySchemes: string[];
|
|
4825
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
tags: string[];
|
|
4645
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
4646
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
4647
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
4648
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
4830
4649
|
watchMode: boolean;
|
|
4831
4650
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4832
4651
|
externalDocs?: {
|
|
@@ -4863,83 +4682,84 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4863
4682
|
color?: string | undefined;
|
|
4864
4683
|
}> | undefined;
|
|
4865
4684
|
'x-scalar-secrets'?: Record<string, {
|
|
4866
|
-
description?: string | undefined;
|
|
4867
4685
|
example?: string | undefined;
|
|
4686
|
+
description?: string | undefined;
|
|
4868
4687
|
}> | undefined;
|
|
4688
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
4869
4689
|
documentUrl?: string | undefined;
|
|
4870
4690
|
integration?: string | null | undefined;
|
|
4871
4691
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
4872
|
-
undo: (uid: string) => void;
|
|
4873
|
-
redo: (uid: string) => void;
|
|
4692
|
+
undo: (uid: string & import("zod").BRAND<"collection">) => void;
|
|
4693
|
+
redo: (uid: string & import("zod").BRAND<"collection">) => void;
|
|
4874
4694
|
reset: () => void;
|
|
4875
4695
|
};
|
|
4876
4696
|
environmentMutators: {
|
|
4877
|
-
delete: (uid:
|
|
4697
|
+
delete: (uid: import("@scalar/oas-utils/entities/environment").Environment["uid"]) => void;
|
|
4878
4698
|
add: (item: {
|
|
4879
4699
|
value: string;
|
|
4880
|
-
uid: string
|
|
4700
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
4881
4701
|
name: string;
|
|
4882
4702
|
color: string;
|
|
4883
4703
|
isDefault?: boolean | undefined;
|
|
4884
4704
|
}) => void;
|
|
4885
4705
|
set: (item: {
|
|
4886
4706
|
value: string;
|
|
4887
|
-
uid: string
|
|
4707
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
4888
4708
|
name: string;
|
|
4889
4709
|
color: string;
|
|
4890
4710
|
isDefault?: boolean | undefined;
|
|
4891
4711
|
}) => void;
|
|
4892
|
-
edit: <P extends "name" | "uid" | "color" | "
|
|
4712
|
+
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" ? {
|
|
4893
4713
|
value: string;
|
|
4894
|
-
uid: string
|
|
4714
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
4895
4715
|
name: string;
|
|
4896
4716
|
color: string;
|
|
4897
4717
|
isDefault?: boolean | undefined;
|
|
4898
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "color" | "
|
|
4718
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "color" | "value" | "isDefault" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
4899
4719
|
value: string;
|
|
4900
|
-
uid: string
|
|
4720
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
4901
4721
|
name: string;
|
|
4902
4722
|
color: string;
|
|
4903
4723
|
isDefault?: boolean | undefined;
|
|
4904
4724
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
4905
4725
|
value: string;
|
|
4906
|
-
uid: string
|
|
4726
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
4907
4727
|
name: string;
|
|
4908
4728
|
color: string;
|
|
4909
4729
|
isDefault?: boolean | undefined;
|
|
4910
4730
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
4911
|
-
untrackedEdit: <P extends "name" | "uid" | "color" | "
|
|
4731
|
+
untrackedEdit: <P extends "name" | "uid" | "color" | "value" | "isDefault">(uid: string & import("zod").BRAND<"environment">, path: P, value: P extends "name" | "uid" | "color" | "value" | "isDefault" ? {
|
|
4912
4732
|
value: string;
|
|
4913
|
-
uid: string
|
|
4733
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
4914
4734
|
name: string;
|
|
4915
4735
|
color: string;
|
|
4916
4736
|
isDefault?: boolean | undefined;
|
|
4917
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "color" | "
|
|
4737
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "color" | "value" | "isDefault" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
4918
4738
|
value: string;
|
|
4919
|
-
uid: string
|
|
4739
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
4920
4740
|
name: string;
|
|
4921
4741
|
color: string;
|
|
4922
4742
|
isDefault?: boolean | undefined;
|
|
4923
4743
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
4924
4744
|
value: string;
|
|
4925
|
-
uid: string
|
|
4745
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
4926
4746
|
name: string;
|
|
4927
4747
|
color: string;
|
|
4928
4748
|
isDefault?: boolean | undefined;
|
|
4929
4749
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
4930
|
-
undo: (uid: string) => void;
|
|
4931
|
-
redo: (uid: string) => void;
|
|
4750
|
+
undo: (uid: string & import("zod").BRAND<"environment">) => void;
|
|
4751
|
+
redo: (uid: string & import("zod").BRAND<"environment">) => void;
|
|
4932
4752
|
reset: () => void;
|
|
4933
4753
|
};
|
|
4934
4754
|
requestMutators: {
|
|
4935
4755
|
rawAdd: (item: {
|
|
4936
4756
|
path: string;
|
|
4937
4757
|
type: "request";
|
|
4938
|
-
uid: string
|
|
4939
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
4940
|
-
selectedServerUid: string;
|
|
4941
|
-
servers: string[];
|
|
4942
|
-
examples: string[];
|
|
4758
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
4759
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
4760
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
4761
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
4762
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
4943
4763
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
4944
4764
|
description?: string | undefined;
|
|
4945
4765
|
summary?: string | undefined;
|
|
@@ -4956,10 +4776,10 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4956
4776
|
parameters?: {
|
|
4957
4777
|
required: boolean;
|
|
4958
4778
|
name: string;
|
|
4959
|
-
in: "path" | "
|
|
4779
|
+
in: "path" | "cookie" | "query" | "header";
|
|
4960
4780
|
deprecated: boolean;
|
|
4961
|
-
description?: string | undefined;
|
|
4962
4781
|
example?: unknown;
|
|
4782
|
+
description?: string | undefined;
|
|
4963
4783
|
schema?: unknown;
|
|
4964
4784
|
content?: unknown;
|
|
4965
4785
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -4971,14 +4791,14 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4971
4791
|
requestBody?: any;
|
|
4972
4792
|
responses?: Record<string, any> | undefined;
|
|
4973
4793
|
}) => void;
|
|
4974
|
-
add: (payload: import("@scalar/oas-utils/entities/spec").RequestPayload, collectionUid:
|
|
4794
|
+
add: (payload: import("@scalar/oas-utils/entities/spec").RequestPayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void | {
|
|
4975
4795
|
path: string;
|
|
4976
4796
|
type: "request";
|
|
4977
|
-
uid: string
|
|
4978
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
4979
|
-
selectedServerUid: string;
|
|
4980
|
-
servers: string[];
|
|
4981
|
-
examples: string[];
|
|
4797
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
4798
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
4799
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
4800
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
4801
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
4982
4802
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
4983
4803
|
description?: string | undefined;
|
|
4984
4804
|
summary?: string | undefined;
|
|
@@ -4995,10 +4815,10 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4995
4815
|
parameters?: {
|
|
4996
4816
|
required: boolean;
|
|
4997
4817
|
name: string;
|
|
4998
|
-
in: "path" | "
|
|
4818
|
+
in: "path" | "cookie" | "query" | "header";
|
|
4999
4819
|
deprecated: boolean;
|
|
5000
|
-
description?: string | undefined;
|
|
5001
4820
|
example?: unknown;
|
|
4821
|
+
description?: string | undefined;
|
|
5002
4822
|
schema?: unknown;
|
|
5003
4823
|
content?: unknown;
|
|
5004
4824
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -5010,15 +4830,15 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
5010
4830
|
requestBody?: any;
|
|
5011
4831
|
responses?: Record<string, any> | undefined;
|
|
5012
4832
|
};
|
|
5013
|
-
delete: (request: import("@scalar/oas-utils/entities/spec").Request, collectionUid:
|
|
4833
|
+
delete: (request: import("@scalar/oas-utils/entities/spec").Request, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
5014
4834
|
set: (item: {
|
|
5015
4835
|
path: string;
|
|
5016
4836
|
type: "request";
|
|
5017
|
-
uid: string
|
|
5018
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
5019
|
-
selectedServerUid: string;
|
|
5020
|
-
servers: string[];
|
|
5021
|
-
examples: string[];
|
|
4837
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
4838
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
4839
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
4840
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
4841
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
5022
4842
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
5023
4843
|
description?: string | undefined;
|
|
5024
4844
|
summary?: string | undefined;
|
|
@@ -5035,10 +4855,10 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
5035
4855
|
parameters?: {
|
|
5036
4856
|
required: boolean;
|
|
5037
4857
|
name: string;
|
|
5038
|
-
in: "path" | "
|
|
4858
|
+
in: "path" | "cookie" | "query" | "header";
|
|
5039
4859
|
deprecated: boolean;
|
|
5040
|
-
description?: string | undefined;
|
|
5041
4860
|
example?: unknown;
|
|
4861
|
+
description?: string | undefined;
|
|
5042
4862
|
schema?: unknown;
|
|
5043
4863
|
content?: unknown;
|
|
5044
4864
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -5050,14 +4870,14 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
5050
4870
|
requestBody?: any;
|
|
5051
4871
|
responses?: Record<string, any> | undefined;
|
|
5052
4872
|
}) => void;
|
|
5053
|
-
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" ? {
|
|
4873
|
+
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" ? {
|
|
5054
4874
|
path: string;
|
|
5055
4875
|
type: "request";
|
|
5056
|
-
uid: string
|
|
5057
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
5058
|
-
selectedServerUid: string;
|
|
5059
|
-
servers: string[];
|
|
5060
|
-
examples: string[];
|
|
4876
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
4877
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
4878
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
4879
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
4880
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
5061
4881
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
5062
4882
|
description?: string | undefined;
|
|
5063
4883
|
summary?: string | undefined;
|
|
@@ -5074,10 +4894,10 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
5074
4894
|
parameters?: {
|
|
5075
4895
|
required: boolean;
|
|
5076
4896
|
name: string;
|
|
5077
|
-
in: "path" | "
|
|
4897
|
+
in: "path" | "cookie" | "query" | "header";
|
|
5078
4898
|
deprecated: boolean;
|
|
5079
|
-
description?: string | undefined;
|
|
5080
4899
|
example?: unknown;
|
|
4900
|
+
description?: string | undefined;
|
|
5081
4901
|
schema?: unknown;
|
|
5082
4902
|
content?: unknown;
|
|
5083
4903
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -5091,11 +4911,11 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
5091
4911
|
}[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<{
|
|
5092
4912
|
path: string;
|
|
5093
4913
|
type: "request";
|
|
5094
|
-
uid: string
|
|
5095
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
5096
|
-
selectedServerUid: string;
|
|
5097
|
-
servers: string[];
|
|
5098
|
-
examples: string[];
|
|
4914
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
4915
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
4916
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
4917
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
4918
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
5099
4919
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
5100
4920
|
description?: string | undefined;
|
|
5101
4921
|
summary?: string | undefined;
|
|
@@ -5112,10 +4932,10 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
5112
4932
|
parameters?: {
|
|
5113
4933
|
required: boolean;
|
|
5114
4934
|
name: string;
|
|
5115
|
-
in: "path" | "
|
|
4935
|
+
in: "path" | "cookie" | "query" | "header";
|
|
5116
4936
|
deprecated: boolean;
|
|
5117
|
-
description?: string | undefined;
|
|
5118
4937
|
example?: unknown;
|
|
4938
|
+
description?: string | undefined;
|
|
5119
4939
|
schema?: unknown;
|
|
5120
4940
|
content?: unknown;
|
|
5121
4941
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -5129,11 +4949,11 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
5129
4949
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
5130
4950
|
path: string;
|
|
5131
4951
|
type: "request";
|
|
5132
|
-
uid: string
|
|
5133
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
5134
|
-
selectedServerUid: string;
|
|
5135
|
-
servers: string[];
|
|
5136
|
-
examples: string[];
|
|
4952
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
4953
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
4954
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
4955
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
4956
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
5137
4957
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
5138
4958
|
description?: string | undefined;
|
|
5139
4959
|
summary?: string | undefined;
|
|
@@ -5150,10 +4970,10 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
5150
4970
|
parameters?: {
|
|
5151
4971
|
required: boolean;
|
|
5152
4972
|
name: string;
|
|
5153
|
-
in: "path" | "
|
|
4973
|
+
in: "path" | "cookie" | "query" | "header";
|
|
5154
4974
|
deprecated: boolean;
|
|
5155
|
-
description?: string | undefined;
|
|
5156
4975
|
example?: unknown;
|
|
4976
|
+
description?: string | undefined;
|
|
5157
4977
|
schema?: unknown;
|
|
5158
4978
|
content?: unknown;
|
|
5159
4979
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -5165,14 +4985,14 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
5165
4985
|
requestBody?: any;
|
|
5166
4986
|
responses?: Record<string, any> | undefined;
|
|
5167
4987
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
5168
|
-
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
|
|
4988
|
+
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" ? {
|
|
5169
4989
|
path: string;
|
|
5170
4990
|
type: "request";
|
|
5171
|
-
uid: string
|
|
5172
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
5173
|
-
selectedServerUid: string;
|
|
5174
|
-
servers: string[];
|
|
5175
|
-
examples: string[];
|
|
4991
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
4992
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
4993
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
4994
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
4995
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
5176
4996
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
5177
4997
|
description?: string | undefined;
|
|
5178
4998
|
summary?: string | undefined;
|
|
@@ -5189,10 +5009,10 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
5189
5009
|
parameters?: {
|
|
5190
5010
|
required: boolean;
|
|
5191
5011
|
name: string;
|
|
5192
|
-
in: "path" | "
|
|
5012
|
+
in: "path" | "cookie" | "query" | "header";
|
|
5193
5013
|
deprecated: boolean;
|
|
5194
|
-
description?: string | undefined;
|
|
5195
5014
|
example?: unknown;
|
|
5015
|
+
description?: string | undefined;
|
|
5196
5016
|
schema?: unknown;
|
|
5197
5017
|
content?: unknown;
|
|
5198
5018
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -5206,11 +5026,11 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
5206
5026
|
}[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<{
|
|
5207
5027
|
path: string;
|
|
5208
5028
|
type: "request";
|
|
5209
|
-
uid: string
|
|
5210
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
5211
|
-
selectedServerUid: string;
|
|
5212
|
-
servers: string[];
|
|
5213
|
-
examples: string[];
|
|
5029
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
5030
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
5031
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
5032
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
5033
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
5214
5034
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
5215
5035
|
description?: string | undefined;
|
|
5216
5036
|
summary?: string | undefined;
|
|
@@ -5227,10 +5047,10 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
5227
5047
|
parameters?: {
|
|
5228
5048
|
required: boolean;
|
|
5229
5049
|
name: string;
|
|
5230
|
-
in: "path" | "
|
|
5050
|
+
in: "path" | "cookie" | "query" | "header";
|
|
5231
5051
|
deprecated: boolean;
|
|
5232
|
-
description?: string | undefined;
|
|
5233
5052
|
example?: unknown;
|
|
5053
|
+
description?: string | undefined;
|
|
5234
5054
|
schema?: unknown;
|
|
5235
5055
|
content?: unknown;
|
|
5236
5056
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -5244,11 +5064,11 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
5244
5064
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
5245
5065
|
path: string;
|
|
5246
5066
|
type: "request";
|
|
5247
|
-
uid: string
|
|
5248
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
5249
|
-
selectedServerUid: string;
|
|
5250
|
-
servers: string[];
|
|
5251
|
-
examples: string[];
|
|
5067
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
5068
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
5069
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
5070
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
5071
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
5252
5072
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
5253
5073
|
description?: string | undefined;
|
|
5254
5074
|
summary?: string | undefined;
|
|
@@ -5265,10 +5085,10 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
5265
5085
|
parameters?: {
|
|
5266
5086
|
required: boolean;
|
|
5267
5087
|
name: string;
|
|
5268
|
-
in: "path" | "
|
|
5088
|
+
in: "path" | "cookie" | "query" | "header";
|
|
5269
5089
|
deprecated: boolean;
|
|
5270
|
-
description?: string | undefined;
|
|
5271
5090
|
example?: unknown;
|
|
5091
|
+
description?: string | undefined;
|
|
5272
5092
|
schema?: unknown;
|
|
5273
5093
|
content?: unknown;
|
|
5274
5094
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -5280,15 +5100,15 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
5280
5100
|
requestBody?: any;
|
|
5281
5101
|
responses?: Record<string, any> | undefined;
|
|
5282
5102
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
5283
|
-
undo: (uid: string) => void;
|
|
5284
|
-
redo: (uid: string) => void;
|
|
5103
|
+
undo: (uid: string & import("zod").BRAND<"operation">) => void;
|
|
5104
|
+
redo: (uid: string & import("zod").BRAND<"operation">) => void;
|
|
5285
5105
|
reset: () => void;
|
|
5286
5106
|
};
|
|
5287
5107
|
findRequestParents: (r: import("@scalar/oas-utils/entities/spec").Request) => string[];
|
|
5288
5108
|
requestExampleMutators: {
|
|
5289
5109
|
rawAdd: (item: {
|
|
5290
5110
|
type: "requestExample";
|
|
5291
|
-
uid: string
|
|
5111
|
+
uid: string & import("zod").BRAND<"example">;
|
|
5292
5112
|
name: string;
|
|
5293
5113
|
parameters: {
|
|
5294
5114
|
path: {
|
|
@@ -5383,12 +5203,12 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
5383
5203
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
5384
5204
|
} | undefined;
|
|
5385
5205
|
};
|
|
5386
|
-
requestUid
|
|
5206
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
5387
5207
|
serverVariables?: Record<string, string[]> | undefined;
|
|
5388
5208
|
}) => void;
|
|
5389
5209
|
add: (request: import("@scalar/oas-utils/entities/spec").Request, _name?: string) => {
|
|
5390
5210
|
type: "requestExample";
|
|
5391
|
-
uid: string
|
|
5211
|
+
uid: string & import("zod").BRAND<"example">;
|
|
5392
5212
|
name: string;
|
|
5393
5213
|
parameters: {
|
|
5394
5214
|
path: {
|
|
@@ -5483,13 +5303,13 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
5483
5303
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
5484
5304
|
} | undefined;
|
|
5485
5305
|
};
|
|
5486
|
-
requestUid
|
|
5306
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
5487
5307
|
serverVariables?: Record<string, string[]> | undefined;
|
|
5488
5308
|
};
|
|
5489
5309
|
delete: (requestExample: import("@scalar/oas-utils/entities/spec").RequestExample) => void;
|
|
5490
5310
|
set: (item: {
|
|
5491
5311
|
type: "requestExample";
|
|
5492
|
-
uid: string
|
|
5312
|
+
uid: string & import("zod").BRAND<"example">;
|
|
5493
5313
|
name: string;
|
|
5494
5314
|
parameters: {
|
|
5495
5315
|
path: {
|
|
@@ -5584,12 +5404,12 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
5584
5404
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
5585
5405
|
} | undefined;
|
|
5586
5406
|
};
|
|
5587
|
-
requestUid
|
|
5407
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
5588
5408
|
serverVariables?: Record<string, string[]> | undefined;
|
|
5589
5409
|
}) => void;
|
|
5590
|
-
edit: <P extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" | "body.
|
|
5410
|
+
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" ? {
|
|
5591
5411
|
type: "requestExample";
|
|
5592
|
-
uid: string
|
|
5412
|
+
uid: string & import("zod").BRAND<"example">;
|
|
5593
5413
|
name: string;
|
|
5594
5414
|
parameters: {
|
|
5595
5415
|
path: {
|
|
@@ -5684,11 +5504,11 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
5684
5504
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
5685
5505
|
} | undefined;
|
|
5686
5506
|
};
|
|
5687
|
-
requestUid
|
|
5507
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
5688
5508
|
serverVariables?: Record<string, string[]> | undefined;
|
|
5689
5509
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
5690
5510
|
type: "requestExample";
|
|
5691
|
-
uid: string
|
|
5511
|
+
uid: string & import("zod").BRAND<"example">;
|
|
5692
5512
|
name: string;
|
|
5693
5513
|
parameters: {
|
|
5694
5514
|
path: {
|
|
@@ -5783,11 +5603,11 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
5783
5603
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
5784
5604
|
} | undefined;
|
|
5785
5605
|
};
|
|
5786
|
-
requestUid
|
|
5606
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
5787
5607
|
serverVariables?: Record<string, string[]> | undefined;
|
|
5788
5608
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
5789
5609
|
type: "requestExample";
|
|
5790
|
-
uid: string
|
|
5610
|
+
uid: string & import("zod").BRAND<"example">;
|
|
5791
5611
|
name: string;
|
|
5792
5612
|
parameters: {
|
|
5793
5613
|
path: {
|
|
@@ -5882,12 +5702,12 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
5882
5702
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
5883
5703
|
} | undefined;
|
|
5884
5704
|
};
|
|
5885
|
-
requestUid
|
|
5705
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
5886
5706
|
serverVariables?: Record<string, string[]> | undefined;
|
|
5887
5707
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
5888
|
-
untrackedEdit: <P extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" | "body.
|
|
5708
|
+
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" ? {
|
|
5889
5709
|
type: "requestExample";
|
|
5890
|
-
uid: string
|
|
5710
|
+
uid: string & import("zod").BRAND<"example">;
|
|
5891
5711
|
name: string;
|
|
5892
5712
|
parameters: {
|
|
5893
5713
|
path: {
|
|
@@ -5982,11 +5802,11 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
5982
5802
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
5983
5803
|
} | undefined;
|
|
5984
5804
|
};
|
|
5985
|
-
requestUid
|
|
5805
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
5986
5806
|
serverVariables?: Record<string, string[]> | undefined;
|
|
5987
5807
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
5988
5808
|
type: "requestExample";
|
|
5989
|
-
uid: string
|
|
5809
|
+
uid: string & import("zod").BRAND<"example">;
|
|
5990
5810
|
name: string;
|
|
5991
5811
|
parameters: {
|
|
5992
5812
|
path: {
|
|
@@ -6081,11 +5901,11 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6081
5901
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
6082
5902
|
} | undefined;
|
|
6083
5903
|
};
|
|
6084
|
-
requestUid
|
|
5904
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
6085
5905
|
serverVariables?: Record<string, string[]> | undefined;
|
|
6086
5906
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
6087
5907
|
type: "requestExample";
|
|
6088
|
-
uid: string
|
|
5908
|
+
uid: string & import("zod").BRAND<"example">;
|
|
6089
5909
|
name: string;
|
|
6090
5910
|
parameters: {
|
|
6091
5911
|
path: {
|
|
@@ -6180,11 +6000,11 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6180
6000
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
6181
6001
|
} | undefined;
|
|
6182
6002
|
};
|
|
6183
|
-
requestUid
|
|
6003
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
6184
6004
|
serverVariables?: Record<string, string[]> | undefined;
|
|
6185
6005
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
6186
|
-
undo: (uid: string) => void;
|
|
6187
|
-
redo: (uid: string) => void;
|
|
6006
|
+
undo: (uid: string & import("zod").BRAND<"example">) => void;
|
|
6007
|
+
redo: (uid: string & import("zod").BRAND<"example">) => void;
|
|
6188
6008
|
reset: () => void;
|
|
6189
6009
|
};
|
|
6190
6010
|
requestHistory: import("vue").Reactive<import("@scalar/oas-utils/entities/spec").RequestEvent[]>;
|
|
@@ -6192,14 +6012,14 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6192
6012
|
rawAdd: (item: {
|
|
6193
6013
|
type: "apiKey";
|
|
6194
6014
|
value: string;
|
|
6195
|
-
uid: string
|
|
6015
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6196
6016
|
name: string;
|
|
6197
6017
|
nameKey: string;
|
|
6198
|
-
in: "
|
|
6018
|
+
in: "cookie" | "query" | "header";
|
|
6199
6019
|
description?: string | undefined;
|
|
6200
6020
|
} | {
|
|
6201
6021
|
type: "http";
|
|
6202
|
-
uid: string
|
|
6022
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6203
6023
|
nameKey: string;
|
|
6204
6024
|
scheme: "basic" | "bearer";
|
|
6205
6025
|
bearerFormat: string;
|
|
@@ -6209,13 +6029,13 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6209
6029
|
description?: string | undefined;
|
|
6210
6030
|
} | {
|
|
6211
6031
|
type: "openIdConnect";
|
|
6212
|
-
uid: string
|
|
6032
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6213
6033
|
nameKey: string;
|
|
6214
6034
|
openIdConnectUrl: string;
|
|
6215
6035
|
description?: string | undefined;
|
|
6216
6036
|
} | {
|
|
6217
6037
|
type: "oauth2";
|
|
6218
|
-
uid: string
|
|
6038
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6219
6039
|
nameKey: string;
|
|
6220
6040
|
flows: {
|
|
6221
6041
|
password?: {
|
|
@@ -6266,17 +6086,17 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6266
6086
|
};
|
|
6267
6087
|
description?: string | undefined;
|
|
6268
6088
|
}) => void;
|
|
6269
|
-
add: (payload: import("@scalar/oas-utils/entities/spec").SecuritySchemePayload, collectionUid:
|
|
6089
|
+
add: (payload: import("@scalar/oas-utils/entities/spec").SecuritySchemePayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => {
|
|
6270
6090
|
type: "apiKey";
|
|
6271
6091
|
value: string;
|
|
6272
|
-
uid: string
|
|
6092
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6273
6093
|
name: string;
|
|
6274
6094
|
nameKey: string;
|
|
6275
|
-
in: "
|
|
6095
|
+
in: "cookie" | "query" | "header";
|
|
6276
6096
|
description?: string | undefined;
|
|
6277
6097
|
} | {
|
|
6278
6098
|
type: "http";
|
|
6279
|
-
uid: string
|
|
6099
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6280
6100
|
nameKey: string;
|
|
6281
6101
|
scheme: "basic" | "bearer";
|
|
6282
6102
|
bearerFormat: string;
|
|
@@ -6286,13 +6106,13 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6286
6106
|
description?: string | undefined;
|
|
6287
6107
|
} | {
|
|
6288
6108
|
type: "openIdConnect";
|
|
6289
|
-
uid: string
|
|
6109
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6290
6110
|
nameKey: string;
|
|
6291
6111
|
openIdConnectUrl: string;
|
|
6292
6112
|
description?: string | undefined;
|
|
6293
6113
|
} | {
|
|
6294
6114
|
type: "oauth2";
|
|
6295
|
-
uid: string
|
|
6115
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6296
6116
|
nameKey: string;
|
|
6297
6117
|
flows: {
|
|
6298
6118
|
password?: {
|
|
@@ -6343,18 +6163,18 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6343
6163
|
};
|
|
6344
6164
|
description?: string | undefined;
|
|
6345
6165
|
};
|
|
6346
|
-
delete: (schemeUid:
|
|
6166
|
+
delete: (schemeUid: import("@scalar/oas-utils/entities/spec").SecurityScheme["uid"]) => void;
|
|
6347
6167
|
set: (item: {
|
|
6348
6168
|
type: "apiKey";
|
|
6349
6169
|
value: string;
|
|
6350
|
-
uid: string
|
|
6170
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6351
6171
|
name: string;
|
|
6352
6172
|
nameKey: string;
|
|
6353
|
-
in: "
|
|
6173
|
+
in: "cookie" | "query" | "header";
|
|
6354
6174
|
description?: string | undefined;
|
|
6355
6175
|
} | {
|
|
6356
6176
|
type: "http";
|
|
6357
|
-
uid: string
|
|
6177
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6358
6178
|
nameKey: string;
|
|
6359
6179
|
scheme: "basic" | "bearer";
|
|
6360
6180
|
bearerFormat: string;
|
|
@@ -6364,13 +6184,13 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6364
6184
|
description?: string | undefined;
|
|
6365
6185
|
} | {
|
|
6366
6186
|
type: "openIdConnect";
|
|
6367
|
-
uid: string
|
|
6187
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6368
6188
|
nameKey: string;
|
|
6369
6189
|
openIdConnectUrl: string;
|
|
6370
6190
|
description?: string | undefined;
|
|
6371
6191
|
} | {
|
|
6372
6192
|
type: "oauth2";
|
|
6373
|
-
uid: string
|
|
6193
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6374
6194
|
nameKey: string;
|
|
6375
6195
|
flows: {
|
|
6376
6196
|
password?: {
|
|
@@ -6421,33 +6241,33 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6421
6241
|
};
|
|
6422
6242
|
description?: string | undefined;
|
|
6423
6243
|
}) => void;
|
|
6424
|
-
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" ? {
|
|
6244
|
+
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" ? {
|
|
6425
6245
|
type: "apiKey";
|
|
6426
6246
|
value: string;
|
|
6427
|
-
uid: string
|
|
6247
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6428
6248
|
name: string;
|
|
6429
6249
|
nameKey: string;
|
|
6430
|
-
in: "
|
|
6250
|
+
in: "cookie" | "query" | "header";
|
|
6431
6251
|
description?: string | undefined;
|
|
6432
6252
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "value" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
6433
6253
|
type: "apiKey";
|
|
6434
6254
|
value: string;
|
|
6435
|
-
uid: string
|
|
6255
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6436
6256
|
name: string;
|
|
6437
6257
|
nameKey: string;
|
|
6438
|
-
in: "
|
|
6258
|
+
in: "cookie" | "query" | "header";
|
|
6439
6259
|
description?: string | undefined;
|
|
6440
6260
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
6441
6261
|
type: "apiKey";
|
|
6442
6262
|
value: string;
|
|
6443
|
-
uid: string
|
|
6263
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6444
6264
|
name: string;
|
|
6445
6265
|
nameKey: string;
|
|
6446
|
-
in: "
|
|
6266
|
+
in: "cookie" | "query" | "header";
|
|
6447
6267
|
description?: string | undefined;
|
|
6448
6268
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "token" | "username" ? {
|
|
6449
6269
|
type: "http";
|
|
6450
|
-
uid: string
|
|
6270
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6451
6271
|
nameKey: string;
|
|
6452
6272
|
scheme: "basic" | "bearer";
|
|
6453
6273
|
bearerFormat: string;
|
|
@@ -6457,7 +6277,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6457
6277
|
description?: string | undefined;
|
|
6458
6278
|
}[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<{
|
|
6459
6279
|
type: "http";
|
|
6460
|
-
uid: string
|
|
6280
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6461
6281
|
nameKey: string;
|
|
6462
6282
|
scheme: "basic" | "bearer";
|
|
6463
6283
|
bearerFormat: string;
|
|
@@ -6467,7 +6287,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6467
6287
|
description?: string | undefined;
|
|
6468
6288
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
6469
6289
|
type: "http";
|
|
6470
|
-
uid: string
|
|
6290
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6471
6291
|
nameKey: string;
|
|
6472
6292
|
scheme: "basic" | "bearer";
|
|
6473
6293
|
bearerFormat: string;
|
|
@@ -6477,25 +6297,25 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6477
6297
|
description?: string | undefined;
|
|
6478
6298
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? {
|
|
6479
6299
|
type: "openIdConnect";
|
|
6480
|
-
uid: string
|
|
6300
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6481
6301
|
nameKey: string;
|
|
6482
6302
|
openIdConnectUrl: string;
|
|
6483
6303
|
description?: string | undefined;
|
|
6484
6304
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
6485
6305
|
type: "openIdConnect";
|
|
6486
|
-
uid: string
|
|
6306
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6487
6307
|
nameKey: string;
|
|
6488
6308
|
openIdConnectUrl: string;
|
|
6489
6309
|
description?: string | undefined;
|
|
6490
6310
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
6491
6311
|
type: "openIdConnect";
|
|
6492
|
-
uid: string
|
|
6312
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6493
6313
|
nameKey: string;
|
|
6494
6314
|
openIdConnectUrl: string;
|
|
6495
6315
|
description?: string | undefined;
|
|
6496
6316
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
|
|
6497
6317
|
type: "oauth2";
|
|
6498
|
-
uid: string
|
|
6318
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6499
6319
|
nameKey: string;
|
|
6500
6320
|
flows: {
|
|
6501
6321
|
password?: {
|
|
@@ -6547,7 +6367,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6547
6367
|
description?: string | undefined;
|
|
6548
6368
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "flows" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
6549
6369
|
type: "oauth2";
|
|
6550
|
-
uid: string
|
|
6370
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6551
6371
|
nameKey: string;
|
|
6552
6372
|
flows: {
|
|
6553
6373
|
password?: {
|
|
@@ -6599,7 +6419,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6599
6419
|
description?: string | undefined;
|
|
6600
6420
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
6601
6421
|
type: "oauth2";
|
|
6602
|
-
uid: string
|
|
6422
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6603
6423
|
nameKey: string;
|
|
6604
6424
|
flows: {
|
|
6605
6425
|
password?: {
|
|
@@ -6650,33 +6470,33 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6650
6470
|
};
|
|
6651
6471
|
description?: string | undefined;
|
|
6652
6472
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
6653
|
-
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
|
|
6473
|
+
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" ? {
|
|
6654
6474
|
type: "apiKey";
|
|
6655
6475
|
value: string;
|
|
6656
|
-
uid: string
|
|
6476
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6657
6477
|
name: string;
|
|
6658
6478
|
nameKey: string;
|
|
6659
|
-
in: "
|
|
6479
|
+
in: "cookie" | "query" | "header";
|
|
6660
6480
|
description?: string | undefined;
|
|
6661
6481
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "value" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
6662
6482
|
type: "apiKey";
|
|
6663
6483
|
value: string;
|
|
6664
|
-
uid: string
|
|
6484
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6665
6485
|
name: string;
|
|
6666
6486
|
nameKey: string;
|
|
6667
|
-
in: "
|
|
6487
|
+
in: "cookie" | "query" | "header";
|
|
6668
6488
|
description?: string | undefined;
|
|
6669
6489
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
6670
6490
|
type: "apiKey";
|
|
6671
6491
|
value: string;
|
|
6672
|
-
uid: string
|
|
6492
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6673
6493
|
name: string;
|
|
6674
6494
|
nameKey: string;
|
|
6675
|
-
in: "
|
|
6495
|
+
in: "cookie" | "query" | "header";
|
|
6676
6496
|
description?: string | undefined;
|
|
6677
6497
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "token" | "username" ? {
|
|
6678
6498
|
type: "http";
|
|
6679
|
-
uid: string
|
|
6499
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6680
6500
|
nameKey: string;
|
|
6681
6501
|
scheme: "basic" | "bearer";
|
|
6682
6502
|
bearerFormat: string;
|
|
@@ -6686,7 +6506,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6686
6506
|
description?: string | undefined;
|
|
6687
6507
|
}[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<{
|
|
6688
6508
|
type: "http";
|
|
6689
|
-
uid: string
|
|
6509
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6690
6510
|
nameKey: string;
|
|
6691
6511
|
scheme: "basic" | "bearer";
|
|
6692
6512
|
bearerFormat: string;
|
|
@@ -6696,7 +6516,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6696
6516
|
description?: string | undefined;
|
|
6697
6517
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
6698
6518
|
type: "http";
|
|
6699
|
-
uid: string
|
|
6519
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6700
6520
|
nameKey: string;
|
|
6701
6521
|
scheme: "basic" | "bearer";
|
|
6702
6522
|
bearerFormat: string;
|
|
@@ -6706,25 +6526,25 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6706
6526
|
description?: string | undefined;
|
|
6707
6527
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? {
|
|
6708
6528
|
type: "openIdConnect";
|
|
6709
|
-
uid: string
|
|
6529
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6710
6530
|
nameKey: string;
|
|
6711
6531
|
openIdConnectUrl: string;
|
|
6712
6532
|
description?: string | undefined;
|
|
6713
6533
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
6714
6534
|
type: "openIdConnect";
|
|
6715
|
-
uid: string
|
|
6535
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6716
6536
|
nameKey: string;
|
|
6717
6537
|
openIdConnectUrl: string;
|
|
6718
6538
|
description?: string | undefined;
|
|
6719
6539
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
6720
6540
|
type: "openIdConnect";
|
|
6721
|
-
uid: string
|
|
6541
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6722
6542
|
nameKey: string;
|
|
6723
6543
|
openIdConnectUrl: string;
|
|
6724
6544
|
description?: string | undefined;
|
|
6725
6545
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
|
|
6726
6546
|
type: "oauth2";
|
|
6727
|
-
uid: string
|
|
6547
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6728
6548
|
nameKey: string;
|
|
6729
6549
|
flows: {
|
|
6730
6550
|
password?: {
|
|
@@ -6776,7 +6596,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6776
6596
|
description?: string | undefined;
|
|
6777
6597
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "flows" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
6778
6598
|
type: "oauth2";
|
|
6779
|
-
uid: string
|
|
6599
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6780
6600
|
nameKey: string;
|
|
6781
6601
|
flows: {
|
|
6782
6602
|
password?: {
|
|
@@ -6828,7 +6648,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6828
6648
|
description?: string | undefined;
|
|
6829
6649
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
6830
6650
|
type: "oauth2";
|
|
6831
|
-
uid: string
|
|
6651
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6832
6652
|
nameKey: string;
|
|
6833
6653
|
flows: {
|
|
6834
6654
|
password?: {
|
|
@@ -6879,13 +6699,13 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6879
6699
|
};
|
|
6880
6700
|
description?: string | undefined;
|
|
6881
6701
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
6882
|
-
undo: (uid: string) => void;
|
|
6883
|
-
redo: (uid: string) => void;
|
|
6702
|
+
undo: (uid: string & import("zod").BRAND<"securityScheme">) => void;
|
|
6703
|
+
redo: (uid: string & import("zod").BRAND<"securityScheme">) => void;
|
|
6884
6704
|
reset: () => void;
|
|
6885
6705
|
};
|
|
6886
6706
|
serverMutators: {
|
|
6887
6707
|
rawAdd: (item: {
|
|
6888
|
-
uid: string
|
|
6708
|
+
uid: string & import("zod").BRAND<"server">;
|
|
6889
6709
|
url: string;
|
|
6890
6710
|
description?: string | undefined;
|
|
6891
6711
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -6894,7 +6714,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6894
6714
|
}> | undefined;
|
|
6895
6715
|
}) => void;
|
|
6896
6716
|
add: (payload: import("@scalar/oas-utils/entities/spec").ServerPayload, parentUid: string) => {
|
|
6897
|
-
uid: string
|
|
6717
|
+
uid: string & import("zod").BRAND<"server">;
|
|
6898
6718
|
url: string;
|
|
6899
6719
|
description?: string | undefined;
|
|
6900
6720
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -6902,9 +6722,9 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6902
6722
|
value?: string;
|
|
6903
6723
|
}> | undefined;
|
|
6904
6724
|
};
|
|
6905
|
-
delete: (serverUid:
|
|
6725
|
+
delete: (serverUid: import("@scalar/oas-utils/entities/spec").Server["uid"], collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
6906
6726
|
set: (item: {
|
|
6907
|
-
uid: string
|
|
6727
|
+
uid: string & import("zod").BRAND<"server">;
|
|
6908
6728
|
url: string;
|
|
6909
6729
|
description?: string | undefined;
|
|
6910
6730
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -6912,8 +6732,8 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6912
6732
|
value?: string;
|
|
6913
6733
|
}> | undefined;
|
|
6914
6734
|
}) => void;
|
|
6915
|
-
edit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: string, path: P, value: P extends "description" | "uid" | "url" | "variables" ? {
|
|
6916
|
-
uid: string
|
|
6735
|
+
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" ? {
|
|
6736
|
+
uid: string & import("zod").BRAND<"server">;
|
|
6917
6737
|
url: string;
|
|
6918
6738
|
description?: string | undefined;
|
|
6919
6739
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -6921,7 +6741,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6921
6741
|
value?: string;
|
|
6922
6742
|
}> | undefined;
|
|
6923
6743
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "uid" | "url" | "variables" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
6924
|
-
uid: string
|
|
6744
|
+
uid: string & import("zod").BRAND<"server">;
|
|
6925
6745
|
url: string;
|
|
6926
6746
|
description?: string | undefined;
|
|
6927
6747
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -6929,7 +6749,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6929
6749
|
value?: string;
|
|
6930
6750
|
}> | undefined;
|
|
6931
6751
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
6932
|
-
uid: string
|
|
6752
|
+
uid: string & import("zod").BRAND<"server">;
|
|
6933
6753
|
url: string;
|
|
6934
6754
|
description?: string | undefined;
|
|
6935
6755
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -6937,8 +6757,8 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6937
6757
|
value?: string;
|
|
6938
6758
|
}> | undefined;
|
|
6939
6759
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
6940
|
-
untrackedEdit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: string
|
|
6941
|
-
uid: string
|
|
6760
|
+
untrackedEdit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: string & import("zod").BRAND<"server">, path: P, value: P extends "description" | "uid" | "url" | "variables" ? {
|
|
6761
|
+
uid: string & import("zod").BRAND<"server">;
|
|
6942
6762
|
url: string;
|
|
6943
6763
|
description?: string | undefined;
|
|
6944
6764
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -6946,7 +6766,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6946
6766
|
value?: string;
|
|
6947
6767
|
}> | undefined;
|
|
6948
6768
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "uid" | "url" | "variables" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
6949
|
-
uid: string
|
|
6769
|
+
uid: string & import("zod").BRAND<"server">;
|
|
6950
6770
|
url: string;
|
|
6951
6771
|
description?: string | undefined;
|
|
6952
6772
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -6954,7 +6774,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6954
6774
|
value?: string;
|
|
6955
6775
|
}> | undefined;
|
|
6956
6776
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
6957
|
-
uid: string
|
|
6777
|
+
uid: string & import("zod").BRAND<"server">;
|
|
6958
6778
|
url: string;
|
|
6959
6779
|
description?: string | undefined;
|
|
6960
6780
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -6962,16 +6782,16 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6962
6782
|
value?: string;
|
|
6963
6783
|
}> | undefined;
|
|
6964
6784
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
6965
|
-
undo: (uid: string) => void;
|
|
6966
|
-
redo: (uid: string) => void;
|
|
6785
|
+
undo: (uid: string & import("zod").BRAND<"server">) => void;
|
|
6786
|
+
redo: (uid: string & import("zod").BRAND<"server">) => void;
|
|
6967
6787
|
reset: () => void;
|
|
6968
6788
|
};
|
|
6969
6789
|
tagMutators: {
|
|
6970
6790
|
rawAdd: (item: {
|
|
6971
6791
|
type: "tag";
|
|
6972
|
-
uid: string
|
|
6792
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
6973
6793
|
name: string;
|
|
6974
|
-
children: string[];
|
|
6794
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
6975
6795
|
description?: string | undefined;
|
|
6976
6796
|
externalDocs?: {
|
|
6977
6797
|
url: string;
|
|
@@ -6983,11 +6803,11 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6983
6803
|
'x-internal'?: boolean | undefined;
|
|
6984
6804
|
'x-scalar-ignore'?: boolean | undefined;
|
|
6985
6805
|
}) => void;
|
|
6986
|
-
add: (payload: import("@scalar/oas-utils/entities/spec").TagPayload, collectionUid:
|
|
6806
|
+
add: (payload: import("@scalar/oas-utils/entities/spec").TagPayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void | {
|
|
6987
6807
|
type: "tag";
|
|
6988
|
-
uid: string
|
|
6808
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
6989
6809
|
name: string;
|
|
6990
|
-
children: string[];
|
|
6810
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
6991
6811
|
description?: string | undefined;
|
|
6992
6812
|
externalDocs?: {
|
|
6993
6813
|
url: string;
|
|
@@ -6999,12 +6819,12 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6999
6819
|
'x-internal'?: boolean | undefined;
|
|
7000
6820
|
'x-scalar-ignore'?: boolean | undefined;
|
|
7001
6821
|
};
|
|
7002
|
-
delete: (tag: import("@scalar/oas-utils/entities/spec").Tag, collectionUid:
|
|
6822
|
+
delete: (tag: import("@scalar/oas-utils/entities/spec").Tag, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
7003
6823
|
set: (item: {
|
|
7004
6824
|
type: "tag";
|
|
7005
|
-
uid: string
|
|
6825
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
7006
6826
|
name: string;
|
|
7007
|
-
children: string[];
|
|
6827
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
7008
6828
|
description?: string | undefined;
|
|
7009
6829
|
externalDocs?: {
|
|
7010
6830
|
url: string;
|
|
@@ -7016,11 +6836,11 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
7016
6836
|
'x-internal'?: boolean | undefined;
|
|
7017
6837
|
'x-scalar-ignore'?: boolean | undefined;
|
|
7018
6838
|
}) => void;
|
|
7019
|
-
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" ? {
|
|
6839
|
+
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" ? {
|
|
7020
6840
|
type: "tag";
|
|
7021
|
-
uid: string
|
|
6841
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
7022
6842
|
name: string;
|
|
7023
|
-
children: string[];
|
|
6843
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
7024
6844
|
description?: string | undefined;
|
|
7025
6845
|
externalDocs?: {
|
|
7026
6846
|
url: string;
|
|
@@ -7033,9 +6853,9 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
7033
6853
|
'x-scalar-ignore'?: boolean | undefined;
|
|
7034
6854
|
}[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<{
|
|
7035
6855
|
type: "tag";
|
|
7036
|
-
uid: string
|
|
6856
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
7037
6857
|
name: string;
|
|
7038
|
-
children: string[];
|
|
6858
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
7039
6859
|
description?: string | undefined;
|
|
7040
6860
|
externalDocs?: {
|
|
7041
6861
|
url: string;
|
|
@@ -7048,9 +6868,9 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
7048
6868
|
'x-scalar-ignore'?: boolean | undefined;
|
|
7049
6869
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
7050
6870
|
type: "tag";
|
|
7051
|
-
uid: string
|
|
6871
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
7052
6872
|
name: string;
|
|
7053
|
-
children: string[];
|
|
6873
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
7054
6874
|
description?: string | undefined;
|
|
7055
6875
|
externalDocs?: {
|
|
7056
6876
|
url: string;
|
|
@@ -7062,11 +6882,11 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
7062
6882
|
'x-internal'?: boolean | undefined;
|
|
7063
6883
|
'x-scalar-ignore'?: boolean | undefined;
|
|
7064
6884
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
7065
|
-
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
|
|
6885
|
+
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" ? {
|
|
7066
6886
|
type: "tag";
|
|
7067
|
-
uid: string
|
|
6887
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
7068
6888
|
name: string;
|
|
7069
|
-
children: string[];
|
|
6889
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
7070
6890
|
description?: string | undefined;
|
|
7071
6891
|
externalDocs?: {
|
|
7072
6892
|
url: string;
|
|
@@ -7079,9 +6899,9 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
7079
6899
|
'x-scalar-ignore'?: boolean | undefined;
|
|
7080
6900
|
}[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<{
|
|
7081
6901
|
type: "tag";
|
|
7082
|
-
uid: string
|
|
6902
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
7083
6903
|
name: string;
|
|
7084
|
-
children: string[];
|
|
6904
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
7085
6905
|
description?: string | undefined;
|
|
7086
6906
|
externalDocs?: {
|
|
7087
6907
|
url: string;
|
|
@@ -7094,9 +6914,9 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
7094
6914
|
'x-scalar-ignore'?: boolean | undefined;
|
|
7095
6915
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
7096
6916
|
type: "tag";
|
|
7097
|
-
uid: string
|
|
6917
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
7098
6918
|
name: string;
|
|
7099
|
-
children: string[];
|
|
6919
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
7100
6920
|
description?: string | undefined;
|
|
7101
6921
|
externalDocs?: {
|
|
7102
6922
|
url: string;
|
|
@@ -7108,19 +6928,19 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
7108
6928
|
'x-internal'?: boolean | undefined;
|
|
7109
6929
|
'x-scalar-ignore'?: boolean | undefined;
|
|
7110
6930
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
7111
|
-
undo: (uid: string) => void;
|
|
7112
|
-
redo: (uid: string) => void;
|
|
6931
|
+
undo: (uid: string & import("zod").BRAND<"tag">) => void;
|
|
6932
|
+
redo: (uid: string & import("zod").BRAND<"tag">) => void;
|
|
7113
6933
|
reset: () => void;
|
|
7114
6934
|
};
|
|
7115
6935
|
workspaceMutators: {
|
|
7116
6936
|
rawAdd: (item: {
|
|
7117
|
-
uid: string
|
|
6937
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
7118
6938
|
name: string;
|
|
7119
6939
|
description: string;
|
|
7120
|
-
collections: string[];
|
|
6940
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
7121
6941
|
environments: Record<string, string>;
|
|
7122
6942
|
activeEnvironmentId: string;
|
|
7123
|
-
cookies: string[];
|
|
6943
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
7124
6944
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
7125
6945
|
selectedHttpClient: {
|
|
7126
6946
|
targetKey: string;
|
|
@@ -7136,13 +6956,13 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
7136
6956
|
proxyUrl?: string | undefined;
|
|
7137
6957
|
}) => void;
|
|
7138
6958
|
add: (payload?: Partial<import("@scalar/oas-utils/entities").Workspace>) => {
|
|
7139
|
-
uid: string
|
|
6959
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
7140
6960
|
name: string;
|
|
7141
6961
|
description: string;
|
|
7142
|
-
collections: string[];
|
|
6962
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
7143
6963
|
environments: Record<string, string>;
|
|
7144
6964
|
activeEnvironmentId: string;
|
|
7145
|
-
cookies: string[];
|
|
6965
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
7146
6966
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
7147
6967
|
selectedHttpClient: {
|
|
7148
6968
|
targetKey: string;
|
|
@@ -7157,15 +6977,15 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
7157
6977
|
} | undefined;
|
|
7158
6978
|
proxyUrl?: string | undefined;
|
|
7159
6979
|
};
|
|
7160
|
-
delete: (uid:
|
|
6980
|
+
delete: (uid: import("@scalar/oas-utils/entities").Workspace["uid"]) => void;
|
|
7161
6981
|
set: (item: {
|
|
7162
|
-
uid: string
|
|
6982
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
7163
6983
|
name: string;
|
|
7164
6984
|
description: string;
|
|
7165
|
-
collections: string[];
|
|
6985
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
7166
6986
|
environments: Record<string, string>;
|
|
7167
6987
|
activeEnvironmentId: string;
|
|
7168
|
-
cookies: string[];
|
|
6988
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
7169
6989
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
7170
6990
|
selectedHttpClient: {
|
|
7171
6991
|
targetKey: string;
|
|
@@ -7180,14 +7000,14 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
7180
7000
|
} | undefined;
|
|
7181
7001
|
proxyUrl?: string | undefined;
|
|
7182
7002
|
}) => void;
|
|
7183
|
-
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" ? {
|
|
7184
|
-
uid: string
|
|
7003
|
+
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" ? {
|
|
7004
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
7185
7005
|
name: string;
|
|
7186
7006
|
description: string;
|
|
7187
|
-
collections: string[];
|
|
7007
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
7188
7008
|
environments: Record<string, string>;
|
|
7189
7009
|
activeEnvironmentId: string;
|
|
7190
|
-
cookies: string[];
|
|
7010
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
7191
7011
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
7192
7012
|
selectedHttpClient: {
|
|
7193
7013
|
targetKey: string;
|
|
@@ -7202,13 +7022,13 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
7202
7022
|
} | undefined;
|
|
7203
7023
|
proxyUrl?: string | undefined;
|
|
7204
7024
|
}[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<{
|
|
7205
|
-
uid: string
|
|
7025
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
7206
7026
|
name: string;
|
|
7207
7027
|
description: string;
|
|
7208
|
-
collections: string[];
|
|
7028
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
7209
7029
|
environments: Record<string, string>;
|
|
7210
7030
|
activeEnvironmentId: string;
|
|
7211
|
-
cookies: string[];
|
|
7031
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
7212
7032
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
7213
7033
|
selectedHttpClient: {
|
|
7214
7034
|
targetKey: string;
|
|
@@ -7223,13 +7043,13 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
7223
7043
|
} | undefined;
|
|
7224
7044
|
proxyUrl?: string | undefined;
|
|
7225
7045
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
7226
|
-
uid: string
|
|
7046
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
7227
7047
|
name: string;
|
|
7228
7048
|
description: string;
|
|
7229
|
-
collections: string[];
|
|
7049
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
7230
7050
|
environments: Record<string, string>;
|
|
7231
7051
|
activeEnvironmentId: string;
|
|
7232
|
-
cookies: string[];
|
|
7052
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
7233
7053
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
7234
7054
|
selectedHttpClient: {
|
|
7235
7055
|
targetKey: string;
|
|
@@ -7244,14 +7064,14 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
7244
7064
|
} | undefined;
|
|
7245
7065
|
proxyUrl?: string | undefined;
|
|
7246
7066
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
7247
|
-
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" ? {
|
|
7248
|
-
uid: string
|
|
7067
|
+
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" ? {
|
|
7068
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
7249
7069
|
name: string;
|
|
7250
7070
|
description: string;
|
|
7251
|
-
collections: string[];
|
|
7071
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
7252
7072
|
environments: Record<string, string>;
|
|
7253
7073
|
activeEnvironmentId: string;
|
|
7254
|
-
cookies: string[];
|
|
7074
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
7255
7075
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
7256
7076
|
selectedHttpClient: {
|
|
7257
7077
|
targetKey: string;
|
|
@@ -7266,13 +7086,13 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
7266
7086
|
} | undefined;
|
|
7267
7087
|
proxyUrl?: string | undefined;
|
|
7268
7088
|
}[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<{
|
|
7269
|
-
uid: string
|
|
7089
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
7270
7090
|
name: string;
|
|
7271
7091
|
description: string;
|
|
7272
|
-
collections: string[];
|
|
7092
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
7273
7093
|
environments: Record<string, string>;
|
|
7274
7094
|
activeEnvironmentId: string;
|
|
7275
|
-
cookies: string[];
|
|
7095
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
7276
7096
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
7277
7097
|
selectedHttpClient: {
|
|
7278
7098
|
targetKey: string;
|
|
@@ -7287,13 +7107,13 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
7287
7107
|
} | undefined;
|
|
7288
7108
|
proxyUrl?: string | undefined;
|
|
7289
7109
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
7290
|
-
uid: string
|
|
7110
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
7291
7111
|
name: string;
|
|
7292
7112
|
description: string;
|
|
7293
|
-
collections: string[];
|
|
7113
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
7294
7114
|
environments: Record<string, string>;
|
|
7295
7115
|
activeEnvironmentId: string;
|
|
7296
|
-
cookies: string[];
|
|
7116
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
7297
7117
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
7298
7118
|
selectedHttpClient: {
|
|
7299
7119
|
targetKey: string;
|
|
@@ -7308,12 +7128,12 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
7308
7128
|
} | undefined;
|
|
7309
7129
|
proxyUrl?: string | undefined;
|
|
7310
7130
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
7311
|
-
undo: (uid: string) => void;
|
|
7312
|
-
redo: (uid: string) => void;
|
|
7131
|
+
undo: (uid: string & import("zod").BRAND<"workspace">) => void;
|
|
7132
|
+
redo: (uid: string & import("zod").BRAND<"workspace">) => void;
|
|
7313
7133
|
reset: () => void;
|
|
7314
7134
|
};
|
|
7315
|
-
addCollectionEnvironment: (environmentName: string, environment: import("@scalar/oas-utils/entities/spec").XScalarEnvironment, collectionUid:
|
|
7316
|
-
removeCollectionEnvironment: (environmentName: string, collectionUid:
|
|
7135
|
+
addCollectionEnvironment: (environmentName: string, environment: import("@scalar/oas-utils/entities/spec").XScalarEnvironment, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
7136
|
+
removeCollectionEnvironment: (environmentName: string, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
7317
7137
|
};
|
|
7318
7138
|
updateExample: (exampleKey: string, operationId: string) => void;
|
|
7319
7139
|
};
|