harperdb
Version:
HarperDB is a distributed database, caching service, streaming broker, and application development platform focused on performance and ease of use.
22 lines (21 loc) • 725 B
TypeScript
import { FastGlobOptions, FilesOption } from './deriveGlobOptions';
interface ComponentConfig {
files: FilesOption;
urlPath?: string;
[key: string]: unknown;
}
export type FileAndURLPathConfig = Pick<ComponentConfig, 'files' | 'urlPath'>;
export declare class ComponentInvalidPatternError extends Error {
constructor(pattern: string);
}
export declare class Component {
readonly globOptions: FastGlobOptions;
readonly baseURLPath: string;
readonly patternBases: string[];
readonly directory: string;
readonly name: string;
readonly config: ComponentConfig;
readonly commonPatternBase: string;
constructor(name: string, directory: string, config: ComponentConfig);
}
export {};