@hatiolab/things-scene 3.4.15 → 3.4.17

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.15",
3
+ "version": "3.4.17",
4
4
  "description": "2D graphic library",
5
5
  "main": "src/index.js",
6
6
  "module": "things-scene.mjs",
package/schema.gql CHANGED
@@ -317,6 +317,24 @@ type BoardFavoriteList {
317
317
  total: Int!
318
318
  }
319
319
 
320
+ """History Entity of Board"""
321
+ type BoardHistory {
322
+ createdAt: Timestamp
323
+ creator: User
324
+ deletedAt: Timestamp
325
+ description: String
326
+ domain: Domain
327
+ group: Group
328
+ id: ID!
329
+ model: String
330
+ name: String!
331
+ playGroups: [PlayGroup!]
332
+ thumbnail: String
333
+ updatedAt: Timestamp
334
+ updater: User
335
+ version: Float
336
+ }
337
+
320
338
  type BoardList {
321
339
  items: [Board!]!
322
340
  total: Int!
@@ -462,7 +480,7 @@ type ConnectionList {
462
480
 
463
481
  input ConnectionPatch {
464
482
  active: Boolean
465
- cuFlag: String!
483
+ cuFlag: String
466
484
  description: String
467
485
  endpoint: String
468
486
  id: ID
@@ -1420,7 +1438,7 @@ type Mutation {
1420
1438
  cancelInvitation(email: String!, reference: String!, type: String!): Boolean!
1421
1439
 
1422
1440
  """To clone a Board from existing Board"""
1423
- cloneBoard(id: String!, patch: BoardPatch!): Board!
1441
+ cloneBoard(id: String!, patch: BoardPatch!, targetGroupId: String!, targetSubdomain: String!): Board!
1424
1442
 
1425
1443
  """To connect a connection"""
1426
1444
  connectConnection(name: String!): Connection!
@@ -1775,15 +1793,24 @@ type Mutation {
1775
1793
  """To import multiple ApprovalLines"""
1776
1794
  importApprovalLines(approvalLines: [ApprovalLinePatch!]!): Boolean!
1777
1795
 
1796
+ """To import some Attachments"""
1797
+ importAttachments(file: Upload!): [Attachment!]!
1798
+
1778
1799
  """To import multiple AttributeSets"""
1779
1800
  importAttributeSets(attributes: [AttributeSetPatch!]!): Boolean!
1780
1801
 
1802
+ """To import some Boards"""
1803
+ importBoards(files: [Upload!]!, groupId: String!, overwrite: Boolean!): [Board!]!
1804
+
1781
1805
  """To import multiple CommonCodeDetails"""
1782
1806
  importCommonCodeDetails(commonCodeDetails: [CommonCodeDetailPatch!]!): Boolean!
1783
1807
 
1784
1808
  """To import multiple CommonCodes"""
1785
1809
  importCommonCodes(commonCodes: [CommonCodePatch!]!): Boolean!
1786
1810
 
1811
+ """To import multiple connections"""
1812
+ importConnections(connections: [ConnectionPatch!]!): Boolean!
1813
+
1787
1814
  """To import multiple Contacts"""
1788
1815
  importContacts(contacts: [ContactPatch!]!): Boolean!
1789
1816
 
@@ -1850,9 +1877,15 @@ type Mutation {
1850
1877
  releaseBoard(id: String!): Board!
1851
1878
  renewApplicationAccessToken(id: String!, scope: String!): AccessToken!
1852
1879
 
1880
+ """To modify board order of a PlayGroup"""
1881
+ reorderPlayGroup(boardIds: [String!]!, id: String!): PlayGroup!
1882
+
1853
1883
  """To reset password to default"""
1854
1884
  resetPasswordToDefault(userId: String!): Boolean!
1855
1885
 
1886
+ """To revert Board version"""
1887
+ revertBoardVersion(id: String!, version: Float!): Board!
1888
+
1856
1889
  """
1857
1890
  To run new scenario instance and will return the result after the scenario stop.
1858
1891
  """
@@ -3022,6 +3055,9 @@ type Query {
3022
3055
  """Board Usage Permissions"""
3023
3056
  boardPermissions: [String!]!
3024
3057
 
3058
+ """To fetch the latest Board published"""
3059
+ boardPublished(id: String!): BoardHistory!
3060
+
3025
3061
  """To fetch a BoardTemplate"""
3026
3062
  boardTemplate(id: String!): BoardTemplate
3027
3063
 
@@ -3034,6 +3070,9 @@ type Query {
3034
3070
  """To fetch BoardTemplates created by me"""
3035
3071
  boardTemplatesCreatedByMe(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): BoardTemplateList!
3036
3072
 
3073
+ """To fetch a Board Versions"""
3074
+ boardVersions(id: String!): [BoardHistory!]!
3075
+
3037
3076
  """To fetch multiple Boards"""
3038
3077
  boards(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): BoardList!
3039
3078
 
@@ -3107,6 +3146,9 @@ type Query {
3107
3146
  """To fetch all domains (Only superuser is granted this privilege.)"""
3108
3147
  domains(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): DomainList!
3109
3148
 
3149
+ """To fetch domains with given privilege for user"""
3150
+ domainsWithPrivilege(category: String!, name: String!): [Domain!]!
3151
+
3110
3152
  """To fetch a Employee"""
3111
3153
  employee(id: String!): Employee
3112
3154
 
@@ -3256,6 +3298,9 @@ type Query {
3256
3298
  """To fetch a PlayGroup"""
3257
3299
  playGroup(id: String!): PlayGroup
3258
3300
 
3301
+ """To fetch a PlayGroup by name"""
3302
+ playGroupByName(name: String!): PlayGroup
3303
+
3259
3304
  """To fetch multiple PlayGroups"""
3260
3305
  playGroups(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PlayGroupList!
3261
3306
 
@@ -3420,6 +3465,7 @@ type ScenarioInstance {
3420
3465
  scenarioName: String
3421
3466
  state: String
3422
3467
  timestamp: Timestamp
3468
+ user: User
3423
3469
  variables: Object
3424
3470
  }
3425
3471