@mcdylanproperenterprise/nodejs-proper-money-types 0.0.9 → 0.0.10

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types.ts +12 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcdylanproperenterprise/nodejs-proper-money-types",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "",
5
5
  "main": "",
6
6
  "types": "index.d.ts",
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: string;
263
+ limit: string;
264
+ };
265
+
260
266
  export type TGetTransactionCategoryResponse = {
261
- categories: TTransactionCategory[];
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 = {