@fctc/interface-logic 1.7.1 → 1.7.2

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.
Files changed (38) hide show
  1. package/dist/{configs.mjs → configs.cjs} +161 -111
  2. package/dist/{configs.d.mts → configs.d.cts} +2 -1
  3. package/dist/configs.d.ts +1 -0
  4. package/dist/configs.js +124 -146
  5. package/dist/{constants.mjs → constants.cjs} +40 -2
  6. package/dist/constants.js +2 -41
  7. package/dist/{environment.mjs → environment.cjs} +2029 -1967
  8. package/dist/environment.d.cts +56 -0
  9. package/dist/environment.d.ts +24 -6
  10. package/dist/environment.js +2235 -2248
  11. package/dist/{hooks.mjs → hooks.cjs} +4021 -3773
  12. package/dist/{hooks.d.mts → hooks.d.cts} +2 -7
  13. package/dist/hooks.d.ts +1 -6
  14. package/dist/hooks.js +3916 -3873
  15. package/dist/{provider.mjs → provider.cjs} +688 -586
  16. package/dist/{provider.d.mts → provider.d.cts} +1 -1
  17. package/dist/provider.d.ts +1 -1
  18. package/dist/provider.js +648 -620
  19. package/dist/{services.mjs → services.cjs} +4186 -3980
  20. package/dist/{services.d.mts → services.d.cts} +1 -2
  21. package/dist/services.d.ts +0 -1
  22. package/dist/services.js +4141 -4021
  23. package/dist/{store.mjs → store.cjs} +149 -33
  24. package/dist/{store.d.mts → store.d.cts} +127 -155
  25. package/dist/store.d.ts +127 -155
  26. package/dist/store.js +44 -134
  27. package/dist/types.cjs +17 -0
  28. package/dist/{types.d.mts → types.d.cts} +1 -1
  29. package/dist/types.js +0 -18
  30. package/dist/{utils.mjs → utils.cjs} +202 -115
  31. package/dist/{utils.d.mts → utils.d.cts} +2 -2
  32. package/dist/utils.d.ts +2 -2
  33. package/dist/utils.js +135 -176
  34. package/package.json +82 -81
  35. package/dist/environment.d.mts +0 -38
  36. package/dist/types.mjs +0 -0
  37. /package/dist/{constants.d.mts → constants.d.cts} +0 -0
  38. /package/dist/{view-type-BGJfDe73.d.mts → view-type-BGJfDe73.d.cts} +0 -0
package/dist/store.d.ts CHANGED
@@ -75,9 +75,9 @@ declare const loginSlice: _reduxjs_toolkit.Slice<LoginStateType, {
75
75
  setRedirectTo: (state: immer.WritableDraft<LoginStateType>, action: PayloadAction<string>) => void;
76
76
  setForgotPasswordUrl: (state: immer.WritableDraft<LoginStateType>, action: PayloadAction<string>) => void;
77
77
  }, "login", "login", _reduxjs_toolkit.SliceSelectors<LoginStateType>>;
78
- declare const setDb: _reduxjs_toolkit.ActionCreatorWithPayload<string, "login/setDb">;
79
- declare const setRedirectTo: _reduxjs_toolkit.ActionCreatorWithPayload<string, "login/setRedirectTo">;
80
- declare const setForgotPasswordUrl: _reduxjs_toolkit.ActionCreatorWithPayload<string, "login/setForgotPasswordUrl">;
78
+ declare const setDb: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<string, "login/setDb">;
79
+ declare const setRedirectTo: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<string, "login/setRedirectTo">;
80
+ declare const setForgotPasswordUrl: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<string, "login/setForgotPasswordUrl">;
81
81
  declare const selectLogin: (state: RootState) => LoginStateType;
82
82
 
