@almadar/core 10.53.0 → 10.55.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/builders.d.ts +4 -4
- package/dist/builders.js +6 -2
- package/dist/builders.js.map +1 -1
- package/dist/{effect-CqTo1gAF.d.ts → effect-DxD-XTI8.d.ts} +2 -2
- package/dist/{entityAccess-3QD5qbqw.d.ts → entityAccess-JTWGFDja.d.ts} +2 -2
- package/dist/{expression-Yf7qvvOs.d.ts → expression-Fk8bQWef.d.ts} +6 -1
- package/dist/factory/index.d.ts +5 -5
- package/dist/factory/index.js +6 -0
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +4 -4
- package/dist/factory-runtime/index.js +6 -2
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +10 -10
- package/dist/index.js +34 -7
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +5 -5
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +1 -1
- package/dist/patterns/event-contracts.json +8 -1
- package/dist/patterns/index.d.ts +13 -6
- package/dist/patterns/index.js +10 -3
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +1 -1
- package/dist/patterns/registry.json +1 -1
- package/dist/{schema-h6xcymfn.d.ts → schema-0C1bXRFm.d.ts} +172 -80
- package/dist/state-machine/index.d.ts +1 -1
- package/dist/{trait-CnbGhs6A.d.ts → trait-WnYkvPdZ.d.ts} +16 -16
- package/dist/types/index.d.ts +20 -10
- package/dist/types/index.js +18 -4
- package/dist/types/index.js.map +1 -1
- package/dist/{types-DJquF4Ot.d.ts → types-C4YztU2N.d.ts} +33 -3
- package/package.json +1 -1
- package/src/types/bindings.ts +13 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as EventId, c as Effect, T as TraitId, O as OrbitalId, d as EntityId, P as PageId, A as AnyPatternConfig, e as Entity, E as EntityField } from './effect-
|
|
2
|
-
import { E as Expression, S as SExpr, J as JsonValue } from './expression-
|
|
1
|
+
import { b as EventId, c as Effect, T as TraitId, O as OrbitalId, d as EntityId, P as PageId, A as AnyPatternConfig, e as Entity, E as EntityField } from './effect-DxD-XTI8.js';
|
|
2
|
+
import { E as Expression, S as SExpr, J as JsonValue } from './expression-Fk8bQWef.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -604,19 +604,19 @@ declare const TraitDataEntitySchema: z.ZodObject<{
|
|
|
604
604
|
name: string;
|
|
605
605
|
fields: TraitEntityField[];
|
|
606
606
|
description?: string | undefined;
|
|
607
|
+
pages?: string[] | undefined;
|
|
607
608
|
runtime?: boolean | undefined;
|
|
608
609
|
collection?: string | undefined;
|
|
609
610
|
timestamps?: boolean | undefined;
|
|
610
|
-
pages?: string[] | undefined;
|
|
611
611
|
singleton?: boolean | undefined;
|
|
612
612
|
}, {
|
|
613
613
|
name: string;
|
|
614
614
|
fields: TraitEntityField[];
|
|
615
615
|
description?: string | undefined;
|
|
616
|
+
pages?: string[] | undefined;
|
|
616
617
|
runtime?: boolean | undefined;
|
|
617
618
|
collection?: string | undefined;
|
|
618
619
|
timestamps?: boolean | undefined;
|
|
619
|
-
pages?: string[] | undefined;
|
|
620
620
|
singleton?: boolean | undefined;
|
|
621
621
|
}>;
|
|
622
622
|
/**
|
|
@@ -1739,19 +1739,19 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
1739
1739
|
name: string;
|
|
1740
1740
|
fields: TraitEntityField[];
|
|
1741
1741
|
description?: string | undefined;
|
|
1742
|
+
pages?: string[] | undefined;
|
|
1742
1743
|
runtime?: boolean | undefined;
|
|
1743
1744
|
collection?: string | undefined;
|
|
1744
1745
|
timestamps?: boolean | undefined;
|
|
1745
|
-
pages?: string[] | undefined;
|
|
1746
1746
|
singleton?: boolean | undefined;
|
|
1747
1747
|
}, {
|
|
1748
1748
|
name: string;
|
|
1749
1749
|
fields: TraitEntityField[];
|
|
1750
1750
|
description?: string | undefined;
|
|
1751
|
+
pages?: string[] | undefined;
|
|
1751
1752
|
runtime?: boolean | undefined;
|
|
1752
1753
|
collection?: string | undefined;
|
|
1753
1754
|
timestamps?: boolean | undefined;
|
|
1754
|
-
pages?: string[] | undefined;
|
|
1755
1755
|
singleton?: boolean | undefined;
|
|
1756
1756
|
}>, "many">>;
|
|
1757
1757
|
stateMachine: z.ZodOptional<z.ZodObject<{
|
|
@@ -2307,10 +2307,10 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2307
2307
|
name: string;
|
|
2308
2308
|
fields: TraitEntityField[];
|
|
2309
2309
|
description?: string | undefined;
|
|
2310
|
+
pages?: string[] | undefined;
|
|
2310
2311
|
runtime?: boolean | undefined;
|
|
2311
2312
|
collection?: string | undefined;
|
|
2312
2313
|
timestamps?: boolean | undefined;
|
|
2313
|
-
pages?: string[] | undefined;
|
|
2314
2314
|
singleton?: boolean | undefined;
|
|
2315
2315
|
}[] | undefined;
|
|
2316
2316
|
stateMachine?: {
|
|
@@ -2477,10 +2477,10 @@ declare const TraitSchema: z.ZodObject<{
|
|
|
2477
2477
|
name: string;
|
|
2478
2478
|
fields: TraitEntityField[];
|
|
2479
2479
|
description?: string | undefined;
|
|
2480
|
+
pages?: string[] | undefined;
|
|
2480
2481
|
runtime?: boolean | undefined;
|
|
2481
2482
|
collection?: string | undefined;
|
|
2482
2483
|
timestamps?: boolean | undefined;
|
|
2483
|
-
pages?: string[] | undefined;
|
|
2484
2484
|
singleton?: boolean | undefined;
|
|
2485
2485
|
}[] | undefined;
|
|
2486
2486
|
stateMachine?: {
|
|
@@ -2945,19 +2945,19 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
2945
2945
|
name: string;
|
|
2946
2946
|
fields: TraitEntityField[];
|
|
2947
2947
|
description?: string | undefined;
|
|
2948
|
+
pages?: string[] | undefined;
|
|
2948
2949
|
runtime?: boolean | undefined;
|
|
2949
2950
|
collection?: string | undefined;
|
|
2950
2951
|
timestamps?: boolean | undefined;
|
|
2951
|
-
pages?: string[] | undefined;
|
|
2952
2952
|
singleton?: boolean | undefined;
|
|
2953
2953
|
}, {
|
|
2954
2954
|
name: string;
|
|
2955
2955
|
fields: TraitEntityField[];
|
|
2956
2956
|
description?: string | undefined;
|
|
2957
|
+
pages?: string[] | undefined;
|
|
2957
2958
|
runtime?: boolean | undefined;
|
|
2958
2959
|
collection?: string | undefined;
|
|
2959
2960
|
timestamps?: boolean | undefined;
|
|
2960
|
-
pages?: string[] | undefined;
|
|
2961
2961
|
singleton?: boolean | undefined;
|
|
2962
2962
|
}>, "many">>;
|
|
2963
2963
|
stateMachine: z.ZodOptional<z.ZodObject<{
|
|
@@ -3513,10 +3513,10 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3513
3513
|
name: string;
|
|
3514
3514
|
fields: TraitEntityField[];
|
|
3515
3515
|
description?: string | undefined;
|
|
3516
|
+
pages?: string[] | undefined;
|
|
3516
3517
|
runtime?: boolean | undefined;
|
|
3517
3518
|
collection?: string | undefined;
|
|
3518
3519
|
timestamps?: boolean | undefined;
|
|
3519
|
-
pages?: string[] | undefined;
|
|
3520
3520
|
singleton?: boolean | undefined;
|
|
3521
3521
|
}[] | undefined;
|
|
3522
3522
|
stateMachine?: {
|
|
@@ -3683,10 +3683,10 @@ declare const TraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<
|
|
|
3683
3683
|
name: string;
|
|
3684
3684
|
fields: TraitEntityField[];
|
|
3685
3685
|
description?: string | undefined;
|
|
3686
|
+
pages?: string[] | undefined;
|
|
3686
3687
|
runtime?: boolean | undefined;
|
|
3687
3688
|
collection?: string | undefined;
|
|
3688
3689
|
timestamps?: boolean | undefined;
|
|
3689
|
-
pages?: string[] | undefined;
|
|
3690
3690
|
singleton?: boolean | undefined;
|
|
3691
3691
|
}[] | undefined;
|
|
3692
3692
|
stateMachine?: {
|
|
@@ -4221,19 +4221,19 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4221
4221
|
name: string;
|
|
4222
4222
|
fields: TraitEntityField[];
|
|
4223
4223
|
description?: string | undefined;
|
|
4224
|
+
pages?: string[] | undefined;
|
|
4224
4225
|
runtime?: boolean | undefined;
|
|
4225
4226
|
collection?: string | undefined;
|
|
4226
4227
|
timestamps?: boolean | undefined;
|
|
4227
|
-
pages?: string[] | undefined;
|
|
4228
4228
|
singleton?: boolean | undefined;
|
|
4229
4229
|
}, {
|
|
4230
4230
|
name: string;
|
|
4231
4231
|
fields: TraitEntityField[];
|
|
4232
4232
|
description?: string | undefined;
|
|
4233
|
+
pages?: string[] | undefined;
|
|
4233
4234
|
runtime?: boolean | undefined;
|
|
4234
4235
|
collection?: string | undefined;
|
|
4235
4236
|
timestamps?: boolean | undefined;
|
|
4236
|
-
pages?: string[] | undefined;
|
|
4237
4237
|
singleton?: boolean | undefined;
|
|
4238
4238
|
}>, "many">>;
|
|
4239
4239
|
stateMachine: z.ZodOptional<z.ZodObject<{
|
|
@@ -4789,10 +4789,10 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4789
4789
|
name: string;
|
|
4790
4790
|
fields: TraitEntityField[];
|
|
4791
4791
|
description?: string | undefined;
|
|
4792
|
+
pages?: string[] | undefined;
|
|
4792
4793
|
runtime?: boolean | undefined;
|
|
4793
4794
|
collection?: string | undefined;
|
|
4794
4795
|
timestamps?: boolean | undefined;
|
|
4795
|
-
pages?: string[] | undefined;
|
|
4796
4796
|
singleton?: boolean | undefined;
|
|
4797
4797
|
}[] | undefined;
|
|
4798
4798
|
stateMachine?: {
|
|
@@ -4959,10 +4959,10 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodEffects<z.Zod
|
|
|
4959
4959
|
name: string;
|
|
4960
4960
|
fields: TraitEntityField[];
|
|
4961
4961
|
description?: string | undefined;
|
|
4962
|
+
pages?: string[] | undefined;
|
|
4962
4963
|
runtime?: boolean | undefined;
|
|
4963
4964
|
collection?: string | undefined;
|
|
4964
4965
|
timestamps?: boolean | undefined;
|
|
4965
|
-
pages?: string[] | undefined;
|
|
4966
4966
|
singleton?: boolean | undefined;
|
|
4967
4967
|
}[] | undefined;
|
|
4968
4968
|
stateMachine?: {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as AGENT_DOMAIN_CATEGORIES, e as ALLOWED_CUSTOM_COMPONENTS, f as AgentDomainCategory, g as AgentDomainCategorySchema, h as AllowedCustomComponent, C as ColorSlice, i as ColorSliceSchema, j as ColorTokens, k as ColorTokensSchema, l as ComputedEventContract, m as ComputedEventContractSchema, n as ComputedEventListener, o as ComputedEventListenerSchema, p as ConfigProvenanceRecord, q as ConfigProvenanceRecordSchema, r as CustomPatternDefinition, s as CustomPatternDefinitionInput, t as CustomPatternDefinitionSchema, u as CustomPatternMap, v as CustomPatternMapInput, w as CustomPatternMapSchema, D as DensitySlice, x as DensitySliceSchema, y as DensityTokens, z as DensityTokensSchema, B as DesignPreferences, F as DesignPreferencesInput, G as DesignPreferencesSchema, H as DesignTokens, I as DesignTokensInput, J as DesignTokensSchema, K as DomainCategory, L as DomainCategorySchema, N as DomainContextInput, Q as DomainContextSchema, R as DomainVocabulary, S as DomainVocabularySchema, T as ElevationSlice, V as ElevationSliceSchema, W as ElevationTokens, X as ElevationTokensSchema, Y as EntityCall, Z as EntityCallSchema, E as EntityRef, _ as EntityRefSchema, $ as EntityRefStringSchema, a0 as EntitySemanticRole, a1 as EntitySemanticRoleSchema, a2 as EventListener, a3 as EventListenerSchema, a4 as EventSemanticRole, a5 as EventSemanticRoleSchema, a6 as EventSource, a7 as EventSourceSchema, a9 as GameSubCategory, aa as GameSubCategorySchema, ab as GeometrySlice, ac as GeometrySliceSchema, ad as GeometryTokens, ae as GeometryTokensSchema, af as IconFamily, ag as IconFamilySchema, ah as IconographySlice, ai as IconographySliceSchema, aj as IconographyTokens, ak as IconographyTokensSchema, al as IllustrationSlice, am as IllustrationSliceSchema, an as IllustrationStyle, ao as IllustrationStyleSchema, ap as IllustrationTokens, aq as IllustrationTokensSchema, ar as MotionDurationKey, as as MotionDurationKeySchema, at as MotionDurationPalette, au as MotionDurationPaletteSchema, av as MotionEasingKey, aw as MotionEasingKeySchema, ax as MotionEasingPalette, ay as MotionEasingPaletteSchema, az as MotionIntent, aA as MotionIntentMap, aB as MotionIntentMapSchema, aC as MotionIntentSchema, aD as MotionSlice, aE as MotionSliceSchema, aF as MotionTokens, aG as MotionTokensSchema, aH as
|
|
3
|
-
import { F as FieldValue, E as EntityField, a as EntityPersistence, bp as ServiceParams, e as Entity, f as EntityRow, A as AnyPatternConfig, O as OrbitalId, T as TraitId, b as EventId, c as Effect } from '../effect-
|
|
4
|
-
export { j as ANIMATION_NAMES, k as ASSET_ASPECTS, l as ASSET_DIMENSIONS, m as AgentEffect, n as AnimationDef, o as AnimationDefInput, p as AnimationDefSchema, q as AnimationName, r as AnimationNameSchema, s as ApplicationEffect, t as ArrayEntityField, u as Asset, v as AssetAspect, w as AssetAspectSchema, x as AssetCatalog, y as AssetCatalogEntry, z as AssetCatalogEntryInput, B as AssetCatalogEntrySchema, C as AssetCatalogSchema, D as AssetDimension, G as AssetDimensionSchema, H as AssetSchema, J as AssetUrl, K as AtomicEffect, L as BehaviorEffect, M as CAMERA_MODES, N as CallServiceConfig, Q as CallServiceEffect, V as Camera, W as CameraMode, X as CameraModeSchema, Y as CameraSchema, Z as CheckpointLoadEffect, _ as CheckpointSaveEffect, $ as ComposeEffect, a0 as DerefEffect, a1 as DespawnEffect, a2 as DoEffect, a3 as ENTITY_ROLES, a4 as EffectInput, a5 as EffectSchema, a6 as EmitConfig, a7 as EmitEffect, a8 as EntityData, a9 as EntityFieldInput, aa as EntityFieldSchema, d as EntityId, ab as EntityIdSchema, ac as EntityPersistenceSchema, ad as EntityRole, ae as EntityRoleSchema, af as EntitySchema, ag as EntityWith, ah as EnumEntityField, ai as EvaluateConfig, aj as EvaluateEffect, ak as EventIdSchema, al as FIELD_TYPES, am as FetchEffect, an as FetchOptions, ao as FetchResult, ap as Field, aq as FieldSchema, ar as FieldType, as as FieldTypeSchema, at as ForwardConfig, au as ForwardEffect, av as IdForKind, aw as IdKind, I as IdentityLedger, ax as IdentityLedgerSchema, ay as LedgerEntry, az as LedgerEntrySchema, aA as LedgerKind, aB as LedgerKindSchema, aC as LlmEffect, aD as LogEffect, aE as McpServiceDef, aF as McpServiceDefSchema, aG as MemoryEffect, aH as NavigateEffect, aI as NnConfig, aJ as NnLayer, aK as NotifyEffect, aL as ObjectEntityField, aM as OrbitalEntity, aN as OrbitalEntityInput, aO as OrbitalEntitySchema, aP as OrbitalIdSchema, aQ as OsEffect, aR as PATTERN_TYPES, P as PageId, aS as PageIdSchema, aT as PaletteEntryId, aU as PaletteEntryIdSchema, aV as PatternConfig, aY as PatternType, aZ as PersistData, a_ as PersistEffect, a$ as PersistEmitConfig, b0 as RefEffect, R as RelationConfig, b1 as RelationConfigSchema, b2 as RelationEntityField, h as RenderBinding, b3 as RenderChildrenMap, b4 as RenderItemLambda, i as RenderUIEffect, b5 as RenderUINode, b6 as ResolvedPatternProps, b7 as RestAuthConfig, b8 as RestAuthConfigSchema, b9 as RestServiceDef, ba as RestServiceDefSchema, bb as SEMANTIC_STRING_TYPES, bc as SERVICE_TYPES, bd as SHEET_PROJECTIONS, be as SPRITE_DIRECTIONS, bf as ScalarEntityField, bg as ScenePos, bh as ScenePosSchema, bi as SemanticAssetRef, bj as SemanticAssetRefInput, bk as SemanticAssetRefSchema, bl as SemanticStringType, g as ServiceDefinition, bm as ServiceDefinitionSchema, bn as ServiceId, bo as ServiceIdSchema, bq as ServiceParamsValue, S as ServiceRef, br as ServiceRefObject, bs as ServiceRefObjectSchema, bt as ServiceRefSchema, bu as ServiceRefStringSchema, bv as ServiceType, bw as ServiceTypeSchema, bx as SessionEffect, by as SetEffect, bz as SheetProjection, bA as SheetProjectionSchema, bB as SocketEvents, bC as SocketEventsSchema, bD as SocketServiceDef, bE as SocketServiceDefSchema, bF as SpawnEffect, bG as SpriteDirection, bH as SpriteDirectionSchema, bI as SpriteSheetAtlas, bJ as SpriteSheetAtlasInput, bK as SpriteSheetAtlasSchema, bL as SubTexture, bM as SubTextureSchema, bN as SwapEffect, bO as TextureAtlas, bP as TextureAtlasSchema, bQ as ThemeId, bR as ThemeIdSchema, bS as Tilesheet, bT as TilesheetSchema, bU as TraceEffect, bV as TrainConfig, bW as TrainEffect, bX as TraitIdSchema, bY as TypedEffect, U as UISlot, bZ as UISlotSchema, b_ as UI_SLOTS, b$ as VISUAL_STYLES, c0 as ValidateEffect, c1 as VisualStyle, c2 as VisualStyleSchema, c3 as WatchEffect, c4 as WatchOptions, c5 as asEntityId, c6 as asEventId, c7 as asOrbitalId, c8 as asPageId, c9 as asPaletteEntryId, ca as asServiceId, cb as asThemeId, cc as asTraitId, cd as atomic, ce as callService, cf as createAssetKey, cg as deref, ch as deriveCollection, ci as despawn, cj as doEffects, ck as emit, cl as findService, cm as getDefaultAnimationsForRole, cn as getServiceNames, co as hasService, cp as idKindOf, cq as idPrefix, cr as isEffect, cs as isEmailValue, ct as isEntityId, cu as isEventId, cv as isFieldValue, cw as isMcpService, cx as isOrbitalId, cy as isPageId, cz as isPaletteEntryId, cA as isPhoneValue, cB as isRestService, cC as isRuntimeEntity, cD as isSExprEffect, cE as isSemanticStringType, cF as isSemanticStringValue, cG as isServiceId, cH as isServiceReference, cI as isServiceReferenceObject, cJ as isSocketService, cK as isThemeId, cL as isTraitId, cM as isUrlValue, cN as isUuidValue, cO as isValidPatternType, cP as ledgerCurName, cQ as ledgerRename, cR as ledgerResolveName, cS as mintId, cT as navigate, cU as notify, cV as parseAssetKey, cW as parseServiceRef, cX as persist, cY as persistenceModeAllowsOverrides, cZ as ref, c_ as renderUI, c$ as set, d0 as spawn, d1 as swap, d2 as validateAssetAnimations, d3 as watch } from '../effect-
|
|
5
|
-
import { S as SExpr, R as RuntimeValue, d as EventPayloadValue, J as JsonValue, a as EventPayload, L as LogMeta, g as JsonObject, T as ToolArgs, c as EvalContext } from '../expression-
|
|
6
|
-
export { C as CORE_BINDINGS, b as CoreBinding, E as Expression, e as ExpressionInput, f as ExpressionSchema, h as LogMetaValue, P as ParsedBinding, i as SExprAtom, j as SExprAtomSchema, k as SExprDataSchema, l as SExprInput, m as SExprObject, n as SExprSchema, o as collectBindings, p as getArgs, q as getOperator, r as isBinding, s as isEventPayloadValue, t as isJsonArray, u as isJsonObject, v as isJsonPrimitive, w as isSExpr, x as isSExprAtom, y as isSExprCall, z as isValidBinding, A as parseBinding, B as sexpr, D as walkSExpr } from '../expression-
|
|
1
|
+
import { b1 as PageTraitRef, O as OrbitalSchema, bf as ThemeDefinition, a8 as Orbital, b as Page, M as DomainContext, a as OrbitalDefinition } from '../schema-0C1bXRFm.js';
|
|
2
|
+
export { A as AGENT_DOMAIN_CATEGORIES, e as ALLOWED_CUSTOM_COMPONENTS, f as AgentDomainCategory, g as AgentDomainCategorySchema, h as AllowedCustomComponent, C as ColorSlice, i as ColorSliceSchema, j as ColorTokens, k as ColorTokensSchema, l as ComputedEventContract, m as ComputedEventContractSchema, n as ComputedEventListener, o as ComputedEventListenerSchema, p as ConfigProvenanceRecord, q as ConfigProvenanceRecordSchema, r as CustomPatternDefinition, s as CustomPatternDefinitionInput, t as CustomPatternDefinitionSchema, u as CustomPatternMap, v as CustomPatternMapInput, w as CustomPatternMapSchema, D as DensitySlice, x as DensitySliceSchema, y as DensityTokens, z as DensityTokensSchema, B as DesignPreferences, F as DesignPreferencesInput, G as DesignPreferencesSchema, H as DesignTokens, I as DesignTokensInput, J as DesignTokensSchema, K as DomainCategory, L as DomainCategorySchema, N as DomainContextInput, Q as DomainContextSchema, R as DomainVocabulary, S as DomainVocabularySchema, T as ElevationSlice, V as ElevationSliceSchema, W as ElevationTokens, X as ElevationTokensSchema, Y as EntityCall, Z as EntityCallSchema, E as EntityRef, _ as EntityRefSchema, $ as EntityRefStringSchema, a0 as EntitySemanticRole, a1 as EntitySemanticRoleSchema, a2 as EventListener, a3 as EventListenerSchema, a4 as EventSemanticRole, a5 as EventSemanticRoleSchema, a6 as EventSource, a7 as EventSourceSchema, a9 as GameSubCategory, aa as GameSubCategorySchema, ab as GeometrySlice, ac as GeometrySliceSchema, ad as GeometryTokens, ae as GeometryTokensSchema, af as IconFamily, ag as IconFamilySchema, ah as IconographySlice, ai as IconographySliceSchema, aj as IconographyTokens, ak as IconographyTokensSchema, al as IllustrationSlice, am as IllustrationSliceSchema, an as IllustrationStyle, ao as IllustrationStyleSchema, ap as IllustrationTokens, aq as IllustrationTokensSchema, ar as MotionDurationKey, as as MotionDurationKeySchema, at as MotionDurationPalette, au as MotionDurationPaletteSchema, av as MotionEasingKey, aw as MotionEasingKeySchema, ax as MotionEasingPalette, ay as MotionEasingPaletteSchema, az as MotionIntent, aA as MotionIntentMap, aB as MotionIntentMapSchema, aC as MotionIntentSchema, aD as MotionSlice, aE as MotionSliceSchema, aF as MotionTokens, aG as MotionTokensSchema, aH as NavItem, aI as NodeClassification, aJ as NodeClassificationSchema, aK as OrbitalConfig, aL as OrbitalConfigInput, aM as OrbitalConfigSchema, aN as OrbitalDefinitionSchema, aO as OrbitalInput, d as OrbitalPage, aP as OrbitalPageInput, aQ as OrbitalPageSchema, aR as OrbitalPageStrictInput, aS as OrbitalPageStrictSchema, aT as OrbitalSchemaInput, aU as OrbitalSchemaSchema, aV as OrbitalSchemaWithTraits, aW as OrbitalUnit, aX as OrbitalUnitSchema, aY as OrbitalZodSchema, P as PageRef, c as PageRefObject, aZ as PageRefObjectSchema, a_ as PageRefSchema, a$ as PageRefStringSchema, b0 as PageSchema, b2 as PageTraitRefSchema, b3 as RelatedLink, b4 as RelatedLinkSchema, b5 as SchemaMetadata, b6 as SchemaMetadataSchema, b7 as SkinSpec, b8 as SkinSpecSchema, b9 as SpacingScale, ba as SpacingScaleSchema, bb as StateSemanticRole, bc as StateSemanticRoleSchema, bd as SuggestedGuard, be as SuggestedGuardSchema, bg as ThemeDefinitionSchema, bh as ThemeRef, bi as ThemeRefSchema, bj as ThemeRefStringSchema, bk as ThemeTokens, bl as ThemeTokensSchema, bm as ThemeVariant, bn as ThemeVariantSchema, bo as TypeIntent, bp as TypeIntentMap, bq as TypeIntentMapSchema, br as TypeIntentSchema, bs as TypeScale, bt as TypeScaleEntry, bu as TypeScaleEntrySchema, bv as TypeScaleSchema, bw as TypeScaleTokens, bx as TypeScaleTokensSchema, by as TypeSizeKey, bz as TypeSizeKeySchema, bA as TypeSlice, bB as TypeSliceSchema, bC as TypeSlot, bD as TypeSlotSchema, bE as TypeWeight, bF as TypeWeightSchema, bG as UXHints, bH as UXHintsSchema, U as UseDeclaration, bI as UseDeclarationSchema, bJ as UserPersona, bK as UserPersonaInput, bL as UserPersonaSchema, bM as ViewType, bN as ViewTypeSchema, bO as isEntityCall, bP as isEntityReference, bQ as isEntityReferenceAny, bR as isImportedTraitRef, bS as isOrbitalDefinition, bT as isPageReference, bU as isPageReferenceObject, bV as isPageReferenceString, bW as isThemeReference, bX as parseEntityRef, bY as parseImportedTraitRef, bZ as parseOrbitalSchema, b_ as parsePageRef, b$ as safeParseOrbitalSchema } from '../schema-0C1bXRFm.js';
|
|
3
|
+
import { F as FieldValue, E as EntityField, a as EntityPersistence, bp as ServiceParams, e as Entity, f as EntityRow, A as AnyPatternConfig, O as OrbitalId, T as TraitId, b as EventId, c as Effect } from '../effect-DxD-XTI8.js';
|
|
4
|
+
export { j as ANIMATION_NAMES, k as ASSET_ASPECTS, l as ASSET_DIMENSIONS, m as AgentEffect, n as AnimationDef, o as AnimationDefInput, p as AnimationDefSchema, q as AnimationName, r as AnimationNameSchema, s as ApplicationEffect, t as ArrayEntityField, u as Asset, v as AssetAspect, w as AssetAspectSchema, x as AssetCatalog, y as AssetCatalogEntry, z as AssetCatalogEntryInput, B as AssetCatalogEntrySchema, C as AssetCatalogSchema, D as AssetDimension, G as AssetDimensionSchema, H as AssetSchema, J as AssetUrl, K as AtomicEffect, L as BehaviorEffect, M as CAMERA_MODES, N as CallServiceConfig, Q as CallServiceEffect, V as Camera, W as CameraMode, X as CameraModeSchema, Y as CameraSchema, Z as CheckpointLoadEffect, _ as CheckpointSaveEffect, $ as ComposeEffect, a0 as DerefEffect, a1 as DespawnEffect, a2 as DoEffect, a3 as ENTITY_ROLES, a4 as EffectInput, a5 as EffectSchema, a6 as EmitConfig, a7 as EmitEffect, a8 as EntityData, a9 as EntityFieldInput, aa as EntityFieldSchema, d as EntityId, ab as EntityIdSchema, ac as EntityPersistenceSchema, ad as EntityRole, ae as EntityRoleSchema, af as EntitySchema, ag as EntityWith, ah as EnumEntityField, ai as EvaluateConfig, aj as EvaluateEffect, ak as EventIdSchema, al as FIELD_TYPES, am as FetchEffect, an as FetchOptions, ao as FetchResult, ap as Field, aq as FieldSchema, ar as FieldType, as as FieldTypeSchema, at as ForwardConfig, au as ForwardEffect, av as IdForKind, aw as IdKind, I as IdentityLedger, ax as IdentityLedgerSchema, ay as LedgerEntry, az as LedgerEntrySchema, aA as LedgerKind, aB as LedgerKindSchema, aC as LlmEffect, aD as LogEffect, aE as McpServiceDef, aF as McpServiceDefSchema, aG as MemoryEffect, aH as NavigateEffect, aI as NnConfig, aJ as NnLayer, aK as NotifyEffect, aL as ObjectEntityField, aM as OrbitalEntity, aN as OrbitalEntityInput, aO as OrbitalEntitySchema, aP as OrbitalIdSchema, aQ as OsEffect, aR as PATTERN_TYPES, P as PageId, aS as PageIdSchema, aT as PaletteEntryId, aU as PaletteEntryIdSchema, aV as PatternConfig, aY as PatternType, aZ as PersistData, a_ as PersistEffect, a$ as PersistEmitConfig, b0 as RefEffect, R as RelationConfig, b1 as RelationConfigSchema, b2 as RelationEntityField, h as RenderBinding, b3 as RenderChildrenMap, b4 as RenderItemLambda, i as RenderUIEffect, b5 as RenderUINode, b6 as ResolvedPatternProps, b7 as RestAuthConfig, b8 as RestAuthConfigSchema, b9 as RestServiceDef, ba as RestServiceDefSchema, bb as SEMANTIC_STRING_TYPES, bc as SERVICE_TYPES, bd as SHEET_PROJECTIONS, be as SPRITE_DIRECTIONS, bf as ScalarEntityField, bg as ScenePos, bh as ScenePosSchema, bi as SemanticAssetRef, bj as SemanticAssetRefInput, bk as SemanticAssetRefSchema, bl as SemanticStringType, g as ServiceDefinition, bm as ServiceDefinitionSchema, bn as ServiceId, bo as ServiceIdSchema, bq as ServiceParamsValue, S as ServiceRef, br as ServiceRefObject, bs as ServiceRefObjectSchema, bt as ServiceRefSchema, bu as ServiceRefStringSchema, bv as ServiceType, bw as ServiceTypeSchema, bx as SessionEffect, by as SetEffect, bz as SheetProjection, bA as SheetProjectionSchema, bB as SocketEvents, bC as SocketEventsSchema, bD as SocketServiceDef, bE as SocketServiceDefSchema, bF as SpawnEffect, bG as SpriteDirection, bH as SpriteDirectionSchema, bI as SpriteSheetAtlas, bJ as SpriteSheetAtlasInput, bK as SpriteSheetAtlasSchema, bL as SubTexture, bM as SubTextureSchema, bN as SwapEffect, bO as TextureAtlas, bP as TextureAtlasSchema, bQ as ThemeId, bR as ThemeIdSchema, bS as Tilesheet, bT as TilesheetSchema, bU as TraceEffect, bV as TrainConfig, bW as TrainEffect, bX as TraitIdSchema, bY as TypedEffect, U as UISlot, bZ as UISlotSchema, b_ as UI_SLOTS, b$ as VISUAL_STYLES, c0 as ValidateEffect, c1 as VisualStyle, c2 as VisualStyleSchema, c3 as WatchEffect, c4 as WatchOptions, c5 as asEntityId, c6 as asEventId, c7 as asOrbitalId, c8 as asPageId, c9 as asPaletteEntryId, ca as asServiceId, cb as asThemeId, cc as asTraitId, cd as atomic, ce as callService, cf as createAssetKey, cg as deref, ch as deriveCollection, ci as despawn, cj as doEffects, ck as emit, cl as findService, cm as getDefaultAnimationsForRole, cn as getServiceNames, co as hasService, cp as idKindOf, cq as idPrefix, cr as isEffect, cs as isEmailValue, ct as isEntityId, cu as isEventId, cv as isFieldValue, cw as isMcpService, cx as isOrbitalId, cy as isPageId, cz as isPaletteEntryId, cA as isPhoneValue, cB as isRestService, cC as isRuntimeEntity, cD as isSExprEffect, cE as isSemanticStringType, cF as isSemanticStringValue, cG as isServiceId, cH as isServiceReference, cI as isServiceReferenceObject, cJ as isSocketService, cK as isThemeId, cL as isTraitId, cM as isUrlValue, cN as isUuidValue, cO as isValidPatternType, cP as ledgerCurName, cQ as ledgerRename, cR as ledgerResolveName, cS as mintId, cT as navigate, cU as notify, cV as parseAssetKey, cW as parseServiceRef, cX as persist, cY as persistenceModeAllowsOverrides, cZ as ref, c_ as renderUI, c$ as set, d0 as spawn, d1 as swap, d2 as validateAssetAnimations, d3 as watch } from '../effect-DxD-XTI8.js';
|
|
5
|
+
import { S as SExpr, R as RuntimeValue, d as EventPayloadValue, J as JsonValue, a as EventPayload, L as LogMeta, g as JsonObject, T as ToolArgs, c as EvalContext } from '../expression-Fk8bQWef.js';
|
|
6
|
+
export { C as CORE_BINDINGS, b as CoreBinding, E as Expression, e as ExpressionInput, f as ExpressionSchema, h as LogMetaValue, P as ParsedBinding, i as SExprAtom, j as SExprAtomSchema, k as SExprDataSchema, l as SExprInput, m as SExprObject, n as SExprSchema, o as collectBindings, p as getArgs, q as getOperator, r as isBinding, s as isEventPayloadValue, t as isJsonArray, u as isJsonObject, v as isJsonPrimitive, w as isSExpr, x as isSExprAtom, y as isSExprCall, z as isValidBinding, A as parseBinding, B as sexpr, D as walkSExpr } from '../expression-Fk8bQWef.js';
|
|
7
7
|
import { z } from 'zod';
|
|
8
|
-
import { a as TraitReference, g as Trait, L as ListenSource, D as DeclaredTraitConfig, b as TraitConfig, C as ConfigFieldDeclaration, S as State, ae as Transition, r as Event, e as TraitConfigValue, Y as TraitCategory, as as TraitScope } from '../trait-
|
|
9
|
-
export { k as CONFIG_REF_EVENT_PATTERN, h as CallSiteConfig, i as CallSiteConfigEntry, l as ConfigFieldDeclarationSchema, m as ConfigFieldItemsDeclaration, n as ConfigRefEventError, o as DeclaredTraitConfigSchema, p as EntityFieldContract, q as EntityFieldContractSchema, s as EventInput, E as EventPayloadField, t as EventPayloadFieldSchema, u as EventSchema, v as EventScope, w as EventScopeSchema, G as Guard, x as GuardInput, y as GuardSchema, z as ListenSourceSchema, O as OrbitalTraitRef, A as OrbitalTraitRefSchema, P as PayloadField, B as PayloadFieldSchema, F as PresentationType, R as REFERENCE_CONFIG_TYPES, H as ReferenceConfigType, I as RequiredField, J as RequiredFieldSchema, K as SECRET_CONFIG_TYPES, M as SecretConfigType, N as StateInput, Q as StateMachine, U as StateMachineInput, V as StateMachineSchema, W as StateSchema, X as TickIntervalSchema, Z as TraitCategorySchema, c as TraitConfigObject, _ as TraitConfigSchema, $ as TraitConfigValueSchema, a0 as TraitDataEntity, a1 as TraitDataEntitySchema, f as TraitEntityField, a2 as TraitEntityFieldSchema, j as TraitEventContract, a3 as TraitEventContractSchema, T as TraitEventListener, a4 as TraitEventListenerSchema, a5 as TraitInput, d as TraitRef, a6 as TraitRefSchema, a7 as TraitReferenceInput, a8 as TraitReferenceSchema, a9 as TraitSchema, aa as TraitTick, ab as TraitTickSchema, ac as TraitUIBinding, ad as TraitUIBindingSchema, af as TransitionInput, ag as TransitionSchema, ah as configRefEventKnob, ai as getTraitConfig, aj as getTraitName, ak as isCallSiteConfigDeclaration, al as isCircuitEvent, am as isInlineTrait, an as isReferenceConfigType, ao as isSecretConfigType, ap as normalizeCallSiteConfigToValues, aq as normalizeTraitRef, ar as resolveConfigRefEventName } from '../trait-
|
|
10
|
-
import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from '../types-
|
|
8
|
+
import { a as TraitReference, g as Trait, L as ListenSource, D as DeclaredTraitConfig, b as TraitConfig, C as ConfigFieldDeclaration, S as State, ae as Transition, r as Event, e as TraitConfigValue, Y as TraitCategory, as as TraitScope } from '../trait-WnYkvPdZ.js';
|
|
9
|
+
export { k as CONFIG_REF_EVENT_PATTERN, h as CallSiteConfig, i as CallSiteConfigEntry, l as ConfigFieldDeclarationSchema, m as ConfigFieldItemsDeclaration, n as ConfigRefEventError, o as DeclaredTraitConfigSchema, p as EntityFieldContract, q as EntityFieldContractSchema, s as EventInput, E as EventPayloadField, t as EventPayloadFieldSchema, u as EventSchema, v as EventScope, w as EventScopeSchema, G as Guard, x as GuardInput, y as GuardSchema, z as ListenSourceSchema, O as OrbitalTraitRef, A as OrbitalTraitRefSchema, P as PayloadField, B as PayloadFieldSchema, F as PresentationType, R as REFERENCE_CONFIG_TYPES, H as ReferenceConfigType, I as RequiredField, J as RequiredFieldSchema, K as SECRET_CONFIG_TYPES, M as SecretConfigType, N as StateInput, Q as StateMachine, U as StateMachineInput, V as StateMachineSchema, W as StateSchema, X as TickIntervalSchema, Z as TraitCategorySchema, c as TraitConfigObject, _ as TraitConfigSchema, $ as TraitConfigValueSchema, a0 as TraitDataEntity, a1 as TraitDataEntitySchema, f as TraitEntityField, a2 as TraitEntityFieldSchema, j as TraitEventContract, a3 as TraitEventContractSchema, T as TraitEventListener, a4 as TraitEventListenerSchema, a5 as TraitInput, d as TraitRef, a6 as TraitRefSchema, a7 as TraitReferenceInput, a8 as TraitReferenceSchema, a9 as TraitSchema, aa as TraitTick, ab as TraitTickSchema, ac as TraitUIBinding, ad as TraitUIBindingSchema, af as TransitionInput, ag as TransitionSchema, ah as configRefEventKnob, ai as getTraitConfig, aj as getTraitName, ak as isCallSiteConfigDeclaration, al as isCircuitEvent, am as isInlineTrait, an as isReferenceConfigType, ao as isSecretConfigType, ap as normalizeCallSiteConfigToValues, aq as normalizeTraitRef, ar as resolveConfigRefEventName } from '../trait-WnYkvPdZ.js';
|
|
10
|
+
import { T as TraitOverlay, R as RuleOverlay, J as JsonSchema, c as FactoryConfigTier } from '../types-C4YztU2N.js';
|
|
11
11
|
import { MakeTraitRefOpts, EventWiringEntry, LayoutStrategy } from '../builders.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -84,6 +84,16 @@ declare const BINDING_DOCS: {
|
|
|
84
84
|
readonly examples: readonly ["@callsitePayload.error", "@callsitePayload.row"];
|
|
85
85
|
readonly requiresPath: true;
|
|
86
86
|
};
|
|
87
|
+
readonly pages: {
|
|
88
|
+
readonly description: "Render-resolved schema sigil — the host orbital's pages as a NavItem[] array (href = page.path, label = page.name). Substituted from the OrbitalSchema before codegen; never survives as a live binding.";
|
|
89
|
+
readonly examples: readonly ["@pages"];
|
|
90
|
+
readonly requiresPath: false;
|
|
91
|
+
};
|
|
92
|
+
readonly currentTheme: {
|
|
93
|
+
readonly description: "Render-resolved schema sigil — the host orbital's active data-theme key, derived from Orbital.theme. Substituted from the OrbitalSchema before codegen; never survives as a live binding.";
|
|
94
|
+
readonly examples: readonly ["@currentTheme"];
|
|
95
|
+
readonly requiresPath: false;
|
|
96
|
+
};
|
|
87
97
|
};
|
|
88
98
|
/**
|
|
89
99
|
* Validation rules for bindings in different contexts.
|
|
@@ -94,7 +104,7 @@ declare const BINDING_CONTEXT_RULES: {
|
|
|
94
104
|
readonly description: "Guards can access entity fields, event payload, current state, time, the call-site trait config (@config.X), and the authenticated user context (@user.id, @user.role) for ownership / role gates. Config access lets atoms write mode-aware guards — e.g. std-modal's OPEN can require @payload.row only when @config.mode equals \"edit\", letting create-mode legitimately fire OPEN with no row. Like effects, @config.X is substituted at molecule/organism inline time with the literal call-site value; at atom-scope validate, @config is allowed-but-unresolved.";
|
|
95
105
|
};
|
|
96
106
|
readonly effect: {
|
|
97
|
-
readonly allowed: readonly ["entity", "payload", "state", "now", "trait", "config", "user", "callsitePayload"];
|
|
107
|
+
readonly allowed: readonly ["entity", "payload", "state", "now", "trait", "config", "user", "callsitePayload", "pages", "currentTheme"];
|
|
98
108
|
readonly description: "Effects can access and modify entity fields, use payload data, embed another trait's live frame via @trait.X inside render-ui children, read trait config values (@config.X) for atoms parameterized by their call-site, and read the authenticated user context (@user.id, @user.role). At molecule/organism inline time, @config.X is substituted with the literal value from the call-site config block; at atom-scope validate, @config is allowed-but-unresolved. @callsitePayload.X is the call-site-captured event payload emitted by the compiler's inline-trait hoisting (a hoisted render block that captured @payload); it is resolved at the composing effect by the runtime BindingResolver.";
|
|
99
109
|
};
|
|
100
110
|
readonly tick: {
|
package/dist/types/index.js
CHANGED
|
@@ -515,7 +515,7 @@ function isBinding(value) {
|
|
|
515
515
|
function isSExprCall(value) {
|
|
516
516
|
return isSExpr(value);
|
|
517
517
|
}
|
|
518
|
-
var CORE_BINDINGS = ["entity", "payload", "state", "now", "config", "computed", "trait", "user", "callsitePayload"];
|
|
518
|
+
var CORE_BINDINGS = ["entity", "payload", "state", "now", "config", "computed", "trait", "user", "callsitePayload", "pages", "currentTheme"];
|
|
519
519
|
function parseBinding(binding) {
|
|
520
520
|
if (!binding.startsWith("@")) {
|
|
521
521
|
return null;
|
|
@@ -1179,7 +1179,9 @@ var OrbitalPageStrictSchema = z.object({
|
|
|
1179
1179
|
path: z.string().min(1, "Page path is required").startsWith("/", "Path must start with /"),
|
|
1180
1180
|
primaryEntity: z.string().min(1, "Primary entity is required"),
|
|
1181
1181
|
traits: z.array(PageTraitRefSchema).min(1, "Page must have at least one trait"),
|
|
1182
|
-
title: z.string().optional()
|
|
1182
|
+
title: z.string().optional(),
|
|
1183
|
+
icon: z.string().optional(),
|
|
1184
|
+
label: z.string().optional()
|
|
1183
1185
|
}).strict();
|
|
1184
1186
|
var OrbitalPageSchema = z.object({
|
|
1185
1187
|
id: PageIdSchema.optional(),
|
|
@@ -1189,7 +1191,9 @@ var OrbitalPageSchema = z.object({
|
|
|
1189
1191
|
title: z.string().optional(),
|
|
1190
1192
|
primaryEntity: z.string().optional(),
|
|
1191
1193
|
traits: z.array(PageTraitRefSchema).optional(),
|
|
1192
|
-
isInitial: z.boolean().optional()
|
|
1194
|
+
isInitial: z.boolean().optional(),
|
|
1195
|
+
icon: z.string().optional(),
|
|
1196
|
+
label: z.string().optional()
|
|
1193
1197
|
}).strict();
|
|
1194
1198
|
var PageSchema = OrbitalPageSchema;
|
|
1195
1199
|
var DomainCategorySchema = z.enum([
|
|
@@ -1952,6 +1956,16 @@ var BINDING_DOCS = {
|
|
|
1952
1956
|
description: "Call-site-captured event payload \u2014 emitted by the compiler's inline-trait hoisting when an extracted render block captured @payload; resolved at the composing effect by the runtime BindingResolver",
|
|
1953
1957
|
examples: ["@callsitePayload.error", "@callsitePayload.row"],
|
|
1954
1958
|
requiresPath: true
|
|
1959
|
+
},
|
|
1960
|
+
pages: {
|
|
1961
|
+
description: "Render-resolved schema sigil \u2014 the host orbital's pages as a NavItem[] array (href = page.path, label = page.name). Substituted from the OrbitalSchema before codegen; never survives as a live binding.",
|
|
1962
|
+
examples: ["@pages"],
|
|
1963
|
+
requiresPath: false
|
|
1964
|
+
},
|
|
1965
|
+
currentTheme: {
|
|
1966
|
+
description: "Render-resolved schema sigil \u2014 the host orbital's active data-theme key, derived from Orbital.theme. Substituted from the OrbitalSchema before codegen; never survives as a live binding.",
|
|
1967
|
+
examples: ["@currentTheme"],
|
|
1968
|
+
requiresPath: false
|
|
1955
1969
|
}
|
|
1956
1970
|
};
|
|
1957
1971
|
var BINDING_CONTEXT_RULES = {
|
|
@@ -1960,7 +1974,7 @@ var BINDING_CONTEXT_RULES = {
|
|
|
1960
1974
|
description: `Guards can access entity fields, event payload, current state, time, the call-site trait config (@config.X), and the authenticated user context (@user.id, @user.role) for ownership / role gates. Config access lets atoms write mode-aware guards \u2014 e.g. std-modal's OPEN can require @payload.row only when @config.mode equals "edit", letting create-mode legitimately fire OPEN with no row. Like effects, @config.X is substituted at molecule/organism inline time with the literal call-site value; at atom-scope validate, @config is allowed-but-unresolved.`
|
|
1961
1975
|
},
|
|
1962
1976
|
effect: {
|
|
1963
|
-
allowed: ["entity", "payload", "state", "now", "trait", "config", "user", "callsitePayload"],
|
|
1977
|
+
allowed: ["entity", "payload", "state", "now", "trait", "config", "user", "callsitePayload", "pages", "currentTheme"],
|
|
1964
1978
|
description: "Effects can access and modify entity fields, use payload data, embed another trait's live frame via @trait.X inside render-ui children, read trait config values (@config.X) for atoms parameterized by their call-site, and read the authenticated user context (@user.id, @user.role). At molecule/organism inline time, @config.X is substituted with the literal value from the call-site config block; at atom-scope validate, @config is allowed-but-unresolved. @callsitePayload.X is the call-site-captured event payload emitted by the compiler's inline-trait hoisting (a hoisted render block that captured @payload); it is resolved at the composing effect by the runtime BindingResolver."
|
|
1965
1979
|
},
|
|
1966
1980
|
tick: {
|