@cranberry-money/shared-types 4.4.0 → 4.5.0

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/dist/api.d.ts CHANGED
@@ -8,4 +8,12 @@
8
8
  export interface FormErrors {
9
9
  [key: string]: string[];
10
10
  }
11
+ /**
12
+ * Pagination query parameters
13
+ * Used for paginated API endpoints
14
+ */
15
+ export interface PaginationParams {
16
+ page?: number;
17
+ page_size?: number;
18
+ }
11
19
  //# sourceMappingURL=api.d.ts.map
package/dist/api.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CACzB"}
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CACzB;AAED;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Shared types for the MyPortfolio platform
3
3
  * Type definitions moved from shared-utils for better separation of concerns
4
4
  */
5
- export type { FormErrors } from './api';
5
+ export type { FormErrors, PaginationParams } from './api';
6
6
  export type { DeviceInfo, TokenRefreshResponse, TokenRefreshError, AutoRefreshHandler } from './auth';
7
7
  export type { PasswordValidation, EmailConfirmationValidation, ExtendedPasswordValidation } from './validation';
8
8
  export type { BadgeVariant, BadgeSize, BadgeConfig, BadgeStyle, StatusBadgeStyle } from './badge';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","source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ACb,oBAAoB,EACpB,mBAAmB,EACnB,cAAc,GACf,MAAM,eAAe,CAAC;AAGvB,YAAY,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cranberry-money/shared-types",
3
- "version": "4.4.0",
3
+ "version": "4.5.0",
4
4
  "description": "Shared TypeScript type definitions for MyPortfolio platform",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",