@things-factory/operato-ecs 9.0.0-beta.56 → 9.0.0-beta.57
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.
- package/package.json +2 -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.
|
3
|
+
"version": "9.0.0-beta.57",
|
4
4
|
"main": "dist-server/index.js",
|
5
5
|
"browser": "dist-client/index.js",
|
6
6
|
"things-factory": true,
|
@@ -101,5 +101,5 @@
|
|
101
101
|
"devDependencies": {
|
102
102
|
"@things-factory/builder": "^9.0.0-beta.54"
|
103
103
|
},
|
104
|
-
"gitHead": "
|
104
|
+
"gitHead": "9120e5ede67620b83a0b4b1ba317876a16100df2"
|
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:
|
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:
|
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:
|
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:
|
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:
|
4345
|
+
params: Object
|
4297
4346
|
result: Boolean
|
4298
4347
|
sequence: Int
|
4299
4348
|
skip: Boolean
|