@fctc/interface-logic 5.4.4 → 5.4.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/{chunk-VW23CIGB.mjs → chunk-D46PPNNF.mjs} +2 -1
- package/dist/{chunk-KNKM7FIC.js → chunk-EYIPNT6Q.js} +344 -977
- package/dist/{chunk-AZJHYM4J.js → chunk-GE6GQ426.js} +2 -1
- package/dist/{chunk-242W3QUZ.mjs → chunk-ZJBXSPOI.mjs} +319 -952
- package/dist/hooks.d.mts +50 -207
- package/dist/hooks.d.ts +50 -207
- package/dist/hooks.js +160 -160
- package/dist/hooks.mjs +2 -2
- package/dist/index.js +182 -182
- package/dist/index.mjs +2 -2
- package/dist/models.js +2 -2
- package/dist/models.mjs +1 -1
- package/dist/provider.d.mts +3 -3
- package/dist/provider.d.ts +3 -3
- package/dist/provider.js +12 -12
- package/dist/provider.mjs +2 -2
- package/dist/services.d.mts +5 -206
- package/dist/services.d.ts +5 -206
- package/dist/services.js +13 -13
- package/dist/services.mjs +2 -2
- package/package.json +93 -93
package/dist/services.d.ts
CHANGED
|
@@ -674,134 +674,6 @@ declare const serviceFactories: readonly [(env: any) => {
|
|
|
674
674
|
xNode?: string;
|
|
675
675
|
partnerId: number;
|
|
676
676
|
}) => Promise<any>;
|
|
677
|
-
}, () => {
|
|
678
|
-
addFloorSupabase: (values: {
|
|
679
|
-
name: string;
|
|
680
|
-
sequence?: number;
|
|
681
|
-
pos_config_ids?: number[];
|
|
682
|
-
table_ids?: number[];
|
|
683
|
-
}) => Promise<[number, string][] | null>;
|
|
684
|
-
}, () => {
|
|
685
|
-
addTableSupabase: (values: {
|
|
686
|
-
floor_id?: number;
|
|
687
|
-
table_number?: number;
|
|
688
|
-
seats?: number;
|
|
689
|
-
active?: boolean;
|
|
690
|
-
shape?: "square" | "round";
|
|
691
|
-
parent_id?: number;
|
|
692
|
-
}) => Promise<[number, number][] | null>;
|
|
693
|
-
}, () => {
|
|
694
|
-
updateFloorSupabase: (values: {
|
|
695
|
-
id: number;
|
|
696
|
-
name?: string;
|
|
697
|
-
sequence?: number;
|
|
698
|
-
pos_config_ids?: number[];
|
|
699
|
-
table_ids?: number[];
|
|
700
|
-
}) => Promise<number[]>;
|
|
701
|
-
}, () => {
|
|
702
|
-
updateTableSupabase: (values: {
|
|
703
|
-
id: number;
|
|
704
|
-
floor_id?: number;
|
|
705
|
-
table_number?: number;
|
|
706
|
-
seats?: number;
|
|
707
|
-
active?: boolean;
|
|
708
|
-
shape?: "square" | "round";
|
|
709
|
-
parent_id?: number;
|
|
710
|
-
}) => Promise<number[]>;
|
|
711
|
-
}, () => {
|
|
712
|
-
deleteFloorSupabase: (values: {
|
|
713
|
-
id: number;
|
|
714
|
-
}) => Promise<number[]>;
|
|
715
|
-
}, () => {
|
|
716
|
-
deleteTableSupabase: (values: {
|
|
717
|
-
id: number;
|
|
718
|
-
}) => Promise<number[]>;
|
|
719
|
-
}, () => {
|
|
720
|
-
addCategorySupabase: (values: {
|
|
721
|
-
name: string;
|
|
722
|
-
}) => Promise<[number, string][] | null>;
|
|
723
|
-
}, () => {
|
|
724
|
-
createOrderSupabase: (values: {
|
|
725
|
-
session_id: number;
|
|
726
|
-
pos_reference: string;
|
|
727
|
-
amount_tax: number;
|
|
728
|
-
amount_total: number;
|
|
729
|
-
amount_paid: number;
|
|
730
|
-
amount_return: number;
|
|
731
|
-
table_id?: number | boolean;
|
|
732
|
-
partner_id: number | boolean;
|
|
733
|
-
}) => Promise<[number, string][] | null>;
|
|
734
|
-
}, () => {
|
|
735
|
-
addProductToOrderSupabase: (values: {
|
|
736
|
-
order_id: number;
|
|
737
|
-
product_id: number;
|
|
738
|
-
qty: number;
|
|
739
|
-
price_unit: number;
|
|
740
|
-
price_subtotal: number;
|
|
741
|
-
price_subtotal_incl: number;
|
|
742
|
-
tax_ids?: number[];
|
|
743
|
-
attribute_value_ids?: number[];
|
|
744
|
-
note?: string;
|
|
745
|
-
uuid?: string;
|
|
746
|
-
}) => Promise<[number][] | null>;
|
|
747
|
-
}, () => {
|
|
748
|
-
updateOrderTotalAmountSupabase: (values: {
|
|
749
|
-
order_id: number;
|
|
750
|
-
amount_tax: number;
|
|
751
|
-
amount_total: number;
|
|
752
|
-
note?: string;
|
|
753
|
-
}) => Promise<number[]>;
|
|
754
|
-
}, () => {
|
|
755
|
-
updateOrderSupabase: (values: {
|
|
756
|
-
order_id: number;
|
|
757
|
-
state?: string;
|
|
758
|
-
table_id?: number;
|
|
759
|
-
partner_id?: number;
|
|
760
|
-
amount_return?: number;
|
|
761
|
-
}) => Promise<number[]>;
|
|
762
|
-
}, () => {
|
|
763
|
-
deleteOrderSupabase: (values: {
|
|
764
|
-
id: number;
|
|
765
|
-
}) => Promise<number[]>;
|
|
766
|
-
}, () => {
|
|
767
|
-
addProductSupabase: (values: {
|
|
768
|
-
name: string;
|
|
769
|
-
product_tmpl_id?: number;
|
|
770
|
-
product_template_variant_value_ids?: number[];
|
|
771
|
-
combo_ids?: number[];
|
|
772
|
-
categ_id?: number;
|
|
773
|
-
pos_categ_ids?: number[];
|
|
774
|
-
display_name?: string;
|
|
775
|
-
default_code?: string;
|
|
776
|
-
description_sale?: string;
|
|
777
|
-
lst_price?: number;
|
|
778
|
-
standard_price?: number;
|
|
779
|
-
barcode?: string;
|
|
780
|
-
image_url?: string;
|
|
781
|
-
active?: boolean;
|
|
782
|
-
}) => Promise<[number, string][] | null>;
|
|
783
|
-
}, (env: any) => {
|
|
784
|
-
getFunctionalModules: ({ xNode, service }: {
|
|
785
|
-
service?: string;
|
|
786
|
-
xNode?: string;
|
|
787
|
-
}) => Promise<any>;
|
|
788
|
-
}, () => {
|
|
789
|
-
addPaymentMethodSupabase: (values: {
|
|
790
|
-
name: string;
|
|
791
|
-
image?: string;
|
|
792
|
-
is_cash_count?: boolean;
|
|
793
|
-
is_online_payment?: boolean;
|
|
794
|
-
payment_method_type?: string;
|
|
795
|
-
payment_type?: string;
|
|
796
|
-
type?: string;
|
|
797
|
-
sequence?: number;
|
|
798
|
-
active?: boolean;
|
|
799
|
-
}) => Promise<[number, string][] | null>;
|
|
800
|
-
}, () => {
|
|
801
|
-
updateSessionPaymentMethodsSupabase: (values: {
|
|
802
|
-
session_id: number;
|
|
803
|
-
payment_method_ids: number[];
|
|
804
|
-
}) => Promise<number[] | null>;
|
|
805
677
|
}, () => {
|
|
806
678
|
createPaymentSupabase: (values: {
|
|
807
679
|
pos_order_id: number;
|
|
@@ -812,37 +684,6 @@ declare const serviceFactories: readonly [(env: any) => {
|
|
|
812
684
|
id: number;
|
|
813
685
|
amount: number;
|
|
814
686
|
} | null>;
|
|
815
|
-
}, () => {
|
|
816
|
-
createCustomerSupabase: (values: {
|
|
817
|
-
name: string;
|
|
818
|
-
phone?: string;
|
|
819
|
-
email?: string;
|
|
820
|
-
address?: string;
|
|
821
|
-
street2?: string;
|
|
822
|
-
city?: string;
|
|
823
|
-
birth_date?: string;
|
|
824
|
-
country_id?: number;
|
|
825
|
-
state_id?: number;
|
|
826
|
-
ward_id?: number;
|
|
827
|
-
}) => Promise<[number, string][] | null>;
|
|
828
|
-
}, () => {
|
|
829
|
-
updateCustomerSupabase: (values: {
|
|
830
|
-
customer_id: number;
|
|
831
|
-
name?: string;
|
|
832
|
-
phone?: string;
|
|
833
|
-
email?: string;
|
|
834
|
-
address?: string;
|
|
835
|
-
street2?: string;
|
|
836
|
-
city?: string;
|
|
837
|
-
birth_date?: string;
|
|
838
|
-
country_id?: number;
|
|
839
|
-
state_id?: number;
|
|
840
|
-
ward_id?: number;
|
|
841
|
-
}) => Promise<number[] | null>;
|
|
842
|
-
}, () => {
|
|
843
|
-
deleteCustomerSupabase: (values: {
|
|
844
|
-
customer_id: number;
|
|
845
|
-
}) => Promise<number[] | null>;
|
|
846
687
|
}, () => {
|
|
847
688
|
uploadImageSupabase: (file: File, tenantId: string) => Promise<{
|
|
848
689
|
url: string | null;
|
|
@@ -881,40 +722,6 @@ declare const serviceFactories: readonly [(env: any) => {
|
|
|
881
722
|
getSupaCurrentUser: ({ tenantId }: {
|
|
882
723
|
tenantId: string;
|
|
883
724
|
}) => any;
|
|
884
|
-
}, () => {
|
|
885
|
-
updateCategorySupabase: (values: {
|
|
886
|
-
category_id: number;
|
|
887
|
-
name?: string;
|
|
888
|
-
parent_id?: number | null;
|
|
889
|
-
sequence?: number;
|
|
890
|
-
image_128?: string;
|
|
891
|
-
}) => Promise<number[] | null>;
|
|
892
|
-
}, () => {
|
|
893
|
-
deleteCategorySupabase: (values: {
|
|
894
|
-
category_id: number;
|
|
895
|
-
}) => Promise<number[] | null>;
|
|
896
|
-
}, () => {
|
|
897
|
-
updateProductSupabase: (values: {
|
|
898
|
-
product_id: number;
|
|
899
|
-
name?: string;
|
|
900
|
-
product_tmpl_id?: number;
|
|
901
|
-
product_template_variant_value_ids?: number[];
|
|
902
|
-
combo_ids?: number[];
|
|
903
|
-
categ_id?: number;
|
|
904
|
-
pos_categ_ids?: number[];
|
|
905
|
-
display_name?: string;
|
|
906
|
-
default_code?: string;
|
|
907
|
-
description_sale?: string;
|
|
908
|
-
lst_price?: number;
|
|
909
|
-
standard_price?: number;
|
|
910
|
-
barcode?: string;
|
|
911
|
-
image_url?: string;
|
|
912
|
-
active?: boolean;
|
|
913
|
-
}) => Promise<number[] | null>;
|
|
914
|
-
}, () => {
|
|
915
|
-
deleteProductSupabase: (values: {
|
|
916
|
-
product_id: number;
|
|
917
|
-
}) => Promise<number[] | null>;
|
|
918
725
|
}, () => {
|
|
919
726
|
togglePosRestaurantSupabase: (values: {
|
|
920
727
|
config_id: number;
|
|
@@ -924,19 +731,6 @@ declare const serviceFactories: readonly [(env: any) => {
|
|
|
924
731
|
publicBucket: ({ shortTenantId }: {
|
|
925
732
|
shortTenantId: string;
|
|
926
733
|
}) => any;
|
|
927
|
-
}, () => {
|
|
928
|
-
updatePaymentMethodSupabase: (values: {
|
|
929
|
-
id: number;
|
|
930
|
-
name?: string;
|
|
931
|
-
image?: string;
|
|
932
|
-
is_cash_count?: boolean;
|
|
933
|
-
is_online_payment?: boolean;
|
|
934
|
-
payment_method_type?: string;
|
|
935
|
-
payment_type?: string;
|
|
936
|
-
type?: string;
|
|
937
|
-
sequence?: number;
|
|
938
|
-
active?: boolean;
|
|
939
|
-
}) => Promise<[number, string][] | null>;
|
|
940
734
|
}, (env: any) => {
|
|
941
735
|
confirmCouponPrograms: ({ orderId, args, xNode, service, withContext, }: {
|
|
942
736
|
orderId: number;
|
|
@@ -962,6 +756,11 @@ declare const serviceFactories: readonly [(env: any) => {
|
|
|
962
756
|
service?: string;
|
|
963
757
|
xNode?: string;
|
|
964
758
|
}) => Promise<any>;
|
|
759
|
+
}, (env: any) => {
|
|
760
|
+
getFunctionalModules: ({ xNode, service }: {
|
|
761
|
+
service?: string;
|
|
762
|
+
xNode?: string;
|
|
763
|
+
}) => Promise<any>;
|
|
965
764
|
}];
|
|
966
765
|
type ServiceFactories = (typeof serviceFactories)[number];
|
|
967
766
|
type ServiceReturn<T extends ServiceFactories> = ReturnType<T>;
|
package/dist/services.js
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkEYIPNT6Q_js = require('./chunk-EYIPNT6Q.js');
|
|
4
4
|
require('./chunk-6LSKTACC.js');
|
|
5
5
|
require('./chunk-Q5YXX4OR.js');
|
|
6
6
|
require('./chunk-JDXUTKMX.js');
|
|
7
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-GE6GQ426.js');
|
|
8
8
|
require('./chunk-6USJVEXJ.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "useActionService", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkEYIPNT6Q_js.useActionService; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "useAuthService", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkEYIPNT6Q_js.useAuthService; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "useCompanyService", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkEYIPNT6Q_js.useCompanyService; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "useDashboardService", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkEYIPNT6Q_js.useDashboardService; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "useExcelService", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkEYIPNT6Q_js.useExcelService; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "useFormService", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkEYIPNT6Q_js.useFormService; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "useKanbanService", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkEYIPNT6Q_js.useKanbanService; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "useModelService", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkEYIPNT6Q_js.useModelService; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "usePosService", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkEYIPNT6Q_js.usePosService; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "useUserService", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkEYIPNT6Q_js.useUserService; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "useViewService", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkEYIPNT6Q_js.useViewService; }
|
|
55
55
|
});
|
package/dist/services.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { useActionService, useAuthService, useCompanyService, useDashboardService, useExcelService, useFormService, useKanbanService, useModelService, usePosService, useUserService, useViewService } from './chunk-
|
|
1
|
+
export { useActionService, useAuthService, useCompanyService, useDashboardService, useExcelService, useFormService, useKanbanService, useModelService, usePosService, useUserService, useViewService } from './chunk-ZJBXSPOI.mjs';
|
|
2
2
|
import './chunk-B432GFRR.mjs';
|
|
3
3
|
import './chunk-ACSPOGTI.mjs';
|
|
4
4
|
import './chunk-BPJZ3QRN.mjs';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-D46PPNNF.mjs';
|
|
6
6
|
import './chunk-HHFZ7EFU.mjs';
|
package/package.json
CHANGED
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@fctc/interface-logic",
|
|
3
|
-
"version": "5.4.
|
|
4
|
-
"types": "dist/index.d.ts",
|
|
5
|
-
"main": "dist/index.cjs",
|
|
6
|
-
"module": "dist/index.mjs",
|
|
7
|
-
"sideEffects": false,
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./dist/index.d.ts",
|
|
11
|
-
"import": "./dist/index.mjs",
|
|
12
|
-
"require": "./dist/index.cjs"
|
|
13
|
-
},
|
|
14
|
-
"./configs": {
|
|
15
|
-
"types": "./dist/configs.d.ts",
|
|
16
|
-
"import": "./dist/configs.mjs",
|
|
17
|
-
"require": "./dist/configs.cjs"
|
|
18
|
-
},
|
|
19
|
-
"./constants": {
|
|
20
|
-
"types": "./dist/constants.d.ts",
|
|
21
|
-
"import": "./dist/constants.mjs",
|
|
22
|
-
"require": "./dist/constants.cjs"
|
|
23
|
-
},
|
|
24
|
-
"./environment": {
|
|
25
|
-
"types": "./dist/environment.d.ts",
|
|
26
|
-
"import": "./dist/environment.mjs",
|
|
27
|
-
"require": "./dist/environment.cjs"
|
|
28
|
-
},
|
|
29
|
-
"./hooks": {
|
|
30
|
-
"types": "./dist/hooks.d.ts",
|
|
31
|
-
"import": "./dist/hooks.mjs",
|
|
32
|
-
"require": "./dist/hooks.cjs"
|
|
33
|
-
},
|
|
34
|
-
"./provider": {
|
|
35
|
-
"types": "./dist/provider.d.ts",
|
|
36
|
-
"import": "./dist/provider.mjs",
|
|
37
|
-
"require": "./dist/provider.cjs"
|
|
38
|
-
},
|
|
39
|
-
"./services": {
|
|
40
|
-
"types": "./dist/services.d.ts",
|
|
41
|
-
"import": "./dist/services.mjs",
|
|
42
|
-
"require": "./dist/services.cjs"
|
|
43
|
-
},
|
|
44
|
-
"./store": {
|
|
45
|
-
"types": "./dist/store.d.ts",
|
|
46
|
-
"import": "./dist/store.mjs",
|
|
47
|
-
"require": "./dist/store.cjs"
|
|
48
|
-
},
|
|
49
|
-
"./utils": {
|
|
50
|
-
"types": "./dist/utils.d.ts",
|
|
51
|
-
"import": "./dist/utils.mjs",
|
|
52
|
-
"require": "./dist/utils.cjs"
|
|
53
|
-
},
|
|
54
|
-
"./types": {
|
|
55
|
-
"types": "./dist/types.d.ts",
|
|
56
|
-
"import": "./dist/types.mjs",
|
|
57
|
-
"require": "./dist/types.cjs"
|
|
58
|
-
},
|
|
59
|
-
"./models": {
|
|
60
|
-
"types": "./dist/models.d.ts",
|
|
61
|
-
"import": "./dist/models.mjs",
|
|
62
|
-
"require": "./dist/models.cjs"
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
"files": [
|
|
66
|
-
"dist"
|
|
67
|
-
],
|
|
68
|
-
"scripts": {
|
|
69
|
-
"build": "tsup",
|
|
70
|
-
"test": "jest"
|
|
71
|
-
},
|
|
72
|
-
"peerDependencies": {
|
|
73
|
-
"@tanstack/react-query": "^5.83.0",
|
|
74
|
-
"@supabase/supabase-js": "^2.90.1",
|
|
75
|
-
"react": "18.0.0"
|
|
76
|
-
},
|
|
77
|
-
"dependencies": {
|
|
78
|
-
"@reduxjs/toolkit": "^2.8.2",
|
|
79
|
-
"@supabase/supabase-js": "^2.90.1",
|
|
80
|
-
"@tanstack/react-query": "^5.83.0",
|
|
81
|
-
"axios": "^1.11.0",
|
|
82
|
-
"moment": "^2.30.1",
|
|
83
|
-
"react-redux": "^9.2.0"
|
|
84
|
-
},
|
|
85
|
-
"devDependencies": {
|
|
86
|
-
"@types/react": "^18.3.1",
|
|
87
|
-
"jest": "^29.7.0",
|
|
88
|
-
"react": "18.0.0",
|
|
89
|
-
"tsup": "^8.0.0",
|
|
90
|
-
"typescript": "^5.8.2"
|
|
91
|
-
},
|
|
92
|
-
"packageManager": "yarn@1.22.0"
|
|
93
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@fctc/interface-logic",
|
|
3
|
+
"version": "5.4.6",
|
|
4
|
+
"types": "dist/index.d.ts",
|
|
5
|
+
"main": "dist/index.cjs",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"sideEffects": false,
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"require": "./dist/index.cjs"
|
|
13
|
+
},
|
|
14
|
+
"./configs": {
|
|
15
|
+
"types": "./dist/configs.d.ts",
|
|
16
|
+
"import": "./dist/configs.mjs",
|
|
17
|
+
"require": "./dist/configs.cjs"
|
|
18
|
+
},
|
|
19
|
+
"./constants": {
|
|
20
|
+
"types": "./dist/constants.d.ts",
|
|
21
|
+
"import": "./dist/constants.mjs",
|
|
22
|
+
"require": "./dist/constants.cjs"
|
|
23
|
+
},
|
|
24
|
+
"./environment": {
|
|
25
|
+
"types": "./dist/environment.d.ts",
|
|
26
|
+
"import": "./dist/environment.mjs",
|
|
27
|
+
"require": "./dist/environment.cjs"
|
|
28
|
+
},
|
|
29
|
+
"./hooks": {
|
|
30
|
+
"types": "./dist/hooks.d.ts",
|
|
31
|
+
"import": "./dist/hooks.mjs",
|
|
32
|
+
"require": "./dist/hooks.cjs"
|
|
33
|
+
},
|
|
34
|
+
"./provider": {
|
|
35
|
+
"types": "./dist/provider.d.ts",
|
|
36
|
+
"import": "./dist/provider.mjs",
|
|
37
|
+
"require": "./dist/provider.cjs"
|
|
38
|
+
},
|
|
39
|
+
"./services": {
|
|
40
|
+
"types": "./dist/services.d.ts",
|
|
41
|
+
"import": "./dist/services.mjs",
|
|
42
|
+
"require": "./dist/services.cjs"
|
|
43
|
+
},
|
|
44
|
+
"./store": {
|
|
45
|
+
"types": "./dist/store.d.ts",
|
|
46
|
+
"import": "./dist/store.mjs",
|
|
47
|
+
"require": "./dist/store.cjs"
|
|
48
|
+
},
|
|
49
|
+
"./utils": {
|
|
50
|
+
"types": "./dist/utils.d.ts",
|
|
51
|
+
"import": "./dist/utils.mjs",
|
|
52
|
+
"require": "./dist/utils.cjs"
|
|
53
|
+
},
|
|
54
|
+
"./types": {
|
|
55
|
+
"types": "./dist/types.d.ts",
|
|
56
|
+
"import": "./dist/types.mjs",
|
|
57
|
+
"require": "./dist/types.cjs"
|
|
58
|
+
},
|
|
59
|
+
"./models": {
|
|
60
|
+
"types": "./dist/models.d.ts",
|
|
61
|
+
"import": "./dist/models.mjs",
|
|
62
|
+
"require": "./dist/models.cjs"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"files": [
|
|
66
|
+
"dist"
|
|
67
|
+
],
|
|
68
|
+
"scripts": {
|
|
69
|
+
"build": "tsup",
|
|
70
|
+
"test": "jest"
|
|
71
|
+
},
|
|
72
|
+
"peerDependencies": {
|
|
73
|
+
"@tanstack/react-query": "^5.83.0",
|
|
74
|
+
"@supabase/supabase-js": "^2.90.1",
|
|
75
|
+
"react": "18.0.0"
|
|
76
|
+
},
|
|
77
|
+
"dependencies": {
|
|
78
|
+
"@reduxjs/toolkit": "^2.8.2",
|
|
79
|
+
"@supabase/supabase-js": "^2.90.1",
|
|
80
|
+
"@tanstack/react-query": "^5.83.0",
|
|
81
|
+
"axios": "^1.11.0",
|
|
82
|
+
"moment": "^2.30.1",
|
|
83
|
+
"react-redux": "^9.2.0"
|
|
84
|
+
},
|
|
85
|
+
"devDependencies": {
|
|
86
|
+
"@types/react": "^18.3.1",
|
|
87
|
+
"jest": "^29.7.0",
|
|
88
|
+
"react": "18.0.0",
|
|
89
|
+
"tsup": "^8.0.0",
|
|
90
|
+
"typescript": "^5.8.2"
|
|
91
|
+
},
|
|
92
|
+
"packageManager": "yarn@1.22.0"
|
|
93
|
+
}
|