@fmsim/fmsim 2.0.0-beta.2 → 2.0.0-beta.21

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fmsim/fmsim",
3
- "version": "2.0.0-beta.2",
3
+ "version": "2.0.0-beta.21",
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.2",
44
- "@fmsim/machine": "^2.0.0-beta.2",
43
+ "@fmsim/layout-view": "^2.0.0-beta.21",
44
+ "@fmsim/machine": "^2.0.0-beta.21",
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",
@@ -71,12 +71,12 @@
71
71
  "pretendard": "^1.3.9"
72
72
  },
73
73
  "devDependencies": {
74
- "@fmsim/builder": "^2.0.0-beta.2",
74
+ "@fmsim/builder": "^2.0.0-beta.13",
75
75
  "copyfiles": "^2.4.1",
76
76
  "typescript": "^5.8.2"
77
77
  },
78
78
  "resolutions": {
79
79
  "lit": "^3.0.0"
80
80
  },
81
- "gitHead": "7060921dd4d60b781b7bc6951728ff7775cecfa9"
81
+ "gitHead": "06d28b14fe5c3c75fc97657cfecdef2656647c6c"
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
 
@@ -4798,8 +4811,14 @@ type Query {
4798
4811
  sortings: [Sorting!]
4799
4812
  ): AuthProviderList!
4800
4813
 
4801
- """Finds a single board by its ID."""
4802
- board(id: String!): Board!
4814
+ """
4815
+ Finds a single board by its ID. If cachedUpdatedAt matches, model is omitted.
4816
+ """
4817
+ board(
4818
+ """Client cache timestamp — if matches, model field is omitted"""
4819
+ cachedUpdatedAt: String
4820
+ id: String!
4821
+ ): Board!
4803
4822
 
4804
4823
  """Finds a single board by its name."""
4805
4824
  boardByName(name: String!): Board
@@ -4873,6 +4892,11 @@ type Query {
4873
4892
  sortings: [Sorting!]
4874
4893
  ): BoardList!
4875
4894
 
4895
+ """
4896
+ Retrieves boards that have been updated or soft-deleted since the given timestamp.
4897
+ """
4898
+ boardsUpdatedSince(since: DateTimeISO!): [Board!]!
4899
+
4876
4900
  """
4877
4901
  Checks if the system is configured to provide a default password for new users.
4878
4902
  """
@@ -27,7 +27,6 @@
27
27
 
28
28
  <script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js"></script>
29
29
 
30
- <script src="/fmsim/node_modules/@hatiolab/things-scene/things-scene-min.js"></script>
31
30
  <script src="/fmsim/scene-viewer.js"></script>
32
31
  </head>
33
32
  <body>
@@ -48,7 +48,6 @@
48
48
  })
49
49
  }
50
50
  </script>
51
- <script src="/fmsim/node_modules/@hatiolab/things-scene/things-scene-min.js"></script>
52
51
  <script src="/fmsim/headless-scene-components.js"></script>
53
52
 
54
53
  <script>
@@ -45,7 +45,6 @@
45
45
  })
46
46
  }
47
47
  </script>
48
- <script src="/fmsim/node_modules/@hatiolab/things-scene/things-scene-min.js"></script>
49
48
  <script src="/fmsim/headless-scene-components.js"></script>
50
49
 
51
50
  <script>