]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Rename command files
authorChocobozzz <me@florianbigard.com>
Tue, 6 Jul 2021 08:22:37 +0000 (10:22 +0200)
committerChocobozzz <me@florianbigard.com>
Tue, 20 Jul 2021 13:27:16 +0000 (15:27 +0200)
shared/extra-utils/bulk/bulk-command.ts [moved from shared/extra-utils/bulk/bulk.ts with 87% similarity]
shared/extra-utils/bulk/index.ts
shared/extra-utils/cli/cli-command.ts [moved from shared/extra-utils/cli/cli.ts with 100% similarity]
shared/extra-utils/cli/index.ts
shared/extra-utils/custom-pages/custom-pages-command.ts [moved from shared/extra-utils/custom-pages/custom-pages.ts with 90% similarity]
shared/extra-utils/custom-pages/index.ts
shared/extra-utils/feeds/feeds-command.ts [moved from shared/extra-utils/feeds/feeds.ts with 91% similarity]
shared/extra-utils/feeds/index.ts
shared/extra-utils/index.ts
shared/extra-utils/shared/abstract-command.ts

similarity index 87%
rename from shared/extra-utils/bulk/bulk.ts
rename to shared/extra-utils/bulk/bulk-command.ts
index a58fb3fbba7781d9b88cebbc12006b209e6e4606..fcbf0416432452701ff66f50ed1ba6fd42c8cd6d 100644 (file)
@@ -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 {
index 5d2f9d3adf66790387f4019f74ea0c8b4bfa763a..391597243f74a050f77a750fdfaa18164056d4be 100644 (file)
@@ -1 +1 @@
-export * from './bulk'
+export * from './bulk-command'
index 8a3f31e2f39d927181f21c141e40ac8eba7bd1b8..91b5abfbeef86c3b19edf82b5a27d50e5dd73c3a 100644 (file)
@@ -1 +1 @@
-export * from './cli'
+export * from './cli-command'
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 56dabdc0f30cf08f1c7b114d38fb8d93553f9325..a062c9774fb14e593d28295c1827d3d81fe6f72c 100644 (file)
@@ -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 {
index 5e70778f896800904edc6bc2640e8ce95f5ca082..58aed04f222088e336c34f935f2f113accdc0745 100644 (file)
@@ -1 +1 @@
-export * from './custom-pages'
+export * from './custom-pages-command'
similarity index 91%
rename from shared/extra-utils/feeds/feeds.ts
rename to shared/extra-utils/feeds/feeds-command.ts
index 012ce6cfedd7add4a200a0954f44a1d92f5386be..8031adf921b7753b9bc2a6ca1b68c0e923aa02c7 100644 (file)
@@ -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'
index 4634cb163046958720fa5e44cc05c1f811ace7d7..662a22b6fa370ae195a3162a4e6745c1b7c556de 100644 (file)
@@ -1 +1 @@
-export * from './feeds'
+export * from './feeds-command'
index 10781d04930667bea3e7ef071a9c139b9b8be941..c4f0afdc48ad213ece43069dfead6eb0d492798e 100644 (file)
@@ -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'
 
index 53c644124dc320b606d766d6cda0cd3c23ba530b..7f812daa898240bdfee7e2645e81774ef6213dbf 100644 (file)
@@ -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 {