@things-factory/dataset 8.0.61 → 8.0.63

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.61",
3
+ "version": "8.0.63",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -40,21 +40,21 @@
40
40
  "@operato/shell": "^8.0.0",
41
41
  "@operato/styles": "^8.0.0",
42
42
  "@operato/utils": "^8.0.0",
43
- "@things-factory/auth-base": "^8.0.61",
44
- "@things-factory/aws-base": "^8.0.61",
45
- "@things-factory/board-service": "^8.0.61",
43
+ "@things-factory/auth-base": "^8.0.63",
44
+ "@things-factory/aws-base": "^8.0.63",
45
+ "@things-factory/board-service": "^8.0.63",
46
46
  "@things-factory/env": "^8.0.37",
47
- "@things-factory/integration-base": "^8.0.61",
48
- "@things-factory/organization": "^8.0.61",
49
- "@things-factory/personalization": "^8.0.61",
50
- "@things-factory/scheduler-client": "^8.0.61",
51
- "@things-factory/shell": "^8.0.61",
52
- "@things-factory/work-shift": "^8.0.61",
53
- "@things-factory/worklist": "^8.0.61",
47
+ "@things-factory/integration-base": "^8.0.63",
48
+ "@things-factory/organization": "^8.0.63",
49
+ "@things-factory/personalization": "^8.0.63",
50
+ "@things-factory/scheduler-client": "^8.0.63",
51
+ "@things-factory/shell": "^8.0.63",
52
+ "@things-factory/work-shift": "^8.0.63",
53
+ "@things-factory/worklist": "^8.0.63",
54
54
  "cron-parser": "^4.3.0",
55
55
  "moment-timezone": "^0.5.45",
56
56
  "simple-statistics": "^7.8.3",
57
57
  "statistics": "^3.3.0"
58
58
  },
59
- "gitHead": "72a14cc70333dcba45b4c1a6ca8140a8dc1c87a5"
59
+ "gitHead": "24ba37efe2e871175a9e4fd816d02d9807491b91"
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',