83
83
  interface Breadcrumb {
@@ -94,7 +94,7 @@ interface BreadcrumbsState {
94
94
  declare const breadcrumbsSlice: _reduxjs_toolkit.Slice<BreadcrumbsState, {
95
95
  setBreadCrumbs: (state: BreadcrumbsState, action: PayloadAction<Breadcrumb>) => void;
96
96
  }, "breadcrumbs", "breadcrumbs", _reduxjs_toolkit.SliceSelectors<BreadcrumbsState>>;
97
- declare const setBreadCrumbs: _reduxjs_toolkit.ActionCreatorWithPayload<Breadcrumb, "breadcrumbs/setBreadCrumbs">;
97
+ declare const setBreadCrumbs: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<Breadcrumb, "breadcrumbs/setBreadCrumbs">;
98
98
  declare const selectBreadCrumbs: (state: RootState) => BreadcrumbsState;
99
99
 
100
100
  interface ViewDataStore {
@@ -121,10 +121,10 @@ declare const formSlice: _reduxjs_toolkit.Slice<FormState, {
121
121
  setListSubject: (state: FormState, action: PayloadAction<any>) => void;
122
122
  setDataUser: (state: FormState, action: PayloadAction<any>) => void;
123
123
  }, "form", "form", _reduxjs_toolkit.SliceSelectors<FormState>>;
124
- declare const setViewDataStore: _reduxjs_toolkit.ActionCreatorWithPayload<ViewDataStore, "form/setViewDataStore">;
125
- declare const setIsShowingModalDetail: _reduxjs_toolkit.ActionCreatorWithPayload<boolean, "form/setIsShowingModalDetail">;
126
- declare const setIsShowModalTranslate: _reduxjs_toolkit.ActionCreatorWithPayload<boolean, "form/setIsShowModalTranslate">;
127
- declare const setFormSubmitComponent: _reduxjs_toolkit.ActionCreatorWithPayload<{
124
+ declare const setViewDataStore: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"form/setViewDataStore">;
125
+ declare const setIsShowingModalDetail: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<boolean, "form/setIsShowingModalDetail">;
126
+ declare const setIsShowModalTranslate: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<boolean, "form/setIsShowModalTranslate">;
127
+ declare const setFormSubmitComponent: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<{
128
128
  key: string;
129
129
  component: any;
130
130
  }, "form/setFormSubmitComponent">;
@@ -164,19 +164,19 @@ declare const searchSlice: _reduxjs_toolkit.Slice<SearchState, {
164
164
  }>) => void;
165
165
  clearSearchMap: (state: immer.WritableDraft<SearchState>) => void;
166
166
  }, "search", "search", _reduxjs_toolkit.SliceSelectors<SearchState>>;
167
- declare const setGroupByDomain: _reduxjs_toolkit.ActionCreatorWithPayload<string | null, "search/setGroupByDomain">;
167
+ declare const setGroupByDomain: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<string, "search/setGroupByDomain">;
168
168
  declare const setSelectedTags: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setSelectedTags">;
169
- declare const setSearchString: _reduxjs_toolkit.ActionCreatorWithPayload<string, "search/setSearchString">;
170
- declare const setHoveredIndexSearchList: _reduxjs_toolkit.ActionCreatorWithPayload<number | null, "search/setHoveredIndexSearchList">;
169
+ declare const setSearchString: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<string, "search/setSearchString">;
170
+ declare const setHoveredIndexSearchList: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<number, "search/setHoveredIndexSearchList">;
171
171
  declare const setFirstDomain: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setFirstDomain">;
172
172
  declare const setSearchBy: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"search/setSearchBy"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"search/setSearchBy">;
173
173
  declare const setFilterBy: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setFilterBy">;
174
- declare const setSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<Record<string, any>, "search/setSearchMap">;
175
- declare const updateSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<{
174
+ declare const setSearchMap: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"search/setSearchMap">;
175
+ declare const updateSearchMap: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<{
176
176
  key: string;
177
177
  value: any;
178
178
  }, "search/updateSearchMap">;
179
- declare const removeKeyFromSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<{
179
+ declare const removeKeyFromSearchMap: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<{
180
180
  key: string;
181
181
  item?: any;
182
182
  }, "search/removeKeyFromSearchMap">;
@@ -210,16 +210,16 @@ declare const listSlice: _reduxjs_toolkit.Slice<ListState, {
210
210
  setPage: (state: immer.WritableDraft<ListState>, action: PayloadAction<number>) => void;
211
211
  setDomainTable: (state: immer.WritableDraft<ListState>, action: PayloadAction<any[]>) => void;
212
212
  }, "list", "list", _reduxjs_toolkit.SliceSelectors<ListState>>;
213
- declare const setPageLimit: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setPageLimit">;
214
- declare const setFields: _reduxjs_toolkit.ActionCreatorWithPayload<Record<string, any>, "list/setFields">;
215
- declare const setOrder: _reduxjs_toolkit.ActionCreatorWithPayload<string | null, "list/setOrder">;
216
- declare const setSelectedRowKeys: _reduxjs_toolkit.ActionCreatorWithPayload<number[], "list/setSelectedRowKeys">;
217
- declare const setIndexRowTableModal: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setIndexRowTableModal">;
218
- declare const setIsUpdateTableModal: _reduxjs_toolkit.ActionCreatorWithPayload<boolean, "list/setIsUpdateTableModal">;
219
- declare const setPage: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setPage">;
213
+ declare const setPageLimit: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<number, "list/setPageLimit">;
214
+ declare const setFields: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"list/setFields">;
215
+ declare const setOrder: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<string, "list/setOrder">;
216
+ declare const setSelectedRowKeys: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<number[], "list/setSelectedRowKeys">;
217
+ declare const setIndexRowTableModal: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<number, "list/setIndexRowTableModal">;
218
+ declare const setIsUpdateTableModal: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<boolean, "list/setIsUpdateTableModal">;
219
+ declare const setPage: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<number, "list/setPage">;
220
220
  declare const setSelectedRadioKey: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"list/setSelectedRadioKey"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"list/setSelectedRadioKey">;
221
221
  declare const setTransferDetail: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"list/setTransferDetail"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"list/setTransferDetail">;
222
- declare const setDomainTable: _reduxjs_toolkit.ActionCreatorWithPayload<any[], "list/setDomainTable">;
222
+ declare const setDomainTable: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<any[], "list/setDomainTable">;
223
223
  declare const selectList: (state: RootState) => ListState;
224
224
 
225
225
  interface NavbarStateType {
@@ -255,29 +255,27 @@ declare const selectNavbar: (state: RootState) => NavbarStateType;
255
255
  declare const envStore: _reduxjs_toolkit.EnhancedStore<{
256
256
  env: {
257
257
  baseUrl: string;
258
- companies: never[];
258
+ requests: any;
259
+ companies: any[];
259
260
  user: {};
260
- db: string;
261
- refreshTokenEndpoint: string;
262
- config: null;
263
- envFile: null;
264
- requests: null;
261
+ config: any;
262
+ envFile: any;
265
263
  defaultCompany: {
266
- id: null;
264
+ id: any;
267
265
  logo: string;
268
266
  secondary_color: string;
269
267
  primary_color: string;
270
268
  };
271
269
  context: {
272
- uid: null;
273
- allowed_company_ids: never[];
270
+ uid: any;
271
+ allowed_company_ids: any[];
274
272
  lang: string;
275
273
  tz: string;
276
274
  };
277
275
  };
278
276
  header: {
279
277
  value: {
280
- allowedCompanyIds: never[];
278
+ allowedCompanyIds: any[];
281
279
  };
282
280
  };
283
281
  navbar: NavbarStateType;
@@ -292,29 +290,27 @@ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
292
290
  dispatch: redux_thunk.ThunkDispatch<{
293
291
  env: {
294
292
  baseUrl: string;
295
- companies: never[];
293
+ requests: any;
294
+ companies: any[];
296
295
  user: {};
297
- db: string;
298
- refreshTokenEndpoint: string;
299
- config: null;
300
- envFile: null;
301
- requests: null;
296
+ config: any;
297
+ envFile: any;
302
298
  defaultCompany: {
303
- id: null;
299
+ id: any;
304
300
  logo: string;
305
301
  secondary_color: string;
306
302
  primary_color: string;
307
303
  };
308
304
  context: {
309
- uid: null;
310
- allowed_company_ids: never[];
305
+ uid: any;
306
+ allowed_company_ids: any[];
311
307
  lang: string;
312
308
  tz: string;
313
309
  };
314
310
  };
315
311
  header: {
316
312
  value: {
317
- allowedCompanyIds: never[];
313
+ allowedCompanyIds: any[];
318
314
  };
319
315
  };
320
316
  navbar: NavbarStateType;
@@ -330,44 +326,40 @@ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
330
326
 
331
327
  declare const envSlice: _reduxjs_toolkit.Slice<{
332
328
  baseUrl: string;
333
- companies: never[];
329
+ requests: any;
330
+ companies: any[];
334
331
  user: {};
335
- db: string;
336
- refreshTokenEndpoint: string;
337
- config: null;
338
- envFile: null;
339
- requests: null;
332
+ config: any;
333
+ envFile: any;
340
334
  defaultCompany: {
341
- id: null;
335
+ id: any;
342
336
  logo: string;
343
337
  secondary_color: string;
344
338
  primary_color: string;
345
339
  };
346
340
  context: {
347
- uid: null;
348
- allowed_company_ids: never[];
341
+ uid: any;
342
+ allowed_company_ids: any[];
349
343
  lang: string;
350
344
  tz: string;
351
345
  };
352
346
  }, {
353
347
  setEnv: (state: immer.WritableDraft<{
354
348
  baseUrl: string;
355
- companies: never[];
349
+ requests: any;
350
+ companies: any[];
356
351
  user: {};
357
- db: string;
358
- refreshTokenEndpoint: string;
359
- config: null;
360
- envFile: null;
361
- requests: null;
352
+ config: any;
353
+ envFile: any;
362
354
  defaultCompany: {
363
- id: null;
355
+ id: any;
364
356
  logo: string;
365
357
  secondary_color: string;
366
358
  primary_color: string;
367
359
  };
368
360
  context: {
369
- uid: null;
370
- allowed_company_ids: never[];
361
+ uid: any;
362
+ allowed_company_ids: any[];
371
363
  lang: string;
372
364
  tz: string;
373
365
  };
@@ -377,22 +369,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
377
369
  }) => void;
378
370
  setUid: (state: immer.WritableDraft<{
379
371
  baseUrl: string;
380
- companies: never[];
372
+ requests: any;
373
+ companies: any[];
381
374
  user: {};
382
- db: string;
383
- refreshTokenEndpoint: string;
384
- config: null;
385
- envFile: null;
386
- requests: null;
375
+ config: any;
376
+ envFile: any;
387
377
  defaultCompany: {
388
- id: null;
378
+ id: any;
389
379
  logo: string;
390
380
  secondary_color: string;
391
381
  primary_color: string;
392
382
  };
393
383
  context: {
394
- uid: null;
395
- allowed_company_ids: never[];
384
+ uid: any;
385
+ allowed_company_ids: any[];
396
386
  lang: string;
397
387
  tz: string;
398
388
  };
@@ -402,22 +392,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
402
392
  }) => void;
403
393
  setAllowCompanies: (state: immer.WritableDraft<{
404
394
  baseUrl: string;
405
- companies: never[];
395
+ requests: any;
396
+ companies: any[];
406
397
  user: {};
407
- db: string;
408
- refreshTokenEndpoint: string;
409
- config: null;
410
- envFile: null;
411
- requests: null;
398
+ config: any;
399
+ envFile: any;
412
400
  defaultCompany: {
413
- id: null;
401
+ id: any;
414
402
  logo: string;
415
403
  secondary_color: string;
416
404
  primary_color: string;
417
405
  };
418
406
  context: {
419
- uid: null;
420
- allowed_company_ids: never[];
407
+ uid: any;
408
+ allowed_company_ids: any[];
421
409
  lang: string;
422
410
  tz: string;
423
411
  };
@@ -427,22 +415,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
427
415
  }) => void;
428
416
  setCompanies: (state: immer.WritableDraft<{
429
417
  baseUrl: string;
430
- companies: never[];
418
+ requests: any;
419
+ companies: any[];
431
420
  user: {};
432
- db: string;
433
- refreshTokenEndpoint: string;
434
- config: null;
435
- envFile: null;
436
- requests: null;
421
+ config: any;
422
+ envFile: any;
437
423
  defaultCompany: {
438
- id: null;
424
+ id: any;
439
425
  logo: string;
440
426
  secondary_color: string;
441
427
  primary_color: string;
442
428
  };
443
429
  context: {
444
- uid: null;
445
- allowed_company_ids: never[];
430
+ uid: any;
431
+ allowed_company_ids: any[];
446
432
  lang: string;
447
433
  tz: string;
448
434
  };
@@ -452,22 +438,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
452
438
  }) => void;
453
439
  setDefaultCompany: (state: immer.WritableDraft<{
454
440
  baseUrl: string;
455
- companies: never[];
441
+ requests: any;
442
+ companies: any[];
456
443
  user: {};
457
- db: string;
458
- refreshTokenEndpoint: string;
459
- config: null;
460
- envFile: null;
461
- requests: null;
444
+ config: any;
445
+ envFile: any;
462
446
  defaultCompany: {
463
- id: null;
447
+ id: any;
464
448
  logo: string;
465
449
  secondary_color: string;
466
450
  primary_color: string;
467
451
  };
468
452
  context: {
469
- uid: null;
470
- allowed_company_ids: never[];
453
+ uid: any;
454
+ allowed_company_ids: any[];
471
455
  lang: string;
472
456
  tz: string;
473
457
  };
@@ -477,22 +461,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
477
461
  }) => void;
478
462
  setLang: (state: immer.WritableDraft<{
479
463
  baseUrl: string;
480
- companies: never[];
464
+ requests: any;
465
+ companies: any[];
481
466
  user: {};
482
- db: string;
483
- refreshTokenEndpoint: string;
484
- config: null;
485
- envFile: null;
486
- requests: null;
467
+ config: any;
468
+ envFile: any;
487
469
  defaultCompany: {
488
- id: null;
470
+ id: any;
489
471
  logo: string;
490
472
  secondary_color: string;
491
473
  primary_color: string;
492
474
  };
493
475
  context: {
494
- uid: null;
495
- allowed_company_ids: never[];
476
+ uid: any;
477
+ allowed_company_ids: any[];
496
478
  lang: string;
497
479
  tz: string;
498
480
  };
@@ -502,22 +484,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
502
484
  }) => void;
503
485
  setUser: (state: immer.WritableDraft<{
504
486
  baseUrl: string;
505
- companies: never[];
487
+ requests: any;
488
+ companies: any[];
506
489
  user: {};
507
- db: string;
508
- refreshTokenEndpoint: string;
509
- config: null;
510
- envFile: null;
511
- requests: null;
490
+ config: any;
491
+ envFile: any;
512
492
  defaultCompany: {
513
- id: null;
493
+ id: any;
514
494
  logo: string;
515
495
  secondary_color: string;
516
496
  primary_color: string;
517
497
  };
518
498
  context: {
519
- uid: null;
520
- allowed_company_ids: never[];
499
+ uid: any;
500
+ allowed_company_ids: any[];
521
501
  lang: string;
522
502
  tz: string;
523
503
  };
@@ -527,22 +507,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
527
507
  }) => void;
528
508
  setConfig: (state: immer.WritableDraft<{
529
509
  baseUrl: string;
530
- companies: never[];
510
+ requests: any;
511
+ companies: any[];
531
512
  user: {};
532
- db: string;
533
- refreshTokenEndpoint: string;
534
- config: null;
535
- envFile: null;
536
- requests: null;
513
+ config: any;
514
+ envFile: any;
537
515
  defaultCompany: {
538
- id: null;
516
+ id: any;
539
517
  logo: string;
540
518
  secondary_color: string;
541
519
  primary_color: string;
542
520
  };
543
521
  context: {
544
- uid: null;
545
- allowed_company_ids: never[];
522
+ uid: any;
523
+ allowed_company_ids: any[];
546
524
  lang: string;
547
525
  tz: string;
548
526
  };
@@ -552,22 +530,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
552
530
  }) => void;
553
531
  setEnvFile: (state: immer.WritableDraft<{
554
532
  baseUrl: string;
555
- companies: never[];
533
+ requests: any;
534
+ companies: any[];
556
535
  user: {};
557
- db: string;
558
- refreshTokenEndpoint: string;
559
- config: null;
560
- envFile: null;
561
- requests: null;
536
+ config: any;
537
+ envFile: any;
562
538
  defaultCompany: {
563
- id: null;
539
+ id: any;
564
540
  logo: string;
565
541
  secondary_color: string;
566
542
  primary_color: string;
567
543
  };
568
544
  context: {
569
- uid: null;
570
- allowed_company_ids: never[];
545
+ uid: any;
546
+ allowed_company_ids: any[];
571
547
  lang: string;
572
548
  tz: string;
573
549
  };
@@ -577,22 +553,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
577
553
  }) => void;
578
554
  }, "env", "env", _reduxjs_toolkit.SliceSelectors<{
579
555
  baseUrl: string;
580
- companies: never[];
556
+ requests: any;
557
+ companies: any[];
581
558
  user: {};
582
- db: string;
583
- refreshTokenEndpoint: string;
584
- config: null;
585
- envFile: null;
586
- requests: null;
559
+ config: any;
560
+ envFile: any;
587
561
  defaultCompany: {
588
- id: null;
562
+ id: any;
589
563
  logo: string;
590
564
  secondary_color: string;
591
565
  primary_color: string;
592
566
  };
593
567
  context: {
594
- uid: null;
595
- allowed_company_ids: never[];
568
+ uid: any;
569
+ allowed_company_ids: any[];
596
570
  lang: string;
597
571
  tz: string;
598
572
  };
@@ -608,22 +582,20 @@ declare const setConfig: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/set
608
582
  declare const setEnvFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setEnvFile">;
609
583
  declare const selectEnv: (state: RootState) => {
610
584
  baseUrl: string;
611
- companies: never[];
585
+ requests: any;
586
+ companies: any[];
612
587
  user: {};
613
- db: string;
614
- refreshTokenEndpoint: string;
615
- config: null;
616
- envFile: null;
617
- requests: null;
588
+ config: any;
589
+ envFile: any;
618
590
  defaultCompany: {
619
- id: null;
591
+ id: any;
620
592
  logo: string;
621
593
  secondary_color: string;
622
594
  primary_color: string;
623
595
  };
624
596
  context: {
625
- uid: null;
626
- allowed_company_ids: never[];
597
+ uid: any;
598
+ allowed_company_ids: any[];
627
599
  lang: string;
628
600
  tz: string;
629
601
  };
@@ -631,12 +603,12 @@ declare const selectEnv: (state: RootState) => {
631
603
 
632
604
  declare const headerSlice: _reduxjs_toolkit.Slice<{
633
605
  value: {
634
- allowedCompanyIds: never[];
606
+ allowedCompanyIds: any[];
635
607
  };
636
608
  }, {
637
609
  setHeader: (state: immer.WritableDraft<{
638
610
  value: {
639
- allowedCompanyIds: never[];
611
+ allowedCompanyIds: any[];
640
612
  };
641
613
  }>, action: {
642
614
  payload: any;
@@ -644,7 +616,7 @@ declare const headerSlice: _reduxjs_toolkit.Slice<{
644
616
  }) => void;
645
617
  setAllowedCompanyIds: (state: immer.WritableDraft<{
646
618
  value: {
647
- allowedCompanyIds: never[];
619
+ allowedCompanyIds: any[];
648
620
  };
649
621
  }>, action: {
650
622
  payload: any;
@@ -652,14 +624,14 @@ declare const headerSlice: _reduxjs_toolkit.Slice<{
652
624
  }) => void;
653
625
  }, "header", "header", _reduxjs_toolkit.SliceSelectors<{
654
626
  value: {
655
- allowedCompanyIds: never[];
627
+ allowedCompanyIds: any[];
656
628
  };
657
629
  }>>;
658
630
  declare const setAllowedCompanyIds: _reduxjs_toolkit.ActionCreatorWithPayload<any, "header/setAllowedCompanyIds">;
659
631
  declare const setHeader: _reduxjs_toolkit.ActionCreatorWithPayload<any, "header/setHeader">;
660
632
  declare const selectHeader: (state: RootState) => {
661
633
  value: {
662
- allowedCompanyIds: never[];
634
+ allowedCompanyIds: any[];
663
635
  };
664
636
  };
665
637