@scalar/api-reference 1.25.102 → 1.25.104

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 (99) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist/blocks/constants.d.ts +9 -0
  3. package/dist/blocks/constants.d.ts.map +1 -0
  4. package/dist/blocks/constants.js +8 -0
  5. package/dist/blocks/helpers/getPointer.d.ts +22 -0
  6. package/dist/blocks/helpers/getPointer.d.ts.map +1 -0
  7. package/dist/blocks/helpers/getPointer.js +12 -0
  8. package/dist/blocks/hooks/useBlockProps.d.ts +32 -0
  9. package/dist/blocks/hooks/useBlockProps.d.ts.map +1 -0
  10. package/dist/blocks/hooks/useBlockProps.js +28 -0
  11. package/dist/browser/standalone.js +12846 -12739
  12. package/dist/browser/webpack-stats.json +1 -1
  13. package/dist/components/ApiReference.vue.js +31 -31
  14. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  15. package/dist/components/ApiReferenceLayout.vue.js +2 -2
  16. package/dist/components/ApiReferenceLayout.vue2.js +2 -1
  17. package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
  18. package/dist/components/Content/Introduction/Introduction.vue.js +1 -1
  19. package/dist/components/Content/Introduction/Introduction.vue2.js +84 -70
  20. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +2 -0
  21. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  22. package/dist/components/Content/Schema/SchemaProperty.vue.js +2 -2
  23. package/dist/components/Content/Schema/SchemaProperty.vue2.js +118 -111
  24. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
  25. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +3 -3
  26. package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +91 -77
  27. package/dist/components/Content/Schema/helpers/formatExample.d.ts +5 -0
  28. package/dist/components/Content/Schema/helpers/formatExample.d.ts.map +1 -0
  29. package/dist/components/Content/Schema/helpers/formatExample.js +6 -0
  30. package/dist/components/Content/Schema/helpers/optimizeValueForDisplay.d.ts +9 -0
  31. package/dist/components/Content/Schema/helpers/optimizeValueForDisplay.d.ts.map +1 -0
  32. package/dist/components/Content/Schema/helpers/optimizeValueForDisplay.js +20 -0
  33. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -1
  34. package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
  35. package/dist/components/Layouts/ClassicLayout.vue.d.ts.map +1 -1
  36. package/dist/components/Layouts/ClassicLayout.vue.js +30 -27
  37. package/dist/components/Layouts/ModernLayout.vue.d.ts.map +1 -1
  38. package/dist/components/Layouts/ModernLayout.vue.js +2 -2
  39. package/dist/components/Layouts/ModernLayout.vue2.js +55 -50
  40. package/dist/features/ApiClientModal/useApiClient.d.ts +336 -254
  41. package/dist/features/ApiClientModal/useApiClient.d.ts.map +1 -1
  42. package/dist/features/DownloadLink/DownloadLink.vue.d.ts.map +1 -1
  43. package/dist/features/DownloadLink/DownloadLink.vue.js +2 -2
  44. package/dist/features/DownloadLink/DownloadLink.vue2.js +10 -3
  45. package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
  46. package/dist/features/Operation/Operation.vue.js +37 -26
  47. package/dist/features/Operation/components/OperationResponses.vue.d.ts.map +1 -1
  48. package/dist/features/Operation/components/OperationResponses.vue.js +8 -7
  49. package/dist/features/Operation/components/ParameterList.vue.d.ts +2 -0
  50. package/dist/features/Operation/components/ParameterList.vue.d.ts.map +1 -1
  51. package/dist/features/Operation/components/ParameterList.vue.js +2 -2
  52. package/dist/features/Operation/components/ParameterList.vue2.js +18 -16
  53. package/dist/features/Operation/components/ParameterListItem.vue.d.ts +2 -0
  54. package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
  55. package/dist/features/Operation/components/ParameterListItem.vue.js +1 -1
  56. package/dist/features/Operation/components/ParameterListItem.vue2.js +27 -25
  57. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +3 -0
  58. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
  59. package/dist/features/Operation/layouts/ClassicLayout.vue.js +1 -1
  60. package/dist/features/Operation/layouts/ClassicLayout.vue2.js +108 -101
  61. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts +3 -0
  62. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
  63. package/dist/features/Operation/layouts/ModernLayout.vue.js +2 -2
  64. package/dist/features/Operation/layouts/ModernLayout.vue2.js +54 -50
  65. package/dist/helpers/get-request.d.ts +2 -0
  66. package/dist/helpers/get-request.d.ts.map +1 -1
  67. package/dist/helpers/parse.d.ts.map +1 -1
  68. package/dist/helpers/parse.js +88 -68
  69. package/dist/index.d.ts +0 -1
  70. package/dist/index.d.ts.map +1 -1
  71. package/dist/index.js +79 -83
  72. package/dist/style.css +1 -1
  73. package/package.json +11 -12
  74. package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts +0 -10
  75. package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts.map +0 -1
  76. package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.js +0 -7
  77. package/dist/components/DarkModeToggle/DarkModeIconToggle.vue2.js +0 -30
  78. package/dist/components/DarkModeToggle/DarkModeToggle.vue.d.ts +0 -11
  79. package/dist/components/DarkModeToggle/DarkModeToggle.vue.d.ts.map +0 -1
  80. package/dist/components/DarkModeToggle/DarkModeToggle.vue.js +0 -7
  81. package/dist/components/DarkModeToggle/DarkModeToggle.vue2.js +0 -31
  82. package/dist/components/DarkModeToggle/index.d.ts +0 -3
  83. package/dist/components/DarkModeToggle/index.d.ts.map +0 -1
  84. package/dist/embeds/ExampleRequest/ExampleRequest.vue.d.ts +0 -10
  85. package/dist/embeds/ExampleRequest/ExampleRequest.vue.d.ts.map +0 -1
  86. package/dist/embeds/ExampleRequest/index.d.ts +0 -2
  87. package/dist/embeds/ExampleRequest/index.d.ts.map +0 -1
  88. package/dist/embeds/ExampleResponses/ExampleResponses.vue.d.ts +0 -7
  89. package/dist/embeds/ExampleResponses/ExampleResponses.vue.d.ts.map +0 -1
  90. package/dist/embeds/ExampleResponses/index.d.ts +0 -2
  91. package/dist/embeds/ExampleResponses/index.d.ts.map +0 -1
  92. package/dist/embeds/OpenApiDocument/OpenApiDocument.vue.d.ts +0 -782
  93. package/dist/embeds/OpenApiDocument/OpenApiDocument.vue.d.ts.map +0 -1
  94. package/dist/embeds/OpenApiDocument/index.d.ts +0 -3
  95. package/dist/embeds/OpenApiDocument/index.d.ts.map +0 -1
  96. package/dist/embeds/OpenApiDocument/types.d.ts +0 -3
  97. package/dist/embeds/OpenApiDocument/types.d.ts.map +0 -1
  98. package/dist/embeds/index.d.ts +0 -4
  99. package/dist/embeds/index.d.ts.map +0 -1
