/** * Value override for some base value\ * The data structure that use in Vue */ import { Node, Database, Project, Task, Job } from './base'; import { Plugin } from './plugin'; import { SystemLoad } from './struct'; /** * **UI Database Table Data Structure**\ * For display the data on the database page */ export interface JobTable extends Job { /** * **Select State** */ s?: boolean; } /** * **UI Database Table Data Structure**\ * For display the data on the database page */ export interface DatabaseTable extends Database { /** * **Select State** */ s?: boolean; } /** * **UI Node Table Data Structure**\ * For display the data on the node page */ export interface NodeTable extends Node { /** * **Select State** */ s?: boolean; state?: "opening" | "open" | "closed"; connection_rate?: number; plugins?: Array; system?: SystemLoad; } export interface TaskTable extends Task { /** * **Select State** */ s?: boolean; /** * **Compute Job Count**\ * Show how many jobs the task have */ jobCount: number; } export interface ProjectTable extends Project { /** * **Select State** */ s?: boolean; /** * **Compute Task Count**\ * Show how many tasks the project have */ taskCount: number; }