Skip to content

Commit

Permalink
refactor(server): remove deprecated type alias
Browse files Browse the repository at this point in the history
This removes the deprecated exported type alias SocketDB in favor of SocketDBServerAPI

BREAKING CHANGE: Deprecated type alias SocketDB has been removed. Use SocketDBServerAPI instead.
  • Loading branch information
TimoBechtel committed Apr 2, 2023
1 parent 1964b4f commit 492a965
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/server/src/lib/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,6 @@ export type SocketDBServerAPI<Schema extends RootSchemaDefinition> =
) => () => void;
};

/**
* @deprecated. Use SocketDBServerAPI instead.
* Type alias will be removed in a future update.
*/
export type SocketDB = SocketDBServerAPI<RootSchemaDefinition>;

export type ServerHooks<Schema extends RootSchemaDefinition> = {
'server:clientConnect'?: Hook<
{ id: string },
Expand Down

0 comments on commit 492a965

Please sign in to comment.