@budgetbuddyde/types 1.0.23 → 1.0.25
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/lib/Budget.types.d.ts +20 -0
- package/lib/Category.types.d.ts +6 -0
- package/lib/PaymentMethod.types.d.ts +6 -0
- package/lib/PocketBase.types.d.ts +18 -0
- package/lib/PocketBase.types.js +16 -1
- package/lib/Stocks/Stock.types.d.ts +46 -0
- package/lib/Subscription.types.d.ts +34 -0
- package/lib/Transaction.types.d.ts +34 -0
- package/lib/User.types.d.ts +6 -0
- package/package.json +1 -1
package/lib/Budget.types.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ export declare const ZBudget: z.ZodObject<{
|
|
|
8
8
|
owner: z.ZodString;
|
|
9
9
|
name: z.ZodString;
|
|
10
10
|
description: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null, string | null | undefined>;
|
|
11
|
+
collectionId: z.ZodString;
|
|
12
|
+
collectionName: z.ZodString;
|
|
11
13
|
id: z.ZodString;
|
|
12
14
|
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
13
15
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
@@ -15,12 +17,16 @@ export declare const ZBudget: z.ZodObject<{
|
|
|
15
17
|
id: string;
|
|
16
18
|
name: string;
|
|
17
19
|
description: string | null;
|
|
20
|
+
collectionId: string;
|
|
21
|
+
collectionName: string;
|
|
18
22
|
created: Date;
|
|
19
23
|
updated: Date;
|
|
20
24
|
owner: string;
|
|
21
25
|
}, {
|
|
22
26
|
id: string;
|
|
23
27
|
name: string;
|
|
28
|
+
collectionId: string;
|
|
29
|
+
collectionName: string;
|
|
24
30
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
25
31
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
26
32
|
owner: string;
|
|
@@ -31,6 +37,8 @@ export declare const ZBudget: z.ZodObject<{
|
|
|
31
37
|
id: string;
|
|
32
38
|
name: string;
|
|
33
39
|
description: string | null;
|
|
40
|
+
collectionId: string;
|
|
41
|
+
collectionName: string;
|
|
34
42
|
created: Date;
|
|
35
43
|
updated: Date;
|
|
36
44
|
owner: string;
|
|
@@ -39,17 +47,23 @@ export declare const ZBudget: z.ZodObject<{
|
|
|
39
47
|
category: {
|
|
40
48
|
id: string;
|
|
41
49
|
name: string;
|
|
50
|
+
collectionId: string;
|
|
51
|
+
collectionName: string;
|
|
42
52
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
43
53
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
44
54
|
owner: string;
|
|
45
55
|
description?: string | null | undefined;
|
|
46
56
|
};
|
|
47
57
|
}>;
|
|
58
|
+
collectionId: z.ZodString;
|
|
59
|
+
collectionName: z.ZodString;
|
|
48
60
|
id: z.ZodString;
|
|
49
61
|
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
50
62
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
51
63
|
}, "strip", z.ZodTypeAny, {
|
|
52
64
|
id: string;
|
|
65
|
+
collectionId: string;
|
|
66
|
+
collectionName: string;
|
|
53
67
|
created: Date;
|
|
54
68
|
updated: Date;
|
|
55
69
|
owner: string;
|
|
@@ -60,6 +74,8 @@ export declare const ZBudget: z.ZodObject<{
|
|
|
60
74
|
id: string;
|
|
61
75
|
name: string;
|
|
62
76
|
description: string | null;
|
|
77
|
+
collectionId: string;
|
|
78
|
+
collectionName: string;
|
|
63
79
|
created: Date;
|
|
64
80
|
updated: Date;
|
|
65
81
|
owner: string;
|
|
@@ -67,6 +83,8 @@ export declare const ZBudget: z.ZodObject<{
|
|
|
67
83
|
};
|
|
68
84
|
}, {
|
|
69
85
|
id: string;
|
|
86
|
+
collectionId: string;
|
|
87
|
+
collectionName: string;
|
|
70
88
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
71
89
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
72
90
|
owner: string;
|
|
@@ -76,6 +94,8 @@ export declare const ZBudget: z.ZodObject<{
|
|
|
76
94
|
category: {
|
|
77
95
|
id: string;
|
|
78
96
|
name: string;
|
|
97
|
+
collectionId: string;
|
|
98
|
+
collectionName: string;
|
|
79
99
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
80
100
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
81
101
|
owner: string;
|
package/lib/Category.types.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ export declare const ZCategory: z.ZodObject<{
|
|
|
3
3
|
owner: z.ZodString;
|
|
4
4
|
name: z.ZodString;
|
|
5
5
|
description: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null, string | null | undefined>;
|
|
6
|
+
collectionId: z.ZodString;
|
|
7
|
+
collectionName: z.ZodString;
|
|
6
8
|
id: z.ZodString;
|
|
7
9
|
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
8
10
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
@@ -10,12 +12,16 @@ export declare const ZCategory: z.ZodObject<{
|
|
|
10
12
|
id: string;
|
|
11
13
|
name: string;
|
|
12
14
|
description: string | null;
|
|
15
|
+
collectionId: string;
|
|
16
|
+
collectionName: string;
|
|
13
17
|
created: Date;
|
|
14
18
|
updated: Date;
|
|
15
19
|
owner: string;
|
|
16
20
|
}, {
|
|
17
21
|
id: string;
|
|
18
22
|
name: string;
|
|
23
|
+
collectionId: string;
|
|
24
|
+
collectionName: string;
|
|
19
25
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
20
26
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
21
27
|
owner: string;
|
|
@@ -5,6 +5,8 @@ export declare const ZPaymentMethod: z.ZodObject<{
|
|
|
5
5
|
provider: z.ZodString;
|
|
6
6
|
address: z.ZodString;
|
|
7
7
|
description: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null, string | null | undefined>;
|
|
8
|
+
collectionId: z.ZodString;
|
|
9
|
+
collectionName: z.ZodString;
|
|
8
10
|
id: z.ZodString;
|
|
9
11
|
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
10
12
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
@@ -13,6 +15,8 @@ export declare const ZPaymentMethod: z.ZodObject<{
|
|
|
13
15
|
address: string;
|
|
14
16
|
name: string;
|
|
15
17
|
description: string | null;
|
|
18
|
+
collectionId: string;
|
|
19
|
+
collectionName: string;
|
|
16
20
|
created: Date;
|
|
17
21
|
updated: Date;
|
|
18
22
|
owner: string;
|
|
@@ -21,6 +25,8 @@ export declare const ZPaymentMethod: z.ZodObject<{
|
|
|
21
25
|
id: string;
|
|
22
26
|
address: string;
|
|
23
27
|
name: string;
|
|
28
|
+
collectionId: string;
|
|
29
|
+
collectionName: string;
|
|
24
30
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
25
31
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
26
32
|
owner: string;
|
|
@@ -1,19 +1,37 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare enum PocketBaseCollection {
|
|
3
|
+
USERS = "users",
|
|
4
|
+
BUDGET = "budgets",
|
|
5
|
+
CATEGORY = "categories",
|
|
6
|
+
PAYMENT_METHOD = "payment_methods",
|
|
7
|
+
STOCK_EXCHANGE = "stock_exchanges",
|
|
8
|
+
STOCK_POSITION = "stock_positions",
|
|
9
|
+
STOCK_WATCHLIST = "stock_watchlists",
|
|
10
|
+
SUBSCRIPTION = "subscriptions",
|
|
11
|
+
TRANSACTION = "transactions",
|
|
12
|
+
V_MONTHLY_BALANCES = "v_monthly_balances"
|
|
13
|
+
}
|
|
2
14
|
/**
|
|
3
15
|
* @description 15 characters string to store as record ID. If not set, it will be auto generated.
|
|
4
16
|
*/
|
|
5
17
|
export declare const ZId: z.ZodString;
|
|
6
18
|
export type TId = z.infer<typeof ZId>;
|
|
7
19
|
export declare const ZBaseModel: z.ZodObject<{
|
|
20
|
+
collectionId: z.ZodString;
|
|
21
|
+
collectionName: z.ZodString;
|
|
8
22
|
id: z.ZodString;
|
|
9
23
|
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
10
24
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
11
25
|
}, "strip", z.ZodTypeAny, {
|
|
12
26
|
id: string;
|
|
27
|
+
collectionId: string;
|
|
28
|
+
collectionName: string;
|
|
13
29
|
created: Date;
|
|
14
30
|
updated: Date;
|
|
15
31
|
}, {
|
|
16
32
|
id: string;
|
|
33
|
+
collectionId: string;
|
|
34
|
+
collectionName: string;
|
|
17
35
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
18
36
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
19
37
|
}>;
|
package/lib/PocketBase.types.js
CHANGED
|
@@ -1,13 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ZNullableString = exports.ZBaseModel = exports.ZId = void 0;
|
|
3
|
+
exports.ZNullableString = exports.ZBaseModel = exports.ZId = exports.PocketBaseCollection = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const Base_type_1 = require("./Base.type");
|
|
6
|
+
var PocketBaseCollection;
|
|
7
|
+
(function (PocketBaseCollection) {
|
|
8
|
+
PocketBaseCollection["USERS"] = "users";
|
|
9
|
+
PocketBaseCollection["BUDGET"] = "budgets";
|
|
10
|
+
PocketBaseCollection["CATEGORY"] = "categories";
|
|
11
|
+
PocketBaseCollection["PAYMENT_METHOD"] = "payment_methods";
|
|
12
|
+
PocketBaseCollection["STOCK_EXCHANGE"] = "stock_exchanges";
|
|
13
|
+
PocketBaseCollection["STOCK_POSITION"] = "stock_positions";
|
|
14
|
+
PocketBaseCollection["STOCK_WATCHLIST"] = "stock_watchlists";
|
|
15
|
+
PocketBaseCollection["SUBSCRIPTION"] = "subscriptions";
|
|
16
|
+
PocketBaseCollection["TRANSACTION"] = "transactions";
|
|
17
|
+
PocketBaseCollection["V_MONTHLY_BALANCES"] = "v_monthly_balances";
|
|
18
|
+
})(PocketBaseCollection = exports.PocketBaseCollection || (exports.PocketBaseCollection = {}));
|
|
6
19
|
/**
|
|
7
20
|
* @description 15 characters string to store as record ID. If not set, it will be auto generated.
|
|
8
21
|
*/
|
|
9
22
|
exports.ZId = zod_1.z.string().length(15);
|
|
10
23
|
exports.ZBaseModel = zod_1.z.object({
|
|
24
|
+
collectionId: exports.ZId,
|
|
25
|
+
collectionName: zod_1.z.string(),
|
|
11
26
|
id: exports.ZId,
|
|
12
27
|
created: Base_type_1.ZDate,
|
|
13
28
|
updated: Base_type_1.ZDate,
|
|
@@ -2630,6 +2630,8 @@ export declare const ZStockExchange: z.ZodObject<{
|
|
|
2630
2630
|
name: z.ZodString;
|
|
2631
2631
|
symbol: z.ZodString;
|
|
2632
2632
|
exchange: z.ZodString;
|
|
2633
|
+
collectionId: z.ZodString;
|
|
2634
|
+
collectionName: z.ZodString;
|
|
2633
2635
|
id: z.ZodString;
|
|
2634
2636
|
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2635
2637
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
@@ -2637,6 +2639,8 @@ export declare const ZStockExchange: z.ZodObject<{
|
|
|
2637
2639
|
symbol: string;
|
|
2638
2640
|
id: string;
|
|
2639
2641
|
name: string;
|
|
2642
|
+
collectionId: string;
|
|
2643
|
+
collectionName: string;
|
|
2640
2644
|
created: Date;
|
|
2641
2645
|
updated: Date;
|
|
2642
2646
|
exchange: string;
|
|
@@ -2644,6 +2648,8 @@ export declare const ZStockExchange: z.ZodObject<{
|
|
|
2644
2648
|
symbol: string;
|
|
2645
2649
|
id: string;
|
|
2646
2650
|
name: string;
|
|
2651
|
+
collectionId: string;
|
|
2652
|
+
collectionName: string;
|
|
2647
2653
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2648
2654
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2649
2655
|
exchange: string;
|
|
@@ -2662,6 +2668,8 @@ export declare const ZStockPosition: z.ZodObject<{
|
|
|
2662
2668
|
name: z.ZodString;
|
|
2663
2669
|
symbol: z.ZodString;
|
|
2664
2670
|
exchange: z.ZodString;
|
|
2671
|
+
collectionId: z.ZodString;
|
|
2672
|
+
collectionName: z.ZodString;
|
|
2665
2673
|
id: z.ZodString;
|
|
2666
2674
|
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2667
2675
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
@@ -2669,6 +2677,8 @@ export declare const ZStockPosition: z.ZodObject<{
|
|
|
2669
2677
|
symbol: string;
|
|
2670
2678
|
id: string;
|
|
2671
2679
|
name: string;
|
|
2680
|
+
collectionId: string;
|
|
2681
|
+
collectionName: string;
|
|
2672
2682
|
created: Date;
|
|
2673
2683
|
updated: Date;
|
|
2674
2684
|
exchange: string;
|
|
@@ -2676,6 +2686,8 @@ export declare const ZStockPosition: z.ZodObject<{
|
|
|
2676
2686
|
symbol: string;
|
|
2677
2687
|
id: string;
|
|
2678
2688
|
name: string;
|
|
2689
|
+
collectionId: string;
|
|
2690
|
+
collectionName: string;
|
|
2679
2691
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2680
2692
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2681
2693
|
exchange: string;
|
|
@@ -2685,6 +2697,8 @@ export declare const ZStockPosition: z.ZodObject<{
|
|
|
2685
2697
|
symbol: string;
|
|
2686
2698
|
id: string;
|
|
2687
2699
|
name: string;
|
|
2700
|
+
collectionId: string;
|
|
2701
|
+
collectionName: string;
|
|
2688
2702
|
created: Date;
|
|
2689
2703
|
updated: Date;
|
|
2690
2704
|
exchange: string;
|
|
@@ -2694,17 +2708,23 @@ export declare const ZStockPosition: z.ZodObject<{
|
|
|
2694
2708
|
symbol: string;
|
|
2695
2709
|
id: string;
|
|
2696
2710
|
name: string;
|
|
2711
|
+
collectionId: string;
|
|
2712
|
+
collectionName: string;
|
|
2697
2713
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2698
2714
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2699
2715
|
exchange: string;
|
|
2700
2716
|
};
|
|
2701
2717
|
}>;
|
|
2718
|
+
collectionId: z.ZodString;
|
|
2719
|
+
collectionName: z.ZodString;
|
|
2702
2720
|
id: z.ZodString;
|
|
2703
2721
|
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2704
2722
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2705
2723
|
}, "strip", z.ZodTypeAny, {
|
|
2706
2724
|
id: string;
|
|
2707
2725
|
currency: string;
|
|
2726
|
+
collectionId: string;
|
|
2727
|
+
collectionName: string;
|
|
2708
2728
|
created: Date;
|
|
2709
2729
|
updated: Date;
|
|
2710
2730
|
owner: string;
|
|
@@ -2713,6 +2733,8 @@ export declare const ZStockPosition: z.ZodObject<{
|
|
|
2713
2733
|
symbol: string;
|
|
2714
2734
|
id: string;
|
|
2715
2735
|
name: string;
|
|
2736
|
+
collectionId: string;
|
|
2737
|
+
collectionName: string;
|
|
2716
2738
|
created: Date;
|
|
2717
2739
|
updated: Date;
|
|
2718
2740
|
exchange: string;
|
|
@@ -2726,6 +2748,8 @@ export declare const ZStockPosition: z.ZodObject<{
|
|
|
2726
2748
|
}, {
|
|
2727
2749
|
id: string;
|
|
2728
2750
|
currency: string;
|
|
2751
|
+
collectionId: string;
|
|
2752
|
+
collectionName: string;
|
|
2729
2753
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2730
2754
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2731
2755
|
owner: string;
|
|
@@ -2734,6 +2758,8 @@ export declare const ZStockPosition: z.ZodObject<{
|
|
|
2734
2758
|
symbol: string;
|
|
2735
2759
|
id: string;
|
|
2736
2760
|
name: string;
|
|
2761
|
+
collectionId: string;
|
|
2762
|
+
collectionName: string;
|
|
2737
2763
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2738
2764
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2739
2765
|
exchange: string;
|
|
@@ -2759,6 +2785,8 @@ export declare const ZStockPositionWithQuote: z.ZodObject<{
|
|
|
2759
2785
|
name: z.ZodString;
|
|
2760
2786
|
symbol: z.ZodString;
|
|
2761
2787
|
exchange: z.ZodString;
|
|
2788
|
+
collectionId: z.ZodString;
|
|
2789
|
+
collectionName: z.ZodString;
|
|
2762
2790
|
id: z.ZodString;
|
|
2763
2791
|
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2764
2792
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
@@ -2766,6 +2794,8 @@ export declare const ZStockPositionWithQuote: z.ZodObject<{
|
|
|
2766
2794
|
symbol: string;
|
|
2767
2795
|
id: string;
|
|
2768
2796
|
name: string;
|
|
2797
|
+
collectionId: string;
|
|
2798
|
+
collectionName: string;
|
|
2769
2799
|
created: Date;
|
|
2770
2800
|
updated: Date;
|
|
2771
2801
|
exchange: string;
|
|
@@ -2773,6 +2803,8 @@ export declare const ZStockPositionWithQuote: z.ZodObject<{
|
|
|
2773
2803
|
symbol: string;
|
|
2774
2804
|
id: string;
|
|
2775
2805
|
name: string;
|
|
2806
|
+
collectionId: string;
|
|
2807
|
+
collectionName: string;
|
|
2776
2808
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2777
2809
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2778
2810
|
exchange: string;
|
|
@@ -2782,6 +2814,8 @@ export declare const ZStockPositionWithQuote: z.ZodObject<{
|
|
|
2782
2814
|
symbol: string;
|
|
2783
2815
|
id: string;
|
|
2784
2816
|
name: string;
|
|
2817
|
+
collectionId: string;
|
|
2818
|
+
collectionName: string;
|
|
2785
2819
|
created: Date;
|
|
2786
2820
|
updated: Date;
|
|
2787
2821
|
exchange: string;
|
|
@@ -2791,6 +2825,8 @@ export declare const ZStockPositionWithQuote: z.ZodObject<{
|
|
|
2791
2825
|
symbol: string;
|
|
2792
2826
|
id: string;
|
|
2793
2827
|
name: string;
|
|
2828
|
+
collectionId: string;
|
|
2829
|
+
collectionName: string;
|
|
2794
2830
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2795
2831
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2796
2832
|
exchange: string;
|
|
@@ -2824,6 +2860,8 @@ export declare const ZStockPositionWithQuote: z.ZodObject<{
|
|
|
2824
2860
|
isin: string;
|
|
2825
2861
|
cachedAt: (string | number | Date) & (string | number | Date | undefined);
|
|
2826
2862
|
}>;
|
|
2863
|
+
collectionId: z.ZodString;
|
|
2864
|
+
collectionName: z.ZodString;
|
|
2827
2865
|
id: z.ZodString;
|
|
2828
2866
|
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2829
2867
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
@@ -2831,6 +2869,8 @@ export declare const ZStockPositionWithQuote: z.ZodObject<{
|
|
|
2831
2869
|
id: string;
|
|
2832
2870
|
name: string;
|
|
2833
2871
|
currency: string;
|
|
2872
|
+
collectionId: string;
|
|
2873
|
+
collectionName: string;
|
|
2834
2874
|
created: Date;
|
|
2835
2875
|
updated: Date;
|
|
2836
2876
|
owner: string;
|
|
@@ -2839,6 +2879,8 @@ export declare const ZStockPositionWithQuote: z.ZodObject<{
|
|
|
2839
2879
|
symbol: string;
|
|
2840
2880
|
id: string;
|
|
2841
2881
|
name: string;
|
|
2882
|
+
collectionId: string;
|
|
2883
|
+
collectionName: string;
|
|
2842
2884
|
created: Date;
|
|
2843
2885
|
updated: Date;
|
|
2844
2886
|
exchange: string;
|
|
@@ -2864,6 +2906,8 @@ export declare const ZStockPositionWithQuote: z.ZodObject<{
|
|
|
2864
2906
|
id: string;
|
|
2865
2907
|
name: string;
|
|
2866
2908
|
currency: string;
|
|
2909
|
+
collectionId: string;
|
|
2910
|
+
collectionName: string;
|
|
2867
2911
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2868
2912
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2869
2913
|
owner: string;
|
|
@@ -2872,6 +2916,8 @@ export declare const ZStockPositionWithQuote: z.ZodObject<{
|
|
|
2872
2916
|
symbol: string;
|
|
2873
2917
|
id: string;
|
|
2874
2918
|
name: string;
|
|
2919
|
+
collectionId: string;
|
|
2920
|
+
collectionName: string;
|
|
2875
2921
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2876
2922
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2877
2923
|
exchange: string;
|
|
@@ -13,6 +13,8 @@ export declare const ZSubscription: z.ZodObject<{
|
|
|
13
13
|
owner: z.ZodString;
|
|
14
14
|
name: z.ZodString;
|
|
15
15
|
description: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null, string | null | undefined>;
|
|
16
|
+
collectionId: z.ZodString;
|
|
17
|
+
collectionName: z.ZodString;
|
|
16
18
|
id: z.ZodString;
|
|
17
19
|
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
18
20
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
@@ -20,12 +22,16 @@ export declare const ZSubscription: z.ZodObject<{
|
|
|
20
22
|
id: string;
|
|
21
23
|
name: string;
|
|
22
24
|
description: string | null;
|
|
25
|
+
collectionId: string;
|
|
26
|
+
collectionName: string;
|
|
23
27
|
created: Date;
|
|
24
28
|
updated: Date;
|
|
25
29
|
owner: string;
|
|
26
30
|
}, {
|
|
27
31
|
id: string;
|
|
28
32
|
name: string;
|
|
33
|
+
collectionId: string;
|
|
34
|
+
collectionName: string;
|
|
29
35
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
30
36
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
31
37
|
owner: string;
|
|
@@ -37,6 +43,8 @@ export declare const ZSubscription: z.ZodObject<{
|
|
|
37
43
|
provider: z.ZodString;
|
|
38
44
|
address: z.ZodString;
|
|
39
45
|
description: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null, string | null | undefined>;
|
|
46
|
+
collectionId: z.ZodString;
|
|
47
|
+
collectionName: z.ZodString;
|
|
40
48
|
id: z.ZodString;
|
|
41
49
|
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
42
50
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
@@ -45,6 +53,8 @@ export declare const ZSubscription: z.ZodObject<{
|
|
|
45
53
|
address: string;
|
|
46
54
|
name: string;
|
|
47
55
|
description: string | null;
|
|
56
|
+
collectionId: string;
|
|
57
|
+
collectionName: string;
|
|
48
58
|
created: Date;
|
|
49
59
|
updated: Date;
|
|
50
60
|
owner: string;
|
|
@@ -53,6 +63,8 @@ export declare const ZSubscription: z.ZodObject<{
|
|
|
53
63
|
id: string;
|
|
54
64
|
address: string;
|
|
55
65
|
name: string;
|
|
66
|
+
collectionId: string;
|
|
67
|
+
collectionName: string;
|
|
56
68
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
57
69
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
58
70
|
owner: string;
|
|
@@ -64,6 +76,8 @@ export declare const ZSubscription: z.ZodObject<{
|
|
|
64
76
|
id: string;
|
|
65
77
|
name: string;
|
|
66
78
|
description: string | null;
|
|
79
|
+
collectionId: string;
|
|
80
|
+
collectionName: string;
|
|
67
81
|
created: Date;
|
|
68
82
|
updated: Date;
|
|
69
83
|
owner: string;
|
|
@@ -73,6 +87,8 @@ export declare const ZSubscription: z.ZodObject<{
|
|
|
73
87
|
address: string;
|
|
74
88
|
name: string;
|
|
75
89
|
description: string | null;
|
|
90
|
+
collectionId: string;
|
|
91
|
+
collectionName: string;
|
|
76
92
|
created: Date;
|
|
77
93
|
updated: Date;
|
|
78
94
|
owner: string;
|
|
@@ -82,6 +98,8 @@ export declare const ZSubscription: z.ZodObject<{
|
|
|
82
98
|
category: {
|
|
83
99
|
id: string;
|
|
84
100
|
name: string;
|
|
101
|
+
collectionId: string;
|
|
102
|
+
collectionName: string;
|
|
85
103
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
86
104
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
87
105
|
owner: string;
|
|
@@ -91,6 +109,8 @@ export declare const ZSubscription: z.ZodObject<{
|
|
|
91
109
|
id: string;
|
|
92
110
|
address: string;
|
|
93
111
|
name: string;
|
|
112
|
+
collectionId: string;
|
|
113
|
+
collectionName: string;
|
|
94
114
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
95
115
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
96
116
|
owner: string;
|
|
@@ -98,6 +118,8 @@ export declare const ZSubscription: z.ZodObject<{
|
|
|
98
118
|
description?: string | null | undefined;
|
|
99
119
|
};
|
|
100
120
|
}>;
|
|
121
|
+
collectionId: z.ZodString;
|
|
122
|
+
collectionName: z.ZodString;
|
|
101
123
|
id: z.ZodString;
|
|
102
124
|
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
103
125
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
@@ -105,6 +127,8 @@ export declare const ZSubscription: z.ZodObject<{
|
|
|
105
127
|
id: string;
|
|
106
128
|
receiver: string;
|
|
107
129
|
paused: boolean;
|
|
130
|
+
collectionId: string;
|
|
131
|
+
collectionName: string;
|
|
108
132
|
created: Date;
|
|
109
133
|
updated: Date;
|
|
110
134
|
owner: string;
|
|
@@ -114,6 +138,8 @@ export declare const ZSubscription: z.ZodObject<{
|
|
|
114
138
|
id: string;
|
|
115
139
|
name: string;
|
|
116
140
|
description: string | null;
|
|
141
|
+
collectionId: string;
|
|
142
|
+
collectionName: string;
|
|
117
143
|
created: Date;
|
|
118
144
|
updated: Date;
|
|
119
145
|
owner: string;
|
|
@@ -123,6 +149,8 @@ export declare const ZSubscription: z.ZodObject<{
|
|
|
123
149
|
address: string;
|
|
124
150
|
name: string;
|
|
125
151
|
description: string | null;
|
|
152
|
+
collectionId: string;
|
|
153
|
+
collectionName: string;
|
|
126
154
|
created: Date;
|
|
127
155
|
updated: Date;
|
|
128
156
|
owner: string;
|
|
@@ -137,6 +165,8 @@ export declare const ZSubscription: z.ZodObject<{
|
|
|
137
165
|
id: string;
|
|
138
166
|
receiver: string;
|
|
139
167
|
paused: boolean;
|
|
168
|
+
collectionId: string;
|
|
169
|
+
collectionName: string;
|
|
140
170
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
141
171
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
142
172
|
owner: string;
|
|
@@ -145,6 +175,8 @@ export declare const ZSubscription: z.ZodObject<{
|
|
|
145
175
|
category: {
|
|
146
176
|
id: string;
|
|
147
177
|
name: string;
|
|
178
|
+
collectionId: string;
|
|
179
|
+
collectionName: string;
|
|
148
180
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
149
181
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
150
182
|
owner: string;
|
|
@@ -154,6 +186,8 @@ export declare const ZSubscription: z.ZodObject<{
|
|
|
154
186
|
id: string;
|
|
155
187
|
address: string;
|
|
156
188
|
name: string;
|
|
189
|
+
collectionId: string;
|
|
190
|
+
collectionName: string;
|
|
157
191
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
158
192
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
159
193
|
owner: string;
|
|
@@ -13,6 +13,8 @@ export declare const ZTransaction: z.ZodObject<{
|
|
|
13
13
|
owner: z.ZodString;
|
|
14
14
|
name: z.ZodString;
|
|
15
15
|
description: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null, string | null | undefined>;
|
|
16
|
+
collectionId: z.ZodString;
|
|
17
|
+
collectionName: z.ZodString;
|
|
16
18
|
id: z.ZodString;
|
|
17
19
|
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
18
20
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
@@ -20,12 +22,16 @@ export declare const ZTransaction: z.ZodObject<{
|
|
|
20
22
|
id: string;
|
|
21
23
|
name: string;
|
|
22
24
|
description: string | null;
|
|
25
|
+
collectionId: string;
|
|
26
|
+
collectionName: string;
|
|
23
27
|
created: Date;
|
|
24
28
|
updated: Date;
|
|
25
29
|
owner: string;
|
|
26
30
|
}, {
|
|
27
31
|
id: string;
|
|
28
32
|
name: string;
|
|
33
|
+
collectionId: string;
|
|
34
|
+
collectionName: string;
|
|
29
35
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
30
36
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
31
37
|
owner: string;
|
|
@@ -37,6 +43,8 @@ export declare const ZTransaction: z.ZodObject<{
|
|
|
37
43
|
provider: z.ZodString;
|
|
38
44
|
address: z.ZodString;
|
|
39
45
|
description: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null, string | null | undefined>;
|
|
46
|
+
collectionId: z.ZodString;
|
|
47
|
+
collectionName: z.ZodString;
|
|
40
48
|
id: z.ZodString;
|
|
41
49
|
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
42
50
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
@@ -45,6 +53,8 @@ export declare const ZTransaction: z.ZodObject<{
|
|
|
45
53
|
address: string;
|
|
46
54
|
name: string;
|
|
47
55
|
description: string | null;
|
|
56
|
+
collectionId: string;
|
|
57
|
+
collectionName: string;
|
|
48
58
|
created: Date;
|
|
49
59
|
updated: Date;
|
|
50
60
|
owner: string;
|
|
@@ -53,6 +63,8 @@ export declare const ZTransaction: z.ZodObject<{
|
|
|
53
63
|
id: string;
|
|
54
64
|
address: string;
|
|
55
65
|
name: string;
|
|
66
|
+
collectionId: string;
|
|
67
|
+
collectionName: string;
|
|
56
68
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
57
69
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
58
70
|
owner: string;
|
|
@@ -64,6 +76,8 @@ export declare const ZTransaction: z.ZodObject<{
|
|
|
64
76
|
id: string;
|
|
65
77
|
name: string;
|
|
66
78
|
description: string | null;
|
|
79
|
+
collectionId: string;
|
|
80
|
+
collectionName: string;
|
|
67
81
|
created: Date;
|
|
68
82
|
updated: Date;
|
|
69
83
|
owner: string;
|
|
@@ -73,6 +87,8 @@ export declare const ZTransaction: z.ZodObject<{
|
|
|
73
87
|
address: string;
|
|
74
88
|
name: string;
|
|
75
89
|
description: string | null;
|
|
90
|
+
collectionId: string;
|
|
91
|
+
collectionName: string;
|
|
76
92
|
created: Date;
|
|
77
93
|
updated: Date;
|
|
78
94
|
owner: string;
|
|
@@ -82,6 +98,8 @@ export declare const ZTransaction: z.ZodObject<{
|
|
|
82
98
|
category: {
|
|
83
99
|
id: string;
|
|
84
100
|
name: string;
|
|
101
|
+
collectionId: string;
|
|
102
|
+
collectionName: string;
|
|
85
103
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
86
104
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
87
105
|
owner: string;
|
|
@@ -91,6 +109,8 @@ export declare const ZTransaction: z.ZodObject<{
|
|
|
91
109
|
id: string;
|
|
92
110
|
address: string;
|
|
93
111
|
name: string;
|
|
112
|
+
collectionId: string;
|
|
113
|
+
collectionName: string;
|
|
94
114
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
95
115
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
96
116
|
owner: string;
|
|
@@ -98,12 +118,16 @@ export declare const ZTransaction: z.ZodObject<{
|
|
|
98
118
|
description?: string | null | undefined;
|
|
99
119
|
};
|
|
100
120
|
}>;
|
|
121
|
+
collectionId: z.ZodString;
|
|
122
|
+
collectionName: z.ZodString;
|
|
101
123
|
id: z.ZodString;
|
|
102
124
|
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
103
125
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
104
126
|
}, "strip", z.ZodTypeAny, {
|
|
105
127
|
id: string;
|
|
106
128
|
receiver: string;
|
|
129
|
+
collectionId: string;
|
|
130
|
+
collectionName: string;
|
|
107
131
|
created: Date;
|
|
108
132
|
updated: Date;
|
|
109
133
|
owner: string;
|
|
@@ -113,6 +137,8 @@ export declare const ZTransaction: z.ZodObject<{
|
|
|
113
137
|
id: string;
|
|
114
138
|
name: string;
|
|
115
139
|
description: string | null;
|
|
140
|
+
collectionId: string;
|
|
141
|
+
collectionName: string;
|
|
116
142
|
created: Date;
|
|
117
143
|
updated: Date;
|
|
118
144
|
owner: string;
|
|
@@ -122,6 +148,8 @@ export declare const ZTransaction: z.ZodObject<{
|
|
|
122
148
|
address: string;
|
|
123
149
|
name: string;
|
|
124
150
|
description: string | null;
|
|
151
|
+
collectionId: string;
|
|
152
|
+
collectionName: string;
|
|
125
153
|
created: Date;
|
|
126
154
|
updated: Date;
|
|
127
155
|
owner: string;
|
|
@@ -136,6 +164,8 @@ export declare const ZTransaction: z.ZodObject<{
|
|
|
136
164
|
}, {
|
|
137
165
|
id: string;
|
|
138
166
|
receiver: string;
|
|
167
|
+
collectionId: string;
|
|
168
|
+
collectionName: string;
|
|
139
169
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
140
170
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
141
171
|
owner: string;
|
|
@@ -144,6 +174,8 @@ export declare const ZTransaction: z.ZodObject<{
|
|
|
144
174
|
category: {
|
|
145
175
|
id: string;
|
|
146
176
|
name: string;
|
|
177
|
+
collectionId: string;
|
|
178
|
+
collectionName: string;
|
|
147
179
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
148
180
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
149
181
|
owner: string;
|
|
@@ -153,6 +185,8 @@ export declare const ZTransaction: z.ZodObject<{
|
|
|
153
185
|
id: string;
|
|
154
186
|
address: string;
|
|
155
187
|
name: string;
|
|
188
|
+
collectionId: string;
|
|
189
|
+
collectionName: string;
|
|
156
190
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
157
191
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
158
192
|
owner: string;
|
package/lib/User.types.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ export declare const ZUser: z.ZodNullable<z.ZodObject<{
|
|
|
7
7
|
name: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null, string | null | undefined>;
|
|
8
8
|
surname: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null, string | null | undefined>;
|
|
9
9
|
verified: z.ZodBoolean;
|
|
10
|
+
collectionId: z.ZodString;
|
|
11
|
+
collectionName: z.ZodString;
|
|
10
12
|
id: z.ZodString;
|
|
11
13
|
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
12
14
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
@@ -14,6 +16,8 @@ export declare const ZUser: z.ZodNullable<z.ZodObject<{
|
|
|
14
16
|
id: string;
|
|
15
17
|
name: string | null;
|
|
16
18
|
email: string;
|
|
19
|
+
collectionId: string;
|
|
20
|
+
collectionName: string;
|
|
17
21
|
created: Date;
|
|
18
22
|
updated: Date;
|
|
19
23
|
avatar: string | null;
|
|
@@ -24,6 +28,8 @@ export declare const ZUser: z.ZodNullable<z.ZodObject<{
|
|
|
24
28
|
}, {
|
|
25
29
|
id: string;
|
|
26
30
|
email: string;
|
|
31
|
+
collectionId: string;
|
|
32
|
+
collectionName: string;
|
|
27
33
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
28
34
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
29
35
|
emailVisibility: boolean;
|