@almadar/core 9.9.0 → 9.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builders.d.ts +2 -2
- package/dist/{compose-behaviors-DA8bnafs.d.ts → compose-behaviors-DpYntG1r.d.ts} +1 -1
- package/dist/index.d.ts +91 -4
- package/dist/index.js +196 -2
- package/dist/index.js.map +1 -1
- package/dist/{schema-DgAnrD1M.d.ts → schema-kJUA2M6H.d.ts} +180 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +16 -2
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -46083,6 +46083,31 @@ declare const OrbitalConfigSchema: z.ZodObject<{
|
|
|
46083
46083
|
* by orbitals via TraitRef. This allows LLMs to generate custom
|
|
46084
46084
|
* traits that aren't in the trait library.
|
|
46085
46085
|
*/
|
|
46086
|
+
/**
|
|
46087
|
+
* One `@config.<knob>` → render-ui prop substitution recorded by the inline
|
|
46088
|
+
* phase. Lets a consumer trace a resolved render-ui literal back to the config
|
|
46089
|
+
* knob it came from (the `@config.X` string is erased after substitution).
|
|
46090
|
+
* Mirrors the Rust `ConfigProvenanceRecord`.
|
|
46091
|
+
*/
|
|
46092
|
+
interface ConfigProvenanceRecord {
|
|
46093
|
+
/** Resolved trait name (post call-site rename) owning the render-ui effect. */
|
|
46094
|
+
trait: string;
|
|
46095
|
+
/** Pattern path within the render-ui tree (e.g. `root.children.0`). */
|
|
46096
|
+
patternPath?: string;
|
|
46097
|
+
/** The pattern-node prop key whose value was a `@config.X` binding. */
|
|
46098
|
+
prop: string;
|
|
46099
|
+
/** The config knob name (`X` in `@config.X`). */
|
|
46100
|
+
knob: string;
|
|
46101
|
+
}
|
|
46102
|
+
/** Compiler-emitted schema metadata — the resolved `.orb` `_metadata` block. */
|
|
46103
|
+
interface SchemaMetadata {
|
|
46104
|
+
version?: number;
|
|
46105
|
+
createdAt?: number;
|
|
46106
|
+
source?: string;
|
|
46107
|
+
updatedAt?: number;
|
|
46108
|
+
/** Config→knob provenance keyed by orbital name. See {@link ConfigProvenanceRecord}. */
|
|
46109
|
+
configProvenance?: Record<string, ConfigProvenanceRecord[]>;
|
|
46110
|
+
}
|
|
46086
46111
|
interface OrbitalSchema {
|
|
46087
46112
|
/** Application name */
|
|
46088
46113
|
name: string;
|
|
@@ -46118,7 +46143,69 @@ interface OrbitalSchema {
|
|
|
46118
46143
|
services?: ServiceDefinition[];
|
|
46119
46144
|
/** Global config */
|
|
46120
46145
|
config?: OrbitalConfig;
|
|
46146
|
+
/** Compiler-emitted metadata (resolved `.orb` `_metadata`). */
|
|
46147
|
+
_metadata?: SchemaMetadata;
|
|
46121
46148
|
}
|
|
46149
|
+
declare const ConfigProvenanceRecordSchema: z.ZodObject<{
|
|
46150
|
+
trait: z.ZodString;
|
|
46151
|
+
patternPath: z.ZodOptional<z.ZodString>;
|
|
46152
|
+
prop: z.ZodString;
|
|
46153
|
+
knob: z.ZodString;
|
|
46154
|
+
}, "strip", z.ZodTypeAny, {
|
|
46155
|
+
trait: string;
|
|
46156
|
+
prop: string;
|
|
46157
|
+
knob: string;
|
|
46158
|
+
patternPath?: string | undefined;
|
|
46159
|
+
}, {
|
|
46160
|
+
trait: string;
|
|
46161
|
+
prop: string;
|
|
46162
|
+
knob: string;
|
|
46163
|
+
patternPath?: string | undefined;
|
|
46164
|
+
}>;
|
|
46165
|
+
declare const SchemaMetadataSchema: z.ZodObject<{
|
|
46166
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
46167
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
46168
|
+
source: z.ZodOptional<z.ZodString>;
|
|
46169
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
46170
|
+
configProvenance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
46171
|
+
trait: z.ZodString;
|
|
46172
|
+
patternPath: z.ZodOptional<z.ZodString>;
|
|
46173
|
+
prop: z.ZodString;
|
|
46174
|
+
knob: z.ZodString;
|
|
46175
|
+
}, "strip", z.ZodTypeAny, {
|
|
46176
|
+
trait: string;
|
|
46177
|
+
prop: string;
|
|
46178
|
+
knob: string;
|
|
46179
|
+
patternPath?: string | undefined;
|
|
46180
|
+
}, {
|
|
46181
|
+
trait: string;
|
|
46182
|
+
prop: string;
|
|
46183
|
+
knob: string;
|
|
46184
|
+
patternPath?: string | undefined;
|
|
46185
|
+
}>, "many">>>;
|
|
46186
|
+
}, "strip", z.ZodTypeAny, {
|
|
46187
|
+
source?: string | undefined;
|
|
46188
|
+
version?: number | undefined;
|
|
46189
|
+
createdAt?: number | undefined;
|
|
46190
|
+
updatedAt?: number | undefined;
|
|
46191
|
+
configProvenance?: Record<string, {
|
|
46192
|
+
trait: string;
|
|
46193
|
+
prop: string;
|
|
46194
|
+
knob: string;
|
|
46195
|
+
patternPath?: string | undefined;
|
|
46196
|
+
}[]> | undefined;
|
|
46197
|
+
}, {
|
|
46198
|
+
source?: string | undefined;
|
|
46199
|
+
version?: number | undefined;
|
|
46200
|
+
createdAt?: number | undefined;
|
|
46201
|
+
updatedAt?: number | undefined;
|
|
46202
|
+
configProvenance?: Record<string, {
|
|
46203
|
+
trait: string;
|
|
46204
|
+
prop: string;
|
|
46205
|
+
knob: string;
|
|
46206
|
+
patternPath?: string | undefined;
|
|
46207
|
+
}[]> | undefined;
|
|
46208
|
+
}>;
|
|
46122
46209
|
declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
46123
46210
|
name: z.ZodString;
|
|
46124
46211
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -54641,6 +54728,50 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
54641
54728
|
timeout?: number | undefined;
|
|
54642
54729
|
} | undefined;
|
|
54643
54730
|
}>>;
|
|
54731
|
+
_metadata: z.ZodOptional<z.ZodObject<{
|
|
54732
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
54733
|
+
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
54734
|
+
source: z.ZodOptional<z.ZodString>;
|
|
54735
|
+
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
54736
|
+
configProvenance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
54737
|
+
trait: z.ZodString;
|
|
54738
|
+
patternPath: z.ZodOptional<z.ZodString>;
|
|
54739
|
+
prop: z.ZodString;
|
|
54740
|
+
knob: z.ZodString;
|
|
54741
|
+
}, "strip", z.ZodTypeAny, {
|
|
54742
|
+
trait: string;
|
|
54743
|
+
prop: string;
|
|
54744
|
+
knob: string;
|
|
54745
|
+
patternPath?: string | undefined;
|
|
54746
|
+
}, {
|
|
54747
|
+
trait: string;
|
|
54748
|
+
prop: string;
|
|
54749
|
+
knob: string;
|
|
54750
|
+
patternPath?: string | undefined;
|
|
54751
|
+
}>, "many">>>;
|
|
54752
|
+
}, "strip", z.ZodTypeAny, {
|
|
54753
|
+
source?: string | undefined;
|
|
54754
|
+
version?: number | undefined;
|
|
54755
|
+
createdAt?: number | undefined;
|
|
54756
|
+
updatedAt?: number | undefined;
|
|
54757
|
+
configProvenance?: Record<string, {
|
|
54758
|
+
trait: string;
|
|
54759
|
+
prop: string;
|
|
54760
|
+
knob: string;
|
|
54761
|
+
patternPath?: string | undefined;
|
|
54762
|
+
}[]> | undefined;
|
|
54763
|
+
}, {
|
|
54764
|
+
source?: string | undefined;
|
|
54765
|
+
version?: number | undefined;
|
|
54766
|
+
createdAt?: number | undefined;
|
|
54767
|
+
updatedAt?: number | undefined;
|
|
54768
|
+
configProvenance?: Record<string, {
|
|
54769
|
+
trait: string;
|
|
54770
|
+
prop: string;
|
|
54771
|
+
knob: string;
|
|
54772
|
+
patternPath?: string | undefined;
|
|
54773
|
+
}[]> | undefined;
|
|
54774
|
+
}>>;
|
|
54644
54775
|
}, "strip", z.ZodTypeAny, {
|
|
54645
54776
|
name: string;
|
|
54646
54777
|
orbitals: {
|
|
@@ -55639,6 +55770,18 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
55639
55770
|
slots?: string[] | undefined;
|
|
55640
55771
|
props?: string[] | undefined;
|
|
55641
55772
|
}> | undefined;
|
|
55773
|
+
_metadata?: {
|
|
55774
|
+
source?: string | undefined;
|
|
55775
|
+
version?: number | undefined;
|
|
55776
|
+
createdAt?: number | undefined;
|
|
55777
|
+
updatedAt?: number | undefined;
|
|
55778
|
+
configProvenance?: Record<string, {
|
|
55779
|
+
trait: string;
|
|
55780
|
+
prop: string;
|
|
55781
|
+
knob: string;
|
|
55782
|
+
patternPath?: string | undefined;
|
|
55783
|
+
}[]> | undefined;
|
|
55784
|
+
} | undefined;
|
|
55642
55785
|
}, {
|
|
55643
55786
|
name: string;
|
|
55644
55787
|
orbitals: {
|
|
@@ -56637,6 +56780,18 @@ declare const OrbitalSchemaSchema: z.ZodObject<{
|
|
|
56637
56780
|
slots?: string[] | undefined;
|
|
56638
56781
|
props?: string[] | undefined;
|
|
56639
56782
|
}> | undefined;
|
|
56783
|
+
_metadata?: {
|
|
56784
|
+
source?: string | undefined;
|
|
56785
|
+
version?: number | undefined;
|
|
56786
|
+
createdAt?: number | undefined;
|
|
56787
|
+
updatedAt?: number | undefined;
|
|
56788
|
+
configProvenance?: Record<string, {
|
|
56789
|
+
trait: string;
|
|
56790
|
+
prop: string;
|
|
56791
|
+
knob: string;
|
|
56792
|
+
patternPath?: string | undefined;
|
|
56793
|
+
}[]> | undefined;
|
|
56794
|
+
} | undefined;
|
|
56640
56795
|
}>;
|
|
56641
56796
|
/**
|
|
56642
56797
|
* Flattened `OrbitalSchema` view used by the persistence/runtime layer.
|
|
@@ -57700,6 +57855,18 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
|
|
|
57700
57855
|
slots?: string[] | undefined;
|
|
57701
57856
|
props?: string[] | undefined;
|
|
57702
57857
|
}> | undefined;
|
|
57858
|
+
_metadata?: {
|
|
57859
|
+
source?: string | undefined;
|
|
57860
|
+
version?: number | undefined;
|
|
57861
|
+
createdAt?: number | undefined;
|
|
57862
|
+
updatedAt?: number | undefined;
|
|
57863
|
+
configProvenance?: Record<string, {
|
|
57864
|
+
trait: string;
|
|
57865
|
+
prop: string;
|
|
57866
|
+
knob: string;
|
|
57867
|
+
patternPath?: string | undefined;
|
|
57868
|
+
}[]> | undefined;
|
|
57869
|
+
} | undefined;
|
|
57703
57870
|
}, {
|
|
57704
57871
|
name: string;
|
|
57705
57872
|
orbitals: {
|
|
@@ -58698,8 +58865,20 @@ declare function safeParseOrbitalSchema(data: unknown): z.SafeParseReturnType<{
|
|
|
58698
58865
|
slots?: string[] | undefined;
|
|
58699
58866
|
props?: string[] | undefined;
|
|
58700
58867
|
}> | undefined;
|
|
58868
|
+
_metadata?: {
|
|
58869
|
+
source?: string | undefined;
|
|
58870
|
+
version?: number | undefined;
|
|
58871
|
+
createdAt?: number | undefined;
|
|
58872
|
+
updatedAt?: number | undefined;
|
|
58873
|
+
configProvenance?: Record<string, {
|
|
58874
|
+
trait: string;
|
|
58875
|
+
prop: string;
|
|
58876
|
+
knob: string;
|
|
58877
|
+
patternPath?: string | undefined;
|
|
58878
|
+
}[]> | undefined;
|
|
58879
|
+
} | undefined;
|
|
58701
58880
|
}>;
|
|
58702
58881
|
type OrbitalSchemaInput = z.input<typeof OrbitalSchemaSchema>;
|
|
58703
58882
|
type OrbitalConfigInput = z.input<typeof OrbitalConfigSchema>;
|
|
58704
58883
|
|
|
58705
|
-
export { 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 OrbitalDefinition 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 OrbitalSchema 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 };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as OrbitalSchema,
|
|
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
|
|
1
|
+
import { a as OrbitalSchema, a7 as Orbital, b as Page, L as DomainContext, O as OrbitalDefinition, b0 as PageTraitRef } from '../schema-kJUA2M6H.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-kJUA2M6H.js';
|
|
3
3
|
import { b7 as ServiceParams, T as Trait, c as Entity, h as EntityRow, ah as FieldValue, D as DeclaredTraitConfig, e as TraitConfig, E as Effect, y as ConfigFieldDeclaration, S as State, bO as Transition, f as EntityField, a1 as Event, by as TraitConfigValue, g as EntityPersistence, bu as TraitCategory, cz as TraitScope } from '../trait-C61Wxi3a.js';
|
|
4
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 EnumEntityField, $ as EvaluateConfig, a0 as EvaluateEffect, a2 as EventInput, a3 as EventPayloadField, a4 as EventPayloadFieldSchema, a5 as EventSchema, a6 as EventScope, a7 as EventScopeSchema, a8 as FetchEffect, a9 as FetchOptions, aa as FetchResult, ab as Field, ac as FieldFormat, ad as FieldFormatSchema, ae as FieldSchema, af as FieldType, ag as FieldTypeSchema, ai as ForwardConfig, aj as ForwardEffect, ak as GAME_TYPES, al as GameType, am as GameTypeSchema, an as Guard, ao as GuardInput, ap as GuardSchema, aq as ListenSource, ar as ListenSourceSchema, as as LogEffect, at as McpServiceDef, au as McpServiceDefSchema, av as NavigateEffect, aw as NnConfig, ax as NnLayer, ay as NotifyEffect, az as OrbitalEntity, aA as OrbitalEntityInput, aB as OrbitalEntitySchema, aC as OrbitalTraitRef, aD as OrbitalTraitRefSchema, aE as OsEffect, aF as PayloadField, aG as PayloadFieldSchema, aH as PersistData, aI as PersistEffect, aJ as PersistEmitConfig, aK as PresentationType, aL as RefEffect, aM as RelationConfig, aN as RelationConfigSchema, aO as RelationEntityField, R as RenderBinding, aP as RenderItemLambda, aQ as RenderUIConfig, a as RenderUIEffect, aR as RenderUINode, aS as RequiredField, aT as RequiredFieldSchema, aU as ResolvedAsset, aV as ResolvedAssetInput, aW as ResolvedAssetSchema, aX as ResolvedPatternProps, aY as RestAuthConfig, aZ as RestAuthConfigSchema, a_ as RestServiceDef, a$ as RestServiceDefSchema, b0 as SERVICE_TYPES, b1 as ScalarEntityField, b2 as SemanticAssetRef, b3 as SemanticAssetRefInput, b4 as SemanticAssetRefSchema, b5 as ServiceDefinition, b6 as ServiceDefinitionSchema, b8 as ServiceParamsValue, b9 as ServiceRef, ba as ServiceRefObject, bb as ServiceRefObjectSchema, bc as ServiceRefSchema, bd as ServiceRefStringSchema, be as ServiceType, bf as ServiceTypeSchema, bg as SetEffect, bh as SocketEvents, bi as SocketEventsSchema, bj as SocketServiceDef, bk as SocketServiceDefSchema, bl as SpawnEffect, bm as StateInput, bn as StateMachine, bo as StateMachineInput, bp as StateMachineSchema, bq as StateSchema, br as SwapEffect, bs as TrainConfig, bt as TrainEffect, bv as TraitCategorySchema, bw as TraitConfigObject, bx as TraitConfigSchema, bz as TraitConfigValueSchema, bA as TraitDataEntity, bB as TraitDataEntitySchema, bC as TraitEntityField, bD as TraitEntityFieldSchema, b as TraitEventContract, bE as TraitEventContractSchema, d as TraitEventListener, bF as TraitEventListenerSchema, bG as TraitInput, i as TraitRef, bH as TraitRefSchema, j as TraitReference, bI as TraitReferenceInput, bJ as TraitReferenceSchema, bK as TraitSchema, bL as TraitTick, bM as TraitTickSchema, bN as TraitUIBinding, bP as TransitionInput, bQ as TransitionSchema, bR as TypedEffect, U as UISlot, bS as UISlotSchema, bT as UI_SLOTS, bU as VISUAL_STYLES, bV as VisualStyle, bW as VisualStyleSchema, bX as WatchEffect, bY as WatchOptions, bZ as atomic, b_ as callService, b$ as createAssetKey, c0 as deref, c1 as deriveCollection, c2 as despawn, c3 as doEffects, c4 as emit, c5 as findService, c6 as getDefaultAnimationsForRole, c7 as getServiceNames, c8 as getTraitConfig, c9 as getTraitName, ca as hasService, cb as isCircuitEvent, cc as isEffect, cd as isInlineTrait, ce as isMcpService, cf as isRestService, cg as isRuntimeEntity, ch as isSExprEffect, ci as isServiceReference, cj as isServiceReferenceObject, ck as isSingletonEntity, cl as isSocketService, cm as navigate, cn as normalizeTraitRef, co as notify, cp as parseAssetKey, cq as parseServiceRef, cr as persist, cs as ref, ct as renderUI, cu as set, cv as spawn, cw as swap, cx as validateAssetAnimations, cy as watch } from '../trait-C61Wxi3a.js';
|
|
5
5
|
import { c as EventPayloadValue, b as EventPayload, L as LogMeta, S as SExpr, E as EvalContext } from '../expression-BVRFm0sV.js';
|
package/dist/types/index.js
CHANGED
|
@@ -1445,6 +1445,19 @@ var OrbitalConfigSchema = z.object({
|
|
|
1445
1445
|
timeout: z.number().optional()
|
|
1446
1446
|
}).optional()
|
|
1447
1447
|
});
|
|
1448
|
+
var ConfigProvenanceRecordSchema = z.object({
|
|
1449
|
+
trait: z.string(),
|
|
1450
|
+
patternPath: z.string().optional(),
|
|
1451
|
+
prop: z.string(),
|
|
1452
|
+
knob: z.string()
|
|
1453
|
+
});
|
|
1454
|
+
var SchemaMetadataSchema = z.object({
|
|
1455
|
+
version: z.number().optional(),
|
|
1456
|
+
createdAt: z.number().optional(),
|
|
1457
|
+
source: z.string().optional(),
|
|
1458
|
+
updatedAt: z.number().optional(),
|
|
1459
|
+
configProvenance: z.record(z.array(ConfigProvenanceRecordSchema)).optional()
|
|
1460
|
+
});
|
|
1448
1461
|
var OrbitalSchemaSchema = z.object({
|
|
1449
1462
|
name: z.string().min(1, "Schema name is required"),
|
|
1450
1463
|
description: z.string().optional(),
|
|
@@ -1456,7 +1469,8 @@ var OrbitalSchemaSchema = z.object({
|
|
|
1456
1469
|
customPatterns: CustomPatternMapSchema,
|
|
1457
1470
|
orbitals: z.array(OrbitalSchema).min(1, "At least one orbital is required"),
|
|
1458
1471
|
services: z.array(ServiceDefinitionSchema).optional(),
|
|
1459
|
-
config: OrbitalConfigSchema.optional()
|
|
1472
|
+
config: OrbitalConfigSchema.optional(),
|
|
1473
|
+
_metadata: SchemaMetadataSchema.optional()
|
|
1460
1474
|
});
|
|
1461
1475
|
function parseOrbitalSchema(data) {
|
|
1462
1476
|
return OrbitalSchemaSchema.parse(data);
|
|
@@ -1897,6 +1911,6 @@ function widenTier(tier) {
|
|
|
1897
1911
|
return tier;
|
|
1898
1912
|
}
|
|
1899
1913
|
|
|
1900
|
-
export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, AgentDomainCategorySchema, AnimationDefSchema, AssetMapSchema, AssetMappingSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CORE_BINDINGS, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, 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, 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 };
|
|
1914
|
+
export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, AgentDomainCategorySchema, AnimationDefSchema, 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 };
|
|
1901
1915
|
//# sourceMappingURL=index.js.map
|
|
1902
1916
|
//# sourceMappingURL=index.js.map
|