diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-06 10:22:37 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:16 +0200 |
commit | f59545d97a80bf06025bf6343a80d834c7eb237f (patch) | |
tree | 7ed34f26b94964e8e707504da5fb90ff9d7486ad | |
parent | c1bc8ee4783d6ce3102524e6c2a02b2f0f6aab6d (diff) | |
download | PeerTube-f59545d97a80bf06025bf6343a80d834c7eb237f.tar.gz PeerTube-f59545d97a80bf06025bf6343a80d834c7eb237f.tar.zst PeerTube-f59545d97a80bf06025bf6343a80d834c7eb237f.zip |
Rename command files
-rw-r--r-- | shared/extra-utils/bulk/bulk-command.ts (renamed from shared/extra-utils/bulk/bulk.ts) | 2 | ||||
-rw-r--r-- | shared/extra-utils/bulk/index.ts | 2 | ||||
-rw-r--r-- | shared/extra-utils/cli/cli-command.ts (renamed from shared/extra-utils/cli/cli.ts) | 0 | ||||
-rw-r--r-- | shared/extra-utils/cli/index.ts | 2 | ||||
-rw-r--r-- | shared/extra-utils/custom-pages/custom-pages-command.ts (renamed from shared/extra-utils/custom-pages/custom-pages.ts) | 2 | ||||
-rw-r--r-- | shared/extra-utils/custom-pages/index.ts | 2 | ||||
-rw-r--r-- | shared/extra-utils/feeds/feeds-command.ts (renamed from shared/extra-utils/feeds/feeds.ts) | 2 | ||||
-rw-r--r-- | shared/extra-utils/feeds/index.ts | 2 | ||||
-rw-r--r-- | shared/extra-utils/index.ts | 2 | ||||
-rw-r--r-- | shared/extra-utils/shared/abstract-command.ts | 2 |
10 files changed, 9 insertions, 9 deletions
diff --git a/shared/extra-utils/bulk/bulk.ts b/shared/extra-utils/bulk/bulk-command.ts index a58fb3fbb..fcbf04164 100644 --- a/shared/extra-utils/bulk/bulk.ts +++ b/shared/extra-utils/bulk/bulk-command.ts | |||
@@ -1,6 +1,6 @@ | |||
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 '../../core-utils/miscs/http-error-codes' |
4 | import { AbstractCommand, OverrideCommandOptions } from '../shared' | 4 | import { AbstractCommand, OverrideCommandOptions } from '../shared' |
5 | 5 | ||
6 | export class BulkCommand extends AbstractCommand { | 6 | export class BulkCommand extends AbstractCommand { |
diff --git a/shared/extra-utils/bulk/index.ts b/shared/extra-utils/bulk/index.ts index 5d2f9d3ad..391597243 100644 --- a/shared/extra-utils/bulk/index.ts +++ b/shared/extra-utils/bulk/index.ts | |||
@@ -1 +1 @@ | |||
export * from './bulk' | export * from './bulk-command' | ||
diff --git a/shared/extra-utils/cli/cli.ts b/shared/extra-utils/cli/cli-command.ts index bc1dddc68..bc1dddc68 100644 --- a/shared/extra-utils/cli/cli.ts +++ b/shared/extra-utils/cli/cli-command.ts | |||
diff --git a/shared/extra-utils/cli/index.ts b/shared/extra-utils/cli/index.ts index 8a3f31e2f..91b5abfbe 100644 --- a/shared/extra-utils/cli/index.ts +++ b/shared/extra-utils/cli/index.ts | |||
@@ -1 +1 @@ | |||
export * from './cli' | export * from './cli-command' | ||
diff --git a/shared/extra-utils/custom-pages/custom-pages.ts b/shared/extra-utils/custom-pages/custom-pages-command.ts index 56dabdc0f..a062c9774 100644 --- a/shared/extra-utils/custom-pages/custom-pages.ts +++ b/shared/extra-utils/custom-pages/custom-pages-command.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | import { CustomPage } from '@shared/models' | 1 | import { CustomPage } from '@shared/models' |
2 | import { HttpStatusCode } from '../../../shared/core-utils/miscs/http-error-codes' | 2 | import { HttpStatusCode } from '../../core-utils/miscs/http-error-codes' |
3 | import { AbstractCommand, OverrideCommandOptions } from '../shared' | 3 | import { AbstractCommand, OverrideCommandOptions } from '../shared' |
4 | 4 | ||
5 | export class CustomPagesCommand extends AbstractCommand { | 5 | export class CustomPagesCommand extends AbstractCommand { |
diff --git a/shared/extra-utils/custom-pages/index.ts b/shared/extra-utils/custom-pages/index.ts index 5e70778f8..58aed04f2 100644 --- a/shared/extra-utils/custom-pages/index.ts +++ b/shared/extra-utils/custom-pages/index.ts | |||
@@ -1 +1 @@ | |||
export * from './custom-pages' | export * from './custom-pages-command' | ||
diff --git a/shared/extra-utils/feeds/feeds.ts b/shared/extra-utils/feeds/feeds-command.ts index 012ce6cfe..8031adf92 100644 --- a/shared/extra-utils/feeds/feeds.ts +++ b/shared/extra-utils/feeds/feeds-command.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | ||
2 | import { HttpStatusCode } from '../../../shared/core-utils/miscs/http-error-codes' | 2 | import { HttpStatusCode } from '../../core-utils/miscs/http-error-codes' |
3 | import { AbstractCommand, OverrideCommandOptions } from '../shared' | 3 | import { AbstractCommand, OverrideCommandOptions } from '../shared' |
4 | 4 | ||
5 | type FeedType = 'videos' | 'video-comments' | 'subscriptions' | 5 | type FeedType = 'videos' | 'video-comments' | 'subscriptions' |
diff --git a/shared/extra-utils/feeds/index.ts b/shared/extra-utils/feeds/index.ts index 4634cb163..662a22b6f 100644 --- a/shared/extra-utils/feeds/index.ts +++ b/shared/extra-utils/feeds/index.ts | |||
@@ -1 +1 @@ | |||
export * from './feeds' | export * from './feeds-command' | ||
diff --git a/shared/extra-utils/index.ts b/shared/extra-utils/index.ts index 10781d049..c4f0afdc4 100644 --- a/shared/extra-utils/index.ts +++ b/shared/extra-utils/index.ts | |||
@@ -4,7 +4,7 @@ export * from './cli' | |||
4 | 4 | ||
5 | export * from './custom-pages' | 5 | export * from './custom-pages' |
6 | 6 | ||
7 | export * from './feeds/feeds' | 7 | export * from './feeds' |
8 | 8 | ||
9 | export * from './mock-servers/mock-instances-index' | 9 | export * from './mock-servers/mock-instances-index' |
10 | 10 | ||
diff --git a/shared/extra-utils/shared/abstract-command.ts b/shared/extra-utils/shared/abstract-command.ts index 53c644124..7f812daa8 100644 --- a/shared/extra-utils/shared/abstract-command.ts +++ b/shared/extra-utils/shared/abstract-command.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | import { HttpStatusCode } from '@shared/core-utils' | 1 | import { HttpStatusCode } from '@shared/core-utils' |
2 | import { makeGetRequest, makePostBodyRequest, makePutBodyRequest, unwrap, unwrapBody, unwrapText } from '../requests/requests' | 2 | import { makeGetRequest, makePostBodyRequest, makePutBodyRequest, unwrapBody, unwrapText } from '../requests/requests' |
3 | import { ServerInfo } from '../server/servers' | 3 | import { ServerInfo } from '../server/servers' |
4 | 4 | ||
5 | export interface OverrideCommandOptions { | 5 | export interface OverrideCommandOptions { |