obrigado-react-admin-backend-utils
Version:
Helper utilities for react-admin graphql backend.
20 lines (18 loc) • 464 B
text/typescript
import { Field, InputType } from "type-graphql";
("AdministratorInput")
export class GQLAdministratorInput {
({ nullable: true })
username: string;
({ nullable: true })
last_name: string;
({ nullable: true })
first_name: string;
({ nullable: true })
password: string;
({ nullable: true })
role: string;
({ nullable: true })
email: string;
({ defaultValue: 0 })
isBlocked: boolean;
}