@riocrypto/common-server 1.0.1763 → 1.0.1764

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.
@@ -107,6 +107,7 @@ interface UserAttrs {
107
107
  };
108
108
  };
109
109
  };
110
+ attioRecordId?: string;
110
111
  }
111
112
  interface UserModel extends Model<UserDoc> {
112
113
  build(attrs: UserAttrs): UserDoc;
@@ -115,6 +116,7 @@ interface UserDoc extends Document {
115
116
  _id: string;
116
117
  createdAt: Date;
117
118
  authIds?: string[];
119
+ attioRecordId?: string;
118
120
  registeredWithCoincover?: boolean;
119
121
  individualData?: {
120
122
  firstName: string;
@@ -41,6 +41,9 @@ const buildUser = (mongoose) => {
41
41
  type: Boolean,
42
42
  required: true,
43
43
  },
44
+ attioRecordId: {
45
+ type: String,
46
+ },
44
47
  attributes: [
45
48
  {
46
49
  type: String,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1763",
3
+ "version": "1.0.1764",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",