@hed-hog/contact 0.0.330 → 0.0.332
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/person/person.controller.d.ts +1 -0
- package/dist/person/person.controller.d.ts.map +1 -1
- package/dist/person/person.service.d.ts +1 -0
- package/dist/person/person.service.d.ts.map +1 -1
- package/dist/person/person.service.js +3 -1
- package/dist/person/person.service.js.map +1 -1
- package/hedhog/frontend/app/_components/person-picker.tsx.ejs +68 -15
- package/hedhog/frontend/app/accounts/page.tsx.ejs +1 -1
- package/hedhog/frontend/app/activities/page.tsx.ejs +1 -1
- package/hedhog/frontend/app/follow-ups/page.tsx.ejs +1 -1
- package/hedhog/frontend/app/person/_components/person-form-sheet.tsx.ejs +20 -1
- package/hedhog/frontend/app/person/page.tsx.ejs +1 -1
- package/hedhog/frontend/app/proposals/_components/proposals-management-page.tsx.ejs +163 -98
- package/hedhog/frontend/messages/en.json +1 -0
- package/hedhog/frontend/messages/pt.json +1 -0
- package/package.json +5 -5
- package/src/person/person.service.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hed-hog/contact",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.332",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"dependencies": {
|
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
"@nestjs/mapped-types": "*",
|
|
12
12
|
"playwright": "^1.49.0",
|
|
13
13
|
"@hed-hog/api": "0.0.8",
|
|
14
|
+
"@hed-hog/api-locale": "0.0.14",
|
|
14
15
|
"@hed-hog/api-pagination": "0.0.7",
|
|
15
|
-
"@hed-hog/api-prisma": "0.0.6",
|
|
16
|
-
"@hed-hog/address": "0.0.330",
|
|
17
|
-
"@hed-hog/core": "0.0.330",
|
|
18
16
|
"@hed-hog/api-mail": "0.0.9",
|
|
19
|
-
"@hed-hog/
|
|
17
|
+
"@hed-hog/core": "0.0.332",
|
|
18
|
+
"@hed-hog/api-prisma": "0.0.6",
|
|
19
|
+
"@hed-hog/address": "0.0.332"
|
|
20
20
|
},
|
|
21
21
|
"exports": {
|
|
22
22
|
".": {
|
|
@@ -860,6 +860,7 @@ export class PersonService {
|
|
|
860
860
|
select: {
|
|
861
861
|
id: true,
|
|
862
862
|
name: true,
|
|
863
|
+
photo_id: true,
|
|
863
864
|
user_identifier: {
|
|
864
865
|
where: { type: 'email' },
|
|
865
866
|
select: { value: true },
|
|
@@ -874,6 +875,7 @@ export class PersonService {
|
|
|
874
875
|
id: user.id,
|
|
875
876
|
name: user.name || `#${user.id}`,
|
|
876
877
|
email: user.user_identifier[0]?.value || '',
|
|
878
|
+
photo_id: user.photo_id ?? null,
|
|
877
879
|
}));
|
|
878
880
|
}
|
|
879
881
|
|