@scalar/api-reference 1.30.0 → 1.31.1

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 (167) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist/browser/standalone.js +6690 -6569
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  5. package/dist/components/ApiReferenceLayout.vue.js +1 -1
  6. package/dist/components/ApiReferenceLayout.vue2.js +164 -181
  7. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts.map +1 -1
  8. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.js +2 -2
  9. package/dist/components/Content/ClientLibraries/ClientLibraries.vue2.js +56 -51
  10. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  11. package/dist/components/Content/Content.vue.js +1 -1
  12. package/dist/components/Content/Content.vue2.js +5 -5
  13. package/dist/components/Content/Introduction/Introduction.vue.d.ts +2 -2
  14. package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
  15. package/dist/components/Content/Introduction/Introduction.vue.js +2 -2
  16. package/dist/components/Content/Introduction/Introduction.vue2.js +57 -63
  17. package/dist/components/Content/Lazy/Loading.vue.d.ts.map +1 -1
  18. package/dist/components/Content/Lazy/Loading.vue.js +46 -46
  19. package/dist/components/Content/Models/Models.vue.d.ts +2 -2
  20. package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
  21. package/dist/components/Content/Models/Models.vue.js +2 -2
  22. package/dist/components/Content/Models/Models.vue2.js +9 -7
  23. package/dist/components/Content/Models/ModelsAccordion.vue.d.ts +2 -2
  24. package/dist/components/Content/Models/ModelsAccordion.vue.d.ts.map +1 -1
  25. package/dist/components/Content/Models/ModelsAccordion.vue.js +2 -2
  26. package/dist/components/Content/Schema/Schema.preview.d.ts +294 -84
  27. package/dist/components/Content/Schema/Schema.preview.d.ts.map +1 -1
  28. package/dist/components/Content/Schema/Schema.vue.d.ts +21 -4
  29. package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
  30. package/dist/components/Content/Schema/Schema.vue.js +2 -2
  31. package/dist/components/Content/Schema/Schema.vue2.js +158 -131
  32. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts +2 -2
  33. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -1
  34. package/dist/components/Content/Schema/SchemaComposition.vue.js +57 -53
  35. package/dist/components/Content/Schema/SchemaDiscriminator.vue.d.ts +2 -3
  36. package/dist/components/Content/Schema/SchemaDiscriminator.vue.d.ts.map +1 -1
  37. package/dist/components/Content/Schema/SchemaDiscriminator.vue.js +29 -29
  38. package/dist/components/Content/Schema/SchemaHeading.vue.d.ts +2 -2
  39. package/dist/components/Content/Schema/SchemaHeading.vue.d.ts.map +1 -1
  40. package/dist/components/Content/Schema/SchemaHeading.vue.js +1 -1
  41. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +12 -3
  42. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  43. package/dist/components/Content/Schema/SchemaProperty.vue.js +1 -1
  44. package/dist/components/Content/Schema/SchemaProperty.vue2.js +133 -103
  45. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts +3 -2
  46. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
  47. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +2 -2
  48. package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +133 -126
  49. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.d.ts +2 -2
  50. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.d.ts.map +1 -1
  51. package/dist/components/Content/Tag/TagList.vue.d.ts +2 -2
  52. package/dist/components/Content/Tag/TagList.vue.d.ts.map +1 -1
  53. package/dist/components/DocumentSelector/DocumentSelector.vue.js +3 -3
  54. package/dist/components/Layouts/ClassicLayout.vue.d.ts.map +1 -1
  55. package/dist/components/Layouts/ClassicLayout.vue.js +19 -17
  56. package/dist/components/Layouts/Layouts.vue.js +11 -9
  57. package/dist/components/Layouts/ModernLayout.vue2.js +22 -20
  58. package/dist/components/Section/SectionAccordion.vue.d.ts.map +1 -1
  59. package/dist/components/Section/SectionAccordion.vue.js +2 -2
  60. package/dist/components/Section/SectionAccordion.vue2.js +1 -1
  61. package/dist/components/Section/SectionContainerAccordion.vue.d.ts.map +1 -1
  62. package/dist/components/Section/SectionContainerAccordion.vue.js +2 -2
  63. package/dist/components/Section/SectionContainerAccordion.vue2.js +4 -4
  64. package/dist/components/Section/SectionHeader.vue.d.ts.map +1 -1
  65. package/dist/components/Section/SectionHeader.vue.js +2 -2
  66. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  67. package/dist/components/Sidebar/Sidebar.vue.js +2 -2
  68. package/dist/components/Sidebar/Sidebar.vue2.js +56 -56
  69. package/dist/components/SingleApiReference.vue.d.ts.map +1 -1
  70. package/dist/components/SingleApiReference.vue.js +27 -33
  71. package/dist/esm.d.ts.map +1 -1
  72. package/dist/features/ApiClientModal/ApiClientModal.vue.d.ts +2 -2
  73. package/dist/features/ApiClientModal/ApiClientModal.vue.d.ts.map +1 -1
  74. package/dist/features/ApiClientModal/ApiClientModal.vue.js +49 -50
  75. package/dist/features/ApiClientModal/useApiClient.d.ts +196 -196
  76. package/dist/features/ApiClientModal/useApiClient.d.ts.map +1 -1
  77. package/dist/features/DocumentSource/hooks/useDocumentFetcher.d.ts +11 -0
  78. package/dist/features/DocumentSource/hooks/useDocumentFetcher.d.ts.map +1 -0
  79. package/dist/features/DocumentSource/hooks/useDocumentFetcher.js +38 -0
  80. package/dist/features/DocumentSource/hooks/useDocumentSource.d.ts +21 -0
  81. package/dist/features/DocumentSource/hooks/useDocumentSource.d.ts.map +1 -0
  82. package/dist/features/DocumentSource/hooks/useDocumentSource.js +94 -0
  83. package/dist/features/DocumentSource/index.d.ts +2 -0
  84. package/dist/features/DocumentSource/index.d.ts.map +1 -0
  85. package/dist/features/DownloadLink/DownloadLink.vue.d.ts +1 -1
  86. package/dist/features/DownloadLink/DownloadLink.vue.d.ts.map +1 -1
  87. package/dist/features/DownloadLink/DownloadLink.vue.js +1 -1
  88. package/dist/features/DownloadLink/DownloadLink.vue2.js +18 -17
  89. package/dist/features/DownloadLink/index.d.ts +1 -0
  90. package/dist/features/DownloadLink/index.d.ts.map +1 -1
  91. package/dist/features/DownloadLink/openapi-version-symbol.d.ts +2 -0
  92. package/dist/features/DownloadLink/openapi-version-symbol.d.ts.map +1 -0
  93. package/dist/features/DownloadLink/openapi-version-symbol.js +4 -0
  94. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts +2 -0
  95. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
  96. package/dist/features/ExampleRequest/ExampleRequest.vue.js +2 -2
  97. package/dist/features/ExampleRequest/ExampleRequest.vue2.js +178 -127
  98. package/dist/features/Operation/Operation.vue.d.ts +2 -2
  99. package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
  100. package/dist/features/Operation/Operation.vue.js +29 -23
  101. package/dist/features/Operation/components/OperationParameters.vue.d.ts +7 -3
  102. package/dist/features/Operation/components/OperationParameters.vue.d.ts.map +1 -1
  103. package/dist/features/Operation/components/OperationParameters.vue.js +28 -24
  104. package/dist/features/Operation/components/OperationResponses.vue.d.ts +2 -2
  105. package/dist/features/Operation/components/OperationResponses.vue.d.ts.map +1 -1
  106. package/dist/features/Operation/components/ParameterHeaders.vue.d.ts +2 -2
  107. package/dist/features/Operation/components/ParameterHeaders.vue.d.ts.map +1 -1
  108. package/dist/features/Operation/components/ParameterHeaders.vue.js +2 -2
  109. package/dist/features/Operation/components/ParameterList.vue.d.ts +2 -2
  110. package/dist/features/Operation/components/ParameterList.vue.d.ts.map +1 -1
  111. package/dist/features/Operation/components/ParameterList.vue.js +2 -2
  112. package/dist/features/Operation/components/ParameterListItem.vue.d.ts +2 -2
  113. package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
  114. package/dist/features/Operation/components/ParameterListItem.vue.js +3 -3
  115. package/dist/features/Operation/components/ParameterListItem.vue2.js +6 -6
  116. package/dist/features/Operation/components/RequestBody.vue.d.ts +7 -3
  117. package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
  118. package/dist/features/Operation/components/RequestBody.vue.js +2 -2
  119. package/dist/features/Operation/components/RequestBody.vue2.js +41 -36
  120. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +7 -3
  121. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
  122. package/dist/features/Operation/layouts/ClassicLayout.vue.js +2 -2
  123. package/dist/features/Operation/layouts/ClassicLayout.vue2.js +84 -79
  124. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts +5 -1
  125. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
  126. package/dist/features/Operation/layouts/ModernLayout.vue.js +2 -2
  127. package/dist/features/Operation/layouts/ModernLayout.vue2.js +66 -57
  128. package/dist/features/Operation/types/schemas.d.ts +2 -2
  129. package/dist/features/Operation/types/schemas.d.ts.map +1 -1
  130. package/dist/features/Search/SearchButton.vue.js +2 -2
  131. package/dist/helpers/local-storage.d.ts +8 -0
  132. package/dist/helpers/local-storage.d.ts.map +1 -0
  133. package/dist/helpers/local-storage.js +6 -0
  134. package/dist/helpers/measure.d.ts +21 -0
  135. package/dist/helpers/measure.d.ts.map +1 -0
  136. package/dist/helpers/measure.js +7 -0
  137. package/dist/helpers/parse.d.ts +3 -5
  138. package/dist/helpers/parse.d.ts.map +1 -1
  139. package/dist/helpers/parse.js +64 -86
  140. package/dist/helpers/scroll-to-id.d.ts.map +1 -1
  141. package/dist/helpers/scroll-to-id.js +18 -4
  142. package/dist/hooks/useDiscriminator.d.ts +53 -0
  143. package/dist/hooks/useDiscriminator.d.ts.map +1 -0
  144. package/dist/hooks/useDiscriminator.js +149 -0
  145. package/dist/hooks/useOperationDiscriminator.d.ts +8 -0
  146. package/dist/hooks/useOperationDiscriminator.d.ts.map +1 -0
  147. package/dist/hooks/useOperationDiscriminator.js +57 -0
  148. package/dist/index.d.ts +0 -1
  149. package/dist/index.d.ts.map +1 -1
  150. package/dist/index.js +33 -35
  151. package/dist/libs/openapi.d.ts +3 -3
  152. package/dist/libs/openapi.d.ts.map +1 -1
  153. package/dist/libs/openapi.js +35 -42
  154. package/dist/standalone/lib/html-api.d.ts.map +1 -1
  155. package/dist/standalone/lib/html-api.js +15 -15
  156. package/dist/stores/useHttpClientStore.d.ts.map +1 -1
  157. package/dist/stores/useHttpClientStore.js +19 -18
  158. package/dist/style.css +1 -1
  159. package/dist/types.d.ts +27 -3
  160. package/dist/types.d.ts.map +1 -1
  161. package/package.json +15 -16
  162. package/dist/components/Content/Schema/helpers/schema-discriminator.d.ts +0 -12
  163. package/dist/components/Content/Schema/helpers/schema-discriminator.d.ts.map +0 -1
  164. package/dist/components/Content/Schema/helpers/schema-discriminator.js +0 -45
  165. package/dist/hooks/useReactiveSpec.d.ts +0 -448
  166. package/dist/hooks/useReactiveSpec.d.ts.map +0 -1
  167. package/dist/hooks/useReactiveSpec.js +0 -59
