diff options
Diffstat (limited to 'models/users/user.schema.ts')
-rw-r--r-- | models/users/user.schema.ts | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/models/users/user.schema.ts b/models/users/user.schema.ts index fd7d1e1..9030d61 100644 --- a/models/users/user.schema.ts +++ b/models/users/user.schema.ts @@ -1,10 +1,5 @@ import { Document, Schema } from 'mongoose'; - -export interface User { - name: string; - avatarUrl?: string; - age?: number; -} +import { User } from 'which-types'; export interface UserSchema extends Document, User { password: string; |