Skip to content

Commit

Permalink
adding docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jue-henry committed Nov 4, 2024
1 parent ccb2150 commit ee5a9b4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/api/db/models/Image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<Context, 'config' | 'user'>,
Expand All @@ -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<Context, 'config' | 'user'>,
Expand Down

0 comments on commit ee5a9b4

Please sign in to comment.