@things-factory/biz-base 6.2.147 → 6.2.152

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/biz-base",
3
- "version": "6.2.147",
3
+ "version": "6.2.152",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -24,7 +24,7 @@
24
24
  "migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
25
25
  },
26
26
  "dependencies": {
27
- "@things-factory/auth-base": "^6.2.147"
27
+ "@things-factory/auth-base": "^6.2.152"
28
28
  },
29
- "gitHead": "4b93b26f0edfea36d6273d1caf736477a5e2ceed"
29
+ "gitHead": "07e71fb59347f6dd06372f2bcfbce84f63601f5e"
30
30
  }
@@ -30,6 +30,9 @@ export class ContactPointPatch {
30
30
  @Field({ nullable: true })
31
31
  companyName?: string
32
32
 
33
+ @Field({ nullable: true })
34
+ representativeName?: string
35
+
33
36
  @Field({ nullable: true })
34
37
  managerName?: string
35
38
 
@@ -129,6 +132,9 @@ export class NewContactPoint {
129
132
  @Field({ nullable: true })
130
133
  phone2?: string
131
134
 
135
+ @Field({ nullable: true })
136
+ representativeName?: string
137
+
132
138
  @Field({ nullable: true })
133
139
  managerName?: string
134
140
 
@@ -19,13 +19,7 @@ import { Bizplace } from '../bizplace/bizplace'
19
19
  ],
20
20
  { unique: true }
21
21
  )
22
- @Index(
23
- 'ix_contact_points_1',
24
- (contactPoint: ContactPoint) => [
25
- contactPoint.registrationNo,
26
- contactPoint.type
27
- ]
28
- )
22
+ @Index('ix_contact_points_1', (contactPoint: ContactPoint) => [contactPoint.registrationNo, contactPoint.type])
29
23
  @ObjectType()
30
24
  export class ContactPoint {
31
25
  @PrimaryGeneratedColumn('uuid')
@@ -92,6 +86,10 @@ export class ContactPoint {
92
86
  @Field({ nullable: true })
93
87
  companyName: string
94
88
 
89
+ @Column({ nullable: true })
90
+ @Field({ nullable: true })
91
+ representativeName: string
92
+
95
93
  @Column({ nullable: true })
96
94
  @Field({ nullable: true })
97
95
  managerName: string