diff options
author | MCMXC <16797721+mcmxcdev@users.noreply.github.com> | 2024-02-10 18:19:14 -0700 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2024-02-13 06:59:44 +0530 |
commit | 7584d2d7a7110aef0331ebfa178b2295842c59fa (patch) | |
tree | 900cd71237e6231b57936fcce77ff229cd459041 /contracts/hash.ts | |
parent | upgrade recipes submodule (diff) | |
download | ferdium-server-7584d2d7a7110aef0331ebfa178b2295842c59fa.tar.gz ferdium-server-7584d2d7a7110aef0331ebfa178b2295842c59fa.tar.zst ferdium-server-7584d2d7a7110aef0331ebfa178b2295842c59fa.zip |
refactor: project maintenance
- work in progress
Diffstat (limited to 'contracts/hash.ts')
-rw-r--r-- | contracts/hash.ts | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/contracts/hash.ts b/contracts/hash.ts deleted file mode 100644 index af336c7..0000000 --- a/contracts/hash.ts +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | /** | ||
2 | * Contract source: https://git.io/Jfefs | ||
3 | * | ||
4 | * Feel free to let us know via PR, if you find something broken in this contract | ||
5 | * file. | ||
6 | */ | ||
7 | |||
8 | import { InferListFromConfig } from '@adonisjs/core/build/config'; | ||
9 | import hashConfig from '../config/hash'; | ||
10 | |||
11 | declare module '@ioc:Adonis/Core/Hash' { | ||
12 | interface HashersList extends InferListFromConfig<typeof hashConfig> { | ||
13 | bcrypt: { | ||
14 | config: BcryptConfig; | ||
15 | implementation: BcryptContract; | ||
16 | }; | ||
17 | argon: { | ||
18 | config: ArgonConfig; | ||
19 | implementation: ArgonContract; | ||
20 | }; | ||
21 | legacy: { | ||
22 | config: BcryptConfig; | ||
23 | implementation: HashDriverContract; | ||
24 | }; | ||
25 | } | ||
26 | } | ||