mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-31 18:10:50 +01:00
- Introduced new interfaces for various store modules including environment, file, git, layout, node, notification alerts, channels, requests, settings, plugins, projects, roles, schedules, spiders, systems, tags, tasks, tokens, and users. - Each module includes state, getters, mutations, and actions definitions to enhance type safety and maintainability. - Added utility interfaces for file handling and view-specific types for database, git, login, node, project, result, schedule, spider, task, and user. - Improved overall structure and organization of TypeScript typings for better developer experience.
15 lines
379 B
TypeScript
15 lines
379 B
TypeScript
import { Store } from 'vuex';
|
|
|
|
export declare global {
|
|
interface CreateAppOptions {
|
|
initBaiduTongji?: boolean;
|
|
initClarity?: boolean;
|
|
mount?: boolean | string;
|
|
store?: Store;
|
|
rootRoutes?: Array<ExtendedRouterRecord>;
|
|
routes?: Array<ExtendedRouterRecord>;
|
|
allRoutes?: Array<ExtendedRouterRecord>;
|
|
createRouterOptions?: CreateRouterOptions;
|
|
}
|
|
}
|