@wvdsh/api 0.1.106 → 0.1.107

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.
@@ -20,14 +20,12 @@ export type PublicApiType = {
20
20
  identifier: string;
21
21
  value: number;
22
22
  }>>;
23
- listAchievementIdentifiers: FunctionReference<"query", "public", Record<string, never>, Array<string>>;
24
23
  listGameAchievementIdentifiers: FunctionReference<"query", "public", {
25
24
  gameCloudId: Id<"gameClouds">;
26
25
  }, Array<string>>;
27
26
  listGameStatIdentifiers: FunctionReference<"query", "public", {
28
27
  gameCloudId: Id<"gameClouds">;
29
28
  }, Array<string>>;
30
- listStatIdentifiers: FunctionReference<"query", "public", Record<string, never>, Array<string>>;
31
29
  setUserGameAchievements: FunctionReference<"mutation", "public", {
32
30
  achievements: Array<string>;
33
31
  }, null>;
@@ -102,7 +100,9 @@ export type PublicApiType = {
102
100
  lobbyId: Id<"lobbies">;
103
101
  }, boolean>;
104
102
  listAvailable: FunctionReference<"query", "public", {
105
- filters?: Record<string, any>;
103
+ filters: {
104
+ friendsOnly: true;
105
+ };
106
106
  }, Array<{
107
107
  lobbyId: Id<"lobbies">;
108
108
  maxPlayers: number;
@@ -192,7 +192,7 @@ export type PublicApiType = {
192
192
  totalEntries: number;
193
193
  }>;
194
194
  listEntries: FunctionReference<"query", "public", {
195
- friendsOnly?: boolean;
195
+ friendsOnly: true;
196
196
  leaderboardId: Id<"leaderboards">;
197
197
  limit: number;
198
198
  offset: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wvdsh/api",
3
- "version": "0.1.106",
3
+ "version": "0.1.107",
4
4
  "description": "Public API types and shared constants for the Wavedash platform",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",