Rulealize Registry Find a name /

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

Hold 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.

Getting what a uses names is the feed's job rather than this index's. rulealize restore does it from 0.8.0 — the whole graph, into the folder the holding document resolves its components from — and takes the lowest version satisfying every constraint that named it, which is the rule a requires is resolved by.

Inputs a composite could constrain

InputComes from
goalthis document
recordthis document
removethis document

Releases

  1. 1.0.0 latest

    requires

    inputs

    • goal
    • record
    • remove