@almadar/core 10.81.0 → 10.83.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builders.d.ts +3 -3
- package/dist/builders.js +10 -0
- package/dist/builders.js.map +1 -1
- package/dist/{effect-BHoSW19_.d.ts → effect-DruTSW2O.d.ts} +123 -4
- package/dist/{entityAccess-0POr1WuY.d.ts → entityAccess-BoYVXf3b.d.ts} +1 -1
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory/index.js +863 -5
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/factory-runtime/index.js +10 -0
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/{index-rVlLkZJu.d.ts → index-76Ff6JCE.d.ts} +4 -4
- package/dist/index.d.ts +10 -10
- package/dist/index.js +894 -10
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +4 -4
- package/dist/mock/index.js +10 -0
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +11 -1
- package/dist/patterns/event-contracts.json +15 -1
- package/dist/patterns/index.d.ts +1861 -23
- package/dist/patterns/index.js +883 -9
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/integrators-registry.json +1 -1
- package/dist/patterns/patterns-registry.json +854 -6
- package/dist/patterns/registry.json +854 -6
- package/dist/patterns/services-registry.json +1 -1
- package/dist/{schema-CkTTGH6l.d.ts → schema-BdeZ8R35.d.ts} +4482 -4482
- package/dist/{trait-D269f6pt.d.ts → trait-DKJWX0Ru.d.ts} +1 -1
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.js +13 -1
- package/dist/types/index.js.map +1 -1
- package/dist/{types-7PHjoE7m.d.ts → types-CRr2IuTj.d.ts} +2 -2
- package/package.json +1 -1
|
@@ -2071,6 +2071,81 @@ declare function defaultUnitAtlas(sheets: SpriteSheetAtlas['sheets'], opts?: {
|
|
|
2071
2071
|
declare const MANIFEST_ENTRY_KINDS: readonly ["model", "image", "spritesheet", "audio", "json"];
|
|
2072
2072
|
type ManifestEntryKind = (typeof MANIFEST_ENTRY_KINDS)[number];
|
|
2073
2073
|
declare const ManifestEntryKindSchema: z.ZodEnum<["model", "image", "spritesheet", "audio", "json"]>;
|
|
2074
|
+
/**
|
|
2075
|
+
* One entry of a game's sound manifest, keyed by logical cue name. Core owns
|
|
2076
|
+
* the shape so both the render substrate (`useGameAudio` / the `game-audio-cue`
|
|
2077
|
+
* pattern) and the generated `.lolo` factories resolve the SAME declaration —
|
|
2078
|
+
* a hook-local interface is invisible to the pattern extractor and lowers to a
|
|
2079
|
+
* shapeless `object`, which the `.lolo` type system rejects outright.
|
|
2080
|
+
*/
|
|
2081
|
+
interface SoundEntry {
|
|
2082
|
+
/** Single path, or several to pick from at random on each play. */
|
|
2083
|
+
path: string | string[];
|
|
2084
|
+
/** Volume 0-1, multiplied by the master volume. */
|
|
2085
|
+
volume?: number;
|
|
2086
|
+
/** Whether this sound loops (background music). */
|
|
2087
|
+
loop?: boolean;
|
|
2088
|
+
/** Concurrent Audio instances kept in the pool. */
|
|
2089
|
+
poolSize?: number;
|
|
2090
|
+
/** Start automatically on the first user interaction. */
|
|
2091
|
+
autostart?: boolean;
|
|
2092
|
+
/** Use crossfade transitions when played as music. */
|
|
2093
|
+
crossfade?: boolean;
|
|
2094
|
+
/** Crossfade duration in milliseconds. */
|
|
2095
|
+
crossfadeDurationMs?: number;
|
|
2096
|
+
}
|
|
2097
|
+
declare const SoundEntrySchema: z.ZodObject<{
|
|
2098
|
+
path: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
2099
|
+
volume: z.ZodOptional<z.ZodNumber>;
|
|
2100
|
+
loop: z.ZodOptional<z.ZodBoolean>;
|
|
2101
|
+
poolSize: z.ZodOptional<z.ZodNumber>;
|
|
2102
|
+
autostart: z.ZodOptional<z.ZodBoolean>;
|
|
2103
|
+
crossfade: z.ZodOptional<z.ZodBoolean>;
|
|
2104
|
+
crossfadeDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
2105
|
+
}, "strip", z.ZodTypeAny, {
|
|
2106
|
+
path: string | string[];
|
|
2107
|
+
loop?: boolean | undefined;
|
|
2108
|
+
volume?: number | undefined;
|
|
2109
|
+
poolSize?: number | undefined;
|
|
2110
|
+
autostart?: boolean | undefined;
|
|
2111
|
+
crossfade?: boolean | undefined;
|
|
2112
|
+
crossfadeDurationMs?: number | undefined;
|
|
2113
|
+
}, {
|
|
2114
|
+
path: string | string[];
|
|
2115
|
+
loop?: boolean | undefined;
|
|
2116
|
+
volume?: number | undefined;
|
|
2117
|
+
poolSize?: number | undefined;
|
|
2118
|
+
autostart?: boolean | undefined;
|
|
2119
|
+
crossfade?: boolean | undefined;
|
|
2120
|
+
crossfadeDurationMs?: number | undefined;
|
|
2121
|
+
}>;
|
|
2122
|
+
/** A game's sound manifest: logical cue name → its definition. */
|
|
2123
|
+
type AudioManifest = Record<string, SoundEntry>;
|
|
2124
|
+
declare const AudioManifestSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2125
|
+
path: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
2126
|
+
volume: z.ZodOptional<z.ZodNumber>;
|
|
2127
|
+
loop: z.ZodOptional<z.ZodBoolean>;
|
|
2128
|
+
poolSize: z.ZodOptional<z.ZodNumber>;
|
|
2129
|
+
autostart: z.ZodOptional<z.ZodBoolean>;
|
|
2130
|
+
crossfade: z.ZodOptional<z.ZodBoolean>;
|
|
2131
|
+
crossfadeDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
2132
|
+
}, "strip", z.ZodTypeAny, {
|
|
2133
|
+
path: string | string[];
|
|
2134
|
+
loop?: boolean | undefined;
|
|
2135
|
+
volume?: number | undefined;
|
|
2136
|
+
poolSize?: number | undefined;
|
|
2137
|
+
autostart?: boolean | undefined;
|
|
2138
|
+
crossfade?: boolean | undefined;
|
|
2139
|
+
crossfadeDurationMs?: number | undefined;
|
|
2140
|
+
}, {
|
|
2141
|
+
path: string | string[];
|
|
2142
|
+
loop?: boolean | undefined;
|
|
2143
|
+
volume?: number | undefined;
|
|
2144
|
+
poolSize?: number | undefined;
|
|
2145
|
+
autostart?: boolean | undefined;
|
|
2146
|
+
crossfade?: boolean | undefined;
|
|
2147
|
+
crossfadeDurationMs?: number | undefined;
|
|
2148
|
+
}>>;
|
|
2074
2149
|
declare const MANIFEST_CANVAS_AFFINITIES: readonly ["isometric", "hex", "flat", "side", "3d", "none"];
|
|
2075
2150
|
type ManifestCanvasAffinity = (typeof MANIFEST_CANVAS_AFFINITIES)[number];
|
|
2076
2151
|
declare const ManifestCanvasAffinitySchema: z.ZodEnum<["isometric", "hex", "flat", "side", "3d", "none"]>;
|
|
@@ -2715,8 +2790,8 @@ type EntityData = Record<string, EntityRow[]>;
|
|
|
2715
2790
|
*
|
|
2716
2791
|
* DO NOT EDIT MANUALLY — regenerated by almadar-pattern-sync `patterns` command.
|
|
2717
2792
|
*
|
|
2718
|
-
* Generated: 2026-09-
|
|
2719
|
-
* Pattern count:
|
|
2793
|
+
* Generated: 2026-09-04T03:53:29.960Z
|
|
2794
|
+
* Pattern count: 278
|
|
2720
2795
|
*/
|
|
2721
2796
|
|
|
2722
2797
|
/**
|
|
@@ -2728,7 +2803,7 @@ type PatternPropValue = Record<string, FieldValue | undefined>;
|
|
|
2728
2803
|
* All valid pattern type names from @almadar/core/patterns registry.
|
|
2729
2804
|
* Use this type in render-ui effects for compile-time validation.
|
|
2730
2805
|
*/
|
|
2731
|
-
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' | 'dock-layout' | 'document-details' | 'document-panel' | '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' | 'floating-toolbar' | '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-text-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';
|
|
2806
|
+
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' | 'command-palette' | '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' | 'dock-layout' | 'document-details' | 'document-panel' | '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' | 'floating-toolbar' | 'form' | 'form-actions' | 'form-field' | 'form-layout' | 'form-section' | 'form-section-header' | 'fx-overlay' | 'game-audio-cue' | '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-text-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';
|
|
2732
2807
|
/**
|
|
2733
2808
|
* Pattern props map — each pattern type maps to its valid props interface.
|
|
2734
2809
|
*/
|
|
@@ -3156,6 +3231,12 @@ interface PatternPropsMap {
|
|
|
3156
3231
|
featureClickEvent?: string | SExpr;
|
|
3157
3232
|
keyMap?: PatternPropValue | string | SExpr;
|
|
3158
3233
|
keyUpMap?: PatternPropValue | string | SExpr;
|
|
3234
|
+
editable?: boolean | string | SExpr;
|
|
3235
|
+
selectedId?: string | SExpr;
|
|
3236
|
+
onSelect?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
3237
|
+
onMove?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
3238
|
+
selectEvent?: string | SExpr;
|
|
3239
|
+
moveEvent?: string | SExpr;
|
|
3159
3240
|
children?: unknown | string | SExpr;
|
|
3160
3241
|
};
|
|
3161
3242
|
'canvas-2d': {
|
|
@@ -3172,6 +3253,12 @@ interface PatternPropsMap {
|
|
|
3172
3253
|
tileLeaveEvent?: string | SExpr;
|
|
3173
3254
|
keyMap?: PatternPropValue | string | SExpr;
|
|
3174
3255
|
keyUpMap?: PatternPropValue | string | SExpr;
|
|
3256
|
+
editable?: boolean | string | SExpr;
|
|
3257
|
+
selectedId?: string | SExpr;
|
|
3258
|
+
onSelect?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
3259
|
+
onMove?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
3260
|
+
selectEvent?: string | SExpr;
|
|
3261
|
+
moveEvent?: string | SExpr;
|
|
3175
3262
|
camera?: string | SExpr;
|
|
3176
3263
|
scale?: number | string | SExpr;
|
|
3177
3264
|
tileWidth?: number | string | SExpr;
|
|
@@ -3369,6 +3456,15 @@ interface PatternPropsMap {
|
|
|
3369
3456
|
isLoading?: boolean | string | SExpr;
|
|
3370
3457
|
error?: PatternPropValue | string | SExpr;
|
|
3371
3458
|
showCopy?: boolean | string | SExpr;
|
|
3459
|
+
editorId?: string | SExpr;
|
|
3460
|
+
onEditorFocus?: string | SExpr;
|
|
3461
|
+
onEditorBlur?: string | SExpr;
|
|
3462
|
+
onMotion?: string | SExpr;
|
|
3463
|
+
onOperate?: string | SExpr;
|
|
3464
|
+
onInsertText?: string | SExpr;
|
|
3465
|
+
onSetMode?: string | SExpr;
|
|
3466
|
+
motions?: unknown[] | string | SExpr;
|
|
3467
|
+
operators?: unknown[] | string | SExpr;
|
|
3372
3468
|
};
|
|
3373
3469
|
'code-runner-panel': {
|
|
3374
3470
|
type: 'code-runner-panel';
|
|
@@ -3379,6 +3475,16 @@ interface PatternPropsMap {
|
|
|
3379
3475
|
runEvent?: string | SExpr;
|
|
3380
3476
|
className?: string | SExpr;
|
|
3381
3477
|
};
|
|
3478
|
+
'command-palette': {
|
|
3479
|
+
type: 'command-palette';
|
|
3480
|
+
open: boolean | string | SExpr;
|
|
3481
|
+
onOpenChange: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
3482
|
+
commands: unknown[] | string | SExpr;
|
|
3483
|
+
onSelect?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
3484
|
+
placeholder?: string | SExpr;
|
|
3485
|
+
emptyLabel?: string | SExpr;
|
|
3486
|
+
className?: string | SExpr;
|
|
3487
|
+
};
|
|
3382
3488
|
'community-links': {
|
|
3383
3489
|
type: 'community-links';
|
|
3384
3490
|
github?: PatternPropValue | string | SExpr;
|
|
@@ -4364,6 +4470,16 @@ interface PatternPropsMap {
|
|
|
4364
4470
|
children?: unknown | string | SExpr;
|
|
4365
4471
|
className?: string | SExpr;
|
|
4366
4472
|
};
|
|
4473
|
+
'game-audio-cue': {
|
|
4474
|
+
type: 'game-audio-cue';
|
|
4475
|
+
cue?: string | SExpr;
|
|
4476
|
+
cueSeq?: number | string | SExpr;
|
|
4477
|
+
music?: string | SExpr;
|
|
4478
|
+
muted?: boolean | string | SExpr;
|
|
4479
|
+
volume?: number | string | SExpr;
|
|
4480
|
+
manifest: PatternPropValue | string | SExpr;
|
|
4481
|
+
baseUrl?: string | SExpr;
|
|
4482
|
+
};
|
|
4367
4483
|
'game-audio-toggle': {
|
|
4368
4484
|
type: 'game-audio-toggle';
|
|
4369
4485
|
size?: string | SExpr;
|
|
@@ -4372,6 +4488,7 @@ interface PatternPropsMap {
|
|
|
4372
4488
|
error?: PatternPropValue | string | SExpr;
|
|
4373
4489
|
onAsset?: PatternPropValue | string | SExpr;
|
|
4374
4490
|
offAsset?: PatternPropValue | string | SExpr;
|
|
4491
|
+
toggleEvent?: string | SExpr;
|
|
4375
4492
|
};
|
|
4376
4493
|
'game-hud': {
|
|
4377
4494
|
type: 'game-hud';
|
|
@@ -4724,6 +4841,7 @@ interface PatternPropsMap {
|
|
|
4724
4841
|
width?: number | string | SExpr;
|
|
4725
4842
|
height?: number | string | SExpr;
|
|
4726
4843
|
backgroundColor?: string | SExpr;
|
|
4844
|
+
fontFamily?: string | SExpr;
|
|
4727
4845
|
shapes?: unknown[] | string | SExpr;
|
|
4728
4846
|
drawables?: unknown[] | string | SExpr;
|
|
4729
4847
|
projector?: PatternPropValue | string | SExpr;
|
|
@@ -4862,6 +4980,7 @@ interface PatternPropsMap {
|
|
|
4862
4980
|
showTickLabels?: boolean | string | SExpr;
|
|
4863
4981
|
tickLabelFontSize?: number | string | SExpr;
|
|
4864
4982
|
labelFontSize?: number | string | SExpr;
|
|
4983
|
+
fontFamily?: string | SExpr;
|
|
4865
4984
|
showCurveLabels?: boolean | string | SExpr;
|
|
4866
4985
|
curves?: unknown[] | string | SExpr;
|
|
4867
4986
|
points?: unknown[] | string | SExpr;
|
|
@@ -7193,4 +7312,4 @@ interface RenderUINode {
|
|
|
7193
7312
|
renderItem?: RenderUINode;
|
|
7194
7313
|
}
|
|
7195
7314
|
|
|
7196
|
-
export { type
|
|
7315
|
+
export { type CheckpointLoadEffect 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 AudioManifest as L, AudioManifestSchema as M, type BehaviorEffect as N, type OrbitalId as O, type PageId as P, CAMERA_MODES as Q, type RelationConfig as R, type ServiceRef as S, type TraitId as T, type UISlot as U, type CallServiceConfig as V, type CallServiceEffect as W, type Camera as X, type CameraMode as Y, CameraModeSchema as Z, CameraSchema as _, type EntityPersistence as a, type McpServiceDef as a$, type CheckpointSaveEffect as a0, type ComposeEffect as a1, type ControlValue as a2, DEFAULT_UNIT_ANIMATION_ROWS as a3, type DerefEffect as a4, type DespawnEffect as a5, type DoEffect as a6, ENTITY_ROLES as a7, type EffectInput as a8, EffectSchema as a9, type ForwardEffect as aA, type IdForKind as aB, type IdKind as aC, IdentityLedgerSchema as aD, type LedgerEntry as aE, LedgerEntrySchema as aF, type LedgerKind as aG, LedgerKindSchema as aH, type LlmEffect as aI, type LogEffect as aJ, MANIFEST_ASSET_LICENSES as aK, MANIFEST_CANVAS_AFFINITIES as aL, MANIFEST_ENTRY_KINDS as aM, MANIFEST_SOURCE_CATALOGS as aN, type ManifestAssetLicense as aO, ManifestAssetLicenseSchema as aP, type ManifestCanvasAffinity as aQ, ManifestCanvasAffinitySchema as aR, type ManifestEntry as aS, type ManifestEntryInput as aT, type ManifestEntryKind as aU, ManifestEntryKindSchema as aV, ManifestEntrySchema as aW, type ManifestFrameSpec as aX, ManifestFrameSpecSchema as aY, type ManifestSourceCatalog as aZ, ManifestSourceCatalogSchema as a_, type EmitConfig as aa, type EmitEffect as ab, type EntityData as ac, type EntityFieldInput as ad, EntityFieldSchema as ae, EntityIdSchema as af, EntityPersistenceSchema as ag, type EntityRole as ah, EntityRoleSchema as ai, EntitySchema as aj, type EntityWith as ak, type EnumEntityField as al, type EvaluateConfig as am, type EvaluateEffect as an, EventIdSchema as ao, FIELD_TYPES as ap, type FetchEffect as aq, type FetchOptions as ar, type FetchResult as as, type Field as at, FieldSchema as au, type FieldType as av, FieldTypeSchema as aw, type FileValue as ax, FileValueSchema as ay, type ForwardConfig as az, type EventId as b, type SocketEvents as b$, McpServiceDefSchema as b0, type MemoryEffect as b1, type NavigateBackEffect as b2, type NavigateEffect as b3, type NavigateOptions as b4, type NnConfig as b5, type NnLayer as b6, type NotifyEffect as b7, type ObjectEntityField as b8, type OrbitalEntity as b9, SEMANTIC_STRING_TYPES as bA, SERVICE_TYPES as bB, SHEET_PROJECTIONS as bC, SPRITE_DIRECTIONS as bD, SPRITE_SHEET_LAYOUT 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, SheetProjectionSchema as b_, type OrbitalEntityInput as ba, OrbitalEntitySchema as bb, OrbitalIdSchema as bc, type OsEffect as bd, PATTERN_TYPES as be, PageIdSchema as bf, type PaletteEntryId as bg, PaletteEntryIdSchema as bh, type PatternConfig as bi, type PatternProps as bj, type PatternPropsMap as bk, type PatternType as bl, type PersistData as bm, type PersistEffect as bn, type PersistEmitConfig as bo, type RefEffect as bp, RelationConfigSchema as bq, type RelationEntityField as br, type RenderChildrenMap as bs, type RenderItemLambda as bt, type RenderUINode as bu, type ResolvedPatternProps as bv, type RestAuthConfig as bw, RestAuthConfigSchema as bx, type RestServiceDef as by, RestServiceDefSchema as bz, type Effect as c, isFileValue as c$, SocketEventsSchema as c0, type SocketServiceDef as c1, SocketServiceDefSchema as c2, type SoundEntry as c3, SoundEntrySchema as c4, type SpawnEffect as c5, type SpriteDirection as c6, SpriteDirectionSchema as c7, type SpriteSheetAtlas as c8, type SpriteSheetAtlasInput as c9, asEventId as cA, asOrbitalId as cB, asPageId as cC, asPaletteEntryId as cD, asServiceId as cE, asThemeId as cF, asTraitId as cG, atomic as cH, callService as cI, createAssetKey as cJ, defaultUnitAtlas as cK, deref as cL, deriveCollection as cM, despawn as cN, doEffects as cO, emit as cP, findService as cQ, getDefaultAnimationsForRole as cR, getServiceNames as cS, hasService as cT, idKindOf as cU, idPrefix as cV, isEffect as cW, isEmailValue as cX, isEntityId as cY, isEventId as cZ, isFieldValue as c_, SpriteSheetAtlasSchema as ca, type SpriteSheetLayout as cb, type SubTexture as cc, SubTextureSchema as cd, type SwapEffect as ce, type TemplatePatternConfig as cf, type TextureAtlas as cg, TextureAtlasSchema as ch, type ThemeId as ci, ThemeIdSchema as cj, type Tilesheet as ck, TilesheetSchema as cl, type TraceEffect as cm, type TrainConfig as cn, type TrainEffect as co, TraitIdSchema as cp, type TypedEffect as cq, UISlotSchema as cr, UI_SLOTS as cs, VISUAL_STYLES as ct, type ValidateEffect as cu, type VisualStyle as cv, VisualStyleSchema as cw, type WatchEffect as cx, type WatchOptions as cy, asEntityId as cz, type EntityId as d, isMcpService as d0, isOrbitalId as d1, isPageId as d2, isPaletteEntryId as d3, isPhoneValue as d4, isRestService as d5, isRuntimeEntity as d6, isSExprEffect as d7, isSemanticStringType as d8, isSemanticStringValue as d9, set as dA, spawn as dB, swap as dC, validateAssetAnimations as dD, watch as dE, isServiceId as da, isServiceReference as db, isServiceReferenceObject as dc, isSocketService as dd, isThemeId as de, isTraitId as df, isUrlValue as dg, isUuidValue as dh, isValidPatternType as di, ledgerCurName as dj, ledgerRename as dk, ledgerResolveName as dl, manifestToAssetCatalog as dm, matchAssetQuery as dn, mintId as dp, navigate as dq, navigateBack as dr, notify as ds, parseAssetKey as dt, parseAssetQuery as du, parseServiceRef as dv, persist as dw, persistenceModeAllowsOverrides as dx, ref as dy, renderUI as dz, 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 };
|
package/dist/factory/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { k as FactorySignatureCatalog, 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, J as JsonSchema } from '../types-
|
|
2
|
-
export { a as FactoryCallSiteParams, d as FactoryEntitySignature, e as FactoryEventSignature, f as FactoryExposure, g as FactoryPageSignature, i as FactoryProvenance, l as FactorySignatureEntityField, m as FactoryTraitSignature, n as JsonSchemaType, O as OwnershipOverlayEntry, P as PresentationNavItem, S as SchemaFieldType, q as TraitOverlayEntry, r as TraitOverlayListener } from '../types-
|
|
3
|
-
import { a as EntityPersistence, E as EntityField } from '../effect-
|
|
4
|
-
import { a as TraitReference } from '../trait-
|
|
1
|
+
import { k as FactorySignatureCatalog, 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, J as JsonSchema } from '../types-CRr2IuTj.js';
|
|
2
|
+
export { a as FactoryCallSiteParams, d as FactoryEntitySignature, e as FactoryEventSignature, f as FactoryExposure, g as FactoryPageSignature, i as FactoryProvenance, l as FactorySignatureEntityField, m as FactoryTraitSignature, n as JsonSchemaType, O as OwnershipOverlayEntry, P as PresentationNavItem, S as SchemaFieldType, q as TraitOverlayEntry, r as TraitOverlayListener } from '../types-CRr2IuTj.js';
|
|
3
|
+
import { a as EntityPersistence, E as EntityField } from '../effect-DruTSW2O.js';
|
|
4
|
+
import { a as TraitReference } from '../trait-DKJWX0Ru.js';
|
|
5
5
|
export { J as JsonValue } from '../expression-Fk8bQWef.js';
|
|
6
6
|
import 'zod';
|
|
7
7
|
|