@things-factory/operato-board 6.4.10 → 6.4.11

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 +3 -3
  2. package/schema.graphql +15 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-board",
3
- "version": "6.4.10",
3
+ "version": "6.4.11",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -93,7 +93,7 @@
93
93
  "@things-factory/auth-google": "^6.4.10",
94
94
  "@things-factory/auth-ui": "^6.4.10",
95
95
  "@things-factory/board-service": "^6.4.10",
96
- "@things-factory/board-ui": "^6.4.10",
96
+ "@things-factory/board-ui": "^6.4.11",
97
97
  "@things-factory/context-ui": "^6.4.10",
98
98
  "@things-factory/export-ui": "^6.4.10",
99
99
  "@things-factory/fav-base": "^6.4.10",
@@ -127,5 +127,5 @@
127
127
  "resolutions": {
128
128
  "lit": "^3.0.0"
129
129
  },
130
- "gitHead": "ef124bc42c95ec3466f8ee03f7cffd5318aeb20c"
130
+ "gitHead": "214d69ab981d797511e32238465507220cbbb5e7"
131
131
  }
package/schema.graphql CHANGED
@@ -3212,8 +3212,14 @@ type Query {
3212
3212
  """To fetch multiple AuthProviders"""
3213
3213
  authProviders(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): AuthProviderList!
3214
3214
 
3215
- """To fetch a board"""
3216
- board(id: String!): Board!
3215
+ """
3216
+ Finds a single board by its ID. If cachedUpdatedAt matches, model is omitted.
3217
+ """
3218
+ board(
3219
+ """Client cache timestamp — if matches, model field is omitted"""
3220
+ cachedUpdatedAt: String
3221
+ id: String!
3222
+ ): Board!
3217
3223
 
3218
3224
  """To fetch a Board Model by name"""
3219
3225
  boardByName(name: String!): Board
@@ -3418,8 +3424,8 @@ type Query {
3418
3424
  """To fetch my notifications"""
3419
3425
  myNotifications(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): NotificationList!
3420
3426
 
3421
- """To fetch roles of current user"""
3422
- myRoles: [Role!]!
3427
+ """To fetch roles of current user (id, name only)"""
3428
+ myRoles: [RoleBrief!]!
3423
3429
 
3424
3430
  """To fetch a Notification"""
3425
3431
  notification(id: String!): Notification
@@ -3576,6 +3582,11 @@ type Role {
3576
3582
  users: [User!]
3577
3583
  }
3578
3584
 
3585
+ type RoleBrief {
3586
+ id: String
3587
+ name: String
3588
+ }
3589
+
3579
3590
  type RoleList {
3580
3591
  items: [Role!]
3581
3592
  total: Int