export var ModuleFlow;
(function (ModuleFlow) {
    // prettier-ignore
    ModuleFlow.DEFAULT_CONDITION = function condition(context) { return true; }.toString();
    ModuleFlow.empty = () => ({
        start: { id: '', version: '' },
        blocks: {},
        orphans: []
    });
})(ModuleFlow || (ModuleFlow = {}));
export var Module;
(function (Module) {
    Module.empty = () => ({
        id: '',
        version: '',
        name: '',
        description: '',
        category: '',
        image: [],
        flow: ModuleFlow.empty(),
        settings: {
            active: false,
            locked: false,
            createdAt: new Date().toISOString(),
            createdBy: ''
        }
    });
})(Module || (Module = {}));
