@scalar/api-reference 1.36.0 → 1.36.2
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 +30 -0
- package/dist/browser/standalone.js +15482 -15086
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +2 -2
- package/dist/components/Content/Models/ClassicLayout.vue.d.ts +2 -0
- package/dist/components/Content/Models/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/ClassicLayout.vue.js +2 -2
- package/dist/components/Content/Models/ClassicLayout.vue2.js +52 -41
- package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/Models.vue.js +9 -8
- package/dist/components/Content/Models/ModernLayout.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/ModernLayout.vue.js +2 -2
- package/dist/components/Content/Models/ModernLayout.vue2.js +46 -42
- package/dist/components/Content/Schema/Schema.vue.d.ts +3 -4
- package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/Schema.vue.js +1 -1
- package/dist/components/Content/Schema/Schema.vue2.js +71 -74
- package/dist/components/Content/Schema/SchemaComposition.vue.d.ts +4 -5
- package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaComposition.vue.js +46 -49
- package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts +2 -7
- package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaObjectProperties.vue.js +29 -40
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +3 -5
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.js +2 -2
- package/dist/components/Content/Schema/SchemaProperty.vue2.js +72 -76
- package/dist/components/Content/Schema/types.d.ts +17 -0
- package/dist/components/Content/Schema/types.d.ts.map +1 -0
- package/dist/components/OperationsList/OperationsList.vue.js +2 -2
- package/dist/components/Section/Section.vue.js +1 -1
- package/dist/components/Section/SectionContainerAccordion.vue.js +2 -2
- package/dist/consts/urls.d.ts +17 -0
- package/dist/consts/urls.d.ts.map +1 -0
- package/dist/consts/urls.js +7 -0
- package/dist/features/Operation/components/Header.vue.d.ts +2 -0
- package/dist/features/Operation/components/Header.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/Header.vue.js +15 -10
- package/dist/features/Operation/components/Headers.vue.d.ts +2 -0
- package/dist/features/Operation/components/Headers.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/Headers.vue.js +2 -2
- package/dist/features/Operation/components/Headers.vue2.js +26 -24
- package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue.js +2 -2
- package/dist/features/Operation/components/ParameterListItem.vue2.js +55 -48
- package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/RequestBody.vue.js +1 -1
- package/dist/features/Operation/components/RequestBody.vue2.js +74 -61
- package/dist/features/Operation/components/callbacks/Callback.vue.js +2 -2
- package/dist/features/Operation/layouts/ClassicLayout.vue.js +3 -3
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.js +2 -2
- package/dist/features/api-client-modal/useApiClient.d.ts +20 -20
- package/dist/features/api-client-modal/useApiClient.d.ts.map +1 -1
- package/dist/features/multiple-documents/useMultipleDocuments.d.ts +4 -2
- package/dist/features/multiple-documents/useMultipleDocuments.d.ts.map +1 -1
- package/dist/features/multiple-documents/useMultipleDocuments.js +49 -43
- package/dist/features/toolbar/ApiReferenceToolbar.vue.d.ts +16 -0
- package/dist/features/toolbar/ApiReferenceToolbar.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbar.vue.js +43 -0
- package/dist/features/toolbar/ApiReferenceToolbar.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.d.ts +13 -0
- package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.js +12 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.d.ts +14 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.js +95 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfig.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.d.ts +10 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.js +27 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts +25 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.js +123 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.d.ts +11 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.js +41 -0
- package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.d.ts +26 -0
- package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.js +46 -0
- package/dist/features/toolbar/ApiReferenceToolbarPopover.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.d.ts +25 -0
- package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.js +58 -0
- package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.d.ts +7 -0
- package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.js +84 -0
- package/dist/features/toolbar/ApiReferenceToolbarSdks.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarShare.vue.d.ts +7 -0
- package/dist/features/toolbar/ApiReferenceToolbarShare.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarShare.vue.js +42 -0
- package/dist/features/toolbar/ApiReferenceToolbarShare.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.d.ts +7 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.js +50 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.d.ts +14 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.js +83 -0
- package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue2.js +4 -0
- package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.d.ts +3 -0
- package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.d.ts.map +1 -0
- package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.js +51 -0
- package/dist/features/toolbar/ApiReferenceToolbarTitle.vue2.js +4 -0
- package/dist/features/toolbar/uploadTempDocument.d.ts +3 -0
- package/dist/features/toolbar/uploadTempDocument.d.ts.map +1 -0
- package/dist/features/toolbar/uploadTempDocument.js +21 -0
- package/dist/helpers/convert-security-scheme.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.d.ts +6 -6
- package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.js +90 -82
- package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.js +2 -2
- package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.js +5 -6
- package/dist/v2/helpers/map-configuration.d.ts.map +1 -1
- package/package.json +12 -12
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Disclosure as
|
|
3
|
-
import { ScalarMarkdown as
|
|
4
|
-
import { isDefined as
|
|
5
|
-
import { ScalarIconCaretRight as
|
|
6
|
-
import { getResolvedRef as
|
|
1
|
+
import { defineComponent as E, computed as o, ref as B, createElementBlock as C, openBlock as n, createVNode as u, createElementVNode as p, unref as r, withCtx as b, createBlock as d, createCommentVNode as h, normalizeClass as y, toDisplayString as P } from "vue";
|
|
2
|
+
import { Disclosure as S, DisclosureButton as q, DisclosurePanel as V } from "@headlessui/vue";
|
|
3
|
+
import { ScalarMarkdown as D } from "@scalar/components";
|
|
4
|
+
import { isDefined as R } from "@scalar/helpers/array/is-defined";
|
|
5
|
+
import { ScalarIconCaretRight as I } from "@scalar/icons";
|
|
6
|
+
import { getResolvedRef as g } from "@scalar/workspace-store/helpers/get-resolved-ref";
|
|
7
7
|
import O from "../../../components/Content/Schema/SchemaProperty.vue.js";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
|
|
8
|
+
import { useConfig as N } from "../../../hooks/useConfig.js";
|
|
9
|
+
import j from "./ContentTypeSelect.vue.js";
|
|
10
|
+
import z from "./Headers.vue.js";
|
|
11
|
+
const F = { class: "parameter-item group/parameter-item relative" }, W = { class: "parameter-item-name" }, H = { class: "parameter-item-type" }, L = { class: "absolute top-3 right-0 opacity-0 group-focus-within/parameter-item:opacity-100 group-hover/parameter-item:opacity-100" }, Z = /* @__PURE__ */ E({
|
|
11
12
|
__name: "ParameterListItem",
|
|
12
13
|
props: {
|
|
13
14
|
parameter: {},
|
|
@@ -17,62 +18,63 @@ const j = { class: "parameter-item group/parameter-item relative" }, z = { class
|
|
|
17
18
|
breadcrumb: {}
|
|
18
19
|
},
|
|
19
20
|
setup(e) {
|
|
20
|
-
const s =
|
|
21
|
-
() => "schema" in e.parameter && e.parameter.schema ?
|
|
22
|
-
), t =
|
|
21
|
+
const v = N(), s = o(
|
|
22
|
+
() => "schema" in e.parameter && e.parameter.schema ? g(e.parameter.schema) : null
|
|
23
|
+
), t = o(
|
|
23
24
|
() => "content" in e.parameter && e.parameter.content ? e.parameter.content : null
|
|
24
|
-
), i =
|
|
25
|
+
), i = B(Object.keys(t.value || {})[0]), f = o(
|
|
25
26
|
() => "headers" in e.parameter && e.parameter.headers ? e.parameter.headers : null
|
|
26
|
-
),
|
|
27
|
-
const a = t.value ? t.value?.[i.value]?.schema : s.value,
|
|
28
|
-
...
|
|
27
|
+
), k = o(() => {
|
|
28
|
+
const a = t.value ? t.value?.[i.value]?.schema : s.value, c = "deprecated" in e.parameter ? e.parameter.deprecated : s.value?.deprecated, m = "examples" in e.parameter ? e.parameter.examples : {}, w = s.value?.examples ?? [], x = [...Object.values({
|
|
29
|
+
...m,
|
|
29
30
|
...t.value?.[i.value]?.examples
|
|
30
|
-
}), ...
|
|
31
|
+
}), ...w];
|
|
31
32
|
return {
|
|
32
|
-
...
|
|
33
|
-
deprecated:
|
|
34
|
-
..."example" in e.parameter &&
|
|
35
|
-
examples:
|
|
33
|
+
...g(a),
|
|
34
|
+
deprecated: c,
|
|
35
|
+
..."example" in e.parameter && R(e.parameter.example) && { example: e.parameter.example },
|
|
36
|
+
examples: x
|
|
36
37
|
};
|
|
37
|
-
}), l =
|
|
38
|
-
() => !!(e.collapsableItems && (t.value ||
|
|
38
|
+
}), l = o(
|
|
39
|
+
() => !!(e.collapsableItems && (t.value || f.value || s.value))
|
|
39
40
|
);
|
|
40
|
-
return (a,
|
|
41
|
-
|
|
42
|
-
default:
|
|
43
|
-
l.value ? (n(), d(
|
|
41
|
+
return (a, c) => (n(), C("li", F, [
|
|
42
|
+
u(r(S), null, {
|
|
43
|
+
default: b(({ open: m }) => [
|
|
44
|
+
l.value ? (n(), d(r(q), {
|
|
44
45
|
key: 0,
|
|
45
|
-
class:
|
|
46
|
+
class: y(["parameter-item-trigger", { "parameter-item-trigger-open": m }])
|
|
46
47
|
}, {
|
|
47
|
-
default:
|
|
48
|
-
p("span",
|
|
49
|
-
|
|
50
|
-
class:
|
|
48
|
+
default: b(() => [
|
|
49
|
+
p("span", W, [
|
|
50
|
+
u(r(I), {
|
|
51
|
+
class: y(["parameter-item-icon size-3 transition-transform duration-100", { "rotate-90": m }]),
|
|
51
52
|
weight: "bold"
|
|
52
53
|
}, null, 8, ["class"]),
|
|
53
|
-
p("span", null,
|
|
54
|
+
p("span", null, P(a.name), 1)
|
|
54
55
|
]),
|
|
55
56
|
p("span", H, [
|
|
56
|
-
a.parameter.description ? (n(), d(
|
|
57
|
+
a.parameter.description ? (n(), d(r(D), {
|
|
57
58
|
key: 0,
|
|
58
59
|
class: "markdown",
|
|
59
60
|
value: a.parameter.description
|
|
60
|
-
}, null, 8, ["value"])) :
|
|
61
|
+
}, null, 8, ["value"])) : h("", !0)
|
|
61
62
|
])
|
|
62
63
|
]),
|
|
63
64
|
_: 2
|
|
64
|
-
}, 1032, ["class"])) :
|
|
65
|
-
|
|
65
|
+
}, 1032, ["class"])) : h("", !0),
|
|
66
|
+
u(r(V), {
|
|
66
67
|
class: "parameter-item-container parameter-item-container-markdown",
|
|
67
68
|
static: !l.value
|
|
68
69
|
}, {
|
|
69
|
-
default:
|
|
70
|
-
|
|
70
|
+
default: b(() => [
|
|
71
|
+
f.value ? (n(), d(z, {
|
|
71
72
|
key: 0,
|
|
72
73
|
breadcrumb: a.breadcrumb,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
config: r(v),
|
|
75
|
+
headers: f.value
|
|
76
|
+
}, null, 8, ["breadcrumb", "config", "headers"])) : h("", !0),
|
|
77
|
+
u(O, {
|
|
76
78
|
is: "div",
|
|
77
79
|
breadcrumb: a.breadcrumb,
|
|
78
80
|
compact: "",
|
|
@@ -80,10 +82,15 @@ const j = { class: "parameter-item group/parameter-item relative" }, z = { class
|
|
|
80
82
|
hideWriteOnly: !0,
|
|
81
83
|
name: l.value ? "" : a.name,
|
|
82
84
|
noncollapsible: !0,
|
|
85
|
+
options: {
|
|
86
|
+
hideWriteOnly: !0,
|
|
87
|
+
orderRequiredPropertiesFirst: r(v).orderRequiredPropertiesFirst,
|
|
88
|
+
orderSchemaPropertiesBy: r(v).orderSchemaPropertiesBy
|
|
89
|
+
},
|
|
83
90
|
required: "required" in a.parameter && a.parameter.required,
|
|
84
|
-
|
|
91
|
+
schema: k.value,
|
|
85
92
|
withExamples: a.withExamples
|
|
86
|
-
}, null, 8, ["breadcrumb", "description", "name", "required", "
|
|
93
|
+
}, null, 8, ["breadcrumb", "description", "name", "options", "required", "schema", "withExamples"])
|
|
87
94
|
]),
|
|
88
95
|
_: 1
|
|
89
96
|
}, 8, ["static"])
|
|
@@ -91,17 +98,17 @@ const j = { class: "parameter-item group/parameter-item relative" }, z = { class
|
|
|
91
98
|
_: 1
|
|
92
99
|
}),
|
|
93
100
|
p("div", L, [
|
|
94
|
-
l.value && t.value ? (n(), d(
|
|
101
|
+
l.value && t.value ? (n(), d(j, {
|
|
95
102
|
key: 0,
|
|
96
103
|
modelValue: i.value,
|
|
97
|
-
"onUpdate:modelValue":
|
|
104
|
+
"onUpdate:modelValue": c[0] || (c[0] = (m) => i.value = m),
|
|
98
105
|
class: "parameter-item-content-type",
|
|
99
106
|
content: t.value
|
|
100
|
-
}, null, 8, ["modelValue", "content"])) :
|
|
107
|
+
}, null, 8, ["modelValue", "content"])) : h("", !0)
|
|
101
108
|
])
|
|
102
109
|
]));
|
|
103
110
|
}
|
|
104
111
|
});
|
|
105
112
|
export {
|
|
106
|
-
|
|
113
|
+
Z as default
|
|
107
114
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/Operation/components/RequestBody.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/Operation/components/RequestBody.vue"],"names":[],"mappings":"AAqNA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8DAA8D,CAAA;AAarG,KAAK,WAAW,GAAG;IACjB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;IACrB,WAAW,CAAC,EAAE,iBAAiB,CAAA;CAChC,CAAC;AAqPF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AA0B7C,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./RequestBody.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fa09c486"]]);
|
|
5
5
|
export {
|
|
6
6
|
f as default
|
|
7
7
|
};
|
|
@@ -1,114 +1,127 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarMarkdown as
|
|
3
|
-
import { getResolvedRef as
|
|
4
|
-
import { isTypeObject as
|
|
5
|
-
import { sortPropertyNames as O, reduceNamesToObject as
|
|
6
|
-
import { useConfig as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
const
|
|
1
|
+
import { defineComponent as B, computed as p, ref as P, createElementBlock as i, createCommentVNode as l, openBlock as d, createElementVNode as q, createVNode as a, renderSlot as f, unref as r } from "vue";
|
|
2
|
+
import { ScalarMarkdown as R } from "@scalar/components";
|
|
3
|
+
import { getResolvedRef as S } from "@scalar/workspace-store/helpers/get-resolved-ref";
|
|
4
|
+
import { isTypeObject as k } from "../../../components/Content/Schema/helpers/is-type-object.js";
|
|
5
|
+
import { sortPropertyNames as O, reduceNamesToObject as v } from "../../../components/Content/Schema/helpers/sort-property-names.js";
|
|
6
|
+
import { useConfig as _ } from "../../../hooks/useConfig.js";
|
|
7
|
+
import F from "./ContentTypeSelect.vue.js";
|
|
8
|
+
import y from "../../../components/Content/Schema/Schema.vue.js";
|
|
9
|
+
const V = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "request-body"
|
|
12
|
-
},
|
|
12
|
+
}, N = { class: "request-body-header" }, g = { class: "request-body-title" }, C = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "request-body-required"
|
|
15
|
-
},
|
|
15
|
+
}, E = {
|
|
16
16
|
key: 0,
|
|
17
17
|
class: "request-body-description"
|
|
18
|
-
},
|
|
18
|
+
}, T = {
|
|
19
19
|
key: 0,
|
|
20
20
|
class: "request-body-schema"
|
|
21
|
-
},
|
|
21
|
+
}, j = {
|
|
22
22
|
key: 1,
|
|
23
23
|
class: "request-body-schema"
|
|
24
|
-
},
|
|
24
|
+
}, b = 12, z = /* @__PURE__ */ B({
|
|
25
25
|
__name: "RequestBody",
|
|
26
26
|
props: {
|
|
27
27
|
breadcrumb: {},
|
|
28
28
|
requestBody: {}
|
|
29
29
|
},
|
|
30
|
-
setup(
|
|
31
|
-
const
|
|
32
|
-
() => Object.keys(
|
|
33
|
-
),
|
|
34
|
-
|
|
35
|
-
const
|
|
36
|
-
() =>
|
|
37
|
-
),
|
|
38
|
-
if (!
|
|
30
|
+
setup(c) {
|
|
31
|
+
const o = _(), h = p(
|
|
32
|
+
() => Object.keys(c.requestBody?.content ?? {})
|
|
33
|
+
), u = P("application/json");
|
|
34
|
+
c.requestBody?.content && h.value.length > 0 && (u.value = h.value[0]);
|
|
35
|
+
const t = p(
|
|
36
|
+
() => S(c.requestBody?.content?.[u.value]?.schema)
|
|
37
|
+
), m = p(() => {
|
|
38
|
+
if (!t.value || !k(t.value))
|
|
39
39
|
return null;
|
|
40
40
|
const e = O(
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
t.value,
|
|
42
|
+
t.value.discriminator,
|
|
43
43
|
{
|
|
44
44
|
hideReadOnly: !0,
|
|
45
|
-
orderSchemaPropertiesBy:
|
|
46
|
-
orderRequiredPropertiesFirst:
|
|
45
|
+
orderSchemaPropertiesBy: o.value.orderSchemaPropertiesBy,
|
|
46
|
+
orderRequiredPropertiesFirst: o.value.orderRequiredPropertiesFirst
|
|
47
47
|
}
|
|
48
48
|
);
|
|
49
|
-
if (e.length <=
|
|
49
|
+
if (e.length <= b)
|
|
50
50
|
return null;
|
|
51
|
-
const { properties:
|
|
52
|
-
return
|
|
51
|
+
const { properties: s, ...n } = t.value;
|
|
52
|
+
return s ? {
|
|
53
53
|
visibleProperties: {
|
|
54
|
-
...
|
|
55
|
-
properties:
|
|
56
|
-
e.slice(0,
|
|
57
|
-
|
|
54
|
+
...n,
|
|
55
|
+
properties: v(
|
|
56
|
+
e.slice(0, b),
|
|
57
|
+
s
|
|
58
58
|
)
|
|
59
59
|
},
|
|
60
60
|
collapsedProperties: {
|
|
61
|
-
...
|
|
62
|
-
properties:
|
|
63
|
-
e.slice(
|
|
64
|
-
|
|
61
|
+
...n,
|
|
62
|
+
properties: v(
|
|
63
|
+
e.slice(b),
|
|
64
|
+
s
|
|
65
65
|
)
|
|
66
66
|
}
|
|
67
67
|
} : null;
|
|
68
68
|
});
|
|
69
|
-
return (e,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
e.requestBody.required ? (
|
|
69
|
+
return (e, s) => e.requestBody ? (d(), i("div", V, [
|
|
70
|
+
q("div", N, [
|
|
71
|
+
q("span", g, [
|
|
72
|
+
f(e.$slots, "title", {}, void 0, !0),
|
|
73
|
+
e.requestBody.required ? (d(), i("div", C, " required ")) : l("", !0)
|
|
74
74
|
]),
|
|
75
|
-
a(
|
|
76
|
-
modelValue:
|
|
77
|
-
"onUpdate:modelValue":
|
|
75
|
+
a(F, {
|
|
76
|
+
modelValue: u.value,
|
|
77
|
+
"onUpdate:modelValue": s[0] || (s[0] = (n) => u.value = n),
|
|
78
78
|
content: e.requestBody.content
|
|
79
79
|
}, null, 8, ["modelValue", "content"]),
|
|
80
|
-
e.requestBody.description ? (
|
|
81
|
-
a(
|
|
80
|
+
e.requestBody.description ? (d(), i("div", E, [
|
|
81
|
+
a(r(R), {
|
|
82
82
|
value: e.requestBody.description
|
|
83
83
|
}, null, 8, ["value"])
|
|
84
84
|
])) : l("", !0)
|
|
85
85
|
]),
|
|
86
|
-
|
|
87
|
-
a(
|
|
86
|
+
m.value ? (d(), i("div", T, [
|
|
87
|
+
a(r(y), {
|
|
88
88
|
breadcrumb: e.breadcrumb,
|
|
89
89
|
compact: "",
|
|
90
|
-
hideReadOnly: !0,
|
|
91
90
|
name: "Request Body",
|
|
92
91
|
noncollapsible: "",
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
92
|
+
options: {
|
|
93
|
+
hideReadOnly: !0,
|
|
94
|
+
orderRequiredPropertiesFirst: r(o).orderRequiredPropertiesFirst,
|
|
95
|
+
orderSchemaPropertiesBy: r(o).orderSchemaPropertiesBy
|
|
96
|
+
},
|
|
97
|
+
schema: m.value.visibleProperties
|
|
98
|
+
}, null, 8, ["breadcrumb", "options", "schema"]),
|
|
99
|
+
a(r(y), {
|
|
96
100
|
additionalProperties: "",
|
|
97
101
|
breadcrumb: e.breadcrumb,
|
|
98
102
|
compact: "",
|
|
99
|
-
hideReadOnly: !0,
|
|
100
103
|
name: "Request Body",
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
104
|
+
options: {
|
|
105
|
+
hideReadOnly: !0,
|
|
106
|
+
orderRequiredPropertiesFirst: r(o).orderRequiredPropertiesFirst,
|
|
107
|
+
orderSchemaPropertiesBy: r(o).orderSchemaPropertiesBy
|
|
108
|
+
},
|
|
109
|
+
schema: m.value.collapsedProperties
|
|
110
|
+
}, null, 8, ["breadcrumb", "options", "schema"])
|
|
111
|
+
])) : t.value ? (d(), i("div", j, [
|
|
112
|
+
a(r(y), {
|
|
105
113
|
breadcrumb: e.breadcrumb,
|
|
106
114
|
compact: "",
|
|
107
115
|
hideReadOnly: !0,
|
|
108
116
|
name: "Request Body",
|
|
109
117
|
noncollapsible: "",
|
|
110
|
-
|
|
111
|
-
|
|
118
|
+
options: {
|
|
119
|
+
hideReadOnly: !0,
|
|
120
|
+
orderRequiredPropertiesFirst: r(o).orderRequiredPropertiesFirst,
|
|
121
|
+
orderSchemaPropertiesBy: r(o).orderSchemaPropertiesBy
|
|
122
|
+
},
|
|
123
|
+
schema: t.value
|
|
124
|
+
}, null, 8, ["breadcrumb", "options", "schema"])
|
|
112
125
|
])) : l("", !0)
|
|
113
126
|
])) : l("", !0);
|
|
114
127
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Callback.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const m = /* @__PURE__ */
|
|
3
|
+
import a from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const m = /* @__PURE__ */ a(o, [["__scopeId", "data-v-d57c6ac8"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ClassicLayout.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fd385796"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/Operation/layouts/ModernLayout.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/Operation/layouts/ModernLayout.vue"],"names":[],"mappings":"AAuNA,OAAO,KAAK,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,mCAAmC,CAAA;AAOrF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAA;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAEpE,OAAO,KAAK,EACV,eAAe,EAEf,oBAAoB,EACpB,YAAY,EACb,MAAM,8DAA8D,CAAA;AAuBrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAA;AAEvF,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,iBAAiB,EAAE,CAAA;IAClC,MAAM,EAAE,yBAAyB,CAAA;IACjC,MAAM,EAAE,cAAc,CAAA;IACtB,SAAS,EAAE,eAAe,CAAA;IAE1B,SAAS,EAAE,OAAO,CAAA;IAClB,eAAe,EAAE,oBAAoB,EAAE,CAAA;IACvC,MAAM,EAAE,YAAY,GAAG,SAAS,CAAA;IAChC,KAAK,EAAE,cAAc,CAAA;CACtB,CAAC;;AAwbF,wBAMG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ModernLayout.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-0b2d484d"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -144,7 +144,7 @@ declare const client: import("vue").Ref<{
|
|
|
144
144
|
} | undefined;
|
|
145
145
|
};
|
|
146
146
|
description?: string | undefined;
|
|
147
|
-
"x-default-scopes"?: string
|
|
147
|
+
"x-default-scopes"?: string[] | undefined;
|
|
148
148
|
}>;
|
|
149
149
|
requests: Record<string, {
|
|
150
150
|
uid: string & import("zod").BRAND<"operation">;
|
|
@@ -2762,7 +2762,7 @@ declare const client: import("vue").Ref<{
|
|
|
2762
2762
|
} | undefined;
|
|
2763
2763
|
};
|
|
2764
2764
|
description?: string | undefined;
|
|
2765
|
-
"x-default-scopes"?: string
|
|
2765
|
+
"x-default-scopes"?: string[] | undefined;
|
|
2766
2766
|
}) => void;
|
|
2767
2767
|
add: (payload: import("@scalar/types/entities").SecuritySchemePayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => {
|
|
2768
2768
|
type: "apiKey";
|
|
@@ -2855,7 +2855,7 @@ declare const client: import("vue").Ref<{
|
|
|
2855
2855
|
} | undefined;
|
|
2856
2856
|
};
|
|
2857
2857
|
description?: string | undefined;
|
|
2858
|
-
"x-default-scopes"?: string
|
|
2858
|
+
"x-default-scopes"?: string[] | undefined;
|
|
2859
2859
|
};
|
|
2860
2860
|
delete: (schemeUid: import("@scalar/types/entities").SecurityScheme["uid"]) => void;
|
|
2861
2861
|
set: (item: {
|
|
@@ -2949,7 +2949,7 @@ declare const client: import("vue").Ref<{
|
|
|
2949
2949
|
} | undefined;
|
|
2950
2950
|
};
|
|
2951
2951
|
description?: string | undefined;
|
|
2952
|
-
"x-default-scopes"?: string
|
|
2952
|
+
"x-default-scopes"?: string[] | undefined;
|
|
2953
2953
|
}) => void;
|
|
2954
2954
|
edit: <P extends "value" | "description" | "type" | "uid" | "name" | "in" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "x-default-scopes" | "flows" | "password" | "username" | "token" | `x-default-scopes.${number}` | "flows.implicit" | "flows.password" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.implicit.x-scalar-security-query" | "flows.implicit.x-scalar-security-body" | "flows.implicit.x-tokenName" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | `flows.implicit.x-scalar-security-query.${string}` | `flows.implicit.x-scalar-security-body.${string}` | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.x-scalar-security-query" | "flows.password.x-scalar-security-body" | "flows.password.x-tokenName" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | `flows.password.x-scalar-security-query.${string}` | `flows.password.x-scalar-security-body.${string}` | "flows.password.tokenUrl" | "flows.password.clientSecret" | "flows.password.x-scalar-credentials-location" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.x-scalar-security-query" | "flows.clientCredentials.x-scalar-security-body" | "flows.clientCredentials.x-tokenName" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | `flows.clientCredentials.x-scalar-security-query.${string}` | `flows.clientCredentials.x-scalar-security-body.${string}` | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | "flows.clientCredentials.x-scalar-credentials-location" | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-scalar-security-query" | "flows.authorizationCode.x-scalar-security-body" | "flows.authorizationCode.x-tokenName" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | `flows.authorizationCode.x-scalar-security-query.${string}` | `flows.authorizationCode.x-scalar-security-body.${string}` | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | "flows.authorizationCode.x-scalar-credentials-location" | "flows.authorizationCode.x-usePkce">(uid: (string & import("zod").BRAND<"securityScheme">) | null | undefined, path: P, value: (P extends "value" | "description" | "type" | "uid" | "name" | "in" | "nameKey" ? {
|
|
2955
2955
|
type: "apiKey";
|
|
@@ -3090,7 +3090,7 @@ declare const client: import("vue").Ref<{
|
|
|
3090
3090
|
} | undefined;
|
|
3091
3091
|
};
|
|
3092
3092
|
description?: string | undefined;
|
|
3093
|
-
"x-default-scopes"?: string
|
|
3093
|
+
"x-default-scopes"?: string[] | undefined;
|
|
3094
3094
|
}[P] : P extends `${infer K}.${infer R_3}` ? K extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? R_3 extends import("@scalar/object-utils/nested").Path<{
|
|
3095
3095
|
type: "oauth2";
|
|
3096
3096
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
@@ -3158,7 +3158,7 @@ declare const client: import("vue").Ref<{
|
|
|
3158
3158
|
} | undefined;
|
|
3159
3159
|
};
|
|
3160
3160
|
description?: string | undefined;
|
|
3161
|
-
"x-default-scopes"?: string
|
|
3161
|
+
"x-default-scopes"?: string[] | undefined;
|
|
3162
3162
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3163
3163
|
type: "oauth2";
|
|
3164
3164
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
@@ -3226,7 +3226,7 @@ declare const client: import("vue").Ref<{
|
|
|
3226
3226
|
} | undefined;
|
|
3227
3227
|
};
|
|
3228
3228
|
description?: string | undefined;
|
|
3229
|
-
"x-default-scopes"?: string
|
|
3229
|
+
"x-default-scopes"?: string[] | undefined;
|
|
3230
3230
|
}[K], R_3> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
3231
3231
|
untrackedEdit: <P extends "value" | "description" | "type" | "uid" | "name" | "in" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "x-default-scopes" | "flows" | "password" | "username" | "token" | `x-default-scopes.${number}` | "flows.implicit" | "flows.password" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.implicit.x-scalar-security-query" | "flows.implicit.x-scalar-security-body" | "flows.implicit.x-tokenName" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | `flows.implicit.x-scalar-security-query.${string}` | `flows.implicit.x-scalar-security-body.${string}` | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.x-scalar-security-query" | "flows.password.x-scalar-security-body" | "flows.password.x-tokenName" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | `flows.password.x-scalar-security-query.${string}` | `flows.password.x-scalar-security-body.${string}` | "flows.password.tokenUrl" | "flows.password.clientSecret" | "flows.password.x-scalar-credentials-location" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.x-scalar-security-query" | "flows.clientCredentials.x-scalar-security-body" | "flows.clientCredentials.x-tokenName" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | `flows.clientCredentials.x-scalar-security-query.${string}` | `flows.clientCredentials.x-scalar-security-body.${string}` | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | "flows.clientCredentials.x-scalar-credentials-location" | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-scalar-security-query" | "flows.authorizationCode.x-scalar-security-body" | "flows.authorizationCode.x-tokenName" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | `flows.authorizationCode.x-scalar-security-query.${string}` | `flows.authorizationCode.x-scalar-security-body.${string}` | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | "flows.authorizationCode.x-scalar-credentials-location" | "flows.authorizationCode.x-usePkce">(uid: string & import("zod").BRAND<"securityScheme">, path: P, value: (P extends "value" | "description" | "type" | "uid" | "name" | "in" | "nameKey" ? {
|
|
3232
3232
|
type: "apiKey";
|
|
@@ -3367,7 +3367,7 @@ declare const client: import("vue").Ref<{
|
|
|
3367
3367
|
} | undefined;
|
|
3368
3368
|
};
|
|
3369
3369
|
description?: string | undefined;
|
|
3370
|
-
"x-default-scopes"?: string
|
|
3370
|
+
"x-default-scopes"?: string[] | undefined;
|
|
3371
3371
|
}[P] : P extends `${infer K}.${infer R_3}` ? K extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? R_3 extends import("@scalar/object-utils/nested").Path<{
|
|
3372
3372
|
type: "oauth2";
|
|
3373
3373
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
@@ -3435,7 +3435,7 @@ declare const client: import("vue").Ref<{
|
|
|
3435
3435
|
} | undefined;
|
|
3436
3436
|
};
|
|
3437
3437
|
description?: string | undefined;
|
|
3438
|
-
"x-default-scopes"?: string
|
|
3438
|
+
"x-default-scopes"?: string[] | undefined;
|
|
3439
3439
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3440
3440
|
type: "oauth2";
|
|
3441
3441
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
@@ -3503,7 +3503,7 @@ declare const client: import("vue").Ref<{
|
|
|
3503
3503
|
} | undefined;
|
|
3504
3504
|
};
|
|
3505
3505
|
description?: string | undefined;
|
|
3506
|
-
"x-default-scopes"?: string
|
|
3506
|
+
"x-default-scopes"?: string[] | undefined;
|
|
3507
3507
|
}[K], R_3> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
3508
3508
|
undo: (uid: string & import("zod").BRAND<"securityScheme">) => void;
|
|
3509
3509
|
redo: (uid: string & import("zod").BRAND<"securityScheme">) => void;
|
|
@@ -4102,7 +4102,7 @@ declare const client: import("vue").Ref<{
|
|
|
4102
4102
|
} | undefined;
|
|
4103
4103
|
};
|
|
4104
4104
|
description?: string | undefined;
|
|
4105
|
-
"x-default-scopes"?: string
|
|
4105
|
+
"x-default-scopes"?: string[] | undefined;
|
|
4106
4106
|
}>;
|
|
4107
4107
|
requests: Record<string, {
|
|
4108
4108
|
uid: string & import("zod").BRAND<"operation">;
|
|
@@ -6720,7 +6720,7 @@ declare const client: import("vue").Ref<{
|
|
|
6720
6720
|
} | undefined;
|
|
6721
6721
|
};
|
|
6722
6722
|
description?: string | undefined;
|
|
6723
|
-
"x-default-scopes"?: string
|
|
6723
|
+
"x-default-scopes"?: string[] | undefined;
|
|
6724
6724
|
}) => void;
|
|
6725
6725
|
add: (payload: import("@scalar/types/entities").SecuritySchemePayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => {
|
|
6726
6726
|
type: "apiKey";
|
|
@@ -6813,7 +6813,7 @@ declare const client: import("vue").Ref<{
|
|
|
6813
6813
|
} | undefined;
|
|
6814
6814
|
};
|
|
6815
6815
|
description?: string | undefined;
|
|
6816
|
-
"x-default-scopes"?: string
|
|
6816
|
+
"x-default-scopes"?: string[] | undefined;
|
|
6817
6817
|
};
|
|
6818
6818
|
delete: (schemeUid: import("@scalar/types/entities").SecurityScheme["uid"]) => void;
|
|
6819
6819
|
set: (item: {
|
|
@@ -6907,7 +6907,7 @@ declare const client: import("vue").Ref<{
|
|
|
6907
6907
|
} | undefined;
|
|
6908
6908
|
};
|
|
6909
6909
|
description?: string | undefined;
|
|
6910
|
-
"x-default-scopes"?: string
|
|
6910
|
+
"x-default-scopes"?: string[] | undefined;
|
|
6911
6911
|
}) => void;
|
|
6912
6912
|
edit: <P extends "value" | "description" | "type" | "uid" | "name" | "in" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "x-default-scopes" | "flows" | "password" | "username" | "token" | `x-default-scopes.${number}` | "flows.implicit" | "flows.password" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.implicit.x-scalar-security-query" | "flows.implicit.x-scalar-security-body" | "flows.implicit.x-tokenName" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | `flows.implicit.x-scalar-security-query.${string}` | `flows.implicit.x-scalar-security-body.${string}` | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.x-scalar-security-query" | "flows.password.x-scalar-security-body" | "flows.password.x-tokenName" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | `flows.password.x-scalar-security-query.${string}` | `flows.password.x-scalar-security-body.${string}` | "flows.password.tokenUrl" | "flows.password.clientSecret" | "flows.password.x-scalar-credentials-location" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.x-scalar-security-query" | "flows.clientCredentials.x-scalar-security-body" | "flows.clientCredentials.x-tokenName" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | `flows.clientCredentials.x-scalar-security-query.${string}` | `flows.clientCredentials.x-scalar-security-body.${string}` | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | "flows.clientCredentials.x-scalar-credentials-location" | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-scalar-security-query" | "flows.authorizationCode.x-scalar-security-body" | "flows.authorizationCode.x-tokenName" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | `flows.authorizationCode.x-scalar-security-query.${string}` | `flows.authorizationCode.x-scalar-security-body.${string}` | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | "flows.authorizationCode.x-scalar-credentials-location" | "flows.authorizationCode.x-usePkce">(uid: (string & import("zod").BRAND<"securityScheme">) | null | undefined, path: P, value: (P extends "value" | "description" | "type" | "uid" | "name" | "in" | "nameKey" ? {
|
|
6913
6913
|
type: "apiKey";
|
|
@@ -7048,7 +7048,7 @@ declare const client: import("vue").Ref<{
|
|
|
7048
7048
|
} | undefined;
|
|
7049
7049
|
};
|
|
7050
7050
|
description?: string | undefined;
|
|
7051
|
-
"x-default-scopes"?: string
|
|
7051
|
+
"x-default-scopes"?: string[] | undefined;
|
|
7052
7052
|
}[P] : P extends `${infer K}.${infer R_3}` ? K extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? R_3 extends import("@scalar/object-utils/nested").Path<{
|
|
7053
7053
|
type: "oauth2";
|
|
7054
7054
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
@@ -7116,7 +7116,7 @@ declare const client: import("vue").Ref<{
|
|
|
7116
7116
|
} | undefined;
|
|
7117
7117
|
};
|
|
7118
7118
|
description?: string | undefined;
|
|
7119
|
-
"x-default-scopes"?: string
|
|
7119
|
+
"x-default-scopes"?: string[] | undefined;
|
|
7120
7120
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
7121
7121
|
type: "oauth2";
|
|
7122
7122
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
@@ -7184,7 +7184,7 @@ declare const client: import("vue").Ref<{
|
|
|
7184
7184
|
} | undefined;
|
|
7185
7185
|
};
|
|
7186
7186
|
description?: string | undefined;
|
|
7187
|
-
"x-default-scopes"?: string
|
|
7187
|
+
"x-default-scopes"?: string[] | undefined;
|
|
7188
7188
|
}[K], R_3> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
7189
7189
|
untrackedEdit: <P extends "value" | "description" | "type" | "uid" | "name" | "in" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "x-default-scopes" | "flows" | "password" | "username" | "token" | `x-default-scopes.${number}` | "flows.implicit" | "flows.password" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.implicit.x-scalar-security-query" | "flows.implicit.x-scalar-security-body" | "flows.implicit.x-tokenName" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | `flows.implicit.x-scalar-security-query.${string}` | `flows.implicit.x-scalar-security-body.${string}` | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.x-scalar-security-query" | "flows.password.x-scalar-security-body" | "flows.password.x-tokenName" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | `flows.password.x-scalar-security-query.${string}` | `flows.password.x-scalar-security-body.${string}` | "flows.password.tokenUrl" | "flows.password.clientSecret" | "flows.password.x-scalar-credentials-location" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.x-scalar-security-query" | "flows.clientCredentials.x-scalar-security-body" | "flows.clientCredentials.x-tokenName" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | `flows.clientCredentials.x-scalar-security-query.${string}` | `flows.clientCredentials.x-scalar-security-body.${string}` | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | "flows.clientCredentials.x-scalar-credentials-location" | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-scalar-security-query" | "flows.authorizationCode.x-scalar-security-body" | "flows.authorizationCode.x-tokenName" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | `flows.authorizationCode.x-scalar-security-query.${string}` | `flows.authorizationCode.x-scalar-security-body.${string}` | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | "flows.authorizationCode.x-scalar-credentials-location" | "flows.authorizationCode.x-usePkce">(uid: string & import("zod").BRAND<"securityScheme">, path: P, value: (P extends "value" | "description" | "type" | "uid" | "name" | "in" | "nameKey" ? {
|
|
7190
7190
|
type: "apiKey";
|
|
@@ -7325,7 +7325,7 @@ declare const client: import("vue").Ref<{
|
|
|
7325
7325
|
} | undefined;
|
|
7326
7326
|
};
|
|
7327
7327
|
description?: string | undefined;
|
|
7328
|
-
"x-default-scopes"?: string
|
|
7328
|
+
"x-default-scopes"?: string[] | undefined;
|
|
7329
7329
|
}[P] : P extends `${infer K}.${infer R_3}` ? K extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? R_3 extends import("@scalar/object-utils/nested").Path<{
|
|
7330
7330
|
type: "oauth2";
|
|
7331
7331
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
@@ -7393,7 +7393,7 @@ declare const client: import("vue").Ref<{
|
|
|
7393
7393
|
} | undefined;
|
|
7394
7394
|
};
|
|
7395
7395
|
description?: string | undefined;
|
|
7396
|
-
"x-default-scopes"?: string
|
|
7396
|
+
"x-default-scopes"?: string[] | undefined;
|
|
7397
7397
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
7398
7398
|
type: "oauth2";
|
|
7399
7399
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
@@ -7461,7 +7461,7 @@ declare const client: import("vue").Ref<{
|
|
|
7461
7461
|
} | undefined;
|
|
7462
7462
|
};
|
|
7463
7463
|
description?: string | undefined;
|
|
7464
|
-
"x-default-scopes"?: string
|
|
7464
|
+
"x-default-scopes"?: string[] | undefined;
|
|
7465
7465
|
}[K], R_3> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
7466
7466
|
undo: (uid: string & import("zod").BRAND<"securityScheme">) => void;
|
|
7467
7467
|
redo: (uid: string & import("zod").BRAND<"securityScheme">) => void;
|