PlaylistsCommand,
ServicesCommand,
StreamingPlaylistsCommand,
- VideosCommand
+ VideosCommand,
+ VideoStudioCommand,
+ ViewsCommand
} from '../videos'
import { CommentsCommand } from '../videos/comments-command'
+import { VideoStatsCommand } from '../videos/video-stats-command'
import { ConfigCommand } from './config-command'
import { ContactFormCommand } from './contact-form-command'
import { DebugCommand } from './debug-command'
login?: LoginCommand
users?: UsersCommand
objectStorage?: ObjectStorageCommand
+ videoStudio?: VideoStudioCommand
videos?: VideosCommand
+ videoStats?: VideoStatsCommand
+ views?: ViewsCommand
constructor (options: { serverNumber: number } | { url: string }) {
if ((options as any).url) {
}
const execArgv = options.nodeArgs || []
- execArgv.push('--enable-source-maps')
+ // FIXME: too slow :/
+ // execArgv.push('--enable-source-maps')
const forkOptions = {
silent: true,
this.users = new UsersCommand(this)
this.videos = new VideosCommand(this)
this.objectStorage = new ObjectStorageCommand(this)
+ this.videoStudio = new VideoStudioCommand(this)
+ this.videoStats = new VideoStatsCommand(this)
+ this.views = new ViewsCommand(this)
}
}