chore: move collections sync system to platform (#2940)

This commit is contained in:
Akash K
2023-03-13 17:08:05 +05:30
committed by GitHub
parent ae9b7183b5
commit 7e1b26c6a9
7 changed files with 46 additions and 47 deletions

View File

@@ -0,0 +1,3 @@
export type CollectionsPlatformDef = {
initCollectionsSync: () => void
}

View File

@@ -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
}
}