@wvdsh/api 0.1.24 → 0.1.25
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.
|
@@ -210,7 +210,7 @@ export type PublicApiType = {
|
|
|
210
210
|
}, Array<{
|
|
211
211
|
_creationTime: number;
|
|
212
212
|
_id: Id<"p2pSignalingMessages">;
|
|
213
|
-
data:
|
|
213
|
+
data: Record<string, string | number | boolean | null>;
|
|
214
214
|
fromUserId: Id<"users">;
|
|
215
215
|
lobbyId: Id<"lobbies">;
|
|
216
216
|
messageType: "offer" | "answer" | "ice-candidate";
|
|
@@ -223,7 +223,7 @@ export type PublicApiType = {
|
|
|
223
223
|
processed: number;
|
|
224
224
|
}>;
|
|
225
225
|
sendSignalingMessage: FunctionReference<"mutation", "public", {
|
|
226
|
-
data:
|
|
226
|
+
data: Record<string, string | number | boolean | null>;
|
|
227
227
|
lobbyId: Id<"lobbies">;
|
|
228
228
|
messageType: "offer" | "answer" | "ice-candidate";
|
|
229
229
|
toUserId: Id<"users">;
|
|
@@ -233,7 +233,7 @@ export type PublicApiType = {
|
|
|
233
233
|
};
|
|
234
234
|
presence: {
|
|
235
235
|
heartbeat: FunctionReference<"mutation", "public", {
|
|
236
|
-
data?: Record<string,
|
|
236
|
+
data?: Record<string, string | number | boolean | null>;
|
|
237
237
|
deviceFingerprint?: {
|
|
238
238
|
browser?: string;
|
|
239
239
|
browserVersion?: string;
|
|
@@ -282,7 +282,7 @@ export type PublicApiType = {
|
|
|
282
282
|
description?: string;
|
|
283
283
|
title?: string;
|
|
284
284
|
ugcType: 0 | 1 | 2 | 3 | 4;
|
|
285
|
-
visibility?: 0 |
|
|
285
|
+
visibility?: 0 | 2;
|
|
286
286
|
}, {
|
|
287
287
|
ugcId: Id<"userGeneratedContent">;
|
|
288
288
|
uploadUrl?: string;
|
|
@@ -293,29 +293,6 @@ export type PublicApiType = {
|
|
|
293
293
|
getUGCItemDownloadUrl: FunctionReference<"query", "public", {
|
|
294
294
|
ugcId: Id<"userGeneratedContent">;
|
|
295
295
|
}, string>;
|
|
296
|
-
listMyUGCItems: FunctionReference<"query", "public", {
|
|
297
|
-
continueCursor?: string;
|
|
298
|
-
filters?: {
|
|
299
|
-
titleSearch?: string;
|
|
300
|
-
ugcType?: 0 | 1 | 2 | 3 | 4;
|
|
301
|
-
};
|
|
302
|
-
numItems?: number;
|
|
303
|
-
}, {
|
|
304
|
-
continueCursor: string;
|
|
305
|
-
isDone: boolean;
|
|
306
|
-
page: Array<{
|
|
307
|
-
createdAt: number;
|
|
308
|
-
creatorAvatarUrl?: string;
|
|
309
|
-
creatorId: Id<"users">;
|
|
310
|
-
creatorUsername: string;
|
|
311
|
-
description?: string;
|
|
312
|
-
downloadUrl: string;
|
|
313
|
-
title?: string;
|
|
314
|
-
ugcId: Id<"userGeneratedContent">;
|
|
315
|
-
ugcType: 0 | 1 | 2 | 3 | 4;
|
|
316
|
-
visibility: 0 | 1 | 2;
|
|
317
|
-
}>;
|
|
318
|
-
}>;
|
|
319
296
|
listUGCItems: FunctionReference<"query", "public", {
|
|
320
297
|
continueCursor?: string;
|
|
321
298
|
filters?: {
|
|
@@ -337,7 +314,7 @@ export type PublicApiType = {
|
|
|
337
314
|
title?: string;
|
|
338
315
|
ugcId: Id<"userGeneratedContent">;
|
|
339
316
|
ugcType: 0 | 1 | 2 | 3 | 4;
|
|
340
|
-
visibility: 0 |
|
|
317
|
+
visibility: 0 | 2;
|
|
341
318
|
}>;
|
|
342
319
|
}>;
|
|
343
320
|
updateUGCItem: FunctionReference<"mutation", "public", {
|
|
@@ -345,7 +322,7 @@ export type PublicApiType = {
|
|
|
345
322
|
description?: string;
|
|
346
323
|
title?: string;
|
|
347
324
|
ugcId: Id<"userGeneratedContent">;
|
|
348
|
-
visibility?: 0 |
|
|
325
|
+
visibility?: 0 | 2;
|
|
349
326
|
}, {
|
|
350
327
|
ugcId: Id<"userGeneratedContent">;
|
|
351
328
|
uploadUrl?: string;
|