@almadar/core 10.34.0 → 10.35.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-DFOj9_N8.d.ts → builders-CBL9rED-.d.ts} +117 -117
- package/dist/builders.d.ts +3 -3
- package/dist/builders.js +2 -2
- package/dist/builders.js.map +1 -1
- package/dist/{effect-D9WY6JgN.d.ts → effect-Cd6ibbZc.d.ts} +6 -1
- package/dist/factory/index.d.ts +5 -5
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/factory-runtime/index.js +3 -4
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +44 -21
- package/dist/index.js +99 -10
- package/dist/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +1 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +182 -5
- package/dist/patterns/index.js +90 -3
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/integrators-registry.json +30 -0
- package/dist/patterns/patterns-registry.json +58 -1
- package/dist/patterns/registry.json +58 -1
- package/dist/{trait-6_gs33fs.d.ts → trait-X5mQAMtW.d.ts} +26 -21
- package/dist/types/index.d.ts +10 -10
- package/dist/types/index.js +2 -2
- package/dist/types/index.js.map +1 -1
- package/dist/{types-CeGT3YB1.d.ts → types-DujRcijG.d.ts} +2 -2
- package/package.json +1 -1
|
@@ -2307,7 +2307,7 @@ type EntityData = Record<string, EntityRow[]>;
|
|
|
2307
2307
|
*
|
|
2308
2308
|
* DO NOT EDIT MANUALLY — regenerated by almadar-pattern-sync `patterns` command.
|
|
2309
2309
|
*
|
|
2310
|
-
* Generated: 2026-07-
|
|
2310
|
+
* Generated: 2026-07-25T06:32:54.156Z
|
|
2311
2311
|
* Pattern count: 263
|
|
2312
2312
|
*/
|
|
2313
2313
|
|
|
@@ -2667,6 +2667,11 @@ interface PatternPropsMap {
|
|
|
2667
2667
|
swipeLeftEvent?: string | SExpr;
|
|
2668
2668
|
swipeRightEvent?: string | SExpr;
|
|
2669
2669
|
dayWindow?: number | string | SExpr;
|
|
2670
|
+
titleField?: string | SExpr;
|
|
2671
|
+
startField?: string | SExpr;
|
|
2672
|
+
colorField?: string | SExpr;
|
|
2673
|
+
children?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
2674
|
+
renderItem?: ((...args: unknown[]) => unknown) | string | SExpr;
|
|
2670
2675
|
};
|
|
2671
2676
|
'canvas': {
|
|
2672
2677
|
type: 'canvas';
|
package/dist/factory/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
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-
|
|
3
|
-
import { a as EntityPersistence, E as EntityField } from '../effect-
|
|
4
|
-
export { J as JsonValue } from '../effect-
|
|
5
|
-
import { a as TraitReference } from '../trait-
|
|
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-DujRcijG.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-DujRcijG.js';
|
|
3
|
+
import { a as EntityPersistence, E as EntityField } from '../effect-Cd6ibbZc.js';
|
|
4
|
+
export { J as JsonValue } from '../effect-Cd6ibbZc.js';
|
|
5
|
+
import { a as TraitReference } from '../trait-X5mQAMtW.js';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '../expression-DpAj1RzP.js';
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { O as OrbitalSchema, M as MakeTraitRefOpts, a as OrbitalDefinition } from '../builders-
|
|
2
|
-
import { C as CallSiteConfig, b as CallSiteConfigEntry, c as Trait } from '../trait-
|
|
3
|
-
import { E as EntityField, a as EntityPersistence } from '../effect-
|
|
1
|
+
import { O as OrbitalSchema, M as MakeTraitRefOpts, a as OrbitalDefinition } from '../builders-CBL9rED-.js';
|
|
2
|
+
import { C as CallSiteConfig, b as CallSiteConfigEntry, c as Trait } from '../trait-X5mQAMtW.js';
|
|
3
|
+
import { E as EntityField, a as EntityPersistence } from '../effect-Cd6ibbZc.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../expression-DpAj1RzP.js';
|
|
6
6
|
|
|
@@ -612,7 +612,7 @@ var TraitEventListenerSchema = z.object({
|
|
|
612
612
|
tier: z.string().optional(),
|
|
613
613
|
guard: ExpressionSchema.optional(),
|
|
614
614
|
scope: EventScopeSchema.optional(),
|
|
615
|
-
payloadMapping: z.record(
|
|
615
|
+
payloadMapping: z.record(SExprSchema).optional(),
|
|
616
616
|
source: ListenSourceSchema.optional()
|
|
617
617
|
});
|
|
618
618
|
var RequiredFieldSchema = z.object({
|
|
@@ -1311,7 +1311,7 @@ var ComputedEventListenerSchema = z.object({
|
|
|
1311
1311
|
source: EventSourceSchema,
|
|
1312
1312
|
triggers: z.string().min(1),
|
|
1313
1313
|
guard: ExpressionSchema.optional(),
|
|
1314
|
-
payloadMapping: z.record(
|
|
1314
|
+
payloadMapping: z.record(SExprSchema).optional()
|
|
1315
1315
|
});
|
|
1316
1316
|
var OrbitalDefinitionSchema = z.object({
|
|
1317
1317
|
id: OrbitalIdSchema.optional(),
|
|
@@ -1727,10 +1727,9 @@ function rewriteEventContract(contract, oldName, newName) {
|
|
|
1727
1727
|
}
|
|
1728
1728
|
function rewriteListener(listener, oldName, newName) {
|
|
1729
1729
|
if (!listener.payloadMapping) return listener;
|
|
1730
|
-
const prefix = `@${oldName}`;
|
|
1731
1730
|
const nextMapping = {};
|
|
1732
1731
|
for (const [k, v] of Object.entries(listener.payloadMapping)) {
|
|
1733
|
-
nextMapping[k] = v
|
|
1732
|
+
nextMapping[k] = rewriteEntityInSExpr(v, oldName, newName);
|
|
1734
1733
|
}
|
|
1735
1734
|
return { ...listener, payloadMapping: nextMapping };
|
|
1736
1735
|
}
|