@things-factory/operato-ecs 9.0.0-beta.56 → 9.0.0-beta.58

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 +34 -34
  2. package/schema.graphql +54 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-ecs",
3
- "version": "9.0.0-beta.56",
3
+ "version": "9.0.0-beta.58",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -65,41 +65,41 @@
65
65
  "@operato/scene-table": "^9.0.0-beta",
66
66
  "@operato/scene-timer": "^9.0.0-beta",
67
67
  "@operato/scene-wellstek-gantt": "^9.0.0-beta",
68
- "@things-factory/api": "^9.0.0-beta.55",
69
- "@things-factory/apptool-ui": "^9.0.0-beta.55",
70
- "@things-factory/auth-ui": "^9.0.0-beta.55",
71
- "@things-factory/board-service": "^9.0.0-beta.55",
72
- "@things-factory/board-ui": "^9.0.0-beta.55",
73
- "@things-factory/context-ui": "^9.0.0-beta.52",
74
- "@things-factory/dashboard": "^9.0.0-beta.55",
75
- "@things-factory/evaluation": "^9.0.0-beta.52",
76
- "@things-factory/export-ui": "^9.0.0-beta.52",
77
- "@things-factory/help": "^9.0.0-beta.52",
78
- "@things-factory/i18n-base": "^9.0.0-beta.55",
79
- "@things-factory/integration-email": "^9.0.0-beta.55",
80
- "@things-factory/integration-headless": "^9.0.0-beta.55",
81
- "@things-factory/integration-influxdb": "^9.0.0-beta.55",
82
- "@things-factory/integration-melsec": "^9.0.0-beta.55",
83
- "@things-factory/integration-modbus": "^9.0.0-beta.55",
84
- "@things-factory/integration-opc": "^9.0.0-beta.55",
85
- "@things-factory/integration-qdrant": "^9.0.0-beta.55",
86
- "@things-factory/integration-ui": "^9.0.0-beta.55",
87
- "@things-factory/integration-weather": "^9.0.0-beta.55",
88
- "@things-factory/lite-menu": "^9.0.0-beta.55",
89
- "@things-factory/more-ui": "^9.0.0-beta.52",
90
- "@things-factory/notification": "^9.0.0-beta.55",
91
- "@things-factory/oauth2-client": "^9.0.0-beta.55",
92
- "@things-factory/print-ui": "^9.0.0-beta.55",
93
- "@things-factory/resource-ui": "^9.0.0-beta.55",
94
- "@things-factory/scheduler": "^9.0.0-beta.55",
95
- "@things-factory/setting-base": "^9.0.0-beta.55",
96
- "@things-factory/setting-ui": "^9.0.0-beta.55",
97
- "@things-factory/shell": "^9.0.0-beta.52",
98
- "@things-factory/system": "^9.0.0-beta.52",
99
- "@things-factory/weather": "^9.0.0-beta.56"
68
+ "@things-factory/api": "^9.0.0-beta.58",
69
+ "@things-factory/apptool-ui": "^9.0.0-beta.58",
70
+ "@things-factory/auth-ui": "^9.0.0-beta.58",
71
+ "@things-factory/board-service": "^9.0.0-beta.58",
72
+ "@things-factory/board-ui": "^9.0.0-beta.58",
73
+ "@things-factory/context-ui": "^9.0.0-beta.58",
74
+ "@things-factory/dashboard": "^9.0.0-beta.58",
75
+ "@things-factory/evaluation": "^9.0.0-beta.58",
76
+ "@things-factory/export-ui": "^9.0.0-beta.58",
77
+ "@things-factory/help": "^9.0.0-beta.58",
78
+ "@things-factory/i18n-base": "^9.0.0-beta.58",
79
+ "@things-factory/integration-email": "^9.0.0-beta.58",
80
+ "@things-factory/integration-headless": "^9.0.0-beta.58",
81
+ "@things-factory/integration-influxdb": "^9.0.0-beta.58",
82
+ "@things-factory/integration-melsec": "^9.0.0-beta.58",
83
+ "@things-factory/integration-modbus": "^9.0.0-beta.58",
84
+ "@things-factory/integration-opc": "^9.0.0-beta.58",
85
+ "@things-factory/integration-qdrant": "^9.0.0-beta.58",
86
+ "@things-factory/integration-ui": "^9.0.0-beta.58",
87
+ "@things-factory/integration-weather": "^9.0.0-beta.58",
88
+ "@things-factory/lite-menu": "^9.0.0-beta.58",
89
+ "@things-factory/more-ui": "^9.0.0-beta.58",
90
+ "@things-factory/notification": "^9.0.0-beta.58",
91
+ "@things-factory/oauth2-client": "^9.0.0-beta.58",
92
+ "@things-factory/print-ui": "^9.0.0-beta.58",
93
+ "@things-factory/resource-ui": "^9.0.0-beta.58",
94
+ "@things-factory/scheduler": "^9.0.0-beta.58",
95
+ "@things-factory/setting-base": "^9.0.0-beta.58",
96
+ "@things-factory/setting-ui": "^9.0.0-beta.58",
97
+ "@things-factory/shell": "^9.0.0-beta.58",
98
+ "@things-factory/system": "^9.0.0-beta.58",
99
+ "@things-factory/weather": "^9.0.0-beta.58"
100
100
  },
101
101
  "devDependencies": {
102
102
  "@things-factory/builder": "^9.0.0-beta.54"
103
103
  },
104
- "gitHead": "380a995d4b67c40c17f303d2e241f3d3ffaeb4fc"
104
+ "gitHead": "9029a5c2632858e5bf7b2d4d4a22211bb05b07a2"
105
105
  }
