obrigado-react-admin-backend-utils
Version:
Helper utilities for react-admin graphql backend.
39 lines • 1.64 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const type_graphql_1 = require("type-graphql");
let GQLAdministratorInput = class GQLAdministratorInput {
};
tslib_1.__decorate([
type_graphql_1.Field({ nullable: true }),
tslib_1.__metadata("design:type", String)
], GQLAdministratorInput.prototype, "username", void 0);
tslib_1.__decorate([
type_graphql_1.Field({ nullable: true }),
tslib_1.__metadata("design:type", String)
], GQLAdministratorInput.prototype, "last_name", void 0);
tslib_1.__decorate([
type_graphql_1.Field({ nullable: true }),
tslib_1.__metadata("design:type", String)
], GQLAdministratorInput.prototype, "first_name", void 0);
tslib_1.__decorate([
type_graphql_1.Field({ nullable: true }),
tslib_1.__metadata("design:type", String)
], GQLAdministratorInput.prototype, "password", void 0);
tslib_1.__decorate([
type_graphql_1.Field({ nullable: true }),
tslib_1.__metadata("design:type", String)
], GQLAdministratorInput.prototype, "role", void 0);
tslib_1.__decorate([
type_graphql_1.Field({ nullable: true }),
tslib_1.__metadata("design:type", String)
], GQLAdministratorInput.prototype, "email", void 0);
tslib_1.__decorate([
type_graphql_1.Field({ defaultValue: 0 }),
tslib_1.__metadata("design:type", Boolean)
], GQLAdministratorInput.prototype, "isBlocked", void 0);
GQLAdministratorInput = tslib_1.__decorate([
type_graphql_1.InputType("AdministratorInput")
], GQLAdministratorInput);
exports.GQLAdministratorInput = GQLAdministratorInput;
//# sourceMappingURL=GQLAdministratorInput.js.map