21 lines
702 B
TypeScript
21 lines
702 B
TypeScript
import { IScript } from '@/domain/IScript';
|
|
import { ICategory } from '@/domain/ICategory';
|
|
|
|
export interface IApplication {
|
|
readonly name: string;
|
|
readonly repositoryUrl: string;
|
|
readonly version: number;
|
|
readonly categories: ReadonlyArray<ICategory>;
|
|
readonly totalScripts: number;
|
|
readonly totalCategories: number;
|
|
|
|
getRecommendedScripts(): ReadonlyArray<IScript>;
|
|
findCategory(categoryId: number): ICategory | undefined;
|
|
findScript(scriptId: string): IScript | undefined;
|
|
getAllScripts(): ReadonlyArray<IScript>;
|
|
getAllCategories(): ReadonlyArray<ICategory>;
|
|
}
|
|
|
|
export { IScript } from '@/domain/IScript';
|
|
export { ICategory } from '@/domain/ICategory';
|