@things-factory/operato-ecs 8.0.0-beta.9 → 8.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/.dockerignore +6 -24
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/installer/config.production.js +62 -0
- package/installer/config.yaml +4 -0
- package/installer/docker-compose-test.yml +19 -0
- package/installer/docker-compose.yml +54 -0
- package/installer/install.sh +54 -0
- package/installer/migrate.sh +1 -0
- package/installer/start.sh +18 -0
- package/installer/stop.sh +1 -0
- package/installer/upgrade.sh +1 -0
- package/package.json +56 -56
- package/schema.graphql +24 -127
package/schema.graphql
CHANGED
@@ -40,7 +40,6 @@ type AppBinding {
|
|
40
40
|
updatedAt: DateTimeISO
|
41
41
|
updater: User!
|
42
42
|
userType: String
|
43
|
-
username: String
|
44
43
|
usersAuthProviders: [UsersAuthProviders!]
|
45
44
|
}
|
46
45
|
|
@@ -760,8 +759,6 @@ type Employee {
|
|
760
759
|
address: String
|
761
760
|
alias: String
|
762
761
|
approvalLines: [ApprovalLine!]!
|
763
|
-
bankAccount: String
|
764
|
-
bankName: String
|
765
762
|
contact: Contact
|
766
763
|
controlNo: String!
|
767
764
|
createdAt: DateTimeISO
|
@@ -770,10 +767,8 @@ type Employee {
|
|
770
767
|
department: Department
|
771
768
|
domain: Domain!
|
772
769
|
email: EmailAddress
|
773
|
-
emergencyContact: String
|
774
|
-
emergencyContactPhone: String
|
775
770
|
extension: String
|
776
|
-
hiredOn:
|
771
|
+
hiredOn: String
|
777
772
|
id: ID!
|
778
773
|
jobPosition: String
|
779
774
|
jobResponsibility: String
|
@@ -783,7 +778,7 @@ type Employee {
|
|
783
778
|
phone: String
|
784
779
|
photo: String
|
785
780
|
profile: Profile
|
786
|
-
|
781
|
+
retiredAt: String
|
787
782
|
supervises: [Employee!]!
|
788
783
|
supervisor: Employee
|
789
784
|
type: String
|
@@ -801,22 +796,18 @@ type EmployeeList {
|
|
801
796
|
input EmployeePatch {
|
802
797
|
active: Boolean
|
803
798
|
alias: String
|
804
|
-
bankAccount: String
|
805
|
-
bankName: String
|
806
799
|
contact: ObjectRefForContact
|
807
800
|
controlNo: String
|
808
801
|
cuFlag: String
|
809
802
|
department: ObjectRefForDepartment
|
810
|
-
|
811
|
-
emergencyContactPhone: String
|
812
|
-
hiredOn: DateTimeISO
|
803
|
+
hiredOn: String
|
813
804
|
id: ID
|
814
805
|
jobPosition: String
|
815
806
|
jobResponsibility: String
|
816
807
|
name: String
|
817
808
|
note: String
|
818
809
|
photo: Upload
|
819
|
-
|
810
|
+
retiredAt: String
|
820
811
|
supervisor: ObjectRefForEmployee
|
821
812
|
type: EmployeeType
|
822
813
|
user: ObjectRefForUser
|
@@ -1136,23 +1127,18 @@ type LiteMenu {
|
|
1136
1127
|
active: Boolean
|
1137
1128
|
appName: String
|
1138
1129
|
board: Board
|
1139
|
-
|
1140
|
-
"""Settings for help contents"""
|
1141
1130
|
createdAt: DateTimeISO
|
1142
1131
|
creator: User
|
1143
1132
|
description: String
|
1144
1133
|
domain: Domain!
|
1145
|
-
help: String
|
1146
1134
|
icon: String
|
1147
1135
|
id: ID!
|
1148
1136
|
label: String!
|
1149
|
-
|
1150
|
-
"""Settings for multilingual titles"""
|
1151
1137
|
labels: Object
|
1152
1138
|
name: String!
|
1153
1139
|
parent: String
|
1140
|
+
privilege: PrivilegeObject
|
1154
1141
|
rank: Int
|
1155
|
-
role: Role
|
1156
1142
|
type: String
|
1157
1143
|
updatedAt: DateTimeISO
|
1158
1144
|
updater: User
|
@@ -1168,13 +1154,12 @@ input LiteMenuPatch {
|
|
1168
1154
|
active: Boolean
|
1169
1155
|
appName: String
|
1170
1156
|
description: String
|
1171
|
-
help: String
|
1172
1157
|
icon: String
|
1173
1158
|
labels: Object
|
1174
1159
|
name: String
|
1175
1160
|
parent: String
|
1161
|
+
privilege: PrivilegeInput
|
1176
1162
|
rank: Int
|
1177
|
-
role: ObjectRef
|
1178
1163
|
type: String
|
1179
1164
|
value: String
|
1180
1165
|
}
|
@@ -1229,6 +1214,7 @@ type Menu {
|
|
1229
1214
|
name: String
|
1230
1215
|
pagination: Boolean
|
1231
1216
|
parent: Menu
|
1217
|
+
privilege: PrivilegeObject
|
1232
1218
|
rank: Float
|
1233
1219
|
resourceId: String
|
1234
1220
|
resourceName: String
|
@@ -1550,6 +1536,7 @@ input MenuPatch {
|
|
1550
1536
|
name: String
|
1551
1537
|
pagination: Boolean
|
1552
1538
|
parent: ObjectRef
|
1539
|
+
privilege: PrivilegeInput
|
1553
1540
|
rank: Int
|
1554
1541
|
resourceId: String
|
1555
1542
|
resourceName: String
|
@@ -1955,7 +1942,7 @@ type Mutation {
|
|
1955
1942
|
deleteThemes(ids: [String!]!): Boolean!
|
1956
1943
|
|
1957
1944
|
"""To delete a user"""
|
1958
|
-
deleteUser(
|
1945
|
+
deleteUser(email: EmailAddress!): Boolean!
|
1959
1946
|
|
1960
1947
|
"""To delete UserPreference"""
|
1961
1948
|
deleteUserPreference(id: String!): Boolean!
|
@@ -1964,7 +1951,7 @@ type Mutation {
|
|
1964
1951
|
deleteUserPreferences(ids: [String!]!): Boolean!
|
1965
1952
|
|
1966
1953
|
"""To delete some users"""
|
1967
|
-
deleteUsers(
|
1954
|
+
deleteUsers(emails: [String!]!): Boolean!
|
1968
1955
|
|
1969
1956
|
"""
|
1970
1957
|
Detaches an existing contact from an employee. The employee is identified by their ID.
|
@@ -2093,7 +2080,6 @@ type Mutation {
|
|
2093
2080
|
"""Employee Id"""
|
2094
2081
|
employeeId: String!
|
2095
2082
|
): Boolean!
|
2096
|
-
registerSchedule(schedule: NewSchedule!): ID!
|
2097
2083
|
|
2098
2084
|
"""To release a Board"""
|
2099
2085
|
releaseBoard(id: String!): Board!
|
@@ -2138,7 +2124,6 @@ type Mutation {
|
|
2138
2124
|
|
2139
2125
|
"""To transfer owner of domain"""
|
2140
2126
|
transferOwner(email: EmailAddress!): Boolean!
|
2141
|
-
unregisterSchedule(handle: ID!): Boolean!
|
2142
2127
|
updateAppliance(id: String!, patch: AppliancePatch!): Appliance!
|
2143
2128
|
updateApplication(id: String!, patch: ApplicationPatch!): Application!
|
2144
2129
|
|
@@ -2333,7 +2318,6 @@ type Mutation {
|
|
2333
2318
|
|
2334
2319
|
"""To modify scenario information"""
|
2335
2320
|
updateScenario(name: String!, patch: ScenarioPatch!): Scenario!
|
2336
|
-
updateSchedule(schedule: SchedulePatch!): ID!
|
2337
2321
|
|
2338
2322
|
"""To update secure IP list for domain"""
|
2339
2323
|
updateSecureIPList(iplist: Object!): Object
|
@@ -2482,21 +2466,17 @@ input NewDepartment {
|
|
2482
2466
|
input NewEmployee {
|
2483
2467
|
active: Boolean
|
2484
2468
|
alias: String
|
2485
|
-
bankAccount: String
|
2486
|
-
bankName: String
|
2487
2469
|
contact: ObjectRefForContact
|
2488
2470
|
controlNo: String!
|
2489
2471
|
department: ObjectRefForDepartment
|
2490
|
-
emergencyContact: String
|
2491
|
-
emergencyContactPhone: String
|
2492
2472
|
extension: String
|
2493
|
-
hiredOn:
|
2473
|
+
hiredOn: String
|
2494
2474
|
jobPosition: String
|
2495
2475
|
jobResponsibility: String
|
2496
2476
|
name: String!
|
2497
2477
|
note: String
|
2498
2478
|
photo: Upload
|
2499
|
-
|
2479
|
+
retiredAt: String
|
2500
2480
|
supervisor: ObjectRefForEmployee
|
2501
2481
|
type: EmployeeType
|
2502
2482
|
user: ObjectRefForUser
|
@@ -2582,13 +2562,12 @@ input NewLiteMenu {
|
|
2582
2562
|
active: Boolean
|
2583
2563
|
appName: String
|
2584
2564
|
description: String
|
2585
|
-
help: String
|
2586
2565
|
icon: String
|
2587
2566
|
labels: Object
|
2588
2567
|
name: String!
|
2589
2568
|
parent: String
|
2569
|
+
privilege: PrivilegeInput
|
2590
2570
|
rank: Int
|
2591
|
-
role: ObjectRef
|
2592
2571
|
type: String
|
2593
2572
|
value: String
|
2594
2573
|
}
|
@@ -2611,6 +2590,7 @@ input NewMenu {
|
|
2611
2590
|
name: String!
|
2612
2591
|
pagination: Boolean
|
2613
2592
|
parent: ObjectRef
|
2593
|
+
privilege: PrivilegeInput
|
2614
2594
|
rank: Int
|
2615
2595
|
resourceId: String
|
2616
2596
|
resourceName: String
|
@@ -2831,22 +2811,13 @@ input NewScenario {
|
|
2831
2811
|
active: Boolean
|
2832
2812
|
description: String
|
2833
2813
|
name: String!
|
2834
|
-
|
2814
|
+
privilege: PrivilegeInput
|
2835
2815
|
schedule: String
|
2836
2816
|
timezone: String
|
2837
2817
|
ttl: Float
|
2838
2818
|
type: String
|
2839
2819
|
}
|
2840
2820
|
|
2841
|
-
input NewSchedule {
|
2842
|
-
client: ScheduleClientInput!
|
2843
|
-
name: String!
|
2844
|
-
schedule: String
|
2845
|
-
task: ScheduleTaskInput!
|
2846
|
-
timezone: String
|
2847
|
-
type: String!
|
2848
|
-
}
|
2849
|
-
|
2850
2821
|
input NewSetting {
|
2851
2822
|
category: String!
|
2852
2823
|
description: String
|
@@ -3128,7 +3099,7 @@ input ObjectRefForEmployee {
|
|
3128
3099
|
"""Field description"""
|
3129
3100
|
description: String
|
3130
3101
|
email: EmailAddress
|
3131
|
-
hiredOn:
|
3102
|
+
hiredOn: String
|
3132
3103
|
|
3133
3104
|
"""Field id"""
|
3134
3105
|
id: ID!
|
@@ -3379,6 +3350,13 @@ type Privilege {
|
|
3379
3350
|
updater: User
|
3380
3351
|
}
|
3381
3352
|
|
3353
|
+
input PrivilegeInput {
|
3354
|
+
category: String
|
3355
|
+
owner: Boolean
|
3356
|
+
privilege: String
|
3357
|
+
super: Boolean
|
3358
|
+
}
|
3359
|
+
|
3382
3360
|
type PrivilegeList {
|
3383
3361
|
items: [Privilege!]
|
3384
3362
|
total: Int
|
@@ -3809,10 +3787,6 @@ type Query {
|
|
3809
3787
|
|
3810
3788
|
"""To fetch multiple scenarios"""
|
3811
3789
|
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!
|
3816
3790
|
searchCustomers(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): DomainList!
|
3817
3791
|
|
3818
3792
|
"""To fetch domain"""
|
@@ -3933,7 +3907,6 @@ type Scenario {
|
|
3933
3907
|
"""accessible and executable system-wide"""
|
3934
3908
|
public: Boolean
|
3935
3909
|
publishTags: [Connection!]!
|
3936
|
-
role: Role
|
3937
3910
|
schedule: String
|
3938
3911
|
scheduleId: String
|
3939
3912
|
state: String
|
@@ -4015,7 +3988,7 @@ input ScenarioPatch {
|
|
4015
3988
|
description: String
|
4016
3989
|
id: ID
|
4017
3990
|
name: String
|
4018
|
-
|
3991
|
+
privilege: PrivilegeInput
|
4019
3992
|
schedule: String
|
4020
3993
|
steps: [StepPatch!]
|
4021
3994
|
timezone: String
|
@@ -4028,81 +4001,6 @@ type ScenarioQueueState {
|
|
4028
4001
|
queue: [PendingObject!]!
|
4029
4002
|
}
|
4030
4003
|
|
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
|
-
|
4106
4004
|
"""Entity for Setting"""
|
4107
4005
|
type Setting {
|
4108
4006
|
category: String!
|
@@ -4405,7 +4303,6 @@ type User {
|
|
4405
4303
|
updatedAt: DateTimeISO
|
4406
4304
|
updater: User
|
4407
4305
|
userType: String
|
4408
|
-
username: String
|
4409
4306
|
usersAuthProviders: [UsersAuthProviders!]
|
4410
4307
|
}
|
4411
4308
|
|