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>
34 lines
863 B
TypeScript
34 lines
863 B
TypeScript
import { Entity, PrimaryGeneratedColumn, Column, ManyToOne, JoinColumn } from 'typeorm';
|
|
import { License } from './license.entity';
|
|
|
|
@Entity('gather_configs')
|
|
export class GatherConfig {
|
|
@PrimaryGeneratedColumn('uuid')
|
|
id: string;
|
|
|
|
@Column({ type: 'uuid' })
|
|
license_id: string;
|
|
|
|
@Column({ type: 'varchar', length: 100 })
|
|
config_name: string;
|
|
|
|
@Column({ type: 'text', nullable: true })
|
|
description: string | null;
|
|
|
|
@Column({ type: 'jsonb', default: () => "'{}'" })
|
|
config_data: Record<string, any>;
|
|
|
|
@Column({ type: 'boolean', default: false })
|
|
is_active: boolean;
|
|
|
|
@Column({ type: 'timestamptz', default: () => 'NOW()' })
|
|
created_at: Date;
|
|
|
|
@Column({ type: 'timestamptz', default: () => 'NOW()' })
|
|
updated_at: Date;
|
|
|
|
@ManyToOne(() => License, { onDelete: 'CASCADE' })
|
|
@JoinColumn({ name: 'license_id' })
|
|
license: License;
|
|
}
|