@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.
@@ -1,6 +1,6 @@
1
- import { I as IdentityLedger, A as AnyPatternConfig, U as UISlot, c as Effect, h as RenderBinding, i as RenderUIEffect, d as EntityId, e as Entity, E as EntityField, a as EntityPersistence, f as EntityRow } from './effect-a1W_hXyG.js';
2
- import { a as OrbitalDefinition, O as OrbitalSchema, U as UseDeclaration, E as EntityRef, b as ExpectDeclaration, P as PageRef, c as Page, d as PageRefObject } from './schema-Dj4GC3Vo.js';
3
- import { b as TraitConfig, g as Trait, T as TraitEventListener, h as CallSiteConfig, j as TraitEventContract, d as TraitRef, a as TraitReference } from './trait-DgZ5Exel.js';
1
+ import { I as IdentityLedger, A as AnyPatternConfig, U as UISlot, c as Effect, h as RenderBinding, i as RenderUIEffect, d as EntityId, e as Entity, E as EntityField, a as EntityPersistence, f as EntityRow } from './effect-CgDrWfKW.js';
2
+ import { a as OrbitalDefinition, O as OrbitalSchema, U as UseDeclaration, E as EntityRef, b as ExpectDeclaration, P as PageRef, c as Page, d as PageRefObject } from './schema-KdqDOMXm.js';
3
+ import { b as TraitConfig, g as Trait, T as TraitEventListener, h as CallSiteConfig, j as TraitEventContract, d as TraitRef, a as TraitReference } from './trait-CesmHKZ2.js';
4
4
  import { S as SExpr } from './expression-Fk8bQWef.js';
5
5
  import 'zod';
6
6
 
package/dist/builders.js CHANGED
@@ -92,6 +92,8 @@ var FIELD_TYPES = [
92
92
  "phone",
93
93
  "uuid",
94
94
  "image",
95
+ "money",
96
+ "file",
95
97
  "array",
96
98
  "object",
97
99
  "enum",
@@ -129,6 +131,12 @@ var RelationConfigSchema = z.object({
129
131
  };
130
132
  return normalized;
131
133
  });
134
+ z.object({
135
+ name: z.string(),
136
+ url: z.string(),
137
+ mimeType: z.string(),
138
+ sizeBytes: z.number()
139
+ });
132
140
  var FIELD_TYPE_ALIASES = {
133
141
  text: "string",
134
142
  int: "number",
@@ -186,6 +194,8 @@ var EntityFieldSchema = z.lazy(() => {
186
194
  scalarVariant("slot"),
187
195
  scalarVariant("pattern"),
188
196
  scalarVariant("node"),
197
+ scalarVariant("money"),
198
+ scalarVariant("file"),
189
199
  // Enum variant — REQUIRES non-empty values.
190
200
  z.object({
191
201
  ...baseFieldShape,