@resolveio/server-lib 4.0.0 → 4.0.1

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.
@@ -123,6 +123,14 @@ var schema = {
123
123
  },
124
124
  'customers.$.customer': {
125
125
  type: String
126
+ },
127
+ id_customer: {
128
+ type: String,
129
+ optional: true
130
+ },
131
+ customer: {
132
+ type: String,
133
+ optional: true
126
134
  }
127
135
  };
128
136
  var DefaultSchema = new mongoose_1.Schema(schema, {
@@ -11,6 +11,8 @@ export interface UserModel extends CollectionDocument {
11
11
  readonly?: boolean;
12
12
  phonenumber?: string;
13
13
  other?: object;
14
+ id_customer?: string;
15
+ customer?: string;
14
16
  customers: UserCustomersModel[];
15
17
  }
16
18
  export interface UserCustomersModel {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resolveio/server-lib",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "scripts": {