package/schema.graphql CHANGED
@@ -532,7 +532,7 @@ type Connection {
532
532
  endpoint: String
533
533
  id: ID!
534
534
  name: String!
535
- params: String
535
+ params: Object
536
536
  state: String
537
537
  type: String
538
538
  updatedAt: DateTimeISO
@@ -552,7 +552,7 @@ input ConnectionPatch {
552
552
  endpoint: String
553
553
  id: ID
554
554
  name: String
555
- params: String
555
+ params: Object
556
556
  type: String
557
557
  }
558
558
 
@@ -723,6 +723,31 @@ input DomainInput {
723
723
  name: String!
724
724
  }
725
725
 
726
+ """Entity for DomainLink representing a connection between two domains"""
727
+ type DomainLink {
728
+ createdAt: DateTimeISO!
729
+ creator: User
730
+ id: ID!
731
+ sourceDomain: Domain!
732
+ targetDomain: Domain!
733
+ type: String!
734
+ updatedAt: DateTimeISO!
735
+ updater: User
736
+ }
737
+
738
+ type DomainLinkList {
739
+ items: [DomainLink!]!
740
+ total: Int!
741
+ }
742
+
743
+ input DomainLinkPatch {
744
+ cuFlag: String
745
+ id: ID!
746
+ sourceDomain: ObjectRef
747
+ targetDomain: ObjectRef
748
+ type: String
749
+ }
750
+
726
751
  type DomainList {
727
752
  items: [Domain!]
728
753
  total: Int
@@ -1628,6 +1653,9 @@ type Mutation {
1628
1653
  """To create domain (Only superuser is granted this privilege.)"""
1629
1654
  createDomain(domainInput: DomainPatch!): Domain!
1630
1655
 
1656
+ """To create new DomainLink"""
1657
+ createDomainLink(domainLink: NewDomainLink!): DomainLink!
1658
+
1631
1659
  """
1632
1660
  Creates a new employee record with the provided details. Optionally associates the employee with a supervisor, department, and system user. If a photo is provided, it will be attached to the employee record.
1633
1661
  """
@@ -1784,6 +1812,12 @@ type Mutation {
1784
1812
  """To delete domain (Only superuser is granted this privilege.)"""
1785
1813
  deleteDomain(name: String!): Domain!
1786
1814
 
1815
+ """To delete DomainLink"""
1816
+ deleteDomainLink(id: String!): Boolean!
1817
+
1818
+ """To delete multiple DomainLinks"""
1819
+ deleteDomainLinks(ids: [String!]!): Boolean!
1820
+
1787
1821
  """To delete domain user"""
1788
1822
  deleteDomainUser(username: String!): Boolean!
1789
1823
 
@@ -2178,6 +2212,9 @@ type Mutation {
2178
2212
  """To update domain (Only superuser is granted this privilege.)"""
2179
2213
  updateDomain(name: String!, patch: DomainPatch!): Domain!
2180
2214
 
2215
+ """To modify DomainLink information"""
2216
+ updateDomainLink(id: String!, patch: DomainLinkPatch!): DomainLink!
2217
+
2181
2218
  """To update multiple domains (Only superuser is granted this privilege.)"""
2182
2219
  updateDomains(patches: [DomainPatch!]!): Boolean!
2183
2220
 
@@ -2241,6 +2278,9 @@ type Mutation {
2241
2278
  """To modify multiple Departments' information"""
2242
2279
  updateMultipleDepartment(patches: [DepartmentPatch!]!): [Department!]!
2243
2280
 
2281
+ """To modify multiple DomainLinks' information"""
2282
+ updateMultipleDomainLink(patches: [DomainLinkPatch!]!): [DomainLink!]!
2283
+
2244
2284
  """
2245
2285
  Updates or creates multiple employee records based on the provided patches. New employees are created if the "cuFlag" is "+", and existing employees are updated if the "cuFlag" is "M".
2246
2286
  """
@@ -2454,7 +2494,7 @@ input NewConnection {
2454
2494
  edge: ObjectRef
2455
2495
  endpoint: String
2456
2496
  name: String!
2457
- params: String
2497
+ params: Object
2458
2498
  type: String
2459
2499
  }
2460
2500
 
@@ -2481,6 +2521,12 @@ input NewDepartment {
2481
2521
  picture: Upload
2482
2522
  }
2483
2523
 
2524
+ input NewDomainLink {
2525
+ sourceDomain: ObjectRef!
2526
+ targetDomain: ObjectRef!
2527
+ type: String!
2528
+ }
2529
+
2484
2530
  input NewEmployee {
2485
2531
  active: Boolean
2486
2532
  alias: String
@@ -3574,6 +3620,9 @@ type Query {
3574
3620
  """To fetch domain"""
3575
3621
  domain(id: String!): Domain!
3576
3622
 
3623
+ """To fetch multiple DomainLinks"""
3624
+ domainLinks(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): DomainLinkList!
3625
+
3577
3626
  """To fetch domain"""
3578
3627
  domainTypes: [String!]!
3579
3628
 
@@ -4267,7 +4316,7 @@ type Step {
4267
4316
  id: ID!
4268
4317
  log: Boolean
4269
4318
  name: String!
4270
- params: String
4319
+ params: Object
4271
4320
 
4272
4321
  """
4273
4322
  A boolean attribute indicating the inclusion status of an element in the result
@@ -4293,7 +4342,7 @@ input StepPatch {
4293
4342
  id: ID
4294
4343
  log: Boolean
4295
4344
  name: String
4296
- params: String
4345
+ params: Object
4297
4346
  result: Boolean
4298
4347
  sequence: Int
4299
4348
  skip: Boolean