WIP archive controllers

This commit is contained in:
2021-06-23 09:40:44 -06:00
parent ee80c9edb2
commit 58544a2eb8
7 changed files with 101 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
package nat;
import kiss.Prelude;
import kiss.List;
import kiss.Operand;
import haxe.Constraints;
enum CommandArgument {
SelectedEntry;
SelectedEntries(min:Null<Int>, max:Null<Int>);
Text(minLength:Null<Int>, maxLength:Null<Int>);
Number(min:Null<Float>, max:Null<Float>, inStepsOf:Null<Float>);
Entry;
Entries(min:Null<Int>, max:Null<Int>);
}
typedef Command = {
args:Array<CommandArgument>,
handler:Function
};
typedef ChangeSet = Array<Entry>;
@:build(kiss.Kiss.build())
class ArchiveController {}