MyAnythingList Canonical English Docs
Scripting Interface
scripting-interface_en.html
This document defines the canonical programmatic control surface. Scripted control exists so future contributors can reproduce behavior without manual clicking.
1. Interface Principles
- Commands map to documented state, not invisible side effects.
- Scripted renders use the same composition model as UI renders.
- Arguments must be deterministic and serializable.
- Commands must obey the same QR, localization, export, and preservation rules as the UI path.
2. Canonical Operations
setThumbnail(...)
setQR(...)
setURLArt(...)
setLocalization(...)
setResolution(...)
render(...)
export(...)
These names are the canonical conceptual operations ratified in the docs. Implementations may expose them through JS APIs, CLI wrappers, or future service layers, but the semantics must remain stable.
3. Execution Guarantees
- Selected resolution is the real render target.
- QR-enabled render may not complete without either including QR or emitting a documented failure.
- Scripted output must match canonical live/export composition rules.