feat(ai-admin-console): complete implementation and resolve lint compilation errors

This commit is contained in:
2026-05-21 21:42:25 +07:00
parent 1580ab2c18
commit 91e9c714df
39 changed files with 3724 additions and 72 deletions
@@ -0,0 +1,13 @@
// File: src/modules/ai/dto/ai-admin-settings.dto.ts
// Change Log
// - 2026-05-21: เพิ่ม DTO สำหรับ AI Admin toggle endpoint.
import { ApiProperty } from '@nestjs/swagger';
import { IsBoolean } from 'class-validator';
/** DTO สำหรับสลับสถานะเปิด/ปิด AI features ทั้งระบบ */
export class ToggleAiFeaturesDto {
@ApiProperty({ description: 'สถานะเปิด/ปิด AI features สำหรับผู้ใช้ทั่วไป' })
@IsBoolean()
enabled!: boolean;
}