@@ -1,8 +1,8 @@
1
- import { defineComponent as E, ref as v, watch as H, onMounted as K, withDirectives as M, createElementBlock as f, openBlock as l, normalizeClass as j, createBlock as m, createCommentVNode as w, Fragment as g, renderList as T, unref as r, withCtx as d, createVNode as h, createTextVNode as A, toDisplayString as F, vShow as P } from "vue";
1
+ import { defineComponent as E, ref as v, watch as H, onMounted as K, withDirectives as M, createElementBlock as f, openBlock as l, normalizeClass as j, createBlock as m, createCommentVNode as b, Fragment as h, renderList as k, unref as r, withCtx as c, createVNode as S, createTextVNode as A, toDisplayString as F, vShow as P } from "vue";
2
2
  import { lazyBus as q } from "./lazyBus.js";
3
- import { scrollToId as O } from "../../../helpers/scroll-to-id.js";
3
+ import { scrollToId as C } from "../../../helpers/scroll-to-id.js";
4
4
  import { useNavState as G } from "../../../hooks/useNavState.js";
5
- import { getModels as S } from "../../../libs/openapi.js";
5
+ import { getModels as y } from "../../../libs/openapi.js";
6
6
  import J from "../Tag/TagSection.vue.js";
7
7
  import Q from "../../../features/Operation/Operation.vue.js";
