@social-mail/social-mail-web-server 1.7.152 → 1.7.154

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": "@social-mail/social-mail-web-server",
3
- "version": "1.7.152",
3
+ "version": "1.7.154",
4
4
  "description": "## Phase 1",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -43,6 +43,15 @@ export type userStatusType = typeof userStatuses[number];
43
43
  descending: false
44
44
  }]
45
45
  })
46
+ @Index({
47
+ name: "IX_Unique_External_UID",
48
+ columns: [{
49
+ name: (x) => x.externalUID,
50
+ descending: false
51
+ },],
52
+ unique :true,
53
+ filter: (x) => x.externalUID !== null
54
+ })
46
55
  @Index({
47
56
  name: "IX_Unique_Users_PhoneNumber",
48
57
  columns: [
@@ -70,6 +79,9 @@ export class User {
70
79
  @IgnoreJsonProperty
71
80
  public passwordSalt: string;
72
81
 
82
+ @Column({ dataType: "Char", length: 400, nullable: true})
83
+ public externalUID: string;
84
+
73
85
  @Column({ dataType: "AsciiChar", length: 15, default: () => "active", enum: userStatuses})
74
86
  @ReadOnlyJsonProperty
75
87
  public status: userStatusType;
@@ -3,7 +3,7 @@ import semver from "semver";
3
3
 
4
4
  export default async function seedUI(config: DBConfig) {
5
5
 
6
- const version = "1.4.131";
6
+ const version = "1.4.132";
7
7
 
8
8
  const existing = await config.getValue(UIPackageConfig, false);
9
9
  if (existing) {