UNPKG

@bagaking/dayboxing

Version:

A React component library for DayBoxing time management visualization

13 lines (12 loc) 510 B
import { DayPattern, PatternEditEvent } from "../types"; export declare const editPattern: (pattern: DayPattern, type: PatternEditEvent["type"], payload: PatternEditEvent["payload"]) => DayPattern; export declare const createHoursFromPattern: (pattern: DayPattern) => ({ hour: number; type: string; comment?: undefined; } | { hour: number; type: string; comment: string | undefined; })[]; export declare const createCommonPattern: (type: "work" | "improve" | "balanced") => DayPattern;