X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fextra-utils%2Fbulk%2Fbulk.ts;h=a58fb3fbba7781d9b88cebbc12006b209e6e4606;hb=e8bd7ce7ccafe3e064b03978e9b512c1a4cc99e6;hp=c102383e33605caf59b1b0fa8b8948b8cd678983;hpb=329619b3453479f76c049816b7403b86e9d45cb5;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/extra-utils/bulk/bulk.ts b/shared/extra-utils/bulk/bulk.ts index c102383e3..a58fb3fbb 100644 --- a/shared/extra-utils/bulk/bulk.ts +++ b/shared/extra-utils/bulk/bulk.ts @@ -1,11 +1,11 @@ import { BulkRemoveCommentsOfBody } from '@shared/models/bulk/bulk-remove-comments-of-body.model' import { HttpStatusCode } from '../../../shared/core-utils/miscs/http-error-codes' -import { AbstractCommand, CommonCommandOptions } from '../shared' +import { AbstractCommand, OverrideCommandOptions } from '../shared' -class BulkCommand extends AbstractCommand { +export class BulkCommand extends AbstractCommand { - removeCommentsOf (options: CommonCommandOptions & { + removeCommentsOf (options: OverrideCommandOptions & { attributes: BulkRemoveCommentsOfBody }) { const { attributes } = options @@ -18,7 +18,3 @@ class BulkCommand extends AbstractCommand { }) } } - -export { - BulkCommand -}