8
8
  import R from "../../Section/SectionContainer.vue.js";
@@ -12,7 +12,7 @@ import Y from "../../Section/SectionHeader.vue.js";
12
12
  import Z from "../../Anchor/Anchor.vue.js";
13
13
  import ee from "../../Section/SectionHeaderTag.vue.js";
14
14
  import te from "../Schema/Schema.vue.js";
15
- const C = v(!1), ge = /* @__PURE__ */ E({
15
+ const _ = v(!1), ge = /* @__PURE__ */ E({
16
16
  __name: "Loading",
17
17
  props: {
18
18
  collection: {},
@@ -21,8 +21,8 @@ const C = v(!1), ge = /* @__PURE__ */ E({
21
21
  parsedSpec: {}
22
22
  },
23
23
  setup(V) {
24
- const i = V, _ = v(!1), y = v([]), I = v([]), { getModelId: z, getSectionId: B, getTagId: N, hash: a, isIntersectionEnabled: b } = G(), L = v(
25
- !C.value && i.layout !== "classic" && a.value
24
+ const i = V, L = v(!1), I = v([]), w = v([]), { getModelId: z, getSectionId: B, getTagId: N, hash: a, isIntersectionEnabled: g } = G(), O = v(
25
+ !_.value && i.layout !== "classic" && a.value
26
26
  );
27
27
  H(
28
28
  () => {
@@ -36,54 +36,54 @@ const C = v(!1), ge = /* @__PURE__ */ E({
36
36
  const n = B();
37
37
  if (n.startsWith("tag")) {
38
38
  let o = 0;
39
- const c = ((e = i.parsedSpec.tags) == null ? void 0 : e.findIndex(
40
- (k) => N(k) === n
39
+ const d = ((e = i.parsedSpec.tags) == null ? void 0 : e.findIndex(
40
+ (T) => N(T) === n
41
41
  )) ?? 0, s = a.value.match(/tag\/([^/]+)\/([^/]+)\/(.+)/);
42
42
  if ((s == null ? void 0 : s.length) === 4) {
43
- const k = s[2], $ = "/" + s[3];
44
- o = (u = i.parsedSpec.tags[c]) == null ? void 0 : u.operations.findIndex(
45
- ({ httpVerb: x, path: D }) => k === x && $ === D
43
+ const T = s[2], $ = "/" + s[3];
44
+ o = (u = i.parsedSpec.tags[d]) == null ? void 0 : u.operations.findIndex(
45
+ ({ httpVerb: x, path: D }) => T === x && $ === D
46
46
  );
47
47
  }
48
- const p = i.parsedSpec.tags[c];
48
+ const p = i.parsedSpec.tags[d];
49
49
  if (!p)
50
50
  return;
51
- p.name !== "default" && (_.value = n !== a.value && n.startsWith("tag")), y.value.push({
51
+ p.name !== "default" && (L.value = n !== a.value && n.startsWith("tag")), I.value.push({
52
52
  ...p,
53
53
  lazyOperations: p.operations.slice(
54
54
  o,
55
55
  o + 2
56
56
  )
57
- });
57
+ }), a.value.includes("/description/") && (typeof window < "u" && C(a.value), setTimeout(() => g.value = !0, 1e3));
58
58
  } else if (a.value.startsWith("model")) {
59
- const o = Object.keys(S(i.parsedSpec) ?? {}), [, c] = a.value.toLowerCase().split("/"), s = a.value === "models" ? 0 : o.findIndex((p) => p.toLowerCase() === c);
59
+ const o = Object.keys(y(i.parsedSpec) ?? {}), [, d] = a.value.toLowerCase().split("/"), s = a.value === "models" ? 0 : o.findIndex((p) => p.toLowerCase() === d);
60
60
  if (s === -1)
61
61
  return;
62
- I.value = o.slice(s, s + 3);
62
+ w.value = o.slice(s, s + 3);
63
63
  } else
64
- typeof window < "u" && O(a.value), setTimeout(() => b.value = !0, 1e3);
64
+ typeof window < "u" && C(a.value), setTimeout(() => g.value = !0, 1e3);
65
65
  },
66
66
  { immediate: !0 }
67
67
  );
68
68
  const W = q.on(({ id: t }) => {
69
69
  const n = a.value;
70
70
  !n || t !== n || (W(), setTimeout(() => {
71
- typeof window < "u" && O(n), L.value = !1, C.value = !0, setTimeout(() => {
72
- b.value = !0;
71
+ typeof window < "u" && C(n), O.value = !1, _.value = !0, setTimeout(() => {
72
+ g.value = !0;
73
73
  }, 1e3);
74
74
  }, 300));
75
75
  });
76
76
  return K(() => {
77
- a.value || (C.value = !0, setTimeout(() => {
78
- b.value = !0;
77
+ a.value || (_.value = !0, setTimeout(() => {
78
+ g.value = !0;
79
79
  }, 1e3));
80
80
  }), (t, n) => M((l(), f("div", {
81
81
  class: j(["references-loading", {
82
- "references-loading-hidden-tag": _.value,
83
- "references-loading-top-spacer": y.value.length
82
+ "references-loading-hidden-tag": L.value,
83
+ "references-loading-top-spacer": I.value.length
84
84
  }])
85
85
  }, [
86
- (l(!0), f(g, null, T(y.value, (e, u) => (l(), f(g, {
86
+ (l(!0), f(h, null, k(I.value, (e, u) => (l(), f(h, {
87
87
  key: e.name + u
88
88
  }, [
89
89
  e.operations && e.operations.length > 0 ? (l(), m(r(J), {
@@ -92,8 +92,8 @@ const C = v(!1), ge = /* @__PURE__ */ E({
92
92
  spec: t.parsedSpec,
93
93
  tag: e
94
94
  }, {
95
- default: d(() => [
96
- (l(!0), f(g, null, T(e.lazyOperations, (o) => (l(), m(r(Q), {
95
+ default: c(() => [
96
+ (l(!0), f(h, null, k(e.lazyOperations, (o) => (l(), m(r(Q), {
97
97
  key: `${o.httpVerb}-${o.operationId}`,
98
98
  collection: t.collection,
99
99
  layout: t.layout,
@@ -102,32 +102,32 @@ const C = v(!1), ge = /* @__PURE__ */ E({
102
102
  }, null, 8, ["collection", "layout", "server", "transformedOperation"]))), 128))
103
103
  ]),
104
104
  _: 2
105
- }, 1032, ["collection", "spec", "tag"])) : w("", !0)
105
+ }, 1032, ["collection", "spec", "tag"])) : b("", !0)
106
106
  ], 64))), 128)),
107
- I.value.length ? (l(), m(r(R), { key: 0 }, {
108
- default: d(() => [
109
- (l(!0), f(g, null, T(I.value, (e) => (l(), m(r(U), {
107
+ w.value.length ? (l(), m(r(R), { key: 0 }, {
108
+ default: c(() => [
109
+ (l(!0), f(h, null, k(w.value, (e) => (l(), m(r(U), {
110
110
  key: e,
111
111
  label: e
112
112
  }, {
113
- default: d(() => {
113
+ default: c(() => {
114
114
  var u;
115
115
  return [
116
- (u = r(S)(t.parsedSpec)) != null && u[e] ? (l(), m(r(X), { key: 0 }, {
117
- default: d(() => {
116
+ (u = r(y)(t.parsedSpec)) != null && u[e] ? (l(), m(r(X), { key: 0 }, {
117
+ default: c(() => {
118
118
  var o;
119
119
  return [
120
- h(r(Y), null, {
121
- default: d(() => [
122
- h(r(Z), {
120
+ S(r(Y), null, {
121
+ default: c(() => [
122
+ S(r(Z), {
123
123
  id: r(z)({ name: e })
124
124
  }, {
125
- default: d(() => [
126
- h(r(ee), { level: 2 }, {
127
- default: d(() => {
128
- var c;
125
+ default: c(() => [
126
+ S(r(ee), { level: 2 }, {
127
+ default: c(() => {
128
+ var d;
129
129
  return [
130
- A(F(((c = r(S)(t.parsedSpec)) == null ? void 0 : c[e]).title ?? e), 1)
130
+ A(F(((d = r(y)(t.parsedSpec)) == null ? void 0 : d[e]).title ?? e), 1)
131
131
  ];
132
132
  }),
133
133
  _: 2
@@ -138,24 +138,24 @@ const C = v(!1), ge = /* @__PURE__ */ E({
138
138
  ]),
139
139
  _: 2
140
140
  }, 1024),
141
- h(r(te), {
141
+ S(r(te), {
142
142
  name: e,
143
143
  noncollapsible: "",
144
- value: (o = r(S)(t.parsedSpec)) == null ? void 0 : o[e]
144
+ value: (o = r(y)(t.parsedSpec)) == null ? void 0 : o[e]
145
145
  }, null, 8, ["name", "value"])
146
146
  ];
147
147
  }),
148
148
  _: 2
149
- }, 1024)) : w("", !0)
149
+ }, 1024)) : b("", !0)
150
150
  ];
151
151
  }),
152
152
  _: 2
153
153
  }, 1032, ["label"]))), 128))
154
154
  ]),
155
155
  _: 1
156
- })) : w("", !0)
156
+ })) : b("", !0)
157
157
  ], 2)), [
158
- [P, L.value]
158
+ [P, O.value]
159
159
  ]);
160
160
  }
161
161
  });
@@ -1,6 +1,6 @@
1
- import type { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-types';
1
+ import type { OpenAPIV3_1 } from '@scalar/openapi-types';
2
2
  type __VLS_Props = {
3
- schemas?: OpenAPIV2.DefinitionsObject | Record<string, OpenAPIV3.SchemaObject> | Record<string, OpenAPIV3_1.SchemaObject> | unknown;
3
+ schemas?: Record<string, OpenAPIV3_1.SchemaObject> | unknown;
4
4
  };
5
5
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
6
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"Models.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Models/Models.vue"],"names":[],"mappings":"AAyHA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAmB9E,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EACJ,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO,CAAA;CACZ,CAAC;;AAqMF,wBAMG"}
1
+ {"version":3,"file":"Models.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Models/Models.vue"],"names":[],"mappings":"AAuHA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAmBxD,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GAAG,OAAO,CAAA;CAC7D,CAAC;;AAqMF,wBAMG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./Models.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ce04f241"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-125be711"]]);
5
5
  export {
6
- m as default
6
+ p as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as y, useId as k, computed as u, createBlock as m, createCommentVNode as f, openBlock as r, unref as e, withCtx as l, createVNode as o, createElementVNode as M, createTextVNode as g, normalizeClass as I, createElementBlock as N, Fragment as C, renderList as L } from "vue";
1
+ import { defineComponent as y, useId as M, computed as u, createBlock as m, createCommentVNode as f, openBlock as r, unref as e, withCtx as l, createVNode as o, createElementVNode as k, createTextVNode as N, normalizeClass as g, createElementBlock as I, Fragment as C, renderList as L } from "vue";
2
2
  import { ScalarErrorBoundary as B } from "@scalar/components";
3
3
  import { useNavState as H } from "../../../hooks/useNavState.js";
4
4
  import { useSidebar as w } from "../../../hooks/useSidebar.js";
@@ -17,7 +17,7 @@ const S = 10, U = /* @__PURE__ */ y({
17
17
  schemas: {}
18
18
  },
19
19
  setup(v) {
20
- const i = v, n = k(), { collapsedSidebarItems: _ } = w(), { getModelId: a } = H(), d = u(
20
+ const i = v, n = M(), { collapsedSidebarItems: _ } = w(), { getModelId: a } = H(), d = u(
21
21
  () => Object.keys(i.schemas ?? {}).length <= S || _[a()]
22
22
  ), b = u(() => {
23
23
  const t = Object.keys(i.schemas ?? {});
@@ -37,7 +37,7 @@ const S = 10, U = /* @__PURE__ */ y({
37
37
  level: 2
38
38
  }, {
39
39
  default: l(() => c[0] || (c[0] = [
40
- g(" Models ")
40
+ N(" Models ")
41
41
  ])),
42
42
  _: 1
43
43
  }, 8, ["id"])
@@ -48,10 +48,10 @@ const S = 10, U = /* @__PURE__ */ y({
48
48
  id: "models",
49
49
  isLazy: !1
50
50
  }),
51
- M("div", {
52
- class: I(["models-list", { "models-list-truncated": !d.value }])
51
+ k("div", {
52
+ class: g(["models-list", { "models-list-truncated": !d.value }])
53
53
  }, [
54
- (r(!0), N(C, null, L(b.value, (s) => (r(), m(e(h), {
54
+ (r(!0), I(C, null, L(b.value, (s) => (r(), m(e(h), {
55
55
  id: e(a)({ name: s }),
56
56
  key: s,
57
57
  isLazy: ""
@@ -77,9 +77,11 @@ const S = 10, U = /* @__PURE__ */ y({
77
77
  o(e(B), null, {
78
78
  default: l(() => [
79
79
  o(e(T), {
80
- hideHeading: !0,
81
80
  noncollapsible: "",
81
+ hideHeading: !0,
82
+ hideModelNames: !0,
82
83
  schemas: t.schemas,
84
+ level: 1,
83
85
  value: t.schemas[s]
84
86
  }, null, 8, ["schemas", "value"])
85
87
  ]),
@@ -1,6 +1,6 @@
1
- import type { OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-types';
1
+ import type { OpenAPIV3_1 } from '@scalar/openapi-types';
2
2
  type __VLS_Props = {
3
- schemas?: OpenAPIV2.DefinitionsObject | Record<string, OpenAPIV3.SchemaObject> | Record<string, OpenAPIV3_1.SchemaObject> | unknown;
3
+ schemas?: Record<string, OpenAPIV3_1.SchemaObject> | unknown;
4
4
  };
5
5
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
6
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"ModelsAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Models/ModelsAccordion.vue"],"names":[],"mappings":"AAsGA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAgB9E,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EACJ,SAAS,CAAC,iBAAiB,GAC3B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,GACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GACxC,OAAO,CAAA;CACZ,CAAC;;AAqKF,wBAMG"}
1
+ {"version":3,"file":"ModelsAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Models/ModelsAccordion.vue"],"names":[],"mappings":"AAkGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAgBxD,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GAAG,OAAO,CAAA;CAC7D,CAAC;;AAqKF,wBAMG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./ModelsAccordion.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-ecb64ed7"]]);
4
+ const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-ce1dd773"]]);
5
5
  export {
6
- d as default
6
+ e as default
7
7
  };