@almadar/core 10.40.0 → 10.42.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 +596 -5
- package/dist/builders.js +2 -14
- package/dist/builders.js.map +1 -1
- package/dist/{effect-DQPFowvO.d.ts → effect-D4os99OL.d.ts} +1585 -5
- package/dist/factory/index.d.ts +5 -6
- package/dist/factory-runtime/index.d.ts +5 -5
- package/dist/factory-runtime/index.js +2 -14
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +34 -13
- package/dist/index.js +162 -19
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +32 -2
- package/dist/mock/index.js +31 -1
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +6 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +290 -8
- package/dist/patterns/index.js +130 -5
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +122 -3
- package/dist/patterns/registry.json +122 -3
- package/dist/{builders-Dw270YQh.d.ts → schema-C_lv_cta.d.ts} +1240 -851
- package/dist/{trait-C_TZnqb_.d.ts → trait-BQIlqUHC.d.ts} +134 -11
- package/dist/types/index.d.ts +23 -10
- package/dist/types/index.js +9 -14
- package/dist/types/index.js.map +1 -1
- package/dist/{types-BUqLsSEN.d.ts → types-Bd_LX0j8.d.ts} +2 -2
- package/package.json +1 -1
- package/dist/entity-DfD-iXkn.d.ts +0 -1572
package/dist/factory/index.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
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 {
|
|
4
|
-
export { J as JsonValue } from '../
|
|
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-Bd_LX0j8.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-Bd_LX0j8.js';
|
|
3
|
+
import { a as EntityPersistence, E as EntityField } from '../effect-D4os99OL.js';
|
|
4
|
+
export { J as JsonValue } from '../effect-D4os99OL.js';
|
|
5
|
+
import { a as TraitReference } from '../trait-BQIlqUHC.js';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '../expression-DpAj1RzP.js';
|
|
8
|
-
import '../effect-DQPFowvO.js';
|
|
9
8
|
|
|
10
9
|
/**
|
|
11
10
|
* Typed questionnaire surface — shapes the studio renders + answers.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { O as OrbitalSchema,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import '
|
|
5
|
-
import '../effect-DQPFowvO.js';
|
|
1
|
+
import { O as OrbitalSchema, a as OrbitalDefinition } from '../schema-C_lv_cta.js';
|
|
2
|
+
import { h as CallSiteConfig, i as CallSiteConfigEntry, g as Trait } from '../trait-BQIlqUHC.js';
|
|
3
|
+
import { E as EntityField, a as EntityPersistence } from '../effect-D4os99OL.js';
|
|
4
|
+
import { MakeTraitRefOpts } from '../builders.js';
|
|
6
5
|
import '../expression-DpAj1RzP.js';
|
|
6
|
+
import 'zod';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Orbital factory manifest types — shared across all packages.
|
|
@@ -638,7 +638,7 @@ var RequiredFieldSchema = z.object({
|
|
|
638
638
|
type: z.enum(["string", "number", "boolean", "date", "array", "object", "timestamp", "datetime", "enum", "email", "url", "phone", "uuid", "image"]),
|
|
639
639
|
description: z.string().optional()
|
|
640
640
|
});
|
|
641
|
-
z.object({
|
|
641
|
+
var TraitReferenceSchema = z.object({
|
|
642
642
|
ref: z.string().min(1),
|
|
643
643
|
refId: TraitIdSchema.optional(),
|
|
644
644
|
// V4 local declaration id (see the interface doc) — declared so the
|
|
@@ -731,19 +731,7 @@ var TraitSchema = z.object({
|
|
|
731
731
|
});
|
|
732
732
|
var TraitRefSchema = z.union([
|
|
733
733
|
z.string().min(1),
|
|
734
|
-
|
|
735
|
-
ref: z.string().min(1),
|
|
736
|
-
config: TraitConfigSchema.optional(),
|
|
737
|
-
linkedEntity: z.string().optional(),
|
|
738
|
-
name: z.string().optional(),
|
|
739
|
-
// Phase F.4: same non-empty refine as TraitReferenceSchema.events.
|
|
740
|
-
// Both schemas accept the same call-site argument shape, so the
|
|
741
|
-
// validators should agree.
|
|
742
|
-
events: z.record(
|
|
743
|
-
z.string().min(1, "events key (atom event name) must be non-empty"),
|
|
744
|
-
z.string().min(1, "events value (caller event name) must be non-empty")
|
|
745
|
-
).optional()
|
|
746
|
-
}),
|
|
734
|
+
TraitReferenceSchema,
|
|
747
735
|
TraitSchema
|
|
748
736
|
// Allow inline trait definitions
|
|
749
737
|
]);
|