@budgetbuddyde/types 1.0.21 → 1.0.23
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/ApiResponse.type.d.ts +0 -3
- package/lib/Budget.types.d.ts +114 -0
- package/lib/Budget.types.js +27 -0
- package/lib/Category.types.d.ts +52 -0
- package/lib/Category.types.js +23 -0
- package/lib/DailyBalance.types.d.ts +24 -0
- package/lib/DailyBalance.types.js +14 -0
- package/lib/{Auth.type.js → Deprecated/Auth.type.js} +1 -1
- package/lib/{Budget.type.js → Deprecated/Budget.type.js} +1 -1
- package/lib/{Category.type.js → Deprecated/Category.type.js} +1 -1
- package/lib/{DailyTransaction.type.js → Deprecated/DailyTransaction.type.js} +1 -1
- package/lib/{File.type.js → Deprecated/File.type.js} +1 -1
- package/lib/{PaymentMethod.type.js → Deprecated/PaymentMethod.type.js} +1 -1
- package/lib/{Role.type.js → Deprecated/Role.type.js} +1 -1
- package/lib/Deprecated/Stock.types.d.ts +326 -0
- package/lib/Deprecated/Stock.types.js +110 -0
- package/lib/{Subscription.type.js → Deprecated/Subscription.type.js} +1 -1
- package/lib/{Transaction.type.js → Deprecated/Transaction.type.js} +1 -1
- package/lib/{User.type.js → Deprecated/User.type.js} +1 -1
- package/lib/MonthlyBalance.types.d.ts +24 -0
- package/lib/MonthlyBalance.types.js +14 -0
- package/lib/PaymentMethod.types.d.ts +70 -0
- package/lib/PaymentMethod.types.js +29 -0
- package/lib/PocketBase.types.d.ts +22 -0
- package/lib/PocketBase.types.js +19 -0
- package/lib/{Stock.types.d.ts → Stocks/Stock.types.d.ts} +494 -489
- package/lib/{Stock.types.js → Stocks/Stock.types.js} +85 -126
- package/lib/Stocks/index.d.ts +1 -0
- package/lib/Stocks/index.js +17 -0
- package/lib/Subscription.types.d.ts +233 -0
- package/lib/Subscription.types.js +46 -0
- package/lib/Transaction.types.d.ts +227 -0
- package/lib/Transaction.types.js +45 -0
- package/lib/User.types.d.ts +36 -0
- package/lib/User.types.js +19 -0
- package/lib/index.d.ts +10 -11
- package/lib/index.js +10 -11
- package/package.json +1 -1
- package/lib/{Auth.type.d.ts → Deprecated/Auth.type.d.ts} +12 -12
- package/lib/{Budget.type.d.ts → Deprecated/Budget.type.d.ts} +107 -107
- package/lib/{Category.type.d.ts → Deprecated/Category.type.d.ts} +30 -30
- package/lib/{DailyTransaction.type.d.ts → Deprecated/DailyTransaction.type.d.ts} +0 -0
- package/lib/{File.type.d.ts → Deprecated/File.type.d.ts} +0 -0
- package/lib/{PaymentMethod.type.d.ts → Deprecated/PaymentMethod.type.d.ts} +30 -30
- package/lib/{Role.type.d.ts → Deprecated/Role.type.d.ts} +2 -2
- package/lib/{Subscription.type.d.ts → Deprecated/Subscription.type.d.ts} +124 -124
- package/lib/{Transaction.type.d.ts → Deprecated/Transaction.type.d.ts} +126 -126
- package/lib/{User.type.d.ts → Deprecated/User.type.d.ts} +6 -6
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const ZTransaction: z.ZodObject<{
|
|
3
|
+
owner: z.ZodString;
|
|
4
|
+
category: z.ZodString;
|
|
5
|
+
payment_method: z.ZodString;
|
|
6
|
+
processed_at: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
7
|
+
receiver: z.ZodString;
|
|
8
|
+
information: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null, string | null | undefined>;
|
|
9
|
+
transfer_amount: z.ZodNumber;
|
|
10
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11
|
+
expand: z.ZodObject<{
|
|
12
|
+
category: z.ZodObject<{
|
|
13
|
+
owner: z.ZodString;
|
|
14
|
+
name: z.ZodString;
|
|
15
|
+
description: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null, string | null | undefined>;
|
|
16
|
+
id: z.ZodString;
|
|
17
|
+
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
18
|
+
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
description: string | null;
|
|
23
|
+
created: Date;
|
|
24
|
+
updated: Date;
|
|
25
|
+
owner: string;
|
|
26
|
+
}, {
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
created: (string | number | Date) & (string | number | Date | undefined);
|
|
30
|
+
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
31
|
+
owner: string;
|
|
32
|
+
description?: string | null | undefined;
|
|
33
|
+
}>;
|
|
34
|
+
payment_method: z.ZodObject<{
|
|
35
|
+
owner: z.ZodString;
|
|
36
|
+
name: z.ZodString;
|
|
37
|
+
provider: z.ZodString;
|
|
38
|
+
address: z.ZodString;
|
|
39
|
+
description: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null, string | null | undefined>;
|
|
40
|
+
id: z.ZodString;
|
|
41
|
+
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
42
|
+
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
43
|
+
}, "strip", z.ZodTypeAny, {
|
|
44
|
+
id: string;
|
|
45
|
+
address: string;
|
|
46
|
+
name: string;
|
|
47
|
+
description: string | null;
|
|
48
|
+
created: Date;
|
|
49
|
+
updated: Date;
|
|
50
|
+
owner: string;
|
|
51
|
+
provider: string;
|
|
52
|
+
}, {
|
|
53
|
+
id: string;
|
|
54
|
+
address: string;
|
|
55
|
+
name: string;
|
|
56
|
+
created: (string | number | Date) & (string | number | Date | undefined);
|
|
57
|
+
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
58
|
+
owner: string;
|
|
59
|
+
provider: string;
|
|
60
|
+
description?: string | null | undefined;
|
|
61
|
+
}>;
|
|
62
|
+
}, "strip", z.ZodTypeAny, {
|
|
63
|
+
category: {
|
|
64
|
+
id: string;
|
|
65
|
+
name: string;
|
|
66
|
+
description: string | null;
|
|
67
|
+
created: Date;
|
|
68
|
+
updated: Date;
|
|
69
|
+
owner: string;
|
|
70
|
+
};
|
|
71
|
+
payment_method: {
|
|
72
|
+
id: string;
|
|
73
|
+
address: string;
|
|
74
|
+
name: string;
|
|
75
|
+
description: string | null;
|
|
76
|
+
created: Date;
|
|
77
|
+
updated: Date;
|
|
78
|
+
owner: string;
|
|
79
|
+
provider: string;
|
|
80
|
+
};
|
|
81
|
+
}, {
|
|
82
|
+
category: {
|
|
83
|
+
id: string;
|
|
84
|
+
name: string;
|
|
85
|
+
created: (string | number | Date) & (string | number | Date | undefined);
|
|
86
|
+
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
87
|
+
owner: string;
|
|
88
|
+
description?: string | null | undefined;
|
|
89
|
+
};
|
|
90
|
+
payment_method: {
|
|
91
|
+
id: string;
|
|
92
|
+
address: string;
|
|
93
|
+
name: string;
|
|
94
|
+
created: (string | number | Date) & (string | number | Date | undefined);
|
|
95
|
+
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
96
|
+
owner: string;
|
|
97
|
+
provider: string;
|
|
98
|
+
description?: string | null | undefined;
|
|
99
|
+
};
|
|
100
|
+
}>;
|
|
101
|
+
id: z.ZodString;
|
|
102
|
+
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
103
|
+
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
104
|
+
}, "strip", z.ZodTypeAny, {
|
|
105
|
+
id: string;
|
|
106
|
+
receiver: string;
|
|
107
|
+
created: Date;
|
|
108
|
+
updated: Date;
|
|
109
|
+
owner: string;
|
|
110
|
+
category: string;
|
|
111
|
+
expand: {
|
|
112
|
+
category: {
|
|
113
|
+
id: string;
|
|
114
|
+
name: string;
|
|
115
|
+
description: string | null;
|
|
116
|
+
created: Date;
|
|
117
|
+
updated: Date;
|
|
118
|
+
owner: string;
|
|
119
|
+
};
|
|
120
|
+
payment_method: {
|
|
121
|
+
id: string;
|
|
122
|
+
address: string;
|
|
123
|
+
name: string;
|
|
124
|
+
description: string | null;
|
|
125
|
+
created: Date;
|
|
126
|
+
updated: Date;
|
|
127
|
+
owner: string;
|
|
128
|
+
provider: string;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
payment_method: string;
|
|
132
|
+
transfer_amount: number;
|
|
133
|
+
information: string | null;
|
|
134
|
+
processed_at: Date;
|
|
135
|
+
attachments?: string[] | undefined;
|
|
136
|
+
}, {
|
|
137
|
+
id: string;
|
|
138
|
+
receiver: string;
|
|
139
|
+
created: (string | number | Date) & (string | number | Date | undefined);
|
|
140
|
+
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
141
|
+
owner: string;
|
|
142
|
+
category: string;
|
|
143
|
+
expand: {
|
|
144
|
+
category: {
|
|
145
|
+
id: string;
|
|
146
|
+
name: string;
|
|
147
|
+
created: (string | number | Date) & (string | number | Date | undefined);
|
|
148
|
+
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
149
|
+
owner: string;
|
|
150
|
+
description?: string | null | undefined;
|
|
151
|
+
};
|
|
152
|
+
payment_method: {
|
|
153
|
+
id: string;
|
|
154
|
+
address: string;
|
|
155
|
+
name: string;
|
|
156
|
+
created: (string | number | Date) & (string | number | Date | undefined);
|
|
157
|
+
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
158
|
+
owner: string;
|
|
159
|
+
provider: string;
|
|
160
|
+
description?: string | null | undefined;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
payment_method: string;
|
|
164
|
+
transfer_amount: number;
|
|
165
|
+
processed_at: (string | number | Date) & (string | number | Date | undefined);
|
|
166
|
+
information?: string | null | undefined;
|
|
167
|
+
attachments?: string[] | undefined;
|
|
168
|
+
}>;
|
|
169
|
+
export type TTransaction = z.infer<typeof ZTransaction>;
|
|
170
|
+
export declare const ZCreateTransactionPayload: z.ZodObject<{
|
|
171
|
+
owner: z.ZodString;
|
|
172
|
+
category: z.ZodString;
|
|
173
|
+
payment_method: z.ZodString;
|
|
174
|
+
processed_at: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
175
|
+
receiver: z.ZodString;
|
|
176
|
+
information: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null, string | null | undefined>;
|
|
177
|
+
transfer_amount: z.ZodNumber;
|
|
178
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
179
|
+
}, "strip", z.ZodTypeAny, {
|
|
180
|
+
receiver: string;
|
|
181
|
+
owner: string;
|
|
182
|
+
category: string;
|
|
183
|
+
payment_method: string;
|
|
184
|
+
transfer_amount: number;
|
|
185
|
+
information: string | null;
|
|
186
|
+
processed_at: Date;
|
|
187
|
+
attachments?: string[] | undefined;
|
|
188
|
+
}, {
|
|
189
|
+
receiver: string;
|
|
190
|
+
owner: string;
|
|
191
|
+
category: string;
|
|
192
|
+
payment_method: string;
|
|
193
|
+
transfer_amount: number;
|
|
194
|
+
processed_at: (string | number | Date) & (string | number | Date | undefined);
|
|
195
|
+
information?: string | null | undefined;
|
|
196
|
+
attachments?: string[] | undefined;
|
|
197
|
+
}>;
|
|
198
|
+
export type TCreateTransactionPayload = z.infer<typeof ZCreateTransactionPayload>;
|
|
199
|
+
export declare const ZUpdateTransactionPayload: z.ZodObject<{
|
|
200
|
+
owner: z.ZodString;
|
|
201
|
+
category: z.ZodString;
|
|
202
|
+
payment_method: z.ZodString;
|
|
203
|
+
processed_at: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
204
|
+
receiver: z.ZodString;
|
|
205
|
+
information: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null, string | null | undefined>;
|
|
206
|
+
transfer_amount: z.ZodNumber;
|
|
207
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
208
|
+
}, "strip", z.ZodTypeAny, {
|
|
209
|
+
receiver: string;
|
|
210
|
+
owner: string;
|
|
211
|
+
category: string;
|
|
212
|
+
payment_method: string;
|
|
213
|
+
transfer_amount: number;
|
|
214
|
+
information: string | null;
|
|
215
|
+
processed_at: Date;
|
|
216
|
+
attachments?: string[] | undefined;
|
|
217
|
+
}, {
|
|
218
|
+
receiver: string;
|
|
219
|
+
owner: string;
|
|
220
|
+
category: string;
|
|
221
|
+
payment_method: string;
|
|
222
|
+
transfer_amount: number;
|
|
223
|
+
processed_at: (string | number | Date) & (string | number | Date | undefined);
|
|
224
|
+
information?: string | null | undefined;
|
|
225
|
+
attachments?: string[] | undefined;
|
|
226
|
+
}>;
|
|
227
|
+
export type TUpdateTransactionPayload = z.infer<typeof ZUpdateTransactionPayload>;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ZUpdateTransactionPayload = exports.ZCreateTransactionPayload = exports.ZTransaction = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const Base_type_1 = require("./Base.type");
|
|
6
|
+
const PocketBase_types_1 = require("./PocketBase.types");
|
|
7
|
+
const Category_types_1 = require("./Category.types");
|
|
8
|
+
const PaymentMethod_types_1 = require("./PaymentMethod.types");
|
|
9
|
+
exports.ZTransaction = zod_1.z.object({
|
|
10
|
+
...PocketBase_types_1.ZBaseModel.shape,
|
|
11
|
+
...zod_1.z.object({
|
|
12
|
+
owner: PocketBase_types_1.ZId,
|
|
13
|
+
category: PocketBase_types_1.ZId,
|
|
14
|
+
payment_method: PocketBase_types_1.ZId,
|
|
15
|
+
processed_at: Base_type_1.ZDate,
|
|
16
|
+
receiver: zod_1.z.string(),
|
|
17
|
+
information: PocketBase_types_1.ZNullableString,
|
|
18
|
+
transfer_amount: zod_1.z.number(),
|
|
19
|
+
attachments: zod_1.z.array(zod_1.z.string()).optional(),
|
|
20
|
+
expand: zod_1.z.object({
|
|
21
|
+
category: Category_types_1.ZCategory,
|
|
22
|
+
payment_method: PaymentMethod_types_1.ZPaymentMethod,
|
|
23
|
+
}),
|
|
24
|
+
}).shape,
|
|
25
|
+
});
|
|
26
|
+
exports.ZCreateTransactionPayload = zod_1.z.object({
|
|
27
|
+
owner: PocketBase_types_1.ZId,
|
|
28
|
+
category: PocketBase_types_1.ZId,
|
|
29
|
+
payment_method: PocketBase_types_1.ZId,
|
|
30
|
+
processed_at: Base_type_1.ZDate,
|
|
31
|
+
receiver: zod_1.z.string(),
|
|
32
|
+
information: PocketBase_types_1.ZNullableString,
|
|
33
|
+
transfer_amount: zod_1.z.number(),
|
|
34
|
+
attachments: zod_1.z.array(zod_1.z.string()).optional(),
|
|
35
|
+
});
|
|
36
|
+
exports.ZUpdateTransactionPayload = zod_1.z.object({
|
|
37
|
+
owner: PocketBase_types_1.ZId,
|
|
38
|
+
category: PocketBase_types_1.ZId,
|
|
39
|
+
payment_method: PocketBase_types_1.ZId,
|
|
40
|
+
processed_at: Base_type_1.ZDate,
|
|
41
|
+
receiver: zod_1.z.string(),
|
|
42
|
+
information: PocketBase_types_1.ZNullableString,
|
|
43
|
+
transfer_amount: zod_1.z.number(),
|
|
44
|
+
attachments: zod_1.z.array(zod_1.z.string()).optional(),
|
|
45
|
+
});
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const ZUser: z.ZodNullable<z.ZodObject<{
|
|
3
|
+
avatar: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null, string | null | undefined>;
|
|
4
|
+
email: z.ZodString;
|
|
5
|
+
emailVisibility: z.ZodBoolean;
|
|
6
|
+
username: z.ZodString;
|
|
7
|
+
name: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null, string | null | undefined>;
|
|
8
|
+
surname: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null, string | null | undefined>;
|
|
9
|
+
verified: z.ZodBoolean;
|
|
10
|
+
id: z.ZodString;
|
|
11
|
+
created: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
12
|
+
updated: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
id: string;
|
|
15
|
+
name: string | null;
|
|
16
|
+
email: string;
|
|
17
|
+
created: Date;
|
|
18
|
+
updated: Date;
|
|
19
|
+
avatar: string | null;
|
|
20
|
+
emailVisibility: boolean;
|
|
21
|
+
username: string;
|
|
22
|
+
surname: string | null;
|
|
23
|
+
verified: boolean;
|
|
24
|
+
}, {
|
|
25
|
+
id: string;
|
|
26
|
+
email: string;
|
|
27
|
+
created: (string | number | Date) & (string | number | Date | undefined);
|
|
28
|
+
updated: (string | number | Date) & (string | number | Date | undefined);
|
|
29
|
+
emailVisibility: boolean;
|
|
30
|
+
username: string;
|
|
31
|
+
verified: boolean;
|
|
32
|
+
avatar?: string | null | undefined;
|
|
33
|
+
name?: string | null | undefined;
|
|
34
|
+
surname?: string | null | undefined;
|
|
35
|
+
}>>;
|
|
36
|
+
export type TUser = z.infer<typeof ZUser>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ZUser = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const PocketBase_types_1 = require("./PocketBase.types");
|
|
6
|
+
exports.ZUser = zod_1.z
|
|
7
|
+
.object({
|
|
8
|
+
...PocketBase_types_1.ZBaseModel.shape,
|
|
9
|
+
...zod_1.z.object({
|
|
10
|
+
avatar: PocketBase_types_1.ZNullableString,
|
|
11
|
+
email: zod_1.z.string().email(),
|
|
12
|
+
emailVisibility: zod_1.z.boolean(),
|
|
13
|
+
username: zod_1.z.string(),
|
|
14
|
+
name: PocketBase_types_1.ZNullableString,
|
|
15
|
+
surname: PocketBase_types_1.ZNullableString,
|
|
16
|
+
verified: zod_1.z.boolean(),
|
|
17
|
+
}).shape,
|
|
18
|
+
})
|
|
19
|
+
.nullable();
|
package/lib/index.d.ts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
export * from './Base.type';
|
|
2
|
-
export * from './Auth.type';
|
|
3
2
|
export * from './ApiResponse.type';
|
|
4
|
-
export * from './User.type';
|
|
5
|
-
export * from './Category.type';
|
|
6
|
-
export * from './PaymentMethod.type';
|
|
7
|
-
export * from './Transaction.type';
|
|
8
|
-
export * from './Subscription.type';
|
|
9
|
-
export * from './Budget.type';
|
|
10
|
-
export * from './DailyTransaction.type';
|
|
11
|
-
export * from './Role.type';
|
|
12
3
|
export * from './HttpStatusCode.type';
|
|
13
|
-
export * from './
|
|
14
|
-
export * from './
|
|
4
|
+
export * from './PocketBase.types';
|
|
5
|
+
export * from './User.types';
|
|
6
|
+
export * from './Category.types';
|
|
7
|
+
export * from './PaymentMethod.types';
|
|
8
|
+
export * from './Transaction.types';
|
|
9
|
+
export * from './Subscription.types';
|
|
10
|
+
export * from './Budget.types';
|
|
11
|
+
export * from './DailyBalance.types';
|
|
12
|
+
export * from './MonthlyBalance.types';
|
|
13
|
+
export * from './Stocks';
|
package/lib/index.js
CHANGED
|
@@ -15,16 +15,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./Base.type"), exports);
|
|
18
|
-
__exportStar(require("./Auth.type"), exports);
|
|
19
18
|
__exportStar(require("./ApiResponse.type"), exports);
|
|
20
|
-
__exportStar(require("./User.type"), exports);
|
|
21
|
-
__exportStar(require("./Category.type"), exports);
|
|
22
|
-
__exportStar(require("./PaymentMethod.type"), exports);
|
|
23
|
-
__exportStar(require("./Transaction.type"), exports);
|
|
24
|
-
__exportStar(require("./Subscription.type"), exports);
|
|
25
|
-
__exportStar(require("./Budget.type"), exports);
|
|
26
|
-
__exportStar(require("./DailyTransaction.type"), exports);
|
|
27
|
-
__exportStar(require("./Role.type"), exports);
|
|
28
19
|
__exportStar(require("./HttpStatusCode.type"), exports);
|
|
29
|
-
__exportStar(require("./
|
|
30
|
-
__exportStar(require("./
|
|
20
|
+
__exportStar(require("./PocketBase.types"), exports);
|
|
21
|
+
__exportStar(require("./User.types"), exports);
|
|
22
|
+
__exportStar(require("./Category.types"), exports);
|
|
23
|
+
__exportStar(require("./PaymentMethod.types"), exports);
|
|
24
|
+
__exportStar(require("./Transaction.types"), exports);
|
|
25
|
+
__exportStar(require("./Subscription.types"), exports);
|
|
26
|
+
__exportStar(require("./Budget.types"), exports);
|
|
27
|
+
__exportStar(require("./DailyBalance.types"), exports);
|
|
28
|
+
__exportStar(require("./MonthlyBalance.types"), exports);
|
|
29
|
+
__exportStar(require("./Stocks"), exports);
|
package/package.json
CHANGED
|
@@ -52,13 +52,13 @@ export declare const ZPasswordReset: z.ZodObject<{
|
|
|
52
52
|
id: number;
|
|
53
53
|
name: string;
|
|
54
54
|
description: string | null;
|
|
55
|
-
permissions: number;
|
|
56
55
|
createdAt: Date;
|
|
56
|
+
permissions: number;
|
|
57
57
|
}, {
|
|
58
58
|
id: number;
|
|
59
59
|
name: string;
|
|
60
|
-
permissions: number;
|
|
61
60
|
createdAt: (string | number | Date) & (string | number | Date | undefined);
|
|
61
|
+
permissions: number;
|
|
62
62
|
description?: string | null | undefined;
|
|
63
63
|
}>;
|
|
64
64
|
email: z.ZodString;
|
|
@@ -72,28 +72,28 @@ export declare const ZPasswordReset: z.ZodObject<{
|
|
|
72
72
|
id: number;
|
|
73
73
|
name: string;
|
|
74
74
|
description: string | null;
|
|
75
|
-
permissions: number;
|
|
76
75
|
createdAt: Date;
|
|
76
|
+
permissions: number;
|
|
77
77
|
};
|
|
78
78
|
email: string;
|
|
79
79
|
uuid: string;
|
|
80
|
+
surname: string;
|
|
80
81
|
createdAt: Date;
|
|
81
82
|
isVerified: boolean;
|
|
82
|
-
surname: string;
|
|
83
83
|
password: string;
|
|
84
84
|
}, {
|
|
85
85
|
name: string;
|
|
86
86
|
role: {
|
|
87
87
|
id: number;
|
|
88
88
|
name: string;
|
|
89
|
-
permissions: number;
|
|
90
89
|
createdAt: (string | number | Date) & (string | number | Date | undefined);
|
|
90
|
+
permissions: number;
|
|
91
91
|
description?: string | null | undefined;
|
|
92
92
|
};
|
|
93
93
|
email: string;
|
|
94
94
|
uuid: string;
|
|
95
|
-
createdAt: (string | number | Date) & (string | number | Date | undefined);
|
|
96
95
|
surname: string;
|
|
96
|
+
createdAt: (string | number | Date) & (string | number | Date | undefined);
|
|
97
97
|
password: string;
|
|
98
98
|
isVerified?: boolean | undefined;
|
|
99
99
|
}>;
|
|
@@ -102,44 +102,44 @@ export declare const ZPasswordReset: z.ZodObject<{
|
|
|
102
102
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodUnion<[z.ZodDate, z.ZodNumber]>, z.ZodString]>, Date, string | number | Date>;
|
|
103
103
|
}, "strip", z.ZodTypeAny, {
|
|
104
104
|
id: number;
|
|
105
|
-
createdAt: Date;
|
|
106
105
|
owner: {
|
|
107
106
|
name: string;
|
|
108
107
|
role: {
|
|
109
108
|
id: number;
|
|
110
109
|
name: string;
|
|
111
110
|
description: string | null;
|
|
112
|
-
permissions: number;
|
|
113
111
|
createdAt: Date;
|
|
112
|
+
permissions: number;
|
|
114
113
|
};
|
|
115
114
|
email: string;
|
|
116
115
|
uuid: string;
|
|
116
|
+
surname: string;
|
|
117
117
|
createdAt: Date;
|
|
118
118
|
isVerified: boolean;
|
|
119
|
-
surname: string;
|
|
120
119
|
password: string;
|
|
121
120
|
};
|
|
121
|
+
createdAt: Date;
|
|
122
122
|
otp: string;
|
|
123
123
|
used: boolean;
|
|
124
124
|
}, {
|
|
125
125
|
id: number;
|
|
126
|
-
createdAt: (string | number | Date) & (string | number | Date | undefined);
|
|
127
126
|
owner: {
|
|
128
127
|
name: string;
|
|
129
128
|
role: {
|
|
130
129
|
id: number;
|
|
131
130
|
name: string;
|
|
132
|
-
permissions: number;
|
|
133
131
|
createdAt: (string | number | Date) & (string | number | Date | undefined);
|
|
132
|
+
permissions: number;
|
|
134
133
|
description?: string | null | undefined;
|
|
135
134
|
};
|
|
136
135
|
email: string;
|
|
137
136
|
uuid: string;
|
|
138
|
-
createdAt: (string | number | Date) & (string | number | Date | undefined);
|
|
139
137
|
surname: string;
|
|
138
|
+
createdAt: (string | number | Date) & (string | number | Date | undefined);
|
|
140
139
|
password: string;
|
|
141
140
|
isVerified?: boolean | undefined;
|
|
142
141
|
};
|
|
142
|
+
createdAt: (string | number | Date) & (string | number | Date | undefined);
|
|
143
143
|
otp: string;
|
|
144
144
|
used: boolean;
|
|
145
145
|
}>;
|