Skip to content

Conversation

@tylerbutler
Copy link
Member

Adds presence runtime validation for the canvas example. The validation itself is handled by zod.

@tylerbutler tylerbutler requested a review from a team as a code owner October 13, 2025 17:19
Comment on lines +18 to +19
// Re-export type for external consumers
export type { CursorState };
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pattern reduces the amount of churn, but if we prefer direct imports I can make that change.

*/
export interface DragManager<TDragPackage extends DragPackage | null = DragPackage | null>
extends PresenceManager<TDragPackage> {
export interface DragManager<TDragPackage> extends PresenceManager<TDragPackage> {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This null removal is likely wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants