Created
April 2, 2018 16:01
-
-
Save hajipy/1c78de1f2d1fb828a399f4ec4fd759cf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface IItemRepository { | |
createImage(data: any): Promise<any>; | |
deleteImage(imageId: any): Promise<void>; | |
createBundle(data: any): Promise<any>; | |
deleteBundle(bundleId: any): Promise<void>; | |
addImageToBundle(bundleId: any, index?: number): Promise<any>; | |
removeImageFromBundle(bundleId: any): Promise<any>; | |
rearrangeImageInBundle(bundleId: any, imageId: any, index: number): Promise<any>; | |
addTag(id: any, tag: string): Promise<any>; | |
removeTag(id: any, tag: string): Promise<any>; | |
listImages(): Promise<any[]>; | |
listImagesInBundle(bundleId: any): Promise<any[]>; | |
listImagesWithTag(tag: string): Promise<any[]>; | |
listTags(): Promise<string[]>; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment