@things-factory/dataset 6.0.33 → 6.0.35

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": "6.0.33",
3
+ "version": "6.0.35",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -35,17 +35,17 @@
35
35
  "@operato/shell": "^1.0.1",
36
36
  "@operato/styles": "^1.0.0",
37
37
  "@operato/utils": "^1.0.1",
38
- "@things-factory/auth-base": "^6.0.32",
39
- "@things-factory/aws-base": "^6.0.32",
40
- "@things-factory/board-service": "^6.0.32",
41
- "@things-factory/env": "^6.0.32",
42
- "@things-factory/organization": "^6.0.32",
43
- "@things-factory/scheduler-client": "^6.0.33",
44
- "@things-factory/shell": "^6.0.32",
45
- "@things-factory/work-shift": "^6.0.32",
46
- "@things-factory/worklist": "^6.0.33",
38
+ "@things-factory/auth-base": "^6.0.34",
39
+ "@things-factory/aws-base": "^6.0.34",
40
+ "@things-factory/board-service": "^6.0.34",
41
+ "@things-factory/env": "^6.0.34",
42
+ "@things-factory/organization": "^6.0.34",
43
+ "@things-factory/scheduler-client": "^6.0.35",
44
+ "@things-factory/shell": "^6.0.34",
45
+ "@things-factory/work-shift": "^6.0.34",
46
+ "@things-factory/worklist": "^6.0.35",
47
47
  "cron-parser": "^4.3.0",
48
48
  "moment-timezone": "^0.5.40"
49
49
  },
50
- "gitHead": "6836e4138220146670154548575624faf260bca4"
50
+ "gitHead": "2f731189d998bc4a6fb99cd8f4851cc90ef7a748"
51
51
  }
@@ -2,7 +2,7 @@ import { Arg, Ctx, Directive, Mutation, Resolver } from 'type-graphql'
2
2
  import { In } from 'typeorm'
3
3
 
4
4
  import { createAttachment, deleteAttachmentsByRef } from '@things-factory/attachment-base'
5
- import { registerSchedule, unregisterSchedule } from '@things-factory/scheduler-client'
5
+ import { Application, CallbackBase, registerSchedule, unregisterSchedule } from '@things-factory/scheduler-client'
6
6
 
7
7
  import { DataSet } from './data-set'
8
8
  import { DataSetPatch, NewDataSet } from './data-set-type'
@@ -175,7 +175,7 @@ export class DataSetMutation {
175
175
  var handle = await registerSchedule({
176
176
  name: dataSet.name,
177
177
  client: {
178
- application: 'operato-dataset',
178
+ application: Application,
179
179
  group: `${domain.id}`,
180
180
  type: 'data-set',
181
181
  key: dataSet.id,
@@ -187,7 +187,7 @@ export class DataSetMutation {
187
187
  task: {
188
188
  type: 'rest',
189
189
  connection: {
190
- host: 'http://localhost:3000/callback-schedule-for-dataset',
190
+ host: `${CallbackBase}/callback-schedule-for-dataset`,
191
191
  headers: {
192
192
  'Content-Type': 'application/json',
193
193
  accept: '*/*'