import { ResourceAdapter } from './ResourceAdapter'; import { TaskList } from './TaskList'; import { BaseResource, BaseResourceOptions } from './types'; export interface ResourceAdapterOptions { readonly name: string; readonly dataPath: string; } export interface ResourceDependency { readonly plugin: string; readonly resourceType: string; readonly name: string; } export interface MasterResourceAdapter { readonly initResourceAdapter: ( options: ResourceAdapterOptions, ) => Promise>; readonly createResourceAdapter: (adapterOptions: ResourceAdapterOptions, options: ResourceOptions) => TaskList; }