@wvdsh/api 0.1.14 → 0.1.16
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.
|
@@ -64,7 +64,7 @@ export type PublicApiType = {
|
|
|
64
64
|
inviteToLobby: FunctionReference<"mutation", "public", {
|
|
65
65
|
lobbyId: Id<"lobbies">;
|
|
66
66
|
targetUserId: Id<"users">;
|
|
67
|
-
},
|
|
67
|
+
}, null>;
|
|
68
68
|
joinLobby: FunctionReference<"mutation", "public", {
|
|
69
69
|
lobbyId: Id<"lobbies">;
|
|
70
70
|
}, {
|
|
@@ -165,8 +165,9 @@ export type PublicApiType = {
|
|
|
165
165
|
score: number;
|
|
166
166
|
timestamp: number;
|
|
167
167
|
ugcId?: Id<"userGeneratedContent">;
|
|
168
|
+
userAvatarUrl?: string;
|
|
168
169
|
userId: Id<"users">;
|
|
169
|
-
username
|
|
170
|
+
username: string;
|
|
170
171
|
}>;
|
|
171
172
|
totalEntries: number;
|
|
172
173
|
}>;
|
|
@@ -182,8 +183,9 @@ export type PublicApiType = {
|
|
|
182
183
|
score: number;
|
|
183
184
|
timestamp: number;
|
|
184
185
|
ugcId?: Id<"userGeneratedContent">;
|
|
186
|
+
userAvatarUrl?: string;
|
|
185
187
|
userId: Id<"users">;
|
|
186
|
-
username
|
|
188
|
+
username: string;
|
|
187
189
|
}>;
|
|
188
190
|
totalEntries: number;
|
|
189
191
|
}>;
|
|
@@ -259,9 +261,6 @@ export type PublicApiType = {
|
|
|
259
261
|
}, boolean>;
|
|
260
262
|
};
|
|
261
263
|
remoteFileStorage: {
|
|
262
|
-
deleteFile: FunctionReference<"action", "public", {
|
|
263
|
-
path: string;
|
|
264
|
-
}, null>;
|
|
265
264
|
getUploadUrl: FunctionReference<"mutation", "public", {
|
|
266
265
|
path: string;
|
|
267
266
|
}, string>;
|
|
@@ -291,10 +290,6 @@ export type PublicApiType = {
|
|
|
291
290
|
deleteUGCItem: FunctionReference<"mutation", "public", {
|
|
292
291
|
ugcId: Id<"userGeneratedContent">;
|
|
293
292
|
}, null>;
|
|
294
|
-
finishUGCUpload: FunctionReference<"mutation", "public", {
|
|
295
|
-
success: boolean;
|
|
296
|
-
ugcId: Id<"userGeneratedContent">;
|
|
297
|
-
}, boolean>;
|
|
298
293
|
getUGCItemDownloadUrl: FunctionReference<"query", "public", {
|
|
299
294
|
ugcId: Id<"userGeneratedContent">;
|
|
300
295
|
}, string>;
|