UNPKG

@nestjs-mod/two-factor

Version:

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

65 lines 2.02 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TwoFactorCodeDto = void 0; const tslib_1 = require("tslib"); const swagger_1 = require("@nestjs/swagger"); class TwoFactorCodeDto { } exports.TwoFactorCodeDto = TwoFactorCodeDto; tslib_1.__decorate([ (0, swagger_1.ApiProperty)({ type: 'string', }), tslib_1.__metadata("design:type", String) ], TwoFactorCodeDto.prototype, "id", void 0); tslib_1.__decorate([ (0, swagger_1.ApiProperty)({ type: 'string', }), tslib_1.__metadata("design:type", String) ], TwoFactorCodeDto.prototype, "type", void 0); tslib_1.__decorate([ (0, swagger_1.ApiProperty)({ type: 'string', }), tslib_1.__metadata("design:type", String) ], TwoFactorCodeDto.prototype, "operationName", void 0); tslib_1.__decorate([ (0, swagger_1.ApiProperty)({ type: 'string', }), tslib_1.__metadata("design:type", String) ], TwoFactorCodeDto.prototype, "code", void 0); tslib_1.__decorate([ (0, swagger_1.ApiProperty)({ type: 'boolean', }), tslib_1.__metadata("design:type", Boolean) ], TwoFactorCodeDto.prototype, "used", void 0); tslib_1.__decorate([ (0, swagger_1.ApiProperty)({ type: 'boolean', }), tslib_1.__metadata("design:type", Boolean) ], TwoFactorCodeDto.prototype, "outdated", void 0); tslib_1.__decorate([ (0, swagger_1.ApiProperty)({ type: 'string', }), tslib_1.__metadata("design:type", String) ], TwoFactorCodeDto.prototype, "externalTenantId", void 0); tslib_1.__decorate([ (0, swagger_1.ApiProperty)({ type: 'string', format: 'date-time', }), tslib_1.__metadata("design:type", Date) ], TwoFactorCodeDto.prototype, "createdAt", void 0); tslib_1.__decorate([ (0, swagger_1.ApiProperty)({ type: 'string', format: 'date-time', }), tslib_1.__metadata("design:type", Date) ], TwoFactorCodeDto.prototype, "updatedAt", void 0); //# sourceMappingURL=two-factor-code.dto.js.map