mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
esModuleInterop to true
This commit is contained in:
parent
40e7ed0714
commit
41fb13c330
208 changed files with 444 additions and 425 deletions
|
@ -1,5 +1,5 @@
|
|||
import * as express from 'express'
|
||||
import * as RateLimit from 'express-rate-limit'
|
||||
import express from 'express'
|
||||
import RateLimit from 'express-rate-limit'
|
||||
import { tokensRouter } from '@server/controllers/api/users/token'
|
||||
import { Hooks } from '@server/lib/plugins/hooks'
|
||||
import { OAuthTokenModel } from '@server/models/oauth/oauth-token'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import 'multer'
|
||||
import * as express from 'express'
|
||||
import express from 'express'
|
||||
import { auditLoggerFactory, getAuditIdFromRes, UserAuditView } from '@server/helpers/audit-logger'
|
||||
import { Hooks } from '@server/lib/plugins/hooks'
|
||||
import { AttributesOnly } from '@shared/core-utils'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import * as express from 'express'
|
||||
import express from 'express'
|
||||
import { AbuseModel } from '@server/models/abuse/abuse'
|
||||
import {
|
||||
abuseListForUserValidator,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import 'multer'
|
||||
import * as express from 'express'
|
||||
import express from 'express'
|
||||
import { logger } from '@server/helpers/logger'
|
||||
import { UserNotificationModel } from '@server/models/user/user-notification'
|
||||
import { HttpStatusCode } from '../../../../shared/models/http/http-error-codes'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import * as express from 'express'
|
||||
import express from 'express'
|
||||
import { HttpStatusCode } from '../../../../shared/models/http/http-error-codes'
|
||||
import { getFormattedObjects } from '../../../helpers/utils'
|
||||
import { sequelizeTypescript } from '../../../initializers/database'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import 'multer'
|
||||
import * as express from 'express'
|
||||
import express from 'express'
|
||||
import { UserNotificationModel } from '@server/models/user/user-notification'
|
||||
import { HttpStatusCode } from '../../../../shared/models/http/http-error-codes'
|
||||
import { UserNotificationSetting } from '../../../../shared/models/users'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import 'multer'
|
||||
import * as express from 'express'
|
||||
import express from 'express'
|
||||
import { pickCommonVideoQuery } from '@server/helpers/query'
|
||||
import { sendUndoFollow } from '@server/lib/activitypub/send'
|
||||
import { VideoChannelModel } from '@server/models/video/video-channel'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import * as express from 'express'
|
||||
import express from 'express'
|
||||
import { VideosExistInPlaylists } from '../../../../shared/models/videos/playlist/video-exist-in-playlist.model'
|
||||
import { asyncMiddleware, authenticate } from '../../../middlewares'
|
||||
import { doVideosInPlaylistExistValidator } from '../../../middlewares/validators/videos/video-playlists'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import * as express from 'express'
|
||||
import * as RateLimit from 'express-rate-limit'
|
||||
import express from 'express'
|
||||
import RateLimit from 'express-rate-limit'
|
||||
import { logger } from '@server/helpers/logger'
|
||||
import { buildUUID } from '@server/helpers/uuid'
|
||||
import { CONFIG } from '@server/initializers/config'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue