Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Rename command files

Chocobozzzf59545d97a80
diff --git a/shared/extra-utils/bulk/bulk.ts b/shared/extra-utils/bulk/bulk-command.ts
similarity index 87%
rename from shared/extra-utils/bulk/bulk.ts
rename to shared/extra-utils/bulk/bulk-command.ts
index a58fb3fbba..fcbf041643 100644
--- a/shared/extra-utils/bulk/bulk.ts
+++ b/shared/extra-utils/bulk/bulk-command.ts
@@ -1,6 +1,6 @@
import { BulkRemoveCommentsOfBody } from '@shared/models/bulk/bulk-remove-comments-of-body.model'
-import { HttpStatusCode } from '../../../shared/core-utils/miscs/http-error-codes'
+import { HttpStatusCode } from '../../core-utils/miscs/http-error-codes'
import { AbstractCommand, OverrideCommandOptions } from '../shared'
export class BulkCommand extends AbstractCommand {
diff --git a/shared/extra-utils/bulk/index.ts b/shared/extra-utils/bulk/index.ts
index 5d2f9d3adf..391597243f 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
similarity index 100%
rename from shared/extra-utils/cli/cli.ts
rename to shared/extra-utils/cli/cli-command.ts
diff --git a/shared/extra-utils/cli/index.ts b/shared/extra-utils/cli/index.ts
index 8a3f31e2f3..91b5abfbee 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
similarity index 90%
rename from shared/extra-utils/custom-pages/custom-pages.ts
rename to shared/extra-utils/custom-pages/custom-pages-command.ts
index 56dabdc0f3..a062c9774f 100644
--- a/shared/extra-utils/custom-pages/custom-pages.ts
+++ b/shared/extra-utils/custom-pages/custom-pages-command.ts
@@ -1,5 +1,5 @@
import { CustomPage } from '@shared/models'
-import { HttpStatusCode } from '../../../shared/core-utils/miscs/http-error-codes'
+import { HttpStatusCode } from '../../core-utils/miscs/http-error-codes'
import { AbstractCommand, OverrideCommandOptions } from '../shared'
export class CustomPagesCommand extends AbstractCommand {
diff --git a/shared/extra-utils/custom-pages/index.ts b/shared/extra-utils/custom-pages/index.ts
index 5e70778f89..58aed04f22 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
similarity index 91%
rename from shared/extra-utils/feeds/feeds.ts
rename to shared/extra-utils/feeds/feeds-command.ts
index 012ce6cfed..8031adf921 100644
--- a/shared/extra-utils/feeds/feeds.ts
+++ b/shared/extra-utils/feeds/feeds-command.ts
@@ -1,5 +1,5 @@
-import { HttpStatusCode } from '../../../shared/core-utils/miscs/http-error-codes'
+import { HttpStatusCode } from '../../core-utils/miscs/http-error-codes'
import { AbstractCommand, OverrideCommandOptions } from '../shared'
type FeedType = 'videos' | 'video-comments' | 'subscriptions'
diff --git a/shared/extra-utils/feeds/index.ts b/shared/extra-utils/feeds/index.ts
index 4634cb1630..662a22b6fa 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 10781d0493..c4f0afdc48 100644
--- a/shared/extra-utils/index.ts
+++ b/shared/extra-utils/index.ts
@@ -4,7 +4,7 @@ export * from './cli'
export * from './custom-pages'
-export * from './feeds/feeds'
+export * from './feeds'
export * from './mock-servers/mock-instances-index'
diff --git a/shared/extra-utils/shared/abstract-command.ts b/shared/extra-utils/shared/abstract-command.ts
index 53c644124d..7f812daa89 100644
--- a/shared/extra-utils/shared/abstract-command.ts
+++ b/shared/extra-utils/shared/abstract-command.ts
@@ -1,5 +1,5 @@
import { HttpStatusCode } from '@shared/core-utils'
-import { makeGetRequest, makePostBodyRequest, makePutBodyRequest, unwrap, unwrapBody, unwrapText } from '../requests/requests'
+import { makeGetRequest, makePostBodyRequest, makePutBodyRequest, unwrapBody, unwrapText } from '../requests/requests'
import { ServerInfo } from '../server/servers'
export interface OverrideCommandOptions {