mirror of
https://github.com/docmost/docmost.git
synced 2026-08-28 01:07:08 +08:00
feat(base): add client formula type literals
This commit is contained in:
@@ -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";
|
||||
|
||||
Generated
+3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user