@almadar/core 10.7.0 → 10.8.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 +3 -3
- package/dist/builders.js +5 -0
- package/dist/builders.js.map +1 -1
- package/dist/{compose-behaviors-B96ChDbl.d.ts → compose-behaviors-9xDCK9IA.d.ts} +1 -1
- package/dist/factory/index.d.ts +3 -3
- package/dist/index.d.ts +7 -7
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/{schema-QKCaijbj.d.ts → schema-C3osccoR.d.ts} +1 -1
- package/dist/{trait-BkW6nFHo.d.ts → trait-DwxDJ6PP.d.ts} +52 -1
- package/dist/types/index.d.ts +6 -6
- package/dist/types/index.js +6 -1
- package/dist/types/index.js.map +1 -1
- package/dist/{types-R0vBMx1v.d.ts → types-zx68_GSb.d.ts} +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { E as Expression, S as SExpr } from './expression-BUIi9ezJ.js';
|
|
2
|
-
import { T as TraitConfig, k as TraitConfigObject, S as ServiceRef, d as Entity, f as EntityField, g as EntityPersistence, i as TraitRef, l as EventPayloadField, C as ConfigFieldDeclaration, m as ServiceDefinition, a as Trait } from './trait-
|
|
2
|
+
import { T as TraitConfig, k as TraitConfigObject, S as ServiceRef, d as Entity, f as EntityField, g as EntityPersistence, i as TraitRef, l as EventPayloadField, C as ConfigFieldDeclaration, m as ServiceDefinition, a as Trait } from './trait-DwxDJ6PP.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1069,6 +1069,57 @@ declare const SemanticAssetRefSchema: z.ZodObject<{
|
|
|
1069
1069
|
dimension?: "2d" | "3d" | undefined;
|
|
1070
1070
|
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1071
1071
|
}>;
|
|
1072
|
+
/**
|
|
1073
|
+
* The single asset type: a `SemanticAssetRef` (role/dimension/animations/aspect/style)
|
|
1074
|
+
* WITH its resolved URL folded in. Used everywhere an asset is referenced — a lolo
|
|
1075
|
+
* board `assetManifest` (`Map string Asset`), every `@almadar/ui` game prop, the
|
|
1076
|
+
* asset-workflow's resolved/pool assets, and the inspector picker. Replaces the bare
|
|
1077
|
+
* `AssetUrl`-string asset field so the render metadata travels WITH the asset (no
|
|
1078
|
+
* pixel-dimension or filename heuristics needed to know sheet-vs-frame / 2d-vs-3d).
|
|
1079
|
+
*/
|
|
1080
|
+
interface Asset extends SemanticAssetRef {
|
|
1081
|
+
/** The resolved asset URL. */
|
|
1082
|
+
url: AssetUrl;
|
|
1083
|
+
/** Optional display name (inspector picker). */
|
|
1084
|
+
name?: string;
|
|
1085
|
+
/** Optional thumbnail URL (inspector picker grid). */
|
|
1086
|
+
thumbnailUrl?: string;
|
|
1087
|
+
}
|
|
1088
|
+
declare const AssetSchema: z.ZodObject<{
|
|
1089
|
+
role: z.ZodEnum<["player", "enemy", "npc", "item", "tile", "projectile", "effect", "ui", "decoration", "vehicle"]>;
|
|
1090
|
+
category: z.ZodString;
|
|
1091
|
+
animations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1092
|
+
style: z.ZodOptional<z.ZodEnum<["pixel", "vector", "hd", "1-bit", "isometric"]>>;
|
|
1093
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
1094
|
+
dimension: z.ZodOptional<z.ZodEnum<["2d", "3d"]>>;
|
|
1095
|
+
aspect: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "5:7", "8:1"]>>;
|
|
1096
|
+
} & {
|
|
1097
|
+
url: z.ZodString;
|
|
1098
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1099
|
+
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
|
1100
|
+
}, "strip", z.ZodTypeAny, {
|
|
1101
|
+
url: string;
|
|
1102
|
+
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
1103
|
+
category: string;
|
|
1104
|
+
name?: string | undefined;
|
|
1105
|
+
animations?: string[] | undefined;
|
|
1106
|
+
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
1107
|
+
variant?: string | undefined;
|
|
1108
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1109
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1110
|
+
thumbnailUrl?: string | undefined;
|
|
1111
|
+
}, {
|
|
1112
|
+
url: string;
|
|
1113
|
+
role: "player" | "enemy" | "npc" | "item" | "tile" | "projectile" | "effect" | "ui" | "decoration" | "vehicle";
|
|
1114
|
+
category: string;
|
|
1115
|
+
name?: string | undefined;
|
|
1116
|
+
animations?: string[] | undefined;
|
|
1117
|
+
style?: "pixel" | "vector" | "hd" | "1-bit" | "isometric" | undefined;
|
|
1118
|
+
variant?: string | undefined;
|
|
1119
|
+
dimension?: "2d" | "3d" | undefined;
|
|
1120
|
+
aspect?: "1:1" | "16:9" | "5:7" | "8:1" | undefined;
|
|
1121
|
+
thumbnailUrl?: string | undefined;
|
|
1122
|
+
}>;
|
|
1072
1123
|
/**
|
|
1073
1124
|
* Result of resolving a SemanticAssetRef to actual asset paths
|
|
1074
1125
|
*/
|
|
@@ -6326,4 +6377,4 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
6326
6377
|
} | undefined;
|
|
6327
6378
|
}>]>;
|
|
6328
6379
|
|
|
6329
|
-
export { type
|
|
6380
|
+
export { type DerefEffect as $, ASSET_ASPECTS as A, AssetCatalogEntrySchema as B, type ConfigFieldDeclaration as C, AssetCatalogSchema as D, type Effect as E, type AssetDimension as F, AssetDimensionSchema as G, type AssetMap as H, type AssetMapInput as I, AssetMapSchema as J, type AssetMapping as K, type AssetMappingInput as L, AssetMappingSchema as M, AssetSchema as N, type AssetUrl as O, type AtomicEffect as P, type CallServiceConfig as Q, type RenderBinding as R, type ServiceRef as S, type TraitConfig as T, type UISlot as U, type CallServiceEffect as V, type CheckpointLoadEffect as W, type CheckpointSaveEffect as X, ConfigFieldDeclarationSchema as Y, type DeclaredTraitConfig as Z, DeclaredTraitConfigSchema as _, type Trait as a, type PersistEmitConfig as a$, type DespawnEffect as a0, type DoEffect as a1, ENTITY_ROLES as a2, type EffectInput as a3, EffectSchema as a4, type EmitConfig as a5, type EmitEffect as a6, type EntityData as a7, type EntityFieldContract as a8, EntityFieldContractSchema as a9, type ForwardConfig as aA, type ForwardEffect as aB, GAME_TYPES as aC, type GameType as aD, GameTypeSchema as aE, type Guard as aF, type GuardInput as aG, GuardSchema as aH, type ListenSource as aI, ListenSourceSchema as aJ, type LogEffect as aK, type McpServiceDef as aL, McpServiceDefSchema as aM, type NavigateEffect as aN, type NnConfig as aO, type NnLayer as aP, type NotifyEffect as aQ, type OrbitalEntity as aR, type OrbitalEntityInput as aS, OrbitalEntitySchema as aT, type OrbitalTraitRef as aU, OrbitalTraitRefSchema as aV, type OsEffect as aW, type PayloadField as aX, PayloadFieldSchema as aY, type PersistData as aZ, type PersistEffect as a_, type EntityFieldInput as aa, EntityFieldSchema as ab, EntityPersistenceSchema as ac, type EntityRole as ad, EntityRoleSchema as ae, EntitySchema as af, type EntityWith as ag, type EnumEntityField as ah, type EvaluateConfig as ai, type EvaluateEffect as aj, type Event as ak, type EventInput as al, EventPayloadFieldSchema as am, EventSchema as an, type EventScope as ao, EventScopeSchema as ap, type FetchEffect as aq, type FetchOptions as ar, type FetchResult as as, type Field as at, type FieldFormat as au, FieldFormatSchema as av, FieldSchema as aw, type FieldType as ax, FieldTypeSchema as ay, type FieldValue as az, type RenderUIEffect as b, TraitTickSchema as b$, type PresentationType as b0, type RefEffect as b1, type RelationConfig as b2, RelationConfigSchema as b3, type RelationEntityField as b4, type RenderItemLambda as b5, type RenderUIConfig as b6, type RenderUINode as b7, type RequiredField as b8, RequiredFieldSchema as b9, SocketServiceDefSchema as bA, type SpawnEffect as bB, type StateInput as bC, type StateMachine as bD, type StateMachineInput as bE, StateMachineSchema as bF, StateSchema as bG, type SwapEffect as bH, type TrainConfig as bI, type TrainEffect as bJ, type TraitCategory as bK, TraitCategorySchema as bL, TraitConfigSchema as bM, type TraitConfigValue as bN, TraitConfigValueSchema as bO, type TraitDataEntity as bP, TraitDataEntitySchema as bQ, type TraitEntityField as bR, TraitEntityFieldSchema as bS, TraitEventContractSchema as bT, TraitEventListenerSchema as bU, type TraitInput as bV, TraitRefSchema as bW, type TraitReferenceInput as bX, TraitReferenceSchema as bY, TraitSchema as bZ, type TraitTick as b_, type ResolvedAsset as ba, type ResolvedAssetInput as bb, ResolvedAssetSchema as bc, type ResolvedPatternProps as bd, type RestAuthConfig as be, RestAuthConfigSchema as bf, type RestServiceDef as bg, RestServiceDefSchema as bh, SERVICE_TYPES as bi, type ScalarEntityField as bj, type SemanticAssetRef as bk, type SemanticAssetRefInput as bl, SemanticAssetRefSchema as bm, ServiceDefinitionSchema as bn, type ServiceParams as bo, type ServiceParamsValue as bp, type ServiceRefObject as bq, ServiceRefObjectSchema as br, ServiceRefSchema as bs, ServiceRefStringSchema as bt, type ServiceType as bu, ServiceTypeSchema as bv, type SetEffect as bw, type SocketEvents as bx, SocketEventsSchema as by, type SocketServiceDef as bz, type TraitEventContract as c, type TraitUIBinding as c0, type Transition as c1, type TransitionInput as c2, TransitionSchema as c3, type TypedEffect as c4, UISlotSchema as c5, UI_SLOTS as c6, VISUAL_STYLES as c7, type VisualStyle as c8, VisualStyleSchema as c9, isSocketService as cA, navigate as cB, normalizeTraitRef as cC, notify as cD, parseAssetKey as cE, parseServiceRef as cF, persist as cG, ref as cH, renderUI as cI, set as cJ, spawn as cK, swap as cL, validateAssetAnimations as cM, watch as cN, type TraitScope as cO, type WatchEffect as ca, type WatchOptions as cb, atomic as cc, callService as cd, createAssetKey as ce, deref as cf, deriveCollection as cg, despawn as ch, doEffects as ci, emit as cj, findService as ck, getDefaultAnimationsForRole as cl, getServiceNames as cm, getTraitConfig as cn, getTraitName as co, hasService as cp, isCircuitEvent as cq, isEffect as cr, isInlineTrait as cs, isMcpService as ct, isRestService as cu, isRuntimeEntity as cv, isSExprEffect as cw, isServiceReference as cx, isServiceReferenceObject as cy, isSingletonEntity as cz, type Entity as d, type TraitEventListener as e, type EntityField as f, type EntityPersistence as g, type EntityRow as h, type TraitRef as i, type TraitReference as j, type TraitConfigObject as k, type EventPayloadField as l, type ServiceDefinition as m, type State as n, ASSET_DIMENSIONS as o, type AgentEffect as p, type AnimationDef as q, type AnimationDefInput as r, AnimationDefSchema as s, type ArrayEntityField as t, type Asset as u, type AssetAspect as v, AssetAspectSchema as w, type AssetCatalog as x, type AssetCatalogEntry as y, type AssetCatalogEntryInput as z };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { O as OrbitalSchema, a7 as Orbital, b as Page, L as DomainContext, a as OrbitalDefinition, b0 as PageTraitRef } from '../schema-
|
|
2
|
-
export { A as AGENT_DOMAIN_CATEGORIES, d as ALLOWED_CUSTOM_COMPONENTS, e as AgentDomainCategory, f as AgentDomainCategorySchema, g as AllowedCustomComponent, C as ColorSlice, h as ColorSliceSchema, i as ColorTokens, j as ColorTokensSchema, k as ComputedEventContract, l as ComputedEventContractSchema, m as ComputedEventListener, n as ComputedEventListenerSchema, o as ConfigProvenanceRecord, p as ConfigProvenanceRecordSchema, q as CustomPatternDefinition, r as CustomPatternDefinitionInput, s as CustomPatternDefinitionSchema, t as CustomPatternMap, u as CustomPatternMapInput, v as CustomPatternMapSchema, D as DensitySlice, w as DensitySliceSchema, x as DensityTokens, y as DensityTokensSchema, z as DesignPreferences, B as DesignPreferencesInput, F as DesignPreferencesSchema, G as DesignTokens, H as DesignTokensInput, I as DesignTokensSchema, J as DomainCategory, K as DomainCategorySchema, M as DomainContextInput, N as DomainContextSchema, Q as DomainVocabulary, R as DomainVocabularySchema, S as ElevationSlice, T as ElevationSliceSchema, V as ElevationTokens, W as ElevationTokensSchema, X as EntityCall, Y as EntityCallSchema, E as EntityRef, Z as EntityRefSchema, _ as EntityRefStringSchema, $ as EntitySemanticRole, a0 as EntitySemanticRoleSchema, a1 as EventListener, a2 as EventListenerSchema, a3 as EventSemanticRole, a4 as EventSemanticRoleSchema, a5 as EventSource, a6 as EventSourceSchema, a8 as GameSubCategory, a9 as GameSubCategorySchema, aa as GeometrySlice, ab as GeometrySliceSchema, ac as GeometryTokens, ad as GeometryTokensSchema, ae as IconFamily, af as IconFamilySchema, ag as IconographySlice, ah as IconographySliceSchema, ai as IconographyTokens, aj as IconographyTokensSchema, ak as IllustrationSlice, al as IllustrationSliceSchema, am as IllustrationStyle, an as IllustrationStyleSchema, ao as IllustrationTokens, ap as IllustrationTokensSchema, aq as MotionDurationKey, ar as MotionDurationKeySchema, as as MotionDurationPalette, at as MotionDurationPaletteSchema, au as MotionEasingKey, av as MotionEasingKeySchema, aw as MotionEasingPalette, ax as MotionEasingPaletteSchema, ay as MotionIntent, az as MotionIntentMap, aA as MotionIntentMapSchema, aB as MotionIntentSchema, aC as MotionSlice, aD as MotionSliceSchema, aE as MotionTokens, aF as MotionTokensSchema, aG as NodeClassification, aH as NodeClassificationSchema, aI as OrbitalConfig, aJ as OrbitalConfigInput, aK as OrbitalConfigSchema, aL as OrbitalDefinitionSchema, aM as OrbitalInput, aN as OrbitalPage, aO as OrbitalPageInput, aP as OrbitalPageSchema, aQ as OrbitalPageStrictInput, aR as OrbitalPageStrictSchema, aS as OrbitalSchemaInput, aT as OrbitalSchemaSchema, aU as OrbitalSchemaWithTraits, aV as OrbitalUnit, aW as OrbitalUnitSchema, aX as OrbitalZodSchema, P as PageRef, c as PageRefObject, aY as PageRefObjectSchema, aZ as PageRefSchema, a_ as PageRefStringSchema, a$ as PageSchema, b1 as PageTraitRefSchema, b2 as RelatedLink, b3 as RelatedLinkSchema, b4 as SchemaMetadata, b5 as SchemaMetadataSchema, b6 as SkinSpec, b7 as SkinSpecSchema, b8 as SpacingScale, b9 as SpacingScaleSchema, ba as StateSemanticRole, bb as StateSemanticRoleSchema, bc as SuggestedGuard, bd as SuggestedGuardSchema, be as ThemeDefinition, bf as ThemeDefinitionSchema, bg as ThemeRef, bh as ThemeRefSchema, bi as ThemeRefStringSchema, bj as ThemeTokens, bk as ThemeTokensSchema, bl as ThemeVariant, bm as ThemeVariantSchema, bn as TypeIntent, bo as TypeIntentMap, bp as TypeIntentMapSchema, bq as TypeIntentSchema, br as TypeScale, bs as TypeScaleEntry, bt as TypeScaleEntrySchema, bu as TypeScaleSchema, bv as TypeScaleTokens, bw as TypeScaleTokensSchema, bx as TypeSizeKey, by as TypeSizeKeySchema, bz as TypeSlice, bA as TypeSliceSchema, bB as TypeSlot, bC as TypeSlotSchema, bD as TypeWeight, bE as TypeWeightSchema, bF as UXHints, bG as UXHintsSchema, U as UseDeclaration, bH as UseDeclarationSchema, bI as UserPersona, bJ as UserPersonaInput, bK as UserPersonaSchema, bL as ViewType, bM as ViewTypeSchema, bN as isEntityCall, bO as isEntityReference, bP as isEntityReferenceAny, bQ as isImportedTraitRef, bR as isOrbitalDefinition, bS as isPageReference, bT as isPageReferenceObject, bU as isPageReferenceString, bV as isThemeReference, bW as parseEntityRef, bX as parseImportedTraitRef, bY as parseOrbitalSchema, bZ as parsePageRef, b_ as safeParseOrbitalSchema } from '../schema-
|
|
3
|
-
import {
|
|
4
|
-
export { A as ASSET_ASPECTS, o as ASSET_DIMENSIONS, p as AgentEffect, q as AnimationDef, r as AnimationDefInput, s as AnimationDefSchema, t as ArrayEntityField, u as
|
|
1
|
+
import { O as OrbitalSchema, a7 as Orbital, b as Page, L as DomainContext, a as OrbitalDefinition, b0 as PageTraitRef } from '../schema-C3osccoR.js';
|
|
2
|
+
export { A as AGENT_DOMAIN_CATEGORIES, d as ALLOWED_CUSTOM_COMPONENTS, e as AgentDomainCategory, f as AgentDomainCategorySchema, g as AllowedCustomComponent, C as ColorSlice, h as ColorSliceSchema, i as ColorTokens, j as ColorTokensSchema, k as ComputedEventContract, l as ComputedEventContractSchema, m as ComputedEventListener, n as ComputedEventListenerSchema, o as ConfigProvenanceRecord, p as ConfigProvenanceRecordSchema, q as CustomPatternDefinition, r as CustomPatternDefinitionInput, s as CustomPatternDefinitionSchema, t as CustomPatternMap, u as CustomPatternMapInput, v as CustomPatternMapSchema, D as DensitySlice, w as DensitySliceSchema, x as DensityTokens, y as DensityTokensSchema, z as DesignPreferences, B as DesignPreferencesInput, F as DesignPreferencesSchema, G as DesignTokens, H as DesignTokensInput, I as DesignTokensSchema, J as DomainCategory, K as DomainCategorySchema, M as DomainContextInput, N as DomainContextSchema, Q as DomainVocabulary, R as DomainVocabularySchema, S as ElevationSlice, T as ElevationSliceSchema, V as ElevationTokens, W as ElevationTokensSchema, X as EntityCall, Y as EntityCallSchema, E as EntityRef, Z as EntityRefSchema, _ as EntityRefStringSchema, $ as EntitySemanticRole, a0 as EntitySemanticRoleSchema, a1 as EventListener, a2 as EventListenerSchema, a3 as EventSemanticRole, a4 as EventSemanticRoleSchema, a5 as EventSource, a6 as EventSourceSchema, a8 as GameSubCategory, a9 as GameSubCategorySchema, aa as GeometrySlice, ab as GeometrySliceSchema, ac as GeometryTokens, ad as GeometryTokensSchema, ae as IconFamily, af as IconFamilySchema, ag as IconographySlice, ah as IconographySliceSchema, ai as IconographyTokens, aj as IconographyTokensSchema, ak as IllustrationSlice, al as IllustrationSliceSchema, am as IllustrationStyle, an as IllustrationStyleSchema, ao as IllustrationTokens, ap as IllustrationTokensSchema, aq as MotionDurationKey, ar as MotionDurationKeySchema, as as MotionDurationPalette, at as MotionDurationPaletteSchema, au as MotionEasingKey, av as MotionEasingKeySchema, aw as MotionEasingPalette, ax as MotionEasingPaletteSchema, ay as MotionIntent, az as MotionIntentMap, aA as MotionIntentMapSchema, aB as MotionIntentSchema, aC as MotionSlice, aD as MotionSliceSchema, aE as MotionTokens, aF as MotionTokensSchema, aG as NodeClassification, aH as NodeClassificationSchema, aI as OrbitalConfig, aJ as OrbitalConfigInput, aK as OrbitalConfigSchema, aL as OrbitalDefinitionSchema, aM as OrbitalInput, aN as OrbitalPage, aO as OrbitalPageInput, aP as OrbitalPageSchema, aQ as OrbitalPageStrictInput, aR as OrbitalPageStrictSchema, aS as OrbitalSchemaInput, aT as OrbitalSchemaSchema, aU as OrbitalSchemaWithTraits, aV as OrbitalUnit, aW as OrbitalUnitSchema, aX as OrbitalZodSchema, P as PageRef, c as PageRefObject, aY as PageRefObjectSchema, aZ as PageRefSchema, a_ as PageRefStringSchema, a$ as PageSchema, b1 as PageTraitRefSchema, b2 as RelatedLink, b3 as RelatedLinkSchema, b4 as SchemaMetadata, b5 as SchemaMetadataSchema, b6 as SkinSpec, b7 as SkinSpecSchema, b8 as SpacingScale, b9 as SpacingScaleSchema, ba as StateSemanticRole, bb as StateSemanticRoleSchema, bc as SuggestedGuard, bd as SuggestedGuardSchema, be as ThemeDefinition, bf as ThemeDefinitionSchema, bg as ThemeRef, bh as ThemeRefSchema, bi as ThemeRefStringSchema, bj as ThemeTokens, bk as ThemeTokensSchema, bl as ThemeVariant, bm as ThemeVariantSchema, bn as TypeIntent, bo as TypeIntentMap, bp as TypeIntentMapSchema, bq as TypeIntentSchema, br as TypeScale, bs as TypeScaleEntry, bt as TypeScaleEntrySchema, bu as TypeScaleSchema, bv as TypeScaleTokens, bw as TypeScaleTokensSchema, bx as TypeSizeKey, by as TypeSizeKeySchema, bz as TypeSlice, bA as TypeSliceSchema, bB as TypeSlot, bC as TypeSlotSchema, bD as TypeWeight, bE as TypeWeightSchema, bF as UXHints, bG as UXHintsSchema, U as UseDeclaration, bH as UseDeclarationSchema, bI as UserPersona, bJ as UserPersonaInput, bK as UserPersonaSchema, bL as ViewType, bM as ViewTypeSchema, bN as isEntityCall, bO as isEntityReference, bP as isEntityReferenceAny, bQ as isImportedTraitRef, bR as isOrbitalDefinition, bS as isPageReference, bT as isPageReferenceObject, bU as isPageReferenceString, bV as isThemeReference, bW as parseEntityRef, bX as parseImportedTraitRef, bY as parseOrbitalSchema, bZ as parsePageRef, b_ as safeParseOrbitalSchema } from '../schema-C3osccoR.js';
|
|
3
|
+
import { bo as ServiceParams, a as Trait, d as Entity, h as EntityRow, az as FieldValue, Z as DeclaredTraitConfig, T as TraitConfig, E as Effect, C as ConfigFieldDeclaration, n as State, c1 as Transition, f as EntityField, ak as Event, bN as TraitConfigValue, g as EntityPersistence, bK as TraitCategory, cO as TraitScope } from '../trait-DwxDJ6PP.js';
|
|
4
|
+
export { A as ASSET_ASPECTS, o as ASSET_DIMENSIONS, p as AgentEffect, q as AnimationDef, r as AnimationDefInput, s as AnimationDefSchema, t as ArrayEntityField, u as Asset, v as AssetAspect, w as AssetAspectSchema, x as AssetCatalog, y as AssetCatalogEntry, z as AssetCatalogEntryInput, B as AssetCatalogEntrySchema, D as AssetCatalogSchema, F as AssetDimension, G as AssetDimensionSchema, H as AssetMap, I as AssetMapInput, J as AssetMapSchema, K as AssetMapping, L as AssetMappingInput, M as AssetMappingSchema, N as AssetSchema, O as AssetUrl, P as AtomicEffect, Q as CallServiceConfig, V as CallServiceEffect, W as CheckpointLoadEffect, X as CheckpointSaveEffect, Y as ConfigFieldDeclarationSchema, _ as DeclaredTraitConfigSchema, $ as DerefEffect, a0 as DespawnEffect, a1 as DoEffect, a2 as ENTITY_ROLES, a3 as EffectInput, a4 as EffectSchema, a5 as EmitConfig, a6 as EmitEffect, a7 as EntityData, a8 as EntityFieldContract, a9 as EntityFieldContractSchema, aa as EntityFieldInput, ab as EntityFieldSchema, ac as EntityPersistenceSchema, ad as EntityRole, ae as EntityRoleSchema, af as EntitySchema, ag as EntityWith, ah as EnumEntityField, ai as EvaluateConfig, aj as EvaluateEffect, al as EventInput, l as EventPayloadField, am as EventPayloadFieldSchema, an as EventSchema, ao as EventScope, ap as EventScopeSchema, aq as FetchEffect, ar as FetchOptions, as as FetchResult, at as Field, au as FieldFormat, av as FieldFormatSchema, aw as FieldSchema, ax as FieldType, ay as FieldTypeSchema, aA as ForwardConfig, aB as ForwardEffect, aC as GAME_TYPES, aD as GameType, aE as GameTypeSchema, aF as Guard, aG as GuardInput, aH as GuardSchema, aI as ListenSource, aJ as ListenSourceSchema, aK as LogEffect, aL as McpServiceDef, aM as McpServiceDefSchema, aN as NavigateEffect, aO as NnConfig, aP as NnLayer, aQ as NotifyEffect, aR as OrbitalEntity, aS as OrbitalEntityInput, aT as OrbitalEntitySchema, aU as OrbitalTraitRef, aV as OrbitalTraitRefSchema, aW as OsEffect, aX as PayloadField, aY as PayloadFieldSchema, aZ as PersistData, a_ as PersistEffect, a$ as PersistEmitConfig, b0 as PresentationType, b1 as RefEffect, b2 as RelationConfig, b3 as RelationConfigSchema, b4 as RelationEntityField, R as RenderBinding, b5 as RenderItemLambda, b6 as RenderUIConfig, b as RenderUIEffect, b7 as RenderUINode, b8 as RequiredField, b9 as RequiredFieldSchema, ba as ResolvedAsset, bb as ResolvedAssetInput, bc as ResolvedAssetSchema, bd as ResolvedPatternProps, be as RestAuthConfig, bf as RestAuthConfigSchema, bg as RestServiceDef, bh as RestServiceDefSchema, bi as SERVICE_TYPES, bj as ScalarEntityField, bk as SemanticAssetRef, bl as SemanticAssetRefInput, bm as SemanticAssetRefSchema, m as ServiceDefinition, bn as ServiceDefinitionSchema, bp as ServiceParamsValue, S as ServiceRef, bq as ServiceRefObject, br as ServiceRefObjectSchema, bs as ServiceRefSchema, bt as ServiceRefStringSchema, bu as ServiceType, bv as ServiceTypeSchema, bw as SetEffect, bx as SocketEvents, by as SocketEventsSchema, bz as SocketServiceDef, bA as SocketServiceDefSchema, bB as SpawnEffect, bC as StateInput, bD as StateMachine, bE as StateMachineInput, bF as StateMachineSchema, bG as StateSchema, bH as SwapEffect, bI as TrainConfig, bJ as TrainEffect, bL as TraitCategorySchema, k as TraitConfigObject, bM as TraitConfigSchema, bO as TraitConfigValueSchema, bP as TraitDataEntity, bQ as TraitDataEntitySchema, bR as TraitEntityField, bS as TraitEntityFieldSchema, c as TraitEventContract, bT as TraitEventContractSchema, e as TraitEventListener, bU as TraitEventListenerSchema, bV as TraitInput, i as TraitRef, bW as TraitRefSchema, j as TraitReference, bX as TraitReferenceInput, bY as TraitReferenceSchema, bZ as TraitSchema, b_ as TraitTick, b$ as TraitTickSchema, c0 as TraitUIBinding, c2 as TransitionInput, c3 as TransitionSchema, c4 as TypedEffect, U as UISlot, c5 as UISlotSchema, c6 as UI_SLOTS, c7 as VISUAL_STYLES, c8 as VisualStyle, c9 as VisualStyleSchema, ca as WatchEffect, cb as WatchOptions, cc as atomic, cd as callService, ce as createAssetKey, cf as deref, cg as deriveCollection, ch as despawn, ci as doEffects, cj as emit, ck as findService, cl as getDefaultAnimationsForRole, cm as getServiceNames, cn as getTraitConfig, co as getTraitName, cp as hasService, cq as isCircuitEvent, cr as isEffect, cs as isInlineTrait, ct as isMcpService, cu as isRestService, cv as isRuntimeEntity, cw as isSExprEffect, cx as isServiceReference, cy as isServiceReferenceObject, cz as isSingletonEntity, cA as isSocketService, cB as navigate, cC as normalizeTraitRef, cD as notify, cE as parseAssetKey, cF as parseServiceRef, cG as persist, cH as ref, cI as renderUI, cJ as set, cK as spawn, cL as swap, cM as validateAssetAnimations, cN as watch } from '../trait-DwxDJ6PP.js';
|
|
5
5
|
import { d as EventPayloadValue, c as EventPayload, L as LogMeta, S as SExpr, b as EvalContext } from '../expression-BUIi9ezJ.js';
|
|
6
6
|
export { C as CORE_BINDINGS, a as CoreBinding, E as Expression, e as ExpressionInput, f as ExpressionSchema, P as ParsedBinding, g as SExprAtom, h as SExprAtomSchema, i as SExprInput, j as SExprSchema, k as collectBindings, l as getArgs, m as getOperator, n as isBinding, o as isSExpr, p as isSExprAtom, q as isSExprCall, r as isValidBinding, s as parseBinding, t as sexpr, w as walkSExpr } from '../expression-BUIi9ezJ.js';
|
|
7
7
|
import { z } from 'zod';
|
|
8
8
|
import { AnyPatternConfig } from '@almadar/patterns';
|
|
9
9
|
export { PATTERN_TYPES, PatternConfig, PatternType, isValidPatternType } from '@almadar/patterns';
|
|
10
|
-
import { c as FactoryConfigTier } from '../types-
|
|
11
|
-
export { l as JsonObject, J as JsonValue, T as ToolArgs, t as isJsonArray, u as isJsonObject, v as isJsonPrimitive } from '../types-
|
|
10
|
+
import { c as FactoryConfigTier } from '../types-zx68_GSb.js';
|
|
11
|
+
export { l as JsonObject, J as JsonValue, T as ToolArgs, t as isJsonArray, u as isJsonObject, v as isJsonPrimitive } from '../types-zx68_GSb.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* S-Expression Bindings
|
package/dist/types/index.js
CHANGED
|
@@ -180,6 +180,11 @@ var SemanticAssetRefSchema = z.object({
|
|
|
180
180
|
dimension: AssetDimensionSchema.optional(),
|
|
181
181
|
aspect: AssetAspectSchema.optional()
|
|
182
182
|
});
|
|
183
|
+
var AssetSchema = SemanticAssetRefSchema.extend({
|
|
184
|
+
url: z.string(),
|
|
185
|
+
name: z.string().optional(),
|
|
186
|
+
thumbnailUrl: z.string().optional()
|
|
187
|
+
});
|
|
183
188
|
var ResolvedAssetSchema = z.object({
|
|
184
189
|
basePath: z.string(),
|
|
185
190
|
path: z.string(),
|
|
@@ -1948,6 +1953,6 @@ function widenTier(tier) {
|
|
|
1948
1953
|
return tier;
|
|
1949
1954
|
}
|
|
1950
1955
|
|
|
1951
|
-
export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetMapSchema, AssetMappingSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CORE_BINDINGS, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DeclaredTraitConfigSchema, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EffectSchema, ElevationSliceSchema, ElevationTokensSchema, EntityCallSchema, EntityFieldContractSchema, EntityFieldSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpressionSchema, FieldFormatSchema, FieldSchema, FieldTypeSchema, GAME_TYPES, GameSubCategorySchema, GameTypeSchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, ListenSourceSchema, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PatternTypeSchema, PayloadFieldSchema, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, ResolvedAssetSchema, RestAuthConfigSchema, RestServiceDefSchema, SERVICE_TYPES, SExprAtomSchema, SExprSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SuggestedGuardSchema, ThemeDefinitionSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TraitCategorySchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitFieldRefSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TransitionSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSliceSchema, TypeSlotSchema, TypeWeightSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, atomic, callService, collectBindings, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, deref, deriveCollection, despawn, doEffects, emit, findService, getAllPatternTypes, getArgs, getBindingExamples, getDefaultAnimationsForRole, getInteractionModelForDomain, getOperator, getServiceNames, getTraitConfig, getTraitName, hasService, inferTsType, isBinding, isCircuitEvent, isEffect, isEntityCall, isEntityReference, isEntityReferenceAny, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMcpService, isOrbitalDefinition, isPageReference, isPageReferenceObject, isPageReferenceString, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isServiceReference, isServiceReferenceObject, isSingletonEntity, isSocketService, isThemeReference, isTraitFieldRef, isValidBinding, navigate, normalizeTraitRef, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, persist, ref, renderUI, safeParseOrbitalSchema, set, sexpr, spawn, swap, toBindingRoot, validateAssetAnimations, validateBindingInContext, walkSExpr, watch, widenTier };
|
|
1956
|
+
export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetMapSchema, AssetMappingSchema, AssetSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CORE_BINDINGS, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DeclaredTraitConfigSchema, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EffectSchema, ElevationSliceSchema, ElevationTokensSchema, EntityCallSchema, EntityFieldContractSchema, EntityFieldSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpressionSchema, FieldFormatSchema, FieldSchema, FieldTypeSchema, GAME_TYPES, GameSubCategorySchema, GameTypeSchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, ListenSourceSchema, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PatternTypeSchema, PayloadFieldSchema, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, ResolvedAssetSchema, RestAuthConfigSchema, RestServiceDefSchema, SERVICE_TYPES, SExprAtomSchema, SExprSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SuggestedGuardSchema, ThemeDefinitionSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TraitCategorySchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitFieldRefSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TransitionSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSliceSchema, TypeSlotSchema, TypeWeightSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, atomic, callService, collectBindings, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, deref, deriveCollection, despawn, doEffects, emit, findService, getAllPatternTypes, getArgs, getBindingExamples, getDefaultAnimationsForRole, getInteractionModelForDomain, getOperator, getServiceNames, getTraitConfig, getTraitName, hasService, inferTsType, isBinding, isCircuitEvent, isEffect, isEntityCall, isEntityReference, isEntityReferenceAny, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMcpService, isOrbitalDefinition, isPageReference, isPageReferenceObject, isPageReferenceString, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isServiceReference, isServiceReferenceObject, isSingletonEntity, isSocketService, isThemeReference, isTraitFieldRef, isValidBinding, navigate, normalizeTraitRef, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, persist, ref, renderUI, safeParseOrbitalSchema, set, sexpr, spawn, swap, toBindingRoot, validateAssetAnimations, validateBindingInContext, walkSExpr, watch, widenTier };
|
|
1952
1957
|
//# sourceMappingURL=index.js.map
|
|
1953
1958
|
//# sourceMappingURL=index.js.map
|