@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
54 lines • 1.69 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.TwoFactorUserDto = void 0;
const tslib_1 = require("tslib");
const swagger_1 = require("@nestjs/swagger");
class TwoFactorUserDto {
}
exports.TwoFactorUserDto = TwoFactorUserDto;
tslib_1.__decorate([
(0, swagger_1.ApiProperty)({
type: 'string',
}),
tslib_1.__metadata("design:type", String)
], TwoFactorUserDto.prototype, "id", void 0);
tslib_1.__decorate([
(0, swagger_1.ApiProperty)({
type: 'string',
nullable: true,
}),
tslib_1.__metadata("design:type", Object)
], TwoFactorUserDto.prototype, "username", void 0);
tslib_1.__decorate([
(0, swagger_1.ApiProperty)({
type: 'string',
}),
tslib_1.__metadata("design:type", String)
], TwoFactorUserDto.prototype, "secret", void 0);
tslib_1.__decorate([
(0, swagger_1.ApiProperty)({
type: 'string',
}),
tslib_1.__metadata("design:type", String)
], TwoFactorUserDto.prototype, "externalTenantId", void 0);
tslib_1.__decorate([
(0, swagger_1.ApiProperty)({
type: 'string',
}),
tslib_1.__metadata("design:type", String)
], TwoFactorUserDto.prototype, "externalUserId", void 0);
tslib_1.__decorate([
(0, swagger_1.ApiProperty)({
type: 'string',
format: 'date-time',
}),
tslib_1.__metadata("design:type", Date)
], TwoFactorUserDto.prototype, "createdAt", void 0);
tslib_1.__decorate([
(0, swagger_1.ApiProperty)({
type: 'string',
format: 'date-time',
}),
tslib_1.__metadata("design:type", Date)
], TwoFactorUserDto.prototype, "updatedAt", void 0);
//# sourceMappingURL=two-factor-user.dto.js.map