@dssp/dcsp 1.0.0-alpha.19 → 1.0.0-alpha.20

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 +64 -30
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dssp/dcsp",
3
- "version": "1.0.0-alpha.19",
3
+ "version": "1.0.0-alpha.20",
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/dcsp:latest && docker image push hatiolab/dcsp:$npm_package_version"
40
40
  },
41
41
  "dependencies": {
42
- "@dssp/building-complex": "^1.0.0-alpha.19",
43
- "@dssp/project": "^1.0.0-alpha.19",
44
- "@dssp/supervision": "^1.0.0-alpha.19",
42
+ "@dssp/building-complex": "^1.0.0-alpha.20",
43
+ "@dssp/project": "^1.0.0-alpha.20",
44
+ "@dssp/supervision": "^1.0.0-alpha.20",
45
45
  "@material/web": "^2.1.0",
46
46
  "@operato/chart": "^9.0.0",
47
47
  "@operato/gantt": "^9.0.0",
@@ -93,5 +93,5 @@
93
93
  "devDependencies": {
94
94
  "@things-factory/builder": "^9.0.0"
95
95
  },
96
- "gitHead": "2eb88320185fba887821c08e5f74a6c89cf0ad96"
96
+ "gitHead": "0748bc8818d22fe58050e6ef5e966cf4684b15aa"
97
97
  }
package/schema.graphql CHANGED
@@ -1005,6 +1005,7 @@ type BuildingComplex {
1005
1005
  taskSupervisoryEmails: [String!]
1006
1006
  updatedAt: DateTimeISO
1007
1007
  updater: User
1008
+ virtualTourLink: String
1008
1009
  }
1009
1010
 
