@dssp/dssp 1.0.0-alpha.3 → 1.0.0-alpha.5

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/schema.graphql CHANGED
@@ -80,6 +80,7 @@ type AppBinding {
80
80
  updatedAt: DateTimeISO
81
81
  updater: User!
82
82
  userType: String
83
+ username: String
83
84
  usersAuthProviders: [UsersAuthProviders!]
84
85
  }
85
86
 
@@ -388,6 +389,7 @@ type Board {
388
389
  playGroups: [PlayGroup!]
389
390
  state: String
390
391
  thumbnail: String
392
+ type: String
391
393
  updatedAt: DateTimeISO
392
394
  updater: User
393
395
  version: Float
@@ -407,6 +409,7 @@ type BoardFavorite {
407
409
  playGroups: [PlayGroup!]
408
410
  state: String
409
411
  thumbnail: String
412
+ type: String
410
413
  updatedAt: DateTimeISO
411
414
  updater: User
412
415
  version: Float
@@ -430,6 +433,7 @@ type BoardHistory {
430
433
  name: String!
431
434
  playGroups: [PlayGroup!]
432
435
  thumbnail: String
436
+ type: String
433
437
  updatedAt: DateTimeISO
434
438
  updater: User
435
439
  version: Float
@@ -446,6 +450,7 @@ input BoardPatch {
446
450
  model: String
447
451
  name: String
448
452
  thumbnail: String
453
+ type: String
449
454
  }
450
455
 
451
456
  type BoardSetting {
@@ -565,12 +570,16 @@ type BuildingInspection {
565
570
  attatchments: [Attachment!]!
566
571
  buildingInspectionSummary: BuildingInspectionSummary!
567
572
  buildingLevel: BuildingLevel
573
+ cellX: Float
574
+ cellY: Float
568
575
  checklist: Checklist
569
576
  createdAt: DateTimeISO
570
577
  creator: User
571
578
  deletedAt: DateTimeISO
572
579
  drawingMarker: String
573
580
  id: ID!
581
+ manager: ManagerOutput
582
+ projectType: String
574
583
  requestDate: String
575
584
  status: String
576
585
  updatedAt: DateTimeISO
@@ -637,6 +646,7 @@ type BuildingLevel {
637
646
  mainDrawing: Attachment
638
647
  mainDrawingImage: String
639
648
  mainDrawingThumbnail: String
649
+ noticeCount: Float!
640
650
  rebarDistributionDrawing: Attachment
641
651
  rebarDistributionDrawingThumbnail: String
642
652
  updatedAt: DateTimeISO
@@ -682,21 +692,34 @@ type Checklist {
682
692
  inspectionParts: [String!]
683
693
  location: String
684
694
  name: String
695
+
696
+ """총괄 시공 책임자"""
697
+ overallConstructor: User
685
698
  overallConstructorSignature: String
699
+
700
+ """총괄 감리 책임자"""
701
+ overallSupervisory: User
686
702
  overallSupervisorySignature: String
703
+ projectType: String
687
704
  supervisorInspectionDate: DateTimeISO
688
705
  task: Task!
706
+
707
+ """공종별 시공 관리자"""
708
+ taskConstructor: User
689
709
  taskConstructorSignature: String
710
+
711
+ """건축사보 (공종별 감리 관리자)"""
712
+ taskSupervisory: User
690
713
  taskSupervisorySignature: String
691
714
  updatedAt: DateTimeISO
692
715
  updater: User
693
716
  }
694
717
 
695
718
  input ChecklistInputType {
696
- constructionDetailType: String!
697
- constructionType: String!
698
- inspectionDrawingType: String!
699
- inspectionParts: [String!]!
719
+ constructionDetailType: String
720
+ constructionType: String
721
+ inspectionDrawingType: String
722
+ inspectionParts: [String!]
700
723
  location: String!
701
724
  name: String!
702
725
  }
@@ -930,7 +953,7 @@ type Connection {
930
953
  endpoint: String
931
954
  id: ID!
932
955
  name: String!
933
- params: String
956
+ params: Object
934
957
  state: String
935
958
  type: String
936
959
  updatedAt: DateTimeISO
@@ -950,7 +973,7 @@ input ConnectionPatch {
950
973
  endpoint: String
951
974
  id: ID
952
975
  name: String
953
- params: String
976
+ params: Object
954
977
  type: String
955
978
  }
956
979
 
@@ -1175,9 +1198,35 @@ input DomainGeneratorInput {
1175
1198
 
1176
1199
  input DomainInput {
1177
1200
  description: String
1201
+ extType: String
1178
1202
  name: String!
1179
1203
  }
1180
1204
 
1205
+ """Entity for DomainLink representing a connection between two domains"""
1206
+ type DomainLink {
1207
+ createdAt: DateTimeISO!
1208
+ creator: User
1209
+ id: ID!
1210
+ sourceDomain: Domain!
1211
+ targetDomain: Domain!
1212
+ type: String!
1213
+ updatedAt: DateTimeISO!
1214
+ updater: User
1215
+ }
1216
+
1217
+ type DomainLinkList {
1218
+ items: [DomainLink!]!
1219
+ total: Int!
1220
+ }
1221
+
1222
+ input DomainLinkPatch {
1223
+ cuFlag: String
1224
+ id: ID!
1225
+ sourceDomain: ObjectRef
1226
+ targetDomain: ObjectRef
1227
+ type: String
1228
+ }
1229
+
1181
1230
  type DomainList {
1182
1231
  items: [Domain!]
1183
1232
  total: Int
@@ -1189,6 +1238,7 @@ input DomainPatch {
1189
1238
  brandName: String
1190
1239
  contentImage: String
1191
1240
  description: String
1241
+ extType: String
1192
1242
  id: String
1193
1243
  name: String
1194
1244
  owner: String
@@ -1678,13 +1728,18 @@ type LiteMenu {
1678
1728
  active: Boolean
1679
1729
  appName: String
1680
1730
  board: Board
1731
+
1732
+ """Settings for help contents"""
1681
1733
  createdAt: DateTimeISO
1682
1734
  creator: User
1683
1735
  description: String
1684
1736
  domain: Domain!
1737
+ help: String
1685
1738
  icon: String
1686
1739
  id: ID!
1687
1740
  label: String!
1741
+
1742
+ """Settings for multilingual titles"""
1688
1743
  labels: Object
1689
1744
  name: String!
1690
1745
  parent: String
@@ -1705,6 +1760,7 @@ input LiteMenuPatch {
1705
1760
  active: Boolean
1706
1761
  appName: String
1707
1762
  description: String
1763
+ help: String
1708
1764
  icon: String
1709
1765
  labels: Object
1710
1766
  name: String
@@ -2126,7 +2182,7 @@ input MenuPatch {
2126
2182
 
2127
2183
  type Mutation {
2128
2184
  """To activate user"""
2129
- activateUser(userId: String!): Boolean!
2185
+ activateUser(username: String!): Boolean!
2130
2186
 
2131
2187
  """
2132
2188
  Attaches an existing contact to an employee. The contact is identified by its ID and the employee is identified by their ID.
@@ -2199,6 +2255,9 @@ type Mutation {
2199
2255
  """To create domain (Only superuser is granted this privilege.)"""
2200
2256
  createDomain(domainInput: DomainPatch!): Domain!
2201
2257
 
2258
+ """To create new DomainLink"""
2259
+ createDomainLink(domainLink: NewDomainLink!): DomainLink!
2260
+
2202
2261
  """
2203
2262
  Creates a new employee record with the provided details. Optionally associates the employee with a supervisor, department, and system user. If a photo is provided, it will be attached to the employee record.
2204
2263
  """
@@ -2249,6 +2308,9 @@ type Mutation {
2249
2308
  """To create my new PagePreference"""
2250
2309
  createMyPagePreference(pagePreference: NewPagePreference!): PagePreference!
2251
2310
 
2311
+ """To create new NoticeComment"""
2312
+ createNoticeComment(noticeComment: NewNoticeComment!): NoticeComment!
2313
+
2252
2314
  """To create new Notification"""
2253
2315
  createNotification(notification: NewNotification!): Notification!
2254
2316
 
@@ -2421,8 +2483,14 @@ type Mutation {
2421
2483
  """To delete domain (Only superuser is granted this privilege.)"""
2422
2484
  deleteDomain(name: String!): Domain!
2423
2485
 
2486
+ """To delete DomainLink"""
2487
+ deleteDomainLink(id: String!): Boolean!
2488
+
2489
+ """To delete multiple DomainLinks"""
2490
+ deleteDomainLinks(ids: [String!]!): Boolean!
2491
+
2424
2492
  """To delete domain user"""
2425
- deleteDomainUser(email: EmailAddress!): Boolean!
2493
+ deleteDomainUser(username: String!): Boolean!
2426
2494
 
2427
2495
  """To delete multiple domains (Only superuser is granted this privilege.)"""
2428
2496
  deleteDomains(names: [String!]!): Boolean!
@@ -2521,6 +2589,9 @@ type Mutation {
2521
2589
  """To delete my preference"""
2522
2590
  deleteMyUserPreference(element: String!, key: String!): Boolean!
2523
2591
 
2592
+ """To delete NoticeComment"""
2593
+ deleteNoticeComment(id: String!): Boolean!
2594
+
2524
2595
  """To delete Notification"""
2525
2596
  deleteNotification(id: String!): Boolean!
2526
2597
 
@@ -2639,7 +2710,7 @@ type Mutation {
2639
2710
  deleteThemes(ids: [String!]!): Boolean!
2640
2711
 
2641
2712
  """To delete a user"""
2642
- deleteUser(email: EmailAddress!): Boolean!
2713
+ deleteUser(username: String!): Boolean!
2643
2714
 
2644
2715
  """To delete UserPreference"""
2645
2716
  deleteUserPreference(id: String!): Boolean!
@@ -2648,7 +2719,7 @@ type Mutation {
2648
2719
  deleteUserPreferences(ids: [String!]!): Boolean!
2649
2720
 
2650
2721
  """To delete some users"""
2651
- deleteUsers(emails: [String!]!): Boolean!
2722
+ deleteUsers(usernames: [String!]!): Boolean!
2652
2723
 
2653
2724
  """To delete multiple WorkerTypes"""
2654
2725
  deleteWorkerTypes(ids: [String!]!): Boolean!
@@ -2763,11 +2834,11 @@ type Mutation {
2763
2834
  importThemes(themes: [ThemePatch!]!): Boolean!
2764
2835
 
2765
2836
  """To inactivate user"""
2766
- inactivateUser(userId: String!): Boolean!
2837
+ inactivateUser(username: String!): Boolean!
2767
2838
  inviteCustomer(customerDomainName: String!): Boolean!
2768
2839
 
2769
2840
  """To invite new user"""
2770
- inviteUser(email: EmailAddress!): Boolean!
2841
+ inviteUser(username: String!): Boolean!
2771
2842
 
2772
2843
  """To make the board to join the group"""
2773
2844
  joinGroup(boardIds: [String!]!, id: String!): Group!
@@ -2813,7 +2884,7 @@ type Mutation {
2813
2884
  reorderPlayGroup(boardIds: [String!]!, id: String!): PlayGroup!
2814
2885
 
2815
2886
  """To reset password to default"""
2816
- resetPasswordToDefault(userId: String!): Boolean!
2887
+ resetPasswordToDefault(username: String!): Boolean!
2817
2888
 
2818
2889
  """To revert Board version"""
2819
2890
  revertBoardVersion(id: String!, version: Float!): Board!
@@ -2847,7 +2918,7 @@ type Mutation {
2847
2918
  terminateContract(partnerName: String!): Boolean!
2848
2919
 
2849
2920
  """To transfer owner of domain"""
2850
- transferOwner(email: EmailAddress!): Boolean!
2921
+ transferOwner(username: String!): Boolean!
2851
2922
 
2852
2923
  """To modify ActionPlan information"""
2853
2924
  updateActionPlan(id: String!, patch: ActionPlanPatch!): ActionPlan!
@@ -2906,6 +2977,9 @@ type Mutation {
2906
2977
  """To update domain (Only superuser is granted this privilege.)"""
2907
2978
  updateDomain(name: String!, patch: DomainPatch!): Domain!
2908
2979
 
2980
+ """To modify DomainLink information"""
2981
+ updateDomainLink(id: String!, patch: DomainLinkPatch!): DomainLink!
2982
+
2909
2983
  """To update multiple domains (Only superuser is granted this privilege.)"""
2910
2984
  updateDomains(patches: [DomainPatch!]!): Boolean!
2911
2985
 
@@ -2996,6 +3070,9 @@ type Mutation {
2996
3070
  """To modify multiple Departments' information"""
2997
3071
  updateMultipleDepartment(patches: [DepartmentPatch!]!): [Department!]!
2998
3072
 
3073
+ """To modify multiple DomainLinks' information"""
3074
+ updateMultipleDomainLink(patches: [DomainLinkPatch!]!): [DomainLink!]!
3075
+
2999
3076
  """
3000
3077
  Updates or creates multiple employee records based on the provided patches. New employees are created if the "cuFlag" is "+", and existing employees are updated if the "cuFlag" is "M".
3001
3078
  """
@@ -3088,6 +3165,9 @@ type Mutation {
3088
3165
  """To create or update my preference"""
3089
3166
  updateMyUserPreference(key: String!, preference: Object!): UserPreference!
3090
3167
 
3168
+ """To modify NoticeComment information"""
3169
+ updateNoticeComment(id: String!, patch: NoticeCommentPatch!): NoticeComment!
3170
+
3091
3171
  """To modify Notification information"""
3092
3172
  updateNotification(id: String!, patch: NotificationPatch!): Notification!
3093
3173
 
@@ -3167,7 +3247,7 @@ type Mutation {
3167
3247
  updateUserPreference(id: String!, patch: UserPreferencePatch!): UserPreference!
3168
3248
 
3169
3249
  """To update roles for a user"""
3170
- updateUserRoles(availableRoles: [ObjectRef!]!, selectedRoles: [ObjectRef!]!, userId: String!): User!
3250
+ updateUserRoles(availableRoles: [ObjectRef!]!, selectedRoles: [ObjectRef!]!, username: String!): User!
3171
3251
 
3172
3252
  """프로젝트 공정표 업로드"""
3173
3253
  uploadProjectScheduleTable(param: UploadProjectScheduleTable!): Boolean!
@@ -3242,6 +3322,7 @@ input NewBoard {
3242
3322
  model: String!
3243
3323
  name: String!
3244
3324
  thumbnail: String
3325
+ type: String
3245
3326
  }
3246
3327
 
3247
3328
  input NewBoardTemplate {
@@ -3254,8 +3335,11 @@ input NewBoardTemplate {
3254
3335
 
3255
3336
  input NewBuildingInspection {
3256
3337
  buildingLevelId: String!
3338
+ cellX: Float
3339
+ cellY: Float
3257
3340
  checklist: ChecklistInputType!
3258
3341
  checklistItem: [ChecklistItemInputType!]!
3342
+ managerId: String
3259
3343
  }
3260
3344
 
3261
3345
  input NewChecklist {
@@ -3289,7 +3373,7 @@ input NewConnection {
3289
3373
  edge: ObjectRef
3290
3374
  endpoint: String
3291
3375
  name: String!
3292
- params: String
3376
+ params: Object
3293
3377
  type: String
3294
3378
  }
3295
3379
 
@@ -3316,6 +3400,12 @@ input NewDepartment {
3316
3400
  picture: Upload
3317
3401
  }
3318
3402
 
3403
+ input NewDomainLink {
3404
+ sourceDomain: ObjectRef!
3405
+ targetDomain: ObjectRef!
3406
+ type: String!
3407
+ }
3408
+
3319
3409
  input NewEmployee {
3320
3410
  active: Boolean
3321
3411
  alias: String
@@ -3428,6 +3518,7 @@ input NewLiteMenu {
3428
3518
  active: Boolean
3429
3519
  appName: String
3430
3520
  description: String
3521
+ help: String
3431
3522
  icon: String
3432
3523
  labels: Object
3433
3524
  name: String!
@@ -3579,6 +3670,11 @@ input NewMenuDetailColumn {
3579
3670
  virtualField: Boolean
3580
3671
  }
3581
3672
 
3673
+ input NewNoticeComment {
3674
+ buildingLevelId: String
3675
+ comment: String
3676
+ }
3677
+
3582
3678
  input NewNotification {
3583
3679
  body: String
3584
3680
  image: String
@@ -3805,6 +3901,7 @@ input NewUser {
3805
3901
  password: String
3806
3902
  roles: [ObjectRef!]
3807
3903
  userType: String
3904
+ username: String!
3808
3905
  }
3809
3906
 
3810
3907
  input NewUserByDomainWizardInput {
@@ -3822,6 +3919,22 @@ input NewUserPreference {
3822
3919
  user: ObjectRef!
3823
3920
  }
3824
3921
 
3922
+ """Entity for NoticeComment"""
3923
+ type NoticeComment {
3924
+ buildingLevel: BuildingLevel
3925
+ comment: String
3926
+ createdAt: DateTimeISO
3927
+ creator: User
3928
+ deletedAt: DateTimeISO
3929
+ id: ID!
3930
+ }
3931
+
3932
+ input NoticeCommentPatch {
3933
+ buildingLevelId: String
3934
+ comment: String
3935
+ id: ID
3936
+ }
3937
+
3825
3938
  """Entity for Notification"""
3826
3939
  type Notification {
3827
3940
  body: String
@@ -4380,6 +4493,7 @@ type Project {
4380
4493
  kpi: Float
4381
4494
  mainPhoto: Attachment
4382
4495
  name: String!
4496
+ projectType: String!
4383
4497
  robotProgressRate: Float
4384
4498
  rootTasks: [Task!]
4385
4499
  scheduleTable: Attachment
@@ -4707,6 +4821,12 @@ type Query {
4707
4821
  """To fetch domain"""
4708
4822
  domain(id: String!): Domain!
4709
4823
 
4824
+ """To fetch multiple DomainLinks"""
4825
+ domainLinks(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): DomainLinkList!
4826
+
4827
+ """To fetch domain"""
4828
+ domainTypes: [String!]!
4829
+
4710
4830
  """To fetch all domains (Only superuser is granted this privilege.)"""
4711
4831
  domains(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): DomainList!
4712
4832
 
@@ -4874,8 +4994,8 @@ type Query {
4874
4994
  """To fetch multiple PagePreferences"""
4875
4995
  myPagePreferences(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PagePreferenceList!
4876
4996
 
4877
- """To fetch roles of current user"""
4878
- myRoles: [Role!]!
4997
+ """To fetch roles of current user (id, name only)"""
4998
+ myRoles: [RoleBrief!]!
4879
4999
 
4880
5000
  """To fetch a User's own UserPreference"""
4881
5001
  myUserPreference(element: String!, key: String!): UserPreference
@@ -4883,6 +5003,9 @@ type Query {
4883
5003
  """To fetch multiple UserPreferences"""
4884
5004
  myUserPreferences(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): UserPreferenceList!
4885
5005
 
5006
+ """To fetch multiple NoticeComments"""
5007
+ noticeComments(buildingLevelId: String!): [NoticeComment!]!
5008
+
4886
5009
  """To fetch a Notification"""
4887
5010
  notification(id: String!): Notification
4888
5011
 
@@ -5142,6 +5265,11 @@ type Role {
5142
5265
  users: [User!]
5143
5266
  }
5144
5267
 
5268
+ type RoleBrief {
5269
+ id: String
5270
+ name: String
5271
+ }
5272
+
5145
5273
  type RoleList {
5146
5274
  items: [Role!]
5147
5275
  total: Int
@@ -5440,7 +5568,7 @@ type Step {
5440
5568
  id: ID!
5441
5569
  log: Boolean
5442
5570
  name: String!
5443
- params: String
5571
+ params: Object
5444
5572
 
5445
5573
  """
5446
5574
  A boolean attribute indicating the inclusion status of an element in the result
@@ -5466,7 +5594,7 @@ input StepPatch {
5466
5594
  id: ID
5467
5595
  log: Boolean
5468
5596
  name: String
5469
- params: String
5597
+ params: Object
5470
5598
  result: Boolean
5471
5599
  sequence: Int
5472
5600
  skip: Boolean
@@ -5732,6 +5860,7 @@ type User {
5732
5860
  updatedAt: DateTimeISO
5733
5861
  updater: User
5734
5862
  userType: String
5863
+ username: String
5735
5864
  usersAuthProviders: [UsersAuthProviders!]
5736
5865
  }
5737
5866