@nova-ui/dashboards
Version:
Nova Dashboards is a framework designed to provide feature developers with a common solution for presenting data coming from various sources within a single view, as well as a set of predefined widget visualizations that are 100% configuration-driven and
22 lines (21 loc) • 491 B
TypeScript
export declare enum TimeUnit {
Second = "second",
Minute = "minute",
Hour = "hour"
}
export declare const TIME_UNITS_TO_MS: {
second: number;
minute: number;
hour: number;
};
export declare const TIME_UNITS_LONG: {
hour: string;
minute: string;
second: string;
};
export declare const TIME_UNITS_SHORT: {
hour: string;
minute: string;
second: string;
};
export declare function getTimeUnitsRatio(fromUnit: TimeUnit, toUnit: TimeUnit): number;