Interface IGisServiceImplementation

interface IGisServiceImplementation {
    api: ApisauceInstance;
    clearSyncData: () => Promise<void>;
    clearSyncStatus: (organization: string) => Promise<void>;
    getSyncStatus: (organization: string) => Promise<GisBackupStatus>;
    persistSyncStatus: (
        organization: string,
        status: GisBackupStatus,
    ) => Promise<void>;
    syncData: () => Promise<void>;
    syncIncrementalData: () => Promise<void>;
    upsertFeatureToStorage: (feature: DatabaseFeature) => void;
    deleteTilePack(name: string): Promise<void>;
    getTilePacks(): Promise<OfflinePack[]>;
    saveTilePack(
        pack: OfflineCreatePackOptions,
        progressListener: MapPackListener,
        errorListener: MapPackErrorListener,
    ): Promise<void>;
}

Hierarchy

  • IPlatformService
    • IGisServiceImplementation

Properties

clearSyncData: () => Promise<void>
clearSyncStatus: (organization: string) => Promise<void>
getSyncStatus: (organization: string) => Promise<GisBackupStatus>
persistSyncStatus: (
    organization: string,
    status: GisBackupStatus,
) => Promise<void>
syncData: () => Promise<void>
syncIncrementalData: () => Promise<void>
upsertFeatureToStorage: (feature: DatabaseFeature) => void

Methods

  • Parameters

    • name: string

    Returns Promise<void>

  • Returns Promise<OfflinePack[]>