@dssp/dssp 0.0.2 → 0.0.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
@@ -513,6 +513,8 @@ input BuildingComplexPatch {
513
513
 
514
514
  """시공 검측 (층별 도면의 검측 리스트)"""
515
515
  type BuildingInspection {
516
+ attachments: [Attachment!]
517
+ attatchments: [Attachment!]!
516
518
  buildingInspectionAttachments: [BuildingInspectionAttachment!]
517
519
  buildingLevel: BuildingLevel
518
520
  createdAt: DateTimeISO
@@ -522,7 +524,7 @@ type BuildingInspection {
522
524
  id: ID!
523
525
  indexX: Float
524
526
  indexY: Float
525
- type: String
527
+ status: String
526
528
  updatedAt: DateTimeISO
527
529
  updater: User
528
530
  }
@@ -543,7 +545,7 @@ input BuildingInspectionPatch {
543
545
  id: ID
544
546
  indexX: Float
545
547
  indexY: Float
546
- type: String
548
+ status: String
547
549
  }
548
550
 
549
551
  """층 정보"""
@@ -552,24 +554,28 @@ type BuildingLevel {
552
554
  buildingInspections: [BuildingInspection!]
553
555
  createdAt: DateTimeISO
554
556
  creator: User
555
- crossSectionDrawing: Attachment
556
557
  deletedAt: DateTimeISO
558
+ elevationDrawing: Attachment
559
+ elevationDrawingThumbnail: String
557
560
  floor: Float!
558
561
  floorInspectionSummary: FloorInspectionSummary!
559
562
  id: ID!
560
563
  mainDrawing: Attachment
564
+ mainDrawingImage: String
565
+ mainDrawingThumbnail: String
561
566
  rebarDistributionDrawing: Attachment
562
- structuralDrawing: Attachment
567
+ rebarDistributionDrawingThumbnail: String
568
+ updatedAt: DateTimeISO
569
+ updater: User
563
570
  }
564
571
 
565
572
  input BuildingLevelPatch {
566
573
  buildingInspections: [BuildingInspectionPatch!]
567
- crossSectionDrawingUpload: Upload
574
+ elevationDrawingUpload: Upload
568
575
  floor: Float!
569
576
  id: ID
570
577
  mainDrawingUpload: Upload
571
578
  rebarDistributionDrawingUpload: Upload
572
- structuralDrawingUpload: Upload
573
579
  }
574
580
 
575
581
  input BuildingPatch {
@@ -777,6 +783,31 @@ type ConnectorType {
777
783
  taskPrefixes: [String!]
778
784
  }
779
785
 
786
+ """공종 타입"""
787
+ type ConstructionType {
788
+ createdAt: DateTimeISO
789
+ creator: User
790
+ deletedAt: DateTimeISO
791
+ description: String
792
+ domain: Domain
793
+ id: ID!
794
+ name: String
795
+ updatedAt: DateTimeISO
796
+ updater: User
797
+ }
798
+
799
+ type ConstructionTypeList {
800
+ items: [ConstructionType!]!
801
+ total: Int!
802
+ }
803
+
804
+ input ConstructionTypePatch {
805
+ cuFlag: String
806
+ description: String
807
+ id: ID
808
+ name: String
809
+ }
810
+
780
811
  """Entity for Contact"""
781
812
  type Contact {
782
813
  address: String
@@ -1400,6 +1431,31 @@ type LoginHistoryList {
1400
1431
  total: Int!
1401
1432
  }
1402
1433
 
1434
+ """담당자 관리"""
1435
+ type Manager {
1436
+ id: ID!
1437
+ phone: String
1438
+ position: String
1439
+ user: User
1440
+ }
1441
+
1442
+ type ManagerOutput {
1443
+ id: ID
1444
+ name: String
1445
+ phone: String
1446
+ position: String
1447
+ updatedAt: String
1448
+ userId: ID!
1449
+ }
1450
+
1451
+ input ManagerPatch {
1452
+ id: ID
1453
+ name: String
1454
+ phone: String
1455
+ position: String
1456
+ userId: ID
1457
+ }
1458
+
1403
1459
  """Entity for Menu"""
1404
1460
  type Menu {
1405
1461
  buttons: [MenuButton!]!
@@ -1895,9 +1951,6 @@ type Mutation {
1895
1951
  """프로젝트 생성"""
1896
1952
  createProject(project: NewProject!): Project!
1897
1953
 
1898
- """To create new Resource"""
1899
- createResource(resource: NewResource!): Resource!
1900
-
1901
1954
  """To create new user"""
1902
1955
  createRole(role: NewRole!): User!
1903
1956
 
@@ -1938,7 +1991,7 @@ type Mutation {
1938
1991
  """To delete multiple ApprovalLines"""
1939
1992
  deleteApprovalLines(ids: [String!]!): Boolean!
1940
1993
  deleteAttachment(id: String!): Boolean!
1941
- deleteAttachmentsByRef(refBys: [String!]!): Boolean!
1994
+ deleteAttachmentsByRef(refBys: [String!]!, refType: String): Boolean!
1942
1995
 
1943
1996
  """To delete AttributeSet"""
1944
1997
  deleteAttributeSet(id: String!): Boolean!
@@ -1998,6 +2051,9 @@ type Mutation {
1998
2051
  """To delete multiple connections"""
1999
2052
  deleteConnections(names: [String!]!): Boolean!
2000
2053
 
2054
+ """To delete multiple ConstructionTypes"""
2055
+ deleteConstructionTypes(ids: [String!]!): Boolean!
2056
+
2001
2057
  """To delete Contact"""
2002
2058
  deleteContact(id: String!): Boolean!
2003
2059
 
@@ -2145,12 +2201,6 @@ type Mutation {
2145
2201
  """To delete Project"""
2146
2202
  deleteProject(id: String!): Boolean!
2147
2203
 
2148
- """To delete Resource"""
2149
- deleteResource(id: String!): Boolean!
2150
-
2151
- """To delete multiple Resources"""
2152
- deleteResources(ids: [String!]!): Boolean!
2153
-
2154
2204
  """To delete role"""
2155
2205
  deleteRole(id: String!): Boolean!
2156
2206
 
@@ -2208,6 +2258,9 @@ type Mutation {
2208
2258
  """To delete some users"""
2209
2259
  deleteUsers(emails: [String!]!): Boolean!
2210
2260
 
2261
+ """To delete multiple WorkerTypes"""
2262
+ deleteWorkerTypes(ids: [String!]!): Boolean!
2263
+
2211
2264
  """To detach a contact from Employee"""
2212
2265
  detachContact(id: String!): Employee!
2213
2266
 
@@ -2289,9 +2342,6 @@ type Mutation {
2289
2342
  """To import multiple Oauth2Clients"""
2290
2343
  importOauth2Clients(oauth2Clients: [Oauth2ClientPatch!]!): Boolean!
2291
2344
 
2292
- """To import multiple Resources"""
2293
- importResources(resources: [ResourcePatch!]!): Boolean!
2294
-
2295
2345
  """To import multiple scenarios"""
2296
2346
  importScenarios(scenarios: [ScenarioPatch!]!): Boolean!
2297
2347
 
@@ -2501,6 +2551,9 @@ type Mutation {
2501
2551
  """To modify multiple connections' information"""
2502
2552
  updateMultipleConnection(patches: [ConnectionPatch!]!): [Connection!]!
2503
2553
 
2554
+ """To modify multiple ConstructionTypes' information"""
2555
+ updateMultipleConstructionType(patches: [ConstructionTypePatch!]!): [ConstructionType!]!
2556
+
2504
2557
  """To modify multiple Contacts' information"""
2505
2558
  updateMultipleContact(patches: [ContactPatch!]!): [Contact!]!
2506
2559
 
@@ -2516,6 +2569,9 @@ type Mutation {
2516
2569
  """To modify multiple Entitys' information"""
2517
2570
  updateMultipleEntityColumn(patches: [EntityColumnPatch!]!): [EntityColumn!]!
2518
2571
 
2572
+ """To modify multiple Managers' information"""
2573
+ updateMultipleManager(patches: [ManagerPatch!]!): [Manager!]!
2574
+
2519
2575
  """To modify multiple Menus' information"""
2520
2576
  updateMultipleMenu(patches: [MenuPatch!]!): [Menu!]!
2521
2577
 
@@ -2537,9 +2593,6 @@ type Mutation {
2537
2593
  """To modify multiple PrinterDevices' information"""
2538
2594
  updateMultiplePrinterDevice(patches: [PrinterDevicePatch!]!): [PrinterDevice!]!
2539
2595
 
2540
- """To modify multiple Resources' information"""
2541
- updateMultipleResource(patches: [ResourcePatch!]!): [Resource!]!
2542
-
2543
2596
  """To modify multiple scenarios' information"""
2544
2597
  updateMultipleScenario(patches: [ScenarioPatch!]!): [Scenario!]!
2545
2598
 
@@ -2564,6 +2617,9 @@ type Mutation {
2564
2617
  """To modify multiple users information"""
2565
2618
  updateMultipleUser(patches: [UserPatch!]!): [User!]!
2566
2619
 
2620
+ """To modify multiple WorkerTypes' information"""
2621
+ updateMultipleWorkerType(patches: [WorkerTypePatch!]!): [WorkerType!]!
2622
+
2567
2623
  """To modify ApprovalLine information for current user"""
2568
2624
  updateMyApprovalLine(id: String!, patch: ApprovalLinePatch!): ApprovalLine!
2569
2625
 
@@ -2600,9 +2656,6 @@ type Mutation {
2600
2656
  """프로젝트 도면 업데이트"""
2601
2657
  updateProjectPlan(project: ProjectPatch!): Project!
2602
2658
 
2603
- """To modify Resource information"""
2604
- updateResource(id: String!, patch: ResourcePatch!): Resource!
2605
-
2606
2659
  """To modify role information"""
2607
2660
  updateRole(id: String!, patch: RolePatch!): Role!
2608
2661
 
@@ -3115,13 +3168,6 @@ input NewProject {
3115
3168
  name: String!
3116
3169
  }
3117
3170
 
3118
- input NewResource {
3119
- active: Boolean
3120
- description: String
3121
- name: String!
3122
- params: String
3123
- }
3124
-
3125
3171
  input NewRole {
3126
3172
  description: String
3127
3173
  name: String!
@@ -3148,12 +3194,34 @@ input NewSetting {
3148
3194
  }
3149
3195
 
3150
3196
  input NewStateRegister {
3197
+ """Description of the state register"""
3151
3198
  description: String
3199
+
3200
+ """Group name for the state register"""
3201
+ group: String
3202
+
3203
+ """Name of the state register"""
3152
3204
  name: String!
3205
+
3206
+ """Number of decimal places if the state is a number type"""
3207
+ place: String
3208
+
3209
+ """
3210
+ Reference to an external entity or data, used as a flexible foreign key
3211
+ """
3153
3212
  refBy: String
3213
+
3214
+ """Current state value"""
3154
3215
  state: Object
3216
+
3217
+ """Time to live for the state value in seconds"""
3155
3218
  ttl: Int
3219
+
3220
+ """Type of the state"""
3156
3221
  type: String
3222
+
3223
+ """Unit of the state value"""
3224
+ unit: String
3157
3225
  }
3158
3226
 
3159
3227
  input NewTask {
@@ -3795,6 +3863,9 @@ type Query {
3795
3863
 
3796
3864
  """To fetch a BuildingComplex"""
3797
3865
  buildingBuildingComplex(id: String!): BuildingComplex
3866
+
3867
+ """To fetch a BuildingInspection"""
3868
+ buildingBuildingInspection(id: String!): BuildingInspection
3798
3869
  chatCompletion(input: ChatCompletionInput!): ChatCompletionOutput!
3799
3870
 
3800
3871
  """To check if system would provide default password to create new user"""
@@ -3851,6 +3922,12 @@ type Query {
3851
3922
  """To fetch multiple connector"""
3852
3923
  connectors: ConnectorList!
3853
3924
 
3925
+ """To fetch a ConstructionType"""
3926
+ constructionType(id: String!): ConstructionType
3927
+
3928
+ """To fetch multiple ConstructionTypes"""
3929
+ constructionTypes(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): ConstructionTypeList!
3930
+
3854
3931
  """To fetch a Contact"""
3855
3932
  contact(id: String!): Contact
3856
3933
 
@@ -3950,6 +4027,9 @@ type Query {
3950
4027
  """To fetch multiple LoginHistories"""
3951
4028
  loginHistories(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): LoginHistoryList!
3952
4029
 
4030
+ """담당자 리스트"""
4031
+ managers: [ManagerOutput!]!
4032
+
3953
4033
  """To fetch a Menu"""
3954
4034
  menu(id: String!): Menu!
3955
4035
 
@@ -4087,12 +4167,6 @@ type Query {
4087
4167
  """프로젝트 리스트"""
4088
4168
  projects(projectName: String!): ProjectList!
4089
4169
 
4090
- """To fetch a Resource"""
4091
- resource(id: String!): Resource
4092
-
4093
- """To fetch multiple Resources"""
4094
- resources(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): ResourceList!
4095
-
4096
4170
  """To fetch role"""
4097
4171
  role(name: String!): Role!
4098
4172
 
@@ -4181,6 +4255,12 @@ type Query {
4181
4255
  """To fetch multiple users"""
4182
4256
  users(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): UserList!
4183
4257
  vendors: [Domain!]!
4258
+
4259
+ """To fetch a WorkerType"""
4260
+ workerType(id: String!): WorkerType
4261
+
4262
+ """To fetch multiple WorkerTypes"""
4263
+ workerTypes(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): WorkerTypeList!
4184
4264
  }
4185
4265
 
4186
4266
  type RecipientItem {
@@ -4189,31 +4269,6 @@ type RecipientItem {
4189
4269
  value: String
4190
4270
  }
4191
4271
 
4192
- """리소스 관리 (작업자)"""
4193
- type Resource {
4194
- createdAt: DateTimeISO
4195
- creator: User
4196
- deletedAt: DateTimeISO
4197
- id: ID!
4198
- name: String
4199
- thumbnail: String!
4200
- updatedAt: DateTimeISO
4201
- updater: User
4202
- }
4203
-
4204
- type ResourceList {
4205
- items: [Resource!]!
4206
- total: Int!
4207
- }
4208
-
4209
- input ResourcePatch {
4210
- active: Boolean
4211
- cuFlag: String
4212
- description: String
4213
- id: ID
4214
- name: String
4215
- }
4216
-
4217
4272
  type Role {
4218
4273
  createdAt: DateTimeISO
4219
4274
  creator: User
@@ -4399,36 +4454,113 @@ input Sorting {
4399
4454
 
4400
4455
  """Entity for StateRegister"""
4401
4456
  type StateRegister {
4457
+ """Creation time of the state register"""
4402
4458
  createdAt: DateTimeISO
4459
+
4460
+ """User who created the state register"""
4403
4461
  creator: User
4462
+
4463
+ """ID of the user who created the state register"""
4464
+ creatorId: String
4465
+
4466
+ """Description of the state register"""
4404
4467
  description: String
4468
+
4469
+ """Associated domain for the state register"""
4405
4470
  domain: Domain!
4471
+
4472
+ """ID of the associated domain"""
4473
+ domainId: String!
4474
+
4475
+ """Group name for the state register"""
4476
+ group: String
4406
4477
  id: ID!
4478
+
4479
+ """Name of the state register"""
4407
4480
  name: String
4481
+
4482
+ """Number of decimal places if the state is a number type"""
4483
+ place: String
4484
+
4485
+ """
4486
+ Reference to an external entity or data, used as a flexible foreign key
4487
+ """
4408
4488
  refBy: String
4489
+
4490
+ """Current state value"""
4409
4491
  state: Object
4492
+
4493
+ """Time to live for the state value in seconds"""
4410
4494
  ttl: Int
4495
+
4496
+ """Type of the state"""
4411
4497
  type: String
4498
+
4499
+ """Unit of the state value"""
4500
+ unit: String
4501
+
4502
+ """Last update time of the state register"""
4412
4503
  updatedAt: DateTimeISO
4504
+
4505
+ """User who last updated the state register"""
4413
4506
  updater: User
4507
+
4508
+ """ID of the user who last updated the state register"""
4509
+ updaterId: String
4510
+
4511
+ """User who wrote the state"""
4414
4512
  writer: User
4513
+
4514
+ """ID of the user who wrote the state"""
4515
+ writerId: String
4516
+
4517
+ """Time when the state was recorded"""
4415
4518
  wroteAt: DateTimeISO
4416
4519
  }
4417
4520
 
4418
4521
  type StateRegisterList {
4522
+ """List of state registers"""
4419
4523
  items: [StateRegister!]!
4524
+
4525
+ """Total number of state registers"""
4420
4526
  total: Int!
4421
4527
  }
4422
4528
 
4423
4529
  input StateRegisterPatch {
4530
+ """Flag indicating create/update operations"""
4424
4531
  cuFlag: String
4532
+
4533
+ """Description of the state register"""
4425
4534
  description: String
4535
+
4536
+ """Group name for the state register"""
4537
+ group: String
4538
+
4539
+ """ID of the state register"""
4426
4540
  id: ID
4541
+
4542
+ """Name of the state register"""
4427
4543
  name: String
4544
+
4545
+ """Number of decimal places if the state is a number type"""
4546
+ place: String
4547
+
4548
+ """
4549
+ Reference to an external entity or data, used as a flexible foreign key
4550
+ """
4428
4551
  refBy: String
4552
+
4553
+ """Current state value"""
4429
4554
  state: Object
4555
+
4556
+ """Time to live for the state value in seconds"""
4430
4557
  ttl: Int
4558
+
4559
+ """Type of the state"""
4431
4560
  type: String
4561
+
4562
+ """Unit of the state value"""
4563
+ unit: String
4432
4564
  }
4433
4565
 
4434
4566
  type Step {
@@ -4680,6 +4812,31 @@ type UsersAuthProviders {
4680
4812
  user: User
4681
4813
  }
4682
4814
 
4815
+ """작업자 타입"""
4816
+ type WorkerType {
4817
+ createdAt: DateTimeISO
4818
+ creator: User
4819
+ deletedAt: DateTimeISO
4820
+ description: String
4821
+ domain: Domain
4822
+ id: ID!
4823
+ name: String!
4824
+ updatedAt: DateTimeISO
4825
+ updater: User
4826
+ }
4827
+
4828
+ type WorkerTypeList {
4829
+ items: [WorkerType!]!
4830
+ total: Int!
4831
+ }
4832
+
4833
+ input WorkerTypePatch {
4834
+ cuFlag: String!
4835
+ description: String
4836
+ id: ID
4837
+ name: String
4838
+ }
4839
+
4683
4840
  input i18nCompletionInput {
4684
4841
  json: String!
4685
4842
  }
@@ -53,7 +53,6 @@
53
53
 
54
54
  <!-- Performance tip: hint to the browser to start the handshake for the fonts site -->
55
55
  <link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin />
56
- <link href="/node_modules/@material-design-icons/font/index.css" rel="stylesheet" />
57
56
  <link href="/node_modules/material-symbols/index.css" rel="stylesheet" />
58
57
  <link href="/node_modules/@fontsource/roboto/index.css" rel="stylesheet" />
59
58
  <link rel="stylesheet" href="/theme.css" />
@@ -51,7 +51,6 @@
51
51
 
52
52
  <!-- Performance tip: hint to the browser to start the handshake for the fonts site -->
53
53
  <link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin />
54
- <link href="/node_modules/@material-design-icons/font/index.css" rel="stylesheet" />
55
54
  <link href="/node_modules/material-symbols/index.css" rel="stylesheet" />
56
55
  <link href="/node_modules/@fontsource/roboto/index.css" rel="stylesheet" />
57
56
  <link rel="stylesheet" href="/theme.css" />