1010
1011
  input BuildingComplexPatch {
@@ -1031,6 +1032,7 @@ input BuildingComplexPatch {
1031
1032
  supervisoryCompany: String
1032
1033
  taskConstructorEmails: [String!]
1033
1034
  taskSupervisoryEmails: [String!]
1035
+ virtualTourLink: String
1034
1036
  }
1035
1037
 
1036
1038
  type BuildingInspection {
@@ -1045,7 +1047,7 @@ type BuildingInspection {
1045
1047
  deletedAt: DateTimeISO
1046
1048
  drawingMarker: String
1047
1049
  id: ID!
1048
- manager: ManagerOutput
1050
+ manager: ProjectManagerOutput
1049
1051
  projectType: String
1050
1052
  requestDate: String
1051
1053
  status: String
@@ -1155,6 +1157,7 @@ type ChatCompletionOutput {
1155
1157
  type Checklist {
1156
1158
  buildingInspection: BuildingInspection!
1157
1159
  checklistItems: [ChecklistItem!]!
1160
+ checklistReferenceType: String
1158
1161
  constructionDetailType: String
1159
1162
  constructionInspectionDate: DateTimeISO
1160
1163
  constructionType: String
@@ -1177,7 +1180,6 @@ type Checklist {
1177
1180
  overallSupervisorySignature: String
1178
1181
  projectType: String
1179
1182
  supervisorInspectionDate: DateTimeISO
1180
- task: Task!
1181
1183
 
1182
1184
  """공종별 시공 관리자"""
1183
1185
  taskConstructor: User
@@ -1195,7 +1197,7 @@ input ChecklistInputType {
1195
1197
  constructionType: String
1196
1198
  inspectionDrawingType: String
1197
1199
  inspectionParts: [String!]
1198
- location: String!
1200
+ location: String
1199
1201
  name: String!
1200
1202
  }
1201
1203
 
@@ -1259,14 +1261,6 @@ type ChecklistList {
1259
1261
  total: Int!
1260
1262
  }
1261
1263
 
1262
- input ChecklistPatch {
1263
- active: Boolean
1264
- cuFlag: String
1265
- description: String
1266
- id: ID
1267
- name: String
1268
- }
1269
-
1270
1264
  input ChecklistSubmitInputType {
1271
1265
  id: String!
1272
1266
  overallConstructorSignature: String
@@ -3038,9 +3032,6 @@ type Mutation {
3038
3032
  """To create Building Inspection information"""
3039
3033
  createBuildingInspection(patch: NewBuildingInspection!): BuildingInspection!
3040
3034
 
3041
- """To create new Checklist"""
3042
- createChecklist(checklist: NewChecklist!): Checklist!
3043
-
3044
3035
  """To create new ChecklistItemComment"""
3045
3036
  createChecklistItemComment(checklistItemComment: NewChecklistItemComment!): ChecklistItemComment!
3046
3037
 
@@ -3171,6 +3162,9 @@ type Mutation {
3171
3162
  """To create new Task"""
3172
3163
  createTask(task: NewTask!): Task!
3173
3164
 
3165
+ """To create Task Checklist information"""
3166
+ createTaskChecklist(patch: NewTaskChecklist!): Boolean!
3167
+
3174
3168
  """To create new TaskResource"""
3175
3169
  createTaskResource(taskResource: NewTaskResource!): TaskResource!
3176
3170
 
@@ -3268,7 +3262,7 @@ type Mutation {
3268
3262
  """To delete multiple ChecklistTypes"""
3269
3263
  deleteChecklistTypes(ids: [String!]!): Boolean!
3270
3264
 
3271
- """To delete multiple Checklists"""
3265
+ """To create Building Inspection And Checklist information"""
3272
3266
  deleteChecklists(ids: [String!]!): Boolean!
3273
3267
 
3274
3268
  """To delete CommonCode"""
@@ -3847,9 +3841,6 @@ type Mutation {
3847
3841
  """To create Building Inspection And Checklist information"""
3848
3842
  updateBuildingInspectionChecklist(buildingInspection: UpdateBuildingInspectionSubmitType!): Boolean!
3849
3843
 
3850
- """To modify Checklist information"""
3851
- updateChecklist(id: String!, patch: ChecklistPatch!): Checklist!
3852
-
3853
3844
  """To modify ChecklistItemComment information"""
3854
3845
  updateChecklistItemComment(id: String!, patch: ChecklistItemCommentPatch!): ChecklistItemComment!
3855
3846
 
@@ -3936,9 +3927,6 @@ type Mutation {
3936
3927
  """To modify multiple Buildings' information"""
3937
3928
  updateMultipleBuilding(patches: [BuildingPatch!]!): [Building!]!
3938
3929
 
3939
- """To modify multiple Checklists' information"""
3940
- updateMultipleChecklist(patches: [ChecklistPatch!]!): [Checklist!]!
3941
-
3942
3930
  """To modify multiple ChecklistTemplates' information"""
3943
3931
  updateMultipleChecklistTemplate(patches: [ChecklistTemplatePatch!]!): [ChecklistTemplate!]!
3944
3932
 
@@ -4143,6 +4131,9 @@ type Mutation {
4143
4131
  """To modify Task information"""
4144
4132
  updateTask(id: String!, patch: TaskPatch!): Task!
4145
4133
 
4134
+ """To update Task Checklist information"""
4135
+ updateTaskChecklist(taskChecklist: UpdateTaskChecklistSubmitType!): Boolean!
4136
+
4146
4137
  """To modify TaskResource information"""
4147
4138
  updateTaskResource(id: String!, patch: TaskResourcePatch!): TaskResource!
4148
4139
 
@@ -4339,7 +4330,7 @@ input NewBoardTemplate {
4339
4330
  }
4340
4331
 
4341
4332
  input NewBuildingInspection {
4342
- buildingLevelId: String!
4333
+ buildingLevelId: String
4343
4334
  cellX: Float
4344
4335
  cellY: Float
4345
4336
  checklist: ChecklistInputType!
@@ -4347,13 +4338,6 @@ input NewBuildingInspection {
4347
4338
  managerId: String
4348
4339
  }
4349
4340
 
4350
- input NewChecklist {
4351
- active: Boolean
4352
- description: String
4353
- name: String!
4354
- params: String
4355
- }
4356
-
4357
4341
  input NewChecklistItemComment {
4358
4342
  checklistItemId: String
4359
4343
  comment: String
@@ -4939,6 +4923,12 @@ input NewTask {
4939
4923
  project: ObjectRefForProject
4940
4924
  }
4941
4925
 
4926
+ input NewTaskChecklist {
4927
+ checklist: TaskChecklistInputType!
4928
+ checklistItem: [ChecklistItemInputType!]!
4929
+ managerId: String
4930
+ }
4931
+
4942
4932
  input NewTaskResource {
4943
4933
  quantity: Float!
4944
4934
  resourceId: ID!
@@ -5773,6 +5763,15 @@ type ProjectList {
5773
5763
  total: Int!
5774
5764
  }
5775
5765
 
5766
+ type ProjectManagerOutput {
5767
+ id: ID
5768
+ name: String
5769
+ phone: String
5770
+ position: String
5771
+ updatedAt: String
5772
+ userId: ID!
5773
+ }
5774
+
5776
5775
  input ProjectPatch {
5777
5776
  """연관된 건물 복합체 정보 (선택 사항)"""
5778
5777
  buildingComplex: BuildingComplexPatch
@@ -5827,7 +5826,6 @@ type ProjectReport {
5827
5826
  id: ID!
5828
5827
  name: String
5829
5828
  params: String
5830
- project: Project!
5831
5829
  state: String
5832
5830
  supervisor: Supervisor!
5833
5831
  thumbnail: String
@@ -7357,6 +7355,9 @@ type Query {
7357
7355
  """Fetch a single Task by its ID"""
7358
7356
  task(id: String!): Task
7359
7357
 
7358
+ """Fetch a single TaskChecklistBinding by its ID"""
7359
+ taskChecklistBinding(id: String!): TaskChecklistBinding
7360
+
7360
7361
  """To fetch a TaskResource"""
7361
7362
  taskResource(id: String!): TaskResource
7362
7363
 
@@ -8249,12 +8250,39 @@ type Task {
8249
8250
  startDate: DateTimeISO
8250
8251
  style: String
8251
8252
  tags: Object
8253
+ taskChecklistBinding: TaskChecklistBinding
8252
8254
  taskResources: [TaskResource!]
8253
8255
  type: String
8254
8256
  updatedAt: DateTimeISO
8255
8257
  updater: User
8256
8258
  }
8257
8259
 
8260
+ """Task와 Checklist 간의 바인딩 정보"""
8261
+ type TaskChecklistBinding {
8262
+ checklist: Checklist
8263
+ createdAt: DateTimeISO
8264
+ creator: User
8265
+ id: ID!
8266
+ manager: ManagerOutput
8267
+ project: Project
8268
+ status: String
8269
+ task: Task
8270
+ taskCode: String!
8271
+ updatedAt: DateTimeISO
8272
+ updater: User
8273
+ }
8274
+
8275
+ input TaskChecklistInputType {
8276
+ constructionDetailType: String
8277
+ constructionType: String
8278
+ inspectionDrawingType: String
8279
+ inspectionParts: [String!]
8280
+ location: String
8281
+ name: String!
8282
+ projectId: String
8283
+ taskCode: String
8284
+ }
8285
+
8258
8286
  type TaskList {
8259
8287
  """작업 리스트 항목들"""
8260
8288
  items: [Task!]!
@@ -8457,6 +8485,12 @@ input UpdateBuildingInspectionSubmitType {
8457
8485
  id: String!
8458
8486
  }
8459
8487
 
8488
+ input UpdateTaskChecklistSubmitType {
8489
+ checklist: ChecklistSubmitInputType!
8490
+ checklistId: String!
8491
+ checklistItem: [ChecklistItemSubmitInputType!]!
8492
+ }
8493
+
8460
8494
  """The `Upload` scalar type represents a file upload."""
8461
8495
  scalar Upload
8462
8496