@scalar/api-client 2.3.1 → 2.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -0
- package/dist/components/DataTable/DataTableHeader.vue.js +9 -9
- package/dist/components/DataTable/DataTableRow.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableRow.vue.js +8 -8
- package/dist/components/Server/ServerDropdown.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdown.vue.js +49 -38
- package/dist/components/Server/ServerDropdownItem.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdownItem.vue.js +1 -1
- package/dist/components/Server/ServerDropdownItem.vue2.js +49 -46
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.js +7 -7
- package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.js +3 -3
- package/dist/layouts/App/create-api-client-app.d.ts +3 -3
- package/dist/layouts/Modal/create-api-client-modal.d.ts +6 -6
- package/dist/layouts/Web/create-api-client-web.d.ts +3 -3
- package/dist/libs/create-client.d.ts +3 -3
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +50 -50
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/active-entities.js +69 -64
- package/dist/store/import-spec.d.ts.map +1 -1
- package/dist/store/store.d.ts +3 -3
- package/dist/style.css +1 -1
- package/dist/views/Request/RequestRoot.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestRoot.vue.js +1 -1
- package/dist/views/Request/RequestRoot.vue2.js +71 -64
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue2.js +60 -62
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +120 -96
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue2.js +32 -27
- package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebar.vue.js +2 -2
- package/dist/views/Request/RequestSidebar.vue2.js +142 -141
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# @scalar/api-client
|
|
2
2
|
|
|
3
|
+
## 2.3.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- cd75eeb: fix: update collection in multi doc
|
|
8
|
+
- 4093692: fix: updates multiple auth style
|
|
9
|
+
- Updated dependencies [cd75eeb]
|
|
10
|
+
- Updated dependencies [39c0f47]
|
|
11
|
+
- @scalar/oas-utils@0.2.120
|
|
12
|
+
- @scalar/types@0.1.1
|
|
13
|
+
- @scalar/import@0.3.2
|
|
14
|
+
- @scalar/postman-to-openapi@0.1.43
|
|
15
|
+
- @scalar/openapi-parser@0.10.10
|
|
16
|
+
- @scalar/snippetz@0.2.16
|
|
17
|
+
- @scalar/themes@0.9.79
|
|
18
|
+
- @scalar/components@0.13.37
|
|
19
|
+
- @scalar/use-codemirror@0.11.82
|
|
20
|
+
- @scalar/use-hooks@0.1.33
|
|
21
|
+
|
|
22
|
+
## 2.3.2
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- 1437882: feat(components): create ScalarTextInput and ScalarTextArea
|
|
27
|
+
- 060ada9: feat: adds server deselection
|
|
28
|
+
- cf58fba: fix(api-reference): focus and screenreader improvements for client libraries, endpoints list and API client
|
|
29
|
+
- Updated dependencies [e0ee082]
|
|
30
|
+
- Updated dependencies [1437882]
|
|
31
|
+
- Updated dependencies [e00fa7e]
|
|
32
|
+
- Updated dependencies [632978d]
|
|
33
|
+
- @scalar/components@0.13.36
|
|
34
|
+
- @scalar/themes@0.9.78
|
|
35
|
+
- @scalar/use-codemirror@0.11.81
|
|
36
|
+
- @scalar/oas-utils@0.2.119
|
|
37
|
+
- @scalar/use-hooks@0.1.32
|
|
38
|
+
- @scalar/import@0.3.1
|
|
39
|
+
- @scalar/postman-to-openapi@0.1.42
|
|
40
|
+
|
|
3
41
|
## 2.3.1
|
|
4
42
|
|
|
5
43
|
### Patch Changes
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useBindCx as
|
|
3
|
-
import
|
|
4
|
-
const x = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as o, openBlock as r, createBlock as n, mergeProps as m, unref as s, withCtx as a, renderSlot as f } from "vue";
|
|
2
|
+
import { useBindCx as i } from "@scalar/components";
|
|
3
|
+
import c from "./DataTableCell.vue.js";
|
|
4
|
+
const x = /* @__PURE__ */ o({
|
|
5
5
|
__name: "DataTableHeader",
|
|
6
|
-
setup(
|
|
7
|
-
const { cx: e } =
|
|
8
|
-
return (t, u) => (
|
|
9
|
-
default:
|
|
10
|
-
|
|
6
|
+
setup(p) {
|
|
7
|
+
const { cx: e } = i();
|
|
8
|
+
return (t, u) => (r(), n(c, m({ is: "th" }, s(e)("items-center font-medium px-2 min-w-0 -outline-offset-1")), {
|
|
9
|
+
default: a(() => [
|
|
10
|
+
f(t.$slots, "default")
|
|
11
11
|
]),
|
|
12
12
|
_: 3
|
|
13
13
|
}, 16));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTableRow.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableRow.vue"],"names":[],"mappings":"AAcA,iBAAS,cAAc;
|
|
1
|
+
{"version":3,"file":"DataTableRow.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableRow.vue"],"names":[],"mappings":"AAcA,iBAAS,cAAc;WAoCT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAOD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,+RAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { openBlock as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
4
|
-
function
|
|
5
|
-
return
|
|
6
|
-
r(
|
|
1
|
+
import { openBlock as t, createElementBlock as o, renderSlot as r } from "vue";
|
|
2
|
+
import c from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const n = {}, s = { class: "group contents" };
|
|
4
|
+
function a(e, l) {
|
|
5
|
+
return t(), o("tr", s, [
|
|
6
|
+
r(e.$slots, "default")
|
|
7
7
|
]);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const d = /* @__PURE__ */ c(n, [["render", a]]);
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
d as default
|
|
12
12
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServerDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerDropdown.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ServerDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerDropdown.vue"],"names":[],"mappings":"AA+KA,OAAO,KAAK,EACV,UAAU,EACV,OAAO,IAAI,SAAS,EACpB,MAAM,EACP,MAAM,iCAAiC,CAAA;AAUxC,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,qEAAqE;IACrE,MAAM,EAAE,MAAM,CAAA;CACf,CAAC;;AA2RF,wBAOG"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as V, computed as
|
|
2
|
-
import { ScalarPopover as
|
|
1
|
+
import { defineComponent as V, computed as u, watch as z, openBlock as n, createBlock as m, unref as s, withCtx as v, createElementVNode as a, createElementBlock as i, Fragment as c, renderList as h, createVNode as d, createCommentVNode as k, createTextVNode as L, toDisplayString as W } from "vue";
|
|
2
|
+
import { ScalarPopover as q, ScalarDropdownDivider as E, ScalarIcon as x, ScalarFloatingBackdrop as F, ScalarButton as I } from "@scalar/components";
|
|
3
3
|
import { useLayout as M } from "../../hooks/useLayout.js";
|
|
4
4
|
import { useWorkspace as P } from "../../store/store.js";
|
|
5
|
-
import
|
|
5
|
+
import y from "./ServerDropdownItem.vue.js";
|
|
6
6
|
const T = ["onClick"], j = { class: "flex h-4 w-4 items-center justify-center" }, Q = /* @__PURE__ */ V({
|
|
7
7
|
__name: "ServerDropdown",
|
|
8
8
|
props: {
|
|
@@ -12,7 +12,7 @@ const T = ["onClick"], j = { class: "flex h-4 w-4 items-center justify-center" }
|
|
|
12
12
|
target: {}
|
|
13
13
|
},
|
|
14
14
|
setup(l) {
|
|
15
|
-
const { layout:
|
|
15
|
+
const { layout: U } = M(), { servers: p, collectionMutators: w, events: A, serverMutators: C } = P(), f = u(
|
|
16
16
|
() => {
|
|
17
17
|
var e, r;
|
|
18
18
|
return (r = (e = l.operation) == null ? void 0 : e.servers) == null ? void 0 : r.map((t) => {
|
|
@@ -23,14 +23,14 @@ const T = ["onClick"], j = { class: "flex h-4 w-4 items-center justify-center" }
|
|
|
23
23
|
};
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
|
-
),
|
|
26
|
+
), S = u(
|
|
27
27
|
() => {
|
|
28
28
|
var e, r;
|
|
29
29
|
return (
|
|
30
30
|
// Filters out servers already present in the request
|
|
31
31
|
(r = (e = l.collection) == null ? void 0 : e.servers) == null ? void 0 : r.filter((t) => {
|
|
32
|
-
var o,
|
|
33
|
-
return !((
|
|
32
|
+
var o, g;
|
|
33
|
+
return !((g = (o = l.operation) == null ? void 0 : o.servers) != null && g.includes(t));
|
|
34
34
|
}).map((t) => {
|
|
35
35
|
var o;
|
|
36
36
|
return {
|
|
@@ -40,30 +40,30 @@ const T = ["onClick"], j = { class: "flex h-4 w-4 items-center justify-center" }
|
|
|
40
40
|
})
|
|
41
41
|
);
|
|
42
42
|
}
|
|
43
|
-
),
|
|
43
|
+
), D = u(
|
|
44
44
|
() => {
|
|
45
45
|
var e, r;
|
|
46
|
-
return ((e = f.value) == null ? void 0 : e.length) && ((r =
|
|
46
|
+
return ((e = f.value) == null ? void 0 : e.length) && ((r = S.value) == null ? void 0 : r.length);
|
|
47
47
|
}
|
|
48
48
|
);
|
|
49
|
-
|
|
49
|
+
z([() => l.collection, () => l.operation], ([e, r]) => {
|
|
50
50
|
var o;
|
|
51
51
|
if (!e || e.selectedServerUid || r != null && r.selectedServerUid)
|
|
52
52
|
return;
|
|
53
53
|
const t = (o = l.collection.servers) == null ? void 0 : o[0];
|
|
54
54
|
t && w.edit(l.collection.uid, "selectedServerUid", t);
|
|
55
55
|
});
|
|
56
|
-
const B = () =>
|
|
56
|
+
const B = () => A.commandPalette.emit({
|
|
57
57
|
commandName: "Add Server"
|
|
58
|
-
}), N =
|
|
58
|
+
}), N = u(() => {
|
|
59
59
|
var e, r, t;
|
|
60
60
|
return (r = (e = l.server) == null ? void 0 : e.url) != null && r.endsWith("/") ? l.server.url.slice(0, -1) : ((t = l.server) == null ? void 0 : t.url) || "";
|
|
61
|
-
}),
|
|
61
|
+
}), b = (e, r) => {
|
|
62
62
|
if (!l.server) return;
|
|
63
63
|
const t = l.server.variables || {};
|
|
64
|
-
t[e] = { ...t[e], default: r },
|
|
64
|
+
t[e] = { ...t[e], default: r }, C.edit(l.server.uid, "variables", t);
|
|
65
65
|
};
|
|
66
|
-
return (e, r) => (n(),
|
|
66
|
+
return (e, r) => (n(), m(s(q), {
|
|
67
67
|
class: "max-h-[inherit] p-0 text-sm",
|
|
68
68
|
focus: "",
|
|
69
69
|
offset: 0,
|
|
@@ -72,61 +72,72 @@ const T = ["onClick"], j = { class: "flex h-4 w-4 items-center justify-center" }
|
|
|
72
72
|
target: e.target,
|
|
73
73
|
teleport: `#${e.target}`
|
|
74
74
|
}, {
|
|
75
|
-
popover:
|
|
76
|
-
|
|
75
|
+
popover: v(({ close: t }) => [
|
|
76
|
+
a("div", {
|
|
77
77
|
class: "custom-scroll flex max-h-[inherit] flex-col gap-1 border-t p-1",
|
|
78
78
|
onClick: t
|
|
79
79
|
}, [
|
|
80
|
-
(n(!0),
|
|
80
|
+
(n(!0), i(c, null, h(f.value, (o) => (n(), m(y, {
|
|
81
81
|
key: o.id,
|
|
82
82
|
collection: e.collection,
|
|
83
83
|
operation: e.operation,
|
|
84
84
|
server: e.server,
|
|
85
85
|
serverOption: o,
|
|
86
86
|
type: "request",
|
|
87
|
-
"onUpdate:variable":
|
|
87
|
+
"onUpdate:variable": b
|
|
88
88
|
}, null, 8, ["collection", "operation", "server", "serverOption"]))), 128)),
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
r[
|
|
92
|
-
], 64)) :
|
|
93
|
-
(n(!0),
|
|
89
|
+
D.value ? (n(), i(c, { key: 0 }, [
|
|
90
|
+
d(s(E)),
|
|
91
|
+
r[2] || (r[2] = a("div", { class: "text-xxs text-c-2 px-2.5 py-1" }, "Collection", -1))
|
|
92
|
+
], 64)) : k("", !0),
|
|
93
|
+
(n(!0), i(c, null, h(S.value, (o) => (n(), m(y, {
|
|
94
94
|
key: o.id,
|
|
95
95
|
collection: e.collection,
|
|
96
96
|
operation: e.operation,
|
|
97
97
|
server: e.server,
|
|
98
98
|
serverOption: o,
|
|
99
99
|
type: "collection",
|
|
100
|
-
"onUpdate:variable":
|
|
100
|
+
"onUpdate:variable": b
|
|
101
101
|
}, null, 8, ["collection", "operation", "server", "serverOption"]))), 128)),
|
|
102
|
-
|
|
102
|
+
s(U) !== "modal" ? (n(), i("button", {
|
|
103
103
|
key: 1,
|
|
104
104
|
class: "text-xxs p-1.75 hover:bg-b-2 flex cursor-pointer items-center gap-1.5 rounded",
|
|
105
105
|
type: "button",
|
|
106
106
|
onClick: B
|
|
107
107
|
}, [
|
|
108
|
-
|
|
109
|
-
|
|
108
|
+
a("div", j, [
|
|
109
|
+
d(s(x), {
|
|
110
110
|
icon: "Add",
|
|
111
111
|
size: "sm"
|
|
112
112
|
})
|
|
113
113
|
]),
|
|
114
|
-
r[
|
|
115
|
-
])) :
|
|
114
|
+
r[3] || (r[3] = a("span", null, "Add Server", -1))
|
|
115
|
+
])) : k("", !0)
|
|
116
116
|
], 8, T)
|
|
117
117
|
]),
|
|
118
|
-
backdrop:
|
|
119
|
-
|
|
118
|
+
backdrop: v(() => [
|
|
119
|
+
d(s(F), { class: "-top-[--scalar-address-bar-height] rounded-lg" })
|
|
120
120
|
]),
|
|
121
|
-
default:
|
|
122
|
-
|
|
121
|
+
default: v(() => [
|
|
122
|
+
d(s(I), {
|
|
123
123
|
class: "gap-0.75 z-context-plus h-6.5 hover:bg-b-2 font-code ml-0.75 text-c-2 whitespace-nowrap rounded border px-1.5 text-xs lg:text-sm",
|
|
124
124
|
variant: "ghost"
|
|
125
125
|
}, {
|
|
126
|
-
default:
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
126
|
+
default: v(() => {
|
|
127
|
+
var t;
|
|
128
|
+
return [
|
|
129
|
+
(t = e.operation) != null && t.selectedServerUid || e.collection.selectedServerUid ? (n(), i(c, { key: 0 }, [
|
|
130
|
+
r[0] || (r[0] = a("span", { class: "sr-only" }, "Server:", -1)),
|
|
131
|
+
L(" " + W(N.value), 1)
|
|
132
|
+
], 64)) : (n(), i(c, { key: 1 }, [
|
|
133
|
+
r[1] || (r[1] = a("span", { class: "sr-only" }, "Add Server", -1)),
|
|
134
|
+
d(s(x), {
|
|
135
|
+
icon: "Add",
|
|
136
|
+
size: "xs"
|
|
137
|
+
})
|
|
138
|
+
], 64))
|
|
139
|
+
];
|
|
140
|
+
}),
|
|
130
141
|
_: 1
|
|
131
142
|
})
|
|
132
143
|
]),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServerDropdownItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerDropdownItem.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ServerDropdownItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerDropdownItem.vue"],"names":[],"mappings":"AAmJA,OAAO,KAAK,EACV,UAAU,EACV,OAAO,IAAI,SAAS,EACpB,MAAM,EACP,MAAM,iCAAiC,CAAA;AAQxC,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,SAAS,EAAE,SAAS,GAAG,SAAS,CAAA;IAChC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,YAAY,EAAE;QACZ,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,CAAA;QACjB,KAAK,EAAE,MAAM,CAAA;KACd,CAAA;IACD,IAAI,EAAE,YAAY,GAAG,SAAS,CAAA;CAC/B,CAAC;;;;;;AAwNF,wBAQG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ServerDropdownItem.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-
|
|
4
|
+
const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-2ef48662"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarListboxCheckbox as
|
|
1
|
+
import { defineComponent as O, useId as U, computed as y, openBlock as c, createElementBlock as p, normalizeClass as V, createElementVNode as u, mergeProps as q, unref as a, createVNode as v, toDisplayString as M, withModifiers as E, createCommentVNode as h } from "vue";
|
|
2
|
+
import { ScalarListboxCheckbox as I, ScalarMarkdown as N } from "@scalar/components";
|
|
3
3
|
import B from "./ServerVariablesForm.vue.js";
|
|
4
4
|
import { useWorkspace as D } from "../../store/store.js";
|
|
5
|
-
const P = ["aria-expanded"], j = { class: "overflow-hidden text-ellipsis whitespace-nowrap" }, z = ["id"], L = { key: 0 },
|
|
5
|
+
const P = ["aria-expanded"], j = { class: "overflow-hidden text-ellipsis whitespace-nowrap" }, z = ["id"], L = { key: 0 }, W = { class: "description text-c-3 px-3 py-1.5" }, H = /* @__PURE__ */ O({
|
|
6
6
|
__name: "ServerDropdownItem",
|
|
7
7
|
props: {
|
|
8
8
|
collection: {},
|
|
@@ -12,68 +12,71 @@ const P = ["aria-expanded"], j = { class: "overflow-hidden text-ellipsis whitesp
|
|
|
12
12
|
type: {}
|
|
13
13
|
},
|
|
14
14
|
emits: ["update:variable"],
|
|
15
|
-
setup(
|
|
16
|
-
const
|
|
17
|
-
var
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
var e;
|
|
26
|
-
return ((e = t.server) == null ? void 0 : e.uid) === t.serverOption.id;
|
|
15
|
+
setup(g, { emit: k }) {
|
|
16
|
+
const e = g, x = k, f = U(), { collectionMutators: m, requestMutators: l, servers: _ } = D(), w = (t, r) => {
|
|
17
|
+
var i, s, n, S;
|
|
18
|
+
if (b(t) && (r == null || r.stopPropagation()), o.value) {
|
|
19
|
+
(s = (i = e.operation) == null ? void 0 : i.servers) != null && s.length && l.edit(e.operation.uid, "selectedServerUid", null), e.type === "collection" ? m.edit(
|
|
20
|
+
e.collection.uid,
|
|
21
|
+
"selectedServerUid",
|
|
22
|
+
void 0
|
|
23
|
+
) : e.type === "request" && e.operation && l.edit(e.operation.uid, "selectedServerUid", null);
|
|
24
|
+
return;
|
|
27
25
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
e.type === "collection" && e.collection ? ((S = (n = e.operation) == null ? void 0 : n.servers) != null && S.length && l.edit(e.operation.uid, "selectedServerUid", null), m.edit(
|
|
27
|
+
e.collection.uid,
|
|
28
|
+
"selectedServerUid",
|
|
29
|
+
t
|
|
30
|
+
)) : e.type === "request" && e.operation && l.edit(e.operation.uid, "selectedServerUid", t);
|
|
31
|
+
}, o = y(() => e.type === "collection" ? e.collection.selectedServerUid === e.serverOption.id : e.type === "request" && e.operation ? e.operation.selectedServerUid === e.serverOption.id : !1), b = (t) => {
|
|
32
|
+
if (!t) return !1;
|
|
33
|
+
const r = _[t];
|
|
31
34
|
return Object.keys((r == null ? void 0 : r.variables) ?? {}).length > 0;
|
|
32
|
-
},
|
|
35
|
+
}, d = y(
|
|
33
36
|
() => {
|
|
34
|
-
var
|
|
35
|
-
return
|
|
37
|
+
var t;
|
|
38
|
+
return o.value && b(((t = e.server) == null ? void 0 : t.uid) ?? "");
|
|
36
39
|
}
|
|
37
|
-
),
|
|
38
|
-
|
|
40
|
+
), C = (t, r) => {
|
|
41
|
+
x("update:variable", t, r);
|
|
39
42
|
};
|
|
40
|
-
return (
|
|
41
|
-
var
|
|
42
|
-
return
|
|
43
|
-
class: V(["group/item flex min-h-fit flex-col rounded border", { "border-transparent": !
|
|
43
|
+
return (t, r) => {
|
|
44
|
+
var i, s;
|
|
45
|
+
return c(), p("div", {
|
|
46
|
+
class: V(["group/item flex min-h-fit flex-col rounded border", { "border-transparent": !o.value }])
|
|
44
47
|
}, [
|
|
45
|
-
|
|
46
|
-
"aria-expanded":
|
|
47
|
-
class: ["flex min-h-8 cursor-pointer items-center gap-1.5 rounded px-1.5",
|
|
48
|
+
u("button", q(d.value ? { "aria-controls": a(f) } : {}, {
|
|
49
|
+
"aria-expanded": d.value,
|
|
50
|
+
class: ["flex min-h-8 cursor-pointer items-center gap-1.5 rounded px-1.5", o.value ? "text-c-1 bg-b-2" : "hover:bg-b-2"],
|
|
48
51
|
type: "button",
|
|
49
|
-
onClick: r[0] || (r[0] = (
|
|
52
|
+
onClick: r[0] || (r[0] = (n) => w(t.serverOption.id, n))
|
|
50
53
|
}), [
|
|
51
|
-
|
|
52
|
-
|
|
54
|
+
v(a(I), { selected: o.value }, null, 8, ["selected"]),
|
|
55
|
+
u("span", j, M(t.serverOption.label), 1)
|
|
53
56
|
], 16, P),
|
|
54
|
-
|
|
57
|
+
d.value ? (c(), p("div", {
|
|
55
58
|
key: 0,
|
|
56
|
-
id: a(
|
|
59
|
+
id: a(f),
|
|
57
60
|
class: "bg-b-2 divide divide-y rounded-b border-t *:pl-4",
|
|
58
|
-
onClick: r[1] || (r[1] =
|
|
61
|
+
onClick: r[1] || (r[1] = E(() => {
|
|
59
62
|
}, ["stop"]))
|
|
60
63
|
}, [
|
|
61
|
-
|
|
62
|
-
variables: (
|
|
63
|
-
"onUpdate:variable":
|
|
64
|
+
v(B, {
|
|
65
|
+
variables: (i = t.server) == null ? void 0 : i.variables,
|
|
66
|
+
"onUpdate:variable": C
|
|
64
67
|
}, null, 8, ["variables"]),
|
|
65
|
-
(
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
value:
|
|
68
|
+
(s = t.server) != null && s.description ? (c(), p("div", L, [
|
|
69
|
+
u("div", W, [
|
|
70
|
+
v(a(N), {
|
|
71
|
+
value: t.server.description
|
|
69
72
|
}, null, 8, ["value"])
|
|
70
73
|
])
|
|
71
|
-
])) :
|
|
72
|
-
], 8, z)) :
|
|
74
|
+
])) : h("", !0)
|
|
75
|
+
], 8, z)) : h("", !0)
|
|
73
76
|
], 2);
|
|
74
77
|
};
|
|
75
78
|
}
|
|
76
79
|
});
|
|
77
80
|
export {
|
|
78
|
-
|
|
81
|
+
H as default
|
|
79
82
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as p, ref as
|
|
2
|
-
import { ScalarButton as x,
|
|
1
|
+
import { defineComponent as p, ref as u, openBlock as f, createBlock as v, withCtx as n, createElementVNode as m, createVNode as l, unref as s } from "vue";
|
|
2
|
+
import { ScalarButton as x, ScalarTextInput as V } from "@scalar/components";
|
|
3
3
|
import { LibraryIcon as _ } from "@scalar/icons";
|
|
4
4
|
import b from "../../IconSelector.vue.js";
|
|
5
5
|
import S from "./SidebarListElementForm.vue.js";
|
|
6
|
-
const C = { class: "grid grid-cols-[auto,1fr] gap-2" }, g = { class: "flex aspect-square" },
|
|
6
|
+
const C = { class: "grid grid-cols-[auto,1fr] gap-2" }, g = { class: "flex aspect-square" }, $ = /* @__PURE__ */ p({
|
|
7
7
|
__name: "EditSidebarListCollection",
|
|
8
8
|
props: {
|
|
9
9
|
name: {},
|
|
@@ -11,14 +11,14 @@ const C = { class: "grid grid-cols-[auto,1fr] gap-2" }, g = { class: "flex aspec
|
|
|
11
11
|
},
|
|
12
12
|
emits: ["close", "edit"],
|
|
13
13
|
setup(d, { emit: c }) {
|
|
14
|
-
const r = d, i = c, a =
|
|
14
|
+
const r = d, i = c, a = u(r.name), o = u(r.icon);
|
|
15
15
|
return (w, e) => (f(), v(S, {
|
|
16
16
|
onCancel: e[2] || (e[2] = (t) => i("close")),
|
|
17
17
|
onSubmit: e[3] || (e[3] = (t) => i("edit", a.value, o.value))
|
|
18
18
|
}, {
|
|
19
19
|
default: n(() => [
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
m("div", C, [
|
|
21
|
+
m("div", g, [
|
|
22
22
|
l(b, {
|
|
23
23
|
modelValue: o.value,
|
|
24
24
|
"onUpdate:modelValue": e[0] || (e[0] = (t) => o.value = t),
|
|
@@ -54,5 +54,5 @@ const C = { class: "grid grid-cols-[auto,1fr] gap-2" }, g = { class: "flex aspec
|
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
56
|
export {
|
|
57
|
-
|
|
57
|
+
$ as default
|
|
58
58
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as a, ref as i, openBlock as u, createBlock as s, withCtx as d, createVNode as p, unref as f } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { ScalarTextInput as c } from "@scalar/components";
|
|
3
3
|
import v from "./SidebarListElementForm.vue.js";
|
|
4
4
|
const C = /* @__PURE__ */ a({
|
|
5
5
|
__name: "EditSidebarListElement",
|
|
@@ -7,8 +7,8 @@ const C = /* @__PURE__ */ a({
|
|
|
7
7
|
name: {}
|
|
8
8
|
},
|
|
9
9
|
emits: ["close", "edit"],
|
|
10
|
-
setup(
|
|
11
|
-
const r =
|
|
10
|
+
setup(m, { emit: l }) {
|
|
11
|
+
const r = m, n = l, t = i(r.name);
|
|
12
12
|
return (x, e) => (u(), s(v, {
|
|
13
13
|
onCancel: e[1] || (e[1] = (o) => n("close")),
|
|
14
14
|
onSubmit: e[2] || (e[2] = (o) => n("edit", t.value))
|
|
@@ -415,7 +415,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
415
415
|
watchMode?: boolean | undefined;
|
|
416
416
|
integration?: string | null | undefined;
|
|
417
417
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
418
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
|
|
418
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
|
|
419
419
|
setCollectionSecurity?: boolean;
|
|
420
420
|
shouldLoad?: boolean;
|
|
421
421
|
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
|
|
@@ -466,7 +466,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
466
466
|
watchMode?: boolean | undefined;
|
|
467
467
|
integration?: string | null | undefined;
|
|
468
468
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
469
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
|
|
469
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
|
|
470
470
|
setCollectionSecurity?: boolean;
|
|
471
471
|
shouldLoad?: boolean;
|
|
472
472
|
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("../../libs").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
|
|
@@ -507,7 +507,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
|
|
|
507
507
|
watchMode?: boolean | undefined;
|
|
508
508
|
integration?: string | null | undefined;
|
|
509
509
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
510
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
|
|
510
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
|
|
511
511
|
setCollectionSecurity?: boolean;
|
|
512
512
|
shouldLoad?: boolean;
|
|
513
513
|
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
|
|
@@ -417,7 +417,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
417
417
|
watchMode?: boolean | undefined;
|
|
418
418
|
integration?: string | null | undefined;
|
|
419
419
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
420
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
|
|
420
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
|
|
421
421
|
setCollectionSecurity?: boolean;
|
|
422
422
|
shouldLoad?: boolean;
|
|
423
423
|
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
|
|
@@ -468,7 +468,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
468
468
|
watchMode?: boolean | undefined;
|
|
469
469
|
integration?: string | null | undefined;
|
|
470
470
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
471
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
|
|
471
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
|
|
472
472
|
setCollectionSecurity?: boolean;
|
|
473
473
|
shouldLoad?: boolean;
|
|
474
474
|
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("../../libs").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
|
|
@@ -509,7 +509,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
509
509
|
watchMode?: boolean | undefined;
|
|
510
510
|
integration?: string | null | undefined;
|
|
511
511
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
512
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
|
|
512
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
|
|
513
513
|
setCollectionSecurity?: boolean;
|
|
514
514
|
shouldLoad?: boolean;
|
|
515
515
|
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
|
|
@@ -3959,7 +3959,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
3959
3959
|
watchMode?: boolean | undefined;
|
|
3960
3960
|
integration?: string | null | undefined;
|
|
3961
3961
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
3962
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
|
|
3962
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
|
|
3963
3963
|
setCollectionSecurity?: boolean;
|
|
3964
3964
|
shouldLoad?: boolean;
|
|
3965
3965
|
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
|
|
@@ -4010,7 +4010,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4010
4010
|
watchMode?: boolean | undefined;
|
|
4011
4011
|
integration?: string | null | undefined;
|
|
4012
4012
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
4013
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
|
|
4013
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
|
|
4014
4014
|
setCollectionSecurity?: boolean;
|
|
4015
4015
|
shouldLoad?: boolean;
|
|
4016
4016
|
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("../../libs").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
|
|
@@ -4051,7 +4051,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4051
4051
|
watchMode?: boolean | undefined;
|
|
4052
4052
|
integration?: string | null | undefined;
|
|
4053
4053
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
4054
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
|
|
4054
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
|
|
4055
4055
|
setCollectionSecurity?: boolean;
|
|
4056
4056
|
shouldLoad?: boolean;
|
|
4057
4057
|
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
|
|
@@ -415,7 +415,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
415
415
|
watchMode?: boolean | undefined;
|
|
416
416
|
integration?: string | null | undefined;
|
|
417
417
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
418
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
|
|
418
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
|
|
419
419
|
setCollectionSecurity?: boolean;
|
|
420
420
|
shouldLoad?: boolean;
|
|
421
421
|
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
|
|
@@ -466,7 +466,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
466
466
|
watchMode?: boolean | undefined;
|
|
467
467
|
integration?: string | null | undefined;
|
|
468
468
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
469
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
|
|
469
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
|
|
470
470
|
setCollectionSecurity?: boolean;
|
|
471
471
|
shouldLoad?: boolean;
|
|
472
472
|
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("../../libs").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
|
|
@@ -507,7 +507,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
|
|
|
507
507
|
watchMode?: boolean | undefined;
|
|
508
508
|
integration?: string | null | undefined;
|
|
509
509
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
510
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
|
|
510
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
|
|
511
511
|
setCollectionSecurity?: boolean;
|
|
512
512
|
shouldLoad?: boolean;
|
|
513
513
|
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
|
|
@@ -495,7 +495,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
495
495
|
watchMode?: boolean | undefined;
|
|
496
496
|
integration?: string | null | undefined;
|
|
497
497
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
498
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
|
|
498
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
|
|
499
499
|
setCollectionSecurity?: boolean;
|
|
500
500
|
shouldLoad?: boolean;
|
|
501
501
|
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
|
|
@@ -546,7 +546,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
546
546
|
watchMode?: boolean | undefined;
|
|
547
547
|
integration?: string | null | undefined;
|
|
548
548
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
549
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
|
|
549
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
|
|
550
550
|
setCollectionSecurity?: boolean;
|
|
551
551
|
shouldLoad?: boolean;
|
|
552
552
|
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("./errors").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
|
|
@@ -587,7 +587,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
587
587
|
watchMode?: boolean | undefined;
|
|
588
588
|
integration?: string | null | undefined;
|
|
589
589
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
590
|
-
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
|
|
590
|
+
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
|
|
591
591
|
setCollectionSecurity?: boolean;
|
|
592
592
|
shouldLoad?: boolean;
|
|
593
593
|
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
|