Rule sets / WeightLog
rule set
Rulealize.RuleSet.WeightLog
A weight diary: one line a day, with how the day felt and whether there was exercise, against a goal. A Rulealize rule set.
What 1.0.0 is made of
this documentWeightLog1.0.0
requires — this document's own
typeRulealize.Plugin.TypeSchema^1.3stateRulealize.Plugin.State^1.0seqRulealize.Plugin.Sequence^1.2recRulealize.Plugin.Record^1.0cmpRulealize.Plugin.Comparison^1.0logicRulealize.Plugin.Logic^1.0mathRulealize.Plugin.Arithmetic^1.0branchRulealize.Plugin.Branch^1.0bindRulealize.Plugin.Binding^1.0defRulealize.Plugin.Definition^1.0strRulealize.Plugin.Text^1.0Hold it
A document that holds this one writes, in its uses:
"uses": [
{ "ruleSet": "Rulealize.RuleSet.WeightLog",
"version": "^1.0", "as": "weightlog" }
]as is not optional here. The identifier is the package identifier, so nothing has to look it up; as is the short name the holding document calls it by, and it is what qualifies this rule set's inputs inside that one. An alias defaults to the identifier and may not contain a ., so leaving it out is refused with a message about a key you did not write.
Inputs a composite could constrain
| Input | Comes from |
|---|---|
goal | this document |
record | this document |
remove | this document |
Releases
1.0.0latestrequires
Rulealize.Plugin.TypeSchema ^1.3Rulealize.Plugin.State ^1.0Rulealize.Plugin.Sequence ^1.2Rulealize.Plugin.Record ^1.0Rulealize.Plugin.Comparison ^1.0Rulealize.Plugin.Logic ^1.0Rulealize.Plugin.Arithmetic ^1.0Rulealize.Plugin.Branch ^1.0Rulealize.Plugin.Binding ^1.0Rulealize.Plugin.Definition ^1.0Rulealize.Plugin.Text ^1.0
inputs
goalrecordremove