-
- 概览
-
- 概览
- std/build
- std/build/billing
- std/build/billing/rate-card
- std/build/collection
- std/build/collection/record-label
- std/build/collection/system-fields
- std/build/date
- std/build/error
- std/build/finance
- std/build/finance/currency
- std/build/i18n
- std/build/i18n/catalog
- std/build/i18n/locale
- std/build/json
- std/build/rate-limit
- std/build/reckon
- std/build/reckon/cel.server
- std/build/reckon/definition
- std/build/reckon/deps
- std/build/reckon/hash
- std/build/reckon/ops
- std/build/reckon/register.server
- std/build/reckon/replay
- std/build/reckon/runtime.server
- std/build/secret
- std/build/string
- std/build/tree
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 |