aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-06 10:22:37 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:16 +0200
commitf59545d97a80bf06025bf6343a80d834c7eb237f (patch)
tree7ed34f26b94964e8e707504da5fb90ff9d7486ad /shared/extra-utils
parentc1bc8ee4783d6ce3102524e6c2a02b2f0f6aab6d (diff)
downloadPeerTube-f59545d97a80bf06025bf6343a80d834c7eb237f.tar.gz
PeerTube-f59545d97a80bf06025bf6343a80d834c7eb237f.tar.zst
PeerTube-f59545d97a80bf06025bf6343a80d834c7eb237f.zip
Rename command files
Diffstat (limited to 'shared/extra-utils')
-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.ts2
-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.ts2
-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.ts2
-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.ts2
-rw-r--r--shared/extra-utils/index.ts2
-rw-r--r--shared/extra-utils/shared/abstract-command.ts2
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
2import { BulkRemoveCommentsOfBody } from '@shared/models/bulk/bulk-remove-comments-of-body.model' 2import { BulkRemoveCommentsOfBody } from '@shared/models/bulk/bulk-remove-comments-of-body.model'
3import { HttpStatusCode } from '../../../shared/core-utils/miscs/http-error-codes' 3import { HttpStatusCode } from '../../core-utils/miscs/http-error-codes'
4import { AbstractCommand, OverrideCommandOptions } from '../shared' 4import { AbstractCommand, OverrideCommandOptions } from '../shared'
5 5
6export class BulkCommand extends AbstractCommand { 6export 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 @@
1import { CustomPage } from '@shared/models' 1import { CustomPage } from '@shared/models'
2import { HttpStatusCode } from '../../../shared/core-utils/miscs/http-error-codes' 2import { HttpStatusCode } from '../../core-utils/miscs/http-error-codes'
3import { AbstractCommand, OverrideCommandOptions } from '../shared' 3import { AbstractCommand, OverrideCommandOptions } from '../shared'
4 4
5export class CustomPagesCommand extends AbstractCommand { 5export 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
2import { HttpStatusCode } from '../../../shared/core-utils/miscs/http-error-codes' 2import { HttpStatusCode } from '../../core-utils/miscs/http-error-codes'
3import { AbstractCommand, OverrideCommandOptions } from '../shared' 3import { AbstractCommand, OverrideCommandOptions } from '../shared'
4 4
5type FeedType = 'videos' | 'video-comments' | 'subscriptions' 5type 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
5export * from './custom-pages' 5export * from './custom-pages'
6 6
7export * from './feeds/feeds' 7export * from './feeds'
8 8
9export * from './mock-servers/mock-instances-index' 9export * 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 @@
1import { HttpStatusCode } from '@shared/core-utils' 1import { HttpStatusCode } from '@shared/core-utils'
2import { makeGetRequest, makePostBodyRequest, makePutBodyRequest, unwrap, unwrapBody, unwrapText } from '../requests/requests' 2import { makeGetRequest, makePostBodyRequest, makePutBodyRequest, unwrapBody, unwrapText } from '../requests/requests'
3import { ServerInfo } from '../server/servers' 3import { ServerInfo } from '../server/servers'
4 4
5export interface OverrideCommandOptions { 5export interface OverrideCommandOptions {