@univerjs-pro/bases 1.0.0-alpha.1 → 1.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -5
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/commands/commands/set-base-view-filter.command.d.ts +2 -2
- package/lib/types/commands/commands/set-base-view-group.command.d.ts +2 -2
- package/lib/types/commands/commands/set-base-view-sort.command.d.ts +2 -2
- package/lib/types/commands/utils/base-validation.d.ts +6 -0
- package/lib/types/config/config.d.ts +11 -0
- package/lib/types/controllers/base-active-dirty.controller.d.ts +5 -6
- package/lib/types/controllers/base-formula-calculation.controller.d.ts +8 -14
- package/lib/types/embed-host-anchor.d.ts +46 -0
- package/lib/types/facade/f-base.d.ts +126 -577
- package/lib/types/facade/f-enum.d.ts +117 -89
- package/lib/types/facade/f-event.d.ts +255 -132
- package/lib/types/facade/f-field.d.ts +137 -313
- package/lib/types/facade/f-range.d.ts +86 -326
- package/lib/types/facade/f-record.d.ts +93 -216
- package/lib/types/facade/f-table.d.ts +473 -1317
- package/lib/types/facade/f-types.d.ts +1 -0
- package/lib/types/facade/f-univer.d.ts +27 -154
- package/lib/types/facade/f-view.d.ts +207 -484
- package/lib/types/facade/field-key.d.ts +6 -6
- package/lib/types/facade/index.d.ts +11 -14
- package/lib/types/fields/field-core-plugin.d.ts +9 -8
- package/lib/types/index.d.ts +17 -47
- package/lib/types/models/base-cell-data.d.ts +6 -6
- package/lib/types/models/default-table.d.ts +13 -0
- package/lib/types/ot/json1-adapter.d.ts +3 -3
- package/lib/types/ot/json1-invalidation.d.ts +2 -2
- package/lib/types/ot/json1-op-applier.d.ts +2 -2
- package/lib/types/ot/json1-op-factory.d.ts +9 -8
- package/lib/types/plugin.d.ts +6 -4
- package/lib/types/search/base-search.d.ts +4 -3
- package/lib/types/services/base-active-dirty.service.d.ts +2 -2
- package/lib/types/services/base-command.service.d.ts +16 -16
- package/lib/types/services/base-compression.service.d.ts +3 -3
- package/lib/types/services/base-field-registry.service.d.ts +5 -5
- package/lib/types/services/base-formula.service.d.ts +11 -20
- package/lib/types/services/base-view-registry.service.d.ts +3 -3
- package/lib/types/views/view-core-plugin.d.ts +4 -3
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +7 -8
- package/lib/types/controllers/base-remote-formula.controller.d.ts +0 -13
- package/lib/types/facade/f-error.d.ts +0 -30
- package/lib/types/facade/f-permission.d.ts +0 -749
- package/lib/types/facade/transaction.d.ts +0 -19
package/lib/umd/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1990(_0x88b575,_0x3a79e7){_0x88b575=_0x88b575-0x1e2;var _0x5eb752=_0x5eb7();var _0x199051=_0x5eb752[_0x88b575];return _0x199051;}(function(_0x99e6dd,_0x2b07e4){var _0x116579=_0x1990,_0x744f0c=_0x99e6dd();while(!![]){try{var _0x3f6591=-parseInt(_0x116579(0x1eb))/0x1*(parseInt(_0x116579(0x200))/0x2)+-parseInt(_0x116579(0x1e6))/0x3+-parseInt(_0x116579(0x1fb))/0x4*(-parseInt(_0x116579(0x1ea))/0x5)+-parseInt(_0x116579(0x1e9))/0x6+parseInt(_0x116579(0x1ec))/0x7+-parseInt(_0x116579(0x1fa))/0x8*(-parseInt(_0x116579(0x1f3))/0x9)+parseInt(_0x116579(0x1ff))/0xa;if(_0x3f6591===_0x2b07e4)break;else _0x744f0c['push'](_0x744f0c['shift']());}catch(_0x4bd8e9){_0x744f0c['push'](_0x744f0c['shift']());}}}(_0x5eb7,0x8536f),function(_0x197af0,_0x41e4a9){var _0x1c7024=_0x1990;typeof exports==_0x1c7024(0x1f2)&&typeof module<'u'?module[_0x1c7024(0x1f1)]=_0x41e4a9():typeof define==_0x1c7024(0x1f8)&&define[_0x1c7024(0x1e3)]?define([],_0x41e4a9):(_0x197af0=typeof globalThis<'u'?globalThis:_0x197af0||self,_0x197af0[_0x1c7024(0x1e2)]=_0x41e4a9());}(this,function(){var _0x42d04f=_0x1990;return{'bases':{'fieldType':{'text':'文本','singleSelect':'单选','multiSelect':'多选','person':'人员','group':'分组','date':'日期','attachment':'附件','number':'数字','checkbox':_0x42d04f(0x1ef),'link':'链接','formula':'公式','lookup':'查找','flow':'流程','button':'按钮','numbering':'编号','phone':_0x42d04f(0x1f6),'email':'邮箱','location':'位置','barcode':'条码','progress':'进度','currency':'货币','rating':'评分','twoWayLink':_0x42d04f(0x1fe),'recordId':_0x42d04f(0x1f4),'createdBy':_0x42d04f(0x1f5),'updatedBy':_0x42d04f(0x1f7),'createdAt':_0x42d04f(0x1f9),'updatedAt':'更新时间','summary':'汇总'},'fieldConfig':{'textPlaceholder':_0x42d04f(0x1e7),'linkPlaceholder':_0x42d04f(0x1fc)},'viewType':{'grid':'表格','kanban':'看板','calendar':'日历','gantt':'甘特','gallery':'画廊'},'error':{'fieldNameRequired':_0x42d04f(0x1e4),'invalidFieldType':_0x42d04f(0x1ed),'invalidCellValue':'单元格值无效','invalidKanbanGroupField':_0x42d04f(0x1e8),'invalidCalendarDateField':'日历需要日期字段','invalidGanttDateField':'甘特视图需要开始和结束日期字段'},'command':{'updateCell':_0x42d04f(0x1ee),'createField':'创建字段','deleteField':_0x42d04f(0x1e5),'createRecord':'创建记录','deleteRecord':_0x42d04f(0x1fd),'updateViewConfig':_0x42d04f(0x1f0)}}};}));function _0x5eb7(){var _0x20a4c1=['2OwQRVN','UniverProBasesZhCN','amd','字段标题不能为空','删除字段','3036474xSdvid','输入内容','看板需要可分组字段','2747070MWjQCL','235HwfSgX','718749brYLkm','5608953zIrjsg','字段类型无效','更新单元格','复选框','更新视图设置','exports','object','2241xBEbyO','记录\x20ID','创建人','电话号码','修改人','function','创建时间','11936utrePr','7596BEQolk','输入\x20URL(例如\x20univer.ai\x20或\x20https://univer.ai/skills)。','删除记录','双向关联','14723590QDlyNE'];_0x5eb7=function(){return _0x20a4c1;};return _0x5eb7();}
|
package/lib/umd/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x188b(_0x5643b7,_0x24bd76){_0x5643b7=_0x5643b7-0x12f;var _0x5dc238=_0x5dc2();var _0x188b41=_0x5dc238[_0x5643b7];return _0x188b41;}function _0x5dc2(){var _0x29ee25=['30NbgtdY','創建人','創建字段','10ZAwMMt','9247365nfOCGW','function','輸入內容','創建記錄','amd','雙向關聯','記錄\x20ID','757379epRhjd','創建時間','刪除記錄','object','UniverProBasesZhHK','甘特視圖需要開始和結束日期字段','字段類型無效','283218MIekro','1287488aGQBVA','22765KQnukE','字段標題不能為空','修改人','1334388pRpatF','更新視圖設置','單元格值無效','354180lTcwsH','日曆需要日期字段','刪除字段','更新時間'];_0x5dc2=function(){return _0x29ee25;};return _0x5dc2();}(function(_0x517f55,_0x451b60){var _0x47eba3=_0x188b,_0x430cba=_0x517f55();while(!![]){try{var _0x5bda12=-parseInt(_0x47eba3(0x13b))/0x1*(parseInt(_0x47eba3(0x145))/0x2)+-parseInt(_0x47eba3(0x139))/0x3+parseInt(_0x47eba3(0x141))/0x4*(-parseInt(_0x47eba3(0x148))/0x5)+-parseInt(_0x47eba3(0x13e))/0x6+-parseInt(_0x47eba3(0x132))/0x7+parseInt(_0x47eba3(0x13a))/0x8+parseInt(_0x47eba3(0x149))/0x9;if(_0x5bda12===_0x451b60)break;else _0x430cba['push'](_0x430cba['shift']());}catch(_0x5b1637){_0x430cba['push'](_0x430cba['shift']());}}}(_0x5dc2,0x3bc77),function(_0x226a8f,_0x313629){var _0xa799b6=_0x188b;typeof exports==_0xa799b6(0x135)&&typeof module<'u'?module['exports']=_0x313629():typeof define==_0xa799b6(0x14a)&&define[_0xa799b6(0x12f)]?define([],_0x313629):(_0x226a8f=typeof globalThis<'u'?globalThis:_0x226a8f||self,_0x226a8f[_0xa799b6(0x136)]=_0x313629());}(this,function(){var _0x5e9af0=_0x188b;return{'bases':{'fieldType':{'text':'文本','singleSelect':'單選','multiSelect':'多選','person':'人員','group':'分組','date':'日期','attachment':'附件','number':'數字','checkbox':'複選框','link':'鏈接','formula':'公式','lookup':'查找','flow':'流程','button':'按鈕','numbering':'編號','phone':'電話號碼','email':'郵箱','location':'位置','barcode':'條碼','progress':'進度','currency':'貨幣','rating':'評分','twoWayLink':_0x5e9af0(0x130),'recordId':_0x5e9af0(0x131),'createdBy':_0x5e9af0(0x146),'updatedBy':_0x5e9af0(0x13d),'createdAt':_0x5e9af0(0x133),'updatedAt':_0x5e9af0(0x144),'summary':'彙總'},'fieldConfig':{'textPlaceholder':_0x5e9af0(0x14b),'linkPlaceholder':'輸入\x20URL(例如\x20univer.ai\x20或\x20https://univer.ai/skills)。'},'viewType':{'grid':'表格','kanban':'看板','calendar':'日曆','gantt':'甘特','gallery':'畫廊'},'error':{'fieldNameRequired':_0x5e9af0(0x13c),'invalidFieldType':_0x5e9af0(0x138),'invalidCellValue':_0x5e9af0(0x140),'invalidKanbanGroupField':'看板需要可分組字段','invalidCalendarDateField':_0x5e9af0(0x142),'invalidGanttDateField':_0x5e9af0(0x137)},'command':{'updateCell':'更新單元格','createField':_0x5e9af0(0x147),'deleteField':_0x5e9af0(0x143),'createRecord':_0x5e9af0(0x14c),'deleteRecord':_0x5e9af0(0x134),'updateViewConfig':_0x5e9af0(0x13f)}}};}));
|
package/lib/umd/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x2e463f,_0xc7b199){var _0x38b8e1=_0x1439,_0x49b368=_0x2e463f();while(!![]){try{var _0x5e7aa5=-parseInt(_0x38b8e1(0x74))/0x1*(-parseInt(_0x38b8e1(0x78))/0x2)+-parseInt(_0x38b8e1(0x70))/0x3*(parseInt(_0x38b8e1(0x6d))/0x4)+-parseInt(_0x38b8e1(0x86))/0x5+parseInt(_0x38b8e1(0x73))/0x6+-parseInt(_0x38b8e1(0x80))/0x7+parseInt(_0x38b8e1(0x75))/0x8*(parseInt(_0x38b8e1(0x6b))/0x9)+parseInt(_0x38b8e1(0x85))/0xa;if(_0x5e7aa5===_0xc7b199)break;else _0x49b368['push'](_0x49b368['shift']());}catch(_0x11c8e2){_0x49b368['push'](_0x49b368['shift']());}}}(_0x3158,0xe4e8e),function(_0xe202f7,_0x5bb830){var _0x353b96=_0x1439;typeof exports==_0x353b96(0x71)&&typeof module<'u'?module[_0x353b96(0x81)]=_0x5bb830():typeof define==_0x353b96(0x83)&&define['amd']?define([],_0x5bb830):(_0xe202f7=typeof globalThis<'u'?globalThis:_0xe202f7||self,_0xe202f7[_0x353b96(0x6f)]=_0x5bb830());}(this,function(){var _0x4c5d9c=_0x1439;return{'bases':{'fieldType':{'text':'文本','singleSelect':'單選','multiSelect':'多選','person':'人員','group':'分組','date':'日期','attachment':'附件','number':'數字','checkbox':_0x4c5d9c(0x77),'link':'鏈接','formula':'公式','lookup':'查找','flow':'流程','button':'按鈕','numbering':'編號','phone':_0x4c5d9c(0x6e),'email':'郵箱','location':'位置','barcode':'條碼','progress':'進度','currency':'貨幣','rating':'評分','twoWayLink':'雙向關聯','recordId':_0x4c5d9c(0x7f),'createdBy':_0x4c5d9c(0x7c),'updatedBy':_0x4c5d9c(0x7d),'createdAt':'創建時間','updatedAt':'更新時間','summary':'彙總'},'fieldConfig':{'textPlaceholder':_0x4c5d9c(0x87),'linkPlaceholder':_0x4c5d9c(0x7e)},'viewType':{'grid':'表格','kanban':'看板','calendar':'日曆','gantt':'甘特','gallery':'畫廊'},'error':{'fieldNameRequired':_0x4c5d9c(0x88),'invalidFieldType':_0x4c5d9c(0x84),'invalidCellValue':_0x4c5d9c(0x7a),'invalidKanbanGroupField':_0x4c5d9c(0x6a),'invalidCalendarDateField':_0x4c5d9c(0x6c),'invalidGanttDateField':_0x4c5d9c(0x76)},'command':{'updateCell':_0x4c5d9c(0x82),'createField':_0x4c5d9c(0x7b),'deleteField':'刪除字段','createRecord':'創建記錄','deleteRecord':_0x4c5d9c(0x79),'updateViewConfig':_0x4c5d9c(0x72)}}};}));function _0x1439(_0x5aa87d,_0x1642b8){_0x5aa87d=_0x5aa87d-0x6a;var _0x315829=_0x3158();var _0x1439f5=_0x315829[_0x5aa87d];return _0x1439f5;}function _0x3158(){var _0x208945=['7687500ESVdNX','6670845noFHUd','輸入內容','字段標題不能為空','看板需要可分組字段','4970277VuwKVW','日曆需要日期字段','5746980DkiwWZ','電話號碼','UniverProBasesZhTW','3XfUSwF','object','更新視圖設置','5577606RoUPXD','47tKxFcc','24xJtSDF','甘特視圖需要開始和結束日期字段','複選框','71702XBqnlN','刪除記錄','單元格值無效','創建字段','創建人','修改人','輸入\x20URL(例如\x20univer.ai\x20或\x20https://univer.ai/skills)。','記錄\x20ID','9321053vICZWx','exports','更新單元格','function','字段類型無效'];_0x3158=function(){return _0x208945;};return _0x3158();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/bases",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Base database core model and commands for Univer.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -63,16 +63,15 @@
|
|
|
63
63
|
"lib"
|
|
64
64
|
],
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@univerjs-pro/
|
|
67
|
-
"@univerjs
|
|
68
|
-
"@univerjs/rpc": "1.0.0-alpha.
|
|
69
|
-
"@univerjs/
|
|
66
|
+
"@univerjs-pro/engine-formula": "1.0.0-alpha.3",
|
|
67
|
+
"@univerjs/core": "1.0.0-alpha.3",
|
|
68
|
+
"@univerjs/rpc": "1.0.0-alpha.3",
|
|
69
|
+
"@univerjs-pro/license": "1.0.0-alpha.3"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"rxjs": "7.8.2",
|
|
73
72
|
"typescript": "^6.0.3",
|
|
74
|
-
"vitest": "^4.1.
|
|
75
|
-
"@univerjs-infra/shared": "1.0.0-alpha.
|
|
73
|
+
"vitest": "^4.1.10",
|
|
74
|
+
"@univerjs-infra/shared": "1.0.0-alpha.3"
|
|
76
75
|
},
|
|
77
76
|
"scripts": {
|
|
78
77
|
"test": "vitest run",
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ISuperTableService } from '@univerjs-pro/engine-formula';
|
|
2
|
-
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
3
|
-
export declare class BaseRemoteFormulaController extends Disposable {
|
|
4
|
-
private readonly _commandService;
|
|
5
|
-
private readonly _univerInstanceService;
|
|
6
|
-
private readonly _superTableService?;
|
|
7
|
-
private readonly _formulaService;
|
|
8
|
-
constructor(_commandService: ICommandService, _univerInstanceService: IUniverInstanceService, _superTableService?: ISuperTableService | undefined);
|
|
9
|
-
private _initialize;
|
|
10
|
-
private _onCommandExecuted;
|
|
11
|
-
private _shouldRefreshSuperTables;
|
|
12
|
-
private _registerSuperTables;
|
|
13
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export declare const BaseErrorCode: {
|
|
2
|
-
readonly CommandFailed: "CommandFailed";
|
|
3
|
-
readonly FieldNotFound: "FieldNotFound";
|
|
4
|
-
readonly DuplicateFieldName: "DuplicateFieldName";
|
|
5
|
-
readonly TableNotFound: "TableNotFound";
|
|
6
|
-
readonly ViewNotFound: "ViewNotFound";
|
|
7
|
-
readonly RecordNotFound: "RecordNotFound";
|
|
8
|
-
readonly InvalidFilter: "InvalidFilter";
|
|
9
|
-
readonly InvalidOperation: "InvalidOperation";
|
|
10
|
-
readonly BatchAlreadyRunning: "BatchAlreadyRunning";
|
|
11
|
-
readonly BatchFailed: "BatchFailed";
|
|
12
|
-
};
|
|
13
|
-
export type BaseErrorCodeType = typeof BaseErrorCode[keyof typeof BaseErrorCode];
|
|
14
|
-
export interface IBaseErrorDetails {
|
|
15
|
-
commandId?: string;
|
|
16
|
-
unitId?: string;
|
|
17
|
-
tableId?: string;
|
|
18
|
-
fieldId?: string;
|
|
19
|
-
recordId?: string;
|
|
20
|
-
viewId?: string;
|
|
21
|
-
[key: string]: unknown;
|
|
22
|
-
}
|
|
23
|
-
export declare class BaseError extends Error {
|
|
24
|
-
readonly code: BaseErrorCodeType;
|
|
25
|
-
readonly details: IBaseErrorDetails;
|
|
26
|
-
readonly name = "BaseError";
|
|
27
|
-
constructor(code: BaseErrorCodeType, message: string, details?: IBaseErrorDetails);
|
|
28
|
-
}
|
|
29
|
-
export declare function isBaseError(error: unknown): error is BaseError;
|
|
30
|
-
export declare function assertBaseCommandSucceeded(commandId: string, result: boolean, details?: IBaseErrorDetails): void;
|