@volontariapp/domain-user 2.3.3 → 2.3.4-snap-f2ae22d
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/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 2.3.
|
|
3
|
+
## 2.3.4
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- Fix UserEntity in domain-user: Rename 'name' property into 'pseudo' and add 'role' property
|
|
8
8
|
|
|
9
|
+
- [#90](https://github.com/Volontariapp/npm-packages/pull/90) [`2bc8562`](https://github.com/Volontariapp/npm-packages/commit/2bc8562e92c70244864c6d4bcdfadc7da2962ca0) Thanks [@Dami1LD](https://github.com/Dami1LD)! - Changed UserEntity role property type to UserRoles
|
|
10
|
+
|
|
9
11
|
## 2.3.2
|
|
10
12
|
|
|
11
13
|
### Patch Changes
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { BadgeEntity } from './badge.entity.js';
|
|
2
|
+
import type { UserRoles } from '@volontariapp/shared';
|
|
2
3
|
export declare class UserEntity {
|
|
3
4
|
id: string;
|
|
4
5
|
email: string;
|
|
@@ -6,7 +7,7 @@ export declare class UserEntity {
|
|
|
6
7
|
logoPath?: string;
|
|
7
8
|
rna?: string;
|
|
8
9
|
bio?: string;
|
|
9
|
-
role:
|
|
10
|
+
role: UserRoles;
|
|
10
11
|
totalImpactScore: number;
|
|
11
12
|
badges: BadgeEntity[];
|
|
12
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.entity.d.ts","sourceRoot":"","sources":["../../src/entities/user.entity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"user.entity.d.ts","sourceRoot":"","sources":["../../src/entities/user.entity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,qBAAa,UAAU;IACrB,EAAE,EAAG,MAAM,CAAC;IACZ,KAAK,EAAG,MAAM,CAAC;IACf,MAAM,EAAG,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,EAAG,SAAS,CAAC;IACjB,gBAAgB,EAAG,MAAM,CAAC;IAC1B,MAAM,EAAG,WAAW,EAAE,CAAC;CACxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.entity.js","sourceRoot":"","sources":["../../src/entities/user.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"user.entity.js","sourceRoot":"","sources":["../../src/entities/user.entity.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,UAAU;IACrB,EAAE,CAAU;IACZ,KAAK,CAAU;IACf,MAAM,CAAU;IAChB,QAAQ,CAAU;IAClB,GAAG,CAAU;IACb,GAAG,CAAU;IACb,IAAI,CAAa;IACjB,gBAAgB,CAAU;IAC1B,MAAM,CAAiB;CACxB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volontariapp/domain-user",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.4-snap-f2ae22d",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": true
|
|
@@ -35,7 +35,8 @@
|
|
|
35
35
|
"migration:run": "TYPEORM_MIGRATION_RUN=true yarn typeorm migration:run -d src/test/data-source.ts"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@volontariapp/logger": "0.2.3"
|
|
38
|
+
"@volontariapp/logger": "0.2.3",
|
|
39
|
+
"@volontariapp/shared": "0.2.0"
|
|
39
40
|
},
|
|
40
41
|
"devDependencies": {
|
|
41
42
|
"@nestjs/typeorm": "^11.0.1",
|