mirror of
https://gitlab.com/bramw/baserow.git
synced 2024-11-21 23:37:55 +00:00
17 lines
396 B
JavaScript
17 lines
396 B
JavaScript
import { FunctionCollection } from '@baserow/modules/core/formula/parser/javascriptExecutor'
|
|
|
|
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')
|
|
}
|
|
}
|