mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
src/next is src (the main export), src/next-node is src/node with short subpaths (/http, /workers, /plugins, /plugins/runtime, /app, /surfaces, /web, /react, /tui, /tui/launcher); the foundations get /json and /watch; Chord v1 moves to src/old (/old, /old/node) until p2 runs on v2; tests and docs move likewise (test/, docs/, test/old, docs/old). Durable and env import the foundations from their subpaths.
26 lines
785 B
TypeScript
26 lines
785 B
TypeScript
// Contracts for Chord's layers: accepted versions, the data behind a contract handle, and the types L4 dispatches on.
|
|
|
|
export { checkAccepts } from "./accepts.ts";
|
|
export {
|
|
type ContractShape,
|
|
type CurrentVariants,
|
|
contractData,
|
|
currentVariants,
|
|
LOCAL,
|
|
type MethodData,
|
|
type ShapeOf,
|
|
takesNoArgs,
|
|
type VariantData,
|
|
type VariantImplementation,
|
|
type VariantNames,
|
|
variantNames,
|
|
variantOrder,
|
|
variantsAt,
|
|
} from "./contract.ts";
|
|
export { editWith } from "./evolve.ts";
|
|
export { fingerprintOf, hash64, NORMAL_FORM_VERSION } from "./fingerprint.ts";
|
|
export type { Increment } from "./history.ts";
|
|
export { kindParams } from "./host-kind.ts";
|
|
export { checkName } from "./names.ts";
|
|
export type { Params, ParamsData } from "./params.ts";
|
|
export { Method } from "./schema.ts";
|