@almadar/ui 5.156.0 → 5.158.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/{EntityBindingContext-BfZGeDfX.d.cts → EntityBindingContext-Bn3ePJQC.d.cts} +6 -2
- package/dist/{EntityBindingContext-BfZGeDfX.d.ts → EntityBindingContext-Bn3ePJQC.d.ts} +6 -2
- package/dist/avl/index.cjs +283 -43
- package/dist/avl/index.js +283 -43
- package/dist/components/index.cjs +249 -33
- package/dist/components/index.d.cts +46 -6
- package/dist/components/index.d.ts +46 -6
- package/dist/components/index.js +250 -34
- package/dist/providers/index.cjs +251 -35
- package/dist/providers/index.d.cts +1 -1
- package/dist/providers/index.d.ts +1 -1
- package/dist/providers/index.js +251 -35
- package/dist/runtime/index.cjs +283 -43
- package/dist/runtime/index.d.cts +12 -3
- package/dist/runtime/index.d.ts +12 -3
- package/dist/runtime/index.js +283 -43
- package/package.json +4 -4
|
@@ -145,7 +145,7 @@ interface SendEventResult {
|
|
|
145
145
|
}
|
|
146
146
|
interface ServerBridgeContextValue {
|
|
147
147
|
connected: boolean;
|
|
148
|
-
sendEvent: (orbitalName: string, event: string, payload?: EventPayload) => Promise<SendEventResult>;
|
|
148
|
+
sendEvent: (orbitalName: string, event: string, payload?: EventPayload, tick?: string, sourceTrait?: string) => Promise<SendEventResult>;
|
|
149
149
|
}
|
|
150
150
|
/**
|
|
151
151
|
* Transport adapter for ServerBridgeProvider. Decouples the bridge's
|
|
@@ -168,8 +168,12 @@ interface ServerBridgeTransport {
|
|
|
168
168
|
* `clientId` (Almadar_Live_Push.md) is the per-tab id stamped on every
|
|
169
169
|
* dispatch so the server's push broadcast can exclude the origin tab
|
|
170
170
|
* (it already got this cascade in-response).
|
|
171
|
+
*
|
|
172
|
+
* `tick`/`sourceTrait` (T6, docs/Almadar_Tick_Loop.md §3a) mark a
|
|
173
|
+
* tick-originated latest-state broadcast: the server coalesces these
|
|
174
|
+
* newest-per-key and relays them to other tabs at snapshot rate.
|
|
171
175
|
*/
|
|
172
|
-
sendEvent: (orbitalName: string, event: string, payload?: EventPayload, clientId?: string) => Promise<OrbitalEventResponse>;
|
|
176
|
+
sendEvent: (orbitalName: string, event: string, payload?: EventPayload, clientId?: string, tick?: string, sourceTrait?: string) => Promise<OrbitalEventResponse>;
|
|
173
177
|
}
|
|
174
178
|
/**
|
|
175
179
|
* Access the server bridge. Returns a no-op stub when outside the provider.
|
|
@@ -145,7 +145,7 @@ interface SendEventResult {
|
|
|
145
145
|
}
|
|
146
146
|
interface ServerBridgeContextValue {
|
|
147
147
|
connected: boolean;
|
|
148
|
-
sendEvent: (orbitalName: string, event: string, payload?: EventPayload) => Promise<SendEventResult>;
|
|
148
|
+
sendEvent: (orbitalName: string, event: string, payload?: EventPayload, tick?: string, sourceTrait?: string) => Promise<SendEventResult>;
|
|
149
149
|
}
|
|
150
150
|
/**
|
|
151
151
|
* Transport adapter for ServerBridgeProvider. Decouples the bridge's
|
|
@@ -168,8 +168,12 @@ interface ServerBridgeTransport {
|
|
|
168
168
|
* `clientId` (Almadar_Live_Push.md) is the per-tab id stamped on every
|
|
169
169
|
* dispatch so the server's push broadcast can exclude the origin tab
|
|
170
170
|
* (it already got this cascade in-response).
|
|
171
|
+
*
|
|
172
|
+
* `tick`/`sourceTrait` (T6, docs/Almadar_Tick_Loop.md §3a) mark a
|
|
173
|
+
* tick-originated latest-state broadcast: the server coalesces these
|
|
174
|
+
* newest-per-key and relays them to other tabs at snapshot rate.
|
|
171
175
|
*/
|
|
172
|
-
sendEvent: (orbitalName: string, event: string, payload?: EventPayload, clientId?: string) => Promise<OrbitalEventResponse>;
|
|
176
|
+
sendEvent: (orbitalName: string, event: string, payload?: EventPayload, clientId?: string, tick?: string, sourceTrait?: string) => Promise<OrbitalEventResponse>;
|
|
173
177
|
}
|
|
174
178
|
/**
|
|
175
179
|
* Access the server bridge. Returns a no-op stub when outside the provider.
|