diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-06 09:55:05 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:16 +0200 |
commit | e8bd7ce7ccafe3e064b03978e9b512c1a4cc99e6 (patch) | |
tree | c888e13aca3fc239f46d44045df6bf8e2a2ef0d3 /shared/extra-utils/bulk/bulk.ts | |
parent | 329619b3453479f76c049816b7403b86e9d45cb5 (diff) | |
download | PeerTube-e8bd7ce7ccafe3e064b03978e9b512c1a4cc99e6.tar.gz PeerTube-e8bd7ce7ccafe3e064b03978e9b512c1a4cc99e6.tar.zst PeerTube-e8bd7ce7ccafe3e064b03978e9b512c1a4cc99e6.zip |
Introduce CustomPage command
Diffstat (limited to 'shared/extra-utils/bulk/bulk.ts')
-rw-r--r-- | shared/extra-utils/bulk/bulk.ts | 10 |
1 files changed, 3 insertions, 7 deletions
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 @@ | |||
1 | 1 | ||
2 | import { BulkRemoveCommentsOfBody } from '@shared/models/bulk/bulk-remove-comments-of-body.model' | 2 | import { BulkRemoveCommentsOfBody } from '@shared/models/bulk/bulk-remove-comments-of-body.model' |
3 | import { HttpStatusCode } from '../../../shared/core-utils/miscs/http-error-codes' | 3 | import { HttpStatusCode } from '../../../shared/core-utils/miscs/http-error-codes' |
4 | import { AbstractCommand, CommonCommandOptions } from '../shared' | 4 | import { AbstractCommand, OverrideCommandOptions } from '../shared' |
5 | 5 | ||
6 | class BulkCommand extends AbstractCommand { | 6 | export class BulkCommand extends AbstractCommand { |
7 | 7 | ||
8 | removeCommentsOf (options: CommonCommandOptions & { | 8 | removeCommentsOf (options: OverrideCommandOptions & { |
9 | attributes: BulkRemoveCommentsOfBody | 9 | attributes: BulkRemoveCommentsOfBody |
10 | }) { | 10 | }) { |
11 | const { attributes } = options | 11 | const { attributes } = options |
@@ -18,7 +18,3 @@ class BulkCommand extends AbstractCommand { | |||
18 | }) | 18 | }) |
19 | } | 19 | } |
20 | } | 20 | } |
21 | |||
22 | export { | ||
23 | BulkCommand | ||
24 | } | ||