Each package exports its API from its root. A package imports only from the layers under it.
| Export |
Purpose |
Optional<T>, none, some |
A present value (Some) or an absent value (None) |
isSome, isNone, map, flatMap, unwrap, fromNullable |
The operations of an optional |
| Export |
Purpose |
Expr |
An expression: a coeval document whose root is an envelope |
lit, ref, app, record, chain |
The builders of the canonical documents |
literalOf, opOf, isLiteral |
The value of a literal document, the op name of an op application, and the test of a literal |
isExpr, checkExpr, CheckExprOptions |
A check of a full document with the static kit of the kernel: a truth value, or the issues with their places |
isExprPart |
A check of a part of a document: a reference to a parameter of a fn around the part is valid |
partsOf, Parts |
The parts of a document, by the shape of its kind (partsOf of the kernel), and a way to fill their places |
evaluate, evaluateIn, objectResolver, resolverThing, Resolver, Ops, EvalIssue, issuesOf |
The evaluation through the kernel, and the issues of an error of the kernel |
machineOf, plannerOf, renderWorld, NO_VALUE |
The machine of render on the kernel: one machine and one cache of plans for each op registry. check with the machine knows the ops |
formatExpr, parseExpr, ParseResult |
The formula language: the text form of the documents |
Use refsOf, mapRefs, walk, check and docEquals of @mark1russell7/coeval with renderWorld for the static analysis of an expression.
| Export |
Purpose |
nodeStore({ nodeOps?, ops? }), forkStore(store, options?) |
An empty store with its semantics, and an independent copy of a store |
addNode, setExpr, setValue, fillMany, batch |
The writes of values and expressions. The kernel compiles the expression of each write one time |
setSlot, SlotOptions, expandNode, removeNode |
The writes of structure. setSlot with own makes the container the owner of the child |
resolveAll |
The repair tool: it rewires and evaluates the full store |
getNode, readValue, readTargets, readsOf, storeResolver, toposort |
The reads and the analysis. readTargets follows the default structure, and the engine uses the targets op. readsOf gives the read paths of an expression |
DepPath |
A read path: the segments of a world reference. The first segment is a node ID |
NodeOps, defaultOps, defaultSplash, defaultFlow, defaultDeref, defaultTargets, TargetsFn, ReadTargets |
The extension points |
Node, SplashFn, SplashTarget |
A node is read only. A splash op writes the value of its target, a SplashTarget |
valueEquals, isPlainObject |
The structural equality of node values |
EpochStats, MAX_CYCLE_ROUNDS |
The record of an epoch: evaluated, changed, cyclic, total. The limit of the rounds of a cycle |
| Export |
Purpose |
biblo, forkBiblo, registerClass, registerClasses, updateClass, renameClass |
The class registry, and an independent copy of a biblo. A class is data: its expressions are coeval documents |
componentClass, extendClass, resolveCells, resolveMethods |
The classes and their extends chain |
registerTrait, unregisterTrait, resolveTraits, classFingerprint, primeOf, Trait, requirementAtoms |
The traits and their prime fingerprints |
instantiate, destroyInstance, moveChild, ownerOf |
The instances |
classNodeOps |
The class-level reactive semantics |
| Export |
Purpose |
hydrate, hydrateAs, splay, dehydrate, readCells |
The three operations |
rehydrate, replaceValue |
A new value for an instance: in place, or with a new subtree |
splayKit, SplayKit, SplayOptions, RenderCtx, DehydrateCtx, HydrateCtx |
The kit, the options and the contexts of the methods |
viewPolicy, ViewPolicy, Detail |
The level of detail |
SplayCache, invalidateSplay |
The memo of splay |
standardClasses, defaultClassFor, exprClassFor |
The standard classes. exprClassFor sends an expression to ExprLit, ExprRef, ExprApp or ExprForm |
standardTraits, PointTrait, LabeledTrait |
The standard traits |
standardOps, opCategories, textOf, briefOf |
The standard ops |
| Export |
Purpose |
App, SESSION_KEY |
The React viewer. Give it a session to control its state. With a storageKey, it saves its session in the browser. The standalone app and the site use SESSION_KEY |
KEPT_SUFFIX |
The suffix of the key of a saved session that did not load in full. The App keeps it, and it offers a download |
ViewerSession |
The model of the viewer, without React: the actions, undo and redo, save, restore and open, and the level of detail. open adds a saved session as one step, thus undo takes it back |
SavedSession, SavedView, Place, PlaceRoot, RestoreResult |
The JSON form of a session. Each action keeps the place of its instance. restore gives complete, partial or refused |
viewerKit, viewerOps, fallbackRender, lodFrame |
The view atoms of React, and the disclosure frame |
parseFormula, Parse, Parsed |
The parser of the formula field: a value, an error, or null for a draft that is not complete |
@mark1russell7/render-seat gives reactive path subscriptions over plain values. The layout of the type graph uses @mark1russell7/packing, in its own repository. The old package @mark1russell7/render-pack is deprecated.