1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-05-07 10:10:56 +00:00
bramw_baserow/web-frontend/modules/core/functionCollection.js
2023-08-16 13:16:52 +00:00

16 lines
383 B
JavaScript

import { FunctionCollection } from '@baserow/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')
}
}