feat: tab service added (#3367)
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import { PersistableRESTTabState } from "~/helpers/rest/tab"
|
||||
import { PersistableTabState } from "~/services/tab"
|
||||
import { HoppUser } from "./auth"
|
||||
import { HoppRESTDocument } from "~/helpers/rest/document"
|
||||
|
||||
export type TabStatePlatformDef = {
|
||||
loadTabStateFromSync: () => Promise<PersistableRESTTabState | null>
|
||||
loadTabStateFromSync: () => Promise<PersistableTabState<HoppRESTDocument> | null>
|
||||
writeCurrentTabState: (
|
||||
user: HoppUser,
|
||||
persistableTabState: PersistableRESTTabState
|
||||
persistableTabState: PersistableTabState<HoppRESTDocument>
|
||||
) => Promise<void>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user