@scalar/api-client 2.1.35 → 2.1.36

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.
Files changed (86) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
  3. package/dist/components/CommandPalette/CommandPaletteImport.vue.js +105 -119
  4. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  5. package/dist/components/CommandPalette/TheCommandPalette.vue.js +1 -1
  6. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +14 -14
  7. package/dist/components/CommandPalette/WatchModeToggle.vue.d.ts +15 -0
  8. package/dist/components/CommandPalette/WatchModeToggle.vue.d.ts.map +1 -0
  9. package/dist/components/CommandPalette/WatchModeToggle.vue.js +39 -0
  10. package/dist/components/CommandPalette/WatchModeToggle.vue2.js +4 -0
  11. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +1 -1
  12. package/dist/components/ImportCollection/DropEventListener.vue.d.ts.map +1 -1
  13. package/dist/components/ImportCollection/DropEventListener.vue.js +39 -33
  14. package/dist/components/ImportCollection/ImportCollectionListener.vue.d.ts.map +1 -1
  15. package/dist/components/ImportCollection/ImportCollectionListener.vue.js +22 -20
  16. package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts +2 -0
  17. package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
  18. package/dist/components/ImportCollection/ImportCollectionModal.vue.js +159 -100
  19. package/dist/components/ImportCollection/ImportCollectionModal.vue3.js +5 -0
  20. package/dist/components/ImportCollection/ImportNowButton.vue.d.ts +2 -0
  21. package/dist/components/ImportCollection/ImportNowButton.vue.d.ts.map +1 -1
  22. package/dist/components/ImportCollection/ImportNowButton.vue.js +35 -31
  23. package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts +7 -0
  24. package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts.map +1 -0
  25. package/dist/components/ImportCollection/IntegrationLogo.vue.js +46 -0
  26. package/dist/components/ImportCollection/IntegrationLogo.vue2.js +4 -0
  27. package/dist/components/ImportCollection/PrefetchError.vue.d.ts +8 -0
  28. package/dist/components/ImportCollection/PrefetchError.vue.d.ts.map +1 -0
  29. package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts +2 -2
  30. package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts.map +1 -1
  31. package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.js +7 -7
  32. package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts.map +1 -1
  33. package/dist/components/ImportCollection/WorkspaceSelector.vue.js +2 -2
  34. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts +29 -12
  35. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts.map +1 -1
  36. package/dist/components/ImportCollection/hooks/useUrlPrefetcher.js +34 -42
  37. package/dist/components/OpenApiClientButton.vue.d.ts +13 -0
  38. package/dist/components/OpenApiClientButton.vue.d.ts.map +1 -0
  39. package/dist/components/OpenApiClientButton.vue.js +7 -0
  40. package/dist/components/OpenApiClientButton.vue2.js +36 -0
  41. package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
  42. package/dist/components/ViewLayout/ViewLayoutSection.vue.js +6 -6
  43. package/dist/components/index.d.ts +1 -0
  44. package/dist/components/index.d.ts.map +1 -1
  45. package/dist/components/index.js +4 -2
  46. package/dist/layouts/App/create-api-client-app.d.ts +58 -41
  47. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  48. package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
  49. package/dist/layouts/Modal/ApiClientModal.vue.js +1 -1
  50. package/dist/layouts/Modal/create-api-client-modal.d.ts +116 -82
  51. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  52. package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
  53. package/dist/layouts/Web/ApiClientWeb.vue.js +42 -38
  54. package/dist/layouts/Web/create-api-client-web.d.ts +58 -41
  55. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  56. package/dist/libs/create-client.d.ts +58 -41
  57. package/dist/libs/create-client.d.ts.map +1 -1
  58. package/dist/store/collections.d.ts +34 -24
  59. package/dist/store/collections.d.ts.map +1 -1
  60. package/dist/store/import-spec.d.ts +6 -4
  61. package/dist/store/import-spec.d.ts.map +1 -1
  62. package/dist/store/store.d.ts +116 -82
  63. package/dist/store/store.d.ts.map +1 -1
  64. package/dist/style.css +1 -1
  65. package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
  66. package/dist/views/Request/RequestSection/RequestSection.vue2.js +7 -7
  67. package/dist/views/Request/RequestSidebar.vue.js +3 -3
  68. package/dist/views/Request/RequestSidebar.vue2.js +29 -29
  69. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  70. package/dist/views/Request/RequestSidebarItem.vue2.js +76 -76
  71. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts +2 -2
  72. package/dist/views/Request/RequestSidebarItemMenu.vue.js +3 -3
  73. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +47 -47
  74. package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
  75. package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
  76. package/dist/views/Request/RequestSubpageHeader.vue2.js +67 -42
  77. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  78. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  79. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +3 -3
  80. package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +1 -1
  81. package/dist/views/Request/components/WorkspaceDropdown.vue.js +1 -1
  82. package/dist/views/Request/hooks/useOpenApiWatcher.js +24 -24
  83. package/dist/views/Request/types/sidebar-item.d.ts +1 -1
  84. package/dist/views/Request/types/sidebar-item.d.ts.map +1 -1
  85. package/package.json +6 -6
  86. package/dist/components/ImportCollection/ImportCollectionModal.vue2.js +0 -4
