@scalar/api-reference 1.32.5 → 1.32.7

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 (94) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist/browser/standalone.js +9924 -9851
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  5. package/dist/components/ApiReference.vue.js +8 -8
  6. package/dist/components/Badge/Badge.vue.js +1 -1
  7. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts.map +1 -1
  8. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.js +1 -1
  9. package/dist/components/Content/ClientLibraries/ClientLibraries.vue2.js +28 -26
  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 +97 -156
  13. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.d.ts +7 -0
  14. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.d.ts.map +1 -0
  15. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.js +7 -0
  16. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue2.js +25 -0
  17. package/dist/components/Content/Schema/SchemaEnumValues.vue.d.ts.map +1 -1
  18. package/dist/components/Content/Schema/SchemaEnumValues.vue.js +1 -1
  19. package/dist/components/Content/Schema/SchemaEnumValues.vue2.js +73 -90
  20. package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts +21 -0
  21. package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts.map +1 -0
  22. package/dist/components/Content/Schema/SchemaObjectProperties.vue.js +92 -0
  23. package/dist/components/Content/Schema/SchemaObjectProperties.vue2.js +4 -0
  24. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +1 -2
  25. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  26. package/dist/components/Content/Schema/SchemaProperty.vue.js +2 -2
  27. package/dist/components/Content/Schema/SchemaProperty.vue2.js +54 -55
  28. package/dist/components/Content/Schema/SchemaPropertyExamples.vue.js +2 -2
  29. package/dist/components/Content/Schema/SchemaPropertyExamples.vue2.js +1 -1
  30. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts +0 -2
  31. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
  32. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +1 -1
  33. package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +81 -97
  34. package/dist/components/Content/Schema/helpers/{formatExample.d.ts → format-example.d.ts} +1 -1
  35. package/dist/components/Content/Schema/helpers/format-example.d.ts.map +1 -0
  36. package/dist/components/Content/Schema/helpers/is-type-object.d.ts +3 -0
  37. package/dist/components/Content/Schema/helpers/is-type-object.d.ts.map +1 -0
  38. package/dist/components/Content/Schema/helpers/is-type-object.js +17 -0
  39. package/dist/components/Content/Schema/helpers/{optimizeValueForDisplay.d.ts → optimize-value-for-display.d.ts} +1 -1
  40. package/dist/components/Content/Schema/helpers/optimize-value-for-display.d.ts.map +1 -0
  41. package/dist/components/Content/Tag/OperationsListItem.vue.d.ts.map +1 -1
  42. package/dist/components/Content/Tag/OperationsListItem.vue.js +2 -2
  43. package/dist/components/Content/Tag/OperationsListItem.vue2.js +1 -1
  44. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
  45. package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
  46. package/dist/features/Operation/components/ParameterListItem.vue.js +1 -1
  47. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +4 -2
  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 +8 -8
  51. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts +4 -2
  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 +30 -30
  55. package/dist/features/api-client-modal/useApiClient.d.ts +84 -4
  56. package/dist/features/api-client-modal/useApiClient.d.ts.map +1 -1
  57. package/dist/features/download-link/DownloadLink.vue.d.ts.map +1 -1
  58. package/dist/features/download-link/DownloadLink.vue.js +1 -1
  59. package/dist/features/example-request/ExampleRequest.vue.d.ts.map +1 -1
  60. package/dist/features/example-request/ExampleRequest.vue.js +1 -1
  61. package/dist/features/example-request/ExampleRequest.vue2.js +126 -124
  62. package/dist/features/example-responses/ExampleResponse.vue.js +2 -2
  63. package/dist/features/example-responses/ExampleResponses.vue.js +2 -2
  64. package/dist/features/sidebar/components/SidebarElement.vue.d.ts.map +1 -1
  65. package/dist/features/sidebar/components/SidebarElement.vue.js +2 -2
  66. package/dist/features/sidebar/components/SidebarElement.vue2.js +16 -15
  67. package/dist/helpers/convert-security-scheme.d.ts +9 -0
  68. package/dist/helpers/convert-security-scheme.d.ts.map +1 -0
  69. package/dist/index.js +1 -1
  70. package/dist/libs/openapi.d.ts +0 -13
  71. package/dist/libs/openapi.d.ts.map +1 -1
  72. package/dist/libs/openapi.js +49 -63
  73. package/dist/stores/useHttpClientStore.js +20 -20
  74. package/dist/style.css +1 -1
  75. package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
  76. package/dist/v2/ApiReferenceWorkspace.vue.js +84 -75
  77. package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.d.ts +19 -0
  78. package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.d.ts.map +1 -0
  79. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.d.ts +21 -72
  80. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.d.ts.map +1 -1
  81. package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.d.ts +4 -2
  82. package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.d.ts.map +1 -1
  83. package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.js +5 -0
  84. package/dist/v2/blocks/scalar-request-example-block/index.d.ts +1 -0
  85. package/dist/v2/blocks/scalar-request-example-block/index.d.ts.map +1 -1
  86. package/dist/v2/events/definitions.d.ts +13 -4
  87. package/dist/v2/events/definitions.d.ts.map +1 -1
  88. package/dist/v2/hooks/useStore.d.ts +9 -0
  89. package/dist/v2/hooks/useStore.d.ts.map +1 -0
  90. package/package.json +13 -12
  91. package/dist/components/Content/Schema/helpers/formatExample.d.ts.map +0 -1
  92. package/dist/components/Content/Schema/helpers/optimizeValueForDisplay.d.ts.map +0 -1
  93. /package/dist/components/Content/Schema/helpers/{formatExample.js → format-example.js} +0 -0
  94. /package/dist/components/Content/Schema/helpers/{optimizeValueForDisplay.js → optimize-value-for-display.js} +0 -0
