tech.waow.doodl.preferences

waow.tech

Documentation

The author's public preference declarations (singleton 'self'). `defaults` is an open map of preference key -> chosen value (e.g. explore: show|hide, botFeature: on|off); individual drawings may override a key via their own `prefs` field. The record's existence means the author has completed setup.

main record

The author's public preference declarations (singleton 'self'). `defaults` is an open map of preference key -> chosen value (e.g. explore: show|hide, botFeature: on|off); individual drawings may override a key via their own `prefs` field. The record's existence means the author has completed setup.

Record Key literal:self Fixed literal value

Properties

configuredAt string datetime Required

An RFC 3339 formatted timestamp.

defaults unknown Required

Open map of preference key -> value string. Unknown keys are ignored by older readers.

version integer Required

Schema version of this preferences record. Bumped only on a breaking change; new keys are added additively.

View raw schema
{
  "key": "literal:self",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "version",
      "defaults",
      "configuredAt"
    ],
    "properties": {
      "version": {
        "type": "integer",
        "description": "Schema version of this preferences record. Bumped only on a breaking change; new keys are added additively."
      },
      "defaults": {
        "type": "unknown",
        "description": "Open map of preference key -> value string. Unknown keys are ignored by older readers."
      },
      "configuredAt": {
        "type": "string",
        "format": "datetime"
      }
    }
  },
  "description": "The author's public preference declarations (singleton 'self'). `defaults` is an open map of preference key -> chosen value (e.g. explore: show|hide, botFeature: on|off); individual drawings may override a key via their own `prefs` field. The record's existence means the author has completed setup."
}

Lexicon Garden

@