@almadar/core 7.8.0 → 7.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/index.d.ts +18 -6
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -1178,14 +1178,26 @@ interface BusEventSource {
|
|
|
1178
1178
|
transition?: string;
|
|
1179
1179
|
tick?: string;
|
|
1180
1180
|
/**
|
|
1181
|
-
* True when the orbital bridge
|
|
1182
|
-
*
|
|
1183
|
-
*
|
|
1184
|
-
*
|
|
1185
|
-
*
|
|
1186
|
-
*
|
|
1181
|
+
* True when the orbital bridge re-broadcasts an event onto the bus
|
|
1182
|
+
* (any source — both echoes of the dispatched event and server-side
|
|
1183
|
+
* cascade emits via `(emit X)` / `fetch.emit.success`). Cross-trait
|
|
1184
|
+
* listeners filter on this flag so the click-time qualified emit
|
|
1185
|
+
* (which has no `fromBridge`) doesn't double-fire alongside the
|
|
1186
|
+
* post-server bridge confirmation. See `dispatched` for the narrower
|
|
1187
|
+
* "echo of the just-dispatched event" signal.
|
|
1187
1188
|
*/
|
|
1188
1189
|
fromBridge?: boolean;
|
|
1190
|
+
/**
|
|
1191
|
+
* True ONLY for the bridge echo of the event the source trait JUST
|
|
1192
|
+
* dispatched (path 1 of useOrbitalBridge). The originating trait's
|
|
1193
|
+
* `useUIEvents` skips events with this flag to prevent the source
|
|
1194
|
+
* from re-dispatching its own bridge echo (infinite loop). Server-
|
|
1195
|
+
* side cascade emits (path 2) carry `fromBridge: true` but NOT
|
|
1196
|
+
* `dispatched`, so they reach the source trait's transition handler
|
|
1197
|
+
* — that's how a fetch's `emit.success` advances the trait's own
|
|
1198
|
+
* state machine (e.g. `loading -> browsing` on `BrowseItemLoaded`).
|
|
1199
|
+
*/
|
|
1200
|
+
dispatched?: boolean;
|
|
1189
1201
|
}
|
|
1190
1202
|
/**
|
|
1191
1203
|
* An event flowing on the bus.
|