Skip to content

Commit

Permalink
refactor: upgrade dependencies to be compatible with beta release of v5
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Oct 10, 2020
1 parent 1c7500a commit 87036ea
Show file tree
Hide file tree
Showing 16 changed files with 2,619 additions and 4,439 deletions.
16 changes: 16 additions & 0 deletions adonis-typings/container.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/*
* @adonisjs/redis
*
* (c) Harminder Virk <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare module '@ioc:Adonis/Core/Application' {
import { RedisManagerContract } from '@ioc:Adonis/Addons/Redis'

export interface ContainerBindings {
'Adonis/Addons/Redis': RedisManagerContract
}
}
6 changes: 3 additions & 3 deletions adonis-typings/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ declare module '@ioc:Adonis/Core/Event' {
import { RedisClusterConnectionContract, RedisConnectionContract } from '@ioc:Adonis/Addons/Redis'

interface EventsList {
'adonis:redis:ready': { connection: RedisClusterConnectionContract | RedisConnectionContract }
'adonis:redis:error': {
'redis:ready': { connection: RedisClusterConnectionContract | RedisConnectionContract }
'redis:error': {
error: any
connection: RedisClusterConnectionContract | RedisConnectionContract
}
'adonis:redis:end': { connection: RedisClusterConnectionContract | RedisConnectionContract }
'redis:end': { connection: RedisClusterConnectionContract | RedisConnectionContract }
}
}
10 changes: 10 additions & 0 deletions adonis-typings/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
/*
* @adonisjs/redis
*
* (c) Harminder Virk <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

/// <reference path="./events.ts" />
/// <reference path="./redis.ts" />
/// <reference path="./container.ts" />
4 changes: 2 additions & 2 deletions npm-audit.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ <h5 class="card-title">
<div class="card">
<div class="card-body">
<h5 class="card-title">
21
22
</h5>
<p class="card-text">Dependencies</p>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title">
August 9th 2020, 3:31:32 pm
October 10th 2020, 6:05:43 pm
</h5>
<p class="card-text">Last updated</p>
</div>
Expand Down
Loading

0 comments on commit 87036ea

Please sign in to comment.