Interface: FunctionDraftDto
@kortexya/reasoninglayer / Functions / FunctionDraftDto
Interface: FunctionDraftDto
Defined in: src/types/functions.ts:239
A draft function definition.
Remarks
Exactly a RegisterFunctionRequest minus tenantId — tenancy comes from the
authenticated principal at registration time. Add tenantId client-side to promote a
draft into a real registration.
Properties
arity
arity:
number
Defined in: src/types/functions.ts:241
Number of parameters the drafted function accepts.
clauses
clauses:
FunctionClauseDto[]
Defined in: src/types/functions.ts:243
Ordered list of clauses defining the drafted function.
name
name:
string
Defined in: src/types/functions.ts:245
Drafted function name.