@fmsim/fmsim 2.0.0-beta.16 → 2.0.0-beta.18

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 +4 -4
  2. package/schema.graphql +13 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fmsim/fmsim",
3
- "version": "2.0.0-beta.16",
3
+ "version": "2.0.0-beta.18",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -40,8 +40,8 @@
40
40
  "docker:push": "docker image push hatiolab/fmsim:latest && docker image push hatiolab/fmsim:$npm_package_version"
41
41
  },
42
42
  "dependencies": {
43
- "@fmsim/layout-view": "^2.0.0-beta.16",
44
- "@fmsim/machine": "^2.0.0-beta.16",
43
+ "@fmsim/layout-view": "^2.0.0-beta.18",
44
+ "@fmsim/machine": "^2.0.0-beta.18",
45
45
  "@operato/attachment": "^10.0.0-beta.1",
46
46
  "@operato/font": "^10.0.0-beta.1",
47
47
  "@operato/i18n": "^10.0.0-beta.1",
@@ -78,5 +78,5 @@
78
78
  "resolutions": {
79
79
  "lit": "^3.0.0"
80
80
  },
81
- "gitHead": "a3f4bdd7ca8e90da547a0bfa678afe1d02459139"
81
+ "gitHead": "1e1c7fe078b5fdcf2b1396b57540b8440bfaa0b5"
82
82
  }
package/schema.graphql CHANGED
@@ -655,6 +655,11 @@ type Board {
655
655
  """A list of play groups that this board is a part of."""
656
656
  playGroups: [PlayGroup!]
657
657
 
658
+ """
659
+ Sort order for display. Lower values appear first. Supports fractional values for insertion.
660
+ """
661
+ sortOrder: Float
662
+
658
663
  """The state of the board, can be 'draft' or 'released'."""
659
664
  state: String
660
665
 
@@ -706,6 +711,11 @@ type BoardFavorite {
706
711
  """A list of play groups that this board is a part of."""
707
712
  playGroups: [PlayGroup!]
708
713
 
714
+ """
715
+ Sort order for display. Lower values appear first. Supports fractional values for insertion.
716
+ """
717
+ sortOrder: Float
718
+
709
719
  """The state of the board, can be 'draft' or 'released'."""
710
720
  state: String
711
721
 
@@ -2970,6 +2980,9 @@ type Mutation {
2970
2980
  releaseBoard(id: String!): Board!
2971
2981
  renewApplicationAccessToken(id: String!, scope: String!): AccessToken!
2972
2982
 
2983
+ """Updates the sortOrder of a single board."""
2984
+ reorderBoard(id: String!, sortOrder: Float!): Boolean!
2985
+
2973
2986
  """Sets the custom playback order for boards in a play group."""
2974
2987
  reorderPlayGroup(boardIds: [String!]!, id: String!): PlayGroup!
2975
2988