chore: move collections sync system to platform (#2940)
This commit is contained in:
3
packages/hoppscotch-common/src/platform/collections.ts
Normal file
3
packages/hoppscotch-common/src/platform/collections.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export type CollectionsPlatformDef = {
|
||||
initCollectionsSync: () => void
|
||||
}
|
||||
@@ -1,12 +1,14 @@
|
||||
import { AuthPlatformDef } from "./auth"
|
||||
import { UIPlatformDef } from "./ui"
|
||||
import { EnvironmentsPlatformDef } from "./environments"
|
||||
import { CollectionsPlatformDef } from "./collections"
|
||||
|
||||
export type PlatformDef = {
|
||||
ui?: UIPlatformDef
|
||||
auth: AuthPlatformDef
|
||||
sync: {
|
||||
environments: EnvironmentsPlatformDef
|
||||
collections: CollectionsPlatformDef
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user