mirror of
https://github.com/baserow/baserow.git
synced 2026-12-04 00:08:25 +00:00
17 lines
404 B
JavaScript
17 lines
404 B
JavaScript
import { FunctionCollection } from '@baserow/modules/core/formula/parser/formulaExecutionVisitor.js'
|
|
|
|
export class RuntimeFunctionCollection extends FunctionCollection {
|
|
constructor($registry) {
|
|
super()
|
|
this.$registry = $registry
|
|
}
|
|
|
|
get(name) {
|
|
return this.$registry.get('runtimeFormulaFunction', name)
|
|
}
|
|
|
|
getAll() {
|
|
return this.$registry.getAll('runtimeFormulaFunction')
|
|
}
|
|
}
|