std/build/reckon/ops
std/build/reckon/ops
Type Aliases
AuditEntry
type AuditEntry = object;Defined in: apps/website/.api-docs-entry/std/build/reckon/ops.d.ts:3
A single audit entry pushed by an op during evaluation.
Properties
| Property | Type | Defined in |
|---|---|---|
audit |
unknown |
apps/website/.api-docs-entry/std/build/reckon/ops.d.ts:5 |
op |
string |
apps/website/.api-docs-entry/std/build/reckon/ops.d.ts:4 |
AuditRef
type AuditRef = object;Defined in: apps/website/.api-docs-entry/std/build/reckon/ops.d.ts:8
Mutable audit sink — ops push entries here as a side effect.
Properties
| Property | Type | Defined in |
|---|---|---|
sink |
AuditEntry[] |
apps/website/.api-docs-entry/std/build/reckon/ops.d.ts:9 |
OpRegistration
type OpRegistration = object;Defined in: apps/website/.api-docs-entry/std/build/reckon/ops.d.ts:12
Spec for registering an op on the CEL environment; signature is the CEL function signature string.
Properties
| Property | Type | Defined in |
|---|---|---|
handler |
(...args) => unknown |
apps/website/.api-docs-entry/std/build/reckon/ops.d.ts:14 |
signature |
string |
apps/website/.api-docs-entry/std/build/reckon/ops.d.ts:13 |
Functions
createFoldOp()
function createFoldOp(
parseExpr,
scopeRef,
audit): OpRegistration;Defined in: apps/website/.api-docs-entry/std/build/reckon/ops.d.ts:22
Create the fold op. Needs env (for sub-expr eval), scope ref, and audit ref.
Parameters
| Parameter | Type |
|---|---|
parseExpr |
(expr) => (context) => unknown |
scopeRef |
{ scope: Record<string, unknown> | null; } |
scopeRef.scope |
Record<string, unknown> | null |
audit |
AuditRef |
Returns
createScalarOps()
function createScalarOps(audit): OpRegistration[];Defined in: apps/website/.api-docs-entry/std/build/reckon/ops.d.ts:18
Create all scalar (non-table) op registrations with an audit sink.
Parameters
| Parameter | Type |
|---|---|
audit |
AuditRef |
Returns
createTableOps()
function createTableOps(tables, audit): OpRegistration[];Defined in: apps/website/.api-docs-entry/std/build/reckon/ops.d.ts:20
Create table-dependent op registrations with an audit sink.
Parameters
| Parameter | Type |
|---|---|
tables |
TableMap |
audit |
AuditRef |