@resolveio/server-lib 1.0.3 → 1.0.4

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.
@@ -77,6 +77,47 @@ var schema = {
77
77
  type: Object,
78
78
  blackbox: true,
79
79
  optional: true
80
+ },
81
+ assets: {
82
+ type: Array,
83
+ optional: true
84
+ },
85
+ 'assets.$': {
86
+ type: Object
87
+ },
88
+ 'assets.$.type': {
89
+ type: String
90
+ },
91
+ 'assets.$.id_asset': {
92
+ type: String
93
+ },
94
+ 'assets.$.asset_number': {
95
+ type: String
96
+ },
97
+ 'assets.$.ownership': {
98
+ type: String
99
+ },
100
+ 'assets.$.ownership_driver': {
101
+ type: String
102
+ },
103
+ 'assets.$.date_start': {
104
+ type: Date
105
+ },
106
+ 'assets.$.date_end': {
107
+ type: Date,
108
+ optional: true
109
+ },
110
+ id_function: {
111
+ type: String,
112
+ optional: true
113
+ },
114
+ customer: {
115
+ type: String,
116
+ optional: true,
117
+ },
118
+ id_customer: {
119
+ type: String,
120
+ optional: true,
80
121
  }
81
122
  };
82
123
  var DefaultSchema = new mongoose_1.Schema(schema, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resolveio/server-lib",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "scripts": {