@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.
Files changed (60) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist/browser/standalone.js +10592 -10559
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts.map +1 -1
  5. package/dist/components/Content/ClientLibraries/ClientSelector.vue.js +2 -2
  6. package/dist/components/Content/Lazy/Loading.vue.js +15 -15
  7. package/dist/components/Content/Tag/{Endpoints.vue.d.ts → OperationsList.vue.d.ts} +1 -3
  8. package/dist/components/Content/Tag/OperationsList.vue.d.ts.map +1 -0
  9. package/dist/components/Content/Tag/OperationsList.vue.js +7 -0
  10. package/dist/components/Content/Tag/OperationsList.vue2.js +62 -0
  11. package/dist/components/Content/Tag/OperationsListItem.vue.d.ts +9 -0
  12. package/dist/components/Content/Tag/OperationsListItem.vue.d.ts.map +1 -0
  13. package/dist/components/Content/Tag/OperationsListItem.vue.js +7 -0
  14. package/dist/components/Content/Tag/OperationsListItem.vue2.js +66 -0
  15. package/dist/components/Content/Tag/Tag.vue.d.ts +4 -64
  16. package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
  17. package/dist/components/Content/Tag/Tag.vue.js +87 -5
  18. package/dist/components/Content/Tag/Tag.vue2.js +2 -63
  19. package/dist/components/Content/Tag/TagList.vue.d.ts.map +1 -1
  20. package/dist/components/Content/Tag/TagList.vue.js +11 -11
  21. package/dist/components/Content/Tag/TagSection.vue.d.ts +70 -0
  22. package/dist/components/Content/Tag/TagSection.vue.d.ts.map +1 -0
  23. package/dist/components/Content/Tag/TagSection.vue.js +7 -0
  24. package/dist/components/Content/Tag/TagSection.vue2.js +65 -0
  25. package/dist/components/Content/Tag/index.d.ts +1 -2
  26. package/dist/components/Content/Tag/index.d.ts.map +1 -1
  27. package/dist/features/ApiClientModal/useApiClient.d.ts +30 -10
  28. package/dist/features/ApiClientModal/useApiClient.d.ts.map +1 -1
  29. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
  30. package/dist/features/Operation/layouts/ClassicLayout.vue.js +2 -2
  31. package/dist/features/Operation/layouts/ClassicLayout.vue2.js +54 -54
  32. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
  33. package/dist/features/Operation/layouts/ModernLayout.vue.js +2 -2
  34. package/dist/features/Operation/layouts/ModernLayout.vue2.js +65 -67
  35. package/dist/helpers/get-request.d.ts +1 -0
  36. package/dist/helpers/get-request.d.ts.map +1 -1
  37. package/dist/helpers/index.d.ts +0 -1
  38. package/dist/helpers/index.d.ts.map +1 -1
  39. package/dist/hooks/useReactiveSpec.d.ts +8 -8
  40. package/dist/hooks/useSidebar.d.ts.map +1 -1
  41. package/dist/hooks/useSidebar.js +126 -116
  42. package/dist/index.js +55 -59
  43. package/dist/libs/operation.d.ts +15 -0
  44. package/dist/libs/operation.d.ts.map +1 -0
  45. package/dist/libs/operation.js +16 -0
  46. package/dist/stores/useHttpClientStore.d.ts +1 -1
  47. package/dist/stores/useHttpClientStore.d.ts.map +1 -1
  48. package/dist/style.css +1 -1
  49. package/dist/types.d.ts +1 -1
  50. package/dist/types.d.ts.map +1 -1
  51. package/package.json +12 -13
  52. package/dist/components/Content/Tag/Endpoints.vue.d.ts.map +0 -1
  53. package/dist/components/Content/Tag/Endpoints.vue.js +0 -7
  54. package/dist/components/Content/Tag/Endpoints.vue2.js +0 -161
  55. package/dist/helpers/operation.d.ts +0 -14
  56. package/dist/helpers/operation.d.ts.map +0 -1
  57. package/dist/helpers/operation.js +0 -18
  58. package/dist/standalone/lib/html-rendering.d.ts +0 -50
  59. package/dist/standalone/lib/html-rendering.d.ts.map +0 -1
  60. package/dist/standalone/lib/html-rendering.js +0 -64
