diff options
Diffstat (limited to 'contracts/drive.ts')
-rw-r--r-- | contracts/drive.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/contracts/drive.ts b/contracts/drive.ts new file mode 100644 index 0000000..47b70f3 --- /dev/null +++ b/contracts/drive.ts | |||
@@ -0,0 +1,13 @@ | |||
1 | /** | ||
2 | * Contract source: https://git.io/JBt3I | ||
3 | * | ||
4 | * Feel free to let us know via PR, if you find something broken in this contract | ||
5 | * file. | ||
6 | */ | ||
7 | |||
8 | import { InferDisksFromConfig } from '@adonisjs/core/build/config'; | ||
9 | import driveConfig from '../config/drive'; | ||
10 | |||
11 | declare module '@ioc:Adonis/Core/Drive' { | ||
12 | interface DisksList extends InferDisksFromConfig<typeof driveConfig> {} | ||
13 | } | ||