@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
@@ -43,8 +43,8 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
43
43
  token: string;
44
44
  clientSecret: string;
45
45
  }>;
46
- watchForChanges: boolean;
47
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
46
+ watchMode: boolean;
47
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
48
48
  externalDocs?: {
49
49
  url: string;
50
50
  description?: string | undefined;
@@ -70,6 +70,7 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
70
70
  components?: Record<string, unknown> | undefined;
71
71
  webhooks?: Record<string, unknown> | undefined;
72
72
  documentUrl?: string | undefined;
73
+ integration?: string | null | undefined;
73
74
  }>;
74
75
  collectionMutators: {
75
76
  add: (item: {
@@ -112,8 +113,8 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
112
113
  token: string;
113
114
  clientSecret: string;
114
115
  }>;
115
- watchForChanges: boolean;
116
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
116
+ watchMode: boolean;
117
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
117
118
  externalDocs?: {
118
119
  url: string;
119
120
  description?: string | undefined;
@@ -139,6 +140,7 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
139
140
  components?: Record<string, unknown> | undefined;
140
141
  webhooks?: Record<string, unknown> | undefined;
141
142
  documentUrl?: string | undefined;
143
+ integration?: string | null | undefined;
142
144
  }) => void;
143
145
  delete: (uid: string) => void;
144
146
  set: (item: {
@@ -181,8 +183,8 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
181
183
  token: string;
182
184
  clientSecret: string;
183
185
  }>;
184
- watchForChanges: boolean;
185
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
186
+ watchMode: boolean;
187
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
186
188
  externalDocs?: {
187
189
  url: string;
188
190
  description?: string | undefined;
@@ -208,8 +210,9 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
208
210
  components?: Record<string, unknown> | undefined;
209
211
  webhooks?: Record<string, unknown> | undefined;
210
212
  documentUrl?: string | undefined;
213
+ integration?: string | null | undefined;
211
214
  }) => void;
212
- 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" ? {
215
+ 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" ? {
213
216
  type: "collection";
214
217
  uid: string;
215
218
  children: string[];
@@ -249,8 +252,8 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
249
252
  token: string;
250
253
  clientSecret: string;
251
254
  }>;
