25 lines
1.1 KiB
TypeScript
25 lines
1.1 KiB
TypeScript
import { BackupServiceInterface } from '@standardnotes/files'
|
|
import { Environment } from '@standardnotes/models'
|
|
import { DeviceInterface, InternalEventBusInterface, EncryptionService } from '@standardnotes/services'
|
|
import { SNSessionManager } from '../Services/Session/SessionManager'
|
|
import { ApplicationIdentifier } from '@standardnotes/common'
|
|
import { ItemManager } from '@Lib/Services/Items/ItemManager'
|
|
import { ChallengeService, SNSingletonManager, SNFeaturesService, DiskStorageService } from '@Lib/Services'
|
|
import { LegacySession, MapperInterface } from '@standardnotes/domain-core'
|
|
|
|
export type MigrationServices = {
|
|
protocolService: EncryptionService
|
|
deviceInterface: DeviceInterface
|
|
storageService: DiskStorageService
|
|
challengeService: ChallengeService
|
|
sessionManager: SNSessionManager
|
|
backups?: BackupServiceInterface
|
|
itemManager: ItemManager
|
|
singletonManager: SNSingletonManager
|
|
featuresService: SNFeaturesService
|
|
environment: Environment
|
|
identifier: ApplicationIdentifier
|
|
legacySessionStorageMapper: MapperInterface<LegacySession, Record<string, unknown>>
|
|
internalEventBus: InternalEventBusInterface
|
|
}
|