@dssp/dssp 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.
package/db_back.sqlite ADDED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dssp/dssp",
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/dssp:latest && docker image push hatiolab/dssp:$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",
@@ -75,5 +75,5 @@
75
75
  "devDependencies": {
76
76
  "@things-factory/builder": "^9.0.0"
77
77
  },
78
- "gitHead": "2eb88320185fba887821c08e5f74a6c89cf0ad96"
78
+ "gitHead": "0748bc8818d22fe58050e6ef5e966cf4684b15aa"
79
79
  }
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
@@ -1176,11 +1178,8 @@ type Checklist {
1176
1178
  """총괄 감리 책임자"""
1177
1179
  overallSupervisory: User
1178
1180
  overallSupervisorySignature: String
1179
- project: Project!
1180
1181
  projectType: String
1181
1182
  supervisorInspectionDate: DateTimeISO
1182
- task: Task!
1183
- taskCode: String
1184
1183
 
1185
1184
  """공종별 시공 관리자"""
1186
1185
  taskConstructor: User
@@ -3263,7 +3262,7 @@ type Mutation {
3263
3262
  """To delete multiple ChecklistTypes"""
3264
3263
  deleteChecklistTypes(ids: [String!]!): Boolean!
3265
3264
 
3266
- """To delete multiple Checklists"""
3265
+ """To create Building Inspection And Checklist information"""
3267
3266
  deleteChecklists(ids: [String!]!): Boolean!
3268
3267
 
3269
3268
  """To delete CommonCode"""
@@ -4132,6 +4131,9 @@ type Mutation {
4132
4131
  """To modify Task information"""
4133
4132
  updateTask(id: String!, patch: TaskPatch!): Task!
4134
4133
 
4134
+ """To update Task Checklist information"""
4135
+ updateTaskChecklist(taskChecklist: UpdateTaskChecklistSubmitType!): Boolean!
4136
+
4135
4137
  """To modify TaskResource information"""
4136
4138
  updateTaskResource(id: String!, patch: TaskResourcePatch!): TaskResource!
4137
4139
 
@@ -4922,7 +4924,6 @@ input NewTask {
4922
4924
  }
4923
4925
 
4924
4926
  input NewTaskChecklist {
4925
- buildingLevelId: String
4926
4927
  checklist: TaskChecklistInputType!
4927
4928
  checklistItem: [ChecklistItemInputType!]!
4928
4929
  managerId: String
@@ -5762,6 +5763,15 @@ type ProjectList {
5762
5763
  total: Int!
5763
5764
  }
5764
5765
 
5766
+ type ProjectManagerOutput {
5767
+ id: ID
5768
+ name: String
5769
+ phone: String
5770
+ position: String
5771
+ updatedAt: String
5772
+ userId: ID!
5773
+ }
5774
+
5765
5775
  input ProjectPatch {
5766
5776
  """연관된 건물 복합체 정보 (선택 사항)"""
5767
5777
  buildingComplex: BuildingComplexPatch
@@ -5816,7 +5826,6 @@ type ProjectReport {
5816
5826
  id: ID!
5817
5827
  name: String
5818
5828
  params: String
5819
- project: Project!
5820
5829
  state: String
5821
5830
  supervisor: Supervisor!
5822
5831
  thumbnail: String
@@ -7346,6 +7355,9 @@ type Query {
7346
7355
  """Fetch a single Task by its ID"""
7347
7356
  task(id: String!): Task
7348
7357
 
7358
+ """Fetch a single TaskChecklistBinding by its ID"""
7359
+ taskChecklistBinding(id: String!): TaskChecklistBinding
7360
+
7349
7361
  """To fetch a TaskResource"""
7350
7362
  taskResource(id: String!): TaskResource
7351
7363
 
@@ -8238,12 +8250,28 @@ type Task {
8238
8250
  startDate: DateTimeISO
8239
8251
  style: String
8240
8252
  tags: Object
8253
+ taskChecklistBinding: TaskChecklistBinding
8241
8254
  taskResources: [TaskResource!]
8242
8255
  type: String
8243
8256
  updatedAt: DateTimeISO
8244
8257
  updater: User
8245
8258
  }
8246
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
+
8247
8275
  input TaskChecklistInputType {
8248
8276
  constructionDetailType: String
8249
8277
  constructionType: String
@@ -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