@@ -4,7 +4,6 @@ type __VLS_Props = {
4
4
  enum?: boolean;
5
5
  required?: boolean;
6
6
  additional?: boolean;
7
- pattern?: boolean;
8
7
  withExamples?: boolean;
9
8
  hideModelNames?: boolean;
10
9
  schemas?: Schemas;
@@ -13,7 +12,6 @@ declare function __VLS_template(): {
13
12
  attrs: Partial<{}>;
14
13
  slots: {
15
14
  name?(_: {}): any;
16
- name?(_: {}): any;
17
15
  };
18
16
  refs: {};
19
17
  rootEl: HTMLDivElement;
@@ -1 +1 @@
1
- {"version":3,"file":"SchemaPropertyHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyHeading.vue"],"names":[],"mappings":"AAgTA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAWjE,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;AAmEF,iBAAS,cAAc;WA6VT,OAAO,IAA6B;;sBATxB,GAAG;sBACH,GAAG;;;;EAa5B;AAkBD,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":"AA2SA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAWjE,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,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;AAuEF,iBAAS,cAAc;WA2UT,OAAO,IAA6B;;sBARxB,GAAG;;;;EAa5B;AAkBD,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-67d0f2e8"]]);
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-10b9288a"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,13 +1,13 @@
1
- import { defineComponent as b, computed as C, createElementBlock as i, openBlock as r, createCommentVNode as a, createBlock as n, normalizeClass as A, renderSlot as E, Fragment as f, createTextVNode as l, withCtx as u, createVNode as p, toDisplayString as o, unref as s } from "vue";
2
- import { isDefined as y } from "@scalar/helpers/array/is-defined";
3
- import B from "../../ScreenReader.vue.js";
4
- import { getDiscriminatorSchemaName as F } from "../../../hooks/useDiscriminator.js";
5
- import { getSchemaType as z } from "./helpers/get-schema-type.js";
6
- import { getModelName as H } from "./helpers/schema-name.js";
7
- import J from "./RenderString.vue.js";
8
- import m from "./SchemaPropertyDetail.vue.js";
9
- import R from "./SchemaPropertyExamples.vue.js";
10
- import L from "../../Badge/Badge.vue.js";
1
+ import { defineComponent as L, computed as C, createElementBlock as m, openBlock as r, createCommentVNode as a, createBlock as i, normalizeClass as $, renderSlot as T, Fragment as f, withCtx as u, createVNode as y, createTextVNode as l, toDisplayString as o, unref as s } from "vue";
2
+ import { isDefined as p } from "@scalar/helpers/array/is-defined";
3
+ import S from "../../ScreenReader.vue.js";
4
+ import { getDiscriminatorSchemaName as b } from "../../../hooks/useDiscriminator.js";
5
+ import { getSchemaType as F } from "./helpers/get-schema-type.js";
6
+ import { getModelName as J } from "./helpers/schema-name.js";
7
+ import z from "./RenderString.vue.js";
8
+ import n from "./SchemaPropertyDetail.vue.js";
9
+ import H from "./SchemaPropertyExamples.vue.js";
10
+ import R from "../../Badge/Badge.vue.js";
11
11
  const j = { class: "property-heading" }, G = {
12
12
  key: 1,
13
13
  class: "property-discriminator"
@@ -16,92 +16,84 @@ const j = { class: "property-heading" }, G = {
16
16
  class: "property-additional"
17
17
  }, Q = {
18
18
  key: 4,
19
- class: "property-pattern"
19
+ class: "property-deprecated"
20
20
  }, U = {
21
21
  key: 5,
22
- class: "property-deprecated"
23
- }, W = {
24
- key: 6,
25
22
  class: "property-const"
23
+ }, W = {
24
+ key: 7,
25
+ class: "property-write-only"
26
26
  }, X = {
27
27
  key: 8,
28
- class: "property-write-only"
28
+ class: "property-read-only"
29
29
  }, Y = {
30
30
  key: 9,
31
- class: "property-read-only"
32
- }, Z = {
33
- key: 10,
34
31
  class: "property-required"
35
- }, ie = /* @__PURE__ */ b({
32
+ }, ae = /* @__PURE__ */ L({
36
33
  __name: "SchemaPropertyHeading",
37
34
  props: {
38
35
  value: {},
39
36
  enum: { type: Boolean },
40
37
  required: { type: Boolean, default: !1 },
41
38
  additional: { type: Boolean },
42
- pattern: { type: Boolean },
43
39
  withExamples: { type: Boolean, default: !0 },
44
40
  hideModelNames: { type: Boolean, default: !1 },
45
41
  schemas: {}
46
42
  },
47
43
  setup(d) {
48
- const T = (e) => (e == null ? void 0 : e.default) === null ? "null" : Array.isArray(e == null ? void 0 : e.default) && e.default.length === 1 ? e.default[0] : typeof (e == null ? void 0 : e.default) == "string" ? JSON.stringify(e.default) : e == null ? void 0 : e.default, S = C(() => {
44
+ const E = (e) => (e == null ? void 0 : e.default) === null ? "null" : Array.isArray(e == null ? void 0 : e.default) && e.default.length === 1 ? e.default[0] : typeof (e == null ? void 0 : e.default) == "string" || Array.isArray(e == null ? void 0 : e.default) ? JSON.stringify(e.default) : e == null ? void 0 : e.default, B = C(() => {
49
45
  var e, t, v, k, g, N;
50
46
  if (((e = d.value) == null ? void 0 : e.const) !== void 0)
51
47
  return (t = d.value) == null ? void 0 : t.const;
52
48
  if (((k = (v = d.value) == null ? void 0 : v.enum) == null ? void 0 : k.length) === 1)
53
49
  return d.value.enum[0];
54
50
  if ((g = d.value) != null && g.items) {
55
- if (y(d.value.items.const))
51
+ if (p(d.value.items.const))
56
52
  return d.value.items.const;
57
53
  if (((N = d.value.items.enum) == null ? void 0 : N.length) === 1)
58
54
  return d.value.items.enum[0];
59
55
  }
60
- }), D = C(() => d.value ? H(
56
+ }), D = C(() => d.value ? J(
61
57
  d.value,
62
58
  d.schemas,
63
59
  d.hideModelNames,
64
- F
60
+ b
65
61
  ) : null);
66
62
  return (e, t) => {
67
- var v, k, g, N, M, q, w, P, I, O, V, $;
68
- return r(), i("div", j, [
69
- e.$slots.name ? (r(), i("div", {
63
+ var v, k, g, N, M, q, w, O, P, I, V, A;
64
+ return r(), m("div", j, [
65
+ e.$slots.name ? (r(), m("div", {
70
66
  key: 0,
71
- class: A(["property-name", { deprecated: (v = e.value) == null ? void 0 : v.deprecated }])
67
+ class: $(["property-name", { deprecated: (v = e.value) == null ? void 0 : v.deprecated }])
72
68
  }, [
73
- e.pattern ? (r(), i(f, { key: 1 }, [
74
- t[0] || (t[0] = l("/")),
75
- E(e.$slots, "name", {}, void 0, !0),
76
- t[1] || (t[1] = l("/"))
77
- ], 64)) : E(e.$slots, "name", { key: 0 }, void 0, !0)
69
+ T(e.$slots, "name", {}, void 0, !0)
78
70
  ], 2)) : a("", !0),
79
- (k = e.value) != null && k.isDiscriminator ? (r(), i("div", G, " Discriminator ")) : a("", !0),
80
- e.value ? (r(), i(f, { key: 2 }, [
81
- (g = e.value) != null && g.type ? (r(), n(m, { key: 0 }, {
71
+ (k = e.value) != null && k.isDiscriminator ? (r(), m("div", G, " Discriminator ")) : a("", !0),
72
+ e.value ? (r(), m(f, { key: 2 }, [
73
+ (g = e.value) != null && g.type ? (r(), i(n, { key: 0 }, {
82
74
  default: u(() => [
83
- p(B, null, {
84
- default: u(() => t[2] || (t[2] = [
75
+ y(S, null, {
76
+ default: u(() => t[0] || (t[0] = [
85
77
  l("Type: ")
86
78
  ])),
87
79
  _: 1
88
80
  }),
89
- D.value ? (r(), i(f, { key: 0 }, [
81
+ D.value ? (r(), m(f, { key: 0 }, [
90
82
  l(o(D.value), 1)
91
- ], 64)) : (r(), i(f, { key: 1 }, [
92
- l(o(s(z)(e.value)), 1)
83
+ ], 64)) : (r(), m(f, { key: 1 }, [
84
+ l(o(s(F)(e.value)), 1)
93
85
  ], 64))
94
86
  ]),
95
87
  _: 1
96
88
  })) : a("", !0),
97
- e.value.minItems || e.value.maxItems ? (r(), n(m, { key: 1 }, {
89
+ e.value.minItems || e.value.maxItems ? (r(), i(n, { key: 1 }, {
98
90
  default: u(() => [
99
91
  l(o(e.value.minItems) + "…" + o(e.value.maxItems), 1)
100
92
  ]),
101
93
  _: 1
102
94
  })) : a("", !0),
103
- e.value.minLength ? (r(), n(m, { key: 2 }, {
104
- prefix: u(() => t[3] || (t[3] = [
95
+ e.value.minLength ? (r(), i(n, { key: 2 }, {
96
+ prefix: u(() => t[1] || (t[1] = [
105
97
  l("min: ")
106
98
  ])),
107
99
  default: u(() => [
@@ -109,8 +101,8 @@ const j = { class: "property-heading" }, G = {
109
101
  ]),
110
102
  _: 1
111
103
  })) : a("", !0),
112
- e.value.maxLength ? (r(), n(m, { key: 3 }, {
113
- prefix: u(() => t[4] || (t[4] = [
104
+ e.value.maxLength ? (r(), i(n, { key: 3 }, {
105
+ prefix: u(() => t[2] || (t[2] = [
114
106
  l("max: ")
115
107
  ])),
116
108
  default: u(() => [
@@ -118,16 +110,16 @@ const j = { class: "property-heading" }, G = {
118
110
  ]),
119
111
  _: 1
120
112
  })) : a("", !0),
121
- e.value.uniqueItems ? (r(), n(m, { key: 4 }, {
122
- default: u(() => t[5] || (t[5] = [
113
+ e.value.uniqueItems ? (r(), i(n, { key: 4 }, {
114
+ default: u(() => t[3] || (t[3] = [
123
115
  l(" unique! ")
124
116
  ])),
125
117
  _: 1
126
118
  })) : a("", !0),
127
- e.value.format ? (r(), n(m, { key: 5 }, {
119
+ e.value.format ? (r(), i(n, { key: 5 }, {
128
120
  default: u(() => [
129
- p(B, null, {
130
- default: u(() => t[6] || (t[6] = [
121
+ y(S, null, {
122
+ default: u(() => t[4] || (t[4] = [
131
123
  l("Format:")
132
124
  ])),
133
125
  _: 1
@@ -136,8 +128,8 @@ const j = { class: "property-heading" }, G = {
136
128
  ]),
137
129
  _: 1
138
130
  })) : a("", !0),
139
- s(y)(e.value.exclusiveMinimum) ? (r(), n(m, { key: 6 }, {
140
- prefix: u(() => t[7] || (t[7] = [
131
+ s(p)(e.value.exclusiveMinimum) ? (r(), i(n, { key: 6 }, {
132
+ prefix: u(() => t[5] || (t[5] = [
141
133
  l("greater than: ")
142
134
  ])),
143
135
  default: u(() => [
@@ -145,8 +137,8 @@ const j = { class: "property-heading" }, G = {
145
137
  ]),
146
138
  _: 1
147
139
  })) : a("", !0),
148
- s(y)(e.value.minimum) ? (r(), n(m, { key: 7 }, {
149
- prefix: u(() => t[8] || (t[8] = [
140
+ s(p)(e.value.minimum) ? (r(), i(n, { key: 7 }, {
141
+ prefix: u(() => t[6] || (t[6] = [
150
142
  l("min: ")
151
143
  ])),
152
144
  default: u(() => [
@@ -154,8 +146,8 @@ const j = { class: "property-heading" }, G = {
154
146
  ]),
155
147
  _: 1
156
148
  })) : a("", !0),
157
- s(y)(e.value.exclusiveMaximum) ? (r(), n(m, { key: 8 }, {
158
- prefix: u(() => t[9] || (t[9] = [
149
+ s(p)(e.value.exclusiveMaximum) ? (r(), i(n, { key: 8 }, {
150
+ prefix: u(() => t[7] || (t[7] = [
159
151
  l("less than: ")
160
152
  ])),
161
153
  default: u(() => [
@@ -163,8 +155,8 @@ const j = { class: "property-heading" }, G = {
163
155
  ]),
164
156
  _: 1
165
157
  })) : a("", !0),
166
- s(y)(e.value.maximum) ? (r(), n(m, { key: 9 }, {
167
- prefix: u(() => t[10] || (t[10] = [
158
+ s(p)(e.value.maximum) ? (r(), i(n, { key: 9 }, {
159
+ prefix: u(() => t[8] || (t[8] = [
168
160
  l("max: ")
169
161
  ])),
170
162
  default: u(() => [
@@ -172,8 +164,8 @@ const j = { class: "property-heading" }, G = {
172
164
  ]),
173
165
  _: 1
174
166
  })) : a("", !0),
175
- s(y)(e.value.multipleOf) ? (r(), n(m, { key: 10 }, {
176
- prefix: u(() => t[11] || (t[11] = [
167
+ s(p)(e.value.multipleOf) ? (r(), i(n, { key: 10 }, {
168
+ prefix: u(() => t[9] || (t[9] = [
177
169
  l("multiple of: ")
178
170
  ])),
179
171
  default: u(() => [
@@ -181,14 +173,14 @@ const j = { class: "property-heading" }, G = {
181
173
  ]),
182
174
  _: 1
183
175
  })) : a("", !0),
184
- e.value.pattern ? (r(), n(m, {
176
+ e.value.pattern ? (r(), i(n, {
185
177
  key: 11,
186
178
  code: "",
187
179
  truncate: ""
188
180
  }, {
189
181
  default: u(() => [
190
- p(B, null, {
191
- default: u(() => t[12] || (t[12] = [
182
+ y(S, null, {
183
+ default: u(() => t[10] || (t[10] = [
192
184
  l("Pattern:")
193
185
  ])),
194
186
  _: 1
@@ -197,77 +189,69 @@ const j = { class: "property-heading" }, G = {
197
189
  ]),
198
190
  _: 1
199
191
  })) : a("", !0),
200
- e.$props.enum ? (r(), n(m, { key: 12 }, {
201
- default: u(() => t[13] || (t[13] = [
192
+ e.$props.enum ? (r(), i(n, { key: 12 }, {
193
+ default: u(() => t[11] || (t[11] = [
202
194
  l("enum")
203
195
  ])),
204
196
  _: 1
205
197
  })) : a("", !0),
206
- e.value.default !== void 0 ? (r(), n(m, {
198
+ e.value.default !== void 0 ? (r(), i(n, {
207
199
  key: 13,
208
200
  truncate: ""
209
201
  }, {
210
- prefix: u(() => t[14] || (t[14] = [
202
+ prefix: u(() => t[12] || (t[12] = [
211
203
  l("default: ")
212
204
  ])),
213
205
  default: u(() => [
214
- l(" " + o(T(e.value)), 1)
206
+ l(" " + o(E(e.value)), 1)
215
207
  ]),
216
208
  _: 1
217
209
  })) : a("", !0)
218
210
  ], 64)) : a("", !0),
219
- e.additional ? (r(), i("div", K, [
220
- (N = e.value) != null && N["x-additionalPropertiesName"] ? (r(), i(f, { key: 0 }, [
211
+ e.additional ? (r(), m("div", K, [
212
+ (N = e.value) != null && N["x-additionalPropertiesName"] ? (r(), m(f, { key: 0 }, [
221
213
  l(o(e.value["x-additionalPropertiesName"]), 1)
222
- ], 64)) : (r(), i(f, { key: 1 }, [
214
+ ], 64)) : (r(), m(f, { key: 1 }, [
223
215
  l("additional properties")
224
216
  ], 64))
225
217
  ])) : a("", !0),
226
- e.pattern ? (r(), i("div", Q, [
227
- p(s(L), null, {
228
- default: u(() => t[15] || (t[15] = [
229
- l("pattern")
230
- ])),
231
- _: 1
232
- })
233
- ])) : a("", !0),
234
- (M = e.value) != null && M.deprecated ? (r(), i("div", U, [
235
- p(s(L), null, {
236
- default: u(() => t[16] || (t[16] = [
218
+ (M = e.value) != null && M.deprecated ? (r(), m("div", Q, [
219
+ y(s(R), null, {
220
+ default: u(() => t[13] || (t[13] = [
237
221
  l("deprecated")
238
222
  ])),
239
223
  _: 1
240
224
  })
241
225
  ])) : a("", !0),
242
- S.value !== void 0 ? (r(), i("div", W, [
243
- p(m, { truncate: "" }, {
244
- prefix: u(() => t[17] || (t[17] = [
226
+ B.value !== void 0 ? (r(), m("div", U, [
227
+ y(n, { truncate: "" }, {
228
+ prefix: u(() => t[14] || (t[14] = [
245
229
  l("const: ")
246
230
  ])),
247
231
  default: u(() => [
248
- p(J, { value: S.value }, null, 8, ["value"])
232
+ y(z, { value: B.value }, null, 8, ["value"])
249
233
  ]),
250
234
  _: 1
251
235
  })
252
- ])) : (r(), i(f, { key: 7 }, [
253
- ((q = e.value) == null ? void 0 : q.nullable) === !0 ? (r(), n(m, { key: 0 }, {
254
- default: u(() => t[18] || (t[18] = [
236
+ ])) : (r(), m(f, { key: 6 }, [
237
+ ((q = e.value) == null ? void 0 : q.nullable) === !0 ? (r(), i(n, { key: 0 }, {
238
+ default: u(() => t[15] || (t[15] = [
255
239
  l(" nullable ")
256
240
  ])),
257
241
  _: 1
258
242
  })) : a("", !0)
259
243
  ], 64)),
260
- (w = e.value) != null && w.writeOnly ? (r(), i("div", X, " write-only ")) : (P = e.value) != null && P.readOnly ? (r(), i("div", Y, " read-only ")) : a("", !0),
261
- e.required ? (r(), i("div", Z, " required ")) : a("", !0),
262
- e.withExamples ? (r(), n(R, {
263
- key: 11,
264
- examples: (I = e.value) == null ? void 0 : I.examples,
265
- example: ((O = e.value) == null ? void 0 : O.example) || (($ = (V = e.value) == null ? void 0 : V.items) == null ? void 0 : $.example)
244
+ (w = e.value) != null && w.writeOnly ? (r(), m("div", W, " write-only ")) : (O = e.value) != null && O.readOnly ? (r(), m("div", X, " read-only ")) : a("", !0),
245
+ e.required ? (r(), m("div", Y, " required ")) : a("", !0),
246
+ e.withExamples ? (r(), i(H, {
247
+ key: 10,
248
+ examples: (P = e.value) == null ? void 0 : P.examples,
249
+ example: ((I = e.value) == null ? void 0 : I.example) || ((A = (V = e.value) == null ? void 0 : V.items) == null ? void 0 : A.example)
266
250
  }, null, 8, ["examples", "example"])) : a("", !0)
267
251
  ]);
268
252
  };
269
253
  }
270
254
  });
271
255
  export {
272
- ie as default
256
+ ae as default
273
257
  };
@@ -2,4 +2,4 @@
2
2
  * Converts an example value to a string that can be displayed in the UI.
3
3
  */
4
4
  export declare function formatExample(example: unknown): string | number;
5
- //# sourceMappingURL=formatExample.d.ts.map
5
+ //# sourceMappingURL=format-example.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"format-example.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Schema/helpers/format-example.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAkD/D"}
@@ -0,0 +1,3 @@
1
+ import type { OpenAPIV3_1 } from '@scalar/openapi-types';
2
+ export declare const isTypeObject: (schema: unknown) => schema is OpenAPIV3_1.SchemaObject;
3
+ //# sourceMappingURL=is-type-object.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is-type-object.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Schema/helpers/is-type-object.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAKxD,eAAO,MAAM,YAAY,WAAY,OAAO,KAAG,MAAM,IAAI,WAAW,CAAC,YAsCpE,CAAA"}
@@ -0,0 +1,17 @@
1
+ const s = (t) => {
2
+ if (t === null || typeof t != "object" || Array.isArray(t) || "oneOf" in t || "anyOf" in t || "allOf" in t || "not" in t)
3
+ return !1;
4
+ const r = "type" in t;
5
+ if (r && Array.isArray(t.type))
6
+ return t.type.includes("object");
7
+ const n = r && t.type === "object";
8
+ if (n)
9
+ return !0;
10
+ if (r && !n)
11
+ return !1;
12
+ const i = "properties" in t, o = "additionalProperties" in t, e = "patternProperties" in t;
13
+ return i || o || e;
14
+ };
15
+ export {
16
+ s as isTypeObject
17
+ };
@@ -5,4 +5,4 @@ export declare const compositions: CompositionKeyword[];
5
5
  * Optimize the value by removing nulls from compositions.
6
6
  */
7
7
  export declare function optimizeValueForDisplay(value: UnknownObject | undefined): Record<string, any> | undefined;
8
- //# sourceMappingURL=optimizeValueForDisplay.d.ts.map
8
+ //# sourceMappingURL=optimize-value-for-display.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"optimize-value-for-display.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/Schema/helpers/optimize-value-for-display.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAExD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAE9D,eAAO,MAAM,YAAY,EAAE,kBAAkB,EAAuC,CAAA;AAEpF;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,aAAa,GAAG,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CAuEzG"}
@@ -1 +1 @@
1
- {"version":3,"file":"OperationsListItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/OperationsListItem.vue"],"names":[],"mappings":"AAyHA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AACjE,OAAO,KAAK,EAEV,oBAAoB,EAErB,MAAM,sBAAsB,CAAA;AAU7B,KAAK,WAAW,GAAG;IACjB,oBAAoB,EAAE,oBAAoB,CAAA;IAC1C,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAC;;AAmJF,wBAOG"}
1
+ {"version":3,"file":"OperationsListItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Tag/OperationsListItem.vue"],"names":[],"mappings":"AAyHA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AAEjE,OAAO,KAAK,EAEV,oBAAoB,EAErB,MAAM,sBAAsB,CAAA;AAS7B,KAAK,WAAW,GAAG;IACjB,oBAAoB,EAAE,oBAAoB,CAAA;IAC1C,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAC;;AAmJF,wBAOG"}
@@ -1,7 +1,7 @@
1
1
  import t from "./OperationsListItem.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-fd24f64e"]]);
4
+ const s = /* @__PURE__ */ o(t, [["__scopeId", "data-v-782723fb"]]);
5
5
  export {
6
- m as default
6
+ s as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as f, computed as c, createElementBlock as h, openBlock as r, createBlock as i, createCommentVNode as s, createElementVNode as n, unref as t, withCtx as u, createTextVNode as O, toDisplayString as l, withModifiers as y, createVNode as k, normalizeStyle as C, normalizeClass as V } from "vue";
2
2
  import { getHttpMethodInfo as b } from "@scalar/helpers/http/http-info";
3
3
  import { ScalarIconWebhooksLogo as g } from "@scalar/icons";
4
- import { isOperationDeprecated as v } from "../../../libs/openapi.js";
4
+ import { isOperationDeprecated as v } from "@scalar/oas-utils/helpers";
5
5
  import { useSidebar as w } from "../../../features/sidebar/hooks/useSidebar.js";
6
6
  import S from "../../Section/SectionHeaderTag.vue.js";
7
7
  import B from "../../HttpMethod/HttpMethod.vue.js";
@@ -1,4 +1,4 @@
1
- import type { OpenAPI } from '@scalar/openapi-types';
1
+ import type { HttpMethod } from '@scalar/helpers/http/http-methods';
2
2
  import { type Component } from 'vue';
3
3
  type __VLS_Props = {
4
4
  /** The type of element to render as, defaults to `span` */
@@ -8,7 +8,7 @@ type __VLS_Props = {
8
8
  /** Whether or not to abbreviated the slot content */
9
9
  short?: boolean;
10
10
  /** The HTTP method to show */
11
- method: OpenAPI.HttpMethod | string;
11
+ method: HttpMethod | string;
12
12
  };
13
13
  declare function __VLS_template(): {
14
14
  attrs: Partial<{}>;
@@ -1 +1 @@
1
- {"version":3,"file":"HttpMethod.vue.d.ts","sourceRoot":"","sources":["../../../src/components/HttpMethod/HttpMethod.vue"],"names":[],"mappings":"AAqCA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AACpD,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAI9C,KAAK,WAAW,GAAG;IACjB,2DAA2D;IAC3D,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;IACvB,2GAA2G;IAC3G,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,qDAAqD;IACrD,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,8BAA8B;IAC9B,MAAM,EAAE,OAAO,CAAC,UAAU,GAAG,MAAM,CAAA;CACpC,CAAC;AAcF,iBAAS,cAAc;WA0CT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,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":"HttpMethod.vue.d.ts","sourceRoot":"","sources":["../../../src/components/HttpMethod/HttpMethod.vue"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AAEnE,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAI9C,KAAK,WAAW,GAAG;IACjB,2DAA2D;IAC3D,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;IACvB,2GAA2G;IAC3G,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,qDAAqD;IACrD,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,8BAA8B;IAC9B,MAAM,EAAE,UAAU,GAAG,MAAM,CAAA;CAC5B,CAAC;AAcF,iBAAS,cAAc;WA0CT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,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 t from "./ParameterListItem.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-df3b54dc"]]);
4
+ const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-47696a96"]]);
5
5
  export {
6
6
  e as default
7
7
  };
@@ -1,11 +1,13 @@
1
1
  import type { Collection, Request, Server } from '@scalar/oas-utils/entities/spec';
2
- import type { OpenAPIV3_1 } from '@scalar/types/legacy';
2
+ import type { OpenAPIV3_1, XScalarStability } from '@scalar/types/legacy';
3
3
  import type { Schemas } from '../../../features/Operation/types/schemas';
4
4
  type __VLS_Props = {
5
5
  id: string;
6
6
  path: string;
7
7
  method: OpenAPIV3_1.HttpMethods;
8
- operation: OpenAPIV3_1.OperationObject;
8
+ operation: OpenAPIV3_1.OperationObject<{
9
+ 'x-scalar-stability': XScalarStability;
10
+ }>;
9
11
  isWebhook: boolean;
10
12
  /**
11
13
  * @deprecated Use `document` instead
@@ -1 +1 @@
1
- {"version":3,"file":"ClassicLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/Operation/layouts/ClassicLayout.vue"],"names":[],"mappings":"AAqXA,OAAO,KAAK,EACV,UAAU,EACV,OAAO,EACP,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAWvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAcjE,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,WAAW,CAAC,WAAW,CAAA;IAC/B,SAAS,EAAE,WAAW,CAAC,eAAe,CAAA;IACtC,SAAS,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,UAAU,EAAE,UAAU,CAAA;IACtB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,OAAO,EAAE,OAAO,GAAG,SAAS,CAAA;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;;;;;;AA2VF,wBAQG"}
1
+ {"version":3,"file":"ClassicLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/Operation/layouts/ClassicLayout.vue"],"names":[],"mappings":"AAuXA,OAAO,KAAK,EACV,UAAU,EACV,OAAO,EACP,MAAM,EACP,MAAM,iCAAiC,CAAA;AAMxC,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAWzE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AASjE,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,WAAW,CAAC,WAAW,CAAA;IAC/B,SAAS,EAAE,WAAW,CAAC,eAAe,CAAC;QACrC,oBAAoB,EAAE,gBAAgB,CAAA;KACvC,CAAC,CAAA;IACF,SAAS,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,UAAU,EAAE,UAAU,CAAA;IACtB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,OAAO,EAAE,OAAO,GAAG,SAAS,CAAA;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;;;;;;AA2VF,wBAQG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./ClassicLayout.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3bc6e3e0"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-6d48a0e7"]]);
5
5
  export {
6
- c as default
6
+ m as default
7
7
  };
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as B, computed as S, createBlock as n, openBlock as p, unref as o, createSlots as V, withCtx as a, createElementVNode as s, createVNode as t, createCommentVNode as d, withModifiers as w, toDisplayString as u, normalizeClass as T, createTextVNode as f } from "vue";
2
2
  import { ScalarIcon as I, ScalarIconButton as R, ScalarMarkdown as N } from "@scalar/components";
3
3
  import { ScalarIconWebhooksLogo as O } from "@scalar/icons";
4
- import { useClipboard as P } from "@scalar/use-hooks/useClipboard";
5
- import W from "../../../components/OperationPath.vue.js";
6
- import { useConfig as $ } from "../../../hooks/useConfig.js";
7
- import { isOperationDeprecated as z, getOperationStability as y, getOperationStabilityColor as A } from "../../../libs/openapi.js";
4
+ import { isOperationDeprecated as P, getOperationStability as y, getOperationStabilityColor as W } from "@scalar/oas-utils/helpers";
5
+ import { useClipboard as $ } from "@scalar/use-hooks/useClipboard";
6
+ import z from "../../../components/OperationPath.vue.js";
7
+ import { useConfig as A } from "../../../hooks/useConfig.js";
8
8
  import D from "../components/OperationParameters.vue.js";
9
9
  import E from "../components/OperationResponses.vue.js";
10
10
  import L from "../../../components/Section/SectionAccordion.vue.js";
@@ -32,7 +32,7 @@ const G = { class: "operation-title" }, H = { class: "operation-details" }, J =
32
32
  const g = S(() => {
33
33
  var e;
34
34
  return ((e = m.operation) == null ? void 0 : e.summary) || m.path || "";
35
- }), { copyToClipboard: k } = P(), C = $(), q = b, c = (e) => {
35
+ }), { copyToClipboard: k } = $(), C = A(), q = b, c = (e) => {
36
36
  q("update:modelValue", e);
37
37
  };
38
38
  return (e, l) => {
@@ -57,15 +57,15 @@ const G = { class: "operation-title" }, H = { class: "operation-details" }, J =
57
57
  default: a(() => [
58
58
  s("h3", J, [
59
59
  s("div", K, [
60
- t(W, {
61
- deprecated: o(z)(e.operation),
60
+ t(z, {
61
+ deprecated: o(P)(e.operation),
62
62
  path: e.path
63
63
  }, null, 8, ["deprecated", "path"])
64
64
  ]),
65
65
  s("div", Q, u(g.value), 1),
66
66
  o(y)(e.operation) ? (p(), n(o(v), {
67
67
  key: 0,
68
- class: T(o(A)(e.operation))
68
+ class: T(o(W)(e.operation))
69
69
  }, {
70
70
  default: a(() => [
71
71
  f(u(o(y)(e.operation)), 1)
@@ -1,11 +1,13 @@
1
1
  import type { Collection, Request, Server } from '@scalar/oas-utils/entities/spec';
2
- import type { OpenAPIV3_1 } from '@scalar/types/legacy';
2
+ import type { OpenAPIV3_1, XScalarStability } from '@scalar/types/legacy';
3
3
  import type { Schemas } from '../types/schemas';
4
4
  type __VLS_Props = {
5
5
  id: string;
6
6
  path: string;
7
7
  method: OpenAPIV3_1.HttpMethods;
8
- operation: OpenAPIV3_1.OperationObject;
8
+ operation: OpenAPIV3_1.OperationObject<{
9
+ 'x-scalar-stability': XScalarStability;
10
+ }>;
9
11
  isWebhook: boolean;
10
12
  /**
11
13
  * @deprecated Use `document` instead
@@ -1 +1 @@
1
- {"version":3,"file":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/Operation/layouts/ModernLayout.vue"],"names":[],"mappings":"AAuLA,OAAO,KAAK,EACV,UAAU,EACV,OAAO,EACP,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AA2BvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAI/C,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,WAAW,CAAC,WAAW,CAAA;IAC/B,SAAS,EAAE,WAAW,CAAC,eAAe,CAAA;IACtC,SAAS,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,UAAU,EAAE,UAAU,CAAA;IACtB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,OAAO,EAAE,OAAO,GAAG,SAAS,CAAA;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;;;;;;AA6TF,wBAQG"}
1
+ {"version":3,"file":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/Operation/layouts/ModernLayout.vue"],"names":[],"mappings":"AAiLA,OAAO,KAAK,EACV,UAAU,EACV,OAAO,EACP,MAAM,EACP,MAAM,iCAAiC,CAAA;AAMxC,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAsBzE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAI/C,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,WAAW,CAAC,WAAW,CAAA;IAC/B,SAAS,EAAE,WAAW,CAAC,eAAe,CAAC;QACrC,oBAAoB,EAAE,gBAAgB,CAAA;KACvC,CAAC,CAAA;IACF,SAAS,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,UAAU,EAAE,UAAU,CAAA;IACtB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,OAAO,EAAE,OAAO,GAAG,SAAS,CAAA;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;;;;;;AA8TF,wBAQG"}
@@ -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 m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d34fa883"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-40b5a836"]]);
5
5
  export {
6
- m as default
6
+ p as default
7
7
  };