@scalar/api-reference 1.31.0 → 1.31.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/browser/standalone.js +2033 -1930
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
  5. package/dist/components/Content/Models/Models.vue.js +1 -1
  6. package/dist/components/Content/Models/Models.vue2.js +2 -1
  7. package/dist/components/Content/Schema/Schema.preview.d.ts +252 -84
  8. package/dist/components/Content/Schema/Schema.preview.d.ts.map +1 -1
  9. package/dist/components/Content/Schema/Schema.vue.d.ts +17 -3
  10. package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
  11. package/dist/components/Content/Schema/Schema.vue.js +2 -2
  12. package/dist/components/Content/Schema/Schema.vue2.js +146 -128
  13. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts +2 -2
  14. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -1
  15. package/dist/components/Content/Schema/SchemaDiscriminator.vue.d.ts +2 -3
  16. package/dist/components/Content/Schema/SchemaDiscriminator.vue.d.ts.map +1 -1
  17. package/dist/components/Content/Schema/SchemaDiscriminator.vue.js +29 -29
  18. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +10 -3
  19. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  20. package/dist/components/Content/Schema/SchemaProperty.vue.js +2 -2
  21. package/dist/components/Content/Schema/SchemaProperty.vue2.js +129 -101
  22. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts +2 -2
  23. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
  24. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +1 -1
  25. package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +122 -115
  26. package/dist/components/Layouts/ClassicLayout.vue.d.ts.map +1 -1
  27. package/dist/components/Layouts/ClassicLayout.vue.js +11 -11
  28. package/dist/components/Section/SectionAccordion.vue.d.ts.map +1 -1
  29. package/dist/components/Section/SectionAccordion.vue.js +2 -2
  30. package/dist/components/Section/SectionAccordion.vue2.js +1 -1
  31. package/dist/components/Section/SectionContainerAccordion.vue.d.ts.map +1 -1
  32. package/dist/components/Section/SectionContainerAccordion.vue.js +2 -2
  33. package/dist/components/Section/SectionContainerAccordion.vue2.js +4 -4
  34. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts +2 -0
  35. package/dist/features/ExampleRequest/ExampleRequest.vue.d.ts.map +1 -1
  36. package/dist/features/ExampleRequest/ExampleRequest.vue.js +2 -2
  37. package/dist/features/ExampleRequest/ExampleRequest.vue2.js +178 -127
  38. package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
  39. package/dist/features/Operation/Operation.vue.js +29 -23
  40. package/dist/features/Operation/components/OperationParameters.vue.d.ts +7 -3
  41. package/dist/features/Operation/components/OperationParameters.vue.d.ts.map +1 -1
  42. package/dist/features/Operation/components/OperationParameters.vue.js +28 -24
  43. package/dist/features/Operation/components/RequestBody.vue.d.ts +5 -1
  44. package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
  45. package/dist/features/Operation/components/RequestBody.vue.js +2 -2
  46. package/dist/features/Operation/components/RequestBody.vue2.js +41 -36
  47. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +5 -1
  48. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
  49. package/dist/features/Operation/layouts/ClassicLayout.vue.js +2 -2
  50. package/dist/features/Operation/layouts/ClassicLayout.vue2.js +79 -74
  51. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts +5 -1
  52. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
  53. package/dist/features/Operation/layouts/ModernLayout.vue.js +2 -2
  54. package/dist/features/Operation/layouts/ModernLayout.vue2.js +63 -57
  55. package/dist/hooks/useDiscriminator.d.ts +53 -0
  56. package/dist/hooks/useDiscriminator.d.ts.map +1 -0
  57. package/dist/hooks/useDiscriminator.js +149 -0
  58. package/dist/hooks/useOperationDiscriminator.d.ts +8 -0
  59. package/dist/hooks/useOperationDiscriminator.d.ts.map +1 -0
  60. package/dist/hooks/useOperationDiscriminator.js +57 -0
  61. package/dist/index.js +1 -1
  62. package/dist/style.css +1 -1
  63. package/package.json +9 -9
  64. package/dist/components/Content/Schema/helpers/schema-discriminator.d.ts +0 -12
  65. package/dist/components/Content/Schema/helpers/schema-discriminator.d.ts.map +0 -1
  66. package/dist/components/Content/Schema/helpers/schema-discriminator.js +0 -45
