@fctc/interface-logic 3.2.3 → 3.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/configs.js CHANGED
@@ -1781,8 +1781,12 @@ function evaluate(ast, context = {}) {
1781
1781
  leftVal = toPyDict(leftVal);
1782
1782
  } else if (typeof leftVal === "number") {
1783
1783
  result = leftVal;
1784
+ } else if (Array.isArray(leftVal[ast2.key])) {
1785
+ result = leftVal[ast2.key]?.map(
1786
+ (value) => value?.id ?? value
1787
+ );
1784
1788
  } else {
1785
- result = leftVal[ast2.key]?.id ?? leftVal[ast2.key];
1789
+ result = leftVal[ast2.key]?.id ?? leftVal[ast2.key] ?? false;
1786
1790
  }
1787
1791
  if (typeof result === "function") {
1788
1792
  const bound = result.bind(leftVal);
package/dist/configs.mjs CHANGED
@@ -1745,8 +1745,12 @@ function evaluate(ast, context = {}) {
1745
1745
  leftVal = toPyDict(leftVal);
1746
1746
  } else if (typeof leftVal === "number") {
1747
1747
  result = leftVal;
1748
+ } else if (Array.isArray(leftVal[ast2.key])) {
1749
+ result = leftVal[ast2.key]?.map(
1750
+ (value) => value?.id ?? value
1751
+ );
1748
1752
  } else {
1749
- result = leftVal[ast2.key]?.id ?? leftVal[ast2.key];
1753
+ result = leftVal[ast2.key]?.id ?? leftVal[ast2.key] ?? false;
1750
1754
  }
1751
1755
  if (typeof result === "function") {
1752
1756
  const bound = result.bind(leftVal);
@@ -1783,8 +1783,12 @@ function evaluate(ast, context = {}) {
1783
1783
  leftVal = toPyDict(leftVal);
1784
1784
  } else if (typeof leftVal === "number") {
1785
1785
  result = leftVal;
1786
+ } else if (Array.isArray(leftVal[ast2.key])) {
1787
+ result = leftVal[ast2.key]?.map(
1788
+ (value) => value?.id ?? value
1789
+ );
1786
1790
  } else {
1787
- result = leftVal[ast2.key]?.id ?? leftVal[ast2.key];
1791
+ result = leftVal[ast2.key]?.id ?? leftVal[ast2.key] ?? false;
1788
1792
  }
1789
1793
  if (typeof result === "function") {
1790
1794
  const bound = result.bind(leftVal);
@@ -1745,8 +1745,12 @@ function evaluate(ast, context = {}) {
1745
1745
  leftVal = toPyDict(leftVal);
1746
1746
  } else if (typeof leftVal === "number") {
1747
1747
  result = leftVal;
1748
+ } else if (Array.isArray(leftVal[ast2.key])) {
1749
+ result = leftVal[ast2.key]?.map(
1750
+ (value) => value?.id ?? value
1751
+ );
1748
1752
  } else {
1749
- result = leftVal[ast2.key]?.id ?? leftVal[ast2.key];
1753
+ result = leftVal[ast2.key]?.id ?? leftVal[ast2.key] ?? false;
1750
1754
  }
1751
1755
  if (typeof result === "function") {
1752
1756
  const bound = result.bind(leftVal);
package/dist/hooks.d.mts CHANGED
@@ -43,8 +43,10 @@ declare const useValidateActionToken: () => _tanstack_react_query.UseMutationRes
43
43
  }, unknown>;
44
44
 
45
45
  declare const useGetTenantMapping: () => _tanstack_react_query.UseMutationResult<any, Error, {
46
+ cif: string;
46
47
  shortName: string;
47
48
  service: string;
49
+ xNode: string;
48
50
  }, unknown>;
49
51
 
50
52
  declare const useGetToken: () => _tanstack_react_query.UseMutationResult<any, Error, {
package/dist/hooks.d.ts CHANGED
@@ -43,8 +43,10 @@ declare const useValidateActionToken: () => _tanstack_react_query.UseMutationRes
43
43
  }, unknown>;
44
44
 
45
45
  declare const useGetTenantMapping: () => _tanstack_react_query.UseMutationResult<any, Error, {
46
+ cif: string;
46
47
  shortName: string;
47
48
  service: string;
49
+ xNode: string;
48
50
  }, unknown>;
49
51
 
50
52
  declare const useGetToken: () => _tanstack_react_query.UseMutationResult<any, Error, {
package/dist/hooks.js CHANGED
@@ -1919,8 +1919,12 @@ function evaluate(ast, context = {}) {
1919
1919
  leftVal = toPyDict(leftVal);
1920
1920
  } else if (typeof leftVal === "number") {
1921
1921
  result = leftVal;
1922
+ } else if (Array.isArray(leftVal[ast2.key])) {
1923
+ result = leftVal[ast2.key]?.map(
1924
+ (value) => value?.id ?? value
1925
+ );
1922
1926
  } else {
1923
- result = leftVal[ast2.key]?.id ?? leftVal[ast2.key];
1927
+ result = leftVal[ast2.key]?.id ?? leftVal[ast2.key] ?? false;
1924
1928
  }
1925
1929
  if (typeof result === "function") {
1926
1930
  const bound = result.bind(leftVal);
@@ -3376,8 +3380,14 @@ function useAuthService() {
3376
3380
  [env]
3377
3381
  );
3378
3382
  const getTenantMapping = (0, import_react7.useCallback)(
3379
- async ({ shortName, service }) => {
3383
+ async ({
3384
+ cif,
3385
+ shortName,
3386
+ service,
3387
+ xNode
3388
+ }) => {
3380
3389
  const bodyData = {
3390
+ cif,
3381
3391
  short_name: shortName
3382
3392
  };
3383
3393
  return env?.requests.post(
@@ -3385,7 +3395,8 @@ function useAuthService() {
3385
3395
  bodyData,
3386
3396
  {
3387
3397
  headers: {
3388
- "Content-Type": "application/json"
3398
+ "Content-Type": "application/json",
3399
+ ...xNode ? { "X-Node": xNode } : {}
3389
3400
  }
3390
3401
  },
3391
3402
  service
@@ -5602,10 +5613,12 @@ var useGetTenantMapping = () => {
5602
5613
  const { getTenantMapping } = useAuthService();
5603
5614
  return (0, import_react_query15.useMutation)({
5604
5615
  mutationFn: ({
5616
+ cif,
5605
5617
  shortName,
5606
- service
5618
+ service,
5619
+ xNode
5607
5620
  }) => {
5608
- return getTenantMapping({ shortName, service });
5621
+ return getTenantMapping({ cif, shortName, service, xNode });
5609
5622
  }
5610
5623
  });
5611
5624
  };
package/dist/hooks.mjs CHANGED
@@ -1792,8 +1792,12 @@ function evaluate(ast, context = {}) {
1792
1792
  leftVal = toPyDict(leftVal);
1793
1793
  } else if (typeof leftVal === "number") {
1794
1794
  result = leftVal;
1795
+ } else if (Array.isArray(leftVal[ast2.key])) {
1796
+ result = leftVal[ast2.key]?.map(
1797
+ (value) => value?.id ?? value
1798
+ );
1795
1799
  } else {
1796
- result = leftVal[ast2.key]?.id ?? leftVal[ast2.key];
1800
+ result = leftVal[ast2.key]?.id ?? leftVal[ast2.key] ?? false;
1797
1801
  }
1798
1802
  if (typeof result === "function") {
1799
1803
  const bound = result.bind(leftVal);
@@ -3249,8 +3253,14 @@ function useAuthService() {
3249
3253
  [env]
3250
3254
  );
3251
3255
  const getTenantMapping = useCallback3(
3252
- async ({ shortName, service }) => {
3256
+ async ({
3257
+ cif,
3258
+ shortName,
3259
+ service,
3260
+ xNode
3261
+ }) => {
3253
3262
  const bodyData = {
3263
+ cif,
3254
3264
  short_name: shortName
3255
3265
  };
3256
3266
  return env?.requests.post(
@@ -3258,7 +3268,8 @@ function useAuthService() {
3258
3268
  bodyData,
3259
3269
  {
3260
3270
  headers: {
3261
- "Content-Type": "application/json"
3271
+ "Content-Type": "application/json",
3272
+ ...xNode ? { "X-Node": xNode } : {}
3262
3273
  }
3263
3274
  },
3264
3275
  service
@@ -5475,10 +5486,12 @@ var useGetTenantMapping = () => {
5475
5486
  const { getTenantMapping } = useAuthService();
5476
5487
  return useMutation13({
5477
5488
  mutationFn: ({
5489
+ cif,
5478
5490
  shortName,
5479
- service
5491
+ service,
5492
+ xNode
5480
5493
  }) => {
5481
- return getTenantMapping({ shortName, service });
5494
+ return getTenantMapping({ cif, shortName, service, xNode });
5482
5495
  }
5483
5496
  });
5484
5497
  };
package/dist/provider.js CHANGED
@@ -2485,8 +2485,12 @@ function evaluate(ast, context = {}) {
2485
2485
  leftVal = toPyDict(leftVal);
2486
2486
  } else if (typeof leftVal === "number") {
2487
2487
  result = leftVal;
2488
+ } else if (Array.isArray(leftVal[ast2.key])) {
2489
+ result = leftVal[ast2.key]?.map(
2490
+ (value) => value?.id ?? value
2491
+ );
2488
2492
  } else {
2489
- result = leftVal[ast2.key]?.id ?? leftVal[ast2.key];
2493
+ result = leftVal[ast2.key]?.id ?? leftVal[ast2.key] ?? false;
2490
2494
  }
2491
2495
  if (typeof result === "function") {
2492
2496
  const bound = result.bind(leftVal);
@@ -3378,8 +3382,14 @@ function useAuthService() {
3378
3382
  [env]
3379
3383
  );
3380
3384
  const getTenantMapping = (0, import_react3.useCallback)(
3381
- async ({ shortName, service }) => {
3385
+ async ({
3386
+ cif,
3387
+ shortName,
3388
+ service,
3389
+ xNode
3390
+ }) => {
3382
3391
  const bodyData = {
3392
+ cif,
3383
3393
  short_name: shortName
3384
3394
  };
3385
3395
  return env?.requests.post(
@@ -3387,7 +3397,8 @@ function useAuthService() {
3387
3397
  bodyData,
3388
3398
  {
3389
3399
  headers: {
3390
- "Content-Type": "application/json"
3400
+ "Content-Type": "application/json",
3401
+ ...xNode ? { "X-Node": xNode } : {}
3391
3402
  }
3392
3403
  },
3393
3404
  service
@@ -5987,10 +5998,12 @@ var useGetTenantMapping = () => {
5987
5998
  const { getTenantMapping } = useAuthService();
5988
5999
  return (0, import_react_query15.useMutation)({
5989
6000
  mutationFn: ({
6001
+ cif,
5990
6002
  shortName,
5991
- service
6003
+ service,
6004
+ xNode
5992
6005
  }) => {
5993
- return getTenantMapping({ shortName, service });
6006
+ return getTenantMapping({ cif, shortName, service, xNode });
5994
6007
  }
5995
6008
  });
5996
6009
  };
package/dist/provider.mjs CHANGED
@@ -2442,8 +2442,12 @@ function evaluate(ast, context = {}) {
2442
2442
  leftVal = toPyDict(leftVal);
2443
2443
  } else if (typeof leftVal === "number") {
2444
2444
  result = leftVal;
2445
+ } else if (Array.isArray(leftVal[ast2.key])) {
2446
+ result = leftVal[ast2.key]?.map(
2447
+ (value) => value?.id ?? value
2448
+ );
2445
2449
  } else {
2446
- result = leftVal[ast2.key]?.id ?? leftVal[ast2.key];
2450
+ result = leftVal[ast2.key]?.id ?? leftVal[ast2.key] ?? false;
2447
2451
  }
2448
2452
  if (typeof result === "function") {
2449
2453
  const bound = result.bind(leftVal);
@@ -3335,8 +3339,14 @@ function useAuthService() {
3335
3339
  [env]
3336
3340
  );
3337
3341
  const getTenantMapping = useCallback2(
3338
- async ({ shortName, service }) => {
3342
+ async ({
3343
+ cif,
3344
+ shortName,
3345
+ service,
3346
+ xNode
3347
+ }) => {
3339
3348
  const bodyData = {
3349
+ cif,
3340
3350
  short_name: shortName
3341
3351
  };
3342
3352
  return env?.requests.post(
@@ -3344,7 +3354,8 @@ function useAuthService() {
3344
3354
  bodyData,
3345
3355
  {
3346
3356
  headers: {
3347
- "Content-Type": "application/json"
3357
+ "Content-Type": "application/json",
3358
+ ...xNode ? { "X-Node": xNode } : {}
3348
3359
  }
3349
3360
  },
3350
3361
  service
@@ -5944,10 +5955,12 @@ var useGetTenantMapping = () => {
5944
5955
  const { getTenantMapping } = useAuthService();
5945
5956
  return useMutation13({
5946
5957
  mutationFn: ({
5958
+ cif,
5947
5959
  shortName,
5948
- service
5960
+ service,
5961
+ xNode
5949
5962
  }) => {
5950
- return getTenantMapping({ shortName, service });
5963
+ return getTenantMapping({ cif, shortName, service, xNode });
5951
5964
  }
5952
5965
  });
5953
5966
  };
@@ -76,9 +76,11 @@ declare function useAuthService(): {
76
76
  getProviders: (db?: string) => Promise<any>;
77
77
  getAccessByCode: (code: string) => Promise<any>;
78
78
  logout: (service?: string) => Promise<any>;
79
- getTenantMapping: ({ shortName, service }: {
79
+ getTenantMapping: ({ cif, shortName, service, xNode, }: {
80
+ cif: string;
80
81
  shortName: string;
81
82
  service: string;
83
+ xNode: string;
82
84
  }) => Promise<any>;
83
85
  getToken: ({ phone, name, service, xNode, }: {
84
86
  phone: string;
@@ -76,9 +76,11 @@ declare function useAuthService(): {
76
76
  getProviders: (db?: string) => Promise<any>;
77
77
  getAccessByCode: (code: string) => Promise<any>;
78
78
  logout: (service?: string) => Promise<any>;
79
- getTenantMapping: ({ shortName, service }: {
79
+ getTenantMapping: ({ cif, shortName, service, xNode, }: {
80
+ cif: string;
80
81
  shortName: string;
81
82
  service: string;
83
+ xNode: string;
82
84
  }) => Promise<any>;
83
85
  getToken: ({ phone, name, service, xNode, }: {
84
86
  phone: string;
package/dist/services.js CHANGED
@@ -1826,8 +1826,12 @@ function evaluate(ast, context = {}) {
1826
1826
  leftVal = toPyDict(leftVal);
1827
1827
  } else if (typeof leftVal === "number") {
1828
1828
  result = leftVal;
1829
+ } else if (Array.isArray(leftVal[ast2.key])) {
1830
+ result = leftVal[ast2.key]?.map(
1831
+ (value) => value?.id ?? value
1832
+ );
1829
1833
  } else {
1830
- result = leftVal[ast2.key]?.id ?? leftVal[ast2.key];
1834
+ result = leftVal[ast2.key]?.id ?? leftVal[ast2.key] ?? false;
1831
1835
  }
1832
1836
  if (typeof result === "function") {
1833
1837
  const bound = result.bind(leftVal);
@@ -3540,8 +3544,14 @@ function useAuthService() {
3540
3544
  [env]
3541
3545
  );
3542
3546
  const getTenantMapping = (0, import_react7.useCallback)(
3543
- async ({ shortName, service }) => {
3547
+ async ({
3548
+ cif,
3549
+ shortName,
3550
+ service,
3551
+ xNode
3552
+ }) => {
3544
3553
  const bodyData = {
3554
+ cif,
3545
3555
  short_name: shortName
3546
3556
  };
3547
3557
  return env?.requests.post(
@@ -3549,7 +3559,8 @@ function useAuthService() {
3549
3559
  bodyData,
3550
3560
  {
3551
3561
  headers: {
3552
- "Content-Type": "application/json"
3562
+ "Content-Type": "application/json",
3563
+ ...xNode ? { "X-Node": xNode } : {}
3553
3564
  }
3554
3565
  },
3555
3566
  service
package/dist/services.mjs CHANGED
@@ -1782,8 +1782,12 @@ function evaluate(ast, context = {}) {
1782
1782
  leftVal = toPyDict(leftVal);
1783
1783
  } else if (typeof leftVal === "number") {
1784
1784
  result = leftVal;
1785
+ } else if (Array.isArray(leftVal[ast2.key])) {
1786
+ result = leftVal[ast2.key]?.map(
1787
+ (value) => value?.id ?? value
1788
+ );
1785
1789
  } else {
1786
- result = leftVal[ast2.key]?.id ?? leftVal[ast2.key];
1790
+ result = leftVal[ast2.key]?.id ?? leftVal[ast2.key] ?? false;
1787
1791
  }
1788
1792
  if (typeof result === "function") {
1789
1793
  const bound = result.bind(leftVal);
@@ -3496,8 +3500,14 @@ function useAuthService() {
3496
3500
  [env]
3497
3501
  );
3498
3502
  const getTenantMapping = useCallback3(
3499
- async ({ shortName, service }) => {
3503
+ async ({
3504
+ cif,
3505
+ shortName,
3506
+ service,
3507
+ xNode
3508
+ }) => {
3500
3509
  const bodyData = {
3510
+ cif,
3501
3511
  short_name: shortName
3502
3512
  };
3503
3513
  return env?.requests.post(
@@ -3505,7 +3515,8 @@ function useAuthService() {
3505
3515
  bodyData,
3506
3516
  {
3507
3517
  headers: {
3508
- "Content-Type": "application/json"
3518
+ "Content-Type": "application/json",
3519
+ ...xNode ? { "X-Node": xNode } : {}
3509
3520
  }
3510
3521
  },
3511
3522
  service
package/dist/utils.js CHANGED
@@ -2116,8 +2116,12 @@ function evaluate(ast, context = {}) {
2116
2116
  leftVal = toPyDict(leftVal);
2117
2117
  } else if (typeof leftVal === "number") {
2118
2118
  result = leftVal;
2119
+ } else if (Array.isArray(leftVal[ast2.key])) {
2120
+ result = leftVal[ast2.key]?.map(
2121
+ (value) => value?.id ?? value
2122
+ );
2119
2123
  } else {
2120
- result = leftVal[ast2.key]?.id ?? leftVal[ast2.key];
2124
+ result = leftVal[ast2.key]?.id ?? leftVal[ast2.key] ?? false;
2121
2125
  }
2122
2126
  if (typeof result === "function") {
2123
2127
  const bound = result.bind(leftVal);
package/dist/utils.mjs CHANGED
@@ -2050,8 +2050,12 @@ function evaluate(ast, context = {}) {
2050
2050
  leftVal = toPyDict(leftVal);
2051
2051
  } else if (typeof leftVal === "number") {
2052
2052
  result = leftVal;
2053
+ } else if (Array.isArray(leftVal[ast2.key])) {
2054
+ result = leftVal[ast2.key]?.map(
2055
+ (value) => value?.id ?? value
2056
+ );
2053
2057
  } else {
2054
- result = leftVal[ast2.key]?.id ?? leftVal[ast2.key];
2058
+ result = leftVal[ast2.key]?.id ?? leftVal[ast2.key] ?? false;
2055
2059
  }
2056
2060
  if (typeof result === "function") {
2057
2061
  const bound = result.bind(leftVal);
package/package.json CHANGED
@@ -1,90 +1,90 @@
1
- {
2
- "name": "@fctc/interface-logic",
3
- "version": "3.2.3",
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": "3.2.4",
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
+ }