@things-factory/operato-ecs 8.0.2 → 8.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +12 -12
  2. package/schema.graphql +104 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-ecs",
3
- "version": "8.0.2",
3
+ "version": "8.0.3",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -67,22 +67,22 @@
67
67
  "@things-factory/api": "^8.0.2",
68
68
  "@things-factory/apptool-ui": "^8.0.2",
69
69
  "@things-factory/auth-ui": "^8.0.2",
70
- "@things-factory/board-service": "^8.0.2",
70
+ "@things-factory/board-service": "^8.0.3",
71
71
  "@things-factory/board-ui": "^8.0.2",
72
72
  "@things-factory/context-ui": "^8.0.2",
73
- "@things-factory/dashboard": "^8.0.2",
73
+ "@things-factory/dashboard": "^8.0.3",
74
74
  "@things-factory/evaluation": "^8.0.2",
75
75
  "@things-factory/export-ui": "^8.0.2",
76
76
  "@things-factory/help": "^8.0.2",
77
77
  "@things-factory/i18n-base": "^8.0.2",
78
- "@things-factory/integration-email": "^8.0.2",
79
- "@things-factory/integration-headless": "^8.0.2",
80
- "@things-factory/integration-influxdb": "^8.0.2",
81
- "@things-factory/integration-melsec": "^8.0.2",
82
- "@things-factory/integration-modbus": "^8.0.2",
83
- "@things-factory/integration-opc": "^8.0.2",
84
- "@things-factory/integration-ui": "^8.0.2",
85
- "@things-factory/lite-menu": "^8.0.2",
78
+ "@things-factory/integration-email": "^8.0.3",
79
+ "@things-factory/integration-headless": "^8.0.3",
80
+ "@things-factory/integration-influxdb": "^8.0.3",
81
+ "@things-factory/integration-melsec": "^8.0.3",
82
+ "@things-factory/integration-modbus": "^8.0.3",
83
+ "@things-factory/integration-opc": "^8.0.3",
84
+ "@things-factory/integration-ui": "^8.0.3",
85
+ "@things-factory/lite-menu": "^8.0.3",
86
86
  "@things-factory/more-ui": "^8.0.2",
87
87
  "@things-factory/notification": "^8.0.2",
88
88
  "@things-factory/oauth2-client": "^8.0.2",
@@ -97,5 +97,5 @@
97
97
  "devDependencies": {
98
98
  "@things-factory/builder": "^8.0.2"
99
99
  },
100
- "gitHead": "39d60f56e142561233ddf6d47b539c637971357c"
100
+ "gitHead": "a040c124aa33e9bb8a691e00e0afbded1f378b62"
101
101
  }
