@mcdylanproperenterprise/nodejs-proper-money-types 0.0.32 → 0.0.33
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/package.json +1 -1
- package/types.ts +19 -0
package/package.json
CHANGED
package/types.ts
CHANGED
|
@@ -144,6 +144,25 @@ export type TGetTransactionCategoryResponse = {
|
|
|
144
144
|
};
|
|
145
145
|
};
|
|
146
146
|
|
|
147
|
+
export type TGetTransactionCategoryDashboardQuery = {
|
|
148
|
+
startTransactedAt: Date;
|
|
149
|
+
endTransactedAt: Date;
|
|
150
|
+
transactionCategoryId: string;
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
export type TGetTransactionCategoryDashboardResponse = {
|
|
154
|
+
category: TTransactionCategory & {
|
|
155
|
+
amount: number;
|
|
156
|
+
transactionCount: number;
|
|
157
|
+
};
|
|
158
|
+
labels: {
|
|
159
|
+
_id: string;
|
|
160
|
+
name: string;
|
|
161
|
+
transactionCount: number;
|
|
162
|
+
amount: number;
|
|
163
|
+
}[];
|
|
164
|
+
};
|
|
165
|
+
|
|
147
166
|
export type TPostTransactionCategoryCreateBody = {
|
|
148
167
|
name: string;
|
|
149
168
|
type: ETransactionCategoryType;
|