@almadar/core 10.25.0 → 10.27.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-C4TdM6zi.d.ts → builders-CeDAKf9u.d.ts} +6008 -6008
- package/dist/builders.d.ts +4 -4
- package/dist/builders.js.map +1 -1
- package/dist/{expression-BgReMVoL.d.ts → expression-C6X4A8L7.d.ts} +1 -1
- package/dist/factory/index.d.ts +5 -5
- package/dist/factory-runtime/index.d.ts +4 -4
- package/dist/factory-runtime/index.js +0 -1
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +11 -9
- package/dist/index.js +43185 -5
- package/dist/index.js.map +1 -1
- package/dist/pattern-types-CEZfJqGr.d.ts +4584 -0
- package/dist/patterns/component-mapping.json +1353 -0
- package/dist/patterns/event-contracts.json +1135 -0
- package/dist/patterns/index.d.ts +93834 -0
- package/dist/patterns/index.js +43186 -0
- package/dist/patterns/index.js.map +1 -0
- package/dist/patterns/integrators-registry.json +600 -0
- package/dist/patterns/ml-registry.json +714 -0
- package/dist/patterns/pattern-embeddings.json +200977 -0
- package/dist/patterns/patterns-registry.json +39397 -0
- package/dist/patterns/registry.json +39397 -0
- package/dist/patterns/services-registry.json +2645 -0
- package/dist/state-machine/index.d.ts +1 -1
- package/dist/{trait-fVtC5pP9.d.ts → trait-CSaCYNJl.d.ts} +532 -1775
- package/dist/types/index.d.ts +16 -30
- package/dist/types/index.js +271 -6
- package/dist/types/index.js.map +1 -1
- package/dist/{types-DPA1IF-T.d.ts → types-BFgbJ7BM.d.ts} +2 -1
- package/package.json +12 -3
package/dist/types/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { M as MakeTraitRefOpts, b4 as PageTraitRef, O as OrbitalSchema, a6 as EventWiringEntry, aq as LayoutStrategy, bi as ThemeDefinition, a7 as Orbital, aZ as Page, K as DomainContext, a as OrbitalDefinition } from '../builders-
|
|
2
|
-
export { A as AGENT_DOMAIN_CATEGORIES, b as ALLOWED_CUSTOM_COMPONENTS, c as AgentDomainCategory, d as AgentDomainCategorySchema, e as AllowedCustomComponent, C as ColorSlice, f as ColorSliceSchema, g as ColorTokens, h 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, E as DesignPreferencesSchema, F as DesignTokens, G as DesignTokensInput, H as DesignTokensSchema, I as DomainCategory, J as DomainCategorySchema, L as DomainContextInput, N as DomainContextSchema, P as DomainVocabulary, Q as DomainVocabularySchema, R as ElevationSlice, S as ElevationSliceSchema, T as ElevationTokens, U as ElevationTokensSchema, V as EntityCall, W as EntityCallSchema, X as EntityRef, Y as EntityRefSchema, Z as EntityRefStringSchema, _ as EntitySemanticRole, $ as EntitySemanticRoleSchema, a0 as EventListener, a1 as EventListenerSchema, a2 as EventSemanticRole, a3 as EventSemanticRoleSchema, a4 as EventSource, a5 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, ar as MotionDurationKey, as as MotionDurationKeySchema, at as MotionDurationPalette, au as MotionDurationPaletteSchema, av as MotionEasingKey, aw as MotionEasingKeySchema, ax as MotionEasingPalette, ay as MotionEasingPaletteSchema, az as MotionIntent, aA as MotionIntentMap, aB as MotionIntentMapSchema, aC as MotionIntentSchema, aD as MotionSlice, aE as MotionSliceSchema, aF as MotionTokens, aG as MotionTokensSchema, aH as NodeClassification, aI as NodeClassificationSchema, aJ as OrbitalConfig, aK as OrbitalConfigInput, aL as OrbitalConfigSchema, aM as OrbitalDefinitionSchema, aN as OrbitalInput, aO as OrbitalPage, aP as OrbitalPageInput, aQ as OrbitalPageSchema, aR as OrbitalPageStrictInput, aS as OrbitalPageStrictSchema, aT as OrbitalSchemaInput, aU as OrbitalSchemaSchema, aV as OrbitalSchemaWithTraits, aW as OrbitalUnit, aX as OrbitalUnitSchema, aY as OrbitalZodSchema, a_ as PageRef, a$ as PageRefObject, b0 as PageRefObjectSchema, b1 as PageRefSchema, b2 as PageRefStringSchema, b3 as PageSchema, b5 as PageTraitRefSchema, b6 as RelatedLink, b7 as RelatedLinkSchema, b8 as SchemaMetadata, b9 as SchemaMetadataSchema, ba as SkinSpec, bb as SkinSpecSchema, bc as SpacingScale, bd as SpacingScaleSchema, be as StateSemanticRole, bf as StateSemanticRoleSchema, bg as SuggestedGuard, bh as SuggestedGuardSchema, bj as ThemeDefinitionSchema, bk as ThemeRef, bl as ThemeRefSchema, bm as ThemeRefStringSchema, bn as ThemeTokens, bo as ThemeTokensSchema, bp as ThemeVariant, bq as ThemeVariantSchema, br as TypeIntent, bs as TypeIntentMap, bt as TypeIntentMapSchema, bu as TypeIntentSchema, bv as TypeScale, bw as TypeScaleEntry, bx as TypeScaleEntrySchema, by as TypeScaleSchema, bz as TypeScaleTokens, bA as TypeScaleTokensSchema, bB as TypeSizeKey, bC as TypeSizeKeySchema, bD as TypeSlice, bE as TypeSliceSchema, bF as TypeSlot, bG as TypeSlotSchema, bH as TypeWeight, bI as TypeWeightSchema, bJ as UXHints, bK as UXHintsSchema, bL as UseDeclaration, bM as UseDeclarationSchema, bN as UserPersona, bO as UserPersonaInput, bP as UserPersonaSchema, bQ as ViewType, bR as ViewTypeSchema, bV as isEntityCall, bW as isEntityReference, bX as isEntityReferenceAny, bY as isImportedTraitRef, bZ as isOrbitalDefinition, b_ as isPageReference, b$ as isPageReferenceObject, c0 as isPageReferenceString, c1 as isThemeReference, c2 as parseEntityRef, c3 as parseImportedTraitRef, c4 as parseOrbitalSchema, c5 as parsePageRef, c6 as safeParseOrbitalSchema } from '../builders-
|
|
3
|
-
import { E as EntityField, a as EntityPersistence,
|
|
4
|
-
export {
|
|
5
|
-
import {
|
|
6
|
-
export { C as CORE_BINDINGS,
|
|
1
|
+
import { M as MakeTraitRefOpts, b4 as PageTraitRef, O as OrbitalSchema, a6 as EventWiringEntry, aq as LayoutStrategy, bi as ThemeDefinition, a7 as Orbital, aZ as Page, K as DomainContext, a as OrbitalDefinition } from '../builders-CeDAKf9u.js';
|
|
2
|
+
export { A as AGENT_DOMAIN_CATEGORIES, b as ALLOWED_CUSTOM_COMPONENTS, c as AgentDomainCategory, d as AgentDomainCategorySchema, e as AllowedCustomComponent, C as ColorSlice, f as ColorSliceSchema, g as ColorTokens, h 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, E as DesignPreferencesSchema, F as DesignTokens, G as DesignTokensInput, H as DesignTokensSchema, I as DomainCategory, J as DomainCategorySchema, L as DomainContextInput, N as DomainContextSchema, P as DomainVocabulary, Q as DomainVocabularySchema, R as ElevationSlice, S as ElevationSliceSchema, T as ElevationTokens, U as ElevationTokensSchema, V as EntityCall, W as EntityCallSchema, X as EntityRef, Y as EntityRefSchema, Z as EntityRefStringSchema, _ as EntitySemanticRole, $ as EntitySemanticRoleSchema, a0 as EventListener, a1 as EventListenerSchema, a2 as EventSemanticRole, a3 as EventSemanticRoleSchema, a4 as EventSource, a5 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, ar as MotionDurationKey, as as MotionDurationKeySchema, at as MotionDurationPalette, au as MotionDurationPaletteSchema, av as MotionEasingKey, aw as MotionEasingKeySchema, ax as MotionEasingPalette, ay as MotionEasingPaletteSchema, az as MotionIntent, aA as MotionIntentMap, aB as MotionIntentMapSchema, aC as MotionIntentSchema, aD as MotionSlice, aE as MotionSliceSchema, aF as MotionTokens, aG as MotionTokensSchema, aH as NodeClassification, aI as NodeClassificationSchema, aJ as OrbitalConfig, aK as OrbitalConfigInput, aL as OrbitalConfigSchema, aM as OrbitalDefinitionSchema, aN as OrbitalInput, aO as OrbitalPage, aP as OrbitalPageInput, aQ as OrbitalPageSchema, aR as OrbitalPageStrictInput, aS as OrbitalPageStrictSchema, aT as OrbitalSchemaInput, aU as OrbitalSchemaSchema, aV as OrbitalSchemaWithTraits, aW as OrbitalUnit, aX as OrbitalUnitSchema, aY as OrbitalZodSchema, a_ as PageRef, a$ as PageRefObject, b0 as PageRefObjectSchema, b1 as PageRefSchema, b2 as PageRefStringSchema, b3 as PageSchema, b5 as PageTraitRefSchema, b6 as RelatedLink, b7 as RelatedLinkSchema, b8 as SchemaMetadata, b9 as SchemaMetadataSchema, ba as SkinSpec, bb as SkinSpecSchema, bc as SpacingScale, bd as SpacingScaleSchema, be as StateSemanticRole, bf as StateSemanticRoleSchema, bg as SuggestedGuard, bh as SuggestedGuardSchema, bj as ThemeDefinitionSchema, bk as ThemeRef, bl as ThemeRefSchema, bm as ThemeRefStringSchema, bn as ThemeTokens, bo as ThemeTokensSchema, bp as ThemeVariant, bq as ThemeVariantSchema, br as TypeIntent, bs as TypeIntentMap, bt as TypeIntentMapSchema, bu as TypeIntentSchema, bv as TypeScale, bw as TypeScaleEntry, bx as TypeScaleEntrySchema, by as TypeScaleSchema, bz as TypeScaleTokens, bA as TypeScaleTokensSchema, bB as TypeSizeKey, bC as TypeSizeKeySchema, bD as TypeSlice, bE as TypeSliceSchema, bF as TypeSlot, bG as TypeSlotSchema, bH as TypeWeight, bI as TypeWeightSchema, bJ as UXHints, bK as UXHintsSchema, bL as UseDeclaration, bM as UseDeclarationSchema, bN as UserPersona, bO as UserPersonaInput, bP as UserPersonaSchema, bQ as ViewType, bR as ViewTypeSchema, bV as isEntityCall, bW as isEntityReference, bX as isEntityReferenceAny, bY as isImportedTraitRef, bZ as isOrbitalDefinition, b_ as isPageReference, b$ as isPageReferenceObject, c0 as isPageReferenceString, c1 as isThemeReference, c2 as parseEntityRef, c3 as parseImportedTraitRef, c4 as parseOrbitalSchema, c5 as parsePageRef, c6 as safeParseOrbitalSchema } from '../builders-CeDAKf9u.js';
|
|
3
|
+
import { E as EntityField, a as EntityPersistence, F as FieldValue, c as Entity, b as EntityRow, A as AnyPatternConfig } from '../pattern-types-CEZfJqGr.js';
|
|
4
|
+
export { d as ANIMATION_NAMES, e as ASSET_ASPECTS, f as ASSET_DIMENSIONS, g as AnimationDef, h as AnimationDefInput, i as AnimationDefSchema, j as AnimationName, k as AnimationNameSchema, l as ArrayEntityField, m as Asset, n as AssetAspect, o as AssetAspectSchema, p as AssetCatalog, q as AssetCatalogEntry, r as AssetCatalogEntryInput, s as AssetCatalogEntrySchema, t as AssetCatalogSchema, u as AssetDimension, v as AssetDimensionSchema, w as AssetSchema, x as AssetUrl, C as CAMERA_MODES, y as Camera, z as CameraMode, B as CameraModeSchema, D as CameraSchema, G as ENTITY_ROLES, H as EntityData, I as EntityFieldInput, J as EntityFieldSchema, K as EntityPersistenceSchema, L as EntityRole, M as EntityRoleSchema, N as EntitySchema, O as EntityWith, P as EnumEntityField, Q as Field, S as FieldFormat, T as FieldFormatSchema, U as FieldSchema, V as FieldType, W as FieldTypeSchema, X as OrbitalEntity, Y as OrbitalEntityInput, Z as OrbitalEntitySchema, _ as PATTERN_TYPES, $ as PatternConfig, a2 as PatternType, R as RelationConfig, a3 as RelationConfigSchema, a4 as RelationEntityField, a5 as SPRITE_DIRECTIONS, a6 as ScalarEntityField, a7 as ScenePos, a8 as ScenePosSchema, a9 as SemanticAssetRef, aa as SemanticAssetRefInput, ab as SemanticAssetRefSchema, ac as SpriteDirection, ad as SpriteDirectionSchema, ae as SpriteSheetAtlas, af as SpriteSheetAtlasInput, ag as SpriteSheetAtlasSchema, ah as SubTexture, ai as SubTextureSchema, aj as TextureAtlas, ak as TextureAtlasSchema, al as Tilesheet, am as TilesheetSchema, an as VISUAL_STYLES, ao as VisualStyle, ap as VisualStyleSchema, aq as createAssetKey, ar as deriveCollection, as as getDefaultAnimationsForRole, at as isFieldValue, au as isRuntimeEntity, av as isValidPatternType, aw as parseAssetKey, ax as persistenceModeAllowsOverrides, ay as validateAssetAnimations } from '../pattern-types-CEZfJqGr.js';
|
|
5
|
+
import { d as EventPayloadValue, E as EventPayload, L as LogMeta, S as SExpr, c as EvalContext } from '../expression-C6X4A8L7.js';
|
|
6
|
+
export { C as CORE_BINDINGS, b as CoreBinding, a 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 isEventPayloadValue, p as isSExpr, q as isSExprAtom, r as isSExprCall, s as isValidBinding, t as parseBinding, u as sexpr, w as walkSExpr } from '../expression-C6X4A8L7.js';
|
|
7
7
|
import { z } from 'zod';
|
|
8
|
-
import {
|
|
9
|
-
export {
|
|
10
|
-
import {
|
|
11
|
-
export {
|
|
8
|
+
import { a as TraitReference, am as ServiceParams, c as Trait, D as DeclaredTraitConfig, aL as TraitConfig, E as Effect, i as ConfigFieldDeclaration, S as State, b4 as Transition, w as Event, aO as TraitConfigValue, aJ as TraitCategory, bJ as TraitScope } from '../trait-CSaCYNJl.js';
|
|
9
|
+
export { A as AgentEffect, d as AtomicEffect, e as CallServiceConfig, f as CallServiceEffect, C as CallSiteConfig, b as CallSiteConfigEntry, g as CheckpointLoadEffect, h as CheckpointSaveEffect, j as ConfigFieldDeclarationSchema, k as DeclaredTraitConfigSchema, l as DerefEffect, m as DespawnEffect, n as DoEffect, o as EffectInput, p as EffectSchema, q as EmitConfig, r as EmitEffect, s as EntityFieldContract, t as EntityFieldContractSchema, u as EvaluateConfig, v as EvaluateEffect, x as EventInput, y as EventPayloadField, z as EventPayloadFieldSchema, B as EventSchema, F as EventScope, G as EventScopeSchema, H as FetchEffect, I as FetchOptions, J as FetchResult, K as ForwardConfig, L as ForwardEffect, M as Guard, N as GuardInput, O as GuardSchema, P as ListenSource, Q as ListenSourceSchema, R as LogEffect, U as McpServiceDef, V as McpServiceDefSchema, W as NavigateEffect, X as NnConfig, Y as NnLayer, Z as NotifyEffect, _ as OrbitalTraitRef, $ as OrbitalTraitRefSchema, a0 as OsEffect, a1 as PayloadField, a2 as PayloadFieldSchema, a3 as PersistData, a4 as PersistEffect, a5 as PersistEmitConfig, a6 as PresentationType, a7 as RefEffect, a8 as RenderBinding, a9 as RenderItemLambda, aa as RenderUIEffect, ab as RenderUINode, ac as RequiredField, ad as RequiredFieldSchema, ae as ResolvedPatternProps, af as RestAuthConfig, ag as RestAuthConfigSchema, ah as RestServiceDef, ai as RestServiceDefSchema, aj as SERVICE_TYPES, ak as ServiceDefinition, al as ServiceDefinitionSchema, an as ServiceParamsValue, ao as ServiceRef, ap as ServiceRefObject, aq as ServiceRefObjectSchema, ar as ServiceRefSchema, as as ServiceRefStringSchema, at as ServiceType, au as ServiceTypeSchema, av as SetEffect, aw as SocketEvents, ax as SocketEventsSchema, ay as SocketServiceDef, az as SocketServiceDefSchema, aA as SpawnEffect, aB as StateInput, aC as StateMachine, aD as StateMachineInput, aE as StateMachineSchema, aF as StateSchema, aG as SwapEffect, aH as TrainConfig, aI as TrainEffect, aK as TraitCategorySchema, aM as TraitConfigObject, aN as TraitConfigSchema, aP as TraitConfigValueSchema, aQ as TraitDataEntity, aR as TraitDataEntitySchema, aS as TraitEntityField, aT as TraitEntityFieldSchema, aU as TraitEventContract, aV as TraitEventContractSchema, T as TraitEventListener, aW as TraitEventListenerSchema, aX as TraitInput, aY as TraitRef, aZ as TraitRefSchema, a_ as TraitReferenceInput, a$ as TraitReferenceSchema, b0 as TraitSchema, b1 as TraitTick, b2 as TraitTickSchema, b3 as TraitUIBinding, b5 as TransitionInput, b6 as TransitionSchema, b7 as TypedEffect, b8 as UISlot, b9 as UISlotSchema, ba as UI_SLOTS, bb as WatchEffect, bc as WatchOptions, bd as atomic, be as callService, bf as deref, bg as despawn, bh as doEffects, bi as emit, bj as findService, bk as getServiceNames, bl as getTraitConfig, bm as getTraitName, bn as hasService, bo as isCallSiteConfigDeclaration, bp as isCircuitEvent, bq as isEffect, br as isInlineTrait, bs as isMcpService, bt as isRestService, bu as isSExprEffect, bv as isServiceReference, bw as isServiceReferenceObject, bx as isSocketService, by as navigate, bz as normalizeTraitRef, bA as notify, bB as parseServiceRef, bC as persist, bD as ref, bE as renderUI, bF as set, bG as spawn, bH as swap, bI as watch } from '../trait-CSaCYNJl.js';
|
|
10
|
+
import { s as TraitOverlay, R as RuleOverlay, J as JsonValue, o as JsonSchema, n as JsonObject, T as ToolArgs, c as FactoryConfigTier } from '../types-BFgbJ7BM.js';
|
|
11
|
+
export { v as isJsonArray, w as isJsonObject, x as isJsonPrimitive } from '../types-BFgbJ7BM.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* S-Expression Bindings
|
|
@@ -946,18 +946,18 @@ declare const InteractionModelSchema: z.ZodObject<{
|
|
|
946
946
|
}, "strip", z.ZodTypeAny, {
|
|
947
947
|
createFlow: "modal" | "none" | "inline" | "page";
|
|
948
948
|
editFlow: "modal" | "none" | "inline" | "page";
|
|
949
|
-
viewFlow: "
|
|
949
|
+
viewFlow: "drawer" | "modal" | "none" | "inline" | "page";
|
|
950
950
|
deleteFlow: "none" | "instant" | "confirm";
|
|
951
|
-
listInteraction?: "click-to-view" | "click-to-edit" | "inline-edit" | undefined;
|
|
952
951
|
bulkActions?: boolean | undefined;
|
|
952
|
+
listInteraction?: "click-to-view" | "click-to-edit" | "inline-edit" | undefined;
|
|
953
953
|
realtime?: boolean | undefined;
|
|
954
954
|
}, {
|
|
955
955
|
createFlow: "modal" | "none" | "inline" | "page";
|
|
956
956
|
editFlow: "modal" | "none" | "inline" | "page";
|
|
957
|
-
viewFlow: "
|
|
957
|
+
viewFlow: "drawer" | "modal" | "none" | "inline" | "page";
|
|
958
958
|
deleteFlow: "none" | "instant" | "confirm";
|
|
959
|
-
listInteraction?: "click-to-view" | "click-to-edit" | "inline-edit" | undefined;
|
|
960
959
|
bulkActions?: boolean | undefined;
|
|
960
|
+
listInteraction?: "click-to-view" | "click-to-edit" | "inline-edit" | undefined;
|
|
961
961
|
realtime?: boolean | undefined;
|
|
962
962
|
}>;
|
|
963
963
|
/**
|
|
@@ -984,7 +984,7 @@ type InteractionModelInput = z.input<typeof InteractionModelSchema>;
|
|
|
984
984
|
/**
|
|
985
985
|
* Pattern Type for Orbital Units
|
|
986
986
|
*
|
|
987
|
-
* Re-exports pattern type definitions from @almadar/patterns,
|
|
987
|
+
* Re-exports pattern type definitions from @almadar/core/patterns,
|
|
988
988
|
* which is the single source of truth for all pattern types.
|
|
989
989
|
*
|
|
990
990
|
* @packageDocumentation
|
|
@@ -995,20 +995,6 @@ type InteractionModelInput = z.input<typeof InteractionModelSchema>;
|
|
|
995
995
|
* Accepts any string - validation against full registry happens at runtime.
|
|
996
996
|
*/
|
|
997
997
|
declare const PatternTypeSchema: z.ZodString;
|
|
998
|
-
/**
|
|
999
|
-
* Get all valid pattern types from the registry.
|
|
1000
|
-
*
|
|
1001
|
-
* Returns a complete list of pattern type names from the canonical
|
|
1002
|
-
* @almadar/patterns registry. Use this to iterate over or validate
|
|
1003
|
-
* pattern types programmatically.
|
|
1004
|
-
*
|
|
1005
|
-
* @returns {string[]} Array of pattern type names
|
|
1006
|
-
*
|
|
1007
|
-
* @example
|
|
1008
|
-
* const types = getAllPatternTypes();
|
|
1009
|
-
* // Returns: ['data-table', 'detail-view', 'form-section', ...]
|
|
1010
|
-
*/
|
|
1011
|
-
declare function getAllPatternTypes(): string[];
|
|
1012
998
|
|
|
1013
999
|
/**
|
|
1014
1000
|
* Changeset & Snapshot Types
|
|
@@ -2814,4 +2800,4 @@ interface ParsedDesign {
|
|
|
2814
2800
|
};
|
|
2815
2801
|
}
|
|
2816
2802
|
|
|
2817
|
-
export { type AgentCodeSearchResult, type AgentCompactResult, type AgentCompactStrategy, type AgentContext, type AgentGenerateOptions, type AgentMemoryCategory, type AgentMemoryRecord, type AnalysisOrbital, type AnalysisOrbitalParams, type AnalysisPageOverride, type AnalysisRename, type AnalysisResult, type AnnotationTier, type AppCreatedEvent, OrbitalSchema as AppSchema, type AppSummary, type AssetLoadStatus, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, type BindingContext, type BindingRoot, BindingSchema, type BridgeHealth, type BuilderResult, type BusEvent, type BusEventListener, type BusEventSource, type CancelledEvent, type CategorizedRemovals, type ChangeAuthor, type ChangeSetDocument, type ChangeSummary, type ChangesetRecordedEvent, type ChangesetValue, type CheckStatus, type Clarification, type ClarificationCandidate, type ClarificationLevel, type CompleteEvent, type ComplexityAssessment, type ComposeAllResult, type ComposeChildrenResult, type ComposeOptions, ConfigFieldDeclaration, type ContextExtensions, type CreateFlow, DEFAULT_INTERACTION_MODELS, DeclaredTraitConfig, type DeleteFlow, type DispatchUpdatesResult, DomainContext, type EdgeType, type EditFlow, Effect, type EffectPayload, type EffectResult, type EffectTrace, Entity, EntityField, EntityPersistence, EntityRow, type ErrorEvent, EvalContext, Event, type EventEmit, type EventKey, type EventListen, type EventLogEntry, EventPayload, EventPayloadValue, type EvolutionDelta, type ExecutePlanResult, type ExtraTraitRef, FieldValue, type FileOperationEvent, type FileWrittenEvent, Orbital as FullOrbitalUnit, type GateState, type GenerationLogEvent, type GitHubIssue, type GitHubLink, type GitHubRepo, type HistoryMeta, type IntegrationContext, type InteractionModel, type InteractionModelInput, InteractionModelSchema, type InterruptEvent, JsonObject, JsonValue, 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, type LlmCallToolsResult, type LlmContext, type LlmMessage, type LlmTokenUsage, type LlmToolCall, type LlmToolDef, LogMeta, type LoloEmitResult, type MemoryContext, type MessageEvent, Orbital, type OrbitalAddedEvent, OrbitalDefinition, OrbitalSchema, type OrbitalSchemaCompleteEvent, type OrbitalVerificationAPI, Page, type PageContentReduction, PageTraitRef, type ParamsRepairEmittedEvent, 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 PlanSnapshot, type PlanSnapshotStatus, type PlannerResult, type Probability, type ProcessCompleteEvent, type ProcessErrorEvent, type ProcessRepairCompleteEvent, type ProcessRepairEvent, type ProcessStartEvent, type RepairResult, 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 SSEEvent, type SSEEventBase, type SSEEventType, type SaveOptions, type SaveResult, type SchemaChange, type SchemaPhaseUpdateEvent, type SchemaPhaseValidatedEvent, type SchemaUpdateEvent, type SemanticAnnotation, type SemanticChangeKind, type SemanticSchemaChange, type SemanticVector, type ServerResponseTrace, type ServiceAction, type ServiceActionName, type ServiceCallResult, type ServiceContract, type ServiceEvents, ServiceParams, type SessionContext, type SessionHistoryEntry, type SnapshotCreatedEvent, type SnapshotDocument, type SpawnResult, type StartEvent, State, type StatsView, type StoreContract, type StoreFilter, type StoreFilterOp, type SubagentCompleteEvent, type SubagentEvent, type SubagentProgressEvent, type SubagentStartEvent, ThemeDefinition, type TodoActivityType, type TodoDetailEvent, type TodoUpdateEvent, ToolArgs, type ToolCallEvent, type ToolResultEvent, type TraceContext, Trait, TraitCategory, TraitConfig, TraitConfigValue, type TraitFieldRef, TraitFieldRefSchema, TraitReference, type TraitStateSnapshot, Transition, type TransitionFrom, type TransitionTrace, type Unsubscribe, type ValidateResult, 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, type WorkspaceContext, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus,
|
|
2803
|
+
export { type AgentCodeSearchResult, type AgentCompactResult, type AgentCompactStrategy, type AgentContext, type AgentGenerateOptions, type AgentMemoryCategory, type AgentMemoryRecord, type AnalysisOrbital, type AnalysisOrbitalParams, type AnalysisPageOverride, type AnalysisRename, type AnalysisResult, type AnnotationTier, type AppCreatedEvent, OrbitalSchema as AppSchema, type AppSummary, type AssetLoadStatus, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, type BindingContext, type BindingRoot, BindingSchema, type BridgeHealth, type BuilderResult, type BusEvent, type BusEventListener, type BusEventSource, type CancelledEvent, type CategorizedRemovals, type ChangeAuthor, type ChangeSetDocument, type ChangeSummary, type ChangesetRecordedEvent, type ChangesetValue, type CheckStatus, type Clarification, type ClarificationCandidate, type ClarificationLevel, type CompleteEvent, type ComplexityAssessment, type ComposeAllResult, type ComposeChildrenResult, type ComposeOptions, ConfigFieldDeclaration, type ContextExtensions, type CreateFlow, DEFAULT_INTERACTION_MODELS, DeclaredTraitConfig, type DeleteFlow, type DispatchUpdatesResult, DomainContext, type EdgeType, type EditFlow, Effect, type EffectPayload, type EffectResult, type EffectTrace, Entity, EntityField, EntityPersistence, EntityRow, type ErrorEvent, EvalContext, Event, type EventEmit, type EventKey, type EventListen, type EventLogEntry, EventPayload, EventPayloadValue, type EvolutionDelta, type ExecutePlanResult, type ExtraTraitRef, FieldValue, type FileOperationEvent, type FileWrittenEvent, Orbital as FullOrbitalUnit, type GateState, type GenerationLogEvent, type GitHubIssue, type GitHubLink, type GitHubRepo, type HistoryMeta, type IntegrationContext, type InteractionModel, type InteractionModelInput, InteractionModelSchema, type InterruptEvent, JsonObject, JsonValue, 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, type LlmCallToolsResult, type LlmContext, type LlmMessage, type LlmTokenUsage, type LlmToolCall, type LlmToolDef, LogMeta, type LoloEmitResult, type MemoryContext, type MessageEvent, Orbital, type OrbitalAddedEvent, OrbitalDefinition, OrbitalSchema, type OrbitalSchemaCompleteEvent, type OrbitalVerificationAPI, Page, type PageContentReduction, PageTraitRef, type ParamsRepairEmittedEvent, 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 PlanSnapshot, type PlanSnapshotStatus, type PlannerResult, type Probability, type ProcessCompleteEvent, type ProcessErrorEvent, type ProcessRepairCompleteEvent, type ProcessRepairEvent, type ProcessStartEvent, type RepairResult, 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 SSEEvent, type SSEEventBase, type SSEEventType, type SaveOptions, type SaveResult, type SchemaChange, type SchemaPhaseUpdateEvent, type SchemaPhaseValidatedEvent, type SchemaUpdateEvent, type SemanticAnnotation, type SemanticChangeKind, type SemanticSchemaChange, type SemanticVector, type ServerResponseTrace, type ServiceAction, type ServiceActionName, type ServiceCallResult, type ServiceContract, type ServiceEvents, ServiceParams, type SessionContext, type SessionHistoryEntry, type SnapshotCreatedEvent, type SnapshotDocument, type SpawnResult, type StartEvent, State, type StatsView, type StoreContract, type StoreFilter, type StoreFilterOp, type SubagentCompleteEvent, type SubagentEvent, type SubagentProgressEvent, type SubagentStartEvent, ThemeDefinition, type TodoActivityType, type TodoDetailEvent, type TodoUpdateEvent, ToolArgs, type ToolCallEvent, type ToolResultEvent, type TraceContext, Trait, TraitCategory, TraitConfig, TraitConfigValue, type TraitFieldRef, TraitFieldRefSchema, TraitReference, type TraitStateSnapshot, Transition, type TransitionFrom, type TransitionTrace, type Unsubscribe, type ValidateResult, 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, type WorkspaceContext, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, getBindingExamples, getInteractionModelForDomain, inferTsType, isKnownValidationErrorCode, isPlanSnapshot, isResolvedIR, isSessionHistoryEntry, isTraitFieldRef, toBindingRoot, validateBindingInContext, widenTier };
|
package/dist/types/index.js
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { PATTERN_TYPES } from '@almadar/patterns';
|
|
3
|
-
export { PATTERN_TYPES, isValidPatternType } from '@almadar/patterns';
|
|
4
2
|
|
|
5
3
|
// src/types/orbital.ts
|
|
6
4
|
var FieldTypeSchema = z.enum([
|
|
@@ -1728,11 +1726,278 @@ var DEFAULT_INTERACTION_MODELS = {
|
|
|
1728
1726
|
function getInteractionModelForDomain(domain) {
|
|
1729
1727
|
return DEFAULT_INTERACTION_MODELS[domain] ?? DEFAULT_INTERACTION_MODELS.business;
|
|
1730
1728
|
}
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1729
|
+
|
|
1730
|
+
// src/patterns/pattern-types.ts
|
|
1731
|
+
var PATTERN_TYPES = [
|
|
1732
|
+
"about-page-template",
|
|
1733
|
+
"accordion",
|
|
1734
|
+
"action-palette",
|
|
1735
|
+
"action-tile",
|
|
1736
|
+
"activation-block",
|
|
1737
|
+
"alert",
|
|
1738
|
+
"algorithm-canvas",
|
|
1739
|
+
"animated-counter",
|
|
1740
|
+
"animated-graphic",
|
|
1741
|
+
"animated-reveal",
|
|
1742
|
+
"article-section",
|
|
1743
|
+
"aside",
|
|
1744
|
+
"atlas-image",
|
|
1745
|
+
"atlas-panel",
|
|
1746
|
+
"auth-layout",
|
|
1747
|
+
"avatar",
|
|
1748
|
+
"badge",
|
|
1749
|
+
"behavior-view",
|
|
1750
|
+
"biology-canvas",
|
|
1751
|
+
"bloom-quiz-block",
|
|
1752
|
+
"book-chapter-view",
|
|
1753
|
+
"book-cover-page",
|
|
1754
|
+
"book-nav-bar",
|
|
1755
|
+
"book-table-of-contents",
|
|
1756
|
+
"book-viewer",
|
|
1757
|
+
"box",
|
|
1758
|
+
"branching-logic-builder",
|
|
1759
|
+
"breadcrumb",
|
|
1760
|
+
"button",
|
|
1761
|
+
"calendar-grid",
|
|
1762
|
+
"canvas",
|
|
1763
|
+
"canvas-2d",
|
|
1764
|
+
"card",
|
|
1765
|
+
"carousel",
|
|
1766
|
+
"case-study-card",
|
|
1767
|
+
"case-study-organism",
|
|
1768
|
+
"center",
|
|
1769
|
+
"chart",
|
|
1770
|
+
"chart-legend",
|
|
1771
|
+
"chat-bar",
|
|
1772
|
+
"checkbox",
|
|
1773
|
+
"chemistry-canvas",
|
|
1774
|
+
"choice-button",
|
|
1775
|
+
"code-block",
|
|
1776
|
+
"code-runner-panel",
|
|
1777
|
+
"community-links",
|
|
1778
|
+
"conditional-wrapper",
|
|
1779
|
+
"confetti-effect",
|
|
1780
|
+
"confirm-dialog",
|
|
1781
|
+
"connection-block",
|
|
1782
|
+
"container",
|
|
1783
|
+
"content-renderer",
|
|
1784
|
+
"content-section",
|
|
1785
|
+
"control-button",
|
|
1786
|
+
"control-grid",
|
|
1787
|
+
"counter-template",
|
|
1788
|
+
"cta-banner",
|
|
1789
|
+
"dashboard-grid",
|
|
1790
|
+
"dashboard-layout",
|
|
1791
|
+
"data-grid",
|
|
1792
|
+
"data-list",
|
|
1793
|
+
"date-range-picker",
|
|
1794
|
+
"date-range-selector",
|
|
1795
|
+
"day-cell",
|
|
1796
|
+
"detail-panel",
|
|
1797
|
+
"dialog",
|
|
1798
|
+
"dialogue-bubble",
|
|
1799
|
+
"divider",
|
|
1800
|
+
"doc-breadcrumb",
|
|
1801
|
+
"doc-pagination",
|
|
1802
|
+
"doc-search",
|
|
1803
|
+
"doc-sidebar",
|
|
1804
|
+
"doc-toc",
|
|
1805
|
+
"document-viewer",
|
|
1806
|
+
"draw-shape",
|
|
1807
|
+
"draw-shape-layer",
|
|
1808
|
+
"draw-sprite",
|
|
1809
|
+
"draw-sprite-layer",
|
|
1810
|
+
"draw-text",
|
|
1811
|
+
"draw-text-layer",
|
|
1812
|
+
"drawer",
|
|
1813
|
+
"drawer-slot",
|
|
1814
|
+
"edge-decoration",
|
|
1815
|
+
"empty-state",
|
|
1816
|
+
"entity-cards",
|
|
1817
|
+
"entity-list",
|
|
1818
|
+
"entity-table",
|
|
1819
|
+
"error-boundary",
|
|
1820
|
+
"error-state",
|
|
1821
|
+
"feature-card",
|
|
1822
|
+
"feature-detail-page-template",
|
|
1823
|
+
"feature-grid",
|
|
1824
|
+
"feature-grid-organism",
|
|
1825
|
+
"file-tree",
|
|
1826
|
+
"filter-group",
|
|
1827
|
+
"filter-pill",
|
|
1828
|
+
"flex",
|
|
1829
|
+
"flip-card",
|
|
1830
|
+
"flip-container",
|
|
1831
|
+
"floating-action-button",
|
|
1832
|
+
"form",
|
|
1833
|
+
"form-actions",
|
|
1834
|
+
"form-field",
|
|
1835
|
+
"form-layout",
|
|
1836
|
+
"form-section",
|
|
1837
|
+
"form-section-header",
|
|
1838
|
+
"game-audio-toggle",
|
|
1839
|
+
"game-hud",
|
|
1840
|
+
"game-icon",
|
|
1841
|
+
"game-menu",
|
|
1842
|
+
"game-shell",
|
|
1843
|
+
"generic-app-template",
|
|
1844
|
+
"geometric-pattern",
|
|
1845
|
+
"gradient-divider",
|
|
1846
|
+
"graph-canvas",
|
|
1847
|
+
"graph-view",
|
|
1848
|
+
"grid",
|
|
1849
|
+
"header",
|
|
1850
|
+
"health-bar",
|
|
1851
|
+
"hero-organism",
|
|
1852
|
+
"hero-section",
|
|
1853
|
+
"hstack",
|
|
1854
|
+
"icon",
|
|
1855
|
+
"infinite-scroll-sentinel",
|
|
1856
|
+
"input",
|
|
1857
|
+
"input-group",
|
|
1858
|
+
"install-box",
|
|
1859
|
+
"jazari-state-machine",
|
|
1860
|
+
"label",
|
|
1861
|
+
"landing-page-template",
|
|
1862
|
+
"law-reference-tooltip",
|
|
1863
|
+
"learning-canvas",
|
|
1864
|
+
"lightbox",
|
|
1865
|
+
"likert-scale",
|
|
1866
|
+
"line-chart",
|
|
1867
|
+
"loading-state",
|
|
1868
|
+
"map-view",
|
|
1869
|
+
"markdown-content",
|
|
1870
|
+
"marketing-footer",
|
|
1871
|
+
"marketing-stat-card",
|
|
1872
|
+
"master-detail",
|
|
1873
|
+
"master-detail-layout",
|
|
1874
|
+
"math-canvas",
|
|
1875
|
+
"matrix-question",
|
|
1876
|
+
"media-gallery",
|
|
1877
|
+
"menu",
|
|
1878
|
+
"meter",
|
|
1879
|
+
"modal",
|
|
1880
|
+
"modal-slot",
|
|
1881
|
+
"module-card",
|
|
1882
|
+
"navigation",
|
|
1883
|
+
"notification",
|
|
1884
|
+
"number-stepper",
|
|
1885
|
+
"option-constraint-group",
|
|
1886
|
+
"orbital-visualization",
|
|
1887
|
+
"overlay",
|
|
1888
|
+
"page-header",
|
|
1889
|
+
"pagination",
|
|
1890
|
+
"pattern-tile",
|
|
1891
|
+
"physics-canvas",
|
|
1892
|
+
"popover",
|
|
1893
|
+
"positioned-canvas",
|
|
1894
|
+
"pricing-card",
|
|
1895
|
+
"pricing-grid",
|
|
1896
|
+
"pricing-organism",
|
|
1897
|
+
"pricing-page-template",
|
|
1898
|
+
"progress-bar",
|
|
1899
|
+
"progress-dots",
|
|
1900
|
+
"pull-quote",
|
|
1901
|
+
"pull-to-refresh",
|
|
1902
|
+
"qr-scanner",
|
|
1903
|
+
"quiz-block",
|
|
1904
|
+
"radio",
|
|
1905
|
+
"range-slider",
|
|
1906
|
+
"reflection-block",
|
|
1907
|
+
"relation-select",
|
|
1908
|
+
"repeatable-form-section",
|
|
1909
|
+
"reply-tree",
|
|
1910
|
+
"rich-block-editor",
|
|
1911
|
+
"runtime-debugger",
|
|
1912
|
+
"scaled-diagram",
|
|
1913
|
+
"score-display",
|
|
1914
|
+
"search-input",
|
|
1915
|
+
"section",
|
|
1916
|
+
"section-header",
|
|
1917
|
+
"segment-renderer",
|
|
1918
|
+
"select",
|
|
1919
|
+
"sequence-bar",
|
|
1920
|
+
"service-catalog",
|
|
1921
|
+
"showcase-card",
|
|
1922
|
+
"showcase-organism",
|
|
1923
|
+
"side-panel",
|
|
1924
|
+
"sidebar",
|
|
1925
|
+
"signature-pad",
|
|
1926
|
+
"simple-grid",
|
|
1927
|
+
"skeleton",
|
|
1928
|
+
"social-proof",
|
|
1929
|
+
"sortable-list",
|
|
1930
|
+
"spacer",
|
|
1931
|
+
"sparkline",
|
|
1932
|
+
"spinner",
|
|
1933
|
+
"split",
|
|
1934
|
+
"split-pane",
|
|
1935
|
+
"split-section",
|
|
1936
|
+
"stack",
|
|
1937
|
+
"star-rating",
|
|
1938
|
+
"stat-badge",
|
|
1939
|
+
"stat-card",
|
|
1940
|
+
"stat-display",
|
|
1941
|
+
"state-graph",
|
|
1942
|
+
"state-json-view",
|
|
1943
|
+
"state-machine-view",
|
|
1944
|
+
"stats-grid",
|
|
1945
|
+
"stats-organism",
|
|
1946
|
+
"status-dot",
|
|
1947
|
+
"step-flow",
|
|
1948
|
+
"step-flow-organism",
|
|
1949
|
+
"subagent-trace-panel",
|
|
1950
|
+
"svg-branch",
|
|
1951
|
+
"svg-connection",
|
|
1952
|
+
"svg-flow",
|
|
1953
|
+
"svg-grid",
|
|
1954
|
+
"svg-lobe",
|
|
1955
|
+
"svg-mesh",
|
|
1956
|
+
"svg-morph",
|
|
1957
|
+
"svg-node",
|
|
1958
|
+
"svg-pulse",
|
|
1959
|
+
"svg-ring",
|
|
1960
|
+
"svg-shield",
|
|
1961
|
+
"svg-stack",
|
|
1962
|
+
"swipeable-row",
|
|
1963
|
+
"switch",
|
|
1964
|
+
"tabbed-container",
|
|
1965
|
+
"table-view",
|
|
1966
|
+
"tabs",
|
|
1967
|
+
"tag-cloud",
|
|
1968
|
+
"tag-input",
|
|
1969
|
+
"team-card",
|
|
1970
|
+
"team-organism",
|
|
1971
|
+
"text-highlight",
|
|
1972
|
+
"textarea",
|
|
1973
|
+
"theme-toggle",
|
|
1974
|
+
"time-slot-cell",
|
|
1975
|
+
"timeline",
|
|
1976
|
+
"timer-display",
|
|
1977
|
+
"toast-slot",
|
|
1978
|
+
"tooltip",
|
|
1979
|
+
"trait-frame",
|
|
1980
|
+
"trait-slot",
|
|
1981
|
+
"trend-indicator",
|
|
1982
|
+
"typewriter-text",
|
|
1983
|
+
"typography",
|
|
1984
|
+
"ui-slot-renderer",
|
|
1985
|
+
"upload-drop-zone",
|
|
1986
|
+
"version-diff",
|
|
1987
|
+
"violation-alert",
|
|
1988
|
+
"vote-stack",
|
|
1989
|
+
"vstack",
|
|
1990
|
+
"wizard-container",
|
|
1991
|
+
"wizard-navigation",
|
|
1992
|
+
"wizard-progress"
|
|
1993
|
+
];
|
|
1994
|
+
function isValidPatternType(type) {
|
|
1995
|
+
return PATTERN_TYPES.includes(type);
|
|
1734
1996
|
}
|
|
1735
1997
|
|
|
1998
|
+
// src/types/pattern.ts
|
|
1999
|
+
var PatternTypeSchema = z.string();
|
|
2000
|
+
|
|
1736
2001
|
// src/service-types.ts
|
|
1737
2002
|
function createTypedEventBus(bus) {
|
|
1738
2003
|
return {
|
|
@@ -2016,6 +2281,6 @@ function widenTier(tier) {
|
|
|
2016
2281
|
return tier;
|
|
2017
2282
|
}
|
|
2018
2283
|
|
|
2019
|
-
export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ANIMATION_NAMES, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AnimationNameSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CAMERA_MODES, CORE_BINDINGS, CameraModeSchema, CameraSchema, 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, GameSubCategorySchema, 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, RestAuthConfigSchema, RestServiceDefSchema, SERVICE_TYPES, SExprAtomSchema, SExprSchema, SPRITE_DIRECTIONS, ScenePosSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, SpriteDirectionSchema, SpriteSheetAtlasSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SubTextureSchema, SuggestedGuardSchema, TextureAtlasSchema, ThemeDefinitionSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TilesheetSchema, 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,
|
|
2284
|
+
export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ANIMATION_NAMES, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AnimationNameSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CAMERA_MODES, CORE_BINDINGS, CameraModeSchema, CameraSchema, 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, GameSubCategorySchema, 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, PATTERN_TYPES, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PatternTypeSchema, PayloadFieldSchema, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, RestAuthConfigSchema, RestServiceDefSchema, SERVICE_TYPES, SExprAtomSchema, SExprSchema, SPRITE_DIRECTIONS, ScenePosSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, SpriteDirectionSchema, SpriteSheetAtlasSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SubTextureSchema, SuggestedGuardSchema, TextureAtlasSchema, ThemeDefinitionSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TilesheetSchema, 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, getArgs, getBindingExamples, getDefaultAnimationsForRole, getInteractionModelForDomain, getOperator, getServiceNames, getTraitConfig, getTraitName, hasService, inferTsType, isBinding, isCallSiteConfigDeclaration, isCircuitEvent, isEffect, isEntityCall, isEntityReference, isEntityReferenceAny, isEventPayloadValue, isFieldValue, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMcpService, isOrbitalDefinition, isPageReference, isPageReferenceObject, isPageReferenceString, isPlanSnapshot, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isServiceReference, isServiceReferenceObject, isSessionHistoryEntry, isSocketService, isThemeReference, isTraitFieldRef, isValidBinding, isValidPatternType, navigate, normalizeTraitRef, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, persist, persistenceModeAllowsOverrides, ref, renderUI, safeParseOrbitalSchema, set, sexpr, spawn, swap, toBindingRoot, validateAssetAnimations, validateBindingInContext, walkSExpr, watch, widenTier };
|
|
2020
2285
|
//# sourceMappingURL=index.js.map
|
|
2021
2286
|
//# sourceMappingURL=index.js.map
|