@@ -83,8 +83,8 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
83
83
  token: string;
84
84
  clientSecret: string;
85
85
  }>;
86
- watchForChanges: boolean;
87
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
380
381
  token: string;
381
382
  clientSecret: string;
382
383
  }>;
383
- watchForChanges: boolean;
384
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
626
628
  token: string;
627
629
  clientSecret: string;
628
630
  }>;
629
- watchForChanges: boolean;
630
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
751
754
  clientSecret?: string | undefined;
752
755
  }> | undefined;
753
756
  documentUrl?: string | undefined;
754
- watchForChanges?: boolean | undefined;
755
- watchForChangesStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
756
- }, "documentUrl" | "watchForChanges"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
797
801
  token: string;
798
802
  clientSecret: string;
799
803
  }>;
800
- watchForChanges: boolean;
801
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
890
895
  clientSecret?: string | undefined;
891
896
  }> | undefined;
892
897
  documentUrl?: string | undefined;
893
- watchForChanges?: boolean | undefined;
894
- watchForChangesStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
895
- }, "documentUrl" | "watchForChanges"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
961
967
  clientSecret?: string | undefined;
962
968
  }> | undefined;
963
969
  documentUrl?: string | undefined;
964
- watchForChanges?: boolean | undefined;
965
- watchForChangesStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
966
- }, "documentUrl" | "watchForChanges"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
1007
1014
  token: string;
1008
1015
  clientSecret: string;
1009
1016
  }>;
1010
- watchForChanges: boolean;
1011
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
1181
1189
  token: string;
1182
1190
  clientSecret: string;
1183
1191
  }>;
1184
- watchForChanges: boolean;
1185
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
1249
1258
  token: string;
1250
1259
  clientSecret: string;
1251
1260
  }>;
1252
- watchForChanges: boolean;
1253
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
1318
1328
  token: string;
1319
1329
  clientSecret: string;
1320
1330
  }>;
1321
- watchForChanges: boolean;
1322
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
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" | "watchForChanges" | "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" | "watchForChangesStatus" | `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" | "watchForChanges" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | "x-scalar-icon" | "watchForChangesStatus" ? {
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
1386
1397
  token: string;
1387
1398
  clientSecret: string;
1388
1399
  }>;
1389
- watchForChanges: boolean;
1390
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
1413
1424
  components?: Record<string, unknown> | undefined;
1414
1425
  webhooks?: Record<string, unknown> | undefined;
1415
1426
  documentUrl?: string | undefined;
