import { createParamDecorator , ExecutionContext } from '@nestjs/common' ; export const SignIn = createParamDecorator ( ( data , ctx ) => { const args = ctx . getArgs ( ) [ 1 ] ; return { username : args . username , password : args . password } ; } ) ;