@digi-frontend/dgate-api-documentation 4.2.3 → 4.2.4
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.
- package/dist/index.cjs +15 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +15 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3355,6 +3355,7 @@ const AddParameterDrawer = ({ open, onClose, onAdd, onEdit, mode = "add", initia
|
|
|
3355
3355
|
//#endregion
|
|
3356
3356
|
//#region src/view/components/ApiPage/components/EndpointsSection.tsx
|
|
3357
3357
|
const { useBreakpoint: useBreakpoint$2 } = Grid;
|
|
3358
|
+
const ucFirst = (s) => s.charAt(0).toUpperCase() + s.slice(1);
|
|
3358
3359
|
const PAGE_SIZE = 4;
|
|
3359
3360
|
const VIEW_PAGE_SIZE = 4;
|
|
3360
3361
|
const getStatusCodeColor = (code, token) => {
|
|
@@ -3725,6 +3726,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
3725
3726
|
alignItems: "center",
|
|
3726
3727
|
justifyContent: "space-between",
|
|
3727
3728
|
width: "100%",
|
|
3729
|
+
gap: 16,
|
|
3728
3730
|
padding: `12px 0px`,
|
|
3729
3731
|
borderBottom: `1px solid ${token.colorBorderSecondary}`,
|
|
3730
3732
|
background: token.colorBgContainer,
|
|
@@ -4060,7 +4062,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
4060
4062
|
background: token.colorBgElevated,
|
|
4061
4063
|
borderRadius: token.borderRadius,
|
|
4062
4064
|
paddingTop: 16,
|
|
4063
|
-
paddingBottom:
|
|
4065
|
+
paddingBottom: 32,
|
|
4064
4066
|
gap: 8,
|
|
4065
4067
|
display: "flex",
|
|
4066
4068
|
flexDirection: "column",
|
|
@@ -4532,7 +4534,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
4532
4534
|
children: "Parameter In"
|
|
4533
4535
|
}), /* @__PURE__ */ jsx("span", {
|
|
4534
4536
|
className: cx("param-detail-value"),
|
|
4535
|
-
children: param.in
|
|
4537
|
+
children: ucFirst(param.in)
|
|
4536
4538
|
})]
|
|
4537
4539
|
})]
|
|
4538
4540
|
}), /* @__PURE__ */ jsxs("div", {
|
|
@@ -4611,7 +4613,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
4611
4613
|
children: "Parameter In"
|
|
4612
4614
|
}), /* @__PURE__ */ jsx("span", {
|
|
4613
4615
|
className: cx("param-detail-value"),
|
|
4614
|
-
children: param.in
|
|
4616
|
+
children: ucFirst(param.in)
|
|
4615
4617
|
})]
|
|
4616
4618
|
}),
|
|
4617
4619
|
/* @__PURE__ */ jsxs("div", {
|
|
@@ -4621,7 +4623,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
4621
4623
|
children: "Parameter Type"
|
|
4622
4624
|
}), /* @__PURE__ */ jsx("span", {
|
|
4623
4625
|
className: cx("param-detail-value"),
|
|
4624
|
-
children: param.type
|
|
4626
|
+
children: ucFirst(param.type)
|
|
4625
4627
|
})]
|
|
4626
4628
|
}),
|
|
4627
4629
|
/* @__PURE__ */ jsxs("div", {
|
|
@@ -5019,7 +5021,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
5019
5021
|
children: "Parameter In"
|
|
5020
5022
|
}), /* @__PURE__ */ jsx("span", {
|
|
5021
5023
|
className: cx("param-detail-value"),
|
|
5022
|
-
children: param.in
|
|
5024
|
+
children: ucFirst(param.in)
|
|
5023
5025
|
})]
|
|
5024
5026
|
})]
|
|
5025
5027
|
}), /* @__PURE__ */ jsxs("div", {
|
|
@@ -5098,7 +5100,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
5098
5100
|
children: "Parameter In"
|
|
5099
5101
|
}), /* @__PURE__ */ jsx("span", {
|
|
5100
5102
|
className: cx("param-detail-value"),
|
|
5101
|
-
children: param.in
|
|
5103
|
+
children: ucFirst(param.in)
|
|
5102
5104
|
})]
|
|
5103
5105
|
}),
|
|
5104
5106
|
/* @__PURE__ */ jsxs("div", {
|
|
@@ -5108,7 +5110,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
5108
5110
|
children: "Parameter Type"
|
|
5109
5111
|
}), /* @__PURE__ */ jsx("span", {
|
|
5110
5112
|
className: cx("param-detail-value"),
|
|
5111
|
-
children: param.type
|
|
5113
|
+
children: ucFirst(param.type)
|
|
5112
5114
|
})]
|
|
5113
5115
|
}),
|
|
5114
5116
|
/* @__PURE__ */ jsxs("div", {
|
|
@@ -5839,7 +5841,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
5839
5841
|
children: "Parameter In"
|
|
5840
5842
|
}), /* @__PURE__ */ jsx("span", {
|
|
5841
5843
|
className: cx("param-detail-value"),
|
|
5842
|
-
children: param.in
|
|
5844
|
+
children: ucFirst(param.in)
|
|
5843
5845
|
})]
|
|
5844
5846
|
})]
|
|
5845
5847
|
}), /* @__PURE__ */ jsxs("div", {
|
|
@@ -5914,7 +5916,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
5914
5916
|
children: "Parameter In"
|
|
5915
5917
|
}), /* @__PURE__ */ jsx("span", {
|
|
5916
5918
|
className: cx("param-detail-value"),
|
|
5917
|
-
children: param.in
|
|
5919
|
+
children: ucFirst(param.in)
|
|
5918
5920
|
})]
|
|
5919
5921
|
}),
|
|
5920
5922
|
/* @__PURE__ */ jsxs("div", {
|
|
@@ -5924,7 +5926,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
5924
5926
|
children: "Parameter Type"
|
|
5925
5927
|
}), /* @__PURE__ */ jsx("span", {
|
|
5926
5928
|
className: cx("param-detail-value"),
|
|
5927
|
-
children: param.type
|
|
5929
|
+
children: ucFirst(param.type)
|
|
5928
5930
|
})]
|
|
5929
5931
|
}),
|
|
5930
5932
|
/* @__PURE__ */ jsxs("div", {
|
|
@@ -6318,7 +6320,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
6318
6320
|
children: "Parameter In"
|
|
6319
6321
|
}), /* @__PURE__ */ jsx("span", {
|
|
6320
6322
|
className: cx("param-detail-value"),
|
|
6321
|
-
children: param.in
|
|
6323
|
+
children: ucFirst(param.in)
|
|
6322
6324
|
})]
|
|
6323
6325
|
})]
|
|
6324
6326
|
}), /* @__PURE__ */ jsxs("div", {
|
|
@@ -6393,7 +6395,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
6393
6395
|
children: "Parameter In"
|
|
6394
6396
|
}), /* @__PURE__ */ jsx("span", {
|
|
6395
6397
|
className: cx("param-detail-value"),
|
|
6396
|
-
children: param.in
|
|
6398
|
+
children: ucFirst(param.in)
|
|
6397
6399
|
})]
|
|
6398
6400
|
}),
|
|
6399
6401
|
/* @__PURE__ */ jsxs("div", {
|
|
@@ -6403,7 +6405,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
6403
6405
|
children: "Parameter Type"
|
|
6404
6406
|
}), /* @__PURE__ */ jsx("span", {
|
|
6405
6407
|
className: cx("param-detail-value"),
|
|
6406
|
-
children: param.type
|
|
6408
|
+
children: ucFirst(param.type)
|
|
6407
6409
|
})]
|
|
6408
6410
|
}),
|
|
6409
6411
|
/* @__PURE__ */ jsxs("div", {
|