* fix(snjs): refreshing sessions * fix(snjs): bring back all tests * fix(snjs): passing session tokens values * fix(api): remove redundant specs * fix(snjs): add projecting sessions to storage values * fix(snjs): deps tree * fix(snjs): bring back subscription tests * fix(snjs): remove only tag for migration tests * fix(snjs): session specs
24 lines
1.0 KiB
TypeScript
24 lines
1.0 KiB
TypeScript
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
|
|
itemManager: ItemManager
|
|
singletonManager: SNSingletonManager
|
|
featuresService: SNFeaturesService
|
|
environment: Environment
|
|
identifier: ApplicationIdentifier
|
|
legacySessionStorageMapper: MapperInterface<LegacySession, Record<string, unknown>>
|
|
internalEventBus: InternalEventBusInterface
|
|
}
|