@almadar/core 10.119.0 → 10.119.1
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/builders.d.ts +20 -1
- package/dist/builders.js +57 -17
- package/dist/builders.js.map +1 -1
- package/dist/{bus-BFPOEYZc.d.ts → bus-B-2d-9It.d.ts} +1 -22
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/fixtures.d.ts +1 -1
- package/dist/fixtures.js.map +1 -1
- package/dist/{index-DQxaWUo3.d.ts → index-DFu6HXAQ.d.ts} +22 -3
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -16
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +1 -16
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -127,27 +127,6 @@ declare function findPersonaInRoster(roster: readonly UserContext[], idOrRole: s
|
|
|
127
127
|
* fail at boot instead of rendering as nobody.
|
|
128
128
|
*/
|
|
129
129
|
declare function resolvePersonaSpec(spec: string, roster: readonly UserContext[]): UserContext;
|
|
130
|
-
/**
|
|
131
|
-
* Marks a bearer token as a mocked dev identity rather than a real ID token.
|
|
132
|
-
* The prefix is deliberately unmistakable: a server accepts these ONLY behind an
|
|
133
|
-
* explicit dev opt-in, so a production deployment rejects them like any other
|
|
134
|
-
* malformed token.
|
|
135
|
-
*/
|
|
136
|
-
declare const DEV_TOKEN_PREFIX = "almadar-dev.";
|
|
137
|
-
/**
|
|
138
|
-
* Encode a viewer as a dev bearer token.
|
|
139
|
-
*
|
|
140
|
-
* Carries the WHOLE identity, not just the subject: real Firebase claims have no
|
|
141
|
-
* `role`, so a server that only reads `uid` leaves every `@user.role` gate inert
|
|
142
|
-
* even for a signed-in user. URI-encoded JSON keeps the token header-safe (no
|
|
143
|
-
* spaces or delimiters) and works unchanged in Node and the browser.
|
|
144
|
-
*/
|
|
145
|
-
declare function encodeDevIdentityToken(user: UserContext): string;
|
|
146
|
-
/**
|
|
147
|
-
* Decode a dev bearer token back into a viewer, or `undefined` if it is not one
|
|
148
|
-
* / is malformed — callers fail closed rather than inventing an identity.
|
|
149
|
-
*/
|
|
150
|
-
declare function decodeDevIdentityToken(token: string): UserContext | undefined;
|
|
151
130
|
|
|
152
131
|
/**
|
|
153
132
|
* Server-side effect result — the wire shape a server-executed effect
|
|
@@ -777,4 +756,4 @@ type EventDispatchResponse = OrbitalEventResponse;
|
|
|
777
756
|
/** @deprecated use {@link OrbitalEventResponseSchema}. */
|
|
778
757
|
declare const EventDispatchResponseSchema: z.ZodType<OrbitalEventResponse, z.ZodTypeDef, object>;
|
|
779
758
|
|
|
780
|
-
export {
|
|
759
|
+
export { type ServiceHostPorts as $, ANONYMOUS_USER as A, type BusEvent as B, type ClientEffectTuple as C, DEFAULT_VIEWER as D, type EmittedEvent as E, type ExternalInputRequest as F, LIFECYCLE_EVENTS as G, type LifecycleEvent as H, LiveBroadcastItemSchema as I, MountSeedSchema as J, OrbitalEventRequestSchema as K, type LiveBroadcastItem as L, type MountSeed as M, OrbitalEventResponseSchema as N, type OrbitalEventRequest as O, type OrbitalRegisterResponse as P, OrbitalRegisterResponseSchema as Q, type RawUserClaims as R, RawUserClaimsSchema as S, SYSTEM_UI_EVENTS as T, type UserContext as U, type ServerBatchSummary as V, ServerBatchSummarySchema as W, type ServerEffectResult as X, ServerEffectResultSchema as Y, type ServerTopology as Z, ServerTopologySchema as _, type OrbitalEventResponse as a, type SystemUiEvent as a0, type TransitionRejection as a1, type TransitionRejectionCode as a2, type Unsubscribe as a3, deliveryRecordValue as a4, externalInputsOf as a5, findExternalInput as a6, findInputByAddress as a7, findPersonaInRoster as a8, isSystemUiEvent as a9, normalizeUserContext as aa, payloadSchemaToJsonSchema as ab, personaFromIdentityRow as ac, readableEntitiesOf as ad, resolveDefaultViewer as ae, resolvePersonaSpec as af, type BusEventListener as b, type BusEventSource as c, BusEventSourceSchema as d, type ClientEffectByTrait as e, ClientEffectTupleSchema as f, type ClientNavigateBackTuple as g, ClientNavigateBackTupleSchema as h, type ClientNavigateTuple as i, ClientNavigateTupleSchema as j, type ClientRenderUITuple as k, ClientRenderUITupleSchema as l, type DeliveryRecord as m, DeliveryRecordSchema as n, type DispatchLog as o, DispatchLogSchema as p, EmittedEventSchema as q, type EventAddress as r, type EventDispatchRequest as s, EventDispatchRequestSchema as t, type EventDispatchResponse as u, EventDispatchResponseSchema as v, type EventEmit as w, type EventKey as x, type EventListen as y, type ExternalInput as z };
|