Skip to content

Commit f46a7a3

Browse files
authored
chore: migrate users.getStatus endpoint to new OpenAPI pattern with AJV validation
1 parent 23184e6 commit f46a7a3

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

packages/rest-typings/src/v1/users.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -318,15 +318,6 @@ export type UsersEndpoints = {
318318
POST: (params: { message?: string; status?: UserStatus; userId?: string; username?: string; user?: string }) => void;
319319
};
320320

321-
'/v1/users.getStatus': {
322-
GET: () => {
323-
status: 'online' | 'offline' | 'away' | 'busy';
324-
message?: string;
325-
_id?: string;
326-
connectionStatus?: 'online' | 'offline' | 'away' | 'busy';
327-
};
328-
};
329-
330321
'/v1/users.info': {
331322
GET: (params: UsersInfoParamsGet) => {
332323
user: IUser & { rooms?: Pick<ISubscription, 'rid' | 'name' | 't' | 'roles' | 'unread'>[] };

0 commit comments

Comments
 (0)