IuryNogueira/myreef

View on GitHub
back/src/domain/entity/Coral.ts

Summary

Maintainability
A
0 mins
Test Coverage
export type Light = 'low' | 'medium' | 'high'
export type Flow = 'weak' | 'medium' | 'strong'
export type Depth = 'shallow' | 'medium'| 'deep' | 'indifferent'
export type Difficulty = 'To newbies' | 'Need more careful' | 'Only experients aquarists'
 
export class Coral {
constructor (
readonly name: string,
readonly light: Light[] | Light,
readonly flow: Flow[] | Flow,
readonly depth: Depth[] | Depth,
readonly difficulty: Difficulty
) {
}
}