@@ -1,120 +1,127 @@
1
- import { defineComponent as m, inject as u, openBlock as r, createBlock as s, unref as o, createSlots as f, withCtx as n, createElementVNode as t, createVNode as i, toDisplayString as h, createCommentVNode as _, withModifiers as v } from "vue";
1
+ import { defineComponent as u, inject as f, openBlock as a, createBlock as s, unref as o, createSlots as h, withCtx as r, createElementVNode as t, createVNode as i, toDisplayString as _, createCommentVNode as y, withModifiers as v } from "vue";
2
2
  import C from "../../../components/OperationPath.vue.js";
3
- import { ScalarIcon as y, ScalarIconButton as b, ScalarMarkdown as S } from "@scalar/components";
4
- import { useClipboard as k } from "@scalar/use-hooks/useClipboard";
5
- import T from "../components/OperationParameters.vue.js";
6
- import q from "../components/OperationResponses.vue.js";
3
+ import { ScalarIcon as q, ScalarIconButton as E, ScalarMarkdown as b } from "@scalar/components";
4
+ import { useClipboard as S } from "@scalar/use-hooks/useClipboard";
5
+ import k from "../components/OperationParameters.vue.js";
6
+ import T from "../components/OperationResponses.vue.js";
7
7
  import B from "../../../components/Section/SectionAccordion.vue.js";
