1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

Split types and typings

This commit is contained in:
Chocobozzz 2020-06-18 10:45:25 +02:00
parent d6d951ddc0
commit 26d6bf6533
No known key found for this signature in database
GPG key ID: 583A612D890159BE
175 changed files with 208 additions and 206 deletions

View file

@ -1,7 +1,7 @@
import { Response } from 'express'
import { VideoChangeOwnershipModel } from '../../models/video/video-change-ownership'
import { MVideoChangeOwnershipFull } from '@server/typings/models/video/video-change-ownership'
import { MUserId } from '@server/typings/models'
import { MVideoChangeOwnershipFull } from '@server/types/models/video/video-change-ownership'
import { MUserId } from '@server/types/models'
export async function doesChangeVideoOwnershipExist (idArg: number | string, res: Response) {
const id = parseInt(idArg + '', 10)