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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lumiverse-spindle-types",
3
3
 
4
- "version": "0.5.30",
4
+ "version": "0.5.31",
5
5
  "types": "./src/index.ts",
6
6
  "keywords": [
7
7
  "lumiverse",
@@ -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
  /**