@things-factory/operato-ecs 6.2.37 → 6.2.39

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 +19 -19
  2. package/schema.graphql +73 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-ecs",
3
- "version": "6.2.37",
3
+ "version": "6.2.39",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -54,34 +54,34 @@
54
54
  "@operato/scene-switch": "^1.0.0",
55
55
  "@operato/scene-table": "^1.0.0",
56
56
  "@operato/scene-timer": "^1.0.0",
57
- "@things-factory/api": "^6.2.34",
58
- "@things-factory/apptool-ui": "^6.2.34",
59
- "@things-factory/auth-ui": "^6.2.34",
60
- "@things-factory/board-service": "^6.2.37",
61
- "@things-factory/board-ui": "^6.2.35",
57
+ "@things-factory/api": "^6.2.38",
58
+ "@things-factory/apptool-ui": "^6.2.38",
59
+ "@things-factory/auth-ui": "^6.2.38",
60
+ "@things-factory/board-service": "^6.2.39",
61
+ "@things-factory/board-ui": "^6.2.38",
62
62
  "@things-factory/context-ui": "^6.2.34",
63
- "@things-factory/dashboard": "^6.2.37",
63
+ "@things-factory/dashboard": "^6.2.39",
64
64
  "@things-factory/export-ui": "^6.2.34",
65
65
  "@things-factory/help": "^6.2.34",
66
66
  "@things-factory/i18n-base": "^6.2.34",
67
- "@things-factory/integration-melsec": "^6.2.37",
68
- "@things-factory/integration-modbus": "^6.2.37",
69
- "@things-factory/integration-opc": "^6.2.37",
70
- "@things-factory/integration-ui": "^6.2.37",
71
- "@things-factory/lite-menu": "^6.2.37",
67
+ "@things-factory/integration-melsec": "^6.2.39",
68
+ "@things-factory/integration-modbus": "^6.2.39",
69
+ "@things-factory/integration-opc": "^6.2.39",
70
+ "@things-factory/integration-ui": "^6.2.39",
71
+ "@things-factory/lite-menu": "^6.2.39",
72
72
  "@things-factory/more-ui": "^6.2.34",
73
- "@things-factory/notification": "^6.2.34",
74
- "@things-factory/oauth2-client": "^6.2.34",
73
+ "@things-factory/notification": "^6.2.38",
74
+ "@things-factory/oauth2-client": "^6.2.38",
75
75
  "@things-factory/operato-license-checker": "^3.1.0",
76
- "@things-factory/print-ui": "^6.2.34",
77
- "@things-factory/resource-ui": "^6.2.34",
78
- "@things-factory/setting-base": "^6.2.34",
79
- "@things-factory/setting-ui": "^6.2.34",
76
+ "@things-factory/print-ui": "^6.2.38",
77
+ "@things-factory/resource-ui": "^6.2.38",
78
+ "@things-factory/setting-base": "^6.2.38",
79
+ "@things-factory/setting-ui": "^6.2.38",
80
80
  "@things-factory/shell": "^6.2.34",
81
81
  "@things-factory/system-ui": "^6.2.34"
82
82
  },
83
83
  "devDependencies": {
84
84
  "@things-factory/builder": "^6.2.33"
85
85
  },
86
- "gitHead": "262635e763771557d8bb53fc5198aa9b67c82979"
86
+ "gitHead": "7d263cbcb5703048f6709d950deb2160638ef3c6"
87
87
  }
