UNPKG

@wepublish/api

Version:
37 lines 1.65 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SystemMailUpdateInput = exports.SystemMailModel = void 0; const tslib_1 = require("tslib"); const graphql_1 = require("@nestjs/graphql"); const client_1 = require("@prisma/client"); const subscription_flow_model_1 = require("../subscription-flow/subscription-flow.model"); (0, graphql_1.registerEnumType)(client_1.UserEvent, { name: 'UserEvent' }); let SystemMailModel = exports.SystemMailModel = class SystemMailModel { }; tslib_1.__decorate([ (0, graphql_1.Field)(() => client_1.UserEvent), tslib_1.__metadata("design:type", String) ], SystemMailModel.prototype, "event", void 0); tslib_1.__decorate([ (0, graphql_1.Field)(() => subscription_flow_model_1.MailTemplateRef, { nullable: true }), tslib_1.__metadata("design:type", subscription_flow_model_1.MailTemplateRef) ], SystemMailModel.prototype, "mailTemplate", void 0); exports.SystemMailModel = SystemMailModel = tslib_1.__decorate([ (0, graphql_1.ObjectType)() ], SystemMailModel); let SystemMailUpdateInput = exports.SystemMailUpdateInput = class SystemMailUpdateInput { }; tslib_1.__decorate([ (0, graphql_1.Field)(() => client_1.UserEvent), tslib_1.__metadata("design:type", String) ], SystemMailUpdateInput.prototype, "event", void 0); tslib_1.__decorate([ (0, graphql_1.Field)(), tslib_1.__metadata("design:type", String) ], SystemMailUpdateInput.prototype, "mailTemplateId", void 0); exports.SystemMailUpdateInput = SystemMailUpdateInput = tslib_1.__decorate([ (0, graphql_1.ArgsType)() ], SystemMailUpdateInput); //# sourceMappingURL=system-mail.model.js.map