feat: Implement core Discord features including members list, direct messages, user presence, authentication, and chat UI.
Some checks failed
Build and Release / build-and-release (push) Has been cancelled
Some checks failed
Build and Release / build-and-release (push) Has been cancelled
This commit is contained in:
67
convex/_generated/api.d.ts
vendored
67
convex/_generated/api.d.ts
vendored
@@ -17,6 +17,7 @@ import type * as gifs from "../gifs.js";
|
||||
import type * as invites from "../invites.js";
|
||||
import type * as members from "../members.js";
|
||||
import type * as messages from "../messages.js";
|
||||
import type * as presence from "../presence.js";
|
||||
import type * as reactions from "../reactions.js";
|
||||
import type * as roles from "../roles.js";
|
||||
import type * as typing from "../typing.js";
|
||||
@@ -39,6 +40,7 @@ declare const fullApi: ApiFromModules<{
|
||||
invites: typeof invites;
|
||||
members: typeof members;
|
||||
messages: typeof messages;
|
||||
presence: typeof presence;
|
||||
reactions: typeof reactions;
|
||||
roles: typeof roles;
|
||||
typing: typeof typing;
|
||||
@@ -72,4 +74,67 @@ export declare const internal: FilterApi<
|
||||
FunctionReference<any, "internal">
|
||||
>;
|
||||
|
||||
export declare const components: {};
|
||||
export declare const components: {
|
||||
presence: {
|
||||
public: {
|
||||
disconnect: FunctionReference<
|
||||
"mutation",
|
||||
"internal",
|
||||
{ sessionToken: string },
|
||||
null
|
||||
>;
|
||||
heartbeat: FunctionReference<
|
||||
"mutation",
|
||||
"internal",
|
||||
{
|
||||
interval?: number;
|
||||
roomId: string;
|
||||
sessionId: string;
|
||||
userId: string;
|
||||
},
|
||||
{ roomToken: string; sessionToken: string }
|
||||
>;
|
||||
list: FunctionReference<
|
||||
"query",
|
||||
"internal",
|
||||
{ limit?: number; roomToken: string },
|
||||
Array<{
|
||||
data?: any;
|
||||
lastDisconnected: number;
|
||||
online: boolean;
|
||||
userId: string;
|
||||
}>
|
||||
>;
|
||||
listRoom: FunctionReference<
|
||||
"query",
|
||||
"internal",
|
||||
{ limit?: number; onlineOnly?: boolean; roomId: string },
|
||||
Array<{ lastDisconnected: number; online: boolean; userId: string }>
|
||||
>;
|
||||
listUser: FunctionReference<
|
||||
"query",
|
||||
"internal",
|
||||
{ limit?: number; onlineOnly?: boolean; userId: string },
|
||||
Array<{ lastDisconnected: number; online: boolean; roomId: string }>
|
||||
>;
|
||||
removeRoom: FunctionReference<
|
||||
"mutation",
|
||||
"internal",
|
||||
{ roomId: string },
|
||||
null
|
||||
>;
|
||||
removeRoomUser: FunctionReference<
|
||||
"mutation",
|
||||
"internal",
|
||||
{ roomId: string; userId: string },
|
||||
null
|
||||
>;
|
||||
updateRoomUser: FunctionReference<
|
||||
"mutation",
|
||||
"internal",
|
||||
{ data?: any; roomId: string; userId: string },
|
||||
null
|
||||
>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user