@@ -1,33 +1,35 @@
1
- import { defineComponent as Z, computed as y, createBlock as h, openBlock as l, resolveDynamicComponent as _, normalizeClass as A, withCtx as m, createCommentVNode as r, createElementBlock as o, createVNode as a, createSlots as G, createTextVNode as D, toDisplayString as d, unref as i, Fragment as c, renderList as k, createElementVNode as f } from "vue";
2
- import { Disclosure as J, DisclosurePanel as K, DisclosureButton as Q } from "@headlessui/vue";
3
- import { ScalarMarkdown as H, ScalarIcon as W } from "@scalar/components";
4
- import { optimizeValueForDisplay as X, compositions as Y } from "./helpers/optimizeValueForDisplay.js";
5
- import I from "./Schema.vue.js";
6
- import L from "./SchemaComposition.vue.js";
7
- import x from "./SchemaPropertyHeading.vue.js";
8
- import ee from "../../SpecificationExtension/SpecificationExtension.vue.js";
9
- const ne = {
1
+ import { defineComponent as W, computed as d, inject as Y, createBlock as u, openBlock as n, resolveDynamicComponent as _, normalizeClass as z, withCtx as y, createCommentVNode as r, createElementBlock as o, createVNode as s, createSlots as x, createTextVNode as B, toDisplayString as h, unref as m, Fragment as f, renderList as M, createElementVNode as g } from "vue";
2
+ import { Disclosure as ee, DisclosurePanel as ie, DisclosureButton as ne } from "@headlessui/vue";
3
+ import { ScalarMarkdown as E, ScalarIcon as ae } from "@scalar/components";
4
+ import { optimizeValueForDisplay as te, compositions as oe } from "./helpers/optimizeValueForDisplay.js";
5
+ import { DISCRIMINATOR_CONTEXT as le } from "../../../hooks/useDiscriminator.js";
6
+ import A from "./Schema.vue.js";
7
+ import R from "./SchemaComposition.vue.js";
8
+ import re from "./SchemaDiscriminator.vue.js";
9
+ import se from "./SchemaPropertyHeading.vue.js";
10
+ import me from "../../SpecificationExtension/SpecificationExtension.vue.js";
11
+ const pe = {
10
12
  key: 1,
11
13
  class: "property-description"
12
- }, te = {
14
+ }, de = {
13
15
  key: 2,
14
16
  class: "property-description"
15
- }, le = {
17
+ }, ce = {
16
18
  key: 3,
17
19
  class: "property-enum"
18
- }, se = {
20
+ }, ue = {
19
21
  key: 0,
20
22
  class: "property-list"
21
- }, oe = { class: "property-heading" }, ae = { class: "property-name" }, ie = { class: "property-description" }, re = {
23
+ }, ye = { class: "property-heading" }, he = { class: "property-name" }, fe = { class: "property-description" }, ve = {
22
24
  key: 1,
23
25
  class: "property-enum-values"
24
- }, pe = { class: "property-enum-value-label" }, me = { class: "property-enum-value-label" }, de = {
26
+ }, ge = { class: "property-enum-value-label" }, be = { class: "property-enum-value-label" }, ke = {
25
27
  key: 4,
26
28
  class: "children"
27
- }, ce = {
29
+ }, Ne = {
28
30
  key: 0,
29
31
  class: "children"
30
- }, Be = /* @__PURE__ */ Z({
32
+ }, Ce = /* @__PURE__ */ W({
31
33
  __name: "SchemaProperty",
32
34
  props: {
33
35
  is: {},
@@ -43,10 +45,14 @@ const ne = {
43
45
  withExamples: { type: Boolean, default: !0 },
44
46
  hideModelNames: { type: Boolean, default: !1 },
45
47
  schemas: {},
46
- hideHeading: { type: Boolean }
48
+ hideHeading: { type: Boolean },
49
+ discriminatorMapping: {},
50
+ discriminatorPropertyName: {},
51
+ isDiscriminator: { type: Boolean }
47
52
  },
48
- setup(O) {
49
- const $ = O, S = {
53
+ emits: ["update:modelValue"],
54
+ setup(L, { emit: Z }) {
55
+ const S = L, X = Z, H = {
50
56
  integer: {
51
57
  _default: "Integer numbers.",
52
58
  int32: "Signed 32-bit integers (commonly used integer type).",
@@ -59,114 +65,122 @@ const ne = {
59
65
  byte: "base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==",
60
66
  binary: "binary data, used to describe files"
61
67
  }
62
- }, B = (e, t) => t != null && t.properties || t != null && t.additionalProperties || t != null && t.patternProperties || t != null && t.allOf ? null : e || (t == null ? void 0 : t.description) || null, E = (e) => !e || !S[e.type] ? null : S[e.type][e.format || "_default"], p = (e) => {
63
- var t;
64
- return (e == null ? void 0 : e.enum) || ((t = e == null ? void 0 : e.items) == null ? void 0 : t.enum) || [];
65
- }, N = y(
66
- () => p(n.value).length > 9
67
- ), C = y(() => N.value ? 5 : 9), R = y(
68
- () => p(n.value).slice(0, C.value)
69
- ), T = y(
70
- () => p(n.value).slice(C.value)
71
- ), n = y(() => X($.value)), U = (e, t, g, b, v) => t || g || b || (e == null ? void 0 : e.deprecated) || (e == null ? void 0 : e.const) || (e == null ? void 0 : e.enum) && e.enum.length === 1 || (e == null ? void 0 : e.type) || (e == null ? void 0 : e.nullable) === !0 || (e == null ? void 0 : e.writeOnly) || (e == null ? void 0 : e.readOnly) || v;
72
- return (e, t) => {
73
- var g;
74
- return l(), h(_(e.is ?? "li"), {
75
- class: A(["property", [
76
- (B(e.description, n.value), ""),
68
+ }, D = (e, a) => a != null && a.properties || a != null && a.additionalProperties || a != null && a.patternProperties || a != null && a.allOf ? null : e || (a == null ? void 0 : a.description) || null, V = (e) => !e || !H[e.type] ? null : H[e.type][e.format || "_default"], c = (e) => {
69
+ var a;
70
+ return (e == null ? void 0 : e.enum) || ((a = e == null ? void 0 : e.items) == null ? void 0 : a.enum) || [];
71
+ }, O = d(
72
+ () => c(i.value).length > 9
73
+ ), j = d(() => O.value ? 5 : 9), G = d(
74
+ () => c(i.value).slice(0, j.value)
75
+ ), J = d(
76
+ () => c(i.value).slice(j.value)
77
+ ), i = d(() => te(S.value)), p = Y(le, null), l = d(() => {
78
+ var e;
79
+ return (e = p == null ? void 0 : p.value) != null && e.mergedSchema ? p.value.mergedSchema : i.value;
80
+ }), K = d(() => {
81
+ var e;
82
+ return ((e = p == null ? void 0 : p.value) == null ? void 0 : e.selectedType) || (S.discriminatorMapping ? Object.keys(S.discriminatorMapping)[0] : "");
83
+ }), Q = (e, a, b, k, N) => a || b || k || (e == null ? void 0 : e.deprecated) || (e == null ? void 0 : e.const) || (e == null ? void 0 : e.enum) && e.enum.length === 1 || (e == null ? void 0 : e.type) || (e == null ? void 0 : e.nullable) === !0 || (e == null ? void 0 : e.writeOnly) || (e == null ? void 0 : e.readOnly) || N, P = (e) => {
84
+ X("update:modelValue", e);
85
+ };
86
+ return (e, a) => {
87
+ var b;
88
+ return n(), u(_(e.is ?? "li"), {
89
+ class: z(["property", [
90
+ (D(e.description, i.value), ""),
77
91
  `property--level-${e.level}`,
78
92
  {
79
93
  "property--compact": e.compact,
80
- "property--deprecated": (g = n.value) == null ? void 0 : g.deprecated
94
+ "property--deprecated": (b = i.value) == null ? void 0 : b.deprecated
81
95
  }
82
96
  ]])
83
97
  }, {
84
- default: m(() => {
85
- var b, v, P, w, q, F, M, V, j;
98
+ default: y(() => {
99
+ var k, N, C, w, I, T, q, F, U;
86
100
  return [
87
- U(
88
- n.value,
101
+ Q(
102
+ i.value,
89
103
  e.name,
90
104
  e.additional,
91
105
  e.pattern,
92
106
  e.required
93
- ) ? (l(), h(x, {
107
+ ) ? (n(), u(se, {
94
108
  key: 0,
95
109
  additional: e.additional,
96
- enum: p(n.value).length > 0,
110
+ enum: c(i.value).length > 0,
97
111
  pattern: e.pattern,
98
112
  required: e.required,
99
- value: n.value,
113
+ value: i.value,
100
114
  schemas: e.schemas,
101
115
  hideModelNames: e.hideModelNames
102
- }, G({ _: 2 }, [
116
+ }, x({ _: 2 }, [
103
117
  e.name ? {
104
118
  name: "name",
105
- fn: m(() => [
106
- D(d(e.name), 1)
119
+ fn: y(() => [
120
+ B(h(e.name), 1)
107
121
  ]),
108
122
  key: "0"
109
123
  } : void 0,
110
- (b = n.value) != null && b.example ? {
124
+ (k = i.value) != null && k.example ? {
111
125
  name: "example",
112
- fn: m(() => [
113
- D(" Example: " + d(n.value.example), 1)
126
+ fn: y(() => [
127
+ B(" Example: " + h(i.value.example), 1)
114
128
  ]),
115
129
  key: "1"
116
130
  } : void 0
117
131
  ]), 1032, ["additional", "enum", "pattern", "required", "value", "schemas", "hideModelNames"])) : r("", !0),
118
- B(e.description, n.value) ? (l(), o("div", ne, [
119
- a(i(H), {
120
- value: B(e.description, n.value)
132
+ D(e.description, i.value) ? (n(), o("div", pe, [
133
+ s(m(E), {
134
+ value: D(e.description, i.value)
121
135
  }, null, 8, ["value"])
122
- ])) : E(n.value) ? (l(), o("div", te, [
123
- a(i(H), {
124
- value: E(n.value) || ""
136
+ ])) : V(i.value) ? (n(), o("div", de, [
137
+ s(m(E), {
138
+ value: V(i.value) || ""
125
139
  }, null, 8, ["value"])
126
140
  ])) : r("", !0),
127
- ((v = p(n.value)) == null ? void 0 : v.length) > 0 ? (l(), o("div", le, [
128
- Array.isArray((P = n.value) == null ? void 0 : P["x-enumDescriptions"]) ? (l(), o("div", se, [
129
- (l(!0), o(c, null, k(p(n.value), (s) => (l(), o("div", {
130
- key: s,
141
+ ((N = c(i.value)) == null ? void 0 : N.length) > 0 ? (n(), o("div", ce, [
142
+ Array.isArray((C = i.value) == null ? void 0 : C["x-enumDescriptions"]) ? (n(), o("div", ue, [
143
+ (n(!0), o(f, null, M(c(i.value), (t) => (n(), o("div", {
144
+ key: t,
131
145
  class: "property"
132
146
  }, [
133
- f("div", oe, [
134
- f("div", ae, d(s), 1)
147
+ g("div", ye, [
148
+ g("div", he, h(t), 1)
135
149
  ]),
136
- f("div", ie, [
137
- a(i(H), {
138
- value: n.value["x-enumDescriptions"][s]
150
+ g("div", fe, [
151
+ s(m(E), {
152
+ value: i.value["x-enumDescriptions"][t]
139
153
  }, null, 8, ["value"])
140
154
  ])
141
155
  ]))), 128))
142
- ])) : (l(), o("ul", re, [
143
- (l(!0), o(c, null, k(R.value, (s) => (l(), o("li", {
144
- key: s,
156
+ ])) : (n(), o("ul", ve, [
157
+ (n(!0), o(f, null, M(G.value, (t) => (n(), o("li", {
158
+ key: t,
145
159
  class: "property-enum-value"
146
160
  }, [
147
- f("span", pe, d(s), 1)
161
+ g("span", ge, h(t), 1)
148
162
  ]))), 128)),
149
- N.value ? (l(), h(i(J), { key: 0 }, {
150
- default: m(({ open: s }) => [
151
- a(i(K), null, {
152
- default: m(() => [
153
- (l(!0), o(c, null, k(T.value, (u) => (l(), o("li", {
154
- key: u,
163
+ O.value ? (n(), u(m(ee), { key: 0 }, {
164
+ default: y(({ open: t }) => [
165
+ s(m(ie), null, {
166
+ default: y(() => [
167
+ (n(!0), o(f, null, M(J.value, (v) => (n(), o("li", {
168
+ key: v,
155
169
  class: "property-enum-value"
156
170
  }, [
157
- f("span", me, d(u), 1)
171
+ g("span", be, h(v), 1)
158
172
  ]))), 128))
159
173
  ]),
160
174
  _: 1
161
175
  }),
162
- a(i(Q), { class: "enum-toggle-button" }, {
163
- default: m(() => [
164
- a(i(W), {
165
- class: A(["enum-toggle-button-icon", { "enum-toggle-button-icon--open": s }]),
176
+ s(m(ne), { class: "enum-toggle-button" }, {
177
+ default: y(() => [
178
+ s(m(ae), {
179
+ class: z(["enum-toggle-button-icon", { "enum-toggle-button-icon--open": t }]),
166
180
  icon: "Add",
167
181
  size: "sm"
168
182
  }, null, 8, ["class"]),
169
- D(" " + d(s ? "Hide values" : "Show all values"), 1)
183
+ B(" " + h(t ? "Hide values" : "Show all values"), 1)
170
184
  ]),
171
185
  _: 2
172
186
  }, 1024)
@@ -175,55 +189,69 @@ const ne = {
175
189
  })) : r("", !0)
176
190
  ]))
177
191
  ])) : r("", !0),
178
- ((w = n.value) == null ? void 0 : w.type) === "object" && ((q = n.value) != null && q.properties || (F = n.value) != null && F.additionalProperties) ? (l(), o("div", de, [
179
- a(I, {
192
+ ((w = i.value) == null ? void 0 : w.type) === "object" && ((I = i.value) != null && I.properties || (T = i.value) != null && T.additionalProperties) ? (n(), o("div", ke, [
193
+ s(A, {
180
194
  compact: e.compact,
181
195
  level: e.level + 1,
182
196
  name: e.name,
183
197
  noncollapsible: e.noncollapsible,
184
- value: n.value,
185
- schemas: e.schemas
186
- }, null, 8, ["compact", "level", "name", "noncollapsible", "value", "schemas"])
198
+ value: l.value,
199
+ resolvedSchema: l.value,
200
+ discriminatorMapping: e.discriminatorMapping,
201
+ discriminatorPropertyName: e.discriminatorPropertyName,
202
+ schemas: e.schemas,
203
+ "onUpdate:modelValue": P
204
+ }, null, 8, ["compact", "level", "name", "noncollapsible", "value", "resolvedSchema", "discriminatorMapping", "discriminatorPropertyName", "schemas"])
187
205
  ])) : r("", !0),
188
- (M = n.value) != null && M.items && typeof n.value.items == "object" && "type" in n.value.items && typeof n.value.items.type == "string" ? (l(), o(c, { key: 5 }, [
189
- ["object"].includes((j = (V = n.value) == null ? void 0 : V.items) == null ? void 0 : j.type) ? (l(), o("div", ce, [
190
- a(I, {
206
+ (q = i.value) != null && q.items && typeof i.value.items == "object" ? (n(), o(f, { key: 5 }, [
207
+ "type" in i.value.items && ["object"].includes((U = (F = i.value) == null ? void 0 : F.items) == null ? void 0 : U.type) || "$ref" in i.value.items || "discriminator" in i.value.items || "allOf" in i.value.items || "oneOf" in i.value.items || "anyOf" in i.value.items ? (n(), o("div", Ne, [
208
+ s(A, {
191
209
  compact: e.compact,
192
210
  level: e.level + 1,
193
211
  name: e.name,
194
212
  noncollapsible: e.noncollapsible,
195
- value: n.value.items,
196
- schemas: e.schemas
197
- }, null, 8, ["compact", "level", "name", "noncollapsible", "value", "schemas"])
213
+ value: l.value && typeof l.value == "object" && "items" in l.value ? l.value.items : i.value.items,
214
+ resolvedSchema: l.value && typeof l.value == "object" && "items" in l.value ? l.value.items : i.value.items,
215
+ discriminatorMapping: e.discriminatorMapping,
216
+ discriminatorPropertyName: e.discriminatorPropertyName,
217
+ schemas: e.schemas,
218
+ "onUpdate:modelValue": P
219
+ }, null, 8, ["compact", "level", "name", "noncollapsible", "value", "resolvedSchema", "discriminatorMapping", "discriminatorPropertyName", "schemas"])
198
220
  ])) : r("", !0)
199
221
  ], 64)) : r("", !0),
200
- (l(!0), o(c, null, k(i(Y), (s) => {
201
- var u, z;
202
- return l(), o(c, { key: s }, [
203
- (u = n.value) != null && u[s] ? (l(), h(L, {
222
+ (n(!0), o(f, null, M(m(oe), (t) => {
223
+ var v, $;
224
+ return n(), o(f, { key: t }, [
225
+ (v = i.value) != null && v[t] ? (n(), u(R, {
204
226
  key: 0,
205
227
  compact: e.compact,
206
- composition: s,
228
+ composition: t,
207
229
  hideHeading: e.hideHeading,
208
230
  level: e.level,
209
231
  name: e.name,
210
232
  noncollapsible: e.noncollapsible,
211
233
  schemas: e.schemas,
212
- value: n.value
213
- }, null, 8, ["compact", "composition", "hideHeading", "level", "name", "noncollapsible", "schemas", "value"])) : (z = n.value) != null && z.items && typeof s == "string" && typeof n.value.items == "object" && !("type" in n.value.items) && s in n.value.items ? (l(), h(L, {
234
+ value: i.value
235
+ }, null, 8, ["compact", "composition", "hideHeading", "level", "name", "noncollapsible", "schemas", "value"])) : ($ = i.value) != null && $.items && typeof t == "string" && typeof i.value.items == "object" && !("type" in i.value.items) && t in i.value.items ? (n(), u(R, {
214
236
  key: 1,
215
237
  compact: e.compact,
216
- composition: s,
238
+ composition: t,
217
239
  hideHeading: e.hideHeading,
218
240
  level: e.level,
219
241
  name: e.name,
220
242
  noncollapsible: e.noncollapsible,
221
243
  schemas: e.schemas,
222
- value: n.value.items
244
+ value: i.value.items
223
245
  }, null, 8, ["compact", "composition", "hideHeading", "level", "name", "noncollapsible", "schemas", "value"])) : r("", !0)
224
246
  ], 64);
225
247
  }), 128)),
226
- a(i(ee), { value: n.value }, null, 8, ["value"])
248
+ e.isDiscriminator && e.discriminatorMapping && e.compact ? (n(), u(re, {
249
+ key: 6,
250
+ "discriminator-mapping": e.discriminatorMapping,
251
+ discriminator: K.value,
252
+ "onUpdate:modelValue": P
253
+ }, null, 8, ["discriminator-mapping", "discriminator"])) : r("", !0),
254
+ s(m(me), { value: i.value }, null, 8, ["value"])
227
255
  ];
228
256
  }),
229
257
  _: 1
@@ -232,5 +260,5 @@ const ne = {
232
260
  }
233
261
  });
234
262
  export {
235
- Be as default
263
+ Ce as default
236
264
  };
@@ -1,4 +1,4 @@
1
- import type { OpenAPIV3_1 } from '@scalar/openapi-types';
1
+ import type { Schemas } from '../../../features/Operation/types/schemas';
2
2
  type __VLS_Props = {
3
3
  value?: Record<string, any>;
4
4
  enum?: boolean;
@@ -7,7 +7,7 @@ type __VLS_Props = {
7
7
  pattern?: boolean;
8
8
  withExamples?: boolean;
9
9
  hideModelNames?: boolean;
10
- schemas?: Record<string, OpenAPIV3_1.SchemaObject> | unknown;
10
+ schemas?: Schemas;
11
11
  };
12
12
  declare function __VLS_template(): {
13
13
  attrs: Partial<{}>;
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaPropertyHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyHeading.vue"],"names":[],"mappings":"AAqZA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAgBxD,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,GAAG,OAAO,CAAA;CAC7D,CAAC;AAyKF,iBAAS,cAAc;WA4UT,OAAO,IAA6B;;sBATxB,GAAG;sBACH,GAAG;;;;EAa5B;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SchemaPropertyHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyHeading.vue"],"names":[],"mappings":"AA0ZA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAQjE,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;AA0KF,iBAAS,cAAc;WA4UT,OAAO,IAA6B;;sBATxB,GAAG;sBACH,GAAG;;;;EAa5B;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./SchemaPropertyHeading.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-25ed5dbb"]]);
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-715a0486"]]);
5
5
  export {
6
6
  m as default
7
7
  };