@dssp/dcsp 1.0.0-alpha.24 → 1.0.0-alpha.25
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/package.json +4 -4
- package/schema.graphql +178 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dssp/dcsp",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.25",
|
|
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.
|
|
44
|
-
"@dssp/supervision": "^1.0.0-alpha.
|
|
43
|
+
"@dssp/project": "^1.0.0-alpha.25",
|
|
44
|
+
"@dssp/supervision": "^1.0.0-alpha.25",
|
|
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": "
|
|
96
|
+
"gitHead": "41861a4cd00726e417d50e5e93279db42224cca9"
|
|
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
|
-
|
|
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
|
|
@@ -1204,7 +1206,7 @@ input ChecklistInputType {
|
|
|
1204
1206
|
type ChecklistItem {
|
|
1205
1207
|
checklist: Checklist
|
|
1206
1208
|
checklistItemAttachmentCount: Float!
|
|
1207
|
-
checklistItemAttachments: [Attachment!]!
|
|
1209
|
+
checklistItemAttachments(description: String): [Attachment!]!
|
|
1208
1210
|
checklistItemCommentCount: Float!
|
|
1209
1211
|
checklistItemComments: [ChecklistItemComment!]!
|
|
1210
1212
|
constructionConfirmStatus: String
|
|
@@ -1414,9 +1416,7 @@ input CommonCodePatch {
|
|
|
1414
1416
|
|
|
1415
1417
|
"""Represents a configured connection to an external system or service."""
|
|
1416
1418
|
type Connection {
|
|
1417
|
-
"""
|
|
1418
|
-
Indicates whether the connection is currently active and should be maintained.
|
|
1419
|
-
"""
|
|
1419
|
+
"""Whether to automatically connect when the application starts"""
|
|
1420
1420
|
active: Boolean
|
|
1421
1421
|
|
|
1422
1422
|
"""The timestamp when the connection was created."""
|
|
@@ -1443,6 +1443,11 @@ type Connection {
|
|
|
1443
1443
|
"""The name of the connection."""
|
|
1444
1444
|
name: String!
|
|
1445
1445
|
|
|
1446
|
+
"""
|
|
1447
|
+
When true, connection is created on-demand when needed and cleaned up after use.
|
|
1448
|
+
"""
|
|
1449
|
+
onDemand: Boolean
|
|
1450
|
+
|
|
1446
1451
|
"""A key-value map of parameters for the connection."""
|
|
1447
1452
|
params: Object
|
|
1448
1453
|
|
|
@@ -1470,7 +1475,7 @@ type ConnectionList {
|
|
|
1470
1475
|
|
|
1471
1476
|
"""Input for updating (patching) an existing connection."""
|
|
1472
1477
|
input ConnectionPatch {
|
|
1473
|
-
"""
|
|
1478
|
+
"""Whether to automatically connect when the application starts"""
|
|
1474
1479
|
active: Boolean
|
|
1475
1480
|
|
|
1476
1481
|
"""
|
|
@@ -1493,6 +1498,11 @@ input ConnectionPatch {
|
|
|
1493
1498
|
"""The new name for the connection."""
|
|
1494
1499
|
name: String
|
|
1495
1500
|
|
|
1501
|
+
"""
|
|
1502
|
+
When true, connection is created on-demand when needed and cleaned up after use.
|
|
1503
|
+
"""
|
|
1504
|
+
onDemand: Boolean
|
|
1505
|
+
|
|
1496
1506
|
"""The new parameters for the connection."""
|
|
1497
1507
|
params: Object
|
|
1498
1508
|
|
|
@@ -1517,6 +1527,11 @@ type ConnectionState {
|
|
|
1517
1527
|
"""The name of the connection."""
|
|
1518
1528
|
name: String
|
|
1519
1529
|
|
|
1530
|
+
"""
|
|
1531
|
+
When true, connection is created on-demand when needed and cleaned up after use.
|
|
1532
|
+
"""
|
|
1533
|
+
onDemand: Boolean
|
|
1534
|
+
|
|
1520
1535
|
"""The current status of the connection."""
|
|
1521
1536
|
state: String
|
|
1522
1537
|
|
|
@@ -1770,6 +1785,9 @@ type Domain {
|
|
|
1770
1785
|
"""A description of the domain."""
|
|
1771
1786
|
description: String
|
|
1772
1787
|
|
|
1788
|
+
"""The environment variables associated with the domain."""
|
|
1789
|
+
envVars: [EnvVar!]
|
|
1790
|
+
|
|
1773
1791
|
"""The external type of the domain, if applicable."""
|
|
1774
1792
|
extType: String
|
|
1775
1793
|
|
|
@@ -2215,6 +2233,68 @@ type EntityRelationMetadata {
|
|
|
2215
2233
|
relationType: Boolean
|
|
2216
2234
|
}
|
|
2217
2235
|
|
|
2236
|
+
"""Environment variable entity for storing key-value pairs."""
|
|
2237
|
+
type EnvVar {
|
|
2238
|
+
"""Indicates whether this environment variable is currently active."""
|
|
2239
|
+
active: Boolean!
|
|
2240
|
+
|
|
2241
|
+
"""The timestamp when the environment variable was created."""
|
|
2242
|
+
createdAt: DateTimeISO
|
|
2243
|
+
|
|
2244
|
+
"""A detailed description of the environment variable."""
|
|
2245
|
+
description: String
|
|
2246
|
+
|
|
2247
|
+
"""The domain to which this environment variable belongs."""
|
|
2248
|
+
domain: Domain
|
|
2249
|
+
|
|
2250
|
+
"""The domain ID to which this environment variable belongs."""
|
|
2251
|
+
domainId: String!
|
|
2252
|
+
|
|
2253
|
+
"""Unique identifier for the environment variable."""
|
|
2254
|
+
id: ID!
|
|
2255
|
+
|
|
2256
|
+
"""The name of the environment variable."""
|
|
2257
|
+
name: String!
|
|
2258
|
+
|
|
2259
|
+
"""The timestamp when the environment variable was last updated."""
|
|
2260
|
+
updatedAt: DateTimeISO
|
|
2261
|
+
|
|
2262
|
+
"""The value of the environment variable (encrypted)."""
|
|
2263
|
+
value: String
|
|
2264
|
+
}
|
|
2265
|
+
|
|
2266
|
+
"""List of environment variables."""
|
|
2267
|
+
type EnvVarList {
|
|
2268
|
+
"""The list of environment variable items."""
|
|
2269
|
+
items: [EnvVar!]!
|
|
2270
|
+
|
|
2271
|
+
"""The total number of environment variables."""
|
|
2272
|
+
total: Int!
|
|
2273
|
+
}
|
|
2274
|
+
|
|
2275
|
+
"""Input type for updating an existing environment variable."""
|
|
2276
|
+
input EnvVarPatch {
|
|
2277
|
+
"""The new active status for the environment variable."""
|
|
2278
|
+
active: Boolean
|
|
2279
|
+
|
|
2280
|
+
"""
|
|
2281
|
+
A flag indicating whether the environment variable is being created, updated, or deleted.
|
|
2282
|
+
"""
|
|
2283
|
+
cuFlag: String
|
|
2284
|
+
|
|
2285
|
+
"""The new description for the environment variable."""
|
|
2286
|
+
description: String
|
|
2287
|
+
|
|
2288
|
+
"""The unique identifier of the environment variable to update."""
|
|
2289
|
+
id: ID
|
|
2290
|
+
|
|
2291
|
+
"""The new name for the environment variable."""
|
|
2292
|
+
name: String
|
|
2293
|
+
|
|
2294
|
+
"""The new value for the environment variable."""
|
|
2295
|
+
value: String
|
|
2296
|
+
}
|
|
2297
|
+
|
|
2218
2298
|
"""Entity for Favorite"""
|
|
2219
2299
|
type Favorite {
|
|
2220
2300
|
createdAt: DateTimeISO
|
|
@@ -3072,6 +3152,9 @@ type Mutation {
|
|
|
3072
3152
|
"""To create new EntityColumn"""
|
|
3073
3153
|
createEntityColumn(entityColumn: NewEntityColumn!): EntityColumn!
|
|
3074
3154
|
|
|
3155
|
+
"""To create new EnvVar"""
|
|
3156
|
+
createEnvVar(envVar: NewEnvVar!): EnvVar!
|
|
3157
|
+
|
|
3075
3158
|
"""To create new Favorite"""
|
|
3076
3159
|
createFavorite(favorite: NewFavorite!): Favorite!
|
|
3077
3160
|
|
|
@@ -3353,6 +3436,12 @@ type Mutation {
|
|
|
3353
3436
|
"""To delete multiple EntityColumns"""
|
|
3354
3437
|
deleteEntityColumns(ids: [String!]!): Boolean!
|
|
3355
3438
|
|
|
3439
|
+
"""To delete EnvVar"""
|
|
3440
|
+
deleteEnvVar(id: String!): Boolean!
|
|
3441
|
+
|
|
3442
|
+
"""To delete multiple EnvVars"""
|
|
3443
|
+
deleteEnvVars(ids: [String!]!): Boolean!
|
|
3444
|
+
|
|
3356
3445
|
"""To delete Favorite"""
|
|
3357
3446
|
deleteFavorite(routing: String!): Boolean!
|
|
3358
3447
|
|
|
@@ -3770,7 +3859,7 @@ type Mutation {
|
|
|
3770
3859
|
singleUpload(file: Upload!): Attachment!
|
|
3771
3860
|
|
|
3772
3861
|
"""Starts a new scenario instance, which will run in the background."""
|
|
3773
|
-
startScenario(instanceName: String, scenarioName: String!, variables: Object):
|
|
3862
|
+
startScenario(instanceName: String, scenarioName: String!, variables: Object): ScenarioInstanceStartResult!
|
|
3774
3863
|
|
|
3775
3864
|
"""Starts the schedule for a specific scenario, if one is defined."""
|
|
3776
3865
|
startScenarioSchedule(scenarioId: String!): Scenario!
|
|
@@ -3836,7 +3925,7 @@ type Mutation {
|
|
|
3836
3925
|
updateBuildingComplex(id: String!, patch: BuildingComplexPatch!): BuildingComplex!
|
|
3837
3926
|
|
|
3838
3927
|
"""To update Building Inspection information"""
|
|
3839
|
-
updateBuildingInspection(patch:
|
|
3928
|
+
updateBuildingInspection(patch: UpdateBuildingInspection!): BuildingInspection!
|
|
3840
3929
|
|
|
3841
3930
|
"""To create Building Inspection And Checklist information"""
|
|
3842
3931
|
updateBuildingInspectionChecklist(buildingInspection: UpdateBuildingInspectionSubmitType!): Boolean!
|
|
@@ -3879,6 +3968,9 @@ type Mutation {
|
|
|
3879
3968
|
"""To modify EntityColumn information"""
|
|
3880
3969
|
updateEntityColumn(id: String!, patch: EntityColumnPatch!): EntityColumn!
|
|
3881
3970
|
|
|
3971
|
+
"""To modify EnvVar information"""
|
|
3972
|
+
updateEnvVar(envVar: EnvVarPatch!, id: String!): EnvVar!
|
|
3973
|
+
|
|
3882
3974
|
"""To modify Font information"""
|
|
3883
3975
|
updateFont(id: String!, patch: FontPatch!): Font!
|
|
3884
3976
|
|
|
@@ -3971,6 +4063,9 @@ type Mutation {
|
|
|
3971
4063
|
"""To modify multiple Entitys' information"""
|
|
3972
4064
|
updateMultipleEntityColumn(patches: [EntityColumnPatch!]!): [EntityColumn!]!
|
|
3973
4065
|
|
|
4066
|
+
"""To modify multiple EnvVars' information"""
|
|
4067
|
+
updateMultipleEnvVars(patches: [EnvVarPatch!]!): [EnvVar!]!
|
|
4068
|
+
|
|
3974
4069
|
"""To modify multiple InspectionDrawingTypes' information"""
|
|
3975
4070
|
updateMultipleInspectionDrawingType(patches: [InspectionDrawingTypePatch!]!): [InspectionDrawingType!]!
|
|
3976
4071
|
|
|
@@ -4359,6 +4454,9 @@ input NewCommonCodeDetail {
|
|
|
4359
4454
|
|
|
4360
4455
|
"""Input for creating a new connection."""
|
|
4361
4456
|
input NewConnection {
|
|
4457
|
+
"""Whether to automatically connect when the application starts"""
|
|
4458
|
+
active: Boolean
|
|
4459
|
+
|
|
4362
4460
|
"""A detailed description for the new connection."""
|
|
4363
4461
|
description: String
|
|
4364
4462
|
|
|
@@ -4371,6 +4469,11 @@ input NewConnection {
|
|
|
4371
4469
|
"""The name for the new connection."""
|
|
4372
4470
|
name: String!
|
|
4373
4471
|
|
|
4472
|
+
"""
|
|
4473
|
+
When true, connection is created on-demand when needed and cleaned up after use.
|
|
4474
|
+
"""
|
|
4475
|
+
onDemand: Boolean
|
|
4476
|
+
|
|
4374
4477
|
"""A key-value map of parameters for the new connection."""
|
|
4375
4478
|
params: Object
|
|
4376
4479
|
|
|
@@ -4494,6 +4597,21 @@ input NewEntityColumn {
|
|
|
4494
4597
|
virtualField: Boolean
|
|
4495
4598
|
}
|
|
4496
4599
|
|
|
4600
|
+
"""Input type for creating a new environment variable."""
|
|
4601
|
+
input NewEnvVar {
|
|
4602
|
+
"""Indicates whether this environment variable is active."""
|
|
4603
|
+
active: Boolean
|
|
4604
|
+
|
|
4605
|
+
"""A detailed description for the new environment variable."""
|
|
4606
|
+
description: String
|
|
4607
|
+
|
|
4608
|
+
"""The name for the new environment variable."""
|
|
4609
|
+
name: String!
|
|
4610
|
+
|
|
4611
|
+
"""The value for the new environment variable."""
|
|
4612
|
+
value: String
|
|
4613
|
+
}
|
|
4614
|
+
|
|
4497
4615
|
input NewFavorite {
|
|
4498
4616
|
routing: String!
|
|
4499
4617
|
}
|
|
@@ -4826,6 +4944,9 @@ input NewScenario {
|
|
|
4826
4944
|
"""A detailed description for the new scenario."""
|
|
4827
4945
|
description: String
|
|
4828
4946
|
|
|
4947
|
+
"""Iteration for scenario execution: SELF, CHILDREN, or SELF & CHILDREN."""
|
|
4948
|
+
iteration: String
|
|
4949
|
+
|
|
4829
4950
|
"""The name of the new scenario."""
|
|
4830
4951
|
name: String!
|
|
4831
4952
|
|
|
@@ -5875,8 +5996,15 @@ type PropertySpec {
|
|
|
5875
5996
|
"""CSS styles to be applied to the input field."""
|
|
5876
5997
|
styles: Object
|
|
5877
5998
|
|
|
5878
|
-
"""
|
|
5999
|
+
"""
|
|
6000
|
+
The data type of the property (e.g., text, number, boolean, select, password).
|
|
6001
|
+
"""
|
|
5879
6002
|
type: String!
|
|
6003
|
+
|
|
6004
|
+
"""
|
|
6005
|
+
Whether this property should use Domain attributes for secure storage instead of direct params.
|
|
6006
|
+
"""
|
|
6007
|
+
useDomainAttribute: Boolean
|
|
5880
6008
|
}
|
|
5881
6009
|
|
|
5882
6010
|
type Query {
|
|
@@ -6573,6 +6701,20 @@ type Query {
|
|
|
6573
6701
|
|
|
6574
6702
|
"""To fetch a EntityMetadata"""
|
|
6575
6703
|
entityMetadata(name: String!): EntityMetadata!
|
|
6704
|
+
envVar(id: String!): EnvVar
|
|
6705
|
+
envVars(
|
|
6706
|
+
"""An array of filter conditions to apply to the list query."""
|
|
6707
|
+
filters: [Filter!]
|
|
6708
|
+
|
|
6709
|
+
"""Inherited value type for the list query."""
|
|
6710
|
+
inherited: InheritedValueType
|
|
6711
|
+
|
|
6712
|
+
"""Pagination options for the list query."""
|
|
6713
|
+
pagination: Pagination
|
|
6714
|
+
|
|
6715
|
+
"""Sorting options for the list query."""
|
|
6716
|
+
sortings: [Sorting!]
|
|
6717
|
+
): EnvVarList!
|
|
6576
6718
|
|
|
6577
6719
|
"""To fetch a Favorite"""
|
|
6578
6720
|
favorite(id: String!): Favorite!
|
|
@@ -7631,7 +7773,7 @@ type RoomFinishDetail {
|
|
|
7631
7773
|
"""Represents a sequence of steps designed to automate a task or process."""
|
|
7632
7774
|
type Scenario {
|
|
7633
7775
|
"""
|
|
7634
|
-
Indicates if the scenario should be automatically started when the server starts.
|
|
7776
|
+
Indicates if the scenario should be automatically started when the server starts.
|
|
7635
7777
|
"""
|
|
7636
7778
|
active: Boolean
|
|
7637
7779
|
connectionNames: [Connection!]!
|
|
@@ -7652,6 +7794,9 @@ type Scenario {
|
|
|
7652
7794
|
id: ID!
|
|
7653
7795
|
instances: [ScenarioInstance!]
|
|
7654
7796
|
|
|
7797
|
+
"""Iteration for scenario execution: SELF, CHILDREN, or SELF & CHILDREN."""
|
|
7798
|
+
iteration: String
|
|
7799
|
+
|
|
7655
7800
|
"""The name of the scenario."""
|
|
7656
7801
|
name: String!
|
|
7657
7802
|
|
|
@@ -7781,6 +7926,18 @@ type ScenarioInstanceRunResult {
|
|
|
7781
7926
|
variables: Object
|
|
7782
7927
|
}
|
|
7783
7928
|
|
|
7929
|
+
"""Contains the final result of a completed scenario instance start."""
|
|
7930
|
+
type ScenarioInstanceStartResult {
|
|
7931
|
+
"""A final message from the run (e.g., success or failure reason)."""
|
|
7932
|
+
message: String
|
|
7933
|
+
|
|
7934
|
+
"""The final state of the instance after the run."""
|
|
7935
|
+
state: String
|
|
7936
|
+
|
|
7937
|
+
"""The timestamp when the instance started."""
|
|
7938
|
+
timestamp: DateTimeISO
|
|
7939
|
+
}
|
|
7940
|
+
|
|
7784
7941
|
"""
|
|
7785
7942
|
Represents the complete state of a scenario instance at a point in time.
|
|
7786
7943
|
"""
|
|
@@ -7833,7 +7990,9 @@ type ScenarioList {
|
|
|
7833
7990
|
|
|
7834
7991
|
"""Input for updating (patching) an existing scenario."""
|
|
7835
7992
|
input ScenarioPatch {
|
|
7836
|
-
"""
|
|
7993
|
+
"""
|
|
7994
|
+
Indicates if the scenario should be automatically started when the server starts.
|
|
7995
|
+
"""
|
|
7837
7996
|
active: Boolean
|
|
7838
7997
|
|
|
7839
7998
|
"""
|
|
@@ -7847,6 +8006,11 @@ input ScenarioPatch {
|
|
|
7847
8006
|
"""The unique identifier of the scenario to update."""
|
|
7848
8007
|
id: ID
|
|
7849
8008
|
|
|
8009
|
+
"""
|
|
8010
|
+
The new iteration for scenario execution: SELF, CHILDREN, or SELF & CHILDREN.
|
|
8011
|
+
"""
|
|
8012
|
+
iteration: String
|
|
8013
|
+
|
|
7850
8014
|
"""The new name for the scenario."""
|
|
7851
8015
|
name: String
|
|
7852
8016
|
|
|
@@ -8474,15 +8638,17 @@ input ThemePatch {
|
|
|
8474
8638
|
value: Object
|
|
8475
8639
|
}
|
|
8476
8640
|
|
|
8477
|
-
input
|
|
8641
|
+
input UpdateBuildingInspection {
|
|
8478
8642
|
drawingMarker: String
|
|
8479
8643
|
id: String!
|
|
8644
|
+
memo: String
|
|
8480
8645
|
}
|
|
8481
8646
|
|
|
8482
8647
|
input UpdateBuildingInspectionSubmitType {
|
|
8483
8648
|
checklist: ChecklistSubmitInputType!
|
|
8484
8649
|
checklistItem: [ChecklistItemSubmitInputType!]!
|
|
8485
8650
|
id: String!
|
|
8651
|
+
memo: String
|
|
8486
8652
|
}
|
|
8487
8653
|
|
|
8488
8654
|
input UpdateTaskChecklistSubmitType {
|