@scalar/api-reference 1.25.128 → 1.25.130
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/browser/standalone.js +10592 -10559
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.js +2 -2
- package/dist/components/Content/Lazy/Loading.vue.js +15 -15
- package/dist/components/Content/Tag/{Endpoints.vue.d.ts → OperationsList.vue.d.ts} +1 -3
- package/dist/components/Content/Tag/OperationsList.vue.d.ts.map +1 -0
- package/dist/components/Content/Tag/OperationsList.vue.js +7 -0
- package/dist/components/Content/Tag/OperationsList.vue2.js +62 -0
- package/dist/components/Content/Tag/OperationsListItem.vue.d.ts +9 -0
- package/dist/components/Content/Tag/OperationsListItem.vue.d.ts.map +1 -0
- package/dist/components/Content/Tag/OperationsListItem.vue.js +7 -0
- package/dist/components/Content/Tag/OperationsListItem.vue2.js +66 -0
- package/dist/components/Content/Tag/Tag.vue.d.ts +4 -64
- package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/Tag.vue.js +87 -5
- package/dist/components/Content/Tag/Tag.vue2.js +2 -63
- package/dist/components/Content/Tag/TagList.vue.d.ts.map +1 -1
- package/dist/components/Content/Tag/TagList.vue.js +11 -11
- package/dist/components/Content/Tag/TagSection.vue.d.ts +70 -0
- package/dist/components/Content/Tag/TagSection.vue.d.ts.map +1 -0
- package/dist/components/Content/Tag/TagSection.vue.js +7 -0
- package/dist/components/Content/Tag/TagSection.vue2.js +65 -0
- package/dist/components/Content/Tag/index.d.ts +1 -2
- package/dist/components/Content/Tag/index.d.ts.map +1 -1
- package/dist/features/ApiClientModal/useApiClient.d.ts +30 -10
- package/dist/features/ApiClientModal/useApiClient.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.js +2 -2
- package/dist/features/Operation/layouts/ClassicLayout.vue2.js +54 -54
- 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/Operation/layouts/ModernLayout.vue2.js +65 -67
- package/dist/helpers/get-request.d.ts +1 -0
- package/dist/helpers/get-request.d.ts.map +1 -1
- package/dist/helpers/index.d.ts +0 -1
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/hooks/useReactiveSpec.d.ts +8 -8
- package/dist/hooks/useSidebar.d.ts.map +1 -1
- package/dist/hooks/useSidebar.js +126 -116
- package/dist/index.js +55 -59
- package/dist/libs/operation.d.ts +15 -0
- package/dist/libs/operation.d.ts.map +1 -0
- package/dist/libs/operation.js +16 -0
- package/dist/stores/useHttpClientStore.d.ts +1 -1
- package/dist/stores/useHttpClientStore.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +12 -13
- package/dist/components/Content/Tag/Endpoints.vue.d.ts.map +0 -1
- package/dist/components/Content/Tag/Endpoints.vue.js +0 -7
- package/dist/components/Content/Tag/Endpoints.vue2.js +0 -161
- package/dist/helpers/operation.d.ts +0 -14
- package/dist/helpers/operation.d.ts.map +0 -1
- package/dist/helpers/operation.js +0 -18
- package/dist/standalone/lib/html-rendering.d.ts +0 -50
- package/dist/standalone/lib/html-rendering.d.ts.map +0 -1
- package/dist/standalone/lib/html-rendering.js +0 -64
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarIcon as
|
|
3
|
-
import { useClipboard as
|
|
4
|
-
import
|
|
5
|
-
import { useConfig as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
const
|
|
1
|
+
import { defineComponent as C, computed as b, openBlock as a, createBlock as s, unref as e, createSlots as _, withCtx as n, createElementVNode as t, createVNode as i, toDisplayString as m, normalizeClass as k, createTextVNode as O, createCommentVNode as f, withModifiers as g } from "vue";
|
|
2
|
+
import { ScalarIcon as S, ScalarIconButton as B, ScalarMarkdown as R } from "@scalar/components";
|
|
3
|
+
import { useClipboard as w } from "@scalar/use-hooks/useClipboard";
|
|
4
|
+
import I from "../../../components/OperationPath.vue.js";
|
|
5
|
+
import { useConfig as N } from "../../../hooks/useConfig.js";
|
|
6
|
+
import { isOperationDeprecated as T, getOperationStability as u, getOperationStabilityColor as V } from "../../../libs/operation.js";
|
|
7
|
+
import $ from "../components/OperationParameters.vue.js";
|
|
8
|
+
import q from "../components/OperationResponses.vue.js";
|
|
9
|
+
import E from "../../../components/Section/SectionAccordion.vue.js";
|
|
10
|
+
import z from "../../../components/HttpMethod/HttpMethod.vue.js";
|
|
11
|
+
import A from "../../../components/Anchor/Anchor.vue.js";
|
|
12
|
+
import D from "../../../components/Badge/Badge.vue.js";
|
|
13
|
+
import L from "../../TestRequestButton/TestRequestButton.vue.js";
|
|
14
|
+
import M from "../../ExampleResponses/ExampleResponses.vue.js";
|
|
15
|
+
import P from "../../ExampleRequest/ExampleRequest.vue.js";
|
|
16
|
+
const U = { class: "operation-title" }, j = { class: "operation-details" }, F = { class: "endpoint-label" }, G = { class: "endpoint-label-path" }, H = { class: "endpoint-label-name" }, J = { class: "endpoint-content" }, K = { class: "operation-details-card" }, Q = { class: "operation-details-card-item" }, W = { class: "operation-details-card-item" }, fo = /* @__PURE__ */ C({
|
|
17
17
|
__name: "ClassicLayout",
|
|
18
18
|
props: {
|
|
19
19
|
id: {},
|
|
@@ -22,45 +22,45 @@ const L = { class: "operation-title" }, M = { class: "operation-details" }, P =
|
|
|
22
22
|
operation: {},
|
|
23
23
|
transformedOperation: {}
|
|
24
24
|
},
|
|
25
|
-
setup(
|
|
26
|
-
const { copyToClipboard:
|
|
27
|
-
return (o,
|
|
28
|
-
var
|
|
29
|
-
return a(), s(e(
|
|
25
|
+
setup(p) {
|
|
26
|
+
const { copyToClipboard: h } = w(), v = N(), y = b(() => p.operation.summary || p.operation.path);
|
|
27
|
+
return (o, l) => {
|
|
28
|
+
var d;
|
|
29
|
+
return a(), s(e(E), {
|
|
30
30
|
id: o.id,
|
|
31
31
|
class: "reference-endpoint",
|
|
32
32
|
transparent: ""
|
|
33
|
-
},
|
|
33
|
+
}, _({
|
|
34
34
|
title: n(() => [
|
|
35
|
-
t("div",
|
|
36
|
-
t("div",
|
|
37
|
-
|
|
35
|
+
t("div", U, [
|
|
36
|
+
t("div", j, [
|
|
37
|
+
i(e(z), {
|
|
38
38
|
class: "endpoint-type",
|
|
39
39
|
method: o.operation.method,
|
|
40
40
|
short: ""
|
|
41
41
|
}, null, 8, ["method"]),
|
|
42
|
-
|
|
42
|
+
i(e(A), {
|
|
43
43
|
id: o.id ?? "",
|
|
44
44
|
class: "endpoint-anchor"
|
|
45
45
|
}, {
|
|
46
46
|
default: n(() => [
|
|
47
|
-
t("h3",
|
|
48
|
-
t("div",
|
|
49
|
-
|
|
50
|
-
deprecated: e(
|
|
47
|
+
t("h3", F, [
|
|
48
|
+
t("div", G, [
|
|
49
|
+
i(I, {
|
|
50
|
+
deprecated: e(T)(o.operation),
|
|
51
51
|
path: o.operation.path
|
|
52
52
|
}, null, 8, ["deprecated", "path"])
|
|
53
53
|
]),
|
|
54
|
-
t("div",
|
|
55
|
-
e(
|
|
54
|
+
t("div", H, m(y.value), 1),
|
|
55
|
+
e(u)(o.operation) ? (a(), s(e(D), {
|
|
56
56
|
key: 0,
|
|
57
|
-
class:
|
|
57
|
+
class: k(e(V)(o.operation))
|
|
58
58
|
}, {
|
|
59
59
|
default: n(() => [
|
|
60
|
-
|
|
60
|
+
O(m(e(u)(o.operation)), 1)
|
|
61
61
|
]),
|
|
62
62
|
_: 1
|
|
63
|
-
}, 8, ["class"])) :
|
|
63
|
+
}, 8, ["class"])) : f("", !0)
|
|
64
64
|
])
|
|
65
65
|
]),
|
|
66
66
|
_: 1
|
|
@@ -68,45 +68,45 @@ const L = { class: "operation-title" }, M = { class: "operation-details" }, P =
|
|
|
68
68
|
])
|
|
69
69
|
])
|
|
70
70
|
]),
|
|
71
|
-
actions: n(({ active:
|
|
72
|
-
var
|
|
71
|
+
actions: n(({ active: r }) => {
|
|
72
|
+
var c;
|
|
73
73
|
return [
|
|
74
|
-
|
|
74
|
+
r ? (a(), s(e(L), {
|
|
75
75
|
key: 0,
|
|
76
76
|
operation: o.operation
|
|
77
|
-
}, null, 8, ["operation"])) : (
|
|
77
|
+
}, null, 8, ["operation"])) : (c = e(v)) != null && c.hideTestRequestButton ? f("", !0) : (a(), s(e(S), {
|
|
78
78
|
key: 1,
|
|
79
79
|
class: "endpoint-try-hint",
|
|
80
80
|
icon: "Play",
|
|
81
81
|
thickness: "1.75px"
|
|
82
82
|
})),
|
|
83
|
-
|
|
83
|
+
i(e(B), {
|
|
84
84
|
class: "endpoint-copy",
|
|
85
85
|
icon: "Clipboard",
|
|
86
86
|
label: "Copy endpoint URL",
|
|
87
87
|
size: "xs",
|
|
88
88
|
variant: "ghost",
|
|
89
|
-
onClick:
|
|
89
|
+
onClick: l[0] || (l[0] = g((X) => e(h)(o.operation.path), ["stop"]))
|
|
90
90
|
})
|
|
91
91
|
];
|
|
92
92
|
}),
|
|
93
93
|
default: n(() => [
|
|
94
|
-
t("div",
|
|
95
|
-
t("div",
|
|
96
|
-
t("div",
|
|
97
|
-
|
|
94
|
+
t("div", J, [
|
|
95
|
+
t("div", K, [
|
|
96
|
+
t("div", Q, [
|
|
97
|
+
i($, { operation: o.operation }, null, 8, ["operation"])
|
|
98
98
|
]),
|
|
99
|
-
t("div",
|
|
100
|
-
|
|
99
|
+
t("div", W, [
|
|
100
|
+
i(q, {
|
|
101
101
|
collapsableItems: !1,
|
|
102
102
|
operation: o.transformedOperation
|
|
103
103
|
}, null, 8, ["operation"])
|
|
104
104
|
])
|
|
105
105
|
]),
|
|
106
|
-
|
|
106
|
+
i(e(M), {
|
|
107
107
|
responses: o.operation.responses
|
|
108
108
|
}, null, 8, ["responses"]),
|
|
109
|
-
|
|
109
|
+
i(e(P), {
|
|
110
110
|
collection: o.collection,
|
|
111
111
|
operation: o.operation,
|
|
112
112
|
server: o.server,
|
|
@@ -116,13 +116,13 @@ const L = { class: "operation-title" }, M = { class: "operation-details" }, P =
|
|
|
116
116
|
]),
|
|
117
117
|
_: 2
|
|
118
118
|
}, [
|
|
119
|
-
(
|
|
119
|
+
(d = o.operation) != null && d.description ? {
|
|
120
120
|
name: "description",
|
|
121
121
|
fn: n(() => {
|
|
122
|
-
var
|
|
122
|
+
var r;
|
|
123
123
|
return [
|
|
124
|
-
|
|
125
|
-
value: (
|
|
124
|
+
i(e(R), {
|
|
125
|
+
value: (r = o.operation) == null ? void 0 : r.description,
|
|
126
126
|
withImages: ""
|
|
127
127
|
}, null, 8, ["value"])
|
|
128
128
|
];
|
|
@@ -134,5 +134,5 @@ const L = { class: "operation-title" }, M = { class: "operation-details" }, P =
|
|
|
134
134
|
}
|
|
135
135
|
});
|
|
136
136
|
export {
|
|
137
|
-
|
|
137
|
+
fo as default
|
|
138
138
|
};
|
|
@@ -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":"AAoIA,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EACT,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AA4BhE,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,UAAU,CAAA;IACtB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;IACpB,0CAA0C;IAC1C,oBAAoB,EAAE,oBAAoB,CAAA;CAC3C,CAAC;;AAyOF,wBAOG"}
|
|
@@ -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 p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-00a4c91b"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { defineComponent as O, useId as
|
|
2
|
-
import { ScalarMarkdown as
|
|
3
|
-
import
|
|
4
|
-
import { getOperationStability as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
const
|
|
1
|
+
import { defineComponent as O, useId as S, computed as b, openBlock as m, createBlock as s, unref as e, withCtx as t, createVNode as r, normalizeClass as d, createTextVNode as f, toDisplayString as u, createCommentVNode as y, createElementVNode as a } from "vue";
|
|
2
|
+
import { ScalarMarkdown as C, ScalarErrorBoundary as c } from "@scalar/components";
|
|
3
|
+
import g from "../../../components/OperationPath.vue.js";
|
|
4
|
+
import { getOperationStability as h, getOperationStabilityColor as _, isOperationDeprecated as k } from "../../../libs/operation.js";
|
|
5
|
+
import B from "../components/OperationParameters.vue.js";
|
|
6
|
+
import E from "../components/OperationResponses.vue.js";
|
|
7
|
+
import N from "../../../components/Section/Section.vue.js";
|
|
8
|
+
import V from "../../../components/Section/SectionContent.vue.js";
|
|
9
|
+
import w from "../../../components/Badge/Badge.vue.js";
|
|
10
|
+
import I from "../../../components/Section/SectionHeader.vue.js";
|
|
11
|
+
import R from "../../../components/Anchor/Anchor.vue.js";
|
|
12
|
+
import T from "../../../components/Section/SectionHeaderTag.vue.js";
|
|
13
|
+
import q from "../../../components/Section/SectionColumns.vue.js";
|
|
14
|
+
import v from "../../../components/Section/SectionColumn.vue.js";
|
|
15
|
+
import D from "../../ExampleRequest/ExampleRequest.vue.js";
|
|
16
|
+
import H from "../../TestRequestButton/TestRequestButton.vue.js";
|
|
17
|
+
import M from "../../ExampleResponses/ExampleResponses.vue.js";
|
|
18
|
+
const $ = { class: "operation-details" }, z = { class: "examples" }, te = /* @__PURE__ */ O({
|
|
19
19
|
__name: "ModernLayout",
|
|
20
20
|
props: {
|
|
21
21
|
id: {},
|
|
@@ -24,42 +24,40 @@ const D = { class: "operation-details" }, H = { class: "examples" }, oe = /* @__
|
|
|
24
24
|
operation: {},
|
|
25
25
|
transformedOperation: {}
|
|
26
26
|
},
|
|
27
|
-
setup(
|
|
28
|
-
const
|
|
29
|
-
return (o,
|
|
27
|
+
setup(n) {
|
|
28
|
+
const i = S(), l = b(() => n.operation.summary || n.operation.path);
|
|
29
|
+
return (o, A) => (m(), s(e(N), {
|
|
30
30
|
id: o.id,
|
|
31
|
-
"aria-labelledby": e(
|
|
32
|
-
label:
|
|
31
|
+
"aria-labelledby": e(i),
|
|
32
|
+
label: l.value
|
|
33
33
|
}, {
|
|
34
|
-
default:
|
|
35
|
-
r(e(
|
|
36
|
-
default:
|
|
37
|
-
e(
|
|
34
|
+
default: t(() => [
|
|
35
|
+
r(e(V), null, {
|
|
36
|
+
default: t(() => [
|
|
37
|
+
e(h)(o.operation) ? (m(), s(e(w), {
|
|
38
38
|
key: 0,
|
|
39
|
-
class:
|
|
39
|
+
class: d(e(_)(o.operation))
|
|
40
40
|
}, {
|
|
41
|
-
default:
|
|
42
|
-
|
|
41
|
+
default: t(() => [
|
|
42
|
+
f(u(e(h)(o.operation)), 1)
|
|
43
43
|
]),
|
|
44
44
|
_: 1
|
|
45
|
-
}, 8, ["class"])) :
|
|
46
|
-
|
|
47
|
-
class:
|
|
48
|
-
e(_)(o.transformedOperation) ? "deprecated" : ""
|
|
49
|
-
)
|
|
45
|
+
}, 8, ["class"])) : y("", !0),
|
|
46
|
+
a("div", {
|
|
47
|
+
class: d(e(k)(o.operation) ? "deprecated" : "")
|
|
50
48
|
}, [
|
|
51
|
-
r(e(
|
|
52
|
-
default:
|
|
53
|
-
r(e(
|
|
49
|
+
r(e(I), null, {
|
|
50
|
+
default: t(() => [
|
|
51
|
+
r(e(R), {
|
|
54
52
|
id: o.id ?? ""
|
|
55
53
|
}, {
|
|
56
|
-
default:
|
|
57
|
-
r(e(
|
|
58
|
-
id: e(
|
|
54
|
+
default: t(() => [
|
|
55
|
+
r(e(T), {
|
|
56
|
+
id: e(i),
|
|
59
57
|
level: 3
|
|
60
58
|
}, {
|
|
61
|
-
default:
|
|
62
|
-
|
|
59
|
+
default: t(() => [
|
|
60
|
+
f(u(l.value), 1)
|
|
63
61
|
]),
|
|
64
62
|
_: 1
|
|
65
63
|
}, 8, ["id"])
|
|
@@ -70,54 +68,54 @@ const D = { class: "operation-details" }, H = { class: "examples" }, oe = /* @__
|
|
|
70
68
|
_: 1
|
|
71
69
|
})
|
|
72
70
|
], 2),
|
|
73
|
-
r(e(
|
|
74
|
-
default:
|
|
75
|
-
r(e(
|
|
76
|
-
default:
|
|
77
|
-
|
|
78
|
-
r(e(
|
|
71
|
+
r(e(q), null, {
|
|
72
|
+
default: t(() => [
|
|
73
|
+
r(e(v), null, {
|
|
74
|
+
default: t(() => [
|
|
75
|
+
a("div", $, [
|
|
76
|
+
r(e(C), {
|
|
79
77
|
value: o.operation.description,
|
|
80
78
|
withImages: ""
|
|
81
79
|
}, null, 8, ["value"]),
|
|
82
|
-
r(
|
|
83
|
-
r(
|
|
80
|
+
r(B, { operation: o.operation }, null, 8, ["operation"]),
|
|
81
|
+
r(E, { operation: o.transformedOperation }, null, 8, ["operation"])
|
|
84
82
|
])
|
|
85
83
|
]),
|
|
86
84
|
_: 1
|
|
87
85
|
}),
|
|
88
|
-
r(e(
|
|
89
|
-
default:
|
|
90
|
-
|
|
91
|
-
r(e(
|
|
92
|
-
default:
|
|
93
|
-
r(e(
|
|
86
|
+
r(e(v), null, {
|
|
87
|
+
default: t(() => [
|
|
88
|
+
a("div", z, [
|
|
89
|
+
r(e(c), null, {
|
|
90
|
+
default: t(() => [
|
|
91
|
+
r(e(D), {
|
|
94
92
|
collection: o.collection,
|
|
95
93
|
fallback: "",
|
|
96
94
|
operation: o.operation,
|
|
97
95
|
server: o.server,
|
|
98
96
|
transformedOperation: o.transformedOperation
|
|
99
97
|
}, {
|
|
100
|
-
header:
|
|
101
|
-
var
|
|
98
|
+
header: t(() => {
|
|
99
|
+
var p;
|
|
102
100
|
return [
|
|
103
|
-
r(
|
|
101
|
+
r(g, {
|
|
104
102
|
class: "example-path",
|
|
105
|
-
deprecated: (
|
|
103
|
+
deprecated: (p = o.transformedOperation.information) == null ? void 0 : p.deprecated,
|
|
106
104
|
path: o.transformedOperation.path
|
|
107
105
|
}, null, 8, ["deprecated", "path"])
|
|
108
106
|
];
|
|
109
107
|
}),
|
|
110
|
-
footer:
|
|
111
|
-
r(e(
|
|
108
|
+
footer: t(() => [
|
|
109
|
+
r(e(H), { operation: o.operation }, null, 8, ["operation"])
|
|
112
110
|
]),
|
|
113
111
|
_: 1
|
|
114
112
|
}, 8, ["collection", "operation", "server", "transformedOperation"])
|
|
115
113
|
]),
|
|
116
114
|
_: 1
|
|
117
115
|
}),
|
|
118
|
-
r(e(
|
|
119
|
-
default:
|
|
120
|
-
r(e(
|
|
116
|
+
r(e(c), null, {
|
|
117
|
+
default: t(() => [
|
|
118
|
+
r(e(M), {
|
|
121
119
|
responses: o.operation.responses,
|
|
122
120
|
style: { "margin-top": "12px" }
|
|
123
121
|
}, null, 8, ["responses"])
|
|
@@ -140,5 +138,5 @@ const D = { class: "operation-details" }, H = { class: "examples" }, oe = /* @__
|
|
|
140
138
|
}
|
|
141
139
|
});
|
|
142
140
|
export {
|
|
143
|
-
|
|
141
|
+
te as default
|
|
144
142
|
};
|
|
@@ -38,5 +38,6 @@ export declare const getRequest: (requests: WorkspaceStore["requests"], path: st
|
|
|
38
38
|
}[] | undefined;
|
|
39
39
|
requestBody?: any;
|
|
40
40
|
responses?: Record<string, any> | undefined;
|
|
41
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
41
42
|
} | undefined;
|
|
42
43
|
//# sourceMappingURL=get-request.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-request.d.ts","sourceRoot":"","sources":["../../src/helpers/get-request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAE9D,6CAA6C;AAC7C,eAAO,MAAM,UAAU,aAAc,cAAc,CAAC,UAAU,CAAC,QAAQ,MAAM,UAAU,MAAM;;;yBAEoyT,KAAK;kDAA4E,KAAK,8CAA8C,KAAK;wCAA6E,KAAK;8BAA6D,KAAK;+BAAyD,KAAK;;;;;;mBAAwR,CAAC;;;;;;;;;;;;;eAA0f,CAAC;mBAAkC,CAAC;cAAwC,CAAC;eAA8B,CAAC;aAA4B,CAAC;gBAA8H,CAAC;iBAAoD,CAAC;mBAAkC,CAAC;;;;;
|
|
1
|
+
{"version":3,"file":"get-request.d.ts","sourceRoot":"","sources":["../../src/helpers/get-request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAE9D,6CAA6C;AAC7C,eAAO,MAAM,UAAU,aAAc,cAAc,CAAC,UAAU,CAAC,QAAQ,MAAM,UAAU,MAAM;;;yBAEoyT,KAAK;kDAA4E,KAAK,8CAA8C,KAAK;wCAA6E,KAAK;8BAA6D,KAAK;+BAAyD,KAAK;;;;;;mBAAwR,CAAC;;;;;;;;;;;;;eAA0f,CAAC;mBAAkC,CAAC;cAAwC,CAAC;eAA8B,CAAC;aAA4B,CAAC;gBAA8H,CAAC;iBAAoD,CAAC;mBAAkC,CAAC;;;;;kCAAiM,eAAe;aADt7W,CAAA"}
|
package/dist/helpers/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA;AAC1C,cAAc,aAAa,CAAA;AAC3B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA;AAC1C,cAAc,aAAa,CAAA;AAC3B,cAAc,2BAA2B,CAAA;AACzC,cAAc,yBAAyB,CAAA;AACvC,cAAc,aAAa,CAAA;AAC3B,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,sBAAsB,CAAA;AACpC,cAAc,eAAe,CAAA;AAC7B,cAAc,WAAW,CAAA;AACzB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,iBAAiB,CAAA"}
|
|
@@ -38,11 +38,11 @@ export declare function useReactiveSpec({ specConfig, proxyUrl, }: {
|
|
|
38
38
|
default?: any;
|
|
39
39
|
format?: string | undefined;
|
|
40
40
|
description?: string | undefined;
|
|
41
|
-
properties?: Record<string, import("@scalar/types
|
|
41
|
+
properties?: Record<string, import("@scalar/types").Schema> | undefined;
|
|
42
42
|
} | undefined;
|
|
43
43
|
example?: any;
|
|
44
44
|
examples?: (Map<string, any> & Omit<Map<string, any>, keyof Map<any, any>>) | undefined;
|
|
45
|
-
content?: import("@scalar/types
|
|
45
|
+
content?: import("@scalar/types").RequestBodyMimeTypes | undefined;
|
|
46
46
|
headers?: {
|
|
47
47
|
[key: string]: import("@scalar/openapi-types").OpenAPI.HeaderObject;
|
|
48
48
|
} | undefined;
|
|
@@ -52,7 +52,7 @@ export declare function useReactiveSpec({ specConfig, proxyUrl, }: {
|
|
|
52
52
|
requestBody?: {
|
|
53
53
|
description?: string | undefined;
|
|
54
54
|
required?: boolean | undefined;
|
|
55
|
-
content?: import("@scalar/types
|
|
55
|
+
content?: import("@scalar/types").RequestBodyMimeTypes | undefined;
|
|
56
56
|
} | undefined;
|
|
57
57
|
summary?: string | undefined;
|
|
58
58
|
tags?: string[] | undefined;
|
|
@@ -67,7 +67,7 @@ export declare function useReactiveSpec({ specConfig, proxyUrl, }: {
|
|
|
67
67
|
label: string;
|
|
68
68
|
source: string;
|
|
69
69
|
}[] | undefined;
|
|
70
|
-
'x-scalar-stability'?: import("@scalar/types
|
|
70
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
71
71
|
'x-codeSamples'?: {
|
|
72
72
|
lang: string;
|
|
73
73
|
label: string;
|
|
@@ -101,11 +101,11 @@ export declare function useReactiveSpec({ specConfig, proxyUrl, }: {
|
|
|
101
101
|
default?: any;
|
|
102
102
|
format?: string | undefined;
|
|
103
103
|
description?: string | undefined;
|
|
104
|
-
properties?: Record<string, import("@scalar/types
|
|
104
|
+
properties?: Record<string, import("@scalar/types").Schema> | undefined;
|
|
105
105
|
} | undefined;
|
|
106
106
|
example?: any;
|
|
107
107
|
examples?: (Map<string, any> & Omit<Map<string, any>, keyof Map<any, any>>) | undefined;
|
|
108
|
-
content?: import("@scalar/types
|
|
108
|
+
content?: import("@scalar/types").RequestBodyMimeTypes | undefined;
|
|
109
109
|
headers?: {
|
|
110
110
|
[key: string]: import("@scalar/openapi-types").OpenAPI.HeaderObject;
|
|
111
111
|
} | undefined;
|
|
@@ -216,8 +216,8 @@ export declare function useReactiveSpec({ specConfig, proxyUrl, }: {
|
|
|
216
216
|
callbacks?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.CallbackObject> | undefined;
|
|
217
217
|
pathItems?: Record<string, import("@scalar/openapi-types").OpenAPIV3_1.ReferenceObject | import("@scalar/openapi-types").OpenAPIV3_1.PathItemObject> | undefined;
|
|
218
218
|
} | undefined;
|
|
219
|
-
webhooks?: import("@scalar/types
|
|
220
|
-
definitions?: import("@scalar/types
|
|
219
|
+
webhooks?: import("@scalar/types").Webhooks | undefined;
|
|
220
|
+
definitions?: import("@scalar/types").Definitions | undefined;
|
|
221
221
|
swagger?: import("@scalar/openapi-types").OpenAPIV2.Document["swagger"];
|
|
222
222
|
openapi?: import("@scalar/openapi-types").OpenAPIV3.Document["openapi"] | import("@scalar/openapi-types").OpenAPIV3_1.Document["openapi"];
|
|
223
223
|
'x-tagGroups'?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSidebar.d.ts","sourceRoot":"","sources":["../../src/hooks/useSidebar.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"useSidebar.d.ts","sourceRoot":"","sources":["../../src/hooks/useSidebar.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAa3E,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,YAAY,EAAE,CAAA;IACzB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,OAAO,CAAA;IACb,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAcD,uDAAuD;AACvD,iBAAS,aAAa,CAAC,IAAI,EAAE,IAAI,QA0ChC;AAMD,KAAK,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAIpD,iBAAS,0BAA0B,CAAC,GAAG,EAAE,MAAM,QAE9C;AAED,iBAAS,uBAAuB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,QAE3D;AAgOD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,EAAE,IAAI,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,KAAK,MAAM,CAAC,CAAA;IACnD,gBAAgB,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,CAAC,CAAC,CAAC,EAAE,oBAAoB,EAAE,CAAC,EAAE,oBAAoB,KAAK,MAAM,CAAC,CAAA;CACvG,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,gBAAiB,MAAM,SAepD,CAAA;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,OAAO,CAAC,EAAE,gBAAgB,GAAG,YAAY;;;;;;;;;;;;;qCApBrB,MAAM;EA2EpD"}
|