@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.cjs
CHANGED
|
@@ -3384,6 +3384,7 @@ const AddParameterDrawer = ({ open, onClose, onAdd, onEdit, mode = "add", initia
|
|
|
3384
3384
|
//#endregion
|
|
3385
3385
|
//#region src/view/components/ApiPage/components/EndpointsSection.tsx
|
|
3386
3386
|
const { useBreakpoint: useBreakpoint$2 } = antd.Grid;
|
|
3387
|
+
const ucFirst = (s) => s.charAt(0).toUpperCase() + s.slice(1);
|
|
3387
3388
|
const PAGE_SIZE = 4;
|
|
3388
3389
|
const VIEW_PAGE_SIZE = 4;
|
|
3389
3390
|
const getStatusCodeColor = (code, token) => {
|
|
@@ -3754,6 +3755,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
3754
3755
|
alignItems: "center",
|
|
3755
3756
|
justifyContent: "space-between",
|
|
3756
3757
|
width: "100%",
|
|
3758
|
+
gap: 16,
|
|
3757
3759
|
padding: `12px 0px`,
|
|
3758
3760
|
borderBottom: `1px solid ${token.colorBorderSecondary}`,
|
|
3759
3761
|
background: token.colorBgContainer,
|
|
@@ -4089,7 +4091,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
4089
4091
|
background: token.colorBgElevated,
|
|
4090
4092
|
borderRadius: token.borderRadius,
|
|
4091
4093
|
paddingTop: 16,
|
|
4092
|
-
paddingBottom:
|
|
4094
|
+
paddingBottom: 32,
|
|
4093
4095
|
gap: 8,
|
|
4094
4096
|
display: "flex",
|
|
4095
4097
|
flexDirection: "column",
|
|
@@ -4561,7 +4563,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
4561
4563
|
children: "Parameter In"
|
|
4562
4564
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
4563
4565
|
className: cx("param-detail-value"),
|
|
4564
|
-
children: param.in
|
|
4566
|
+
children: ucFirst(param.in)
|
|
4565
4567
|
})]
|
|
4566
4568
|
})]
|
|
4567
4569
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -4640,7 +4642,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
4640
4642
|
children: "Parameter In"
|
|
4641
4643
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
4642
4644
|
className: cx("param-detail-value"),
|
|
4643
|
-
children: param.in
|
|
4645
|
+
children: ucFirst(param.in)
|
|
4644
4646
|
})]
|
|
4645
4647
|
}),
|
|
4646
4648
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -4650,7 +4652,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
4650
4652
|
children: "Parameter Type"
|
|
4651
4653
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
4652
4654
|
className: cx("param-detail-value"),
|
|
4653
|
-
children: param.type
|
|
4655
|
+
children: ucFirst(param.type)
|
|
4654
4656
|
})]
|
|
4655
4657
|
}),
|
|
4656
4658
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -5048,7 +5050,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
5048
5050
|
children: "Parameter In"
|
|
5049
5051
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
5050
5052
|
className: cx("param-detail-value"),
|
|
5051
|
-
children: param.in
|
|
5053
|
+
children: ucFirst(param.in)
|
|
5052
5054
|
})]
|
|
5053
5055
|
})]
|
|
5054
5056
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -5127,7 +5129,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
5127
5129
|
children: "Parameter In"
|
|
5128
5130
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
5129
5131
|
className: cx("param-detail-value"),
|
|
5130
|
-
children: param.in
|
|
5132
|
+
children: ucFirst(param.in)
|
|
5131
5133
|
})]
|
|
5132
5134
|
}),
|
|
5133
5135
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -5137,7 +5139,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
5137
5139
|
children: "Parameter Type"
|
|
5138
5140
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
5139
5141
|
className: cx("param-detail-value"),
|
|
5140
|
-
children: param.type
|
|
5142
|
+
children: ucFirst(param.type)
|
|
5141
5143
|
})]
|
|
5142
5144
|
}),
|
|
5143
5145
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -5868,7 +5870,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
5868
5870
|
children: "Parameter In"
|
|
5869
5871
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
5870
5872
|
className: cx("param-detail-value"),
|
|
5871
|
-
children: param.in
|
|
5873
|
+
children: ucFirst(param.in)
|
|
5872
5874
|
})]
|
|
5873
5875
|
})]
|
|
5874
5876
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -5943,7 +5945,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
5943
5945
|
children: "Parameter In"
|
|
5944
5946
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
5945
5947
|
className: cx("param-detail-value"),
|
|
5946
|
-
children: param.in
|
|
5948
|
+
children: ucFirst(param.in)
|
|
5947
5949
|
})]
|
|
5948
5950
|
}),
|
|
5949
5951
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -5953,7 +5955,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
5953
5955
|
children: "Parameter Type"
|
|
5954
5956
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
5955
5957
|
className: cx("param-detail-value"),
|
|
5956
|
-
children: param.type
|
|
5958
|
+
children: ucFirst(param.type)
|
|
5957
5959
|
})]
|
|
5958
5960
|
}),
|
|
5959
5961
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -6347,7 +6349,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
6347
6349
|
children: "Parameter In"
|
|
6348
6350
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
6349
6351
|
className: cx("param-detail-value"),
|
|
6350
|
-
children: param.in
|
|
6352
|
+
children: ucFirst(param.in)
|
|
6351
6353
|
})]
|
|
6352
6354
|
})]
|
|
6353
6355
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -6422,7 +6424,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
6422
6424
|
children: "Parameter In"
|
|
6423
6425
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
6424
6426
|
className: cx("param-detail-value"),
|
|
6425
|
-
children: param.in
|
|
6427
|
+
children: ucFirst(param.in)
|
|
6426
6428
|
})]
|
|
6427
6429
|
}),
|
|
6428
6430
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -6432,7 +6434,7 @@ const EndpointsSection = ({ endpointsByTag, collapsed = false, onToggleCollapse,
|
|
|
6432
6434
|
children: "Parameter Type"
|
|
6433
6435
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
6434
6436
|
className: cx("param-detail-value"),
|
|
6435
|
-
children: param.type
|
|
6437
|
+
children: ucFirst(param.type)
|
|
6436
6438
|
})]
|
|
6437
6439
|
}),
|
|
6438
6440
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|