mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-05-04 04:33:10 +00:00
General Updates
This commit is contained in:
parent
d4586b1fa5
commit
beb661143b
4 changed files with 12 additions and 7 deletions
|
@ -4,7 +4,8 @@ declare global {
|
|||
interface Liveblocks {
|
||||
// Each user's Presence, for useMyPresence, useOthers, etc.
|
||||
Presence: {
|
||||
cursor: { x: number; y: number } | null;
|
||||
// Example, real-time cursor coordinates
|
||||
cursor: { x: number; y: number };
|
||||
};
|
||||
|
||||
// The Storage tree for the room, for useMutation, useStorage, etc.
|
||||
|
@ -25,9 +26,9 @@ declare global {
|
|||
|
||||
// Custom events, for useBroadcastEvent, useEventListener
|
||||
RoomEvent: {};
|
||||
// Example has two events, using a union
|
||||
// | { type: "PLAY" }
|
||||
// | { type: "REACTION"; emoji: "🔥" };
|
||||
// Example has two events, using a union
|
||||
// | { type: "PLAY" }
|
||||
// | { type: "REACTION"; emoji: "🔥" };
|
||||
|
||||
// Custom metadata set on threads, for useThreads, useCreateThread, etc.
|
||||
ThreadMetadata: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue