@dssp/dssp 0.0.32 → 0.0.33

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 +5 -5
  2. package/schema.graphql +35 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dssp/dssp",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -39,9 +39,9 @@
39
39
  "docker:push": "docker image push hatiolab/dssp:latest && docker image push hatiolab/dssp:$npm_package_version"
40
40
  },
41
41
  "dependencies": {
42
- "@dssp/building-complex": "^0.0.32",
43
- "@dssp/project": "^0.0.32",
44
- "@dssp/supervision": "^0.0.32",
42
+ "@dssp/building-complex": "^0.0.33",
43
+ "@dssp/project": "^0.0.33",
44
+ "@dssp/supervision": "^0.0.33",
45
45
  "@material/web": "^2.1.0",
46
46
  "@operato/chart": "^8.0.0-alpha",
47
47
  "@operato/gantt": "^8.0.0-alpha",
@@ -93,5 +93,5 @@
93
93
  "devDependencies": {
94
94
  "@things-factory/builder": "^8.0.0-alpha"
95
95
  },
96
- "gitHead": "e69c41de325f16b46022d7f41e9ae1a4723af0b0"
96
+ "gitHead": "65cbb3d3b4aafcaeb8d7b0da22ae250345ac0f51"
97
97
  }
package/schema.graphql CHANGED
@@ -703,7 +703,8 @@ input ChecklistInputType {
703
703
 
704
704
  type ChecklistItem {
705
705
  checklist: Checklist
706
- comment: String
706
+ checklistItemCommentCount: Float!
707
+ checklistItemComments: [ChecklistItemComment!]!
707
708
  constructionConfirmStatus: String
708
709
  createdAt: DateTimeISO
709
710
  creator: User
@@ -719,6 +720,22 @@ type ChecklistItem {
719
720
  updater: User
720
721
  }
721
722
 
723
+ """Entity for ChecklistItemComment"""
724
+ type ChecklistItemComment {
725
+ checklistItem: ChecklistItem
726
+ comment: String
727
+ createdAt: DateTimeISO
728
+ creator: User
729
+ deletedAt: DateTimeISO
730
+ id: ID!
731
+ }
732
+
733
+ input ChecklistItemCommentPatch {
734
+ checklistItemId: String
735
+ comment: String
736
+ id: ID
737
+ }
738
+
722
739
  input ChecklistItemInputType {
723
740
  detailType: String!
724
741
  inspctionCriteria: String
@@ -2159,6 +2176,9 @@ type Mutation {
2159
2176
  """To create new Checklist"""
2160
2177
  createChecklist(checklist: NewChecklist!): Checklist!
2161
2178
 
2179
+ """To create new ChecklistItemComment"""
2180
+ createChecklistItemComment(checklistItemComment: NewChecklistItemComment!): ChecklistItemComment!
2181
+
2162
2182
  """To create new CommonCode"""
2163
2183
  createCommonCode(commonCode: NewCommonCode!): CommonCode!
2164
2184
 
@@ -2342,6 +2362,9 @@ type Mutation {
2342
2362
  """To delete multiple Buildings"""
2343
2363
  deleteBuildings(ids: [String!]!): Boolean!
2344
2364
 
2365
+ """To delete ChecklistItemComment"""
2366
+ deleteChecklistItemComment(id: String!): Boolean!
2367
+
2345
2368
  """To delete ChecklistTemplateItem"""
2346
2369
  deleteChecklistTemplateItem(id: String!): Boolean!
2347
2370
 
@@ -2860,6 +2883,9 @@ type Mutation {
2860
2883
  """To modify Checklist information"""
2861
2884
  updateChecklist(id: String!, patch: ChecklistPatch!): Checklist!
2862
2885
 
2886
+ """To modify ChecklistItemComment information"""
2887
+ updateChecklistItemComment(id: String!, patch: ChecklistItemCommentPatch!): ChecklistItemComment!
2888
+
2863
2889
  """To modify CommonCode information"""
2864
2890
  updateCommonCode(name: String!, patch: CommonCodePatch!): CommonCode!
2865
2891
 
@@ -3237,6 +3263,11 @@ input NewChecklist {
3237
3263
  params: String
3238
3264
  }
3239
3265
 
3266
+ input NewChecklistItemComment {
3267
+ checklistItemId: String
3268
+ comment: String
3269
+ }
3270
+
3240
3271
  input NewCommonCode {
3241
3272
  description: String
3242
3273
  details: [String!]
@@ -4596,6 +4627,9 @@ type Query {
4596
4627
  """To fetch a ChecklistItem"""
4597
4628
  checklistItem(id: String!): ChecklistItem
4598
4629
 
4630
+ """To fetch multiple ChecklistItemComments"""
4631
+ checklistItemComments(checklistItemId: String!, pagination: Pagination!): [ChecklistItemComment!]!
4632
+
4599
4633
  """To fetch multiple ChecklistItems"""
4600
4634
  checklistItems(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): ChecklistItemList!
4601
4635