@@ -1,19 +1,19 @@
1
- import { defineComponent as v, openBlock as a, createBlock as s, unref as e, createSlots as y, withCtx as n, createElementVNode as t, createVNode as r, toDisplayString as m, normalizeClass as O, createTextVNode as _, createCommentVNode as c, withModifiers as C } from "vue";
2
- import { ScalarIcon as b, ScalarIconButton as k, ScalarMarkdown as g } from "@scalar/components";
3
- import { useClipboard as S } from "@scalar/use-hooks/useClipboard";
4
- import B from "../../../components/OperationPath.vue.js";
5
- import { useConfig as R } from "../../../hooks/useConfig.js";
6
- import w from "../components/OperationParameters.vue.js";
7
- import I from "../components/OperationResponses.vue.js";
8
- import N from "../../../components/Section/SectionAccordion.vue.js";
9
- import T from "../../../components/HttpMethod/HttpMethod.vue.js";
10
- import V from "../../../components/Anchor/Anchor.vue.js";
11
- import { isOperationDeprecated as $, getOperationStability as f, getOperationStabilityColor as q } from "../../../helpers/operation.js";
12
- import E from "../../../components/Badge/Badge.vue.js";
13
- import z from "../../TestRequestButton/TestRequestButton.vue.js";
14
- import A from "../../ExampleResponses/ExampleResponses.vue.js";
15
- import D from "../../ExampleRequest/ExampleRequest.vue.js";
16
- const L = { class: "operation-title" }, M = { class: "operation-details" }, P = { class: "endpoint-label" }, U = { class: "endpoint-label-path" }, j = { class: "endpoint-label-name" }, F = { class: "endpoint-content" }, G = { class: "operation-details-card" }, H = { class: "operation-details-card-item" }, J = { class: "operation-details-card-item" }, mo = /* @__PURE__ */ v({
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(K) {
26
- const { copyToClipboard: u } = S(), h = R();
27
- return (o, p) => {
28
- var l;
29
- return a(), s(e(N), {
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
- }, y({
33
+ }, _({
34
34
  title: n(() => [
35
- t("div", L, [
36
- t("div", M, [
37
- r(e(T), {
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
- r(e(V), {
42
+ i(e(A), {
43
43
  id: o.id ?? "",
44
44
  class: "endpoint-anchor"
45
45
  }, {
46
46
  default: n(() => [
47
- t("h3", P, [
48
- t("div", U, [
49
- r(B, {
50
- deprecated: e($)(o.transformedOperation),
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", j, m(o.transformedOperation.name), 1),
55
- e(f)(o.transformedOperation) ? (a(), s(e(E), {
54
+ t("div", H, m(y.value), 1),
55
+ e(u)(o.operation) ? (a(), s(e(D), {
56
56
  key: 0,
57
- class: O(e(q)(o.transformedOperation))
57
+ class: k(e(V)(o.operation))
58
58
  }, {
59
59
  default: n(() => [
60
- _(m(e(f)(o.transformedOperation)), 1)
60
+ O(m(e(u)(o.operation)), 1)
61
61
  ]),
62
62
  _: 1
63
- }, 8, ["class"])) : c("", !0)
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: i }) => {
72
- var d;
71
+ actions: n(({ active: r }) => {
72
+ var c;
73
73
  return [
74
- i ? (a(), s(e(z), {
74
+ r ? (a(), s(e(L), {
75
75
  key: 0,
76
76
  operation: o.operation
77
- }, null, 8, ["operation"])) : (d = e(h)) != null && d.hideTestRequestButton ? c("", !0) : (a(), s(e(b), {
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
- r(e(k), {
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: p[0] || (p[0] = C((Q) => e(u)(o.operation.path), ["stop"]))
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", F, [
95
- t("div", G, [
96
- t("div", H, [
97
- r(w, { operation: o.operation }, null, 8, ["operation"])
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", J, [
100
- r(I, {
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
- r(e(A), {
106
+ i(e(M), {
107
107
  responses: o.operation.responses
108
108
  }, null, 8, ["responses"]),
109
- r(e(D), {
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
- (l = o.operation) != null && l.description ? {
119
+ (d = o.operation) != null && d.description ? {
120
120
  name: "description",
121
121
  fn: n(() => {
122
- var i;
122
+ var r;
123
123
  return [
124
- r(e(g), {
125
- value: (i = o.operation) == null ? void 0 : i.description,
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
- mo as default
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":"AAmIA,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;;AAsOF,wBAOG"}
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 f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-2f5e19c3"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-00a4c91b"]]);
5
5
  export {
6
- f as default
6
+ p as default
7
7
  };
@@ -1,21 +1,21 @@
1
- import { defineComponent as O, useId as h, openBlock as l, createBlock as p, unref as e, withCtx as a, createVNode as r, normalizeClass as s, createTextVNode as m, toDisplayString as d, createCommentVNode as S, createElementVNode as t } from "vue";
2
- import { ScalarMarkdown as b, ScalarErrorBoundary as f } from "@scalar/components";
3
- import v from "../../../components/OperationPath.vue.js";
4
- import { getOperationStability as u, getOperationStabilityColor as y, isOperationDeprecated as _ } from "../../../helpers/operation.js";
5
- import C from "../components/OperationParameters.vue.js";
6
- import g from "../components/OperationResponses.vue.js";
7
- import k from "../../../components/Section/Section.vue.js";
8
- import B from "../../../components/Section/SectionContent.vue.js";
9
- import E from "../../../components/Badge/Badge.vue.js";
10
- import N from "../../../components/Section/SectionHeader.vue.js";
11
- import V from "../../../components/Anchor/Anchor.vue.js";
12
- import w from "../../../components/Section/SectionHeaderTag.vue.js";
13
- import I from "../../../components/Section/SectionColumns.vue.js";
14
- import c from "../../../components/Section/SectionColumn.vue.js";
15
- import R from "../../ExampleRequest/ExampleRequest.vue.js";
16
- import T from "../../TestRequestButton/TestRequestButton.vue.js";
17
- import q from "../../ExampleResponses/ExampleResponses.vue.js";
18
- const D = { class: "operation-details" }, H = { class: "examples" }, oe = /* @__PURE__ */ O({
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(M) {
28
- const n = h();
29
- return (o, $) => (l(), p(e(k), {
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(n),
32
- label: o.transformedOperation.name
31
+ "aria-labelledby": e(i),
32
+ label: l.value
33
33
  }, {
34
- default: a(() => [
35
- r(e(B), null, {
36
- default: a(() => [
37
- e(u)(o.transformedOperation) ? (l(), p(e(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: s(e(y)(o.transformedOperation))
39
+ class: d(e(_)(o.operation))
40
40
  }, {
41
- default: a(() => [
42
- m(d(e(u)(o.transformedOperation)), 1)
41
+ default: t(() => [
42
+ f(u(e(h)(o.operation)), 1)
43
43
  ]),
44
44
  _: 1
45
- }, 8, ["class"])) : S("", !0),
46
- t("div", {
47
- class: s(
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(N), null, {
52
- default: a(() => [
53
- r(e(V), {
49
+ r(e(I), null, {
50
+ default: t(() => [
51
+ r(e(R), {
54
52
  id: o.id ?? ""
55
53
  }, {
56
- default: a(() => [
57
- r(e(w), {
58
- id: e(n),
54
+ default: t(() => [
55
+ r(e(T), {
56
+ id: e(i),
59
57
  level: 3
60
58
  }, {
61
- default: a(() => [
62
- m(d(o.transformedOperation.name), 1)
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(I), null, {
74
- default: a(() => [
75
- r(e(c), null, {
76
- default: a(() => [
77
- t("div", D, [
78
- r(e(b), {
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(C, { operation: o.operation }, null, 8, ["operation"]),
83
- r(g, { operation: o.transformedOperation }, null, 8, ["operation"])
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(c), null, {
89
- default: a(() => [
90
- t("div", H, [
91
- r(e(f), null, {
92
- default: a(() => [
93
- r(e(R), {
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: a(() => {
101
- var i;
98
+ header: t(() => {
99
+ var p;
102
100
  return [
103
- r(v, {
101
+ r(g, {
104
102
  class: "example-path",
105
- deprecated: (i = o.transformedOperation.information) == null ? void 0 : i.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: a(() => [
111
- r(e(T), { operation: o.operation }, null, 8, ["operation"])
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(f), null, {
119
- default: a(() => [
120
- r(e(q), {
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
- oe as default
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;;;;;aADtuW,CAAA"}
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"}
@@ -1,6 +1,5 @@
1
1
  export * from './createEmptySpecification.js';
2
2
  export * from './deepMerge.js';
3
- export * from './operation.js';
4
3
  export * from './getHeadingsFromMarkdown.js';
5
4
  export * from './getLowestHeadingLevel.js';
6
5
  export * from './getModels.js';
@@ -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,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"}
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/legacy").Schema> | undefined;
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/legacy").RequestBodyMimeTypes | undefined;
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/legacy").RequestBodyMimeTypes | undefined;
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/legacy").XScalarStability | undefined;
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/legacy").Schema> | undefined;
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/legacy").RequestBodyMimeTypes | undefined;
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/legacy").Webhooks | undefined;
220
- definitions?: import("@scalar/types/legacy").Definitions | undefined;
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;AAc3E,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,CAA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