Created
August 21, 2018 15:19
-
-
Save kamilkisiela/018036c328c4b02fa1e547df0d693208 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ObjectID } from 'mongodb'; | |
export interface UserDbObject { | |
_id: ObjectID; | |
profile { | |
credentials: { | |
username: string; | |
}; | |
}; | |
email?: string | null; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment