@almadar/core 10.109.0 → 10.110.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 +5 -5
- package/dist/builders.js.map +1 -1
- package/dist/{bus-De_T27aq.d.ts → bus-CuAsuaHW.d.ts} +2 -2
- package/dist/{effect-Cv7k1MTO.d.ts → effect-2JoKc8Zj.d.ts} +1 -1
- package/dist/{entityAccess-CH8vC2OG.d.ts → entityAccess-CuKaSX0N.d.ts} +3 -3
- package/dist/{expression-C6Gs_c5b.d.ts → expression-DhTTuu2W.d.ts} +16 -1
- package/dist/factory/index.d.ts +5 -5
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +5 -5
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/fixtures.d.ts +3 -3
- package/dist/fixtures.js.map +1 -1
- package/dist/{index-BzFToa4c.d.ts → index-bC0n_h8G.d.ts} +37 -8
- package/dist/index.d.ts +15 -15
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +6 -6
- package/dist/mock/index.js.map +1 -1
- package/dist/patterns/index.d.ts +3 -3
- package/dist/{schema-Chi9QIcZ.d.ts → schema-DqBoP7Ab.d.ts} +340 -340
- package/dist/state-machine/index.d.ts +1 -1
- package/dist/themes/index.d.ts +1 -1
- package/dist/{trait-A_OGE8xT.d.ts → trait-S5uhI089.d.ts} +2 -2
- package/dist/types/index.d.ts +8 -8
- package/dist/types/index.js.map +1 -1
- package/dist/{types-DQoBssKq.d.ts → types-2uS2WfIo.d.ts} +2 -2
- package/package.json +1 -1
- package/dist/{domain-DYverojF.d.ts → domain-Bf6sf9NR.d.ts} +210 -210
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { F as FieldValue, S as ServerReportedEffect, N as NamespacedEffectName, g as EntityRow, d as OrbitalId, T as TraitId, b as EventId, h as PatternConfig, i as ResolvedPatternProps, A as AnyPatternConfig } from './effect-
|
|
1
|
+
import { F as FieldValue, S as ServerReportedEffect, N as NamespacedEffectName, g as EntityRow, d as OrbitalId, T as TraitId, b as EventId, h as PatternConfig, i as ResolvedPatternProps, A as AnyPatternConfig } from './effect-2JoKc8Zj.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { a as EventPayloadValue, b as EventPayload } from './expression-
|
|
3
|
+
import { a as EventPayloadValue, b as EventPayload } from './expression-DhTTuu2W.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Authenticated user context — what `@user.x` resolves against.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { S as SExpr, b as EventPayload, E as Expression } from './expression-
|
|
2
|
+
import { S as SExpr, b as EventPayload, E as Expression } from './expression-DhTTuu2W.js';
|
|
3
3
|
import { J as JsonValue, R as RuntimeValue } from './json-D8gmyK3l.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { O as OrbitalEntity } from './effect-
|
|
2
|
-
import { O as OrbitalSchema, a as OrbitalDefinition } from './schema-
|
|
3
|
-
import { S as SExpr } from './expression-
|
|
1
|
+
import { O as OrbitalEntity } from './effect-2JoKc8Zj.js';
|
|
2
|
+
import { O as OrbitalSchema, a as OrbitalDefinition } from './schema-DqBoP7Ab.js';
|
|
3
|
+
import { S as SExpr } from './expression-DhTTuu2W.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Entity access policies — the declared `@read`/`@create`/`@update`/`@delete`
|
|
@@ -182,6 +182,21 @@ declare function isValidBinding(binding: string): boolean;
|
|
|
182
182
|
* @returns The operator string or null if not a valid call
|
|
183
183
|
*/
|
|
184
184
|
declare function getOperator(expr: SExpr): string | null;
|
|
185
|
+
/** Where a node sits in its S-expression: argument indices of calls/arrays, keys of object literals. */
|
|
186
|
+
type SExprPath = ReadonlyArray<number | string>;
|
|
187
|
+
/**
|
|
188
|
+
* One step of a traced evaluation. `enter`/`exit` bracket a node's evaluation
|
|
189
|
+
* (`exit` carries its value or error); `iter` marks a node re-entered (a lambda
|
|
190
|
+
* body per item); `skip` marks an argument the operator never evaluated
|
|
191
|
+
* (short-circuited `and`/`or`, the untaken `if` branch).
|
|
192
|
+
*/
|
|
193
|
+
interface EvalStep {
|
|
194
|
+
kind: 'enter' | 'exit' | 'iter' | 'skip';
|
|
195
|
+
path: SExprPath;
|
|
196
|
+
value?: RuntimeValue;
|
|
197
|
+
error?: string;
|
|
198
|
+
}
|
|
199
|
+
type EvalTrace = EvalStep[];
|
|
185
200
|
/**
|
|
186
201
|
* Print an S-expression in `.lolo` surface form: calls as `(op args…)`,
|
|
187
202
|
* bindings bare, strings quoted, objects `{ k: v }`, literal arrays `[a b]`.
|
|
@@ -271,4 +286,4 @@ interface LogMeta {
|
|
|
271
286
|
*/
|
|
272
287
|
declare function isStaticallyFalse(expr: SExpr, resolve?: (binding: string) => SExprAtom | undefined): boolean;
|
|
273
288
|
|
|
274
|
-
export {
|
|
289
|
+
export { isSExprCall as A, isStaticallyFalse as B, CORE_BINDINGS as C, isValidBinding as D, type Expression as E, parseBinding as F, sexpr as G, walkSExpr as H, type LogMeta as L, type ParsedBinding as P, type SExpr as S, type EventPayloadValue as a, type EventPayload as b, type CoreBinding as c, type EvalContext as d, type EvalStep as e, type EvalTrace as f, EventPayloadSchema as g, EventPayloadValueSchema as h, type ExpressionInput as i, ExpressionSchema as j, type LogMetaValue as k, type SExprAtom as l, SExprAtomSchema as m, SExprDataSchema as n, type SExprInput as o, type SExprObject as p, type SExprPath as q, SExprSchema as r, collectBindings as s, formatSExpr as t, getArgs as u, getOperator as v, isBinding as w, isEventPayloadValue as x, isSExpr as y, isSExprAtom as z };
|
package/dist/factory/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { k as FactorySignatureCatalog, 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, J as JsonSchema } from '../types-
|
|
2
|
-
export { a as FactoryCallSiteParams, d as FactoryEntitySignature, e as FactoryEventSignature, f as FactoryExposure, g as FactoryPageSignature, i as FactoryProvenance, l as FactorySignatureEntityField, m as FactoryTraitSignature, 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
|
-
import { a as TraitReference } from '../trait-
|
|
1
|
+
import { k as FactorySignatureCatalog, 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, J as JsonSchema } from '../types-2uS2WfIo.js';
|
|
2
|
+
export { a as FactoryCallSiteParams, d as FactoryEntitySignature, e as FactoryEventSignature, f as FactoryExposure, g as FactoryPageSignature, i as FactoryProvenance, l as FactorySignatureEntityField, m as FactoryTraitSignature, n as JsonSchemaType, O as OwnershipOverlayEntry, P as PresentationNavItem, S as SchemaFieldType, q as TraitOverlayEntry, r as TraitOverlayListener } from '../types-2uS2WfIo.js';
|
|
3
|
+
import { a as EntityPersistence, E as EntityField } from '../effect-2JoKc8Zj.js';
|
|
4
|
+
import { a as TraitReference } from '../trait-S5uhI089.js';
|
|
5
5
|
export { J as JsonValue } from '../json-D8gmyK3l.js';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import '../expression-
|
|
7
|
+
import '../expression-DhTTuu2W.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Rehydrate `overridableConfigKeys` from a catalog's `knobDefs` table,
|