@almadar/core 10.2.0 → 10.3.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 +1 -2
- package/dist/builders.js.map +1 -1
- package/dist/{compose-behaviors-DM0gUoSO.d.ts → compose-behaviors-BGPvhZTT.d.ts} +1 -1
- package/dist/factory/index.d.ts +3 -3
- package/dist/index.d.ts +6 -6
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/{schema-lxLUgVSb.d.ts → schema-DTOofLIu.d.ts} +1 -1
- package/dist/{trait-Bhssodu6.d.ts → trait-C7cTBoi5.d.ts} +14 -4
- package/dist/types/index.d.ts +6 -6
- package/dist/types/index.js +1 -2
- package/dist/types/index.js.map +1 -1
- package/dist/{types-Bz0Zxvd_.d.ts → types-CVzLocjv.d.ts} +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as Expression, S as SExpr } from './expression-BVRFm0sV.js';
|
|
2
|
-
import { T as TraitConfig,
|
|
2
|
+
import { T as TraitConfig, bD as TraitConfigObject, bg as ServiceRef, d as Entity, f as EntityField, g as EntityPersistence, i as TraitRef, aa as EventPayloadField, H as ConfigFieldDeclaration, bc as ServiceDefinition, a as Trait } from './trait-C7cTBoi5.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1237,7 +1237,7 @@ declare const AssetMapSchema: z.ZodObject<{
|
|
|
1237
1237
|
/**
|
|
1238
1238
|
* Single browsable asset in the inspector picker catalog.
|
|
1239
1239
|
* Backs the asset/icon pickers — a flat list the inspector renders for
|
|
1240
|
-
* the user to choose from when a config field's
|
|
1240
|
+
* the user to choose from when a config field's type is `'asset'`.
|
|
1241
1241
|
*/
|
|
1242
1242
|
interface AssetCatalogEntry {
|
|
1243
1243
|
/** Resolvable URL to the asset. */
|
|
@@ -1293,6 +1293,18 @@ declare const AssetCatalogSchema: z.ZodArray<z.ZodObject<{
|
|
|
1293
1293
|
kind: "image" | "spritesheet" | "audio" | "scene" | "portrait" | "model" | "other";
|
|
1294
1294
|
thumbnailUrl?: string | undefined;
|
|
1295
1295
|
}>, "many">;
|
|
1296
|
+
/**
|
|
1297
|
+
* Asset-reference URL marker. A plain alias over `string` — the value is a
|
|
1298
|
+
* resolvable asset URL — but the named type lets the pattern-sync tool
|
|
1299
|
+
* (`tools/almadar-pattern-sync/parser.ts`) detect a component prop as an asset
|
|
1300
|
+
* field (tagged `asset`) the same way `EventKey`/`LucideIcon` are detected by
|
|
1301
|
+
* type identity. Components annotate image/url props as `AssetUrl` (`src`,
|
|
1302
|
+
* `backgroundImage`, `avatar`, …); the generator emits a `string` config knob
|
|
1303
|
+
* declared as the `asset` config type, which the property inspector dispatches
|
|
1304
|
+
* an AssetPicker on. Not branded — asset urls originate from user data, so cast
|
|
1305
|
+
* friction would buy nothing; the value is the marker the tool finds.
|
|
1306
|
+
*/
|
|
1307
|
+
type AssetUrl = string;
|
|
1296
1308
|
type SemanticAssetRefInput = z.input<typeof SemanticAssetRefSchema>;
|
|
1297
1309
|
type ResolvedAssetInput = z.input<typeof ResolvedAssetSchema>;
|
|
1298
1310
|
type AssetMappingInput = z.input<typeof AssetMappingSchema>;
|
|
@@ -2801,8 +2813,6 @@ interface ConfigFieldDeclaration {
|
|
|
2801
2813
|
readonly values?: ReadonlyArray<string>;
|
|
2802
2814
|
/** `@synonyms` — comma-separated vocabulary synonyms (metadata). */
|
|
2803
2815
|
readonly synonyms?: string;
|
|
2804
|
-
/** Deterministic control-type tag the inspector dispatches on to pick its editor. */
|
|
2805
|
-
readonly control?: 'icon' | 'asset' | 'color' | 'text' | 'number' | 'boolean' | 'select';
|
|
2806
2816
|
}
|
|
2807
2817
|
declare const ConfigFieldDeclarationSchema: z.ZodType<ConfigFieldDeclaration>;
|
|
2808
2818
|
/**
|
|
@@ -6203,4 +6213,4 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
6203
6213
|
} | undefined;
|
|
6204
6214
|
}>]>;
|
|
6205
6215
|
|
|
6206
|
-
export {
|
|
6216
|
+
export { EntityFieldSchema as $, type AgentEffect as A, type AtomicEffect as B, type CallServiceConfig as C, type CallServiceEffect as D, type Effect as E, type CheckpointLoadEffect as F, type CheckpointSaveEffect as G, type ConfigFieldDeclaration as H, ConfigFieldDeclarationSchema as I, type DeclaredTraitConfig as J, DeclaredTraitConfigSchema as K, type DerefEffect as L, type DespawnEffect as M, type DoEffect as N, ENTITY_ROLES as O, type EffectInput as P, EffectSchema as Q, type RenderBinding as R, type State as S, type TraitConfig as T, type UISlot as U, type EmitConfig as V, type EmitEffect as W, type EntityData as X, type EntityFieldContract as Y, EntityFieldContractSchema as Z, type EntityFieldInput as _, type Trait as a, type ResolvedAsset as a$, EntityPersistenceSchema as a0, type EntityRole as a1, EntityRoleSchema as a2, EntitySchema as a3, type EntityWith as a4, type EnumEntityField as a5, type EvaluateConfig as a6, type EvaluateEffect as a7, type Event as a8, type EventInput as a9, type McpServiceDef as aA, McpServiceDefSchema as aB, type NavigateEffect as aC, type NnConfig as aD, type NnLayer as aE, type NotifyEffect as aF, type OrbitalEntity as aG, type OrbitalEntityInput as aH, OrbitalEntitySchema as aI, type OrbitalTraitRef as aJ, OrbitalTraitRefSchema as aK, type OsEffect as aL, type PayloadField as aM, PayloadFieldSchema as aN, type PersistData as aO, type PersistEffect as aP, type PersistEmitConfig as aQ, type PresentationType as aR, type RefEffect as aS, type RelationConfig as aT, RelationConfigSchema as aU, type RelationEntityField as aV, type RenderItemLambda as aW, type RenderUIConfig as aX, type RenderUINode as aY, type RequiredField as aZ, RequiredFieldSchema as a_, type EventPayloadField as aa, EventPayloadFieldSchema as ab, EventSchema as ac, type EventScope as ad, EventScopeSchema as ae, type FetchEffect as af, type FetchOptions as ag, type FetchResult as ah, type Field as ai, type FieldFormat as aj, FieldFormatSchema as ak, FieldSchema as al, type FieldType as am, FieldTypeSchema as an, type FieldValue as ao, type ForwardConfig as ap, type ForwardEffect as aq, GAME_TYPES as ar, type GameType as as, GameTypeSchema as at, type Guard as au, type GuardInput as av, GuardSchema as aw, type ListenSource as ax, ListenSourceSchema as ay, type LogEffect as az, type RenderUIEffect as b, VISUAL_STYLES as b$, type ResolvedAssetInput as b0, ResolvedAssetSchema as b1, type ResolvedPatternProps as b2, type RestAuthConfig as b3, RestAuthConfigSchema as b4, type RestServiceDef as b5, RestServiceDefSchema as b6, SERVICE_TYPES as b7, type ScalarEntityField as b8, type SemanticAssetRef as b9, type TrainEffect as bA, type TraitCategory as bB, TraitCategorySchema as bC, type TraitConfigObject as bD, TraitConfigSchema as bE, type TraitConfigValue as bF, TraitConfigValueSchema as bG, type TraitDataEntity as bH, TraitDataEntitySchema as bI, type TraitEntityField as bJ, TraitEntityFieldSchema as bK, TraitEventContractSchema as bL, TraitEventListenerSchema as bM, type TraitInput as bN, TraitRefSchema as bO, type TraitReferenceInput as bP, TraitReferenceSchema as bQ, TraitSchema as bR, type TraitTick as bS, TraitTickSchema as bT, type TraitUIBinding as bU, type Transition as bV, type TransitionInput as bW, TransitionSchema as bX, type TypedEffect as bY, UISlotSchema as bZ, UI_SLOTS as b_, type SemanticAssetRefInput as ba, SemanticAssetRefSchema as bb, type ServiceDefinition as bc, ServiceDefinitionSchema as bd, type ServiceParams as be, type ServiceParamsValue as bf, type ServiceRef as bg, type ServiceRefObject as bh, ServiceRefObjectSchema as bi, ServiceRefSchema as bj, ServiceRefStringSchema as bk, type ServiceType as bl, ServiceTypeSchema as bm, type SetEffect as bn, type SocketEvents as bo, SocketEventsSchema as bp, type SocketServiceDef as bq, SocketServiceDefSchema as br, type SpawnEffect as bs, type StateInput as bt, type StateMachine as bu, type StateMachineInput as bv, StateMachineSchema as bw, StateSchema as bx, type SwapEffect as by, type TrainConfig as bz, type TraitEventContract as c, type VisualStyle as c0, VisualStyleSchema as c1, type WatchEffect as c2, type WatchOptions as c3, atomic as c4, callService as c5, createAssetKey as c6, deref as c7, deriveCollection as c8, despawn as c9, renderUI as cA, set as cB, spawn as cC, swap as cD, validateAssetAnimations as cE, watch as cF, type TraitScope as cG, doEffects as ca, emit as cb, findService as cc, getDefaultAnimationsForRole as cd, getServiceNames as ce, getTraitConfig as cf, getTraitName as cg, hasService as ch, isCircuitEvent as ci, isEffect as cj, isInlineTrait as ck, isMcpService as cl, isRestService as cm, isRuntimeEntity as cn, isSExprEffect as co, isServiceReference as cp, isServiceReferenceObject as cq, isSingletonEntity as cr, isSocketService as cs, navigate as ct, normalizeTraitRef as cu, notify as cv, parseAssetKey as cw, parseServiceRef as cx, persist as cy, ref 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 AnimationDef as k, type AnimationDefInput as l, AnimationDefSchema as m, type ArrayEntityField as n, type AssetCatalog as o, type AssetCatalogEntry as p, type AssetCatalogEntryInput as q, AssetCatalogEntrySchema as r, AssetCatalogSchema as s, type AssetMap as t, type AssetMapInput as u, AssetMapSchema as v, type AssetMapping as w, type AssetMappingInput as x, AssetMappingSchema as y, type AssetUrl 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 AgentEffect, k as AnimationDef, l as AnimationDefInput, m as AnimationDefSchema, n as ArrayEntityField, o as AssetCatalog, p as AssetCatalogEntry, q as AssetCatalogEntryInput, r as AssetCatalogEntrySchema, s as AssetCatalogSchema, t as AssetMap, u as AssetMapInput, v as AssetMapSchema, w as AssetMapping, x as AssetMappingInput, y as AssetMappingSchema, z as AtomicEffect, C as CallServiceConfig,
|
|
1
|
+
import { O as OrbitalSchema, a7 as Orbital, b as Page, L as DomainContext, a as OrbitalDefinition, b0 as PageTraitRef } from '../schema-DTOofLIu.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-DTOofLIu.js';
|
|
3
|
+
import { be as ServiceParams, a as Trait, d as Entity, h as EntityRow, ao as FieldValue, J as DeclaredTraitConfig, T as TraitConfig, E as Effect, H as ConfigFieldDeclaration, S as State, bV as Transition, f as EntityField, a8 as Event, bF as TraitConfigValue, g as EntityPersistence, bB as TraitCategory, cG as TraitScope } from '../trait-C7cTBoi5.js';
|
|
4
|
+
export { A as AgentEffect, k as AnimationDef, l as AnimationDefInput, m as AnimationDefSchema, n as ArrayEntityField, o as AssetCatalog, p as AssetCatalogEntry, q as AssetCatalogEntryInput, r as AssetCatalogEntrySchema, s as AssetCatalogSchema, t as AssetMap, u as AssetMapInput, v as AssetMapSchema, w as AssetMapping, x as AssetMappingInput, y as AssetMappingSchema, z as AssetUrl, B as AtomicEffect, C as CallServiceConfig, D as CallServiceEffect, F as CheckpointLoadEffect, G as CheckpointSaveEffect, I as ConfigFieldDeclarationSchema, K as DeclaredTraitConfigSchema, L as DerefEffect, M as DespawnEffect, N as DoEffect, O as ENTITY_ROLES, P as EffectInput, Q as EffectSchema, V as EmitConfig, W as EmitEffect, X as EntityData, Y as EntityFieldContract, Z as EntityFieldContractSchema, _ as EntityFieldInput, $ as EntityFieldSchema, a0 as EntityPersistenceSchema, a1 as EntityRole, a2 as EntityRoleSchema, a3 as EntitySchema, a4 as EntityWith, a5 as EnumEntityField, a6 as EvaluateConfig, a7 as EvaluateEffect, a9 as EventInput, aa as EventPayloadField, ab as EventPayloadFieldSchema, ac as EventSchema, ad as EventScope, ae as EventScopeSchema, af as FetchEffect, ag as FetchOptions, ah as FetchResult, ai as Field, aj as FieldFormat, ak as FieldFormatSchema, al as FieldSchema, am as FieldType, an as FieldTypeSchema, ap as ForwardConfig, aq as ForwardEffect, ar as GAME_TYPES, as as GameType, at as GameTypeSchema, au as Guard, av as GuardInput, aw as GuardSchema, ax as ListenSource, ay as ListenSourceSchema, az as LogEffect, aA as McpServiceDef, aB as McpServiceDefSchema, aC as NavigateEffect, aD as NnConfig, aE as NnLayer, aF as NotifyEffect, aG as OrbitalEntity, aH as OrbitalEntityInput, aI as OrbitalEntitySchema, aJ as OrbitalTraitRef, aK as OrbitalTraitRefSchema, aL as OsEffect, aM as PayloadField, aN as PayloadFieldSchema, aO as PersistData, aP as PersistEffect, aQ as PersistEmitConfig, aR as PresentationType, aS as RefEffect, aT as RelationConfig, aU as RelationConfigSchema, aV as RelationEntityField, R as RenderBinding, aW as RenderItemLambda, aX as RenderUIConfig, b as RenderUIEffect, aY as RenderUINode, aZ as RequiredField, a_ as RequiredFieldSchema, a$ as ResolvedAsset, b0 as ResolvedAssetInput, b1 as ResolvedAssetSchema, b2 as ResolvedPatternProps, b3 as RestAuthConfig, b4 as RestAuthConfigSchema, b5 as RestServiceDef, b6 as RestServiceDefSchema, b7 as SERVICE_TYPES, b8 as ScalarEntityField, b9 as SemanticAssetRef, ba as SemanticAssetRefInput, bb as SemanticAssetRefSchema, bc as ServiceDefinition, bd as ServiceDefinitionSchema, bf as ServiceParamsValue, bg as ServiceRef, bh as ServiceRefObject, bi as ServiceRefObjectSchema, bj as ServiceRefSchema, bk as ServiceRefStringSchema, bl as ServiceType, bm as ServiceTypeSchema, bn as SetEffect, bo as SocketEvents, bp as SocketEventsSchema, bq as SocketServiceDef, br as SocketServiceDefSchema, bs as SpawnEffect, bt as StateInput, bu as StateMachine, bv as StateMachineInput, bw as StateMachineSchema, bx as StateSchema, by as SwapEffect, bz as TrainConfig, bA as TrainEffect, bC as TraitCategorySchema, bD as TraitConfigObject, bE as TraitConfigSchema, bG as TraitConfigValueSchema, bH as TraitDataEntity, bI as TraitDataEntitySchema, bJ as TraitEntityField, bK as TraitEntityFieldSchema, c as TraitEventContract, bL as TraitEventContractSchema, e as TraitEventListener, bM as TraitEventListenerSchema, bN as TraitInput, i as TraitRef, bO as TraitRefSchema, j as TraitReference, bP as TraitReferenceInput, bQ as TraitReferenceSchema, bR as TraitSchema, bS as TraitTick, bT as TraitTickSchema, bU as TraitUIBinding, bW as TransitionInput, bX as TransitionSchema, bY as TypedEffect, U as UISlot, bZ as UISlotSchema, b_ as UI_SLOTS, b$ as VISUAL_STYLES, c0 as VisualStyle, c1 as VisualStyleSchema, c2 as WatchEffect, c3 as WatchOptions, c4 as atomic, c5 as callService, c6 as createAssetKey, c7 as deref, c8 as deriveCollection, c9 as despawn, ca as doEffects, cb as emit, cc as findService, cd as getDefaultAnimationsForRole, ce as getServiceNames, cf as getTraitConfig, cg as getTraitName, ch as hasService, ci as isCircuitEvent, cj as isEffect, ck as isInlineTrait, cl as isMcpService, cm as isRestService, cn as isRuntimeEntity, co as isSExprEffect, cp as isServiceReference, cq as isServiceReferenceObject, cr as isSingletonEntity, cs as isSocketService, ct as navigate, cu as normalizeTraitRef, cv as notify, cw as parseAssetKey, cx as parseServiceRef, cy as persist, cz as ref, cA as renderUI, cB as set, cC as spawn, cD as swap, cE as validateAssetAnimations, cF as watch } from '../trait-C7cTBoi5.js';
|
|
5
5
|
import { c as EventPayloadValue, b as EventPayload, L as LogMeta, S as SExpr, E as EvalContext } from '../expression-BVRFm0sV.js';
|
|
6
6
|
export { C as CORE_BINDINGS, a as CoreBinding, d 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-BVRFm0sV.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 { J as JsonObject, n as JsonValue, T as ToolArgs, t as isJsonArray, u as isJsonObject, v as isJsonPrimitive } from '../types-
|
|
10
|
+
import { c as FactoryConfigTier } from '../types-CVzLocjv.js';
|
|
11
|
+
export { J as JsonObject, n as JsonValue, T as ToolArgs, t as isJsonArray, u as isJsonObject, v as isJsonPrimitive } from '../types-CVzLocjv.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* S-Expression Bindings
|
package/dist/types/index.js
CHANGED
|
@@ -514,8 +514,7 @@ var ConfigFieldDeclarationSchema = z.object({
|
|
|
514
514
|
description: z.string().optional(),
|
|
515
515
|
tier: z.string().optional(),
|
|
516
516
|
values: z.array(z.string()).optional(),
|
|
517
|
-
synonyms: z.string().optional()
|
|
518
|
-
control: z.enum(["icon", "asset", "color", "text", "number", "boolean", "select"]).optional()
|
|
517
|
+
synonyms: z.string().optional()
|
|
519
518
|
});
|
|
520
519
|
var DeclaredTraitConfigSchema = z.record(
|
|
521
520
|
ConfigFieldDeclarationSchema
|