File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
apps/meteor/app/api/server/v1
packages/core-typings/src Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1- import type { IUserStatus } from '@rocket.chat/core-typings' ;
1+ import type { ICustomUserStatus } from '@rocket.chat/core-typings' ;
22import { CustomUserStatus } from '@rocket.chat/models' ;
33import { ajv , validateUnauthorizedErrorResponse , validateBadRequestErrorResponse } from '@rocket.chat/rest-typings' ;
44import type { PaginatedRequest , PaginatedResult } from '@rocket.chat/rest-typings' ;
@@ -56,28 +56,28 @@ const customUserStatusEndpoints = API.v1.get(
5656 response : {
5757 200 : ajv . compile <
5858 PaginatedResult < {
59- statuses : IUserStatus [ ] ;
59+ statuses : ICustomUserStatus [ ] ;
6060 } >
6161 > ( {
6262 type : 'object' ,
6363 properties : {
6464 statuses : {
6565 type : 'array' ,
6666 items : {
67- $ref : '#/components/schemas/IUserStatus ' ,
67+ $ref : '#/components/schemas/ICustomUserStatus ' ,
6868 } ,
6969 } ,
7070 count : {
7171 type : 'number' ,
72- description : 'The number of sounds returned in this response.' ,
72+ description : 'The number of custom user statuses returned in this response.' ,
7373 } ,
7474 offset : {
7575 type : 'number' ,
76- description : 'The number of sounds that were skipped in this response.' ,
76+ description : 'The number of custom user statuses that were skipped in this response.' ,
7777 } ,
7878 total : {
7979 type : 'number' ,
80- description : 'The total number of sounds that match the query.' ,
80+ description : 'The total number of custom user statuses that match the query.' ,
8181 } ,
8282 success : {
8383 type : 'boolean' ,
Original file line number Diff line number Diff line change 11import typia from 'typia' ;
22
33import type { ICustomSound } from './ICustomSound' ;
4+ import type { ICustomUserStatus } from './ICustomUserStatus' ;
45import type { IInvite } from './IInvite' ;
56import type { IMessage } from './IMessage' ;
67import type { IOAuthApps } from './IOAuthApps' ;
78import type { IPermission } from './IPermission' ;
89import type { ISubscription } from './ISubscription' ;
9- import type { IUserStatus } from './IUserStatus' ;
1010
1111export const schemas = typia . json . schemas <
12- [ ISubscription | IInvite | ICustomSound | IMessage | IOAuthApps | IPermission | IUserStatus ] ,
12+ [ ISubscription | IInvite | ICustomSound | IMessage | IOAuthApps | IPermission | ICustomUserStatus ] ,
1313 '3.0'
1414> ( ) ;
You can’t perform that action at this time.
0 commit comments