@almadar/core 4.7.1 → 4.8.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 +2 -2
- package/dist/builders.js.map +1 -1
- package/dist/{compose-behaviors-BCURTbGX.d.ts → compose-behaviors-aBzjGsxn.d.ts} +1 -1
- package/dist/domain-language/index.d.ts +1 -1
- package/dist/domain-language/index.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/{schema-aGK1-NnG.d.ts → schema-BCEjl1a1.d.ts} +34 -1
- package/dist/types/index.d.ts +4 -4
- package/dist/types/index.js +2 -2
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1952,6 +1952,39 @@ type NavigateEffect = ['navigate', string] | ['navigate', string, Record<string,
|
|
|
1952
1952
|
* @example ['emit', 'FILTER_CHANGED', '@entity.filters']
|
|
1953
1953
|
*/
|
|
1954
1954
|
type EmitEffect = ['emit', string] | ['emit', string, Record<string, unknown> | string];
|
|
1955
|
+
/**
|
|
1956
|
+
* `emit:` config block attached to async / reactive data operators.
|
|
1957
|
+
*
|
|
1958
|
+
* Each key names an event the runtime should fire on the bus when the
|
|
1959
|
+
* effect reaches the corresponding lifecycle point. The set of keys an
|
|
1960
|
+
* operator actually supports is enforced by the compiler validator:
|
|
1961
|
+
*
|
|
1962
|
+
* | Operator | Supported keys |
|
|
1963
|
+
* |------------------|---------------------------|
|
|
1964
|
+
* | `fetch` | `success`, `failure` |
|
|
1965
|
+
* | `persist` | `success`, `failure` |
|
|
1966
|
+
* | `call-service` | `success`, `failure` |
|
|
1967
|
+
* | `set` | `success` |
|
|
1968
|
+
* | `ref` | `on_change`, `failure` |
|
|
1969
|
+
* | `os/watch-*` | `on_message`, `failure` |
|
|
1970
|
+
*
|
|
1971
|
+
* Payload convention:
|
|
1972
|
+
* - `success` / `on_change` → the effect's result (fetched entity, new value)
|
|
1973
|
+
* - `failure` → `{ error: string, code?: string }`
|
|
1974
|
+
* - `on_message` → the incoming message (os/watch-* streams)
|
|
1975
|
+
*
|
|
1976
|
+
* See `docs/Almadar_Std_Gaps.md` §3.1 for the close-the-circuit design.
|
|
1977
|
+
*/
|
|
1978
|
+
interface EmitConfig {
|
|
1979
|
+
/** Fires after a one-shot async effect resolves successfully. */
|
|
1980
|
+
success?: string;
|
|
1981
|
+
/** Fires when the effect throws; payload is `{ error: string }`. */
|
|
1982
|
+
failure?: string;
|
|
1983
|
+
/** Reactive-subscription event (per update for `ref`). */
|
|
1984
|
+
on_change?: string;
|
|
1985
|
+
/** Per-event fire for `os/watch-*` streams. */
|
|
1986
|
+
on_message?: string;
|
|
1987
|
+
}
|
|
1955
1988
|
/**
|
|
1956
1989
|
* Set effect - sets a binding to a value.
|
|
1957
1990
|
*
|
|
@@ -21279,4 +21312,4 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
|
|
|
21279
21312
|
type OrbitalSchemaInput = z.input<typeof OrbitalSchemaSchema>;
|
|
21280
21313
|
type OrbitalConfigInput = z.input<typeof OrbitalConfigSchema>;
|
|
21281
21314
|
|
|
21282
|
-
export { type DesignTokensInput as $, AGENT_DOMAIN_CATEGORIES as A, type AtomicEffect as B, CORE_BINDINGS as C, type CallServiceConfig as D, type Entity as E, type CallServiceEffect as F, type ComputedEventContract as G, ComputedEventContractSchema as H, type ComputedEventListener as I, ComputedEventListenerSchema as J, type CoreBinding as K, type CustomPatternDefinition as L, type CustomPatternDefinitionInput as M, CustomPatternDefinitionSchema as N, type OrbitalDefinition as O, type PageRef as P, type CustomPatternMap as Q, type CustomPatternMapInput as R, type SExpr as S, type TraitEventContract as T, type UseDeclaration as U, CustomPatternMapSchema as V, type DerefEffect as W, type DesignPreferences as X, type DesignPreferencesInput as Y, DesignPreferencesSchema as Z, type DesignTokens as _, type TraitEventListener as a,
|
|
21315
|
+
export { type DesignTokensInput as $, AGENT_DOMAIN_CATEGORIES as A, type AtomicEffect as B, CORE_BINDINGS as C, type CallServiceConfig as D, type Entity as E, type CallServiceEffect as F, type ComputedEventContract as G, ComputedEventContractSchema as H, type ComputedEventListener as I, ComputedEventListenerSchema as J, type CoreBinding as K, type CustomPatternDefinition as L, type CustomPatternDefinitionInput as M, CustomPatternDefinitionSchema as N, type OrbitalDefinition as O, type PageRef as P, type CustomPatternMap as Q, type CustomPatternMapInput as R, type SExpr as S, type TraitEventContract as T, type UseDeclaration as U, CustomPatternMapSchema as V, type DerefEffect as W, type DesignPreferences as X, type DesignPreferencesInput as Y, DesignPreferencesSchema as Z, type DesignTokens as _, type TraitEventListener as a, GuardSchema as a$, DesignTokensSchema as a0, type DespawnEffect as a1, type DoEffect as a2, type DomainCategory as a3, DomainCategorySchema as a4, type DomainContext as a5, type DomainContextInput as a6, DomainContextSchema as a7, type DomainVocabulary as a8, DomainVocabularySchema as a9, EventPayloadFieldSchema as aA, EventSchema as aB, type EventScope as aC, EventScopeSchema as aD, type EventSemanticRole as aE, EventSemanticRoleSchema as aF, type EventSource as aG, EventSourceSchema as aH, type Expression as aI, type ExpressionInput as aJ, ExpressionSchema as aK, type FetchEffect as aL, type Field as aM, type FieldFormat as aN, FieldFormatSchema as aO, FieldSchema as aP, type FieldType as aQ, FieldTypeSchema as aR, type FieldValue as aS, type Orbital as aT, GAME_TYPES as aU, type GameSubCategory as aV, GameSubCategorySchema as aW, type GameType as aX, GameTypeSchema as aY, type Guard as aZ, type GuardInput as a_, ENTITY_ROLES as aa, type Effect as ab, type EffectInput as ac, EffectSchema as ad, type EmitConfig as ae, type EmitEffect as af, type EntityCall as ag, EntityCallSchema as ah, type EntityData as ai, type EntityFieldInput as aj, EntityFieldSchema as ak, EntityPersistenceSchema as al, EntityRefSchema as am, EntityRefStringSchema as an, type EntityRole as ao, EntityRoleSchema as ap, EntitySchema as aq, type EntitySemanticRole as ar, EntitySemanticRoleSchema as as, type EvalContext as at, type Event as au, type EventInput as av, type EventListener as aw, EventListenerSchema as ax, type EventPayload as ay, type EventPayloadField as az, type EntityField as b, type SemanticAssetRef as b$, type LogEffect as b0, type LogMeta as b1, type McpServiceDef as b2, McpServiceDefSchema as b3, type NavigateEffect as b4, type NodeClassification as b5, NodeClassificationSchema as b6, type NotifyEffect as b7, type OrbitalConfig as b8, type OrbitalConfigInput as b9, PayloadFieldSchema as bA, type PersistEffect as bB, type PresentationType as bC, type RefEffect as bD, type RelatedLink as bE, RelatedLinkSchema as bF, type RelationConfig as bG, RelationConfigSchema as bH, type RenderItemLambda as bI, type RenderUIConfig as bJ, type RenderUIEffect as bK, type RenderUINode as bL, type RequiredField as bM, RequiredFieldSchema as bN, type ResolvedAsset as bO, type ResolvedAssetInput as bP, ResolvedAssetSchema as bQ, type ResolvedPatternProps as bR, type RestAuthConfig as bS, RestAuthConfigSchema as bT, type RestServiceDef as bU, RestServiceDefSchema as bV, SERVICE_TYPES as bW, type SExprAtom as bX, SExprAtomSchema as bY, type SExprInput as bZ, SExprSchema as b_, OrbitalConfigSchema as ba, OrbitalDefinitionSchema as bb, type OrbitalEntity as bc, type OrbitalEntityInput as bd, OrbitalEntitySchema as be, type OrbitalInput as bf, type OrbitalPage as bg, type OrbitalPageInput as bh, OrbitalPageSchema as bi, type OrbitalPageStrictInput as bj, OrbitalPageStrictSchema as bk, type OrbitalSchemaInput as bl, OrbitalSchemaSchema as bm, type OrbitalTraitRef as bn, OrbitalTraitRefSchema as bo, type OrbitalUnit as bp, OrbitalUnitSchema as bq, OrbitalSchema$1 as br, PageRefObjectSchema as bs, PageRefSchema as bt, PageRefStringSchema as bu, PageSchema as bv, type PageTraitRef as bw, PageTraitRefSchema as bx, type ParsedBinding as by, type PayloadField as bz, type EntityPersistence as c, type UserPersona as c$, type SemanticAssetRefInput as c0, SemanticAssetRefSchema as c1, type ServiceDefinition as c2, ServiceDefinitionSchema as c3, type ServiceParams as c4, type ServiceRef as c5, type ServiceRefObject as c6, ServiceRefObjectSchema as c7, ServiceRefSchema as c8, ServiceRefStringSchema as c9, ThemeVariantSchema as cA, type TraitCategory as cB, TraitCategorySchema as cC, type TraitDataEntity as cD, TraitDataEntitySchema as cE, type TraitEntityField as cF, TraitEntityFieldSchema as cG, TraitEventContractSchema as cH, TraitEventListenerSchema as cI, type TraitInput as cJ, TraitRefSchema as cK, type TraitReferenceInput as cL, TraitReferenceSchema as cM, TraitSchema as cN, type TraitTick as cO, TraitTickSchema as cP, type TraitUIBinding as cQ, type Transition as cR, type TransitionInput as cS, TransitionSchema as cT, type TypedEffect as cU, type UISlot as cV, UISlotSchema as cW, UI_SLOTS as cX, type UXHints as cY, UXHintsSchema as cZ, UseDeclarationSchema as c_, type ServiceType as ca, ServiceTypeSchema as cb, type SetEffect as cc, type SocketEvents as cd, SocketEventsSchema as ce, type SocketServiceDef as cf, SocketServiceDefSchema as cg, type SpawnEffect as ch, type StateInput as ci, type StateMachine as cj, type StateMachineInput as ck, StateMachineSchema as cl, StateSchema as cm, type StateSemanticRole as cn, StateSemanticRoleSchema as co, type SuggestedGuard as cp, SuggestedGuardSchema as cq, type SwapEffect as cr, type ThemeDefinition as cs, ThemeDefinitionSchema as ct, type ThemeRef as cu, ThemeRefSchema as cv, ThemeRefStringSchema as cw, type ThemeTokens as cx, ThemeTokensSchema as cy, type ThemeVariant as cz, type EntityRow as d, ref as d$, type UserPersonaInput as d0, UserPersonaSchema as d1, VISUAL_STYLES as d2, type ViewType as d3, ViewTypeSchema as d4, type VisualStyle as d5, VisualStyleSchema as d6, type WatchEffect as d7, type WatchOptions as d8, atomic as d9, isOrbitalDefinition as dA, isPageReference as dB, isPageReferenceObject as dC, isPageReferenceString as dD, isRestService as dE, isRuntimeEntity as dF, isSExpr as dG, isSExprAtom as dH, isSExprCall as dI, isSExprEffect as dJ, isServiceReference as dK, isServiceReferenceObject as dL, isSingletonEntity as dM, isSocketService as dN, isThemeReference as dO, isValidBinding as dP, navigate as dQ, normalizeTraitRef as dR, notify as dS, parseAssetKey as dT, parseBinding as dU, parseEntityRef as dV, parseImportedTraitRef as dW, parseOrbitalSchema as dX, parsePageRef as dY, parseServiceRef as dZ, persist as d_, callService as da, collectBindings as db, createAssetKey as dc, deref as dd, deriveCollection as de, despawn as df, doEffects as dg, emit as dh, findService as di, getArgs as dj, getDefaultAnimationsForRole as dk, getOperator as dl, getServiceNames as dm, getTraitConfig as dn, getTraitName as dp, hasService as dq, isBinding as dr, isCircuitEvent as ds, isEffect as dt, isEntityCall as du, isEntityReference as dv, isEntityReferenceAny as dw, isImportedTraitRef as dx, isInlineTrait as dy, isMcpService as dz, type EntityRef as e, renderUI as e0, safeParseOrbitalSchema as e1, set as e2, sexpr as e3, spawn as e4, swap as e5, validateAssetAnimations as e6, walkSExpr as e7, watch as e8, type TraitRef as f, type OrbitalSchema as g, type Trait as h, type Page as i, type PageRefObject as j, type TraitReference as k, type State as l, ALLOWED_CUSTOM_COMPONENTS as m, type AgentDomainCategory as n, AgentDomainCategorySchema as o, type AgentEffect as p, type AllowedCustomComponent as q, type AnimationDef as r, type AnimationDefInput as s, AnimationDefSchema as t, type AssetMap as u, type AssetMapInput as v, AssetMapSchema as w, type AssetMapping as x, type AssetMappingInput as y, AssetMappingSchema as z };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as EntityRow,
|
|
2
|
-
export { A as AGENT_DOMAIN_CATEGORIES, m as ALLOWED_CUSTOM_COMPONENTS, n as AgentDomainCategory, o as AgentDomainCategorySchema, p as AgentEffect, q as AllowedCustomComponent, r as AnimationDef, s as AnimationDefInput, t as AnimationDefSchema, g as AppSchema, u as AssetMap, v as AssetMapInput, w as AssetMapSchema, x as AssetMapping, y as AssetMappingInput, z as AssetMappingSchema, B as AtomicEffect, C as CORE_BINDINGS, D as CallServiceConfig, F as CallServiceEffect, G as ComputedEventContract, H as ComputedEventContractSchema, I as ComputedEventListener, J as ComputedEventListenerSchema, K as CoreBinding, L as CustomPatternDefinition, M as CustomPatternDefinitionInput, N as CustomPatternDefinitionSchema, Q as CustomPatternMap, R as CustomPatternMapInput, V as CustomPatternMapSchema, W as DerefEffect, X as DesignPreferences, Y as DesignPreferencesInput, Z as DesignPreferencesSchema, _ as DesignTokens, $ as DesignTokensInput, a0 as DesignTokensSchema, a1 as DespawnEffect, a2 as DoEffect, a3 as DomainCategory, a4 as DomainCategorySchema, a5 as DomainContext, a6 as DomainContextInput, a7 as DomainContextSchema, a8 as DomainVocabulary, a9 as DomainVocabularySchema, aa as ENTITY_ROLES, ab as Effect, ac as EffectInput, ad as EffectSchema, ae as EmitEffect, E as Entity,
|
|
1
|
+
import { d as EntityRow, aS as FieldValue, S as SExpr } from '../schema-BCEjl1a1.js';
|
|
2
|
+
export { A as AGENT_DOMAIN_CATEGORIES, m as ALLOWED_CUSTOM_COMPONENTS, n as AgentDomainCategory, o as AgentDomainCategorySchema, p as AgentEffect, q as AllowedCustomComponent, r as AnimationDef, s as AnimationDefInput, t as AnimationDefSchema, g as AppSchema, u as AssetMap, v as AssetMapInput, w as AssetMapSchema, x as AssetMapping, y as AssetMappingInput, z as AssetMappingSchema, B as AtomicEffect, C as CORE_BINDINGS, D as CallServiceConfig, F as CallServiceEffect, G as ComputedEventContract, H as ComputedEventContractSchema, I as ComputedEventListener, J as ComputedEventListenerSchema, K as CoreBinding, L as CustomPatternDefinition, M as CustomPatternDefinitionInput, N as CustomPatternDefinitionSchema, Q as CustomPatternMap, R as CustomPatternMapInput, V as CustomPatternMapSchema, W as DerefEffect, X as DesignPreferences, Y as DesignPreferencesInput, Z as DesignPreferencesSchema, _ as DesignTokens, $ as DesignTokensInput, a0 as DesignTokensSchema, a1 as DespawnEffect, a2 as DoEffect, a3 as DomainCategory, a4 as DomainCategorySchema, a5 as DomainContext, a6 as DomainContextInput, a7 as DomainContextSchema, a8 as DomainVocabulary, a9 as DomainVocabularySchema, aa as ENTITY_ROLES, ab as Effect, ac as EffectInput, ad as EffectSchema, ae as EmitConfig, af as EmitEffect, E as Entity, ag as EntityCall, ah as EntityCallSchema, ai as EntityData, b as EntityField, aj as EntityFieldInput, ak as EntityFieldSchema, c as EntityPersistence, al as EntityPersistenceSchema, e as EntityRef, am as EntityRefSchema, an as EntityRefStringSchema, ao as EntityRole, ap as EntityRoleSchema, aq as EntitySchema, ar as EntitySemanticRole, as as EntitySemanticRoleSchema, at as EvalContext, au as Event, av as EventInput, aw as EventListener, ax as EventListenerSchema, ay as EventPayload, az as EventPayloadField, aA as EventPayloadFieldSchema, aB as EventSchema, aC as EventScope, aD as EventScopeSchema, aE as EventSemanticRole, aF as EventSemanticRoleSchema, aG as EventSource, aH as EventSourceSchema, aI as Expression, aJ as ExpressionInput, aK as ExpressionSchema, aL as FetchEffect, aM as Field, aN as FieldFormat, aO as FieldFormatSchema, aP as FieldSchema, aQ as FieldType, aR as FieldTypeSchema, aT as FullOrbitalUnit, aU as GAME_TYPES, aV as GameSubCategory, aW as GameSubCategorySchema, aX as GameType, aY as GameTypeSchema, aZ as Guard, a_ as GuardInput, a$ as GuardSchema, b0 as LogEffect, b1 as LogMeta, b2 as McpServiceDef, b3 as McpServiceDefSchema, b4 as NavigateEffect, b5 as NodeClassification, b6 as NodeClassificationSchema, b7 as NotifyEffect, aT as Orbital, b8 as OrbitalConfig, b9 as OrbitalConfigInput, ba as OrbitalConfigSchema, O as OrbitalDefinition, bb as OrbitalDefinitionSchema, bc as OrbitalEntity, bd as OrbitalEntityInput, be as OrbitalEntitySchema, bf as OrbitalInput, bg as OrbitalPage, bh as OrbitalPageInput, bi as OrbitalPageSchema, bj as OrbitalPageStrictInput, bk as OrbitalPageStrictSchema, g as OrbitalSchema, bl as OrbitalSchemaInput, bm as OrbitalSchemaSchema, bn as OrbitalTraitRef, bo as OrbitalTraitRefSchema, bp as OrbitalUnit, bq as OrbitalUnitSchema, br as OrbitalZodSchema, i as Page, P as PageRef, j as PageRefObject, bs as PageRefObjectSchema, bt as PageRefSchema, bu as PageRefStringSchema, bv as PageSchema, bw as PageTraitRef, bx as PageTraitRefSchema, by as ParsedBinding, bz as PayloadField, bA as PayloadFieldSchema, bB as PersistEffect, bC as PresentationType, bD as RefEffect, bE as RelatedLink, bF as RelatedLinkSchema, bG as RelationConfig, bH as RelationConfigSchema, bI as RenderItemLambda, bJ as RenderUIConfig, bK as RenderUIEffect, bL as RenderUINode, bM as RequiredField, bN as RequiredFieldSchema, bO as ResolvedAsset, bP as ResolvedAssetInput, bQ as ResolvedAssetSchema, bR as ResolvedPatternProps, bS as RestAuthConfig, bT as RestAuthConfigSchema, bU as RestServiceDef, bV as RestServiceDefSchema, bW as SERVICE_TYPES, bX as SExprAtom, bY as SExprAtomSchema, bZ as SExprInput, b_ as SExprSchema, b$ as SemanticAssetRef, c0 as SemanticAssetRefInput, c1 as SemanticAssetRefSchema, c2 as ServiceDefinition, c3 as ServiceDefinitionSchema, c4 as ServiceParams, c5 as ServiceRef, c6 as ServiceRefObject, c7 as ServiceRefObjectSchema, c8 as ServiceRefSchema, c9 as ServiceRefStringSchema, ca as ServiceType, cb as ServiceTypeSchema, cc as SetEffect, cd as SocketEvents, ce as SocketEventsSchema, cf as SocketServiceDef, cg as SocketServiceDefSchema, ch as SpawnEffect, l as State, ci as StateInput, cj as StateMachine, ck as StateMachineInput, cl as StateMachineSchema, cm as StateSchema, cn as StateSemanticRole, co as StateSemanticRoleSchema, cp as SuggestedGuard, cq as SuggestedGuardSchema, cr as SwapEffect, cs as ThemeDefinition, ct as ThemeDefinitionSchema, cu as ThemeRef, cv as ThemeRefSchema, cw as ThemeRefStringSchema, cx as ThemeTokens, cy as ThemeTokensSchema, cz as ThemeVariant, cA as ThemeVariantSchema, h as Trait, cB as TraitCategory, cC as TraitCategorySchema, cD as TraitDataEntity, cE as TraitDataEntitySchema, cF as TraitEntityField, cG as TraitEntityFieldSchema, T as TraitEventContract, cH as TraitEventContractSchema, a as TraitEventListener, cI as TraitEventListenerSchema, cJ as TraitInput, f as TraitRef, cK as TraitRefSchema, k as TraitReference, cL as TraitReferenceInput, cM as TraitReferenceSchema, cN as TraitSchema, cO as TraitTick, cP as TraitTickSchema, cQ as TraitUIBinding, cR as Transition, cS as TransitionInput, cT as TransitionSchema, cU as TypedEffect, cV as UISlot, cW as UISlotSchema, cX as UI_SLOTS, cY as UXHints, cZ as UXHintsSchema, U as UseDeclaration, c_ as UseDeclarationSchema, c$ as UserPersona, d0 as UserPersonaInput, d1 as UserPersonaSchema, d2 as VISUAL_STYLES, d3 as ViewType, d4 as ViewTypeSchema, d5 as VisualStyle, d6 as VisualStyleSchema, d7 as WatchEffect, d8 as WatchOptions, d9 as atomic, da as callService, db as collectBindings, dc as createAssetKey, dd as deref, de as deriveCollection, df as despawn, dg as doEffects, dh as emit, di as findService, dj as getArgs, dk as getDefaultAnimationsForRole, dl as getOperator, dm as getServiceNames, dn as getTraitConfig, dp as getTraitName, dq as hasService, dr as isBinding, ds as isCircuitEvent, dt as isEffect, du as isEntityCall, dv as isEntityReference, dw as isEntityReferenceAny, dx as isImportedTraitRef, dy as isInlineTrait, dz as isMcpService, dA as isOrbitalDefinition, dB as isPageReference, dC as isPageReferenceObject, dD as isPageReferenceString, dE as isRestService, dF as isRuntimeEntity, dG as isSExpr, dH as isSExprAtom, dI as isSExprCall, dJ as isSExprEffect, dK as isServiceReference, dL as isServiceReferenceObject, dM as isSingletonEntity, dN as isSocketService, dO as isThemeReference, dP as isValidBinding, dQ as navigate, dR as normalizeTraitRef, dS as notify, dT as parseAssetKey, dU as parseBinding, dV as parseEntityRef, dW as parseImportedTraitRef, dX as parseOrbitalSchema, dY as parsePageRef, dZ as parseServiceRef, d_ as persist, d$ as ref, e0 as renderUI, e1 as safeParseOrbitalSchema, e2 as set, e3 as sexpr, e4 as spawn, e5 as swap, e6 as validateAssetAnimations, e7 as walkSExpr, e8 as watch } from '../schema-BCEjl1a1.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
export { CATEGORIES, CategoryMeta, OPERATORS, OPERATORS_SCHEMA, OPERATOR_NAMES, OperatorCategory, OperatorMeta, OperatorStats, OperatorsSchema, TargetPlatform, getOperatorMeta, getOperatorStats, getOperatorsByCategory, getOperatorsForTarget, isEffectOperator, isGuardOperator, isKnownOperator, validateOperatorArity } from '@almadar/operators';
|
|
5
5
|
export { PATTERN_TYPES, PatternConfig, PatternType, isValidPatternType } from '@almadar/patterns';
|
|
@@ -108,8 +108,8 @@ declare const BINDING_CONTEXT_RULES: {
|
|
|
108
108
|
readonly description: "Guards can access entity fields, event payload, current state, and time";
|
|
109
109
|
};
|
|
110
110
|
readonly effect: {
|
|
111
|
-
readonly allowed: readonly ["entity", "payload", "state", "now"];
|
|
112
|
-
readonly description: "Effects can access and modify entity fields, use payload data";
|
|
111
|
+
readonly allowed: readonly ["entity", "payload", "state", "now", "trait"];
|
|
112
|
+
readonly description: "Effects can access and modify entity fields, use payload data, and embed another trait's live frame via @trait.X inside render-ui children";
|
|
113
113
|
};
|
|
114
114
|
readonly tick: {
|
|
115
115
|
readonly allowed: readonly ["entity", "state", "now"];
|
package/dist/types/index.js
CHANGED
|
@@ -1191,8 +1191,8 @@ var BINDING_CONTEXT_RULES = {
|
|
|
1191
1191
|
description: "Guards can access entity fields, event payload, current state, and time"
|
|
1192
1192
|
},
|
|
1193
1193
|
effect: {
|
|
1194
|
-
allowed: ["entity", "payload", "state", "now"],
|
|
1195
|
-
description: "Effects can access and modify entity fields, use payload data"
|
|
1194
|
+
allowed: ["entity", "payload", "state", "now", "trait"],
|
|
1195
|
+
description: "Effects can access and modify entity fields, use payload data, and embed another trait's live frame via @trait.X inside render-ui children"
|
|
1196
1196
|
},
|
|
1197
1197
|
tick: {
|
|
1198
1198
|
allowed: ["entity", "state", "now"],
|