From 7584d2d7a7110aef0331ebfa178b2295842c59fa Mon Sep 17 00:00:00 2001 From: MCMXC <16797721+mcmxcdev@users.noreply.github.com> Date: Sat, 10 Feb 2024 18:19:14 -0700 Subject: refactor: project maintenance - work in progress --- types/drive.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 types/drive.ts (limited to 'types/drive.ts') diff --git a/types/drive.ts b/types/drive.ts new file mode 100644 index 0000000..0ad668e --- /dev/null +++ b/types/drive.ts @@ -0,0 +1,13 @@ +/** + * Contract source: https://git.io/JBt3I + * + * Feel free to let us know via PR, if you find something broken in this contract + * file. + */ + +import { InferDisksFromConfig } from '@adonisjs/core/build/config' +import driveConfig from '../config/drive.js' + +declare module '@ioc:Adonis/Core/Drive' { + interface DisksList extends InferDisksFromConfig {} +} -- cgit v1.2.3-70-g09d2