lumiverse-spindle-types 0.5.30 → 0.5.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/spindle-api.ts +5 -0
package/package.json
CHANGED
package/src/spindle-api.ts
CHANGED
|
@@ -790,6 +790,11 @@ export interface SpindleAPI {
|
|
|
790
790
|
uploadFromDataUrl(dataUrl: string, originalFilename?: string, userId?: string): Promise<ImageDTO>;
|
|
791
791
|
uploadFromDataUrl(dataUrl: string, options?: ImageUploadFromDataUrlOptionsDTO): Promise<ImageDTO>;
|
|
792
792
|
delete(imageId: string, userId?: string): Promise<boolean>;
|
|
793
|
+
/**
|
|
794
|
+
* Bulk delete: chunked DB deletes with file unlinks deferred to a background
|
|
795
|
+
* task, no per-image IMAGE_DELETED events. Returns the number of rows deleted.
|
|
796
|
+
*/
|
|
797
|
+
deleteMany(imageIds: string[], options?: { userId?: string }): Promise<number>;
|
|
793
798
|
};
|
|
794
799
|
|
|
795
800
|
/**
|