drive.ts 384 B

12345678910111213
  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. import type { InferDisksFromConfig } from '@adonisjs/core/build/config'
  8. import type driveConfig from '../config/drive'
  9. declare module '@ioc:Adonis/Core/Drive' {
  10. interface DisksList extends InferDisksFromConfig<typeof driveConfig> {}
  11. }