@scalar/api-client 2.1.52 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +41 -0
- package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBar.vue.js +1 -1
- package/dist/components/AddressBar/AddressBar.vue2.js +36 -43
- 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 +15 -14
- 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/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/SideNav.vue.js +4 -4
- package/dist/components/SideNav/SideNavRouterLink.vue.js +9 -9
- package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNav.vue.js +165 -5
- package/dist/components/TopNav/TopNav.vue2.js +2 -164
- package/dist/components/TopNav/TopNavItem.vue.d.ts +2 -2
- package/dist/components/TopNav/TopNavItem.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNavItem.vue.js +2 -2
- package/dist/components/TopNav/TopNavItem.vue2.js +5 -5
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +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 +1 -1
- package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
- package/dist/layouts/App/ApiClientApp.vue.js +35 -31
- 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 +669 -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 +1 -1
- package/dist/layouts/Modal/ApiClientModal.vue2.js +24 -23
- package/dist/layouts/Modal/create-api-client-modal.d.ts +1382 -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 +669 -1232
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +673 -1236
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +91 -102
- package/dist/libs/hot-keys.d.ts +1 -1
- package/dist/libs/send-request.d.ts +2 -3
- package/dist/libs/send-request.d.ts.map +1 -1
- package/dist/libs/send-request.js +127 -123
- 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/tailwind/desktop-variants.d.ts +18 -0
- package/dist/tailwind/desktop-variants.d.ts.map +1 -0
- 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 +1 -1
- package/dist/views/Request/Request.vue2.js +92 -92
- 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 +17 -16
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +2 -2
- 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 +72 -73
- 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 +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue2.js +25 -21
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +2 -2
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +26 -25
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +7 -7
- 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 +9 -9
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import { type WorkspaceStore } from '../store/
|
|
3
|
-
import type {
|
|
1
|
+
import { type ClientLayout } from '../hooks/useLayout.js';
|
|
2
|
+
import { type WorkspaceStore } from '../store/store.js';
|
|
3
|
+
import type { RequestMethod, SecurityScheme } from '@scalar/oas-utils/entities/spec';
|
|
4
4
|
import type { Path, PathValue } from '@scalar/object-utils/nested';
|
|
5
5
|
import type { ReferenceConfiguration, SpecConfiguration } from '@scalar/types/legacy';
|
|
6
6
|
import type { LiteralUnion } from 'type-fest';
|
|
@@ -80,10 +80,10 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
80
80
|
/**
|
|
81
81
|
* Update the auth values, we currently don't change the auth selection
|
|
82
82
|
*/
|
|
83
|
-
updateAuth: <P extends Path<
|
|
83
|
+
updateAuth: <P extends Path<SecurityScheme>>({ nameKey, propertyKey, value, }: {
|
|
84
84
|
nameKey: string;
|
|
85
85
|
propertyKey: P;
|
|
86
|
-
value: PathValue<
|
|
86
|
+
value: NonNullable<PathValue<SecurityScheme, P>>;
|
|
87
87
|
}) => void;
|
|
88
88
|
/** Route to a method + path */
|
|
89
89
|
route: (params: OpenClientPayload) => void;
|
|
@@ -102,12 +102,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
102
102
|
uid: string;
|
|
103
103
|
name: string;
|
|
104
104
|
description: string;
|
|
105
|
-
isReadOnly: boolean;
|
|
106
105
|
collections: string[];
|
|
107
106
|
environments: string[];
|
|
108
107
|
activeEnvironmentId: string;
|
|
109
108
|
cookies: string[];
|
|
110
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
109
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
111
110
|
hotKeyConfig?: {
|
|
112
111
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
113
112
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -130,33 +129,6 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
130
129
|
servers: string[];
|
|
131
130
|
requests: string[];
|
|
132
131
|
tags: string[];
|
|
133
|
-
auth: Record<string, {
|
|
134
|
-
type: "apiKey";
|
|
135
|
-
value: string;
|
|
136
|
-
name: string;
|
|
137
|
-
} | {
|
|
138
|
-
type: "http";
|
|
139
|
-
username: string;
|
|
140
|
-
password: string;
|
|
141
|
-
token: string;
|
|
142
|
-
} | {
|
|
143
|
-
type: "oauth-implicit";
|
|
144
|
-
token: string;
|
|
145
|
-
} | {
|
|
146
|
-
type: "oauth-password";
|
|
147
|
-
username: string;
|
|
148
|
-
password: string;
|
|
149
|
-
token: string;
|
|
150
|
-
clientSecret: string;
|
|
151
|
-
} | {
|
|
152
|
-
type: "oauth-clientCredentials";
|
|
153
|
-
token: string;
|
|
154
|
-
clientSecret: string;
|
|
155
|
-
} | {
|
|
156
|
-
type: "oauth-authorizationCode";
|
|
157
|
-
token: string;
|
|
158
|
-
clientSecret: string;
|
|
159
|
-
}>;
|
|
160
132
|
watchMode: boolean;
|
|
161
133
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
162
134
|
externalDocs?: {
|
|
@@ -336,7 +308,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
336
308
|
selectedServerUid: string;
|
|
337
309
|
servers: string[];
|
|
338
310
|
examples: string[];
|
|
339
|
-
method: "options" | "
|
|
311
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
340
312
|
description?: string | undefined;
|
|
341
313
|
summary?: string | undefined;
|
|
342
314
|
externalDocs?: {
|
|
@@ -375,10 +347,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
375
347
|
}>;
|
|
376
348
|
securitySchemes: Record<string, {
|
|
377
349
|
type: "apiKey";
|
|
350
|
+
value: string;
|
|
378
351
|
uid: string;
|
|
379
352
|
name: string;
|
|
380
|
-
in: "query" | "header" | "cookie";
|
|
381
353
|
nameKey: string;
|
|
354
|
+
in: "query" | "header" | "cookie";
|
|
382
355
|
description?: string | undefined;
|
|
383
356
|
} | {
|
|
384
357
|
type: "http";
|
|
@@ -386,6 +359,9 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
386
359
|
nameKey: string;
|
|
387
360
|
scheme: "basic" | "bearer";
|
|
388
361
|
bearerFormat: string;
|
|
362
|
+
username: string;
|
|
363
|
+
password: string;
|
|
364
|
+
token: string;
|
|
389
365
|
description?: string | undefined;
|
|
390
366
|
} | {
|
|
391
367
|
type: "openIdConnect";
|
|
@@ -397,39 +373,128 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
397
373
|
type: "oauth2";
|
|
398
374
|
uid: string;
|
|
399
375
|
nameKey: string;
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
376
|
+
flows: {
|
|
377
|
+
password?: {
|
|
378
|
+
type: "password";
|
|
379
|
+
username: string;
|
|
380
|
+
password: string;
|
|
381
|
+
token: string;
|
|
382
|
+
refreshUrl: string;
|
|
383
|
+
scopes: Record<string, string>;
|
|
384
|
+
selectedScopes: string[];
|
|
385
|
+
"x-scalar-client-id": string;
|
|
386
|
+
tokenUrl: string;
|
|
387
|
+
clientSecret: string;
|
|
388
|
+
} | undefined;
|
|
389
|
+
implicit?: {
|
|
390
|
+
type: "implicit";
|
|
391
|
+
token: string;
|
|
392
|
+
refreshUrl: string;
|
|
393
|
+
scopes: Record<string, string>;
|
|
394
|
+
selectedScopes: string[];
|
|
395
|
+
"x-scalar-client-id": string;
|
|
396
|
+
authorizationUrl: string;
|
|
397
|
+
"x-scalar-redirect-uri": string;
|
|
398
|
+
} | undefined;
|
|
399
|
+
clientCredentials?: {
|
|
400
|
+
type: "clientCredentials";
|
|
401
|
+
token: string;
|
|
402
|
+
refreshUrl: string;
|
|
403
|
+
scopes: Record<string, string>;
|
|
404
|
+
selectedScopes: string[];
|
|
405
|
+
"x-scalar-client-id": string;
|
|
406
|
+
tokenUrl: string;
|
|
407
|
+
clientSecret: string;
|
|
408
|
+
} | undefined;
|
|
409
|
+
authorizationCode?: {
|
|
410
|
+
type: "authorizationCode";
|
|
411
|
+
token: string;
|
|
412
|
+
refreshUrl: string;
|
|
413
|
+
scopes: Record<string, string>;
|
|
414
|
+
selectedScopes: string[];
|
|
415
|
+
"x-scalar-client-id": string;
|
|
416
|
+
authorizationUrl: string;
|
|
417
|
+
"x-scalar-redirect-uri": string;
|
|
418
|
+
tokenUrl: string;
|
|
419
|
+
clientSecret: string;
|
|
420
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
421
|
+
} | undefined;
|
|
428
422
|
};
|
|
429
|
-
'x-scalar-client-id': string;
|
|
430
423
|
description?: string | undefined;
|
|
431
424
|
}>;
|
|
432
|
-
|
|
425
|
+
modalState: {
|
|
426
|
+
open: boolean;
|
|
427
|
+
show: () => void;
|
|
428
|
+
hide: () => void;
|
|
429
|
+
};
|
|
430
|
+
events: {
|
|
431
|
+
executeRequest: import("./event-bus.js").EventBus<any>;
|
|
432
|
+
cancelRequest: import("./event-bus.js").EventBus<any>;
|
|
433
|
+
requestStatus: import("./event-bus.js").EventBus<import("./send-request.js").RequestStatus>;
|
|
434
|
+
commandPalette: import("./event-bus.js").EventBus<import("../components/CommandPalette/TheCommandPalette.vue.js").CommandPaletteEvent>;
|
|
435
|
+
hotKeys: import("./event-bus.js").EventBus<Partial<Record<"closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch", KeyboardEvent>>>;
|
|
436
|
+
};
|
|
437
|
+
proxyUrl: string | undefined;
|
|
438
|
+
sidebarWidth: import("vue").Ref<string, string>;
|
|
439
|
+
setSidebarWidth: (width: string) => void;
|
|
440
|
+
isReadOnly: boolean;
|
|
441
|
+
importSpecFile: (_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
|
|
442
|
+
type?: "collection" | undefined;
|
|
443
|
+
uid?: string | undefined;
|
|
444
|
+
externalDocs?: {
|
|
445
|
+
description?: string | undefined;
|
|
446
|
+
url?: string | undefined;
|
|
447
|
+
} | undefined;
|
|
448
|
+
children?: (string | undefined)[] | undefined;
|
|
449
|
+
openapi?: string | undefined;
|
|
450
|
+
jsonSchemaDialect?: string | undefined;
|
|
451
|
+
info?: {
|
|
452
|
+
description?: string | undefined;
|
|
453
|
+
title?: string | undefined;
|
|
454
|
+
summary?: string | undefined;
|
|
455
|
+
termsOfService?: string | undefined;
|
|
456
|
+
contact?: {
|
|
457
|
+
name?: string | undefined;
|
|
458
|
+
url?: string | undefined;
|
|
459
|
+
email?: string | undefined;
|
|
460
|
+
} | undefined;
|
|
461
|
+
license?: {
|
|
462
|
+
name?: string | undefined;
|
|
463
|
+
identifier?: string | undefined;
|
|
464
|
+
url?: string | undefined;
|
|
465
|
+
} | undefined;
|
|
466
|
+
version?: string | undefined;
|
|
467
|
+
} | undefined;
|
|
468
|
+
security?: Record<string, string[] | undefined>[] | undefined;
|
|
469
|
+
components?: Record<string, unknown> | undefined;
|
|
470
|
+
webhooks?: Record<string, unknown> | undefined;
|
|
471
|
+
'x-scalar-icon'?: string | undefined;
|
|
472
|
+
'x-scalar-environment'?: string | undefined;
|
|
473
|
+
'x-scalar-environments'?: Record<string, {
|
|
474
|
+
variables: Record<string, string | {
|
|
475
|
+
default?: string | undefined;
|
|
476
|
+
description?: string | undefined;
|
|
477
|
+
}>;
|
|
478
|
+
description?: string | undefined;
|
|
479
|
+
color?: string | undefined;
|
|
480
|
+
}> | undefined;
|
|
481
|
+
'x-scalar-secrets'?: Record<string, {
|
|
482
|
+
description?: string | undefined;
|
|
483
|
+
example?: string | undefined;
|
|
484
|
+
}> | undefined;
|
|
485
|
+
securitySchemes?: string[] | undefined;
|
|
486
|
+
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
487
|
+
selectedServerUid?: string | undefined;
|
|
488
|
+
servers?: (string | undefined)[] | undefined;
|
|
489
|
+
requests?: (string | undefined)[] | undefined;
|
|
490
|
+
tags?: (string | undefined)[] | undefined;
|
|
491
|
+
documentUrl?: string | undefined;
|
|
492
|
+
watchMode?: boolean | undefined;
|
|
493
|
+
integration?: string | null | undefined;
|
|
494
|
+
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
495
|
+
}, "documentUrl" | "watchMode"> & Pick<ReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
|
|
496
|
+
setCollectionSecurity?: boolean;
|
|
497
|
+
} & Pick<ReferenceConfiguration, "servers">) => Promise<{
|
|
433
498
|
type: "collection";
|
|
434
499
|
uid: string;
|
|
435
500
|
children: string[];
|
|
@@ -442,33 +507,6 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
442
507
|
servers: string[];
|
|
443
508
|
requests: string[];
|
|
444
509
|
tags: string[];
|
|
445
|
-
auth: Record<string, {
|
|
446
|
-
type: "apiKey";
|
|
447
|
-
value: string;
|
|
448
|
-
name: string;
|
|
449
|
-
} | {
|
|
450
|
-
type: "http";
|
|
451
|
-
username: string;
|
|
452
|
-
password: string;
|
|
453
|
-
token: string;
|
|
454
|
-
} | {
|
|
455
|
-
type: "oauth-implicit";
|
|
456
|
-
token: string;
|
|
457
|
-
} | {
|
|
458
|
-
type: "oauth-password";
|
|
459
|
-
username: string;
|
|
460
|
-
password: string;
|
|
461
|
-
token: string;
|
|
462
|
-
clientSecret: string;
|
|
463
|
-
} | {
|
|
464
|
-
type: "oauth-clientCredentials";
|
|
465
|
-
token: string;
|
|
466
|
-
clientSecret: string;
|
|
467
|
-
} | {
|
|
468
|
-
type: "oauth-authorizationCode";
|
|
469
|
-
token: string;
|
|
470
|
-
clientSecret: string;
|
|
471
|
-
}>;
|
|
472
510
|
watchMode: boolean;
|
|
473
511
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
474
512
|
externalDocs?: {
|
|
@@ -511,469 +549,12 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
511
549
|
documentUrl?: string | undefined;
|
|
512
550
|
integration?: string | null | undefined;
|
|
513
551
|
} | undefined>;
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
uid: string;
|
|
518
|
-
name: string;
|
|
519
|
-
body: {
|
|
520
|
-
activeBody: "formData" | "binary" | "raw";
|
|
521
|
-
formData?: {
|
|
522
|
-
value: {
|
|
523
|
-
value: string;
|
|
524
|
-
key: string;
|
|
525
|
-
enabled: boolean;
|
|
526
|
-
minimum?: number | undefined;
|
|
527
|
-
type?: string | undefined;
|
|
528
|
-
maximum?: number | undefined;
|
|
529
|
-
default?: any;
|
|
530
|
-
required?: boolean | undefined;
|
|
531
|
-
description?: string | undefined;
|
|
532
|
-
enum?: string[] | undefined;
|
|
533
|
-
format?: string | undefined;
|
|
534
|
-
file?: any;
|
|
535
|
-
nullable?: boolean | undefined;
|
|
536
|
-
}[];
|
|
537
|
-
encoding: "form-data" | "urlencoded";
|
|
538
|
-
} | undefined;
|
|
539
|
-
binary?: Blob | undefined;
|
|
540
|
-
raw?: {
|
|
541
|
-
value: string;
|
|
542
|
-
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
543
|
-
} | undefined;
|
|
544
|
-
};
|
|
545
|
-
requestUid: string;
|
|
546
|
-
parameters: {
|
|
547
|
-
path: {
|
|
548
|
-
value: string;
|
|
549
|
-
key: string;
|
|
550
|
-
enabled: boolean;
|
|
551
|
-
minimum?: number | undefined;
|
|
552
|
-
type?: string | undefined;
|
|
553
|
-
maximum?: number | undefined;
|
|
554
|
-
default?: any;
|
|
555
|
-
required?: boolean | undefined;
|
|
556
|
-
description?: string | undefined;
|
|
557
|
-
enum?: string[] | undefined;
|
|
558
|
-
format?: string | undefined;
|
|
559
|
-
file?: any;
|
|
560
|
-
nullable?: boolean | undefined;
|
|
561
|
-
}[];
|
|
562
|
-
cookies: {
|
|
563
|
-
value: string;
|
|
564
|
-
key: string;
|
|
565
|
-
enabled: boolean;
|
|
566
|
-
minimum?: number | undefined;
|
|
567
|
-
type?: string | undefined;
|
|
568
|
-
maximum?: number | undefined;
|
|
569
|
-
default?: any;
|
|
570
|
-
required?: boolean | undefined;
|
|
571
|
-
description?: string | undefined;
|
|
572
|
-
enum?: string[] | undefined;
|
|
573
|
-
format?: string | undefined;
|
|
574
|
-
file?: any;
|
|
575
|
-
nullable?: boolean | undefined;
|
|
576
|
-
}[];
|
|
577
|
-
query: {
|
|
578
|
-
value: string;
|
|
579
|
-
key: string;
|
|
580
|
-
enabled: boolean;
|
|
581
|
-
minimum?: number | undefined;
|
|
582
|
-
type?: string | undefined;
|
|
583
|
-
maximum?: number | undefined;
|
|
584
|
-
default?: any;
|
|
585
|
-
required?: boolean | undefined;
|
|
586
|
-
description?: string | undefined;
|
|
587
|
-
enum?: string[] | undefined;
|
|
588
|
-
format?: string | undefined;
|
|
589
|
-
file?: any;
|
|
590
|
-
nullable?: boolean | undefined;
|
|
591
|
-
}[];
|
|
592
|
-
headers: {
|
|
593
|
-
value: string;
|
|
594
|
-
key: string;
|
|
595
|
-
enabled: boolean;
|
|
596
|
-
minimum?: number | undefined;
|
|
597
|
-
type?: string | undefined;
|
|
598
|
-
maximum?: number | undefined;
|
|
599
|
-
default?: any;
|
|
600
|
-
required?: boolean | undefined;
|
|
601
|
-
description?: string | undefined;
|
|
602
|
-
enum?: string[] | undefined;
|
|
603
|
-
format?: string | undefined;
|
|
604
|
-
file?: any;
|
|
605
|
-
nullable?: boolean | undefined;
|
|
606
|
-
}[];
|
|
607
|
-
};
|
|
608
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
609
|
-
} | undefined>;
|
|
610
|
-
activeRequest: import("vue").ComputedRef<{
|
|
611
|
-
path: string;
|
|
612
|
-
type: "request";
|
|
613
|
-
uid: string;
|
|
614
|
-
selectedSecuritySchemeUids: string[];
|
|
615
|
-
selectedServerUid: string;
|
|
616
|
-
servers: string[];
|
|
617
|
-
examples: string[];
|
|
618
|
-
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
619
|
-
description?: string | undefined;
|
|
620
|
-
summary?: string | undefined;
|
|
552
|
+
importSpecFromUrl: (url: string, workspaceUid: string, { proxy, ...options }?: Omit<Pick<{
|
|
553
|
+
type?: "collection" | undefined;
|
|
554
|
+
uid?: string | undefined;
|
|
621
555
|
externalDocs?: {
|
|
622
|
-
url: string;
|
|
623
556
|
description?: string | undefined;
|
|
624
|
-
|
|
625
|
-
security?: Record<string, string[]>[] | undefined;
|
|
626
|
-
tags?: string[] | undefined;
|
|
627
|
-
deprecated?: boolean | undefined;
|
|
628
|
-
operationId?: string | undefined;
|
|
629
|
-
parameters?: {
|
|
630
|
-
required: boolean;
|
|
631
|
-
name: string;
|
|
632
|
-
in: "path" | "query" | "header" | "cookie";
|
|
633
|
-
deprecated: boolean;
|
|
634
|
-
description?: string | undefined;
|
|
635
|
-
example?: unknown;
|
|
636
|
-
schema?: unknown;
|
|
637
|
-
content?: unknown;
|
|
638
|
-
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
639
|
-
examples?: Record<string, {
|
|
640
|
-
value?: unknown;
|
|
641
|
-
summary?: string | undefined;
|
|
642
|
-
}> | undefined;
|
|
643
|
-
}[] | undefined;
|
|
644
|
-
requestBody?: any;
|
|
645
|
-
responses?: Record<string, any> | undefined;
|
|
646
|
-
} | undefined>;
|
|
647
|
-
activeRouterParams: import("vue").ComputedRef<{
|
|
648
|
-
collection: string;
|
|
649
|
-
environment: string;
|
|
650
|
-
request: string;
|
|
651
|
-
examples: string;
|
|
652
|
-
schema: string;
|
|
653
|
-
cookies: string;
|
|
654
|
-
servers: string;
|
|
655
|
-
workspace: string;
|
|
656
|
-
settings: string;
|
|
657
|
-
}>;
|
|
658
|
-
activeEnvironment: import("vue").ComputedRef<{
|
|
659
|
-
value: string;
|
|
660
|
-
uid: string;
|
|
661
|
-
name: string;
|
|
662
|
-
color: string;
|
|
663
|
-
isDefault?: boolean | undefined;
|
|
664
|
-
}>;
|
|
665
|
-
activeServer: import("vue").ComputedRef<{
|
|
666
|
-
uid: string;
|
|
667
|
-
url: string;
|
|
668
|
-
description?: string | undefined;
|
|
669
|
-
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
670
|
-
enum?: [string, ...string[]];
|
|
671
|
-
}> | undefined;
|
|
672
|
-
}>;
|
|
673
|
-
activeWorkspace: import("vue").ComputedRef<{
|
|
674
|
-
uid: string;
|
|
675
|
-
name: string;
|
|
676
|
-
description: string;
|
|
677
|
-
isReadOnly: boolean;
|
|
678
|
-
collections: string[];
|
|
679
|
-
environments: string[];
|
|
680
|
-
activeEnvironmentId: string;
|
|
681
|
-
cookies: string[];
|
|
682
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
683
|
-
hotKeyConfig?: {
|
|
684
|
-
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
685
|
-
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
686
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
687
|
-
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
688
|
-
}>> | undefined;
|
|
689
|
-
} | undefined;
|
|
690
|
-
proxyUrl?: string | undefined;
|
|
691
|
-
}>;
|
|
692
|
-
activeWorkspaceCollections: import("vue").ComputedRef<{
|
|
693
|
-
type: "collection";
|
|
694
|
-
uid: string;
|
|
695
|
-
children: string[];
|
|
696
|
-
openapi: string;
|
|
697
|
-
security: Record<string, string[]>[];
|
|
698
|
-
'x-scalar-icon': string;
|
|
699
|
-
securitySchemes: string[];
|
|
700
|
-
selectedSecuritySchemeUids: string[];
|
|
701
|
-
selectedServerUid: string;
|
|
702
|
-
servers: string[];
|
|
703
|
-
requests: string[];
|
|
704
|
-
tags: string[];
|
|
705
|
-
auth: Record<string, {
|
|
706
|
-
type: "apiKey";
|
|
707
|
-
value: string;
|
|
708
|
-
name: string;
|
|
709
|
-
} | {
|
|
710
|
-
type: "http";
|
|
711
|
-
username: string;
|
|
712
|
-
password: string;
|
|
713
|
-
token: string;
|
|
714
|
-
} | {
|
|
715
|
-
type: "oauth-implicit";
|
|
716
|
-
token: string;
|
|
717
|
-
} | {
|
|
718
|
-
type: "oauth-password";
|
|
719
|
-
username: string;
|
|
720
|
-
password: string;
|
|
721
|
-
token: string;
|
|
722
|
-
clientSecret: string;
|
|
723
|
-
} | {
|
|
724
|
-
type: "oauth-clientCredentials";
|
|
725
|
-
token: string;
|
|
726
|
-
clientSecret: string;
|
|
727
|
-
} | {
|
|
728
|
-
type: "oauth-authorizationCode";
|
|
729
|
-
token: string;
|
|
730
|
-
clientSecret: string;
|
|
731
|
-
}>;
|
|
732
|
-
watchMode: boolean;
|
|
733
|
-
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
734
|
-
externalDocs?: {
|
|
735
|
-
url: string;
|
|
736
|
-
description?: string | undefined;
|
|
737
|
-
} | undefined;
|
|
738
|
-
jsonSchemaDialect?: string | undefined;
|
|
739
|
-
info?: {
|
|
740
|
-
title: string;
|
|
741
|
-
version: string;
|
|
742
|
-
description?: 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;
|
|
752
|
-
identifier?: string | undefined;
|
|
753
|
-
url?: string | undefined;
|
|
754
|
-
} | undefined;
|
|
755
|
-
} | undefined;
|
|
756
|
-
components?: Record<string, unknown> | undefined;
|
|
757
|
-
webhooks?: Record<string, unknown> | undefined;
|
|
758
|
-
'x-scalar-environment'?: string | undefined;
|
|
759
|
-
'x-scalar-environments'?: Record<string, {
|
|
760
|
-
variables: Record<string, string | {
|
|
761
|
-
default: string;
|
|
762
|
-
description?: string | undefined;
|
|
763
|
-
}>;
|
|
764
|
-
description?: string | undefined;
|
|
765
|
-
color?: string | undefined;
|
|
766
|
-
}> | undefined;
|
|
767
|
-
'x-scalar-secrets'?: Record<string, {
|
|
768
|
-
description?: string | undefined;
|
|
769
|
-
example?: string | undefined;
|
|
770
|
-
}> | undefined;
|
|
771
|
-
documentUrl?: string | undefined;
|
|
772
|
-
integration?: string | null | undefined;
|
|
773
|
-
}[]>;
|
|
774
|
-
activeWorkspaceServers: import("vue").ComputedRef<{
|
|
775
|
-
uid: string;
|
|
776
|
-
url: string;
|
|
777
|
-
description?: string | undefined;
|
|
778
|
-
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
779
|
-
enum?: [string, ...string[]];
|
|
780
|
-
}> | undefined;
|
|
781
|
-
}[]>;
|
|
782
|
-
activeEnvVariables: import("vue").ComputedRef<{
|
|
783
|
-
key: string;
|
|
784
|
-
value: string;
|
|
785
|
-
}[]>;
|
|
786
|
-
activeWorkspaceRequests: import("vue").ComputedRef<string[]>;
|
|
787
|
-
modalState: {
|
|
788
|
-
open: boolean;
|
|
789
|
-
show: () => void;
|
|
790
|
-
hide: () => void;
|
|
791
|
-
};
|
|
792
|
-
isReadOnly: import("vue").ComputedRef<boolean>;
|
|
793
|
-
router: Router;
|
|
794
|
-
events: {
|
|
795
|
-
executeRequest: import("./event-bus.js").EventBus<any>;
|
|
796
|
-
cancelRequest: import("./event-bus.js").EventBus<any>;
|
|
797
|
-
requestStatus: import("./event-bus.js").EventBus<import("./send-request.js").RequestStatus>;
|
|
798
|
-
commandPalette: import("./event-bus.js").EventBus<import("../components/CommandPalette/TheCommandPalette.vue.js").CommandPaletteEvent>;
|
|
799
|
-
hotKeys: import("./event-bus.js").EventBus<Partial<Record<"closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch", KeyboardEvent>>>;
|
|
800
|
-
};
|
|
801
|
-
sidebarWidth: import("vue").Ref<string, string>;
|
|
802
|
-
setSidebarWidth: (width: string) => void;
|
|
803
|
-
proxyUrl: import("vue").Ref<string | undefined, string | undefined>;
|
|
804
|
-
setProxyUrl: (url: string) => void;
|
|
805
|
-
defaultProxyUrl: string | undefined;
|
|
806
|
-
importSpecFile: (_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
|
|
807
|
-
type?: "collection" | undefined;
|
|
808
|
-
uid?: string | undefined;
|
|
809
|
-
externalDocs?: {
|
|
810
|
-
description?: string | undefined;
|
|
811
|
-
url?: string | undefined;
|
|
812
|
-
} | undefined;
|
|
813
|
-
children?: (string | undefined)[] | undefined;
|
|
814
|
-
openapi?: string | undefined;
|
|
815
|
-
jsonSchemaDialect?: string | undefined;
|
|
816
|
-
info?: {
|
|
817
|
-
description?: string | undefined;
|
|
818
|
-
title?: string | undefined;
|
|
819
|
-
summary?: string | undefined;
|
|
820
|
-
termsOfService?: string | undefined;
|
|
821
|
-
contact?: {
|
|
822
|
-
name?: string | undefined;
|
|
823
|
-
url?: string | undefined;
|
|
824
|
-
email?: string | undefined;
|
|
825
|
-
} | undefined;
|
|
826
|
-
license?: {
|
|
827
|
-
name?: string | undefined;
|
|
828
|
-
identifier?: string | undefined;
|
|
829
|
-
url?: string | undefined;
|
|
830
|
-
} | undefined;
|
|
831
|
-
version?: string | undefined;
|
|
832
|
-
} | undefined;
|
|
833
|
-
security?: Record<string, string[] | undefined>[] | undefined;
|
|
834
|
-
components?: Record<string, unknown> | undefined;
|
|
835
|
-
webhooks?: Record<string, unknown> | undefined;
|
|
836
|
-
'x-scalar-icon'?: string | undefined;
|
|
837
|
-
'x-scalar-environment'?: string | undefined;
|
|
838
|
-
'x-scalar-environments'?: Record<string, {
|
|
839
|
-
variables: Record<string, string | {
|
|
840
|
-
default?: string | undefined;
|
|
841
|
-
description?: string | undefined;
|
|
842
|
-
}>;
|
|
843
|
-
description?: string | undefined;
|
|
844
|
-
color?: string | undefined;
|
|
845
|
-
}> | undefined;
|
|
846
|
-
'x-scalar-secrets'?: Record<string, {
|
|
847
|
-
description?: string | undefined;
|
|
848
|
-
example?: string | undefined;
|
|
849
|
-
}> | undefined;
|
|
850
|
-
securitySchemes?: string[] | undefined;
|
|
851
|
-
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
852
|
-
selectedServerUid?: string | undefined;
|
|
853
|
-
servers?: (string | undefined)[] | undefined;
|
|
854
|
-
requests?: (string | undefined)[] | undefined;
|
|
855
|
-
tags?: (string | undefined)[] | undefined;
|
|
856
|
-
auth?: Record<string | undefined, {
|
|
857
|
-
type?: "apiKey" | undefined;
|
|
858
|
-
value?: string | undefined;
|
|
859
|
-
name?: string | undefined;
|
|
860
|
-
} | {
|
|
861
|
-
type?: "http" | undefined;
|
|
862
|
-
username?: string | undefined;
|
|
863
|
-
password?: string | undefined;
|
|
864
|
-
token?: string | undefined;
|
|
865
|
-
} | {
|
|
866
|
-
type?: "oauth-implicit" | undefined;
|
|
867
|
-
token?: string | undefined;
|
|
868
|
-
} | {
|
|
869
|
-
type?: "oauth-password" | undefined;
|
|
870
|
-
username?: string | undefined;
|
|
871
|
-
password?: string | undefined;
|
|
872
|
-
token?: string | undefined;
|
|
873
|
-
clientSecret?: string | undefined;
|
|
874
|
-
} | {
|
|
875
|
-
type?: "oauth-clientCredentials" | undefined;
|
|
876
|
-
token?: string | undefined;
|
|
877
|
-
clientSecret?: string | undefined;
|
|
878
|
-
} | {
|
|
879
|
-
type?: "oauth-authorizationCode" | undefined;
|
|
880
|
-
token?: string | undefined;
|
|
881
|
-
clientSecret?: string | undefined;
|
|
882
|
-
}> | undefined;
|
|
883
|
-
documentUrl?: string | undefined;
|
|
884
|
-
watchMode?: boolean | undefined;
|
|
885
|
-
integration?: string | null | undefined;
|
|
886
|
-
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
887
|
-
}, "documentUrl" | "watchMode"> & Pick<ReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
|
|
888
|
-
setCollectionSecurity?: boolean;
|
|
889
|
-
} & Pick<ReferenceConfiguration, "servers">) => Promise<{
|
|
890
|
-
type: "collection";
|
|
891
|
-
uid: string;
|
|
892
|
-
children: string[];
|
|
893
|
-
openapi: string;
|
|
894
|
-
security: Record<string, string[]>[];
|
|
895
|
-
'x-scalar-icon': string;
|
|
896
|
-
securitySchemes: string[];
|
|
897
|
-
selectedSecuritySchemeUids: string[];
|
|
898
|
-
selectedServerUid: string;
|
|
899
|
-
servers: string[];
|
|
900
|
-
requests: string[];
|
|
901
|
-
tags: string[];
|
|
902
|
-
auth: Record<string, {
|
|
903
|
-
type: "apiKey";
|
|
904
|
-
value: string;
|
|
905
|
-
name: string;
|
|
906
|
-
} | {
|
|
907
|
-
type: "http";
|
|
908
|
-
username: string;
|
|
909
|
-
password: string;
|
|
910
|
-
token: string;
|
|
911
|
-
} | {
|
|
912
|
-
type: "oauth-implicit";
|
|
913
|
-
token: string;
|
|
914
|
-
} | {
|
|
915
|
-
type: "oauth-password";
|
|
916
|
-
username: string;
|
|
917
|
-
password: string;
|
|
918
|
-
token: string;
|
|
919
|
-
clientSecret: string;
|
|
920
|
-
} | {
|
|
921
|
-
type: "oauth-clientCredentials";
|
|
922
|
-
token: string;
|
|
923
|
-
clientSecret: string;
|
|
924
|
-
} | {
|
|
925
|
-
type: "oauth-authorizationCode";
|
|
926
|
-
token: string;
|
|
927
|
-
clientSecret: string;
|
|
928
|
-
}>;
|
|
929
|
-
watchMode: boolean;
|
|
930
|
-
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
931
|
-
externalDocs?: {
|
|
932
|
-
url: string;
|
|
933
|
-
description?: string | undefined;
|
|
934
|
-
} | undefined;
|
|
935
|
-
jsonSchemaDialect?: string | undefined;
|
|
936
|
-
info?: {
|
|
937
|
-
title: string;
|
|
938
|
-
version: string;
|
|
939
|
-
description?: string | undefined;
|
|
940
|
-
summary?: string | undefined;
|
|
941
|
-
termsOfService?: string | undefined;
|
|
942
|
-
contact?: {
|
|
943
|
-
name?: string | undefined;
|
|
944
|
-
url?: string | undefined;
|
|
945
|
-
email?: string | undefined;
|
|
946
|
-
} | undefined;
|
|
947
|
-
license?: {
|
|
948
|
-
name: string;
|
|
949
|
-
identifier?: string | undefined;
|
|
950
|
-
url?: string | undefined;
|
|
951
|
-
} | undefined;
|
|
952
|
-
} | undefined;
|
|
953
|
-
components?: Record<string, unknown> | undefined;
|
|
954
|
-
webhooks?: Record<string, unknown> | undefined;
|
|
955
|
-
'x-scalar-environment'?: string | undefined;
|
|
956
|
-
'x-scalar-environments'?: Record<string, {
|
|
957
|
-
variables: Record<string, string | {
|
|
958
|
-
default: string;
|
|
959
|
-
description?: string | undefined;
|
|
960
|
-
}>;
|
|
961
|
-
description?: string | undefined;
|
|
962
|
-
color?: string | undefined;
|
|
963
|
-
}> | undefined;
|
|
964
|
-
'x-scalar-secrets'?: Record<string, {
|
|
965
|
-
description?: string | undefined;
|
|
966
|
-
example?: string | undefined;
|
|
967
|
-
}> | undefined;
|
|
968
|
-
documentUrl?: string | undefined;
|
|
969
|
-
integration?: string | null | undefined;
|
|
970
|
-
} | undefined>;
|
|
971
|
-
importSpecFromUrl: (url: string, workspaceUid: string, { proxy, ...options }?: Omit<Pick<{
|
|
972
|
-
type?: "collection" | undefined;
|
|
973
|
-
uid?: string | undefined;
|
|
974
|
-
externalDocs?: {
|
|
975
|
-
description?: string | undefined;
|
|
976
|
-
url?: string | undefined;
|
|
557
|
+
url?: string | undefined;
|
|
977
558
|
} | undefined;
|
|
978
559
|
children?: (string | undefined)[] | undefined;
|
|
979
560
|
openapi?: string | undefined;
|
|
@@ -1018,33 +599,6 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1018
599
|
servers?: (string | undefined)[] | undefined;
|
|
1019
600
|
requests?: (string | undefined)[] | undefined;
|
|
1020
601
|
tags?: (string | undefined)[] | undefined;
|
|
1021
|
-
auth?: Record<string | undefined, {
|
|
1022
|
-
type?: "apiKey" | undefined;
|
|
1023
|
-
value?: string | undefined;
|
|
1024
|
-
name?: string | undefined;
|
|
1025
|
-
} | {
|
|
1026
|
-
type?: "http" | undefined;
|
|
1027
|
-
username?: string | undefined;
|
|
1028
|
-
password?: string | undefined;
|
|
1029
|
-
token?: string | undefined;
|
|
1030
|
-
} | {
|
|
1031
|
-
type?: "oauth-implicit" | undefined;
|
|
1032
|
-
token?: string | undefined;
|
|
1033
|
-
} | {
|
|
1034
|
-
type?: "oauth-password" | undefined;
|
|
1035
|
-
username?: string | undefined;
|
|
1036
|
-
password?: string | undefined;
|
|
1037
|
-
token?: string | undefined;
|
|
1038
|
-
clientSecret?: string | undefined;
|
|
1039
|
-
} | {
|
|
1040
|
-
type?: "oauth-clientCredentials" | undefined;
|
|
1041
|
-
token?: string | undefined;
|
|
1042
|
-
clientSecret?: string | undefined;
|
|
1043
|
-
} | {
|
|
1044
|
-
type?: "oauth-authorizationCode" | undefined;
|
|
1045
|
-
token?: string | undefined;
|
|
1046
|
-
clientSecret?: string | undefined;
|
|
1047
|
-
}> | undefined;
|
|
1048
602
|
documentUrl?: string | undefined;
|
|
1049
603
|
watchMode?: boolean | undefined;
|
|
1050
604
|
integration?: string | null | undefined;
|
|
@@ -1101,33 +655,6 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1101
655
|
servers?: (string | undefined)[] | undefined;
|
|
1102
656
|
requests?: (string | undefined)[] | undefined;
|
|
1103
657
|
tags?: (string | undefined)[] | undefined;
|
|
1104
|
-
auth?: Record<string | undefined, {
|
|
1105
|
-
type?: "apiKey" | undefined;
|
|
1106
|
-
value?: string | undefined;
|
|
1107
|
-
name?: string | undefined;
|
|
1108
|
-
} | {
|
|
1109
|
-
type?: "http" | undefined;
|
|
1110
|
-
username?: string | undefined;
|
|
1111
|
-
password?: string | undefined;
|
|
1112
|
-
token?: string | undefined;
|
|
1113
|
-
} | {
|
|
1114
|
-
type?: "oauth-implicit" | undefined;
|
|
1115
|
-
token?: string | undefined;
|
|
1116
|
-
} | {
|
|
1117
|
-
type?: "oauth-password" | undefined;
|
|
1118
|
-
username?: string | undefined;
|
|
1119
|
-
password?: string | undefined;
|
|
1120
|
-
token?: string | undefined;
|
|
1121
|
-
clientSecret?: string | undefined;
|
|
1122
|
-
} | {
|
|
1123
|
-
type?: "oauth-clientCredentials" | undefined;
|
|
1124
|
-
token?: string | undefined;
|
|
1125
|
-
clientSecret?: string | undefined;
|
|
1126
|
-
} | {
|
|
1127
|
-
type?: "oauth-authorizationCode" | undefined;
|
|
1128
|
-
token?: string | undefined;
|
|
1129
|
-
clientSecret?: string | undefined;
|
|
1130
|
-
}> | undefined;
|
|
1131
658
|
documentUrl?: string | undefined;
|
|
1132
659
|
watchMode?: boolean | undefined;
|
|
1133
660
|
integration?: string | null | undefined;
|
|
@@ -1147,33 +674,6 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1147
674
|
servers: string[];
|
|
1148
675
|
requests: string[];
|
|
1149
676
|
tags: string[];
|
|
1150
|
-
auth: Record<string, {
|
|
1151
|
-
type: "apiKey";
|
|
1152
|
-
value: string;
|
|
1153
|
-
name: string;
|
|
1154
|
-
} | {
|
|
1155
|
-
type: "http";
|
|
1156
|
-
username: string;
|
|
1157
|
-
password: string;
|
|
1158
|
-
token: string;
|
|
1159
|
-
} | {
|
|
1160
|
-
type: "oauth-implicit";
|
|
1161
|
-
token: string;
|
|
1162
|
-
} | {
|
|
1163
|
-
type: "oauth-password";
|
|
1164
|
-
username: string;
|
|
1165
|
-
password: string;
|
|
1166
|
-
token: string;
|
|
1167
|
-
clientSecret: string;
|
|
1168
|
-
} | {
|
|
1169
|
-
type: "oauth-clientCredentials";
|
|
1170
|
-
token: string;
|
|
1171
|
-
clientSecret: string;
|
|
1172
|
-
} | {
|
|
1173
|
-
type: "oauth-authorizationCode";
|
|
1174
|
-
token: string;
|
|
1175
|
-
clientSecret: string;
|
|
1176
|
-
}>;
|
|
1177
677
|
watchMode: boolean;
|
|
1178
678
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1179
679
|
externalDocs?: {
|
|
@@ -1244,7 +744,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1244
744
|
partitioned?: boolean | undefined;
|
|
1245
745
|
secure?: boolean | undefined;
|
|
1246
746
|
}) => void;
|
|
1247
|
-
edit: <P extends "name" | "
|
|
747
|
+
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" ? {
|
|
1248
748
|
value: string;
|
|
1249
749
|
uid: string;
|
|
1250
750
|
name: string;
|
|
@@ -1256,7 +756,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1256
756
|
maxAge?: number | undefined;
|
|
1257
757
|
partitioned?: boolean | undefined;
|
|
1258
758
|
secure?: boolean | undefined;
|
|
1259
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "
|
|
759
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "path" | "value" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? R extends Path<{
|
|
1260
760
|
value: string;
|
|
1261
761
|
uid: string;
|
|
1262
762
|
name: string;
|
|
@@ -1281,7 +781,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1281
781
|
partitioned?: boolean | undefined;
|
|
1282
782
|
secure?: boolean | undefined;
|
|
1283
783
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1284
|
-
untrackedEdit: <P extends "name" | "
|
|
784
|
+
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" ? {
|
|
1285
785
|
value: string;
|
|
1286
786
|
uid: string;
|
|
1287
787
|
name: string;
|
|
@@ -1293,7 +793,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1293
793
|
maxAge?: number | undefined;
|
|
1294
794
|
partitioned?: boolean | undefined;
|
|
1295
795
|
secure?: boolean | undefined;
|
|
1296
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "
|
|
796
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "path" | "value" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? R extends Path<{
|
|
1297
797
|
value: string;
|
|
1298
798
|
uid: string;
|
|
1299
799
|
name: string;
|
|
@@ -1336,33 +836,6 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1336
836
|
servers: string[];
|
|
1337
837
|
requests: string[];
|
|
1338
838
|
tags: string[];
|
|
1339
|
-
auth: Record<string, {
|
|
1340
|
-
type: "apiKey";
|
|
1341
|
-
value: string;
|
|
1342
|
-
name: string;
|
|
1343
|
-
} | {
|
|
1344
|
-
type: "http";
|
|
1345
|
-
username: string;
|
|
1346
|
-
password: string;
|
|
1347
|
-
token: string;
|
|
1348
|
-
} | {
|
|
1349
|
-
type: "oauth-implicit";
|
|
1350
|
-
token: string;
|
|
1351
|
-
} | {
|
|
1352
|
-
type: "oauth-password";
|
|
1353
|
-
username: string;
|
|
1354
|
-
password: string;
|
|
1355
|
-
token: string;
|
|
1356
|
-
clientSecret: string;
|
|
1357
|
-
} | {
|
|
1358
|
-
type: "oauth-clientCredentials";
|
|
1359
|
-
token: string;
|
|
1360
|
-
clientSecret: string;
|
|
1361
|
-
} | {
|
|
1362
|
-
type: "oauth-authorizationCode";
|
|
1363
|
-
token: string;
|
|
1364
|
-
clientSecret: string;
|
|
1365
|
-
}>;
|
|
1366
839
|
watchMode: boolean;
|
|
1367
840
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1368
841
|
externalDocs?: {
|
|
@@ -1418,33 +891,6 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1418
891
|
servers: string[];
|
|
1419
892
|
requests: string[];
|
|
1420
893
|
tags: string[];
|
|
1421
|
-
auth: Record<string, {
|
|
1422
|
-
type: "apiKey";
|
|
1423
|
-
value: string;
|
|
1424
|
-
name: string;
|
|
1425
|
-
} | {
|
|
1426
|
-
type: "http";
|
|
1427
|
-
username: string;
|
|
1428
|
-
password: string;
|
|
1429
|
-
token: string;
|
|
1430
|
-
} | {
|
|
1431
|
-
type: "oauth-implicit";
|
|
1432
|
-
token: string;
|
|
1433
|
-
} | {
|
|
1434
|
-
type: "oauth-password";
|
|
1435
|
-
username: string;
|
|
1436
|
-
password: string;
|
|
1437
|
-
token: string;
|
|
1438
|
-
clientSecret: string;
|
|
1439
|
-
} | {
|
|
1440
|
-
type: "oauth-clientCredentials";
|
|
1441
|
-
token: string;
|
|
1442
|
-
clientSecret: string;
|
|
1443
|
-
} | {
|
|
1444
|
-
type: "oauth-authorizationCode";
|
|
1445
|
-
token: string;
|
|
1446
|
-
clientSecret: string;
|
|
1447
|
-
}>;
|
|
1448
894
|
watchMode: boolean;
|
|
1449
895
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1450
896
|
externalDocs?: {
|
|
@@ -1487,7 +933,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1487
933
|
documentUrl?: string | undefined;
|
|
1488
934
|
integration?: string | null | undefined;
|
|
1489
935
|
};
|
|
1490
|
-
delete: (collection: Collection, workspace: import("@scalar/oas-utils/entities").Workspace) => void;
|
|
936
|
+
delete: (collection: import("@scalar/oas-utils/entities/spec").Collection, workspace: import("@scalar/oas-utils/entities").Workspace) => void;
|
|
1491
937
|
set: (item: {
|
|
1492
938
|
type: "collection";
|
|
1493
939
|
uid: string;
|
|
@@ -1501,33 +947,6 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1501
947
|
servers: string[];
|
|
1502
948
|
requests: string[];
|
|
1503
949
|
tags: string[];
|
|
1504
|
-
auth: Record<string, {
|
|
1505
|
-
type: "apiKey";
|
|
1506
|
-
value: string;
|
|
1507
|
-
name: string;
|
|
1508
|
-
} | {
|
|
1509
|
-
type: "http";
|
|
1510
|
-
username: string;
|
|
1511
|
-
password: string;
|
|
1512
|
-
token: string;
|
|
1513
|
-
} | {
|
|
1514
|
-
type: "oauth-implicit";
|
|
1515
|
-
token: string;
|
|
1516
|
-
} | {
|
|
1517
|
-
type: "oauth-password";
|
|
1518
|
-
username: string;
|
|
1519
|
-
password: string;
|
|
1520
|
-
token: string;
|
|
1521
|
-
clientSecret: string;
|
|
1522
|
-
} | {
|
|
1523
|
-
type: "oauth-clientCredentials";
|
|
1524
|
-
token: string;
|
|
1525
|
-
clientSecret: string;
|
|
1526
|
-
} | {
|
|
1527
|
-
type: "oauth-authorizationCode";
|
|
1528
|
-
token: string;
|
|
1529
|
-
clientSecret: string;
|
|
1530
|
-
}>;
|
|
1531
950
|
watchMode: boolean;
|
|
1532
951
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1533
952
|
externalDocs?: {
|
|
@@ -1570,7 +989,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1570
989
|
documentUrl?: string | undefined;
|
|
1571
990
|
integration?: string | null | undefined;
|
|
1572
991
|
}) => void;
|
|
1573
|
-
edit: <P extends "
|
|
992
|
+
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" ? {
|
|
1574
993
|
type: "collection";
|
|
1575
994
|
uid: string;
|
|
1576
995
|
children: string[];
|
|
@@ -1583,33 +1002,6 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1583
1002
|
servers: string[];
|
|
1584
1003
|
requests: string[];
|
|
1585
1004
|
tags: string[];
|
|
1586
|
-
auth: Record<string, {
|
|
1587
|
-
type: "apiKey";
|
|
1588
|
-
value: string;
|
|
1589
|
-
name: string;
|
|
1590
|
-
} | {
|
|
1591
|
-
type: "http";
|
|
1592
|
-
username: string;
|
|
1593
|
-
password: string;
|
|
1594
|
-
token: string;
|
|
1595
|
-
} | {
|
|
1596
|
-
type: "oauth-implicit";
|
|
1597
|
-
token: string;
|
|
1598
|
-
} | {
|
|
1599
|
-
type: "oauth-password";
|
|
1600
|
-
username: string;
|
|
1601
|
-
password: string;
|
|
1602
|
-
token: string;
|
|
1603
|
-
clientSecret: string;
|
|
1604
|
-
} | {
|
|
1605
|
-
type: "oauth-clientCredentials";
|
|
1606
|
-
token: string;
|
|
1607
|
-
clientSecret: string;
|
|
1608
|
-
} | {
|
|
1609
|
-
type: "oauth-authorizationCode";
|
|
1610
|
-
token: string;
|
|
1611
|
-
clientSecret: string;
|
|
1612
|
-
}>;
|
|
1613
1005
|
watchMode: boolean;
|
|
1614
1006
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1615
1007
|
externalDocs?: {
|
|
@@ -1651,7 +1043,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1651
1043
|
}> | undefined;
|
|
1652
1044
|
documentUrl?: string | undefined;
|
|
1653
1045
|
integration?: string | null | undefined;
|
|
1654
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
1046
|
+
}[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 Path<{
|
|
1655
1047
|
type: "collection";
|
|
1656
1048
|
uid: string;
|
|
1657
1049
|
children: string[];
|
|
@@ -1664,33 +1056,6 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1664
1056
|
servers: string[];
|
|
1665
1057
|
requests: string[];
|
|
1666
1058
|
tags: string[];
|
|
1667
|
-
auth: Record<string, {
|
|
1668
|
-
type: "apiKey";
|
|
1669
|
-
value: string;
|
|
1670
|
-
name: string;
|
|
1671
|
-
} | {
|
|
1672
|
-
type: "http";
|
|
1673
|
-
username: string;
|
|
1674
|
-
password: string;
|
|
1675
|
-
token: string;
|
|
1676
|
-
} | {
|
|
1677
|
-
type: "oauth-implicit";
|
|
1678
|
-
token: string;
|
|
1679
|
-
} | {
|
|
1680
|
-
type: "oauth-password";
|
|
1681
|
-
username: string;
|
|
1682
|
-
password: string;
|
|
1683
|
-
token: string;
|
|
1684
|
-
clientSecret: string;
|
|
1685
|
-
} | {
|
|
1686
|
-
type: "oauth-clientCredentials";
|
|
1687
|
-
token: string;
|
|
1688
|
-
clientSecret: string;
|
|
1689
|
-
} | {
|
|
1690
|
-
type: "oauth-authorizationCode";
|
|
1691
|
-
token: string;
|
|
1692
|
-
clientSecret: string;
|
|
1693
|
-
}>;
|
|
1694
1059
|
watchMode: boolean;
|
|
1695
1060
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1696
1061
|
externalDocs?: {
|
|
@@ -1745,33 +1110,6 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1745
1110
|
servers: string[];
|
|
1746
1111
|
requests: string[];
|
|
1747
1112
|
tags: string[];
|
|
1748
|
-
auth: Record<string, {
|
|
1749
|
-
type: "apiKey";
|
|
1750
|
-
value: string;
|
|
1751
|
-
name: string;
|
|
1752
|
-
} | {
|
|
1753
|
-
type: "http";
|
|
1754
|
-
username: string;
|
|
1755
|
-
password: string;
|
|
1756
|
-
token: string;
|
|
1757
|
-
} | {
|
|
1758
|
-
type: "oauth-implicit";
|
|
1759
|
-
token: string;
|
|
1760
|
-
} | {
|
|
1761
|
-
type: "oauth-password";
|
|
1762
|
-
username: string;
|
|
1763
|
-
password: string;
|
|
1764
|
-
token: string;
|
|
1765
|
-
clientSecret: string;
|
|
1766
|
-
} | {
|
|
1767
|
-
type: "oauth-clientCredentials";
|
|
1768
|
-
token: string;
|
|
1769
|
-
clientSecret: string;
|
|
1770
|
-
} | {
|
|
1771
|
-
type: "oauth-authorizationCode";
|
|
1772
|
-
token: string;
|
|
1773
|
-
clientSecret: string;
|
|
1774
|
-
}>;
|
|
1775
1113
|
watchMode: boolean;
|
|
1776
1114
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1777
1115
|
externalDocs?: {
|
|
@@ -1814,7 +1152,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1814
1152
|
documentUrl?: string | undefined;
|
|
1815
1153
|
integration?: string | null | undefined;
|
|
1816
1154
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1817
|
-
untrackedEdit: <P extends "
|
|
1155
|
+
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" ? {
|
|
1818
1156
|
type: "collection";
|
|
1819
1157
|
uid: string;
|
|
1820
1158
|
children: string[];
|
|
@@ -1827,33 +1165,6 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1827
1165
|
servers: string[];
|
|
1828
1166
|
requests: string[];
|
|
1829
1167
|
tags: string[];
|
|
1830
|
-
auth: Record<string, {
|
|
1831
|
-
type: "apiKey";
|
|
1832
|
-
value: string;
|
|
1833
|
-
name: string;
|
|
1834
|
-
} | {
|
|
1835
|
-
type: "http";
|
|
1836
|
-
username: string;
|
|
1837
|
-
password: string;
|
|
1838
|
-
token: string;
|
|
1839
|
-
} | {
|
|
1840
|
-
type: "oauth-implicit";
|
|
1841
|
-
token: string;
|
|
1842
|
-
} | {
|
|
1843
|
-
type: "oauth-password";
|
|
1844
|
-
username: string;
|
|
1845
|
-
password: string;
|
|
1846
|
-
token: string;
|
|
1847
|
-
clientSecret: string;
|
|
1848
|
-
} | {
|
|
1849
|
-
type: "oauth-clientCredentials";
|
|
1850
|
-
token: string;
|
|
1851
|
-
clientSecret: string;
|
|
1852
|
-
} | {
|
|
1853
|
-
type: "oauth-authorizationCode";
|
|
1854
|
-
token: string;
|
|
1855
|
-
clientSecret: string;
|
|
1856
|
-
}>;
|
|
1857
1168
|
watchMode: boolean;
|
|
1858
1169
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1859
1170
|
externalDocs?: {
|
|
@@ -1895,7 +1206,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1895
1206
|
}> | undefined;
|
|
1896
1207
|
documentUrl?: string | undefined;
|
|
1897
1208
|
integration?: string | null | undefined;
|
|
1898
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
1209
|
+
}[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 Path<{
|
|
1899
1210
|
type: "collection";
|
|
1900
1211
|
uid: string;
|
|
1901
1212
|
children: string[];
|
|
@@ -1908,33 +1219,6 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1908
1219
|
servers: string[];
|
|
1909
1220
|
requests: string[];
|
|
1910
1221
|
tags: string[];
|
|
1911
|
-
auth: Record<string, {
|
|
1912
|
-
type: "apiKey";
|
|
1913
|
-
value: string;
|
|
1914
|
-
name: string;
|
|
1915
|
-
} | {
|
|
1916
|
-
type: "http";
|
|
1917
|
-
username: string;
|
|
1918
|
-
password: string;
|
|
1919
|
-
token: string;
|
|
1920
|
-
} | {
|
|
1921
|
-
type: "oauth-implicit";
|
|
1922
|
-
token: string;
|
|
1923
|
-
} | {
|
|
1924
|
-
type: "oauth-password";
|
|
1925
|
-
username: string;
|
|
1926
|
-
password: string;
|
|
1927
|
-
token: string;
|
|
1928
|
-
clientSecret: string;
|
|
1929
|
-
} | {
|
|
1930
|
-
type: "oauth-clientCredentials";
|
|
1931
|
-
token: string;
|
|
1932
|
-
clientSecret: string;
|
|
1933
|
-
} | {
|
|
1934
|
-
type: "oauth-authorizationCode";
|
|
1935
|
-
token: string;
|
|
1936
|
-
clientSecret: string;
|
|
1937
|
-
}>;
|
|
1938
1222
|
watchMode: boolean;
|
|
1939
1223
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1940
1224
|
externalDocs?: {
|
|
@@ -1989,33 +1273,6 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1989
1273
|
servers: string[];
|
|
1990
1274
|
requests: string[];
|
|
1991
1275
|
tags: string[];
|
|
1992
|
-
auth: Record<string, {
|
|
1993
|
-
type: "apiKey";
|
|
1994
|
-
value: string;
|
|
1995
|
-
name: string;
|
|
1996
|
-
} | {
|
|
1997
|
-
type: "http";
|
|
1998
|
-
username: string;
|
|
1999
|
-
password: string;
|
|
2000
|
-
token: string;
|
|
2001
|
-
} | {
|
|
2002
|
-
type: "oauth-implicit";
|
|
2003
|
-
token: string;
|
|
2004
|
-
} | {
|
|
2005
|
-
type: "oauth-password";
|
|
2006
|
-
username: string;
|
|
2007
|
-
password: string;
|
|
2008
|
-
token: string;
|
|
2009
|
-
clientSecret: string;
|
|
2010
|
-
} | {
|
|
2011
|
-
type: "oauth-clientCredentials";
|
|
2012
|
-
token: string;
|
|
2013
|
-
clientSecret: string;
|
|
2014
|
-
} | {
|
|
2015
|
-
type: "oauth-authorizationCode";
|
|
2016
|
-
token: string;
|
|
2017
|
-
clientSecret: string;
|
|
2018
|
-
}>;
|
|
2019
1276
|
watchMode: boolean;
|
|
2020
1277
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
2021
1278
|
externalDocs?: {
|
|
@@ -2078,13 +1335,13 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2078
1335
|
color: string;
|
|
2079
1336
|
isDefault?: boolean | undefined;
|
|
2080
1337
|
}) => void;
|
|
2081
|
-
edit: <P extends "name" | "
|
|
1338
|
+
edit: <P extends "name" | "uid" | "value" | "color" | "isDefault">(uid: string, path: P, value: P extends "name" | "uid" | "value" | "color" | "isDefault" ? {
|
|
2082
1339
|
value: string;
|
|
2083
1340
|
uid: string;
|
|
2084
1341
|
name: string;
|
|
2085
1342
|
color: string;
|
|
2086
1343
|
isDefault?: boolean | undefined;
|
|
2087
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "
|
|
1344
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "value" | "color" | "isDefault" ? R extends Path<{
|
|
2088
1345
|
value: string;
|
|
2089
1346
|
uid: string;
|
|
2090
1347
|
name: string;
|
|
@@ -2097,13 +1354,13 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2097
1354
|
color: string;
|
|
2098
1355
|
isDefault?: boolean | undefined;
|
|
2099
1356
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2100
|
-
untrackedEdit: <P extends "name" | "
|
|
1357
|
+
untrackedEdit: <P extends "name" | "uid" | "value" | "color" | "isDefault">(uid: string, path: P, value: P extends "name" | "uid" | "value" | "color" | "isDefault" ? {
|
|
2101
1358
|
value: string;
|
|
2102
1359
|
uid: string;
|
|
2103
1360
|
name: string;
|
|
2104
1361
|
color: string;
|
|
2105
1362
|
isDefault?: boolean | undefined;
|
|
2106
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "
|
|
1363
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "value" | "color" | "isDefault" ? R extends Path<{
|
|
2107
1364
|
value: string;
|
|
2108
1365
|
uid: string;
|
|
2109
1366
|
name: string;
|
|
@@ -2129,7 +1386,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2129
1386
|
selectedServerUid: string;
|
|
2130
1387
|
servers: string[];
|
|
2131
1388
|
examples: string[];
|
|
2132
|
-
method: "options" | "
|
|
1389
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2133
1390
|
description?: string | undefined;
|
|
2134
1391
|
summary?: string | undefined;
|
|
2135
1392
|
externalDocs?: {
|
|
@@ -2166,7 +1423,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2166
1423
|
selectedServerUid: string;
|
|
2167
1424
|
servers: string[];
|
|
2168
1425
|
examples: string[];
|
|
2169
|
-
method: "options" | "
|
|
1426
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2170
1427
|
description?: string | undefined;
|
|
2171
1428
|
summary?: string | undefined;
|
|
2172
1429
|
externalDocs?: {
|
|
@@ -2204,7 +1461,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2204
1461
|
selectedServerUid: string;
|
|
2205
1462
|
servers: string[];
|
|
2206
1463
|
examples: string[];
|
|
2207
|
-
method: "options" | "
|
|
1464
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2208
1465
|
description?: string | undefined;
|
|
2209
1466
|
summary?: string | undefined;
|
|
2210
1467
|
externalDocs?: {
|
|
@@ -2233,7 +1490,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2233
1490
|
requestBody?: any;
|
|
2234
1491
|
responses?: Record<string, any> | undefined;
|
|
2235
1492
|
}) => void;
|
|
2236
|
-
edit: <P extends "
|
|
1493
|
+
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" ? {
|
|
2237
1494
|
path: string;
|
|
2238
1495
|
type: "request";
|
|
2239
1496
|
uid: string;
|
|
@@ -2241,7 +1498,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2241
1498
|
selectedServerUid: string;
|
|
2242
1499
|
servers: string[];
|
|
2243
1500
|
examples: string[];
|
|
2244
|
-
method: "options" | "
|
|
1501
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2245
1502
|
description?: string | undefined;
|
|
2246
1503
|
summary?: string | undefined;
|
|
2247
1504
|
externalDocs?: {
|
|
@@ -2269,7 +1526,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2269
1526
|
}[] | undefined;
|
|
2270
1527
|
requestBody?: any;
|
|
2271
1528
|
responses?: Record<string, any> | undefined;
|
|
2272
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
1529
|
+
}[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 Path<{
|
|
2273
1530
|
path: string;
|
|
2274
1531
|
type: "request";
|
|
2275
1532
|
uid: string;
|
|
@@ -2277,7 +1534,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2277
1534
|
selectedServerUid: string;
|
|
2278
1535
|
servers: string[];
|
|
2279
1536
|
examples: string[];
|
|
2280
|
-
method: "options" | "
|
|
1537
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2281
1538
|
description?: string | undefined;
|
|
2282
1539
|
summary?: string | undefined;
|
|
2283
1540
|
externalDocs?: {
|
|
@@ -2313,7 +1570,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2313
1570
|
selectedServerUid: string;
|
|
2314
1571
|
servers: string[];
|
|
2315
1572
|
examples: string[];
|
|
2316
|
-
method: "options" | "
|
|
1573
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2317
1574
|
description?: string | undefined;
|
|
2318
1575
|
summary?: string | undefined;
|
|
2319
1576
|
externalDocs?: {
|
|
@@ -2342,7 +1599,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2342
1599
|
requestBody?: any;
|
|
2343
1600
|
responses?: Record<string, any> | undefined;
|
|
2344
1601
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2345
|
-
untrackedEdit: <P extends "
|
|
1602
|
+
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" ? {
|
|
2346
1603
|
path: string;
|
|
2347
1604
|
type: "request";
|
|
2348
1605
|
uid: string;
|
|
@@ -2350,7 +1607,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2350
1607
|
selectedServerUid: string;
|
|
2351
1608
|
servers: string[];
|
|
2352
1609
|
examples: string[];
|
|
2353
|
-
method: "options" | "
|
|
1610
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2354
1611
|
description?: string | undefined;
|
|
2355
1612
|
summary?: string | undefined;
|
|
2356
1613
|
externalDocs?: {
|
|
@@ -2378,7 +1635,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2378
1635
|
}[] | undefined;
|
|
2379
1636
|
requestBody?: any;
|
|
2380
1637
|
responses?: Record<string, any> | undefined;
|
|
2381
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
1638
|
+
}[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 Path<{
|
|
2382
1639
|
path: string;
|
|
2383
1640
|
type: "request";
|
|
2384
1641
|
uid: string;
|
|
@@ -2386,7 +1643,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2386
1643
|
selectedServerUid: string;
|
|
2387
1644
|
servers: string[];
|
|
2388
1645
|
examples: string[];
|
|
2389
|
-
method: "options" | "
|
|
1646
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2390
1647
|
description?: string | undefined;
|
|
2391
1648
|
summary?: string | undefined;
|
|
2392
1649
|
externalDocs?: {
|
|
@@ -2422,7 +1679,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2422
1679
|
selectedServerUid: string;
|
|
2423
1680
|
servers: string[];
|
|
2424
1681
|
examples: string[];
|
|
2425
|
-
method: "options" | "
|
|
1682
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2426
1683
|
description?: string | undefined;
|
|
2427
1684
|
summary?: string | undefined;
|
|
2428
1685
|
externalDocs?: {
|
|
@@ -2743,7 +2000,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2743
2000
|
};
|
|
2744
2001
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2745
2002
|
}) => void;
|
|
2746
|
-
edit: <P extends "
|
|
2003
|
+
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" ? {
|
|
2747
2004
|
type: "requestExample";
|
|
2748
2005
|
uid: string;
|
|
2749
2006
|
name: string;
|
|
@@ -2837,7 +2094,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2837
2094
|
}[];
|
|
2838
2095
|
};
|
|
2839
2096
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2840
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
2097
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" ? R extends Path<{
|
|
2841
2098
|
type: "requestExample";
|
|
2842
2099
|
uid: string;
|
|
2843
2100
|
name: string;
|
|
@@ -3026,7 +2283,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3026
2283
|
};
|
|
3027
2284
|
serverVariables?: Record<string, string[]> | undefined;
|
|
3028
2285
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3029
|
-
untrackedEdit: <P extends "
|
|
2286
|
+
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" ? {
|
|
3030
2287
|
type: "requestExample";
|
|
3031
2288
|
uid: string;
|
|
3032
2289
|
name: string;
|
|
@@ -3120,7 +2377,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3120
2377
|
}[];
|
|
3121
2378
|
};
|
|
3122
2379
|
serverVariables?: Record<string, string[]> | undefined;
|
|
3123
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
2380
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" ? R extends Path<{
|
|
3124
2381
|
type: "requestExample";
|
|
3125
2382
|
uid: string;
|
|
3126
2383
|
name: string;
|
|
@@ -3317,10 +2574,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3317
2574
|
securitySchemeMutators: {
|
|
3318
2575
|
rawAdd: (item: {
|
|
3319
2576
|
type: "apiKey";
|
|
2577
|
+
value: string;
|
|
3320
2578
|
uid: string;
|
|
3321
2579
|
name: string;
|
|
3322
|
-
in: "query" | "header" | "cookie";
|
|
3323
2580
|
nameKey: string;
|
|
2581
|
+
in: "query" | "header" | "cookie";
|
|
3324
2582
|
description?: string | undefined;
|
|
3325
2583
|
} | {
|
|
3326
2584
|
type: "http";
|
|
@@ -3328,55 +2586,76 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3328
2586
|
nameKey: string;
|
|
3329
2587
|
scheme: "basic" | "bearer";
|
|
3330
2588
|
bearerFormat: string;
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
2589
|
+
username: string;
|
|
2590
|
+
password: string;
|
|
2591
|
+
token: string;
|
|
2592
|
+
description?: string | undefined;
|
|
2593
|
+
} | {
|
|
2594
|
+
type: "openIdConnect";
|
|
2595
|
+
uid: string;
|
|
2596
|
+
nameKey: string;
|
|
2597
|
+
openIdConnectUrl: string;
|
|
2598
|
+
description?: string | undefined;
|
|
2599
|
+
} | {
|
|
2600
|
+
type: "oauth2";
|
|
2601
|
+
uid: string;
|
|
2602
|
+
nameKey: string;
|
|
2603
|
+
flows: {
|
|
2604
|
+
password?: {
|
|
2605
|
+
type: "password";
|
|
2606
|
+
username: string;
|
|
2607
|
+
password: string;
|
|
2608
|
+
token: string;
|
|
2609
|
+
refreshUrl: string;
|
|
2610
|
+
scopes: Record<string, string>;
|
|
2611
|
+
selectedScopes: string[];
|
|
2612
|
+
"x-scalar-client-id": string;
|
|
2613
|
+
tokenUrl: string;
|
|
2614
|
+
clientSecret: string;
|
|
2615
|
+
} | undefined;
|
|
2616
|
+
implicit?: {
|
|
2617
|
+
type: "implicit";
|
|
2618
|
+
token: string;
|
|
2619
|
+
refreshUrl: string;
|
|
2620
|
+
scopes: Record<string, string>;
|
|
2621
|
+
selectedScopes: string[];
|
|
2622
|
+
"x-scalar-client-id": string;
|
|
2623
|
+
authorizationUrl: string;
|
|
2624
|
+
"x-scalar-redirect-uri": string;
|
|
2625
|
+
} | undefined;
|
|
2626
|
+
clientCredentials?: {
|
|
2627
|
+
type: "clientCredentials";
|
|
2628
|
+
token: string;
|
|
2629
|
+
refreshUrl: string;
|
|
2630
|
+
scopes: Record<string, string>;
|
|
2631
|
+
selectedScopes: string[];
|
|
2632
|
+
"x-scalar-client-id": string;
|
|
2633
|
+
tokenUrl: string;
|
|
2634
|
+
clientSecret: string;
|
|
2635
|
+
} | undefined;
|
|
2636
|
+
authorizationCode?: {
|
|
2637
|
+
type: "authorizationCode";
|
|
2638
|
+
token: string;
|
|
2639
|
+
refreshUrl: string;
|
|
2640
|
+
scopes: Record<string, string>;
|
|
2641
|
+
selectedScopes: string[];
|
|
2642
|
+
"x-scalar-client-id": string;
|
|
2643
|
+
authorizationUrl: string;
|
|
2644
|
+
"x-scalar-redirect-uri": string;
|
|
2645
|
+
tokenUrl: string;
|
|
2646
|
+
clientSecret: string;
|
|
2647
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
2648
|
+
} | undefined;
|
|
3370
2649
|
};
|
|
3371
|
-
'x-scalar-client-id': string;
|
|
3372
2650
|
description?: string | undefined;
|
|
3373
2651
|
}) => void;
|
|
3374
2652
|
add: (payload: import("@scalar/oas-utils/entities/spec").SecuritySchemePayload, collectionUid: string) => {
|
|
3375
2653
|
type: "apiKey";
|
|
2654
|
+
value: string;
|
|
3376
2655
|
uid: string;
|
|
3377
2656
|
name: string;
|
|
3378
|
-
in: "query" | "header" | "cookie";
|
|
3379
2657
|
nameKey: string;
|
|
2658
|
+
in: "query" | "header" | "cookie";
|
|
3380
2659
|
description?: string | undefined;
|
|
3381
2660
|
} | {
|
|
3382
2661
|
type: "http";
|
|
@@ -3384,6 +2663,9 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3384
2663
|
nameKey: string;
|
|
3385
2664
|
scheme: "basic" | "bearer";
|
|
3386
2665
|
bearerFormat: string;
|
|
2666
|
+
username: string;
|
|
2667
|
+
password: string;
|
|
2668
|
+
token: string;
|
|
3387
2669
|
description?: string | undefined;
|
|
3388
2670
|
} | {
|
|
3389
2671
|
type: "openIdConnect";
|
|
@@ -3395,45 +2677,63 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3395
2677
|
type: "oauth2";
|
|
3396
2678
|
uid: string;
|
|
3397
2679
|
nameKey: string;
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
2680
|
+
flows: {
|
|
2681
|
+
password?: {
|
|
2682
|
+
type: "password";
|
|
2683
|
+
username: string;
|
|
2684
|
+
password: string;
|
|
2685
|
+
token: string;
|
|
2686
|
+
refreshUrl: string;
|
|
2687
|
+
scopes: Record<string, string>;
|
|
2688
|
+
selectedScopes: string[];
|
|
2689
|
+
"x-scalar-client-id": string;
|
|
2690
|
+
tokenUrl: string;
|
|
2691
|
+
clientSecret: string;
|
|
2692
|
+
} | undefined;
|
|
2693
|
+
implicit?: {
|
|
2694
|
+
type: "implicit";
|
|
2695
|
+
token: string;
|
|
2696
|
+
refreshUrl: string;
|
|
2697
|
+
scopes: Record<string, string>;
|
|
2698
|
+
selectedScopes: string[];
|
|
2699
|
+
"x-scalar-client-id": string;
|
|
2700
|
+
authorizationUrl: string;
|
|
2701
|
+
"x-scalar-redirect-uri": string;
|
|
2702
|
+
} | undefined;
|
|
2703
|
+
clientCredentials?: {
|
|
2704
|
+
type: "clientCredentials";
|
|
2705
|
+
token: string;
|
|
2706
|
+
refreshUrl: string;
|
|
2707
|
+
scopes: Record<string, string>;
|
|
2708
|
+
selectedScopes: string[];
|
|
2709
|
+
"x-scalar-client-id": string;
|
|
2710
|
+
tokenUrl: string;
|
|
2711
|
+
clientSecret: string;
|
|
2712
|
+
} | undefined;
|
|
2713
|
+
authorizationCode?: {
|
|
2714
|
+
type: "authorizationCode";
|
|
2715
|
+
token: string;
|
|
2716
|
+
refreshUrl: string;
|
|
2717
|
+
scopes: Record<string, string>;
|
|
2718
|
+
selectedScopes: string[];
|
|
2719
|
+
"x-scalar-client-id": string;
|
|
2720
|
+
authorizationUrl: string;
|
|
2721
|
+
"x-scalar-redirect-uri": string;
|
|
2722
|
+
tokenUrl: string;
|
|
2723
|
+
clientSecret: string;
|
|
2724
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
2725
|
+
} | undefined;
|
|
3426
2726
|
};
|
|
3427
|
-
'x-scalar-client-id': string;
|
|
3428
2727
|
description?: string | undefined;
|
|
3429
|
-
}
|
|
2728
|
+
};
|
|
3430
2729
|
delete: (schemeUid: string) => void;
|
|
3431
2730
|
set: (item: {
|
|
3432
2731
|
type: "apiKey";
|
|
2732
|
+
value: string;
|
|
3433
2733
|
uid: string;
|
|
3434
2734
|
name: string;
|
|
3435
|
-
in: "query" | "header" | "cookie";
|
|
3436
2735
|
nameKey: string;
|
|
2736
|
+
in: "query" | "header" | "cookie";
|
|
3437
2737
|
description?: string | undefined;
|
|
3438
2738
|
} | {
|
|
3439
2739
|
type: "http";
|
|
@@ -3441,6 +2741,9 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3441
2741
|
nameKey: string;
|
|
3442
2742
|
scheme: "basic" | "bearer";
|
|
3443
2743
|
bearerFormat: string;
|
|
2744
|
+
username: string;
|
|
2745
|
+
password: string;
|
|
2746
|
+
token: string;
|
|
3444
2747
|
description?: string | undefined;
|
|
3445
2748
|
} | {
|
|
3446
2749
|
type: "openIdConnect";
|
|
@@ -3452,72 +2755,98 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3452
2755
|
type: "oauth2";
|
|
3453
2756
|
uid: string;
|
|
3454
2757
|
nameKey: string;
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
2758
|
+
flows: {
|
|
2759
|
+
password?: {
|
|
2760
|
+
type: "password";
|
|
2761
|
+
username: string;
|
|
2762
|
+
password: string;
|
|
2763
|
+
token: string;
|
|
2764
|
+
refreshUrl: string;
|
|
2765
|
+
scopes: Record<string, string>;
|
|
2766
|
+
selectedScopes: string[];
|
|
2767
|
+
"x-scalar-client-id": string;
|
|
2768
|
+
tokenUrl: string;
|
|
2769
|
+
clientSecret: string;
|
|
2770
|
+
} | undefined;
|
|
2771
|
+
implicit?: {
|
|
2772
|
+
type: "implicit";
|
|
2773
|
+
token: string;
|
|
2774
|
+
refreshUrl: string;
|
|
2775
|
+
scopes: Record<string, string>;
|
|
2776
|
+
selectedScopes: string[];
|
|
2777
|
+
"x-scalar-client-id": string;
|
|
2778
|
+
authorizationUrl: string;
|
|
2779
|
+
"x-scalar-redirect-uri": string;
|
|
2780
|
+
} | undefined;
|
|
2781
|
+
clientCredentials?: {
|
|
2782
|
+
type: "clientCredentials";
|
|
2783
|
+
token: string;
|
|
2784
|
+
refreshUrl: string;
|
|
2785
|
+
scopes: Record<string, string>;
|
|
2786
|
+
selectedScopes: string[];
|
|
2787
|
+
"x-scalar-client-id": string;
|
|
2788
|
+
tokenUrl: string;
|
|
2789
|
+
clientSecret: string;
|
|
2790
|
+
} | undefined;
|
|
2791
|
+
authorizationCode?: {
|
|
2792
|
+
type: "authorizationCode";
|
|
2793
|
+
token: string;
|
|
2794
|
+
refreshUrl: string;
|
|
2795
|
+
scopes: Record<string, string>;
|
|
2796
|
+
selectedScopes: string[];
|
|
2797
|
+
"x-scalar-client-id": string;
|
|
2798
|
+
authorizationUrl: string;
|
|
2799
|
+
"x-scalar-redirect-uri": string;
|
|
2800
|
+
tokenUrl: string;
|
|
2801
|
+
clientSecret: string;
|
|
2802
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
2803
|
+
} | undefined;
|
|
3483
2804
|
};
|
|
3484
|
-
'x-scalar-client-id': string;
|
|
3485
2805
|
description?: string | undefined;
|
|
3486
2806
|
}) => void;
|
|
3487
|
-
edit: <P extends "
|
|
2807
|
+
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" ? {
|
|
3488
2808
|
type: "apiKey";
|
|
2809
|
+
value: string;
|
|
3489
2810
|
uid: string;
|
|
3490
2811
|
name: string;
|
|
3491
|
-
in: "query" | "header" | "cookie";
|
|
3492
2812
|
nameKey: string;
|
|
2813
|
+
in: "query" | "header" | "cookie";
|
|
3493
2814
|
description?: string | undefined;
|
|
3494
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
2815
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "value" ? R extends Path<{
|
|
3495
2816
|
type: "apiKey";
|
|
2817
|
+
value: string;
|
|
3496
2818
|
uid: string;
|
|
3497
2819
|
name: string;
|
|
3498
|
-
in: "query" | "header" | "cookie";
|
|
3499
2820
|
nameKey: string;
|
|
2821
|
+
in: "query" | "header" | "cookie";
|
|
3500
2822
|
description?: string | undefined;
|
|
3501
2823
|
}[K]> ? PathValue<{
|
|
3502
2824
|
type: "apiKey";
|
|
2825
|
+
value: string;
|
|
3503
2826
|
uid: string;
|
|
3504
2827
|
name: string;
|
|
3505
|
-
in: "query" | "header" | "cookie";
|
|
3506
2828
|
nameKey: string;
|
|
2829
|
+
in: "query" | "header" | "cookie";
|
|
3507
2830
|
description?: string | undefined;
|
|
3508
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "type" | "
|
|
2831
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "token" | "username" ? {
|
|
3509
2832
|
type: "http";
|
|
3510
2833
|
uid: string;
|
|
3511
2834
|
nameKey: string;
|
|
3512
2835
|
scheme: "basic" | "bearer";
|
|
3513
2836
|
bearerFormat: string;
|
|
2837
|
+
username: string;
|
|
2838
|
+
password: string;
|
|
2839
|
+
token: string;
|
|
3514
2840
|
description?: string | undefined;
|
|
3515
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "
|
|
2841
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "token" | "username" ? R extends Path<{
|
|
3516
2842
|
type: "http";
|
|
3517
2843
|
uid: string;
|
|
3518
2844
|
nameKey: string;
|
|
3519
2845
|
scheme: "basic" | "bearer";
|
|
3520
2846
|
bearerFormat: string;
|
|
2847
|
+
username: string;
|
|
2848
|
+
password: string;
|
|
2849
|
+
token: string;
|
|
3521
2850
|
description?: string | undefined;
|
|
3522
2851
|
}[K]> ? PathValue<{
|
|
3523
2852
|
type: "http";
|
|
@@ -3525,14 +2854,17 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3525
2854
|
nameKey: string;
|
|
3526
2855
|
scheme: "basic" | "bearer";
|
|
3527
2856
|
bearerFormat: string;
|
|
2857
|
+
username: string;
|
|
2858
|
+
password: string;
|
|
2859
|
+
token: string;
|
|
3528
2860
|
description?: string | undefined;
|
|
3529
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "
|
|
2861
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? {
|
|
3530
2862
|
type: "openIdConnect";
|
|
3531
2863
|
uid: string;
|
|
3532
2864
|
nameKey: string;
|
|
3533
2865
|
openIdConnectUrl: string;
|
|
3534
2866
|
description?: string | undefined;
|
|
3535
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
2867
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? R extends Path<{
|
|
3536
2868
|
type: "openIdConnect";
|
|
3537
2869
|
uid: string;
|
|
3538
2870
|
nameKey: string;
|
|
@@ -3544,146 +2876,206 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3544
2876
|
nameKey: string;
|
|
3545
2877
|
openIdConnectUrl: string;
|
|
3546
2878
|
description?: string | undefined;
|
|
3547
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "
|
|
2879
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
|
|
3548
2880
|
type: "oauth2";
|
|
3549
2881
|
uid: string;
|
|
3550
2882
|
nameKey: string;
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
2883
|
+
flows: {
|
|
2884
|
+
password?: {
|
|
2885
|
+
type: "password";
|
|
2886
|
+
username: string;
|
|
2887
|
+
password: string;
|
|
2888
|
+
token: string;
|
|
2889
|
+
refreshUrl: string;
|
|
2890
|
+
scopes: Record<string, string>;
|
|
2891
|
+
selectedScopes: string[];
|
|
2892
|
+
"x-scalar-client-id": string;
|
|
2893
|
+
tokenUrl: string;
|
|
2894
|
+
clientSecret: string;
|
|
2895
|
+
} | undefined;
|
|
2896
|
+
implicit?: {
|
|
2897
|
+
type: "implicit";
|
|
2898
|
+
token: string;
|
|
2899
|
+
refreshUrl: string;
|
|
2900
|
+
scopes: Record<string, string>;
|
|
2901
|
+
selectedScopes: string[];
|
|
2902
|
+
"x-scalar-client-id": string;
|
|
2903
|
+
authorizationUrl: string;
|
|
2904
|
+
"x-scalar-redirect-uri": string;
|
|
2905
|
+
} | undefined;
|
|
2906
|
+
clientCredentials?: {
|
|
2907
|
+
type: "clientCredentials";
|
|
2908
|
+
token: string;
|
|
2909
|
+
refreshUrl: string;
|
|
2910
|
+
scopes: Record<string, string>;
|
|
2911
|
+
selectedScopes: string[];
|
|
2912
|
+
"x-scalar-client-id": string;
|
|
2913
|
+
tokenUrl: string;
|
|
2914
|
+
clientSecret: string;
|
|
2915
|
+
} | undefined;
|
|
2916
|
+
authorizationCode?: {
|
|
2917
|
+
type: "authorizationCode";
|
|
2918
|
+
token: string;
|
|
2919
|
+
refreshUrl: string;
|
|
2920
|
+
scopes: Record<string, string>;
|
|
2921
|
+
selectedScopes: string[];
|
|
2922
|
+
"x-scalar-client-id": string;
|
|
2923
|
+
authorizationUrl: string;
|
|
2924
|
+
"x-scalar-redirect-uri": string;
|
|
2925
|
+
tokenUrl: string;
|
|
2926
|
+
clientSecret: string;
|
|
2927
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
2928
|
+
} | undefined;
|
|
3579
2929
|
};
|
|
3580
|
-
'x-scalar-client-id': string;
|
|
3581
2930
|
description?: string | undefined;
|
|
3582
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
2931
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "flows" ? R extends Path<{
|
|
3583
2932
|
type: "oauth2";
|
|
3584
2933
|
uid: string;
|
|
3585
2934
|
nameKey: string;
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
2935
|
+
flows: {
|
|
2936
|
+
password?: {
|
|
2937
|
+
type: "password";
|
|
2938
|
+
username: string;
|
|
2939
|
+
password: string;
|
|
2940
|
+
token: string;
|
|
2941
|
+
refreshUrl: string;
|
|
2942
|
+
scopes: Record<string, string>;
|
|
2943
|
+
selectedScopes: string[];
|
|
2944
|
+
"x-scalar-client-id": string;
|
|
2945
|
+
tokenUrl: string;
|
|
2946
|
+
clientSecret: string;
|
|
2947
|
+
} | undefined;
|
|
2948
|
+
implicit?: {
|
|
2949
|
+
type: "implicit";
|
|
2950
|
+
token: string;
|
|
2951
|
+
refreshUrl: string;
|
|
2952
|
+
scopes: Record<string, string>;
|
|
2953
|
+
selectedScopes: string[];
|
|
2954
|
+
"x-scalar-client-id": string;
|
|
2955
|
+
authorizationUrl: string;
|
|
2956
|
+
"x-scalar-redirect-uri": string;
|
|
2957
|
+
} | undefined;
|
|
2958
|
+
clientCredentials?: {
|
|
2959
|
+
type: "clientCredentials";
|
|
2960
|
+
token: string;
|
|
2961
|
+
refreshUrl: string;
|
|
2962
|
+
scopes: Record<string, string>;
|
|
2963
|
+
selectedScopes: string[];
|
|
2964
|
+
"x-scalar-client-id": string;
|
|
2965
|
+
tokenUrl: string;
|
|
2966
|
+
clientSecret: string;
|
|
2967
|
+
} | undefined;
|
|
2968
|
+
authorizationCode?: {
|
|
2969
|
+
type: "authorizationCode";
|
|
2970
|
+
token: string;
|
|
2971
|
+
refreshUrl: string;
|
|
2972
|
+
scopes: Record<string, string>;
|
|
2973
|
+
selectedScopes: string[];
|
|
2974
|
+
"x-scalar-client-id": string;
|
|
2975
|
+
authorizationUrl: string;
|
|
2976
|
+
"x-scalar-redirect-uri": string;
|
|
2977
|
+
tokenUrl: string;
|
|
2978
|
+
clientSecret: string;
|
|
2979
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
2980
|
+
} | undefined;
|
|
3614
2981
|
};
|
|
3615
|
-
'x-scalar-client-id': string;
|
|
3616
2982
|
description?: string | undefined;
|
|
3617
2983
|
}[K]> ? PathValue<{
|
|
3618
2984
|
type: "oauth2";
|
|
3619
2985
|
uid: string;
|
|
3620
2986
|
nameKey: string;
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
2987
|
+
flows: {
|
|
2988
|
+
password?: {
|
|
2989
|
+
type: "password";
|
|
2990
|
+
username: string;
|
|
2991
|
+
password: string;
|
|
2992
|
+
token: string;
|
|
2993
|
+
refreshUrl: string;
|
|
2994
|
+
scopes: Record<string, string>;
|
|
2995
|
+
selectedScopes: string[];
|
|
2996
|
+
"x-scalar-client-id": string;
|
|
2997
|
+
tokenUrl: string;
|
|
2998
|
+
clientSecret: string;
|
|
2999
|
+
} | undefined;
|
|
3000
|
+
implicit?: {
|
|
3001
|
+
type: "implicit";
|
|
3002
|
+
token: string;
|
|
3003
|
+
refreshUrl: string;
|
|
3004
|
+
scopes: Record<string, string>;
|
|
3005
|
+
selectedScopes: string[];
|
|
3006
|
+
"x-scalar-client-id": string;
|
|
3007
|
+
authorizationUrl: string;
|
|
3008
|
+
"x-scalar-redirect-uri": string;
|
|
3009
|
+
} | undefined;
|
|
3010
|
+
clientCredentials?: {
|
|
3011
|
+
type: "clientCredentials";
|
|
3012
|
+
token: string;
|
|
3013
|
+
refreshUrl: string;
|
|
3014
|
+
scopes: Record<string, string>;
|
|
3015
|
+
selectedScopes: string[];
|
|
3016
|
+
"x-scalar-client-id": string;
|
|
3017
|
+
tokenUrl: string;
|
|
3018
|
+
clientSecret: string;
|
|
3019
|
+
} | undefined;
|
|
3020
|
+
authorizationCode?: {
|
|
3021
|
+
type: "authorizationCode";
|
|
3022
|
+
token: string;
|
|
3023
|
+
refreshUrl: string;
|
|
3024
|
+
scopes: Record<string, string>;
|
|
3025
|
+
selectedScopes: string[];
|
|
3026
|
+
"x-scalar-client-id": string;
|
|
3027
|
+
authorizationUrl: string;
|
|
3028
|
+
"x-scalar-redirect-uri": string;
|
|
3029
|
+
tokenUrl: string;
|
|
3030
|
+
clientSecret: string;
|
|
3031
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
3032
|
+
} | undefined;
|
|
3649
3033
|
};
|
|
3650
|
-
'x-scalar-client-id': string;
|
|
3651
3034
|
description?: string | undefined;
|
|
3652
3035
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
3653
|
-
untrackedEdit: <P extends "
|
|
3036
|
+
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" ? {
|
|
3654
3037
|
type: "apiKey";
|
|
3038
|
+
value: string;
|
|
3655
3039
|
uid: string;
|
|
3656
3040
|
name: string;
|
|
3657
|
-
in: "query" | "header" | "cookie";
|
|
3658
3041
|
nameKey: string;
|
|
3042
|
+
in: "query" | "header" | "cookie";
|
|
3659
3043
|
description?: string | undefined;
|
|
3660
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
3044
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "value" ? R extends Path<{
|
|
3661
3045
|
type: "apiKey";
|
|
3046
|
+
value: string;
|
|
3662
3047
|
uid: string;
|
|
3663
3048
|
name: string;
|
|
3664
|
-
in: "query" | "header" | "cookie";
|
|
3665
3049
|
nameKey: string;
|
|
3050
|
+
in: "query" | "header" | "cookie";
|
|
3666
3051
|
description?: string | undefined;
|
|
3667
3052
|
}[K]> ? PathValue<{
|
|
3668
3053
|
type: "apiKey";
|
|
3054
|
+
value: string;
|
|
3669
3055
|
uid: string;
|
|
3670
3056
|
name: string;
|
|
3671
|
-
in: "query" | "header" | "cookie";
|
|
3672
3057
|
nameKey: string;
|
|
3058
|
+
in: "query" | "header" | "cookie";
|
|
3673
3059
|
description?: string | undefined;
|
|
3674
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "type" | "
|
|
3060
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "token" | "username" ? {
|
|
3675
3061
|
type: "http";
|
|
3676
3062
|
uid: string;
|
|
3677
3063
|
nameKey: string;
|
|
3678
3064
|
scheme: "basic" | "bearer";
|
|
3679
3065
|
bearerFormat: string;
|
|
3066
|
+
username: string;
|
|
3067
|
+
password: string;
|
|
3068
|
+
token: string;
|
|
3680
3069
|
description?: string | undefined;
|
|
3681
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "
|
|
3070
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "token" | "username" ? R extends Path<{
|
|
3682
3071
|
type: "http";
|
|
3683
3072
|
uid: string;
|
|
3684
3073
|
nameKey: string;
|
|
3685
3074
|
scheme: "basic" | "bearer";
|
|
3686
3075
|
bearerFormat: string;
|
|
3076
|
+
username: string;
|
|
3077
|
+
password: string;
|
|
3078
|
+
token: string;
|
|
3687
3079
|
description?: string | undefined;
|
|
3688
3080
|
}[K]> ? PathValue<{
|
|
3689
3081
|
type: "http";
|
|
@@ -3691,14 +3083,17 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3691
3083
|
nameKey: string;
|
|
3692
3084
|
scheme: "basic" | "bearer";
|
|
3693
3085
|
bearerFormat: string;
|
|
3086
|
+
username: string;
|
|
3087
|
+
password: string;
|
|
3088
|
+
token: string;
|
|
3694
3089
|
description?: string | undefined;
|
|
3695
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "
|
|
3090
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? {
|
|
3696
3091
|
type: "openIdConnect";
|
|
3697
3092
|
uid: string;
|
|
3698
3093
|
nameKey: string;
|
|
3699
3094
|
openIdConnectUrl: string;
|
|
3700
3095
|
description?: string | undefined;
|
|
3701
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
3096
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? R extends Path<{
|
|
3702
3097
|
type: "openIdConnect";
|
|
3703
3098
|
uid: string;
|
|
3704
3099
|
nameKey: string;
|
|
@@ -3710,110 +3105,161 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3710
3105
|
nameKey: string;
|
|
3711
3106
|
openIdConnectUrl: string;
|
|
3712
3107
|
description?: string | undefined;
|
|
3713
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "
|
|
3108
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
|
|
3714
3109
|
type: "oauth2";
|
|
3715
3110
|
uid: string;
|
|
3716
3111
|
nameKey: string;
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3112
|
+
flows: {
|
|
3113
|
+
password?: {
|
|
3114
|
+
type: "password";
|
|
3115
|
+
username: string;
|
|
3116
|
+
password: string;
|
|
3117
|
+
token: string;
|
|
3118
|
+
refreshUrl: string;
|
|
3119
|
+
scopes: Record<string, string>;
|
|
3120
|
+
selectedScopes: string[];
|
|
3121
|
+
"x-scalar-client-id": string;
|
|
3122
|
+
tokenUrl: string;
|
|
3123
|
+
clientSecret: string;
|
|
3124
|
+
} | undefined;
|
|
3125
|
+
implicit?: {
|
|
3126
|
+
type: "implicit";
|
|
3127
|
+
token: string;
|
|
3128
|
+
refreshUrl: string;
|
|
3129
|
+
scopes: Record<string, string>;
|
|
3130
|
+
selectedScopes: string[];
|
|
3131
|
+
"x-scalar-client-id": string;
|
|
3132
|
+
authorizationUrl: string;
|
|
3133
|
+
"x-scalar-redirect-uri": string;
|
|
3134
|
+
} | undefined;
|
|
3135
|
+
clientCredentials?: {
|
|
3136
|
+
type: "clientCredentials";
|
|
3137
|
+
token: string;
|
|
3138
|
+
refreshUrl: string;
|
|
3139
|
+
scopes: Record<string, string>;
|
|
3140
|
+
selectedScopes: string[];
|
|
3141
|
+
"x-scalar-client-id": string;
|
|
3142
|
+
tokenUrl: string;
|
|
3143
|
+
clientSecret: string;
|
|
3144
|
+
} | undefined;
|
|
3145
|
+
authorizationCode?: {
|
|
3146
|
+
type: "authorizationCode";
|
|
3147
|
+
token: string;
|
|
3148
|
+
refreshUrl: string;
|
|
3149
|
+
scopes: Record<string, string>;
|
|
3150
|
+
selectedScopes: string[];
|
|
3151
|
+
"x-scalar-client-id": string;
|
|
3152
|
+
authorizationUrl: string;
|
|
3153
|
+
"x-scalar-redirect-uri": string;
|
|
3154
|
+
tokenUrl: string;
|
|
3155
|
+
clientSecret: string;
|
|
3156
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
3157
|
+
} | undefined;
|
|
3745
3158
|
};
|
|
3746
|
-
'x-scalar-client-id': string;
|
|
3747
3159
|
description?: string | undefined;
|
|
3748
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
3160
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "flows" ? R extends Path<{
|
|
3749
3161
|
type: "oauth2";
|
|
3750
3162
|
uid: string;
|
|
3751
3163
|
nameKey: string;
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3164
|
+
flows: {
|
|
3165
|
+
password?: {
|
|
3166
|
+
type: "password";
|
|
3167
|
+
username: string;
|
|
3168
|
+
password: string;
|
|
3169
|
+
token: string;
|
|
3170
|
+
refreshUrl: string;
|
|
3171
|
+
scopes: Record<string, string>;
|
|
3172
|
+
selectedScopes: string[];
|
|
3173
|
+
"x-scalar-client-id": string;
|
|
3174
|
+
tokenUrl: string;
|
|
3175
|
+
clientSecret: string;
|
|
3176
|
+
} | undefined;
|
|
3177
|
+
implicit?: {
|
|
3178
|
+
type: "implicit";
|
|
3179
|
+
token: string;
|
|
3180
|
+
refreshUrl: string;
|
|
3181
|
+
scopes: Record<string, string>;
|
|
3182
|
+
selectedScopes: string[];
|
|
3183
|
+
"x-scalar-client-id": string;
|
|
3184
|
+
authorizationUrl: string;
|
|
3185
|
+
"x-scalar-redirect-uri": string;
|
|
3186
|
+
} | undefined;
|
|
3187
|
+
clientCredentials?: {
|
|
3188
|
+
type: "clientCredentials";
|
|
3189
|
+
token: string;
|
|
3190
|
+
refreshUrl: string;
|
|
3191
|
+
scopes: Record<string, string>;
|
|
3192
|
+
selectedScopes: string[];
|
|
3193
|
+
"x-scalar-client-id": string;
|
|
3194
|
+
tokenUrl: string;
|
|
3195
|
+
clientSecret: string;
|
|
3196
|
+
} | undefined;
|
|
3197
|
+
authorizationCode?: {
|
|
3198
|
+
type: "authorizationCode";
|
|
3199
|
+
token: string;
|
|
3200
|
+
refreshUrl: string;
|
|
3201
|
+
scopes: Record<string, string>;
|
|
3202
|
+
selectedScopes: string[];
|
|
3203
|
+
"x-scalar-client-id": string;
|
|
3204
|
+
authorizationUrl: string;
|
|
3205
|
+
"x-scalar-redirect-uri": string;
|
|
3206
|
+
tokenUrl: string;
|
|
3207
|
+
clientSecret: string;
|
|
3208
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
3209
|
+
} | undefined;
|
|
3780
3210
|
};
|
|
3781
|
-
'x-scalar-client-id': string;
|
|
3782
3211
|
description?: string | undefined;
|
|
3783
3212
|
}[K]> ? PathValue<{
|
|
3784
3213
|
type: "oauth2";
|
|
3785
3214
|
uid: string;
|
|
3786
3215
|
nameKey: string;
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3216
|
+
flows: {
|
|
3217
|
+
password?: {
|
|
3218
|
+
type: "password";
|
|
3219
|
+
username: string;
|
|
3220
|
+
password: string;
|
|
3221
|
+
token: string;
|
|
3222
|
+
refreshUrl: string;
|
|
3223
|
+
scopes: Record<string, string>;
|
|
3224
|
+
selectedScopes: string[];
|
|
3225
|
+
"x-scalar-client-id": string;
|
|
3226
|
+
tokenUrl: string;
|
|
3227
|
+
clientSecret: string;
|
|
3228
|
+
} | undefined;
|
|
3229
|
+
implicit?: {
|
|
3230
|
+
type: "implicit";
|
|
3231
|
+
token: string;
|
|
3232
|
+
refreshUrl: string;
|
|
3233
|
+
scopes: Record<string, string>;
|
|
3234
|
+
selectedScopes: string[];
|
|
3235
|
+
"x-scalar-client-id": string;
|
|
3236
|
+
authorizationUrl: string;
|
|
3237
|
+
"x-scalar-redirect-uri": string;
|
|
3238
|
+
} | undefined;
|
|
3239
|
+
clientCredentials?: {
|
|
3240
|
+
type: "clientCredentials";
|
|
3241
|
+
token: string;
|
|
3242
|
+
refreshUrl: string;
|
|
3243
|
+
scopes: Record<string, string>;
|
|
3244
|
+
selectedScopes: string[];
|
|
3245
|
+
"x-scalar-client-id": string;
|
|
3246
|
+
tokenUrl: string;
|
|
3247
|
+
clientSecret: string;
|
|
3248
|
+
} | undefined;
|
|
3249
|
+
authorizationCode?: {
|
|
3250
|
+
type: "authorizationCode";
|
|
3251
|
+
token: string;
|
|
3252
|
+
refreshUrl: string;
|
|
3253
|
+
scopes: Record<string, string>;
|
|
3254
|
+
selectedScopes: string[];
|
|
3255
|
+
"x-scalar-client-id": string;
|
|
3256
|
+
authorizationUrl: string;
|
|
3257
|
+
"x-scalar-redirect-uri": string;
|
|
3258
|
+
tokenUrl: string;
|
|
3259
|
+
clientSecret: string;
|
|
3260
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
3261
|
+
} | undefined;
|
|
3815
3262
|
};
|
|
3816
|
-
'x-scalar-client-id': string;
|
|
3817
3263
|
description?: string | undefined;
|
|
3818
3264
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
3819
3265
|
undo: (uid: string) => void;
|
|
@@ -3846,14 +3292,14 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3846
3292
|
enum?: [string, ...string[]];
|
|
3847
3293
|
}> | undefined;
|
|
3848
3294
|
}) => void;
|
|
3849
|
-
edit: <P extends "description" | "
|
|
3295
|
+
edit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: string, path: P, value: P extends "description" | "uid" | "url" | "variables" ? {
|
|
3850
3296
|
uid: string;
|
|
3851
3297
|
url: string;
|
|
3852
3298
|
description?: string | undefined;
|
|
3853
3299
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
3854
3300
|
enum?: [string, ...string[]];
|
|
3855
3301
|
}> | undefined;
|
|
3856
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "
|
|
3302
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "uid" | "url" | "variables" ? R extends Path<{
|
|
3857
3303
|
uid: string;
|
|
3858
3304
|
url: string;
|
|
3859
3305
|
description?: string | undefined;
|
|
@@ -3868,14 +3314,14 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3868
3314
|
enum?: [string, ...string[]];
|
|
3869
3315
|
}> | undefined;
|
|
3870
3316
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3871
|
-
untrackedEdit: <P extends "description" | "
|
|
3317
|
+
untrackedEdit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: string, path: P, value: P extends "description" | "uid" | "url" | "variables" ? {
|
|
3872
3318
|
uid: string;
|
|
3873
3319
|
url: string;
|
|
3874
3320
|
description?: string | undefined;
|
|
3875
3321
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
3876
3322
|
enum?: [string, ...string[]];
|
|
3877
3323
|
}> | undefined;
|
|
3878
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "
|
|
3324
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "uid" | "url" | "variables" ? R extends Path<{
|
|
3879
3325
|
uid: string;
|
|
3880
3326
|
url: string;
|
|
3881
3327
|
description?: string | undefined;
|
|
@@ -3938,7 +3384,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3938
3384
|
tagName: string;
|
|
3939
3385
|
}[] | undefined;
|
|
3940
3386
|
}) => void;
|
|
3941
|
-
edit: <P extends "
|
|
3387
|
+
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" ? {
|
|
3942
3388
|
type: "tag";
|
|
3943
3389
|
uid: string;
|
|
3944
3390
|
name: string;
|
|
@@ -3951,7 +3397,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3951
3397
|
'x-scalar-children'?: {
|
|
3952
3398
|
tagName: string;
|
|
3953
3399
|
}[] | undefined;
|
|
3954
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
3400
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "externalDocs" | "type" | "name" | "uid" | "children" | "x-scalar-children" ? R extends Path<{
|
|
3955
3401
|
type: "tag";
|
|
3956
3402
|
uid: string;
|
|
3957
3403
|
name: string;
|
|
@@ -3978,7 +3424,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3978
3424
|
tagName: string;
|
|
3979
3425
|
}[] | undefined;
|
|
3980
3426
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3981
|
-
untrackedEdit: <P extends "
|
|
3427
|
+
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" ? {
|
|
3982
3428
|
type: "tag";
|
|
3983
3429
|
uid: string;
|
|
3984
3430
|
name: string;
|
|
@@ -3991,7 +3437,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3991
3437
|
'x-scalar-children'?: {
|
|
3992
3438
|
tagName: string;
|
|
3993
3439
|
}[] | undefined;
|
|
3994
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
3440
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "externalDocs" | "type" | "name" | "uid" | "children" | "x-scalar-children" ? R extends Path<{
|
|
3995
3441
|
type: "tag";
|
|
3996
3442
|
uid: string;
|
|
3997
3443
|
name: string;
|
|
@@ -4027,12 +3473,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
4027
3473
|
uid: string;
|
|
4028
3474
|
name: string;
|
|
4029
3475
|
description: string;
|
|
4030
|
-
isReadOnly: boolean;
|
|
4031
3476
|
collections: string[];
|
|
4032
3477
|
environments: string[];
|
|
4033
3478
|
activeEnvironmentId: string;
|
|
4034
3479
|
cookies: string[];
|
|
4035
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3480
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
4036
3481
|
hotKeyConfig?: {
|
|
4037
3482
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4038
3483
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -4046,12 +3491,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
4046
3491
|
uid: string;
|
|
4047
3492
|
name: string;
|
|
4048
3493
|
description: string;
|
|
4049
|
-
isReadOnly: boolean;
|
|
4050
3494
|
collections: string[];
|
|
4051
3495
|
environments: string[];
|
|
4052
3496
|
activeEnvironmentId: string;
|
|
4053
3497
|
cookies: string[];
|
|
4054
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3498
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
4055
3499
|
hotKeyConfig?: {
|
|
4056
3500
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4057
3501
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -4066,12 +3510,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
4066
3510
|
uid: string;
|
|
4067
3511
|
name: string;
|
|
4068
3512
|
description: string;
|
|
4069
|
-
isReadOnly: boolean;
|
|
4070
3513
|
collections: string[];
|
|
4071
3514
|
environments: string[];
|
|
4072
3515
|
activeEnvironmentId: string;
|
|
4073
3516
|
cookies: string[];
|
|
4074
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3517
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
4075
3518
|
hotKeyConfig?: {
|
|
4076
3519
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4077
3520
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -4081,16 +3524,15 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
4081
3524
|
} | undefined;
|
|
4082
3525
|
proxyUrl?: string | undefined;
|
|
4083
3526
|
}) => void;
|
|
4084
|
-
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" ? {
|
|
3527
|
+
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" ? {
|
|
4085
3528
|
uid: string;
|
|
4086
3529
|
name: string;
|
|
4087
3530
|
description: string;
|
|
4088
|
-
isReadOnly: boolean;
|
|
4089
3531
|
collections: string[];
|
|
4090
3532
|
environments: string[];
|
|
4091
3533
|
activeEnvironmentId: string;
|
|
4092
3534
|
cookies: string[];
|
|
4093
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3535
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
4094
3536
|
hotKeyConfig?: {
|
|
4095
3537
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4096
3538
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -4099,16 +3541,15 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
4099
3541
|
}>> | undefined;
|
|
4100
3542
|
} | undefined;
|
|
4101
3543
|
proxyUrl?: string | undefined;
|
|
4102
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "cookies" | "
|
|
3544
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "hotKeyConfig" | "proxyUrl" ? R extends Path<{
|
|
4103
3545
|
uid: string;
|
|
4104
3546
|
name: string;
|
|
4105
3547
|
description: string;
|
|
4106
|
-
isReadOnly: boolean;
|
|
4107
3548
|
collections: string[];
|
|
4108
3549
|
environments: string[];
|
|
4109
3550
|
activeEnvironmentId: string;
|
|
4110
3551
|
cookies: string[];
|
|
4111
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3552
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
4112
3553
|
hotKeyConfig?: {
|
|
4113
3554
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4114
3555
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -4121,12 +3562,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
4121
3562
|
uid: string;
|
|
4122
3563
|
name: string;
|
|
4123
3564
|
description: string;
|
|
4124
|
-
isReadOnly: boolean;
|
|
4125
3565
|
collections: string[];
|
|
4126
3566
|
environments: string[];
|
|
4127
3567
|
activeEnvironmentId: string;
|
|
4128
3568
|
cookies: string[];
|
|
4129
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3569
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
4130
3570
|
hotKeyConfig?: {
|
|
4131
3571
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4132
3572
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -4136,16 +3576,15 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
4136
3576
|
} | undefined;
|
|
4137
3577
|
proxyUrl?: string | undefined;
|
|
4138
3578
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
4139
|
-
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" ? {
|
|
3579
|
+
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" ? {
|
|
4140
3580
|
uid: string;
|
|
4141
3581
|
name: string;
|
|
4142
3582
|
description: string;
|
|
4143
|
-
isReadOnly: boolean;
|
|
4144
3583
|
collections: string[];
|
|
4145
3584
|
environments: string[];
|
|
4146
3585
|
activeEnvironmentId: string;
|
|
4147
3586
|
cookies: string[];
|
|
4148
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3587
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
4149
3588
|
hotKeyConfig?: {
|
|
4150
3589
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4151
3590
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -4154,16 +3593,15 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
4154
3593
|
}>> | undefined;
|
|
4155
3594
|
} | undefined;
|
|
4156
3595
|
proxyUrl?: string | undefined;
|
|
4157
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "cookies" | "
|
|
3596
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "hotKeyConfig" | "proxyUrl" ? R extends Path<{
|
|
4158
3597
|
uid: string;
|
|
4159
3598
|
name: string;
|
|
4160
3599
|
description: string;
|
|
4161
|
-
isReadOnly: boolean;
|
|
4162
3600
|
collections: string[];
|
|
4163
3601
|
environments: string[];
|
|
4164
3602
|
activeEnvironmentId: string;
|
|
4165
3603
|
cookies: string[];
|
|
4166
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3604
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
4167
3605
|
hotKeyConfig?: {
|
|
4168
3606
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4169
3607
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -4176,12 +3614,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
4176
3614
|
uid: string;
|
|
4177
3615
|
name: string;
|
|
4178
3616
|
description: string;
|
|
4179
|
-
isReadOnly: boolean;
|
|
4180
3617
|
collections: string[];
|
|
4181
3618
|
environments: string[];
|
|
4182
3619
|
activeEnvironmentId: string;
|
|
4183
3620
|
cookies: string[];
|
|
4184
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3621
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
4185
3622
|
hotKeyConfig?: {
|
|
4186
3623
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4187
3624
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|