@almadar/core 9.11.0 → 10.1.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 +27 -4
- package/dist/builders.js +44 -2
- package/dist/builders.js.map +1 -1
- package/dist/{compose-behaviors-CC57nx7Q.d.ts → compose-behaviors-CPisdINZ.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-B3LLJzA1.d.ts → schema-D6Y8TfW3.d.ts} +2 -2
- package/dist/{trait-BGCXN5LO.d.ts → trait-gH8M3N0M.d.ts} +41 -2
- package/dist/types/index.d.ts +7 -74
- package/dist/types/index.js +6 -1
- package/dist/types/index.js.map +1 -1
- package/dist/{types-BQcbhvP3.d.ts → types-JMLj6eu1.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 {
|
|
2
|
+
import { T as TraitConfig, bx as TraitConfigObject, ba as ServiceRef, d as Entity, f as EntityField, g as EntityPersistence, i as TraitRef, a4 as EventPayloadField, y as ConfigFieldDeclaration, b6 as ServiceDefinition, a as Trait } from './trait-gH8M3N0M.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -58881,4 +58881,4 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
|
|
|
58881
58881
|
type OrbitalSchemaInput = z.input<typeof OrbitalSchemaSchema>;
|
|
58882
58882
|
type OrbitalConfigInput = z.input<typeof OrbitalConfigSchema>;
|
|
58883
58883
|
|
|
58884
|
-
export { type EntitySemanticRole as $, AGENT_DOMAIN_CATEGORIES as A, type DesignPreferencesInput as B, type ColorSlice as C, type DensitySlice as D, type EntityRef as E, DesignPreferencesSchema as F, type DesignTokens as G, type DesignTokensInput as H, DesignTokensSchema as I, type DomainCategory as J, DomainCategorySchema as K, type DomainContext as L, type DomainContextInput as M, DomainContextSchema as N, type
|
|
58884
|
+
export { type EntitySemanticRole as $, AGENT_DOMAIN_CATEGORIES as A, type DesignPreferencesInput as B, type ColorSlice as C, type DensitySlice as D, type EntityRef as E, DesignPreferencesSchema as F, type DesignTokens as G, type DesignTokensInput as H, DesignTokensSchema as I, type DomainCategory as J, DomainCategorySchema as K, type DomainContext as L, type DomainContextInput as M, DomainContextSchema as N, type OrbitalSchema as O, type PageRef as P, type DomainVocabulary as Q, DomainVocabularySchema as R, type ElevationSlice as S, ElevationSliceSchema as T, type UseDeclaration as U, type ElevationTokens as V, ElevationTokensSchema as W, type EntityCall as X, EntityCallSchema as Y, EntityRefSchema as Z, EntityRefStringSchema as _, type OrbitalDefinition as a, PageSchema as a$, EntitySemanticRoleSchema as a0, type EventListener as a1, EventListenerSchema as a2, type EventSemanticRole as a3, EventSemanticRoleSchema as a4, type EventSource as a5, EventSourceSchema as a6, type Orbital as a7, type GameSubCategory as a8, GameSubCategorySchema as a9, MotionIntentMapSchema as aA, MotionIntentSchema as aB, type MotionSlice as aC, MotionSliceSchema as aD, type MotionTokens as aE, MotionTokensSchema as aF, type NodeClassification as aG, NodeClassificationSchema as aH, type OrbitalConfig as aI, type OrbitalConfigInput as aJ, OrbitalConfigSchema as aK, OrbitalDefinitionSchema as aL, type OrbitalInput as aM, type OrbitalPage as aN, type OrbitalPageInput as aO, OrbitalPageSchema as aP, type OrbitalPageStrictInput as aQ, OrbitalPageStrictSchema as aR, type OrbitalSchemaInput as aS, OrbitalSchemaSchema as aT, type OrbitalSchemaWithTraits as aU, type OrbitalUnit as aV, OrbitalUnitSchema as aW, OrbitalSchema$1 as aX, PageRefObjectSchema as aY, PageRefSchema as aZ, PageRefStringSchema as a_, type GeometrySlice as aa, GeometrySliceSchema as ab, type GeometryTokens as ac, GeometryTokensSchema as ad, type IconFamily as ae, IconFamilySchema as af, type IconographySlice as ag, IconographySliceSchema as ah, type IconographyTokens as ai, IconographyTokensSchema as aj, type IllustrationSlice as ak, IllustrationSliceSchema as al, type IllustrationStyle as am, IllustrationStyleSchema as an, type IllustrationTokens as ao, IllustrationTokensSchema as ap, type MotionDurationKey as aq, MotionDurationKeySchema as ar, type MotionDurationPalette as as, MotionDurationPaletteSchema as at, type MotionEasingKey as au, MotionEasingKeySchema as av, type MotionEasingPalette as aw, MotionEasingPaletteSchema as ax, type MotionIntent as ay, type MotionIntentMap as az, type Page as b, type PageTraitRef as b0, PageTraitRefSchema as b1, type RelatedLink as b2, RelatedLinkSchema as b3, type SchemaMetadata as b4, SchemaMetadataSchema as b5, type SkinSpec as b6, SkinSpecSchema as b7, type SpacingScale as b8, SpacingScaleSchema as b9, TypeSliceSchema as bA, type TypeSlot as bB, TypeSlotSchema as bC, type TypeWeight as bD, TypeWeightSchema as bE, type UXHints as bF, UXHintsSchema as bG, UseDeclarationSchema as bH, type UserPersona as bI, type UserPersonaInput as bJ, UserPersonaSchema as bK, type ViewType as bL, ViewTypeSchema as bM, isEntityCall as bN, isEntityReference as bO, isEntityReferenceAny as bP, isImportedTraitRef as bQ, isOrbitalDefinition as bR, isPageReference as bS, isPageReferenceObject as bT, isPageReferenceString as bU, isThemeReference as bV, parseEntityRef as bW, parseImportedTraitRef as bX, parseOrbitalSchema as bY, parsePageRef as bZ, safeParseOrbitalSchema as b_, type StateSemanticRole as ba, StateSemanticRoleSchema as bb, type SuggestedGuard as bc, SuggestedGuardSchema as bd, type ThemeDefinition as be, ThemeDefinitionSchema as bf, type ThemeRef as bg, ThemeRefSchema as bh, ThemeRefStringSchema as bi, type ThemeTokens as bj, ThemeTokensSchema as bk, type ThemeVariant as bl, ThemeVariantSchema as bm, type TypeIntent as bn, type TypeIntentMap as bo, TypeIntentMapSchema as bp, TypeIntentSchema as bq, type TypeScale as br, type TypeScaleEntry as bs, TypeScaleEntrySchema as bt, TypeScaleSchema as bu, type TypeScaleTokens as bv, TypeScaleTokensSchema as bw, type TypeSizeKey as bx, TypeSizeKeySchema as by, type TypeSlice as bz, type PageRefObject as c, ALLOWED_CUSTOM_COMPONENTS as d, type AgentDomainCategory as e, AgentDomainCategorySchema as f, type AllowedCustomComponent as g, ColorSliceSchema as h, type ColorTokens as i, ColorTokensSchema as j, type ComputedEventContract as k, ComputedEventContractSchema as l, type ComputedEventListener as m, ComputedEventListenerSchema as n, type ConfigProvenanceRecord as o, ConfigProvenanceRecordSchema as p, type CustomPatternDefinition as q, type CustomPatternDefinitionInput as r, CustomPatternDefinitionSchema as s, type CustomPatternMap as t, type CustomPatternMapInput as u, CustomPatternMapSchema as v, DensitySliceSchema as w, type DensityTokens as x, DensityTokensSchema as y, type DesignPreferences as z };
|
|
@@ -1549,6 +1549,31 @@ type FieldValue = string | number | boolean | Date | null | string[] | FieldValu
|
|
|
1549
1549
|
type EntityRow = {
|
|
1550
1550
|
id?: string;
|
|
1551
1551
|
} & Record<string, FieldValue | undefined>;
|
|
1552
|
+
/**
|
|
1553
|
+
* A field-refined `EntityRow` — the SINGLE entity type, narrowed so a set of
|
|
1554
|
+
* named fields are REQUIRED (present, non-`undefined`). This is how an entity-
|
|
1555
|
+
* interacting component declares the fields it needs to function WITHOUT
|
|
1556
|
+
* introducing a separate per-component entity type: it stays structurally an
|
|
1557
|
+
* `EntityRow` (index signature intact, every other field still field-open), so
|
|
1558
|
+
* any domain entity that provides those fields satisfies it.
|
|
1559
|
+
*
|
|
1560
|
+
* One declaration, two jobs: (1) TypeScript enforces that the bound entity has
|
|
1561
|
+
* the fields (a behavior binding a thinner entity fails to typecheck); and
|
|
1562
|
+
* (2) pattern-sync reads the same type and writes `requiredFields` onto the
|
|
1563
|
+
* registry's entity prop, so the `ORB_X_ENTITY_PROP_CONTRACT` validator rule
|
|
1564
|
+
* rejects an incompatible bind at `orbital validate` (accounting for `.lolo`
|
|
1565
|
+
* field-remaps). Use a raw `EntityRow & { rating: number }` intersection when a
|
|
1566
|
+
* field needs a specific scalar type rather than mere presence.
|
|
1567
|
+
*
|
|
1568
|
+
* @example
|
|
1569
|
+
* // HeroOrganism renders entity.title / entity.subtitle:
|
|
1570
|
+
* entity?: EntityWith<'title' | 'subtitle'>;
|
|
1571
|
+
* // entity.title → FieldValue (required)
|
|
1572
|
+
* // entity.other → FieldValue | undefined (still field-open)
|
|
1573
|
+
*/
|
|
1574
|
+
type EntityWith<K extends string> = EntityRow & {
|
|
1575
|
+
readonly [P in K]: FieldValue;
|
|
1576
|
+
};
|
|
1552
1577
|
/**
|
|
1553
1578
|
* Collection of entity instances keyed by entity name.
|
|
1554
1579
|
* Used by OrbPreview mockData, OrbitalServerRuntime state, data grids, etc.
|
|
@@ -2697,11 +2722,25 @@ declare const TraitConfigSchema: z.ZodType<TraitConfig>;
|
|
|
2697
2722
|
* `@config.X` binding context when no call-site override is supplied.
|
|
2698
2723
|
*
|
|
2699
2724
|
* Authored as `config { foo : string = "bar" }` in `.lolo`; lowered to
|
|
2700
|
-
* `{ foo: { type: "string", default: "bar" } }` in `.orb`.
|
|
2725
|
+
* `{ foo: { type: "string", default: "bar" } }` in `.orb`. The optional
|
|
2726
|
+
* metadata fields below (`label`/`description`/`tier`/`values`/`synonyms`)
|
|
2727
|
+
* carry the `.lolo` `@label`/`@description`/`@tier`/`@synonyms` annotations and
|
|
2728
|
+
* the enum member list through lowering — consumed by config-driven UI
|
|
2729
|
+
* (e.g. the playground property inspector) to render typed controls.
|
|
2701
2730
|
*/
|
|
2702
2731
|
interface ConfigFieldDeclaration {
|
|
2703
2732
|
readonly type: string;
|
|
2704
2733
|
readonly default?: TraitConfigValue;
|
|
2734
|
+
/** `@label` — human-readable control label. */
|
|
2735
|
+
readonly label?: string;
|
|
2736
|
+
/** `@description` — help/tooltip text for the field. */
|
|
2737
|
+
readonly description?: string;
|
|
2738
|
+
/** `@tier` — disclosure tier: `presentation`|`domain`|`policy`|`infra`|`internal`. */
|
|
2739
|
+
readonly tier?: string;
|
|
2740
|
+
/** Enum members when the field's type is a string union — drives a select control. */
|
|
2741
|
+
readonly values?: ReadonlyArray<string>;
|
|
2742
|
+
/** `@synonyms` — comma-separated vocabulary synonyms (metadata). */
|
|
2743
|
+
readonly synonyms?: string;
|
|
2705
2744
|
}
|
|
2706
2745
|
declare const ConfigFieldDeclarationSchema: z.ZodType<ConfigFieldDeclaration>;
|
|
2707
2746
|
/**
|
|
@@ -6102,4 +6141,4 @@ declare const OrbitalTraitRefSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
6102
6141
|
} | undefined;
|
|
6103
6142
|
}>]>;
|
|
6104
6143
|
|
|
6105
|
-
export { type
|
|
6144
|
+
export { type EnumEntityField as $, type AgentEffect as A, DeclaredTraitConfigSchema as B, type CallServiceConfig as C, type DeclaredTraitConfig as D, type Effect as E, type DerefEffect as F, type DespawnEffect as G, type DoEffect as H, ENTITY_ROLES as I, type EffectInput as J, EffectSchema as K, type EmitConfig as L, type EmitEffect as M, type EntityData as N, type EntityFieldContract as O, EntityFieldContractSchema as P, type EntityFieldInput as Q, type RenderBinding as R, type State as S, type TraitConfig as T, type UISlot as U, EntityFieldSchema as V, EntityPersistenceSchema as W, type EntityRole as X, EntityRoleSchema as Y, EntitySchema as Z, type EntityWith as _, type Trait as a, type RestServiceDef as a$, type EvaluateConfig as a0, type EvaluateEffect as a1, type Event as a2, type EventInput as a3, type EventPayloadField as a4, EventPayloadFieldSchema as a5, EventSchema as a6, type EventScope as a7, EventScopeSchema as a8, type FetchEffect as a9, type OrbitalEntity as aA, type OrbitalEntityInput as aB, OrbitalEntitySchema as aC, type OrbitalTraitRef as aD, OrbitalTraitRefSchema as aE, type OsEffect as aF, type PayloadField as aG, PayloadFieldSchema as aH, type PersistData as aI, type PersistEffect as aJ, type PersistEmitConfig as aK, type PresentationType as aL, type RefEffect as aM, type RelationConfig as aN, RelationConfigSchema as aO, type RelationEntityField as aP, type RenderItemLambda as aQ, type RenderUIConfig as aR, type RenderUINode as aS, type RequiredField as aT, RequiredFieldSchema as aU, type ResolvedAsset as aV, type ResolvedAssetInput as aW, ResolvedAssetSchema as aX, type ResolvedPatternProps as aY, type RestAuthConfig as aZ, RestAuthConfigSchema as a_, type FetchOptions as aa, type FetchResult as ab, type Field as ac, type FieldFormat as ad, FieldFormatSchema as ae, FieldSchema as af, type FieldType as ag, FieldTypeSchema as ah, type FieldValue as ai, type ForwardConfig as aj, type ForwardEffect as ak, GAME_TYPES as al, type GameType as am, GameTypeSchema as an, type Guard as ao, type GuardInput as ap, GuardSchema as aq, type ListenSource as ar, ListenSourceSchema as as, type LogEffect as at, type McpServiceDef as au, McpServiceDefSchema as av, type NavigateEffect as aw, type NnConfig as ax, type NnLayer as ay, type NotifyEffect as az, type RenderUIEffect as b, callService as b$, RestServiceDefSchema as b0, SERVICE_TYPES as b1, type ScalarEntityField as b2, type SemanticAssetRef as b3, type SemanticAssetRefInput as b4, SemanticAssetRefSchema as b5, type ServiceDefinition as b6, ServiceDefinitionSchema as b7, type ServiceParams as b8, type ServiceParamsValue as b9, TraitConfigValueSchema as bA, type TraitDataEntity as bB, TraitDataEntitySchema as bC, type TraitEntityField as bD, TraitEntityFieldSchema as bE, TraitEventContractSchema as bF, TraitEventListenerSchema as bG, type TraitInput as bH, TraitRefSchema as bI, type TraitReferenceInput as bJ, TraitReferenceSchema as bK, TraitSchema as bL, type TraitTick as bM, TraitTickSchema as bN, type TraitUIBinding as bO, type Transition as bP, type TransitionInput as bQ, TransitionSchema as bR, type TypedEffect as bS, UISlotSchema as bT, UI_SLOTS as bU, VISUAL_STYLES as bV, type VisualStyle as bW, VisualStyleSchema as bX, type WatchEffect as bY, type WatchOptions as bZ, atomic as b_, type ServiceRef as ba, type ServiceRefObject as bb, ServiceRefObjectSchema as bc, ServiceRefSchema as bd, ServiceRefStringSchema as be, type ServiceType as bf, ServiceTypeSchema as bg, type SetEffect as bh, type SocketEvents as bi, SocketEventsSchema as bj, type SocketServiceDef as bk, SocketServiceDefSchema as bl, type SpawnEffect as bm, type StateInput as bn, type StateMachine as bo, type StateMachineInput as bp, StateMachineSchema as bq, StateSchema as br, type SwapEffect as bs, type TrainConfig as bt, type TrainEffect as bu, type TraitCategory as bv, TraitCategorySchema as bw, type TraitConfigObject as bx, TraitConfigSchema as by, type TraitConfigValue as bz, type TraitEventContract as c, createAssetKey as c0, deref as c1, deriveCollection as c2, despawn as c3, doEffects as c4, emit as c5, findService as c6, getDefaultAnimationsForRole as c7, getServiceNames as c8, getTraitConfig as c9, type TraitScope as cA, getTraitName as ca, hasService as cb, isCircuitEvent as cc, isEffect as cd, isInlineTrait as ce, isMcpService as cf, isRestService as cg, isRuntimeEntity as ch, isSExprEffect as ci, isServiceReference as cj, isServiceReferenceObject as ck, isSingletonEntity as cl, isSocketService as cm, navigate as cn, normalizeTraitRef as co, notify as cp, parseAssetKey as cq, parseServiceRef as cr, persist as cs, ref as ct, renderUI as cu, set as cv, spawn as cw, swap as cx, validateAssetAnimations as cy, watch 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 AssetMap as o, type AssetMapInput as p, AssetMapSchema as q, type AssetMapping as r, type AssetMappingInput as s, AssetMappingSchema as t, type AtomicEffect as u, type CallServiceEffect as v, type CheckpointLoadEffect as w, type CheckpointSaveEffect as x, type ConfigFieldDeclaration as y, ConfigFieldDeclarationSchema as z };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
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 AssetMap, p as AssetMapInput, q as AssetMapSchema, r as AssetMapping, s as AssetMappingInput, t as AssetMappingSchema, u as AtomicEffect, C as CallServiceConfig, v as CallServiceEffect, w as CheckpointLoadEffect, x as CheckpointSaveEffect, z as ConfigFieldDeclarationSchema, B as DeclaredTraitConfigSchema, F as DerefEffect, G as DespawnEffect, H as DoEffect, I as ENTITY_ROLES, J as EffectInput, K as EffectSchema, L as EmitConfig, M as EmitEffect, N as EntityData, O as EntityFieldContract, P as EntityFieldContractSchema, Q as EntityFieldInput, V as EntityFieldSchema, W as EntityPersistenceSchema, X as EntityRole, Y as EntityRoleSchema, Z as EntitySchema, _ as
|
|
1
|
+
import { O as OrbitalSchema, a7 as Orbital, b as Page, L as DomainContext, a as OrbitalDefinition, b0 as PageTraitRef } from '../schema-D6Y8TfW3.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-D6Y8TfW3.js';
|
|
3
|
+
import { b8 as ServiceParams, a as Trait, d as Entity, h as EntityRow, ai as FieldValue, D as DeclaredTraitConfig, T as TraitConfig, E as Effect, y as ConfigFieldDeclaration, S as State, bP as Transition, f as EntityField, a2 as Event, bz as TraitConfigValue, g as EntityPersistence, bv as TraitCategory, cA as TraitScope } from '../trait-gH8M3N0M.js';
|
|
4
|
+
export { A as AgentEffect, k as AnimationDef, l as AnimationDefInput, m as AnimationDefSchema, n as ArrayEntityField, o as AssetMap, p as AssetMapInput, q as AssetMapSchema, r as AssetMapping, s as AssetMappingInput, t as AssetMappingSchema, u as AtomicEffect, C as CallServiceConfig, v as CallServiceEffect, w as CheckpointLoadEffect, x as CheckpointSaveEffect, z as ConfigFieldDeclarationSchema, B as DeclaredTraitConfigSchema, F as DerefEffect, G as DespawnEffect, H as DoEffect, I as ENTITY_ROLES, J as EffectInput, K as EffectSchema, L as EmitConfig, M as EmitEffect, N as EntityData, O as EntityFieldContract, P as EntityFieldContractSchema, Q as EntityFieldInput, V as EntityFieldSchema, W as EntityPersistenceSchema, X as EntityRole, Y as EntityRoleSchema, Z as EntitySchema, _ as EntityWith, $ as EnumEntityField, a0 as EvaluateConfig, a1 as EvaluateEffect, a3 as EventInput, a4 as EventPayloadField, a5 as EventPayloadFieldSchema, a6 as EventSchema, a7 as EventScope, a8 as EventScopeSchema, a9 as FetchEffect, aa as FetchOptions, ab as FetchResult, ac as Field, ad as FieldFormat, ae as FieldFormatSchema, af as FieldSchema, ag as FieldType, ah as FieldTypeSchema, aj as ForwardConfig, ak as ForwardEffect, al as GAME_TYPES, am as GameType, an as GameTypeSchema, ao as Guard, ap as GuardInput, aq as GuardSchema, ar as ListenSource, as as ListenSourceSchema, at as LogEffect, au as McpServiceDef, av as McpServiceDefSchema, aw as NavigateEffect, ax as NnConfig, ay as NnLayer, az as NotifyEffect, aA as OrbitalEntity, aB as OrbitalEntityInput, aC as OrbitalEntitySchema, aD as OrbitalTraitRef, aE as OrbitalTraitRefSchema, aF as OsEffect, aG as PayloadField, aH as PayloadFieldSchema, aI as PersistData, aJ as PersistEffect, aK as PersistEmitConfig, aL as PresentationType, aM as RefEffect, aN as RelationConfig, aO as RelationConfigSchema, aP as RelationEntityField, R as RenderBinding, aQ as RenderItemLambda, aR as RenderUIConfig, b as RenderUIEffect, aS as RenderUINode, aT as RequiredField, aU as RequiredFieldSchema, aV as ResolvedAsset, aW as ResolvedAssetInput, aX as ResolvedAssetSchema, aY as ResolvedPatternProps, aZ as RestAuthConfig, a_ as RestAuthConfigSchema, a$ as RestServiceDef, b0 as RestServiceDefSchema, b1 as SERVICE_TYPES, b2 as ScalarEntityField, b3 as SemanticAssetRef, b4 as SemanticAssetRefInput, b5 as SemanticAssetRefSchema, b6 as ServiceDefinition, b7 as ServiceDefinitionSchema, b9 as ServiceParamsValue, ba as ServiceRef, bb as ServiceRefObject, bc as ServiceRefObjectSchema, bd as ServiceRefSchema, be as ServiceRefStringSchema, bf as ServiceType, bg as ServiceTypeSchema, bh as SetEffect, bi as SocketEvents, bj as SocketEventsSchema, bk as SocketServiceDef, bl as SocketServiceDefSchema, bm as SpawnEffect, bn as StateInput, bo as StateMachine, bp as StateMachineInput, bq as StateMachineSchema, br as StateSchema, bs as SwapEffect, bt as TrainConfig, bu as TrainEffect, bw as TraitCategorySchema, bx as TraitConfigObject, by as TraitConfigSchema, bA as TraitConfigValueSchema, bB as TraitDataEntity, bC as TraitDataEntitySchema, bD as TraitEntityField, bE as TraitEntityFieldSchema, c as TraitEventContract, bF as TraitEventContractSchema, e as TraitEventListener, bG as TraitEventListenerSchema, bH as TraitInput, i as TraitRef, bI as TraitRefSchema, j as TraitReference, bJ as TraitReferenceInput, bK as TraitReferenceSchema, bL as TraitSchema, bM as TraitTick, bN as TraitTickSchema, bO as TraitUIBinding, bQ as TransitionInput, bR as TransitionSchema, bS as TypedEffect, U as UISlot, bT as UISlotSchema, bU as UI_SLOTS, bV as VISUAL_STYLES, bW as VisualStyle, bX as VisualStyleSchema, bY as WatchEffect, bZ as WatchOptions, b_ as atomic, b$ as callService, c0 as createAssetKey, c1 as deref, c2 as deriveCollection, c3 as despawn, c4 as doEffects, c5 as emit, c6 as findService, c7 as getDefaultAnimationsForRole, c8 as getServiceNames, c9 as getTraitConfig, ca as getTraitName, cb as hasService, cc as isCircuitEvent, cd as isEffect, ce as isInlineTrait, cf as isMcpService, cg as isRestService, ch as isRuntimeEntity, ci as isSExprEffect, cj as isServiceReference, ck as isServiceReferenceObject, cl as isSingletonEntity, cm as isSocketService, cn as navigate, co as normalizeTraitRef, cp as notify, cq as parseAssetKey, cr as parseServiceRef, cs as persist, ct as ref, cu as renderUI, cv as set, cw as spawn, cx as swap, cy as validateAssetAnimations, cz as watch } from '../trait-gH8M3N0M.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-JMLj6eu1.js';
|
|
11
|
+
export { J as JsonObject, n as JsonValue, T as ToolArgs, t as isJsonArray, u as isJsonObject, v as isJsonPrimitive } from '../types-JMLj6eu1.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* S-Expression Bindings
|
|
@@ -1262,73 +1262,6 @@ type EventEmit<P> = string & {
|
|
|
1262
1262
|
type EventListen<P> = string & {
|
|
1263
1263
|
readonly __listenPayload?: P;
|
|
1264
1264
|
};
|
|
1265
|
-
/**
|
|
1266
|
-
* Phantom-typed brand for a component's data INLET, cardinality-neutral. The
|
|
1267
|
-
* shared base of `EntityRecord<T>` / `EntityCollection<T>`: it declares "this
|
|
1268
|
-
* prop is the bound-entity inlet" (the role) WITHOUT committing to record vs
|
|
1269
|
-
* collection. Structurally `(T | readonly T[])`.
|
|
1270
|
-
*
|
|
1271
|
-
* Use it on a SHARED base interface (e.g. `EntityDisplayProps<T>.entity`) whose
|
|
1272
|
-
* concrete extenders render either one record or a list — each extender narrows
|
|
1273
|
-
* to `EntityRecord<T>` / `EntityCollection<T>` in its own Props, and both are
|
|
1274
|
-
* assignable back to `EntityInlet<T>` (they intersect it), so the `extends`
|
|
1275
|
-
* stays sound. A prop left as `EntityInlet<T>` gets `kind: "entity"` with the
|
|
1276
|
-
* cardinality supplied by pattern-sync's base-prop default.
|
|
1277
|
-
*/
|
|
1278
|
-
type EntityInlet<T> = (T | readonly T[]) & {
|
|
1279
|
-
readonly __entityInlet?: true;
|
|
1280
|
-
};
|
|
1281
|
-
/**
|
|
1282
|
-
* Phantom-typed brand for a component's data INLET binding a SINGLE entity
|
|
1283
|
-
* record. The inlet half of a pattern's circuit, symmetric with the event
|
|
1284
|
-
* OUTLET brands above: just as `EventEmit<P>` declares "this prop is a bus
|
|
1285
|
-
* outlet" by type identity, `EntityRecord<T>` declares "this prop is the
|
|
1286
|
-
* bound-entity inlet, cardinality = one record."
|
|
1287
|
-
*
|
|
1288
|
-
* Structurally `(T | readonly T[])` — the SAME permissive shape as
|
|
1289
|
-
* `EntityCollection<T>` — because record renderers routinely accept an array
|
|
1290
|
-
* and collapse to its first element (e.g. DetailPanel's
|
|
1291
|
-
* `Array.isArray(entity) ? entity[0] : entity`). The `cardinality: "record"` is
|
|
1292
|
-
* therefore a DECLARED intent carried by the brand, not a structural
|
|
1293
|
-
* constraint, so annotating an existing `entity: T | readonly T[]` prop is a
|
|
1294
|
-
* pure type swap with no body change. The two inlet brands differ ONLY in the
|
|
1295
|
-
* declared cardinality — that is the whole point: the shape is declared.
|
|
1296
|
-
*
|
|
1297
|
-
* Pattern-sync (`tools/almadar-pattern-sync/parser.ts`) detects this brand by
|
|
1298
|
-
* type identity — imported from `@almadar/core`, exactly like `EventKey` /
|
|
1299
|
-
* `EventEmit<P>` — and writes into the patterns registry:
|
|
1300
|
-
* - `kind: "entity"` — the discriminant declaring this prop is the data inlet.
|
|
1301
|
-
* - `cardinality: "record"` — one record (vs a collection).
|
|
1302
|
-
* - the element's fixed sub-slots (via `items.properties`) when `T` is a
|
|
1303
|
-
* concrete interface; a generic `T` stays field-open (the domain entity
|
|
1304
|
-
* supplies the fields at compose time).
|
|
1305
|
-
*
|
|
1306
|
-
* Consumers read the inlet descriptor to bind the domain entity WITHOUT
|
|
1307
|
-
* name-matching the prop, closing the pattern's circuit deterministically.
|
|
1308
|
-
*
|
|
1309
|
-
* // DetailPanel.tsx
|
|
1310
|
-
* entity: EntityRecord<T>; // -> kind:"entity", cardinality:"record"
|
|
1311
|
-
*/
|
|
1312
|
-
type EntityRecord<T> = EntityInlet<T> & {
|
|
1313
|
-
readonly __entityCardinality?: "record";
|
|
1314
|
-
};
|
|
1315
|
-
/**
|
|
1316
|
-
* Phantom-typed brand for a component's data INLET binding a COLLECTION of
|
|
1317
|
-
* entity records. Mirror of `EntityRecord<T>` with `cardinality: "collection"`.
|
|
1318
|
-
*
|
|
1319
|
-
* The structural type is `T | readonly T[]` — matching the real, permissive
|
|
1320
|
-
* contract of collection renderers (they accept a single record and normalize
|
|
1321
|
-
* it to a one-element list, e.g. DataGrid's `Array.isArray(entity) ? entity :
|
|
1322
|
-
* [entity]`). The `cardinality: "collection"` is therefore a DECLARED intent
|
|
1323
|
-
* carried by the brand, not a structural constraint — so annotating an existing
|
|
1324
|
-
* `entity: T | readonly T[]` prop is a pure type swap with no body change.
|
|
1325
|
-
*
|
|
1326
|
-
* // DataGrid.tsx
|
|
1327
|
-
* entity: EntityCollection<T>; // -> kind:"entity", cardinality:"collection"
|
|
1328
|
-
*/
|
|
1329
|
-
type EntityCollection<T> = EntityInlet<T> & {
|
|
1330
|
-
readonly __entityCardinality?: "collection";
|
|
1331
|
-
};
|
|
1332
1265
|
/**
|
|
1333
1266
|
* Identifies the origin of a bus event. Used by cross-trait listeners to
|
|
1334
1267
|
* filter emits from specific orbitals, traits, transitions, or ticks.
|
|
@@ -2208,4 +2141,4 @@ interface ParsedDesign {
|
|
|
2208
2141
|
};
|
|
2209
2142
|
}
|
|
2210
2143
|
|
|
2211
|
-
export { type AgentCodeSearchResult, type AgentCompactResult, type AgentCompactStrategy, type AgentContext, type AgentGenerateOptions, type AgentMemoryCategory, type AgentMemoryRecord, type AnnotationTier, OrbitalSchema as AppSchema, type AppSummary, type AssetLoadStatus, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, type BindingContext, type BindingRoot, BindingSchema, type BridgeHealth, type BusEvent, type BusEventListener, type BusEventSource, type CategorizedRemovals, type ChangeAuthor, type ChangeSetDocument, type ChangeSummary, type ChangesetValue, type CheckStatus, ConfigFieldDeclaration, type ContextExtensions, type CreateFlow, DEFAULT_INTERACTION_MODELS, DeclaredTraitConfig, type DeleteFlow, DomainContext, type EdgeType, type EditFlow, Effect, type EffectPayload, type EffectResult, type EffectTrace, Entity,
|
|
2144
|
+
export { type AgentCodeSearchResult, type AgentCompactResult, type AgentCompactStrategy, type AgentContext, type AgentGenerateOptions, type AgentMemoryCategory, type AgentMemoryRecord, type AnnotationTier, OrbitalSchema as AppSchema, type AppSummary, type AssetLoadStatus, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, type BindingContext, type BindingRoot, BindingSchema, type BridgeHealth, type BusEvent, type BusEventListener, type BusEventSource, type CategorizedRemovals, type ChangeAuthor, type ChangeSetDocument, type ChangeSummary, type ChangesetValue, type CheckStatus, ConfigFieldDeclaration, type ContextExtensions, type CreateFlow, DEFAULT_INTERACTION_MODELS, DeclaredTraitConfig, type DeleteFlow, DomainContext, type EdgeType, type EditFlow, Effect, type EffectPayload, type EffectResult, type EffectTrace, Entity, EntityField, EntityPersistence, EntityRow, EvalContext, Event, type EventEmit, type EventKey, type EventListen, type EventLogEntry, EventPayload, EventPayloadValue, type EvolutionDelta, FieldValue, Orbital as FullOrbitalUnit, type GateState, type GitHubLink, type HistoryMeta, type InteractionModel, type InteractionModelInput, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, type KnobPayload, type KnownValidationErrorCode, type LazyService, type LineageEntry, type ListInteraction, type LivingEdge, type LivingEffect, type LivingEntity, type LivingEvent, type LivingField, type LivingOrbital, type LivingOrbitalSchema, type LivingPage, type LivingState, type LivingTrait, type LivingTransition, type LivingValue, type LivingVertex, LogMeta, Orbital, OrbitalDefinition, OrbitalSchema, type OrbitalVerificationAPI, Page, type PageContentReduction, PageTraitRef, type ParsedDesign, type ParsedDomainContext, type ParsedEmitDeclaration, type ParsedEntity, type ParsedEvent, type ParsedListenDeclaration, type ParsedOrbital, type ParsedPage, type ParsedState, type ParsedStateMachine, type ParsedTrait, type ParsedTraitConfig, type ParsedTransition, PatternTypeSchema, type PersistActionName, type Probability, type ResolvedEntity, type ResolvedEntityBinding, type ResolvedField, type ResolvedIR, type ResolvedNavigation, type ResolvedPage, type ResolvedPattern, type ResolvedSection, type ResolvedSectionEvent, type ResolvedTrait, type ResolvedTraitBinding, type ResolvedTraitDataEntity, type ResolvedTraitEvent, type ResolvedTraitGuard, type ResolvedTraitListener, type ResolvedTraitState, type ResolvedTraitTick, type ResolvedTraitTransition, type ResolvedTraitUIBinding, SExpr, type SaveOptions, type SaveResult, type SchemaChange, type SemanticAnnotation, type SemanticChangeKind, type SemanticSchemaChange, type SemanticVector, type ServerResponseTrace, type ServiceAction, type ServiceActionName, type ServiceContract, type ServiceEvents, ServiceParams, type SnapshotDocument, State, type StatsView, type StoreContract, type StoreFilter, type StoreFilterOp, Trait, TraitCategory, TraitConfig, TraitConfigValue, type TraitFieldRef, TraitFieldRefSchema, type TraitStateSnapshot, Transition, type TransitionFrom, type TransitionTrace, type Unsubscribe, OrbitalDefinition as ValidatedOrbital, type ValidationDocument, type ValidationError, type ValidationErrorCode, type ValidationIssue, type ValidationMeta, type ValidationResult, type ValidationResults, type VerificationCheck, type VerificationSnapshot, type VerificationSummary, type VertexId, type VertexPayload, type VertexType, type ViewFlow, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, getAllPatternTypes, getBindingExamples, getInteractionModelForDomain, inferTsType, isKnownValidationErrorCode, isResolvedIR, isTraitFieldRef, toBindingRoot, validateBindingInContext, widenTier };
|
package/dist/types/index.js
CHANGED
|
@@ -501,7 +501,12 @@ var TraitConfigValueSchema = z.lazy(
|
|
|
501
501
|
var TraitConfigSchema = z.record(TraitConfigValueSchema);
|
|
502
502
|
var ConfigFieldDeclarationSchema = z.object({
|
|
503
503
|
type: z.string(),
|
|
504
|
-
default: TraitConfigValueSchema.optional()
|
|
504
|
+
default: TraitConfigValueSchema.optional(),
|
|
505
|
+
label: z.string().optional(),
|
|
506
|
+
description: z.string().optional(),
|
|
507
|
+
tier: z.string().optional(),
|
|
508
|
+
values: z.array(z.string()).optional(),
|
|
509
|
+
synonyms: z.string().optional()
|
|
505
510
|
});
|
|
506
511
|
var DeclaredTraitConfigSchema = z.record(
|
|
507
512
|
ConfigFieldDeclarationSchema
|