1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-05-03 00:20:02 +00:00

2️⃣ Support for duration in formula: add backend/frontend support

This commit is contained in:
Davide Silvestri 2024-01-18 12:31:59 +00:00
parent 21b66a7aaa
commit 83cbe6ced2
30 changed files with 509 additions and 51 deletions
web-frontend/modules/database

View file

@ -217,7 +217,8 @@ import {
BaserowFormulaButtonType,
BaserowFormulaCharType,
BaserowFormulaLinkType,
BaserowFormulaDateIntervalType,
BaserowFormulaDateIntervalType, // Deprecated
BaserowFormulaDurationType,
BaserowFormulaDateType,
BaserowFormulaInvalidType,
BaserowFormulaNumberType,
@ -613,6 +614,10 @@ export default (context) => {
'formula_type',
new BaserowFormulaDateIntervalType(context)
)
app.$registry.register(
'formula_type',
new BaserowFormulaDurationType(context)
)
app.$registry.register('formula_type', new BaserowFormulaNumberType(context))
app.$registry.register('formula_type', new BaserowFormulaArrayType(context))
app.$registry.register('formula_type', new BaserowFormulaSpecialType(context))