@things-factory/organization 6.0.125 → 6.0.136

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/organization",
3
- "version": "6.0.125",
3
+ "version": "6.0.136",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -31,9 +31,9 @@
31
31
  "@operato/data-tree": "^1.0.0",
32
32
  "@operato/graphql": "^1.0.0",
33
33
  "@operato/shell": "^1.0.0",
34
- "@things-factory/auth-base": "^6.0.125",
35
- "@things-factory/contact": "^6.0.125",
36
- "@things-factory/shell": "^6.0.125"
34
+ "@things-factory/auth-base": "^6.0.133",
35
+ "@things-factory/contact": "^6.0.133",
36
+ "@things-factory/shell": "^6.0.133"
37
37
  },
38
- "gitHead": "2d741c0c6ad8cf572560ac5bcc6fb7de470ede72"
38
+ "gitHead": "cf51218550bb112e1a9375a2ee304fe5aa8140eb"
39
39
  }
@@ -52,7 +52,7 @@ function getModelValue(patch: NewApprovalLine | ApprovalLinePatch): ApprovalLine
52
52
  return model.map(m => {
53
53
  return {
54
54
  type: m.type,
55
- value: m.approver?.id
55
+ approver: m.approver
56
56
  } as ApprovalLineItem
57
57
  })
58
58
  }
@@ -41,8 +41,10 @@ async function getModel(approvalLine: ApprovalLine, context: ResolverContext): P
41
41
  var approvalLineItemList = []
42
42
 
43
43
  for (let item of model) {
44
- var { type, value: id } = item
45
- var approver
44
+ /* deprecated "value", use approver */
45
+ var { type, value, approver } = item
46
+ var id = approver?.id || value
47
+ approver = null
46
48
 
47
49
  switch (type) {
48
50
  case OrgMemberTargetType.Employee:
@@ -0,0 +1,24 @@
1
+ {
2
+ "button.copy from": "コピーしてくる",
3
+ "button.detach": "連結解除",
4
+ "field.approver": "決裁者",
5
+ "field.control-no": "管理番号",
6
+ "field.hired-on": "入社日",
7
+ "field.note": "コメント",
8
+ "field.owner-type": "所有者タイプ",
9
+ "field.supervisor": "監督者",
10
+ "label.control-no": "管理番号",
11
+ "label.hired-on": "入社日",
12
+ "label.manager": "管理者",
13
+ "label.note": "ノート",
14
+ "label.picture": "写真",
15
+ "title.approval-line editor": "決裁ライン編集",
16
+ "title.approval-line item list": "決裁ライン詳細",
17
+ "title.approval-line template list": "決裁ライン テンプレート リスト",
18
+ "title.assignee list": "譲渡人リスト",
19
+ "title.assignees editor": "譲渡人リスト編集",
20
+ "title.common-approval-line template list": "共通決裁ライン テンプレート リスト",
21
+ "title.my-approval-line template list": "マイ決裁ライン テンプレート リスト",
22
+ "title.employee list": "職員リスト",
23
+ "title.department list": "部署リスト"
24
+ }