@things-factory/operato-dataset 7.0.1-rc.0 → 7.0.1-rc.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-dataset",
3
- "version": "7.0.1-rc.0",
3
+ "version": "7.0.1-rc.1",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -63,44 +63,44 @@
63
63
  "@operato/scene-table": "^7.0.0-rc",
64
64
  "@operato/scene-timer": "^7.0.0-rc",
65
65
  "@operato/shell": "^7.0.0-rc",
66
- "@things-factory/api": "^7.0.1-rc.0",
67
- "@things-factory/apptool-base": "^7.0.1-rc.0",
68
- "@things-factory/apptool-ui": "^7.0.1-rc.0",
69
- "@things-factory/auth-base": "^7.0.1-rc.0",
70
- "@things-factory/auth-ui": "^7.0.1-rc.0",
71
- "@things-factory/board-service": "^7.0.1-rc.0",
72
- "@things-factory/board-ui": "^7.0.1-rc.0",
73
- "@things-factory/ccp": "^7.0.1-rc.0",
74
- "@things-factory/context-ui": "^7.0.1-rc.0",
75
- "@things-factory/dashboard": "^7.0.1-rc.0",
76
- "@things-factory/dataset": "^7.0.1-rc.0",
77
- "@things-factory/edge-client": "^7.0.1-rc.0",
78
- "@things-factory/export-ui": "^7.0.1-rc.0",
79
- "@things-factory/help": "^7.0.1-rc.0",
80
- "@things-factory/i18n-base": "^7.0.1-rc.0",
81
- "@things-factory/integration-base": "^7.0.1-rc.0",
82
- "@things-factory/integration-influxdb": "^7.0.1-rc.0",
83
- "@things-factory/integration-msgraph": "^7.0.1-rc.0",
84
- "@things-factory/integration-ui": "^7.0.1-rc.0",
85
- "@things-factory/lite-menu": "^7.0.1-rc.0",
86
- "@things-factory/lock-client": "^7.0.1-rc.0",
87
- "@things-factory/more-base": "^7.0.1-rc.0",
88
- "@things-factory/more-ui": "^7.0.1-rc.0",
89
- "@things-factory/notification": "^7.0.1-rc.0",
90
- "@things-factory/oauth2-client": "^7.0.1-rc.0",
91
- "@things-factory/organization": "^7.0.1-rc.0",
92
- "@things-factory/qc": "^7.0.1-rc.0",
93
- "@things-factory/resource-ui": "^7.0.1-rc.0",
94
- "@things-factory/setting-base": "^7.0.1-rc.0",
95
- "@things-factory/setting-ui": "^7.0.1-rc.0",
96
- "@things-factory/shell": "^7.0.1-rc.0",
97
- "@things-factory/spc": "^7.0.1-rc.0",
98
- "@things-factory/system": "^7.0.1-rc.0",
99
- "@things-factory/work-shift": "^7.0.1-rc.0",
100
- "@things-factory/worklist": "^7.0.1-rc.0"
66
+ "@things-factory/api": "^7.0.1-rc.1",
67
+ "@things-factory/apptool-base": "^7.0.1-rc.1",
68
+ "@things-factory/apptool-ui": "^7.0.1-rc.1",
69
+ "@things-factory/auth-base": "^7.0.1-rc.1",
70
+ "@things-factory/auth-ui": "^7.0.1-rc.1",
71
+ "@things-factory/board-service": "^7.0.1-rc.1",
72
+ "@things-factory/board-ui": "^7.0.1-rc.1",
73
+ "@things-factory/ccp": "^7.0.1-rc.1",
74
+ "@things-factory/context-ui": "^7.0.1-rc.1",
75
+ "@things-factory/dashboard": "^7.0.1-rc.1",
76
+ "@things-factory/dataset": "^7.0.1-rc.1",
77
+ "@things-factory/edge-client": "^7.0.1-rc.1",
78
+ "@things-factory/export-ui": "^7.0.1-rc.1",
79
+ "@things-factory/help": "^7.0.1-rc.1",
80
+ "@things-factory/i18n-base": "^7.0.1-rc.1",
81
+ "@things-factory/integration-base": "^7.0.1-rc.1",
82
+ "@things-factory/integration-influxdb": "^7.0.1-rc.1",
83
+ "@things-factory/integration-msgraph": "^7.0.1-rc.1",
84
+ "@things-factory/integration-ui": "^7.0.1-rc.1",
85
+ "@things-factory/lite-menu": "^7.0.1-rc.1",
86
+ "@things-factory/lock-client": "^7.0.1-rc.1",
87
+ "@things-factory/more-base": "^7.0.1-rc.1",
88
+ "@things-factory/more-ui": "^7.0.1-rc.1",
89
+ "@things-factory/notification": "^7.0.1-rc.1",
90
+ "@things-factory/oauth2-client": "^7.0.1-rc.1",
91
+ "@things-factory/organization": "^7.0.1-rc.1",
92
+ "@things-factory/qc": "^7.0.1-rc.1",
93
+ "@things-factory/resource-ui": "^7.0.1-rc.1",
94
+ "@things-factory/setting-base": "^7.0.1-rc.1",
95
+ "@things-factory/setting-ui": "^7.0.1-rc.1",
96
+ "@things-factory/shell": "^7.0.1-rc.1",
97
+ "@things-factory/spc": "^7.0.1-rc.1",
98
+ "@things-factory/system": "^7.0.1-rc.1",
99
+ "@things-factory/work-shift": "^7.0.1-rc.1",
100
+ "@things-factory/worklist": "^7.0.1-rc.1"
101
101
  },
