Move ProviderEnum and PassportProfile to web/auth/utils.ts

These two are directly related with auth stuff and seem to fit much better there.

Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
David Mehren 2020-06-06 19:59:53 +02:00
parent 4e7c82dc3b
commit 5852b45bdd
No known key found for this signature in database
GPG key ID: 6017AF117F9756CB
6 changed files with 30 additions and 31 deletions

View file

@ -11,7 +11,7 @@ import { History } from './history'
import { logger } from './logger'
import { Author, Note, Revision, User } from './models'
import { NoteAuthorship } from './models/note'
import { PhotoProfile, PassportProfile } from './models/user'
import { PhotoProfile } from './models/user'
import { EditorSocketIOServer } from './ot/editor-socketio-server'
import { mapToObject } from './utils'