8ebac41318
* refactor(server): tsconfigs * chore: dummy commit * fix: start.sh * chore: restore original entry scripts
13 lines
261 B
TypeScript
13 lines
261 B
TypeScript
import { ApiProperty } from '@nestjs/swagger';
|
|
|
|
export class UserCountResponseDto {
|
|
@ApiProperty({ type: 'integer' })
|
|
userCount!: number;
|
|
}
|
|
|
|
export function mapUserCountResponse(count: number): UserCountResponseDto {
|
|
return {
|
|
userCount: count,
|
|
};
|
|
}
|