UNPKG

@ackplus/nest-dynamic-templates

Version:

Dynamic template management for NestJS applications

61 lines 2.23 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TemplateLayoutFilterDto = void 0; const tslib_1 = require("tslib"); const class_validator_1 = require("class-validator"); const swagger_1 = require("@nestjs/swagger"); class TemplateLayoutFilterDto { } exports.TemplateLayoutFilterDto = TemplateLayoutFilterDto; tslib_1.__decorate([ (0, swagger_1.ApiProperty)({ type: String, required: false, description: 'Filter by scope (e.g., system, tenant, organization)' }), (0, class_validator_1.IsString)(), (0, class_validator_1.IsOptional)(), tslib_1.__metadata("design:type", String) ], TemplateLayoutFilterDto.prototype, "scope", void 0); tslib_1.__decorate([ (0, swagger_1.ApiProperty)({ type: String, required: false, description: 'Filter by scope ID (e.g., tenant ID, organization ID)' }), (0, class_validator_1.IsString)(), (0, class_validator_1.IsOptional)(), tslib_1.__metadata("design:type", String) ], TemplateLayoutFilterDto.prototype, "scopeId", void 0); tslib_1.__decorate([ (0, swagger_1.ApiProperty)({ type: String, required: false, description: 'Filter by template type' }), (0, class_validator_1.IsString)(), (0, class_validator_1.IsOptional)(), tslib_1.__metadata("design:type", String) ], TemplateLayoutFilterDto.prototype, "type", void 0); tslib_1.__decorate([ (0, swagger_1.ApiProperty)({ type: String, required: false, description: 'Filter by locale (e.g., en, fr, es)' }), (0, class_validator_1.IsString)(), (0, class_validator_1.IsOptional)(), tslib_1.__metadata("design:type", String) ], TemplateLayoutFilterDto.prototype, "locale", void 0); tslib_1.__decorate([ (0, swagger_1.ApiProperty)({ type: [String], required: false, description: 'Exclude templates with these names' }), (0, class_validator_1.IsArray)(), (0, class_validator_1.IsString)({ each: true }), (0, class_validator_1.IsOptional)(), tslib_1.__metadata("design:type", Array) ], TemplateLayoutFilterDto.prototype, "excludeNames", void 0); //# sourceMappingURL=template-layout-filter.dto.js.map