UNPKG

opendash

Version:

open.DASH data visualization framework

14 lines (13 loc) 583 B
import { AppInterface, BaseService, SourceAdapterInterface, SourceInterface } from ".."; export declare class SourceService extends BaseService { private app; private adapter; private context; constructor(app: AppInterface, adapter: SourceAdapterInterface); getCurrent(): SourceInterface; getChildren(source: SourceInterface): SourceInterface[]; getDescendents(rootSource: SourceInterface): SourceInterface[]; _getDescendentsIds(rootSource: SourceInterface): string[]; getAll(): SourceInterface[]; setCurrent(id: string): void; }