diff options
author | Chocobozzz <me@florianbigard.com> | 2022-03-21 14:20:47 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-03-21 14:20:47 +0100 |
commit | f4110e0a7273338da598c7524a826c3b44e41ef9 (patch) | |
tree | e0f4d657bd02fe568aa2e8453969e074c69b911b /server/lib | |
parent | 439b6b7bfb5243f016135ccbd13a3491741cf809 (diff) | |
download | PeerTube-f4110e0a7273338da598c7524a826c3b44e41ef9.tar.gz PeerTube-f4110e0a7273338da598c7524a826c3b44e41ef9.tar.zst PeerTube-f4110e0a7273338da598c7524a826c3b44e41ef9.zip |
Update server dependencies
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/activitypub/send/shared/audience-utils.ts | 2 | ||||
-rw-r--r-- | server/lib/redis.ts | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/server/lib/activitypub/send/shared/audience-utils.ts b/server/lib/activitypub/send/shared/audience-utils.ts index a5f64a08d..ba4be487c 100644 --- a/server/lib/activitypub/send/shared/audience-utils.ts +++ b/server/lib/activitypub/send/shared/audience-utils.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import { Transaction } from 'sequelize/dist' | 1 | import { Transaction } from 'sequelize' |
2 | import { ACTIVITY_PUB } from '@server/initializers/constants' | 2 | import { ACTIVITY_PUB } from '@server/initializers/constants' |
3 | import { ActorModel } from '@server/models/actor/actor' | 3 | import { ActorModel } from '@server/models/actor/actor' |
4 | import { VideoModel } from '@server/models/video/video' | 4 | import { VideoModel } from '@server/models/video/video' |
diff --git a/server/lib/redis.ts b/server/lib/redis.ts index bbe94fe40..c4c1fa443 100644 --- a/server/lib/redis.ts +++ b/server/lib/redis.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import { createClient, RedisClientOptions, RedisModules } from 'redis' | 1 | import { createClient, RedisClientOptions, RedisModules, RedisScripts } from 'redis' |
2 | import { exists } from '@server/helpers/custom-validators/misc' | 2 | import { exists } from '@server/helpers/custom-validators/misc' |
3 | import { sha256 } from '@shared/extra-utils' | 3 | import { sha256 } from '@shared/extra-utils' |
4 | import { logger } from '../helpers/logger' | 4 | import { logger } from '../helpers/logger' |
@@ -18,7 +18,7 @@ import { | |||
18 | 18 | ||
19 | // Only used for typings | 19 | // Only used for typings |
20 | // TODO: remove when https://github.com/microsoft/TypeScript/issues/37181 is fixed | 20 | // TODO: remove when https://github.com/microsoft/TypeScript/issues/37181 is fixed |
21 | const redisClientWrapperForType = () => createClient<{}>() | 21 | const redisClientWrapperForType = () => createClient<{}, RedisScripts>() |
22 | 22 | ||
23 | class Redis { | 23 | class Redis { |
24 | 24 | ||