@scalar/api-reference 1.25.50 → 1.25.52
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 +26 -0
- package/dist/browser/standalone.js +6120 -5926
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +2 -2
- package/dist/components/DarkModeToggle/DarkModeToggle.vue.d.ts.map +1 -1
- package/dist/components/DarkModeToggle/DarkModeToggle.vue.js +2 -2
- package/dist/components/DarkModeToggle/DarkModeToggle.vue2.js +16 -20
- package/dist/components/Layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/components/Layouts/ModernLayout.vue.js +2 -2
- package/dist/components/Layouts/ModernLayout.vue2.js +44 -32
- package/dist/components/Sidebar/SidebarElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarElement.vue.js +1 -1
- package/dist/components/Sidebar/SidebarElement.vue2.js +18 -17
- package/dist/features/ApiClientModal/useApiClient.d.ts +116 -82
- package/dist/features/ApiClientModal/useApiClient.d.ts.map +1 -1
- package/dist/helpers/waitFor.d.ts +5 -0
- package/dist/helpers/waitFor.d.ts.map +1 -0
- package/dist/hooks/useReactiveSpec.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts.map +1 -1
- package/dist/legacy/components/SecuritySchemeSelector.vue.js +2 -2
- package/dist/legacy/components/SecuritySchemeSelector.vue2.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +6 -6
|
@@ -184,8 +184,8 @@ declare const client: import("vue").Ref<{
|
|
|
184
184
|
token: string;
|
|
185
185
|
clientSecret: string;
|
|
186
186
|
}>;
|
|
187
|
-
|
|
188
|
-
|
|
187
|
+
watchMode: boolean;
|
|
188
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
189
189
|
externalDocs?: {
|
|
190
190
|
url: string;
|
|
191
191
|
description?: string | undefined;
|
|
@@ -211,6 +211,7 @@ declare const client: import("vue").Ref<{
|
|
|
211
211
|
components?: Record<string, unknown> | undefined;
|
|
212
212
|
webhooks?: Record<string, unknown> | undefined;
|
|
213
213
|
documentUrl?: string | undefined;
|
|
214
|
+
integration?: string | null | undefined;
|
|
214
215
|
}>;
|
|
215
216
|
environments: Record<string, {
|
|
216
217
|
value: string;
|
|
@@ -391,8 +392,8 @@ declare const client: import("vue").Ref<{
|
|
|
391
392
|
token: string;
|
|
392
393
|
clientSecret: string;
|
|
393
394
|
}>;
|
|
394
|
-
|
|
395
|
-
|
|
395
|
+
watchMode: boolean;
|
|
396
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
396
397
|
externalDocs?: {
|
|
397
398
|
url: string;
|
|
398
399
|
description?: string | undefined;
|
|
@@ -418,6 +419,7 @@ declare const client: import("vue").Ref<{
|
|
|
418
419
|
components?: Record<string, unknown> | undefined;
|
|
419
420
|
webhooks?: Record<string, unknown> | undefined;
|
|
420
421
|
documentUrl?: string | undefined;
|
|
422
|
+
integration?: string | null | undefined;
|
|
421
423
|
} | undefined;
|
|
422
424
|
activeCookieId: string | undefined;
|
|
423
425
|
activeExample: {
|
|
@@ -637,8 +639,8 @@ declare const client: import("vue").Ref<{
|
|
|
637
639
|
token: string;
|
|
638
640
|
clientSecret: string;
|
|
639
641
|
}>;
|
|
640
|
-
|
|
641
|
-
|
|
642
|
+
watchMode: boolean;
|
|
643
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
642
644
|
externalDocs?: {
|
|
643
645
|
url: string;
|
|
644
646
|
description?: string | undefined;
|
|
@@ -664,6 +666,7 @@ declare const client: import("vue").Ref<{
|
|
|
664
666
|
components?: Record<string, unknown> | undefined;
|
|
665
667
|
webhooks?: Record<string, unknown> | undefined;
|
|
666
668
|
documentUrl?: string | undefined;
|
|
669
|
+
integration?: string | null | undefined;
|
|
667
670
|
}[];
|
|
668
671
|
activeWorkspaceServers: {
|
|
669
672
|
uid: string;
|
|
@@ -746,9 +749,10 @@ declare const client: import("vue").Ref<{
|
|
|
746
749
|
clientSecret?: string | undefined;
|
|
747
750
|
}> | undefined;
|
|
748
751
|
documentUrl?: string | undefined;
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
+
watchMode?: boolean | undefined;
|
|
753
|
+
integration?: string | null | undefined;
|
|
754
|
+
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
755
|
+
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
|
|
752
756
|
setCollectionSecurity?: boolean;
|
|
753
757
|
} & {
|
|
754
758
|
overloadServers?: import("@scalar/types/legacy").Spec["servers"];
|
|
@@ -792,8 +796,8 @@ declare const client: import("vue").Ref<{
|
|
|
792
796
|
token: string;
|
|
793
797
|
clientSecret: string;
|
|
794
798
|
}>;
|
|
795
|
-
|
|
796
|
-
|
|
799
|
+
watchMode: boolean;
|
|
800
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
797
801
|
externalDocs?: {
|
|
798
802
|
url: string;
|
|
799
803
|
description?: string | undefined;
|
|
@@ -819,6 +823,7 @@ declare const client: import("vue").Ref<{
|
|
|
819
823
|
components?: Record<string, unknown> | undefined;
|
|
820
824
|
webhooks?: Record<string, unknown> | undefined;
|
|
821
825
|
documentUrl?: string | undefined;
|
|
826
|
+
integration?: string | null | undefined;
|
|
822
827
|
} | undefined>;
|
|
823
828
|
importSpecFromUrl: (url: string, workspaceUid: string, { proxy, ...options }?: Omit<Pick<{
|
|
824
829
|
type?: "collection" | undefined;
|
|
@@ -885,9 +890,10 @@ declare const client: import("vue").Ref<{
|
|
|
885
890
|
clientSecret?: string | undefined;
|
|
886
891
|
}> | undefined;
|
|
887
892
|
documentUrl?: string | undefined;
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
893
|
+
watchMode?: boolean | undefined;
|
|
894
|
+
integration?: string | null | undefined;
|
|
895
|
+
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
896
|
+
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
|
|
891
897
|
setCollectionSecurity?: boolean;
|
|
892
898
|
} & {
|
|
893
899
|
overloadServers?: import("@scalar/types/legacy").Spec["servers"];
|
|
@@ -956,9 +962,10 @@ declare const client: import("vue").Ref<{
|
|
|
956
962
|
clientSecret?: string | undefined;
|
|
957
963
|
}> | undefined;
|
|
958
964
|
documentUrl?: string | undefined;
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
965
|
+
watchMode?: boolean | undefined;
|
|
966
|
+
integration?: string | null | undefined;
|
|
967
|
+
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
968
|
+
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
|
|
962
969
|
setCollectionSecurity?: boolean;
|
|
963
970
|
} & {
|
|
964
971
|
overloadServers?: import("@scalar/types/legacy").Spec["servers"];
|
|
@@ -1002,8 +1009,8 @@ declare const client: import("vue").Ref<{
|
|
|
1002
1009
|
token: string;
|
|
1003
1010
|
clientSecret: string;
|
|
1004
1011
|
}>;
|
|
1005
|
-
|
|
1006
|
-
|
|
1012
|
+
watchMode: boolean;
|
|
1013
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1007
1014
|
externalDocs?: {
|
|
1008
1015
|
url: string;
|
|
1009
1016
|
description?: string | undefined;
|
|
@@ -1029,6 +1036,7 @@ declare const client: import("vue").Ref<{
|
|
|
1029
1036
|
components?: Record<string, unknown> | undefined;
|
|
1030
1037
|
webhooks?: Record<string, unknown> | undefined;
|
|
1031
1038
|
documentUrl?: string | undefined;
|
|
1039
|
+
integration?: string | null | undefined;
|
|
1032
1040
|
} | undefined>>>>>;
|
|
1033
1041
|
cookieMutators: {
|
|
1034
1042
|
add: (item: {
|
|
@@ -1176,8 +1184,8 @@ declare const client: import("vue").Ref<{
|
|
|
1176
1184
|
token: string;
|
|
1177
1185
|
clientSecret: string;
|
|
1178
1186
|
}>;
|
|
1179
|
-
|
|
1180
|
-
|
|
1187
|
+
watchMode: boolean;
|
|
1188
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1181
1189
|
externalDocs?: {
|
|
1182
1190
|
url: string;
|
|
1183
1191
|
description?: string | undefined;
|
|
@@ -1203,6 +1211,7 @@ declare const client: import("vue").Ref<{
|
|
|
1203
1211
|
components?: Record<string, unknown> | undefined;
|
|
1204
1212
|
webhooks?: Record<string, unknown> | undefined;
|
|
1205
1213
|
documentUrl?: string | undefined;
|
|
1214
|
+
integration?: string | null | undefined;
|
|
1206
1215
|
}) => void;
|
|
1207
1216
|
add: (payload: import("@scalar/oas-utils/entities/spec").CollectionPayload, workspaceUid: string) => {
|
|
1208
1217
|
type: "collection";
|
|
@@ -1244,8 +1253,8 @@ declare const client: import("vue").Ref<{
|
|
|
1244
1253
|
token: string;
|
|
1245
1254
|
clientSecret: string;
|
|
1246
1255
|
}>;
|
|
1247
|
-
|
|
1248
|
-
|
|
1256
|
+
watchMode: boolean;
|
|
1257
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1249
1258
|
externalDocs?: {
|
|
1250
1259
|
url: string;
|
|
1251
1260
|
description?: string | undefined;
|
|
@@ -1271,6 +1280,7 @@ declare const client: import("vue").Ref<{
|
|
|
1271
1280
|
components?: Record<string, unknown> | undefined;
|
|
1272
1281
|
webhooks?: Record<string, unknown> | undefined;
|
|
1273
1282
|
documentUrl?: string | undefined;
|
|
1283
|
+
integration?: string | null | undefined;
|
|
1274
1284
|
};
|
|
1275
1285
|
delete: (collection: import("@scalar/oas-utils/entities/spec").Collection, workspace: import("@scalar/oas-utils/entities").Workspace) => void;
|
|
1276
1286
|
set: (item: {
|
|
@@ -1313,8 +1323,8 @@ declare const client: import("vue").Ref<{
|
|
|
1313
1323
|
token: string;
|
|
1314
1324
|
clientSecret: string;
|
|
1315
1325
|
}>;
|
|
1316
|
-
|
|
1317
|
-
|
|
1326
|
+
watchMode: boolean;
|
|
1327
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1318
1328
|
externalDocs?: {
|
|
1319
1329
|
url: string;
|
|
1320
1330
|
description?: string | undefined;
|
|
@@ -1340,8 +1350,9 @@ declare const client: import("vue").Ref<{
|
|
|
1340
1350
|
components?: Record<string, unknown> | undefined;
|
|
1341
1351
|
webhooks?: Record<string, unknown> | undefined;
|
|
1342
1352
|
documentUrl?: string | undefined;
|
|
1353
|
+
integration?: string | null | undefined;
|
|
1343
1354
|
}) => void;
|
|
1344
|
-
edit: <P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "
|
|
1355
|
+
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" ? {
|
|
1345
1356
|
type: "collection";
|
|
1346
1357
|
uid: string;
|
|
1347
1358
|
children: string[];
|
|
@@ -1381,8 +1392,8 @@ declare const client: import("vue").Ref<{
|
|
|
1381
1392
|
token: string;
|
|
1382
1393
|
clientSecret: string;
|
|
1383
1394
|
}>;
|
|
1384
|
-
|
|
1385
|
-
|
|
1395
|
+
watchMode: boolean;
|
|
1396
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1386
1397
|
externalDocs?: {
|
|
1387
1398
|
url: string;
|
|
1388
1399
|
description?: string | undefined;
|
|
@@ -1408,7 +1419,8 @@ declare const client: import("vue").Ref<{
|
|
|
1408
1419
|
components?: Record<string, unknown> | undefined;
|
|
1409
1420
|
webhooks?: Record<string, unknown> | undefined;
|
|
1410
1421
|
documentUrl?: string | undefined;
|
|
1411
|
-
|
|
1422
|
+
integration?: string | null | undefined;
|
|
1423
|
+
}[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<{
|
|
1412
1424
|
type: "collection";
|
|
1413
1425
|
uid: string;
|
|
1414
1426
|
children: string[];
|
|
@@ -1448,8 +1460,8 @@ declare const client: import("vue").Ref<{
|
|
|
1448
1460
|
token: string;
|
|
1449
1461
|
clientSecret: string;
|
|
1450
1462
|
}>;
|
|
1451
|
-
|
|
1452
|
-
|
|
1463
|
+
watchMode: boolean;
|
|
1464
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1453
1465
|
externalDocs?: {
|
|
1454
1466
|
url: string;
|
|
1455
1467
|
description?: string | undefined;
|
|
@@ -1475,6 +1487,7 @@ declare const client: import("vue").Ref<{
|
|
|
1475
1487
|
components?: Record<string, unknown> | undefined;
|
|
1476
1488
|
webhooks?: Record<string, unknown> | undefined;
|
|
1477
1489
|
documentUrl?: string | undefined;
|
|
1490
|
+
integration?: string | null | undefined;
|
|
1478
1491
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
1479
1492
|
type: "collection";
|
|
1480
1493
|
uid: string;
|
|
@@ -1515,8 +1528,8 @@ declare const client: import("vue").Ref<{
|
|
|
1515
1528
|
token: string;
|
|
1516
1529
|
clientSecret: string;
|
|
1517
1530
|
}>;
|
|
1518
|
-
|
|
1519
|
-
|
|
1531
|
+
watchMode: boolean;
|
|
1532
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1520
1533
|
externalDocs?: {
|
|
1521
1534
|
url: string;
|
|
1522
1535
|
description?: string | undefined;
|
|
@@ -1542,8 +1555,9 @@ declare const client: import("vue").Ref<{
|
|
|
1542
1555
|
components?: Record<string, unknown> | undefined;
|
|
1543
1556
|
webhooks?: Record<string, unknown> | undefined;
|
|
1544
1557
|
documentUrl?: string | undefined;
|
|
1558
|
+
integration?: string | null | undefined;
|
|
1545
1559
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1546
|
-
untrackedEdit: <P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "
|
|
1560
|
+
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" ? {
|
|
1547
1561
|
type: "collection";
|
|
1548
1562
|
uid: string;
|
|
1549
1563
|
children: string[];
|
|
@@ -1583,8 +1597,8 @@ declare const client: import("vue").Ref<{
|
|
|
1583
1597
|
token: string;
|
|
1584
1598
|
clientSecret: string;
|
|
1585
1599
|
}>;
|
|
1586
|
-
|
|
1587
|
-
|
|
1600
|
+
watchMode: boolean;
|
|
1601
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1588
1602
|
externalDocs?: {
|
|
1589
1603
|
url: string;
|
|
1590
1604
|
description?: string | undefined;
|
|
@@ -1610,7 +1624,8 @@ declare const client: import("vue").Ref<{
|
|
|
1610
1624
|
components?: Record<string, unknown> | undefined;
|
|
1611
1625
|
webhooks?: Record<string, unknown> | undefined;
|
|
1612
1626
|
documentUrl?: string | undefined;
|
|
1613
|
-
|
|
1627
|
+
integration?: string | null | undefined;
|
|
1628
|
+
}[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<{
|
|
1614
1629
|
type: "collection";
|
|
1615
1630
|
uid: string;
|
|
1616
1631
|
children: string[];
|
|
@@ -1650,8 +1665,8 @@ declare const client: import("vue").Ref<{
|
|
|
1650
1665
|
token: string;
|
|
1651
1666
|
clientSecret: string;
|
|
1652
1667
|
}>;
|
|
1653
|
-
|
|
1654
|
-
|
|
1668
|
+
watchMode: boolean;
|
|
1669
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1655
1670
|
externalDocs?: {
|
|
1656
1671
|
url: string;
|
|
1657
1672
|
description?: string | undefined;
|
|
@@ -1677,6 +1692,7 @@ declare const client: import("vue").Ref<{
|
|
|
1677
1692
|
components?: Record<string, unknown> | undefined;
|
|
1678
1693
|
webhooks?: Record<string, unknown> | undefined;
|
|
1679
1694
|
documentUrl?: string | undefined;
|
|
1695
|
+
integration?: string | null | undefined;
|
|
1680
1696
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
1681
1697
|
type: "collection";
|
|
1682
1698
|
uid: string;
|
|
@@ -1717,8 +1733,8 @@ declare const client: import("vue").Ref<{
|
|
|
1717
1733
|
token: string;
|
|
1718
1734
|
clientSecret: string;
|
|
1719
1735
|
}>;
|
|
1720
|
-
|
|
1721
|
-
|
|
1736
|
+
watchMode: boolean;
|
|
1737
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1722
1738
|
externalDocs?: {
|
|
1723
1739
|
url: string;
|
|
1724
1740
|
description?: string | undefined;
|
|
@@ -1744,6 +1760,7 @@ declare const client: import("vue").Ref<{
|
|
|
1744
1760
|
components?: Record<string, unknown> | undefined;
|
|
1745
1761
|
webhooks?: Record<string, unknown> | undefined;
|
|
1746
1762
|
documentUrl?: string | undefined;
|
|
1763
|
+
integration?: string | null | undefined;
|
|
1747
1764
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1748
1765
|
undo: (uid: string) => void;
|
|
1749
1766
|
redo: (uid: string) => void;
|
|
@@ -4041,8 +4058,8 @@ declare const client: import("vue").Ref<{
|
|
|
4041
4058
|
token: string;
|
|
4042
4059
|
clientSecret: string;
|
|
4043
4060
|
}>;
|
|
4044
|
-
|
|
4045
|
-
|
|
4061
|
+
watchMode: boolean;
|
|
4062
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4046
4063
|
externalDocs?: {
|
|
4047
4064
|
url: string;
|
|
4048
4065
|
description?: string | undefined;
|
|
@@ -4068,6 +4085,7 @@ declare const client: import("vue").Ref<{
|
|
|
4068
4085
|
components?: Record<string, unknown> | undefined;
|
|
4069
4086
|
webhooks?: Record<string, unknown> | undefined;
|
|
4070
4087
|
documentUrl?: string | undefined;
|
|
4088
|
+
integration?: string | null | undefined;
|
|
4071
4089
|
}>;
|
|
4072
4090
|
environments: Record<string, {
|
|
4073
4091
|
value: string;
|
|
@@ -4248,8 +4266,8 @@ declare const client: import("vue").Ref<{
|
|
|
4248
4266
|
token: string;
|
|
4249
4267
|
clientSecret: string;
|
|
4250
4268
|
}>;
|
|
4251
|
-
|
|
4252
|
-
|
|
4269
|
+
watchMode: boolean;
|
|
4270
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4253
4271
|
externalDocs?: {
|
|
4254
4272
|
url: string;
|
|
4255
4273
|
description?: string | undefined;
|
|
@@ -4275,6 +4293,7 @@ declare const client: import("vue").Ref<{
|
|
|
4275
4293
|
components?: Record<string, unknown> | undefined;
|
|
4276
4294
|
webhooks?: Record<string, unknown> | undefined;
|
|
4277
4295
|
documentUrl?: string | undefined;
|
|
4296
|
+
integration?: string | null | undefined;
|
|
4278
4297
|
} | undefined;
|
|
4279
4298
|
activeCookieId: string | undefined;
|
|
4280
4299
|
activeExample: {
|
|
@@ -4494,8 +4513,8 @@ declare const client: import("vue").Ref<{
|
|
|
4494
4513
|
token: string;
|
|
4495
4514
|
clientSecret: string;
|
|
4496
4515
|
}>;
|
|
4497
|
-
|
|
4498
|
-
|
|
4516
|
+
watchMode: boolean;
|
|
4517
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4499
4518
|
externalDocs?: {
|
|
4500
4519
|
url: string;
|
|
4501
4520
|
description?: string | undefined;
|
|
@@ -4521,6 +4540,7 @@ declare const client: import("vue").Ref<{
|
|
|
4521
4540
|
components?: Record<string, unknown> | undefined;
|
|
4522
4541
|
webhooks?: Record<string, unknown> | undefined;
|
|
4523
4542
|
documentUrl?: string | undefined;
|
|
4543
|
+
integration?: string | null | undefined;
|
|
4524
4544
|
}[];
|
|
4525
4545
|
activeWorkspaceServers: {
|
|
4526
4546
|
uid: string;
|
|
@@ -4603,9 +4623,10 @@ declare const client: import("vue").Ref<{
|
|
|
4603
4623
|
clientSecret?: string | undefined;
|
|
4604
4624
|
}> | undefined;
|
|
4605
4625
|
documentUrl?: string | undefined;
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4626
|
+
watchMode?: boolean | undefined;
|
|
4627
|
+
integration?: string | null | undefined;
|
|
4628
|
+
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
4629
|
+
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
|
|
4609
4630
|
setCollectionSecurity?: boolean;
|
|
4610
4631
|
} & {
|
|
4611
4632
|
overloadServers?: import("@scalar/types/legacy").Spec["servers"];
|
|
@@ -4649,8 +4670,8 @@ declare const client: import("vue").Ref<{
|
|
|
4649
4670
|
token: string;
|
|
4650
4671
|
clientSecret: string;
|
|
4651
4672
|
}>;
|
|
4652
|
-
|
|
4653
|
-
|
|
4673
|
+
watchMode: boolean;
|
|
4674
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4654
4675
|
externalDocs?: {
|
|
4655
4676
|
url: string;
|
|
4656
4677
|
description?: string | undefined;
|
|
@@ -4676,6 +4697,7 @@ declare const client: import("vue").Ref<{
|
|
|
4676
4697
|
components?: Record<string, unknown> | undefined;
|
|
4677
4698
|
webhooks?: Record<string, unknown> | undefined;
|
|
4678
4699
|
documentUrl?: string | undefined;
|
|
4700
|
+
integration?: string | null | undefined;
|
|
4679
4701
|
} | undefined>;
|
|
4680
4702
|
importSpecFromUrl: (url: string, workspaceUid: string, { proxy, ...options }?: Omit<Pick<{
|
|
4681
4703
|
type?: "collection" | undefined;
|
|
@@ -4742,9 +4764,10 @@ declare const client: import("vue").Ref<{
|
|
|
4742
4764
|
clientSecret?: string | undefined;
|
|
4743
4765
|
}> | undefined;
|
|
4744
4766
|
documentUrl?: string | undefined;
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4767
|
+
watchMode?: boolean | undefined;
|
|
4768
|
+
integration?: string | null | undefined;
|
|
4769
|
+
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
4770
|
+
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
|
|
4748
4771
|
setCollectionSecurity?: boolean;
|
|
4749
4772
|
} & {
|
|
4750
4773
|
overloadServers?: import("@scalar/types/legacy").Spec["servers"];
|
|
@@ -4813,9 +4836,10 @@ declare const client: import("vue").Ref<{
|
|
|
4813
4836
|
clientSecret?: string | undefined;
|
|
4814
4837
|
}> | undefined;
|
|
4815
4838
|
documentUrl?: string | undefined;
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4839
|
+
watchMode?: boolean | undefined;
|
|
4840
|
+
integration?: string | null | undefined;
|
|
4841
|
+
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
4842
|
+
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
|
|
4819
4843
|
setCollectionSecurity?: boolean;
|
|
4820
4844
|
} & {
|
|
4821
4845
|
overloadServers?: import("@scalar/types/legacy").Spec["servers"];
|
|
@@ -4859,8 +4883,8 @@ declare const client: import("vue").Ref<{
|
|
|
4859
4883
|
token: string;
|
|
4860
4884
|
clientSecret: string;
|
|
4861
4885
|
}>;
|
|
4862
|
-
|
|
4863
|
-
|
|
4886
|
+
watchMode: boolean;
|
|
4887
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4864
4888
|
externalDocs?: {
|
|
4865
4889
|
url: string;
|
|
4866
4890
|
description?: string | undefined;
|
|
@@ -4886,6 +4910,7 @@ declare const client: import("vue").Ref<{
|
|
|
4886
4910
|
components?: Record<string, unknown> | undefined;
|
|
4887
4911
|
webhooks?: Record<string, unknown> | undefined;
|
|
4888
4912
|
documentUrl?: string | undefined;
|
|
4913
|
+
integration?: string | null | undefined;
|
|
4889
4914
|
} | undefined>>>>>;
|
|
4890
4915
|
cookieMutators: {
|
|
4891
4916
|
add: (item: {
|
|
@@ -5033,8 +5058,8 @@ declare const client: import("vue").Ref<{
|
|
|
5033
5058
|
token: string;
|
|
5034
5059
|
clientSecret: string;
|
|
5035
5060
|
}>;
|
|
5036
|
-
|
|
5037
|
-
|
|
5061
|
+
watchMode: boolean;
|
|
5062
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
5038
5063
|
externalDocs?: {
|
|
5039
5064
|
url: string;
|
|
5040
5065
|
description?: string | undefined;
|
|
@@ -5060,6 +5085,7 @@ declare const client: import("vue").Ref<{
|
|
|
5060
5085
|
components?: Record<string, unknown> | undefined;
|
|
5061
5086
|
webhooks?: Record<string, unknown> | undefined;
|
|
5062
5087
|
documentUrl?: string | undefined;
|
|
5088
|
+
integration?: string | null | undefined;
|
|
5063
5089
|
}) => void;
|
|
5064
5090
|
add: (payload: import("@scalar/oas-utils/entities/spec").CollectionPayload, workspaceUid: string) => {
|
|
5065
5091
|
type: "collection";
|
|
@@ -5101,8 +5127,8 @@ declare const client: import("vue").Ref<{
|
|
|
5101
5127
|
token: string;
|
|
5102
5128
|
clientSecret: string;
|
|
5103
5129
|
}>;
|
|
5104
|
-
|
|
5105
|
-
|
|
5130
|
+
watchMode: boolean;
|
|
5131
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
5106
5132
|
externalDocs?: {
|
|
5107
5133
|
url: string;
|
|
5108
5134
|
description?: string | undefined;
|
|
@@ -5128,6 +5154,7 @@ declare const client: import("vue").Ref<{
|
|
|
5128
5154
|
components?: Record<string, unknown> | undefined;
|
|
5129
5155
|
webhooks?: Record<string, unknown> | undefined;
|
|
5130
5156
|
documentUrl?: string | undefined;
|
|
5157
|
+
integration?: string | null | undefined;
|
|
5131
5158
|
};
|
|
5132
5159
|
delete: (collection: import("@scalar/oas-utils/entities/spec").Collection, workspace: import("@scalar/oas-utils/entities").Workspace) => void;
|
|
5133
5160
|
set: (item: {
|
|
@@ -5170,8 +5197,8 @@ declare const client: import("vue").Ref<{
|
|
|
5170
5197
|
token: string;
|
|
5171
5198
|
clientSecret: string;
|
|
5172
5199
|
}>;
|
|
5173
|
-
|
|
5174
|
-
|
|
5200
|
+
watchMode: boolean;
|
|
5201
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
5175
5202
|
externalDocs?: {
|
|
5176
5203
|
url: string;
|
|
5177
5204
|
description?: string | undefined;
|
|
@@ -5197,8 +5224,9 @@ declare const client: import("vue").Ref<{
|
|
|
5197
5224
|
components?: Record<string, unknown> | undefined;
|
|
5198
5225
|
webhooks?: Record<string, unknown> | undefined;
|
|
5199
5226
|
documentUrl?: string | undefined;
|
|
5227
|
+
integration?: string | null | undefined;
|
|
5200
5228
|
}) => void;
|
|
5201
|
-
edit: <P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "
|
|
5229
|
+
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" ? {
|
|
5202
5230
|
type: "collection";
|
|
5203
5231
|
uid: string;
|
|
5204
5232
|
children: string[];
|
|
@@ -5238,8 +5266,8 @@ declare const client: import("vue").Ref<{
|
|
|
5238
5266
|
token: string;
|
|
5239
5267
|
clientSecret: string;
|
|
5240
5268
|
}>;
|
|
5241
|
-
|
|
5242
|
-
|
|
5269
|
+
watchMode: boolean;
|
|
5270
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
5243
5271
|
externalDocs?: {
|
|
5244
5272
|
url: string;
|
|
5245
5273
|
description?: string | undefined;
|
|
@@ -5265,7 +5293,8 @@ declare const client: import("vue").Ref<{
|
|
|
5265
5293
|
components?: Record<string, unknown> | undefined;
|
|
5266
5294
|
webhooks?: Record<string, unknown> | undefined;
|
|
5267
5295
|
documentUrl?: string | undefined;
|
|
5268
|
-
|
|
5296
|
+
integration?: string | null | undefined;
|
|
5297
|
+
}[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<{
|
|
5269
5298
|
type: "collection";
|
|
5270
5299
|
uid: string;
|
|
5271
5300
|
children: string[];
|
|
@@ -5305,8 +5334,8 @@ declare const client: import("vue").Ref<{
|
|
|
5305
5334
|
token: string;
|
|
5306
5335
|
clientSecret: string;
|
|
5307
5336
|
}>;
|
|
5308
|
-
|
|
5309
|
-
|
|
5337
|
+
watchMode: boolean;
|
|
5338
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
5310
5339
|
externalDocs?: {
|
|
5311
5340
|
url: string;
|
|
5312
5341
|
description?: string | undefined;
|
|
@@ -5332,6 +5361,7 @@ declare const client: import("vue").Ref<{
|
|
|
5332
5361
|
components?: Record<string, unknown> | undefined;
|
|
5333
5362
|
webhooks?: Record<string, unknown> | undefined;
|
|
5334
5363
|
documentUrl?: string | undefined;
|
|
5364
|
+
integration?: string | null | undefined;
|
|
5335
5365
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
5336
5366
|
type: "collection";
|
|
5337
5367
|
uid: string;
|
|
@@ -5372,8 +5402,8 @@ declare const client: import("vue").Ref<{
|
|
|
5372
5402
|
token: string;
|
|
5373
5403
|
clientSecret: string;
|
|
5374
5404
|
}>;
|
|
5375
|
-
|
|
5376
|
-
|
|
5405
|
+
watchMode: boolean;
|
|
5406
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
5377
5407
|
externalDocs?: {
|
|
5378
5408
|
url: string;
|
|
5379
5409
|
description?: string | undefined;
|
|
@@ -5399,8 +5429,9 @@ declare const client: import("vue").Ref<{
|
|
|
5399
5429
|
components?: Record<string, unknown> | undefined;
|
|
5400
5430
|
webhooks?: Record<string, unknown> | undefined;
|
|
5401
5431
|
documentUrl?: string | undefined;
|
|
5432
|
+
integration?: string | null | undefined;
|
|
5402
5433
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
5403
|
-
untrackedEdit: <P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "
|
|
5434
|
+
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" ? {
|
|
5404
5435
|
type: "collection";
|
|
5405
5436
|
uid: string;
|
|
5406
5437
|
children: string[];
|
|
@@ -5440,8 +5471,8 @@ declare const client: import("vue").Ref<{
|
|
|
5440
5471
|
token: string;
|
|
5441
5472
|
clientSecret: string;
|
|
5442
5473
|
}>;
|
|
5443
|
-
|
|
5444
|
-
|
|
5474
|
+
watchMode: boolean;
|
|
5475
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
5445
5476
|
externalDocs?: {
|
|
5446
5477
|
url: string;
|
|
5447
5478
|
description?: string | undefined;
|
|
@@ -5467,7 +5498,8 @@ declare const client: import("vue").Ref<{
|
|
|
5467
5498
|
components?: Record<string, unknown> | undefined;
|
|
5468
5499
|
webhooks?: Record<string, unknown> | undefined;
|
|
5469
5500
|
documentUrl?: string | undefined;
|
|
5470
|
-
|
|
5501
|
+
integration?: string | null | undefined;
|
|
5502
|
+
}[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<{
|
|
5471
5503
|
type: "collection";
|
|
5472
5504
|
uid: string;
|
|
5473
5505
|
children: string[];
|
|
@@ -5507,8 +5539,8 @@ declare const client: import("vue").Ref<{
|
|
|
5507
5539
|
token: string;
|
|
5508
5540
|
clientSecret: string;
|
|
5509
5541
|
}>;
|
|
5510
|
-
|
|
5511
|
-
|
|
5542
|
+
watchMode: boolean;
|
|
5543
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
5512
5544
|
externalDocs?: {
|
|
5513
5545
|
url: string;
|
|
5514
5546
|
description?: string | undefined;
|
|
@@ -5534,6 +5566,7 @@ declare const client: import("vue").Ref<{
|
|
|
5534
5566
|
components?: Record<string, unknown> | undefined;
|
|
5535
5567
|
webhooks?: Record<string, unknown> | undefined;
|
|
5536
5568
|
documentUrl?: string | undefined;
|
|
5569
|
+
integration?: string | null | undefined;
|
|
5537
5570
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
5538
5571
|
type: "collection";
|
|
5539
5572
|
uid: string;
|
|
@@ -5574,8 +5607,8 @@ declare const client: import("vue").Ref<{
|
|
|
5574
5607
|
token: string;
|
|
5575
5608
|
clientSecret: string;
|
|
5576
5609
|
}>;
|
|
5577
|
-
|
|
5578
|
-
|
|
5610
|
+
watchMode: boolean;
|
|
5611
|
+
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
5579
5612
|
externalDocs?: {
|
|
5580
5613
|
url: string;
|
|
5581
5614
|
description?: string | undefined;
|
|
@@ -5601,6 +5634,7 @@ declare const client: import("vue").Ref<{
|
|
|
5601
5634
|
components?: Record<string, unknown> | undefined;
|
|
5602
5635
|
webhooks?: Record<string, unknown> | undefined;
|
|
5603
5636
|
documentUrl?: string | undefined;
|
|
5637
|
+
integration?: string | null | undefined;
|
|
5604
5638
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
5605
5639
|
undo: (uid: string) => void;
|
|
5606
5640
|
redo: (uid: string) => void;
|