8
- import E from "../../../components/HttpMethod/HttpMethod.vue.js";
9
- import R from "../../../components/Anchor/Anchor.vue.js";
10
- import I from "../../TestRequestButton/TestRequestButton.vue.js";
11
- import g from "../../ExampleResponses/ExampleResponses.vue.js";
12
- import w from "../../ExampleRequest/ExampleRequest.vue.js";
13
- import { HIDE_TEST_REQUEST_BUTTON_SYMBOL as N } from "../../../helpers/provideSymbols.js";
14
- const V = { class: "operation-title" }, $ = { class: "operation-details" }, L = { class: "endpoint-label" }, M = { class: "endpoint-label-path" }, O = { class: "endpoint-label-name" }, U = { class: "endpoint-content" }, A = { class: "operation-details-card" }, D = { class: "operation-details-card-item" }, H = { class: "operation-details-card-item" }, te = /* @__PURE__ */ m({
8
+ import R from "../../../components/HttpMethod/HttpMethod.vue.js";
9
+ import I from "../../../components/Anchor/Anchor.vue.js";
10
+ import g from "../../TestRequestButton/TestRequestButton.vue.js";
11
+ import w from "../../ExampleResponses/ExampleResponses.vue.js";
12
+ import N from "../../ExampleRequest/ExampleRequest.vue.js";
13
+ import { HIDE_TEST_REQUEST_BUTTON_SYMBOL as V } from "../../../helpers/provideSymbols.js";
14
+ const $ = { class: "operation-title" }, L = { class: "operation-details" }, M = { class: "endpoint-label" }, O = { class: "endpoint-label-path" }, U = { class: "endpoint-label-name" }, A = { class: "endpoint-content" }, D = { class: "operation-details-card" }, H = { class: "operation-details-card-item" }, P = { class: "operation-details-card-item" }, ie = /* @__PURE__ */ u({
15
15
  __name: "ClassicLayout",
16
16
  props: {
17
17
  id: {},
18
+ requestEntity: {},
18
19
  operation: {},
19
20
  request: {},
20
21
  secretCredentials: {}
21
22
  },
22
- setup(P) {
23
- const { copyToClipboard: d } = k(), c = u(N);
24
- return (e, p) => (r(), s(o(B), {
25
- id: e.id,
26
- class: "reference-endpoint",
27
- transparent: ""
28
- }, f({
29
- title: n(() => [
30
- t("h3", V, [
31
- t("div", $, [
32
- i(o(E), {
33
- class: "endpoint-type",
34
- method: e.operation.httpVerb,
35
- short: ""
36
- }, null, 8, ["method"]),
37
- i(o(R), {
38
- id: e.id ?? "",
39
- class: "endpoint-anchor"
40
- }, {
41
- default: n(() => {
42
- var a;
43
- return [
44
- t("div", L, [
23
+ setup(j) {
24
+ const { copyToClipboard: c } = S(), m = f(V);
25
+ return (e, p) => {
26
+ var l;
27
+ return a(), s(o(B), {
28
+ id: e.id,
29
+ class: "reference-endpoint",
30
+ transparent: ""
31
+ }, h({
32
+ title: r(() => [
33
+ t("h3", $, [
34
+ t("div", L, [
35
+ i(o(R), {
36
+ class: "endpoint-type",
37
+ method: e.operation.httpVerb,
38
+ short: ""
39
+ }, null, 8, ["method"]),
40
+ i(o(I), {
41
+ id: e.id ?? "",
42
+ class: "endpoint-anchor"
43
+ }, {
44
+ default: r(() => {
45
+ var n;
46
+ return [
45
47
  t("div", M, [
46
- i(C, {
47
- deprecated: (a = e.operation.information) == null ? void 0 : a.deprecated,
48
- path: e.operation.path
49
- }, null, 8, ["deprecated", "path"])
50
- ]),
51
- t("div", O, h(e.operation.name), 1)
52
- ])
53
- ];
54
- }),
55
- _: 1
56
- }, 8, ["id"])
48
+ t("div", O, [
49
+ i(C, {
50
+ deprecated: (n = e.operation.information) == null ? void 0 : n.deprecated,
51
+ path: e.operation.path
52
+ }, null, 8, ["deprecated", "path"])
53
+ ]),
54
+ t("div", U, _(e.operation.name), 1)
55
+ ])
56
+ ];
57
+ }),
58
+ _: 1
59
+ }, 8, ["id"])
60
+ ])
57
61
  ])
58
- ])
59
- ]),
60
- actions: n(({ active: a }) => {
61
- var l;
62
- return [
63
- a ? (r(), s(o(I), {
64
- key: 0,
65
- operation: e.operation
66
- }, null, 8, ["operation"])) : (l = o(c)) != null && l() ? _("", !0) : (r(), s(o(y), {
67
- key: 1,
68
- class: "endpoint-try-hint",
69
- icon: "Play",
70
- thickness: "1.75px"
71
- })),
72
- i(o(b), {
73
- class: "endpoint-copy",
74
- icon: "Clipboard",
75
- label: "Copy endpoint URL",
76
- size: "xs",
77
- variant: "ghost",
78
- onClick: p[0] || (p[0] = v((j) => o(d)(e.operation.path), ["stop"]))
79
- })
80
- ];
81
- }),
82
- default: n(() => [
83
- t("div", U, [
62
+ ]),
63
+ actions: r(({ active: n }) => {
64
+ var d;
65
+ return [
66
+ n ? (a(), s(o(g), {
67
+ key: 0,
68
+ operation: e.operation
69
+ }, null, 8, ["operation"])) : (d = o(m)) != null && d() ? y("", !0) : (a(), s(o(q), {
70
+ key: 1,
71
+ class: "endpoint-try-hint",
72
+ icon: "Play",
73
+ thickness: "1.75px"
74
+ })),
75
+ i(o(E), {
76
+ class: "endpoint-copy",
77
+ icon: "Clipboard",
78
+ label: "Copy endpoint URL",
79
+ size: "xs",
80
+ variant: "ghost",
81
+ onClick: p[0] || (p[0] = v((z) => o(c)(e.operation.path), ["stop"]))
82
+ })
83
+ ];
84
+ }),
85
+ default: r(() => [
84
86
  t("div", A, [
85
87
  t("div", D, [
86
- i(T, { operation: e.operation }, null, 8, ["operation"])
88
+ t("div", H, [
89
+ i(k, { operation: e.operation }, null, 8, ["operation"])
90
+ ]),
91
+ t("div", P, [
92
+ i(T, {
93
+ collapsableItems: !1,
94
+ operation: e.operation
95
+ }, null, 8, ["operation"])
96
+ ])
87
97
  ]),
88
- t("div", H, [
89
- i(q, {
90
- collapsableItems: !1,
91
- operation: e.operation
92
- }, null, 8, ["operation"])
93
- ])
94
- ]),
95
- i(o(g), { operation: e.operation }, null, 8, ["operation"]),
96
- i(o(w), {
97
- operation: e.operation,
98
- request: e.request,
99
- secretCredentials: e.secretCredentials
100
- }, null, 8, ["operation", "request", "secretCredentials"])
101
- ])
102
- ]),
103
- _: 2
104
- }, [
105
- e.operation.description ? {
106
- name: "description",
107
- fn: n(() => [
108
- i(o(S), {
109
- value: e.operation.description,
110
- withImages: ""
111
- }, null, 8, ["value"])
98
+ i(o(w), { operation: e.operation }, null, 8, ["operation"]),
99
+ i(o(N), {
100
+ operation: e.operation,
101
+ request: e.request,
102
+ secretCredentials: e.secretCredentials
103
+ }, null, 8, ["operation", "request", "secretCredentials"])
104
+ ])
112
105
  ]),
113
- key: "0"
114
- } : void 0
115
- ]), 1032, ["id"]));
106
+ _: 2
107
+ }, [
108
+ (l = e.requestEntity) != null && l.description ? {
109
+ name: "description",
110
+ fn: r(() => {
111
+ var n;
112
+ return [
113
+ i(o(b), {
114
+ value: (n = e.requestEntity) == null ? void 0 : n.description,
115
+ withImages: ""
116
+ }, null, 8, ["value"])
117
+ ];
118
+ }),
119
+ key: "0"
120
+ } : void 0
121
+ ]), 1032, ["id"]);
122
+ };
116
123
  }
117
124
  });
118
125
  export {
119
- te as default
126
+ ie as default
120
127
  };
@@ -1,7 +1,10 @@
1
+ import type { Request as RequestEntity } from '@scalar/oas-utils/entities/spec';
1
2
  import type { TransformedOperation } from '@scalar/types/legacy';
2
3
  type __VLS_Props = {
3
4
  id?: string;
5
+ /** @deprecated Use `requestEntity` instead */
4
6
  operation: TransformedOperation;
7
+ requestEntity?: RequestEntity;
5
8
  request: Request | null;
6
9
  secretCredentials: string[];
7
10
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/Operation/layouts/ModernLayout.vue"],"names":[],"mappings":"AAkHA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAOhE,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,oBAAoB,CAAA;IAC/B,OAAO,EAAE,OAAO,GAAG,IAAI,CAAA;IACvB,iBAAiB,EAAE,MAAM,EAAE,CAAA;CAC5B,CAAC;;AAqNF,wBAOG"}
1
+ {"version":3,"file":"ModernLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/Operation/layouts/ModernLayout.vue"],"names":[],"mappings":"AAqHA,OAAO,KAAK,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAC/E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAOhE,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,8CAA8C;IAC9C,SAAS,EAAE,oBAAoB,CAAA;IAC/B,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,OAAO,EAAE,OAAO,GAAG,IAAI,CAAA;IACvB,iBAAiB,EAAE,MAAM,EAAE,CAAA;CAC5B,CAAC;;AAoNF,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 p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-231d90aa"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b2b61fd3"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };
@@ -1,12 +1,12 @@
1
- import { defineComponent as c, openBlock as d, createBlock as m, unref as r, withCtx as t, createVNode as o, createTextVNode as s, createCommentVNode as C, createElementVNode as a, normalizeClass as h, toDisplayString as _ } from "vue";
2
- import S from "../../../components/OperationPath.vue.js";
3
- import { ScalarMarkdown as q, ScalarErrorBoundary as u } from "@scalar/components";
4
- import v from "../components/OperationParameters.vue.js";
5
- import k from "../components/OperationResponses.vue.js";
6
- import y from "../../../components/Section/Section.vue.js";
7
- import B from "../../../components/Section/SectionContent.vue.js";
8
- import g from "../../../components/Badge/Badge.vue.js";
9
- import E from "../../../components/Section/SectionHeader.vue.js";
1
+ import { defineComponent as c, openBlock as d, createBlock as m, unref as t, withCtx as r, createVNode as o, createTextVNode as s, createCommentVNode as C, createElementVNode as n, normalizeClass as h, toDisplayString as _ } from "vue";
2
+ import q from "../../../components/OperationPath.vue.js";
3
+ import { ScalarMarkdown as S, ScalarErrorBoundary as u } from "@scalar/components";
4
+ import y from "../components/OperationParameters.vue.js";
5
+ import v from "../components/OperationResponses.vue.js";
6
+ import E from "../../../components/Section/Section.vue.js";
7
+ import k from "../../../components/Section/SectionContent.vue.js";
8
+ import B from "../../../components/Badge/Badge.vue.js";
9
+ import g from "../../../components/Section/SectionHeader.vue.js";
10
10
  import N from "../../../components/Anchor/Anchor.vue.js";
11
11
  import V from "../../../components/Section/SectionColumns.vue.js";
12
12
  import f from "../../../components/Section/SectionColumn.vue.js";
@@ -18,34 +18,35 @@ const D = { class: "operation-details" }, M = { class: "examples" }, W = /* @__P
18
18
  props: {
19
19
  id: {},
20
20
  operation: {},
21
+ requestEntity: {},
21
22
  request: {},
22
23
  secretCredentials: {}
23
24
  },
24
25
  setup(T) {
25
- return (e, n) => (d(), m(r(y), {
26
+ return (e, i) => (d(), m(t(E), {
26
27
  id: e.id,
27
28
  label: e.operation.name
28
29
  }, {
29
- default: t(() => [
30
- o(r(B), null, {
31
- default: t(() => {
32
- var i, l;
30
+ default: r(() => [
31
+ o(t(k), null, {
32
+ default: r(() => {
33
+ var l, p;
33
34
  return [
34
- (i = e.operation.information) != null && i.deprecated ? (d(), m(r(g), { key: 0 }, {
35
- default: t(() => n[0] || (n[0] = [
35
+ (l = e.operation.information) != null && l.deprecated ? (d(), m(t(B), { key: 0 }, {
36
+ default: r(() => i[0] || (i[0] = [
36
37
  s(" Deprecated ")
37
38
  ])),
38
39
  _: 1
39
40
  })) : C("", !0),
40
- a("div", {
41
- class: h((l = e.operation.information) != null && l.deprecated ? "deprecated" : "")
41
+ n("div", {
42
+ class: h((p = e.operation.information) != null && p.deprecated ? "deprecated" : "")
42
43
  }, [
43
- o(r(E), { level: 3 }, {
44
- default: t(() => [
45
- o(r(N), {
44
+ o(t(g), { level: 3 }, {
45
+ default: r(() => [
46
+ o(t(N), {
46
47
  id: e.id ?? ""
47
48
  }, {
48
- default: t(() => [
49
+ default: r(() => [
49
50
  s(_(e.operation.name), 1)
50
51
  ]),
51
52
  _: 1
@@ -54,53 +55,56 @@ const D = { class: "operation-details" }, M = { class: "examples" }, W = /* @__P
54
55
  _: 1
55
56
  })
56
57
  ], 2),
57
- o(r(V), null, {
58
- default: t(() => [
59
- o(r(f), null, {
60
- default: t(() => [
61
- a("div", D, [
62
- o(r(q), {
63
- value: e.operation.description,
64
- withImages: ""
65
- }, null, 8, ["value"]),
66
- o(v, { operation: e.operation }, null, 8, ["operation"]),
67
- o(k, { operation: e.operation }, null, 8, ["operation"])
68
- ])
69
- ]),
58
+ o(t(V), null, {
59
+ default: r(() => [
60
+ o(t(f), null, {
61
+ default: r(() => {
62
+ var a;
63
+ return [
64
+ n("div", D, [
65
+ o(t(S), {
66
+ value: (a = e.requestEntity) == null ? void 0 : a.description,
67
+ withImages: ""
68
+ }, null, 8, ["value"]),
69
+ o(y, { operation: e.operation }, null, 8, ["operation"]),
70
+ o(v, { operation: e.operation }, null, 8, ["operation"])
71
+ ])
72
+ ];
73
+ }),
70
74
  _: 1
71
75
  }),
72
- o(r(f), null, {
73
- default: t(() => [
74
- a("div", M, [
75
- o(r(u), null, {
76
- default: t(() => [
77
- o(r(b), {
76
+ o(t(f), null, {
77
+ default: r(() => [
78
+ n("div", M, [
79
+ o(t(u), null, {
80
+ default: r(() => [
81
+ o(t(b), {
78
82
  fallback: "",
79
83
  operation: e.operation,
80
84
  request: e.request,
81
85
  secretCredentials: e.secretCredentials
82
86
  }, {
83
- header: t(() => {
84
- var p;
87
+ header: r(() => {
88
+ var a;
85
89
  return [
86
- o(S, {
90
+ o(q, {
87
91
  class: "example-path",
88
- deprecated: (p = e.operation.information) == null ? void 0 : p.deprecated,
92
+ deprecated: (a = e.operation.information) == null ? void 0 : a.deprecated,
89
93
  path: e.operation.path
90
94
  }, null, 8, ["deprecated", "path"])
91
95
  ];
92
96
  }),
93
- footer: t(() => [
94
- o(r(w), { operation: e.operation }, null, 8, ["operation"])
97
+ footer: r(() => [
98
+ o(t(w), { operation: e.operation }, null, 8, ["operation"])
95
99
  ]),
96
100
  _: 1
97
101
  }, 8, ["operation", "request", "secretCredentials"])
98
102
  ]),
99
103
  _: 1
100
104
  }),
101
- o(r(u), null, {
102
- default: t(() => [
103
- o(r(R), {
105
+ o(t(u), null, {
106
+ default: r(() => [
107
+ o(t(R), {
104
108
  operation: e.operation,
105
109
  style: { "margin-top": "12px" }
106
110
  }, null, 8, ["operation"])
@@ -15,6 +15,8 @@ export declare const getRequest: (requests: WorkspaceStore["requests"], path: st
15
15
  url: string;
16
16
  description?: string | undefined;
17
17
  } | undefined;
18
+ 'x-internal'?: boolean | undefined;
19
+ 'x-scalar-ignore'?: boolean | undefined;
18
20
  security?: Record<string, string[]>[] | undefined;
19
21
  tags?: string[] | undefined;
20
22
  deprecated?: boolean | undefined;
@@ -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,aACX,cAAc,CAAC,UAAU,CAAC,QAC9B,MAAM,UACJ,MAAM;;;;;;;;;;;;;mBAKu4S,CAAC;;;;;;;;;;;mBAAia,CAAC;eAAyC,CAAC;cAA6B,CAAC;eAA8B,CAAC;aAA4B,CAAC;gBAA8H,CAAC;iBAAwC,CAAC;mBAAkC,CAAC;;;;;aADtoU,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,aACX,cAAc,CAAC,UAAU,CAAC,QAC9B,MAAM,UACJ,MAAM;;;;;;;;;;;;;mBAKmqT,CAAC;;;;;;;;;;;;;mBAA8f,CAAC;eAAyC,CAAC;cAA6B,CAAC;eAA8B,CAAC;aAA4B,CAAC;gBAA8H,CAAC;iBAAwC,CAAC;mBAAkC,CAAC;;;;;aAD//U,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../src/helpers/parse.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAMxD;;;;GAIG;AACH,eAAO,MAAM,KAAK,kBACD,aAAa,GAAG,MAAM,GAAG,SAAS,kBAG9C;IACD,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,KACA,OAAO,CAAC,IAAI,CA0Dd,CAAA"}
1
+ {"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../src/helpers/parse.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,sBAAsB,CAAA;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAMxD;;;;GAIG;AACH,eAAO,MAAM,KAAK,kBACD,aAAa,GAAG,MAAM,GAAG,SAAS,kBAG9C;IACD,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,KACA,OAAO,CAAC,IAAI,CA0Dd,CAAA"}