@dssp/dssp 1.0.24 → 1.0.26

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/schema.graphql +69 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dssp/dssp",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -42,7 +42,7 @@
42
42
  "@dssp/building-complex": "^1.0.6",
43
43
  "@dssp/integration-allbaro": "^1.0.5",
44
44
  "@dssp/integration-kiscon": "^1.0.5",
45
- "@dssp/project": "^1.0.24",
45
+ "@dssp/project": "^1.0.26",
46
46
  "@material/web": "^2.4.0",
47
47
  "@operato/chart": "^10.0.0",
48
48
  "@operato/gantt": "^10.0.0",
@@ -76,5 +76,5 @@
76
76
  "devDependencies": {
77
77
  "@things-factory/builder": "^10.0.0"
78
78
  },
79
- "gitHead": "ae506f17674523b66e426bd18d43a2e01403737d"
79
+ "gitHead": "c79b53d22e9a5379822c93d6d3584ea739fb2df9"
80
80
  }
package/schema.graphql CHANGED
@@ -70,10 +70,16 @@ type Activity {
70
70
  client: User
71
71
  createdAt: DateTimeISO
72
72
  creator: User
73
+
74
+ """Which input values an approver judges by, and the part each one plays"""
75
+ decisionKeys: [ActivityDecisionKeyItem!]
73
76
  description: String
74
77
  domain: Domain
75
78
  id: ID!
76
79
  issuerRole: Role
80
+
81
+ """Display name for a person. `name` is the callback key."""
82
+ label: String
77
83
  model: [ActivityModelItem!]
78
84
 
79
85
  """
@@ -166,6 +172,36 @@ type ActivityApprovalList {
166
172
  total: Int!
167
173
  }
168
174
 
175
+ """Entity for ActivityDecisionKeyItem"""
176
+ type ActivityDecisionKeyItem {
177
+ """
178
+ Dotted path to the value inside the instance's input, e.g. 'shift.passes'
179
+ """
180
+ inputPath: String!
181
+
182
+ """Developer-facing note. Never shown on a screen."""
183
+ name: String
184
+ role: ActivityDecisionRole!
185
+
186
+ """i18n key for the label. Without it the screen shows no label."""
187
+ tKey: String
188
+
189
+ """Unit to print after the value, when the activity fixes the unit"""
190
+ unit: String
191
+ }
192
+
193
+ """the part an input value plays on the approval screen"""
194
+ enum ActivityDecisionRole {
195
+ consequence
196
+ currentState
197
+ evidence
198
+ headline
199
+ policy
200
+ reason
201
+ reversibility
202
+ subject
203
+ }
204
+
169
205
  type ActivityEvent {
170
206
  basis: ActivityEventDateBasis
171
207
  date: DateTimeISO
@@ -388,6 +424,7 @@ input ActivityPatch {
388
424
  assigneeRole: ObjectRef
389
425
  assignees: Object
390
426
  cuFlag: String
427
+ decisionKeys: Object
391
428
  description: String
392
429
  id: ID
393
430
  issuerRole: ObjectRef
@@ -622,6 +659,11 @@ type AppBinding {
622
659
  """Locale or language preference for the user."""
623
660
  locale: String
624
661
 
662
+ """
663
+ When the account was locked. With the configured lock duration this says when it lifts.
664
+ """
665
+ lockedAt: DateTimeISO
666
+
625
667
  """Full name of the user."""
626
668
  name: String
627
669
 
@@ -5055,6 +5097,7 @@ type InstallableActivity {
5055
5097
  """
5056
5098
  approvalSteps: Int
5057
5099
  category: String
5100
+ decisionKeys: [ActivityDecisionKeyItem!]
5058
5101
  description: String
5059
5102
 
5060
5103
  """
@@ -7032,7 +7075,7 @@ type Mutation {
7032
7075
  createProject(project: NewProject!): Project!
7033
7076
 
7034
7077
  """프로젝트 체크리스트 생성"""
7035
- createProjectChecklist(constructionDetailTypeId: String!, constructionTypeId: String!, items: [ProjectChecklistItemInput!]!, name: String!, projectId: String!, siteSpecPdfUrl: String): ProjectChecklist!
7078
+ createProjectChecklist(constructionDetailTypeId: String!, constructionTypeId: String!, items: [ProjectChecklistItemInput!]!, name: String!, projectId: String!): ProjectChecklist!
7036
7079
 
7037
7080
  """To create new ProjectReport"""
7038
7081
  createProjectReport(projectReport: NewProjectReport!): ProjectReport!
@@ -7040,8 +7083,8 @@ type Mutation {
7040
7083
  """To create new Resource"""
7041
7084
  createResource(resource: NewResource!): Resource!
7042
7085
 
7043
- """To create new user"""
7044
- createRole(role: NewRole!): User!
7086
+ """To create new role"""
7087
+ createRole(role: NewRole!): Role!
7045
7088
 
7046
7089
  """Creates a new scenario."""
7047
7090
  createScenario(scenario: NewScenario!): Scenario!
@@ -8065,6 +8108,9 @@ type Mutation {
8065
8108
  """To submit a ActivityThread"""
8066
8109
  submitActivityThread(id: String!, output: Object, reason: String): ActivityThread!
8067
8110
 
8111
+ """프로젝트 공사 시방서를 매칭 엔진에 등록"""
8112
+ syncProjectSiteSpecs(projectId: String!, specFiles: [SiteSpecFileInput!]!): Int!
8113
+
8068
8114
  """To synchronize auth-providers users"""
8069
8115
  synchronizeAuthProviderUsers(id: String!): Boolean!
8070
8116
 
@@ -8425,6 +8471,9 @@ type Mutation {
8425
8471
  """To modify multiple Resources' information"""
8426
8472
  updateMultipleResource(patches: [ResourcePatch!]!): [Resource!]!
8427
8473
 
8474
+ """To create or update multiple roles at once"""
8475
+ updateMultipleRole(patches: [RolePatch!]!): [Role!]!
8476
+
8428
8477
  """
8429
8478
  Updates multiple scenarios at once. Can be used to create or update records.
8430
8479
  """
@@ -8509,7 +8558,7 @@ type Mutation {
8509
8558
  updateProject(project: ProjectPatch!): Project!
8510
8559
 
8511
8560
  """프로젝트 체크리스트 수정"""
8512
- updateProjectChecklist(id: String!, items: [ProjectChecklistItemInput!]!, name: String!, siteSpecPdfUrl: String): ProjectChecklist!
8561
+ updateProjectChecklist(id: String!, items: [ProjectChecklistItemInput!]!, name: String!): ProjectChecklist!
8513
8562
 
8514
8563
  """프로젝트 도면 업데이트"""
8515
8564
  updateProjectPlan(project: ProjectPatch!): Project!
@@ -8614,6 +8663,7 @@ input NewActivity {
8614
8663
  approvalLine: Object
8615
8664
  assigneeRole: ObjectRef
8616
8665
  assignees: Object
8666
+ decisionKeys: Object
8617
8667
  description: String
8618
8668
  issuerRole: ObjectRef
8619
8669
  model: Object
@@ -14559,6 +14609,11 @@ type RolePrivilege {
14559
14609
  """The category of the privilege."""
14560
14610
  category: String
14561
14611
 
14612
+ """
14613
+ True when no module in this deployment declares this privilege anymore (@privilege directive). Computed per request — it answers for the asking deployment, not for all time.
14614
+ """
14615
+ deprecated: Boolean!
14616
+
14562
14617
  """A description of the privilege."""
14563
14618
  description: String
14564
14619
 
@@ -15042,6 +15097,11 @@ input SettingPatch {
15042
15097
  value: String
15043
15098
  }
15044
15099
 
15100
+ input SiteSpecFileInput {
15101
+ name: String!
15102
+ url: String!
15103
+ }
15104
+
15045
15105
  """현장 유형"""
15046
15106
  enum SiteType {
15047
15107
  APARTMENT_COMPLEX
@@ -15743,6 +15803,11 @@ type User {
15743
15803
  """Locale or language preference for the user."""
15744
15804
  locale: String
15745
15805
 
15806
+ """
15807
+ When the account was locked. With the configured lock duration this says when it lifts.
15808
+ """
15809
+ lockedAt: DateTimeISO
15810
+
15746
15811
  """Full name of the user."""
15747
15812
  name: String
15748
15813