feat: prioritize loading latest selected items (#1930)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
export enum PersistenceKey {
|
||||
SelectedItemsController = 'selected-items-controller',
|
||||
NavigationController = 'navigation-controller',
|
||||
}
|
||||
|
||||
export type SelectionControllerPersistableValue = {
|
||||
selectedUuids: string[]
|
||||
}
|
||||
|
||||
export type NavigationControllerPersistableValue = {
|
||||
selectedTagUuid: string
|
||||
}
|
||||
|
||||
export type PersistedStateValue = {
|
||||
[PersistenceKey.SelectedItemsController]: SelectionControllerPersistableValue
|
||||
[PersistenceKey.NavigationController]: NavigationControllerPersistableValue
|
||||
}
|
||||
Reference in New Issue
Block a user