delta-store
Version:
An API for a store with change records
15 lines (14 loc) • 897 B
TypeScript
import { SharingAdaptor, SharingPlatformSetupInfo, ChangeListShareInfo } from "../SharingAdaptor";
import { SharedChangeList } from "../RepositoryApi";
import { InMemoryChangeStore } from "./InMemoryChangeStore";
/**
* Created by Papa on 11/26/2016.
*/
export declare class InMemorySharingAdaptor implements SharingAdaptor {
changeStore: InMemoryChangeStore;
setupInfoBelongsTo(setupInfo: SharingPlatformSetupInfo, setupInfos: SharingPlatformSetupInfo[]): boolean;
initialize(setupInfo: SharingPlatformSetupInfo): Promise<SharingPlatformSetupInfo>;
findExistingChangeLists(setupInfo: SharingPlatformSetupInfo): Promise<ChangeListShareInfo[]>;
createChangeList(shareInfo: ChangeListShareInfo, setupInfo: SharingPlatformSetupInfo): Promise<SharedChangeList>;
loadChangeList(shareInfo: ChangeListShareInfo, setupInfo: SharingPlatformSetupInfo): Promise<SharedChangeList>;
}