xapi-activities
Version:
A server for xAPI activities
12 lines (11 loc) • 703 B
TypeScript
import CommonRepo from 'jscommons/dist/repoFactory/Repo';
import DeleteProfileContentOptions from './options/DeleteProfileContentOptions';
import GetProfileContentOptions from './options/GetProfileContentOptions';
import StoreProfileContentOptions from './options/StoreProfileContentOptions';
import GetProfileContentResult from './results/GetProfileContentResult';
interface Repo extends CommonRepo {
readonly deleteProfileContent: (opts: DeleteProfileContentOptions) => Promise<void>;
readonly getProfileContent: (opts: GetProfileContentOptions) => Promise<GetProfileContentResult>;
readonly storeProfileContent: (opts: StoreProfileContentOptions) => Promise<void>;
}
export default Repo;