25 lines
344 B
Haxe
25 lines
344 B
Haxe
package;
|
|
|
|
import kiss.Prelude;
|
|
import kiss.List;
|
|
import kiss.Stream;
|
|
import sys.io.File;
|
|
|
|
enum EntryType {
|
|
Daily(daysOfWeek:Array<Int>);
|
|
Bonus;
|
|
Todo;
|
|
}
|
|
|
|
typedef EntryLabel = {
|
|
label:String,
|
|
points:Int
|
|
};
|
|
|
|
typedef Entry = {
|
|
type: EntryType,
|
|
labels: Array<EntryLabel>
|
|
};
|
|
|
|
@:build(kiss.Kiss.build())
|
|
class HabitModel {} |