@things-factory/worklist 6.0.34 → 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/worklist",
3
- "version": "6.0.34",
3
+ "version": "6.0.35",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -32,9 +32,9 @@
32
32
  "@things-factory/board-service": "^6.0.34",
33
33
  "@things-factory/context-ui": "^6.0.34",
34
34
  "@things-factory/organization": "^6.0.34",
35
- "@things-factory/scheduler-client": "^6.0.34",
35
+ "@things-factory/scheduler-client": "^6.0.35",
36
36
  "@things-factory/shell": "^6.0.34",
37
37
  "moment-timezone": "^0.5.40"
38
38
  },
39
- "gitHead": "a460e5183f6e97e061be886d1efe9a114bd1316b"
39
+ "gitHead": "2f731189d998bc4a6fb99cd8f4851cc90ef7a748"
40
40
  }
@@ -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 { Activity } from './activity'
8
8
  import { ActivityPatch, NewActivity } from './activity-type'
@@ -230,7 +230,7 @@ export class ActivityMutation {
230
230
  var handle = await registerSchedule({
231
231
  name: activity.name,
232
232
  client: {
233
- application: 'operato-worklist',
233
+ application: Application,
234
234
  group: `${domain.id}`,
235
235
  type: 'activity',
236
236
  key: activity.id,
@@ -242,7 +242,7 @@ export class ActivityMutation {
242
242
  task: {
243
243
  type: 'rest',
244
244
  connection: {
245
- host: 'http://localhost:3000/callback-schedule-for-activity',
245
+ host: `${CallbackBase}/callback-schedule-for-activity`,
246
246
  headers: {
247
247
  'Content-Type': 'application/json',
248
248
  accept: '*/*'
@@ -36,7 +36,7 @@
36
36
  "field.search-keys": "검색키",
37
37
  "field.spec": "명세",
38
38
  "field.standard-time": "ST(초)",
39
- "field.startable": "시작 가능 업무",
39
+ "field.startable": "수동 시작 가능",
40
40
  "field.started-at": "시작 시간",
41
41
  "field.status": "상태",
42
42
  "field.supervisory-role": "관리자 역할",
@@ -71,7 +71,7 @@
71
71
  "title.activity preview": "업무 미리보기",
72
72
  "title.activity reporter list": "업무 현황",
73
73
  "title.activity starter": "업무 발급",
74
- "title.activity starter list": "시작 가능 업무",
74
+ "title.activity starter list": "새업무 할당",
75
75
  "title.activity store": "업무 스토어",
76
76
  "title.activity summary": "업무 종합 현황",
77
77
  "title.activity template model item list": "업무 템플릿 모델 항목",