@budgetbuddyde/types 1.0.24 → 1.0.26
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 +6 -0
- package/lib/PocketBase.types.js +2 -0
- package/lib/Stocks/Stock.types.d.ts +158 -0
- package/lib/Stocks/Stock.types.js +22 -1
- 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;
|
|
@@ -17,15 +17,21 @@ export declare enum PocketBaseCollection {
|
|
|
17
17
|
export declare const ZId: z.ZodString;
|
|
18
18
|
export type TId = z.infer<typeof ZId>;
|
|
19
19
|
export declare const ZBaseModel: z.ZodObject<{
|
|
20
|
+
collectionId: z.ZodString;
|
|
21
|
+
collectionName: z.ZodString;
|
|
20
22
|
id: z.ZodString;
|
|
21
23
|
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
22
24
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
23
25
|
}, "strip", z.ZodTypeAny, {
|
|
24
26
|
id: string;
|
|
27
|
+
collectionId: string;
|
|
28
|
+
collectionName: string;
|
|
25
29
|
created: Date;
|
|
26
30
|
updated: Date;
|
|
27
31
|
}, {
|
|
28
32
|
id: 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
|
}>;
|
package/lib/PocketBase.types.js
CHANGED
|
@@ -21,6 +21,8 @@ var PocketBaseCollection;
|
|
|
21
21
|
*/
|
|
22
22
|
exports.ZId = zod_1.z.string().length(15);
|
|
23
23
|
exports.ZBaseModel = zod_1.z.object({
|
|
24
|
+
collectionId: exports.ZId,
|
|
25
|
+
collectionName: zod_1.z.string(),
|
|
24
26
|
id: exports.ZId,
|
|
25
27
|
created: Base_type_1.ZDate,
|
|
26
28
|
updated: Base_type_1.ZDate,
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const ZIsin: z.ZodString;
|
|
3
|
+
export type TIsin = z.infer<typeof ZIsin>;
|
|
4
|
+
export declare const ZWKN: z.ZodString;
|
|
5
|
+
export type TWKN = z.infer<typeof ZWKN>;
|
|
2
6
|
export declare const ZCurrency: z.ZodString;
|
|
3
7
|
export type TCurrency = z.infer<typeof ZCurrency>;
|
|
4
8
|
export declare const ZTimeframe: z.ZodEnum<["1d", "1m", "3m", "1y", "5y", "ytd"]>;
|
|
@@ -2630,6 +2634,8 @@ export declare const ZStockExchange: z.ZodObject<{
|
|
|
2630
2634
|
name: z.ZodString;
|
|
2631
2635
|
symbol: z.ZodString;
|
|
2632
2636
|
exchange: z.ZodString;
|
|
2637
|
+
collectionId: z.ZodString;
|
|
2638
|
+
collectionName: z.ZodString;
|
|
2633
2639
|
id: z.ZodString;
|
|
2634
2640
|
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2635
2641
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
@@ -2637,6 +2643,8 @@ export declare const ZStockExchange: z.ZodObject<{
|
|
|
2637
2643
|
symbol: string;
|
|
2638
2644
|
id: string;
|
|
2639
2645
|
name: string;
|
|
2646
|
+
collectionId: string;
|
|
2647
|
+
collectionName: string;
|
|
2640
2648
|
created: Date;
|
|
2641
2649
|
updated: Date;
|
|
2642
2650
|
exchange: string;
|
|
@@ -2644,6 +2652,8 @@ export declare const ZStockExchange: z.ZodObject<{
|
|
|
2644
2652
|
symbol: string;
|
|
2645
2653
|
id: string;
|
|
2646
2654
|
name: string;
|
|
2655
|
+
collectionId: string;
|
|
2656
|
+
collectionName: string;
|
|
2647
2657
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2648
2658
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2649
2659
|
exchange: string;
|
|
@@ -2662,6 +2672,8 @@ export declare const ZStockPosition: z.ZodObject<{
|
|
|
2662
2672
|
name: z.ZodString;
|
|
2663
2673
|
symbol: z.ZodString;
|
|
2664
2674
|
exchange: z.ZodString;
|
|
2675
|
+
collectionId: z.ZodString;
|
|
2676
|
+
collectionName: z.ZodString;
|
|
2665
2677
|
id: z.ZodString;
|
|
2666
2678
|
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2667
2679
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
@@ -2669,6 +2681,8 @@ export declare const ZStockPosition: z.ZodObject<{
|
|
|
2669
2681
|
symbol: string;
|
|
2670
2682
|
id: string;
|
|
2671
2683
|
name: string;
|
|
2684
|
+
collectionId: string;
|
|
2685
|
+
collectionName: string;
|
|
2672
2686
|
created: Date;
|
|
2673
2687
|
updated: Date;
|
|
2674
2688
|
exchange: string;
|
|
@@ -2676,6 +2690,8 @@ export declare const ZStockPosition: z.ZodObject<{
|
|
|
2676
2690
|
symbol: string;
|
|
2677
2691
|
id: string;
|
|
2678
2692
|
name: string;
|
|
2693
|
+
collectionId: string;
|
|
2694
|
+
collectionName: string;
|
|
2679
2695
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2680
2696
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2681
2697
|
exchange: string;
|
|
@@ -2685,6 +2701,8 @@ export declare const ZStockPosition: z.ZodObject<{
|
|
|
2685
2701
|
symbol: string;
|
|
2686
2702
|
id: string;
|
|
2687
2703
|
name: string;
|
|
2704
|
+
collectionId: string;
|
|
2705
|
+
collectionName: string;
|
|
2688
2706
|
created: Date;
|
|
2689
2707
|
updated: Date;
|
|
2690
2708
|
exchange: string;
|
|
@@ -2694,17 +2712,23 @@ export declare const ZStockPosition: z.ZodObject<{
|
|
|
2694
2712
|
symbol: string;
|
|
2695
2713
|
id: string;
|
|
2696
2714
|
name: string;
|
|
2715
|
+
collectionId: string;
|
|
2716
|
+
collectionName: string;
|
|
2697
2717
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2698
2718
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2699
2719
|
exchange: string;
|
|
2700
2720
|
};
|
|
2701
2721
|
}>;
|
|
2722
|
+
collectionId: z.ZodString;
|
|
2723
|
+
collectionName: z.ZodString;
|
|
2702
2724
|
id: z.ZodString;
|
|
2703
2725
|
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2704
2726
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2705
2727
|
}, "strip", z.ZodTypeAny, {
|
|
2706
2728
|
id: string;
|
|
2707
2729
|
currency: string;
|
|
2730
|
+
collectionId: string;
|
|
2731
|
+
collectionName: string;
|
|
2708
2732
|
created: Date;
|
|
2709
2733
|
updated: Date;
|
|
2710
2734
|
owner: string;
|
|
@@ -2713,6 +2737,8 @@ export declare const ZStockPosition: z.ZodObject<{
|
|
|
2713
2737
|
symbol: string;
|
|
2714
2738
|
id: string;
|
|
2715
2739
|
name: string;
|
|
2740
|
+
collectionId: string;
|
|
2741
|
+
collectionName: string;
|
|
2716
2742
|
created: Date;
|
|
2717
2743
|
updated: Date;
|
|
2718
2744
|
exchange: string;
|
|
@@ -2726,6 +2752,8 @@ export declare const ZStockPosition: z.ZodObject<{
|
|
|
2726
2752
|
}, {
|
|
2727
2753
|
id: string;
|
|
2728
2754
|
currency: string;
|
|
2755
|
+
collectionId: string;
|
|
2756
|
+
collectionName: string;
|
|
2729
2757
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2730
2758
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2731
2759
|
owner: string;
|
|
@@ -2734,6 +2762,8 @@ export declare const ZStockPosition: z.ZodObject<{
|
|
|
2734
2762
|
symbol: string;
|
|
2735
2763
|
id: string;
|
|
2736
2764
|
name: string;
|
|
2765
|
+
collectionId: string;
|
|
2766
|
+
collectionName: string;
|
|
2737
2767
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2738
2768
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2739
2769
|
exchange: string;
|
|
@@ -2759,6 +2789,8 @@ export declare const ZStockPositionWithQuote: z.ZodObject<{
|
|
|
2759
2789
|
name: z.ZodString;
|
|
2760
2790
|
symbol: z.ZodString;
|
|
2761
2791
|
exchange: z.ZodString;
|
|
2792
|
+
collectionId: z.ZodString;
|
|
2793
|
+
collectionName: z.ZodString;
|
|
2762
2794
|
id: z.ZodString;
|
|
2763
2795
|
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2764
2796
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
@@ -2766,6 +2798,8 @@ export declare const ZStockPositionWithQuote: z.ZodObject<{
|
|
|
2766
2798
|
symbol: string;
|
|
2767
2799
|
id: string;
|
|
2768
2800
|
name: string;
|
|
2801
|
+
collectionId: string;
|
|
2802
|
+
collectionName: string;
|
|
2769
2803
|
created: Date;
|
|
2770
2804
|
updated: Date;
|
|
2771
2805
|
exchange: string;
|
|
@@ -2773,6 +2807,8 @@ export declare const ZStockPositionWithQuote: z.ZodObject<{
|
|
|
2773
2807
|
symbol: string;
|
|
2774
2808
|
id: string;
|
|
2775
2809
|
name: string;
|
|
2810
|
+
collectionId: string;
|
|
2811
|
+
collectionName: string;
|
|
2776
2812
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2777
2813
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2778
2814
|
exchange: string;
|
|
@@ -2782,6 +2818,8 @@ export declare const ZStockPositionWithQuote: z.ZodObject<{
|
|
|
2782
2818
|
symbol: string;
|
|
2783
2819
|
id: string;
|
|
2784
2820
|
name: string;
|
|
2821
|
+
collectionId: string;
|
|
2822
|
+
collectionName: string;
|
|
2785
2823
|
created: Date;
|
|
2786
2824
|
updated: Date;
|
|
2787
2825
|
exchange: string;
|
|
@@ -2791,6 +2829,8 @@ export declare const ZStockPositionWithQuote: z.ZodObject<{
|
|
|
2791
2829
|
symbol: string;
|
|
2792
2830
|
id: string;
|
|
2793
2831
|
name: string;
|
|
2832
|
+
collectionId: string;
|
|
2833
|
+
collectionName: string;
|
|
2794
2834
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2795
2835
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2796
2836
|
exchange: string;
|
|
@@ -2824,6 +2864,8 @@ export declare const ZStockPositionWithQuote: z.ZodObject<{
|
|
|
2824
2864
|
isin: string;
|
|
2825
2865
|
cachedAt: (string | number | Date) & (string | number | Date | undefined);
|
|
2826
2866
|
}>;
|
|
2867
|
+
collectionId: z.ZodString;
|
|
2868
|
+
collectionName: z.ZodString;
|
|
2827
2869
|
id: z.ZodString;
|
|
2828
2870
|
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
2829
2871
|
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
@@ -2831,6 +2873,8 @@ export declare const ZStockPositionWithQuote: z.ZodObject<{
|
|
|
2831
2873
|
id: string;
|
|
2832
2874
|
name: string;
|
|
2833
2875
|
currency: string;
|
|
2876
|
+
collectionId: string;
|
|
2877
|
+
collectionName: string;
|
|
2834
2878
|
created: Date;
|
|
2835
2879
|
updated: Date;
|
|
2836
2880
|
owner: string;
|
|
@@ -2839,6 +2883,8 @@ export declare const ZStockPositionWithQuote: z.ZodObject<{
|
|
|
2839
2883
|
symbol: string;
|
|
2840
2884
|
id: string;
|
|
2841
2885
|
name: string;
|
|
2886
|
+
collectionId: string;
|
|
2887
|
+
collectionName: string;
|
|
2842
2888
|
created: Date;
|
|
2843
2889
|
updated: Date;
|
|
2844
2890
|
exchange: string;
|
|
@@ -2864,6 +2910,8 @@ export declare const ZStockPositionWithQuote: z.ZodObject<{
|
|
|
2864
2910
|
id: string;
|
|
2865
2911
|
name: string;
|
|
2866
2912
|
currency: string;
|
|
2913
|
+
collectionId: string;
|
|
2914
|
+
collectionName: string;
|
|
2867
2915
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2868
2916
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2869
2917
|
owner: string;
|
|
@@ -2872,6 +2920,8 @@ export declare const ZStockPositionWithQuote: z.ZodObject<{
|
|
|
2872
2920
|
symbol: string;
|
|
2873
2921
|
id: string;
|
|
2874
2922
|
name: string;
|
|
2923
|
+
collectionId: string;
|
|
2924
|
+
collectionName: string;
|
|
2875
2925
|
created: (string | number | Date) & (string | number | Date | undefined);
|
|
2876
2926
|
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
2877
2927
|
exchange: string;
|
|
@@ -2950,3 +3000,111 @@ export declare const ZUpdateStockPositionPayload: z.ZodObject<{
|
|
|
2950
3000
|
quantity: number;
|
|
2951
3001
|
}>;
|
|
2952
3002
|
export type TUpdateStockPositionPayload = z.infer<typeof ZUpdateStockPositionPayload>;
|
|
3003
|
+
export declare const ZRelatedStock: z.ZodObject<{
|
|
3004
|
+
asset: z.ZodObject<{
|
|
3005
|
+
_id: z.ZodObject<{
|
|
3006
|
+
identifier: z.ZodString;
|
|
3007
|
+
assetType: z.ZodString;
|
|
3008
|
+
}, "strip", z.ZodTypeAny, {
|
|
3009
|
+
identifier: string;
|
|
3010
|
+
assetType: string;
|
|
3011
|
+
}, {
|
|
3012
|
+
identifier: string;
|
|
3013
|
+
assetType: string;
|
|
3014
|
+
}>;
|
|
3015
|
+
assetType: z.ZodString;
|
|
3016
|
+
name: z.ZodString;
|
|
3017
|
+
logo: z.ZodString;
|
|
3018
|
+
security: z.ZodObject<{
|
|
3019
|
+
website: z.ZodString;
|
|
3020
|
+
type: z.ZodString;
|
|
3021
|
+
wkn: z.ZodString;
|
|
3022
|
+
isin: z.ZodString;
|
|
3023
|
+
etfDomicile: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3024
|
+
etfCompany: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3025
|
+
}, "strip", z.ZodTypeAny, {
|
|
3026
|
+
type: string;
|
|
3027
|
+
isin: string;
|
|
3028
|
+
website: string;
|
|
3029
|
+
wkn: string;
|
|
3030
|
+
etfDomicile: string | null;
|
|
3031
|
+
etfCompany: string | null;
|
|
3032
|
+
}, {
|
|
3033
|
+
type: string;
|
|
3034
|
+
isin: string;
|
|
3035
|
+
website: string;
|
|
3036
|
+
wkn: string;
|
|
3037
|
+
etfDomicile?: string | null | undefined;
|
|
3038
|
+
etfCompany?: string | null | undefined;
|
|
3039
|
+
}>;
|
|
3040
|
+
}, "strip", z.ZodTypeAny, {
|
|
3041
|
+
name: string;
|
|
3042
|
+
_id: {
|
|
3043
|
+
identifier: string;
|
|
3044
|
+
assetType: string;
|
|
3045
|
+
};
|
|
3046
|
+
assetType: string;
|
|
3047
|
+
logo: string;
|
|
3048
|
+
security: {
|
|
3049
|
+
type: string;
|
|
3050
|
+
isin: string;
|
|
3051
|
+
website: string;
|
|
3052
|
+
wkn: string;
|
|
3053
|
+
etfDomicile: string | null;
|
|
3054
|
+
etfCompany: string | null;
|
|
3055
|
+
};
|
|
3056
|
+
}, {
|
|
3057
|
+
name: string;
|
|
3058
|
+
_id: {
|
|
3059
|
+
identifier: string;
|
|
3060
|
+
assetType: string;
|
|
3061
|
+
};
|
|
3062
|
+
assetType: string;
|
|
3063
|
+
logo: string;
|
|
3064
|
+
security: {
|
|
3065
|
+
type: string;
|
|
3066
|
+
isin: string;
|
|
3067
|
+
website: string;
|
|
3068
|
+
wkn: string;
|
|
3069
|
+
etfDomicile?: string | null | undefined;
|
|
3070
|
+
etfCompany?: string | null | undefined;
|
|
3071
|
+
};
|
|
3072
|
+
}>;
|
|
3073
|
+
}, "strip", z.ZodTypeAny, {
|
|
3074
|
+
asset: {
|
|
3075
|
+
name: string;
|
|
3076
|
+
_id: {
|
|
3077
|
+
identifier: string;
|
|
3078
|
+
assetType: string;
|
|
3079
|
+
};
|
|
3080
|
+
assetType: string;
|
|
3081
|
+
logo: string;
|
|
3082
|
+
security: {
|
|
3083
|
+
type: string;
|
|
3084
|
+
isin: string;
|
|
3085
|
+
website: string;
|
|
3086
|
+
wkn: string;
|
|
3087
|
+
etfDomicile: string | null;
|
|
3088
|
+
etfCompany: string | null;
|
|
3089
|
+
};
|
|
3090
|
+
};
|
|
3091
|
+
}, {
|
|
3092
|
+
asset: {
|
|
3093
|
+
name: string;
|
|
3094
|
+
_id: {
|
|
3095
|
+
identifier: string;
|
|
3096
|
+
assetType: string;
|
|
3097
|
+
};
|
|
3098
|
+
assetType: string;
|
|
3099
|
+
logo: string;
|
|
3100
|
+
security: {
|
|
3101
|
+
type: string;
|
|
3102
|
+
isin: string;
|
|
3103
|
+
website: string;
|
|
3104
|
+
wkn: string;
|
|
3105
|
+
etfDomicile?: string | null | undefined;
|
|
3106
|
+
etfCompany?: string | null | undefined;
|
|
3107
|
+
};
|
|
3108
|
+
};
|
|
3109
|
+
}>;
|
|
3110
|
+
export type TRelatedStock = z.infer<typeof ZRelatedStock>;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ZUpdateStockPositionPayload = exports.ZCreateStockPositionPayload = exports.ZStockPositionWithQuote = exports.ZStockPosition = exports.ZStockExchange = exports.ZAssetDetails = exports.ZDividendDetailList = exports.ZDividendDetails = exports.ZDividend = exports.ZAssetChartQuote = exports.ZAssetSearchResult = exports.ZAsset = exports.ZStockQuote = exports.ZStockType = exports.ZTimeframe = exports.ZCurrency = void 0;
|
|
3
|
+
exports.ZRelatedStock = exports.ZUpdateStockPositionPayload = exports.ZCreateStockPositionPayload = exports.ZStockPositionWithQuote = exports.ZStockPosition = exports.ZStockExchange = exports.ZAssetDetails = exports.ZDividendDetailList = exports.ZDividendDetails = exports.ZDividend = exports.ZAssetChartQuote = exports.ZAssetSearchResult = exports.ZAsset = exports.ZStockQuote = exports.ZStockType = exports.ZTimeframe = exports.ZCurrency = exports.ZWKN = exports.ZIsin = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const PocketBase_types_1 = require("../PocketBase.types");
|
|
6
6
|
const Base_type_1 = require("../Base.type");
|
|
7
|
+
exports.ZIsin = zod_1.z.string().length(12, { message: 'ISIN must be 12 characters long' });
|
|
8
|
+
exports.ZWKN = zod_1.z.string().length(6, { message: 'WKN must be 6 characters long' });
|
|
7
9
|
exports.ZCurrency = zod_1.z.string().max(3, { message: 'Currency must be 3 characters long' });
|
|
8
10
|
exports.ZTimeframe = zod_1.z.enum(['1d', '1m', '3m', '1y', '5y', 'ytd']);
|
|
9
11
|
exports.ZStockType = zod_1.z.enum(['Aktie', 'ETF']).or(zod_1.z.string());
|
|
@@ -383,3 +385,22 @@ exports.ZUpdateStockPositionPayload = zod_1.z.object({
|
|
|
383
385
|
currency: exports.ZCurrency,
|
|
384
386
|
quantity: zod_1.z.number(),
|
|
385
387
|
});
|
|
388
|
+
exports.ZRelatedStock = zod_1.z.object({
|
|
389
|
+
asset: zod_1.z.object({
|
|
390
|
+
_id: zod_1.z.object({
|
|
391
|
+
identifier: exports.ZIsin,
|
|
392
|
+
assetType: zod_1.z.string(),
|
|
393
|
+
}),
|
|
394
|
+
assetType: zod_1.z.string(),
|
|
395
|
+
name: zod_1.z.string(),
|
|
396
|
+
logo: zod_1.z.string().url(),
|
|
397
|
+
security: zod_1.z.object({
|
|
398
|
+
website: zod_1.z.string().url(),
|
|
399
|
+
type: zod_1.z.string(),
|
|
400
|
+
wkn: exports.ZWKN,
|
|
401
|
+
isin: exports.ZIsin,
|
|
402
|
+
etfDomicile: zod_1.z.string().nullable().default(null),
|
|
403
|
+
etfCompany: zod_1.z.string().nullable().default(null),
|
|
404
|
+
}),
|
|
405
|
+
}),
|
|
406
|
+
});
|
|
@@ -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;
|