* wip: add oldmarr config import
* wip: add support for wrong amount of categories / sections with autofix, color mapping, position adjustments of wrappers
* fix: lockfile broken
* feat: add support for form data trpc requests
* wip: improve file upload
* refactor: restructure import, add import configuration
* wip: add configurations for import to modal
* refactor: move oldmarr import to old-import package
* fix: column count not respects screen size for board
* feat: add beta badge for oldmarr config import
* chore: address pull request feedback
* fix: format issues
* fix: inconsistent versions
* fix: deepsource issues
* fix: revert {} to Record<string, never> convertion to prevent typecheck issue
* fix: inconsistent zod version
* fix: format issue
* chore: address pull request feedback
* fix: wrong import
* fix: broken lock file
* fix: inconsistent versions
* fix: format issues
54 lines
1.1 KiB
TypeScript
54 lines
1.1 KiB
TypeScript
import type { CommonOldmarrWidgetDefinition } from "./common";
|
|
|
|
export type OldmarrDashdotDefinition = CommonOldmarrWidgetDefinition<
|
|
"dashdot",
|
|
{
|
|
dashName: string;
|
|
url: string;
|
|
usePercentages: boolean;
|
|
columns: number;
|
|
graphHeight: number;
|
|
graphsOrder: (
|
|
| {
|
|
key: "storage";
|
|
subValues: {
|
|
enabled: boolean;
|
|
compactView: boolean;
|
|
span: number;
|
|
multiView: boolean;
|
|
};
|
|
}
|
|
| {
|
|
key: "network";
|
|
subValues: {
|
|
enabled: boolean;
|
|
compactView: boolean;
|
|
span: number;
|
|
};
|
|
}
|
|
| {
|
|
key: "cpu";
|
|
subValues: {
|
|
enabled: boolean;
|
|
multiView: boolean;
|
|
span: number;
|
|
};
|
|
}
|
|
| {
|
|
key: "ram";
|
|
subValues: {
|
|
enabled: boolean;
|
|
span: number;
|
|
};
|
|
}
|
|
| {
|
|
key: "gpu";
|
|
subValues: {
|
|
enabled: boolean;
|
|
span: number;
|
|
};
|
|
}
|
|
)[];
|
|
}
|
|
>;
|