@kanda-libs/ks-component-ts 0.3.6 → 0.3.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.
- package/dist/index.d.ts +14885 -14883
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +3 -3
- package/package.json +1 -1
- package/src/generated/components/schemas/ExportJSON.ts +5 -0
- package/src/generated/components/schemas/index.ts +1 -0
- package/src/generated/operations/exportEnterpriseDailyReport.ts +3 -2
- package/src/generated/widget/index.tsx +72777 -72772
package/package.json
CHANGED
|
@@ -48,6 +48,7 @@ export * from "./EventOptions";
|
|
|
48
48
|
export * from "./EventProps";
|
|
49
49
|
export * from "./Expenditure";
|
|
50
50
|
export * from "./ExportCSV";
|
|
51
|
+
export * from "./ExportJSON";
|
|
51
52
|
export * from "./FinanceDetails";
|
|
52
53
|
export * from "./FinanceProvider";
|
|
53
54
|
export * from "./FinanceRate";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { RequestFunction } from "@openapi-io-ts/runtime";
|
|
2
|
+
import * as t from "io-ts";
|
|
2
3
|
import * as parameters from "../components/parameters";
|
|
3
4
|
import * as schemas from "../components/schemas";
|
|
4
5
|
|
|
@@ -11,7 +12,7 @@ export const exportEnterpriseDailyReportOperation = {
|
|
|
11
12
|
path: "/api/enterprise/all/export-daily-report",
|
|
12
13
|
method: "post",
|
|
13
14
|
responses: {
|
|
14
|
-
"200": { _tag: "JsonResponse", decoder: schemas.
|
|
15
|
+
"200": { _tag: "JsonResponse", decoder: t.array(schemas.ExportJSON) },
|
|
15
16
|
default: { _tag: "JsonResponse", decoder: schemas.Error },
|
|
16
17
|
},
|
|
17
18
|
parameters: [parameters.datetime_from, parameters.datetime_to],
|
|
@@ -20,5 +21,5 @@ export const exportEnterpriseDailyReportOperation = {
|
|
|
20
21
|
|
|
21
22
|
export type ExportEnterpriseDailyReportRequestFunction = RequestFunction<
|
|
22
23
|
{ params: ExportEnterpriseDailyReportRequestParameters },
|
|
23
|
-
schemas.
|
|
24
|
+
Array<schemas.ExportJSON>
|
|
24
25
|
>;
|