diff options
author | eug-vs <eug-vs@keemail.me> | 2020-06-21 14:29:59 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-06-21 14:30:55 +0300 |
commit | e99b51895afd532a529744396ecae87d47c68503 (patch) | |
tree | b5c1ebc0f364d8e11ddad0f27b57340d45b44bb1 /models/users/user.schema.ts | |
parent | f4c4f2d4789880c0cfc956d08aab10b5a93ebcb1 (diff) | |
download | which-api-e99b51895afd532a529744396ecae87d47c68503.tar.gz |
feat: change hooks and install which-types
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; |