@wvdsh/api 0.1.57 → 0.1.59
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/dist/_generated/convex_api.d.ts +11 -11
- package/package.json +1 -1
|
@@ -39,7 +39,7 @@ export type PublicApiType = {
|
|
|
39
39
|
}, {
|
|
40
40
|
hostId: Id<"users">;
|
|
41
41
|
lobbyId: Id<"lobbies">;
|
|
42
|
-
metadata: Record<string, number | string>;
|
|
42
|
+
metadata: Record<string, number | string | boolean>;
|
|
43
43
|
users: Array<{
|
|
44
44
|
isHost: boolean;
|
|
45
45
|
lobbyId: Id<"lobbies">;
|
|
@@ -53,7 +53,7 @@ export type PublicApiType = {
|
|
|
53
53
|
}, {
|
|
54
54
|
lobbyId: Id<"lobbies">;
|
|
55
55
|
maxPlayers: number;
|
|
56
|
-
metadata: Record<string, number | string>;
|
|
56
|
+
metadata: Record<string, number | string | boolean>;
|
|
57
57
|
playerCount: number;
|
|
58
58
|
visibility: 0 | 1 | 2;
|
|
59
59
|
}>;
|
|
@@ -69,7 +69,7 @@ export type PublicApiType = {
|
|
|
69
69
|
}>>;
|
|
70
70
|
getLobbyMetadata: FunctionReference<"query", "public", {
|
|
71
71
|
lobbyId: Id<"lobbies">;
|
|
72
|
-
}, Record<string, number | string>>;
|
|
72
|
+
}, Record<string, number | string | boolean>>;
|
|
73
73
|
inviteToLobby: FunctionReference<"mutation", "public", {
|
|
74
74
|
lobbyId: Id<"lobbies">;
|
|
75
75
|
targetUserId: Id<"users">;
|
|
@@ -79,7 +79,7 @@ export type PublicApiType = {
|
|
|
79
79
|
}, {
|
|
80
80
|
hostId: Id<"users">;
|
|
81
81
|
lobbyId: Id<"lobbies">;
|
|
82
|
-
metadata: Record<string, number | string>;
|
|
82
|
+
metadata: Record<string, number | string | boolean>;
|
|
83
83
|
users: Array<{
|
|
84
84
|
isHost: boolean;
|
|
85
85
|
lobbyId: Id<"lobbies">;
|
|
@@ -96,7 +96,7 @@ export type PublicApiType = {
|
|
|
96
96
|
}, Array<{
|
|
97
97
|
lobbyId: Id<"lobbies">;
|
|
98
98
|
maxPlayers: number;
|
|
99
|
-
metadata: Record<string, number | string>;
|
|
99
|
+
metadata: Record<string, number | string | boolean>;
|
|
100
100
|
playerCount: number;
|
|
101
101
|
visibility: 0 | 1 | 2;
|
|
102
102
|
}>>;
|
|
@@ -125,7 +125,7 @@ export type PublicApiType = {
|
|
|
125
125
|
}, string>;
|
|
126
126
|
setLobbyMetadata: FunctionReference<"mutation", "public", {
|
|
127
127
|
lobbyId: Id<"lobbies">;
|
|
128
|
-
updates: Record<string, number | string | null>;
|
|
128
|
+
updates: Record<string, number | string | boolean | null>;
|
|
129
129
|
}, boolean>;
|
|
130
130
|
};
|
|
131
131
|
leaderboards: {
|
|
@@ -145,7 +145,7 @@ export type PublicApiType = {
|
|
|
145
145
|
}, {
|
|
146
146
|
entry: null | {
|
|
147
147
|
globalRank: number;
|
|
148
|
-
metadata?: Record<string, number | string>;
|
|
148
|
+
metadata?: Record<string, number | string | boolean>;
|
|
149
149
|
score: number;
|
|
150
150
|
timestamp: number;
|
|
151
151
|
ugcId?: Id<"userGeneratedContent">;
|
|
@@ -170,7 +170,7 @@ export type PublicApiType = {
|
|
|
170
170
|
}, {
|
|
171
171
|
entries: Array<{
|
|
172
172
|
globalRank: number;
|
|
173
|
-
metadata?: Record<string, number | string>;
|
|
173
|
+
metadata?: Record<string, number | string | boolean>;
|
|
174
174
|
score: number;
|
|
175
175
|
timestamp: number;
|
|
176
176
|
ugcId?: Id<"userGeneratedContent">;
|
|
@@ -188,7 +188,7 @@ export type PublicApiType = {
|
|
|
188
188
|
}, {
|
|
189
189
|
entries: Array<{
|
|
190
190
|
globalRank: number;
|
|
191
|
-
metadata?: Record<string, number | string>;
|
|
191
|
+
metadata?: Record<string, number | string | boolean>;
|
|
192
192
|
score: number;
|
|
193
193
|
timestamp: number;
|
|
194
194
|
ugcId?: Id<"userGeneratedContent">;
|
|
@@ -201,14 +201,14 @@ export type PublicApiType = {
|
|
|
201
201
|
upsertLeaderboardEntry: FunctionReference<"mutation", "public", {
|
|
202
202
|
keepBest: boolean;
|
|
203
203
|
leaderboardId: Id<"leaderboards">;
|
|
204
|
-
metadata?: Record<string, number | string>;
|
|
204
|
+
metadata?: Record<string, number | string | boolean>;
|
|
205
205
|
score: number;
|
|
206
206
|
ugcId?: Id<"userGeneratedContent">;
|
|
207
207
|
}, {
|
|
208
208
|
entry: {
|
|
209
209
|
entryId: Id<"leaderboardEntries">;
|
|
210
210
|
globalRank: number;
|
|
211
|
-
metadata?: Record<string, number | string>;
|
|
211
|
+
metadata?: Record<string, number | string | boolean>;
|
|
212
212
|
score: number;
|
|
213
213
|
scoreChanged: boolean;
|
|
214
214
|
timestamp: number;
|