10 lines
313 B
TypeScript
10 lines
313 B
TypeScript
import { String } from 'oak-domain/lib/types/DataType';
|
|
import { Schema as User } from './User';
|
|
import { Schema as Token } from './Token';
|
|
import { EntityShape } from 'oak-domain/lib/types/Entity';
|
|
export interface Schema extends EntityShape {
|
|
mobile: String<16>;
|
|
user: User;
|
|
tokens: Array<Token>;
|
|
}
|