import { OAuthTokenModel } from '@server/models/oauth/oauth-token' import { PickWith } from '@server/typings/utils' import { MUserAccountUrl } from '../user/user' type Use = PickWith // ############################################################################ export type MOAuthToken = Omit export type MOAuthTokenUser = MOAuthToken & Use<'User', MUserAccountUrl> & { user?: MUserAccountUrl }