diff --git a/backend/src/graphql/inputs/LoginUserInput.ts b/backend/src/graphql/inputs/LoginUserInput.ts new file mode 100644 index 000000000..ee6fb1814 --- /dev/null +++ b/backend/src/graphql/inputs/LoginUserInput.ts @@ -0,0 +1,16 @@ +import { InputType, Field } from 'type-graphql' + +@InputType() +export class LoginUserInput { + @Field({ nullable: true }) + username?: string + + @Field({ nullable: true }) + email?: string + + @Field({ nullable: true }) + pubkey?: string + + @Field() + password: string +}