@adonisjs/drive
Version:
A thin wrapper on top of Flydrive to work seamlessly with AdonisJS
8 lines (7 loc) • 408 B
TypeScript
import type { Router } from '@adonisjs/core/http';
import type { AdonisFSDriverOptions } from './types.js';
import type { FSDriverOptions } from 'flydrive/drivers/fs/types';
/**
* Creates the URL builder for the flydrive "fs" driver.
*/
export declare function createURLBuilder(router: Router, config: AdonisFSDriverOptions, routeName: string): Exclude<Required<FSDriverOptions['urlBuilder']>, undefined>;