Skip to content
Snippets Groups Projects

Development to testing

Merged Ghost User requested to merge Development into testing
2 files
+ 4
0
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -8,6 +8,7 @@ import {
@@ -8,6 +8,7 @@ import {
Min,
Min,
Max,
Max,
IsOptional,
IsOptional,
 
IsHexColor,
} from 'class-validator';
} from 'class-validator';
import { GameEntity } from '../game/game.entity';
import { GameEntity } from '../game/game.entity';
@@ -23,6 +24,8 @@ export class FactionDTO {
@@ -23,6 +24,8 @@ export class FactionDTO {
@IsNotEmpty()
@IsNotEmpty()
@Length(2, 31)
@Length(2, 31)
factionName: string;
factionName: string;
 
@IsHexColor()
 
colour: string;
@IsString()
@IsString()
@IsNotEmpty()
@IsNotEmpty()
@Length(3, 15)
@Length(3, 15)
Loading