@mcdylanproperenterprise/nodejs-proper-money-types 0.0.9 → 0.0.11
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 +12 -1
package/package.json
CHANGED
package/types.ts
CHANGED
|
@@ -257,8 +257,19 @@ export type TTransactionCategory = {
|
|
|
257
257
|
createdAt: Date;
|
|
258
258
|
};
|
|
259
259
|
|
|
260
|
+
export type TGetTransactionCategoryQuery = {
|
|
261
|
+
q: string;
|
|
262
|
+
page: number;
|
|
263
|
+
limit: number;
|
|
264
|
+
};
|
|
265
|
+
|
|
260
266
|
export type TGetTransactionCategoryResponse = {
|
|
261
|
-
|
|
267
|
+
data: TTransactionCategory[];
|
|
268
|
+
pagination: {
|
|
269
|
+
last_visible_page: number;
|
|
270
|
+
has_next_page: boolean;
|
|
271
|
+
total_items: number;
|
|
272
|
+
};
|
|
262
273
|
};
|
|
263
274
|
|
|
264
275
|
export type TPostTransactionCategoryCreateBody = {
|