@matchi/api 0.20260826.3 → 0.20260828.1

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.
@@ -1631,7 +1631,9 @@ declare namespace playSessionSettings {
1631
1631
  * * `RIGHT` - The right spot, when each team has two.
1632
1632
  * On a `users` entry (`requestedPosition`) this is the spot the player asked for. It is a preference, not a
1633
1633
  * reservation: it is resolved against the layout when the request is made and again when the player is confirmed
1634
- * or approved, and the player may end up on a different spot if this one was taken meanwhile.
1634
+ * or approved, and the player may end up on a different spot if this one was taken meanwhile. A confirming or
1635
+ * approving request that names a spot of its own decides the placement outright and this preference is not
1636
+ * consulted — see `teamId` on `playsessionUserDetails`.
1635
1637
  *
1636
1638
  */
1637
1639
  declare enum spotPosition {
@@ -1800,6 +1802,11 @@ type playsessionUserDetails = {
1800
1802
  * with `409`, so the client can offer another; if the spot is taken later, before the player is
1801
1803
  * approved or confirms, they are placed on the next best spot instead.
1802
1804
  *
1805
+ * A named spot always decides the placement, including on the `POST` that approves a pending request or
1806
+ * confirms a participation: the spot named there is the one the player is seated on, whatever they asked
1807
+ * for on the way in, and a `409` is the answer when it has gone rather than a move to the next best spot.
1808
+ * Naming nothing there is what falls back to the preference stored from the original request.
1809
+ *
1803
1810
  * Ignored on a play session with no team layout, since there is then no spot to address. Whether
1804
1811
  * team handling is enabled for the venue does not come into it — that decides whether the `teams`
1805
1812
  * structure is served, not whether a claim is honoured. Only honoured on `POST` — a seated player is
@@ -1631,7 +1631,9 @@ declare namespace playSessionSettings {
1631
1631
  * * `RIGHT` - The right spot, when each team has two.
1632
1632
  * On a `users` entry (`requestedPosition`) this is the spot the player asked for. It is a preference, not a
1633
1633
  * reservation: it is resolved against the layout when the request is made and again when the player is confirmed
1634
- * or approved, and the player may end up on a different spot if this one was taken meanwhile.
1634
+ * or approved, and the player may end up on a different spot if this one was taken meanwhile. A confirming or
1635
+ * approving request that names a spot of its own decides the placement outright and this preference is not
1636
+ * consulted — see `teamId` on `playsessionUserDetails`.
1635
1637
  *
1636
1638
  */
1637
1639
  declare enum spotPosition {
@@ -1800,6 +1802,11 @@ type playsessionUserDetails = {
1800
1802
  * with `409`, so the client can offer another; if the spot is taken later, before the player is
1801
1803
  * approved or confirms, they are placed on the next best spot instead.
1802
1804
  *
1805
+ * A named spot always decides the placement, including on the `POST` that approves a pending request or
1806
+ * confirms a participation: the spot named there is the one the player is seated on, whatever they asked
1807
+ * for on the way in, and a `409` is the answer when it has gone rather than a move to the next best spot.
1808
+ * Naming nothing there is what falls back to the preference stored from the original request.
1809
+ *
1803
1810
  * Ignored on a play session with no team layout, since there is then no spot to address. Whether
1804
1811
  * team handling is enabled for the venue does not come into it — that decides whether the `teams`
1805
1812
  * structure is served, not whether a claim is honoured. Only honoured on `POST` — a seated player is
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matchi/api",
3
- "version": "0.20260826.3",
3
+ "version": "0.20260828.1",
4
4
  "main": "dist/main/index.js",
5
5
  "module": "dist/main/index.mjs",
6
6
  "devDependencies": {