102
102
  "devDependencies": {
103
103
  "@things-factory/builder": "^7.0.1-rc.0"
104
104
  },
105
- "gitHead": "45476b164b69aef2c211d9a5257897f42d8e2f5f"
105
+ "gitHead": "fa52d291483c4aa913a9c6a9a4463a73058b1b0d"
106
106
  }
package/schema.graphql CHANGED
@@ -2894,6 +2894,9 @@ type Mutation {
2894
2894
  """To create new user"""
2895
2895
  createUser(user: NewUser!): User!
2896
2896
 
2897
+ """To create new UserPreference"""
2898
+ createUserPreference(preference: NewUserPreference!): UserPreference!
2899
+
2897
2900
  """To deactivate installable activity to Activity on given domain"""
2898
2901
  deactivateInstallableActivity(name: String!): Activity!
2899
2902
 
@@ -3090,6 +3093,9 @@ type Mutation {
3090
3093
  """To delete my PagePreference"""
3091
3094
  deleteMyPagePreference(element: String!, page: String!): Boolean!
3092
3095
 
3096
+ """To delete my preference"""
3097
+ deleteMyUserPreference(element: String!, key: String!): Boolean!
3098
+
3093
3099
  """To delete Notification"""
3094
3100
  deleteNotification(id: String!): Boolean!
3095
3101
 
@@ -3177,6 +3183,12 @@ type Mutation {
3177
3183
  """To delete a user"""
3178
3184
  deleteUser(email: EmailAddress!): Boolean!
3179
3185
 
3186
+ """To delete UserPreference"""
3187
+ deleteUserPreference(id: String!): Boolean!
3188
+
3189
+ """To delete multiple UserPreferences"""
3190
+ deleteUserPreferences(ids: [String!]!): Boolean!
3191
+
3180
3192
  """To delete some users"""
3181
3193
  deleteUsers(emails: [String!]!): Boolean!
3182
3194
 
@@ -3368,7 +3380,7 @@ type Mutation {
3368
3380
  """
3369
3381
  To run new scenario instance and will return the result after the scenario stop.
3370
3382
  """
3371
- runScenario(instanceName: String, scenarioName: String!, variables: Object): ScenarioInstance!
3383
+ runScenario(instanceName: String, scenarioName: String!, variables: Object): ScenarioInstanceRunResult!
3372
3384
 
3373
3385
  """To receive the result of runTask"""
3374
3386
  runTaskCallback(result: RunTaskCallbackInput!): Boolean!
@@ -3628,6 +3640,9 @@ type Mutation {
3628
3640
  """To create or update my PagePreference"""
3629
3641
  updateMyPagePreference(element: String!, page: String!, preference: Object!): PagePreference!
3630
3642
 
3643
+ """To create or update my preference"""
3644
+ updateMyUserPreference(key: String!, preference: Object!): UserPreference!
3645
+
3631
3646
  """To modify Notification information"""
3632
3647
  updateNotification(id: String!, patch: NotificationPatch!): Notification!
3633
3648
 
@@ -3682,6 +3697,9 @@ type Mutation {
3682
3697
  """To modify user information"""
3683
3698
  updateUser(email: EmailAddress!, patch: UserPatch!): User!
3684
3699
 
3700
+ """To modify UserPreference information"""
3701
+ updateUserPreference(id: String!, patch: UserPreferencePatch!): UserPreference!
3702
+
3685
3703
  """To update roles for a user"""
3686
3704
  updateUserRoles(availableRoles: [ObjectRef!]!, selectedRoles: [ObjectRef!]!, userId: String!): User!
3687
3705
  }
@@ -4293,6 +4311,7 @@ input NewScenario {
4293
4311
  privilege: PrivilegeInput
4294
4312
  schedule: String
4295
4313
  timezone: String
4314
+ ttl: Float
4296
4315
  type: String
4297
4316
  }
4298
4317
 
@@ -4346,6 +4365,12 @@ input NewUserByDomainWizardInput {
4346
4365
  roles: [NewRole!]!
4347
4366
  }
4348
4367
 
4368
+ input NewUserPreference {
4369
+ key: String!
4370
+ preference: Object!
4371
+ user: ObjectRef!
4372
+ }
4373
+
4349
4374
  """Entity for Notification"""
4350
4375
  type Notification {
4351
4376
  body: String
@@ -5248,6 +5273,12 @@ type Query {
5248
5273
  """To fetch roles of current user"""
5249
5274
  myRoles: [Role!]!
5250
5275
 
5276
+ """To fetch a User's own UserPreference"""
5277
+ myUserPreference(element: String!, key: String!): UserPreference
5278
+
5279
+ """To fetch multiple UserPreferences"""
5280
+ myUserPreferences(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): UserPreferenceList!
5281
+
5251
5282
  """To fetch a Notification"""
5252
5283
  notification(id: String!): Notification
5253
5284
 
@@ -5297,6 +5328,9 @@ type Query {
5297
5328
  """To fetch multiple PlayGroups"""
5298
5329
  playGroups(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PlayGroupList!
5299
5330
 
5331
+ """To fetch a UserPreference"""
5332
+ preference(id: String!): UserPreference
5333
+
5300
5334
  """To fetch a PrinterDevice"""
5301
5335
  printerDevice(id: String!): PrinterDevice!
5302
5336
 
@@ -5519,6 +5553,7 @@ type Scenario {
5519
5553
  state: String
5520
5554
  steps: [Step!]
5521
5555
  timezone: String
5556
+ ttl: Float
5522
5557
  type: String
5523
5558
  updatedAt: DateTimeISO
5524
5559
  updater: User
@@ -5551,6 +5586,17 @@ type ScenarioInstanceProgress {
5551
5586
  steps: Int!
5552
5587
  }
5553
5588
 
5589
+ type ScenarioInstanceRunResult {
5590
+ data: Object
5591
+ instanceName: String
5592
+ message: String
5593
+ result: Object
5594
+ scenarioName: String
5595
+ state: String
5596
+ timestamp: DateTimeISO
5597
+ variables: Object
5598
+ }
5599
+
5554
5600
  type ScenarioInstanceState {
5555
5601
  data: Object
5556
5602
  domain: Domain
@@ -5587,6 +5633,7 @@ input ScenarioPatch {
5587
5633
  schedule: String
5588
5634
  steps: [StepPatch!]
5589
5635
  timezone: String
5636
+ ttl: Float
5590
5637
  type: String
5591
5638
  }
5592
5639
 
@@ -5849,6 +5896,32 @@ input UserPatch {
5849
5896
  userType: String
5850
5897
  }
5851
5898
 
5899
+ """Entity for UserPreference"""
5900
+ type UserPreference {
5901
+ createdAt: DateTimeISO
5902
+ creator: User
5903
+ domain: Domain
5904
+ id: ID!
5905
+ key: String
5906
+ preference: Object
5907
+ updatedAt: DateTimeISO
5908
+ updater: User
5909
+ user: User!
5910
+ }
5911
+
5912
+ type UserPreferenceList {
5913
+ items: [UserPreference!]!
5914
+ total: Int!
5915
+ }
5916
+
5917
+ input UserPreferencePatch {
5918
+ cuFlag: String
5919
+ id: ID
5920
+ key: String!
5921
+ preference: Object!
5922
+ user: ObjectRef!
5923
+ }
5924
+
5852
5925
  type UserRole {
5853
5926
  assigned: Boolean
5854
5927
  description: String