From ee5a9b42d8c50ea393f2a2ec93268740abc1f04e Mon Sep 17 00:00:00 2001 From: jue-henry Date: Mon, 4 Nov 2024 11:48:59 -0800 Subject: [PATCH] adding docs --- src/api/db/models/Image.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/api/db/models/Image.ts b/src/api/db/models/Image.ts index 7c8ef55b..140afe6b 100644 --- a/src/api/db/models/Image.ts +++ b/src/api/db/models/Image.ts @@ -1051,6 +1051,10 @@ export class ImageModel { } } + /** + * Used by the frontend when the user manually selects and deletes more than + * 100 images at once + */ static async deleteImagesTask( input: gql.DeleteImagesInput, context: Pick, @@ -1071,6 +1075,9 @@ export class ImageModel { } } + /** + * Used by the frontend to delete all currently filtered images + */ static async deleteImagesByFilterTask( input: gql.DeleteImagesByFilterTaskInput, context: Pick,