@things-factory/operato-ecs 8.0.0-alpha.34 → 8.0.0-alpha.35
Sign up to get free protection for your applications and to get access to all the features.
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/package.json +24 -24
- package/schema.graphql +130 -24
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@things-factory/operato-ecs",
|
3
|
-
"version": "8.0.0-alpha.
|
3
|
+
"version": "8.0.0-alpha.35",
|
4
4
|
"main": "dist-server/index.js",
|
5
5
|
"browser": "dist-client/index.js",
|
6
6
|
"things-factory": true,
|
@@ -64,38 +64,38 @@
|
|
64
64
|
"@operato/scene-table": "^8.0.0-alpha",
|
65
65
|
"@operato/scene-timer": "^8.0.0-alpha",
|
66
66
|
"@operato/scene-wellstek-gantt": "^8.0.0-alpha",
|
67
|
-
"@things-factory/api": "^8.0.0-alpha.
|
68
|
-
"@things-factory/apptool-ui": "^8.0.0-alpha.
|
69
|
-
"@things-factory/auth-ui": "^8.0.0-alpha.
|
70
|
-
"@things-factory/board-service": "^8.0.0-alpha.
|
71
|
-
"@things-factory/board-ui": "^8.0.0-alpha.
|
67
|
+
"@things-factory/api": "^8.0.0-alpha.35",
|
68
|
+
"@things-factory/apptool-ui": "^8.0.0-alpha.35",
|
69
|
+
"@things-factory/auth-ui": "^8.0.0-alpha.35",
|
70
|
+
"@things-factory/board-service": "^8.0.0-alpha.35",
|
71
|
+
"@things-factory/board-ui": "^8.0.0-alpha.35",
|
72
72
|
"@things-factory/context-ui": "^8.0.0-alpha.29",
|
73
|
-
"@things-factory/dashboard": "^8.0.0-alpha.
|
73
|
+
"@things-factory/dashboard": "^8.0.0-alpha.35",
|
74
74
|
"@things-factory/evaluation": "^8.0.0-alpha.30",
|
75
75
|
"@things-factory/export-ui": "^8.0.0-alpha.29",
|
76
76
|
"@things-factory/help": "^8.0.0-alpha.29",
|
77
|
-
"@things-factory/i18n-base": "^8.0.0-alpha.
|
78
|
-
"@things-factory/integration-email": "^8.0.0-alpha.
|
79
|
-
"@things-factory/integration-headless": "^8.0.0-alpha.
|
80
|
-
"@things-factory/integration-influxdb": "^8.0.0-alpha.
|
81
|
-
"@things-factory/integration-melsec": "^8.0.0-alpha.
|
82
|
-
"@things-factory/integration-modbus": "^8.0.0-alpha.
|
83
|
-
"@things-factory/integration-opc": "^8.0.0-alpha.
|
84
|
-
"@things-factory/integration-ui": "^8.0.0-alpha.
|
85
|
-
"@things-factory/lite-menu": "^8.0.0-alpha.
|
77
|
+
"@things-factory/i18n-base": "^8.0.0-alpha.35",
|
78
|
+
"@things-factory/integration-email": "^8.0.0-alpha.35",
|
79
|
+
"@things-factory/integration-headless": "^8.0.0-alpha.35",
|
80
|
+
"@things-factory/integration-influxdb": "^8.0.0-alpha.35",
|
81
|
+
"@things-factory/integration-melsec": "^8.0.0-alpha.35",
|
82
|
+
"@things-factory/integration-modbus": "^8.0.0-alpha.35",
|
83
|
+
"@things-factory/integration-opc": "^8.0.0-alpha.35",
|
84
|
+
"@things-factory/integration-ui": "^8.0.0-alpha.35",
|
85
|
+
"@things-factory/lite-menu": "^8.0.0-alpha.35",
|
86
86
|
"@things-factory/more-ui": "^8.0.0-alpha.29",
|
87
|
-
"@things-factory/notification": "^8.0.0-alpha.
|
88
|
-
"@things-factory/oauth2-client": "^8.0.0-alpha.
|
89
|
-
"@things-factory/print-ui": "^8.0.0-alpha.
|
90
|
-
"@things-factory/resource-ui": "^8.0.0-alpha.
|
91
|
-
"@things-factory/scheduler": "^8.0.0-alpha.
|
92
|
-
"@things-factory/setting-base": "^8.0.0-alpha.
|
93
|
-
"@things-factory/setting-ui": "^8.0.0-alpha.
|
87
|
+
"@things-factory/notification": "^8.0.0-alpha.35",
|
88
|
+
"@things-factory/oauth2-client": "^8.0.0-alpha.35",
|
89
|
+
"@things-factory/print-ui": "^8.0.0-alpha.35",
|
90
|
+
"@things-factory/resource-ui": "^8.0.0-alpha.35",
|
91
|
+
"@things-factory/scheduler": "^8.0.0-alpha.35",
|
92
|
+
"@things-factory/setting-base": "^8.0.0-alpha.35",
|
93
|
+
"@things-factory/setting-ui": "^8.0.0-alpha.35",
|
94
94
|
"@things-factory/shell": "^8.0.0-alpha.29",
|
95
95
|
"@things-factory/system": "^8.0.0-alpha.29"
|
96
96
|
},
|
97
97
|
"devDependencies": {
|
98
98
|
"@things-factory/builder": "^8.0.0-alpha.24"
|
99
99
|
},
|
100
|
-
"gitHead": "
|
100
|
+
"gitHead": "94fe243a5c99837a1e6f98de2c454c351ac8e6fd"
|
101
101
|
}
|
package/schema.graphql
CHANGED
@@ -40,6 +40,7 @@ type AppBinding {
|
|
40
40
|
updatedAt: DateTimeISO
|
41
41
|
updater: User!
|
42
42
|
userType: String
|
43
|
+
username: String
|
43
44
|
usersAuthProviders: [UsersAuthProviders!]
|
44
45
|
}
|
45
46
|
|
@@ -201,6 +202,7 @@ type Attachment {
|
|
201
202
|
refBy: String
|
202
203
|
refType: String
|
203
204
|
size: String!
|
205
|
+
tags: Object
|
204
206
|
updatedAt: DateTimeISO!
|
205
207
|
updater: User
|
206
208
|
}
|
@@ -219,6 +221,7 @@ input AttachmentPatch {
|
|
219
221
|
name: String
|
220
222
|
refBy: String
|
221
223
|
refType: String
|
224
|
+
tags: Object
|
222
225
|
}
|
223
226
|
|
224
227
|
"""Entity for AttributeSet"""
|
@@ -757,6 +760,8 @@ type Employee {
|
|
757
760
|
address: String
|
758
761
|
alias: String
|
759
762
|
approvalLines: [ApprovalLine!]!
|
763
|
+
bankAccount: String
|
764
|
+
bankName: String
|
760
765
|
contact: Contact
|
761
766
|
controlNo: String!
|
762
767
|
createdAt: DateTimeISO
|
@@ -765,8 +770,10 @@ type Employee {
|
|
765
770
|
department: Department
|
766
771
|
domain: Domain!
|
767
772
|
email: EmailAddress
|
773
|
+
emergencyContact: String
|
774
|
+
emergencyContactPhone: String
|
768
775
|
extension: String
|
769
|
-
hiredOn:
|
776
|
+
hiredOn: DateTimeISO
|
770
777
|
id: ID!
|
771
778
|
jobPosition: String
|
772
779
|
jobResponsibility: String
|
@@ -776,7 +783,7 @@ type Employee {
|
|
776
783
|
phone: String
|
777
784
|
photo: String
|
778
785
|
profile: Profile
|
779
|
-
|
786
|
+
retiredOn: DateTimeISO
|
780
787
|
supervises: [Employee!]!
|
781
788
|
supervisor: Employee
|
782
789
|
type: String
|
@@ -794,18 +801,22 @@ type EmployeeList {
|
|
794
801
|
input EmployeePatch {
|
795
802
|
active: Boolean
|
796
803
|
alias: String
|
804
|
+
bankAccount: String
|
805
|
+
bankName: String
|
797
806
|
contact: ObjectRefForContact
|
798
807
|
controlNo: String
|
799
808
|
cuFlag: String
|
800
809
|
department: ObjectRefForDepartment
|
801
|
-
|
810
|
+
emergencyContact: String
|
811
|
+
emergencyContactPhone: String
|
812
|
+
hiredOn: DateTimeISO
|
802
813
|
id: ID
|
803
814
|
jobPosition: String
|
804
815
|
jobResponsibility: String
|
805
816
|
name: String
|
806
817
|
note: String
|
807
818
|
photo: Upload
|
808
|
-
|
819
|
+
retiredOn: DateTimeISO
|
809
820
|
supervisor: ObjectRefForEmployee
|
810
821
|
type: EmployeeType
|
811
822
|
user: ObjectRefForUser
|
@@ -1125,18 +1136,23 @@ type LiteMenu {
|
|
1125
1136
|
active: Boolean
|
1126
1137
|
appName: String
|
1127
1138
|
board: Board
|
1139
|
+
|
1140
|
+
"""Settings for help contents"""
|
1128
1141
|
createdAt: DateTimeISO
|
1129
1142
|
creator: User
|
1130
1143
|
description: String
|
1131
1144
|
domain: Domain!
|
1145
|
+
help: String
|
1132
1146
|
icon: String
|
1133
1147
|
id: ID!
|
1134
1148
|
label: String!
|
1149
|
+
|
1150
|
+
"""Settings for multilingual titles"""
|
1135
1151
|
labels: Object
|
1136
1152
|
name: String!
|
1137
1153
|
parent: String
|
1138
|
-
privilege: PrivilegeObject
|
1139
1154
|
rank: Int
|
1155
|
+
role: Role
|
1140
1156
|
type: String
|
1141
1157
|
updatedAt: DateTimeISO
|
1142
1158
|
updater: User
|
@@ -1152,12 +1168,13 @@ input LiteMenuPatch {
|
|
1152
1168
|
active: Boolean
|
1153
1169
|
appName: String
|
1154
1170
|
description: String
|
1171
|
+
help: String
|
1155
1172
|
icon: String
|
1156
1173
|
labels: Object
|
1157
1174
|
name: String
|
1158
1175
|
parent: String
|
1159
|
-
privilege: PrivilegeInput
|
1160
1176
|
rank: Int
|
1177
|
+
role: ObjectRef
|
1161
1178
|
type: String
|
1162
1179
|
value: String
|
1163
1180
|
}
|
@@ -1212,7 +1229,6 @@ type Menu {
|
|
1212
1229
|
name: String
|
1213
1230
|
pagination: Boolean
|
1214
1231
|
parent: Menu
|
1215
|
-
privilege: PrivilegeObject
|
1216
1232
|
rank: Float
|
1217
1233
|
resourceId: String
|
1218
1234
|
resourceName: String
|
@@ -1534,7 +1550,6 @@ input MenuPatch {
|
|
1534
1550
|
name: String
|
1535
1551
|
pagination: Boolean
|
1536
1552
|
parent: ObjectRef
|
1537
|
-
privilege: PrivilegeInput
|
1538
1553
|
rank: Int
|
1539
1554
|
resourceId: String
|
1540
1555
|
resourceName: String
|
@@ -1940,7 +1955,7 @@ type Mutation {
|
|
1940
1955
|
deleteThemes(ids: [String!]!): Boolean!
|
1941
1956
|
|
1942
1957
|
"""To delete a user"""
|
1943
|
-
deleteUser(
|
1958
|
+
deleteUser(username: String!): Boolean!
|
1944
1959
|
|
1945
1960
|
"""To delete UserPreference"""
|
1946
1961
|
deleteUserPreference(id: String!): Boolean!
|
@@ -1949,7 +1964,7 @@ type Mutation {
|
|
1949
1964
|
deleteUserPreferences(ids: [String!]!): Boolean!
|
1950
1965
|
|
1951
1966
|
"""To delete some users"""
|
1952
|
-
deleteUsers(
|
1967
|
+
deleteUsers(usernames: [String!]!): Boolean!
|
1953
1968
|
|
1954
1969
|
"""
|
1955
1970
|
Detaches an existing contact from an employee. The employee is identified by their ID.
|
@@ -2078,6 +2093,7 @@ type Mutation {
|
|
2078
2093
|
"""Employee Id"""
|
2079
2094
|
employeeId: String!
|
2080
2095
|
): Boolean!
|
2096
|
+
registerSchedule(schedule: NewSchedule!): ID!
|
2081
2097
|
|
2082
2098
|
"""To release a Board"""
|
2083
2099
|
releaseBoard(id: String!): Board!
|
@@ -2122,6 +2138,7 @@ type Mutation {
|
|
2122
2138
|
|
2123
2139
|
"""To transfer owner of domain"""
|
2124
2140
|
transferOwner(email: EmailAddress!): Boolean!
|
2141
|
+
unregisterSchedule(handle: ID!): Boolean!
|
2125
2142
|
updateAppliance(id: String!, patch: AppliancePatch!): Appliance!
|
2126
2143
|
updateApplication(id: String!, patch: ApplicationPatch!): Application!
|
2127
2144
|
|
@@ -2316,6 +2333,7 @@ type Mutation {
|
|
2316
2333
|
|
2317
2334
|
"""To modify scenario information"""
|
2318
2335
|
updateScenario(name: String!, patch: ScenarioPatch!): Scenario!
|
2336
|
+
updateSchedule(schedule: SchedulePatch!): ID!
|
2319
2337
|
|
2320
2338
|
"""To update secure IP list for domain"""
|
2321
2339
|
updateSecureIPList(iplist: Object!): Object
|
@@ -2379,6 +2397,7 @@ input NewAttachment {
|
|
2379
2397
|
file: Upload!
|
2380
2398
|
refBy: String
|
2381
2399
|
refType: String
|
2400
|
+
tags: Object
|
2382
2401
|
}
|
2383
2402
|
|
2384
2403
|
input NewAttributeSet {
|
@@ -2463,17 +2482,21 @@ input NewDepartment {
|
|
2463
2482
|
input NewEmployee {
|
2464
2483
|
active: Boolean
|
2465
2484
|
alias: String
|
2485
|
+
bankAccount: String
|
2486
|
+
bankName: String
|
2466
2487
|
contact: ObjectRefForContact
|
2467
2488
|
controlNo: String!
|
2468
2489
|
department: ObjectRefForDepartment
|
2490
|
+
emergencyContact: String
|
2491
|
+
emergencyContactPhone: String
|
2469
2492
|
extension: String
|
2470
|
-
hiredOn:
|
2493
|
+
hiredOn: DateTimeISO
|
2471
2494
|
jobPosition: String
|
2472
2495
|
jobResponsibility: String
|
2473
2496
|
name: String!
|
2474
2497
|
note: String
|
2475
2498
|
photo: Upload
|
2476
|
-
|
2499
|
+
retiredOn: DateTimeISO
|
2477
2500
|
supervisor: ObjectRefForEmployee
|
2478
2501
|
type: EmployeeType
|
2479
2502
|
user: ObjectRefForUser
|
@@ -2559,12 +2582,13 @@ input NewLiteMenu {
|
|
2559
2582
|
active: Boolean
|
2560
2583
|
appName: String
|
2561
2584
|
description: String
|
2585
|
+
help: String
|
2562
2586
|
icon: String
|
2563
2587
|
labels: Object
|
2564
2588
|
name: String!
|
2565
2589
|
parent: String
|
2566
|
-
privilege: PrivilegeInput
|
2567
2590
|
rank: Int
|
2591
|
+
role: ObjectRef
|
2568
2592
|
type: String
|
2569
2593
|
value: String
|
2570
2594
|
}
|
@@ -2587,7 +2611,6 @@ input NewMenu {
|
|
2587
2611
|
name: String!
|
2588
2612
|
pagination: Boolean
|
2589
2613
|
parent: ObjectRef
|
2590
|
-
privilege: PrivilegeInput
|
2591
2614
|
rank: Int
|
2592
2615
|
resourceId: String
|
2593
2616
|
resourceName: String
|
@@ -2808,13 +2831,22 @@ input NewScenario {
|
|
2808
2831
|
active: Boolean
|
2809
2832
|
description: String
|
2810
2833
|
name: String!
|
2811
|
-
|
2834
|
+
role: ObjectRef
|
2812
2835
|
schedule: String
|
2813
2836
|
timezone: String
|
2814
2837
|
ttl: Float
|
2815
2838
|
type: String
|
2816
2839
|
}
|
2817
2840
|
|
2841
|
+
input NewSchedule {
|
2842
|
+
client: ScheduleClientInput!
|
2843
|
+
name: String!
|
2844
|
+
schedule: String
|
2845
|
+
task: ScheduleTaskInput!
|
2846
|
+
timezone: String
|
2847
|
+
type: String!
|
2848
|
+
}
|
2849
|
+
|
2818
2850
|
input NewSetting {
|
2819
2851
|
category: String!
|
2820
2852
|
description: String
|
@@ -3096,7 +3128,7 @@ input ObjectRefForEmployee {
|
|
3096
3128
|
"""Field description"""
|
3097
3129
|
description: String
|
3098
3130
|
email: EmailAddress
|
3099
|
-
hiredOn:
|
3131
|
+
hiredOn: DateTimeISO
|
3100
3132
|
|
3101
3133
|
"""Field id"""
|
3102
3134
|
id: ID!
|
@@ -3347,13 +3379,6 @@ type Privilege {
|
|
3347
3379
|
updater: User
|
3348
3380
|
}
|
3349
3381
|
|
3350
|
-
input PrivilegeInput {
|
3351
|
-
category: String
|
3352
|
-
owner: Boolean
|
3353
|
-
privilege: String
|
3354
|
-
super: Boolean
|
3355
|
-
}
|
3356
|
-
|
3357
3382
|
type PrivilegeList {
|
3358
3383
|
items: [Privilege!]
|
3359
3384
|
total: Int
|
@@ -3784,6 +3809,10 @@ type Query {
|
|
3784
3809
|
|
3785
3810
|
"""To fetch multiple scenarios"""
|
3786
3811
|
scenarios(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): ScenarioList!
|
3812
|
+
schedule(id: ID!): Schedule
|
3813
|
+
|
3814
|
+
"""To fetch multiple Schedules"""
|
3815
|
+
schedules(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): ScheduleList!
|
3787
3816
|
searchCustomers(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): DomainList!
|
3788
3817
|
|
3789
3818
|
"""To fetch domain"""
|
@@ -3904,6 +3933,7 @@ type Scenario {
|
|
3904
3933
|
"""accessible and executable system-wide"""
|
3905
3934
|
public: Boolean
|
3906
3935
|
publishTags: [Connection!]!
|
3936
|
+
role: Role
|
3907
3937
|
schedule: String
|
3908
3938
|
scheduleId: String
|
3909
3939
|
state: String
|
@@ -3985,7 +4015,7 @@ input ScenarioPatch {
|
|
3985
4015
|
description: String
|
3986
4016
|
id: ID
|
3987
4017
|
name: String
|
3988
|
-
|
4018
|
+
role: ObjectRef
|
3989
4019
|
schedule: String
|
3990
4020
|
steps: [StepPatch!]
|
3991
4021
|
timezone: String
|
@@ -3998,6 +4028,81 @@ type ScenarioQueueState {
|
|
3998
4028
|
queue: [PendingObject!]!
|
3999
4029
|
}
|
4000
4030
|
|
4031
|
+
type Schedule {
|
4032
|
+
client: ScheduleClient!
|
4033
|
+
id: ID!
|
4034
|
+
name: String
|
4035
|
+
schedule: String
|
4036
|
+
task: ScheduleTask!
|
4037
|
+
timezone: String
|
4038
|
+
type: String!
|
4039
|
+
}
|
4040
|
+
|
4041
|
+
type ScheduleClient {
|
4042
|
+
application: String!
|
4043
|
+
group: String!
|
4044
|
+
key: String!
|
4045
|
+
operation: String!
|
4046
|
+
type: String!
|
4047
|
+
}
|
4048
|
+
|
4049
|
+
input ScheduleClientInput {
|
4050
|
+
application: String!
|
4051
|
+
group: String!
|
4052
|
+
key: String!
|
4053
|
+
operation: String!
|
4054
|
+
type: String!
|
4055
|
+
}
|
4056
|
+
|
4057
|
+
type ScheduleList {
|
4058
|
+
items: [Schedule!]!
|
4059
|
+
total: Int!
|
4060
|
+
}
|
4061
|
+
|
4062
|
+
input SchedulePatch {
|
4063
|
+
client: ScheduleClientInput!
|
4064
|
+
id: String
|
4065
|
+
name: String
|
4066
|
+
schedule: String
|
4067
|
+
task: ScheduleTaskInput!
|
4068
|
+
timezone: String
|
4069
|
+
type: String!
|
4070
|
+
}
|
4071
|
+
|
4072
|
+
type ScheduleTask {
|
4073
|
+
connection: ScheduleTaskConnection!
|
4074
|
+
data: Object!
|
4075
|
+
failed_policy: String!
|
4076
|
+
history_check: Boolean!
|
4077
|
+
max_retry_count: Int!
|
4078
|
+
retry_count: Int!
|
4079
|
+
retry_wait: Int!
|
4080
|
+
type: String!
|
4081
|
+
}
|
4082
|
+
|
4083
|
+
type ScheduleTaskConnection {
|
4084
|
+
headers: Object
|
4085
|
+
host: String
|
4086
|
+
topic: String
|
4087
|
+
}
|
4088
|
+
|
4089
|
+
input ScheduleTaskConnectionInput {
|
4090
|
+
headers: Object
|
4091
|
+
host: String
|
4092
|
+
topic: String
|
4093
|
+
}
|
4094
|
+
|
4095
|
+
input ScheduleTaskInput {
|
4096
|
+
connection: ScheduleTaskConnectionInput!
|
4097
|
+
data: Object!
|
4098
|
+
failed_policy: String!
|
4099
|
+
history_check: Boolean!
|
4100
|
+
max_retry_count: Int!
|
4101
|
+
retry_count: Int!
|
4102
|
+
retry_wait: Int!
|
4103
|
+
type: String!
|
4104
|
+
}
|
4105
|
+
|
4001
4106
|
"""Entity for Setting"""
|
4002
4107
|
type Setting {
|
4003
4108
|
category: String!
|
@@ -4300,6 +4405,7 @@ type User {
|
|
4300
4405
|
updatedAt: DateTimeISO
|
4301
4406
|
updater: User
|
4302
4407
|
userType: String
|
4408
|
+
username: String
|
4303
4409
|
usersAuthProviders: [UsersAuthProviders!]
|
4304
4410
|
}
|
4305
4411
|
|