@almadar/core 11.4.0 → 11.5.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-CAQ_shuO.d.ts → builders-JiXD6W1T.d.ts} +2434 -266
- package/dist/builders.d.ts +5 -5
- package/dist/builders.js +3 -3
- package/dist/{bus-QFvlnIfW.d.ts → bus-__zVNcsp.d.ts} +26 -6
- package/dist/{chunk-OLSKERKZ.js → chunk-27Y5AXHB.js} +21 -0
- package/dist/chunk-2WLRKYD5.js +3823 -0
- package/dist/{chunk-UCP26C3C.js → chunk-J64IR3DR.js} +14 -4
- package/dist/{chunk-ISAUHHDU.js → chunk-J64YVVB4.js} +1 -1
- package/dist/{chunk-JPJQCTJI.js → chunk-JN3MMQTB.js} +3 -1
- package/dist/{chunk-JCRN3F6T.js → chunk-LQZXCL47.js} +62 -26
- package/dist/{chunk-O2ZUOWNK.js → chunk-OQ3Y5SL3.js} +1 -1
- package/dist/{chunk-TOAMAGC7.js → chunk-Q4OJQNYY.js} +5 -2
- package/dist/{chunk-QV6J4EAF.js → chunk-VC3HXUWQ.js} +7071 -48
- package/dist/{chunk-7JO77HA6.js → chunk-VQWE3FCB.js} +1 -1
- package/dist/{chunk-DHWP7B4S.js → chunk-XYHBAUWE.js} +102 -5
- package/dist/{effect--PY8R4Oi.d.ts → effect-gddySYLX.d.ts} +212 -49
- package/dist/{effect-result-fH1ZTxn6.d.ts → effect-result-BvBwmspK.d.ts} +76 -9
- package/dist/factory/index.d.ts +2 -2
- package/dist/factory/index.js +4 -4
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/factory-runtime/index.js +10 -10
- package/dist/fixtures.d.ts +3 -3
- package/dist/fixtures.js +2 -2
- package/dist/i18n/index.js +1 -1
- package/dist/{index-Dk2AoJdI.d.ts → index-h6KrpmjR.d.ts} +27 -27
- package/dist/index.d.ts +14 -14
- package/dist/index.js +15 -15
- package/dist/kernel-wire.d.ts +2 -2
- package/dist/kernel-wire.js +1 -1
- package/dist/language/constructs.json +13 -3
- package/dist/language/program-types.json +22 -1
- package/dist/language/validation-codes.json +96 -1
- package/dist/language/vocabulary.json +19 -1
- package/dist/language-data.js +1 -1
- package/dist/patterns/component-mapping.json +11 -1
- package/dist/patterns/definitions.d.ts +1 -1
- package/dist/patterns/definitions.js +1 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +41 -3
- package/dist/patterns/index.js +2 -2
- package/dist/patterns/patterns-registry.json +7071 -48
- package/dist/patterns/registry.json +7071 -48
- package/dist/{trait-BO2gbBte.d.ts → trait-Oun4JgeZ.d.ts} +113 -73
- package/dist/types/index.d.ts +8 -8
- package/dist/types/index.js +7 -7
- package/dist/{types-CSBhbbse.d.ts → types-B-r7Z7Lf.d.ts} +2 -2
- package/package.json +6 -6
- package/dist/chunk-AIRZM37O.js +0 -3809
- package/dist/{domain-Cpmja5ak.d.ts → domain-WtYcvBMH.d.ts} +51 -51
package/dist/builders.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import './effect
|
|
2
|
-
export { bP as ComposeConnection, bQ as ComposePage, G as EventWiringEntry, S as LayoutStrategy, bR as MakeAtomOrbitalOpts, bS as MakeAtomOrbitalTraitOverrides, bT as MakeEntityOpts, bU as MakeLayoutTraitOpts, bV as MakeOrbitalWithUsesOpts, bW as MakePageOpts, bX as MakePageRefOpts, bY as MakePageRefOptsTyped, M as MakeTraitRefOpts, bZ as MakeTraitRefOptsTyped, a2 as ORBITAL_VALUE_IMPORT_ALIAS, b_ as applyTraitConfigOverrides, b$ as compose, c0 as connect, c1 as ensureIdField, c2 as extractTrait, c3 as makeAtomOrbital, c4 as makeEntity, c5 as makeLayoutTrait, c6 as makeOrbital, c7 as makeOrbitalWithUses, c8 as makePage, c9 as makePageRef, ca as makeRenderUI, cb as makeSchema, cc as makeSlot, cd as makeTraitRef, ce as mergeOrbitals, bA as orbitalImportFromValue, bI as parseProgram, cf as pipe, cg as plural, ch as wire } from './builders-
|
|
3
|
-
import './trait-
|
|
1
|
+
import './effect-gddySYLX.js';
|
|
2
|
+
export { bP as ComposeConnection, bQ as ComposePage, G as EventWiringEntry, S as LayoutStrategy, bR as MakeAtomOrbitalOpts, bS as MakeAtomOrbitalTraitOverrides, bT as MakeEntityOpts, bU as MakeLayoutTraitOpts, bV as MakeOrbitalWithUsesOpts, bW as MakePageOpts, bX as MakePageRefOpts, bY as MakePageRefOptsTyped, M as MakeTraitRefOpts, bZ as MakeTraitRefOptsTyped, a2 as ORBITAL_VALUE_IMPORT_ALIAS, b_ as applyTraitConfigOverrides, b$ as compose, c0 as connect, c1 as ensureIdField, c2 as extractTrait, c3 as makeAtomOrbital, c4 as makeEntity, c5 as makeLayoutTrait, c6 as makeOrbital, c7 as makeOrbitalWithUses, c8 as makePage, c9 as makePageRef, ca as makeRenderUI, cb as makeSchema, cc as makeSlot, cd as makeTraitRef, ce as mergeOrbitals, bA as orbitalImportFromValue, bI as parseProgram, cf as pipe, cg as plural, ch as wire } from './builders-JiXD6W1T.js';
|
|
3
|
+
import './trait-Oun4JgeZ.js';
|
|
4
4
|
import './expression-DxY6ct3t.js';
|
|
5
5
|
import 'zod';
|
|
6
|
-
import './domain-
|
|
7
|
-
import './effect-result-
|
|
6
|
+
import './domain-WtYcvBMH.js';
|
|
7
|
+
import './effect-result-BvBwmspK.js';
|
package/dist/builders.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { ORBITAL_VALUE_IMPORT_ALIAS, applyTraitConfigOverrides, compose, connect, ensureIdField, extractTrait, makeAtomOrbital, makeEntity, makeLayoutTrait, makeOrbital, makeOrbitalWithUses, makePage, makePageRef, makeRenderUI, makeSchema, makeSlot, makeTraitRef, mergeOrbitals, orbitalImportFromValue, parseProgram, pipe, plural, wire } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { ORBITAL_VALUE_IMPORT_ALIAS, applyTraitConfigOverrides, compose, connect, ensureIdField, extractTrait, makeAtomOrbital, makeEntity, makeLayoutTrait, makeOrbital, makeOrbitalWithUses, makePage, makePageRef, makeRenderUI, makeSchema, makeSlot, makeTraitRef, mergeOrbitals, orbitalImportFromValue, parseProgram, pipe, plural, wire } from './chunk-VQWE3FCB.js';
|
|
2
|
+
import './chunk-J64IR3DR.js';
|
|
3
3
|
import './chunk-IU3WGC6Q.js';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-JN3MMQTB.js';
|
|
5
5
|
import './chunk-R3Y7ABF4.js';
|
|
6
6
|
import './chunk-W3UJRSYC.js';
|
|
7
7
|
import './chunk-5IRZ6ROW.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { b as EventPayloadValue, c as EventPayload, L as LogMeta, J as JsonValue, a as JsonObject } from './expression-DxY6ct3t.js';
|
|
3
|
-
import { V as Viewer, R as RowQuery, Q as QueryCapabilities, c as RowIdPage, d as RowWriteOp, e as RowWriteOutcome, f as RowWriteBatch, W as WriteCapabilities, g as RowCommitWrite, B as BusEventSource, C as ClientEffect, H as HostAskCompletion, D as DeliveryRecord, h as DispatchLog, a as EventResponse, b as EmittedEvent, E as EventRequest, i as RowSetRef } from './effect-result-
|
|
4
|
-
import { i as FieldValue, c as EntityRow, S as ServiceParams } from './effect
|
|
5
|
-
import { P as PayloadField } from './trait-
|
|
6
|
-
import { J as JsonSchema } from './types-
|
|
3
|
+
import { V as Viewer, R as RowQuery, Q as QueryCapabilities, c as RowIdPage, d as RowWriteOp, e as RowWriteOutcome, f as RowWriteBatch, W as WriteCapabilities, g as RowCommitWrite, B as BusEventSource, C as ClientEffect, H as HostAskCompletion, D as DeliveryRecord, h as DispatchLog, a as EventResponse, b as EmittedEvent, E as EventRequest, i as RowSetRef } from './effect-result-BvBwmspK.js';
|
|
4
|
+
import { i as FieldValue, c as EntityRow, S as ServiceParams } from './effect-gddySYLX.js';
|
|
5
|
+
import { P as PayloadField } from './trait-Oun4JgeZ.js';
|
|
6
|
+
import { J as JsonSchema } from './types-B-r7Z7Lf.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Authenticated user context — what `@user.x` resolves against.
|
|
@@ -474,6 +474,26 @@ declare const PayloadJsonSchemaSchema: z.ZodType<JsonSchema>;
|
|
|
474
474
|
* `getSymbolAtLocation`.
|
|
475
475
|
*/
|
|
476
476
|
type EventKey = string;
|
|
477
|
+
/**
|
|
478
|
+
* Name of a field of the entity a component is bound to. A marker for a prop
|
|
479
|
+
* or item property whose value is a field name (not arbitrary text), such as
|
|
480
|
+
* the field a grid groups by or a filter applies to.
|
|
481
|
+
*
|
|
482
|
+
* Plain alias over `string`, not branded, for the same reason as `EventKey`:
|
|
483
|
+
* field names come from user data at runtime, so cast friction would buy
|
|
484
|
+
* nothing. The pattern-sync tool finds it by type identity and writes
|
|
485
|
+
* `kind: "field-ref"` into the patterns registry.
|
|
486
|
+
*/
|
|
487
|
+
type EntityFieldName = string;
|
|
488
|
+
/** The name of a field of the rows held by the sibling prop `P` (`RowFieldName<'lineItems'>`). */
|
|
489
|
+
type RowFieldName<P extends string> = string;
|
|
490
|
+
/**
|
|
491
|
+
* User-visible text a component paints (a label, title or message), as
|
|
492
|
+
* opposed to an identifier, key or class name. A marker alias over `string`,
|
|
493
|
+
* found by type identity; the pattern-sync tool writes `kind: "text"` into
|
|
494
|
+
* the patterns registry.
|
|
495
|
+
*/
|
|
496
|
+
type VisibleText = string;
|
|
477
497
|
/**
|
|
478
498
|
* Phantom-typed brand for declarative bus-emit props on UI components.
|
|
479
499
|
*
|
|
@@ -785,5 +805,5 @@ interface LiveBroadcastItem {
|
|
|
785
805
|
/** Zod twin of `LiveBroadcastItem`. Third type param `object`, see `BusEventSourceSchema`. */
|
|
786
806
|
declare const LiveBroadcastItemSchema: z.ZodType<LiveBroadcastItem, object>;
|
|
787
807
|
|
|
788
|
-
export { ANONYMOUS_USER as A, DeliveryRecordSchema as D, InboundRouteSchema as
|
|
789
|
-
export type {
|
|
808
|
+
export { ANONYMOUS_USER as A, DeliveryRecordSchema as D, InboundRouteSchema as G, HostAskCompletionSchema as H, LIFECYCLE_EVENTS as J, LiveBroadcastItemSchema as N, MountSeedSchema as O, NameListSchema as P, OptionalNameSchema as Q, OrbitalRegisterResponseSchema as S, PayloadIssueSchema as V, PayloadJsonSchemaSchema as W, RawUserClaimsSchema as _, ServerTopologySchema as a5, UNMOUNT_EVENT as ae, ViewerSchema as ah, createLazyService as aj, createTypedEventBus as ak, findPersonaInRoster as al, normalizeEventKey as am, normalizeUserContext as an, personaFromIdentityRow as ao, resolvePersonaSpec as ap, tickEventKey as aq, BusEventSourceSchema as b, ClientEffectTupleSchema as c, ClientHostAskTupleSchema as e, ClientNavigateBackTupleSchema as g, ClientNavigateTupleSchema as i, ClientRenderUITupleSchema as k, DispatchLogSchema as l, EmittedEventSchema as n, EventStreamItemSchema as s, ExternalInputSchema as v, InboundAnswerSchema as w, InboundFoundSchema as y, InboundOnlySchema as z };
|
|
809
|
+
export type { RowCommit as $, BusEvent as B, ClientEffectTuple as C, EventStreamItem as E, InboundRoute as F, InboundAnswer as I, LazyService as K, LiveBroadcastItem as L, LifecycleEvent as M, OrbitalRegisterResponse as R, PayloadIssue as T, UserContext as U, PersistActionName as X, PersistenceAdapter as Y, RawUserClaims as Z, BusEventListener as a, RowFieldName as a0, RowPage as a1, RowPageRequest as a2, RowQueryPage as a3, ServerTopology as a4, ServiceAction as a6, ServiceActionName as a7, ServiceContract as a8, ServiceEvents as a9, ServiceHostPorts as aa, StoreContract as ab, StoreFilter as ac, StoreFilterOp as ad, Unsubscribe as af, ViewerAuthority as ag, VisibleText as ai, ClientHostAskTuple as d, ClientNavigateBackTuple as f, ClientNavigateTuple as h, ClientRenderUITuple as j, DispatchRequestOutcome as m, EntityFieldName as o, EventEmit as p, EventKey as q, EventListen as r, ExternalInput as t, ExternalInputRequest as u, InboundDelivery as x };
|
|
@@ -254,6 +254,7 @@ var en_default = {
|
|
|
254
254
|
icon: "icon",
|
|
255
255
|
siteName: "siteName",
|
|
256
256
|
signIn: "signIn",
|
|
257
|
+
entries: "entries",
|
|
257
258
|
authenticated: "authenticated",
|
|
258
259
|
index: "index",
|
|
259
260
|
noindex: "noindex",
|
|
@@ -443,6 +444,7 @@ var en_default = {
|
|
|
443
444
|
event: "event",
|
|
444
445
|
EventAddress: "EventAddress",
|
|
445
446
|
CallKey: "CallKey",
|
|
447
|
+
MessageKey: "MessageKey",
|
|
446
448
|
slot: "slot",
|
|
447
449
|
pattern: "pattern",
|
|
448
450
|
Map: "Map",
|
|
@@ -477,6 +479,7 @@ var en_default = {
|
|
|
477
479
|
alias: "alias",
|
|
478
480
|
animations: "animations",
|
|
479
481
|
appliesTo: "appliesTo",
|
|
482
|
+
afterEntryMs: "afterEntryMs",
|
|
480
483
|
as: "as",
|
|
481
484
|
aspect: "aspect",
|
|
482
485
|
assetRef: "assetRef",
|
|
@@ -503,6 +506,7 @@ var en_default = {
|
|
|
503
506
|
content: "content",
|
|
504
507
|
create: "create",
|
|
505
508
|
create_policy: "create_policy",
|
|
509
|
+
create_server: "create_server",
|
|
506
510
|
createdAt: "createdAt",
|
|
507
511
|
curName: "curName",
|
|
508
512
|
customPatterns: "customPatterns",
|
|
@@ -620,6 +624,7 @@ var en_default = {
|
|
|
620
624
|
motion: "motion",
|
|
621
625
|
mounts: "mounts",
|
|
622
626
|
name: "name",
|
|
627
|
+
nearest: "nearest",
|
|
623
628
|
nestedForwardedFrom: "nestedForwardedFrom",
|
|
624
629
|
net: "net",
|
|
625
630
|
omit: "omit",
|
|
@@ -661,6 +666,7 @@ var en_default = {
|
|
|
661
666
|
radii: "radii",
|
|
662
667
|
read: "read",
|
|
663
668
|
read_policy: "read_policy",
|
|
669
|
+
read_server: "read_server",
|
|
664
670
|
reconnect: "reconnect",
|
|
665
671
|
ref: "ref",
|
|
666
672
|
refId: "refId",
|
|
@@ -869,6 +875,9 @@ var en_default = {
|
|
|
869
875
|
as: "as",
|
|
870
876
|
"audio/change-music": "audio/change-music",
|
|
871
877
|
"audio/play-sound": "audio/play-sound",
|
|
878
|
+
"audio/clock": "audio/clock",
|
|
879
|
+
"audio/decode": "audio/decode",
|
|
880
|
+
"audio/schedule": "audio/schedule",
|
|
872
881
|
"audio/stop-music": "audio/stop-music",
|
|
873
882
|
"audio/stop-sound": "audio/stop-sound",
|
|
874
883
|
"auth/consent": "auth/consent",
|
|
@@ -919,6 +928,7 @@ var en_default = {
|
|
|
919
928
|
"browser/tab-query": "browser/tab-query",
|
|
920
929
|
"browser/tab-unwatch": "browser/tab-unwatch",
|
|
921
930
|
"browser/tab-watch": "browser/tab-watch",
|
|
931
|
+
"browser/read-file": "browser/read-file",
|
|
922
932
|
"bytes/at": "bytes/at",
|
|
923
933
|
"bytes/concat": "bytes/concat",
|
|
924
934
|
"bytes/equals": "bytes/equals",
|
|
@@ -933,6 +943,7 @@ var en_default = {
|
|
|
933
943
|
"bytes/to-string": "bytes/to-string",
|
|
934
944
|
"bytes/valid-utf8": "bytes/valid-utf8",
|
|
935
945
|
"bytes/write-uint": "bytes/write-uint",
|
|
946
|
+
"bytes/xor": "bytes/xor",
|
|
936
947
|
"call-service": "call-service",
|
|
937
948
|
"cancel-call": "cancel-call",
|
|
938
949
|
"credential-connect": "credential-connect",
|
|
@@ -1009,6 +1020,7 @@ var en_default = {
|
|
|
1009
1020
|
"hash/sha": "hash/sha",
|
|
1010
1021
|
"hmac/sha": "hmac/sha",
|
|
1011
1022
|
"i18n/t": "i18n/t",
|
|
1023
|
+
"i18n/direction": "i18n/direction",
|
|
1012
1024
|
"identity/sign-in": "identity/sign-in",
|
|
1013
1025
|
"identity/sign-out": "identity/sign-out",
|
|
1014
1026
|
if: "if",
|
|
@@ -1167,6 +1179,7 @@ var en_default = {
|
|
|
1167
1179
|
"os/path-relative": "os/path-relative",
|
|
1168
1180
|
"os/pid": "os/pid",
|
|
1169
1181
|
"os/ppid": "os/ppid",
|
|
1182
|
+
"os/process-list": "os/process-list",
|
|
1170
1183
|
"os/read": "os/read",
|
|
1171
1184
|
"os/read-file": "os/read-file",
|
|
1172
1185
|
"os/readlink": "os/readlink",
|
|
@@ -1239,6 +1252,7 @@ var en_default = {
|
|
|
1239
1252
|
"program/compose": "program/compose",
|
|
1240
1253
|
"program/dispatch": "program/dispatch",
|
|
1241
1254
|
"program/eval": "program/eval",
|
|
1255
|
+
"program/host-ask": "program/host-ask",
|
|
1242
1256
|
"program/inputs": "program/inputs",
|
|
1243
1257
|
"program/live": "program/live",
|
|
1244
1258
|
"program/navigate": "program/navigate",
|
|
@@ -1271,6 +1285,9 @@ var en_default = {
|
|
|
1271
1285
|
"session/write-errors": "session/write-errors",
|
|
1272
1286
|
"session/write-memory": "session/write-memory",
|
|
1273
1287
|
"session/write-spec": "session/write-spec",
|
|
1288
|
+
"signal/autocorrelate": "signal/autocorrelate",
|
|
1289
|
+
"signal/envelope": "signal/envelope",
|
|
1290
|
+
"signal/frames": "signal/frames",
|
|
1274
1291
|
set: "set",
|
|
1275
1292
|
spawn: "spawn",
|
|
1276
1293
|
"str/camelCase": "str/camelCase",
|
|
@@ -1314,6 +1331,7 @@ var en_default = {
|
|
|
1314
1331
|
"time/add": "time/add",
|
|
1315
1332
|
"time/day": "time/day",
|
|
1316
1333
|
"time/diff": "time/diff",
|
|
1334
|
+
"time/epoch-ms": "time/epoch-ms",
|
|
1317
1335
|
"time/duration": "time/duration",
|
|
1318
1336
|
"time/endOf": "time/endOf",
|
|
1319
1337
|
"time/format": "time/format",
|
|
@@ -1333,6 +1351,8 @@ var en_default = {
|
|
|
1333
1351
|
"time/second": "time/second",
|
|
1334
1352
|
"time/startOf": "time/startOf",
|
|
1335
1353
|
"time/subtract": "time/subtract",
|
|
1354
|
+
"time/toDate": "time/toDate",
|
|
1355
|
+
"time/toInstant": "time/toInstant",
|
|
1336
1356
|
"time/today": "time/today",
|
|
1337
1357
|
"time/valid": "time/valid",
|
|
1338
1358
|
"time/weekday": "time/weekday",
|
|
@@ -1526,6 +1546,7 @@ function lazyKernelExports(load) {
|
|
|
1526
1546
|
resolveValues: (context, values) => kernel().resolveValues(context, values),
|
|
1527
1547
|
evaluateGuards: (context, guards) => kernel().evaluateGuards(context, guards),
|
|
1528
1548
|
evaluateTraced: (context, expression) => kernel().evaluateTraced(context, expression),
|
|
1549
|
+
traceEffects: (context, effects) => kernel().traceEffects(context, effects),
|
|
1529
1550
|
mapListenPayload: (mapping, payload) => kernel().mapListenPayload(mapping, payload),
|
|
1530
1551
|
scopeRows: (bindings, rows, policy, filter, entityType) => kernel().scopeRows(bindings, rows, policy, filter, entityType),
|
|
1531
1552
|
checkMutationAccess: (operation, bindings, row, policy, entityType) => kernel().checkMutationAccess(operation, bindings, row, policy, entityType),
|