mirror of
https://github.com/docmost/docmost.git
synced 2026-08-30 18:36:26 +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/modifiers": "^9.0.0",
|
||||||
"@dnd-kit/sortable": "^10.0.0",
|
"@dnd-kit/sortable": "^10.0.0",
|
||||||
"@dnd-kit/utilities": "^3.2.2",
|
"@dnd-kit/utilities": "^3.2.2",
|
||||||
|
"@docmost/base-formula": "workspace:*",
|
||||||
"@docmost/editor-ext": "workspace:*",
|
"@docmost/editor-ext": "workspace:*",
|
||||||
"@emoji-mart/data": "^1.2.1",
|
"@emoji-mart/data": "^1.2.1",
|
||||||
"@emoji-mart/react": "^1.1.1",
|
"@emoji-mart/react": "^1.1.1",
|
||||||
|
|||||||
@@ -13,7 +13,8 @@ export type BasePropertyType =
|
|||||||
| 'email'
|
| 'email'
|
||||||
| 'createdAt'
|
| 'createdAt'
|
||||||
| 'lastEditedAt'
|
| 'lastEditedAt'
|
||||||
| 'lastEditedBy';
|
| 'lastEditedBy'
|
||||||
|
| 'formula';
|
||||||
|
|
||||||
export type Choice = {
|
export type Choice = {
|
||||||
id: string;
|
id: string;
|
||||||
@@ -310,3 +311,11 @@ export type BaseViewDraft = {
|
|||||||
// ISO timestamp written on each put; diagnostic only, not read by logic.
|
// ISO timestamp written on each put; diagnostic only, not read by logic.
|
||||||
updatedAt: string;
|
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':
|
'@dnd-kit/utilities':
|
||||||
specifier: ^3.2.2
|
specifier: ^3.2.2
|
||||||
version: 3.2.2(react@18.3.1)
|
version: 3.2.2(react@18.3.1)
|
||||||
|
'@docmost/base-formula':
|
||||||
|
specifier: workspace:*
|
||||||
|
version: link:../../packages/base-formula
|
||||||
'@docmost/editor-ext':
|
'@docmost/editor-ext':
|
||||||
specifier: workspace:*
|
specifier: workspace:*
|
||||||
version: link:../../packages/editor-ext
|
version: link:../../packages/editor-ext
|
||||||
|
|||||||
Reference in New Issue
Block a user