@almadar/core 10.61.0 → 10.63.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.
@@ -1010,16 +1010,16 @@ declare const IdentityLedgerSchema: z.ZodObject<{
1010
1010
  * { name: 'status', type: 'enum', values: ['draft', 'published'] }
1011
1011
  * { name: 'authorId', type: 'relation', relation: { entity: 'User', cardinality: 'one' } }
1012
1012
  */
1013
- type FieldType = 'string' | 'number' | 'boolean' | 'date' | 'timestamp' | 'datetime' | 'email' | 'url' | 'phone' | 'uuid' | 'image' | 'array' | 'object' | 'enum' | 'relation' | 'trait' | 'slot' | 'pattern' | 'node';
1013
+ type FieldType = 'string' | 'number' | 'boolean' | 'date' | 'timestamp' | 'datetime' | 'email' | 'url' | 'phone' | 'uuid' | 'image' | 'money' | 'file' | 'array' | 'object' | 'enum' | 'relation' | 'trait' | 'slot' | 'pattern' | 'node';
1014
1014
  /** Every `FieldType`, as a runtime array. Downstream imports this instead of
1015
1015
  * re-listing the union — five copies had already drifted apart. */
1016
- declare const FIELD_TYPES: readonly ["string", "number", "boolean", "date", "timestamp", "datetime", "email", "url", "phone", "uuid", "image", "array", "object", "enum", "relation", "trait", "slot", "pattern", "node"];
1016
+ declare const FIELD_TYPES: readonly ["string", "number", "boolean", "date", "timestamp", "datetime", "email", "url", "phone", "uuid", "image", "money", "file", "array", "object", "enum", "relation", "trait", "slot", "pattern", "node"];
1017
1017
  /** The semantic string domains — constrained strings, validatable by value. */
1018
1018
  declare const SEMANTIC_STRING_TYPES: readonly ["email", "url", "phone", "uuid", "image"];
1019
1019
  type SemanticStringType = (typeof SEMANTIC_STRING_TYPES)[number];
1020
1020
  /** Is this a semantic string domain (as opposed to a bare `string`)? */
1021
1021
  declare function isSemanticStringType(type: FieldType): type is SemanticStringType;
1022
- declare const FieldTypeSchema: z.ZodEnum<["string", "number", "boolean", "date", "timestamp", "datetime", "email", "url", "phone", "uuid", "image", "array", "object", "enum", "relation", "trait", "slot", "pattern", "node"]>;
1022
+ declare const FieldTypeSchema: z.ZodEnum<["string", "number", "boolean", "date", "timestamp", "datetime", "email", "url", "phone", "uuid", "image", "money", "file", "array", "object", "enum", "relation", "trait", "slot", "pattern", "node"]>;
1023
1023
  /**
1024
1024
  * Cardinality for relation fields.
1025
1025
  * Matches Rust compiler's Cardinality enum.
@@ -1100,13 +1100,42 @@ declare function isEmailValue(value: string): boolean;
1100
1100
  declare function isUrlValue(value: string): boolean;
1101
1101
  declare function isPhoneValue(value: string): boolean;
1102
1102
  declare function isUuidValue(value: string): boolean;
1103
+ /** The value a `file`-typed entity field holds: an uploaded artifact.
1104
+ * `url` is a `data:` URI in mock/playground mode (size-ceilinged by the
1105
+ * mock adapter) or an object-storage URL in production. */
1106
+ interface FileValue {
1107
+ name: string;
1108
+ url: string;
1109
+ mimeType: string;
1110
+ sizeBytes: number;
1111
+ }
1112
+ /** Zod schema for {@link FileValue}. */
1113
+ declare const FileValueSchema: z.ZodObject<{
1114
+ name: z.ZodString;
1115
+ url: z.ZodString;
1116
+ mimeType: z.ZodString;
1117
+ sizeBytes: z.ZodNumber;
1118
+ }, "strip", z.ZodTypeAny, {
1119
+ url: string;
1120
+ name: string;
1121
+ mimeType: string;
1122
+ sizeBytes: number;
1123
+ }, {
1124
+ url: string;
1125
+ name: string;
1126
+ mimeType: string;
1127
+ sizeBytes: number;
1128
+ }>;
1129
+ /** Is `value` a well-formed {@link FileValue}? The `file` twin of
1130
+ * `isSemanticStringValue` — the seeder's output must satisfy this. */
1131
+ declare function isFileValue(value: unknown): value is FileValue;
1103
1132
  /** Does `value` satisfy the declared semantic domain? `image` is a URL. */
1104
1133
  declare function isSemanticStringValue(type: SemanticStringType, value: string): boolean;
1105
1134
  /**
1106
1135
  * Field-type tags that don't carry a type-dependent payload. The base
1107
1136
  * `EntityField` shape applies as-is.
1108
1137
  */
1109
- type ScalarFieldType = 'string' | 'number' | 'boolean' | 'date' | 'timestamp' | 'datetime' | 'email' | 'url' | 'phone' | 'uuid' | 'image' | 'trait' | 'slot' | 'pattern' | 'node';
1138
+ type ScalarFieldType = 'string' | 'number' | 'boolean' | 'date' | 'timestamp' | 'datetime' | 'email' | 'url' | 'phone' | 'uuid' | 'image' | 'money' | 'file' | 'trait' | 'slot' | 'pattern' | 'node';
1110
1139
  /** Fields shared across every variant. */
1111
1140
  type EntityFieldBase = {
1112
1141
  /**
@@ -2435,8 +2464,8 @@ type EntityData = Record<string, EntityRow[]>;
2435
2464
  *
2436
2465
  * DO NOT EDIT MANUALLY — regenerated by almadar-pattern-sync `patterns` command.
2437
2466
  *
2438
- * Generated: 2026-08-19T03:03:57.179Z
2439
- * Pattern count: 270
2467
+ * Generated: 2026-08-20T23:14:19.798Z
2468
+ * Pattern count: 272
2440
2469
  */
2441
2470
 
2442
2471
  /**
@@ -2448,7 +2477,7 @@ type PatternPropValue = Record<string, FieldValue | undefined>;
2448
2477
  * All valid pattern type names from @almadar/core/patterns registry.
2449
2478
  * Use this type in render-ui effects for compile-time validation.
2450
2479
  */
2451
- type PatternType = 'about-page-template' | 'accordion' | 'action-palette' | 'action-tile' | 'activation-block' | 'alert' | 'algo-graph-canvas' | 'algorithm-canvas' | 'animated-counter' | 'animated-graphic' | 'animated-reveal' | 'article-section' | 'aside' | 'atlas-image' | 'atlas-panel' | 'auth-layout' | 'avatar' | 'badge' | 'behavior-view' | 'biology-canvas' | 'bloom-quiz-block' | 'book-chapter-view' | 'book-cover-page' | 'book-nav-bar' | 'book-table-of-contents' | 'book-viewer' | 'box' | 'branching-logic-builder' | 'breadcrumb' | 'button' | 'calendar-grid' | 'canvas' | 'canvas-2d' | 'card' | 'carousel' | 'case-study-card' | 'case-study-organism' | 'center' | 'chart' | 'chart-legend' | 'chat-bar' | 'checkbox' | 'chemistry-canvas' | 'choice-button' | 'code-block' | 'code-runner-panel' | 'community-links' | 'conditional-wrapper' | 'confetti-effect' | 'confirm-dialog' | 'connection-block' | 'container' | 'content-renderer' | 'content-section' | 'control-button' | 'control-grid' | 'counter-template' | 'cta-banner' | 'dashboard-grid' | 'dashboard-layout' | 'data-grid' | 'data-list' | 'date-range-picker' | 'date-range-selector' | 'day-cell' | 'detail-panel' | 'dialog' | 'dialogue-bubble' | 'divider' | 'doc-breadcrumb' | 'doc-pagination' | 'doc-search' | 'doc-sidebar' | 'doc-toc' | 'document-viewer' | 'draw-group' | 'draw-mesh' | 'draw-shape' | 'draw-shape-layer' | 'draw-sprite' | 'draw-sprite-layer' | 'draw-text' | 'draw-text-layer' | 'drawer' | 'drawer-slot' | 'edge-decoration' | 'emoji-picker' | 'empty-state' | 'entity-cards' | 'entity-list' | 'entity-table' | 'error-boundary' | 'error-state' | 'feature-card' | 'feature-detail-page-template' | 'feature-grid' | 'feature-grid-organism' | 'file-tree' | 'filter-group' | 'filter-pill' | 'flex' | 'flip-card' | 'flip-container' | 'floating-action-button' | 'form' | 'form-actions' | 'form-field' | 'form-layout' | 'form-section' | 'form-section-header' | 'game-audio-toggle' | 'game-hud' | 'game-icon' | 'game-menu' | 'game-shell' | 'generic-app-template' | 'geometric-pattern' | 'gradient-divider' | 'graph-canvas' | 'graph-view' | 'grid' | 'header' | 'health-bar' | 'hero-organism' | 'hero-section' | 'hstack' | 'icon' | 'import-preview-tree' | 'import-progress' | 'import-source-picker' | 'infinite-scroll-sentinel' | 'input' | 'input-group' | 'install-box' | 'jazari-state-machine' | 'label' | 'landing-page-template' | 'law-reference-tooltip' | 'learning-canvas' | 'lightbox' | 'likert-scale' | 'line-chart' | 'loading-state' | 'map-view' | 'markdown-content' | 'marketing-footer' | 'marketing-stat-card' | 'master-detail' | 'master-detail-layout' | 'math-canvas' | 'matrix-question' | 'media-gallery' | 'menu' | 'meter' | 'modal' | 'modal-slot' | 'module-card' | 'navigation' | 'notification' | 'number-stepper' | 'option-constraint-group' | 'orbital-visualization' | 'overlay' | 'page-header' | 'page-transition' | 'pagination' | 'pattern-tile' | 'physics-canvas' | 'popover' | 'positioned-canvas' | 'presence' | 'pricing-card' | 'pricing-grid' | 'pricing-organism' | 'pricing-page-template' | 'progress-bar' | 'progress-dots' | 'pull-quote' | 'pull-to-refresh' | 'qr-scanner' | 'quiz-block' | 'radio' | 'range-slider' | 'reflection-block' | 'relation-select' | 'repeatable-form-section' | 'reply-tree' | 'rich-block-editor' | 'runtime-debugger' | 'scaled-diagram' | 'score-display' | 'search-input' | 'section' | 'section-header' | 'segment-renderer' | 'select' | 'sequence-bar' | 'service-catalog' | 'showcase-card' | 'showcase-organism' | 'side-panel' | 'sidebar' | 'signature-pad' | 'simple-grid' | 'skeleton' | 'social-proof' | 'sortable-list' | 'spacer' | 'sparkline' | 'spinner' | 'split' | 'split-pane' | 'split-section' | 'stack' | 'star-rating' | 'stat-badge' | 'stat-card' | 'stat-display' | 'state-graph' | 'state-json-view' | 'state-machine-view' | 'stats-grid' | 'stats-organism' | 'status-dot' | 'step-flow' | 'step-flow-organism' | 'subagent-trace-panel' | 'svg-branch' | 'svg-connection' | 'svg-flow' | 'svg-grid' | 'svg-lobe' | 'svg-mesh' | 'svg-morph' | 'svg-node' | 'svg-pulse' | 'svg-ring' | 'svg-shield' | 'svg-stack' | 'swipeable-row' | 'switch' | 'tabbed-container' | 'table-view' | 'tabs' | 'tag-cloud' | 'tag-input' | 'team-card' | 'team-organism' | 'text-highlight' | 'textarea' | 'theme-toggle' | 'time-slot-cell' | 'timeline' | 'timer-display' | 'toast-slot' | 'tooltip' | 'trait-frame' | 'trait-slot' | 'trend-indicator' | 'typewriter-text' | 'typography' | 'ui-slot-renderer' | 'upload-drop-zone' | 'version-diff' | 'violation-alert' | 'vote-stack' | 'vstack' | 'wizard-container' | 'wizard-navigation' | 'wizard-progress';
2480
+ type PatternType = 'about-page-template' | 'accordion' | 'action-palette' | 'action-tile' | 'activation-block' | 'alert' | 'algo-graph-canvas' | 'algorithm-canvas' | 'animated-counter' | 'animated-graphic' | 'animated-reveal' | 'article-section' | 'aside' | 'atlas-image' | 'atlas-panel' | 'auth-layout' | 'avatar' | 'badge' | 'behavior-view' | 'biology-canvas' | 'bloom-quiz-block' | 'book-chapter-view' | 'book-cover-page' | 'book-nav-bar' | 'book-table-of-contents' | 'book-viewer' | 'box' | 'branching-logic-builder' | 'breadcrumb' | 'button' | 'calendar-grid' | 'canvas' | 'canvas-2d' | 'card' | 'carousel' | 'case-study-card' | 'case-study-organism' | 'center' | 'chart' | 'chart-legend' | 'chat-bar' | 'checkbox' | 'chemistry-canvas' | 'choice-button' | 'code-block' | 'code-runner-panel' | 'community-links' | 'conditional-wrapper' | 'confetti-effect' | 'confirm-dialog' | 'connection-block' | 'container' | 'content-renderer' | 'content-section' | 'control-button' | 'control-grid' | 'counter-template' | 'cta-banner' | 'dashboard-grid' | 'dashboard-layout' | 'data-grid' | 'data-list' | 'date-range-picker' | 'date-range-selector' | 'day-cell' | 'detail-panel' | 'dialog' | 'dialogue-bubble' | 'divider' | 'doc-breadcrumb' | 'doc-pagination' | 'doc-search' | 'doc-sidebar' | 'doc-toc' | 'document-viewer' | 'draw-fx-layer' | 'draw-group' | 'draw-mesh' | 'draw-shape' | 'draw-shape-layer' | 'draw-sprite' | 'draw-sprite-layer' | 'draw-text' | 'draw-text-layer' | 'drawer' | 'drawer-slot' | 'edge-decoration' | 'emoji-picker' | 'empty-state' | 'entity-cards' | 'entity-list' | 'entity-table' | 'error-boundary' | 'error-state' | 'feature-card' | 'feature-detail-page-template' | 'feature-grid' | 'feature-grid-organism' | 'file-tree' | 'filter-group' | 'filter-pill' | 'flex' | 'flip-card' | 'flip-container' | 'floating-action-button' | 'form' | 'form-actions' | 'form-field' | 'form-layout' | 'form-section' | 'form-section-header' | 'fx-overlay' | 'game-audio-toggle' | 'game-hud' | 'game-icon' | 'game-menu' | 'game-shell' | 'generic-app-template' | 'geometric-pattern' | 'gradient-divider' | 'graph-canvas' | 'graph-view' | 'grid' | 'header' | 'health-bar' | 'hero-organism' | 'hero-section' | 'hstack' | 'icon' | 'import-preview-tree' | 'import-progress' | 'import-source-picker' | 'infinite-scroll-sentinel' | 'input' | 'input-group' | 'install-box' | 'jazari-state-machine' | 'label' | 'landing-page-template' | 'law-reference-tooltip' | 'learning-canvas' | 'lightbox' | 'likert-scale' | 'line-chart' | 'loading-state' | 'map-view' | 'markdown-content' | 'marketing-footer' | 'marketing-stat-card' | 'master-detail' | 'master-detail-layout' | 'math-canvas' | 'matrix-question' | 'media-gallery' | 'menu' | 'meter' | 'modal' | 'modal-slot' | 'module-card' | 'navigation' | 'notification' | 'number-stepper' | 'option-constraint-group' | 'orbital-visualization' | 'overlay' | 'page-header' | 'page-transition' | 'pagination' | 'pattern-tile' | 'physics-canvas' | 'popover' | 'positioned-canvas' | 'presence' | 'pricing-card' | 'pricing-grid' | 'pricing-organism' | 'pricing-page-template' | 'progress-bar' | 'progress-dots' | 'pull-quote' | 'pull-to-refresh' | 'qr-scanner' | 'quiz-block' | 'radio' | 'range-slider' | 'reflection-block' | 'relation-select' | 'repeatable-form-section' | 'reply-tree' | 'rich-block-editor' | 'runtime-debugger' | 'scaled-diagram' | 'score-display' | 'search-input' | 'section' | 'section-header' | 'segment-renderer' | 'select' | 'sequence-bar' | 'service-catalog' | 'showcase-card' | 'showcase-organism' | 'side-panel' | 'sidebar' | 'signature-pad' | 'simple-grid' | 'skeleton' | 'social-proof' | 'sortable-list' | 'spacer' | 'sparkline' | 'spinner' | 'split' | 'split-pane' | 'split-section' | 'stack' | 'star-rating' | 'stat-badge' | 'stat-card' | 'stat-display' | 'state-graph' | 'state-json-view' | 'state-machine-view' | 'stats-grid' | 'stats-organism' | 'status-dot' | 'step-flow' | 'step-flow-organism' | 'subagent-trace-panel' | 'svg-branch' | 'svg-connection' | 'svg-flow' | 'svg-grid' | 'svg-lobe' | 'svg-mesh' | 'svg-morph' | 'svg-node' | 'svg-pulse' | 'svg-ring' | 'svg-shield' | 'svg-stack' | 'swipeable-row' | 'switch' | 'tabbed-container' | 'table-view' | 'tabs' | 'tag-cloud' | 'tag-input' | 'team-card' | 'team-organism' | 'text-highlight' | 'textarea' | 'theme-toggle' | 'time-slot-cell' | 'timeline' | 'timer-display' | 'toast-slot' | 'tooltip' | 'trait-frame' | 'trait-slot' | 'trend-indicator' | 'typewriter-text' | 'typography' | 'ui-slot-renderer' | 'upload-drop-zone' | 'version-diff' | 'violation-alert' | 'vote-stack' | 'vstack' | 'wizard-container' | 'wizard-navigation' | 'wizard-progress';
2452
2481
  /**
2453
2482
  * Pattern props map — each pattern type maps to its valid props interface.
2454
2483
  */
@@ -3394,6 +3423,7 @@ interface PatternPropsMap {
3394
3423
  avatar?: unknown | string | SExpr;
3395
3424
  sections?: unknown[] | string | SExpr;
3396
3425
  actions?: unknown[] | string | SExpr;
3426
+ backAction?: PatternPropValue | string | SExpr;
3397
3427
  footer?: unknown | string | SExpr;
3398
3428
  slideOver?: boolean | string | SExpr;
3399
3429
  fields: unknown[] | string | SExpr;
@@ -3404,6 +3434,7 @@ interface PatternPropsMap {
3404
3434
  width?: string | SExpr;
3405
3435
  displayFields?: unknown[] | string | SExpr;
3406
3436
  showActions?: boolean | string | SExpr;
3437
+ relationsData?: PatternPropValue | string | SExpr;
3407
3438
  };
3408
3439
  'dialog': {
3409
3440
  type: 'dialog';
@@ -3473,6 +3504,16 @@ interface PatternPropsMap {
3473
3504
  error?: PatternPropValue | string | SExpr;
3474
3505
  className?: string | SExpr;
3475
3506
  };
3507
+ 'draw-fx-layer': {
3508
+ type: 'draw-fx-layer';
3509
+ id?: string | SExpr;
3510
+ items: unknown[] | string | SExpr;
3511
+ presets?: unknown[] | string | SExpr;
3512
+ art?: PatternPropValue | string | SExpr;
3513
+ sprites?: PatternPropValue | string | SExpr;
3514
+ tickMs?: number | string | SExpr;
3515
+ textColor?: string | SExpr;
3516
+ };
3476
3517
  'draw-group': {
3477
3518
  type: 'draw-group';
3478
3519
  id?: string | SExpr;
@@ -3889,6 +3930,7 @@ interface PatternPropsMap {
3889
3930
  cancelEvent?: string | SExpr;
3890
3931
  relationsData?: PatternPropValue | string | SExpr;
3891
3932
  relationsLoading?: PatternPropValue | string | SExpr;
3933
+ fieldOverrides?: unknown[] | string | SExpr;
3892
3934
  conditionalFields?: PatternPropValue | boolean | string | SExpr;
3893
3935
  hiddenCalculations?: unknown[] | boolean | string | SExpr;
3894
3936
  violationTriggers?: unknown[] | boolean | string | SExpr;
@@ -3958,6 +4000,7 @@ interface PatternPropsMap {
3958
4000
  cancelEvent?: string | SExpr;
3959
4001
  relationsData?: PatternPropValue | string | SExpr;
3960
4002
  relationsLoading?: PatternPropValue | string | SExpr;
4003
+ fieldOverrides?: unknown[] | string | SExpr;
3961
4004
  conditionalFields?: PatternPropValue | boolean | string | SExpr;
3962
4005
  hiddenCalculations?: unknown[] | boolean | string | SExpr;
3963
4006
  violationTriggers?: unknown[] | boolean | string | SExpr;
@@ -3980,6 +4023,13 @@ interface PatternPropsMap {
3980
4023
  isComplete?: boolean | string | SExpr;
3981
4024
  className?: string | SExpr;
3982
4025
  };
4026
+ 'fx-overlay': {
4027
+ type: 'fx-overlay';
4028
+ items: unknown[] | string | SExpr;
4029
+ tickMs?: number | string | SExpr;
4030
+ children?: unknown | string | SExpr;
4031
+ className?: string | SExpr;
4032
+ };
3983
4033
  'game-audio-toggle': {
3984
4034
  type: 'game-audio-toggle';
3985
4035
  size?: string | SExpr;
@@ -4485,6 +4535,8 @@ interface PatternPropsMap {
4485
4535
  interactive?: boolean | string | SExpr;
4486
4536
  animate?: boolean | string | SExpr;
4487
4537
  onShapeClick?: ((...args: unknown[]) => unknown) | string | SExpr;
4538
+ keyMap?: PatternPropValue | string | SExpr;
4539
+ keyUpMap?: PatternPropValue | string | SExpr;
4488
4540
  isLoading?: boolean | string | SExpr;
4489
4541
  error?: PatternPropValue | string | SExpr;
4490
4542
  };
@@ -6768,4 +6820,4 @@ interface RenderUINode {
6768
6820
  renderItem?: RenderUINode;
6769
6821
  }
6770
6822
 
6771
- export { type ComposeEffect as $, type AnyPatternConfig as A, AssetCatalogEntrySchema as B, AssetCatalogSchema as C, type AssetDimension as D, type EntityField as E, type FieldValue as F, AssetDimensionSchema as G, AssetSchema as H, type IdentityLedger as I, type AssetUrl as J, type AtomicEffect as K, type BehaviorEffect as L, CAMERA_MODES as M, type CallServiceConfig as N, type OrbitalId as O, type PageId as P, type CallServiceEffect as Q, type RelationConfig as R, type ServiceRef as S, type TraitId as T, type UISlot as U, type Camera as V, type CameraMode as W, CameraModeSchema as X, CameraSchema as Y, type CheckpointLoadEffect as Z, type CheckpointSaveEffect as _, type EntityPersistence as a, type PersistEmitConfig as a$, type DerefEffect as a0, type DespawnEffect as a1, type DoEffect as a2, ENTITY_ROLES as a3, type EffectInput as a4, EffectSchema as a5, type EmitConfig as a6, type EmitEffect as a7, type EntityData as a8, type EntityFieldInput as a9, type LedgerKind as aA, LedgerKindSchema as aB, type LlmEffect as aC, type LogEffect as aD, type McpServiceDef as aE, McpServiceDefSchema as aF, type MemoryEffect as aG, type NavigateEffect as aH, type NnConfig as aI, type NnLayer as aJ, type NotifyEffect as aK, type ObjectEntityField as aL, type OrbitalEntity as aM, type OrbitalEntityInput as aN, OrbitalEntitySchema as aO, OrbitalIdSchema as aP, type OsEffect as aQ, PATTERN_TYPES as aR, PageIdSchema as aS, type PaletteEntryId as aT, PaletteEntryIdSchema as aU, type PatternConfig as aV, type PatternProps as aW, type PatternPropsMap as aX, type PatternType as aY, type PersistData as aZ, type PersistEffect as a_, EntityFieldSchema as aa, EntityIdSchema as ab, EntityPersistenceSchema as ac, type EntityRole as ad, EntityRoleSchema as ae, EntitySchema as af, type EntityWith as ag, type EnumEntityField as ah, type EvaluateConfig as ai, type EvaluateEffect as aj, EventIdSchema as ak, FIELD_TYPES as al, type FetchEffect as am, type FetchOptions as an, type FetchResult as ao, type Field as ap, FieldSchema as aq, type FieldType as ar, FieldTypeSchema as as, type ForwardConfig as at, type ForwardEffect as au, type IdForKind as av, type IdKind as aw, IdentityLedgerSchema as ax, type LedgerEntry as ay, LedgerEntrySchema as az, type EventId as b, VISUAL_STYLES as b$, type RefEffect as b0, RelationConfigSchema as b1, type RelationEntityField as b2, type RenderChildrenMap as b3, type RenderItemLambda as b4, type RenderUINode as b5, type ResolvedPatternProps as b6, type RestAuthConfig as b7, RestAuthConfigSchema as b8, type RestServiceDef as b9, SheetProjectionSchema as bA, type SocketEvents as bB, SocketEventsSchema as bC, type SocketServiceDef as bD, SocketServiceDefSchema as bE, type SpawnEffect as bF, type SpriteDirection as bG, SpriteDirectionSchema as bH, type SpriteSheetAtlas as bI, type SpriteSheetAtlasInput as bJ, SpriteSheetAtlasSchema as bK, type SubTexture as bL, SubTextureSchema as bM, type SwapEffect as bN, type TextureAtlas as bO, TextureAtlasSchema as bP, type ThemeId as bQ, ThemeIdSchema as bR, type Tilesheet as bS, TilesheetSchema as bT, type TraceEffect as bU, type TrainConfig as bV, type TrainEffect as bW, TraitIdSchema as bX, type TypedEffect as bY, UISlotSchema as bZ, UI_SLOTS as b_, RestServiceDefSchema as ba, SEMANTIC_STRING_TYPES as bb, SERVICE_TYPES as bc, SHEET_PROJECTIONS as bd, SPRITE_DIRECTIONS as be, type ScalarEntityField as bf, type ScenePos as bg, ScenePosSchema as bh, type SemanticAssetRef as bi, type SemanticAssetRefInput as bj, SemanticAssetRefSchema as bk, type SemanticStringType as bl, ServiceDefinitionSchema as bm, type ServiceId as bn, ServiceIdSchema as bo, type ServiceParams as bp, type ServiceParamsValue as bq, type ServiceRefObject as br, ServiceRefObjectSchema as bs, ServiceRefSchema as bt, ServiceRefStringSchema as bu, type ServiceType as bv, ServiceTypeSchema as bw, type SessionEffect as bx, type SetEffect as by, type SheetProjection as bz, type Effect as c, set as c$, type ValidateEffect as c0, type VisualStyle as c1, VisualStyleSchema as c2, type WatchEffect as c3, type WatchOptions as c4, asEntityId as c5, asEventId as c6, asOrbitalId as c7, asPageId as c8, asPaletteEntryId as c9, isPhoneValue as cA, isRestService as cB, isRuntimeEntity as cC, isSExprEffect as cD, isSemanticStringType as cE, isSemanticStringValue as cF, isServiceId as cG, isServiceReference as cH, isServiceReferenceObject as cI, isSocketService as cJ, isThemeId as cK, isTraitId as cL, isUrlValue as cM, isUuidValue as cN, isValidPatternType as cO, ledgerCurName as cP, ledgerRename as cQ, ledgerResolveName as cR, mintId as cS, navigate as cT, notify as cU, parseAssetKey as cV, parseServiceRef as cW, persist as cX, persistenceModeAllowsOverrides as cY, ref as cZ, renderUI as c_, asServiceId as ca, asThemeId as cb, asTraitId as cc, atomic as cd, callService as ce, createAssetKey as cf, deref as cg, deriveCollection as ch, despawn as ci, doEffects as cj, emit as ck, findService as cl, getDefaultAnimationsForRole as cm, getServiceNames as cn, hasService as co, idKindOf as cp, idPrefix as cq, isEffect as cr, isEmailValue as cs, isEntityId as ct, isEventId as cu, isFieldValue as cv, isMcpService as cw, isOrbitalId as cx, isPageId as cy, isPaletteEntryId as cz, type EntityId as d, spawn as d0, swap as d1, validateAssetAnimations as d2, watch as d3, type Entity as e, type EntityRow as f, type ServiceDefinition as g, type RenderBinding as h, type RenderUIEffect as i, ANIMATION_NAMES as j, ASSET_ASPECTS as k, ASSET_DIMENSIONS as l, type AgentEffect as m, type AnimationDef as n, type AnimationDefInput as o, AnimationDefSchema as p, type AnimationName as q, AnimationNameSchema as r, type ApplicationEffect as s, type ArrayEntityField as t, type Asset as u, type AssetAspect as v, AssetAspectSchema as w, type AssetCatalog as x, type AssetCatalogEntry as y, type AssetCatalogEntryInput as z };
6823
+ export { type ComposeEffect as $, type AnyPatternConfig as A, AssetCatalogEntrySchema as B, AssetCatalogSchema as C, type AssetDimension as D, type EntityField as E, type FieldValue as F, AssetDimensionSchema as G, AssetSchema as H, type IdentityLedger as I, type AssetUrl as J, type AtomicEffect as K, type BehaviorEffect as L, CAMERA_MODES as M, type CallServiceConfig as N, type OrbitalId as O, type PageId as P, type CallServiceEffect as Q, type RelationConfig as R, type ServiceRef as S, type TraitId as T, type UISlot as U, type Camera as V, type CameraMode as W, CameraModeSchema as X, CameraSchema as Y, type CheckpointLoadEffect as Z, type CheckpointSaveEffect as _, type EntityPersistence as a, type PersistData as a$, type DerefEffect as a0, type DespawnEffect as a1, type DoEffect as a2, ENTITY_ROLES as a3, type EffectInput as a4, EffectSchema as a5, type EmitConfig as a6, type EmitEffect as a7, type EntityData as a8, type EntityFieldInput as a9, type LedgerEntry as aA, LedgerEntrySchema as aB, type LedgerKind as aC, LedgerKindSchema as aD, type LlmEffect as aE, type LogEffect as aF, type McpServiceDef as aG, McpServiceDefSchema as aH, type MemoryEffect as aI, type NavigateEffect as aJ, type NnConfig as aK, type NnLayer as aL, type NotifyEffect as aM, type ObjectEntityField as aN, type OrbitalEntity as aO, type OrbitalEntityInput as aP, OrbitalEntitySchema as aQ, OrbitalIdSchema as aR, type OsEffect as aS, PATTERN_TYPES as aT, PageIdSchema as aU, type PaletteEntryId as aV, PaletteEntryIdSchema as aW, type PatternConfig as aX, type PatternProps as aY, type PatternPropsMap as aZ, type PatternType as a_, EntityFieldSchema as aa, EntityIdSchema as ab, EntityPersistenceSchema as ac, type EntityRole as ad, EntityRoleSchema as ae, EntitySchema as af, type EntityWith as ag, type EnumEntityField as ah, type EvaluateConfig as ai, type EvaluateEffect as aj, EventIdSchema as ak, FIELD_TYPES as al, type FetchEffect as am, type FetchOptions as an, type FetchResult as ao, type Field as ap, FieldSchema as aq, type FieldType as ar, FieldTypeSchema as as, type FileValue as at, FileValueSchema as au, type ForwardConfig as av, type ForwardEffect as aw, type IdForKind as ax, type IdKind as ay, IdentityLedgerSchema as az, type EventId as b, UISlotSchema as b$, type PersistEffect as b0, type PersistEmitConfig as b1, type RefEffect as b2, RelationConfigSchema as b3, type RelationEntityField as b4, type RenderChildrenMap as b5, type RenderItemLambda as b6, type RenderUINode as b7, type ResolvedPatternProps as b8, type RestAuthConfig as b9, type SetEffect as bA, type SheetProjection as bB, SheetProjectionSchema as bC, type SocketEvents as bD, SocketEventsSchema as bE, type SocketServiceDef as bF, SocketServiceDefSchema as bG, type SpawnEffect as bH, type SpriteDirection as bI, SpriteDirectionSchema as bJ, type SpriteSheetAtlas as bK, type SpriteSheetAtlasInput as bL, SpriteSheetAtlasSchema as bM, type SubTexture as bN, SubTextureSchema as bO, type SwapEffect as bP, type TextureAtlas as bQ, TextureAtlasSchema as bR, type ThemeId as bS, ThemeIdSchema as bT, type Tilesheet as bU, TilesheetSchema as bV, type TraceEffect as bW, type TrainConfig as bX, type TrainEffect as bY, TraitIdSchema as bZ, type TypedEffect as b_, RestAuthConfigSchema as ba, type RestServiceDef as bb, RestServiceDefSchema as bc, SEMANTIC_STRING_TYPES as bd, SERVICE_TYPES as be, SHEET_PROJECTIONS as bf, SPRITE_DIRECTIONS as bg, type ScalarEntityField as bh, type ScenePos as bi, ScenePosSchema as bj, type SemanticAssetRef as bk, type SemanticAssetRefInput as bl, SemanticAssetRefSchema as bm, type SemanticStringType as bn, ServiceDefinitionSchema as bo, type ServiceId as bp, ServiceIdSchema as bq, type ServiceParams as br, type ServiceParamsValue as bs, type ServiceRefObject as bt, ServiceRefObjectSchema as bu, ServiceRefSchema as bv, ServiceRefStringSchema as bw, type ServiceType as bx, ServiceTypeSchema as by, type SessionEffect as bz, type Effect as c, persistenceModeAllowsOverrides as c$, UI_SLOTS as c0, VISUAL_STYLES as c1, type ValidateEffect as c2, type VisualStyle as c3, VisualStyleSchema as c4, type WatchEffect as c5, type WatchOptions as c6, asEntityId as c7, asEventId as c8, asOrbitalId as c9, isOrbitalId as cA, isPageId as cB, isPaletteEntryId as cC, isPhoneValue as cD, isRestService as cE, isRuntimeEntity as cF, isSExprEffect as cG, isSemanticStringType as cH, isSemanticStringValue as cI, isServiceId as cJ, isServiceReference as cK, isServiceReferenceObject as cL, isSocketService as cM, isThemeId as cN, isTraitId as cO, isUrlValue as cP, isUuidValue as cQ, isValidPatternType as cR, ledgerCurName as cS, ledgerRename as cT, ledgerResolveName as cU, mintId as cV, navigate as cW, notify as cX, parseAssetKey as cY, parseServiceRef as cZ, persist as c_, asPageId as ca, asPaletteEntryId as cb, asServiceId as cc, asThemeId as cd, asTraitId as ce, atomic as cf, callService as cg, createAssetKey as ch, deref as ci, deriveCollection as cj, despawn as ck, doEffects as cl, emit as cm, findService as cn, getDefaultAnimationsForRole as co, getServiceNames as cp, hasService as cq, idKindOf as cr, idPrefix as cs, isEffect as ct, isEmailValue as cu, isEntityId as cv, isEventId as cw, isFieldValue as cx, isFileValue as cy, isMcpService as cz, type EntityId as d, ref as d0, renderUI as d1, set as d2, spawn as d3, swap as d4, validateAssetAnimations as d5, watch as d6, type Entity as e, type EntityRow as f, type ServiceDefinition as g, type RenderBinding as h, type RenderUIEffect as i, ANIMATION_NAMES as j, ASSET_ASPECTS as k, ASSET_DIMENSIONS as l, type AgentEffect as m, type AnimationDef as n, type AnimationDefInput as o, AnimationDefSchema as p, type AnimationName as q, AnimationNameSchema as r, type ApplicationEffect as s, type ArrayEntityField as t, type Asset as u, type AssetAspect as v, AssetAspectSchema as w, type AssetCatalog as x, type AssetCatalogEntry as y, type AssetCatalogEntryInput as z };
@@ -1,4 +1,4 @@
1
- import { O as OrbitalSchema } from './schema-Dj4GC3Vo.js';
1
+ import { O as OrbitalSchema } from './schema-KdqDOMXm.js';
2
2
  import { S as SExpr } from './expression-Fk8bQWef.js';
3
3
 
4
4
  /**
@@ -1,7 +1,7 @@
1
- import { h as FactoryParamValue, c as FactoryConfigTier, b as FactoryConfigParam, F as FactoryCallSite, j as FactorySignature, R as RuleOverlay, p as RuleOverlayEntry, o as PresentationOverlay, T as TraitOverlay } from '../types-CGjZ7Odu.js';
2
- export { a as FactoryCallSiteParams, d as FactoryEntitySignature, e as FactoryEventSignature, f as FactoryExposure, g as FactoryPageSignature, i as FactoryProvenance, k as FactorySignatureCatalog, l as FactorySignatureEntityField, m as FactoryTraitSignature, J as JsonSchema, n as JsonSchemaType, O as OwnershipOverlayEntry, P as PresentationNavItem, S as SchemaFieldType, q as TraitOverlayEntry, r as TraitOverlayListener } from '../types-CGjZ7Odu.js';
3
- import { a as EntityPersistence, E as EntityField } from '../effect-a1W_hXyG.js';
4
- import { a as TraitReference } from '../trait-DgZ5Exel.js';
1
+ import { h as FactoryParamValue, c as FactoryConfigTier, b as FactoryConfigParam, F as FactoryCallSite, j as FactorySignature, R as RuleOverlay, p as RuleOverlayEntry, o as PresentationOverlay, T as TraitOverlay } from '../types-mYXAkmBy.js';
2
+ export { a as FactoryCallSiteParams, d as FactoryEntitySignature, e as FactoryEventSignature, f as FactoryExposure, g as FactoryPageSignature, i as FactoryProvenance, k as FactorySignatureCatalog, l as FactorySignatureEntityField, m as FactoryTraitSignature, J as JsonSchema, n as JsonSchemaType, O as OwnershipOverlayEntry, P as PresentationNavItem, S as SchemaFieldType, q as TraitOverlayEntry, r as TraitOverlayListener } from '../types-mYXAkmBy.js';
3
+ import { a as EntityPersistence, E as EntityField } from '../effect-CgDrWfKW.js';
4
+ import { a as TraitReference } from '../trait-CesmHKZ2.js';
5
5
  export { J as JsonValue } from '../expression-Fk8bQWef.js';
6
6
  import 'zod';
7
7
 
@@ -1,6 +1,6 @@
1
- import { O as OrbitalSchema, a as OrbitalDefinition } from '../schema-Dj4GC3Vo.js';
2
- import { h as CallSiteConfig, i as CallSiteConfigEntry, g as Trait } from '../trait-DgZ5Exel.js';
3
- import { E as EntityField, a as EntityPersistence } from '../effect-a1W_hXyG.js';
1
+ import { O as OrbitalSchema, a as OrbitalDefinition } from '../schema-KdqDOMXm.js';
2
+ import { h as CallSiteConfig, i as CallSiteConfigEntry, g as Trait } from '../trait-CesmHKZ2.js';
3
+ import { E as EntityField, a as EntityPersistence } from '../effect-CgDrWfKW.js';
4
4
  import { MakeTraitRefOpts } from '../builders.js';
5
5
  import '../expression-Fk8bQWef.js';
6
6
  import 'zod';
@@ -102,6 +102,8 @@ var FIELD_TYPES = [
102
102
  "phone",
103
103
  "uuid",
104
104
  "image",
105
+ "money",
106
+ "file",
105
107
  "array",
106
108
  "object",
107
109
  "enum",
@@ -139,6 +141,12 @@ var RelationConfigSchema = z.object({
139
141
  };
140
142
  return normalized;
141
143
  });
144
+ z.object({
145
+ name: z.string(),
146
+ url: z.string(),
147
+ mimeType: z.string(),
148
+ sizeBytes: z.number()
149
+ });
142
150
  var FIELD_TYPE_ALIASES = {
143
151
  text: "string",
144
152
  int: "number",
@@ -196,6 +204,8 @@ var EntityFieldSchema = z.lazy(() => {
196
204
  scalarVariant("slot"),
197
205
  scalarVariant("pattern"),
198
206
  scalarVariant("node"),
207
+ scalarVariant("money"),
208
+ scalarVariant("file"),
199
209
  // Enum variant — REQUIRES non-empty values.
200
210
  z.object({
201
211
  ...baseFieldShape,