UNPKG

@nestjs-mod/webhook

Version:

Webhook module with an error filter, guard, controller, database migrations and rest-sdk for work with module from other nodejs appliaction

86 lines 2.91 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UpdateMigrationsWebhookDto = void 0; const tslib_1 = require("tslib"); const swagger_1 = require("@nestjs/swagger"); const class_validator_1 = require("class-validator"); class UpdateMigrationsWebhookDto { } exports.UpdateMigrationsWebhookDto = UpdateMigrationsWebhookDto; tslib_1.__decorate([ (0, swagger_1.ApiProperty)({ type: 'string', required: false, nullable: true, }), (0, class_validator_1.IsOptional)(), (0, class_validator_1.IsString)(), tslib_1.__metadata("design:type", Object) ], UpdateMigrationsWebhookDto.prototype, "version", void 0); tslib_1.__decorate([ (0, swagger_1.ApiProperty)({ type: 'string', required: false, }), (0, class_validator_1.IsOptional)(), (0, class_validator_1.IsString)(), tslib_1.__metadata("design:type", String) ], UpdateMigrationsWebhookDto.prototype, "description", void 0); tslib_1.__decorate([ (0, swagger_1.ApiProperty)({ type: 'string', required: false, }), (0, class_validator_1.IsOptional)(), (0, class_validator_1.IsString)(), tslib_1.__metadata("design:type", String) ], UpdateMigrationsWebhookDto.prototype, "type", void 0); tslib_1.__decorate([ (0, swagger_1.ApiProperty)({ type: 'string', required: false, }), (0, class_validator_1.IsOptional)(), (0, class_validator_1.IsString)(), tslib_1.__metadata("design:type", String) ], UpdateMigrationsWebhookDto.prototype, "script", void 0); tslib_1.__decorate([ (0, swagger_1.ApiProperty)({ type: 'integer', format: 'int32', required: false, nullable: true, }), (0, class_validator_1.IsOptional)(), (0, class_validator_1.IsInt)(), tslib_1.__metadata("design:type", Object) ], UpdateMigrationsWebhookDto.prototype, "checksum", void 0); tslib_1.__decorate([ (0, swagger_1.ApiProperty)({ type: 'string', required: false, }), (0, class_validator_1.IsOptional)(), (0, class_validator_1.IsString)(), tslib_1.__metadata("design:type", String) ], UpdateMigrationsWebhookDto.prototype, "installed_by", void 0); tslib_1.__decorate([ (0, swagger_1.ApiProperty)({ type: 'integer', format: 'int32', required: false, }), (0, class_validator_1.IsOptional)(), (0, class_validator_1.IsInt)(), tslib_1.__metadata("design:type", Number) ], UpdateMigrationsWebhookDto.prototype, "execution_time", void 0); tslib_1.__decorate([ (0, swagger_1.ApiProperty)({ type: 'boolean', required: false, }), (0, class_validator_1.IsOptional)(), (0, class_validator_1.IsBoolean)(), tslib_1.__metadata("design:type", Boolean) ], UpdateMigrationsWebhookDto.prototype, "success", void 0); //# sourceMappingURL=update-migrations-webhook.dto.js.map