@scalar/api-reference 1.25.36 → 1.25.37
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 +19 -0
- package/dist/browser/standalone.js +13407 -13399
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/Anchor/Anchor.vue.d.ts +3 -12
- package/dist/components/Anchor/Anchor.vue.d.ts.map +1 -1
- package/dist/components/Anchor/Anchor.vue2.js +21 -21
- package/dist/components/ApiClientModal.vue.d.ts +3 -12
- package/dist/components/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/components/ApiReference.vue.d.ts +4 -13
- package/dist/components/ApiReference.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.d.ts +8 -17
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/Badge/Badge.vue.d.ts +1 -1
- package/dist/components/Badge/Badge.vue.d.ts.map +1 -1
- package/dist/components/Card/Card.vue.d.ts +1 -1
- package/dist/components/Card/Card.vue.d.ts.map +1 -1
- package/dist/components/Card/CardContent.vue.d.ts +1 -10
- package/dist/components/Card/CardContent.vue.d.ts.map +1 -1
- package/dist/components/Card/CardFooter.vue.d.ts +1 -10
- package/dist/components/Card/CardFooter.vue.d.ts.map +1 -1
- package/dist/components/Card/CardHeader.vue.d.ts +1 -10
- package/dist/components/Card/CardHeader.vue.d.ts.map +1 -1
- package/dist/components/Card/CardTab.vue.d.ts +1 -1
- package/dist/components/Card/CardTab.vue.d.ts.map +1 -1
- package/dist/components/Card/CardTabHeader.vue.d.ts +4 -4
- package/dist/components/Card/CardTabHeader.vue.d.ts.map +1 -1
- package/dist/components/ClassicHeader.vue.d.ts +1 -1
- package/dist/components/ClassicHeader.vue.d.ts.map +1 -1
- package/dist/components/Content/Authentication/Authentication.vue.d.ts +3 -12
- package/dist/components/Content/Authentication/Authentication.vue.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts +1 -1
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue2.js +14 -14
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts +1 -1
- package/dist/components/Content/ClientLibraries/ClientSelector.vue2.js +56 -56
- package/dist/components/Content/Content.vue.d.ts +3 -12
- package/dist/components/Content/Content.vue.d.ts.map +1 -1
- package/dist/components/Content/Content.vue2.js +41 -41
- package/dist/components/Content/Introduction/Description.vue.d.ts +3 -12
- package/dist/components/Content/Introduction/Description.vue.d.ts.map +1 -1
- package/dist/components/Content/Introduction/Introduction.vue.d.ts +3 -12
- package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
- package/dist/components/Content/Lazy/Lazy.vue.d.ts +4 -27
- package/dist/components/Content/Lazy/Lazy.vue.d.ts.map +1 -1
- package/dist/components/Content/Lazy/Loading.vue.d.ts +4 -25
- package/dist/components/Content/Lazy/Loading.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/Models.vue.d.ts +3 -12
- package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/Models.vue2.js +32 -32
- package/dist/components/Content/Models/ModelsAccordion.vue.d.ts +3 -12
- package/dist/components/Content/Models/ModelsAccordion.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/ModelsAccordion.vue2.js +30 -30
- package/dist/components/Content/Operation/ContentTypeSelect.vue.d.ts +6 -15
- package/dist/components/Content/Operation/ContentTypeSelect.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/EndpointDetails.vue.d.ts +3 -12
- package/dist/components/Content/Operation/EndpointDetails.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/EndpointDetails.vue.js +45 -45
- package/dist/components/Content/Operation/EndpointDetailsCard.vue.d.ts +3 -12
- package/dist/components/Content/Operation/EndpointDetailsCard.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/EndpointDetailsCard.vue2.js +37 -37
- package/dist/components/Content/Operation/EndpointPath.vue.d.ts +3 -12
- package/dist/components/Content/Operation/EndpointPath.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/Operation.vue.d.ts +3 -12
- package/dist/components/Content/Operation/Operation.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/Operation.vue2.js +35 -35
- package/dist/components/Content/Operation/OperationAccordion.vue.d.ts +3 -12
- package/dist/components/Content/Operation/OperationAccordion.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/ParameterHeaders.vue.d.ts +3 -12
- package/dist/components/Content/Operation/ParameterHeaders.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/ParameterItem.vue.d.ts +4 -27
- package/dist/components/Content/Operation/ParameterItem.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/Parameters.vue.d.ts +4 -27
- package/dist/components/Content/Operation/Parameters.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/RequestBody.vue.d.ts +3 -12
- package/dist/components/Content/Operation/RequestBody.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/RequestBodyPropertiesChild.vue.d.ts +3 -12
- package/dist/components/Content/Operation/RequestBodyPropertiesChild.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/TestRequestButton.vue.d.ts +3 -12
- package/dist/components/Content/Operation/TestRequestButton.vue.d.ts.map +1 -1
- package/dist/components/Content/Operation/TestRequestButton.vue2.js +16 -16
- package/dist/components/Content/Schema/Schema.vue.d.ts +4 -25
- package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaHeading.vue.d.ts +3 -12
- package/dist/components/Content/Schema/SchemaHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +4 -29
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue2.js +85 -85
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue.d.ts +3 -12
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue2.js +11 -11
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts +4 -27
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +114 -114
- package/dist/components/Content/Tag/Endpoints.vue.d.ts +3 -12
- package/dist/components/Content/Tag/Endpoints.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/Endpoints.vue2.js +11 -11
- package/dist/components/Content/Tag/Tag.vue.d.ts +3 -12
- package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/TagAccordion.vue.d.ts +3 -12
- package/dist/components/Content/Tag/TagAccordion.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/TagList.vue.d.ts +3 -12
- package/dist/components/Content/Tag/TagList.vue.d.ts.map +1 -1
- package/dist/components/Content/Webhooks/Webhook.vue.d.ts +3 -12
- package/dist/components/Content/Webhooks/Webhook.vue.d.ts.map +1 -1
- package/dist/components/Content/Webhooks/Webhook.vue2.js +22 -22
- package/dist/components/Content/Webhooks/Webhooks.vue.d.ts +3 -12
- package/dist/components/Content/Webhooks/Webhooks.vue.d.ts.map +1 -1
- package/dist/components/Content/Webhooks/Webhooks.vue2.js +39 -39
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts +6 -15
- package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts.map +1 -1
- package/dist/components/DarkModeToggle/DarkModeToggle.vue.d.ts +6 -15
- package/dist/components/DarkModeToggle/DarkModeToggle.vue.d.ts.map +1 -1
- package/dist/components/DarkModeToggle/DarkModeToggle.vue2.js +14 -14
- package/dist/components/GettingStarted.vue.d.ts +9 -18
- package/dist/components/GettingStarted.vue.d.ts.map +1 -1
- package/dist/components/GettingStarted.vue2.js +32 -32
- package/dist/components/HelpfulLink.vue.d.ts +3 -12
- package/dist/components/HelpfulLink.vue.d.ts.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +3 -12
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
- package/dist/components/IntersectionObserver.vue.d.ts +6 -15
- package/dist/components/IntersectionObserver.vue.d.ts.map +1 -1
- package/dist/components/Layouts/ClassicLayout.vue.d.ts +5 -14
- package/dist/components/Layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/components/Layouts/Layouts.vue.d.ts +5 -14
- package/dist/components/Layouts/Layouts.vue.d.ts.map +1 -1
- package/dist/components/Layouts/ModernLayout.vue.d.ts +5 -14
- package/dist/components/Layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/components/LoadingSkeleton.vue.d.ts +4 -25
- package/dist/components/LoadingSkeleton.vue.d.ts.map +1 -1
- package/dist/components/MobileHeader.vue.d.ts +6 -15
- package/dist/components/MobileHeader.vue.d.ts.map +1 -1
- package/dist/components/ScreenReader.vue.d.ts +4 -25
- package/dist/components/ScreenReader.vue.d.ts.map +1 -1
- package/dist/components/Section/CompactSection.vue.d.ts +3 -12
- package/dist/components/Section/CompactSection.vue.d.ts.map +1 -1
- package/dist/components/Section/Section.vue.d.ts +3 -12
- package/dist/components/Section/Section.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionAccordion.vue.d.ts +3 -12
- package/dist/components/Section/SectionAccordion.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionColumn.vue.d.ts +1 -1
- package/dist/components/Section/SectionColumn.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionColumns.vue.d.ts +1 -1
- package/dist/components/Section/SectionColumns.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionContainer.vue.d.ts +1 -1
- package/dist/components/Section/SectionContainer.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionContainerAccordion.vue.d.ts +1 -1
- package/dist/components/Section/SectionContainerAccordion.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionContent.vue.d.ts +4 -25
- package/dist/components/Section/SectionContent.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionHeader.vue.d.ts +4 -29
- package/dist/components/Section/SectionHeader.vue.d.ts.map +1 -1
- package/dist/components/ShowMoreButton.vue.d.ts +3 -12
- package/dist/components/ShowMoreButton.vue.d.ts.map +1 -1
- package/dist/components/ShowMoreButton.vue2.js +9 -9
- package/dist/components/Sidebar/Sidebar.vue.d.ts +3 -12
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarElement.vue.d.ts +6 -15
- package/dist/components/Sidebar/SidebarElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarElement.vue2.js +24 -24
- package/dist/components/Sidebar/SidebarGroup.vue.d.ts +3 -12
- package/dist/components/Sidebar/SidebarGroup.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarHttpBadge.vue.d.ts +3 -12
- package/dist/components/Sidebar/SidebarHttpBadge.vue.d.ts.map +1 -1
- package/dist/components/Spinner/Spinner.vue.d.ts +1 -1
- package/dist/embeds/ExampleRequest/ExampleRequest.vue.d.ts +3 -12
- package/dist/embeds/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
- package/dist/embeds/ExampleResponses/ExampleResponses.vue.d.ts +3 -12
- package/dist/embeds/ExampleResponses/ExampleResponses.vue.d.ts.map +1 -1
- package/dist/embeds/OpenApiDocument/OpenApiDocument.vue.d.ts +253 -13
- package/dist/embeds/OpenApiDocument/OpenApiDocument.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/BaseUrl.vue.d.ts +3 -12
- package/dist/features/BaseUrl/BaseUrl.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerForm.vue.d.ts +8 -29
- package/dist/features/BaseUrl/ServerForm.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerForm.vue2.js +41 -41
- package/dist/features/BaseUrl/ServerUrl.vue.d.ts +3 -12
- package/dist/features/BaseUrl/ServerUrl.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerUrlSelect.vue.d.ts +6 -15
- package/dist/features/BaseUrl/ServerUrlSelect.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerVariablesForm.vue.d.ts +6 -15
- package/dist/features/BaseUrl/ServerVariablesForm.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerVariablesSelect.vue.d.ts +6 -15
- package/dist/features/BaseUrl/ServerVariablesSelect.vue.d.ts.map +1 -1
- package/dist/features/BaseUrl/ServerVariablesSelect.vue2.js +19 -19
- package/dist/features/BaseUrl/ServerVariablesTextbox.vue.d.ts +6 -15
- package/dist/features/BaseUrl/ServerVariablesTextbox.vue.d.ts.map +1 -1
- package/dist/features/DownloadLink/DownloadLink.vue.d.ts +3 -12
- package/dist/features/DownloadLink/DownloadLink.vue.d.ts.map +1 -1
- package/dist/features/ExampleRequest/ExamplePicker.vue.d.ts +6 -15
- package/dist/features/ExampleRequest/ExamplePicker.vue.d.ts.map +1 -1
- package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts +3 -12
- package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
- package/dist/features/ExampleRequest/TextSelect.vue.d.ts +6 -15
- package/dist/features/ExampleRequest/TextSelect.vue.d.ts.map +1 -1
- package/dist/features/ExampleResponses/ExampleResponse.vue.d.ts +3 -12
- package/dist/features/ExampleResponses/ExampleResponse.vue.d.ts.map +1 -1
- package/dist/features/ExampleResponses/ExampleResponses.vue.d.ts +3 -12
- package/dist/features/ExampleResponses/ExampleResponses.vue.d.ts.map +1 -1
- package/dist/features/ExampleResponses/ExampleResponses.vue2.js +83 -83
- package/dist/features/Search/SearchButton.vue.d.ts +4 -25
- package/dist/features/Search/SearchButton.vue.d.ts.map +1 -1
- package/dist/features/Search/SearchButton.vue2.js +27 -27
- package/dist/features/Search/SearchModal.vue.d.ts +3 -12
- package/dist/features/Search/SearchModal.vue.d.ts.map +1 -1
- package/dist/features/Search/SearchModal.vue2.js +66 -66
- package/dist/features/Search/useSearchIndex.d.ts +2 -2
- package/dist/hooks/useDarkModeState.d.ts +1 -1
- package/dist/hooks/useNavState.d.ts +3 -3
- package/dist/hooks/useReactiveSpec.d.ts +2 -2
- package/dist/hooks/useRefOnMount.d.ts +1 -1
- package/dist/hooks/useRefOnMount.d.ts.map +1 -1
- package/dist/hooks/useSidebar.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/legacy/components/CardForm.vue.d.ts +1 -1
- package/dist/legacy/components/CardForm.vue.d.ts.map +1 -1
- package/dist/legacy/components/CardFormButton.vue.d.ts +2 -2
- package/dist/legacy/components/CardFormButton.vue.d.ts.map +1 -1
- package/dist/legacy/components/CardFormGroup.vue.d.ts +1 -1
- package/dist/legacy/components/CardFormGroup.vue.d.ts.map +1 -1
- package/dist/legacy/components/CardFormRows.vue.d.ts +1 -1
- package/dist/legacy/components/CardFormRows.vue.d.ts.map +1 -1
- package/dist/legacy/components/CardFormTextInput.vue.d.ts +3 -12
- package/dist/legacy/components/CardFormTextInput.vue.d.ts.map +1 -1
- package/dist/legacy/components/CardFormTextInput.vue2.js +21 -21
- package/dist/legacy/components/SecurityScheme.vue.d.ts +3 -12
- package/dist/legacy/components/SecurityScheme.vue.d.ts.map +1 -1
- package/dist/legacy/components/SecurityScheme.vue2.js +147 -147
- package/dist/legacy/components/SecuritySchemeScopes.vue.d.ts +6 -15
- package/dist/legacy/components/SecuritySchemeScopes.vue.d.ts.map +1 -1
- package/dist/legacy/components/SecuritySchemeScopes.vue2.js +37 -37
- package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts +6 -15
- package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts.map +1 -1
- package/dist/legacy/components/SecuritySchemeSelector.vue2.js +36 -36
- package/dist/legacy/stores/useRequestStore.d.ts +7 -3
- package/dist/legacy/stores/useRequestStore.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +11 -11
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as P, openBlock as u, createElementBlock as n, renderSlot as S, createCommentVNode as t, Fragment as s, createTextVNode as a, toDisplayString as i, createVNode as v, unref as O, withCtx as l, createBlock as d, renderList as V } from "vue";
|
|
2
|
+
import o from "./SchemaPropertyDetail.vue.js";
|
|
3
|
+
import w from "../../Badge/Badge.vue.js";
|
|
4
|
+
const C = { class: "property-heading" }, D = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "property-name"
|
|
7
|
-
},
|
|
7
|
+
}, $ = {
|
|
8
8
|
key: 1,
|
|
9
9
|
class: "property-additional"
|
|
10
|
-
},
|
|
10
|
+
}, b = {
|
|
11
11
|
key: 2,
|
|
12
12
|
class: "property-deprecated"
|
|
13
|
-
},
|
|
13
|
+
}, j = {
|
|
14
14
|
key: 3,
|
|
15
15
|
class: "property-required"
|
|
16
|
-
},
|
|
16
|
+
}, E = {
|
|
17
17
|
key: 4,
|
|
18
18
|
class: "property-const"
|
|
19
|
-
},
|
|
19
|
+
}, F = {
|
|
20
20
|
key: 5,
|
|
21
21
|
class: "property-details"
|
|
22
|
-
},
|
|
22
|
+
}, H = {
|
|
23
23
|
key: 6,
|
|
24
24
|
class: "property-write-only"
|
|
25
|
-
},
|
|
25
|
+
}, T = {
|
|
26
26
|
key: 7,
|
|
27
27
|
class: "property-read-only"
|
|
28
|
-
}, K = /* @__PURE__ */
|
|
28
|
+
}, K = /* @__PURE__ */ P({
|
|
29
29
|
__name: "SchemaPropertyHeading",
|
|
30
30
|
props: {
|
|
31
31
|
value: {},
|
|
@@ -33,159 +33,159 @@ const S = { class: "property-heading" }, V = {
|
|
|
33
33
|
required: { type: Boolean, default: !1 },
|
|
34
34
|
additional: { type: Boolean }
|
|
35
35
|
},
|
|
36
|
-
setup(
|
|
37
|
-
const
|
|
38
|
-
return (e,
|
|
39
|
-
var
|
|
40
|
-
return
|
|
41
|
-
e.$slots.name ? (
|
|
42
|
-
|
|
43
|
-
])) :
|
|
44
|
-
e.additional ? (
|
|
45
|
-
(
|
|
46
|
-
|
|
47
|
-
], 64)) : (
|
|
48
|
-
|
|
36
|
+
setup(h) {
|
|
37
|
+
const A = ["oneOf", "anyOf", "allOf", "not"], M = (e) => Array.isArray(e == null ? void 0 : e.default) && e.default.length === 1 ? e.default[0] : e == null ? void 0 : e.default;
|
|
38
|
+
return (e, r) => {
|
|
39
|
+
var f, k, g, B, q, I, L;
|
|
40
|
+
return u(), n("div", C, [
|
|
41
|
+
e.$slots.name ? (u(), n("div", D, [
|
|
42
|
+
S(e.$slots, "name", {}, void 0, !0)
|
|
43
|
+
])) : t("", !0),
|
|
44
|
+
e.additional ? (u(), n("div", $, [
|
|
45
|
+
(f = e.value) != null && f["x-additionalPropertiesName"] ? (u(), n(s, { key: 0 }, [
|
|
46
|
+
a(i(e.value["x-additionalPropertiesName"]), 1)
|
|
47
|
+
], 64)) : (u(), n(s, { key: 1 }, [
|
|
48
|
+
a("additional properties")
|
|
49
49
|
], 64))
|
|
50
|
-
])) :
|
|
51
|
-
(
|
|
52
|
-
|
|
53
|
-
default: l(() => [
|
|
54
|
-
|
|
55
|
-
]),
|
|
50
|
+
])) : t("", !0),
|
|
51
|
+
(k = e.value) != null && k.deprecated ? (u(), n("div", b, [
|
|
52
|
+
v(O(w), null, {
|
|
53
|
+
default: l(() => r[0] || (r[0] = [
|
|
54
|
+
a("deprecated")
|
|
55
|
+
])),
|
|
56
56
|
_: 1
|
|
57
57
|
})
|
|
58
|
-
])) :
|
|
59
|
-
e.required ? (
|
|
60
|
-
(
|
|
61
|
-
|
|
62
|
-
prefix: l(() => [
|
|
63
|
-
|
|
64
|
-
]),
|
|
58
|
+
])) : t("", !0),
|
|
59
|
+
e.required ? (u(), n("div", j, " required ")) : t("", !0),
|
|
60
|
+
(g = e.value) != null && g.const || (B = e.value) != null && B.enum && e.value.enum.length === 1 ? (u(), n("div", E, [
|
|
61
|
+
v(o, { truncate: "" }, {
|
|
62
|
+
prefix: l(() => r[1] || (r[1] = [
|
|
63
|
+
a("const:")
|
|
64
|
+
])),
|
|
65
65
|
default: l(() => [
|
|
66
|
-
|
|
66
|
+
a(" " + i(e.value.const ?? e.value.enum[0]), 1)
|
|
67
67
|
]),
|
|
68
68
|
_: 1
|
|
69
69
|
})
|
|
70
|
-
])) : (
|
|
71
|
-
|
|
70
|
+
])) : (q = e.value) != null && q.type ? (u(), n("div", F, [
|
|
71
|
+
v(o, null, {
|
|
72
72
|
default: l(() => {
|
|
73
|
-
var
|
|
73
|
+
var m, p, y;
|
|
74
74
|
return [
|
|
75
|
-
(
|
|
76
|
-
|
|
77
|
-
], 64)) : (
|
|
78
|
-
|
|
75
|
+
(p = (m = e.value) == null ? void 0 : m.items) != null && p.type ? (u(), n(s, { key: 0 }, [
|
|
76
|
+
a(i(e.value.type) + " " + i(e.value.items.type) + "[] ", 1)
|
|
77
|
+
], 64)) : (u(), n(s, { key: 1 }, [
|
|
78
|
+
a(i(Array.isArray(e.value.type) ? e.value.type.join(" | ") : e.value.type) + " " + i((y = e.value) != null && y.nullable ? " | nullable" : ""), 1)
|
|
79
79
|
], 64)),
|
|
80
|
-
e.value.minItems || e.value.maxItems ? (
|
|
81
|
-
|
|
82
|
-
], 64)) :
|
|
80
|
+
e.value.minItems || e.value.maxItems ? (u(), n(s, { key: 2 }, [
|
|
81
|
+
a(i(e.value.minItems) + "…" + i(e.value.maxItems), 1)
|
|
82
|
+
], 64)) : t("", !0)
|
|
83
83
|
];
|
|
84
84
|
}),
|
|
85
85
|
_: 1
|
|
86
86
|
}),
|
|
87
|
-
e.value.minLength ? (
|
|
88
|
-
prefix: l(() => [
|
|
89
|
-
|
|
90
|
-
]),
|
|
87
|
+
e.value.minLength ? (u(), d(o, { key: 0 }, {
|
|
88
|
+
prefix: l(() => r[2] || (r[2] = [
|
|
89
|
+
a("min:")
|
|
90
|
+
])),
|
|
91
91
|
default: l(() => [
|
|
92
|
-
|
|
92
|
+
a(" " + i(e.value.minLength), 1)
|
|
93
93
|
]),
|
|
94
94
|
_: 1
|
|
95
|
-
})) :
|
|
96
|
-
e.value.maxLength ? (
|
|
97
|
-
prefix: l(() => [
|
|
98
|
-
|
|
99
|
-
]),
|
|
95
|
+
})) : t("", !0),
|
|
96
|
+
e.value.maxLength ? (u(), d(o, { key: 1 }, {
|
|
97
|
+
prefix: l(() => r[3] || (r[3] = [
|
|
98
|
+
a("max:")
|
|
99
|
+
])),
|
|
100
100
|
default: l(() => [
|
|
101
|
-
|
|
101
|
+
a(" " + i(e.value.maxLength), 1)
|
|
102
102
|
]),
|
|
103
103
|
_: 1
|
|
104
|
-
})) :
|
|
105
|
-
e.value.uniqueItems ? (
|
|
106
|
-
default: l(() => [
|
|
107
|
-
|
|
108
|
-
]),
|
|
104
|
+
})) : t("", !0),
|
|
105
|
+
e.value.uniqueItems ? (u(), d(o, { key: 2 }, {
|
|
106
|
+
default: l(() => r[4] || (r[4] = [
|
|
107
|
+
a(" unique! ")
|
|
108
|
+
])),
|
|
109
109
|
_: 1
|
|
110
|
-
})) :
|
|
111
|
-
e.value.format ? (
|
|
110
|
+
})) : t("", !0),
|
|
111
|
+
e.value.format ? (u(), d(o, { key: 3 }, {
|
|
112
112
|
default: l(() => [
|
|
113
|
-
|
|
113
|
+
a(i(e.value.format), 1)
|
|
114
114
|
]),
|
|
115
115
|
_: 1
|
|
116
|
-
})) :
|
|
117
|
-
e.value.minimum !== void 0 && e.value.exclusiveMinimum ? (
|
|
118
|
-
prefix: l(() => [
|
|
119
|
-
|
|
120
|
-
]),
|
|
116
|
+
})) : t("", !0),
|
|
117
|
+
e.value.minimum !== void 0 && e.value.exclusiveMinimum ? (u(), d(o, { key: 4 }, {
|
|
118
|
+
prefix: l(() => r[5] || (r[5] = [
|
|
119
|
+
a("greater than:")
|
|
120
|
+
])),
|
|
121
121
|
default: l(() => [
|
|
122
|
-
|
|
122
|
+
a(" " + i(e.value.minimum), 1)
|
|
123
123
|
]),
|
|
124
124
|
_: 1
|
|
125
|
-
})) :
|
|
126
|
-
e.value.minimum !== void 0 && !e.value.exclusiveMinimum ? (
|
|
127
|
-
prefix: l(() => [
|
|
128
|
-
|
|
129
|
-
]),
|
|
125
|
+
})) : t("", !0),
|
|
126
|
+
e.value.minimum !== void 0 && !e.value.exclusiveMinimum ? (u(), d(o, { key: 5 }, {
|
|
127
|
+
prefix: l(() => r[6] || (r[6] = [
|
|
128
|
+
a("min:")
|
|
129
|
+
])),
|
|
130
130
|
default: l(() => [
|
|
131
|
-
|
|
131
|
+
a(" " + i(e.value.minimum), 1)
|
|
132
132
|
]),
|
|
133
133
|
_: 1
|
|
134
|
-
})) :
|
|
135
|
-
e.value.maximum !== void 0 && e.value.exclusiveMaximum ? (
|
|
136
|
-
prefix: l(() => [
|
|
137
|
-
|
|
138
|
-
]),
|
|
134
|
+
})) : t("", !0),
|
|
135
|
+
e.value.maximum !== void 0 && e.value.exclusiveMaximum ? (u(), d(o, { key: 6 }, {
|
|
136
|
+
prefix: l(() => r[7] || (r[7] = [
|
|
137
|
+
a("less than:")
|
|
138
|
+
])),
|
|
139
139
|
default: l(() => [
|
|
140
|
-
|
|
140
|
+
a(" " + i(e.value.maximum), 1)
|
|
141
141
|
]),
|
|
142
142
|
_: 1
|
|
143
|
-
})) :
|
|
144
|
-
e.value.maximum !== void 0 && !e.value.exclusiveMaximum ? (
|
|
145
|
-
prefix: l(() => [
|
|
146
|
-
|
|
147
|
-
]),
|
|
143
|
+
})) : t("", !0),
|
|
144
|
+
e.value.maximum !== void 0 && !e.value.exclusiveMaximum ? (u(), d(o, { key: 7 }, {
|
|
145
|
+
prefix: l(() => r[8] || (r[8] = [
|
|
146
|
+
a("max:")
|
|
147
|
+
])),
|
|
148
148
|
default: l(() => [
|
|
149
|
-
|
|
149
|
+
a(" " + i(e.value.maximum), 1)
|
|
150
150
|
]),
|
|
151
151
|
_: 1
|
|
152
|
-
})) :
|
|
153
|
-
e.value.pattern ? (
|
|
152
|
+
})) : t("", !0),
|
|
153
|
+
e.value.pattern ? (u(), d(o, {
|
|
154
154
|
key: 8,
|
|
155
155
|
code: "",
|
|
156
156
|
truncate: ""
|
|
157
157
|
}, {
|
|
158
158
|
default: l(() => [
|
|
159
|
-
|
|
159
|
+
a(i(e.value.pattern), 1)
|
|
160
160
|
]),
|
|
161
161
|
_: 1
|
|
162
|
-
})) :
|
|
163
|
-
e.$props.enum ? (
|
|
164
|
-
default: l(() => [
|
|
165
|
-
|
|
166
|
-
]),
|
|
162
|
+
})) : t("", !0),
|
|
163
|
+
e.$props.enum ? (u(), d(o, { key: 9 }, {
|
|
164
|
+
default: l(() => r[9] || (r[9] = [
|
|
165
|
+
a("enum")
|
|
166
|
+
])),
|
|
167
167
|
_: 1
|
|
168
|
-
})) :
|
|
169
|
-
e.value.default !== void 0 ? (
|
|
168
|
+
})) : t("", !0),
|
|
169
|
+
e.value.default !== void 0 ? (u(), d(o, {
|
|
170
170
|
key: 10,
|
|
171
171
|
truncate: ""
|
|
172
172
|
}, {
|
|
173
|
-
prefix: l(() => [
|
|
174
|
-
|
|
175
|
-
]),
|
|
173
|
+
prefix: l(() => r[10] || (r[10] = [
|
|
174
|
+
a("default:")
|
|
175
|
+
])),
|
|
176
176
|
default: l(() => [
|
|
177
|
-
|
|
177
|
+
a(" " + i(M(e.value)), 1)
|
|
178
178
|
]),
|
|
179
179
|
_: 1
|
|
180
|
-
})) :
|
|
181
|
-
])) :
|
|
182
|
-
(
|
|
183
|
-
(
|
|
184
|
-
var
|
|
185
|
-
return ((
|
|
186
|
-
}), (
|
|
180
|
+
})) : t("", !0)
|
|
181
|
+
])) : t("", !0),
|
|
182
|
+
(I = e.value) != null && I.writeOnly ? (u(), n("div", H, " write-only ")) : (L = e.value) != null && L.readOnly ? (u(), n("div", T, " read-only ")) : t("", !0),
|
|
183
|
+
(u(!0), n(s, null, V(A.filter((m) => {
|
|
184
|
+
var p, y, N;
|
|
185
|
+
return ((p = e.value) == null ? void 0 : p[m]) || ((N = (y = e.value) == null ? void 0 : y.items) == null ? void 0 : N[m]);
|
|
186
|
+
}), (m) => (u(), d(O(w), { key: m }, {
|
|
187
187
|
default: l(() => [
|
|
188
|
-
|
|
188
|
+
a(i(m), 1)
|
|
189
189
|
]),
|
|
190
190
|
_: 2
|
|
191
191
|
}, 1024))), 128))
|
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
import type { Tag } from '@scalar/types/legacy';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
id?: string;
|
|
4
4
|
tag: Tag;
|
|
5
5
|
isCollapsed?: boolean;
|
|
6
|
-
}
|
|
6
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
7
7
|
id?: string;
|
|
8
8
|
tag: Tag;
|
|
9
9
|
isCollapsed?: boolean;
|
|
10
|
-
}
|
|
10
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
export default _default;
|
|
12
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
-
type __VLS_TypePropsToOption<T> = {
|
|
14
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
|
-
} : {
|
|
17
|
-
type: import('vue').PropType<T[K]>;
|
|
18
|
-
required: true;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
12
|
//# sourceMappingURL=Endpoints.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Endpoints.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/Endpoints.vue"],"names":[],"mappings":"AA0HA,OAAO,KAAK,EAAE,GAAG,EAAwB,MAAM,sBAAsB,CAAA;;SAgBxC,MAAM;SAAO,GAAG;kBAAgB,OAAO;;SAAvC,MAAM;SAAO,GAAG;kBAAgB,OAAO;;AA+QpE,wBAMG
|
|
1
|
+
{"version":3,"file":"Endpoints.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/Endpoints.vue"],"names":[],"mappings":"AA0HA,OAAO,KAAK,EAAE,GAAG,EAAwB,MAAM,sBAAsB,CAAA;;SAgBxC,MAAM;SAAO,GAAG;kBAAgB,OAAO;;SAAvC,MAAM;SAAO,GAAG;kBAAgB,OAAO;;AA+QpE,wBAMG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as y, openBlock as
|
|
1
|
+
import { defineComponent as y, openBlock as n, createBlock as m, unref as e, withCtx as o, createVNode as a, createTextVNode as p, toDisplayString as c, createElementVNode as u, createElementBlock as f, Fragment as v, renderList as N, normalizeClass as V, createCommentVNode as b } from "vue";
|
|
2
2
|
import { ScalarMarkdown as B } from "@scalar/components";
|
|
3
3
|
import E from "../../Section/Section.vue.js";
|
|
4
4
|
import I from "../../Section/SectionContent.vue.js";
|
|
@@ -20,11 +20,11 @@ const L = { class: "endpoints" }, M = ["onClick"], te = /* @__PURE__ */ y({
|
|
|
20
20
|
isCollapsed: { type: Boolean }
|
|
21
21
|
},
|
|
22
22
|
setup(C) {
|
|
23
|
-
const _ = C, { getOperationId:
|
|
24
|
-
const
|
|
25
|
-
k(
|
|
23
|
+
const _ = C, { getOperationId: s, getTagId: h } = F(), { scrollToOperation: k } = D(), S = async (t) => {
|
|
24
|
+
const l = s(t, _.tag);
|
|
25
|
+
k(l);
|
|
26
26
|
};
|
|
27
|
-
return (t,
|
|
27
|
+
return (t, l) => (n(), m(e(E), {
|
|
28
28
|
id: t.id,
|
|
29
29
|
label: t.tag.name.toUpperCase()
|
|
30
30
|
}, {
|
|
@@ -60,15 +60,15 @@ const L = { class: "endpoints" }, M = ["onClick"], te = /* @__PURE__ */ y({
|
|
|
60
60
|
default: o(() => {
|
|
61
61
|
var d;
|
|
62
62
|
return [
|
|
63
|
-
((d = t.tag.operations) == null ? void 0 : d.length) > 0 ? (
|
|
63
|
+
((d = t.tag.operations) == null ? void 0 : d.length) > 0 ? (n(), m(e(O), {
|
|
64
64
|
key: 0,
|
|
65
65
|
class: "scalar-card-sticky"
|
|
66
66
|
}, {
|
|
67
67
|
default: o(() => [
|
|
68
68
|
a(e($), { muted: "" }, {
|
|
69
|
-
default: o(() => [
|
|
69
|
+
default: o(() => l[0] || (l[0] = [
|
|
70
70
|
p("Endpoints")
|
|
71
|
-
]),
|
|
71
|
+
])),
|
|
72
72
|
_: 1
|
|
73
73
|
}),
|
|
74
74
|
a(e(z), {
|
|
@@ -77,10 +77,10 @@ const L = { class: "endpoints" }, M = ["onClick"], te = /* @__PURE__ */ y({
|
|
|
77
77
|
}, {
|
|
78
78
|
default: o(() => [
|
|
79
79
|
u("div", L, [
|
|
80
|
-
(
|
|
80
|
+
(n(!0), f(v, null, N(t.tag.operations, (r) => {
|
|
81
81
|
var i;
|
|
82
|
-
return
|
|
83
|
-
key: e(
|
|
82
|
+
return n(), f("a", {
|
|
83
|
+
key: e(s)(r, t.tag),
|
|
84
84
|
class: "endpoint",
|
|
85
85
|
onClick: (U) => S(r)
|
|
86
86
|
}, [
|
|
@@ -2,15 +2,15 @@ import type { Spec, Tag } from '@scalar/types/legacy';
|
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
default?(_: {}): any;
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
6
6
|
id?: string;
|
|
7
7
|
tag: Tag;
|
|
8
8
|
spec: Spec;
|
|
9
|
-
}
|
|
9
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
10
10
|
id?: string;
|
|
11
11
|
tag: Tag;
|
|
12
12
|
spec: Spec;
|
|
13
|
-
}
|
|
13
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
15
15
|
export default _default;
|
|
16
16
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -18,13 +18,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
18
18
|
$slots: S;
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
-
type __VLS_TypePropsToOption<T> = {
|
|
23
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
-
} : {
|
|
26
|
-
type: import('vue').PropType<T[K]>;
|
|
27
|
-
required: true;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
21
|
//# sourceMappingURL=Tag.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/Tag.vue"],"names":[],"mappings":"AAsDA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAkCrD,iBAAS,cAAc;qBA6DO,GAAG;EAqBhC;AACD,QAAA,MAAM,eAAe;SA1Gd,MAAM;SACN,GAAG;UACF,IAAI;;SAFL,MAAM;SACN,GAAG;UACF,IAAI;
|
|
1
|
+
{"version":3,"file":"Tag.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/Tag.vue"],"names":[],"mappings":"AAsDA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAkCrD,iBAAS,cAAc;qBA6DO,GAAG;EAqBhC;AACD,QAAA,MAAM,eAAe;SA1Gd,MAAM;SACN,GAAG;UACF,IAAI;;SAFL,MAAM;SACN,GAAG;UACF,IAAI;iGA8GV,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"}
|
|
@@ -2,13 +2,13 @@ import type { Spec, Tag } from '@scalar/types/legacy';
|
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
default?(_: {}): any;
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
6
6
|
tag: Tag;
|
|
7
7
|
spec: Spec;
|
|
8
|
-
}
|
|
8
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
9
9
|
tag: Tag;
|
|
10
10
|
spec: Spec;
|
|
11
|
-
}
|
|
11
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
13
13
|
export default _default;
|
|
14
14
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -16,13 +16,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
16
16
|
$slots: S;
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
-
type __VLS_TypePropsToOption<T> = {
|
|
21
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
-
} : {
|
|
24
|
-
type: import('vue').PropType<T[K]>;
|
|
25
|
-
required: true;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
19
|
//# sourceMappingURL=TagAccordion.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/TagAccordion.vue"],"names":[],"mappings":"AAgDA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAqBrD,iBAAS,cAAc;qBAsFO,GAAG;EAmBhC;AACD,QAAA,MAAM,eAAe;SAtHd,GAAG;UACF,IAAI;;SADL,GAAG;UACF,IAAI;
|
|
1
|
+
{"version":3,"file":"TagAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/TagAccordion.vue"],"names":[],"mappings":"AAgDA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAqBrD,iBAAS,cAAc;qBAsFO,GAAG;EAmBhC;AACD,QAAA,MAAM,eAAe;SAtHd,GAAG;UACF,IAAI;;SADL,GAAG;UACF,IAAI;iGA2HV,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,21 +1,12 @@
|
|
|
1
1
|
import type { Spec, Tag as tagType } from '@scalar/types/legacy';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
tags: tagType[];
|
|
4
4
|
spec: Spec;
|
|
5
5
|
layout?: "default" | "accordion";
|
|
6
|
-
}
|
|
6
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
7
7
|
tags: tagType[];
|
|
8
8
|
spec: Spec;
|
|
9
9
|
layout?: "default" | "accordion";
|
|
10
|
-
}
|
|
10
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
export default _default;
|
|
12
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
-
type __VLS_TypePropsToOption<T> = {
|
|
14
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
|
-
} : {
|
|
17
|
-
type: import('vue').PropType<T[K]>;
|
|
18
|
-
required: true;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
12
|
//# sourceMappingURL=TagList.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/TagList.vue"],"names":[],"mappings":"AAwDA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAA;;UAWxD,OAAO,EAAE;UACT,IAAI;aACD,SAAS,GAAG,WAAW;;UAF1B,OAAO,EAAE;UACT,IAAI;aACD,SAAS,GAAG,WAAW;;AAyGlC,wBAMG
|
|
1
|
+
{"version":3,"file":"TagList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/TagList.vue"],"names":[],"mappings":"AAwDA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAA;;UAWxD,OAAO,EAAE;UACT,IAAI;aACD,SAAS,GAAG,WAAW;;UAF1B,OAAO,EAAE;UACT,IAAI;aACD,SAAS,GAAG,WAAW;;AAyGlC,wBAMG"}
|
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
import type { TransformedOperation } from '@scalar/types/legacy';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
webhook: TransformedOperation;
|
|
4
|
-
}
|
|
4
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
5
5
|
webhook: TransformedOperation;
|
|
6
|
-
}
|
|
6
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
7
|
export default _default;
|
|
8
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
-
type __VLS_TypePropsToOption<T> = {
|
|
10
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
-
} : {
|
|
13
|
-
type: import('vue').PropType<T[K]>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
8
|
//# sourceMappingURL=Webhook.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Webhook.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Webhooks/Webhook.vue"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;;aASrD,oBAAoB;;aAApB,oBAAoB;;AA2E/B,wBAMG
|
|
1
|
+
{"version":3,"file":"Webhook.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Webhooks/Webhook.vue"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;;aASrD,oBAAoB;;aAApB,oBAAoB;;AA2E/B,wBAMG"}
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { useResponses as
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as u, openBlock as d, createElementBlock as i, Fragment as k, createVNode as t, withCtx as s, createTextVNode as n, unref as f, createCommentVNode as l } from "vue";
|
|
2
|
+
import b from "../Operation/Parameters.vue.js";
|
|
3
|
+
import w from "../Operation/RequestBody.vue.js";
|
|
4
|
+
import { useResponses as y } from "../../../hooks/useResponses.js";
|
|
5
|
+
const C = /* @__PURE__ */ u({
|
|
6
6
|
__name: "Webhook",
|
|
7
7
|
props: {
|
|
8
8
|
webhook: {}
|
|
9
9
|
},
|
|
10
|
-
setup(
|
|
11
|
-
const
|
|
12
|
-
return (
|
|
13
|
-
var
|
|
14
|
-
return
|
|
15
|
-
|
|
10
|
+
setup(m) {
|
|
11
|
+
const a = m, { responses: p } = y(a.webhook);
|
|
12
|
+
return (o, e) => {
|
|
13
|
+
var r;
|
|
14
|
+
return o.webhook ? (d(), i(k, { key: 0 }, [
|
|
15
|
+
t(w, {
|
|
16
16
|
class: "webhook-request-body",
|
|
17
|
-
requestBody: (
|
|
17
|
+
requestBody: (r = o.webhook.information) == null ? void 0 : r.requestBody
|
|
18
18
|
}, {
|
|
19
|
-
title:
|
|
20
|
-
|
|
21
|
-
]),
|
|
19
|
+
title: s(() => e[0] || (e[0] = [
|
|
20
|
+
n("Payload")
|
|
21
|
+
])),
|
|
22
22
|
_: 1
|
|
23
23
|
}, 8, ["requestBody"]),
|
|
24
|
-
|
|
24
|
+
t(b, {
|
|
25
25
|
class: "webhook-response-parameters",
|
|
26
|
-
parameters:
|
|
26
|
+
parameters: f(p)
|
|
27
27
|
}, {
|
|
28
|
-
title:
|
|
29
|
-
|
|
30
|
-
]),
|
|
28
|
+
title: s(() => e[1] || (e[1] = [
|
|
29
|
+
n("Responses")
|
|
30
|
+
])),
|
|
31
31
|
_: 1
|
|
32
32
|
}, 8, ["parameters"])
|
|
33
|
-
], 64)) :
|
|
33
|
+
], 64)) : l("", !0);
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
});
|
|
37
37
|
export {
|
|
38
|
-
|
|
38
|
+
C as default
|
|
39
39
|
};
|
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
import type { Webhooks } from '@scalar/types/legacy';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
webhooks: Webhooks;
|
|
4
|
-
}
|
|
4
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
5
5
|
webhooks: Webhooks;
|
|
6
|
-
}
|
|
6
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
7
|
export default _default;
|
|
8
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
-
type __VLS_TypePropsToOption<T> = {
|
|
10
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
-
} : {
|
|
13
|
-
type: import('vue').PropType<T[K]>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
8
|
//# sourceMappingURL=Webhooks.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Webhooks.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Webhooks/Webhooks.vue"],"names":[],"mappings":"AAwHA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;;cAiBxC,QAAQ;;cAAR,QAAQ;;AAgOpB,wBAMG
|
|
1
|
+
{"version":3,"file":"Webhooks.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Webhooks/Webhooks.vue"],"names":[],"mappings":"AAwHA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;;cAiBxC,QAAQ;;cAAR,QAAQ;;AAgOpB,wBAMG"}
|