feat: backend implementation for media manager v2 (WIP - Undeployed)
This commit is contained in:
@ -3,4 +3,8 @@ export interface IDriveService {
|
||||
saveFile(blob: GoogleAppsScript.Base.Blob, folderId: string): GoogleAppsScript.Drive.File
|
||||
getFiles(folderId: string): GoogleAppsScript.Drive.File[]
|
||||
getFileById(id: string): GoogleAppsScript.Drive.File
|
||||
renameFile(fileId: string, newName: string): void
|
||||
trashFile(fileId: string): void
|
||||
updateFileProperties(fileId: string, properties: {[key: string]: string}): void
|
||||
createFile(blob: GoogleAppsScript.Base.Blob): GoogleAppsScript.Drive.File
|
||||
}
|
||||
|
||||
@ -1,4 +1,7 @@
|
||||
export interface IShopifyMediaService {
|
||||
stagedUploadsCreate(input: any[]): any
|
||||
productCreateMedia(productId: string, media: any[]): any
|
||||
getProductMedia(productId: string): any[]
|
||||
productDeleteMedia(productId: string, mediaId: string): any
|
||||
productReorderMedia(productId: string, moves: any[]): any
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user