@things-factory/dataset 6.0.0-zeta.0 → 6.0.0-zeta.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.
- package/dist-server/service/data-key-set/data-key-set.js +2 -6
- package/dist-server/service/data-key-set/data-key-set.js.map +1 -1
- package/dist-server/service/data-ooc/data-ooc.js +3 -9
- package/dist-server/service/data-ooc/data-ooc.js.map +1 -1
- package/dist-server/service/data-sample/data-sample.js +2 -6
- package/dist-server/service/data-sample/data-sample.js.map +1 -1
- package/dist-server/service/data-sensor/data-sensor.js +4 -12
- package/dist-server/service/data-sensor/data-sensor.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -9
- package/server/service/data-key-set/data-key-set.ts +2 -6
- package/server/service/data-ooc/data-ooc.ts +3 -9
- package/server/service/data-sample/data-sample.ts +2 -6
- package/server/service/data-sensor/data-sensor.ts +4 -12
- package/translations/en.json +4 -1
- package/translations/ko.json +4 -1
- package/translations/ms.json +4 -1
- package/translations/zh.json +4 -1
- package/LICENSE.md +0 -21
package/package.json
CHANGED
@@ -1,10 +1,9 @@
|
|
1
1
|
{
|
2
2
|
"name": "@things-factory/dataset",
|
3
|
-
"version": "6.0.0-zeta.
|
3
|
+
"version": "6.0.0-zeta.4",
|
4
4
|
"main": "dist-server/index.js",
|
5
5
|
"browser": "client/index.js",
|
6
6
|
"things-factory": true,
|
7
|
-
"license": "MIT",
|
8
7
|
"author": "heartyoh <heartyoh@hatiolab.com>",
|
9
8
|
"description": "module for handling data collection",
|
10
9
|
"publishConfig": {
|
@@ -34,14 +33,14 @@
|
|
34
33
|
"@operato/shell": "^1.0.1",
|
35
34
|
"@operato/styles": "^1.0.0",
|
36
35
|
"@operato/utils": "^1.0.1",
|
37
|
-
"@things-factory/auth-base": "^6.0.0-zeta.
|
38
|
-
"@things-factory/aws-base": "^6.0.0-zeta.
|
39
|
-
"@things-factory/board-service": "^6.0.0-zeta.
|
40
|
-
"@things-factory/env": "^6.0.0-zeta.
|
41
|
-
"@things-factory/shell": "^6.0.0-zeta.
|
42
|
-
"@things-factory/work-shift": "^6.0.0-zeta.
|
36
|
+
"@things-factory/auth-base": "^6.0.0-zeta.1",
|
37
|
+
"@things-factory/aws-base": "^6.0.0-zeta.1",
|
38
|
+
"@things-factory/board-service": "^6.0.0-zeta.1",
|
39
|
+
"@things-factory/env": "^6.0.0-zeta.1",
|
40
|
+
"@things-factory/shell": "^6.0.0-zeta.1",
|
41
|
+
"@things-factory/work-shift": "^6.0.0-zeta.1",
|
43
42
|
"cron-parser": "^4.3.0",
|
44
43
|
"moment-timezone": "^0.5.34"
|
45
44
|
},
|
46
|
-
"gitHead": "
|
45
|
+
"gitHead": "460b03f6b4e3f0cbb2427953ef6c8831a8c53040"
|
47
46
|
}
|
@@ -67,18 +67,14 @@ export class DataKeySet {
|
|
67
67
|
@Field({ nullable: true })
|
68
68
|
updatedAt?: Date
|
69
69
|
|
70
|
-
@ManyToOne(type => User, {
|
71
|
-
nullable: true
|
72
|
-
})
|
70
|
+
@ManyToOne(type => User, { nullable: true })
|
73
71
|
@Field({ nullable: true })
|
74
72
|
creator?: User
|
75
73
|
|
76
74
|
@RelationId((dataKeySet: DataKeySet) => dataKeySet.creator)
|
77
75
|
creatorId?: string
|
78
76
|
|
79
|
-
@ManyToOne(type => User, {
|
80
|
-
nullable: true
|
81
|
-
})
|
77
|
+
@ManyToOne(type => User, { nullable: true })
|
82
78
|
@Field({ nullable: true })
|
83
79
|
updater?: User
|
84
80
|
|
@@ -190,27 +190,21 @@ export class DataOoc {
|
|
190
190
|
@Field({ nullable: true })
|
191
191
|
updatedAt?: Date
|
192
192
|
|
193
|
-
@ManyToOne(type => User, {
|
194
|
-
nullable: true
|
195
|
-
})
|
193
|
+
@ManyToOne(type => User, { nullable: true })
|
196
194
|
@Field({ nullable: true })
|
197
195
|
corrector?: User
|
198
196
|
|
199
197
|
@RelationId((dataOoc: DataOoc) => dataOoc.corrector)
|
200
198
|
correctorId?: string
|
201
199
|
|
202
|
-
@ManyToOne(type => User, {
|
203
|
-
nullable: true
|
204
|
-
})
|
200
|
+
@ManyToOne(type => User, { nullable: true })
|
205
201
|
@Field({ nullable: true })
|
206
202
|
creator?: User
|
207
203
|
|
208
204
|
@RelationId((dataOoc: DataOoc) => dataOoc.creator)
|
209
205
|
creatorId?: string
|
210
206
|
|
211
|
-
@ManyToOne(type => User, {
|
212
|
-
nullable: true
|
213
|
-
})
|
207
|
+
@ManyToOne(type => User, { nullable: true })
|
214
208
|
@Field({ nullable: true })
|
215
209
|
updater?: User
|
216
210
|
|
@@ -162,18 +162,14 @@ export class DataSample {
|
|
162
162
|
@Field({ nullable: true })
|
163
163
|
updatedAt?: Date
|
164
164
|
|
165
|
-
@ManyToOne(type => User, {
|
166
|
-
nullable: true
|
167
|
-
})
|
165
|
+
@ManyToOne(type => User, { nullable: true })
|
168
166
|
@Field({ nullable: true })
|
169
167
|
creator?: User
|
170
168
|
|
171
169
|
@RelationId((dataSample: DataSample) => dataSample.creator)
|
172
170
|
creatorId?: string
|
173
171
|
|
174
|
-
@ManyToOne(type => User, {
|
175
|
-
nullable: true
|
176
|
-
})
|
172
|
+
@ManyToOne(type => User, { nullable: true })
|
177
173
|
@Field({ nullable: true })
|
178
174
|
updater?: User
|
179
175
|
|
@@ -93,18 +93,14 @@ export class DataSensor {
|
|
93
93
|
@Field({ nullable: true })
|
94
94
|
refBy?: String
|
95
95
|
|
96
|
-
@ManyToOne(type => Appliance, {
|
97
|
-
nullable: true
|
98
|
-
})
|
96
|
+
@ManyToOne(type => Appliance, { nullable: true })
|
99
97
|
@Field({ nullable: true })
|
100
98
|
appliance?: Appliance
|
101
99
|
|
102
100
|
@RelationId((dataSensor: DataSensor) => dataSensor.appliance)
|
103
101
|
applianceId?: string
|
104
102
|
|
105
|
-
@ManyToOne(type => DataSet, {
|
106
|
-
nullable: true
|
107
|
-
})
|
103
|
+
@ManyToOne(type => DataSet, { nullable: true })
|
108
104
|
@Field({ nullable: true })
|
109
105
|
dataSet?: DataSet
|
110
106
|
|
@@ -119,18 +115,14 @@ export class DataSensor {
|
|
119
115
|
@Field({ nullable: true })
|
120
116
|
updatedAt?: Date
|
121
117
|
|
122
|
-
@ManyToOne(type => User, {
|
123
|
-
nullable: true
|
124
|
-
})
|
118
|
+
@ManyToOne(type => User, { nullable: true })
|
125
119
|
@Field({ nullable: true })
|
126
120
|
creator?: User
|
127
121
|
|
128
122
|
@RelationId((dataSensor: DataSensor) => dataSensor.creator)
|
129
123
|
creatorId?: string
|
130
124
|
|
131
|
-
@ManyToOne(type => User, {
|
132
|
-
nullable: true
|
133
|
-
})
|
125
|
+
@ManyToOne(type => User, { nullable: true })
|
134
126
|
@Field({ nullable: true })
|
135
127
|
updater?: User
|
136
128
|
|
package/translations/en.json
CHANGED
@@ -87,5 +87,8 @@
|
|
87
87
|
"title.data-sensor list": "data sensor list",
|
88
88
|
"title.data-set list": "data set list",
|
89
89
|
"title.edit code": "edit code",
|
90
|
+
"title.edit duration": "edit duration",
|
91
|
+
"title.edit hashtag": "edit hashtag",
|
92
|
+
"title.edit json": "edit json",
|
90
93
|
"title.ready": "ready"
|
91
|
-
}
|
94
|
+
}
|
package/translations/ko.json
CHANGED
package/translations/ms.json
CHANGED
@@ -71,5 +71,8 @@
|
|
71
71
|
"title.data-sample view": "data sample view",
|
72
72
|
"title.data-sensor list": "data sensor list",
|
73
73
|
"title.data-set list": "data set list",
|
74
|
+
"title.edit duration": "edit duration",
|
75
|
+
"title.edit hashtag": "edit hashtag",
|
76
|
+
"title.edit json": "edit json",
|
74
77
|
"title.edit code": "edit code"
|
75
|
-
}
|
78
|
+
}
|
package/translations/zh.json
CHANGED
@@ -71,5 +71,8 @@
|
|
71
71
|
"title.data-sample view": "data sample view",
|
72
72
|
"title.data-sensor list": "data sensor list",
|
73
73
|
"title.data-set list": "data set list",
|
74
|
+
"title.edit duration": "edit duration",
|
75
|
+
"title.edit hashtag": "edit hashtag",
|
76
|
+
"title.edit json": "edit json",
|
74
77
|
"title.edit code": "edit code"
|
75
|
-
}
|
78
|
+
}
|
package/LICENSE.md
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
MIT License
|
2
|
-
|
3
|
-
Copyright (c) Hatiolab
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
13
|
-
copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
-
SOFTWARE.
|