@hatiolab/things-scene 8.0.0-beta.0 → 9.0.0-beta.0

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/db.sqlite CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hatiolab/things-scene",
3
- "version": "8.0.0-beta.0",
3
+ "version": "9.0.0-beta.0",
4
4
  "description": "2D graphic library",
5
5
  "main": "src/index.js",
6
6
  "module": "things-scene.mjs",
@@ -48,8 +48,8 @@
48
48
  "@babel/register": "^7.17.7",
49
49
  "@rollup/plugin-commonjs": "^22.0.2",
50
50
  "@rollup/plugin-node-resolve": "^14.1.0",
51
- "@things-factory/builder": "^8.0.0-alpha",
52
- "@things-factory/operato-board": "^8.0.0-alpha",
51
+ "@things-factory/builder": "^9.0.0-beta",
52
+ "@things-factory/operato-board": "^9.0.0-beta",
53
53
  "atob": "^2.1.2",
54
54
  "babel-eslint": "^10.1.0",
55
55
  "babel-jest": "^29.0.3",
package/schema.graphql CHANGED
@@ -40,6 +40,7 @@ type AppBinding {
40
40
  updatedAt: DateTimeISO
41
41
  updater: User!
42
42
  userType: String
43
+ username: String
43
44
  usersAuthProviders: [UsersAuthProviders!]
44
45
  }
45
46
 
@@ -1509,7 +1510,7 @@ input MenuPatch {
1509
1510
 
1510
1511
  type Mutation {
1511
1512
  """To activate user"""
1512
- activateUser(userId: String!): Boolean!
1513
+ activateUser(username: String!): Boolean!
1513
1514
 
1514
1515
  """
1515
1516
  Attaches an existing contact to an employee. The contact is identified by its ID and the employee is identified by their ID.
@@ -1730,7 +1731,7 @@ type Mutation {
1730
1731
  deleteDomain(name: String!): Domain!
1731
1732
 
1732
1733
  """To delete domain user"""
1733
- deleteDomainUser(email: EmailAddress!): Boolean!
1734
+ deleteDomainUser(username: String!): Boolean!
1734
1735
 
1735
1736
  """To delete multiple domains (Only superuser is granted this privilege.)"""
1736
1737
  deleteDomains(names: [String!]!): Boolean!
@@ -1911,7 +1912,7 @@ type Mutation {
1911
1912
  deleteThemes(ids: [String!]!): Boolean!
1912
1913
 
1913
1914
  """To delete a user"""
1914
- deleteUser(email: EmailAddress!): Boolean!
1915
+ deleteUser(username: String!): Boolean!
1915
1916
 
1916
1917
  """To delete UserPreference"""
1917
1918
  deleteUserPreference(id: String!): Boolean!
@@ -1920,7 +1921,7 @@ type Mutation {
1920
1921
  deleteUserPreferences(ids: [String!]!): Boolean!
1921
1922
 
1922
1923
  """To delete some users"""
1923
- deleteUsers(emails: [String!]!): Boolean!
1924
+ deleteUsers(usernames: [String!]!): Boolean!
1924
1925
 
1925
1926
  """
1926
1927
  Detaches an existing contact from an employee. The employee is identified by their ID.
@@ -2014,11 +2015,11 @@ type Mutation {
2014
2015
  importThemes(themes: [ThemePatch!]!): Boolean!
2015
2016
 
2016
2017
  """To inactivate user"""
2017
- inactivateUser(userId: String!): Boolean!
2018
+ inactivateUser(username: String!): Boolean!
2018
2019
  inviteCustomer(customerDomainName: String!): Boolean!
2019
2020
 
2020
2021
  """To invite new user"""
2021
- inviteUser(email: EmailAddress!): Boolean!
2022
+ inviteUser(username: String!): Boolean!
2022
2023
 
2023
2024
  """To make the board to join the group"""
2024
2025
  joinGroup(boardIds: [String!]!, id: String!): Group!
@@ -2065,7 +2066,7 @@ type Mutation {
2065
2066
  reorderPlayGroup(boardIds: [String!]!, id: String!): PlayGroup!
2066
2067
 
2067
2068
  """To reset password to default"""
2068
- resetPasswordToDefault(userId: String!): Boolean!
2069
+ resetPasswordToDefault(username: String!): Boolean!
2069
2070
 
2070
2071
  """To revert Board version"""
2071
2072
  revertBoardVersion(id: String!, version: Float!): Board!
@@ -2105,7 +2106,7 @@ type Mutation {
2105
2106
  terminateContract(partnerName: String!): Boolean!
2106
2107
 
2107
2108
  """To transfer owner of domain"""
2108
- transferOwner(email: EmailAddress!): Boolean!
2109
+ transferOwner(username: String!): Boolean!
2109
2110
  unregisterSchedule(handle: ID!): Boolean!
2110
2111
  updateAppliance(id: String!, patch: AppliancePatch!): Appliance!
2111
2112
  updateApplication(id: String!, patch: ApplicationPatch!): Application!
@@ -2337,7 +2338,7 @@ type Mutation {
2337
2338
  updateUserPreference(id: String!, patch: UserPreferencePatch!): UserPreference!
2338
2339
 
2339
2340
  """To update roles for a user"""
2340
- updateUserRoles(availableRoles: [ObjectRef!]!, selectedRoles: [ObjectRef!]!, userId: String!): User!
2341
+ updateUserRoles(availableRoles: [ObjectRef!]!, selectedRoles: [ObjectRef!]!, username: String!): User!
2341
2342
  }
2342
2343
 
2343
2344
  input NewAppliance {
@@ -2892,6 +2893,7 @@ input NewUser {
2892
2893
  password: String
2893
2894
  roles: [ObjectRef!]
2894
2895
  userType: String
2896
+ username: String!
2895
2897
  }
2896
2898
 
2897
2899
  input NewUserByDomainWizardInput {
@@ -4475,6 +4477,7 @@ type User {
4475
4477
  updatedAt: DateTimeISO
4476
4478
  updater: User
4477
4479
  userType: String
4480
+ username: String
4478
4481
  usersAuthProviders: [UsersAuthProviders!]
4479
4482
  }
4480
4483