@cranberry-money/shared-types 8.22.460 → 8.22.462
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.
|
@@ -13,13 +13,13 @@ export interface SelectedPortfolio {
|
|
|
13
13
|
}
|
|
14
14
|
export interface UserPreferences extends BaseEntity {
|
|
15
15
|
userProfile: string;
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
selectedAccount: string | null;
|
|
17
|
+
selectedPortfolio: string | null;
|
|
18
18
|
preferredOnrampProvider: OnRampProviderType | null;
|
|
19
19
|
}
|
|
20
20
|
export interface UserPreferencesValidationError {
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
selectedAccount?: string;
|
|
22
|
+
selectedPortfolio?: string;
|
|
23
23
|
general?: string;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
@@ -30,12 +30,12 @@ export interface UserPreferencesValidationError {
|
|
|
30
30
|
*/
|
|
31
31
|
export interface UserPreferencesQueryParams extends OrderingParams {
|
|
32
32
|
userProfile?: string;
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
withSelectedAccount?: boolean;
|
|
34
|
+
withSelectedPortfolio?: boolean;
|
|
35
35
|
}
|
|
36
36
|
export interface UserPreferencesRequest {
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
selectedAccount?: string | null;
|
|
38
|
+
selectedPortfolio?: string | null;
|
|
39
39
|
preferredOnrampProvider?: OnRampProviderType | null;
|
|
40
40
|
}
|
|
41
41
|
export interface UserPreferencesResponse {
|
package/dist/domain/widget.d.ts
CHANGED
|
@@ -13,9 +13,10 @@ export interface Widget extends BaseEntity {
|
|
|
13
13
|
isActive: boolean;
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
|
-
* Create widget request (name
|
|
16
|
+
* Create widget request (userAccount and name are required, isActive defaults to true)
|
|
17
17
|
*/
|
|
18
18
|
export interface CreateWidget {
|
|
19
|
+
userAccount: string;
|
|
19
20
|
name: WidgetNameType;
|
|
20
21
|
isActive?: boolean;
|
|
21
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget.d.ts","sourceRoot":"","sources":["../../src/domain/widget.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAE7C;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG,SAAS,GAAG,cAAc,GAAG,UAAU,GAAG,WAAW,GAAG,QAAQ,CAAC;AAE3G;;GAEG;AACH,MAAM,WAAW,MAAO,SAAQ,UAAU;IACxC,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,cAAc,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,cAAc,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;GAKG;AACH,MAAM,WAAW,iBAAkB,SAAQ,cAAc;IACvD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB"}
|
|
1
|
+
{"version":3,"file":"widget.d.ts","sourceRoot":"","sources":["../../src/domain/widget.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAE7C;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG,SAAS,GAAG,cAAc,GAAG,UAAU,GAAG,WAAW,GAAG,QAAQ,CAAC;AAE3G;;GAEG;AACH,MAAM,WAAW,MAAO,SAAQ,UAAU;IACxC,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,cAAc,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,cAAc,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;GAKG;AACH,MAAM,WAAW,iBAAkB,SAAQ,cAAc;IACvD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cranberry-money/shared-types",
|
|
3
|
-
"version": "8.22.
|
|
3
|
+
"version": "8.22.462",
|
|
4
4
|
"description": "Shared TypeScript type definitions for Blueberry platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"prepublishOnly": "npm run clean && npm run typecheck && npm run build"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@cranberry-money/shared-constants": "^8.15.
|
|
32
|
+
"@cranberry-money/shared-constants": "^8.15.487",
|
|
33
33
|
"@types/react": "^19.1.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|