@fctc/interface-logic 1.7.4 → 1.7.6

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/store.d.mts CHANGED
@@ -255,25 +255,11 @@ declare const selectNavbar: (state: RootState) => NavbarStateType;
255
255
  declare const envStore: _reduxjs_toolkit.EnhancedStore<{
256
256
  env: {
257
257
  baseUrl: string;
258
+ requests: null;
258
259
  companies: never[];
259
260
  user: {};
260
- db: string;
261
- refreshTokenEndpoint: string;
262
- config: {
263
- grantType: string;
264
- clientId: string;
265
- clientSecret: string;
266
- redirectUri: string;
267
- };
261
+ config: null;
268
262
  envFile: null;
269
- requests: {
270
- get: (url: string, headers?: any) => Promise<any>;
271
- post: (url: string, body: any, headers?: any) => Promise<any>;
272
- post_excel: (url: string, body: any, headers?: any) => Promise<any>;
273
- put: (url: string, body: any, headers?: any) => Promise<any>;
274
- patch: (url: string, body: any) => Promise<any>;
275
- delete: (url: string, body: any) => Promise<any>;
276
- };
277
263
  defaultCompany: {
278
264
  id: null;
279
265
  logo: string;
@@ -304,25 +290,11 @@ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
304
290
  dispatch: redux_thunk.ThunkDispatch<{
305
291
  env: {
306
292
  baseUrl: string;
293
+ requests: null;
307
294
  companies: never[];
308
295
  user: {};
309
- db: string;
310
- refreshTokenEndpoint: string;
311
- config: {
312
- grantType: string;
313
- clientId: string;
314
- clientSecret: string;
315
- redirectUri: string;
316
- };
296
+ config: null;
317
297
  envFile: null;
318
- requests: {
319
- get: (url: string, headers?: any) => Promise<any>;
320
- post: (url: string, body: any, headers?: any) => Promise<any>;
321
- post_excel: (url: string, body: any, headers?: any) => Promise<any>;
322
- put: (url: string, body: any, headers?: any) => Promise<any>;
323
- patch: (url: string, body: any) => Promise<any>;
324
- delete: (url: string, body: any) => Promise<any>;
325
- };
326
298
  defaultCompany: {
327
299
  id: null;
328
300
  logo: string;
@@ -354,25 +326,11 @@ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
354
326
 
355
327
  declare const envSlice: _reduxjs_toolkit.Slice<{
356
328
  baseUrl: string;
329
+ requests: null;
357
330
  companies: never[];
358
331
  user: {};
359
- db: string;
360
- refreshTokenEndpoint: string;
361
- config: {
362
- grantType: string;
363
- clientId: string;
364
- clientSecret: string;
365
- redirectUri: string;
366
- };
332
+ config: null;
367
333
  envFile: null;
368
- requests: {
369
- get: (url: string, headers?: any) => Promise<any>;
370
- post: (url: string, body: any, headers?: any) => Promise<any>;
371
- post_excel: (url: string, body: any, headers?: any) => Promise<any>;
372
- put: (url: string, body: any, headers?: any) => Promise<any>;
373
- patch: (url: string, body: any) => Promise<any>;
374
- delete: (url: string, body: any) => Promise<any>;
375
- };
376
334
  defaultCompany: {
377
335
  id: null;
378
336
  logo: string;
@@ -388,25 +346,11 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
388
346
  }, {
389
347
  setEnv: (state: immer.WritableDraft<{
390
348
  baseUrl: string;
349
+ requests: null;
391
350
  companies: never[];
392
351
  user: {};
393
- db: string;
394
- refreshTokenEndpoint: string;
395
- config: {
396
- grantType: string;
397
- clientId: string;
398
- clientSecret: string;
399
- redirectUri: string;
400
- };
352
+ config: null;
401
353
  envFile: null;
402
- requests: {
403
- get: (url: string, headers?: any) => Promise<any>;
404
- post: (url: string, body: any, headers?: any) => Promise<any>;
405
- post_excel: (url: string, body: any, headers?: any) => Promise<any>;
406
- put: (url: string, body: any, headers?: any) => Promise<any>;
407
- patch: (url: string, body: any) => Promise<any>;
408
- delete: (url: string, body: any) => Promise<any>;
409
- };
410
354
  defaultCompany: {
411
355
  id: null;
412
356
  logo: string;
@@ -425,25 +369,11 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
425
369
  }) => void;
426
370
  setUid: (state: immer.WritableDraft<{
427
371
  baseUrl: string;
372
+ requests: null;
428
373
  companies: never[];
429
374
  user: {};
430
- db: string;
431
- refreshTokenEndpoint: string;
432
- config: {
433
- grantType: string;
434
- clientId: string;
435
- clientSecret: string;
436
- redirectUri: string;
437
- };
375
+ config: null;
438
376
  envFile: null;
439
- requests: {
440
- get: (url: string, headers?: any) => Promise<any>;
441
- post: (url: string, body: any, headers?: any) => Promise<any>;
442
- post_excel: (url: string, body: any, headers?: any) => Promise<any>;
443
- put: (url: string, body: any, headers?: any) => Promise<any>;
444
- patch: (url: string, body: any) => Promise<any>;
445
- delete: (url: string, body: any) => Promise<any>;
446
- };
447
377
  defaultCompany: {
448
378
  id: null;
449
379
  logo: string;
@@ -462,25 +392,11 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
462
392
  }) => void;
463
393
  setAllowCompanies: (state: immer.WritableDraft<{
464
394
  baseUrl: string;
395
+ requests: null;
465
396
  companies: never[];
466
397
  user: {};
467
- db: string;
468
- refreshTokenEndpoint: string;
469
- config: {
470
- grantType: string;
471
- clientId: string;
472
- clientSecret: string;
473
- redirectUri: string;
474
- };
398
+ config: null;
475
399
  envFile: null;
476
- requests: {
477
- get: (url: string, headers?: any) => Promise<any>;
478
- post: (url: string, body: any, headers?: any) => Promise<any>;
479
- post_excel: (url: string, body: any, headers?: any) => Promise<any>;
480
- put: (url: string, body: any, headers?: any) => Promise<any>;
481
- patch: (url: string, body: any) => Promise<any>;
482
- delete: (url: string, body: any) => Promise<any>;
483
- };
484
400
  defaultCompany: {
485
401
  id: null;
486
402
  logo: string;
@@ -499,25 +415,11 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
499
415
  }) => void;
500
416
  setCompanies: (state: immer.WritableDraft<{
501
417
  baseUrl: string;
418
+ requests: null;
502
419
  companies: never[];
503
420
  user: {};
504
- db: string;
505
- refreshTokenEndpoint: string;
506
- config: {
507
- grantType: string;
508
- clientId: string;
509
- clientSecret: string;
510
- redirectUri: string;
511
- };
421
+ config: null;
512
422
  envFile: null;
513
- requests: {
514
- get: (url: string, headers?: any) => Promise<any>;
515
- post: (url: string, body: any, headers?: any) => Promise<any>;
516
- post_excel: (url: string, body: any, headers?: any) => Promise<any>;
517
- put: (url: string, body: any, headers?: any) => Promise<any>;
518
- patch: (url: string, body: any) => Promise<any>;
519
- delete: (url: string, body: any) => Promise<any>;
520
- };
521
423
  defaultCompany: {
522
424
  id: null;
523
425
  logo: string;
@@ -536,25 +438,11 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
536
438
  }) => void;
537
439
  setDefaultCompany: (state: immer.WritableDraft<{
538
440
  baseUrl: string;
441
+ requests: null;
539
442
  companies: never[];
540
443
  user: {};
541
- db: string;
542
- refreshTokenEndpoint: string;
543
- config: {
544
- grantType: string;
545
- clientId: string;
546
- clientSecret: string;
547
- redirectUri: string;
548
- };
444
+ config: null;
549
445
  envFile: null;
550
- requests: {
551
- get: (url: string, headers?: any) => Promise<any>;
552
- post: (url: string, body: any, headers?: any) => Promise<any>;
553
- post_excel: (url: string, body: any, headers?: any) => Promise<any>;
554
- put: (url: string, body: any, headers?: any) => Promise<any>;
555
- patch: (url: string, body: any) => Promise<any>;
556
- delete: (url: string, body: any) => Promise<any>;
557
- };
558
446
  defaultCompany: {
559
447
  id: null;
560
448
  logo: string;
@@ -573,25 +461,11 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
573
461
  }) => void;
574
462
  setLang: (state: immer.WritableDraft<{
575
463
  baseUrl: string;
464
+ requests: null;
576
465
  companies: never[];
577
466
  user: {};
578
- db: string;
579
- refreshTokenEndpoint: string;
580
- config: {
581
- grantType: string;
582
- clientId: string;
583
- clientSecret: string;
584
- redirectUri: string;
585
- };
467
+ config: null;
586
468
  envFile: null;
587
- requests: {
588
- get: (url: string, headers?: any) => Promise<any>;
589
- post: (url: string, body: any, headers?: any) => Promise<any>;
590
- post_excel: (url: string, body: any, headers?: any) => Promise<any>;
591
- put: (url: string, body: any, headers?: any) => Promise<any>;
592
- patch: (url: string, body: any) => Promise<any>;
593
- delete: (url: string, body: any) => Promise<any>;
594
- };
595
469
  defaultCompany: {
596
470
  id: null;
597
471
  logo: string;
@@ -610,25 +484,11 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
610
484
  }) => void;
611
485
  setUser: (state: immer.WritableDraft<{
612
486
  baseUrl: string;
487
+ requests: null;
613
488
  companies: never[];
614
489
  user: {};
615
- db: string;
616
- refreshTokenEndpoint: string;
617
- config: {
618
- grantType: string;
619
- clientId: string;
620
- clientSecret: string;
621
- redirectUri: string;
622
- };
490
+ config: null;
623
491
  envFile: null;
624
- requests: {
625
- get: (url: string, headers?: any) => Promise<any>;
626
- post: (url: string, body: any, headers?: any) => Promise<any>;
627
- post_excel: (url: string, body: any, headers?: any) => Promise<any>;
628
- put: (url: string, body: any, headers?: any) => Promise<any>;
629
- patch: (url: string, body: any) => Promise<any>;
630
- delete: (url: string, body: any) => Promise<any>;
631
- };
632
492
  defaultCompany: {
633
493
  id: null;
634
494
  logo: string;
@@ -647,25 +507,11 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
647
507
  }) => void;
648
508
  setConfig: (state: immer.WritableDraft<{
649
509
  baseUrl: string;
510
+ requests: null;
650
511
  companies: never[];
651
512
  user: {};
652
- db: string;
653
- refreshTokenEndpoint: string;
654
- config: {
655
- grantType: string;
656
- clientId: string;
657
- clientSecret: string;
658
- redirectUri: string;
659
- };
513
+ config: null;
660
514
  envFile: null;
661
- requests: {
662
- get: (url: string, headers?: any) => Promise<any>;
663
- post: (url: string, body: any, headers?: any) => Promise<any>;
664
- post_excel: (url: string, body: any, headers?: any) => Promise<any>;
665
- put: (url: string, body: any, headers?: any) => Promise<any>;
666
- patch: (url: string, body: any) => Promise<any>;
667
- delete: (url: string, body: any) => Promise<any>;
668
- };
669
515
  defaultCompany: {
670
516
  id: null;
671
517
  logo: string;
@@ -684,25 +530,11 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
684
530
  }) => void;
685
531
  setEnvFile: (state: immer.WritableDraft<{
686
532
  baseUrl: string;
533
+ requests: null;
687
534
  companies: never[];
688
535
  user: {};
689
- db: string;
690
- refreshTokenEndpoint: string;
691
- config: {
692
- grantType: string;
693
- clientId: string;
694
- clientSecret: string;
695
- redirectUri: string;
696
- };
536
+ config: null;
697
537
  envFile: null;
698
- requests: {
699
- get: (url: string, headers?: any) => Promise<any>;
700
- post: (url: string, body: any, headers?: any) => Promise<any>;
701
- post_excel: (url: string, body: any, headers?: any) => Promise<any>;
702
- put: (url: string, body: any, headers?: any) => Promise<any>;
703
- patch: (url: string, body: any) => Promise<any>;
704
- delete: (url: string, body: any) => Promise<any>;
705
- };
706
538
  defaultCompany: {
707
539
  id: null;
708
540
  logo: string;
@@ -721,25 +553,11 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
721
553
  }) => void;
722
554
  }, "env", "env", _reduxjs_toolkit.SliceSelectors<{
723
555
  baseUrl: string;
556
+ requests: null;
724
557
  companies: never[];
725
558
  user: {};
726
- db: string;
727
- refreshTokenEndpoint: string;
728
- config: {
729
- grantType: string;
730
- clientId: string;
731
- clientSecret: string;
732
- redirectUri: string;
733
- };
559
+ config: null;
734
560
  envFile: null;
735
- requests: {
736
- get: (url: string, headers?: any) => Promise<any>;
737
- post: (url: string, body: any, headers?: any) => Promise<any>;
738
- post_excel: (url: string, body: any, headers?: any) => Promise<any>;
739
- put: (url: string, body: any, headers?: any) => Promise<any>;
740
- patch: (url: string, body: any) => Promise<any>;
741
- delete: (url: string, body: any) => Promise<any>;
742
- };
743
561
  defaultCompany: {
744
562
  id: null;
745
563
  logo: string;
@@ -764,25 +582,11 @@ declare const setConfig: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/set
764
582
  declare const setEnvFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setEnvFile">;
765
583
  declare const selectEnv: (state: RootState) => {
766
584
  baseUrl: string;
585
+ requests: null;
767
586
  companies: never[];
768
587
  user: {};
769
- db: string;
770
- refreshTokenEndpoint: string;
771
- config: {
772
- grantType: string;
773
- clientId: string;
774
- clientSecret: string;
775
- redirectUri: string;
776
- };
588
+ config: null;
777
589
  envFile: null;
778
- requests: {
779
- get: (url: string, headers?: any) => Promise<any>;
780
- post: (url: string, body: any, headers?: any) => Promise<any>;
781
- post_excel: (url: string, body: any, headers?: any) => Promise<any>;
782
- put: (url: string, body: any, headers?: any) => Promise<any>;
783
- patch: (url: string, body: any) => Promise<any>;
784
- delete: (url: string, body: any) => Promise<any>;
785
- };
786
590
  defaultCompany: {
787
591
  id: null;
788
592
  logo: string;