package/schema.graphql CHANGED
@@ -1663,6 +1663,9 @@ type Mutation {
1663
1663
  """To create new Setting"""
1664
1664
  createSetting(setting: NewSetting!): Setting!
1665
1665
 
1666
+ """To create new StateRegister"""
1667
+ createStateRegister(stateRegister: NewStateRegister!): StateRegister!
1668
+
1666
1669
  """To create new Terminology"""
1667
1670
  createTerminology(terminology: NewTerminology!): Terminology!
1668
1671
 
@@ -1871,6 +1874,12 @@ type Mutation {
1871
1874
  """To delete multiple settings"""
1872
1875
  deleteSettings(names: [String!]!): Boolean!
1873
1876
 
1877
+ """To delete StateRegister"""
1878
+ deleteStateRegister(id: String!): Boolean!
1879
+
1880
+ """To delete multiple StateRegisters"""
1881
+ deleteStateRegisters(ids: [String!]!): Boolean!
1882
+
1874
1883
  """To delete multiple steps"""
1875
1884
  deleteSteps(ids: [String!]!): Boolean!
1876
1885
 
@@ -1964,6 +1973,9 @@ type Mutation {
1964
1973
  """To import multiple scenarios"""
1965
1974
  importScenarios(scenarios: [ScenarioPatch!]!): Boolean!
1966
1975
 
1976
+ """To import multiple StateRegisters"""
1977
+ importStateRegisters(stateRegisters: [StateRegisterPatch!]!): Boolean!
1978
+
1967
1979
  """To import multiple Terminologies"""
1968
1980
  importTerminologies(terminologies: [TerminologyPatch!]!): Boolean!
1969
1981
 
@@ -2182,6 +2194,9 @@ type Mutation {
2182
2194
  """To modify multiple Settings' information"""
2183
2195
  updateMultipleSetting(patches: [SettingPatch!]!): [Setting!]!
2184
2196
 
2197
+ """To modify multiple StateRegisters' information"""
2198
+ updateMultipleStateRegister(patches: [StateRegisterPatch!]!): [StateRegister!]!
2199
+
2185
2200
  """To modify multiple steps' in a scenario"""
2186
2201
  updateMultipleStep(patches: [StepPatch!]!, scenarioId: String!): [Step!]!
2187
2202
 
@@ -2233,6 +2248,12 @@ type Mutation {
2233
2248
  """To modify Setting information"""
2234
2249
  updateSetting(name: String!, patch: SettingPatch!): Setting!
2235
2250
 
2251
+ """To modify StateRegister information"""
2252
+ updateStateRegister(id: String!, patch: StateRegisterPatch!): StateRegister!
2253
+
2254
+ """To update state of StateRegister by name"""
2255
+ updateStateRegisterByName(name: String!, state: Object!): StateRegister!
2256
+
2236
2257
  """To modify Terminology information"""
2237
2258
  updateTerminology(id: String!, patch: TerminologyPatch!): Terminology!
2238
2259
 
@@ -2711,6 +2732,15 @@ input NewSetting {
2711
2732
  value: String
2712
2733
  }
2713
2734
 
2735
+ input NewStateRegister {
2736
+ description: String
2737
+ name: String!
2738
+ refBy: String
2739
+ state: Object
2740
+ ttl: Int
2741
+ type: String
2742
+ }
2743
+
2714
2744
  input NewTerminology {
2715
2745
  category: String!
2716
2746
  description: String
@@ -3548,6 +3578,15 @@ type Query {
3548
3578
  """To fetch multiple Settings"""
3549
3579
  settings(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): SettingList!
3550
3580
 
3581
+ """To fetch a StateRegister"""
3582
+ stateRegister(id: String!): StateRegister
3583
+
3584
+ """To fetch a StateRegister by name"""
3585
+ stateRegisterByName(name: String!): StateRegister
3586
+
3587
+ """To fetch multiple StateRegisters"""
3588
+ stateRegisters(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): StateRegisterList!
3589
+
3551
3590
  """To fetch a step"""
3552
3591
  step(name: String!): Step!
3553
3592
 
@@ -3765,6 +3804,40 @@ input Sorting {
3765
3804
  name: String!
3766
3805
  }
3767
3806
 
3807
+ """Entity for StateRegister"""
3808
+ type StateRegister {
3809
+ createdAt: DateTimeISO
3810
+ creator: User
3811
+ description: String
3812
+ domain: Domain
3813
+ id: ID!
3814
+ name: String
3815
+ refBy: String
3816
+ state: Object
3817
+ ttl: Int
3818
+ type: String
3819
+ updatedAt: DateTimeISO
3820
+ updater: User
3821
+ writer: User
3822
+ wroteAt: DateTimeISO
3823
+ }
3824
+
3825
+ type StateRegisterList {
3826
+ items: [StateRegister!]!
3827
+ total: Int!
3828
+ }
3829
+
3830
+ input StateRegisterPatch {
3831
+ cuFlag: String
3832
+ description: String
3833
+ id: ID
3834
+ name: String
3835
+ refBy: String
3836
+ state: Object
3837
+ ttl: Int
3838
+ type: String
3839
+ }
3840
+
3768
3841
  type Step {
3769
3842
  connection: String
3770
3843
  createdAt: DateTimeISO