@hatiolab/things-scene 3.4.24 → 3.4.25

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": "3.4.24",
3
+ "version": "3.4.25",
4
4
  "description": "2D graphic library",
5
5
  "main": "src/index.js",
6
6
  "module": "things-scene.mjs",
package/schema.graphql CHANGED
@@ -413,13 +413,14 @@ type BoardTemplate {
413
413
  description: String
414
414
  domain: Domain
415
415
  id: ID!
416
+ mine: Boolean!
416
417
  model: String
417
418
  name: String
418
- state: String
419
+ tags: Object
419
420
  thumbnail: String
420
421
  updatedAt: DateTimeISO
421
422
  updater: User
422
- version: Float
423
+ visibility: String
423
424
  }
424
425
 
425
426
  type BoardTemplateList {
@@ -431,16 +432,10 @@ input BoardTemplatePatch {
431
432
  cuFlag: String
432
433
  description: String
433
434
  id: ID
434
- model: String!
435
+ model: String
435
436
  name: String
436
- state: BoardTemplateStatus
437
437
  thumbnail: String
438
- }
439
-
440
- """state enumeration of a boardTemplate"""
441
- enum BoardTemplateStatus {
442
- DRAFT
443
- RELEASED
438
+ visibility: String
444
439
  }
445
440
 
446
441
  input ChatCompletionInput {
@@ -1943,7 +1938,22 @@ type Mutation {
1943
1938
  """To refresh oauth2 access token"""
1944
1939
  refreshOauth2AccessToken(id: String!): Oauth2Client!
1945
1940
 
1946
- """To release Board information"""
1941
+ """To register a board as a board template with the given ID"""
1942
+ registerBoardAsTemplate(
1943
+ """description of board template to be regiestered"""
1944
+ description: String!
1945
+
1946
+ """board Id to be regiestered"""
1947
+ id: String!
1948
+
1949
+ """name of board template to be regiestered"""
1950
+ name: String!
1951
+
1952
+ """visibility of board template to be regiestered"""
1953
+ visibility: String!
1954
+ ): BoardTemplate!
1955
+
1956
+ """To release a Board"""
1947
1957
  releaseBoard(id: String!): Board!
1948
1958
  renewApplicationAccessToken(id: String!, scope: String!): AccessToken!
1949
1959
 
@@ -2249,11 +2259,11 @@ input NewBoard {
2249
2259
  }
2250
2260
 
2251
2261
  input NewBoardTemplate {
2252
- description: String
2262
+ description: String!
2253
2263
  model: String!
2254
2264
  name: String!
2255
- state: BoardTemplateStatus
2256
2265
  thumbnail: String
2266
+ visibility: String!
2257
2267
  }
2258
2268
 
2259
2269
  input NewCommonCode {
@@ -3163,9 +3173,6 @@ type Query {
3163
3173
  """To fetch a BoardTemplate"""
3164
3174
  boardTemplate(id: String!): BoardTemplate
3165
3175
 
3166
- """To fetch a BoardTemplate by name"""
3167
- boardTemplateByName(name: String!): BoardTemplate
3168
-
3169
3176
  """To fetch multiple BoardTemplates"""
3170
3177
  boardTemplates(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): BoardTemplateList!
3171
3178
 
@@ -3427,7 +3434,7 @@ type Query {
3427
3434
  """To fetch Menus by role"""
3428
3435
  roleMenus(roleId: String!): MenuList!
3429
3436
 
3430
- """To fetch priviliges of a role"""
3437
+ """To fetch privileges of a role"""
3431
3438
  rolePrivileges(roleId: String!): [RolePrivilege!]!
3432
3439
 
3433
3440
  """To fetch multiple users"""