@dssp/dcsp 1.0.0-alpha.24 → 1.0.0-alpha.26

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 +4 -4
  2. package/schema.graphql +193 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dssp/dcsp",
3
- "version": "1.0.0-alpha.24",
3
+ "version": "1.0.0-alpha.26",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -40,8 +40,8 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@dssp/building-complex": "^1.0.0-alpha.22",
43
- "@dssp/project": "^1.0.0-alpha.24",
44
- "@dssp/supervision": "^1.0.0-alpha.24",
43
+ "@dssp/project": "^1.0.0-alpha.26",
44
+ "@dssp/supervision": "^1.0.0-alpha.26",
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": "a4cf73b69e4a1fa69e80a15fc7333d8323624854"
96
+ "gitHead": "5ad22d903bccd894178ff4ffb9fb2e32df6be31d"
97
97
  }
package/schema.graphql CHANGED
@@ -499,6 +499,7 @@ enum AttributeSetItemType {
499
499
  datetime
500
500
  file
501
501
  number
502
+ secret
502
503
  select
503
504
  text
504
505
  }
@@ -1036,7 +1037,7 @@ input BuildingComplexPatch {
1036
1037
  }
1037
1038
 
1038
1039
  type BuildingInspection {
1039
- attatchments: [Attachment!]!
1040
+ attachments: [Attachment!]!
1040
1041
  buildingInspectionSummary: BuildingInspectionSummary!
1041
1042
  buildingLevel: BuildingLevel
1042
1043
  cellX: Float
@@ -1048,6 +1049,7 @@ type BuildingInspection {
1048
1049
  drawingMarker: String
1049
1050
  id: ID!
1050
1051
  manager: ProjectManagerOutput
1052
+ memo: String
1051
1053
  projectType: String
1052
1054
  requestDate: String
1053
1055
  status: String
@@ -1168,8 +1170,15 @@ type Checklist {
1168
1170
  id: ID!
1169
1171
  inspectionDrawingType: String
1170
1172
  inspectionParts: [String!]
1173
+ inspectionRequestDocumentNo: String
1174
+ inspectionRequestMemo: String
1175
+ inspectionResultDocumentNo: String
1176
+ inspectionResultMemo: String
1177
+ inspectionResultStatus: String
1178
+ inspectionResultType: String
1171
1179
  location: String
1172
1180
  name: String
1181
+ nameListAttachment: Attachment
1173
1182
 
1174
1183
  """총괄 시공 책임자"""
1175
1184
  overallConstructor: User
@@ -1204,7 +1213,7 @@ input ChecklistInputType {
1204
1213
  type ChecklistItem {
1205
1214
  checklist: Checklist
1206
1215
  checklistItemAttachmentCount: Float!
1207
- checklistItemAttachments: [Attachment!]!
1216
+ checklistItemAttachments(description: String): [Attachment!]!
1208
1217
  checklistItemCommentCount: Float!
1209
1218
  checklistItemComments: [ChecklistItemComment!]!
1210
1219
  constructionConfirmStatus: String
@@ -1263,6 +1272,10 @@ type ChecklistList {
1263
1272
 
1264
1273
  input ChecklistSubmitInputType {
1265
1274
  id: String!
1275
+ inspectionRequestMemo: String
1276
+ inspectionResultMemo: String
1277
+ inspectionResultStatus: String
1278
+ inspectionResultType: String
1266
1279
  overallConstructorSignature: String
1267
1280
  overallSupervisorySignature: String
1268
1281
  taskConstructorSignature: String
@@ -1414,9 +1427,7 @@ input CommonCodePatch {
1414
1427
 
1415
1428
  """Represents a configured connection to an external system or service."""
1416
1429
  type Connection {
1417
- """
1418
- Indicates whether the connection is currently active and should be maintained.
1419
- """
1430
+ """Whether to automatically connect when the application starts"""
1420
1431
  active: Boolean
1421
1432
 
1422
1433
  """The timestamp when the connection was created."""
@@ -1443,6 +1454,11 @@ type Connection {
1443
1454
  """The name of the connection."""
1444
1455
  name: String!
1445
1456
 
1457
+ """
1458
+ When true, connection is created on-demand when needed and cleaned up after use.
1459
+ """
1460
+ onDemand: Boolean
1461
+
1446
1462
  """A key-value map of parameters for the connection."""
1447
1463
  params: Object
1448
1464
 
@@ -1470,7 +1486,7 @@ type ConnectionList {
1470
1486
 
1471
1487
  """Input for updating (patching) an existing connection."""
1472
1488
  input ConnectionPatch {
1473
- """The new active status for the connection."""
1489
+ """Whether to automatically connect when the application starts"""
1474
1490
  active: Boolean
1475
1491
 
1476
1492
  """
@@ -1493,6 +1509,11 @@ input ConnectionPatch {
1493
1509
  """The new name for the connection."""
1494
1510
  name: String
1495
1511
 
1512
+ """
1513
+ When true, connection is created on-demand when needed and cleaned up after use.
1514
+ """
1515
+ onDemand: Boolean
1516
+
1496
1517
  """The new parameters for the connection."""
1497
1518
  params: Object
1498
1519
 
@@ -1517,6 +1538,11 @@ type ConnectionState {
1517
1538
  """The name of the connection."""
1518
1539
  name: String
1519
1540
 
1541
+ """
1542
+ When true, connection is created on-demand when needed and cleaned up after use.
1543
+ """
1544
+ onDemand: Boolean
1545
+
1520
1546
  """The current status of the connection."""
1521
1547
  state: String
1522
1548
 
@@ -1770,6 +1796,9 @@ type Domain {
1770
1796
  """A description of the domain."""
1771
1797
  description: String
1772
1798
 
1799
+ """The environment variables associated with the domain."""
1800
+ envVars: [EnvVar!]
1801
+
1773
1802
  """The external type of the domain, if applicable."""
1774
1803
  extType: String
1775
1804
 
@@ -2215,6 +2244,68 @@ type EntityRelationMetadata {
2215
2244
  relationType: Boolean
2216
2245
  }
2217
2246
 
2247
+ """Environment variable entity for storing key-value pairs."""
2248
+ type EnvVar {
2249
+ """Indicates whether this environment variable is currently active."""
2250
+ active: Boolean!
2251
+
2252
+ """The timestamp when the environment variable was created."""
2253
+ createdAt: DateTimeISO
2254
+
2255
+ """A detailed description of the environment variable."""
2256
+ description: String
2257
+
2258
+ """The domain to which this environment variable belongs."""
2259
+ domain: Domain
2260
+
2261
+ """The domain ID to which this environment variable belongs."""
2262
+ domainId: String!
2263
+
2264
+ """Unique identifier for the environment variable."""
2265
+ id: ID!
2266
+
2267
+ """The name of the environment variable."""
2268
+ name: String!
2269
+
2270
+ """The timestamp when the environment variable was last updated."""
2271
+ updatedAt: DateTimeISO
2272
+
2273
+ """The value of the environment variable (encrypted)."""
2274
+ value: String
2275
+ }
2276
+
2277
+ """List of environment variables."""
2278
+ type EnvVarList {
2279
+ """The list of environment variable items."""
2280
+ items: [EnvVar!]!
2281
+
2282
+ """The total number of environment variables."""
2283
+ total: Int!
2284
+ }
2285
+
2286
+ """Input type for updating an existing environment variable."""
2287
+ input EnvVarPatch {
2288
+ """The new active status for the environment variable."""
2289
+ active: Boolean
2290
+
2291
+ """
2292
+ A flag indicating whether the environment variable is being created, updated, or deleted.
2293
+ """
2294
+ cuFlag: String
2295
+
2296
+ """The new description for the environment variable."""
2297
+ description: String
2298
+
2299
+ """The unique identifier of the environment variable to update."""
2300
+ id: ID
2301
+
2302
+ """The new name for the environment variable."""
2303
+ name: String
2304
+
2305
+ """The new value for the environment variable."""
2306
+ value: String
2307
+ }
2308
+
2218
2309
  """Entity for Favorite"""
2219
2310
  type Favorite {
2220
2311
  createdAt: DateTimeISO
@@ -3072,6 +3163,9 @@ type Mutation {
3072
3163
  """To create new EntityColumn"""
3073
3164
  createEntityColumn(entityColumn: NewEntityColumn!): EntityColumn!
3074
3165
 
3166
+ """To create new EnvVar"""
3167
+ createEnvVar(envVar: NewEnvVar!): EnvVar!
3168
+
3075
3169
  """To create new Favorite"""
3076
3170
  createFavorite(favorite: NewFavorite!): Favorite!
3077
3171
 
@@ -3353,6 +3447,12 @@ type Mutation {
3353
3447
  """To delete multiple EntityColumns"""
3354
3448
  deleteEntityColumns(ids: [String!]!): Boolean!
3355
3449
 
3450
+ """To delete EnvVar"""
3451
+ deleteEnvVar(id: String!): Boolean!
3452
+
3453
+ """To delete multiple EnvVars"""
3454
+ deleteEnvVars(ids: [String!]!): Boolean!
3455
+
3356
3456
  """To delete Favorite"""
3357
3457
  deleteFavorite(routing: String!): Boolean!
3358
3458
 
@@ -3770,7 +3870,7 @@ type Mutation {
3770
3870
  singleUpload(file: Upload!): Attachment!
3771
3871
 
3772
3872
  """Starts a new scenario instance, which will run in the background."""
3773
- startScenario(instanceName: String, scenarioName: String!, variables: Object): ScenarioInstance!
3873
+ startScenario(instanceName: String, scenarioName: String!, variables: Object): ScenarioInstanceStartResult!
3774
3874
 
3775
3875
  """Starts the schedule for a specific scenario, if one is defined."""
3776
3876
  startScenarioSchedule(scenarioId: String!): Scenario!
@@ -3836,7 +3936,7 @@ type Mutation {
3836
3936
  updateBuildingComplex(id: String!, patch: BuildingComplexPatch!): BuildingComplex!
3837
3937
 
3838
3938
  """To update Building Inspection information"""
3839
- updateBuildingInspection(patch: UpdateBuildingInspectionDrawingMarker!): BuildingInspection!
3939
+ updateBuildingInspection(patch: UpdateBuildingInspection!): BuildingInspection!
3840
3940
 
3841
3941
  """To create Building Inspection And Checklist information"""
3842
3942
  updateBuildingInspectionChecklist(buildingInspection: UpdateBuildingInspectionSubmitType!): Boolean!
@@ -3879,6 +3979,9 @@ type Mutation {
3879
3979
  """To modify EntityColumn information"""
3880
3980
  updateEntityColumn(id: String!, patch: EntityColumnPatch!): EntityColumn!
3881
3981
 
3982
+ """To modify EnvVar information"""
3983
+ updateEnvVar(envVar: EnvVarPatch!, id: String!): EnvVar!
3984
+
3882
3985
  """To modify Font information"""
3883
3986
  updateFont(id: String!, patch: FontPatch!): Font!
3884
3987
 
@@ -3971,6 +4074,9 @@ type Mutation {
3971
4074
  """To modify multiple Entitys' information"""
3972
4075
  updateMultipleEntityColumn(patches: [EntityColumnPatch!]!): [EntityColumn!]!
3973
4076
 
4077
+ """To modify multiple EnvVars' information"""
4078
+ updateMultipleEnvVars(patches: [EnvVarPatch!]!): [EnvVar!]!
4079
+
3974
4080
  """To modify multiple InspectionDrawingTypes' information"""
3975
4081
  updateMultipleInspectionDrawingType(patches: [InspectionDrawingTypePatch!]!): [InspectionDrawingType!]!
3976
4082
 
@@ -4359,6 +4465,9 @@ input NewCommonCodeDetail {
4359
4465
 
4360
4466
  """Input for creating a new connection."""
4361
4467
  input NewConnection {
4468
+ """Whether to automatically connect when the application starts"""
4469
+ active: Boolean
4470
+
4362
4471
  """A detailed description for the new connection."""
4363
4472
  description: String
4364
4473
 
@@ -4371,6 +4480,11 @@ input NewConnection {
4371
4480
  """The name for the new connection."""
4372
4481
  name: String!
4373
4482
 
4483
+ """
4484
+ When true, connection is created on-demand when needed and cleaned up after use.
4485
+ """
4486
+ onDemand: Boolean
4487
+
4374
4488
  """A key-value map of parameters for the new connection."""
4375
4489
  params: Object
4376
4490
 
@@ -4494,6 +4608,21 @@ input NewEntityColumn {
4494
4608
  virtualField: Boolean
4495
4609
  }
4496
4610
 
4611
+ """Input type for creating a new environment variable."""
4612
+ input NewEnvVar {
4613
+ """Indicates whether this environment variable is active."""
4614
+ active: Boolean
4615
+
4616
+ """A detailed description for the new environment variable."""
4617
+ description: String
4618
+
4619
+ """The name for the new environment variable."""
4620
+ name: String!
4621
+
4622
+ """The value for the new environment variable."""
4623
+ value: String
4624
+ }
4625
+
4497
4626
  input NewFavorite {
4498
4627
  routing: String!
4499
4628
  }
@@ -4826,6 +4955,9 @@ input NewScenario {
4826
4955
  """A detailed description for the new scenario."""
4827
4956
  description: String
4828
4957
 
4958
+ """Iteration for scenario execution: SELF, CHILDREN, or SELF & CHILDREN."""
4959
+ iteration: String
4960
+
4829
4961
  """The name of the new scenario."""
4830
4962
  name: String!
4831
4963
 
@@ -5733,6 +5865,7 @@ type Project {
5733
5865
  createdAt: DateTimeISO
5734
5866
  creator: User
5735
5867
  deletedAt: DateTimeISO
5868
+ documentNaming: String
5736
5869
  domain: Domain
5737
5870
  endDate: String
5738
5871
  id: ID!
@@ -5776,6 +5909,9 @@ input ProjectPatch {
5776
5909
  """연관된 건물 복합체 정보 (선택 사항)"""
5777
5910
  buildingComplex: BuildingComplexPatch
5778
5911
 
5912
+ """프로젝트 문서 네이밍"""
5913
+ documentNaming: String
5914
+
5779
5915
  """프로젝트 준공일정"""
5780
5916
  endDate: String
5781
5917
 
@@ -5875,8 +6011,15 @@ type PropertySpec {
5875
6011
  """CSS styles to be applied to the input field."""
5876
6012
  styles: Object
5877
6013
 
5878
- """The data type of the property (e.g., text, number, boolean, select)."""
6014
+ """
6015
+ The data type of the property (e.g., text, number, boolean, select, password).
6016
+ """
5879
6017
  type: String!
6018
+
6019
+ """
6020
+ Whether this property should use Domain attributes for secure storage instead of direct params.
6021
+ """
6022
+ useDomainAttribute: Boolean
5880
6023
  }
5881
6024
 
5882
6025
  type Query {
@@ -6573,6 +6716,20 @@ type Query {
6573
6716
 
6574
6717
  """To fetch a EntityMetadata"""
6575
6718
  entityMetadata(name: String!): EntityMetadata!
6719
+ envVar(id: String!): EnvVar
6720
+ envVars(
6721
+ """An array of filter conditions to apply to the list query."""
6722
+ filters: [Filter!]
6723
+
6724
+ """Inherited value type for the list query."""
6725
+ inherited: InheritedValueType
6726
+
6727
+ """Pagination options for the list query."""
6728
+ pagination: Pagination
6729
+
6730
+ """Sorting options for the list query."""
6731
+ sortings: [Sorting!]
6732
+ ): EnvVarList!
6576
6733
 
6577
6734
  """To fetch a Favorite"""
6578
6735
  favorite(id: String!): Favorite!
@@ -7631,7 +7788,7 @@ type RoomFinishDetail {
7631
7788
  """Represents a sequence of steps designed to automate a task or process."""
7632
7789
  type Scenario {
7633
7790
  """
7634
- Indicates if the scenario should be automatically started when the server starts. [will be deprecated]
7791
+ Indicates if the scenario should be automatically started when the server starts.
7635
7792
  """
7636
7793
  active: Boolean
7637
7794
  connectionNames: [Connection!]!
@@ -7652,6 +7809,9 @@ type Scenario {
7652
7809
  id: ID!
7653
7810
  instances: [ScenarioInstance!]
7654
7811
 
7812
+ """Iteration for scenario execution: SELF, CHILDREN, or SELF & CHILDREN."""
7813
+ iteration: String
7814
+
7655
7815
  """The name of the scenario."""
7656
7816
  name: String!
7657
7817
 
@@ -7781,6 +7941,18 @@ type ScenarioInstanceRunResult {
7781
7941
  variables: Object
7782
7942
  }
7783
7943
 
7944
+ """Contains the final result of a completed scenario instance start."""
7945
+ type ScenarioInstanceStartResult {
7946
+ """A final message from the run (e.g., success or failure reason)."""
7947
+ message: String
7948
+
7949
+ """The final state of the instance after the run."""
7950
+ state: String
7951
+
7952
+ """The timestamp when the instance started."""
7953
+ timestamp: DateTimeISO
7954
+ }
7955
+
7784
7956
  """
7785
7957
  Represents the complete state of a scenario instance at a point in time.
7786
7958
  """
@@ -7833,7 +8005,9 @@ type ScenarioList {
7833
8005
 
7834
8006
  """Input for updating (patching) an existing scenario."""
7835
8007
  input ScenarioPatch {
7836
- """The new active status for the scenario."""
8008
+ """
8009
+ Indicates if the scenario should be automatically started when the server starts.
8010
+ """
7837
8011
  active: Boolean
7838
8012
 
7839
8013
  """
@@ -7847,6 +8021,11 @@ input ScenarioPatch {
7847
8021
  """The unique identifier of the scenario to update."""
7848
8022
  id: ID
7849
8023
 
8024
+ """
8025
+ The new iteration for scenario execution: SELF, CHILDREN, or SELF & CHILDREN.
8026
+ """
8027
+ iteration: String
8028
+
7850
8029
  """The new name for the scenario."""
7851
8030
  name: String
7852
8031
 
@@ -8474,15 +8653,17 @@ input ThemePatch {
8474
8653
  value: Object
8475
8654
  }
8476
8655
 
8477
- input UpdateBuildingInspectionDrawingMarker {
8656
+ input UpdateBuildingInspection {
8478
8657
  drawingMarker: String
8479
8658
  id: String!
8659
+ memo: String
8480
8660
  }
8481
8661
 
8482
8662
  input UpdateBuildingInspectionSubmitType {
8483
8663
  checklist: ChecklistSubmitInputType!
8484
8664
  checklistItem: [ChecklistItemSubmitInputType!]!
8485
8665
  id: String!
8666
+ memo: String
8486
8667
  }
8487
8668
 
8488
8669
  input UpdateTaskChecklistSubmitType {