mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2026-09-03 20:53:09 -05:00
Update server dependencies
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Transaction } from 'sequelize/dist'
|
||||
import { Transaction } from 'sequelize'
|
||||
import { ACTIVITY_PUB } from '@server/initializers/constants'
|
||||
import { ActorModel } from '@server/models/actor/actor'
|
||||
import { VideoModel } from '@server/models/video/video'
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
import { createClient, RedisClientOptions, RedisModules } from 'redis'
|
||||
import { createClient, RedisClientOptions, RedisModules, RedisScripts } from 'redis'
|
||||
import { exists } from '@server/helpers/custom-validators/misc'
|
||||
import { sha256 } from '@shared/extra-utils'
|
||||
import { logger } from '../helpers/logger'
|
||||
@@ -18,7 +18,7 @@ import {
|
||||
|
||||
// Only used for typings
|
||||
// TODO: remove when https://github.com/microsoft/TypeScript/issues/37181 is fixed
|
||||
const redisClientWrapperForType = () => createClient<{}>()
|
||||
const redisClientWrapperForType = () => createClient<{}, RedisScripts>()
|
||||
|
||||
class Redis {
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import { FindOptions } from 'sequelize'
|
||||
import { AllowNull, BelongsTo, Column, CreatedAt, DataType, ForeignKey, Is, Model, Table, UpdatedAt } from 'sequelize-typescript'
|
||||
import { isAbuseMessageValid } from '@server/helpers/custom-validators/abuses'
|
||||
import { MAbuseMessage, MAbuseMessageFormattable } from '@server/types/models'
|
||||
@@ -6,7 +7,6 @@ import { AttributesOnly } from '@shared/typescript-utils'
|
||||
import { AccountModel, ScopeNames as AccountScopeNames } from '../account/account'
|
||||
import { getSort, throwIfNotValid } from '../utils'
|
||||
import { AbuseModel } from './abuse'
|
||||
import { FindOptions } from 'sequelize/dist'
|
||||
|
||||
@Table({
|
||||
tableName: 'abuseMessage',
|
||||
|
||||
Reference in New Issue
Block a user