@almadar/core 10.45.0 → 10.47.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 +7 -0
- package/dist/builders.js.map +1 -1
- package/dist/{effect-BZ1nzN3q.d.ts → effect-BZDXo4bV.d.ts} +87 -1
- package/dist/entityAccess-BGnJSqXD.d.ts +33 -0
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/factory-runtime/index.js +7 -0
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +8 -7
- package/dist/index.js +784 -5
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +6 -34
- package/dist/mock/index.js +7 -0
- package/dist/mock/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 +1567 -6
- package/dist/patterns/index.js +747 -4
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +745 -2
- package/dist/patterns/registry.json +745 -2
- package/dist/{schema-CZNILCHD.d.ts → schema-CGoLC-m6.d.ts} +830 -2
- package/dist/{trait-1V3odk0y.d.ts → trait-1OkxYkAr.d.ts} +121 -1
- package/dist/types/index.d.ts +7 -7
- package/dist/types/index.js +7 -0
- package/dist/types/index.js.map +1 -1
- package/dist/{types-GAiRTtkp.d.ts → types-By96RdSM.d.ts} +2 -2
- package/package.json +1 -1
package/dist/builders.d.ts
CHANGED
|
@@ -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-
|
|
2
|
-
import { a as OrbitalDefinition, O as OrbitalSchema, U as UseDeclaration, E as EntityRef, P as PageRef, b as Page, c as PageRefObject } from './schema-
|
|
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-
|
|
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-BZDXo4bV.js';
|
|
2
|
+
import { a as OrbitalDefinition, O as OrbitalSchema, U as UseDeclaration, E as EntityRef, P as PageRef, b as Page, c as PageRefObject } from './schema-CGoLC-m6.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-1OkxYkAr.js';
|
|
4
4
|
import { S as SExpr } from './expression-Yf7qvvOs.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
|
package/dist/builders.js
CHANGED
|
@@ -362,6 +362,13 @@ var OrbitalEntitySchema = z.object({
|
|
|
362
362
|
create_policy: SExprSchema.optional(),
|
|
363
363
|
update_policy: SExprSchema.optional(),
|
|
364
364
|
delete_policy: SExprSchema.optional(),
|
|
365
|
+
// Snake_case for the same cross-language reason as the four policies above.
|
|
366
|
+
access_waivers: z.object({
|
|
367
|
+
read: z.string().optional(),
|
|
368
|
+
create: z.string().optional(),
|
|
369
|
+
update: z.string().optional(),
|
|
370
|
+
delete: z.string().optional()
|
|
371
|
+
}).optional(),
|
|
365
372
|
collection: z.string().optional(),
|
|
366
373
|
fields: z.array(EntityFieldSchema).min(1, "At least one field is required"),
|
|
367
374
|
instances: z.array(z.record(JsonValueSchema)).optional(),
|