Skip to content

Commit e0d2dff

Browse files
docs: auto-update API reference from source code
1 parent 4bff427 commit e0d2dff

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

wiki/API-Reference:-Dashboard.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,6 +1195,16 @@ GETEVENTMARKERS Per-event time + severity + color for slider markers.
11951195

11961196
#### `s = toStruct(obj)`
11971197

1198+
#### `evts = resolveEvents(obj)`
1199+
1200+
RESOLVEEVENTS Get events from the best available source.
1201+
Priority: EventStoreObj > TagRegistry default > EventFcn > Events
1202+
(static / Event objects). When FilterTagKey is set AND an
1203+
EventStore is bound (explicit or registry-default), events are
1204+
pulled via EventStore.getEventsForTag(tagKey) using the dual-key
1205+
pattern from Phase 1010 + the registry-default fallback from
1206+
Phase 1017.
1207+
11981208
### Static Methods
11991209

12001210
#### `EventTimelineWidget.obj = fromStruct(s)`

wiki/API-Reference:-Sensors.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1317,6 +1317,19 @@ UNREGISTER Remove a Tag (silent no-op if missing).
13171317

13181318
CLEAR Wipe the catalog. Primarily for test isolation.
13191319

1320+
#### `TagRegistry.setEventStore(store)`
1321+
1322+
SETEVENTSTORE Register the default EventStore for the registry.
1323+
TagRegistry.setEventStore(store) sets the global default used
1324+
by FastSense, FastSenseWidget, EventTimelineWidget, and
1325+
TableWidget(events) when no per-instance EventStore is
1326+
configured. Pass [] to clear the default.
1327+
1328+
#### `TagRegistry.store = getEventStore()`
1329+
1330+
GETEVENTSTORE Return the registry-default EventStore, or [] if unset.
1331+
Safe to call before any store has been registered -- returns [].
1332+
13201333
#### `TagRegistry.ts = find(predicateFn)`
13211334

13221335
FIND Return cell of Tags matching predicateFn(tag) -> logical.

0 commit comments

Comments
 (0)