@fctc/interface-logic 2.7.8 → 2.7.9
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/hooks.js +30 -1
- package/dist/hooks.mjs +30 -1
- package/dist/provider.js +30 -1
- package/dist/provider.mjs +30 -1
- package/dist/services.d.mts +6 -0
- package/dist/services.d.ts +6 -0
- package/dist/services.js +30 -1
- package/dist/services.mjs +30 -1
- package/package.json +90 -90
package/dist/hooks.js
CHANGED
|
@@ -3122,6 +3122,31 @@ function useActionService() {
|
|
|
3122
3122
|
},
|
|
3123
3123
|
[env]
|
|
3124
3124
|
);
|
|
3125
|
+
const generateSerialNumber = (0, import_react6.useCallback)(
|
|
3126
|
+
async ({
|
|
3127
|
+
kwargs,
|
|
3128
|
+
context,
|
|
3129
|
+
service,
|
|
3130
|
+
xNode
|
|
3131
|
+
}) => {
|
|
3132
|
+
const jsonData = {
|
|
3133
|
+
model: "stok.move",
|
|
3134
|
+
method: "action_generate_lot_line_vals",
|
|
3135
|
+
with_context: { ...context },
|
|
3136
|
+
kwargs
|
|
3137
|
+
};
|
|
3138
|
+
return env.requests.post(
|
|
3139
|
+
"/call" /* CALL_PATH */,
|
|
3140
|
+
jsonData,
|
|
3141
|
+
{
|
|
3142
|
+
headers: { "Content-Type": "application/json" },
|
|
3143
|
+
...xNode ? { "X-Node": xNode } : {}
|
|
3144
|
+
},
|
|
3145
|
+
service
|
|
3146
|
+
);
|
|
3147
|
+
},
|
|
3148
|
+
[env]
|
|
3149
|
+
);
|
|
3125
3150
|
return {
|
|
3126
3151
|
loadAction,
|
|
3127
3152
|
callButton,
|
|
@@ -3129,7 +3154,8 @@ function useActionService() {
|
|
|
3129
3154
|
duplicateRecord,
|
|
3130
3155
|
getPrintReportName,
|
|
3131
3156
|
print,
|
|
3132
|
-
runAction
|
|
3157
|
+
runAction,
|
|
3158
|
+
generateSerialNumber
|
|
3133
3159
|
};
|
|
3134
3160
|
}
|
|
3135
3161
|
|
|
@@ -6651,6 +6677,9 @@ var useManageOnChange = () => {
|
|
|
6651
6677
|
});
|
|
6652
6678
|
};
|
|
6653
6679
|
var use_manage_on_change_default = useManageOnChange;
|
|
6680
|
+
|
|
6681
|
+
// src/hooks/view/use-gen-serial-number.ts
|
|
6682
|
+
var import_react_query82 = require("@tanstack/react-query");
|
|
6654
6683
|
// Annotate the CommonJS export names for ESM import in node:
|
|
6655
6684
|
0 && (module.exports = {
|
|
6656
6685
|
useButton,
|
package/dist/hooks.mjs
CHANGED
|
@@ -3006,6 +3006,31 @@ function useActionService() {
|
|
|
3006
3006
|
},
|
|
3007
3007
|
[env]
|
|
3008
3008
|
);
|
|
3009
|
+
const generateSerialNumber = useCallback2(
|
|
3010
|
+
async ({
|
|
3011
|
+
kwargs,
|
|
3012
|
+
context,
|
|
3013
|
+
service,
|
|
3014
|
+
xNode
|
|
3015
|
+
}) => {
|
|
3016
|
+
const jsonData = {
|
|
3017
|
+
model: "stok.move",
|
|
3018
|
+
method: "action_generate_lot_line_vals",
|
|
3019
|
+
with_context: { ...context },
|
|
3020
|
+
kwargs
|
|
3021
|
+
};
|
|
3022
|
+
return env.requests.post(
|
|
3023
|
+
"/call" /* CALL_PATH */,
|
|
3024
|
+
jsonData,
|
|
3025
|
+
{
|
|
3026
|
+
headers: { "Content-Type": "application/json" },
|
|
3027
|
+
...xNode ? { "X-Node": xNode } : {}
|
|
3028
|
+
},
|
|
3029
|
+
service
|
|
3030
|
+
);
|
|
3031
|
+
},
|
|
3032
|
+
[env]
|
|
3033
|
+
);
|
|
3009
3034
|
return {
|
|
3010
3035
|
loadAction,
|
|
3011
3036
|
callButton,
|
|
@@ -3013,7 +3038,8 @@ function useActionService() {
|
|
|
3013
3038
|
duplicateRecord,
|
|
3014
3039
|
getPrintReportName,
|
|
3015
3040
|
print,
|
|
3016
|
-
runAction
|
|
3041
|
+
runAction,
|
|
3042
|
+
generateSerialNumber
|
|
3017
3043
|
};
|
|
3018
3044
|
}
|
|
3019
3045
|
|
|
@@ -6535,6 +6561,9 @@ var useManageOnChange = () => {
|
|
|
6535
6561
|
});
|
|
6536
6562
|
};
|
|
6537
6563
|
var use_manage_on_change_default = useManageOnChange;
|
|
6564
|
+
|
|
6565
|
+
// src/hooks/view/use-gen-serial-number.ts
|
|
6566
|
+
import { useMutation as useMutation60 } from "@tanstack/react-query";
|
|
6538
6567
|
export {
|
|
6539
6568
|
use_button_default as useButton,
|
|
6540
6569
|
use_change_status_default as useChangeStatus,
|
package/dist/provider.js
CHANGED
|
@@ -3058,6 +3058,31 @@ function useActionService() {
|
|
|
3058
3058
|
},
|
|
3059
3059
|
[env]
|
|
3060
3060
|
);
|
|
3061
|
+
const generateSerialNumber = (0, import_react2.useCallback)(
|
|
3062
|
+
async ({
|
|
3063
|
+
kwargs,
|
|
3064
|
+
context,
|
|
3065
|
+
service,
|
|
3066
|
+
xNode
|
|
3067
|
+
}) => {
|
|
3068
|
+
const jsonData = {
|
|
3069
|
+
model: "stok.move",
|
|
3070
|
+
method: "action_generate_lot_line_vals",
|
|
3071
|
+
with_context: { ...context },
|
|
3072
|
+
kwargs
|
|
3073
|
+
};
|
|
3074
|
+
return env.requests.post(
|
|
3075
|
+
"/call" /* CALL_PATH */,
|
|
3076
|
+
jsonData,
|
|
3077
|
+
{
|
|
3078
|
+
headers: { "Content-Type": "application/json" },
|
|
3079
|
+
...xNode ? { "X-Node": xNode } : {}
|
|
3080
|
+
},
|
|
3081
|
+
service
|
|
3082
|
+
);
|
|
3083
|
+
},
|
|
3084
|
+
[env]
|
|
3085
|
+
);
|
|
3061
3086
|
return {
|
|
3062
3087
|
loadAction,
|
|
3063
3088
|
callButton,
|
|
@@ -3065,7 +3090,8 @@ function useActionService() {
|
|
|
3065
3090
|
duplicateRecord,
|
|
3066
3091
|
getPrintReportName,
|
|
3067
3092
|
print,
|
|
3068
|
-
runAction
|
|
3093
|
+
runAction,
|
|
3094
|
+
generateSerialNumber
|
|
3069
3095
|
};
|
|
3070
3096
|
}
|
|
3071
3097
|
|
|
@@ -7006,6 +7032,9 @@ var useManageOnChange = () => {
|
|
|
7006
7032
|
};
|
|
7007
7033
|
var use_manage_on_change_default = useManageOnChange;
|
|
7008
7034
|
|
|
7035
|
+
// src/hooks/view/use-gen-serial-number.ts
|
|
7036
|
+
var import_react_query82 = require("@tanstack/react-query");
|
|
7037
|
+
|
|
7009
7038
|
// src/provider/service-provider.tsx
|
|
7010
7039
|
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
7011
7040
|
var ServiceContext = (0, import_react13.createContext)(null);
|
package/dist/provider.mjs
CHANGED
|
@@ -3015,6 +3015,31 @@ function useActionService() {
|
|
|
3015
3015
|
},
|
|
3016
3016
|
[env]
|
|
3017
3017
|
);
|
|
3018
|
+
const generateSerialNumber = useCallback(
|
|
3019
|
+
async ({
|
|
3020
|
+
kwargs,
|
|
3021
|
+
context,
|
|
3022
|
+
service,
|
|
3023
|
+
xNode
|
|
3024
|
+
}) => {
|
|
3025
|
+
const jsonData = {
|
|
3026
|
+
model: "stok.move",
|
|
3027
|
+
method: "action_generate_lot_line_vals",
|
|
3028
|
+
with_context: { ...context },
|
|
3029
|
+
kwargs
|
|
3030
|
+
};
|
|
3031
|
+
return env.requests.post(
|
|
3032
|
+
"/call" /* CALL_PATH */,
|
|
3033
|
+
jsonData,
|
|
3034
|
+
{
|
|
3035
|
+
headers: { "Content-Type": "application/json" },
|
|
3036
|
+
...xNode ? { "X-Node": xNode } : {}
|
|
3037
|
+
},
|
|
3038
|
+
service
|
|
3039
|
+
);
|
|
3040
|
+
},
|
|
3041
|
+
[env]
|
|
3042
|
+
);
|
|
3018
3043
|
return {
|
|
3019
3044
|
loadAction,
|
|
3020
3045
|
callButton,
|
|
@@ -3022,7 +3047,8 @@ function useActionService() {
|
|
|
3022
3047
|
duplicateRecord,
|
|
3023
3048
|
getPrintReportName,
|
|
3024
3049
|
print,
|
|
3025
|
-
runAction
|
|
3050
|
+
runAction,
|
|
3051
|
+
generateSerialNumber
|
|
3026
3052
|
};
|
|
3027
3053
|
}
|
|
3028
3054
|
|
|
@@ -6963,6 +6989,9 @@ var useManageOnChange = () => {
|
|
|
6963
6989
|
};
|
|
6964
6990
|
var use_manage_on_change_default = useManageOnChange;
|
|
6965
6991
|
|
|
6992
|
+
// src/hooks/view/use-gen-serial-number.ts
|
|
6993
|
+
import { useMutation as useMutation60 } from "@tanstack/react-query";
|
|
6994
|
+
|
|
6966
6995
|
// src/provider/service-provider.tsx
|
|
6967
6996
|
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
6968
6997
|
var ServiceContext = createContext2(null);
|
package/dist/services.d.mts
CHANGED
|
@@ -43,6 +43,12 @@ declare function useActionService(): {
|
|
|
43
43
|
service?: string;
|
|
44
44
|
xNode?: string;
|
|
45
45
|
}) => Promise<any>;
|
|
46
|
+
generateSerialNumber: ({ kwargs, context, service, xNode, }: {
|
|
47
|
+
kwargs: any;
|
|
48
|
+
context: ContextApi;
|
|
49
|
+
service?: string;
|
|
50
|
+
xNode?: string;
|
|
51
|
+
}) => Promise<any>;
|
|
46
52
|
};
|
|
47
53
|
|
|
48
54
|
declare function useAuthService(): {
|
package/dist/services.d.ts
CHANGED
|
@@ -43,6 +43,12 @@ declare function useActionService(): {
|
|
|
43
43
|
service?: string;
|
|
44
44
|
xNode?: string;
|
|
45
45
|
}) => Promise<any>;
|
|
46
|
+
generateSerialNumber: ({ kwargs, context, service, xNode, }: {
|
|
47
|
+
kwargs: any;
|
|
48
|
+
context: ContextApi;
|
|
49
|
+
service?: string;
|
|
50
|
+
xNode?: string;
|
|
51
|
+
}) => Promise<any>;
|
|
46
52
|
};
|
|
47
53
|
|
|
48
54
|
declare function useAuthService(): {
|
package/dist/services.js
CHANGED
|
@@ -3088,6 +3088,9 @@ var import_react_query80 = require("@tanstack/react-query");
|
|
|
3088
3088
|
// src/hooks/view/use-manage-on-change.ts
|
|
3089
3089
|
var import_react_query81 = require("@tanstack/react-query");
|
|
3090
3090
|
|
|
3091
|
+
// src/hooks/view/use-gen-serial-number.ts
|
|
3092
|
+
var import_react_query82 = require("@tanstack/react-query");
|
|
3093
|
+
|
|
3091
3094
|
// src/provider/service-provider.tsx
|
|
3092
3095
|
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
3093
3096
|
var ServiceContext = (0, import_react4.createContext)(null);
|
|
@@ -3264,6 +3267,31 @@ function useActionService() {
|
|
|
3264
3267
|
},
|
|
3265
3268
|
[env]
|
|
3266
3269
|
);
|
|
3270
|
+
const generateSerialNumber = (0, import_react6.useCallback)(
|
|
3271
|
+
async ({
|
|
3272
|
+
kwargs,
|
|
3273
|
+
context,
|
|
3274
|
+
service,
|
|
3275
|
+
xNode
|
|
3276
|
+
}) => {
|
|
3277
|
+
const jsonData = {
|
|
3278
|
+
model: "stok.move",
|
|
3279
|
+
method: "action_generate_lot_line_vals",
|
|
3280
|
+
with_context: { ...context },
|
|
3281
|
+
kwargs
|
|
3282
|
+
};
|
|
3283
|
+
return env.requests.post(
|
|
3284
|
+
"/call" /* CALL_PATH */,
|
|
3285
|
+
jsonData,
|
|
3286
|
+
{
|
|
3287
|
+
headers: { "Content-Type": "application/json" },
|
|
3288
|
+
...xNode ? { "X-Node": xNode } : {}
|
|
3289
|
+
},
|
|
3290
|
+
service
|
|
3291
|
+
);
|
|
3292
|
+
},
|
|
3293
|
+
[env]
|
|
3294
|
+
);
|
|
3267
3295
|
return {
|
|
3268
3296
|
loadAction,
|
|
3269
3297
|
callButton,
|
|
@@ -3271,7 +3299,8 @@ function useActionService() {
|
|
|
3271
3299
|
duplicateRecord,
|
|
3272
3300
|
getPrintReportName,
|
|
3273
3301
|
print,
|
|
3274
|
-
runAction
|
|
3302
|
+
runAction,
|
|
3303
|
+
generateSerialNumber
|
|
3275
3304
|
};
|
|
3276
3305
|
}
|
|
3277
3306
|
|
package/dist/services.mjs
CHANGED
|
@@ -3044,6 +3044,9 @@ import { useMutation as useMutation58 } from "@tanstack/react-query";
|
|
|
3044
3044
|
// src/hooks/view/use-manage-on-change.ts
|
|
3045
3045
|
import { useMutation as useMutation59 } from "@tanstack/react-query";
|
|
3046
3046
|
|
|
3047
|
+
// src/hooks/view/use-gen-serial-number.ts
|
|
3048
|
+
import { useMutation as useMutation60 } from "@tanstack/react-query";
|
|
3049
|
+
|
|
3047
3050
|
// src/provider/service-provider.tsx
|
|
3048
3051
|
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
3049
3052
|
var ServiceContext = createContext2(null);
|
|
@@ -3220,6 +3223,31 @@ function useActionService() {
|
|
|
3220
3223
|
},
|
|
3221
3224
|
[env]
|
|
3222
3225
|
);
|
|
3226
|
+
const generateSerialNumber = useCallback2(
|
|
3227
|
+
async ({
|
|
3228
|
+
kwargs,
|
|
3229
|
+
context,
|
|
3230
|
+
service,
|
|
3231
|
+
xNode
|
|
3232
|
+
}) => {
|
|
3233
|
+
const jsonData = {
|
|
3234
|
+
model: "stok.move",
|
|
3235
|
+
method: "action_generate_lot_line_vals",
|
|
3236
|
+
with_context: { ...context },
|
|
3237
|
+
kwargs
|
|
3238
|
+
};
|
|
3239
|
+
return env.requests.post(
|
|
3240
|
+
"/call" /* CALL_PATH */,
|
|
3241
|
+
jsonData,
|
|
3242
|
+
{
|
|
3243
|
+
headers: { "Content-Type": "application/json" },
|
|
3244
|
+
...xNode ? { "X-Node": xNode } : {}
|
|
3245
|
+
},
|
|
3246
|
+
service
|
|
3247
|
+
);
|
|
3248
|
+
},
|
|
3249
|
+
[env]
|
|
3250
|
+
);
|
|
3223
3251
|
return {
|
|
3224
3252
|
loadAction,
|
|
3225
3253
|
callButton,
|
|
@@ -3227,7 +3255,8 @@ function useActionService() {
|
|
|
3227
3255
|
duplicateRecord,
|
|
3228
3256
|
getPrintReportName,
|
|
3229
3257
|
print,
|
|
3230
|
-
runAction
|
|
3258
|
+
runAction,
|
|
3259
|
+
generateSerialNumber
|
|
3231
3260
|
};
|
|
3232
3261
|
}
|
|
3233
3262
|
|
package/package.json
CHANGED
|
@@ -1,90 +1,90 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@fctc/interface-logic",
|
|
3
|
-
"version": "2.7.
|
|
4
|
-
"types": "dist/index.d.ts",
|
|
5
|
-
"main": "dist/index.cjs",
|
|
6
|
-
"module": "dist/index.mjs",
|
|
7
|
-
"exports": {
|
|
8
|
-
".": {
|
|
9
|
-
"types": "./dist/index.d.ts",
|
|
10
|
-
"import": "./dist/index.mjs",
|
|
11
|
-
"require": "./dist/index.cjs"
|
|
12
|
-
},
|
|
13
|
-
"./configs": {
|
|
14
|
-
"types": "./dist/configs.d.ts",
|
|
15
|
-
"import": "./dist/configs.mjs",
|
|
16
|
-
"require": "./dist/configs.cjs"
|
|
17
|
-
},
|
|
18
|
-
"./constants": {
|
|
19
|
-
"types": "./dist/constants.d.ts",
|
|
20
|
-
"import": "./dist/constants.mjs",
|
|
21
|
-
"require": "./dist/constants.cjs"
|
|
22
|
-
},
|
|
23
|
-
"./environment": {
|
|
24
|
-
"types": "./dist/environment.d.ts",
|
|
25
|
-
"import": "./dist/environment.mjs",
|
|
26
|
-
"require": "./dist/environment.cjs"
|
|
27
|
-
},
|
|
28
|
-
"./hooks": {
|
|
29
|
-
"types": "./dist/hooks.d.ts",
|
|
30
|
-
"import": "./dist/hooks.mjs",
|
|
31
|
-
"require": "./dist/hooks.cjs"
|
|
32
|
-
},
|
|
33
|
-
"./provider": {
|
|
34
|
-
"types": "./dist/provider.d.ts",
|
|
35
|
-
"import": "./dist/provider.mjs",
|
|
36
|
-
"require": "./dist/provider.cjs"
|
|
37
|
-
},
|
|
38
|
-
"./services": {
|
|
39
|
-
"types": "./dist/services.d.ts",
|
|
40
|
-
"import": "./dist/services.mjs",
|
|
41
|
-
"require": "./dist/services.cjs"
|
|
42
|
-
},
|
|
43
|
-
"./store": {
|
|
44
|
-
"types": "./dist/store.d.ts",
|
|
45
|
-
"import": "./dist/store.mjs",
|
|
46
|
-
"require": "./dist/store.cjs"
|
|
47
|
-
},
|
|
48
|
-
"./utils": {
|
|
49
|
-
"types": "./dist/utils.d.ts",
|
|
50
|
-
"import": "./dist/utils.mjs",
|
|
51
|
-
"require": "./dist/utils.cjs"
|
|
52
|
-
},
|
|
53
|
-
"./types": {
|
|
54
|
-
"types": "./dist/types.d.ts",
|
|
55
|
-
"import": "./dist/types.mjs",
|
|
56
|
-
"require": "./dist/types.cjs"
|
|
57
|
-
},
|
|
58
|
-
"./models": {
|
|
59
|
-
"types": "./dist/models.d.ts",
|
|
60
|
-
"import": "./dist/models.mjs",
|
|
61
|
-
"require": "./dist/models.cjs"
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
"files": [
|
|
65
|
-
"dist"
|
|
66
|
-
],
|
|
67
|
-
"scripts": {
|
|
68
|
-
"build": "tsup",
|
|
69
|
-
"test": "jest"
|
|
70
|
-
},
|
|
71
|
-
"peerDependencies": {
|
|
72
|
-
"react": "18.0.0",
|
|
73
|
-
"@tanstack/react-query": "^5.83.0"
|
|
74
|
-
},
|
|
75
|
-
"dependencies": {
|
|
76
|
-
"@reduxjs/toolkit": "^2.8.2",
|
|
77
|
-
"@tanstack/react-query": "^5.83.0",
|
|
78
|
-
"axios": "^1.11.0",
|
|
79
|
-
"moment": "^2.30.1",
|
|
80
|
-
"react-redux": "^9.2.0"
|
|
81
|
-
},
|
|
82
|
-
"devDependencies": {
|
|
83
|
-
"@types/react": "^18.3.1",
|
|
84
|
-
"react": "18.0.0",
|
|
85
|
-
"jest": "^29.7.0",
|
|
86
|
-
"tsup": "^8.0.0",
|
|
87
|
-
"typescript": "^5.8.2"
|
|
88
|
-
},
|
|
89
|
-
"packageManager": "yarn@1.22.0"
|
|
90
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@fctc/interface-logic",
|
|
3
|
+
"version": "2.7.9",
|
|
4
|
+
"types": "dist/index.d.ts",
|
|
5
|
+
"main": "dist/index.cjs",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"import": "./dist/index.mjs",
|
|
11
|
+
"require": "./dist/index.cjs"
|
|
12
|
+
},
|
|
13
|
+
"./configs": {
|
|
14
|
+
"types": "./dist/configs.d.ts",
|
|
15
|
+
"import": "./dist/configs.mjs",
|
|
16
|
+
"require": "./dist/configs.cjs"
|
|
17
|
+
},
|
|
18
|
+
"./constants": {
|
|
19
|
+
"types": "./dist/constants.d.ts",
|
|
20
|
+
"import": "./dist/constants.mjs",
|
|
21
|
+
"require": "./dist/constants.cjs"
|
|
22
|
+
},
|
|
23
|
+
"./environment": {
|
|
24
|
+
"types": "./dist/environment.d.ts",
|
|
25
|
+
"import": "./dist/environment.mjs",
|
|
26
|
+
"require": "./dist/environment.cjs"
|
|
27
|
+
},
|
|
28
|
+
"./hooks": {
|
|
29
|
+
"types": "./dist/hooks.d.ts",
|
|
30
|
+
"import": "./dist/hooks.mjs",
|
|
31
|
+
"require": "./dist/hooks.cjs"
|
|
32
|
+
},
|
|
33
|
+
"./provider": {
|
|
34
|
+
"types": "./dist/provider.d.ts",
|
|
35
|
+
"import": "./dist/provider.mjs",
|
|
36
|
+
"require": "./dist/provider.cjs"
|
|
37
|
+
},
|
|
38
|
+
"./services": {
|
|
39
|
+
"types": "./dist/services.d.ts",
|
|
40
|
+
"import": "./dist/services.mjs",
|
|
41
|
+
"require": "./dist/services.cjs"
|
|
42
|
+
},
|
|
43
|
+
"./store": {
|
|
44
|
+
"types": "./dist/store.d.ts",
|
|
45
|
+
"import": "./dist/store.mjs",
|
|
46
|
+
"require": "./dist/store.cjs"
|
|
47
|
+
},
|
|
48
|
+
"./utils": {
|
|
49
|
+
"types": "./dist/utils.d.ts",
|
|
50
|
+
"import": "./dist/utils.mjs",
|
|
51
|
+
"require": "./dist/utils.cjs"
|
|
52
|
+
},
|
|
53
|
+
"./types": {
|
|
54
|
+
"types": "./dist/types.d.ts",
|
|
55
|
+
"import": "./dist/types.mjs",
|
|
56
|
+
"require": "./dist/types.cjs"
|
|
57
|
+
},
|
|
58
|
+
"./models": {
|
|
59
|
+
"types": "./dist/models.d.ts",
|
|
60
|
+
"import": "./dist/models.mjs",
|
|
61
|
+
"require": "./dist/models.cjs"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"files": [
|
|
65
|
+
"dist"
|
|
66
|
+
],
|
|
67
|
+
"scripts": {
|
|
68
|
+
"build": "tsup",
|
|
69
|
+
"test": "jest"
|
|
70
|
+
},
|
|
71
|
+
"peerDependencies": {
|
|
72
|
+
"react": "18.0.0",
|
|
73
|
+
"@tanstack/react-query": "^5.83.0"
|
|
74
|
+
},
|
|
75
|
+
"dependencies": {
|
|
76
|
+
"@reduxjs/toolkit": "^2.8.2",
|
|
77
|
+
"@tanstack/react-query": "^5.83.0",
|
|
78
|
+
"axios": "^1.11.0",
|
|
79
|
+
"moment": "^2.30.1",
|
|
80
|
+
"react-redux": "^9.2.0"
|
|
81
|
+
},
|
|
82
|
+
"devDependencies": {
|
|
83
|
+
"@types/react": "^18.3.1",
|
|
84
|
+
"react": "18.0.0",
|
|
85
|
+
"jest": "^29.7.0",
|
|
86
|
+
"tsup": "^8.0.0",
|
|
87
|
+
"typescript": "^5.8.2"
|
|
88
|
+
},
|
|
89
|
+
"packageManager": "yarn@1.22.0"
|
|
90
|
+
}
|