@things-factory/dataset 8.0.61 → 8.0.62
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/dataset",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.62",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "dist-client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"simple-statistics": "^7.8.3",
|
|
57
57
|
"statistics": "^3.3.0"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "4a5db2d9f94987ce549734ad43b08d1765c265d5"
|
|
60
60
|
}
|
|
@@ -282,6 +282,14 @@ export class DataSetMutation {
|
|
|
282
282
|
}
|
|
283
283
|
|
|
284
284
|
try {
|
|
285
|
+
// 스케줄 등록시는 transform없는 로우 데이터로
|
|
286
|
+
const rawSchedule = await repository
|
|
287
|
+
.createQueryBuilder('ds')
|
|
288
|
+
.select('ds.schedule', 'schedule')
|
|
289
|
+
.where('ds.id = :id', { id: dataSetId })
|
|
290
|
+
.andWhere('domain_id = :domainId', { domainId: domain.id })
|
|
291
|
+
.getRawOne()
|
|
292
|
+
|
|
285
293
|
var handle = await registerSchedule({
|
|
286
294
|
name: dataSet.name,
|
|
287
295
|
client: {
|
|
@@ -292,7 +300,7 @@ export class DataSetMutation {
|
|
|
292
300
|
operation: 'schedule'
|
|
293
301
|
},
|
|
294
302
|
type: 'cron',
|
|
295
|
-
schedule: dataSet.schedule,
|
|
303
|
+
schedule: rawSchedule?.schedule || dataSet.schedule,
|
|
296
304
|
timezone: dataSet.timezone,
|
|
297
305
|
task: {
|
|
298
306
|
type: 'rest',
|