oak-domain/lib/entities/User.d.ts

8 lines
216 B
TypeScript

import { String, Text } from '../types/DataType';
import { EntityShape } from '../types/Entity';
export interface Schema extends EntityShape {
name?: String<16>;
nickname?: String<64>;
password?: Text;
}