1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/backend/model/interfaces/ISharingManager.ts

8 lines
290 B
TypeScript
Raw Normal View History

2017-07-04 01:17:49 +08:00
import {SharingDTO} from "../../../common/entities/SharingDTO";
export interface ISharingManager {
findOne(filter: any): Promise<SharingDTO>;
createSharing(sharing: SharingDTO): Promise<SharingDTO>;
updateSharing(sharing: SharingDTO): Promise<SharingDTO>;
2017-07-08 04:54:18 +08:00
isSupported(): boolean;
2017-07-04 01:17:49 +08:00
}