UNPKG

@wepublish/api

Version:
78 lines 3.01 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ConsentFilter = exports.UpdateConsentInput = exports.CreateConsentInput = exports.Consent = void 0; const tslib_1 = require("tslib"); const graphql_1 = require("@nestjs/graphql"); let Consent = exports.Consent = class Consent { }; tslib_1.__decorate([ (0, graphql_1.Field)(), tslib_1.__metadata("design:type", String) ], Consent.prototype, "id", void 0); tslib_1.__decorate([ (0, graphql_1.Field)(), tslib_1.__metadata("design:type", Date) ], Consent.prototype, "createdAt", void 0); tslib_1.__decorate([ (0, graphql_1.Field)(), tslib_1.__metadata("design:type", Date) ], Consent.prototype, "modifiedAt", void 0); tslib_1.__decorate([ (0, graphql_1.Field)(), tslib_1.__metadata("design:type", String) ], Consent.prototype, "name", void 0); tslib_1.__decorate([ (0, graphql_1.Field)(), tslib_1.__metadata("design:type", String) ], Consent.prototype, "slug", void 0); tslib_1.__decorate([ (0, graphql_1.Field)(), tslib_1.__metadata("design:type", Boolean) ], Consent.prototype, "defaultValue", void 0); exports.Consent = Consent = tslib_1.__decorate([ (0, graphql_1.ObjectType)() ], Consent); let CreateConsentInput = exports.CreateConsentInput = class CreateConsentInput { }; tslib_1.__decorate([ (0, graphql_1.Field)(), tslib_1.__metadata("design:type", String) ], CreateConsentInput.prototype, "name", void 0); tslib_1.__decorate([ (0, graphql_1.Field)(), tslib_1.__metadata("design:type", String) ], CreateConsentInput.prototype, "slug", void 0); tslib_1.__decorate([ (0, graphql_1.Field)(), tslib_1.__metadata("design:type", Boolean) ], CreateConsentInput.prototype, "defaultValue", void 0); exports.CreateConsentInput = CreateConsentInput = tslib_1.__decorate([ (0, graphql_1.ArgsType)() ], CreateConsentInput); let UpdateConsentInput = exports.UpdateConsentInput = class UpdateConsentInput extends (0, graphql_1.PartialType)(CreateConsentInput, graphql_1.ArgsType) { }; tslib_1.__decorate([ (0, graphql_1.Field)(), tslib_1.__metadata("design:type", String) ], UpdateConsentInput.prototype, "id", void 0); exports.UpdateConsentInput = UpdateConsentInput = tslib_1.__decorate([ (0, graphql_1.ArgsType)() ], UpdateConsentInput); let ConsentFilter = exports.ConsentFilter = class ConsentFilter { }; tslib_1.__decorate([ (0, graphql_1.Field)({ nullable: true }), tslib_1.__metadata("design:type", String) ], ConsentFilter.prototype, "name", void 0); tslib_1.__decorate([ (0, graphql_1.Field)({ nullable: true }), tslib_1.__metadata("design:type", String) ], ConsentFilter.prototype, "slug", void 0); tslib_1.__decorate([ (0, graphql_1.Field)({ nullable: true }), tslib_1.__metadata("design:type", Boolean) ], ConsentFilter.prototype, "defaultValue", void 0); exports.ConsentFilter = ConsentFilter = tslib_1.__decorate([ (0, graphql_1.InputType)() ], ConsentFilter); //# sourceMappingURL=consent.model.js.map