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>
20 lines
500 B
TypeScript
20 lines
500 B
TypeScript
import { IsString, IsOptional, IsObject, MaxLength } from 'class-validator';
|
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
|
|
export class CreateGatherConfigDto {
|
|
@ApiProperty({ example: 'Default 2x Rates' })
|
|
@IsString()
|
|
@MaxLength(100)
|
|
config_name: string;
|
|
|
|
@ApiPropertyOptional({ example: 'Standard 2x gather rates' })
|
|
@IsString()
|
|
@IsOptional()
|
|
description?: string;
|
|
|
|
@ApiPropertyOptional()
|
|
@IsObject()
|
|
@IsOptional()
|
|
config_data?: Record<string, any>;
|
|
}
|