All checks were successful
Test Asgard Runner / test (push) Successful in 3s
- GatherManager: 2-tab editor (Resource Rates with 1x-10x presets, Advanced with Pickup/Quarry/Excavator/Survey modifiers), 9 resource types with slider+number inputs, CRUD + deploy + import via NATS - AutoDoors: Global settings (delay sliders, 6 toggles), 7 door type toggles, permission group overrides table, CRUD + deploy + import - DB: migrations 015 (gather_configs) + 018 (autodoors_configs) - Backend: GatherModule + AutoDoorsModule registered in app.module.ts - Frontend: Pinia stores, Vue views, router routes, sidebar nav items - Icons: Pickaxe (gather), DoorOpen (autodoors) - All type checks pass: tsc + vue-tsc zero errors Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
26 lines
595 B
TypeScript
26 lines
595 B
TypeScript
import { IsString, IsOptional, IsObject, IsBoolean, MaxLength } from 'class-validator';
|
|
import { ApiPropertyOptional } from '@nestjs/swagger';
|
|
|
|
export class UpdateGatherConfigDto {
|
|
@ApiPropertyOptional({ example: 'Updated Rates' })
|
|
@IsString()
|
|
@MaxLength(100)
|
|
@IsOptional()
|
|
config_name?: string;
|
|
|
|
@ApiPropertyOptional({ example: 'Updated description' })
|
|
@IsString()
|
|
@IsOptional()
|
|
description?: string;
|
|
|
|
@ApiPropertyOptional()
|
|
@IsObject()
|
|
@IsOptional()
|
|
config_data?: Record<string, any>;
|
|
|
|
@ApiPropertyOptional()
|
|
@IsBoolean()
|
|
@IsOptional()
|
|
is_active?: boolean;
|
|
}
|