@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
@@ -3,7 +3,7 @@ import { useModal as V, ScalarDropdown as j, ScalarDropdownItem as v, ScalarIcon
3
3
  import { useToasts as I } from "@scalar/use-toasts";
4
4
  import { useRouter as A } from "vue-router";
5
5
  import { useWorkspace as F } from "../../store/store.js";
6
- const L = { class: "flex items-center text-sm w-[inherit]" }, P = { class: "font-medium m-0 text-sm flex gap-1.5 items-center" }, R = { class: "line-clamp-1 text-left w-[calc(100%-10px)]" }, U = { class: "text-ellipsis overflow-hidden" }, q = { class: "flex items-center justify-center h-4 w-4" }, Y = /* @__PURE__ */ y({
6
+ const L = { class: "flex items-center text-sm w-[inherit]" }, P = { class: "font-medium m-0 text-sm flex gap-1 items-center" }, R = { class: "line-clamp-1 text-left w-[calc(100%-10px)] text-xs" }, U = { class: "text-ellipsis overflow-hidden" }, q = { class: "flex items-center justify-center h-4 w-4" }, Y = /* @__PURE__ */ y({
7
7
  __name: "WorkspaceSelector",
8
8
  setup(G) {
9
9
  const { activeWorkspace: i, workspaces: b, workspaceMutators: g } = F(), { push: m } = A(), c = V(), { toast: f } = I(), a = D(""), C = (l) => {
@@ -64,7 +64,7 @@ const L = { class: "flex items-center text-sm w-[inherit]" }, P = { class: "font
64
64
  ]),
65
65
  default: r(() => [
66
66
  s(e(_), {
67
- class: "font-normal h-full justify-start line-clamp-1 py-1.5 px-1.5 text-c-1 hover:bg-b-2 w-fit",
67
+ class: "font-normal h-full justify-start line-clamp-1 py-1 px-1.5 text-c-1 hover:bg-b-2 w-fit text-c-3",
68
68
  fullWidth: "",
69
69
  variant: "ghost"
70
70
  }, {
@@ -1,28 +1,45 @@
1
+ export type PrefetchResult = {
2
+ state: 'idle' | 'loading';
3
+ content: string | null;
4
+ url: string | null;
5
+ error: string | null;
6
+ };
7
+ /**
8
+ * Core logic for fetching and processing a URL
9
+ */
10
+ export declare function createUrlPrefetcher(): {
11
+ prefetchUrl: (value: string | null, proxy?: string) => Promise<{
12
+ state: string;
13
+ content: string;
14
+ url: string;
15
+ error: null;
16
+ } | {
17
+ state: string;
18
+ content: null;
19
+ url: null;
20
+ error: any;
21
+ }>;
22
+ };
1
23
  /**
2
- * Fetches an URL and checks whether it could be an OpenAPI document
24
+ * Vue composable for URL prefetching
3
25
  */
4
26
  export declare function useUrlPrefetcher(): {
5
27
  prefetchResult: {
6
28
  state: "idle" | "loading";
7
29
  content: string | null;
30
+ url: string | null;
8
31
  error: string | null;
9
32
  };
10
- prefetchUrl: (value: string | null, proxy?: string) => Promise<({
11
- state: "idle" | "loading";
12
- content: string | null;
13
- error: string | null;
14
- } & {
33
+ prefetchUrl: (value: string | null, proxy?: string) => Promise<{
15
34
  state: string;
16
35
  content: string;
36
+ url: string;
17
37
  error: null;
18
- }) | ({
19
- state: "idle" | "loading";
20
- content: string | null;
21
- error: string | null;
22
- } & {
38
+ } | {
23
39
  state: string;
24
40
  content: null;
41
+ url: null;
25
42
  error: any;
26
- })>;
43
+ }>;
27
44
  };
28
45
  //# sourceMappingURL=useUrlPrefetcher.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useUrlPrefetcher.d.ts","sourceRoot":"","sources":["../../../../src/components/ImportCollection/hooks/useUrlPrefetcher.ts"],"names":[],"mappings":"AAUA;;GAEG;AACH,wBAAgB,gBAAgB;;eARvB,MAAM,GAAG,SAAS;iBAChB,MAAM,GAAG,IAAI;eACf,MAAM,GAAG,IAAI;;yBAec,MAAM,GAAG,IAAI,UAAU,MAAM;eAjBxD,MAAM,GAAG,SAAS;iBAChB,MAAM,GAAG,IAAI;eACf,MAAM,GAAG,IAAI;;;;;;eAFb,MAAM,GAAG,SAAS;iBAChB,MAAM,GAAG,IAAI;eACf,MAAM,GAAG,IAAI;;;;;;EA0ErB"}
1
+ {"version":3,"file":"useUrlPrefetcher.d.ts","sourceRoot":"","sources":["../../../../src/components/ImportCollection/hooks/useUrlPrefetcher.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;IAClB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CACrB,CAAA;AAED;;GAEG;AACH,wBAAgB,mBAAmB;yBACC,MAAM,GAAG,IAAI,UAAU,MAAM;;;;;;;;;;;EAgChE;AAED;;GAEG;AACH,wBAAgB,gBAAgB;;eA/CvB,MAAM,GAAG,SAAS;iBAChB,MAAM,GAAG,IAAI;aACjB,MAAM,GAAG,IAAI;eACX,MAAM,GAAG,IAAI;;yBAuDX,MAAM,GAAG,IAAI,UACZ,MAAM;;;;;;;;;;;EAoBjB"}
@@ -1,55 +1,47 @@
1
- import { isUrl as c } from "../utils/isUrl.js";
2
- import { redirectToProxy as l } from "@scalar/oas-utils/helpers";
3
- import { reactive as i } from "vue";
4
- function m() {
5
- const e = i({
1
+ import { fetchWithProxyFallback as s } from "@scalar/oas-utils/helpers";
2
+ import { reactive as o } from "vue";
3
+ function u() {
4
+ async function r(e, c) {
5
+ var n;
6
+ if (!e || typeof e != "string")
7
+ return { state: "idle", content: null, url: null, error: null };
8
+ try {
9
+ const t = await s(e, c);
10
+ return t.ok ? { state: "idle", content: await t.text(), url: e, error: null } : {
11
+ state: "idle",
12
+ content: null,
13
+ url: null,
14
+ error: `Couldn't fetch ${e}, got error ${[t.status, t.statusText].join(" ").trim()}.`
15
+ };
16
+ } catch (t) {
17
+ return console.error("[prefetchDocument]", t), { state: "idle", content: null, url: null, error: (n = t == null ? void 0 : t.message) != null && n.includes("Can’t fetch") ? `Couldn't reach ${e} — is it publicly accessible?` : t == null ? void 0 : t.message };
18
+ }
19
+ }
20
+ return { prefetchUrl: r };
21
+ }
22
+ function f() {
23
+ const r = o({
6
24
  state: "idle",
7
25
  content: null,
26
+ url: null,
8
27
  error: null
9
- });
10
- async function s(r, o) {
11
- if (!r || !c(r))
12
- return Object.assign(e, {
13
- state: "idle",
14
- content: null,
15
- error: null
16
- });
17
- Object.assign(e, {
28
+ }), { prefetchUrl: e } = u();
29
+ async function c(n, t) {
30
+ Object.assign(r, {
18
31
  state: "loading",
19
32
  content: null,
33
+ url: null,
20
34
  error: null
21
35
  });
22
- try {
23
- const t = await fetch(l(o, r), {
24
- cache: "no-store"
25
- });
26
- if (!t.ok)
27
- return Object.assign(e, {
28
- state: "idle",
29
- content: null,
30
- error: `Couldn’t fetch ${r}, got error ${[t.status, t.statusText].join(" ").trim()}.`
31
- });
32
- const n = await t.text();
33
- return Object.assign(e, {
34
- state: "idle",
35
- content: n,
36
- error: null
37
- });
38
- } catch (t) {
39
- console.error("[prefetchDocument]", t);
40
- const n = (t == null ? void 0 : t.message) === "Failed to fetch" ? `Couldn’t reach ${r} — is it publicly accessible?` : t == null ? void 0 : t.message;
41
- return Object.assign(e, {
42
- state: "idle",
43
- content: null,
44
- error: n
45
- });
46
- }
36
+ const l = await e(n, t);
37
+ return Object.assign(r, l), l;
47
38
  }
48
39
  return {
49
- prefetchResult: e,
50
- prefetchUrl: s
40
+ prefetchResult: r,
41
+ prefetchUrl: c
51
42
  };
52
43
  }
53
44
  export {
54
- m as useUrlPrefetcher
45
+ u as createUrlPrefetcher,
46
+ f as useUrlPrefetcher
55
47
  };
@@ -0,0 +1,13 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ buttonSource: "sidebar" | "modal";
3
+ isDevelopment?: boolean;
4
+ integration?: string | null | undefined;
5
+ url?: string | undefined;
6
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
7
+ buttonSource: "sidebar" | "modal";
8
+ isDevelopment?: boolean;
9
+ integration?: string | null | undefined;
10
+ url?: string | undefined;
11
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ export default _default;
13
+ //# sourceMappingURL=OpenApiClientButton.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OpenApiClientButton.vue.d.ts","sourceRoot":"","sources":["../../src/components/OpenApiClientButton.vue"],"names":[],"mappings":";kBAoFgB,SAAS,GAAG,OAAO;oBACjB,OAAO;kBACT,MAAM,GAAG,IAAI,GAAG,SAAS;UACjC,MAAM,GAAG,SAAS;;kBAHV,SAAS,GAAG,OAAO;oBACjB,OAAO;kBACT,MAAM,GAAG,IAAI,GAAG,SAAS;UACjC,MAAM,GAAG,SAAS;;AAiF1B,wBAMG"}
@@ -0,0 +1,7 @@
1
+ import t from "./OpenApiClientButton.vue2.js";
2
+ /* empty css */
3
+ import o from "../_virtual/_plugin-vue_export-helper.js";
4
+ const i = /* @__PURE__ */ o(t, [["__scopeId", "data-v-4e779d88"]]);
5
+ export {
6
+ i as default
7
+ };
@@ -0,0 +1,36 @@
1
+ import { defineComponent as a, computed as o, openBlock as i, createElementBlock as s, createVNode as c, unref as m, createTextVNode as l, createCommentVNode as u } from "vue";
2
+ import { ScalarIcon as p } from "@scalar/components";
3
+ import { makeUrlAbsolute as f } from "@scalar/oas-utils/helpers";
4
+ const h = ["href"], P = /* @__PURE__ */ a({
5
+ __name: "OpenApiClientButton",
6
+ props: {
7
+ buttonSource: {},
8
+ isDevelopment: { type: Boolean },
9
+ integration: {},
10
+ url: {}
11
+ },
12
+ setup(n) {
13
+ const r = o(() => {
14
+ const e = new URL(
15
+ n.isDevelopment ? "http://localhost:5065" : "https://client.scalar.com"
16
+ ), t = f(n.url);
17
+ return t != null && t.length && e.searchParams.set("url", t), n.integration !== null && e.searchParams.set("integration", n.integration ?? "vue"), e.searchParams.set("utm_source", "api-reference"), e.searchParams.set("utm_medium", "button"), e.searchParams.set("utm_campaign", n.buttonSource), e.toString();
18
+ });
19
+ return (e, t) => r.value ? (i(), s("a", {
20
+ key: 0,
21
+ class: "open-api-client-button",
22
+ href: r.value,
23
+ target: "_blank"
24
+ }, [
25
+ c(m(p), {
26
+ icon: "ExternalLink",
27
+ size: "xs",
28
+ thickness: "2.5"
29
+ }),
30
+ t[0] || (t[0] = l(" Open API Client "))
31
+ ], 8, h)) : u("", !0);
32
+ }
33
+ });
34
+ export {
35
+ P as default
36
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"ViewLayoutSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/ViewLayoutSection.vue"],"names":[],"mappings":"AA8BA,iBAAS,cAAc;mBA+CI,GAAG;qBACD,GAAG;EAc/B;AACD,QAAA,MAAM,eAAe,+QAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ViewLayoutSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/ViewLayoutSection.vue"],"names":[],"mappings":"AA8BA,iBAAS,cAAc;mBA8CI,GAAG;qBACD,GAAG;EAc/B;AACD,QAAA,MAAM,eAAe,+QAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,20 +1,20 @@
1
- import { defineComponent as n, openBlock as r, createElementBlock as s, unref as o, createElementVNode as i, renderSlot as t } from "vue";
1
+ import { defineComponent as n, openBlock as r, createElementBlock as s, unref as t, createElementVNode as i, renderSlot as o } from "vue";
2
2
  import { nanoid as d } from "nanoid";
3
3
  const a = ["aria-labelledby"], c = ["id"], u = /* @__PURE__ */ n({
4
4
  __name: "ViewLayoutSection",
5
5
  setup(m) {
6
6
  const e = d();
7
7
  return (l, p) => (r(), s("section", {
8
- "aria-labelledby": o(e),
8
+ "aria-labelledby": t(e),
9
9
  class: "flex h-full xl:min-w-0 xl:flex-1 flex-col xl:custom-scroll bg-b-1"
10
10
  }, [
11
11
  i("div", {
12
- id: o(e),
13
- class: "min-h-11 xl:min-h-header flex items-center border-b-1/2 px-3.5 py-1.5 md:px-4 md:py-1.5 xl:px-6 xl:pr-5 text-sm font-medium sticky top-0 bg-b-1 xl:rounded-none group"
12
+ id: t(e),
13
+ class: "min-h-11 xl:min-h-header flex items-center border-b-1/2 px-3.5 py-1.5 md:px-4 md:py-2.5 xl:px-6 xl:pr-5 text-sm font-medium sticky top-0 bg-b-1 xl:rounded-none"
14
14
  }, [
15
- t(l.$slots, "title")
15
+ o(l.$slots, "title")
16
16
  ], 8, c),
17
- t(l.$slots, "default")
17
+ o(l.$slots, "default")
18
18
  ], 8, a));
19
19
  }
20
20
  });
@@ -1,3 +1,4 @@
1
1
  export * from './AddressBar/index.js';
2
2
  export * from './Sidebar/index.js';
3
+ export { default as OpenApiClientButton } from './OpenApiClientButton.vue.js';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,2BAA2B,CAAA"}
@@ -1,6 +1,8 @@
1
- import { default as e } from "./AddressBar/AddressBar.vue.js";
1
+ import { default as t } from "./OpenApiClientButton.vue.js";
2
+ import { default as o } from "./AddressBar/AddressBar.vue.js";
2
3
  import { default as f } from "./Sidebar/Sidebar.vue.js";
3
4
  export {
4
- e as AddressBar,
5
+ o as AddressBar,
6
+ t as OpenApiClientButton,
5
7
  f as Sidebar
6
8
  };
@@ -81,8 +81,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
81
81
  token: string;
82
82
  clientSecret: string;
83
83
  }>;
84
- watchForChanges: boolean;
85
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
84
+ watchMode: boolean;
85
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
86
86
  externalDocs?: {
87
87
  url: string;
88
88
  description?: string | undefined;
@@ -108,6 +108,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
108
108
  components?: Record<string, unknown> | undefined;
109
109
  webhooks?: Record<string, unknown> | undefined;
110
110
  documentUrl?: string | undefined;
111
+ integration?: string | null | undefined;
111
112
  }>;
112
113
  tags: Record<string, {
113
114
  type: "tag";
@@ -378,8 +379,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
378
379
  token: string;
379
380
  clientSecret: string;
380
381
  }>;
381
- watchForChanges: boolean;
382
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
382
+ watchMode: boolean;
383
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
383
384
  externalDocs?: {
384
385
  url: string;
385
386
  description?: string | undefined;
@@ -405,6 +406,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
405
406
  components?: Record<string, unknown> | undefined;
406
407
  webhooks?: Record<string, unknown> | undefined;
407
408
  documentUrl?: string | undefined;
409
+ integration?: string | null | undefined;
408
410
  } | undefined>;
409
411
  activeCookieId: import("vue").ComputedRef<string | undefined>;
410
412
  activeExample: import("vue").ComputedRef<{
@@ -624,8 +626,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
624
626
  token: string;
625
627
  clientSecret: string;
626
628
  }>;
627
- watchForChanges: boolean;
628
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
629
+ watchMode: boolean;
630
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
629
631
  externalDocs?: {
630
632
  url: string;
631
633
  description?: string | undefined;
@@ -651,6 +653,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
651
653
  components?: Record<string, unknown> | undefined;
652
654
  webhooks?: Record<string, unknown> | undefined;
653
655
  documentUrl?: string | undefined;
656
+ integration?: string | null | undefined;
654
657
  }[]>;
655
658
  activeWorkspaceServers: import("vue").ComputedRef<{
656
659
  uid: string;
@@ -749,9 +752,10 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
749
752
  clientSecret?: string | undefined;
750
753
  }> | undefined;
751
754
  documentUrl?: string | undefined;
752
- watchForChanges?: boolean | undefined;
753
- watchForChangesStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
754
- }, "documentUrl" | "watchForChanges"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
755
+ watchMode?: boolean | undefined;
756
+ integration?: string | null | undefined;
757
+ watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
758
+ }, "documentUrl" | "watchMode"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
755
759
  setCollectionSecurity?: boolean;
756
760
  } & {
757
761
  overloadServers?: import("@scalar/types/legacy").Spec["servers"];
@@ -795,8 +799,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
795
799
  token: string;
796
800
  clientSecret: string;
797
801
  }>;
798
- watchForChanges: boolean;
799
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
802
+ watchMode: boolean;
803
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
800
804
  externalDocs?: {
801
805
  url: string;
802
806
  description?: string | undefined;
@@ -822,6 +826,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
822
826
  components?: Record<string, unknown> | undefined;
823
827
  webhooks?: Record<string, unknown> | undefined;
824
828
  documentUrl?: string | undefined;
829
+ integration?: string | null | undefined;
825
830
  } | undefined>;
826
831
  importSpecFromUrl: (url: string, workspaceUid: string, { proxy, ...options }?: Omit<Pick<{
827
832
  type?: "collection" | undefined;
@@ -888,9 +893,10 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
888
893
  clientSecret?: string | undefined;
889
894
  }> | undefined;
890
895
  documentUrl?: string | undefined;
891
- watchForChanges?: boolean | undefined;
892
- watchForChangesStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
893
- }, "documentUrl" | "watchForChanges"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
896
+ watchMode?: boolean | undefined;
897
+ integration?: string | null | undefined;
898
+ watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
899
+ }, "documentUrl" | "watchMode"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
894
900
  setCollectionSecurity?: boolean;
895
901
  } & {
896
902
  overloadServers?: import("@scalar/types/legacy").Spec["servers"];
@@ -959,9 +965,10 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
959
965
  clientSecret?: string | undefined;
960
966
  }> | undefined;
961
967
  documentUrl?: string | undefined;
962
- watchForChanges?: boolean | undefined;
963
- watchForChangesStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
964
- }, "documentUrl" | "watchForChanges"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
968
+ watchMode?: boolean | undefined;
969
+ integration?: string | null | undefined;
970
+ watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
971
+ }, "documentUrl" | "watchMode"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
965
972
  setCollectionSecurity?: boolean;
966
973
  } & {
967
974
  overloadServers?: import("@scalar/types/legacy").Spec["servers"];
@@ -1005,8 +1012,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
1005
1012
  token: string;
1006
1013
  clientSecret: string;
1007
1014
  }>;
1008
- watchForChanges: boolean;
1009
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
1015
+ watchMode: boolean;
1016
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
1010
1017
  externalDocs?: {
1011
1018
  url: string;
1012
1019
  description?: string | undefined;
@@ -1032,6 +1039,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
1032
1039
  components?: Record<string, unknown> | undefined;
1033
1040
  webhooks?: Record<string, unknown> | undefined;
1034
1041
  documentUrl?: string | undefined;
1042
+ integration?: string | null | undefined;
1035
1043
  } | undefined>>>>>;
1036
1044
  cookieMutators: {
1037
1045
  add: (item: {
@@ -1179,8 +1187,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
1179
1187
  token: string;
1180
1188
  clientSecret: string;
1181
1189
  }>;
1182
- watchForChanges: boolean;
1183
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
1190
+ watchMode: boolean;
1191
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
1184
1192
  externalDocs?: {
1185
1193
  url: string;
1186
1194
  description?: string | undefined;
@@ -1206,6 +1214,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
1206
1214
  components?: Record<string, unknown> | undefined;
1207
1215
  webhooks?: Record<string, unknown> | undefined;
1208
1216
  documentUrl?: string | undefined;
1217
+ integration?: string | null | undefined;
1209
1218
  }) => void;
1210
1219
  add: (payload: import("@scalar/oas-utils/entities/spec").CollectionPayload, workspaceUid: string) => {
1211
1220
  type: "collection";
@@ -1247,8 +1256,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
1247
1256
  token: string;
1248
1257
  clientSecret: string;
1249
1258
  }>;
1250
- watchForChanges: boolean;
1251
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
1259
+ watchMode: boolean;
1260
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
1252
1261
  externalDocs?: {
1253
1262
  url: string;
1254
1263
  description?: string | undefined;
@@ -1274,6 +1283,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
1274
1283
  components?: Record<string, unknown> | undefined;
1275
1284
  webhooks?: Record<string, unknown> | undefined;
1276
1285
  documentUrl?: string | undefined;
1286
+ integration?: string | null | undefined;
1277
1287
  };
1278
1288
  delete: (collection: import("@scalar/oas-utils/entities/spec").Collection, workspace: import("@scalar/oas-utils/entities").Workspace) => void;
1279
1289
  set: (item: {
@@ -1316,8 +1326,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
1316
1326
  token: string;
1317
1327
  clientSecret: string;
1318
1328
  }>;
1319
- watchForChanges: boolean;
1320
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
1329
+ watchMode: boolean;
1330
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
1321
1331
  externalDocs?: {
1322
1332
  url: string;
1323
1333
  description?: string | undefined;
@@ -1343,8 +1353,9 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
1343
1353
  components?: Record<string, unknown> | undefined;
1344
1354
  webhooks?: Record<string, unknown> | undefined;
1345
1355
  documentUrl?: string | undefined;
1356
+ integration?: string | null | undefined;
1346
1357
  }) => void;
1347
- 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" ? {
1358
+ 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" ? {
1348
1359
  type: "collection";
1349
1360
  uid: string;
1350
1361
  children: string[];
@@ -1384,8 +1395,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
1384
1395
  token: string;
1385
1396
  clientSecret: string;
1386
1397
  }>;
1387
- watchForChanges: boolean;
1388
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
1398
+ watchMode: boolean;
1399
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
1389
1400
  externalDocs?: {
1390
1401
  url: string;
1391
1402
  description?: string | undefined;
@@ -1411,7 +1422,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
1411
1422
  components?: Record<string, unknown> | undefined;
1412
1423
  webhooks?: Record<string, unknown> | undefined;
1413
1424
  documentUrl?: string | undefined;
1414
- }[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<{
1425
+ integration?: string | null | undefined;
1426
+ }[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<{
1415
1427
  type: "collection";
1416
1428
  uid: string;
1417
1429
  children: string[];
@@ -1451,8 +1463,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
1451
1463
  token: string;
1452
1464
  clientSecret: string;
1453
1465
  }>;
1454
- watchForChanges: boolean;
1455
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
1466
+ watchMode: boolean;
1467
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
1456
1468
  externalDocs?: {
1457
1469
  url: string;
1458
1470
  description?: string | undefined;
@@ -1478,6 +1490,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
1478
1490
  components?: Record<string, unknown> | undefined;
1479
1491
  webhooks?: Record<string, unknown> | undefined;
1480
1492
  documentUrl?: string | undefined;
1493
+ integration?: string | null | undefined;
1481
1494
  }[K]> ? import("@scalar/object-utils/nested").PathValue<{
1482
1495
  type: "collection";
1483
1496
  uid: string;
@@ -1518,8 +1531,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
1518
1531
  token: string;
1519
1532
  clientSecret: string;
1520
1533
  }>;
1521
- watchForChanges: boolean;
1522
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
1534
+ watchMode: boolean;
1535
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
1523
1536
  externalDocs?: {
1524
1537
  url: string;
1525
1538
  description?: string | undefined;
@@ -1545,8 +1558,9 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
1545
1558
  components?: Record<string, unknown> | undefined;
1546
1559
  webhooks?: Record<string, unknown> | undefined;
1547
1560
  documentUrl?: string | undefined;
1561
+ integration?: string | null | undefined;
1548
1562
  }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
1549
- 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" ? {
1563
+ 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" ? {
1550
1564
  type: "collection";
1551
1565
  uid: string;
1552
1566
  children: string[];
@@ -1586,8 +1600,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
1586
1600
  token: string;
1587
1601
  clientSecret: string;
1588
1602
  }>;
1589
- watchForChanges: boolean;
1590
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
1603
+ watchMode: boolean;
1604
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
1591
1605
  externalDocs?: {
1592
1606
  url: string;
1593
1607
  description?: string | undefined;
@@ -1613,7 +1627,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
1613
1627
  components?: Record<string, unknown> | undefined;
1614
1628
  webhooks?: Record<string, unknown> | undefined;
1615
1629
  documentUrl?: string | undefined;
1616
- }[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<{
1630
+ integration?: string | null | undefined;
1631
+ }[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<{
1617
1632
  type: "collection";
1618
1633
  uid: string;
1619
1634
  children: string[];
@@ -1653,8 +1668,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
1653
1668
  token: string;
1654
1669
  clientSecret: string;
1655
1670
  }>;
1656
- watchForChanges: boolean;
1657
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
1671
+ watchMode: boolean;
1672
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
1658
1673
  externalDocs?: {
1659
1674
  url: string;
1660
1675
  description?: string | undefined;
@@ -1680,6 +1695,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
1680
1695
  components?: Record<string, unknown> | undefined;
1681
1696
  webhooks?: Record<string, unknown> | undefined;
1682
1697
  documentUrl?: string | undefined;
1698
+ integration?: string | null | undefined;
1683
1699
  }[K]> ? import("@scalar/object-utils/nested").PathValue<{
1684
1700
  type: "collection";
1685
1701
  uid: string;
@@ -1720,8 +1736,8 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
1720
1736
  token: string;
1721
1737
  clientSecret: string;
1722
1738
  }>;
1723
- watchForChanges: boolean;
1724
- watchForChangesStatus: "IDLE" | "WATCHING" | "ERROR";
1739
+ watchMode: boolean;
1740
+ watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
1725
1741
  externalDocs?: {
1726
1742
  url: string;
1727
1743
  description?: string | undefined;
@@ -1747,6 +1763,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
1747
1763
  components?: Record<string, unknown> | undefined;
1748
1764
  webhooks?: Record<string, unknown> | undefined;
1749
1765
  documentUrl?: string | undefined;
1766
+ integration?: string | null | undefined;
1750
1767
  }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
1751
1768
  undo: (uid: string) => void;
1752
1769
  redo: (uid: string) => void;