dev.blinkers.lens
Lets holders of a blinkers key read, change and optionally create selected records in this repo.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | blinkers.dev |
| Indexed |
Record
record · key anyProperties
allow
arrayadd lets keys create new records.
knownValues: add
The collection this lens covers, in this lens's repo.
condition
stringCEL expression. The lens only covers records for which it is true.
createdAt
string · datetimenewRecord
unknownThe object new records start from. Strings wrapped in {% %} are CEL expressions.
A record key, or a pattern where * stands for one or more characters, e.g. byjp.*
maxLength: 512
#each
objectWith items: how each item appears in the blink. Set path for a bare value or fields for an object. Paths are relative to the item. Leave each out to show the whole item.
#field
objectOne field of the blink. Set exactly one of path, items or fields.
Properties
allow
arrayChanges callers may make. Leave it out to make the field read-only.
knownValues: add | remove | replace
items
stringJSONPath (RFC 9535) selecting list items: a singular query followed by one filter or wildcard selector.
The field's name in the blink.
newItem
unknownWith items: the object new items start from, before posted values are filled in. Strings wrapped in {% %} are CEL expressions.
path
stringJSONPath (RFC 9535) selecting at most one value in the record.