1
0
mirror of https://gitlab.com/bramw/baserow.git synced 2024-11-21 23:37:55 +00:00
bramw_baserow/web-frontend/modules/core/functionCollection.js
2023-09-04 12:17:41 +00:00

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')
}
}