@@ -1,4 +1,4 @@
 | 
			
		||||
import { IsBoolean, IsInt, IsOptional, IsString } from "class-validator";
 | 
			
		||||
import { IsInt, IsOptional, IsString } from "class-validator";
 | 
			
		||||
import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";
 | 
			
		||||
/**
 | 
			
		||||
 * Defines the StatsClient entity.
 | 
			
		||||
@@ -22,14 +22,6 @@ export class StatsClient {
 | 
			
		||||
    @IsString()
 | 
			
		||||
    description?: string;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Is the client enabled (for fraud and setup reasons)?
 | 
			
		||||
     * Default: true
 | 
			
		||||
     */
 | 
			
		||||
    @Column()
 | 
			
		||||
    @IsBoolean()
 | 
			
		||||
    enabled: boolean = true;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * The client's api key prefix.
 | 
			
		||||
     * This is used identitfy a client by it's api key.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user