@things-factory/operato-ecs 6.1.66 → 6.1.67
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/client/bootstrap.js +7 -0
- package/package.json +6 -6
- package/schema.gql +133 -0
package/client/bootstrap.js
CHANGED
@@ -5,6 +5,7 @@ import { html } from 'lit-html'
|
|
5
5
|
import { registerDefaultGroups } from '@operato/board/register-default-groups.js'
|
6
6
|
import { auth } from '@things-factory/auth-base'
|
7
7
|
import { setAuthManagementMenus } from '@things-factory/auth-ui'
|
8
|
+
import { setupAppToolPart } from '@things-factory/apptool-ui'
|
8
9
|
import { setupMenuPart, updateMenuTemplate } from '@things-factory/lite-menu'
|
9
10
|
import { ADD_MORENDA } from '@things-factory/more-base'
|
10
11
|
import { ADD_SETTING } from '@things-factory/setting-base'
|
@@ -22,6 +23,12 @@ console.log(
|
|
22
23
|
)
|
23
24
|
|
24
25
|
export default function bootstrap() {
|
26
|
+
setupAppToolPart({
|
27
|
+
toolbar: true,
|
28
|
+
busybar: true,
|
29
|
+
mdibar: false
|
30
|
+
})
|
31
|
+
|
25
32
|
setupMenuPart({ hovering: true })
|
26
33
|
updateMenuTemplate([])
|
27
34
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@things-factory/operato-ecs",
|
3
|
-
"version": "6.1.
|
3
|
+
"version": "6.1.67",
|
4
4
|
"main": "dist-server/index.js",
|
5
5
|
"browser": "client/index.js",
|
6
6
|
"things-factory": true,
|
@@ -54,8 +54,8 @@
|
|
54
54
|
"@operato/scene-table": "^1.0.0",
|
55
55
|
"@operato/scene-timer": "^1.0.0",
|
56
56
|
"@things-factory/api": "^6.1.66",
|
57
|
-
"@things-factory/apptool-ui": "^6.1.
|
58
|
-
"@things-factory/auth-ui": "^6.1.
|
57
|
+
"@things-factory/apptool-ui": "^6.1.67",
|
58
|
+
"@things-factory/auth-ui": "^6.1.67",
|
59
59
|
"@things-factory/board-service": "^6.1.66",
|
60
60
|
"@things-factory/board-ui": "^6.1.66",
|
61
61
|
"@things-factory/context-ui": "^6.1.66",
|
@@ -66,11 +66,11 @@
|
|
66
66
|
"@things-factory/integration-melsec": "^6.1.66",
|
67
67
|
"@things-factory/integration-modbus": "^6.1.66",
|
68
68
|
"@things-factory/integration-ui": "^6.1.66",
|
69
|
-
"@things-factory/lite-menu": "^6.1.
|
69
|
+
"@things-factory/lite-menu": "^6.1.67",
|
70
70
|
"@things-factory/more-ui": "^6.1.66",
|
71
71
|
"@things-factory/oauth2-client": "^6.1.66",
|
72
72
|
"@things-factory/print-ui": "^6.1.66",
|
73
|
-
"@things-factory/resource-ui": "^6.1.
|
73
|
+
"@things-factory/resource-ui": "^6.1.67",
|
74
74
|
"@things-factory/setting-base": "^6.1.66",
|
75
75
|
"@things-factory/setting-ui": "^6.1.66",
|
76
76
|
"@things-factory/shell": "^6.1.66",
|
@@ -80,5 +80,5 @@
|
|
80
80
|
"devDependencies": {
|
81
81
|
"@things-factory/builder": "^6.1.66"
|
82
82
|
},
|
83
|
-
"gitHead": "
|
83
|
+
"gitHead": "8c200f0b657dc3bb429325d2ae41fecc2bd840a8"
|
84
84
|
}
|
package/schema.gql
CHANGED
@@ -243,6 +243,43 @@ type BoardSetting {
|
|
243
243
|
value: String!
|
244
244
|
}
|
245
245
|
|
246
|
+
"""Entity for BoardTemplate"""
|
247
|
+
type BoardTemplate {
|
248
|
+
createdAt: Timestamp
|
249
|
+
creator: User
|
250
|
+
description: String
|
251
|
+
domain: Domain
|
252
|
+
id: ID!
|
253
|
+
model: String
|
254
|
+
name: String
|
255
|
+
state: String
|
256
|
+
thumbnail: String
|
257
|
+
updatedAt: Timestamp
|
258
|
+
updater: User
|
259
|
+
version: Float
|
260
|
+
}
|
261
|
+
|
262
|
+
type BoardTemplateList {
|
263
|
+
items: [BoardTemplate!]!
|
264
|
+
total: Int!
|
265
|
+
}
|
266
|
+
|
267
|
+
input BoardTemplatePatch {
|
268
|
+
cuFlag: String
|
269
|
+
description: String
|
270
|
+
id: ID
|
271
|
+
model: String!
|
272
|
+
name: String
|
273
|
+
state: BoardTemplateStatus
|
274
|
+
thumbnail: String
|
275
|
+
}
|
276
|
+
|
277
|
+
"""state enumeration of a boardTemplate"""
|
278
|
+
enum BoardTemplateStatus {
|
279
|
+
DRAFT
|
280
|
+
RELEASED
|
281
|
+
}
|
282
|
+
|
246
283
|
"""Entity for CommonCode"""
|
247
284
|
type CommonCode {
|
248
285
|
createdAt: Timestamp
|
@@ -1132,6 +1169,9 @@ type Mutation {
|
|
1132
1169
|
"""To create new Board"""
|
1133
1170
|
createBoard(board: NewBoard!): Board!
|
1134
1171
|
|
1172
|
+
"""To create new BoardTemplate"""
|
1173
|
+
createBoardTemplate(boardTemplate: NewBoardTemplate!): BoardTemplate!
|
1174
|
+
|
1135
1175
|
"""To create new CommonCode"""
|
1136
1176
|
createCommonCode(commonCode: NewCommonCode!): CommonCode!
|
1137
1177
|
|
@@ -1201,6 +1241,9 @@ type Mutation {
|
|
1201
1241
|
"""To create new Terminology"""
|
1202
1242
|
createTerminology(terminology: NewTerminology!): Terminology!
|
1203
1243
|
|
1244
|
+
"""To create new Theme"""
|
1245
|
+
createTheme(theme: NewTheme!): Theme!
|
1246
|
+
|
1204
1247
|
"""To create new user"""
|
1205
1248
|
createUser(user: NewUser!): User!
|
1206
1249
|
deleteAppBinding(id: String!): Boolean!
|
@@ -1222,6 +1265,9 @@ type Mutation {
|
|
1222
1265
|
"""To delete Board"""
|
1223
1266
|
deleteBoard(id: String!): Boolean!
|
1224
1267
|
|
1268
|
+
"""To delete BoardTemplate"""
|
1269
|
+
deleteBoardTemplate(id: String!): Boolean!
|
1270
|
+
|
1225
1271
|
"""To delete CommonCode"""
|
1226
1272
|
deleteCommonCode(id: String!): Boolean!
|
1227
1273
|
|
@@ -1354,6 +1400,12 @@ type Mutation {
|
|
1354
1400
|
"""To delete Terminology"""
|
1355
1401
|
deleteTerminology(id: String!): Boolean!
|
1356
1402
|
|
1403
|
+
"""To delete Theme"""
|
1404
|
+
deleteTheme(id: String!): Boolean!
|
1405
|
+
|
1406
|
+
"""To delete multiple Themes"""
|
1407
|
+
deleteThemes(ids: [String!]!): Boolean!
|
1408
|
+
|
1357
1409
|
"""To delete a user"""
|
1358
1410
|
deleteUser(email: String!): Boolean!
|
1359
1411
|
|
@@ -1408,6 +1460,9 @@ type Mutation {
|
|
1408
1460
|
"""To import multiple Terminologies"""
|
1409
1461
|
importTerminologies(terminologies: [TerminologyPatch!]!): Boolean!
|
1410
1462
|
|
1463
|
+
"""To import multiple Themes"""
|
1464
|
+
importThemes(themes: [ThemePatch!]!): Boolean!
|
1465
|
+
|
1411
1466
|
"""To inactivate user"""
|
1412
1467
|
inactivateUser(userId: String!): Boolean!
|
1413
1468
|
inviteCustomer(customerDomainName: String!): Boolean!
|
@@ -1469,6 +1524,9 @@ type Mutation {
|
|
1469
1524
|
"""To modify Board information"""
|
1470
1525
|
updateBoard(id: String!, patch: BoardPatch!): Board!
|
1471
1526
|
|
1527
|
+
"""To modify BoardTemplate information"""
|
1528
|
+
updateBoardTemplate(id: String!, patch: BoardTemplatePatch!): BoardTemplate!
|
1529
|
+
|
1472
1530
|
"""To modify CommonCode information"""
|
1473
1531
|
updateCommonCode(name: String!, patch: CommonCodePatch!): CommonCode!
|
1474
1532
|
|
@@ -1556,6 +1614,9 @@ type Mutation {
|
|
1556
1614
|
"""To modify multiple Terminologies' information"""
|
1557
1615
|
updateMultipleTerminologies(patches: [TerminologyPatch!]!): [Terminology!]!
|
1558
1616
|
|
1617
|
+
"""To modify multiple Themes' information"""
|
1618
|
+
updateMultipleTheme(patches: [ThemePatch!]!): [Theme!]!
|
1619
|
+
|
1559
1620
|
"""To modify multiple users information"""
|
1560
1621
|
updateMultipleUser(patches: [UserPatch!]!): [User!]!
|
1561
1622
|
|
@@ -1589,6 +1650,9 @@ type Mutation {
|
|
1589
1650
|
"""To modify Terminology information"""
|
1590
1651
|
updateTerminology(id: String!, patch: TerminologyPatch!): Terminology!
|
1591
1652
|
|
1653
|
+
"""To modify Theme information"""
|
1654
|
+
updateTheme(id: String!, patch: ThemePatch!): Theme!
|
1655
|
+
|
1592
1656
|
"""To modify user information"""
|
1593
1657
|
updateUser(email: String!, patch: UserPatch!): User!
|
1594
1658
|
|
@@ -1639,6 +1703,14 @@ input NewBoard {
|
|
1639
1703
|
thumbnail: String
|
1640
1704
|
}
|
1641
1705
|
|
1706
|
+
input NewBoardTemplate {
|
1707
|
+
description: String
|
1708
|
+
model: String!
|
1709
|
+
name: String!
|
1710
|
+
state: BoardTemplateStatus
|
1711
|
+
thumbnail: String
|
1712
|
+
}
|
1713
|
+
|
1642
1714
|
input NewCommonCode {
|
1643
1715
|
description: String
|
1644
1716
|
details: [String!]
|
@@ -1954,6 +2026,13 @@ input NewTerminology {
|
|
1954
2026
|
name: String!
|
1955
2027
|
}
|
1956
2028
|
|
2029
|
+
input NewTheme {
|
2030
|
+
description: String
|
2031
|
+
name: String!
|
2032
|
+
type: String
|
2033
|
+
value: Object
|
2034
|
+
}
|
2035
|
+
|
1957
2036
|
input NewUser {
|
1958
2037
|
description: String
|
1959
2038
|
email: String!
|
@@ -2221,6 +2300,18 @@ type Query {
|
|
2221
2300
|
"""To fetch a BoardSettings"""
|
2222
2301
|
boardSettings(names: [String!]): [BoardSetting!]!
|
2223
2302
|
|
2303
|
+
"""To fetch a BoardTemplate"""
|
2304
|
+
boardTemplate(id: String!): BoardTemplate
|
2305
|
+
|
2306
|
+
"""To fetch a BoardTemplate by name"""
|
2307
|
+
boardTemplateByName(name: String!): BoardTemplate
|
2308
|
+
|
2309
|
+
"""To fetch multiple BoardTemplates"""
|
2310
|
+
boardTemplates(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): BoardTemplateList!
|
2311
|
+
|
2312
|
+
"""To fetch BoardTemplates created by me"""
|
2313
|
+
boardTemplatesCreatedByMe(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): BoardTemplateList!
|
2314
|
+
|
2224
2315
|
"""To fetch multiple Boards"""
|
2225
2316
|
boards(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): BoardList!
|
2226
2317
|
|
@@ -2445,6 +2536,12 @@ type Query {
|
|
2445
2536
|
"""To fetch a Terminology"""
|
2446
2537
|
terminology(id: String!): Terminology!
|
2447
2538
|
|
2539
|
+
"""To fetch a Theme"""
|
2540
|
+
theme(id: String!): Theme
|
2541
|
+
|
2542
|
+
"""To fetch multiple Themes"""
|
2543
|
+
themes(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): ThemeList!
|
2544
|
+
|
2448
2545
|
"""To fetch user"""
|
2449
2546
|
user(email: String!): User!
|
2450
2547
|
|
@@ -2523,6 +2620,7 @@ type ScenarioInstance {
|
|
2523
2620
|
instanceName: String
|
2524
2621
|
message: String
|
2525
2622
|
progress: ScenarioInstanceProgress
|
2623
|
+
result: Object
|
2526
2624
|
root: ScenarioInstance
|
2527
2625
|
scenarioName: String
|
2528
2626
|
state: String
|
@@ -2633,6 +2731,11 @@ type Step {
|
|
2633
2731
|
log: Boolean
|
2634
2732
|
name: String!
|
2635
2733
|
params: String
|
2734
|
+
|
2735
|
+
"""
|
2736
|
+
a boolean attribute indicating the inclusion status of an element in the result
|
2737
|
+
"""
|
2738
|
+
result: Boolean
|
2636
2739
|
scenario: Scenario
|
2637
2740
|
sequence: Float
|
2638
2741
|
skip: Boolean
|
@@ -2654,6 +2757,7 @@ input StepPatch {
|
|
2654
2757
|
log: Boolean
|
2655
2758
|
name: String
|
2656
2759
|
params: String
|
2760
|
+
result: Boolean
|
2657
2761
|
sequence: Int
|
2658
2762
|
skip: Boolean
|
2659
2763
|
task: String
|
@@ -2711,6 +2815,35 @@ input TerminologyPatch {
|
|
2711
2815
|
name: String
|
2712
2816
|
}
|
2713
2817
|
|
2818
|
+
"""Entity for Theme"""
|
2819
|
+
type Theme {
|
2820
|
+
createdAt: Timestamp
|
2821
|
+
creator: User
|
2822
|
+
deletedAt: Timestamp
|
2823
|
+
description: String
|
2824
|
+
domain: Domain
|
2825
|
+
id: ID!
|
2826
|
+
name: String
|
2827
|
+
type: String
|
2828
|
+
updatedAt: Timestamp
|
2829
|
+
updater: User
|
2830
|
+
value: Object
|
2831
|
+
}
|
2832
|
+
|
2833
|
+
type ThemeList {
|
2834
|
+
items: [Theme!]!
|
2835
|
+
total: Int!
|
2836
|
+
}
|
2837
|
+
|
2838
|
+
input ThemePatch {
|
2839
|
+
cuFlag: String
|
2840
|
+
description: String
|
2841
|
+
id: ID
|
2842
|
+
name: String
|
2843
|
+
type: String
|
2844
|
+
value: Object
|
2845
|
+
}
|
2846
|
+
|
2714
2847
|
"""
|
2715
2848
|
The javascript `Date` as integer. Type represents date and time as number of milliseconds from start of UNIX epoch.
|
2716
2849
|
"""
|