1416
- }[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "watchForChanges" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | "x-scalar-icon" | "watchForChangesStatus" ? R extends Path<{
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 Path<{
1417
1429
  type: "collection";
1418
1430
  uid: string;
1419
1431
  children: string[];
@@ -1453,8 +1465,8 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
1453
1465
  token: string;
1454
1466
  clientSecret: string;
1455
1467
  }>;
1456
- watchForChanges: boolean;
1457
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
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]> ? PathValue<{
1484
1497
  type: "collection";
1485
1498
  uid: string;
@@ -1520,8 +1533,8 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
1520
1533
  token: string;
1521
1534
  clientSecret: string;
1522
1535
  }>;
1523
- watchForChanges: boolean;
1524
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
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" | "watchForChanges" | "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" | "watchForChangesStatus" | `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" | "watchForChanges" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | "x-scalar-icon" | "watchForChangesStatus" ? {
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
1588
1602
  token: string;
1589
1603
  clientSecret: string;
1590
1604
  }>;
1591
- watchForChanges: boolean;
1592
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
1615
1629
  components?: Record<string, unknown> | undefined;
1616
1630
  webhooks?: Record<string, unknown> | undefined;
1617
1631
  documentUrl?: string | undefined;
1618
- }[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "watchForChanges" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | "x-scalar-icon" | "watchForChangesStatus" ? R extends Path<{
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 Path<{
1619
1634
  type: "collection";
1620
1635
  uid: string;
1621
1636
  children: string[];
@@ -1655,8 +1670,8 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
1655
1670
  token: string;
1656
1671
  clientSecret: string;
1657
1672
  }>;
1658
- watchForChanges: boolean;
1659
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
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]> ? PathValue<{
1686
1702
  type: "collection";
1687
1703
  uid: string;
@@ -1722,8 +1738,8 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
1722
1738
  token: string;
1723
1739
  clientSecret: string;
1724
1740
  }>;
1725
- watchForChanges: boolean;
1726
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
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;
@@ -3939,8 +3956,8 @@ export declare const useWorkspace: () => {
3939
3956
  token: string;
3940
3957
  clientSecret: string;
3941
3958
  }>;
3942
- watchForChanges: boolean;
3943
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
3959
+ watchMode: boolean;
3960
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
3944
3961
  externalDocs?: {
3945
3962
  url: string;
3946
3963
  description?: string | undefined;
@@ -3966,6 +3983,7 @@ export declare const useWorkspace: () => {
3966
3983
  components?: Record<string, unknown> | undefined;
3967
3984
  webhooks?: Record<string, unknown> | undefined;
3968
3985
  documentUrl?: string | undefined;
3986
+ integration?: string | null | undefined;
3969
3987
  }>;
3970
3988
  tags: Record<string, {
3971
3989
  type: "tag";
@@ -4236,8 +4254,8 @@ export declare const useWorkspace: () => {
4236
4254
  token: string;
4237
4255
  clientSecret: string;
4238
4256
  }>;
4239
- watchForChanges: boolean;
4240
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
4257
+ watchMode: boolean;
4258
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
4241
4259
  externalDocs?: {
4242
4260
  url: string;
4243
4261
  description?: string | undefined;
@@ -4263,6 +4281,7 @@ export declare const useWorkspace: () => {
4263
4281
  components?: Record<string, unknown> | undefined;
4264
4282
  webhooks?: Record<string, unknown> | undefined;
4265
4283
  documentUrl?: string | undefined;
4284
+ integration?: string | null | undefined;
4266
4285
  } | undefined>;
4267
4286
  activeCookieId: import("vue").ComputedRef<string | undefined>;
4268
4287
  activeExample: import("vue").ComputedRef<{
@@ -4482,8 +4501,8 @@ export declare const useWorkspace: () => {
4482
4501
  token: string;
4483
4502
  clientSecret: string;
4484
4503
  }>;
4485
- watchForChanges: boolean;
4486
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
4504
+ watchMode: boolean;
4505
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
4487
4506
  externalDocs?: {
4488
4507
  url: string;
4489
4508
  description?: string | undefined;
@@ -4509,6 +4528,7 @@ export declare const useWorkspace: () => {
4509
4528
  components?: Record<string, unknown> | undefined;
4510
4529
  webhooks?: Record<string, unknown> | undefined;
4511
4530
  documentUrl?: string | undefined;
4531
+ integration?: string | null | undefined;
4512
4532
  }[]>;
4513
4533
  activeWorkspaceServers: import("vue").ComputedRef<{
4514
4534
  uid: string;
@@ -4607,9 +4627,10 @@ export declare const useWorkspace: () => {
4607
4627
  clientSecret?: string | undefined;
4608
4628
  }> | undefined;
4609
4629
  documentUrl?: string | undefined;
4610
- watchForChanges?: boolean | undefined;
4611
- watchForChangesStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
4612
- }, "documentUrl" | "watchForChanges"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
4630
+ watchMode?: boolean | undefined;
4631
+ integration?: string | null | undefined;
4632
+ watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
4633
+ }, "documentUrl" | "watchMode"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
4613
4634
  setCollectionSecurity?: boolean;
4614
4635
  } & {
4615
4636
  overloadServers?: import("@scalar/types/legacy").Spec["servers"];
@@ -4653,8 +4674,8 @@ export declare const useWorkspace: () => {
4653
4674
  token: string;
4654
4675
  clientSecret: string;
4655
4676
  }>;
4656
- watchForChanges: boolean;
4657
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
4677
+ watchMode: boolean;
4678
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
4658
4679
  externalDocs?: {
4659
4680
  url: string;
4660
4681
  description?: string | undefined;
@@ -4680,6 +4701,7 @@ export declare const useWorkspace: () => {
4680
4701
  components?: Record<string, unknown> | undefined;
4681
4702
  webhooks?: Record<string, unknown> | undefined;
4682
4703
  documentUrl?: string | undefined;
4704
+ integration?: string | null | undefined;
4683
4705
  } | undefined>;
4684
4706
  importSpecFromUrl: (url: string, workspaceUid: string, { proxy, ...options }?: Omit<Pick<{
4685
4707
  type?: "collection" | undefined;
@@ -4746,9 +4768,10 @@ export declare const useWorkspace: () => {
4746
4768
  clientSecret?: string | undefined;
4747
4769
  }> | undefined;
4748
4770
  documentUrl?: string | undefined;
4749
- watchForChanges?: boolean | undefined;
4750
- watchForChangesStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
4751
- }, "documentUrl" | "watchForChanges"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
4771
+ watchMode?: boolean | undefined;
4772
+ integration?: string | null | undefined;
4773
+ watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
4774
+ }, "documentUrl" | "watchMode"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
4752
4775
  setCollectionSecurity?: boolean;
4753
4776
  } & {
4754
4777
  overloadServers?: import("@scalar/types/legacy").Spec["servers"];
@@ -4817,9 +4840,10 @@ export declare const useWorkspace: () => {
4817
4840
  clientSecret?: string | undefined;
4818
4841
  }> | undefined;
4819
4842
  documentUrl?: string | undefined;
4820
- watchForChanges?: boolean | undefined;
4821
- watchForChangesStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
4822
- }, "documentUrl" | "watchForChanges"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
4843
+ watchMode?: boolean | undefined;
4844
+ integration?: string | null | undefined;
4845
+ watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
4846
+ }, "documentUrl" | "watchMode"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
4823
4847
  setCollectionSecurity?: boolean;
4824
4848
  } & {
4825
4849
  overloadServers?: import("@scalar/types/legacy").Spec["servers"];
@@ -4863,8 +4887,8 @@ export declare const useWorkspace: () => {
4863
4887
  token: string;
4864
4888
  clientSecret: string;
4865
4889
  }>;
4866
- watchForChanges: boolean;
4867
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
4890
+ watchMode: boolean;
4891
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
4868
4892
  externalDocs?: {
4869
4893
  url: string;
4870
4894
  description?: string | undefined;
@@ -4890,6 +4914,7 @@ export declare const useWorkspace: () => {
4890
4914
  components?: Record<string, unknown> | undefined;
4891
4915
  webhooks?: Record<string, unknown> | undefined;
4892
4916
  documentUrl?: string | undefined;
4917
+ integration?: string | null | undefined;
4893
4918
  } | undefined>>>>>;
4894
4919
  cookieMutators: {
4895
4920
  add: (item: {
@@ -5037,8 +5062,8 @@ export declare const useWorkspace: () => {
5037
5062
  token: string;
5038
5063
  clientSecret: string;
5039
5064
  }>;
5040
- watchForChanges: boolean;
5041
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
5065
+ watchMode: boolean;
5066
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
5042
5067
  externalDocs?: {
5043
5068
  url: string;
5044
5069
  description?: string | undefined;
@@ -5064,6 +5089,7 @@ export declare const useWorkspace: () => {
5064
5089
  components?: Record<string, unknown> | undefined;
5065
5090
  webhooks?: Record<string, unknown> | undefined;
5066
5091
  documentUrl?: string | undefined;
5092
+ integration?: string | null | undefined;
5067
5093
  }) => void;
5068
5094
  add: (payload: import("@scalar/oas-utils/entities/spec").CollectionPayload, workspaceUid: string) => {
5069
5095
  type: "collection";
@@ -5105,8 +5131,8 @@ export declare const useWorkspace: () => {
5105
5131
  token: string;
5106
5132
  clientSecret: string;
5107
5133
  }>;
5108
- watchForChanges: boolean;
5109
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
5134
+ watchMode: boolean;
5135
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
5110
5136
  externalDocs?: {
5111
5137
  url: string;
5112
5138
  description?: string | undefined;
@@ -5132,6 +5158,7 @@ export declare const useWorkspace: () => {
5132
5158
  components?: Record<string, unknown> | undefined;
5133
5159
  webhooks?: Record<string, unknown> | undefined;
5134
5160
  documentUrl?: string | undefined;
5161
+ integration?: string | null | undefined;
5135
5162
  };
5136
5163
  delete: (collection: import("@scalar/oas-utils/entities/spec").Collection, workspace: import("@scalar/oas-utils/entities").Workspace) => void;
5137
5164
  set: (item: {
@@ -5174,8 +5201,8 @@ export declare const useWorkspace: () => {
5174
5201
  token: string;
5175
5202
  clientSecret: string;
5176
5203
  }>;
5177
- watchForChanges: boolean;
5178
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
5204
+ watchMode: boolean;
5205
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
5179
5206
  externalDocs?: {
5180
5207
  url: string;
5181
5208
  description?: string | undefined;
@@ -5201,8 +5228,9 @@ export declare const useWorkspace: () => {
5201
5228
  components?: Record<string, unknown> | undefined;
5202
5229
  webhooks?: Record<string, unknown> | undefined;
5203
5230
  documentUrl?: string | undefined;
5231
+ integration?: string | null | undefined;
5204
5232
  }) => void;
5205
- edit: <P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "watchForChanges" | "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" | "watchForChangesStatus" | `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" | "watchForChanges" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | "x-scalar-icon" | "watchForChangesStatus" ? {
5233
+ 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" ? {
5206
5234
  type: "collection";
5207
5235
  uid: string;
5208
5236
  children: string[];
@@ -5242,8 +5270,8 @@ export declare const useWorkspace: () => {
5242
5270
  token: string;
5243
5271
  clientSecret: string;
5244
5272
  }>;
5245
- watchForChanges: boolean;
5246
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
5273
+ watchMode: boolean;
5274
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
5247
5275
  externalDocs?: {
5248
5276
  url: string;
5249
5277
  description?: string | undefined;
@@ -5269,7 +5297,8 @@ export declare const useWorkspace: () => {
5269
5297
  components?: Record<string, unknown> | undefined;
5270
5298
  webhooks?: Record<string, unknown> | undefined;
5271
5299
  documentUrl?: string | undefined;
5272
- }[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "watchForChanges" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | "x-scalar-icon" | "watchForChangesStatus" ? R extends Path<{
5300
+ integration?: string | null | undefined;
5301
+ }[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 Path<{
5273
5302
  type: "collection";
5274
5303
  uid: string;
5275
5304
  children: string[];
@@ -5309,8 +5338,8 @@ export declare const useWorkspace: () => {
5309
5338
  token: string;
5310
5339
  clientSecret: string;
5311
5340
  }>;
5312
- watchForChanges: boolean;
5313
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
5341
+ watchMode: boolean;
5342
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
5314
5343
  externalDocs?: {
5315
5344
  url: string;
5316
5345
  description?: string | undefined;
@@ -5336,6 +5365,7 @@ export declare const useWorkspace: () => {
5336
5365
  components?: Record<string, unknown> | undefined;
5337
5366
  webhooks?: Record<string, unknown> | undefined;
5338
5367
  documentUrl?: string | undefined;
5368
+ integration?: string | null | undefined;
5339
5369
  }[K]> ? PathValue<{
5340
5370
  type: "collection";
5341
5371
  uid: string;
@@ -5376,8 +5406,8 @@ export declare const useWorkspace: () => {
5376
5406
  token: string;
5377
5407
  clientSecret: string;
5378
5408
  }>;
5379
- watchForChanges: boolean;
5380
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
5409
+ watchMode: boolean;
5410
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
5381
5411
  externalDocs?: {
5382
5412
  url: string;
5383
5413
  description?: string | undefined;
@@ -5403,8 +5433,9 @@ export declare const useWorkspace: () => {
5403
5433
  components?: Record<string, unknown> | undefined;
5404
5434
  webhooks?: Record<string, unknown> | undefined;
5405
5435
  documentUrl?: string | undefined;
5436
+ integration?: string | null | undefined;
5406
5437
  }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
5407
- untrackedEdit: <P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "watchForChanges" | "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" | "watchForChangesStatus" | `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" | "watchForChanges" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | "x-scalar-icon" | "watchForChangesStatus" ? {
5438
+ 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" ? {
5408
5439
  type: "collection";
5409
5440
  uid: string;
5410
5441
  children: string[];
@@ -5444,8 +5475,8 @@ export declare const useWorkspace: () => {
5444
5475
  token: string;
5445
5476
  clientSecret: string;
5446
5477
  }>;
5447
- watchForChanges: boolean;
5448
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
5478
+ watchMode: boolean;
5479
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
5449
5480
  externalDocs?: {
5450
5481
  url: string;
5451
5482
  description?: string | undefined;
@@ -5471,7 +5502,8 @@ export declare const useWorkspace: () => {
5471
5502
  components?: Record<string, unknown> | undefined;
5472
5503
  webhooks?: Record<string, unknown> | undefined;
5473
5504
  documentUrl?: string | undefined;
5474
- }[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "watchForChanges" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | "x-scalar-icon" | "watchForChangesStatus" ? R extends Path<{
5505
+ integration?: string | null | undefined;
5506
+ }[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 Path<{
5475
5507
  type: "collection";
5476
5508
  uid: string;
5477
5509
  children: string[];
@@ -5511,8 +5543,8 @@ export declare const useWorkspace: () => {
5511
5543
  token: string;
5512
5544
  clientSecret: string;
5513
5545
  }>;
5514
- watchForChanges: boolean;
5515
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
5546
+ watchMode: boolean;
5547
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
5516
5548
  externalDocs?: {
5517
5549
  url: string;
5518
5550
  description?: string | undefined;
@@ -5538,6 +5570,7 @@ export declare const useWorkspace: () => {
5538
5570
  components?: Record<string, unknown> | undefined;
5539
5571
  webhooks?: Record<string, unknown> | undefined;
5540
5572
  documentUrl?: string | undefined;
5573
+ integration?: string | null | undefined;
5541
5574
  }[K]> ? PathValue<{
5542
5575
  type: "collection";
5543
5576
  uid: string;
@@ -5578,8 +5611,8 @@ export declare const useWorkspace: () => {
5578
5611
  token: string;
5579
5612
  clientSecret: string;
5580
5613
  }>;
5581
- watchForChanges: boolean;
5582
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
5614
+ watchMode: boolean;
5615
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
5583
5616
  externalDocs?: {
5584
5617
  url: string;
5585
5618
  description?: string | undefined;
@@ -5605,6 +5638,7 @@ export declare const useWorkspace: () => {
5605
5638
  components?: Record<string, unknown> | undefined;
5606
5639
  webhooks?: Record<string, unknown> | undefined;
5607
5640
  documentUrl?: string | undefined;
5641
+ integration?: string | null | undefined;
5608
5642
  }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
5609
5643
  undo: (uid: string) => void;
5610
5644
  redo: (uid: string) => void;