22 lines
536 B
TypeScript
22 lines
536 B
TypeScript
/**
|
|
* Grid display settings interface
|
|
*/
|
|
export interface IGridSettings {
|
|
dayStartHour: number;
|
|
dayEndHour: number;
|
|
workStartHour: number;
|
|
workEndHour: number;
|
|
hourHeight: number;
|
|
snapInterval: number;
|
|
fitToWidth: boolean;
|
|
scrollToHour: number | null;
|
|
gridStartThresholdMinutes: number;
|
|
showCurrentTime: boolean;
|
|
showWorkHours: boolean;
|
|
}
|
|
/**
|
|
* Grid settings utility functions
|
|
*/
|
|
export declare namespace GridSettingsUtils {
|
|
function isValidSnapInterval(interval: number): boolean;
|
|
}
|