chore: add option to transition your data - internal feature (#2449)

* chore: add option to transition your data - internal feature

* chore: fix spec typo
This commit is contained in:
Karol Sójko
2023-08-24 14:58:15 +02:00
committed by GitHub
parent e41f239cc5
commit 3dd9504a85
13 changed files with 249 additions and 2 deletions

View File

@@ -81,6 +81,8 @@ import {
GenerateUuid,
CreateDecryptedBackupFile,
CreateEncryptedBackupFile,
GetTransitionStatus,
StartTransition,
} from '@standardnotes/services'
import {
SNNote,
@@ -1138,6 +1140,14 @@ export class SNApplication implements ApplicationInterface, AppGroupManagedAppli
return this.dependencies.get<SetHost>(TYPES.SetHost)
}
get getTransitionStatus(): GetTransitionStatus {
return this.dependencies.get<GetTransitionStatus>(TYPES.GetTransitionStatus)
}
get startTransition(): StartTransition {
return this.dependencies.get<StartTransition>(TYPES.StartTransition)
}
public get legacyApi(): LegacyApiService {
return this.dependencies.get<LegacyApiService>(TYPES.LegacyApiService)
}