@scalar/api-client 2.1.35 → 2.1.37
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 +21 -0
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteImport.vue.js +105 -119
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue.js +1 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue2.js +14 -14
- package/dist/components/CommandPalette/WatchModeToggle.vue.d.ts +15 -0
- package/dist/components/CommandPalette/WatchModeToggle.vue.d.ts.map +1 -0
- package/dist/components/CommandPalette/WatchModeToggle.vue.js +39 -0
- package/dist/components/CommandPalette/WatchModeToggle.vue2.js +4 -0
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +1 -1
- package/dist/components/ImportCollection/DropEventListener.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/DropEventListener.vue.js +39 -33
- package/dist/components/ImportCollection/ImportCollectionListener.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportCollectionListener.vue.js +22 -20
- package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts +2 -0
- package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportCollectionModal.vue.js +159 -100
- package/dist/components/ImportCollection/ImportCollectionModal.vue3.js +5 -0
- package/dist/components/ImportCollection/ImportNowButton.vue.d.ts +2 -0
- package/dist/components/ImportCollection/ImportNowButton.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportNowButton.vue.js +35 -31
- package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts +7 -0
- package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts.map +1 -0
- package/dist/components/ImportCollection/IntegrationLogo.vue.js +46 -0
- package/dist/components/ImportCollection/IntegrationLogo.vue2.js +4 -0
- package/dist/components/ImportCollection/PrefetchError.vue.d.ts +8 -0
- package/dist/components/ImportCollection/PrefetchError.vue.d.ts.map +1 -0
- package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts +2 -2
- package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.js +7 -7
- package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/WorkspaceSelector.vue.js +2 -2
- package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts +29 -12
- package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts.map +1 -1
- package/dist/components/ImportCollection/hooks/useUrlPrefetcher.js +34 -42
- package/dist/components/OpenApiClientButton.vue.d.ts +13 -0
- package/dist/components/OpenApiClientButton.vue.d.ts.map +1 -0
- package/dist/components/OpenApiClientButton.vue.js +7 -0
- package/dist/components/OpenApiClientButton.vue2.js +36 -0
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +6 -6
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +4 -2
- package/dist/layouts/App/create-api-client-app.d.ts +58 -41
- 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/create-api-client-modal.d.ts +116 -82
- 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 +42 -38
- package/dist/layouts/Web/create-api-client-web.d.ts +58 -41
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +58 -41
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/store/collections.d.ts +34 -24
- package/dist/store/collections.d.ts.map +1 -1
- package/dist/store/import-spec.d.ts +6 -4
- package/dist/store/import-spec.d.ts.map +1 -1
- package/dist/store/store.d.ts +116 -82
- package/dist/store/store.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestSection.vue2.js +7 -7
- package/dist/views/Request/RequestSidebar.vue.js +3 -3
- package/dist/views/Request/RequestSidebar.vue2.js +29 -29
- package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
- package/dist/views/Request/RequestSidebarItem.vue2.js +76 -76
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts +2 -2
- package/dist/views/Request/RequestSidebarItemMenu.vue.js +3 -3
- package/dist/views/Request/RequestSidebarItemMenu.vue2.js +47 -47
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue2.js +67 -42
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +3 -3
- package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +1 -1
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +1 -1
- package/dist/views/Request/hooks/useOpenApiWatcher.js +24 -24
- package/dist/views/Request/types/sidebar-item.d.ts +1 -1
- package/dist/views/Request/types/sidebar-item.d.ts.map +1 -1
- package/package.json +7 -7
- package/dist/components/ImportCollection/ImportCollectionModal.vue2.js +0 -4
|
@@ -83,8 +83,8 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
83
83
|
token: string;
|
|
84
84
|
clientSecret: string;
|
|
85
85
|
}>;
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
watchMode: boolean;
|
|
87
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
88
88
|
externalDocs?: {
|
|
89
89
|
url: string;
|
|
90
90
|
description?: string | undefined;
|
|
@@ -110,6 +110,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
110
110
|
components?: Record<string, unknown> | undefined;
|
|
111
111
|
webhooks?: Record<string, unknown> | undefined;
|
|
112
112
|
documentUrl?: string | undefined;
|
|
113
|
+
integration?: string | null | undefined;
|
|
113
114
|
}>;
|
|
114
115
|
tags: Record<string, {
|
|
115
116
|
type: "tag";
|
|
@@ -380,8 +381,8 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
380
381
|
token: string;
|
|
381
382
|
clientSecret: string;
|
|
382
383
|
}>;
|
|
383
|
-
|
|
384
|
-
|
|
384
|
+
watchMode: boolean;
|
|
385
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
385
386
|
externalDocs?: {
|
|
386
387
|
url: string;
|
|
387
388
|
description?: string | undefined;
|
|
@@ -407,6 +408,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
407
408
|
components?: Record<string, unknown> | undefined;
|
|
408
409
|
webhooks?: Record<string, unknown> | undefined;
|
|
409
410
|
documentUrl?: string | undefined;
|
|
411
|
+
integration?: string | null | undefined;
|
|
410
412
|
} | undefined>;
|
|
411
413
|
activeCookieId: import("vue").ComputedRef<string | undefined>;
|
|
412
414
|
activeExample: import("vue").ComputedRef<{
|
|
@@ -626,8 +628,8 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
626
628
|
token: string;
|
|
627
629
|
clientSecret: string;
|
|
628
630
|
}>;
|
|
629
|
-
|
|
630
|
-
|
|
631
|
+
watchMode: boolean;
|
|
632
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
631
633
|
externalDocs?: {
|
|
632
634
|
url: string;
|
|
633
635
|
description?: string | undefined;
|
|
@@ -653,6 +655,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
653
655
|
components?: Record<string, unknown> | undefined;
|
|
654
656
|
webhooks?: Record<string, unknown> | undefined;
|
|
655
657
|
documentUrl?: string | undefined;
|
|
658
|
+
integration?: string | null | undefined;
|
|
656
659
|
}[]>;
|
|
657
660
|
activeWorkspaceServers: import("vue").ComputedRef<{
|
|
658
661
|
uid: string;
|
|
@@ -751,9 +754,10 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
751
754
|
clientSecret?: string | undefined;
|
|
752
755
|
}> | undefined;
|
|
753
756
|
documentUrl?: string | undefined;
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
+
watchMode?: boolean | undefined;
|
|
758
|
+
integration?: string | null | undefined;
|
|
759
|
+
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
760
|
+
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
|
|
757
761
|
setCollectionSecurity?: boolean;
|
|
758
762
|
} & {
|
|
759
763
|
overloadServers?: import("@scalar/types/legacy").Spec["servers"];
|
|
@@ -797,8 +801,8 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
797
801
|
token: string;
|
|
798
802
|
clientSecret: string;
|
|
799
803
|
}>;
|
|
800
|
-
|
|
801
|
-
|
|
804
|
+
watchMode: boolean;
|
|
805
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
802
806
|
externalDocs?: {
|
|
803
807
|
url: string;
|
|
804
808
|
description?: string | undefined;
|
|
@@ -824,6 +828,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
824
828
|
components?: Record<string, unknown> | undefined;
|
|
825
829
|
webhooks?: Record<string, unknown> | undefined;
|
|
826
830
|
documentUrl?: string | undefined;
|
|
831
|
+
integration?: string | null | undefined;
|
|
827
832
|
} | undefined>;
|
|
828
833
|
importSpecFromUrl: (url: string, workspaceUid: string, { proxy, ...options }?: Omit<Pick<{
|
|
829
834
|
type?: "collection" | undefined;
|
|
@@ -890,9 +895,10 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
890
895
|
clientSecret?: string | undefined;
|
|
891
896
|
}> | undefined;
|
|
892
897
|
documentUrl?: string | undefined;
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
898
|
+
watchMode?: boolean | undefined;
|
|
899
|
+
integration?: string | null | undefined;
|
|
900
|
+
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
901
|
+
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
|
|
896
902
|
setCollectionSecurity?: boolean;
|
|
897
903
|
} & {
|
|
898
904
|
overloadServers?: import("@scalar/types/legacy").Spec["servers"];
|
|
@@ -961,9 +967,10 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
961
967
|
clientSecret?: string | undefined;
|
|
962
968
|
}> | undefined;
|
|
963
969
|
documentUrl?: string | undefined;
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
970
|
+
watchMode?: boolean | undefined;
|
|
971
|
+
integration?: string | null | undefined;
|
|
972
|
+
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
973
|
+
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
|
|
967
974
|
setCollectionSecurity?: boolean;
|
|
968
975
|
} & {
|
|
969
976
|
overloadServers?: import("@scalar/types/legacy").Spec["servers"];
|
|
@@ -1007,8 +1014,8 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1007
1014
|
token: string;
|
|
1008
1015
|
clientSecret: string;
|
|
1009
1016
|
}>;
|
|
1010
|
-
|
|
1011
|
-
|
|
1017
|
+
watchMode: boolean;
|
|
1018
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1012
1019
|
externalDocs?: {
|
|
1013
1020
|
url: string;
|
|
1014
1021
|
description?: string | undefined;
|
|
@@ -1034,6 +1041,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1034
1041
|
components?: Record<string, unknown> | undefined;
|
|
1035
1042
|
webhooks?: Record<string, unknown> | undefined;
|
|
1036
1043
|
documentUrl?: string | undefined;
|
|
1044
|
+
integration?: string | null | undefined;
|
|
1037
1045
|
} | undefined>>>>>;
|
|
1038
1046
|
cookieMutators: {
|
|
1039
1047
|
add: (item: {
|
|
@@ -1181,8 +1189,8 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1181
1189
|
token: string;
|
|
1182
1190
|
clientSecret: string;
|
|
1183
1191
|
}>;
|
|
1184
|
-
|
|
1185
|
-
|
|
1192
|
+
watchMode: boolean;
|
|
1193
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1186
1194
|
externalDocs?: {
|
|
1187
1195
|
url: string;
|
|
1188
1196
|
description?: string | undefined;
|
|
@@ -1208,6 +1216,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1208
1216
|
components?: Record<string, unknown> | undefined;
|
|
1209
1217
|
webhooks?: Record<string, unknown> | undefined;
|
|
1210
1218
|
documentUrl?: string | undefined;
|
|
1219
|
+
integration?: string | null | undefined;
|
|
1211
1220
|
}) => void;
|
|
1212
1221
|
add: (payload: import("@scalar/oas-utils/entities/spec").CollectionPayload, workspaceUid: string) => {
|
|
1213
1222
|
type: "collection";
|
|
@@ -1249,8 +1258,8 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1249
1258
|
token: string;
|
|
1250
1259
|
clientSecret: string;
|
|
1251
1260
|
}>;
|
|
1252
|
-
|
|
1253
|
-
|
|
1261
|
+
watchMode: boolean;
|
|
1262
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1254
1263
|
externalDocs?: {
|
|
1255
1264
|
url: string;
|
|
1256
1265
|
description?: string | undefined;
|
|
@@ -1276,6 +1285,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1276
1285
|
components?: Record<string, unknown> | undefined;
|
|
1277
1286
|
webhooks?: Record<string, unknown> | undefined;
|
|
1278
1287
|
documentUrl?: string | undefined;
|
|
1288
|
+
integration?: string | null | undefined;
|
|
1279
1289
|
};
|
|
1280
1290
|
delete: (collection: import("@scalar/oas-utils/entities/spec").Collection, workspace: import("@scalar/oas-utils/entities").Workspace) => void;
|
|
1281
1291
|
set: (item: {
|
|
@@ -1318,8 +1328,8 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1318
1328
|
token: string;
|
|
1319
1329
|
clientSecret: string;
|
|
1320
1330
|
}>;
|
|
1321
|
-
|
|
1322
|
-
|
|
1331
|
+
watchMode: boolean;
|
|
1332
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1323
1333
|
externalDocs?: {
|
|
1324
1334
|
url: string;
|
|
1325
1335
|
description?: string | undefined;
|
|
@@ -1345,8 +1355,9 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1345
1355
|
components?: Record<string, unknown> | undefined;
|
|
1346
1356
|
webhooks?: Record<string, unknown> | undefined;
|
|
1347
1357
|
documentUrl?: string | undefined;
|
|
1358
|
+
integration?: string | null | undefined;
|
|
1348
1359
|
}) => void;
|
|
1349
|
-
edit: <P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "
|
|
1360
|
+
edit: <P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "watchMode" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | `servers.${number}` | `selectedSecuritySchemeUids.${number}` | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.url" | "externalDocs.description" | "x-scalar-icon" | "watchModeStatus" | "integration" | `children.${number}` | "info.summary" | "info.title" | "info.description" | "info.termsOfService" | "info.contact" | "info.license" | "info.version" | "info.contact.url" | "info.contact.name" | "info.contact.email" | "info.license.url" | "info.license.name" | "info.license.identifier" | `auth.${string}` | `securitySchemes.${number}` | `requests.${number}` | `components.${string}` | `webhooks.${string}`>(uid: string, path: P, value: P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "watchMode" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | "x-scalar-icon" | "watchModeStatus" | "integration" ? {
|
|
1350
1361
|
type: "collection";
|
|
1351
1362
|
uid: string;
|
|
1352
1363
|
children: string[];
|
|
@@ -1386,8 +1397,8 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1386
1397
|
token: string;
|
|
1387
1398
|
clientSecret: string;
|
|
1388
1399
|
}>;
|
|
1389
|
-
|
|
1390
|
-
|
|
1400
|
+
watchMode: boolean;
|
|
1401
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1391
1402
|
externalDocs?: {
|
|
1392
1403
|
url: string;
|
|
1393
1404
|
description?: string | undefined;
|
|
@@ -1413,7 +1424,8 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1413
1424
|
components?: Record<string, unknown> | undefined;
|
|
1414
1425
|
webhooks?: Record<string, unknown> | undefined;
|
|
1415
1426
|
documentUrl?: string | undefined;
|
|
1416
|
-
|
|
1427
|
+
integration?: string | null | undefined;
|
|
1428
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "watchMode" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | "x-scalar-icon" | "watchModeStatus" | "integration" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
1417
1429
|
type: "collection";
|
|
1418
1430
|
uid: string;
|
|
1419
1431
|
children: string[];
|
|
@@ -1453,8 +1465,8 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1453
1465
|
token: string;
|
|
1454
1466
|
clientSecret: string;
|
|
1455
1467
|
}>;
|
|
1456
|
-
|
|
1457
|
-
|
|
1468
|
+
watchMode: boolean;
|
|
1469
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1458
1470
|
externalDocs?: {
|
|
1459
1471
|
url: string;
|
|
1460
1472
|
description?: string | undefined;
|
|
@@ -1480,6 +1492,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1480
1492
|
components?: Record<string, unknown> | undefined;
|
|
1481
1493
|
webhooks?: Record<string, unknown> | undefined;
|
|
1482
1494
|
documentUrl?: string | undefined;
|
|
1495
|
+
integration?: string | null | undefined;
|
|
1483
1496
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
1484
1497
|
type: "collection";
|
|
1485
1498
|
uid: string;
|
|
@@ -1520,8 +1533,8 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1520
1533
|
token: string;
|
|
1521
1534
|
clientSecret: string;
|
|
1522
1535
|
}>;
|
|
1523
|
-
|
|
1524
|
-
|
|
1536
|
+
watchMode: boolean;
|
|
1537
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1525
1538
|
externalDocs?: {
|
|
1526
1539
|
url: string;
|
|
1527
1540
|
description?: string | undefined;
|
|
@@ -1547,8 +1560,9 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1547
1560
|
components?: Record<string, unknown> | undefined;
|
|
1548
1561
|
webhooks?: Record<string, unknown> | undefined;
|
|
1549
1562
|
documentUrl?: string | undefined;
|
|
1563
|
+
integration?: string | null | undefined;
|
|
1550
1564
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1551
|
-
untrackedEdit: <P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "
|
|
1565
|
+
untrackedEdit: <P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "watchMode" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | `servers.${number}` | `selectedSecuritySchemeUids.${number}` | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.url" | "externalDocs.description" | "x-scalar-icon" | "watchModeStatus" | "integration" | `children.${number}` | "info.summary" | "info.title" | "info.description" | "info.termsOfService" | "info.contact" | "info.license" | "info.version" | "info.contact.url" | "info.contact.name" | "info.contact.email" | "info.license.url" | "info.license.name" | "info.license.identifier" | `auth.${string}` | `securitySchemes.${number}` | `requests.${number}` | `components.${string}` | `webhooks.${string}`>(uid: string, path: P, value: P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "watchMode" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | "x-scalar-icon" | "watchModeStatus" | "integration" ? {
|
|
1552
1566
|
type: "collection";
|
|
1553
1567
|
uid: string;
|
|
1554
1568
|
children: string[];
|
|
@@ -1588,8 +1602,8 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1588
1602
|
token: string;
|
|
1589
1603
|
clientSecret: string;
|
|
1590
1604
|
}>;
|
|
1591
|
-
|
|
1592
|
-
|
|
1605
|
+
watchMode: boolean;
|
|
1606
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1593
1607
|
externalDocs?: {
|
|
1594
1608
|
url: string;
|
|
1595
1609
|
description?: string | undefined;
|
|
@@ -1615,7 +1629,8 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1615
1629
|
components?: Record<string, unknown> | undefined;
|
|
1616
1630
|
webhooks?: Record<string, unknown> | undefined;
|
|
1617
1631
|
documentUrl?: string | undefined;
|
|
1618
|
-
|
|
1632
|
+
integration?: string | null | undefined;
|
|
1633
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "watchMode" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | "x-scalar-icon" | "watchModeStatus" | "integration" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
1619
1634
|
type: "collection";
|
|
1620
1635
|
uid: string;
|
|
1621
1636
|
children: string[];
|
|
@@ -1655,8 +1670,8 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1655
1670
|
token: string;
|
|
1656
1671
|
clientSecret: string;
|
|
1657
1672
|
}>;
|
|
1658
|
-
|
|
1659
|
-
|
|
1673
|
+
watchMode: boolean;
|
|
1674
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1660
1675
|
externalDocs?: {
|
|
1661
1676
|
url: string;
|
|
1662
1677
|
description?: string | undefined;
|
|
@@ -1682,6 +1697,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1682
1697
|
components?: Record<string, unknown> | undefined;
|
|
1683
1698
|
webhooks?: Record<string, unknown> | undefined;
|
|
1684
1699
|
documentUrl?: string | undefined;
|
|
1700
|
+
integration?: string | null | undefined;
|
|
1685
1701
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
1686
1702
|
type: "collection";
|
|
1687
1703
|
uid: string;
|
|
@@ -1722,8 +1738,8 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1722
1738
|
token: string;
|
|
1723
1739
|
clientSecret: string;
|
|
1724
1740
|
}>;
|
|
1725
|
-
|
|
1726
|
-
|
|
1741
|
+
watchMode: boolean;
|
|
1742
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1727
1743
|
externalDocs?: {
|
|
1728
1744
|
url: string;
|
|
1729
1745
|
description?: string | undefined;
|
|
@@ -1749,6 +1765,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1749
1765
|
components?: Record<string, unknown> | undefined;
|
|
1750
1766
|
webhooks?: Record<string, unknown> | undefined;
|
|
1751
1767
|
documentUrl?: string | undefined;
|
|
1768
|
+
integration?: string | null | undefined;
|
|
1752
1769
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1753
1770
|
undo: (uid: string) => void;
|
|
1754
1771
|
redo: (uid: string) => void;
|
|
@@ -3956,8 +3973,8 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
3956
3973
|
token: string;
|
|
3957
3974
|
clientSecret: string;
|
|
3958
3975
|
}>;
|
|
3959
|
-
|
|
3960
|
-
|
|
3976
|
+
watchMode: boolean;
|
|
3977
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
3961
3978
|
externalDocs?: {
|
|
3962
3979
|
url: string;
|
|
3963
3980
|
description?: string | undefined;
|
|
@@ -3983,6 +4000,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
3983
4000
|
components?: Record<string, unknown> | undefined;
|
|
3984
4001
|
webhooks?: Record<string, unknown> | undefined;
|
|
3985
4002
|
documentUrl?: string | undefined;
|
|
4003
|
+
integration?: string | null | undefined;
|
|
3986
4004
|
}>;
|
|
3987
4005
|
tags: Record<string, {
|
|
3988
4006
|
type: "tag";
|
|
@@ -4253,8 +4271,8 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4253
4271
|
token: string;
|
|
4254
4272
|
clientSecret: string;
|
|
4255
4273
|
}>;
|
|
4256
|
-
|
|
4257
|
-
|
|
4274
|
+
watchMode: boolean;
|
|
4275
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4258
4276
|
externalDocs?: {
|
|
4259
4277
|
url: string;
|
|
4260
4278
|
description?: string | undefined;
|
|
@@ -4280,6 +4298,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4280
4298
|
components?: Record<string, unknown> | undefined;
|
|
4281
4299
|
webhooks?: Record<string, unknown> | undefined;
|
|
4282
4300
|
documentUrl?: string | undefined;
|
|
4301
|
+
integration?: string | null | undefined;
|
|
4283
4302
|
} | undefined>;
|
|
4284
4303
|
activeCookieId: import("vue").ComputedRef<string | undefined>;
|
|
4285
4304
|
activeExample: import("vue").ComputedRef<{
|
|
@@ -4499,8 +4518,8 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4499
4518
|
token: string;
|
|
4500
4519
|
clientSecret: string;
|
|
4501
4520
|
}>;
|
|
4502
|
-
|
|
4503
|
-
|
|
4521
|
+
watchMode: boolean;
|
|
4522
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4504
4523
|
externalDocs?: {
|
|
4505
4524
|
url: string;
|
|
4506
4525
|
description?: string | undefined;
|
|
@@ -4526,6 +4545,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4526
4545
|
components?: Record<string, unknown> | undefined;
|
|
4527
4546
|
webhooks?: Record<string, unknown> | undefined;
|
|
4528
4547
|
documentUrl?: string | undefined;
|
|
4548
|
+
integration?: string | null | undefined;
|
|
4529
4549
|
}[]>;
|
|
4530
4550
|
activeWorkspaceServers: import("vue").ComputedRef<{
|
|
4531
4551
|
uid: string;
|
|
@@ -4624,9 +4644,10 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4624
4644
|
clientSecret?: string | undefined;
|
|
4625
4645
|
}> | undefined;
|
|
4626
4646
|
documentUrl?: string | undefined;
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4647
|
+
watchMode?: boolean | undefined;
|
|
4648
|
+
integration?: string | null | undefined;
|
|
4649
|
+
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
4650
|
+
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
|
|
4630
4651
|
setCollectionSecurity?: boolean;
|
|
4631
4652
|
} & {
|
|
4632
4653
|
overloadServers?: import("@scalar/types/legacy").Spec["servers"];
|
|
@@ -4670,8 +4691,8 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4670
4691
|
token: string;
|
|
4671
4692
|
clientSecret: string;
|
|
4672
4693
|
}>;
|
|
4673
|
-
|
|
4674
|
-
|
|
4694
|
+
watchMode: boolean;
|
|
4695
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4675
4696
|
externalDocs?: {
|
|
4676
4697
|
url: string;
|
|
4677
4698
|
description?: string | undefined;
|
|
@@ -4697,6 +4718,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4697
4718
|
components?: Record<string, unknown> | undefined;
|
|
4698
4719
|
webhooks?: Record<string, unknown> | undefined;
|
|
4699
4720
|
documentUrl?: string | undefined;
|
|
4721
|
+
integration?: string | null | undefined;
|
|
4700
4722
|
} | undefined>;
|
|
4701
4723
|
importSpecFromUrl: (url: string, workspaceUid: string, { proxy, ...options }?: Omit<Pick<{
|
|
4702
4724
|
type?: "collection" | undefined;
|
|
@@ -4763,9 +4785,10 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4763
4785
|
clientSecret?: string | undefined;
|
|
4764
4786
|
}> | undefined;
|
|
4765
4787
|
documentUrl?: string | undefined;
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4788
|
+
watchMode?: boolean | undefined;
|
|
4789
|
+
integration?: string | null | undefined;
|
|
4790
|
+
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
4791
|
+
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
|
|
4769
4792
|
setCollectionSecurity?: boolean;
|
|
4770
4793
|
} & {
|
|
4771
4794
|
overloadServers?: import("@scalar/types/legacy").Spec["servers"];
|
|
@@ -4834,9 +4857,10 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4834
4857
|
clientSecret?: string | undefined;
|
|
4835
4858
|
}> | undefined;
|
|
4836
4859
|
documentUrl?: string | undefined;
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4860
|
+
watchMode?: boolean | undefined;
|
|
4861
|
+
integration?: string | null | undefined;
|
|
4862
|
+
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
4863
|
+
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
|
|
4840
4864
|
setCollectionSecurity?: boolean;
|
|
4841
4865
|
} & {
|
|
4842
4866
|
overloadServers?: import("@scalar/types/legacy").Spec["servers"];
|
|
@@ -4880,8 +4904,8 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4880
4904
|
token: string;
|
|
4881
4905
|
clientSecret: string;
|
|
4882
4906
|
}>;
|
|
4883
|
-
|
|
4884
|
-
|
|
4907
|
+
watchMode: boolean;
|
|
4908
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4885
4909
|
externalDocs?: {
|
|
4886
4910
|
url: string;
|
|
4887
4911
|
description?: string | undefined;
|
|
@@ -4907,6 +4931,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4907
4931
|
components?: Record<string, unknown> | undefined;
|
|
4908
4932
|
webhooks?: Record<string, unknown> | undefined;
|
|
4909
4933
|
documentUrl?: string | undefined;
|
|
4934
|
+
integration?: string | null | undefined;
|
|
4910
4935
|
} | undefined>>>>>;
|
|
4911
4936
|
cookieMutators: {
|
|
4912
4937
|
add: (item: {
|
|
@@ -5054,8 +5079,8 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5054
5079
|
token: string;
|
|
5055
5080
|
clientSecret: string;
|
|
5056
5081
|
}>;
|
|
5057
|
-
|
|
5058
|
-
|
|
5082
|
+
watchMode: boolean;
|
|
5083
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
5059
5084
|
externalDocs?: {
|
|
5060
5085
|
url: string;
|
|
5061
5086
|
description?: string | undefined;
|
|
@@ -5081,6 +5106,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5081
5106
|
components?: Record<string, unknown> | undefined;
|
|
5082
5107
|
webhooks?: Record<string, unknown> | undefined;
|
|
5083
5108
|
documentUrl?: string | undefined;
|
|
5109
|
+
integration?: string | null | undefined;
|
|
5084
5110
|
}) => void;
|
|
5085
5111
|
add: (payload: import("@scalar/oas-utils/entities/spec").CollectionPayload, workspaceUid: string) => {
|
|
5086
5112
|
type: "collection";
|
|
@@ -5122,8 +5148,8 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5122
5148
|
token: string;
|
|
5123
5149
|
clientSecret: string;
|
|
5124
5150
|
}>;
|
|
5125
|
-
|
|
5126
|
-
|
|
5151
|
+
watchMode: boolean;
|
|
5152
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
5127
5153
|
externalDocs?: {
|
|
5128
5154
|
url: string;
|
|
5129
5155
|
description?: string | undefined;
|
|
@@ -5149,6 +5175,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5149
5175
|
components?: Record<string, unknown> | undefined;
|
|
5150
5176
|
webhooks?: Record<string, unknown> | undefined;
|
|
5151
5177
|
documentUrl?: string | undefined;
|
|
5178
|
+
integration?: string | null | undefined;
|
|
5152
5179
|
};
|
|
5153
5180
|
delete: (collection: import("@scalar/oas-utils/entities/spec").Collection, workspace: import("@scalar/oas-utils/entities").Workspace) => void;
|
|
5154
5181
|
set: (item: {
|
|
@@ -5191,8 +5218,8 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5191
5218
|
token: string;
|
|
5192
5219
|
clientSecret: string;
|
|
5193
5220
|
}>;
|
|
5194
|
-
|
|
5195
|
-
|
|
5221
|
+
watchMode: boolean;
|
|
5222
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
5196
5223
|
externalDocs?: {
|
|
5197
5224
|
url: string;
|
|
5198
5225
|
description?: string | undefined;
|
|
@@ -5218,8 +5245,9 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5218
5245
|
components?: Record<string, unknown> | undefined;
|
|
5219
5246
|
webhooks?: Record<string, unknown> | undefined;
|
|
5220
5247
|
documentUrl?: string | undefined;
|
|
5248
|
+
integration?: string | null | undefined;
|
|
5221
5249
|
}) => void;
|
|
5222
|
-
edit: <P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "
|
|
5250
|
+
edit: <P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "watchMode" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | `servers.${number}` | `selectedSecuritySchemeUids.${number}` | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.url" | "externalDocs.description" | "x-scalar-icon" | "watchModeStatus" | "integration" | `children.${number}` | "info.summary" | "info.title" | "info.description" | "info.termsOfService" | "info.contact" | "info.license" | "info.version" | "info.contact.url" | "info.contact.name" | "info.contact.email" | "info.license.url" | "info.license.name" | "info.license.identifier" | `auth.${string}` | `securitySchemes.${number}` | `requests.${number}` | `components.${string}` | `webhooks.${string}`>(uid: string, path: P, value: P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "watchMode" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | "x-scalar-icon" | "watchModeStatus" | "integration" ? {
|
|
5223
5251
|
type: "collection";
|
|
5224
5252
|
uid: string;
|
|
5225
5253
|
children: string[];
|
|
@@ -5259,8 +5287,8 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5259
5287
|
token: string;
|
|
5260
5288
|
clientSecret: string;
|
|
5261
5289
|
}>;
|
|
5262
|
-
|
|
5263
|
-
|
|
5290
|
+
watchMode: boolean;
|
|
5291
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
5264
5292
|
externalDocs?: {
|
|
5265
5293
|
url: string;
|
|
5266
5294
|
description?: string | undefined;
|
|
@@ -5286,7 +5314,8 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5286
5314
|
components?: Record<string, unknown> | undefined;
|
|
5287
5315
|
webhooks?: Record<string, unknown> | undefined;
|
|
5288
5316
|
documentUrl?: string | undefined;
|
|
5289
|
-
|
|
5317
|
+
integration?: string | null | undefined;
|
|
5318
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "watchMode" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | "x-scalar-icon" | "watchModeStatus" | "integration" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
5290
5319
|
type: "collection";
|
|
5291
5320
|
uid: string;
|
|
5292
5321
|
children: string[];
|
|
@@ -5326,8 +5355,8 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5326
5355
|
token: string;
|
|
5327
5356
|
clientSecret: string;
|
|
5328
5357
|
}>;
|
|
5329
|
-
|
|
5330
|
-
|
|
5358
|
+
watchMode: boolean;
|
|
5359
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
5331
5360
|
externalDocs?: {
|
|
5332
5361
|
url: string;
|
|
5333
5362
|
description?: string | undefined;
|
|
@@ -5353,6 +5382,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5353
5382
|
components?: Record<string, unknown> | undefined;
|
|
5354
5383
|
webhooks?: Record<string, unknown> | undefined;
|
|
5355
5384
|
documentUrl?: string | undefined;
|
|
5385
|
+
integration?: string | null | undefined;
|
|
5356
5386
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
5357
5387
|
type: "collection";
|
|
5358
5388
|
uid: string;
|
|
@@ -5393,8 +5423,8 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5393
5423
|
token: string;
|
|
5394
5424
|
clientSecret: string;
|
|
5395
5425
|
}>;
|
|
5396
|
-
|
|
5397
|
-
|
|
5426
|
+
watchMode: boolean;
|
|
5427
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
5398
5428
|
externalDocs?: {
|
|
5399
5429
|
url: string;
|
|
5400
5430
|
description?: string | undefined;
|
|
@@ -5420,8 +5450,9 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5420
5450
|
components?: Record<string, unknown> | undefined;
|
|
5421
5451
|
webhooks?: Record<string, unknown> | undefined;
|
|
5422
5452
|
documentUrl?: string | undefined;
|
|
5453
|
+
integration?: string | null | undefined;
|
|
5423
5454
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
5424
|
-
untrackedEdit: <P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "
|
|
5455
|
+
untrackedEdit: <P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "watchMode" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | `servers.${number}` | `selectedSecuritySchemeUids.${number}` | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.url" | "externalDocs.description" | "x-scalar-icon" | "watchModeStatus" | "integration" | `children.${number}` | "info.summary" | "info.title" | "info.description" | "info.termsOfService" | "info.contact" | "info.license" | "info.version" | "info.contact.url" | "info.contact.name" | "info.contact.email" | "info.license.url" | "info.license.name" | "info.license.identifier" | `auth.${string}` | `securitySchemes.${number}` | `requests.${number}` | `components.${string}` | `webhooks.${string}`>(uid: string, path: P, value: P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "watchMode" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | "x-scalar-icon" | "watchModeStatus" | "integration" ? {
|
|
5425
5456
|
type: "collection";
|
|
5426
5457
|
uid: string;
|
|
5427
5458
|
children: string[];
|
|
@@ -5461,8 +5492,8 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5461
5492
|
token: string;
|
|
5462
5493
|
clientSecret: string;
|
|
5463
5494
|
}>;
|
|
5464
|
-
|
|
5465
|
-
|
|
5495
|
+
watchMode: boolean;
|
|
5496
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
5466
5497
|
externalDocs?: {
|
|
5467
5498
|
url: string;
|
|
5468
5499
|
description?: string | undefined;
|
|
@@ -5488,7 +5519,8 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5488
5519
|
components?: Record<string, unknown> | undefined;
|
|
5489
5520
|
webhooks?: Record<string, unknown> | undefined;
|
|
5490
5521
|
documentUrl?: string | undefined;
|
|
5491
|
-
|
|
5522
|
+
integration?: string | null | undefined;
|
|
5523
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "watchMode" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | "x-scalar-icon" | "watchModeStatus" | "integration" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
5492
5524
|
type: "collection";
|
|
5493
5525
|
uid: string;
|
|
5494
5526
|
children: string[];
|
|
@@ -5528,8 +5560,8 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5528
5560
|
token: string;
|
|
5529
5561
|
clientSecret: string;
|
|
5530
5562
|
}>;
|
|
5531
|
-
|
|
5532
|
-
|
|
5563
|
+
watchMode: boolean;
|
|
5564
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
5533
5565
|
externalDocs?: {
|
|
5534
5566
|
url: string;
|
|
5535
5567
|
description?: string | undefined;
|
|
@@ -5555,6 +5587,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5555
5587
|
components?: Record<string, unknown> | undefined;
|
|
5556
5588
|
webhooks?: Record<string, unknown> | undefined;
|
|
5557
5589
|
documentUrl?: string | undefined;
|
|
5590
|
+
integration?: string | null | undefined;
|
|
5558
5591
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
5559
5592
|
type: "collection";
|
|
5560
5593
|
uid: string;
|
|
@@ -5595,8 +5628,8 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5595
5628
|
token: string;
|
|
5596
5629
|
clientSecret: string;
|
|
5597
5630
|
}>;
|
|
5598
|
-
|
|
5599
|
-
|
|
5631
|
+
watchMode: boolean;
|
|
5632
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
5600
5633
|
externalDocs?: {
|
|
5601
5634
|
url: string;
|
|
5602
5635
|
description?: string | undefined;
|
|
@@ -5622,6 +5655,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5622
5655
|
components?: Record<string, unknown> | undefined;
|
|
5623
5656
|
webhooks?: Record<string, unknown> | undefined;
|
|
5624
5657
|
documentUrl?: string | undefined;
|
|
5658
|
+
integration?: string | null | undefined;
|
|
5625
5659
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
5626
5660
|
undo: (uid: string) => void;
|
|
5627
5661
|
redo: (uid: string) => void;
|