0.1.0 • Published 2 months ago

maque-rule-designer v0.1.0

Weekly downloads
-
License
-
Repository
-
Last release
2 months ago

MAQUE-RULE-DESIGNER

Generate rule metadata through drag and drop

[中文]

rule

Install

npm i maque-rule-designer

Illustrate

Contains components such as variables, judgments, returns, conditions, condition groups, constants, datasets, functions, operators, and evaluators

Metadata Format

[
    {
        "id": "id",
        "type": "",
        "component": "RuleVar",
        "children": "",
        "childrenIf": "",
        "childrenElse": "",
        "value": "",
        "dsName": "DataSet's name",
        "dsField": "DataSet's file name"
    }
]

Type

export enum RuleEnum {
    var = "var", 
    judge = "judge", 
    condition = "condition",
    conditionGroupAnd = "conditionGroupAnd",
    conditionGroupOr = "conditionGroupOr",
    return = "return"
}

export enum ControlItemEnum {
    const = "const",
    constVarchar = "constVarchar", 
    constNumber = "constNumber", 
    dataset = "dataset",
    func = "function",
    decider = "decider",
    getvar = "getvar",
    operator = "operator",
}
0.1.0

2 months ago

0.0.12

5 months ago

0.0.13

5 months ago

0.0.14

5 months ago

0.0.10

5 months ago

0.0.11

5 months ago

0.0.1

5 months ago

0.0.9

5 months ago

0.0.8

5 months ago

0.0.7

5 months ago

0.0.6

5 months ago

0.0.5

5 months ago

0.0.4

5 months ago

0.0.3

6 months ago

0.0.2

6 months ago

0.0.0

6 months ago