@almadar/core 10.86.0 → 10.87.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 -4
- package/dist/builders.js +68 -29
- package/dist/builders.js.map +1 -1
- package/dist/{effect-BgDiw_bG.d.ts → effect-DMA97JxX.d.ts} +22 -6
- package/dist/{entityAccess-DK5S_2cT.d.ts → entityAccess-DNDEF75i.d.ts} +2 -2
- package/dist/{expression-Fk8bQWef.d.ts → expression-WfTp2arD.d.ts} +2 -65
- package/dist/factory/index.d.ts +6 -5
- package/dist/factory/index.js +1194 -401
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +35 -5
- package/dist/factory-runtime/index.js +127 -52
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/i18n/index.d.ts +111 -1
- package/dist/i18n/index.js +500 -19
- package/dist/i18n/index.js.map +1 -1
- package/dist/{index-ChYsqVJj.d.ts → index-xZP_Ajx3.d.ts} +18 -5
- package/dist/index.d.ts +82 -14
- package/dist/index.js +1876 -333
- package/dist/index.js.map +1 -1
- package/dist/json-D8gmyK3l.d.ts +65 -0
- package/dist/mock/index.d.ts +129 -12
- package/dist/mock/index.js +192 -61
- 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 +2525 -609
- package/dist/patterns/index.js +1238 -384
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/integrators-registry.json +107 -23
- package/dist/patterns/patterns-registry.json +1170 -400
- package/dist/patterns/registry.json +1170 -400
- package/dist/patterns/services-registry.json +170 -35
- package/dist/{schema-BhfQb1oe.d.ts → schema-_SPrm5Ic.d.ts} +46381 -21335
- package/dist/state-machine/index.d.ts +2 -1
- package/dist/trait-9tfq2tQb.d.ts +10554 -0
- package/dist/types/index.d.ts +7 -6
- package/dist/types/index.js +132 -43
- package/dist/types/index.js.map +1 -1
- package/dist/{types-CCAmdxcH.d.ts → types-CjRjhiaO.d.ts} +19 -3
- package/package.json +2 -2
- package/dist/trait-pavNlGqm.d.ts +0 -5385
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
2
|
+
import { S as SExpr, a as EventPayload, E as Expression } from './expression-WfTp2arD.js';
|
|
3
|
+
import { J as JsonValue, R as RuntimeValue } from './json-D8gmyK3l.js';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* Service Types for Orbital Schema
|
|
@@ -820,6 +821,14 @@ declare function idPrefix(kind: IdKind): string;
|
|
|
820
821
|
declare function idKindOf(id: string): IdKind | null;
|
|
821
822
|
/** Mint a fresh, opaque, kind-tagged id: `<prefix><ULID>`. */
|
|
822
823
|
declare function mintId<K extends IdKind>(kind: K): IdForKind[K];
|
|
824
|
+
/**
|
|
825
|
+
* Deterministically derive a child id rooted in `parentId` — no entropy, no
|
|
826
|
+
* clock, so re-deriving from the same inputs never churns. JS twin of the
|
|
827
|
+
* Rust `derive_id` in `orbital-core/src/identity.rs`; used ONLY for synthetic
|
|
828
|
+
* nodes produced by deterministic materialization (orbital-import
|
|
829
|
+
* prefixing), never for author-facing fresh ids (use {@link mintId} there).
|
|
830
|
+
*/
|
|
831
|
+
declare function deriveId(parentId: string, discriminator: string): string;
|
|
823
832
|
/** Ledger row kind. `palette` entries are manifest ids, not name-ledger rows. */
|
|
824
833
|
type LedgerKind = 'orbital' | 'entity' | 'trait' | 'event' | 'page' | 'service' | 'theme';
|
|
825
834
|
/**
|
|
@@ -1010,7 +1019,7 @@ declare const IdentityLedgerSchema: z.ZodObject<{
|
|
|
1010
1019
|
* { name: 'status', type: 'enum', values: ['draft', 'published'] }
|
|
1011
1020
|
* { name: 'authorId', type: 'relation', relation: { entity: 'User', cardinality: 'one' } }
|
|
1012
1021
|
*/
|
|
1013
|
-
type FieldType = 'string' | 'number' | 'boolean' | 'date' | 'timestamp' | 'datetime' | 'email' | 'url' | 'phone' | 'uuid' | 'image' | 'money' | 'file' | 'array' | 'object' | 'enum' | 'relation' | 'trait' | 'slot' | 'pattern' | 'node' | 'event' | 'scalar' | 'union'
|
|
1022
|
+
type FieldType = 'string' | 'number' | 'boolean' | 'date' | 'timestamp' | 'datetime' | 'email' | 'url' | 'phone' | 'uuid' | 'image' | 'money' | 'file' | 'array' | 'object' | 'enum' | 'relation' | 'trait' | 'slot' | 'pattern' | 'node' | 'event' | 'scalar' | 'union';
|
|
1014
1023
|
/** Every `FieldType`, as a runtime array. Downstream imports this instead of
|
|
1015
1024
|
* re-listing the union — five copies had already drifted apart. */
|
|
1016
1025
|
declare const FIELD_TYPES: readonly ["string", "number", "boolean", "date", "timestamp", "datetime", "email", "url", "phone", "uuid", "image", "money", "file", "array", "object", "enum", "relation", "trait", "slot", "pattern", "node", "event", "scalar", "union"];
|
|
@@ -1135,7 +1144,7 @@ declare function isSemanticStringValue(type: SemanticStringType, value: string):
|
|
|
1135
1144
|
* Field-type tags that don't carry a type-dependent payload. The base
|
|
1136
1145
|
* `EntityField` shape applies as-is.
|
|
1137
1146
|
*/
|
|
1138
|
-
type ScalarFieldType = 'string' | 'number' | 'boolean' | 'date' | 'timestamp' | 'datetime' | 'email' | 'url' | 'phone' | 'uuid' | 'image' | 'money' | 'file' | 'trait' | 'slot' | 'pattern' | 'node' | 'event' | 'scalar'
|
|
1147
|
+
type ScalarFieldType = 'string' | 'number' | 'boolean' | 'date' | 'timestamp' | 'datetime' | 'email' | 'url' | 'phone' | 'uuid' | 'image' | 'money' | 'file' | 'trait' | 'slot' | 'pattern' | 'node' | 'event' | 'scalar';
|
|
1139
1148
|
/** Fields shared across every variant. */
|
|
1140
1149
|
type EntityFieldBase = {
|
|
1141
1150
|
/**
|
|
@@ -2410,6 +2419,7 @@ type OrbitalEntity = {
|
|
|
2410
2419
|
};
|
|
2411
2420
|
declare const OrbitalEntitySchema: z.ZodObject<{
|
|
2412
2421
|
name: z.ZodString;
|
|
2422
|
+
id: z.ZodOptional<z.ZodEffects<z.ZodString, EntityId, string>>;
|
|
2413
2423
|
persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime"]>>;
|
|
2414
2424
|
shared: z.ZodOptional<z.ZodBoolean>;
|
|
2415
2425
|
identity: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2469,6 +2479,7 @@ declare const OrbitalEntitySchema: z.ZodObject<{
|
|
|
2469
2479
|
name: string;
|
|
2470
2480
|
persistence: "persistent" | "runtime";
|
|
2471
2481
|
fields: EntityField[];
|
|
2482
|
+
id?: EntityId | undefined;
|
|
2472
2483
|
description?: string | undefined;
|
|
2473
2484
|
shared?: boolean | undefined;
|
|
2474
2485
|
identity?: boolean | undefined;
|
|
@@ -2499,6 +2510,7 @@ declare const OrbitalEntitySchema: z.ZodObject<{
|
|
|
2499
2510
|
}, {
|
|
2500
2511
|
name: string;
|
|
2501
2512
|
fields: unknown[];
|
|
2513
|
+
id?: string | undefined;
|
|
2502
2514
|
description?: string | undefined;
|
|
2503
2515
|
persistence?: "persistent" | "runtime" | undefined;
|
|
2504
2516
|
shared?: boolean | undefined;
|
|
@@ -2534,6 +2546,7 @@ type Entity = OrbitalEntity;
|
|
|
2534
2546
|
/** Alias for OrbitalEntitySchema - preferred name */
|
|
2535
2547
|
declare const EntitySchema: z.ZodObject<{
|
|
2536
2548
|
name: z.ZodString;
|
|
2549
|
+
id: z.ZodOptional<z.ZodEffects<z.ZodString, EntityId, string>>;
|
|
2537
2550
|
persistence: z.ZodDefault<z.ZodEnum<["persistent", "runtime"]>>;
|
|
2538
2551
|
shared: z.ZodOptional<z.ZodBoolean>;
|
|
2539
2552
|
identity: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2593,6 +2606,7 @@ declare const EntitySchema: z.ZodObject<{
|
|
|
2593
2606
|
name: string;
|
|
2594
2607
|
persistence: "persistent" | "runtime";
|
|
2595
2608
|
fields: EntityField[];
|
|
2609
|
+
id?: EntityId | undefined;
|
|
2596
2610
|
description?: string | undefined;
|
|
2597
2611
|
shared?: boolean | undefined;
|
|
2598
2612
|
identity?: boolean | undefined;
|
|
@@ -2623,6 +2637,7 @@ declare const EntitySchema: z.ZodObject<{
|
|
|
2623
2637
|
}, {
|
|
2624
2638
|
name: string;
|
|
2625
2639
|
fields: unknown[];
|
|
2640
|
+
id?: string | undefined;
|
|
2626
2641
|
description?: string | undefined;
|
|
2627
2642
|
persistence?: "persistent" | "runtime" | undefined;
|
|
2628
2643
|
shared?: boolean | undefined;
|
|
@@ -2790,7 +2805,7 @@ type EntityData = Record<string, EntityRow[]>;
|
|
|
2790
2805
|
*
|
|
2791
2806
|
* DO NOT EDIT MANUALLY — regenerated by almadar-pattern-sync `patterns` command.
|
|
2792
2807
|
*
|
|
2793
|
-
* Generated: 2026-09-
|
|
2808
|
+
* Generated: 2026-09-07T02:55:20.579Z
|
|
2794
2809
|
* Pattern count: 279
|
|
2795
2810
|
*/
|
|
2796
2811
|
|
|
@@ -3452,6 +3467,7 @@ interface PatternPropsMap {
|
|
|
3452
3467
|
showLineNumbers?: boolean | string | SExpr;
|
|
3453
3468
|
wordWrap?: boolean | string | SExpr;
|
|
3454
3469
|
files?: unknown[] | string | SExpr;
|
|
3470
|
+
naturalLanguages?: unknown[] | string | SExpr;
|
|
3455
3471
|
actions?: unknown[] | string | SExpr;
|
|
3456
3472
|
isLoading?: boolean | string | SExpr;
|
|
3457
3473
|
error?: PatternPropValue | string | SExpr;
|
|
@@ -7313,7 +7329,7 @@ declare function watch(binding: string, event: string, options: WatchOptions): W
|
|
|
7313
7329
|
declare function atomic(...effects: SExpr[]): AtomicEffect;
|
|
7314
7330
|
/** Resolved pattern props for render-ui effects at runtime. Recursive for nested pattern configs. */
|
|
7315
7331
|
type ResolvedPatternProps = {
|
|
7316
|
-
[prop: string]: string | number | boolean | null | undefined | ResolvedPatternProps | ResolvedPatternProps
|
|
7332
|
+
[prop: string]: string | number | boolean | null | undefined | ResolvedPatternProps | RenderChildrenMap | Array<ResolvedPatternProps | RenderChildrenMap>;
|
|
7317
7333
|
};
|
|
7318
7334
|
/** A node in a render-ui effect tree. */
|
|
7319
7335
|
interface RenderUINode {
|
|
@@ -7328,4 +7344,4 @@ interface RenderUINode {
|
|
|
7328
7344
|
renderItem?: RenderUINode;
|
|
7329
7345
|
}
|
|
7330
7346
|
|
|
7331
|
-
export {
|
|
7347
|
+
export { CameraSchema as $, type AnyPatternConfig as A, type AssetCatalogEntryInput as B, AssetCatalogEntrySchema as C, AssetCatalogSchema as D, type EntityField as E, type FieldValue as F, type AssetDimension as G, AssetDimensionSchema as H, type IdentityLedger as I, AssetSchema as J, type AssetUrl as K, type AtomicEffect as L, type AudioManifest as M, AudioManifestSchema as N, type OrbitalId as O, type PageId as P, type BehaviorEffect as Q, type RelationConfig as R, type ServiceRef as S, type TraitId as T, type UISlot as U, CAMERA_MODES as V, type CallServiceConfig as W, type CallServiceEffect as X, type Camera as Y, type CameraMode as Z, CameraModeSchema as _, type EntityPersistence as a, ManifestSourceCatalogSchema as a$, type CheckpointLoadEffect as a0, type CheckpointSaveEffect as a1, type ComposeEffect as a2, type ControlValue as a3, DEFAULT_UNIT_ANIMATION_ROWS as a4, type DerefEffect as a5, type DespawnEffect as a6, type DoEffect as a7, ENTITY_ROLES as a8, type EffectInput as a9, type ForwardConfig as aA, type ForwardEffect as aB, type IdForKind as aC, type IdKind as aD, IdentityLedgerSchema as aE, type LedgerEntry as aF, LedgerEntrySchema as aG, type LedgerKind as aH, LedgerKindSchema as aI, type LlmEffect as aJ, type LogEffect as aK, MANIFEST_ASSET_LICENSES as aL, MANIFEST_CANVAS_AFFINITIES as aM, MANIFEST_ENTRY_KINDS as aN, MANIFEST_SOURCE_CATALOGS as aO, type ManifestAssetLicense as aP, ManifestAssetLicenseSchema as aQ, type ManifestCanvasAffinity as aR, ManifestCanvasAffinitySchema as aS, type ManifestEntry as aT, type ManifestEntryInput as aU, type ManifestEntryKind as aV, ManifestEntryKindSchema as aW, ManifestEntrySchema as aX, type ManifestFrameSpec as aY, ManifestFrameSpecSchema as aZ, type ManifestSourceCatalog as a_, EffectSchema as aa, type EmitConfig as ab, type EmitEffect as ac, type EntityData as ad, type EntityFieldInput as ae, EntityFieldSchema as af, EntityIdSchema as ag, EntityPersistenceSchema as ah, type EntityRole as ai, EntityRoleSchema as aj, EntitySchema as ak, type EntityWith as al, type EnumEntityField as am, type EvaluateConfig as an, type EvaluateEffect as ao, EventIdSchema as ap, FIELD_TYPES as aq, type FetchEffect as ar, type FetchOptions as as, type FetchResult as at, type Field as au, FieldSchema as av, type FieldType as aw, FieldTypeSchema as ax, type FileValue as ay, FileValueSchema as az, type EventId as b, type SocketEvents as b$, type McpServiceDef as b0, McpServiceDefSchema as b1, type MemoryEffect as b2, type NavigateBackEffect as b3, type NavigateEffect as b4, type NavigateOptions as b5, type NnConfig as b6, type NnLayer as b7, type NotifyEffect as b8, type ObjectEntityField as b9, SEMANTIC_STRING_TYPES as bA, SERVICE_TYPES as bB, SHEET_PROJECTIONS as bC, SPRITE_DIRECTIONS as bD, SPRITE_SHEET_LAYOUT as bE, type ScalarEntityField as bF, type ScenePos as bG, ScenePosSchema as bH, type SemanticAssetRef as bI, type SemanticAssetRefInput as bJ, SemanticAssetRefSchema as bK, type SemanticStringType as bL, ServiceDefinitionSchema as bM, type ServiceId as bN, ServiceIdSchema as bO, type ServiceParams as bP, type ServiceParamsValue as bQ, type ServiceRefObject as bR, ServiceRefObjectSchema as bS, ServiceRefSchema as bT, ServiceRefStringSchema as bU, type ServiceType as bV, ServiceTypeSchema as bW, type SessionEffect as bX, type SetEffect as bY, type SheetProjection as bZ, SheetProjectionSchema as b_, type OrbitalEntityInput as ba, OrbitalEntitySchema as bb, OrbitalIdSchema as bc, type OsEffect as bd, PATTERN_TYPES as be, PageIdSchema as bf, type PaletteEntryId as bg, PaletteEntryIdSchema as bh, type PatternConfig as bi, type PatternProps as bj, type PatternPropsMap as bk, type PatternType as bl, type PersistData as bm, type PersistEffect as bn, type PersistEmitConfig as bo, type RefEffect as bp, RelationConfigSchema as bq, type RelationEntityField as br, type RenderChildrenMap as bs, type RenderItemLambda as bt, type RenderUINode as bu, type ResolvedPatternProps as bv, type RestAuthConfig as bw, RestAuthConfigSchema as bx, type RestServiceDef as by, RestServiceDefSchema as bz, type Effect as c, isFieldValue as c$, SocketEventsSchema as c0, type SocketServiceDef as c1, SocketServiceDefSchema as c2, type SoundEntry as c3, SoundEntrySchema as c4, type SpawnEffect as c5, type SpriteDirection as c6, SpriteDirectionSchema as c7, type SpriteSheetAtlas as c8, type SpriteSheetAtlasInput as c9, asEventId as cA, asOrbitalId as cB, asPageId as cC, asPaletteEntryId as cD, asServiceId as cE, asThemeId as cF, asTraitId as cG, atomic as cH, callService as cI, createAssetKey as cJ, defaultUnitAtlas as cK, deref as cL, deriveCollection as cM, deriveId as cN, despawn as cO, doEffects as cP, emit as cQ, findService as cR, getDefaultAnimationsForRole as cS, getServiceNames as cT, hasService as cU, idKindOf as cV, idPrefix as cW, isEffect as cX, isEmailValue as cY, isEntityId as cZ, isEventId as c_, SpriteSheetAtlasSchema as ca, type SpriteSheetLayout as cb, type SubTexture as cc, SubTextureSchema as cd, type SwapEffect as ce, type TemplatePatternConfig as cf, type TextureAtlas as cg, TextureAtlasSchema as ch, type ThemeId as ci, ThemeIdSchema as cj, type Tilesheet as ck, TilesheetSchema as cl, type TraceEffect as cm, type TrainConfig as cn, type TrainEffect as co, TraitIdSchema as cp, type TypedEffect as cq, UISlotSchema as cr, UI_SLOTS as cs, VISUAL_STYLES as ct, type ValidateEffect as cu, type VisualStyle as cv, VisualStyleSchema as cw, type WatchEffect as cx, type WatchOptions as cy, asEntityId as cz, type EntityId as d, isFileValue as d0, isMcpService as d1, isOrbitalId as d2, isPageId as d3, isPaletteEntryId as d4, isPhoneValue as d5, isRestService as d6, isRuntimeEntity as d7, isSExprEffect as d8, isSemanticStringType as d9, renderUI as dA, set as dB, spawn as dC, swap as dD, validateAssetAnimations as dE, watch as dF, isSemanticStringValue as da, isServiceId as db, isServiceReference as dc, isServiceReferenceObject as dd, isSocketService as de, isThemeId as df, isTraitId as dg, isUrlValue as dh, isUuidValue as di, isValidPatternType as dj, ledgerCurName as dk, ledgerRename as dl, ledgerResolveName as dm, manifestToAssetCatalog as dn, matchAssetQuery as dp, mintId as dq, navigate as dr, navigateBack as ds, notify as dt, parseAssetKey as du, parseAssetQuery as dv, parseServiceRef as dw, persist as dx, persistenceModeAllowsOverrides as dy, ref as dz, type Entity as e, type OrbitalEntity as f, type EntityRow as g, type ServiceDefinition as h, type RenderBinding as i, type RenderUIEffect as j, ANIMATION_NAMES as k, ASSET_ASPECTS as l, ASSET_DIMENSIONS as m, type AgentEffect as n, type AnimationDef as o, type AnimationDefInput as p, AnimationDefSchema as q, type AnimationName as r, AnimationNameSchema as s, type ApplicationEffect as t, type ArrayEntityField as u, type Asset as v, type AssetAspect as w, AssetAspectSchema as x, type AssetCatalog as y, type AssetCatalogEntry as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as OrbitalSchema } from './schema-
|
|
2
|
-
import { S as SExpr } from './expression-
|
|
1
|
+
import { O as OrbitalSchema } from './schema-_SPrm5Ic.js';
|
|
2
|
+
import { S as SExpr } from './expression-WfTp2arD.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Entity access policies — the declared `@read`/`@create`/`@update`/`@delete`
|
|
@@ -1,68 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* JSON primitives — the universal "data crossed a boundary" type.
|
|
5
|
-
*
|
|
6
|
-
* Every value that arrives over the wire from an LLM (tool-call args),
|
|
7
|
-
* from disk (workspace files), or from an HTTP body before
|
|
8
|
-
* domain-specific validation is a `JsonValue`. Narrow with a typed
|
|
9
|
-
* predicate (`is`-guard) at the boundary; don't widen back to `unknown`.
|
|
10
|
-
*
|
|
11
|
-
* `JsonObject` and `ToolArgs` are aliases for the common
|
|
12
|
-
* `Record<string, JsonValue>` shape. `ToolArgs` is the name the
|
|
13
|
-
* agent surface uses for LLM-emitted tool-call arguments; `JsonObject`
|
|
14
|
-
* is the general-purpose alias. They are the same type — the alias
|
|
15
|
-
* exists so call sites read at the right semantic level.
|
|
16
|
-
*
|
|
17
|
-
* Why not `Record<string, unknown>`? Two reasons. (1) `unknown` widens
|
|
18
|
-
* back to anything, which defeats the purpose of typing the boundary.
|
|
19
|
-
* (2) The `@almadar/eslint-plugin/no-record-string-unknown` rule blocks
|
|
20
|
-
* the wider form — `JsonValue`-based records are the typed answer.
|
|
21
|
-
*
|
|
22
|
-
* @packageDocumentation
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Recursive JSON value union — every shape JSON can carry.
|
|
27
|
-
*/
|
|
28
|
-
type JsonValue = string | number | boolean | null | JsonValue[] | {
|
|
29
|
-
[key: string]: JsonValue;
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* JSON object — keyed string→JsonValue. The wire form of arbitrary
|
|
33
|
-
* structured data. Replaces `Record<string, unknown>` at typed
|
|
34
|
-
* boundaries (LLM emits, file reads, HTTP bodies).
|
|
35
|
-
*/
|
|
36
|
-
type JsonObject = {
|
|
37
|
-
[key: string]: JsonValue;
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* LLM tool-call arguments — same shape as `JsonObject`, named for the
|
|
41
|
-
* agent-surface call site. Each tool's `execute(args: ToolArgs)`
|
|
42
|
-
* receives this and narrows via an `is`-guard predicate before any
|
|
43
|
-
* field access.
|
|
44
|
-
*/
|
|
45
|
-
type ToolArgs = JsonObject;
|
|
46
|
-
/**
|
|
47
|
-
* Universal type-guard input — every runtime value shape a predicate can
|
|
48
|
-
* be handed, enumerated instead of `unknown` (the repo bans `unknown`
|
|
49
|
-
* even at guard boundaries). Primitives cover every `typeof` result;
|
|
50
|
-
* `object` covers arrays, records, class instances, and functions.
|
|
51
|
-
*/
|
|
52
|
-
type RuntimeValue = string | number | bigint | boolean | symbol | Date | null | undefined | object;
|
|
53
|
-
/**
|
|
54
|
-
* Type guard: is the given value a JSON primitive (non-array,
|
|
55
|
-
* non-object)? Used by walkers that decide whether to recurse.
|
|
56
|
-
*/
|
|
57
|
-
declare function isJsonPrimitive(value: JsonValue): value is string | number | boolean | null;
|
|
58
|
-
/**
|
|
59
|
-
* Type guard: is the given value a JSON object (non-array, non-null)?
|
|
60
|
-
*/
|
|
61
|
-
declare function isJsonObject(value: JsonValue): value is JsonObject;
|
|
62
|
-
/**
|
|
63
|
-
* Type guard: is the given value a JSON array?
|
|
64
|
-
*/
|
|
65
|
-
declare function isJsonArray(value: JsonValue): value is JsonValue[];
|
|
2
|
+
import { R as RuntimeValue } from './json-D8gmyK3l.js';
|
|
66
3
|
|
|
67
4
|
/**
|
|
68
5
|
* S-Expression Types
|
|
@@ -315,4 +252,4 @@ interface LogMeta {
|
|
|
315
252
|
[key: string]: LogMetaValue;
|
|
316
253
|
}
|
|
317
254
|
|
|
318
|
-
export {
|
|
255
|
+
export { CORE_BINDINGS as C, type Expression as E, type LogMeta as L, type ParsedBinding as P, type SExpr as S, type EventPayload as a, type EventPayloadValue as b, type CoreBinding as c, type EvalContext as d, type ExpressionInput as e, ExpressionSchema as f, type LogMetaValue as g, type SExprAtom as h, SExprAtomSchema as i, SExprDataSchema as j, type SExprInput as k, type SExprObject as l, SExprSchema as m, collectBindings as n, getArgs as o, getOperator as p, isBinding as q, isEventPayloadValue as r, isSExpr as s, isSExprAtom as t, isSExprCall as u, isValidBinding as v, parseBinding as w, sexpr as x, walkSExpr as y };
|
package/dist/factory/index.d.ts
CHANGED
|
@@ -1,9 +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-
|
|
5
|
-
export { J as JsonValue } from '../
|
|
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-CjRjhiaO.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-CjRjhiaO.js';
|
|
3
|
+
import { a as EntityPersistence, E as EntityField } from '../effect-DMA97JxX.js';
|
|
4
|
+
import { a as TraitReference } from '../trait-9tfq2tQb.js';
|
|
5
|
+
export { J as JsonValue } from '../json-D8gmyK3l.js';
|
|
6
6
|
import 'zod';
|
|
7
|
+
import '../expression-WfTp2arD.js';
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
10
|
* Rehydrate `overridableConfigKeys` from a catalog's `knobDefs` table,
|