feat(base): add client formula type literals

This commit is contained in:
Philipinho
2026-04-24 00:07:17 +01:00
parent 5a82d660da
commit 493613e634
3 changed files with 14 additions and 1 deletions
+1
View File
@@ -15,6 +15,7 @@
"@dnd-kit/modifiers": "^9.0.0",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@docmost/base-formula": "workspace:*",
"@docmost/editor-ext": "workspace:*",
"@emoji-mart/data": "^1.2.1",
"@emoji-mart/react": "^1.1.1",
@@ -13,7 +13,8 @@ export type BasePropertyType =
| 'email'
| 'createdAt'
| 'lastEditedAt'
| 'lastEditedBy';
| 'lastEditedBy'
| 'formula';
export type Choice = {
id: string;
@@ -310,3 +311,11 @@ export type BaseViewDraft = {
// ISO timestamp written on each put; diagnostic only, not read by logic.
updatedAt: string;
};
export type {
FormulaTypeOptions,
FormulaResultType,
ErrorCell as FormulaErrorCell,
ErrorCode as FormulaErrorCode,
} from "@docmost/base-formula/client";
export { isErrorCell as isFormulaErrorCell } from "@docmost/base-formula/client";
+3
View File
@@ -261,6 +261,9 @@ importers:
'@dnd-kit/utilities':
specifier: ^3.2.2
version: 3.2.2(react@18.3.1)
'@docmost/base-formula':
specifier: workspace:*
version: link:../../packages/base-formula
'@docmost/editor-ext':
specifier: workspace:*
version: link:../../packages/editor-ext