@fctc/interface-logic 3.0.7 → 3.0.8

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.d.mts CHANGED
@@ -42,7 +42,9 @@ declare const useValidateActionToken: () => _tanstack_react_query.UseMutationRes
42
42
  actionToken: string;
43
43
  }, unknown>;
44
44
 
45
- declare const useGetCompanyInfo: () => _tanstack_react_query.UseMutationResult<any, Error, number, unknown>;
45
+ declare const useGetCompanyInfo: ({ service }: {
46
+ service?: string;
47
+ }) => _tanstack_react_query.UseMutationResult<any, Error, number, unknown>;
46
48
 
47
49
  declare const useGetCurrentCompany: ({ service }: {
48
50
  service?: string;
@@ -276,7 +278,7 @@ declare const useGetGroups: ({ model, width_context, }: {
276
278
 
277
279
  declare const useGetListData: (listDataProps: any, queryKey?: any, enabled?: any, service?: string, xNode?: string) => _tanstack_react_query.UseQueryResult<any, Error>;
278
280
 
279
- declare const useGetMenu: (context: any, specification: any, enabled?: boolean, domain?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
281
+ declare const useGetMenu: (context: any, specification: any, enabled?: boolean, domain?: any, service?: string) => _tanstack_react_query.UseQueryResult<any, Error>;
280
282
 
281
283
  declare const useGetPrintReport: () => _tanstack_react_query.UseMutationResult<any, Error, {
282
284
  id: number;
package/dist/hooks.d.ts CHANGED
@@ -42,7 +42,9 @@ declare const useValidateActionToken: () => _tanstack_react_query.UseMutationRes
42
42
  actionToken: string;
43
43
  }, unknown>;
44
44
 
45
- declare const useGetCompanyInfo: () => _tanstack_react_query.UseMutationResult<any, Error, number, unknown>;
45
+ declare const useGetCompanyInfo: ({ service }: {
46
+ service?: string;
47
+ }) => _tanstack_react_query.UseMutationResult<any, Error, number, unknown>;
46
48
 
47
49
  declare const useGetCurrentCompany: ({ service }: {
48
50
  service?: string;
@@ -276,7 +278,7 @@ declare const useGetGroups: ({ model, width_context, }: {
276
278
 
277
279
  declare const useGetListData: (listDataProps: any, queryKey?: any, enabled?: any, service?: string, xNode?: string) => _tanstack_react_query.UseQueryResult<any, Error>;
278
280
 
279
- declare const useGetMenu: (context: any, specification: any, enabled?: boolean, domain?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
281
+ declare const useGetMenu: (context: any, specification: any, enabled?: boolean, domain?: any, service?: string) => _tanstack_react_query.UseQueryResult<any, Error>;
280
282
 
281
283
  declare const useGetPrintReport: () => _tanstack_react_query.UseMutationResult<any, Error, {
282
284
  id: number;
package/dist/hooks.js CHANGED
@@ -3404,7 +3404,7 @@ function useCompanyService() {
3404
3404
  [env]
3405
3405
  );
3406
3406
  const getInfoCompany = (0, import_react8.useCallback)(
3407
- async (id) => {
3407
+ async (id, service) => {
3408
3408
  const jsonData = {
3409
3409
  ids: [id],
3410
3410
  model: "res.company" /* COMPANY */,
@@ -3419,11 +3419,16 @@ function useCompanyService() {
3419
3419
  }
3420
3420
  }
3421
3421
  };
3422
- return await env.requests.post("/call" /* CALL_PATH */, jsonData, {
3423
- headers: {
3424
- "Content-Type": "application/json"
3425
- }
3426
- });
3422
+ return await env.requests.post(
3423
+ "/call" /* CALL_PATH */,
3424
+ jsonData,
3425
+ {
3426
+ headers: {
3427
+ "Content-Type": "application/json"
3428
+ }
3429
+ },
3430
+ service
3431
+ );
3427
3432
  },
3428
3433
  [env]
3429
3434
  );
@@ -4379,7 +4384,7 @@ function useViewService() {
4379
4384
  [env]
4380
4385
  );
4381
4386
  const getMenu = (0, import_react14.useCallback)(
4382
- async (context, specification, domain) => {
4387
+ async (context, specification, domain, service) => {
4383
4388
  const jsonData = {
4384
4389
  model: "ir.ui.menu" /* MENU */,
4385
4390
  method: "web_search_read" /* WEB_SEARCH_READ */,
@@ -4396,11 +4401,16 @@ function useViewService() {
4396
4401
  ]
4397
4402
  }
4398
4403
  };
4399
- return env?.requests?.post("/call" /* CALL_PATH */, jsonData, {
4400
- headers: {
4401
- "Content-Type": "application/json"
4402
- }
4403
- });
4404
+ return env?.requests?.post(
4405
+ "/call" /* CALL_PATH */,
4406
+ jsonData,
4407
+ {
4408
+ headers: {
4409
+ "Content-Type": "application/json"
4410
+ }
4411
+ },
4412
+ service
4413
+ );
4404
4414
  },
4405
4415
  [env]
4406
4416
  );
@@ -5476,10 +5486,10 @@ var use_validate_action_token_default = useValidateActionToken;
5476
5486
 
5477
5487
  // src/hooks/company/use-get-company-info.ts
5478
5488
  var import_react_query15 = require("@tanstack/react-query");
5479
- var useGetCompanyInfo = () => {
5489
+ var useGetCompanyInfo = ({ service }) => {
5480
5490
  const { getInfoCompany } = useCompanyService();
5481
5491
  return (0, import_react_query15.useMutation)({
5482
- mutationFn: (id) => getInfoCompany(id)
5492
+ mutationFn: (id) => getInfoCompany(id, service)
5483
5493
  });
5484
5494
  };
5485
5495
  var use_get_company_info_default = useGetCompanyInfo;
@@ -6313,11 +6323,11 @@ var use_get_list_data_default = useGetListData;
6313
6323
 
6314
6324
  // src/hooks/view/use-get-menu.ts
6315
6325
  var import_react_query51 = require("@tanstack/react-query");
6316
- var useGetMenu = (context, specification, enabled, domain) => {
6326
+ var useGetMenu = (context, specification, enabled, domain, service) => {
6317
6327
  const { getMenu } = useViewService();
6318
6328
  return (0, import_react_query51.useQuery)({
6319
6329
  queryKey: ["menus" /* MENU */, context],
6320
- queryFn: () => getMenu(context, specification, domain).then((res) => {
6330
+ queryFn: () => getMenu(context, specification, domain, service).then((res) => {
6321
6331
  if (res && res?.records && res?.records?.length > 0) {
6322
6332
  return res?.records;
6323
6333
  }
package/dist/hooks.mjs CHANGED
@@ -3281,7 +3281,7 @@ function useCompanyService() {
3281
3281
  [env]
3282
3282
  );
3283
3283
  const getInfoCompany = useCallback4(
3284
- async (id) => {
3284
+ async (id, service) => {
3285
3285
  const jsonData = {
3286
3286
  ids: [id],
3287
3287
  model: "res.company" /* COMPANY */,
@@ -3296,11 +3296,16 @@ function useCompanyService() {
3296
3296
  }
3297
3297
  }
3298
3298
  };
3299
- return await env.requests.post("/call" /* CALL_PATH */, jsonData, {
3300
- headers: {
3301
- "Content-Type": "application/json"
3302
- }
3303
- });
3299
+ return await env.requests.post(
3300
+ "/call" /* CALL_PATH */,
3301
+ jsonData,
3302
+ {
3303
+ headers: {
3304
+ "Content-Type": "application/json"
3305
+ }
3306
+ },
3307
+ service
3308
+ );
3304
3309
  },
3305
3310
  [env]
3306
3311
  );
@@ -4256,7 +4261,7 @@ function useViewService() {
4256
4261
  [env]
4257
4262
  );
4258
4263
  const getMenu = useCallback10(
4259
- async (context, specification, domain) => {
4264
+ async (context, specification, domain, service) => {
4260
4265
  const jsonData = {
4261
4266
  model: "ir.ui.menu" /* MENU */,
4262
4267
  method: "web_search_read" /* WEB_SEARCH_READ */,
@@ -4273,11 +4278,16 @@ function useViewService() {
4273
4278
  ]
4274
4279
  }
4275
4280
  };
4276
- return env?.requests?.post("/call" /* CALL_PATH */, jsonData, {
4277
- headers: {
4278
- "Content-Type": "application/json"
4279
- }
4280
- });
4281
+ return env?.requests?.post(
4282
+ "/call" /* CALL_PATH */,
4283
+ jsonData,
4284
+ {
4285
+ headers: {
4286
+ "Content-Type": "application/json"
4287
+ }
4288
+ },
4289
+ service
4290
+ );
4281
4291
  },
4282
4292
  [env]
4283
4293
  );
@@ -5353,10 +5363,10 @@ var use_validate_action_token_default = useValidateActionToken;
5353
5363
 
5354
5364
  // src/hooks/company/use-get-company-info.ts
5355
5365
  import { useMutation as useMutation13 } from "@tanstack/react-query";
5356
- var useGetCompanyInfo = () => {
5366
+ var useGetCompanyInfo = ({ service }) => {
5357
5367
  const { getInfoCompany } = useCompanyService();
5358
5368
  return useMutation13({
5359
- mutationFn: (id) => getInfoCompany(id)
5369
+ mutationFn: (id) => getInfoCompany(id, service)
5360
5370
  });
5361
5371
  };
5362
5372
  var use_get_company_info_default = useGetCompanyInfo;
@@ -6190,11 +6200,11 @@ var use_get_list_data_default = useGetListData;
6190
6200
 
6191
6201
  // src/hooks/view/use-get-menu.ts
6192
6202
  import { useQuery as useQuery15 } from "@tanstack/react-query";
6193
- var useGetMenu = (context, specification, enabled, domain) => {
6203
+ var useGetMenu = (context, specification, enabled, domain, service) => {
6194
6204
  const { getMenu } = useViewService();
6195
6205
  return useQuery15({
6196
6206
  queryKey: ["menus" /* MENU */, context],
6197
- queryFn: () => getMenu(context, specification, domain).then((res) => {
6207
+ queryFn: () => getMenu(context, specification, domain, service).then((res) => {
6198
6208
  if (res && res?.records && res?.records?.length > 0) {
6199
6209
  return res?.records;
6200
6210
  }
package/dist/provider.js CHANGED
@@ -3401,7 +3401,7 @@ function useCompanyService() {
3401
3401
  [env]
3402
3402
  );
3403
3403
  const getInfoCompany = (0, import_react4.useCallback)(
3404
- async (id) => {
3404
+ async (id, service) => {
3405
3405
  const jsonData = {
3406
3406
  ids: [id],
3407
3407
  model: "res.company" /* COMPANY */,
@@ -3416,11 +3416,16 @@ function useCompanyService() {
3416
3416
  }
3417
3417
  }
3418
3418
  };
3419
- return await env.requests.post("/call" /* CALL_PATH */, jsonData, {
3420
- headers: {
3421
- "Content-Type": "application/json"
3422
- }
3423
- });
3419
+ return await env.requests.post(
3420
+ "/call" /* CALL_PATH */,
3421
+ jsonData,
3422
+ {
3423
+ headers: {
3424
+ "Content-Type": "application/json"
3425
+ }
3426
+ },
3427
+ service
3428
+ );
3424
3429
  },
3425
3430
  [env]
3426
3431
  );
@@ -4376,7 +4381,7 @@ function useViewService() {
4376
4381
  [env]
4377
4382
  );
4378
4383
  const getMenu = (0, import_react10.useCallback)(
4379
- async (context, specification, domain) => {
4384
+ async (context, specification, domain, service) => {
4380
4385
  const jsonData = {
4381
4386
  model: "ir.ui.menu" /* MENU */,
4382
4387
  method: "web_search_read" /* WEB_SEARCH_READ */,
@@ -4393,11 +4398,16 @@ function useViewService() {
4393
4398
  ]
4394
4399
  }
4395
4400
  };
4396
- return env?.requests?.post("/call" /* CALL_PATH */, jsonData, {
4397
- headers: {
4398
- "Content-Type": "application/json"
4399
- }
4400
- });
4401
+ return env?.requests?.post(
4402
+ "/call" /* CALL_PATH */,
4403
+ jsonData,
4404
+ {
4405
+ headers: {
4406
+ "Content-Type": "application/json"
4407
+ }
4408
+ },
4409
+ service
4410
+ );
4401
4411
  },
4402
4412
  [env]
4403
4413
  );
@@ -5855,10 +5865,10 @@ var use_validate_action_token_default = useValidateActionToken;
5855
5865
 
5856
5866
  // src/hooks/company/use-get-company-info.ts
5857
5867
  var import_react_query15 = require("@tanstack/react-query");
5858
- var useGetCompanyInfo = () => {
5868
+ var useGetCompanyInfo = ({ service }) => {
5859
5869
  const { getInfoCompany } = useCompanyService();
5860
5870
  return (0, import_react_query15.useMutation)({
5861
- mutationFn: (id) => getInfoCompany(id)
5871
+ mutationFn: (id) => getInfoCompany(id, service)
5862
5872
  });
5863
5873
  };
5864
5874
  var use_get_company_info_default = useGetCompanyInfo;
@@ -6692,11 +6702,11 @@ var use_get_list_data_default = useGetListData;
6692
6702
 
6693
6703
  // src/hooks/view/use-get-menu.ts
6694
6704
  var import_react_query51 = require("@tanstack/react-query");
6695
- var useGetMenu = (context, specification, enabled, domain) => {
6705
+ var useGetMenu = (context, specification, enabled, domain, service) => {
6696
6706
  const { getMenu } = useViewService();
6697
6707
  return (0, import_react_query51.useQuery)({
6698
6708
  queryKey: ["menus" /* MENU */, context],
6699
- queryFn: () => getMenu(context, specification, domain).then((res) => {
6709
+ queryFn: () => getMenu(context, specification, domain, service).then((res) => {
6700
6710
  if (res && res?.records && res?.records?.length > 0) {
6701
6711
  return res?.records;
6702
6712
  }
package/dist/provider.mjs CHANGED
@@ -3358,7 +3358,7 @@ function useCompanyService() {
3358
3358
  [env]
3359
3359
  );
3360
3360
  const getInfoCompany = useCallback3(
3361
- async (id) => {
3361
+ async (id, service) => {
3362
3362
  const jsonData = {
3363
3363
  ids: [id],
3364
3364
  model: "res.company" /* COMPANY */,
@@ -3373,11 +3373,16 @@ function useCompanyService() {
3373
3373
  }
3374
3374
  }
3375
3375
  };
3376
- return await env.requests.post("/call" /* CALL_PATH */, jsonData, {
3377
- headers: {
3378
- "Content-Type": "application/json"
3379
- }
3380
- });
3376
+ return await env.requests.post(
3377
+ "/call" /* CALL_PATH */,
3378
+ jsonData,
3379
+ {
3380
+ headers: {
3381
+ "Content-Type": "application/json"
3382
+ }
3383
+ },
3384
+ service
3385
+ );
3381
3386
  },
3382
3387
  [env]
3383
3388
  );
@@ -4333,7 +4338,7 @@ function useViewService() {
4333
4338
  [env]
4334
4339
  );
4335
4340
  const getMenu = useCallback9(
4336
- async (context, specification, domain) => {
4341
+ async (context, specification, domain, service) => {
4337
4342
  const jsonData = {
4338
4343
  model: "ir.ui.menu" /* MENU */,
4339
4344
  method: "web_search_read" /* WEB_SEARCH_READ */,
@@ -4350,11 +4355,16 @@ function useViewService() {
4350
4355
  ]
4351
4356
  }
4352
4357
  };
4353
- return env?.requests?.post("/call" /* CALL_PATH */, jsonData, {
4354
- headers: {
4355
- "Content-Type": "application/json"
4356
- }
4357
- });
4358
+ return env?.requests?.post(
4359
+ "/call" /* CALL_PATH */,
4360
+ jsonData,
4361
+ {
4362
+ headers: {
4363
+ "Content-Type": "application/json"
4364
+ }
4365
+ },
4366
+ service
4367
+ );
4358
4368
  },
4359
4369
  [env]
4360
4370
  );
@@ -5812,10 +5822,10 @@ var use_validate_action_token_default = useValidateActionToken;
5812
5822
 
5813
5823
  // src/hooks/company/use-get-company-info.ts
5814
5824
  import { useMutation as useMutation13 } from "@tanstack/react-query";
5815
- var useGetCompanyInfo = () => {
5825
+ var useGetCompanyInfo = ({ service }) => {
5816
5826
  const { getInfoCompany } = useCompanyService();
5817
5827
  return useMutation13({
5818
- mutationFn: (id) => getInfoCompany(id)
5828
+ mutationFn: (id) => getInfoCompany(id, service)
5819
5829
  });
5820
5830
  };
5821
5831
  var use_get_company_info_default = useGetCompanyInfo;
@@ -6649,11 +6659,11 @@ var use_get_list_data_default = useGetListData;
6649
6659
 
6650
6660
  // src/hooks/view/use-get-menu.ts
6651
6661
  import { useQuery as useQuery15 } from "@tanstack/react-query";
6652
- var useGetMenu = (context, specification, enabled, domain) => {
6662
+ var useGetMenu = (context, specification, enabled, domain, service) => {
6653
6663
  const { getMenu } = useViewService();
6654
6664
  return useQuery15({
6655
6665
  queryKey: ["menus" /* MENU */, context],
6656
- queryFn: () => getMenu(context, specification, domain).then((res) => {
6666
+ queryFn: () => getMenu(context, specification, domain, service).then((res) => {
6657
6667
  if (res && res?.records && res?.records?.length > 0) {
6658
6668
  return res?.records;
6659
6669
  }
@@ -80,7 +80,7 @@ declare function useAuthService(): {
80
80
 
81
81
  declare function useCompanyService(): {
82
82
  getCurrentCompany: (service?: string) => Promise<any>;
83
- getInfoCompany: (id: number) => Promise<any>;
83
+ getInfoCompany: (id: number, service: any) => Promise<any>;
84
84
  };
85
85
 
86
86
  declare function useExcelService(): {
@@ -233,7 +233,7 @@ declare function useUserService(): {
233
233
 
234
234
  declare function useViewService(): {
235
235
  getView: ({ model, views, context, options, aid, service, xNode, }: GetViewParams) => Promise<any>;
236
- getMenu: (context: any, specification: any, domain: any) => Promise<any>;
236
+ getMenu: (context: any, specification: any, domain: any, service?: string) => Promise<any>;
237
237
  getActionDetail: (aid: number, context: any) => Promise<any>;
238
238
  getResequence: ({ model, ids, context, offset, }: {
239
239
  model: string;
@@ -80,7 +80,7 @@ declare function useAuthService(): {
80
80
 
81
81
  declare function useCompanyService(): {
82
82
  getCurrentCompany: (service?: string) => Promise<any>;
83
- getInfoCompany: (id: number) => Promise<any>;
83
+ getInfoCompany: (id: number, service: any) => Promise<any>;
84
84
  };
85
85
 
86
86
  declare function useExcelService(): {
@@ -233,7 +233,7 @@ declare function useUserService(): {
233
233
 
234
234
  declare function useViewService(): {
235
235
  getView: ({ model, views, context, options, aid, service, xNode, }: GetViewParams) => Promise<any>;
236
- getMenu: (context: any, specification: any, domain: any) => Promise<any>;
236
+ getMenu: (context: any, specification: any, domain: any, service?: string) => Promise<any>;
237
237
  getActionDetail: (aid: number, context: any) => Promise<any>;
238
238
  getResequence: ({ model, ids, context, offset, }: {
239
239
  model: string;
package/dist/services.js CHANGED
@@ -3560,7 +3560,7 @@ function useCompanyService() {
3560
3560
  [env]
3561
3561
  );
3562
3562
  const getInfoCompany = (0, import_react8.useCallback)(
3563
- async (id) => {
3563
+ async (id, service) => {
3564
3564
  const jsonData = {
3565
3565
  ids: [id],
3566
3566
  model: "res.company" /* COMPANY */,
@@ -3575,11 +3575,16 @@ function useCompanyService() {
3575
3575
  }
3576
3576
  }
3577
3577
  };
3578
- return await env.requests.post("/call" /* CALL_PATH */, jsonData, {
3579
- headers: {
3580
- "Content-Type": "application/json"
3581
- }
3582
- });
3578
+ return await env.requests.post(
3579
+ "/call" /* CALL_PATH */,
3580
+ jsonData,
3581
+ {
3582
+ headers: {
3583
+ "Content-Type": "application/json"
3584
+ }
3585
+ },
3586
+ service
3587
+ );
3583
3588
  },
3584
3589
  [env]
3585
3590
  );
@@ -4535,7 +4540,7 @@ function useViewService() {
4535
4540
  [env]
4536
4541
  );
4537
4542
  const getMenu = (0, import_react14.useCallback)(
4538
- async (context, specification, domain) => {
4543
+ async (context, specification, domain, service) => {
4539
4544
  const jsonData = {
4540
4545
  model: "ir.ui.menu" /* MENU */,
4541
4546
  method: "web_search_read" /* WEB_SEARCH_READ */,
@@ -4552,11 +4557,16 @@ function useViewService() {
4552
4557
  ]
4553
4558
  }
4554
4559
  };
4555
- return env?.requests?.post("/call" /* CALL_PATH */, jsonData, {
4556
- headers: {
4557
- "Content-Type": "application/json"
4558
- }
4559
- });
4560
+ return env?.requests?.post(
4561
+ "/call" /* CALL_PATH */,
4562
+ jsonData,
4563
+ {
4564
+ headers: {
4565
+ "Content-Type": "application/json"
4566
+ }
4567
+ },
4568
+ service
4569
+ );
4560
4570
  },
4561
4571
  [env]
4562
4572
  );
package/dist/services.mjs CHANGED
@@ -3516,7 +3516,7 @@ function useCompanyService() {
3516
3516
  [env]
3517
3517
  );
3518
3518
  const getInfoCompany = useCallback4(
3519
- async (id) => {
3519
+ async (id, service) => {
3520
3520
  const jsonData = {
3521
3521
  ids: [id],
3522
3522
  model: "res.company" /* COMPANY */,
@@ -3531,11 +3531,16 @@ function useCompanyService() {
3531
3531
  }
3532
3532
  }
3533
3533
  };
3534
- return await env.requests.post("/call" /* CALL_PATH */, jsonData, {
3535
- headers: {
3536
- "Content-Type": "application/json"
3537
- }
3538
- });
3534
+ return await env.requests.post(
3535
+ "/call" /* CALL_PATH */,
3536
+ jsonData,
3537
+ {
3538
+ headers: {
3539
+ "Content-Type": "application/json"
3540
+ }
3541
+ },
3542
+ service
3543
+ );
3539
3544
  },
3540
3545
  [env]
3541
3546
  );
@@ -4491,7 +4496,7 @@ function useViewService() {
4491
4496
  [env]
4492
4497
  );
4493
4498
  const getMenu = useCallback10(
4494
- async (context, specification, domain) => {
4499
+ async (context, specification, domain, service) => {
4495
4500
  const jsonData = {
4496
4501
  model: "ir.ui.menu" /* MENU */,
4497
4502
  method: "web_search_read" /* WEB_SEARCH_READ */,
@@ -4508,11 +4513,16 @@ function useViewService() {
4508
4513
  ]
4509
4514
  }
4510
4515
  };
4511
- return env?.requests?.post("/call" /* CALL_PATH */, jsonData, {
4512
- headers: {
4513
- "Content-Type": "application/json"
4514
- }
4515
- });
4516
+ return env?.requests?.post(
4517
+ "/call" /* CALL_PATH */,
4518
+ jsonData,
4519
+ {
4520
+ headers: {
4521
+ "Content-Type": "application/json"
4522
+ }
4523
+ },
4524
+ service
4525
+ );
4516
4526
  },
4517
4527
  [env]
4518
4528
  );
package/package.json CHANGED
@@ -1,90 +1,90 @@
1
- {
2
- "name": "@fctc/interface-logic",
3
- "version": "3.0.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": "3.0.8",
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
+ }