@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.
@@ -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-BUqLsSEN.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-BUqLsSEN.js';
3
- import { E as EntityPersistence, a as EntityField } from '../entity-DfD-iXkn.js';
4
- export { J as JsonValue } from '../entity-DfD-iXkn.js';
5
- import { a as TraitReference } from '../trait-C_TZnqb_.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-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, M as MakeTraitRefOpts, a as OrbitalDefinition } from '../builders-Dw270YQh.js';
2
- import { C as CallSiteConfig, b as CallSiteConfigEntry, c as Trait } from '../trait-C_TZnqb_.js';
3
- import { a as EntityField, E as EntityPersistence } from '../entity-DfD-iXkn.js';
4
- import 'zod';
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
- z.object({
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
  ]);