Skip to content

EspoCRM – Open Source CRM Application

Update bullbone, use type

Yurii949e9b1859a5
diff --git a/client/src/views/list.ts b/client/src/views/list.ts
index 7c283a3b5f..ab2f3ff2cf 100644
--- a/client/src/views/list.ts
+++ b/client/src/views/list.ts
@@ -639,9 +639,7 @@ class ListView<S extends ListViewSchema = ListViewSchema> extends MainView<S> {
const listViewName = this.getRecordViewName();
- const promise = this.createView('list', listViewName, o).then(async (inputView) => {
- const view = inputView as unknown as ListRecordView;
-
+ const promise = this.createView<ListRecordView>('list', listViewName, o).then(async (view) => {
if (!this.hasParentView()) {
view.undelegateEvents();
diff --git a/client/src/views/record/list.js b/client/src/views/record/list.js
index c1b500f563..01eaa52aa6 100644
--- a/client/src/views/record/list.js
+++ b/client/src/views/record/list.js
@@ -631,7 +631,9 @@ class ListRecordView extends View {
*/
hasStars
- /** @inheritDoc */
+ /**
+ * @type {Record<string, function (any): void>}
+ */
events = {
/**
* @param {JQueryMouseEventObject} e
diff --git a/package-lock.json b/package-lock.json
index 7d35db7021..933896baf9 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -22,7 +22,7 @@
"bootstrap": "github:yurikuzn/espo-bootstrap#0.1.2",
"bootstrap-colorpicker": "^2.5.2",
"bootstrap-datepicker": "^1.9.0",
- "bullbone": "github:espocrm/bullbone#1.4.2",
+ "bullbone": "github:espocrm/bullbone#1.4.3",
"cronstrue": "^1.114.0",
"cropper": "^0.7.9",
"devbridge-autocomplete": "^1.4.11",
@@ -3453,8 +3453,8 @@
}
},
"node_modules/bullbone": {
- "version": "1.4.2",
- "resolved": "git+ssh://[email protected]/espocrm/bullbone.git#aab93904c0bce2d18625c15f8e7487f792ed2b5c",
+ "version": "1.4.3",
+ "resolved": "git+ssh://[email protected]/espocrm/bullbone.git#90dbe1d9ed9c5c8cb24843eaacc2563b080130f8",
"license": "AGPL",
"dependencies": {
"snabbdom": "^3.6.3"
@@ -11027,8 +11027,8 @@
"dev": true
},
"bullbone": {
- "version": "git+ssh://[email protected]/espocrm/bullbone.git#aab93904c0bce2d18625c15f8e7487f792ed2b5c",
- "from": "bullbone@github:espocrm/bullbone#1.4.2",
+ "version": "git+ssh://[email protected]/espocrm/bullbone.git#90dbe1d9ed9c5c8cb24843eaacc2563b080130f8",
+ "from": "bullbone@github:espocrm/bullbone#1.4.3",
"requires": {
"snabbdom": "^3.6.3"
}
diff --git a/package.json b/package.json
index 285f91cb89..8a2d708b11 100644
--- a/package.json
+++ b/package.json
@@ -71,7 +71,7 @@
"bootstrap": "github:yurikuzn/espo-bootstrap#0.1.2",
"bootstrap-colorpicker": "^2.5.2",
"bootstrap-datepicker": "^1.9.0",
- "bullbone": "github:espocrm/bullbone#1.4.2",
+ "bullbone": "github:espocrm/bullbone#1.4.3",
"cronstrue": "^1.114.0",
"cropper": "^0.7.9",
"devbridge-autocomplete": "^1.4.11",