feat: backend implementation for media manager v2 (WIP - Undeployed)

This commit is contained in:
Ben Miller
2025-12-28 08:13:27 -07:00
parent a9cb63fd67
commit 6e1222cec9
11 changed files with 763 additions and 189 deletions

View File

@ -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
}

View 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
}