Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
better model types
  • Loading branch information
joetannenbaum committed May 5, 2025
commit 48a8124e505914ca4c7675625f1f92f2fb9fc361
3 changes: 3 additions & 0 deletions packages/react/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ export type ConfigDefaults<O extends BroadcastDriver> = Record<

export type ModelPayload<T> = {
model: T;
connection: string | null;
queue: string | null;
afterCommit: boolean;
};

export type ChannelReturnType<
Expand Down
3 changes: 3 additions & 0 deletions packages/vue/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ export type ConfigDefaults<O extends BroadcastDriver> = Record<

export type ModelPayload<T> = {
model: T;
connection: string | null;
queue: string | null;
afterCommit: boolean;
};

export type ChannelReturnType<
Expand Down