package/schema.graphql CHANGED
@@ -1127,18 +1127,23 @@ type LiteMenu {
1127
1127
  active: Boolean
1128
1128
  appName: String
1129
1129
  board: Board
1130
+
1131
+ """Settings for help contents"""
1130
1132
  createdAt: DateTimeISO
1131
1133
  creator: User
1132
1134
  description: String
1133
1135
  domain: Domain!
1136
+ help: String
1134
1137
  icon: String
1135
1138
  id: ID!
1136
1139
  label: String!
1140
+
1141
+ """Settings for multilingual titles"""
1137
1142
  labels: Object
1138
1143
  name: String!
1139
1144
  parent: String
1140
- privilege: PrivilegeObject
1141
1145
  rank: Int
1146
+ role: Role
1142
1147
  type: String
1143
1148
  updatedAt: DateTimeISO
1144
1149
  updater: User
@@ -1154,12 +1159,13 @@ input LiteMenuPatch {
1154
1159
  active: Boolean
1155
1160
  appName: String
1156
1161
  description: String
1162
+ help: String
1157
1163
  icon: String
1158
1164
  labels: Object
1159
1165
  name: String
1160
1166
  parent: String
1161
- privilege: PrivilegeInput
1162
1167
  rank: Int
1168
+ role: ObjectRef
1163
1169
  type: String
1164
1170
  value: String
1165
1171
  }
@@ -1214,7 +1220,6 @@ type Menu {
1214
1220
  name: String
1215
1221
  pagination: Boolean
1216
1222
  parent: Menu
1217
- privilege: PrivilegeObject
1218
1223
  rank: Float
1219
1224
  resourceId: String
1220
1225
  resourceName: String
@@ -1536,7 +1541,6 @@ input MenuPatch {
1536
1541
  name: String
1537
1542
  pagination: Boolean
1538
1543
  parent: ObjectRef
1539
- privilege: PrivilegeInput
1540
1544
  rank: Int
1541
1545
  resourceId: String
1542
1546
  resourceName: String
@@ -2080,6 +2084,7 @@ type Mutation {
2080
2084
  """Employee Id"""
2081
2085
  employeeId: String!
2082
2086
  ): Boolean!
2087
+ registerSchedule(schedule: NewSchedule!): ID!
2083
2088
 
2084
2089
  """To release a Board"""
2085
2090
  releaseBoard(id: String!): Board!
@@ -2124,6 +2129,7 @@ type Mutation {
2124
2129
 
2125
2130
  """To transfer owner of domain"""
2126
2131
  transferOwner(email: EmailAddress!): Boolean!
2132
+ unregisterSchedule(handle: ID!): Boolean!
2127
2133
  updateAppliance(id: String!, patch: AppliancePatch!): Appliance!
2128
2134
  updateApplication(id: String!, patch: ApplicationPatch!): Application!
2129
2135
 
@@ -2318,6 +2324,7 @@ type Mutation {
2318
2324
 
2319
2325
  """To modify scenario information"""
2320
2326
  updateScenario(name: String!, patch: ScenarioPatch!): Scenario!
2327
+ updateSchedule(schedule: SchedulePatch!): ID!
2321
2328
 
2322
2329
  """To update secure IP list for domain"""
2323
2330
  updateSecureIPList(iplist: Object!): Object
@@ -2562,12 +2569,13 @@ input NewLiteMenu {
2562
2569
  active: Boolean
2563
2570
  appName: String
2564
2571
  description: String
2572
+ help: String
2565
2573
  icon: String
2566
2574
  labels: Object
2567
2575
  name: String!
2568
2576
  parent: String
2569
- privilege: PrivilegeInput
2570
2577
  rank: Int
2578
+ role: ObjectRef
2571
2579
  type: String
2572
2580
  value: String
2573
2581
  }
@@ -2590,7 +2598,6 @@ input NewMenu {
2590
2598
  name: String!
2591
2599
  pagination: Boolean
2592
2600
  parent: ObjectRef
2593
- privilege: PrivilegeInput
2594
2601
  rank: Int
2595
2602
  resourceId: String
2596
2603
  resourceName: String
@@ -2811,13 +2818,22 @@ input NewScenario {
2811
2818
  active: Boolean
2812
2819
  description: String
2813
2820
  name: String!
2814
- privilege: PrivilegeInput
2821
+ role: ObjectRef
2815
2822
  schedule: String
2816
2823
  timezone: String
2817
2824
  ttl: Float
2818
2825
  type: String
2819
2826
  }
2820
2827
 
2828
+ input NewSchedule {
2829
+ client: ScheduleClientInput!
2830
+ name: String!
2831
+ schedule: String
2832
+ task: ScheduleTaskInput!
2833
+ timezone: String
2834
+ type: String!
2835
+ }
2836
+
2821
2837
  input NewSetting {
2822
2838
  category: String!
2823
2839
  description: String
@@ -3350,13 +3366,6 @@ type Privilege {
3350
3366
  updater: User
3351
3367
  }
3352
3368
 
3353
- input PrivilegeInput {
3354
- category: String
3355
- owner: Boolean
3356
- privilege: String
3357
- super: Boolean
3358
- }
3359
-
3360
3369
  type PrivilegeList {
3361
3370
  items: [Privilege!]
3362
3371
  total: Int
@@ -3787,6 +3796,10 @@ type Query {
3787
3796
 
3788
3797
  """To fetch multiple scenarios"""
3789
3798
  scenarios(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): ScenarioList!
3799
+ schedule(id: ID!): Schedule
3800
+
3801
+ """To fetch multiple Schedules"""
3802
+ schedules(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): ScheduleList!
3790
3803
  searchCustomers(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): DomainList!
3791
3804
 
3792
3805
  """To fetch domain"""
@@ -3907,6 +3920,7 @@ type Scenario {
3907
3920
  """accessible and executable system-wide"""
3908
3921
  public: Boolean
3909
3922
  publishTags: [Connection!]!
3923
+ role: Role
3910
3924
  schedule: String
3911
3925
  scheduleId: String
3912
3926
  state: String
@@ -3988,7 +4002,7 @@ input ScenarioPatch {
3988
4002
  description: String
3989
4003
  id: ID
3990
4004
  name: String
3991
- privilege: PrivilegeInput
4005
+ role: ObjectRef
3992
4006
  schedule: String
3993
4007
  steps: [StepPatch!]
3994
4008
  timezone: String
@@ -4001,6 +4015,81 @@ type ScenarioQueueState {
4001
4015
  queue: [PendingObject!]!
4002
4016
  }
4003
4017
 
4018
+ type Schedule {
4019
+ client: ScheduleClient!
4020
+ id: ID!
4021
+ name: String
4022
+ schedule: String
4023
+ task: ScheduleTask!
4024
+ timezone: String
4025
+ type: String!
4026
+ }
4027
+
4028
+ type ScheduleClient {
4029
+ application: String!
4030
+ group: String!
4031
+ key: String!
4032
+ operation: String!
4033
+ type: String!
4034
+ }
4035
+
4036
+ input ScheduleClientInput {
4037
+ application: String!
4038
+ group: String!
4039
+ key: String!
4040
+ operation: String!
4041
+ type: String!
4042
+ }
4043
+
4044
+ type ScheduleList {
4045
+ items: [Schedule!]!
4046
+ total: Int!
4047
+ }
4048
+
4049
+ input SchedulePatch {
4050
+ client: ScheduleClientInput!
4051
+ id: String
4052
+ name: String
4053
+ schedule: String
4054
+ task: ScheduleTaskInput!
4055
+ timezone: String
4056
+ type: String!
4057
+ }
4058
+
4059
+ type ScheduleTask {
4060
+ connection: ScheduleTaskConnection!
4061
+ data: Object!
4062
+ failed_policy: String!
4063
+ history_check: Boolean!
4064
+ max_retry_count: Int!
4065
+ retry_count: Int!
4066
+ retry_wait: Int!
4067
+ type: String!
4068
+ }
4069
+
4070
+ type ScheduleTaskConnection {
4071
+ headers: Object
4072
+ host: String
4073
+ topic: String
4074
+ }
4075
+
4076
+ input ScheduleTaskConnectionInput {
4077
+ headers: Object
4078
+ host: String
4079
+ topic: String
4080
+ }
4081
+
4082
+ input ScheduleTaskInput {
4083
+ connection: ScheduleTaskConnectionInput!
4084
+ data: Object!
4085
+ failed_policy: String!
4086
+ history_check: Boolean!
4087
+ max_retry_count: Int!
4088
+ retry_count: Int!
4089
+ retry_wait: Int!
4090
+ type: String!
4091
+ }
4092
+
4004
4093
  """Entity for Setting"""
4005
4094
  type Setting {
4006
4095
  category: String!