Switch huly core (#10041)

* Switch to huly.core

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>

* Fix build

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>

---------

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2025-10-07 20:23:46 +05:00
committed by GitHub
parent dd74587eb0
commit 0a682d03e3
840 changed files with 9459 additions and 41815 deletions
+12 -12
View File
@@ -1,6 +1,6 @@
{
"name": "@hcengineering/bitrix",
"version": "0.6.52",
"version": "0.7.0",
"main": "lib/index.js",
"svelte": "src/index.ts",
"types": "types/index.d.ts",
@@ -22,7 +22,7 @@
"_phase:validate": "compile validate"
},
"devDependencies": {
"@hcengineering/platform-rig": "^0.6.0",
"@hcengineering/platform-rig": "^0.7.10",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-promise": "^6.1.1",
@@ -38,16 +38,16 @@
"@types/jest": "^29.5.5"
},
"dependencies": {
"@hcengineering/attachment": "^0.6.14",
"@hcengineering/chunter": "^0.6.20",
"@hcengineering/contact": "^0.6.24",
"@hcengineering/core": "^0.6.32",
"@hcengineering/gmail": "^0.6.22",
"@hcengineering/platform": "^0.6.11",
"@hcengineering/preference": "^0.6.13",
"@hcengineering/recruit": "^0.6.29",
"@hcengineering/tags": "^0.6.16",
"@hcengineering/task": "^0.6.20",
"@hcengineering/attachment": "^0.7.0",
"@hcengineering/chunter": "^0.7.0",
"@hcengineering/contact": "^0.7.0",
"@hcengineering/core": "^0.7.3",
"@hcengineering/gmail": "^0.7.0",
"@hcengineering/platform": "^0.7.3",
"@hcengineering/preference": "^0.7.0",
"@hcengineering/recruit": "^0.7.0",
"@hcengineering/tags": "^0.7.0",
"@hcengineering/task": "^0.7.0",
"fast-equals": "^5.2.2",
"qs": "~6.11.0"
},
+4 -2
View File
@@ -867,8 +867,10 @@ async function downloadComments (
_class: gmail.class.Message,
content: comm.DESCRIPTION,
textContent:
parser.parseFromString(comm.DESCRIPTION, 'text/html').textContent?.split('\n').slice(0, 3).join('\n') ??
'',
(parser.parseFromString(comm.DESCRIPTION, 'text/html').textContent ?? '')
.split('\n')
.slice(0, 3)
.join('\n') ?? '',
incoming: comm.DIRECTION === '1',
sendOn: new Date(comm.CREATED ?? new Date().toString()).getTime(),
subject: comm.SUBJECT,