252
- watchForChanges: boolean;
253
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
255
+ watchMode: boolean;
256
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
254
257
  externalDocs?: {
255
258
  url: string;
256
259
  description?: string | undefined;
@@ -276,7 +279,8 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
276
279
  components?: Record<string, unknown> | undefined;
277
280
  webhooks?: Record<string, unknown> | undefined;
278
281
  documentUrl?: string | undefined;
279
- }[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 import("@scalar/object-utils/nested").Path<{
282
+ integration?: string | null | undefined;
283
+ }[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<{
280
284
  type: "collection";
281
285
  uid: string;
282
286
  children: string[];
@@ -316,8 +320,8 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
316
320
  token: string;
317
321
  clientSecret: string;
318
322
  }>;
319
- watchForChanges: boolean;
320
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
323
+ watchMode: boolean;
324
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
321
325
  externalDocs?: {
322
326
  url: string;
323
327
  description?: string | undefined;
@@ -343,6 +347,7 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
343
347
  components?: Record<string, unknown> | undefined;
344
348
  webhooks?: Record<string, unknown> | undefined;
345
349
  documentUrl?: string | undefined;
350
+ integration?: string | null | undefined;
346
351
  }[K]> ? import("@scalar/object-utils/nested").PathValue<{
347
352
  type: "collection";
348
353
  uid: string;
@@ -383,8 +388,8 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
383
388
  token: string;
384
389
  clientSecret: string;
385
390
  }>;
386
- watchForChanges: boolean;
387
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
391
+ watchMode: boolean;
392
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
388
393
  externalDocs?: {
389
394
  url: string;
390
395
  description?: string | undefined;
@@ -410,8 +415,9 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
410
415
  components?: Record<string, unknown> | undefined;
411
416
  webhooks?: Record<string, unknown> | undefined;
412
417
  documentUrl?: string | undefined;
418
+ integration?: string | null | undefined;
413
419
  }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
414
- 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" ? {
420
+ 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" ? {
415
421
  type: "collection";
416
422
  uid: string;
417
423
  children: string[];
@@ -451,8 +457,8 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
451
457
  token: string;
452
458
  clientSecret: string;
453
459
  }>;
454
- watchForChanges: boolean;
455
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
460
+ watchMode: boolean;
461
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
456
462
  externalDocs?: {
457
463
  url: string;
458
464
  description?: string | undefined;
@@ -478,7 +484,8 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
478
484
  components?: Record<string, unknown> | undefined;
479
485
  webhooks?: Record<string, unknown> | undefined;
480
486
  documentUrl?: string | undefined;
481
- }[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 import("@scalar/object-utils/nested").Path<{
487
+ integration?: string | null | undefined;
488
+ }[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<{
482
489
  type: "collection";
483
490
  uid: string;
484
491
  children: string[];
@@ -518,8 +525,8 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
518
525
  token: string;
519
526
  clientSecret: string;
520
527
  }>;
521
- watchForChanges: boolean;
522
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
528
+ watchMode: boolean;
529
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
523
530
  externalDocs?: {
524
531
  url: string;
525
532
  description?: string | undefined;
@@ -545,6 +552,7 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
545
552
  components?: Record<string, unknown> | undefined;
546
553
  webhooks?: Record<string, unknown> | undefined;
547
554
  documentUrl?: string | undefined;
555
+ integration?: string | null | undefined;
548
556
  }[K]> ? import("@scalar/object-utils/nested").PathValue<{
549
557
  type: "collection";
550
558
  uid: string;
@@ -585,8 +593,8 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
585
593
  token: string;
586
594
  clientSecret: string;
587
595
  }>;
588
- watchForChanges: boolean;
589
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
596
+ watchMode: boolean;
597
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
590
598
  externalDocs?: {
591
599
  url: string;
592
600
  description?: string | undefined;
@@ -612,6 +620,7 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
612
620
  components?: Record<string, unknown> | undefined;
613
621
  webhooks?: Record<string, unknown> | undefined;
614
622
  documentUrl?: string | undefined;
623
+ integration?: string | null | undefined;
615
624
  }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
616
625
  undo: (uid: string) => void;
617
626
  redo: (uid: string) => void;
@@ -659,8 +668,8 @@ export declare function extendedCollectionDataFactory({ requests, requestMutator
659
668
  token: string;
660
669
  clientSecret: string;
661
670
  }>;
662
- watchForChanges: boolean;
663
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
671
+ watchMode: boolean;
672
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
664
673
  externalDocs?: {
665
674
  url: string;
666
675
  description?: string | undefined;
@@ -686,6 +695,7 @@ export declare function extendedCollectionDataFactory({ requests, requestMutator
686
695
  components?: Record<string, unknown> | undefined;
687
696
  webhooks?: Record<string, unknown> | undefined;
688
697
  documentUrl?: string | undefined;
698
+ integration?: string | null | undefined;
689
699
  };
690
700
  deleteCollection: (collection: Collection, workspace: Workspace) => void;
691
701
  };
@@ -1 +1 @@
1
- {"version":3,"file":"collections.d.ts","sourceRoot":"","sources":["../../src/store/collections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAA3hB,CAAC;;;;;;2BAAqK,CAAC;uBAAqC,CAAC;8BAA4C,CAAC;uBAAqC,CAAC;wBAAoB,CAAC;uBAAqC,CAAC;yBAAuC,CAAC;;uBAA4D,CAAC;;8BAAoD,CAAC;uBAAqC,CAAC;;;;;;;;;;;EAtEn6d;AAED,gFAAgF;AAChF,wBAAgB,6BAA6B,CAAC,EAC5C,QAAQ,EACR,eAAe,EACf,eAAe,EACf,sBAAsB,EACtB,UAAU,EACV,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,WAAW,GACZ,EAAE,YAAY;6BACmB,iBAAiB,gBAAgB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAwDg0c,CAAC;;;;;;uBAAqK,CAAC;mBAAqC,CAAC;0BAA4C,CAAC;mBAAqC,CAAC;oBAAoB,CAAC;mBAAqC,CAAC;qBAAuC,CAAC;;mBAA4D,CAAC;;0BAAoD,CAAC;mBAAqC,CAAC;;;;;;;;mCA7C53d,UAAU,aAAa,SAAS;EA4CvE"}
@@ -58,8 +58,8 @@ export declare function importSpecFileFactory({ requestMutators, collectionMutat
58
58
  token: string;
59
59
  clientSecret: string;
60
60
  }>;
61
- watchForChanges: boolean;
62
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
61
+ watchMode: boolean;
62
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
63
63
  externalDocs?: {
64
64
  url: string;
65
65
  description?: string | undefined;
@@ -85,6 +85,7 @@ export declare function importSpecFileFactory({ requestMutators, collectionMutat
85
85
  components?: Record<string, unknown> | undefined;
86
86
  webhooks?: Record<string, unknown> | undefined;
87
87
  documentUrl?: string | undefined;
88
+ integration?: string | null | undefined;
88
89
  } | undefined>;
89
90
  importSpecFromUrl: (url: string, workspaceUid: string, { proxy, ...options }?: Omit<ImportSpecFileArgs, "documentUrl"> & Pick<ReferenceConfiguration, "proxy">) => Promise<ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, { overloadServers, ...options }?: ImportSpecFileArgs) => Promise<{
90
91
  type: "collection";
@@ -126,8 +127,8 @@ export declare function importSpecFileFactory({ requestMutators, collectionMutat
126
127
  token: string;
127
128
  clientSecret: string;
128
129
  }>;
129
- watchForChanges: boolean;
130
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
130
+ watchMode: boolean;
131
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
131
132
  externalDocs?: {
132
133
  url: string;
133
134
  description?: string | undefined;
@@ -153,6 +154,7 @@ export declare function importSpecFileFactory({ requestMutators, collectionMutat
153
154
  components?: Record<string, unknown> | undefined;
154
155
  webhooks?: Record<string, unknown> | undefined;
155
156
  documentUrl?: string | undefined;
157
+ integration?: string | null | undefined;
156
158
  } | undefined>>>>>;
157
159
  };
158
160
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"import-spec.d.ts","sourceRoot":"","sources":["../../src/store/import-spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAkB,MAAM,QAAQ,CAAA;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,OAAO,EACL,KAAK,yBAAyB,EAE/B,MAAM,8BAA8B,CAAA;AACrC,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAGxE,4BAA4B;AAC5B,eAAO,MAAM,cAAc,EAAE,MAAM,CACjC,MAAM,EACN;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,SAAS,CAAC,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAA;CAAE,CAC/D,CAAA;AAEN,KAAK,kBAAkB,GAAG,yBAAyB,GAAG;IACpD;;;;OAIG;IACH,eAAe,CAAC,E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