@scalar/api-client 2.1.51 → 2.2.0
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 +47 -0
- 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 +35 -42
- 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 +25 -24
- package/dist/components/AddressBar/AddressBarServer.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarServer.vue.js +32 -39
- package/dist/components/AddressBar/AddressBarServerItem.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarServerItem.vue.js +10 -15
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.js +1 -1
- package/dist/components/CodeInput/CodeInput.vue2.js +48 -47
- package/dist/components/CodeInput/codeVariableWidget.d.ts +3 -2
- package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +16 -15
- package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteExample.vue.js +18 -23
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteImport.vue.js +27 -26
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +19 -20
- package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteServer.vue.js +19 -24
- package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteTag.vue.js +23 -22
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue.js +4 -4
- package/dist/components/CommandPalette/TheCommandPalette.vue2.js +47 -46
- package/dist/components/DataTable/DataTableInput.vue.d.ts +1 -1
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +23 -28
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
- package/dist/components/IconSelector.vue.js +2 -2
- package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportCollectionModal.vue.js +127 -96
- package/dist/components/ImportCollection/ImportNowButton.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportNowButton.vue.js +28 -27
- package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts +1 -1
- package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/IntegrationLogo.vue.js +14 -18
- package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/WorkspaceSelector.vue.js +15 -14
- package/dist/components/Search/useSearch.d.ts.map +1 -1
- package/dist/components/Search/useSearch.js +20 -19
- package/dist/components/SideNav/SideNavRouterLink.vue.js +9 -9
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.js +2 -2
- package/dist/components/Sidebar/Sidebar.vue2.js +37 -39
- package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNav.vue.js +1 -1
- package/dist/components/TopNav/TopNav.vue2.js +20 -19
- package/dist/components/TopNav/TopNavItem.vue.d.ts +2 -2
- package/dist/hooks/index.js +3 -2
- package/dist/hooks/useLayout.d.ts +2 -0
- package/dist/hooks/useLayout.d.ts.map +1 -1
- package/dist/hooks/useLayout.js +4 -3
- package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
- package/dist/layouts/App/ApiClientApp.vue.js +38 -37
- package/dist/layouts/App/MainLayout.vue.d.ts.map +1 -1
- package/dist/layouts/App/MainLayout.vue.js +3 -3
- package/dist/layouts/App/create-api-client-app.d.ts +670 -1232
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/layouts/Modal/ApiClientModal.vue.js +2 -2
- package/dist/layouts/Modal/ApiClientModal.vue2.js +24 -23
- package/dist/layouts/Modal/create-api-client-modal.d.ts +1384 -2508
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
- package/dist/layouts/Web/ApiClientWeb.vue.js +34 -33
- package/dist/layouts/Web/create-api-client-web.d.ts +670 -1232
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +675 -1236
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +100 -95
- package/dist/libs/hot-keys.d.ts +1 -1
- package/dist/libs/send-request.d.ts +3 -7
- package/dist/libs/send-request.d.ts.map +1 -1
- package/dist/libs/send-request.js +126 -119
- package/dist/libs/string-template.d.ts.map +1 -1
- package/dist/libs/string-template.js +23 -22
- package/dist/store/active-entities.d.ts +333 -0
- package/dist/store/active-entities.d.ts.map +1 -0
- package/dist/store/active-entities.js +97 -0
- package/dist/store/collections.d.ts +4 -274
- package/dist/store/collections.d.ts.map +1 -1
- package/dist/store/cookies.d.ts +4 -4
- package/dist/store/environment.d.ts +4 -4
- package/dist/store/import-spec.d.ts +0 -54
- package/dist/store/import-spec.d.ts.map +1 -1
- package/dist/store/index.js +4 -3
- package/dist/store/request-example.d.ts +4 -4
- package/dist/store/requests.d.ts +15 -15
- package/dist/store/security-schemes.d.ts +527 -317
- package/dist/store/security-schemes.d.ts.map +1 -1
- package/dist/store/security-schemes.js +33 -41
- package/dist/store/servers.d.ts +4 -4
- package/dist/store/store-context.d.ts +0 -3
- package/dist/store/store-context.d.ts.map +1 -1
- package/dist/store/store.d.ts +640 -5297
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/store.js +111 -189
- package/dist/store/tags.d.ts +4 -4
- package/dist/store/workspace.d.ts +14 -24
- package/dist/store/workspace.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/views/Cookies/CookieForm.vue.d.ts.map +1 -1
- package/dist/views/Cookies/CookieForm.vue.js +14 -13
- package/dist/views/Cookies/CookieRaw.vue.d.ts.map +1 -1
- package/dist/views/Cookies/CookieRaw.vue.js +14 -13
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts +3 -3
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
- 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 +94 -94
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +96 -99
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +49 -46
- 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 +94 -100
- package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.js +60 -67
- package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestBody.vue2.js +29 -28
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.js +11 -10
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestPathParams.vue.js +24 -28
- 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 +19 -18
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +2 -2
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +27 -27
- 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 +74 -75
- package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItem.vue.js +1 -1
- package/dist/views/Request/RequestSidebarItem.vue2.js +111 -109
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue.js +2 -2
- package/dist/views/Request/RequestSidebarItemMenu.vue2.js +15 -16
- package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue2.js +14 -14
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.js +2 -2
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue2.js +35 -15
- 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 +23 -22
- package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +32 -31
- package/dist/views/Request/consts/new-auth-options.d.ts +16 -8
- package/dist/views/Request/consts/new-auth-options.d.ts.map +1 -1
- package/dist/views/Request/consts/new-auth-options.js +16 -8
- package/dist/views/Request/handle-drag.d.ts +2 -1
- package/dist/views/Request/handle-drag.d.ts.map +1 -1
- package/dist/views/Request/handle-drag.js +23 -25
- package/dist/views/Request/hooks/useOpenApiWatcher.d.ts.map +1 -1
- package/dist/views/Request/hooks/useOpenApiWatcher.js +40 -39
- package/dist/views/Request/libs/auth.d.ts +1 -29
- package/dist/views/Request/libs/auth.d.ts.map +1 -1
- package/dist/views/Request/libs/auth.js +2 -9
- package/dist/views/Request/libs/index.js +6 -8
- package/dist/views/Request/libs/live-sync.d.ts +6 -5
- package/dist/views/Request/libs/live-sync.d.ts.map +1 -1
- package/dist/views/Request/libs/live-sync.js +164 -185
- package/dist/views/Request/libs/oauth2.d.ts +6 -10
- package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
- package/dist/views/Request/libs/oauth2.js +54 -69
- package/dist/views/Servers/ServerForm.vue.d.ts.map +1 -1
- package/dist/views/Servers/ServerForm.vue.js +14 -13
- package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
- package/dist/views/Servers/Servers.vue2.js +18 -17
- package/dist/views/Settings/SettingsGeneral.vue.d.ts.map +1 -1
- package/dist/views/Settings/SettingsGeneral.vue.js +218 -126
- package/dist/views/Settings/{SettingsGeneralMode.vue.d.ts → components/SettingsAppearance.vue.d.ts} +2 -2
- package/dist/views/Settings/components/SettingsAppearance.vue.d.ts.map +1 -0
- package/dist/views/Settings/components/SettingsAppearance.vue.js +74 -0
- package/dist/views/Settings/components/SettingsAppearance.vue2.js +4 -0
- package/dist/views/Settings/components/SettingsSection.vue.d.ts +24 -0
- package/dist/views/Settings/components/SettingsSection.vue.d.ts.map +1 -0
- package/dist/views/Settings/components/SettingsSection.vue.js +24 -0
- package/dist/views/Settings/components/SettingsSection.vue2.js +4 -0
- package/package.json +12 -12
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthModal.vue.d.ts +0 -16
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthModal.vue.d.ts.map +0 -1
- package/dist/views/Settings/SettingsGeneralMode.vue.d.ts.map +0 -1
- package/dist/views/Settings/SettingsGeneralMode.vue.js +0 -78
- package/dist/views/Settings/SettingsGeneralMode.vue2.js +0 -4
|
@@ -8,10 +8,10 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
8
8
|
updateConfig(newConfig: ClientConfiguration, mergeConfigs?: boolean): void;
|
|
9
9
|
updateServer: (serverUrl: string) => void;
|
|
10
10
|
onUpdateServer: (callback: (url: string) => void) => void;
|
|
11
|
-
updateAuth: <P extends import("@scalar/object-utils/nested").Path<import("@scalar/oas-utils/entities/spec").
|
|
11
|
+
updateAuth: <P extends import("@scalar/object-utils/nested").Path<import("@scalar/oas-utils/entities/spec").SecurityScheme>>({ nameKey, propertyKey, value, }: {
|
|
12
12
|
nameKey: string;
|
|
13
13
|
propertyKey: P;
|
|
14
|
-
value: import("@scalar/object-utils/nested").PathValue<import("@scalar/oas-utils/entities/spec").
|
|
14
|
+
value: NonNullable<import("@scalar/object-utils/nested").PathValue<import("@scalar/oas-utils/entities/spec").SecurityScheme, P>>;
|
|
15
15
|
}) => void;
|
|
16
16
|
route: (params: import("../../libs/index.js").OpenClientPayload) => void;
|
|
17
17
|
open: (payload?: import("../../libs/index.js").OpenClientPayload) => void;
|
|
@@ -26,12 +26,11 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
26
26
|
uid: string;
|
|
27
27
|
name: string;
|
|
28
28
|
description: string;
|
|
29
|
-
isReadOnly: boolean;
|
|
30
29
|
collections: string[];
|
|
31
30
|
environments: string[];
|
|
32
31
|
activeEnvironmentId: string;
|
|
33
32
|
cookies: string[];
|
|
34
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
33
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
35
34
|
hotKeyConfig?: {
|
|
36
35
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
37
36
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -54,33 +53,6 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
54
53
|
servers: string[];
|
|
55
54
|
requests: string[];
|
|
56
55
|
tags: string[];
|
|
57
|
-
auth: Record<string, {
|
|
58
|
-
type: "apiKey";
|
|
59
|
-
value: string;
|
|
60
|
-
name: string;
|
|
61
|
-
} | {
|
|
62
|
-
type: "http";
|
|
63
|
-
username: string;
|
|
64
|
-
password: string;
|
|
65
|
-
token: string;
|
|
66
|
-
} | {
|
|
67
|
-
type: "oauth-implicit";
|
|
68
|
-
token: string;
|
|
69
|
-
} | {
|
|
70
|
-
type: "oauth-password";
|
|
71
|
-
username: string;
|
|
72
|
-
password: string;
|
|
73
|
-
token: string;
|
|
74
|
-
clientSecret: string;
|
|
75
|
-
} | {
|
|
76
|
-
type: "oauth-clientCredentials";
|
|
77
|
-
token: string;
|
|
78
|
-
clientSecret: string;
|
|
79
|
-
} | {
|
|
80
|
-
type: "oauth-authorizationCode";
|
|
81
|
-
token: string;
|
|
82
|
-
clientSecret: string;
|
|
83
|
-
}>;
|
|
84
56
|
watchMode: boolean;
|
|
85
57
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
86
58
|
externalDocs?: {
|
|
@@ -260,7 +232,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
260
232
|
selectedServerUid: string;
|
|
261
233
|
servers: string[];
|
|
262
234
|
examples: string[];
|
|
263
|
-
method: "options" | "
|
|
235
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
264
236
|
description?: string | undefined;
|
|
265
237
|
summary?: string | undefined;
|
|
266
238
|
externalDocs?: {
|
|
@@ -299,10 +271,11 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
299
271
|
}>;
|
|
300
272
|
securitySchemes: Record<string, {
|
|
301
273
|
type: "apiKey";
|
|
274
|
+
value: string;
|
|
302
275
|
uid: string;
|
|
303
276
|
name: string;
|
|
304
|
-
in: "query" | "header" | "cookie";
|
|
305
277
|
nameKey: string;
|
|
278
|
+
in: "query" | "header" | "cookie";
|
|
306
279
|
description?: string | undefined;
|
|
307
280
|
} | {
|
|
308
281
|
type: "http";
|
|
@@ -310,6 +283,9 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
310
283
|
nameKey: string;
|
|
311
284
|
scheme: "basic" | "bearer";
|
|
312
285
|
bearerFormat: string;
|
|
286
|
+
username: string;
|
|
287
|
+
password: string;
|
|
288
|
+
token: string;
|
|
313
289
|
description?: string | undefined;
|
|
314
290
|
} | {
|
|
315
291
|
type: "openIdConnect";
|
|
@@ -321,39 +297,128 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
321
297
|
type: "oauth2";
|
|
322
298
|
uid: string;
|
|
323
299
|
nameKey: string;
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
300
|
+
flows: {
|
|
301
|
+
password?: {
|
|
302
|
+
type: "password";
|
|
303
|
+
username: string;
|
|
304
|
+
password: string;
|
|
305
|
+
token: string;
|
|
306
|
+
refreshUrl: string;
|
|
307
|
+
scopes: Record<string, string>;
|
|
308
|
+
selectedScopes: string[];
|
|
309
|
+
"x-scalar-client-id": string;
|
|
310
|
+
tokenUrl: string;
|
|
311
|
+
clientSecret: string;
|
|
312
|
+
} | undefined;
|
|
313
|
+
implicit?: {
|
|
314
|
+
type: "implicit";
|
|
315
|
+
token: string;
|
|
316
|
+
refreshUrl: string;
|
|
317
|
+
scopes: Record<string, string>;
|
|
318
|
+
selectedScopes: string[];
|
|
319
|
+
"x-scalar-client-id": string;
|
|
320
|
+
authorizationUrl: string;
|
|
321
|
+
"x-scalar-redirect-uri": string;
|
|
322
|
+
} | undefined;
|
|
323
|
+
clientCredentials?: {
|
|
324
|
+
type: "clientCredentials";
|
|
325
|
+
token: string;
|
|
326
|
+
refreshUrl: string;
|
|
327
|
+
scopes: Record<string, string>;
|
|
328
|
+
selectedScopes: string[];
|
|
329
|
+
"x-scalar-client-id": string;
|
|
330
|
+
tokenUrl: string;
|
|
331
|
+
clientSecret: string;
|
|
332
|
+
} | undefined;
|
|
333
|
+
authorizationCode?: {
|
|
334
|
+
type: "authorizationCode";
|
|
335
|
+
token: string;
|
|
336
|
+
refreshUrl: string;
|
|
337
|
+
scopes: Record<string, string>;
|
|
338
|
+
selectedScopes: string[];
|
|
339
|
+
"x-scalar-client-id": string;
|
|
340
|
+
authorizationUrl: string;
|
|
341
|
+
"x-scalar-redirect-uri": string;
|
|
342
|
+
tokenUrl: string;
|
|
343
|
+
clientSecret: string;
|
|
344
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
345
|
+
} | undefined;
|
|
352
346
|
};
|
|
353
|
-
'x-scalar-client-id': string;
|
|
354
347
|
description?: string | undefined;
|
|
355
348
|
}>;
|
|
356
|
-
|
|
349
|
+
modalState: {
|
|
350
|
+
open: boolean;
|
|
351
|
+
show: () => void;
|
|
352
|
+
hide: () => void;
|
|
353
|
+
};
|
|
354
|
+
events: {
|
|
355
|
+
executeRequest: import("../../libs/index.js").EventBus<any>;
|
|
356
|
+
cancelRequest: import("../../libs/index.js").EventBus<any>;
|
|
357
|
+
requestStatus: import("../../libs/index.js").EventBus<import("../../libs/index.js").RequestStatus>;
|
|
358
|
+
commandPalette: import("../../libs/index.js").EventBus<import("../../components/CommandPalette/TheCommandPalette.vue.js").CommandPaletteEvent>;
|
|
359
|
+
hotKeys: import("../../libs/index.js").EventBus<Partial<Record<"closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch", KeyboardEvent>>>;
|
|
360
|
+
};
|
|
361
|
+
proxyUrl: string | undefined;
|
|
362
|
+
sidebarWidth: import("vue").Ref<string, string>;
|
|
363
|
+
setSidebarWidth: (width: string) => void;
|
|
364
|
+
isReadOnly: boolean;
|
|
365
|
+
importSpecFile: (_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
|
|
366
|
+
type?: "collection" | undefined;
|
|
367
|
+
uid?: string | undefined;
|
|
368
|
+
externalDocs?: {
|
|
369
|
+
description?: string | undefined;
|
|
370
|
+
url?: string | undefined;
|
|
371
|
+
} | undefined;
|
|
372
|
+
children?: (string | undefined)[] | undefined;
|
|
373
|
+
openapi?: string | undefined;
|
|
374
|
+
jsonSchemaDialect?: string | undefined;
|
|
375
|
+
info?: {
|
|
376
|
+
description?: string | undefined;
|
|
377
|
+
title?: string | undefined;
|
|
378
|
+
summary?: string | undefined;
|
|
379
|
+
termsOfService?: string | undefined;
|
|
380
|
+
contact?: {
|
|
381
|
+
name?: string | undefined;
|
|
382
|
+
url?: string | undefined;
|
|
383
|
+
email?: string | undefined;
|
|
384
|
+
} | undefined;
|
|
385
|
+
license?: {
|
|
386
|
+
name?: string | undefined;
|
|
387
|
+
identifier?: string | undefined;
|
|
388
|
+
url?: string | undefined;
|
|
389
|
+
} | undefined;
|
|
390
|
+
version?: string | undefined;
|
|
391
|
+
} | undefined;
|
|
392
|
+
security?: Record<string, string[] | undefined>[] | undefined;
|
|
393
|
+
components?: Record<string, unknown> | undefined;
|
|
394
|
+
webhooks?: Record<string, unknown> | undefined;
|
|
395
|
+
'x-scalar-icon'?: string | undefined;
|
|
396
|
+
'x-scalar-environment'?: string | undefined;
|
|
397
|
+
'x-scalar-environments'?: Record<string, {
|
|
398
|
+
variables: Record<string, string | {
|
|
399
|
+
default?: string | undefined;
|
|
400
|
+
description?: string | undefined;
|
|
401
|
+
}>;
|
|
402
|
+
description?: string | undefined;
|
|
403
|
+
color?: string | undefined;
|
|
404
|
+
}> | undefined;
|
|
405
|
+
'x-scalar-secrets'?: Record<string, {
|
|
406
|
+
description?: string | undefined;
|
|
407
|
+
example?: string | undefined;
|
|
408
|
+
}> | undefined;
|
|
409
|
+
securitySchemes?: string[] | undefined;
|
|
410
|
+
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
411
|
+
selectedServerUid?: string | undefined;
|
|
412
|
+
servers?: (string | undefined)[] | undefined;
|
|
413
|
+
requests?: (string | undefined)[] | undefined;
|
|
414
|
+
tags?: (string | undefined)[] | undefined;
|
|
415
|
+
documentUrl?: string | undefined;
|
|
416
|
+
watchMode?: boolean | undefined;
|
|
417
|
+
integration?: string | null | undefined;
|
|
418
|
+
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
419
|
+
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types").ReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
|
|
420
|
+
setCollectionSecurity?: boolean;
|
|
421
|
+
} & Pick<import("@scalar/types").ReferenceConfiguration, "servers">) => Promise<{
|
|
357
422
|
type: "collection";
|
|
358
423
|
uid: string;
|
|
359
424
|
children: string[];
|
|
@@ -366,33 +431,6 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
366
431
|
servers: string[];
|
|
367
432
|
requests: string[];
|
|
368
433
|
tags: string[];
|
|
369
|
-
auth: Record<string, {
|
|
370
|
-
type: "apiKey";
|
|
371
|
-
value: string;
|
|
372
|
-
name: string;
|
|
373
|
-
} | {
|
|
374
|
-
type: "http";
|
|
375
|
-
username: string;
|
|
376
|
-
password: string;
|
|
377
|
-
token: string;
|
|
378
|
-
} | {
|
|
379
|
-
type: "oauth-implicit";
|
|
380
|
-
token: string;
|
|
381
|
-
} | {
|
|
382
|
-
type: "oauth-password";
|
|
383
|
-
username: string;
|
|
384
|
-
password: string;
|
|
385
|
-
token: string;
|
|
386
|
-
clientSecret: string;
|
|
387
|
-
} | {
|
|
388
|
-
type: "oauth-clientCredentials";
|
|
389
|
-
token: string;
|
|
390
|
-
clientSecret: string;
|
|
391
|
-
} | {
|
|
392
|
-
type: "oauth-authorizationCode";
|
|
393
|
-
token: string;
|
|
394
|
-
clientSecret: string;
|
|
395
|
-
}>;
|
|
396
434
|
watchMode: boolean;
|
|
397
435
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
398
436
|
externalDocs?: {
|
|
@@ -435,469 +473,12 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
435
473
|
documentUrl?: string | undefined;
|
|
436
474
|
integration?: string | null | undefined;
|
|
437
475
|
} | undefined>;
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
uid: string;
|
|
442
|
-
name: string;
|
|
443
|
-
body: {
|
|
444
|
-
activeBody: "formData" | "binary" | "raw";
|
|
445
|
-
formData?: {
|
|
446
|
-
value: {
|
|
447
|
-
value: string;
|
|
448
|
-
key: string;
|
|
449
|
-
enabled: boolean;
|
|
450
|
-
minimum?: number | undefined;
|
|
451
|
-
type?: string | undefined;
|
|
452
|
-
maximum?: number | undefined;
|
|
453
|
-
default?: any;
|
|
454
|
-
required?: boolean | undefined;
|
|
455
|
-
description?: string | undefined;
|
|
456
|
-
enum?: string[] | undefined;
|
|
457
|
-
format?: string | undefined;
|
|
458
|
-
file?: any;
|
|
459
|
-
nullable?: boolean | undefined;
|
|
460
|
-
}[];
|
|
461
|
-
encoding: "form-data" | "urlencoded";
|
|
462
|
-
} | undefined;
|
|
463
|
-
binary?: Blob | undefined;
|
|
464
|
-
raw?: {
|
|
465
|
-
value: string;
|
|
466
|
-
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
467
|
-
} | undefined;
|
|
468
|
-
};
|
|
469
|
-
requestUid: string;
|
|
470
|
-
parameters: {
|
|
471
|
-
path: {
|
|
472
|
-
value: string;
|
|
473
|
-
key: string;
|
|
474
|
-
enabled: boolean;
|
|
475
|
-
minimum?: number | undefined;
|
|
476
|
-
type?: string | undefined;
|
|
477
|
-
maximum?: number | undefined;
|
|
478
|
-
default?: any;
|
|
479
|
-
required?: boolean | undefined;
|
|
480
|
-
description?: string | undefined;
|
|
481
|
-
enum?: string[] | undefined;
|
|
482
|
-
format?: string | undefined;
|
|
483
|
-
file?: any;
|
|
484
|
-
nullable?: boolean | undefined;
|
|
485
|
-
}[];
|
|
486
|
-
cookies: {
|
|
487
|
-
value: string;
|
|
488
|
-
key: string;
|
|
489
|
-
enabled: boolean;
|
|
490
|
-
minimum?: number | undefined;
|
|
491
|
-
type?: string | undefined;
|
|
492
|
-
maximum?: number | undefined;
|
|
493
|
-
default?: any;
|
|
494
|
-
required?: boolean | undefined;
|
|
495
|
-
description?: string | undefined;
|
|
496
|
-
enum?: string[] | undefined;
|
|
497
|
-
format?: string | undefined;
|
|
498
|
-
file?: any;
|
|
499
|
-
nullable?: boolean | undefined;
|
|
500
|
-
}[];
|
|
501
|
-
query: {
|
|
502
|
-
value: string;
|
|
503
|
-
key: string;
|
|
504
|
-
enabled: boolean;
|
|
505
|
-
minimum?: number | undefined;
|
|
506
|
-
type?: string | undefined;
|
|
507
|
-
maximum?: number | undefined;
|
|
508
|
-
default?: any;
|
|
509
|
-
required?: boolean | undefined;
|
|
510
|
-
description?: string | undefined;
|
|
511
|
-
enum?: string[] | undefined;
|
|
512
|
-
format?: string | undefined;
|
|
513
|
-
file?: any;
|
|
514
|
-
nullable?: boolean | undefined;
|
|
515
|
-
}[];
|
|
516
|
-
headers: {
|
|
517
|
-
value: string;
|
|
518
|
-
key: string;
|
|
519
|
-
enabled: boolean;
|
|
520
|
-
minimum?: number | undefined;
|
|
521
|
-
type?: string | undefined;
|
|
522
|
-
maximum?: number | undefined;
|
|
523
|
-
default?: any;
|
|
524
|
-
required?: boolean | undefined;
|
|
525
|
-
description?: string | undefined;
|
|
526
|
-
enum?: string[] | undefined;
|
|
527
|
-
format?: string | undefined;
|
|
528
|
-
file?: any;
|
|
529
|
-
nullable?: boolean | undefined;
|
|
530
|
-
}[];
|
|
531
|
-
};
|
|
532
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
533
|
-
} | undefined>;
|
|
534
|
-
activeRequest: import("vue").ComputedRef<{
|
|
535
|
-
path: string;
|
|
536
|
-
type: "request";
|
|
537
|
-
uid: string;
|
|
538
|
-
selectedSecuritySchemeUids: string[];
|
|
539
|
-
selectedServerUid: string;
|
|
540
|
-
servers: string[];
|
|
541
|
-
examples: string[];
|
|
542
|
-
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
543
|
-
description?: string | undefined;
|
|
544
|
-
summary?: string | undefined;
|
|
476
|
+
importSpecFromUrl: (url: string, workspaceUid: string, { proxy, ...options }?: Omit<Pick<{
|
|
477
|
+
type?: "collection" | undefined;
|
|
478
|
+
uid?: string | undefined;
|
|
545
479
|
externalDocs?: {
|
|
546
|
-
url: string;
|
|
547
480
|
description?: string | undefined;
|
|
548
|
-
|
|
549
|
-
security?: Record<string, string[]>[] | undefined;
|
|
550
|
-
tags?: string[] | undefined;
|
|
551
|
-
deprecated?: boolean | undefined;
|
|
552
|
-
operationId?: string | undefined;
|
|
553
|
-
parameters?: {
|
|
554
|
-
required: boolean;
|
|
555
|
-
name: string;
|
|
556
|
-
in: "path" | "query" | "header" | "cookie";
|
|
557
|
-
deprecated: boolean;
|
|
558
|
-
description?: string | undefined;
|
|
559
|
-
example?: unknown;
|
|
560
|
-
schema?: unknown;
|
|
561
|
-
content?: unknown;
|
|
562
|
-
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
563
|
-
examples?: Record<string, {
|
|
564
|
-
value?: unknown;
|
|
565
|
-
summary?: string | undefined;
|
|
566
|
-
}> | undefined;
|
|
567
|
-
}[] | undefined;
|
|
568
|
-
requestBody?: any;
|
|
569
|
-
responses?: Record<string, any> | undefined;
|
|
570
|
-
} | undefined>;
|
|
571
|
-
activeRouterParams: import("vue").ComputedRef<{
|
|
572
|
-
collection: string;
|
|
573
|
-
environment: string;
|
|
574
|
-
request: string;
|
|
575
|
-
examples: string;
|
|
576
|
-
schema: string;
|
|
577
|
-
cookies: string;
|
|
578
|
-
servers: string;
|
|
579
|
-
workspace: string;
|
|
580
|
-
settings: string;
|
|
581
|
-
}>;
|
|
582
|
-
activeEnvironment: import("vue").ComputedRef<{
|
|
583
|
-
value: string;
|
|
584
|
-
uid: string;
|
|
585
|
-
name: string;
|
|
586
|
-
color: string;
|
|
587
|
-
isDefault?: boolean | undefined;
|
|
588
|
-
}>;
|
|
589
|
-
activeServer: import("vue").ComputedRef<{
|
|
590
|
-
uid: string;
|
|
591
|
-
url: string;
|
|
592
|
-
description?: string | undefined;
|
|
593
|
-
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
594
|
-
enum?: [string, ...string[]];
|
|
595
|
-
}> | undefined;
|
|
596
|
-
}>;
|
|
597
|
-
activeWorkspace: import("vue").ComputedRef<{
|
|
598
|
-
uid: string;
|
|
599
|
-
name: string;
|
|
600
|
-
description: string;
|
|
601
|
-
isReadOnly: boolean;
|
|
602
|
-
collections: string[];
|
|
603
|
-
environments: string[];
|
|
604
|
-
activeEnvironmentId: string;
|
|
605
|
-
cookies: string[];
|
|
606
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
607
|
-
hotKeyConfig?: {
|
|
608
|
-
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
609
|
-
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
610
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
611
|
-
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
612
|
-
}>> | undefined;
|
|
613
|
-
} | undefined;
|
|
614
|
-
proxyUrl?: string | undefined;
|
|
615
|
-
}>;
|
|
616
|
-
activeWorkspaceCollections: import("vue").ComputedRef<{
|
|
617
|
-
type: "collection";
|
|
618
|
-
uid: string;
|
|
619
|
-
children: string[];
|
|
620
|
-
openapi: string;
|
|
621
|
-
security: Record<string, string[]>[];
|
|
622
|
-
'x-scalar-icon': string;
|
|
623
|
-
securitySchemes: string[];
|
|
624
|
-
selectedSecuritySchemeUids: string[];
|
|
625
|
-
selectedServerUid: string;
|
|
626
|
-
servers: string[];
|
|
627
|
-
requests: string[];
|
|
628
|
-
tags: string[];
|
|
629
|
-
auth: Record<string, {
|
|
630
|
-
type: "apiKey";
|
|
631
|
-
value: string;
|
|
632
|
-
name: string;
|
|
633
|
-
} | {
|
|
634
|
-
type: "http";
|
|
635
|
-
username: string;
|
|
636
|
-
password: string;
|
|
637
|
-
token: string;
|
|
638
|
-
} | {
|
|
639
|
-
type: "oauth-implicit";
|
|
640
|
-
token: string;
|
|
641
|
-
} | {
|
|
642
|
-
type: "oauth-password";
|
|
643
|
-
username: string;
|
|
644
|
-
password: string;
|
|
645
|
-
token: string;
|
|
646
|
-
clientSecret: string;
|
|
647
|
-
} | {
|
|
648
|
-
type: "oauth-clientCredentials";
|
|
649
|
-
token: string;
|
|
650
|
-
clientSecret: string;
|
|
651
|
-
} | {
|
|
652
|
-
type: "oauth-authorizationCode";
|
|
653
|
-
token: string;
|
|
654
|
-
clientSecret: string;
|
|
655
|
-
}>;
|
|
656
|
-
watchMode: boolean;
|
|
657
|
-
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
658
|
-
externalDocs?: {
|
|
659
|
-
url: string;
|
|
660
|
-
description?: string | undefined;
|
|
661
|
-
} | undefined;
|
|
662
|
-
jsonSchemaDialect?: string | undefined;
|
|
663
|
-
info?: {
|
|
664
|
-
title: string;
|
|
665
|
-
version: string;
|
|
666
|
-
description?: string | undefined;
|
|
667
|
-
summary?: string | undefined;
|
|
668
|
-
termsOfService?: string | undefined;
|
|
669
|
-
contact?: {
|
|
670
|
-
name?: string | undefined;
|
|
671
|
-
url?: string | undefined;
|
|
672
|
-
email?: string | undefined;
|
|
673
|
-
} | undefined;
|
|
674
|
-
license?: {
|
|
675
|
-
name: string;
|
|
676
|
-
identifier?: string | undefined;
|
|
677
|
-
url?: string | undefined;
|
|
678
|
-
} | undefined;
|
|
679
|
-
} | undefined;
|
|
680
|
-
components?: Record<string, unknown> | undefined;
|
|
681
|
-
webhooks?: Record<string, unknown> | undefined;
|
|
682
|
-
'x-scalar-environment'?: string | undefined;
|
|
683
|
-
'x-scalar-environments'?: Record<string, {
|
|
684
|
-
variables: Record<string, string | {
|
|
685
|
-
default: string;
|
|
686
|
-
description?: string | undefined;
|
|
687
|
-
}>;
|
|
688
|
-
description?: string | undefined;
|
|
689
|
-
color?: string | undefined;
|
|
690
|
-
}> | undefined;
|
|
691
|
-
'x-scalar-secrets'?: Record<string, {
|
|
692
|
-
description?: string | undefined;
|
|
693
|
-
example?: string | undefined;
|
|
694
|
-
}> | undefined;
|
|
695
|
-
documentUrl?: string | undefined;
|
|
696
|
-
integration?: string | null | undefined;
|
|
697
|
-
}[]>;
|
|
698
|
-
activeWorkspaceServers: import("vue").ComputedRef<{
|
|
699
|
-
uid: string;
|
|
700
|
-
url: string;
|
|
701
|
-
description?: string | undefined;
|
|
702
|
-
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
703
|
-
enum?: [string, ...string[]];
|
|
704
|
-
}> | undefined;
|
|
705
|
-
}[]>;
|
|
706
|
-
activeEnvVariables: import("vue").ComputedRef<{
|
|
707
|
-
key: string;
|
|
708
|
-
value: string;
|
|
709
|
-
}[]>;
|
|
710
|
-
activeWorkspaceRequests: import("vue").ComputedRef<string[]>;
|
|
711
|
-
modalState: {
|
|
712
|
-
open: boolean;
|
|
713
|
-
show: () => void;
|
|
714
|
-
hide: () => void;
|
|
715
|
-
};
|
|
716
|
-
isReadOnly: import("vue").ComputedRef<boolean>;
|
|
717
|
-
router: import("vue-router").Router;
|
|
718
|
-
events: {
|
|
719
|
-
executeRequest: import("../../libs/index.js").EventBus<any>;
|
|
720
|
-
cancelRequest: import("../../libs/index.js").EventBus<any>;
|
|
721
|
-
requestStatus: import("../../libs/index.js").EventBus<import("../../libs/index.js").RequestStatus>;
|
|
722
|
-
commandPalette: import("../../libs/index.js").EventBus<import("../../components/CommandPalette/TheCommandPalette.vue.js").CommandPaletteEvent>;
|
|
723
|
-
hotKeys: import("../../libs/index.js").EventBus<Partial<Record<"closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch", KeyboardEvent>>>;
|
|
724
|
-
};
|
|
725
|
-
sidebarWidth: import("vue").Ref<string, string>;
|
|
726
|
-
setSidebarWidth: (width: string) => void;
|
|
727
|
-
proxyUrl: import("vue").Ref<string | undefined, string | undefined>;
|
|
728
|
-
setProxyUrl: (url: string) => void;
|
|
729
|
-
defaultProxyUrl: string | undefined;
|
|
730
|
-
importSpecFile: (_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
|
|
731
|
-
type?: "collection" | undefined;
|
|
732
|
-
uid?: string | undefined;
|
|
733
|
-
externalDocs?: {
|
|
734
|
-
description?: string | undefined;
|
|
735
|
-
url?: string | undefined;
|
|
736
|
-
} | undefined;
|
|
737
|
-
children?: (string | undefined)[] | undefined;
|
|
738
|
-
openapi?: string | undefined;
|
|
739
|
-
jsonSchemaDialect?: string | undefined;
|
|
740
|
-
info?: {
|
|
741
|
-
description?: string | undefined;
|
|
742
|
-
title?: string | undefined;
|
|
743
|
-
summary?: string | undefined;
|
|
744
|
-
termsOfService?: string | undefined;
|
|
745
|
-
contact?: {
|
|
746
|
-
name?: string | undefined;
|
|
747
|
-
url?: string | undefined;
|
|
748
|
-
email?: string | undefined;
|
|
749
|
-
} | undefined;
|
|
750
|
-
license?: {
|
|
751
|
-
name?: string | undefined;
|
|
752
|
-
identifier?: string | undefined;
|
|
753
|
-
url?: string | undefined;
|
|
754
|
-
} | undefined;
|
|
755
|
-
version?: string | undefined;
|
|
756
|
-
} | undefined;
|
|
757
|
-
security?: Record<string, string[] | undefined>[] | undefined;
|
|
758
|
-
components?: Record<string, unknown> | undefined;
|
|
759
|
-
webhooks?: Record<string, unknown> | undefined;
|
|
760
|
-
'x-scalar-icon'?: string | undefined;
|
|
761
|
-
'x-scalar-environment'?: string | undefined;
|
|
762
|
-
'x-scalar-environments'?: Record<string, {
|
|
763
|
-
variables: Record<string, string | {
|
|
764
|
-
default?: string | undefined;
|
|
765
|
-
description?: string | undefined;
|
|
766
|
-
}>;
|
|
767
|
-
description?: string | undefined;
|
|
768
|
-
color?: string | undefined;
|
|
769
|
-
}> | undefined;
|
|
770
|
-
'x-scalar-secrets'?: Record<string, {
|
|
771
|
-
description?: string | undefined;
|
|
772
|
-
example?: string | undefined;
|
|
773
|
-
}> | undefined;
|
|
774
|
-
securitySchemes?: string[] | undefined;
|
|
775
|
-
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
776
|
-
selectedServerUid?: string | undefined;
|
|
777
|
-
servers?: (string | undefined)[] | undefined;
|
|
778
|
-
requests?: (string | undefined)[] | undefined;
|
|
779
|
-
tags?: (string | undefined)[] | undefined;
|
|
780
|
-
auth?: Record<string | undefined, {
|
|
781
|
-
type?: "apiKey" | undefined;
|
|
782
|
-
value?: string | undefined;
|
|
783
|
-
name?: string | undefined;
|
|
784
|
-
} | {
|
|
785
|
-
type?: "http" | undefined;
|
|
786
|
-
username?: string | undefined;
|
|
787
|
-
password?: string | undefined;
|
|
788
|
-
token?: string | undefined;
|
|
789
|
-
} | {
|
|
790
|
-
type?: "oauth-implicit" | undefined;
|
|
791
|
-
token?: string | undefined;
|
|
792
|
-
} | {
|
|
793
|
-
type?: "oauth-password" | undefined;
|
|
794
|
-
username?: string | undefined;
|
|
795
|
-
password?: string | undefined;
|
|
796
|
-
token?: string | undefined;
|
|
797
|
-
clientSecret?: string | undefined;
|
|
798
|
-
} | {
|
|
799
|
-
type?: "oauth-clientCredentials" | undefined;
|
|
800
|
-
token?: string | undefined;
|
|
801
|
-
clientSecret?: string | undefined;
|
|
802
|
-
} | {
|
|
803
|
-
type?: "oauth-authorizationCode" | undefined;
|
|
804
|
-
token?: string | undefined;
|
|
805
|
-
clientSecret?: string | undefined;
|
|
806
|
-
}> | undefined;
|
|
807
|
-
documentUrl?: string | undefined;
|
|
808
|
-
watchMode?: boolean | undefined;
|
|
809
|
-
integration?: string | null | undefined;
|
|
810
|
-
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
811
|
-
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types").ReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
|
|
812
|
-
setCollectionSecurity?: boolean;
|
|
813
|
-
} & Pick<import("@scalar/types").ReferenceConfiguration, "servers">) => Promise<{
|
|
814
|
-
type: "collection";
|
|
815
|
-
uid: string;
|
|
816
|
-
children: string[];
|
|
817
|
-
openapi: string;
|
|
818
|
-
security: Record<string, string[]>[];
|
|
819
|
-
'x-scalar-icon': string;
|
|
820
|
-
securitySchemes: string[];
|
|
821
|
-
selectedSecuritySchemeUids: string[];
|
|
822
|
-
selectedServerUid: string;
|
|
823
|
-
servers: string[];
|
|
824
|
-
requests: string[];
|
|
825
|
-
tags: string[];
|
|
826
|
-
auth: Record<string, {
|
|
827
|
-
type: "apiKey";
|
|
828
|
-
value: string;
|
|
829
|
-
name: string;
|
|
830
|
-
} | {
|
|
831
|
-
type: "http";
|
|
832
|
-
username: string;
|
|
833
|
-
password: string;
|
|
834
|
-
token: string;
|
|
835
|
-
} | {
|
|
836
|
-
type: "oauth-implicit";
|
|
837
|
-
token: string;
|
|
838
|
-
} | {
|
|
839
|
-
type: "oauth-password";
|
|
840
|
-
username: string;
|
|
841
|
-
password: string;
|
|
842
|
-
token: string;
|
|
843
|
-
clientSecret: string;
|
|
844
|
-
} | {
|
|
845
|
-
type: "oauth-clientCredentials";
|
|
846
|
-
token: string;
|
|
847
|
-
clientSecret: string;
|
|
848
|
-
} | {
|
|
849
|
-
type: "oauth-authorizationCode";
|
|
850
|
-
token: string;
|
|
851
|
-
clientSecret: string;
|
|
852
|
-
}>;
|
|
853
|
-
watchMode: boolean;
|
|
854
|
-
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
855
|
-
externalDocs?: {
|
|
856
|
-
url: string;
|
|
857
|
-
description?: string | undefined;
|
|
858
|
-
} | undefined;
|
|
859
|
-
jsonSchemaDialect?: string | undefined;
|
|
860
|
-
info?: {
|
|
861
|
-
title: string;
|
|
862
|
-
version: string;
|
|
863
|
-
description?: string | undefined;
|
|
864
|
-
summary?: string | undefined;
|
|
865
|
-
termsOfService?: string | undefined;
|
|
866
|
-
contact?: {
|
|
867
|
-
name?: string | undefined;
|
|
868
|
-
url?: string | undefined;
|
|
869
|
-
email?: string | undefined;
|
|
870
|
-
} | undefined;
|
|
871
|
-
license?: {
|
|
872
|
-
name: string;
|
|
873
|
-
identifier?: string | undefined;
|
|
874
|
-
url?: string | undefined;
|
|
875
|
-
} | undefined;
|
|
876
|
-
} | undefined;
|
|
877
|
-
components?: Record<string, unknown> | undefined;
|
|
878
|
-
webhooks?: Record<string, unknown> | undefined;
|
|
879
|
-
'x-scalar-environment'?: string | undefined;
|
|
880
|
-
'x-scalar-environments'?: Record<string, {
|
|
881
|
-
variables: Record<string, string | {
|
|
882
|
-
default: string;
|
|
883
|
-
description?: string | undefined;
|
|
884
|
-
}>;
|
|
885
|
-
description?: string | undefined;
|
|
886
|
-
color?: string | undefined;
|
|
887
|
-
}> | undefined;
|
|
888
|
-
'x-scalar-secrets'?: Record<string, {
|
|
889
|
-
description?: string | undefined;
|
|
890
|
-
example?: string | undefined;
|
|
891
|
-
}> | undefined;
|
|
892
|
-
documentUrl?: string | undefined;
|
|
893
|
-
integration?: string | null | undefined;
|
|
894
|
-
} | undefined>;
|
|
895
|
-
importSpecFromUrl: (url: string, workspaceUid: string, { proxy, ...options }?: Omit<Pick<{
|
|
896
|
-
type?: "collection" | undefined;
|
|
897
|
-
uid?: string | undefined;
|
|
898
|
-
externalDocs?: {
|
|
899
|
-
description?: string | undefined;
|
|
900
|
-
url?: string | undefined;
|
|
481
|
+
url?: string | undefined;
|
|
901
482
|
} | undefined;
|
|
902
483
|
children?: (string | undefined)[] | undefined;
|
|
903
484
|
openapi?: string | undefined;
|
|
@@ -942,33 +523,6 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
942
523
|
servers?: (string | undefined)[] | undefined;
|
|
943
524
|
requests?: (string | undefined)[] | undefined;
|
|
944
525
|
tags?: (string | undefined)[] | undefined;
|
|
945
|
-
auth?: Record<string | undefined, {
|
|
946
|
-
type?: "apiKey" | undefined;
|
|
947
|
-
value?: string | undefined;
|
|
948
|
-
name?: string | undefined;
|
|
949
|
-
} | {
|
|
950
|
-
type?: "http" | undefined;
|
|
951
|
-
username?: string | undefined;
|
|
952
|
-
password?: string | undefined;
|
|
953
|
-
token?: string | undefined;
|
|
954
|
-
} | {
|
|
955
|
-
type?: "oauth-implicit" | undefined;
|
|
956
|
-
token?: string | undefined;
|
|
957
|
-
} | {
|
|
958
|
-
type?: "oauth-password" | undefined;
|
|
959
|
-
username?: string | undefined;
|
|
960
|
-
password?: string | undefined;
|
|
961
|
-
token?: string | undefined;
|
|
962
|
-
clientSecret?: string | undefined;
|
|
963
|
-
} | {
|
|
964
|
-
type?: "oauth-clientCredentials" | undefined;
|
|
965
|
-
token?: string | undefined;
|
|
966
|
-
clientSecret?: string | undefined;
|
|
967
|
-
} | {
|
|
968
|
-
type?: "oauth-authorizationCode" | undefined;
|
|
969
|
-
token?: string | undefined;
|
|
970
|
-
clientSecret?: string | undefined;
|
|
971
|
-
}> | undefined;
|
|
972
526
|
documentUrl?: string | undefined;
|
|
973
527
|
watchMode?: boolean | undefined;
|
|
974
528
|
integration?: string | null | undefined;
|
|
@@ -1025,33 +579,6 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1025
579
|
servers?: (string | undefined)[] | undefined;
|
|
1026
580
|
requests?: (string | undefined)[] | undefined;
|
|
1027
581
|
tags?: (string | undefined)[] | undefined;
|
|
1028
|
-
auth?: Record<string | undefined, {
|
|
1029
|
-
type?: "apiKey" | undefined;
|
|
1030
|
-
value?: string | undefined;
|
|
1031
|
-
name?: string | undefined;
|
|
1032
|
-
} | {
|
|
1033
|
-
type?: "http" | undefined;
|
|
1034
|
-
username?: string | undefined;
|
|
1035
|
-
password?: string | undefined;
|
|
1036
|
-
token?: string | undefined;
|
|
1037
|
-
} | {
|
|
1038
|
-
type?: "oauth-implicit" | undefined;
|
|
1039
|
-
token?: string | undefined;
|
|
1040
|
-
} | {
|
|
1041
|
-
type?: "oauth-password" | undefined;
|
|
1042
|
-
username?: string | undefined;
|
|
1043
|
-
password?: string | undefined;
|
|
1044
|
-
token?: string | undefined;
|
|
1045
|
-
clientSecret?: string | undefined;
|
|
1046
|
-
} | {
|
|
1047
|
-
type?: "oauth-clientCredentials" | undefined;
|
|
1048
|
-
token?: string | undefined;
|
|
1049
|
-
clientSecret?: string | undefined;
|
|
1050
|
-
} | {
|
|
1051
|
-
type?: "oauth-authorizationCode" | undefined;
|
|
1052
|
-
token?: string | undefined;
|
|
1053
|
-
clientSecret?: string | undefined;
|
|
1054
|
-
}> | undefined;
|
|
1055
582
|
documentUrl?: string | undefined;
|
|
1056
583
|
watchMode?: boolean | undefined;
|
|
1057
584
|
integration?: string | null | undefined;
|
|
@@ -1071,33 +598,6 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1071
598
|
servers: string[];
|
|
1072
599
|
requests: string[];
|
|
1073
600
|
tags: string[];
|
|
1074
|
-
auth: Record<string, {
|
|
1075
|
-
type: "apiKey";
|
|
1076
|
-
value: string;
|
|
1077
|
-
name: string;
|
|
1078
|
-
} | {
|
|
1079
|
-
type: "http";
|
|
1080
|
-
username: string;
|
|
1081
|
-
password: string;
|
|
1082
|
-
token: string;
|
|
1083
|
-
} | {
|
|
1084
|
-
type: "oauth-implicit";
|
|
1085
|
-
token: string;
|
|
1086
|
-
} | {
|
|
1087
|
-
type: "oauth-password";
|
|
1088
|
-
username: string;
|
|
1089
|
-
password: string;
|
|
1090
|
-
token: string;
|
|
1091
|
-
clientSecret: string;
|
|
1092
|
-
} | {
|
|
1093
|
-
type: "oauth-clientCredentials";
|
|
1094
|
-
token: string;
|
|
1095
|
-
clientSecret: string;
|
|
1096
|
-
} | {
|
|
1097
|
-
type: "oauth-authorizationCode";
|
|
1098
|
-
token: string;
|
|
1099
|
-
clientSecret: string;
|
|
1100
|
-
}>;
|
|
1101
601
|
watchMode: boolean;
|
|
1102
602
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1103
603
|
externalDocs?: {
|
|
@@ -1168,7 +668,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1168
668
|
partitioned?: boolean | undefined;
|
|
1169
669
|
secure?: boolean | undefined;
|
|
1170
670
|
}) => void;
|
|
1171
|
-
edit: <P extends "name" | "
|
|
671
|
+
edit: <P extends "name" | "uid" | "path" | "value" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure">(uid: string, path: P, value: P extends "name" | "uid" | "path" | "value" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? {
|
|
1172
672
|
value: string;
|
|
1173
673
|
uid: string;
|
|
1174
674
|
name: string;
|
|
@@ -1180,7 +680,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1180
680
|
maxAge?: number | undefined;
|
|
1181
681
|
partitioned?: boolean | undefined;
|
|
1182
682
|
secure?: boolean | undefined;
|
|
1183
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "
|
|
683
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "path" | "value" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
1184
684
|
value: string;
|
|
1185
685
|
uid: string;
|
|
1186
686
|
name: string;
|
|
@@ -1205,7 +705,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1205
705
|
partitioned?: boolean | undefined;
|
|
1206
706
|
secure?: boolean | undefined;
|
|
1207
707
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1208
|
-
untrackedEdit: <P extends "name" | "
|
|
708
|
+
untrackedEdit: <P extends "name" | "uid" | "path" | "value" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure">(uid: string, path: P, value: P extends "name" | "uid" | "path" | "value" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? {
|
|
1209
709
|
value: string;
|
|
1210
710
|
uid: string;
|
|
1211
711
|
name: string;
|
|
@@ -1217,7 +717,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1217
717
|
maxAge?: number | undefined;
|
|
1218
718
|
partitioned?: boolean | undefined;
|
|
1219
719
|
secure?: boolean | undefined;
|
|
1220
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "
|
|
720
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "path" | "value" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
1221
721
|
value: string;
|
|
1222
722
|
uid: string;
|
|
1223
723
|
name: string;
|
|
@@ -1260,33 +760,6 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1260
760
|
servers: string[];
|
|
1261
761
|
requests: string[];
|
|
1262
762
|
tags: string[];
|
|
1263
|
-
auth: Record<string, {
|
|
1264
|
-
type: "apiKey";
|
|
1265
|
-
value: string;
|
|
1266
|
-
name: string;
|
|
1267
|
-
} | {
|
|
1268
|
-
type: "http";
|
|
1269
|
-
username: string;
|
|
1270
|
-
password: string;
|
|
1271
|
-
token: string;
|
|
1272
|
-
} | {
|
|
1273
|
-
type: "oauth-implicit";
|
|
1274
|
-
token: string;
|
|
1275
|
-
} | {
|
|
1276
|
-
type: "oauth-password";
|
|
1277
|
-
username: string;
|
|
1278
|
-
password: string;
|
|
1279
|
-
token: string;
|
|
1280
|
-
clientSecret: string;
|
|
1281
|
-
} | {
|
|
1282
|
-
type: "oauth-clientCredentials";
|
|
1283
|
-
token: string;
|
|
1284
|
-
clientSecret: string;
|
|
1285
|
-
} | {
|
|
1286
|
-
type: "oauth-authorizationCode";
|
|
1287
|
-
token: string;
|
|
1288
|
-
clientSecret: string;
|
|
1289
|
-
}>;
|
|
1290
763
|
watchMode: boolean;
|
|
1291
764
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1292
765
|
externalDocs?: {
|
|
@@ -1342,33 +815,6 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1342
815
|
servers: string[];
|
|
1343
816
|
requests: string[];
|
|
1344
817
|
tags: string[];
|
|
1345
|
-
auth: Record<string, {
|
|
1346
|
-
type: "apiKey";
|
|
1347
|
-
value: string;
|
|
1348
|
-
name: string;
|
|
1349
|
-
} | {
|
|
1350
|
-
type: "http";
|
|
1351
|
-
username: string;
|
|
1352
|
-
password: string;
|
|
1353
|
-
token: string;
|
|
1354
|
-
} | {
|
|
1355
|
-
type: "oauth-implicit";
|
|
1356
|
-
token: string;
|
|
1357
|
-
} | {
|
|
1358
|
-
type: "oauth-password";
|
|
1359
|
-
username: string;
|
|
1360
|
-
password: string;
|
|
1361
|
-
token: string;
|
|
1362
|
-
clientSecret: string;
|
|
1363
|
-
} | {
|
|
1364
|
-
type: "oauth-clientCredentials";
|
|
1365
|
-
token: string;
|
|
1366
|
-
clientSecret: string;
|
|
1367
|
-
} | {
|
|
1368
|
-
type: "oauth-authorizationCode";
|
|
1369
|
-
token: string;
|
|
1370
|
-
clientSecret: string;
|
|
1371
|
-
}>;
|
|
1372
818
|
watchMode: boolean;
|
|
1373
819
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1374
820
|
externalDocs?: {
|
|
@@ -1425,33 +871,6 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1425
871
|
servers: string[];
|
|
1426
872
|
requests: string[];
|
|
1427
873
|
tags: string[];
|
|
1428
|
-
auth: Record<string, {
|
|
1429
|
-
type: "apiKey";
|
|
1430
|
-
value: string;
|
|
1431
|
-
name: string;
|
|
1432
|
-
} | {
|
|
1433
|
-
type: "http";
|
|
1434
|
-
username: string;
|
|
1435
|
-
password: string;
|
|
1436
|
-
token: string;
|
|
1437
|
-
} | {
|
|
1438
|
-
type: "oauth-implicit";
|
|
1439
|
-
token: string;
|
|
1440
|
-
} | {
|
|
1441
|
-
type: "oauth-password";
|
|
1442
|
-
username: string;
|
|
1443
|
-
password: string;
|
|
1444
|
-
token: string;
|
|
1445
|
-
clientSecret: string;
|
|
1446
|
-
} | {
|
|
1447
|
-
type: "oauth-clientCredentials";
|
|
1448
|
-
token: string;
|
|
1449
|
-
clientSecret: string;
|
|
1450
|
-
} | {
|
|
1451
|
-
type: "oauth-authorizationCode";
|
|
1452
|
-
token: string;
|
|
1453
|
-
clientSecret: string;
|
|
1454
|
-
}>;
|
|
1455
874
|
watchMode: boolean;
|
|
1456
875
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1457
876
|
externalDocs?: {
|
|
@@ -1494,7 +913,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1494
913
|
documentUrl?: string | undefined;
|
|
1495
914
|
integration?: string | null | undefined;
|
|
1496
915
|
}) => void;
|
|
1497
|
-
edit: <P extends "
|
|
916
|
+
edit: <P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "children" | "info" | "servers" | "securitySchemes" | "selectedSecuritySchemeUids" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `servers.${number}` | `selectedSecuritySchemeUids.${number}` | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" | `requests.${number}` | `children.${number}` | "info.summary" | "info.description" | "info.title" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.url" | "info.contact.email" | "info.license.name" | "info.license.url" | "info.license.identifier" | `securitySchemes.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-environments.${string}` | `x-scalar-secrets.${string}`>(uid: string, path: P, value: P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "children" | "info" | "servers" | "securitySchemes" | "selectedSecuritySchemeUids" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? {
|
|
1498
917
|
type: "collection";
|
|
1499
918
|
uid: string;
|
|
1500
919
|
children: string[];
|
|
@@ -1507,33 +926,6 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1507
926
|
servers: string[];
|
|
1508
927
|
requests: string[];
|
|
1509
928
|
tags: string[];
|
|
1510
|
-
auth: Record<string, {
|
|
1511
|
-
type: "apiKey";
|
|
1512
|
-
value: string;
|
|
1513
|
-
name: string;
|
|
1514
|
-
} | {
|
|
1515
|
-
type: "http";
|
|
1516
|
-
username: string;
|
|
1517
|
-
password: string;
|
|
1518
|
-
token: string;
|
|
1519
|
-
} | {
|
|
1520
|
-
type: "oauth-implicit";
|
|
1521
|
-
token: string;
|
|
1522
|
-
} | {
|
|
1523
|
-
type: "oauth-password";
|
|
1524
|
-
username: string;
|
|
1525
|
-
password: string;
|
|
1526
|
-
token: string;
|
|
1527
|
-
clientSecret: string;
|
|
1528
|
-
} | {
|
|
1529
|
-
type: "oauth-clientCredentials";
|
|
1530
|
-
token: string;
|
|
1531
|
-
clientSecret: string;
|
|
1532
|
-
} | {
|
|
1533
|
-
type: "oauth-authorizationCode";
|
|
1534
|
-
token: string;
|
|
1535
|
-
clientSecret: string;
|
|
1536
|
-
}>;
|
|
1537
929
|
watchMode: boolean;
|
|
1538
930
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1539
931
|
externalDocs?: {
|
|
@@ -1575,7 +967,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1575
967
|
}> | undefined;
|
|
1576
968
|
documentUrl?: string | undefined;
|
|
1577
969
|
integration?: string | null | undefined;
|
|
1578
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
970
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "children" | "info" | "servers" | "securitySchemes" | "selectedSecuritySchemeUids" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
1579
971
|
type: "collection";
|
|
1580
972
|
uid: string;
|
|
1581
973
|
children: string[];
|
|
@@ -1588,33 +980,6 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1588
980
|
servers: string[];
|
|
1589
981
|
requests: string[];
|
|
1590
982
|
tags: string[];
|
|
1591
|
-
auth: Record<string, {
|
|
1592
|
-
type: "apiKey";
|
|
1593
|
-
value: string;
|
|
1594
|
-
name: string;
|
|
1595
|
-
} | {
|
|
1596
|
-
type: "http";
|
|
1597
|
-
username: string;
|
|
1598
|
-
password: string;
|
|
1599
|
-
token: string;
|
|
1600
|
-
} | {
|
|
1601
|
-
type: "oauth-implicit";
|
|
1602
|
-
token: string;
|
|
1603
|
-
} | {
|
|
1604
|
-
type: "oauth-password";
|
|
1605
|
-
username: string;
|
|
1606
|
-
password: string;
|
|
1607
|
-
token: string;
|
|
1608
|
-
clientSecret: string;
|
|
1609
|
-
} | {
|
|
1610
|
-
type: "oauth-clientCredentials";
|
|
1611
|
-
token: string;
|
|
1612
|
-
clientSecret: string;
|
|
1613
|
-
} | {
|
|
1614
|
-
type: "oauth-authorizationCode";
|
|
1615
|
-
token: string;
|
|
1616
|
-
clientSecret: string;
|
|
1617
|
-
}>;
|
|
1618
983
|
watchMode: boolean;
|
|
1619
984
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1620
985
|
externalDocs?: {
|
|
@@ -1669,33 +1034,6 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1669
1034
|
servers: string[];
|
|
1670
1035
|
requests: string[];
|
|
1671
1036
|
tags: string[];
|
|
1672
|
-
auth: Record<string, {
|
|
1673
|
-
type: "apiKey";
|
|
1674
|
-
value: string;
|
|
1675
|
-
name: string;
|
|
1676
|
-
} | {
|
|
1677
|
-
type: "http";
|
|
1678
|
-
username: string;
|
|
1679
|
-
password: string;
|
|
1680
|
-
token: string;
|
|
1681
|
-
} | {
|
|
1682
|
-
type: "oauth-implicit";
|
|
1683
|
-
token: string;
|
|
1684
|
-
} | {
|
|
1685
|
-
type: "oauth-password";
|
|
1686
|
-
username: string;
|
|
1687
|
-
password: string;
|
|
1688
|
-
token: string;
|
|
1689
|
-
clientSecret: string;
|
|
1690
|
-
} | {
|
|
1691
|
-
type: "oauth-clientCredentials";
|
|
1692
|
-
token: string;
|
|
1693
|
-
clientSecret: string;
|
|
1694
|
-
} | {
|
|
1695
|
-
type: "oauth-authorizationCode";
|
|
1696
|
-
token: string;
|
|
1697
|
-
clientSecret: string;
|
|
1698
|
-
}>;
|
|
1699
1037
|
watchMode: boolean;
|
|
1700
1038
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1701
1039
|
externalDocs?: {
|
|
@@ -1738,7 +1076,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1738
1076
|
documentUrl?: string | undefined;
|
|
1739
1077
|
integration?: string | null | undefined;
|
|
1740
1078
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1741
|
-
untrackedEdit: <P extends "
|
|
1079
|
+
untrackedEdit: <P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "children" | "info" | "servers" | "securitySchemes" | "selectedSecuritySchemeUids" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `servers.${number}` | `selectedSecuritySchemeUids.${number}` | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" | `requests.${number}` | `children.${number}` | "info.summary" | "info.description" | "info.title" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.url" | "info.contact.email" | "info.license.name" | "info.license.url" | "info.license.identifier" | `securitySchemes.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-environments.${string}` | `x-scalar-secrets.${string}`>(uid: string, path: P, value: P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "children" | "info" | "servers" | "securitySchemes" | "selectedSecuritySchemeUids" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? {
|
|
1742
1080
|
type: "collection";
|
|
1743
1081
|
uid: string;
|
|
1744
1082
|
children: string[];
|
|
@@ -1751,33 +1089,6 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1751
1089
|
servers: string[];
|
|
1752
1090
|
requests: string[];
|
|
1753
1091
|
tags: string[];
|
|
1754
|
-
auth: Record<string, {
|
|
1755
|
-
type: "apiKey";
|
|
1756
|
-
value: string;
|
|
1757
|
-
name: string;
|
|
1758
|
-
} | {
|
|
1759
|
-
type: "http";
|
|
1760
|
-
username: string;
|
|
1761
|
-
password: string;
|
|
1762
|
-
token: string;
|
|
1763
|
-
} | {
|
|
1764
|
-
type: "oauth-implicit";
|
|
1765
|
-
token: string;
|
|
1766
|
-
} | {
|
|
1767
|
-
type: "oauth-password";
|
|
1768
|
-
username: string;
|
|
1769
|
-
password: string;
|
|
1770
|
-
token: string;
|
|
1771
|
-
clientSecret: string;
|
|
1772
|
-
} | {
|
|
1773
|
-
type: "oauth-clientCredentials";
|
|
1774
|
-
token: string;
|
|
1775
|
-
clientSecret: string;
|
|
1776
|
-
} | {
|
|
1777
|
-
type: "oauth-authorizationCode";
|
|
1778
|
-
token: string;
|
|
1779
|
-
clientSecret: string;
|
|
1780
|
-
}>;
|
|
1781
1092
|
watchMode: boolean;
|
|
1782
1093
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1783
1094
|
externalDocs?: {
|
|
@@ -1819,7 +1130,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1819
1130
|
}> | undefined;
|
|
1820
1131
|
documentUrl?: string | undefined;
|
|
1821
1132
|
integration?: string | null | undefined;
|
|
1822
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
1133
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "children" | "info" | "servers" | "securitySchemes" | "selectedSecuritySchemeUids" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
1823
1134
|
type: "collection";
|
|
1824
1135
|
uid: string;
|
|
1825
1136
|
children: string[];
|
|
@@ -1832,33 +1143,6 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1832
1143
|
servers: string[];
|
|
1833
1144
|
requests: string[];
|
|
1834
1145
|
tags: string[];
|
|
1835
|
-
auth: Record<string, {
|
|
1836
|
-
type: "apiKey";
|
|
1837
|
-
value: string;
|
|
1838
|
-
name: string;
|
|
1839
|
-
} | {
|
|
1840
|
-
type: "http";
|
|
1841
|
-
username: string;
|
|
1842
|
-
password: string;
|
|
1843
|
-
token: string;
|
|
1844
|
-
} | {
|
|
1845
|
-
type: "oauth-implicit";
|
|
1846
|
-
token: string;
|
|
1847
|
-
} | {
|
|
1848
|
-
type: "oauth-password";
|
|
1849
|
-
username: string;
|
|
1850
|
-
password: string;
|
|
1851
|
-
token: string;
|
|
1852
|
-
clientSecret: string;
|
|
1853
|
-
} | {
|
|
1854
|
-
type: "oauth-clientCredentials";
|
|
1855
|
-
token: string;
|
|
1856
|
-
clientSecret: string;
|
|
1857
|
-
} | {
|
|
1858
|
-
type: "oauth-authorizationCode";
|
|
1859
|
-
token: string;
|
|
1860
|
-
clientSecret: string;
|
|
1861
|
-
}>;
|
|
1862
1146
|
watchMode: boolean;
|
|
1863
1147
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1864
1148
|
externalDocs?: {
|
|
@@ -1913,33 +1197,6 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
1913
1197
|
servers: string[];
|
|
1914
1198
|
requests: string[];
|
|
1915
1199
|
tags: string[];
|
|
1916
|
-
auth: Record<string, {
|
|
1917
|
-
type: "apiKey";
|
|
1918
|
-
value: string;
|
|
1919
|
-
name: string;
|
|
1920
|
-
} | {
|
|
1921
|
-
type: "http";
|
|
1922
|
-
username: string;
|
|
1923
|
-
password: string;
|
|
1924
|
-
token: string;
|
|
1925
|
-
} | {
|
|
1926
|
-
type: "oauth-implicit";
|
|
1927
|
-
token: string;
|
|
1928
|
-
} | {
|
|
1929
|
-
type: "oauth-password";
|
|
1930
|
-
username: string;
|
|
1931
|
-
password: string;
|
|
1932
|
-
token: string;
|
|
1933
|
-
clientSecret: string;
|
|
1934
|
-
} | {
|
|
1935
|
-
type: "oauth-clientCredentials";
|
|
1936
|
-
token: string;
|
|
1937
|
-
clientSecret: string;
|
|
1938
|
-
} | {
|
|
1939
|
-
type: "oauth-authorizationCode";
|
|
1940
|
-
token: string;
|
|
1941
|
-
clientSecret: string;
|
|
1942
|
-
}>;
|
|
1943
1200
|
watchMode: boolean;
|
|
1944
1201
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1945
1202
|
externalDocs?: {
|
|
@@ -2002,13 +1259,13 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2002
1259
|
color: string;
|
|
2003
1260
|
isDefault?: boolean | undefined;
|
|
2004
1261
|
}) => void;
|
|
2005
|
-
edit: <P extends "name" | "
|
|
1262
|
+
edit: <P extends "name" | "uid" | "value" | "color" | "isDefault">(uid: string, path: P, value: P extends "name" | "uid" | "value" | "color" | "isDefault" ? {
|
|
2006
1263
|
value: string;
|
|
2007
1264
|
uid: string;
|
|
2008
1265
|
name: string;
|
|
2009
1266
|
color: string;
|
|
2010
1267
|
isDefault?: boolean | undefined;
|
|
2011
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "
|
|
1268
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "value" | "color" | "isDefault" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2012
1269
|
value: string;
|
|
2013
1270
|
uid: string;
|
|
2014
1271
|
name: string;
|
|
@@ -2021,13 +1278,13 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2021
1278
|
color: string;
|
|
2022
1279
|
isDefault?: boolean | undefined;
|
|
2023
1280
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2024
|
-
untrackedEdit: <P extends "name" | "
|
|
1281
|
+
untrackedEdit: <P extends "name" | "uid" | "value" | "color" | "isDefault">(uid: string, path: P, value: P extends "name" | "uid" | "value" | "color" | "isDefault" ? {
|
|
2025
1282
|
value: string;
|
|
2026
1283
|
uid: string;
|
|
2027
1284
|
name: string;
|
|
2028
1285
|
color: string;
|
|
2029
1286
|
isDefault?: boolean | undefined;
|
|
2030
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "
|
|
1287
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "value" | "color" | "isDefault" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2031
1288
|
value: string;
|
|
2032
1289
|
uid: string;
|
|
2033
1290
|
name: string;
|
|
@@ -2053,7 +1310,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2053
1310
|
selectedServerUid: string;
|
|
2054
1311
|
servers: string[];
|
|
2055
1312
|
examples: string[];
|
|
2056
|
-
method: "options" | "
|
|
1313
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2057
1314
|
description?: string | undefined;
|
|
2058
1315
|
summary?: string | undefined;
|
|
2059
1316
|
externalDocs?: {
|
|
@@ -2090,7 +1347,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2090
1347
|
selectedServerUid: string;
|
|
2091
1348
|
servers: string[];
|
|
2092
1349
|
examples: string[];
|
|
2093
|
-
method: "options" | "
|
|
1350
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2094
1351
|
description?: string | undefined;
|
|
2095
1352
|
summary?: string | undefined;
|
|
2096
1353
|
externalDocs?: {
|
|
@@ -2128,7 +1385,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2128
1385
|
selectedServerUid: string;
|
|
2129
1386
|
servers: string[];
|
|
2130
1387
|
examples: string[];
|
|
2131
|
-
method: "options" | "
|
|
1388
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2132
1389
|
description?: string | undefined;
|
|
2133
1390
|
summary?: string | undefined;
|
|
2134
1391
|
externalDocs?: {
|
|
@@ -2157,7 +1414,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2157
1414
|
requestBody?: any;
|
|
2158
1415
|
responses?: Record<string, any> | undefined;
|
|
2159
1416
|
}) => void;
|
|
2160
|
-
edit: <P extends "
|
|
1417
|
+
edit: <P extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "type" | "uid" | "method" | "path" | "servers" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | `requestBody.${string}` | `parameters.${number}` | `parameters.${number}.description` | `parameters.${number}.required` | `parameters.${number}.deprecated` | `parameters.${number}.name` | `parameters.${number}.in` | `parameters.${number}.style` | `parameters.${number}.example` | `parameters.${number}.examples` | `parameters.${number}.content` | `parameters.${number}.schema` | `parameters.${number}.examples.${string}` | "externalDocs.description" | "externalDocs.url" | `responses.${string}` | `servers.${number}` | `selectedSecuritySchemeUids.${number}` | `examples.${number}`>(uid: string, path: P, value: P extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "type" | "uid" | "method" | "path" | "servers" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" ? {
|
|
2161
1418
|
path: string;
|
|
2162
1419
|
type: "request";
|
|
2163
1420
|
uid: string;
|
|
@@ -2165,7 +1422,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2165
1422
|
selectedServerUid: string;
|
|
2166
1423
|
servers: string[];
|
|
2167
1424
|
examples: string[];
|
|
2168
|
-
method: "options" | "
|
|
1425
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2169
1426
|
description?: string | undefined;
|
|
2170
1427
|
summary?: string | undefined;
|
|
2171
1428
|
externalDocs?: {
|
|
@@ -2193,7 +1450,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2193
1450
|
}[] | undefined;
|
|
2194
1451
|
requestBody?: any;
|
|
2195
1452
|
responses?: Record<string, any> | undefined;
|
|
2196
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
1453
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "type" | "uid" | "method" | "path" | "servers" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2197
1454
|
path: string;
|
|
2198
1455
|
type: "request";
|
|
2199
1456
|
uid: string;
|
|
@@ -2201,7 +1458,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2201
1458
|
selectedServerUid: string;
|
|
2202
1459
|
servers: string[];
|
|
2203
1460
|
examples: string[];
|
|
2204
|
-
method: "options" | "
|
|
1461
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2205
1462
|
description?: string | undefined;
|
|
2206
1463
|
summary?: string | undefined;
|
|
2207
1464
|
externalDocs?: {
|
|
@@ -2237,7 +1494,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2237
1494
|
selectedServerUid: string;
|
|
2238
1495
|
servers: string[];
|
|
2239
1496
|
examples: string[];
|
|
2240
|
-
method: "options" | "
|
|
1497
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2241
1498
|
description?: string | undefined;
|
|
2242
1499
|
summary?: string | undefined;
|
|
2243
1500
|
externalDocs?: {
|
|
@@ -2266,7 +1523,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2266
1523
|
requestBody?: any;
|
|
2267
1524
|
responses?: Record<string, any> | undefined;
|
|
2268
1525
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2269
|
-
untrackedEdit: <P extends "
|
|
1526
|
+
untrackedEdit: <P extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "type" | "uid" | "method" | "path" | "servers" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | `requestBody.${string}` | `parameters.${number}` | `parameters.${number}.description` | `parameters.${number}.required` | `parameters.${number}.deprecated` | `parameters.${number}.name` | `parameters.${number}.in` | `parameters.${number}.style` | `parameters.${number}.example` | `parameters.${number}.examples` | `parameters.${number}.content` | `parameters.${number}.schema` | `parameters.${number}.examples.${string}` | "externalDocs.description" | "externalDocs.url" | `responses.${string}` | `servers.${number}` | `selectedSecuritySchemeUids.${number}` | `examples.${number}`>(uid: string, path: P, value: P extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "type" | "uid" | "method" | "path" | "servers" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" ? {
|
|
2270
1527
|
path: string;
|
|
2271
1528
|
type: "request";
|
|
2272
1529
|
uid: string;
|
|
@@ -2274,7 +1531,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2274
1531
|
selectedServerUid: string;
|
|
2275
1532
|
servers: string[];
|
|
2276
1533
|
examples: string[];
|
|
2277
|
-
method: "options" | "
|
|
1534
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2278
1535
|
description?: string | undefined;
|
|
2279
1536
|
summary?: string | undefined;
|
|
2280
1537
|
externalDocs?: {
|
|
@@ -2302,7 +1559,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2302
1559
|
}[] | undefined;
|
|
2303
1560
|
requestBody?: any;
|
|
2304
1561
|
responses?: Record<string, any> | undefined;
|
|
2305
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
1562
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "type" | "uid" | "method" | "path" | "servers" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2306
1563
|
path: string;
|
|
2307
1564
|
type: "request";
|
|
2308
1565
|
uid: string;
|
|
@@ -2310,7 +1567,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2310
1567
|
selectedServerUid: string;
|
|
2311
1568
|
servers: string[];
|
|
2312
1569
|
examples: string[];
|
|
2313
|
-
method: "options" | "
|
|
1570
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2314
1571
|
description?: string | undefined;
|
|
2315
1572
|
summary?: string | undefined;
|
|
2316
1573
|
externalDocs?: {
|
|
@@ -2346,7 +1603,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2346
1603
|
selectedServerUid: string;
|
|
2347
1604
|
servers: string[];
|
|
2348
1605
|
examples: string[];
|
|
2349
|
-
method: "options" | "
|
|
1606
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2350
1607
|
description?: string | undefined;
|
|
2351
1608
|
summary?: string | undefined;
|
|
2352
1609
|
externalDocs?: {
|
|
@@ -2667,7 +1924,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2667
1924
|
};
|
|
2668
1925
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2669
1926
|
}) => void;
|
|
2670
|
-
edit: <P extends "
|
|
1927
|
+
edit: <P extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" | "body.binary" | "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}.value` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.enum.${number}` | `parameters.cookies.${number}.file.${string}` | `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}.value` | `parameters.path.${number}.enum` | `parameters.path.${number}.file` | `parameters.path.${number}.nullable` | `parameters.path.${number}.enabled` | `parameters.path.${number}.minimum` | `parameters.path.${number}.maximum` | `parameters.path.${number}.format` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.enum.${number}` | `parameters.path.${number}.file.${string}` | `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}.value` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.file` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.format` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.enum.${number}` | `parameters.headers.${number}.file.${string}` | `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}.value` | `parameters.query.${number}.enum` | `parameters.query.${number}.file` | `parameters.query.${number}.nullable` | `parameters.query.${number}.enabled` | `parameters.query.${number}.minimum` | `parameters.query.${number}.maximum` | `parameters.query.${number}.format` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.enum.${number}` | `parameters.query.${number}.file.${string}` | "body.raw" | "body.formData" | "body.activeBody" | "body.raw.value" | "body.raw.encoding" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.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}.value` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.file` | `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}.default.${string}` | `body.formData.value.${number}.enum.${number}` | `body.formData.value.${number}.file.${string}` | "body.binary.type" | "body.binary.size" | "body.binary.slice" | "body.binary.text" | "body.binary.arrayBuffer" | "body.binary.stream" | `serverVariables.${string}`>(uid: string, path: P, value: P extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" ? {
|
|
2671
1928
|
type: "requestExample";
|
|
2672
1929
|
uid: string;
|
|
2673
1930
|
name: string;
|
|
@@ -2761,7 +2018,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2761
2018
|
}[];
|
|
2762
2019
|
};
|
|
2763
2020
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2764
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
2021
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2765
2022
|
type: "requestExample";
|
|
2766
2023
|
uid: string;
|
|
2767
2024
|
name: string;
|
|
@@ -2950,7 +2207,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
2950
2207
|
};
|
|
2951
2208
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2952
2209
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2953
|
-
untrackedEdit: <P extends "
|
|
2210
|
+
untrackedEdit: <P extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" | "body.binary" | "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}.value` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.enum.${number}` | `parameters.cookies.${number}.file.${string}` | `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}.value` | `parameters.path.${number}.enum` | `parameters.path.${number}.file` | `parameters.path.${number}.nullable` | `parameters.path.${number}.enabled` | `parameters.path.${number}.minimum` | `parameters.path.${number}.maximum` | `parameters.path.${number}.format` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.enum.${number}` | `parameters.path.${number}.file.${string}` | `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}.value` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.file` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.format` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.enum.${number}` | `parameters.headers.${number}.file.${string}` | `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}.value` | `parameters.query.${number}.enum` | `parameters.query.${number}.file` | `parameters.query.${number}.nullable` | `parameters.query.${number}.enabled` | `parameters.query.${number}.minimum` | `parameters.query.${number}.maximum` | `parameters.query.${number}.format` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.enum.${number}` | `parameters.query.${number}.file.${string}` | "body.raw" | "body.formData" | "body.activeBody" | "body.raw.value" | "body.raw.encoding" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.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}.value` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.file` | `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}.default.${string}` | `body.formData.value.${number}.enum.${number}` | `body.formData.value.${number}.file.${string}` | "body.binary.type" | "body.binary.size" | "body.binary.slice" | "body.binary.text" | "body.binary.arrayBuffer" | "body.binary.stream" | `serverVariables.${string}`>(uid: string, path: P, value: P extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" ? {
|
|
2954
2211
|
type: "requestExample";
|
|
2955
2212
|
uid: string;
|
|
2956
2213
|
name: string;
|
|
@@ -3044,7 +2301,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3044
2301
|
}[];
|
|
3045
2302
|
};
|
|
3046
2303
|
serverVariables?: Record<string, string[]> | undefined;
|
|
3047
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
2304
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3048
2305
|
type: "requestExample";
|
|
3049
2306
|
uid: string;
|
|
3050
2307
|
name: string;
|
|
@@ -3241,10 +2498,11 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3241
2498
|
securitySchemeMutators: {
|
|
3242
2499
|
rawAdd: (item: {
|
|
3243
2500
|
type: "apiKey";
|
|
2501
|
+
value: string;
|
|
3244
2502
|
uid: string;
|
|
3245
2503
|
name: string;
|
|
3246
|
-
in: "query" | "header" | "cookie";
|
|
3247
2504
|
nameKey: string;
|
|
2505
|
+
in: "query" | "header" | "cookie";
|
|
3248
2506
|
description?: string | undefined;
|
|
3249
2507
|
} | {
|
|
3250
2508
|
type: "http";
|
|
@@ -3252,55 +2510,76 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3252
2510
|
nameKey: string;
|
|
3253
2511
|
scheme: "basic" | "bearer";
|
|
3254
2512
|
bearerFormat: string;
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
2513
|
+
username: string;
|
|
2514
|
+
password: string;
|
|
2515
|
+
token: string;
|
|
2516
|
+
description?: string | undefined;
|
|
2517
|
+
} | {
|
|
2518
|
+
type: "openIdConnect";
|
|
2519
|
+
uid: string;
|
|
2520
|
+
nameKey: string;
|
|
2521
|
+
openIdConnectUrl: string;
|
|
2522
|
+
description?: string | undefined;
|
|
2523
|
+
} | {
|
|
2524
|
+
type: "oauth2";
|
|
2525
|
+
uid: string;
|
|
2526
|
+
nameKey: string;
|
|
2527
|
+
flows: {
|
|
2528
|
+
password?: {
|
|
2529
|
+
type: "password";
|
|
2530
|
+
username: string;
|
|
2531
|
+
password: string;
|
|
2532
|
+
token: string;
|
|
2533
|
+
refreshUrl: string;
|
|
2534
|
+
scopes: Record<string, string>;
|
|
2535
|
+
selectedScopes: string[];
|
|
2536
|
+
"x-scalar-client-id": string;
|
|
2537
|
+
tokenUrl: string;
|
|
2538
|
+
clientSecret: string;
|
|
2539
|
+
} | undefined;
|
|
2540
|
+
implicit?: {
|
|
2541
|
+
type: "implicit";
|
|
2542
|
+
token: string;
|
|
2543
|
+
refreshUrl: string;
|
|
2544
|
+
scopes: Record<string, string>;
|
|
2545
|
+
selectedScopes: string[];
|
|
2546
|
+
"x-scalar-client-id": string;
|
|
2547
|
+
authorizationUrl: string;
|
|
2548
|
+
"x-scalar-redirect-uri": string;
|
|
2549
|
+
} | undefined;
|
|
2550
|
+
clientCredentials?: {
|
|
2551
|
+
type: "clientCredentials";
|
|
2552
|
+
token: string;
|
|
2553
|
+
refreshUrl: string;
|
|
2554
|
+
scopes: Record<string, string>;
|
|
2555
|
+
selectedScopes: string[];
|
|
2556
|
+
"x-scalar-client-id": string;
|
|
2557
|
+
tokenUrl: string;
|
|
2558
|
+
clientSecret: string;
|
|
2559
|
+
} | undefined;
|
|
2560
|
+
authorizationCode?: {
|
|
2561
|
+
type: "authorizationCode";
|
|
2562
|
+
token: string;
|
|
2563
|
+
refreshUrl: string;
|
|
2564
|
+
scopes: Record<string, string>;
|
|
2565
|
+
selectedScopes: string[];
|
|
2566
|
+
"x-scalar-client-id": string;
|
|
2567
|
+
authorizationUrl: string;
|
|
2568
|
+
"x-scalar-redirect-uri": string;
|
|
2569
|
+
tokenUrl: string;
|
|
2570
|
+
clientSecret: string;
|
|
2571
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
2572
|
+
} | undefined;
|
|
3294
2573
|
};
|
|
3295
|
-
'x-scalar-client-id': string;
|
|
3296
2574
|
description?: string | undefined;
|
|
3297
2575
|
}) => void;
|
|
3298
2576
|
add: (payload: import("@scalar/oas-utils/entities/spec").SecuritySchemePayload, collectionUid: string) => {
|
|
3299
2577
|
type: "apiKey";
|
|
2578
|
+
value: string;
|
|
3300
2579
|
uid: string;
|
|
3301
2580
|
name: string;
|
|
3302
|
-
in: "query" | "header" | "cookie";
|
|
3303
2581
|
nameKey: string;
|
|
2582
|
+
in: "query" | "header" | "cookie";
|
|
3304
2583
|
description?: string | undefined;
|
|
3305
2584
|
} | {
|
|
3306
2585
|
type: "http";
|
|
@@ -3308,6 +2587,9 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3308
2587
|
nameKey: string;
|
|
3309
2588
|
scheme: "basic" | "bearer";
|
|
3310
2589
|
bearerFormat: string;
|
|
2590
|
+
username: string;
|
|
2591
|
+
password: string;
|
|
2592
|
+
token: string;
|
|
3311
2593
|
description?: string | undefined;
|
|
3312
2594
|
} | {
|
|
3313
2595
|
type: "openIdConnect";
|
|
@@ -3319,45 +2601,63 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3319
2601
|
type: "oauth2";
|
|
3320
2602
|
uid: string;
|
|
3321
2603
|
nameKey: string;
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
2604
|
+
flows: {
|
|
2605
|
+
password?: {
|
|
2606
|
+
type: "password";
|
|
2607
|
+
username: string;
|
|
2608
|
+
password: string;
|
|
2609
|
+
token: string;
|
|
2610
|
+
refreshUrl: string;
|
|
2611
|
+
scopes: Record<string, string>;
|
|
2612
|
+
selectedScopes: string[];
|
|
2613
|
+
"x-scalar-client-id": string;
|
|
2614
|
+
tokenUrl: string;
|
|
2615
|
+
clientSecret: string;
|
|
2616
|
+
} | undefined;
|
|
2617
|
+
implicit?: {
|
|
2618
|
+
type: "implicit";
|
|
2619
|
+
token: string;
|
|
2620
|
+
refreshUrl: string;
|
|
2621
|
+
scopes: Record<string, string>;
|
|
2622
|
+
selectedScopes: string[];
|
|
2623
|
+
"x-scalar-client-id": string;
|
|
2624
|
+
authorizationUrl: string;
|
|
2625
|
+
"x-scalar-redirect-uri": string;
|
|
2626
|
+
} | undefined;
|
|
2627
|
+
clientCredentials?: {
|
|
2628
|
+
type: "clientCredentials";
|
|
2629
|
+
token: string;
|
|
2630
|
+
refreshUrl: string;
|
|
2631
|
+
scopes: Record<string, string>;
|
|
2632
|
+
selectedScopes: string[];
|
|
2633
|
+
"x-scalar-client-id": string;
|
|
2634
|
+
tokenUrl: string;
|
|
2635
|
+
clientSecret: string;
|
|
2636
|
+
} | undefined;
|
|
2637
|
+
authorizationCode?: {
|
|
2638
|
+
type: "authorizationCode";
|
|
2639
|
+
token: string;
|
|
2640
|
+
refreshUrl: string;
|
|
2641
|
+
scopes: Record<string, string>;
|
|
2642
|
+
selectedScopes: string[];
|
|
2643
|
+
"x-scalar-client-id": string;
|
|
2644
|
+
authorizationUrl: string;
|
|
2645
|
+
"x-scalar-redirect-uri": string;
|
|
2646
|
+
tokenUrl: string;
|
|
2647
|
+
clientSecret: string;
|
|
2648
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
2649
|
+
} | undefined;
|
|
3350
2650
|
};
|
|
3351
|
-
'x-scalar-client-id': string;
|
|
3352
2651
|
description?: string | undefined;
|
|
3353
|
-
}
|
|
2652
|
+
};
|
|
3354
2653
|
delete: (schemeUid: string) => void;
|
|
3355
2654
|
set: (item: {
|
|
3356
2655
|
type: "apiKey";
|
|
2656
|
+
value: string;
|
|
3357
2657
|
uid: string;
|
|
3358
2658
|
name: string;
|
|
3359
|
-
in: "query" | "header" | "cookie";
|
|
3360
2659
|
nameKey: string;
|
|
2660
|
+
in: "query" | "header" | "cookie";
|
|
3361
2661
|
description?: string | undefined;
|
|
3362
2662
|
} | {
|
|
3363
2663
|
type: "http";
|
|
@@ -3365,6 +2665,9 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3365
2665
|
nameKey: string;
|
|
3366
2666
|
scheme: "basic" | "bearer";
|
|
3367
2667
|
bearerFormat: string;
|
|
2668
|
+
username: string;
|
|
2669
|
+
password: string;
|
|
2670
|
+
token: string;
|
|
3368
2671
|
description?: string | undefined;
|
|
3369
2672
|
} | {
|
|
3370
2673
|
type: "openIdConnect";
|
|
@@ -3376,72 +2679,98 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3376
2679
|
type: "oauth2";
|
|
3377
2680
|
uid: string;
|
|
3378
2681
|
nameKey: string;
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
2682
|
+
flows: {
|
|
2683
|
+
password?: {
|
|
2684
|
+
type: "password";
|
|
2685
|
+
username: string;
|
|
2686
|
+
password: string;
|
|
2687
|
+
token: string;
|
|
2688
|
+
refreshUrl: string;
|
|
2689
|
+
scopes: Record<string, string>;
|
|
2690
|
+
selectedScopes: string[];
|
|
2691
|
+
"x-scalar-client-id": string;
|
|
2692
|
+
tokenUrl: string;
|
|
2693
|
+
clientSecret: string;
|
|
2694
|
+
} | undefined;
|
|
2695
|
+
implicit?: {
|
|
2696
|
+
type: "implicit";
|
|
2697
|
+
token: string;
|
|
2698
|
+
refreshUrl: string;
|
|
2699
|
+
scopes: Record<string, string>;
|
|
2700
|
+
selectedScopes: string[];
|
|
2701
|
+
"x-scalar-client-id": string;
|
|
2702
|
+
authorizationUrl: string;
|
|
2703
|
+
"x-scalar-redirect-uri": string;
|
|
2704
|
+
} | undefined;
|
|
2705
|
+
clientCredentials?: {
|
|
2706
|
+
type: "clientCredentials";
|
|
2707
|
+
token: string;
|
|
2708
|
+
refreshUrl: string;
|
|
2709
|
+
scopes: Record<string, string>;
|
|
2710
|
+
selectedScopes: string[];
|
|
2711
|
+
"x-scalar-client-id": string;
|
|
2712
|
+
tokenUrl: string;
|
|
2713
|
+
clientSecret: string;
|
|
2714
|
+
} | undefined;
|
|
2715
|
+
authorizationCode?: {
|
|
2716
|
+
type: "authorizationCode";
|
|
2717
|
+
token: string;
|
|
2718
|
+
refreshUrl: string;
|
|
2719
|
+
scopes: Record<string, string>;
|
|
2720
|
+
selectedScopes: string[];
|
|
2721
|
+
"x-scalar-client-id": string;
|
|
2722
|
+
authorizationUrl: string;
|
|
2723
|
+
"x-scalar-redirect-uri": string;
|
|
2724
|
+
tokenUrl: string;
|
|
2725
|
+
clientSecret: string;
|
|
2726
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
2727
|
+
} | undefined;
|
|
3407
2728
|
};
|
|
3408
|
-
'x-scalar-client-id': string;
|
|
3409
2729
|
description?: string | undefined;
|
|
3410
2730
|
}) => void;
|
|
3411
|
-
edit: <P extends "
|
|
2731
|
+
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" ? {
|
|
3412
2732
|
type: "apiKey";
|
|
2733
|
+
value: string;
|
|
3413
2734
|
uid: string;
|
|
3414
2735
|
name: string;
|
|
3415
|
-
in: "query" | "header" | "cookie";
|
|
3416
2736
|
nameKey: string;
|
|
2737
|
+
in: "query" | "header" | "cookie";
|
|
3417
2738
|
description?: string | undefined;
|
|
3418
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
2739
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "value" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3419
2740
|
type: "apiKey";
|
|
2741
|
+
value: string;
|
|
3420
2742
|
uid: string;
|
|
3421
2743
|
name: string;
|
|
3422
|
-
in: "query" | "header" | "cookie";
|
|
3423
2744
|
nameKey: string;
|
|
2745
|
+
in: "query" | "header" | "cookie";
|
|
3424
2746
|
description?: string | undefined;
|
|
3425
2747
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3426
2748
|
type: "apiKey";
|
|
2749
|
+
value: string;
|
|
3427
2750
|
uid: string;
|
|
3428
2751
|
name: string;
|
|
3429
|
-
in: "query" | "header" | "cookie";
|
|
3430
2752
|
nameKey: string;
|
|
2753
|
+
in: "query" | "header" | "cookie";
|
|
3431
2754
|
description?: string | undefined;
|
|
3432
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "type" | "
|
|
2755
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "token" | "username" ? {
|
|
3433
2756
|
type: "http";
|
|
3434
2757
|
uid: string;
|
|
3435
2758
|
nameKey: string;
|
|
3436
2759
|
scheme: "basic" | "bearer";
|
|
3437
2760
|
bearerFormat: string;
|
|
2761
|
+
username: string;
|
|
2762
|
+
password: string;
|
|
2763
|
+
token: string;
|
|
3438
2764
|
description?: string | undefined;
|
|
3439
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "
|
|
2765
|
+
}[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<{
|
|
3440
2766
|
type: "http";
|
|
3441
2767
|
uid: string;
|
|
3442
2768
|
nameKey: string;
|
|
3443
2769
|
scheme: "basic" | "bearer";
|
|
3444
2770
|
bearerFormat: string;
|
|
2771
|
+
username: string;
|
|
2772
|
+
password: string;
|
|
2773
|
+
token: string;
|
|
3445
2774
|
description?: string | undefined;
|
|
3446
2775
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3447
2776
|
type: "http";
|
|
@@ -3449,14 +2778,17 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3449
2778
|
nameKey: string;
|
|
3450
2779
|
scheme: "basic" | "bearer";
|
|
3451
2780
|
bearerFormat: string;
|
|
2781
|
+
username: string;
|
|
2782
|
+
password: string;
|
|
2783
|
+
token: string;
|
|
3452
2784
|
description?: string | undefined;
|
|
3453
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "
|
|
2785
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? {
|
|
3454
2786
|
type: "openIdConnect";
|
|
3455
2787
|
uid: string;
|
|
3456
2788
|
nameKey: string;
|
|
3457
2789
|
openIdConnectUrl: string;
|
|
3458
2790
|
description?: string | undefined;
|
|
3459
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
2791
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3460
2792
|
type: "openIdConnect";
|
|
3461
2793
|
uid: string;
|
|
3462
2794
|
nameKey: string;
|
|
@@ -3468,146 +2800,206 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3468
2800
|
nameKey: string;
|
|
3469
2801
|
openIdConnectUrl: string;
|
|
3470
2802
|
description?: string | undefined;
|
|
3471
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "
|
|
2803
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
|
|
3472
2804
|
type: "oauth2";
|
|
3473
2805
|
uid: string;
|
|
3474
2806
|
nameKey: string;
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
2807
|
+
flows: {
|
|
2808
|
+
password?: {
|
|
2809
|
+
type: "password";
|
|
2810
|
+
username: string;
|
|
2811
|
+
password: string;
|
|
2812
|
+
token: string;
|
|
2813
|
+
refreshUrl: string;
|
|
2814
|
+
scopes: Record<string, string>;
|
|
2815
|
+
selectedScopes: string[];
|
|
2816
|
+
"x-scalar-client-id": string;
|
|
2817
|
+
tokenUrl: string;
|
|
2818
|
+
clientSecret: string;
|
|
2819
|
+
} | undefined;
|
|
2820
|
+
implicit?: {
|
|
2821
|
+
type: "implicit";
|
|
2822
|
+
token: string;
|
|
2823
|
+
refreshUrl: string;
|
|
2824
|
+
scopes: Record<string, string>;
|
|
2825
|
+
selectedScopes: string[];
|
|
2826
|
+
"x-scalar-client-id": string;
|
|
2827
|
+
authorizationUrl: string;
|
|
2828
|
+
"x-scalar-redirect-uri": string;
|
|
2829
|
+
} | undefined;
|
|
2830
|
+
clientCredentials?: {
|
|
2831
|
+
type: "clientCredentials";
|
|
2832
|
+
token: string;
|
|
2833
|
+
refreshUrl: string;
|
|
2834
|
+
scopes: Record<string, string>;
|
|
2835
|
+
selectedScopes: string[];
|
|
2836
|
+
"x-scalar-client-id": string;
|
|
2837
|
+
tokenUrl: string;
|
|
2838
|
+
clientSecret: string;
|
|
2839
|
+
} | undefined;
|
|
2840
|
+
authorizationCode?: {
|
|
2841
|
+
type: "authorizationCode";
|
|
2842
|
+
token: string;
|
|
2843
|
+
refreshUrl: string;
|
|
2844
|
+
scopes: Record<string, string>;
|
|
2845
|
+
selectedScopes: string[];
|
|
2846
|
+
"x-scalar-client-id": string;
|
|
2847
|
+
authorizationUrl: string;
|
|
2848
|
+
"x-scalar-redirect-uri": string;
|
|
2849
|
+
tokenUrl: string;
|
|
2850
|
+
clientSecret: string;
|
|
2851
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
2852
|
+
} | undefined;
|
|
3503
2853
|
};
|
|
3504
|
-
'x-scalar-client-id': string;
|
|
3505
2854
|
description?: string | undefined;
|
|
3506
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
2855
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "flows" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3507
2856
|
type: "oauth2";
|
|
3508
2857
|
uid: string;
|
|
3509
2858
|
nameKey: string;
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
2859
|
+
flows: {
|
|
2860
|
+
password?: {
|
|
2861
|
+
type: "password";
|
|
2862
|
+
username: string;
|
|
2863
|
+
password: string;
|
|
2864
|
+
token: string;
|
|
2865
|
+
refreshUrl: string;
|
|
2866
|
+
scopes: Record<string, string>;
|
|
2867
|
+
selectedScopes: string[];
|
|
2868
|
+
"x-scalar-client-id": string;
|
|
2869
|
+
tokenUrl: string;
|
|
2870
|
+
clientSecret: string;
|
|
2871
|
+
} | undefined;
|
|
2872
|
+
implicit?: {
|
|
2873
|
+
type: "implicit";
|
|
2874
|
+
token: string;
|
|
2875
|
+
refreshUrl: string;
|
|
2876
|
+
scopes: Record<string, string>;
|
|
2877
|
+
selectedScopes: string[];
|
|
2878
|
+
"x-scalar-client-id": string;
|
|
2879
|
+
authorizationUrl: string;
|
|
2880
|
+
"x-scalar-redirect-uri": string;
|
|
2881
|
+
} | undefined;
|
|
2882
|
+
clientCredentials?: {
|
|
2883
|
+
type: "clientCredentials";
|
|
2884
|
+
token: string;
|
|
2885
|
+
refreshUrl: string;
|
|
2886
|
+
scopes: Record<string, string>;
|
|
2887
|
+
selectedScopes: string[];
|
|
2888
|
+
"x-scalar-client-id": string;
|
|
2889
|
+
tokenUrl: string;
|
|
2890
|
+
clientSecret: string;
|
|
2891
|
+
} | undefined;
|
|
2892
|
+
authorizationCode?: {
|
|
2893
|
+
type: "authorizationCode";
|
|
2894
|
+
token: string;
|
|
2895
|
+
refreshUrl: string;
|
|
2896
|
+
scopes: Record<string, string>;
|
|
2897
|
+
selectedScopes: string[];
|
|
2898
|
+
"x-scalar-client-id": string;
|
|
2899
|
+
authorizationUrl: string;
|
|
2900
|
+
"x-scalar-redirect-uri": string;
|
|
2901
|
+
tokenUrl: string;
|
|
2902
|
+
clientSecret: string;
|
|
2903
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
2904
|
+
} | undefined;
|
|
3538
2905
|
};
|
|
3539
|
-
'x-scalar-client-id': string;
|
|
3540
2906
|
description?: string | undefined;
|
|
3541
2907
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3542
2908
|
type: "oauth2";
|
|
3543
2909
|
uid: string;
|
|
3544
2910
|
nameKey: string;
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
2911
|
+
flows: {
|
|
2912
|
+
password?: {
|
|
2913
|
+
type: "password";
|
|
2914
|
+
username: string;
|
|
2915
|
+
password: string;
|
|
2916
|
+
token: string;
|
|
2917
|
+
refreshUrl: string;
|
|
2918
|
+
scopes: Record<string, string>;
|
|
2919
|
+
selectedScopes: string[];
|
|
2920
|
+
"x-scalar-client-id": string;
|
|
2921
|
+
tokenUrl: string;
|
|
2922
|
+
clientSecret: string;
|
|
2923
|
+
} | undefined;
|
|
2924
|
+
implicit?: {
|
|
2925
|
+
type: "implicit";
|
|
2926
|
+
token: string;
|
|
2927
|
+
refreshUrl: string;
|
|
2928
|
+
scopes: Record<string, string>;
|
|
2929
|
+
selectedScopes: string[];
|
|
2930
|
+
"x-scalar-client-id": string;
|
|
2931
|
+
authorizationUrl: string;
|
|
2932
|
+
"x-scalar-redirect-uri": string;
|
|
2933
|
+
} | undefined;
|
|
2934
|
+
clientCredentials?: {
|
|
2935
|
+
type: "clientCredentials";
|
|
2936
|
+
token: string;
|
|
2937
|
+
refreshUrl: string;
|
|
2938
|
+
scopes: Record<string, string>;
|
|
2939
|
+
selectedScopes: string[];
|
|
2940
|
+
"x-scalar-client-id": string;
|
|
2941
|
+
tokenUrl: string;
|
|
2942
|
+
clientSecret: string;
|
|
2943
|
+
} | undefined;
|
|
2944
|
+
authorizationCode?: {
|
|
2945
|
+
type: "authorizationCode";
|
|
2946
|
+
token: string;
|
|
2947
|
+
refreshUrl: string;
|
|
2948
|
+
scopes: Record<string, string>;
|
|
2949
|
+
selectedScopes: string[];
|
|
2950
|
+
"x-scalar-client-id": string;
|
|
2951
|
+
authorizationUrl: string;
|
|
2952
|
+
"x-scalar-redirect-uri": string;
|
|
2953
|
+
tokenUrl: string;
|
|
2954
|
+
clientSecret: string;
|
|
2955
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
2956
|
+
} | undefined;
|
|
3573
2957
|
};
|
|
3574
|
-
'x-scalar-client-id': string;
|
|
3575
2958
|
description?: string | undefined;
|
|
3576
2959
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
3577
|
-
untrackedEdit: <P extends "
|
|
2960
|
+
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, path: P, value: (P extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "value" ? {
|
|
3578
2961
|
type: "apiKey";
|
|
2962
|
+
value: string;
|
|
3579
2963
|
uid: string;
|
|
3580
2964
|
name: string;
|
|
3581
|
-
in: "query" | "header" | "cookie";
|
|
3582
2965
|
nameKey: string;
|
|
2966
|
+
in: "query" | "header" | "cookie";
|
|
3583
2967
|
description?: string | undefined;
|
|
3584
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
2968
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "value" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3585
2969
|
type: "apiKey";
|
|
2970
|
+
value: string;
|
|
3586
2971
|
uid: string;
|
|
3587
2972
|
name: string;
|
|
3588
|
-
in: "query" | "header" | "cookie";
|
|
3589
2973
|
nameKey: string;
|
|
2974
|
+
in: "query" | "header" | "cookie";
|
|
3590
2975
|
description?: string | undefined;
|
|
3591
2976
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3592
2977
|
type: "apiKey";
|
|
2978
|
+
value: string;
|
|
3593
2979
|
uid: string;
|
|
3594
2980
|
name: string;
|
|
3595
|
-
in: "query" | "header" | "cookie";
|
|
3596
2981
|
nameKey: string;
|
|
2982
|
+
in: "query" | "header" | "cookie";
|
|
3597
2983
|
description?: string | undefined;
|
|
3598
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "type" | "
|
|
2984
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "token" | "username" ? {
|
|
3599
2985
|
type: "http";
|
|
3600
2986
|
uid: string;
|
|
3601
2987
|
nameKey: string;
|
|
3602
2988
|
scheme: "basic" | "bearer";
|
|
3603
2989
|
bearerFormat: string;
|
|
2990
|
+
username: string;
|
|
2991
|
+
password: string;
|
|
2992
|
+
token: string;
|
|
3604
2993
|
description?: string | undefined;
|
|
3605
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "
|
|
2994
|
+
}[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<{
|
|
3606
2995
|
type: "http";
|
|
3607
2996
|
uid: string;
|
|
3608
2997
|
nameKey: string;
|
|
3609
2998
|
scheme: "basic" | "bearer";
|
|
3610
2999
|
bearerFormat: string;
|
|
3000
|
+
username: string;
|
|
3001
|
+
password: string;
|
|
3002
|
+
token: string;
|
|
3611
3003
|
description?: string | undefined;
|
|
3612
3004
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3613
3005
|
type: "http";
|
|
@@ -3615,14 +3007,17 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3615
3007
|
nameKey: string;
|
|
3616
3008
|
scheme: "basic" | "bearer";
|
|
3617
3009
|
bearerFormat: string;
|
|
3010
|
+
username: string;
|
|
3011
|
+
password: string;
|
|
3012
|
+
token: string;
|
|
3618
3013
|
description?: string | undefined;
|
|
3619
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "
|
|
3014
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? {
|
|
3620
3015
|
type: "openIdConnect";
|
|
3621
3016
|
uid: string;
|
|
3622
3017
|
nameKey: string;
|
|
3623
3018
|
openIdConnectUrl: string;
|
|
3624
3019
|
description?: string | undefined;
|
|
3625
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
3020
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3626
3021
|
type: "openIdConnect";
|
|
3627
3022
|
uid: string;
|
|
3628
3023
|
nameKey: string;
|
|
@@ -3634,110 +3029,161 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3634
3029
|
nameKey: string;
|
|
3635
3030
|
openIdConnectUrl: string;
|
|
3636
3031
|
description?: string | undefined;
|
|
3637
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "
|
|
3032
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
|
|
3638
3033
|
type: "oauth2";
|
|
3639
3034
|
uid: string;
|
|
3640
3035
|
nameKey: string;
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3036
|
+
flows: {
|
|
3037
|
+
password?: {
|
|
3038
|
+
type: "password";
|
|
3039
|
+
username: string;
|
|
3040
|
+
password: string;
|
|
3041
|
+
token: string;
|
|
3042
|
+
refreshUrl: string;
|
|
3043
|
+
scopes: Record<string, string>;
|
|
3044
|
+
selectedScopes: string[];
|
|
3045
|
+
"x-scalar-client-id": string;
|
|
3046
|
+
tokenUrl: string;
|
|
3047
|
+
clientSecret: string;
|
|
3048
|
+
} | undefined;
|
|
3049
|
+
implicit?: {
|
|
3050
|
+
type: "implicit";
|
|
3051
|
+
token: string;
|
|
3052
|
+
refreshUrl: string;
|
|
3053
|
+
scopes: Record<string, string>;
|
|
3054
|
+
selectedScopes: string[];
|
|
3055
|
+
"x-scalar-client-id": string;
|
|
3056
|
+
authorizationUrl: string;
|
|
3057
|
+
"x-scalar-redirect-uri": string;
|
|
3058
|
+
} | undefined;
|
|
3059
|
+
clientCredentials?: {
|
|
3060
|
+
type: "clientCredentials";
|
|
3061
|
+
token: string;
|
|
3062
|
+
refreshUrl: string;
|
|
3063
|
+
scopes: Record<string, string>;
|
|
3064
|
+
selectedScopes: string[];
|
|
3065
|
+
"x-scalar-client-id": string;
|
|
3066
|
+
tokenUrl: string;
|
|
3067
|
+
clientSecret: string;
|
|
3068
|
+
} | undefined;
|
|
3069
|
+
authorizationCode?: {
|
|
3070
|
+
type: "authorizationCode";
|
|
3071
|
+
token: string;
|
|
3072
|
+
refreshUrl: string;
|
|
3073
|
+
scopes: Record<string, string>;
|
|
3074
|
+
selectedScopes: string[];
|
|
3075
|
+
"x-scalar-client-id": string;
|
|
3076
|
+
authorizationUrl: string;
|
|
3077
|
+
"x-scalar-redirect-uri": string;
|
|
3078
|
+
tokenUrl: string;
|
|
3079
|
+
clientSecret: string;
|
|
3080
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
3081
|
+
} | undefined;
|
|
3669
3082
|
};
|
|
3670
|
-
'x-scalar-client-id': string;
|
|
3671
3083
|
description?: string | undefined;
|
|
3672
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
3084
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "flows" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3673
3085
|
type: "oauth2";
|
|
3674
3086
|
uid: string;
|
|
3675
3087
|
nameKey: string;
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3088
|
+
flows: {
|
|
3089
|
+
password?: {
|
|
3090
|
+
type: "password";
|
|
3091
|
+
username: string;
|
|
3092
|
+
password: string;
|
|
3093
|
+
token: string;
|
|
3094
|
+
refreshUrl: string;
|
|
3095
|
+
scopes: Record<string, string>;
|
|
3096
|
+
selectedScopes: string[];
|
|
3097
|
+
"x-scalar-client-id": string;
|
|
3098
|
+
tokenUrl: string;
|
|
3099
|
+
clientSecret: string;
|
|
3100
|
+
} | undefined;
|
|
3101
|
+
implicit?: {
|
|
3102
|
+
type: "implicit";
|
|
3103
|
+
token: string;
|
|
3104
|
+
refreshUrl: string;
|
|
3105
|
+
scopes: Record<string, string>;
|
|
3106
|
+
selectedScopes: string[];
|
|
3107
|
+
"x-scalar-client-id": string;
|
|
3108
|
+
authorizationUrl: string;
|
|
3109
|
+
"x-scalar-redirect-uri": string;
|
|
3110
|
+
} | undefined;
|
|
3111
|
+
clientCredentials?: {
|
|
3112
|
+
type: "clientCredentials";
|
|
3113
|
+
token: string;
|
|
3114
|
+
refreshUrl: string;
|
|
3115
|
+
scopes: Record<string, string>;
|
|
3116
|
+
selectedScopes: string[];
|
|
3117
|
+
"x-scalar-client-id": string;
|
|
3118
|
+
tokenUrl: string;
|
|
3119
|
+
clientSecret: string;
|
|
3120
|
+
} | undefined;
|
|
3121
|
+
authorizationCode?: {
|
|
3122
|
+
type: "authorizationCode";
|
|
3123
|
+
token: string;
|
|
3124
|
+
refreshUrl: string;
|
|
3125
|
+
scopes: Record<string, string>;
|
|
3126
|
+
selectedScopes: string[];
|
|
3127
|
+
"x-scalar-client-id": string;
|
|
3128
|
+
authorizationUrl: string;
|
|
3129
|
+
"x-scalar-redirect-uri": string;
|
|
3130
|
+
tokenUrl: string;
|
|
3131
|
+
clientSecret: string;
|
|
3132
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
3133
|
+
} | undefined;
|
|
3704
3134
|
};
|
|
3705
|
-
'x-scalar-client-id': string;
|
|
3706
3135
|
description?: string | undefined;
|
|
3707
3136
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3708
3137
|
type: "oauth2";
|
|
3709
3138
|
uid: string;
|
|
3710
3139
|
nameKey: string;
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3140
|
+
flows: {
|
|
3141
|
+
password?: {
|
|
3142
|
+
type: "password";
|
|
3143
|
+
username: string;
|
|
3144
|
+
password: string;
|
|
3145
|
+
token: string;
|
|
3146
|
+
refreshUrl: string;
|
|
3147
|
+
scopes: Record<string, string>;
|
|
3148
|
+
selectedScopes: string[];
|
|
3149
|
+
"x-scalar-client-id": string;
|
|
3150
|
+
tokenUrl: string;
|
|
3151
|
+
clientSecret: string;
|
|
3152
|
+
} | undefined;
|
|
3153
|
+
implicit?: {
|
|
3154
|
+
type: "implicit";
|
|
3155
|
+
token: string;
|
|
3156
|
+
refreshUrl: string;
|
|
3157
|
+
scopes: Record<string, string>;
|
|
3158
|
+
selectedScopes: string[];
|
|
3159
|
+
"x-scalar-client-id": string;
|
|
3160
|
+
authorizationUrl: string;
|
|
3161
|
+
"x-scalar-redirect-uri": string;
|
|
3162
|
+
} | undefined;
|
|
3163
|
+
clientCredentials?: {
|
|
3164
|
+
type: "clientCredentials";
|
|
3165
|
+
token: string;
|
|
3166
|
+
refreshUrl: string;
|
|
3167
|
+
scopes: Record<string, string>;
|
|
3168
|
+
selectedScopes: string[];
|
|
3169
|
+
"x-scalar-client-id": string;
|
|
3170
|
+
tokenUrl: string;
|
|
3171
|
+
clientSecret: string;
|
|
3172
|
+
} | undefined;
|
|
3173
|
+
authorizationCode?: {
|
|
3174
|
+
type: "authorizationCode";
|
|
3175
|
+
token: string;
|
|
3176
|
+
refreshUrl: string;
|
|
3177
|
+
scopes: Record<string, string>;
|
|
3178
|
+
selectedScopes: string[];
|
|
3179
|
+
"x-scalar-client-id": string;
|
|
3180
|
+
authorizationUrl: string;
|
|
3181
|
+
"x-scalar-redirect-uri": string;
|
|
3182
|
+
tokenUrl: string;
|
|
3183
|
+
clientSecret: string;
|
|
3184
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
3185
|
+
} | undefined;
|
|
3739
3186
|
};
|
|
3740
|
-
'x-scalar-client-id': string;
|
|
3741
3187
|
description?: string | undefined;
|
|
3742
3188
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
3743
3189
|
undo: (uid: string) => void;
|
|
@@ -3770,14 +3216,14 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3770
3216
|
enum?: [string, ...string[]];
|
|
3771
3217
|
}> | undefined;
|
|
3772
3218
|
}) => void;
|
|
3773
|
-
edit: <P extends "description" | "
|
|
3219
|
+
edit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: string, path: P, value: P extends "description" | "uid" | "url" | "variables" ? {
|
|
3774
3220
|
uid: string;
|
|
3775
3221
|
url: string;
|
|
3776
3222
|
description?: string | undefined;
|
|
3777
3223
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
3778
3224
|
enum?: [string, ...string[]];
|
|
3779
3225
|
}> | undefined;
|
|
3780
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "
|
|
3226
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "uid" | "url" | "variables" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3781
3227
|
uid: string;
|
|
3782
3228
|
url: string;
|
|
3783
3229
|
description?: string | undefined;
|
|
@@ -3792,14 +3238,14 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3792
3238
|
enum?: [string, ...string[]];
|
|
3793
3239
|
}> | undefined;
|
|
3794
3240
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3795
|
-
untrackedEdit: <P extends "description" | "
|
|
3241
|
+
untrackedEdit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: string, path: P, value: P extends "description" | "uid" | "url" | "variables" ? {
|
|
3796
3242
|
uid: string;
|
|
3797
3243
|
url: string;
|
|
3798
3244
|
description?: string | undefined;
|
|
3799
3245
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
3800
3246
|
enum?: [string, ...string[]];
|
|
3801
3247
|
}> | undefined;
|
|
3802
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "
|
|
3248
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "uid" | "url" | "variables" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3803
3249
|
uid: string;
|
|
3804
3250
|
url: string;
|
|
3805
3251
|
description?: string | undefined;
|
|
@@ -3862,7 +3308,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3862
3308
|
tagName: string;
|
|
3863
3309
|
}[] | undefined;
|
|
3864
3310
|
}) => void;
|
|
3865
|
-
edit: <P extends "
|
|
3311
|
+
edit: <P extends "description" | "externalDocs" | "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" | "type" | "name" | "uid" | "children" | "x-scalar-children" ? {
|
|
3866
3312
|
type: "tag";
|
|
3867
3313
|
uid: string;
|
|
3868
3314
|
name: string;
|
|
@@ -3875,7 +3321,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3875
3321
|
'x-scalar-children'?: {
|
|
3876
3322
|
tagName: string;
|
|
3877
3323
|
}[] | undefined;
|
|
3878
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
3324
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "externalDocs" | "type" | "name" | "uid" | "children" | "x-scalar-children" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3879
3325
|
type: "tag";
|
|
3880
3326
|
uid: string;
|
|
3881
3327
|
name: string;
|
|
@@ -3902,7 +3348,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3902
3348
|
tagName: string;
|
|
3903
3349
|
}[] | undefined;
|
|
3904
3350
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3905
|
-
untrackedEdit: <P extends "
|
|
3351
|
+
untrackedEdit: <P extends "description" | "externalDocs" | "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" | "type" | "name" | "uid" | "children" | "x-scalar-children" ? {
|
|
3906
3352
|
type: "tag";
|
|
3907
3353
|
uid: string;
|
|
3908
3354
|
name: string;
|
|
@@ -3915,7 +3361,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3915
3361
|
'x-scalar-children'?: {
|
|
3916
3362
|
tagName: string;
|
|
3917
3363
|
}[] | undefined;
|
|
3918
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
3364
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "externalDocs" | "type" | "name" | "uid" | "children" | "x-scalar-children" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3919
3365
|
type: "tag";
|
|
3920
3366
|
uid: string;
|
|
3921
3367
|
name: string;
|
|
@@ -3951,12 +3397,11 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3951
3397
|
uid: string;
|
|
3952
3398
|
name: string;
|
|
3953
3399
|
description: string;
|
|
3954
|
-
isReadOnly: boolean;
|
|
3955
3400
|
collections: string[];
|
|
3956
3401
|
environments: string[];
|
|
3957
3402
|
activeEnvironmentId: string;
|
|
3958
3403
|
cookies: string[];
|
|
3959
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3404
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3960
3405
|
hotKeyConfig?: {
|
|
3961
3406
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3962
3407
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -3970,12 +3415,11 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3970
3415
|
uid: string;
|
|
3971
3416
|
name: string;
|
|
3972
3417
|
description: string;
|
|
3973
|
-
isReadOnly: boolean;
|
|
3974
3418
|
collections: string[];
|
|
3975
3419
|
environments: string[];
|
|
3976
3420
|
activeEnvironmentId: string;
|
|
3977
3421
|
cookies: string[];
|
|
3978
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3422
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3979
3423
|
hotKeyConfig?: {
|
|
3980
3424
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3981
3425
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -3990,12 +3434,11 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
3990
3434
|
uid: string;
|
|
3991
3435
|
name: string;
|
|
3992
3436
|
description: string;
|
|
3993
|
-
isReadOnly: boolean;
|
|
3994
3437
|
collections: string[];
|
|
3995
3438
|
environments: string[];
|
|
3996
3439
|
activeEnvironmentId: string;
|
|
3997
3440
|
cookies: string[];
|
|
3998
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3441
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3999
3442
|
hotKeyConfig?: {
|
|
4000
3443
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4001
3444
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -4005,16 +3448,15 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
4005
3448
|
} | undefined;
|
|
4006
3449
|
proxyUrl?: string | undefined;
|
|
4007
3450
|
}) => void;
|
|
4008
|
-
edit: <P extends "cookies" | "name" | "description" | "uid" | "collections" | "environments" | "isReadOnly" | "activeEnvironmentId" | "themeId" | "hotKeyConfig" | "proxyUrl" | `cookies.${number}` | `collections.${number}` | `environments.${number}` | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys.0" | "hotKeyConfig.hotKeys.1" | "hotKeyConfig.hotKeys.n" | "hotKeyConfig.hotKeys.a" | "hotKeyConfig.hotKeys.b" | "hotKeyConfig.hotKeys.i" | "hotKeyConfig.hotKeys.p" | "hotKeyConfig.hotKeys.q" | "hotKeyConfig.hotKeys.s" | "hotKeyConfig.hotKeys.u" | "hotKeyConfig.hotKeys.." | "hotKeyConfig.hotKeys.g" | "hotKeyConfig.hotKeys.;" | "hotKeyConfig.hotKeys./" | "hotKeyConfig.hotKeys.=" | "hotKeyConfig.hotKeys.-" | "hotKeyConfig.hotKeys.k" | "hotKeyConfig.hotKeys.v" | "hotKeyConfig.hotKeys.2" | "hotKeyConfig.hotKeys.ArrowLeft" | "hotKeyConfig.hotKeys.ArrowRight" | "hotKeyConfig.hotKeys.Delete" | "hotKeyConfig.hotKeys.Backspace" | "hotKeyConfig.hotKeys.3" | "hotKeyConfig.hotKeys.4" | "hotKeyConfig.hotKeys.5" | "hotKeyConfig.hotKeys.6" | "hotKeyConfig.hotKeys.Space" | "hotKeyConfig.hotKeys.Tab" | "hotKeyConfig.hotKeys.Enter" | "hotKeyConfig.hotKeys.Escape" | "hotKeyConfig.hotKeys.ArrowDown" | "hotKeyConfig.hotKeys.ArrowUp" | "hotKeyConfig.hotKeys.End" | "hotKeyConfig.hotKeys.Home" | "hotKeyConfig.hotKeys.PageDown" | "hotKeyConfig.hotKeys.PageUp" | "hotKeyConfig.hotKeys.7" | "hotKeyConfig.hotKeys.8" | "hotKeyConfig.hotKeys.9" | "hotKeyConfig.hotKeys.c" | "hotKeyConfig.hotKeys.d" | "hotKeyConfig.hotKeys.e" | "hotKeyConfig.hotKeys.f" | "hotKeyConfig.hotKeys.h" | "hotKeyConfig.hotKeys.j" | "hotKeyConfig.hotKeys.l" | "hotKeyConfig.hotKeys.m" | "hotKeyConfig.hotKeys.o" | "hotKeyConfig.hotKeys.r" | "hotKeyConfig.hotKeys.t" | "hotKeyConfig.hotKeys.w" | "hotKeyConfig.hotKeys.x" | "hotKeyConfig.hotKeys.y" | "hotKeyConfig.hotKeys.z" | "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..modifiers" | `hotKeyConfig.hotKeys..modifiers.${number}` | "hotKeyConfig.hotKeys..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.n.modifiers" | `hotKeyConfig.hotKeys.n.modifiers.${number}` | "hotKeyConfig.hotKeys.n.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.i.modifiers" | `hotKeyConfig.hotKeys.i.modifiers.${number}` | "hotKeyConfig.hotKeys.i.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.s.modifiers" | `hotKeyConfig.hotKeys.s.modifiers.${number}` | "hotKeyConfig.hotKeys.s.event" | "hotKeyConfig.hotKeys.u.modifiers" | `hotKeyConfig.hotKeys.u.modifiers.${number}` | "hotKeyConfig.hotKeys.u.event" | "hotKeyConfig.hotKeys...modifiers" | `hotKeyConfig.hotKeys...modifiers.${number}` | "hotKeyConfig.hotKeys...event" | "hotKeyConfig.hotKeys.g.modifiers" | `hotKeyConfig.hotKeys.g.modifiers.${number}` | "hotKeyConfig.hotKeys.g.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.k.modifiers" | `hotKeyConfig.hotKeys.k.modifiers.${number}` | "hotKeyConfig.hotKeys.k.event" | "hotKeyConfig.hotKeys.v.modifiers" | `hotKeyConfig.hotKeys.v.modifiers.${number}` | "hotKeyConfig.hotKeys.v.event" | "hotKeyConfig.hotKeys.2.modifiers" | `hotKeyConfig.hotKeys.2.modifiers.${number}` | "hotKeyConfig.hotKeys.2.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.Delete.modifiers" | `hotKeyConfig.hotKeys.Delete.modifiers.${number}` | "hotKeyConfig.hotKeys.Delete.event" | "hotKeyConfig.hotKeys.Backspace.modifiers" | `hotKeyConfig.hotKeys.Backspace.modifiers.${number}` | "hotKeyConfig.hotKeys.Backspace.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.Space.modifiers" | `hotKeyConfig.hotKeys.Space.modifiers.${number}` | "hotKeyConfig.hotKeys.Space.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.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.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.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.h.modifiers" | `hotKeyConfig.hotKeys.h.modifiers.${number}` | "hotKeyConfig.hotKeys.h.event" | "hotKeyConfig.hotKeys.j.modifiers" | `hotKeyConfig.hotKeys.j.modifiers.${number}` | "hotKeyConfig.hotKeys.j.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.o.modifiers" | `hotKeyConfig.hotKeys.o.modifiers.${number}` | "hotKeyConfig.hotKeys.o.event" | "hotKeyConfig.hotKeys.r.modifiers" | `hotKeyConfig.hotKeys.r.modifiers.${number}` | "hotKeyConfig.hotKeys.r.event" | "hotKeyConfig.hotKeys.t.modifiers" | `hotKeyConfig.hotKeys.t.modifiers.${number}` | "hotKeyConfig.hotKeys.t.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.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">(uid: string, path: P, value: P extends "cookies" | "name" | "description" | "uid" | "collections" | "environments" | "isReadOnly" | "activeEnvironmentId" | "themeId" | "hotKeyConfig" | "proxyUrl" ? {
|
|
3451
|
+
edit: <P extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "hotKeyConfig" | "proxyUrl" | `cookies.${number}` | `collections.${number}` | `environments.${number}` | "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" | "hotKeyConfig" | "proxyUrl" ? {
|
|
4009
3452
|
uid: string;
|
|
4010
3453
|
name: string;
|
|
4011
3454
|
description: string;
|
|
4012
|
-
isReadOnly: boolean;
|
|
4013
3455
|
collections: string[];
|
|
4014
3456
|
environments: string[];
|
|
4015
3457
|
activeEnvironmentId: string;
|
|
4016
3458
|
cookies: string[];
|
|
4017
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3459
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
4018
3460
|
hotKeyConfig?: {
|
|
4019
3461
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4020
3462
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -4023,16 +3465,15 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
4023
3465
|
}>> | undefined;
|
|
4024
3466
|
} | undefined;
|
|
4025
3467
|
proxyUrl?: string | undefined;
|
|
4026
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "cookies" | "
|
|
3468
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "hotKeyConfig" | "proxyUrl" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
4027
3469
|
uid: string;
|
|
4028
3470
|
name: string;
|
|
4029
3471
|
description: string;
|
|
4030
|
-
isReadOnly: boolean;
|
|
4031
3472
|
collections: string[];
|
|
4032
3473
|
environments: string[];
|
|
4033
3474
|
activeEnvironmentId: string;
|
|
4034
3475
|
cookies: string[];
|
|
4035
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3476
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
4036
3477
|
hotKeyConfig?: {
|
|
4037
3478
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4038
3479
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -4045,12 +3486,11 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
4045
3486
|
uid: string;
|
|
4046
3487
|
name: string;
|
|
4047
3488
|
description: string;
|
|
4048
|
-
isReadOnly: boolean;
|
|
4049
3489
|
collections: string[];
|
|
4050
3490
|
environments: string[];
|
|
4051
3491
|
activeEnvironmentId: string;
|
|
4052
3492
|
cookies: string[];
|
|
4053
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3493
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
4054
3494
|
hotKeyConfig?: {
|
|
4055
3495
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4056
3496
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -4060,16 +3500,15 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
4060
3500
|
} | undefined;
|
|
4061
3501
|
proxyUrl?: string | undefined;
|
|
4062
3502
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
4063
|
-
untrackedEdit: <P extends "cookies" | "name" | "description" | "uid" | "collections" | "environments" | "isReadOnly" | "activeEnvironmentId" | "themeId" | "hotKeyConfig" | "proxyUrl" | `cookies.${number}` | `collections.${number}` | `environments.${number}` | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys.0" | "hotKeyConfig.hotKeys.1" | "hotKeyConfig.hotKeys.n" | "hotKeyConfig.hotKeys.a" | "hotKeyConfig.hotKeys.b" | "hotKeyConfig.hotKeys.i" | "hotKeyConfig.hotKeys.p" | "hotKeyConfig.hotKeys.q" | "hotKeyConfig.hotKeys.s" | "hotKeyConfig.hotKeys.u" | "hotKeyConfig.hotKeys.." | "hotKeyConfig.hotKeys.g" | "hotKeyConfig.hotKeys.;" | "hotKeyConfig.hotKeys./" | "hotKeyConfig.hotKeys.=" | "hotKeyConfig.hotKeys.-" | "hotKeyConfig.hotKeys.k" | "hotKeyConfig.hotKeys.v" | "hotKeyConfig.hotKeys.2" | "hotKeyConfig.hotKeys.ArrowLeft" | "hotKeyConfig.hotKeys.ArrowRight" | "hotKeyConfig.hotKeys.Delete" | "hotKeyConfig.hotKeys.Backspace" | "hotKeyConfig.hotKeys.3" | "hotKeyConfig.hotKeys.4" | "hotKeyConfig.hotKeys.5" | "hotKeyConfig.hotKeys.6" | "hotKeyConfig.hotKeys.Space" | "hotKeyConfig.hotKeys.Tab" | "hotKeyConfig.hotKeys.Enter" | "hotKeyConfig.hotKeys.Escape" | "hotKeyConfig.hotKeys.ArrowDown" | "hotKeyConfig.hotKeys.ArrowUp" | "hotKeyConfig.hotKeys.End" | "hotKeyConfig.hotKeys.Home" | "hotKeyConfig.hotKeys.PageDown" | "hotKeyConfig.hotKeys.PageUp" | "hotKeyConfig.hotKeys.7" | "hotKeyConfig.hotKeys.8" | "hotKeyConfig.hotKeys.9" | "hotKeyConfig.hotKeys.c" | "hotKeyConfig.hotKeys.d" | "hotKeyConfig.hotKeys.e" | "hotKeyConfig.hotKeys.f" | "hotKeyConfig.hotKeys.h" | "hotKeyConfig.hotKeys.j" | "hotKeyConfig.hotKeys.l" | "hotKeyConfig.hotKeys.m" | "hotKeyConfig.hotKeys.o" | "hotKeyConfig.hotKeys.r" | "hotKeyConfig.hotKeys.t" | "hotKeyConfig.hotKeys.w" | "hotKeyConfig.hotKeys.x" | "hotKeyConfig.hotKeys.y" | "hotKeyConfig.hotKeys.z" | "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..modifiers" | `hotKeyConfig.hotKeys..modifiers.${number}` | "hotKeyConfig.hotKeys..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.n.modifiers" | `hotKeyConfig.hotKeys.n.modifiers.${number}` | "hotKeyConfig.hotKeys.n.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.i.modifiers" | `hotKeyConfig.hotKeys.i.modifiers.${number}` | "hotKeyConfig.hotKeys.i.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.s.modifiers" | `hotKeyConfig.hotKeys.s.modifiers.${number}` | "hotKeyConfig.hotKeys.s.event" | "hotKeyConfig.hotKeys.u.modifiers" | `hotKeyConfig.hotKeys.u.modifiers.${number}` | "hotKeyConfig.hotKeys.u.event" | "hotKeyConfig.hotKeys...modifiers" | `hotKeyConfig.hotKeys...modifiers.${number}` | "hotKeyConfig.hotKeys...event" | "hotKeyConfig.hotKeys.g.modifiers" | `hotKeyConfig.hotKeys.g.modifiers.${number}` | "hotKeyConfig.hotKeys.g.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.k.modifiers" | `hotKeyConfig.hotKeys.k.modifiers.${number}` | "hotKeyConfig.hotKeys.k.event" | "hotKeyConfig.hotKeys.v.modifiers" | `hotKeyConfig.hotKeys.v.modifiers.${number}` | "hotKeyConfig.hotKeys.v.event" | "hotKeyConfig.hotKeys.2.modifiers" | `hotKeyConfig.hotKeys.2.modifiers.${number}` | "hotKeyConfig.hotKeys.2.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.Delete.modifiers" | `hotKeyConfig.hotKeys.Delete.modifiers.${number}` | "hotKeyConfig.hotKeys.Delete.event" | "hotKeyConfig.hotKeys.Backspace.modifiers" | `hotKeyConfig.hotKeys.Backspace.modifiers.${number}` | "hotKeyConfig.hotKeys.Backspace.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.Space.modifiers" | `hotKeyConfig.hotKeys.Space.modifiers.${number}` | "hotKeyConfig.hotKeys.Space.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.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.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.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.h.modifiers" | `hotKeyConfig.hotKeys.h.modifiers.${number}` | "hotKeyConfig.hotKeys.h.event" | "hotKeyConfig.hotKeys.j.modifiers" | `hotKeyConfig.hotKeys.j.modifiers.${number}` | "hotKeyConfig.hotKeys.j.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.o.modifiers" | `hotKeyConfig.hotKeys.o.modifiers.${number}` | "hotKeyConfig.hotKeys.o.event" | "hotKeyConfig.hotKeys.r.modifiers" | `hotKeyConfig.hotKeys.r.modifiers.${number}` | "hotKeyConfig.hotKeys.r.event" | "hotKeyConfig.hotKeys.t.modifiers" | `hotKeyConfig.hotKeys.t.modifiers.${number}` | "hotKeyConfig.hotKeys.t.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.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">(uid: string, path: P, value: P extends "cookies" | "name" | "description" | "uid" | "collections" | "environments" | "isReadOnly" | "activeEnvironmentId" | "themeId" | "hotKeyConfig" | "proxyUrl" ? {
|
|
3503
|
+
untrackedEdit: <P extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "hotKeyConfig" | "proxyUrl" | `cookies.${number}` | `collections.${number}` | `environments.${number}` | "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" | "hotKeyConfig" | "proxyUrl" ? {
|
|
4064
3504
|
uid: string;
|
|
4065
3505
|
name: string;
|
|
4066
3506
|
description: string;
|
|
4067
|
-
isReadOnly: boolean;
|
|
4068
3507
|
collections: string[];
|
|
4069
3508
|
environments: string[];
|
|
4070
3509
|
activeEnvironmentId: string;
|
|
4071
3510
|
cookies: string[];
|
|
4072
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3511
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
4073
3512
|
hotKeyConfig?: {
|
|
4074
3513
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4075
3514
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -4078,16 +3517,15 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
4078
3517
|
}>> | undefined;
|
|
4079
3518
|
} | undefined;
|
|
4080
3519
|
proxyUrl?: string | undefined;
|
|
4081
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "cookies" | "
|
|
3520
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "hotKeyConfig" | "proxyUrl" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
4082
3521
|
uid: string;
|
|
4083
3522
|
name: string;
|
|
4084
3523
|
description: string;
|
|
4085
|
-
isReadOnly: boolean;
|
|
4086
3524
|
collections: string[];
|
|
4087
3525
|
environments: string[];
|
|
4088
3526
|
activeEnvironmentId: string;
|
|
4089
3527
|
cookies: string[];
|
|
4090
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3528
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
4091
3529
|
hotKeyConfig?: {
|
|
4092
3530
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4093
3531
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -4100,12 +3538,11 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
4100
3538
|
uid: string;
|
|
4101
3539
|
name: string;
|
|
4102
3540
|
description: string;
|
|
4103
|
-
isReadOnly: boolean;
|
|
4104
3541
|
collections: string[];
|
|
4105
3542
|
environments: string[];
|
|
4106
3543
|
activeEnvironmentId: string;
|
|
4107
3544
|
cookies: string[];
|
|
4108
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3545
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
4109
3546
|
hotKeyConfig?: {
|
|
4110
3547
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4111
3548
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -4120,5 +3557,6 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
4120
3557
|
reset: () => void;
|
|
4121
3558
|
};
|
|
4122
3559
|
};
|
|
3560
|
+
updateExample: (exampleKey: string, operationId: string) => void;
|
|
4123
3561
|
}>;
|
|
4124
3562
|
//# sourceMappingURL=create-api-client-app.d.ts.map
|