@riocrypto/common-server 1.0.1190 → 1.0.1192

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.
@@ -9,6 +9,7 @@ interface AdminAttrs {
9
9
  acceptingTasks?: boolean;
10
10
  assignedTaskTypes: AdminTaskType[];
11
11
  privileges: string[];
12
+ userAuthId?: string;
12
13
  }
13
14
  interface AdminModel extends Model<AdminDoc> {
14
15
  build(attrs: AdminAttrs): AdminDoc;
@@ -23,6 +24,7 @@ interface AdminDoc extends Document {
23
24
  acceptingTasks?: boolean;
24
25
  assignedTaskTypes: AdminTaskType[];
25
26
  privileges: string[];
27
+ userAuthId?: string;
26
28
  }
27
29
  declare const buildAdmin: (mongoose: Mongoose) => AdminModel;
28
30
  export { buildAdmin, AdminDoc };
@@ -43,6 +43,10 @@ const buildAdmin = (mongoose) => {
43
43
  required: true,
44
44
  },
45
45
  ],
46
+ userAuthId: {
47
+ type: String,
48
+ required: true,
49
+ },
46
50
  }, {
47
51
  toJSON: {
48
52
  transform(doc, ret) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1190",
3
+ "version": "1.0.1192",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -26,7 +26,7 @@
26
26
  "@aws-sdk/client-s3": "^3.297.0",
27
27
  "@everapi/currencyapi-js": "^1.0.6",
28
28
  "@google-cloud/storage": "^6.9.5",
29
- "@riocrypto/common": "^1.0.1073",
29
+ "@riocrypto/common": "^1.0.1074",
30
30
  "@types/express": "^4.17.13",
31
31
  "axios": "^0.27.2",
32
32
  "ccxt": "^3.0.30",