Interface: Extension<LangNames>
Defined in: packages/core/src/extension.ts:62
A bundle of operators, functions, aggregates, and castables that can be registered with the engine.
Type Parameters
| Type Parameter | Default type |
|---|---|
LangNames extends string | string |
Properties
aggregates?
optionalaggregates?:AggregateFn[]
Defined in: packages/core/src/extension.ts:70
Aggregate functions contributed by this extension.
castables?
optionalcastables?:Castable[]
Defined in: packages/core/src/extension.ts:72
Castable type keywords contributed by this extension.
functions?
optionalfunctions?:Fn[]
Defined in: packages/core/src/extension.ts:68
Functions contributed by this extension.
operators?
optionaloperators?:Operator[]
Defined in: packages/core/src/extension.ts:66
Operators contributed by this extension.
schema?
optionalschema?:string
Defined in: packages/core/src/extension.ts:64
Schema (name prefix) of the extension, applied to all of its functions, aggregates, and castables.
scope?
optionalscope?:LangNames[]
Defined in: packages/core/src/extension.ts:74
If specified, will limit the extension to only specific languages.