Migrate to hcengineering and publish to github packages (#2273)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2022-09-21 14:08:25 +06:00
committed by GitHub
parent 1adb05e4ae
commit 5b6ef778f3
1801 changed files with 7600 additions and 7263 deletions
+1
View File
@@ -0,0 +1 @@
@hcengineering/anticrm:registry=https://npm.pkg.github.com/
+8
View File
@@ -84,4 +84,12 @@ rush docker:build
./prepare.sh
## runs UI tests
rushx uitest
```
## Package publishing
```
npm login --registry=https://npm.pkg.github.com --scope=@hcengineering/anticrm
npm publish
```
+1 -1
View File
@@ -14,7 +14,7 @@
// limitations under the License.
//
import pkg from '@anticrm/dev-server'
import pkg from '@hcengineering/dev-server'
pkg.start(3333)
+19 -19
View File
@@ -1,51 +1,51 @@
{
"name": "@anticrm/dev-server-app",
"name": "@hcengineering/dev-server-app",
"version": "0.6.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@anticrm/core": {
"@hcengineering/core": {
"version": "0.6.7",
"resolved": "https://registry.npmjs.org/@anticrm/core/-/core-0.6.7.tgz",
"resolved": "https://registry.npmjs.org/@hcengineering/core/-/core-0.6.7.tgz",
"integrity": "sha512-XKJS77PrgBoxCcbdh8mrXjZkq5tezgdlhQNxs2aphIakUdbJ5clkX6MxFarzRdraQNZdVd5f5rURIwlz6ywrGQ==",
"requires": {
"@anticrm/platform": "~0.6.3"
"@hcengineering/platform": "~0.6.3"
}
},
"@anticrm/dev-server": {
"@hcengineering/dev-server": {
"version": "0.6.5",
"resolved": "https://registry.npmjs.org/@anticrm/dev-server/-/dev-server-0.6.5.tgz",
"resolved": "https://registry.npmjs.org/@hcengineering/dev-server/-/dev-server-0.6.5.tgz",
"integrity": "sha512-pvJ/9+sq+5ttar6ekKUrFQ0uULzL8cco1VTM+I6+SkAOtAUxOwXYSPUshxWjUM04JRk36RZK0wUPmB+/yhvc4A==",
"requires": {
"@anticrm/core": "~0.6.7",
"@anticrm/dev-storage": "~0.6.3",
"@anticrm/platform": "~0.6.3",
"@anticrm/server-ws": "~0.6.4"
"@hcengineering/core": "~0.6.7",
"@hcengineering/dev-storage": "~0.6.3",
"@hcengineering/platform": "~0.6.3",
"@hcengineering/server-ws": "~0.6.4"
}
},
"@anticrm/dev-storage": {
"@hcengineering/dev-storage": {
"version": "0.6.3",
"resolved": "https://registry.npmjs.org/@anticrm/dev-storage/-/dev-storage-0.6.3.tgz",
"resolved": "https://registry.npmjs.org/@hcengineering/dev-storage/-/dev-storage-0.6.3.tgz",
"integrity": "sha512-gL036ipJjXdiywK3Ej9ftHsleo69JrmLboIlZG18jJ4ur6U1Y5UnTbXiAyAJ/JQNucfQx136d0ejYMUJaHV+Yw==",
"requires": {
"@anticrm/core": "~0.6.7",
"@anticrm/platform": "~0.6.3"
"@hcengineering/core": "~0.6.7",
"@hcengineering/platform": "~0.6.3"
}
},
"@anticrm/platform": {
"@hcengineering/platform": {
"version": "0.6.3",
"resolved": "https://registry.npmjs.org/@anticrm/platform/-/platform-0.6.3.tgz",
"resolved": "https://registry.npmjs.org/@hcengineering/platform/-/platform-0.6.3.tgz",
"integrity": "sha512-gLjxO2Oa9P5x69NZ11gQ+JNB2texUT/MNilsZcf5OP13nJiFfTEhjXnYw+JCc0GnYOTIhKwycPUJJl0kISGeXA==",
"requires": {
"intl-messageformat": "^9.7.1"
}
},
"@anticrm/server-ws": {
"@hcengineering/server-ws": {
"version": "0.6.4",
"resolved": "https://registry.npmjs.org/@anticrm/server-ws/-/server-ws-0.6.4.tgz",
"resolved": "https://registry.npmjs.org/@hcengineering/server-ws/-/server-ws-0.6.4.tgz",
"integrity": "sha512-t3TU2FR2KTUGlwBAcK784N3/QqLxKek0MDtFEvrh/eWshISrxYVL5grhG0su+NoQVqukXOsGCMg5emMhjQXtdw==",
"requires": {
"@anticrm/platform": "~0.6.3",
"@hcengineering/platform": "~0.6.3",
"jwt-simple": "^0.5.6",
"ws": "^8.0.0"
}
+2 -2
View File
@@ -1,5 +1,5 @@
{
"name": "@anticrm/dev-server-app",
"name": "@hcengineering/dev-server-app",
"version": "0.6.0",
"description": "",
"main": "index.js",
@@ -7,6 +7,6 @@
"start": "node ./index.js"
},
"dependencies": {
"@anticrm/dev-server": "^0.6.5"
"@hcengineering/dev-server": "^0.6.5"
}
}
+1 -1
View File
@@ -8,7 +8,7 @@ import { getType } from 'mime'
import { readdirSync, lstatSync } from 'fs'
import { join } from 'path'
import { handle } from '@anticrm/dev-account'
import { handle } from '@hcengineering/dev-account'
const siteBucket = new aws.s3.Bucket('anticrm-app', {
acl: "public-read",
+5 -5
View File
@@ -3,18 +3,18 @@
"requires": true,
"lockfileVersion": 1,
"dependencies": {
"@anticrm/dev-account": {
"@hcengineering/dev-account": {
"version": "0.6.7",
"resolved": "https://registry.npmjs.org/@anticrm/dev-account/-/dev-account-0.6.7.tgz",
"resolved": "https://registry.npmjs.org/@hcengineering/dev-account/-/dev-account-0.6.7.tgz",
"integrity": "sha512-MG73FnKHoT4caYjdoPRvU4vsUaMMu2SYKJdpjHndgNPAiWJzh+RJiL3NKZ9lXCbe5S2b10AvJ5eJ+hvbn/7e8A==",
"requires": {
"@anticrm/platform": "~0.6.6",
"@hcengineering/platform": "^0.6.7",
"jwt-simple": "^0.5.6"
},
"dependencies": {
"@anticrm/platform": {
"@hcengineering/platform": {
"version": "0.6.6",
"resolved": "https://registry.npmjs.org/@anticrm/platform/-/platform-0.6.6.tgz",
"resolved": "https://registry.npmjs.org/@hcengineering/platform/-/platform-0.6.6.tgz",
"integrity": "sha512-URykmQOvhIjpVFmr6aqETEioQt7ucadTI3262Wrrm8cLmc3iG456INwhg7HvYnQL0n2DHQpcPw3a1f9t80hmAg==",
"requires": {
"intl-messageformat": "^9.7.1"
+1 -1
View File
@@ -5,7 +5,7 @@
"@types/mime": "^2.0.3"
},
"dependencies": {
"@anticrm/dev-account": "^0.6.7",
"@hcengineering/dev-account": "^0.6.7",
"@pulumi/aws": "^4.14.0",
"@pulumi/cloud": "^0.30.1",
"@pulumi/cloud-aws": "^0.30.1",
+1 -1
View File
@@ -1,5 +1,5 @@
module.exports = {
extends: ['./node_modules/@anticrm/platform-rig/profiles/default/config/eslint.config.json'],
extends: ['./node_modules/@hcengineering/platform-rig/profiles/default/config/eslint.config.json'],
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.json'
+9 -9
View File
@@ -1,9 +1,9 @@
{
"name": "@anticrm/dev-account",
"name": "@hcengineering/dev-account",
"entries": [
{
"version": "0.6.7",
"tag": "@anticrm/dev-account_v0.6.7",
"tag": "@hcengineering/dev-account_v0.6.7",
"date": "Mon, 09 Aug 2021 08:00:44 GMT",
"comments": {
"patch": [
@@ -15,7 +15,7 @@
},
{
"version": "0.6.6",
"tag": "@anticrm/dev-account_v0.6.6",
"tag": "@hcengineering/dev-account_v0.6.6",
"date": "Sun, 08 Aug 2021 12:00:07 GMT",
"comments": {
"patch": [
@@ -27,7 +27,7 @@
},
{
"version": "0.6.5",
"tag": "@anticrm/dev-account_v0.6.5",
"tag": "@hcengineering/dev-account_v0.6.5",
"date": "Sun, 08 Aug 2021 11:43:36 GMT",
"comments": {
"patch": [
@@ -39,7 +39,7 @@
},
{
"version": "0.6.4",
"tag": "@anticrm/dev-account_v0.6.4",
"tag": "@hcengineering/dev-account_v0.6.4",
"date": "Sun, 08 Aug 2021 11:38:34 GMT",
"comments": {
"patch": [
@@ -51,7 +51,7 @@
},
{
"version": "0.6.3",
"tag": "@anticrm/dev-account_v0.6.3",
"tag": "@hcengineering/dev-account_v0.6.3",
"date": "Sun, 08 Aug 2021 10:21:31 GMT",
"comments": {
"patch": [
@@ -63,7 +63,7 @@
},
{
"version": "0.6.2",
"tag": "@anticrm/dev-account_v0.6.2",
"tag": "@hcengineering/dev-account_v0.6.2",
"date": "Sun, 08 Aug 2021 10:14:57 GMT",
"comments": {
"patch": [
@@ -73,14 +73,14 @@
],
"dependency": [
{
"comment": "Updating dependency \"@anticrm/platform\" from `~0.6.0` to `~0.6.4`"
"comment": "Updating dependency \"@hcengineering/platform\" from `~0.6.0` to `~0.6.4`"
}
]
}
},
{
"version": "0.6.1",
"tag": "@anticrm/dev-account_v0.6.1",
"tag": "@hcengineering/dev-account_v0.6.1",
"date": "Sun, 08 Aug 2021 09:33:36 GMT",
"comments": {
"patch": [
+1 -1
View File
@@ -1,4 +1,4 @@
# Change Log - @anticrm/dev-account
# Change Log - @hcengineering/dev-account
This log was last generated on Mon, 09 Aug 2021 08:00:44 GMT and should not be manually modified.
+1 -1
View File
@@ -7,7 +7,7 @@
* (Required) The name of the rig package to inherit from.
* It should be an NPM package name with the "-rig" suffix.
*/
"rigPackageName": "@anticrm/platform-rig"
"rigPackageName": "@hcengineering/platform-rig"
/**
* (Optional) Selects a config profile from the rig package. The name must consist of
+4 -4
View File
@@ -1,5 +1,5 @@
{
"name": "@anticrm/dev-account",
"name": "@hcengineering/dev-account",
"version": "0.6.7",
"main": "lib/index.js",
"author": "Anticrm Platform Contributors",
@@ -12,7 +12,7 @@
"format": "prettier --write src && eslint --fix src"
},
"devDependencies": {
"@anticrm/platform-rig": "~0.6.0",
"@hcengineering/platform-rig": "~0.6.0",
"@types/heft-jest": "^1.0.3",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"eslint-plugin-import": "^2.26.0",
@@ -27,7 +27,7 @@
"typescript": "^4.3.5"
},
"dependencies": {
"@anticrm/platform": "~0.6.6",
"@anticrm/server-token": "~0.6.0"
"@hcengineering/platform": "^0.6.7",
"@hcengineering/server-token": "~0.6.0"
}
}
+3 -3
View File
@@ -14,10 +14,10 @@
// limitations under the License.
//
import type { Request, Response } from '@anticrm/platform'
import platform, { Status, Severity } from '@anticrm/platform'
import type { Request, Response } from '@hcengineering/platform'
import platform, { Status, Severity } from '@hcengineering/platform'
import { generateToken } from '@anticrm/server-token'
import { generateToken } from '@hcengineering/server-token'
interface LoginInfo {
token: string
+1 -1
View File
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@anticrm/platform-rig/profiles/default/tsconfig.json",
"extends": "./node_modules/@hcengineering/platform-rig/profiles/default/tsconfig.json",
"compilerOptions": {
"target": "ES6",
+1 -1
View File
@@ -1,5 +1,5 @@
module.exports = {
extends: ['./node_modules/@anticrm/platform-rig/profiles/default/config/eslint.config.json'],
extends: ['./node_modules/@hcengineering/platform-rig/profiles/default/config/eslint.config.json'],
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.json'
+6 -6
View File
@@ -1,9 +1,9 @@
{
"name": "@anticrm/dev-client-resources",
"name": "@hcengineering/dev-client-resources",
"entries": [
{
"version": "0.6.1",
"tag": "@anticrm/dev-client-resources_v0.6.1",
"tag": "@hcengineering/dev-client-resources_v0.6.1",
"date": "Wed, 11 Aug 2021 09:37:04 GMT",
"comments": {
"patch": [
@@ -13,22 +13,22 @@
],
"dependency": [
{
"comment": "Updating dependency \"@anticrm/core\" from `~0.6.8` to `~0.6.10`"
"comment": "Updating dependency \"@hcengineering/core\" from `~0.6.8` to `~0.6.10`"
},
{
"comment": "Updating dependency \"@anticrm/dev-storage\" from `~0.6.3` to `~0.6.6`"
"comment": "Updating dependency \"@hcengineering/dev-storage\" from `~0.6.3` to `~0.6.6`"
}
]
}
},
{
"version": "0.6.0",
"tag": "@anticrm/dev-client-resources_v0.6.0",
"tag": "@hcengineering/dev-client-resources_v0.6.0",
"date": "Sun, 08 Aug 2021 10:14:57 GMT",
"comments": {
"dependency": [
{
"comment": "Updating dependency \"@anticrm/platform\" from `~0.6.3` to `~0.6.4`"
"comment": "Updating dependency \"@hcengineering/platform\" from `~0.6.3` to `~0.6.4`"
}
]
}
+1 -1
View File
@@ -1,4 +1,4 @@
# Change Log - @anticrm/dev-client-resources
# Change Log - @hcengineering/dev-client-resources
This log was last generated on Wed, 11 Aug 2021 09:37:04 GMT and should not be manually modified.
+1 -1
View File
@@ -7,7 +7,7 @@
* (Required) The name of the rig package to inherit from.
* It should be an NPM package name with the "-rig" suffix.
*/
"rigPackageName": "@anticrm/platform-rig"
"rigPackageName": "@hcengineering/platform-rig"
/**
* (Optional) Selects a config profile from the rig package. The name must consist of
+9 -9
View File
@@ -1,5 +1,5 @@
{
"name": "@anticrm/dev-client-resources",
"name": "@hcengineering/dev-client-resources",
"version": "0.6.1",
"main": "lib/index.js",
"author": "Anticrm Platform Contributors",
@@ -12,7 +12,7 @@
"format": "prettier --write src && eslint --fix src"
},
"devDependencies": {
"@anticrm/platform-rig": "~0.6.0",
"@hcengineering/platform-rig": "~0.6.0",
"@types/heft-jest": "^1.0.3",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"eslint-plugin-import": "^2.26.0",
@@ -26,12 +26,12 @@
"typescript": "^4.3.5"
},
"dependencies": {
"@anticrm/platform": "~0.6.6",
"@anticrm/core": "~0.6.16",
"@anticrm/client": "~0.6.2",
"@anticrm/dev-storage": "~0.6.6",
"@anticrm/server-core": "~0.6.1",
"@anticrm/model-all": "~0.6.0",
"@anticrm/devmodel": "~0.6.0"
"@hcengineering/platform": "^0.6.7",
"@hcengineering/core": "^0.6.17",
"@hcengineering/client": "^0.6.3",
"@hcengineering/dev-storage": "~0.6.6",
"@hcengineering/server-core": "~0.6.1",
"@hcengineering/model-all": "~0.6.0",
"@hcengineering/devmodel": "~0.6.0"
}
}
@@ -14,7 +14,7 @@
//
import { connect } from '../connection'
import core, { createClient, TxOperations } from '@anticrm/core'
import core, { createClient, TxOperations } from '@hcengineering/core'
describe('client', () => {
it('should create connection', async () => {
+5 -5
View File
@@ -29,17 +29,17 @@ import {
Tx,
TxHander,
TxResult
} from '@anticrm/core'
import { createInMemoryTxAdapter } from '@anticrm/dev-storage'
import devmodel from '@anticrm/devmodel'
import { protoDeserialize, protoSerialize, setMetadata } from '@anticrm/platform'
} from '@hcengineering/core'
import { createInMemoryTxAdapter } from '@hcengineering/dev-storage'
import devmodel from '@hcengineering/devmodel'
import { protoDeserialize, protoSerialize, setMetadata } from '@hcengineering/platform'
import {
createInMemoryAdapter,
createServerStorage,
DbConfiguration,
FullTextAdapter,
IndexedDoc
} from '@anticrm/server-core'
} from '@hcengineering/server-core'
class ServerStorageWrapper implements ClientConnection {
measureCtx = new MeasureMetricsContext('client', {})
+4 -4
View File
@@ -13,11 +13,11 @@
// limitations under the License.
//
import { createClient, Client } from '@anticrm/core'
import { getMetadata, getResource } from '@anticrm/platform'
import { migrateOperations } from '@anticrm/model-all'
import { createClient, Client } from '@hcengineering/core'
import { getMetadata, getResource } from '@hcengineering/platform'
import { migrateOperations } from '@hcengineering/model-all'
import { connect } from './connection'
import clientPlugin from '@anticrm/client'
import clientPlugin from '@hcengineering/client'
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
export default async () => {
+1 -1
View File
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@anticrm/platform-rig/profiles/default/tsconfig.json",
"extends": "./node_modules/@hcengineering/platform-rig/profiles/default/tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
+1 -1
View File
@@ -1,5 +1,5 @@
module.exports = {
extends: ['./node_modules/@anticrm/platform-rig/profiles/default/config/eslint.config.json'],
extends: ['./node_modules/@hcengineering/platform-rig/profiles/default/config/eslint.config.json'],
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.json'
+1 -1
View File
@@ -7,7 +7,7 @@
* (Required) The name of the rig package to inherit from.
* It should be an NPM package name with the "-rig" suffix.
*/
"rigPackageName": "@anticrm/platform-rig"
"rigPackageName": "@hcengineering/platform-rig"
/**
* (Optional) Selects a config profile from the rig package. The name must consist of
+18 -18
View File
@@ -1,5 +1,5 @@
{
"name": "@anticrm/generator",
"name": "@hcengineering/generator",
"version": "0.6.0",
"main": "lib/index.js",
"author": "Anticrm Platform Contributors",
@@ -15,7 +15,7 @@
"format": "prettier --write src && eslint --fix src"
},
"devDependencies": {
"@anticrm/platform-rig": "~0.6.0",
"@hcengineering/platform-rig": "~0.6.0",
"@types/heft-jest": "^1.0.3",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"eslint-plugin-import": "^2.26.0",
@@ -36,27 +36,27 @@
},
"dependencies": {
"commander": "^8.1.0",
"@anticrm/account": "~0.6.0",
"@anticrm/core": "~0.6.16",
"@anticrm/contact": "~0.6.5",
"@anticrm/model-all": "~0.6.0",
"@anticrm/model-telegram": "~0.6.0",
"@anticrm/telegram": "~0.6.2",
"@anticrm/client-resources": "~0.6.4",
"@hcengineering/account": "~0.6.0",
"@hcengineering/core": "^0.6.17",
"@hcengineering/contact": "~0.6.5",
"@hcengineering/model-all": "~0.6.0",
"@hcengineering/model-telegram": "~0.6.0",
"@hcengineering/telegram": "~0.6.2",
"@hcengineering/client-resources": "~0.6.4",
"ws": "^8.2.0",
"@anticrm/client": "~0.6.2",
"@anticrm/platform": "~0.6.6",
"@anticrm/model": "~0.6.0",
"@anticrm/recruit": "~0.6.3",
"@hcengineering/client": "^0.6.3",
"@hcengineering/platform": "^0.6.7",
"@hcengineering/model": "~0.6.0",
"@hcengineering/recruit": "~0.6.3",
"faker": "~5.5.3",
"@anticrm/model-recruit": "~0.6.0",
"@anticrm/chunter": "~0.6.1",
"@hcengineering/model-recruit": "~0.6.0",
"@hcengineering/chunter": "~0.6.1",
"pdfkit": "~0.13.0",
"@anticrm/attachment": "~0.6.1",
"@hcengineering/attachment": "~0.6.1",
"minio": "^7.0.26",
"@types/pdfkit": "~0.12.3",
"@anticrm/task": "~0.6.0",
"@hcengineering/task": "~0.6.0",
"jpeg-js": "~0.4.3",
"@anticrm/server-token": "~0.6.0"
"@hcengineering/server-token": "~0.6.0"
}
}
+2 -2
View File
@@ -1,5 +1,5 @@
import attachment, { Attachment } from '@anticrm/attachment'
import { Class, Doc, generateId, Ref, Space, TxOperations } from '@anticrm/core'
import attachment, { Attachment } from '@hcengineering/attachment'
import { Class, Doc, generateId, Ref, Space, TxOperations } from '@hcengineering/core'
import faker from 'faker'
import { Client } from 'minio'
import PDFDocument from 'pdfkit'
+2 -2
View File
@@ -1,5 +1,5 @@
import chunter, { Comment } from '@anticrm/chunter'
import { AttachedData, Class, Doc, generateId, Ref, Space, TxOperations } from '@anticrm/core'
import chunter, { Comment } from '@hcengineering/chunter'
import { AttachedData, Class, Doc, generateId, Ref, Space, TxOperations } from '@hcengineering/core'
import faker from 'faker'
export interface CommentOptions {
+5 -5
View File
@@ -1,8 +1,8 @@
import client from '@anticrm/client'
import clientResources from '@anticrm/client-resources'
import { Client } from '@anticrm/core'
import { setMetadata } from '@anticrm/platform'
import { generateToken } from '@anticrm/server-token'
import client from '@hcengineering/client'
import clientResources from '@hcengineering/client-resources'
import { Client } from '@hcengineering/core'
import { setMetadata } from '@hcengineering/platform'
import { generateToken } from '@hcengineering/server-token'
// eslint-disable-next-line
const WebSocket = require('ws')
+2 -2
View File
@@ -1,5 +1,5 @@
import { MeasureContext, Ref, TxOperations } from '@anticrm/core'
import task, { DoneState, genRanks, Kanban, SpaceWithStates, State } from '@anticrm/task'
import { MeasureContext, Ref, TxOperations } from '@hcengineering/core'
import task, { DoneState, genRanks, Kanban, SpaceWithStates, State } from '@hcengineering/task'
import { findOrUpdate } from './utils'
export async function createUpdateSpaceKanban (
+5 -5
View File
@@ -1,4 +1,4 @@
import contact, { Channel, Employee, EmployeeAccount, Person } from '@anticrm/contact'
import contact, { Channel, Employee, EmployeeAccount, Person } from '@hcengineering/contact'
import core, {
AttachedData,
Data,
@@ -9,10 +9,10 @@ import core, {
MixinUpdate,
Ref,
TxOperations
} from '@anticrm/core'
import recruit from '@anticrm/model-recruit'
import { Applicant, Candidate, Vacancy } from '@anticrm/recruit'
import { genRanks, State } from '@anticrm/task'
} from '@hcengineering/core'
import recruit from '@hcengineering/model-recruit'
import { Applicant, Candidate, Vacancy } from '@hcengineering/recruit'
import { genRanks, State } from '@hcengineering/task'
import faker from 'faker'
import jpeg, { BufferRet } from 'jpeg-js'
import { Client } from 'minio'
+1 -1
View File
@@ -9,7 +9,7 @@ import {
Ref,
Space,
TxOperations
} from '@anticrm/core'
} from '@hcengineering/core'
export async function findOrUpdate<T extends Doc> (
ctx: MeasureContext,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@anticrm/platform-rig/profiles/default/tsconfig.json",
"extends": "./node_modules/@hcengineering/platform-rig/profiles/default/tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
+7 -7
View File
@@ -13,22 +13,22 @@
],
"dependency": [
{
"comment": "Updating dependency \"@anticrm/login\" from `~0.6.0` to `~0.6.1`"
"comment": "Updating dependency \"@hcengineering/login\" from `~0.6.0` to `~0.6.1`"
},
{
"comment": "Updating dependency \"@anticrm/login-resources\" from `~0.6.0` to `~0.6.1`"
"comment": "Updating dependency \"@hcengineering/login-resources\" from `~0.6.0` to `~0.6.1`"
},
{
"comment": "Updating dependency \"@anticrm/client\" from `~0.6.0` to `~0.6.1`"
"comment": "Updating dependency \"@hcengineering/client\" from `~0.6.0` to `~0.6.1`"
},
{
"comment": "Updating dependency \"@anticrm/workbench\" from `~0.6.0` to `~0.6.1`"
"comment": "Updating dependency \"@hcengineering/workbench\" from `~0.6.0` to `~0.6.1`"
},
{
"comment": "Updating dependency \"@anticrm/workbench-resources\" from `~0.6.0` to `~0.6.1`"
"comment": "Updating dependency \"@hcengineering/workbench-resources\" from `~0.6.0` to `~0.6.1`"
},
{
"comment": "Updating dependency \"@anticrm/client-resources\" from `~0.6.0` to `~0.6.1`"
"comment": "Updating dependency \"@hcengineering/client-resources\" from `~0.6.0` to `~0.6.1`"
}
]
}
@@ -40,7 +40,7 @@
"comments": {
"dependency": [
{
"comment": "Updating dependency \"@anticrm/platform\" from `~0.6.3` to `~0.6.4`"
"comment": "Updating dependency \"@hcengineering/platform\" from `~0.6.3` to `~0.6.4`"
}
]
}
+114 -114
View File
@@ -1,8 +1,8 @@
{
"name": "@anticrm/prod",
"name": "@hcengineering/prod",
"version": "1.0.1",
"license": "EPL-2.0",
"template": "@anticrm/webpack-package",
"template": "@hcengineering/webpack-package",
"scripts": {
"build": "rm -rf ./dist && cross-env NODE_ENV=production webpack --stats-error-details && echo 'done'",
"analyze": "cross-env NODE_ENV=production webpack --json > stats.json",
@@ -39,118 +39,118 @@
"html-webpack-plugin": "~5.5.0"
},
"dependencies": {
"@anticrm/platform": "~0.6.6",
"@anticrm/ui": "~0.6.0",
"@anticrm/theme": "~0.6.0",
"@hcengineering/platform": "^0.6.7",
"@hcengineering/ui": "^0.6.2",
"@hcengineering/theme": "^0.6.1",
"svelte": "^3.47",
"@anticrm/login": "~0.6.1",
"@anticrm/login-assets": "~0.6.0",
"@anticrm/login-resources": "~0.6.2",
"@anticrm/client": "~0.6.2",
"@anticrm/dev-client-resources": "~0.6.1",
"@anticrm/workbench": "~0.6.1",
"@anticrm/workbench-resources": "~0.6.1",
"@anticrm/view": "~0.6.0",
"@anticrm/view-assets": "~0.6.0",
"@anticrm/view-resources": "~0.6.0",
"@anticrm/contact": "~0.6.5",
"@anticrm/contact-resources": "~0.6.0",
"@anticrm/task": "~0.6.0",
"@anticrm/task-assets": "~0.6.0",
"@anticrm/task-resources": "~0.6.0",
"@anticrm/chunter": "~0.6.1",
"@anticrm/chunter-assets": "~0.6.0",
"@anticrm/chunter-resources": "~0.6.0",
"@anticrm/recruit": "~0.6.3",
"@anticrm/recruit-assets": "~0.6.0",
"@anticrm/recruit-resources": "~0.6.0",
"@anticrm/setting": "~0.6.1",
"@anticrm/setting-assets": "~0.6.0",
"@anticrm/setting-resources": "~0.6.0",
"@anticrm/client-resources": "~0.6.4",
"@anticrm/contact-assets": "~0.6.0",
"@anticrm/activity": "~0.6.0",
"@anticrm/activity-assets": "~0.6.0",
"@anticrm/activity-resources": "~0.6.0",
"@anticrm/automation": "~0.6.0",
"@anticrm/automation-assets": "~0.6.0",
"@anticrm/automation-resources": "~0.6.0",
"@anticrm/telegram": "~0.6.2",
"@anticrm/telegram-assets": "~0.6.0",
"@anticrm/telegram-resources": "~0.6.0",
"@anticrm/devmodel": "~0.6.0",
"@anticrm/devmodel-resources": "~0.6.0",
"@anticrm/workbench-assets": "~0.6.0",
"@anticrm/attachment": "~0.6.1",
"@anticrm/attachment-assets": "~0.6.0",
"@anticrm/attachment-resources": "~0.6.0",
"@anticrm/lead": "~0.6.0",
"@anticrm/lead-assets": "~0.6.0",
"@anticrm/lead-resources": "~0.6.0",
"@anticrm/gmail": "~0.6.0",
"@anticrm/gmail-assets": "~0.6.0",
"@anticrm/gmail-resources": "~0.6.0",
"@anticrm/image-cropper": "~0.6.0",
"@anticrm/image-cropper-resources": "~0.6.0",
"@anticrm/inventory": "~0.6.0",
"@anticrm/inventory-assets": "~0.6.0",
"@anticrm/inventory-resources": "~0.6.0",
"@anticrm/server-attachment": "~0.6.1",
"@anticrm/server-attachment-resources": "~0.6.0",
"@anticrm/server-contact": "~0.6.1",
"@anticrm/server-contact-resources": "~0.6.0",
"@anticrm/server-notification": "~0.6.0",
"@anticrm/server-notification-resources": "~0.6.0",
"@anticrm/server-setting": "~0.6.0",
"@anticrm/server-setting-resources": "~0.6.0",
"@anticrm/templates": "~0.6.0",
"@anticrm/templates-assets": "~0.6.0",
"@anticrm/templates-resources": "~0.6.0",
"@anticrm/notification": "~0.6.0",
"@anticrm/notification-assets": "~0.6.0",
"@anticrm/notification-resources": "~0.6.0",
"@anticrm/preference": "~0.6.0",
"@anticrm/preference-assets": "~0.6.0",
"@anticrm/core": "~0.6.16",
"@anticrm/rekoni": "~0.6.0",
"@anticrm/tags-assets": "~0.6.0",
"@anticrm/tags": "~0.6.2",
"@anticrm/tags-resources": "~0.6.0",
"@anticrm/server-chunter": "~0.6.0",
"@anticrm/server-chunter-resources": "~0.6.0",
"@anticrm/server-inventory": "~0.6.0",
"@anticrm/server-inventory-resources": "~0.6.0",
"@anticrm/server-lead": "~0.6.0",
"@anticrm/server-lead-resources": "~0.6.0",
"@anticrm/server-recruit": "~0.6.0",
"@anticrm/server-recruit-resources": "~0.6.0",
"@anticrm/server-tags": "~0.6.0",
"@anticrm/server-tags-resources": "~0.6.0",
"@anticrm/server-task": "~0.6.0",
"@anticrm/server-task-resources": "~0.6.0",
"@anticrm/calendar": "~0.6.0",
"@anticrm/calendar-assets": "~0.6.0",
"@anticrm/calendar-resources": "~0.6.0",
"@anticrm/server-calendar": "~0.6.0",
"@anticrm/server-calendar-resources": "~0.6.0",
"@anticrm/server-gmail": "~0.6.0",
"@anticrm/server-gmail-resources": "~0.6.0",
"@anticrm/server-telegram": "~0.6.0",
"@anticrm/server-telegram-resources": "~0.6.0",
"@anticrm/presentation": "~0.6.2",
"@anticrm/server-tracker": "~0.6.0",
"@anticrm/server-tracker-resources": "~0.6.0",
"@anticrm/tracker": "~0.6.0",
"@anticrm/tracker-assets": "~0.6.0",
"@anticrm/tracker-resources": "~0.6.0",
"@anticrm/text-editor": "~0.6.0",
"@anticrm/board": "~0.6.0",
"@anticrm/board-assets": "~0.6.0",
"@anticrm/board-resources": "~0.6.0",
"@anticrm/hr": "~0.6.0",
"@anticrm/hr-assets": "~0.6.0",
"@anticrm/hr-resources": "~0.6.0",
"@anticrm/server-hr": "~0.6.0",
"@anticrm/server-hr-resources": "~0.6.0"
"@hcengineering/login": "~0.6.1",
"@hcengineering/login-assets": "~0.6.0",
"@hcengineering/login-resources": "~0.6.2",
"@hcengineering/client": "^0.6.3",
"@hcengineering/dev-client-resources": "~0.6.1",
"@hcengineering/workbench": "~0.6.1",
"@hcengineering/workbench-resources": "~0.6.1",
"@hcengineering/view": "^0.6.1",
"@hcengineering/view-assets": "~0.6.0",
"@hcengineering/view-resources": "~0.6.0",
"@hcengineering/contact": "~0.6.5",
"@hcengineering/contact-resources": "~0.6.0",
"@hcengineering/task": "~0.6.0",
"@hcengineering/task-assets": "~0.6.0",
"@hcengineering/task-resources": "~0.6.0",
"@hcengineering/chunter": "~0.6.1",
"@hcengineering/chunter-assets": "~0.6.0",
"@hcengineering/chunter-resources": "~0.6.0",
"@hcengineering/recruit": "~0.6.3",
"@hcengineering/recruit-assets": "~0.6.0",
"@hcengineering/recruit-resources": "~0.6.0",
"@hcengineering/setting": "~0.6.1",
"@hcengineering/setting-assets": "~0.6.0",
"@hcengineering/setting-resources": "~0.6.0",
"@hcengineering/client-resources": "~0.6.4",
"@hcengineering/contact-assets": "~0.6.0",
"@hcengineering/activity": "~0.6.0",
"@hcengineering/activity-assets": "~0.6.0",
"@hcengineering/activity-resources": "~0.6.0",
"@hcengineering/automation": "~0.6.0",
"@hcengineering/automation-assets": "~0.6.0",
"@hcengineering/automation-resources": "~0.6.0",
"@hcengineering/telegram": "~0.6.2",
"@hcengineering/telegram-assets": "~0.6.0",
"@hcengineering/telegram-resources": "~0.6.0",
"@hcengineering/devmodel": "~0.6.0",
"@hcengineering/devmodel-resources": "~0.6.0",
"@hcengineering/workbench-assets": "~0.6.0",
"@hcengineering/attachment": "~0.6.1",
"@hcengineering/attachment-assets": "~0.6.0",
"@hcengineering/attachment-resources": "~0.6.0",
"@hcengineering/lead": "~0.6.0",
"@hcengineering/lead-assets": "~0.6.0",
"@hcengineering/lead-resources": "~0.6.0",
"@hcengineering/gmail": "~0.6.0",
"@hcengineering/gmail-assets": "~0.6.0",
"@hcengineering/gmail-resources": "~0.6.0",
"@hcengineering/image-cropper": "~0.6.0",
"@hcengineering/image-cropper-resources": "~0.6.0",
"@hcengineering/inventory": "~0.6.0",
"@hcengineering/inventory-assets": "~0.6.0",
"@hcengineering/inventory-resources": "~0.6.0",
"@hcengineering/server-attachment": "~0.6.1",
"@hcengineering/server-attachment-resources": "~0.6.0",
"@hcengineering/server-contact": "~0.6.1",
"@hcengineering/server-contact-resources": "~0.6.0",
"@hcengineering/server-notification": "~0.6.0",
"@hcengineering/server-notification-resources": "~0.6.0",
"@hcengineering/server-setting": "~0.6.0",
"@hcengineering/server-setting-resources": "~0.6.0",
"@hcengineering/templates": "~0.6.0",
"@hcengineering/templates-assets": "~0.6.0",
"@hcengineering/templates-resources": "~0.6.0",
"@hcengineering/notification": "~0.6.0",
"@hcengineering/notification-assets": "~0.6.0",
"@hcengineering/notification-resources": "~0.6.0",
"@hcengineering/preference": "^0.6.1",
"@hcengineering/preference-assets": "~0.6.0",
"@hcengineering/core": "^0.6.17",
"@hcengineering/rekoni": "~0.6.0",
"@hcengineering/tags-assets": "~0.6.0",
"@hcengineering/tags": "~0.6.2",
"@hcengineering/tags-resources": "~0.6.0",
"@hcengineering/server-chunter": "~0.6.0",
"@hcengineering/server-chunter-resources": "~0.6.0",
"@hcengineering/server-inventory": "~0.6.0",
"@hcengineering/server-inventory-resources": "~0.6.0",
"@hcengineering/server-lead": "~0.6.0",
"@hcengineering/server-lead-resources": "~0.6.0",
"@hcengineering/server-recruit": "~0.6.0",
"@hcengineering/server-recruit-resources": "~0.6.0",
"@hcengineering/server-tags": "~0.6.0",
"@hcengineering/server-tags-resources": "~0.6.0",
"@hcengineering/server-task": "~0.6.0",
"@hcengineering/server-task-resources": "~0.6.0",
"@hcengineering/calendar": "~0.6.0",
"@hcengineering/calendar-assets": "~0.6.0",
"@hcengineering/calendar-resources": "~0.6.0",
"@hcengineering/server-calendar": "~0.6.0",
"@hcengineering/server-calendar-resources": "~0.6.0",
"@hcengineering/server-gmail": "~0.6.0",
"@hcengineering/server-gmail-resources": "~0.6.0",
"@hcengineering/server-telegram": "~0.6.0",
"@hcengineering/server-telegram-resources": "~0.6.0",
"@hcengineering/presentation": "~0.6.2",
"@hcengineering/server-tracker": "~0.6.0",
"@hcengineering/server-tracker-resources": "~0.6.0",
"@hcengineering/tracker": "~0.6.0",
"@hcengineering/tracker-assets": "~0.6.0",
"@hcengineering/tracker-resources": "~0.6.0",
"@hcengineering/text-editor": "~0.6.0",
"@hcengineering/board": "~0.6.0",
"@hcengineering/board-assets": "~0.6.0",
"@hcengineering/board-resources": "~0.6.0",
"@hcengineering/hr": "~0.6.0",
"@hcengineering/hr-assets": "~0.6.0",
"@hcengineering/hr-resources": "~0.6.0",
"@hcengineering/server-hr": "~0.6.0",
"@hcengineering/server-hr-resources": "~0.6.0"
}
}
+1 -1
View File
@@ -14,7 +14,7 @@
// limitations under the License.
//
import { createApp } from '@anticrm/ui'
import { createApp } from '@hcengineering/ui'
import { configurePlatform } from './platform'
import { configurePlatformDev, configurePlatformDevServer } from './platform-dev'
+1 -1
View File
@@ -14,7 +14,7 @@
// limitations under the License.
//
import { createApp } from '@anticrm/ui'
import { createApp } from '@hcengineering/ui'
import { configurePlatform } from './platform'
configurePlatform().then(() => {
+38 -38
View File
@@ -13,52 +13,52 @@
// limitations under the License.
//
import { addLocation } from '@anticrm/platform'
import { addLocation } from '@hcengineering/platform'
import login from '@anticrm/login'
import { clientId } from '@anticrm/client'
import { serverAttachmentId } from '@anticrm/server-attachment'
import { serverContactId } from '@anticrm/server-contact'
import { serverNotificationId } from '@anticrm/server-notification'
import { serverSettingId } from '@anticrm/server-setting'
import { serverChunterId } from '@anticrm/server-chunter'
import { serverInventoryId } from '@anticrm/server-inventory'
import { serverLeadId } from '@anticrm/server-lead'
import { serverRecruitId } from '@anticrm/server-recruit'
import { serverTaskId } from '@anticrm/server-task'
import { serverTrackerId } from '@anticrm/server-tracker'
import { serverTagsId } from '@anticrm/server-tags'
import { serverCalendarId } from '@anticrm/server-calendar'
import { serverGmailId } from '@anticrm/server-gmail'
import { serverTelegramId } from '@anticrm/server-telegram'
import { serverHrId } from '@anticrm/server-hr'
import login from '@hcengineering/login'
import { clientId } from '@hcengineering/client'
import { serverAttachmentId } from '@hcengineering/server-attachment'
import { serverContactId } from '@hcengineering/server-contact'
import { serverNotificationId } from '@hcengineering/server-notification'
import { serverSettingId } from '@hcengineering/server-setting'
import { serverChunterId } from '@hcengineering/server-chunter'
import { serverInventoryId } from '@hcengineering/server-inventory'
import { serverLeadId } from '@hcengineering/server-lead'
import { serverRecruitId } from '@hcengineering/server-recruit'
import { serverTaskId } from '@hcengineering/server-task'
import { serverTrackerId } from '@hcengineering/server-tracker'
import { serverTagsId } from '@hcengineering/server-tags'
import { serverCalendarId } from '@hcengineering/server-calendar'
import { serverGmailId } from '@hcengineering/server-gmail'
import { serverTelegramId } from '@hcengineering/server-telegram'
import { serverHrId } from '@hcengineering/server-hr'
import { setMetadata } from '@anticrm/platform'
import { setMetadata } from '@hcengineering/platform'
import devmodel, { devModelId } from '@anticrm/devmodel'
import client from '@anticrm/client'
import devmodel, { devModelId } from '@hcengineering/devmodel'
import client from '@hcengineering/client'
export function configurePlatformDev() {
setMetadata(login.metadata.OverrideLoginToken, process.env.LOGIN_TOKEN_DEV)
setMetadata(login.metadata.OverrideEndpoint, process.env.LOGIN_ENDPOINT_DEV)
console.log('Use DEV server')
addLocation(clientId, () => import(/* webpackChunkName: "client-dev" */ '@anticrm/dev-client-resources'))
addLocation(clientId, () => import(/* webpackChunkName: "client-dev" */ '@hcengineering/dev-client-resources'))
addLocation(serverAttachmentId, () => import(/* webpackChunkName: "server-attachment" */ '@anticrm/server-attachment-resources'))
addLocation(serverContactId, () => import(/* webpackChunkName: "server-contact" */ '@anticrm/server-contact-resources'))
addLocation(serverNotificationId, () => import(/* webpackChunkName: "server-notification" */ '@anticrm/server-notification-resources'))
addLocation(serverSettingId, () => import(/* webpackChunkName: "server-setting" */ '@anticrm/server-setting-resources'))
addLocation(serverChunterId, () => import(/* webpackChunkName: "server-chunter" */ '@anticrm/server-chunter-resources'))
addLocation(serverInventoryId, () => import(/* webpackChunkName: "server-inventory" */ '@anticrm/server-inventory-resources'))
addLocation(serverLeadId, () => import(/* webpackChunkName: "server-lead" */ '@anticrm/server-lead-resources'))
addLocation(serverRecruitId, () => import(/* webpackChunkName: "server-recruit" */ '@anticrm/server-recruit-resources'))
addLocation(serverTaskId, () => import/* webpackChunkName: "server-task" */ ('@anticrm/server-task-resources'))
addLocation(serverTrackerId, () => import/* webpackChunkName: "server-tracker" */ ('@anticrm/server-tracker-resources'))
addLocation(serverTagsId, () => import/* webpackChunkName: "server-tags" */ ('@anticrm/server-tags-resources'))
addLocation(serverCalendarId, () => import/* webpackChunkName: "server-calendar" */ ('@anticrm/server-calendar-resources'))
addLocation(serverGmailId, () => import/* webpackChunkName: "server-gmail" */ ('@anticrm/server-gmail-resources'))
addLocation(serverTelegramId, () => import/* webpackChunkName: "server-telegram" */ ('@anticrm/server-telegram-resources'))
addLocation(serverHrId, () => import(/* webpackChunkName: "server-attachment" */ '@anticrm/server-hr-resources'))
addLocation(serverAttachmentId, () => import(/* webpackChunkName: "server-attachment" */ '@hcengineering/server-attachment-resources'))
addLocation(serverContactId, () => import(/* webpackChunkName: "server-contact" */ '@hcengineering/server-contact-resources'))
addLocation(serverNotificationId, () => import(/* webpackChunkName: "server-notification" */ '@hcengineering/server-notification-resources'))
addLocation(serverSettingId, () => import(/* webpackChunkName: "server-setting" */ '@hcengineering/server-setting-resources'))
addLocation(serverChunterId, () => import(/* webpackChunkName: "server-chunter" */ '@hcengineering/server-chunter-resources'))
addLocation(serverInventoryId, () => import(/* webpackChunkName: "server-inventory" */ '@hcengineering/server-inventory-resources'))
addLocation(serverLeadId, () => import(/* webpackChunkName: "server-lead" */ '@hcengineering/server-lead-resources'))
addLocation(serverRecruitId, () => import(/* webpackChunkName: "server-recruit" */ '@hcengineering/server-recruit-resources'))
addLocation(serverTaskId, () => import/* webpackChunkName: "server-task" */ ('@hcengineering/server-task-resources'))
addLocation(serverTrackerId, () => import/* webpackChunkName: "server-tracker" */ ('@hcengineering/server-tracker-resources'))
addLocation(serverTagsId, () => import/* webpackChunkName: "server-tags" */ ('@hcengineering/server-tags-resources'))
addLocation(serverCalendarId, () => import/* webpackChunkName: "server-calendar" */ ('@hcengineering/server-calendar-resources'))
addLocation(serverGmailId, () => import/* webpackChunkName: "server-gmail" */ ('@hcengineering/server-gmail-resources'))
addLocation(serverTelegramId, () => import/* webpackChunkName: "server-telegram" */ ('@hcengineering/server-telegram-resources'))
addLocation(serverHrId, () => import(/* webpackChunkName: "server-attachment" */ '@hcengineering/server-hr-resources'))
// Set devmodel to hook client to be able to present all activity
enableDevModel()
}
@@ -74,5 +74,5 @@ export function configurePlatformDevServer() {
function enableDevModel() {
setMetadata(client.metadata.ClientHook, devmodel.hook.Hook)
addLocation(devModelId, () => import(/* webpackChunkName: "devmodel" */ '@anticrm/devmodel-resources'))
addLocation(devModelId, () => import(/* webpackChunkName: "devmodel" */ '@hcengineering/devmodel-resources'))
}
+79 -79
View File
@@ -13,64 +13,64 @@
// limitations under the License.
//
import { addLocation } from '@anticrm/platform'
import { addLocation } from '@hcengineering/platform'
import login, { loginId } from '@anticrm/login'
import workbench, { workbenchId } from '@anticrm/workbench'
import uiPlugin from '@anticrm/ui'
import { viewId } from '@anticrm/view'
import { taskId } from '@anticrm/task'
import { contactId } from '@anticrm/contact'
import { chunterId } from '@anticrm/chunter'
import { recruitId } from '@anticrm/recruit'
import { activityId } from '@anticrm/activity'
import { automationId } from '@anticrm/automation'
import { settingId } from '@anticrm/setting'
import { telegramId } from '@anticrm/telegram'
import { attachmentId } from '@anticrm/attachment'
import { leadId } from '@anticrm/lead'
import { clientId } from '@anticrm/client'
import { gmailId } from '@anticrm/gmail'
import { imageCropperId } from '@anticrm/image-cropper'
import { inventoryId } from '@anticrm/inventory'
import { templatesId } from '@anticrm/templates'
import { notificationId } from '@anticrm/notification'
import { preferenceId } from '@anticrm/preference'
import { tagsId } from '@anticrm/tags'
import { calendarId } from '@anticrm/calendar'
import { trackerId } from '@anticrm/tracker'
import { boardId } from '@anticrm/board'
import { hrId } from '@anticrm/hr'
import rekoni from '@anticrm/rekoni'
import login, { loginId } from '@hcengineering/login'
import workbench, { workbenchId } from '@hcengineering/workbench'
import uiPlugin from '@hcengineering/ui'
import { viewId } from '@hcengineering/view'
import { taskId } from '@hcengineering/task'
import { contactId } from '@hcengineering/contact'
import { chunterId } from '@hcengineering/chunter'
import { recruitId } from '@hcengineering/recruit'
import { activityId } from '@hcengineering/activity'
import { automationId } from '@hcengineering/automation'
import { settingId } from '@hcengineering/setting'
import { telegramId } from '@hcengineering/telegram'
import { attachmentId } from '@hcengineering/attachment'
import { leadId } from '@hcengineering/lead'
import { clientId } from '@hcengineering/client'
import { gmailId } from '@hcengineering/gmail'
import { imageCropperId } from '@hcengineering/image-cropper'
import { inventoryId } from '@hcengineering/inventory'
import { templatesId } from '@hcengineering/templates'
import { notificationId } from '@hcengineering/notification'
import { preferenceId } from '@hcengineering/preference'
import { tagsId } from '@hcengineering/tags'
import { calendarId } from '@hcengineering/calendar'
import { trackerId } from '@hcengineering/tracker'
import { boardId } from '@hcengineering/board'
import { hrId } from '@hcengineering/hr'
import rekoni from '@hcengineering/rekoni'
import '@anticrm/login-assets'
import '@anticrm/task-assets'
import '@anticrm/view-assets'
import '@anticrm/chunter-assets'
import '@anticrm/attachment-assets'
import '@anticrm/contact-assets'
import '@anticrm/recruit-assets'
import '@anticrm/activity-assets'
import '@anticrm/automation-assets'
import '@anticrm/setting-assets'
import '@anticrm/telegram-assets'
import '@anticrm/lead-assets'
import '@anticrm/gmail-assets'
import '@anticrm/workbench-assets'
import '@anticrm/inventory-assets'
import '@anticrm/templates-assets'
import '@anticrm/notification-assets'
import '@anticrm/tags-assets'
import '@anticrm/calendar-assets'
import '@anticrm/tracker-assets'
import '@anticrm/board-assets'
import '@anticrm/preference-assets'
import '@anticrm/hr-assets'
import presentation, { presentationId } from '@anticrm/presentation'
import { coreId } from '@anticrm/core'
import { textEditorId } from '@anticrm/text-editor'
import '@hcengineering/login-assets'
import '@hcengineering/task-assets'
import '@hcengineering/view-assets'
import '@hcengineering/chunter-assets'
import '@hcengineering/attachment-assets'
import '@hcengineering/contact-assets'
import '@hcengineering/recruit-assets'
import '@hcengineering/activity-assets'
import '@hcengineering/automation-assets'
import '@hcengineering/setting-assets'
import '@hcengineering/telegram-assets'
import '@hcengineering/lead-assets'
import '@hcengineering/gmail-assets'
import '@hcengineering/workbench-assets'
import '@hcengineering/inventory-assets'
import '@hcengineering/templates-assets'
import '@hcengineering/notification-assets'
import '@hcengineering/tags-assets'
import '@hcengineering/calendar-assets'
import '@hcengineering/tracker-assets'
import '@hcengineering/board-assets'
import '@hcengineering/preference-assets'
import '@hcengineering/hr-assets'
import presentation, { presentationId } from '@hcengineering/presentation'
import { coreId } from '@hcengineering/core'
import { textEditorId } from '@hcengineering/text-editor'
import { setMetadata } from '@anticrm/platform'
import { setMetadata } from '@hcengineering/platform'
export async function configurePlatform() {
const config = await (await fetch('/config.json')).json()
@@ -103,31 +103,31 @@ export async function configurePlatform() {
addLocation(presentationId, async () => ({ default: async () => ({}) }))
addLocation(textEditorId, async () => ({ default: async () => ({}) }))
addLocation(clientId, () => import(/* webpackChunkName: "client" */ '@anticrm/client-resources'))
addLocation(loginId, () => import(/* webpackChunkName: "login" */ '@anticrm/login-resources'))
addLocation(workbenchId, () => import(/* webpackChunkName: "workbench" */ '@anticrm/workbench-resources'))
addLocation(viewId, () => import(/* webpackChunkName: "view" */ '@anticrm/view-resources'))
addLocation(taskId, () => import(/* webpackChunkName: "task" */ '@anticrm/task-resources'))
addLocation(contactId, () => import(/* webpackChunkName: "contact" */ '@anticrm/contact-resources'))
addLocation(chunterId, () => import(/* webpackChunkName: "chunter" */ '@anticrm/chunter-resources'))
addLocation(recruitId, () => import(/* webpackChunkName: "recruit" */ '@anticrm/recruit-resources'))
addLocation(activityId, () => import(/*webpackChunkName: "activity" */ '@anticrm/activity-resources'))
addLocation(settingId, () => import(/* webpackChunkName: "setting" */ '@anticrm/setting-resources'))
addLocation(leadId, () => import(/* webpackChunkName: "lead" */ '@anticrm/lead-resources'))
addLocation(telegramId, () => import(/* webpackChunkName: "telegram" */ '@anticrm/telegram-resources'))
addLocation(attachmentId, () => import(/* webpackChunkName: "attachment" */ '@anticrm/attachment-resources'))
addLocation(gmailId, () => import(/* webpackChunkName: "gmail" */ '@anticrm/gmail-resources'))
addLocation(imageCropperId, () => import(/* webpackChunkName: "image-cropper" */ '@anticrm/image-cropper-resources'))
addLocation(inventoryId, () => import(/* webpackChunkName: "inventory" */ '@anticrm/inventory-resources'))
addLocation(templatesId, () => import(/* webpackChunkName: "templates" */ '@anticrm/templates-resources'))
addLocation(notificationId, () => import(/* webpackChunkName: "notification" */ '@anticrm/notification-resources'))
addLocation(tagsId, () => import(/* webpackChunkName: "tags" */ '@anticrm/tags-resources'))
addLocation(calendarId, () => import(/* webpackChunkName: "calendar" */ '@anticrm/calendar-resources'))
addLocation(clientId, () => import(/* webpackChunkName: "client" */ '@hcengineering/client-resources'))
addLocation(loginId, () => import(/* webpackChunkName: "login" */ '@hcengineering/login-resources'))
addLocation(workbenchId, () => import(/* webpackChunkName: "workbench" */ '@hcengineering/workbench-resources'))
addLocation(viewId, () => import(/* webpackChunkName: "view" */ '@hcengineering/view-resources'))
addLocation(taskId, () => import(/* webpackChunkName: "task" */ '@hcengineering/task-resources'))
addLocation(contactId, () => import(/* webpackChunkName: "contact" */ '@hcengineering/contact-resources'))
addLocation(chunterId, () => import(/* webpackChunkName: "chunter" */ '@hcengineering/chunter-resources'))
addLocation(recruitId, () => import(/* webpackChunkName: "recruit" */ '@hcengineering/recruit-resources'))
addLocation(activityId, () => import(/*webpackChunkName: "activity" */ '@hcengineering/activity-resources'))
addLocation(settingId, () => import(/* webpackChunkName: "setting" */ '@hcengineering/setting-resources'))
addLocation(leadId, () => import(/* webpackChunkName: "lead" */ '@hcengineering/lead-resources'))
addLocation(telegramId, () => import(/* webpackChunkName: "telegram" */ '@hcengineering/telegram-resources'))
addLocation(attachmentId, () => import(/* webpackChunkName: "attachment" */ '@hcengineering/attachment-resources'))
addLocation(gmailId, () => import(/* webpackChunkName: "gmail" */ '@hcengineering/gmail-resources'))
addLocation(imageCropperId, () => import(/* webpackChunkName: "image-cropper" */ '@hcengineering/image-cropper-resources'))
addLocation(inventoryId, () => import(/* webpackChunkName: "inventory" */ '@hcengineering/inventory-resources'))
addLocation(templatesId, () => import(/* webpackChunkName: "templates" */ '@hcengineering/templates-resources'))
addLocation(notificationId, () => import(/* webpackChunkName: "notification" */ '@hcengineering/notification-resources'))
addLocation(tagsId, () => import(/* webpackChunkName: "tags" */ '@hcengineering/tags-resources'))
addLocation(calendarId, () => import(/* webpackChunkName: "calendar" */ '@hcengineering/calendar-resources'))
addLocation(trackerId, () => import(/* webpackChunkName: "tracker" */ '@anticrm/tracker-resources'))
addLocation(boardId, () => import(/* webpackChunkName: "board" */ '@anticrm/board-resources'))
addLocation(automationId, () => import(/* webpackChunkName: "automation" */ '@anticrm/automation-resources'))
addLocation(hrId, () => import(/* webpackChunkName: "hr" */ '@anticrm/hr-resources'))
addLocation(trackerId, () => import(/* webpackChunkName: "tracker" */ '@hcengineering/tracker-resources'))
addLocation(boardId, () => import(/* webpackChunkName: "board" */ '@hcengineering/board-resources'))
addLocation(automationId, () => import(/* webpackChunkName: "automation" */ '@hcengineering/automation-resources'))
addLocation(hrId, () => import(/* webpackChunkName: "hr" */ '@hcengineering/hr-resources'))
setMetadata(workbench.metadata.PlatformTitle, 'Platform')
}
+2 -2
View File
@@ -30,7 +30,7 @@ const dev = (process.env.CLIENT_TYPE ?? '') === 'dev' || devServer
module.exports = {
entry: {
bundle: [
'@anticrm/theme/styles/global.scss',
'@hcengineering/theme/styles/global.scss',
...(dev ? ['./src/main-dev.ts']: ['./src/main.ts'] ),
]
},
@@ -38,7 +38,7 @@ module.exports = {
symlinks: true,
alias: {
svelte: path.resolve('./node_modules', 'svelte'),
'@anticrm/platform-rig/profiles/ui/svelte': path.resolve('./node_modules', 'svelte')
'@hcengineering/platform-rig/profiles/ui/svelte': path.resolve('./node_modules', 'svelte')
},
extensions: ['.mjs', '.js', '.svelte', '.ts'],
mainFields: ['svelte', 'browser', 'module', 'main']
+1 -1
View File
@@ -1,5 +1,5 @@
module.exports = {
extends: ['./node_modules/@anticrm/platform-rig/profiles/default/config/eslint.config.json'],
extends: ['./node_modules/@hcengineering/platform-rig/profiles/default/config/eslint.config.json'],
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.json'
+29 -29
View File
@@ -1,9 +1,9 @@
{
"name": "@anticrm/dev-server",
"name": "@hcengineering/dev-server",
"entries": [
{
"version": "0.6.10",
"tag": "@anticrm/dev-server_v0.6.10",
"tag": "@hcengineering/dev-server_v0.6.10",
"date": "Sat, 14 Aug 2021 09:13:32 GMT",
"comments": {
"patch": [
@@ -15,7 +15,7 @@
},
{
"version": "0.6.9",
"tag": "@anticrm/dev-server_v0.6.9",
"tag": "@hcengineering/dev-server_v0.6.9",
"date": "Wed, 11 Aug 2021 10:10:44 GMT",
"comments": {
"patch": [
@@ -27,7 +27,7 @@
},
{
"version": "0.6.8",
"tag": "@anticrm/dev-server_v0.6.8",
"tag": "@hcengineering/dev-server_v0.6.8",
"date": "Wed, 11 Aug 2021 09:37:04 GMT",
"comments": {
"patch": [
@@ -37,20 +37,20 @@
],
"dependency": [
{
"comment": "Updating dependency \"@anticrm/dev-storage\" from `~0.6.3` to `~0.6.6`"
"comment": "Updating dependency \"@hcengineering/dev-storage\" from `~0.6.3` to `~0.6.6`"
},
{
"comment": "Updating dependency \"@anticrm/server-ws\" from `~0.6.6` to `~0.6.8`"
"comment": "Updating dependency \"@hcengineering/server-ws\" from `~0.6.6` to `~0.6.8`"
},
{
"comment": "Updating dependency \"@anticrm/core\" from `~0.6.8` to `~0.6.10`"
"comment": "Updating dependency \"@hcengineering/core\" from `~0.6.8` to `~0.6.10`"
}
]
}
},
{
"version": "0.6.6",
"tag": "@anticrm/dev-server_v0.6.6",
"tag": "@hcengineering/dev-server_v0.6.6",
"date": "Sun, 08 Aug 2021 21:05:26 GMT",
"comments": {
"patch": [
@@ -60,17 +60,17 @@
],
"dependency": [
{
"comment": "Updating dependency \"@anticrm/server-ws\" from `~0.6.4` to `~0.6.5`"
"comment": "Updating dependency \"@hcengineering/server-ws\" from `~0.6.4` to `~0.6.5`"
},
{
"comment": "Updating dependency \"@anticrm/core\" from `~0.6.7` to `~0.6.8`"
"comment": "Updating dependency \"@hcengineering/core\" from `~0.6.7` to `~0.6.8`"
}
]
}
},
{
"version": "0.6.5",
"tag": "@anticrm/dev-server_v0.6.5",
"tag": "@hcengineering/dev-server_v0.6.5",
"date": "Wed, 04 Aug 2021 21:18:44 GMT",
"comments": {
"patch": [
@@ -80,23 +80,23 @@
],
"dependency": [
{
"comment": "Updating dependency \"@anticrm/dev-storage\" from `~0.6.2` to `~0.6.3`"
"comment": "Updating dependency \"@hcengineering/dev-storage\" from `~0.6.2` to `~0.6.3`"
},
{
"comment": "Updating dependency \"@anticrm/server-ws\" from `~0.6.3` to `~0.6.4`"
"comment": "Updating dependency \"@hcengineering/server-ws\" from `~0.6.3` to `~0.6.4`"
},
{
"comment": "Updating dependency \"@anticrm/core\" from `~0.6.6` to `~0.6.7`"
"comment": "Updating dependency \"@hcengineering/core\" from `~0.6.6` to `~0.6.7`"
},
{
"comment": "Updating dependency \"@anticrm/platform\" from `~0.6.2` to `~0.6.3`"
"comment": "Updating dependency \"@hcengineering/platform\" from `~0.6.2` to `~0.6.3`"
}
]
}
},
{
"version": "0.6.4",
"tag": "@anticrm/dev-server_v0.6.4",
"tag": "@hcengineering/dev-server_v0.6.4",
"date": "Wed, 04 Aug 2021 21:00:14 GMT",
"comments": {
"patch": [
@@ -106,20 +106,20 @@
],
"dependency": [
{
"comment": "Updating dependency \"@anticrm/dev-storage\" from `~0.6.1` to `~0.6.2`"
"comment": "Updating dependency \"@hcengineering/dev-storage\" from `~0.6.1` to `~0.6.2`"
},
{
"comment": "Updating dependency \"@anticrm/server-ws\" from `~0.6.2` to `~0.6.3`"
"comment": "Updating dependency \"@hcengineering/server-ws\" from `~0.6.2` to `~0.6.3`"
},
{
"comment": "Updating dependency \"@anticrm/core\" from `~0.6.5` to `~0.6.6`"
"comment": "Updating dependency \"@hcengineering/core\" from `~0.6.5` to `~0.6.6`"
}
]
}
},
{
"version": "0.6.3",
"tag": "@anticrm/dev-server_v0.6.3",
"tag": "@hcengineering/dev-server_v0.6.3",
"date": "Wed, 04 Aug 2021 20:48:46 GMT",
"comments": {
"patch": [
@@ -129,17 +129,17 @@
],
"dependency": [
{
"comment": "Updating dependency \"@anticrm/server-ws\" from `~0.6.1` to `~0.6.2`"
"comment": "Updating dependency \"@hcengineering/server-ws\" from `~0.6.1` to `~0.6.2`"
},
{
"comment": "Updating dependency \"@anticrm/platform\" from `~0.6.1` to `~0.6.2`"
"comment": "Updating dependency \"@hcengineering/platform\" from `~0.6.1` to `~0.6.2`"
}
]
}
},
{
"version": "0.6.2",
"tag": "@anticrm/dev-server_v0.6.2",
"tag": "@hcengineering/dev-server_v0.6.2",
"date": "Wed, 04 Aug 2021 20:26:15 GMT",
"comments": {
"patch": [
@@ -149,14 +149,14 @@
],
"dependency": [
{
"comment": "Updating dependency \"@anticrm/core\" from `~0.6.4` to `~0.6.5`"
"comment": "Updating dependency \"@hcengineering/core\" from `~0.6.4` to `~0.6.5`"
}
]
}
},
{
"version": "0.6.1",
"tag": "@anticrm/dev-server_v0.6.1",
"tag": "@hcengineering/dev-server_v0.6.1",
"date": "Wed, 04 Aug 2021 17:38:30 GMT",
"comments": {
"patch": [
@@ -166,16 +166,16 @@
],
"dependency": [
{
"comment": "Updating dependency \"@anticrm/dev-storage\" from `~0.6.0` to `~0.6.1`"
"comment": "Updating dependency \"@hcengineering/dev-storage\" from `~0.6.0` to `~0.6.1`"
},
{
"comment": "Updating dependency \"@anticrm/server-ws\" from `~0.6.0` to `~0.6.1`"
"comment": "Updating dependency \"@hcengineering/server-ws\" from `~0.6.0` to `~0.6.1`"
},
{
"comment": "Updating dependency \"@anticrm/core\" from `~0.6.0` to `~0.6.1`"
"comment": "Updating dependency \"@hcengineering/core\" from `~0.6.0` to `~0.6.1`"
},
{
"comment": "Updating dependency \"@anticrm/platform\" from `~0.6.0` to `~0.6.1`"
"comment": "Updating dependency \"@hcengineering/platform\" from `~0.6.0` to `~0.6.1`"
}
]
}
+1 -1
View File
@@ -1,4 +1,4 @@
# Change Log - @anticrm/dev-server
# Change Log - @hcengineering/dev-server
This log was last generated on Sat, 14 Aug 2021 09:13:32 GMT and should not be manually modified.
+1 -1
View File
@@ -7,7 +7,7 @@
* (Required) The name of the rig package to inherit from.
* It should be an NPM package name with the "-rig" suffix.
*/
"rigPackageName": "@anticrm/platform-rig"
"rigPackageName": "@hcengineering/platform-rig"
/**
* (Optional) Selects a config profile from the rig package. The name must consist of
+7 -7
View File
@@ -1,5 +1,5 @@
{
"name": "@anticrm/dev-server",
"name": "@hcengineering/dev-server",
"version": "0.6.10",
"main": "lib/index.js",
"author": "Anticrm Platform Contributors",
@@ -13,7 +13,7 @@
"format": "prettier --write src && eslint --fix src"
},
"devDependencies": {
"@anticrm/platform-rig": "~0.6.0",
"@hcengineering/platform-rig": "~0.6.0",
"@types/heft-jest": "^1.0.3",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"eslint-plugin-import": "^2.26.0",
@@ -28,11 +28,11 @@
"typescript": "^4.3.5"
},
"dependencies": {
"@anticrm/dev-storage": "~0.6.6",
"@anticrm/server-ws": "~0.6.11",
"@anticrm/core": "~0.6.16",
"@anticrm/platform": "~0.6.6",
"@hcengineering/dev-storage": "~0.6.6",
"@hcengineering/server-ws": "~0.6.11",
"@hcengineering/core": "^0.6.17",
"@hcengineering/platform": "^0.6.7",
"jwt-simple": "~0.5.6",
"@anticrm/server-core": "~0.6.1"
"@hcengineering/server-core": "~0.6.1"
}
}
+5 -5
View File
@@ -14,17 +14,17 @@
// limitations under the License.
//
import type { Doc, Ref, TxResult } from '@anticrm/core'
import { DOMAIN_TX, MeasureMetricsContext } from '@anticrm/core'
import { createInMemoryTxAdapter } from '@anticrm/dev-storage'
import type { Doc, Ref, TxResult } from '@hcengineering/core'
import { DOMAIN_TX, MeasureMetricsContext } from '@hcengineering/core'
import { createInMemoryTxAdapter } from '@hcengineering/dev-storage'
import {
createInMemoryAdapter,
createPipeline,
DbConfiguration,
FullTextAdapter,
IndexedDoc
} from '@anticrm/server-core'
import { ClientSession, start as startJsonRpc } from '@anticrm/server-ws'
} from '@hcengineering/server-core'
import { ClientSession, start as startJsonRpc } from '@hcengineering/server-ws'
class NullFullTextAdapter implements FullTextAdapter {
async index (doc: IndexedDoc): Promise<TxResult> {
+1 -1
View File
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@anticrm/platform-rig/profiles/default/tsconfig.json",
"extends": "./node_modules/@hcengineering/platform-rig/profiles/default/tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
+1 -1
View File
@@ -1,5 +1,5 @@
module.exports = {
extends: ['./node_modules/@anticrm/platform-rig/profiles/default/config/eslint.config.json'],
extends: ['./node_modules/@hcengineering/platform-rig/profiles/default/config/eslint.config.json'],
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.json'
+11 -11
View File
@@ -1,9 +1,9 @@
{
"name": "@anticrm/dev-storage",
"name": "@hcengineering/dev-storage",
"entries": [
{
"version": "0.6.6",
"tag": "@anticrm/dev-storage_v0.6.6",
"tag": "@hcengineering/dev-storage_v0.6.6",
"date": "Wed, 11 Aug 2021 09:37:04 GMT",
"comments": {
"patch": [
@@ -13,14 +13,14 @@
],
"dependency": [
{
"comment": "Updating dependency \"@anticrm/core\" from `~0.6.8` to `~0.6.10`"
"comment": "Updating dependency \"@hcengineering/core\" from `~0.6.8` to `~0.6.10`"
}
]
}
},
{
"version": "0.6.3",
"tag": "@anticrm/dev-storage_v0.6.3",
"tag": "@hcengineering/dev-storage_v0.6.3",
"date": "Wed, 04 Aug 2021 21:18:44 GMT",
"comments": {
"patch": [
@@ -30,17 +30,17 @@
],
"dependency": [
{
"comment": "Updating dependency \"@anticrm/core\" from `~0.6.6` to `~0.6.7`"
"comment": "Updating dependency \"@hcengineering/core\" from `~0.6.6` to `~0.6.7`"
},
{
"comment": "Updating dependency \"@anticrm/platform\" from `~0.6.2` to `~0.6.3`"
"comment": "Updating dependency \"@hcengineering/platform\" from `~0.6.2` to `~0.6.3`"
}
]
}
},
{
"version": "0.6.2",
"tag": "@anticrm/dev-storage_v0.6.2",
"tag": "@hcengineering/dev-storage_v0.6.2",
"date": "Wed, 04 Aug 2021 21:00:14 GMT",
"comments": {
"patch": [
@@ -50,14 +50,14 @@
],
"dependency": [
{
"comment": "Updating dependency \"@anticrm/core\" from `~0.6.5` to `~0.6.6`"
"comment": "Updating dependency \"@hcengineering/core\" from `~0.6.5` to `~0.6.6`"
}
]
}
},
{
"version": "0.6.1",
"tag": "@anticrm/dev-storage_v0.6.1",
"tag": "@hcengineering/dev-storage_v0.6.1",
"date": "Wed, 04 Aug 2021 17:38:30 GMT",
"comments": {
"patch": [
@@ -67,10 +67,10 @@
],
"dependency": [
{
"comment": "Updating dependency \"@anticrm/core\" from `~0.6.0` to `~0.6.1`"
"comment": "Updating dependency \"@hcengineering/core\" from `~0.6.0` to `~0.6.1`"
},
{
"comment": "Updating dependency \"@anticrm/platform\" from `~0.6.0` to `~0.6.1`"
"comment": "Updating dependency \"@hcengineering/platform\" from `~0.6.0` to `~0.6.1`"
}
]
}
+1 -1
View File
@@ -1,4 +1,4 @@
# Change Log - @anticrm/dev-storage
# Change Log - @hcengineering/dev-storage
This log was last generated on Wed, 11 Aug 2021 09:37:04 GMT and should not be manually modified.
+1 -1
View File
@@ -7,7 +7,7 @@
* (Required) The name of the rig package to inherit from.
* It should be an NPM package name with the "-rig" suffix.
*/
"rigPackageName": "@anticrm/platform-rig"
"rigPackageName": "@hcengineering/platform-rig"
/**
* (Optional) Selects a config profile from the rig package. The name must consist of
+6 -6
View File
@@ -1,5 +1,5 @@
{
"name": "@anticrm/dev-storage",
"name": "@hcengineering/dev-storage",
"version": "0.6.6",
"main": "lib/index.js",
"author": "Anticrm Platform Contributors",
@@ -12,7 +12,7 @@
"format": "prettier --write src && eslint --fix src"
},
"devDependencies": {
"@anticrm/platform-rig": "~0.6.0",
"@hcengineering/platform-rig": "~0.6.0",
"@types/heft-jest": "^1.0.3",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"eslint-plugin-import": "^2.26.0",
@@ -26,9 +26,9 @@
"typescript": "^4.3.5"
},
"dependencies": {
"@anticrm/core": "~0.6.16",
"@anticrm/platform": "~0.6.6",
"@anticrm/server-core": "~0.6.1",
"@anticrm/model-all": "~0.6.0"
"@hcengineering/core": "^0.6.17",
"@hcengineering/platform": "^0.6.7",
"@hcengineering/server-core": "~0.6.1",
"@hcengineering/model-all": "~0.6.0"
}
}
+1 -1
View File
@@ -14,7 +14,7 @@
// limitations under the License.
//
import core, { TxFactory } from '@anticrm/core'
import core, { TxFactory } from '@hcengineering/core'
import { createStorage } from '../storage'
describe('client', () => {
+4 -4
View File
@@ -24,10 +24,10 @@ import type {
StorageIterator,
Tx,
TxResult
} from '@anticrm/core'
import { Hierarchy, TxDb } from '@anticrm/core'
import builder from '@anticrm/model-all'
import type { TxAdapter } from '@anticrm/server-core'
} from '@hcengineering/core'
import { Hierarchy, TxDb } from '@hcengineering/core'
import builder from '@hcengineering/model-all'
import type { TxAdapter } from '@hcengineering/server-core'
class InMemoryTxAdapter implements TxAdapter {
private readonly txdb: TxDb
+1 -1
View File
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@anticrm/platform-rig/profiles/default/tsconfig.json",
"extends": "./node_modules/@hcengineering/platform-rig/profiles/default/tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
+1 -1
View File
@@ -1,5 +1,5 @@
module.exports = {
extends: ['./node_modules/@anticrm/platform-rig/profiles/default/config/eslint.config.json'],
extends: ['./node_modules/@hcengineering/platform-rig/profiles/default/config/eslint.config.json'],
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.json'
+1 -1
View File
@@ -7,7 +7,7 @@
* (Required) The name of the rig package to inherit from.
* It should be an NPM package name with the "-rig" suffix.
*/
"rigPackageName": "@anticrm/platform-rig"
"rigPackageName": "@hcengineering/platform-rig"
/**
* (Optional) Selects a config profile from the rig package. The name must consist of
+60 -60
View File
@@ -1,5 +1,5 @@
{
"name": "@anticrm/tool",
"name": "@hcengineering/tool",
"version": "0.6.0",
"main": "lib/index.js",
"author": "Anticrm Platform Contributors",
@@ -21,7 +21,7 @@
},
"devDependencies": {
"cross-env": "~7.0.3",
"@anticrm/platform-rig": "~0.6.0",
"@hcengineering/platform-rig": "~0.6.0",
"@types/heft-jest": "^1.0.3",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"eslint-plugin-import": "^2.26.0",
@@ -45,73 +45,73 @@
"dependencies": {
"mongodb": "^4.9.0",
"commander": "^8.1.0",
"@anticrm/account": "~0.6.0",
"@anticrm/core": "~0.6.16",
"@anticrm/contact": "~0.6.5",
"@hcengineering/account": "~0.6.0",
"@hcengineering/core": "^0.6.17",
"@hcengineering/contact": "~0.6.5",
"minio": "^7.0.26",
"@anticrm/model-all": "~0.6.0",
"@anticrm/model-telegram": "~0.6.0",
"@anticrm/telegram": "~0.6.2",
"@anticrm/client-resources": "~0.6.4",
"@hcengineering/model-all": "~0.6.0",
"@hcengineering/model-telegram": "~0.6.0",
"@hcengineering/telegram": "~0.6.2",
"@hcengineering/client-resources": "~0.6.4",
"ws": "^8.2.0",
"@anticrm/client": "~0.6.2",
"@anticrm/platform": "~0.6.6",
"@anticrm/model": "~0.6.0",
"@hcengineering/client": "^0.6.3",
"@hcengineering/platform": "^0.6.7",
"@hcengineering/model": "~0.6.0",
"fast-equals": "^2.0.3",
"@elastic/elasticsearch": "^7.14.0",
"@anticrm/elastic": "~0.6.0",
"@anticrm/server-core": "~0.6.1",
"@anticrm/server-token": "~0.6.0",
"@anticrm/model-attachment": "~0.6.0",
"@anticrm/model-contact": "~0.6.1",
"@anticrm/mongo": "~0.6.1",
"@anticrm/dev-storage": "~0.6.6",
"@anticrm/server-attachment": "~0.6.1",
"@anticrm/server-attachment-resources": "~0.6.0",
"@hcengineering/elastic": "~0.6.0",
"@hcengineering/server-core": "~0.6.1",
"@hcengineering/server-token": "~0.6.0",
"@hcengineering/model-attachment": "~0.6.0",
"@hcengineering/model-contact": "~0.6.1",
"@hcengineering/mongo": "~0.6.1",
"@hcengineering/dev-storage": "~0.6.6",
"@hcengineering/server-attachment": "~0.6.1",
"@hcengineering/server-attachment-resources": "~0.6.0",
"xml2js": "~0.4.23",
"@anticrm/model-recruit": "~0.6.0",
"@anticrm/recruit": "~0.6.3",
"@anticrm/task": "~0.6.0",
"@anticrm/chunter": "~0.6.1",
"@hcengineering/model-recruit": "~0.6.0",
"@hcengineering/recruit": "~0.6.3",
"@hcengineering/task": "~0.6.0",
"@hcengineering/chunter": "~0.6.1",
"mime-types": "~2.1.34",
"@anticrm/attachment": "~0.6.1",
"@anticrm/server-contact": "~0.6.1",
"@anticrm/server-contact-resources": "~0.6.0",
"@anticrm/server-notification": "~0.6.0",
"@anticrm/server-notification-resources": "~0.6.0",
"@anticrm/server-setting": "~0.6.0",
"@anticrm/server-setting-resources": "~0.6.0",
"@anticrm/server-tool": "~0.6.0",
"@anticrm/server-chunter": "~0.6.0",
"@anticrm/server-chunter-resources": "~0.6.0",
"@anticrm/server-inventory": "~0.6.0",
"@anticrm/server-inventory-resources": "~0.6.0",
"@anticrm/server-lead": "~0.6.0",
"@anticrm/server-lead-resources": "~0.6.0",
"@anticrm/server-recruit": "~0.6.0",
"@anticrm/server-recruit-resources": "~0.6.0",
"@anticrm/server-task": "~0.6.0",
"@anticrm/server-task-resources": "~0.6.0",
"@anticrm/server-tracker": "~0.6.0",
"@anticrm/server-tracker-resources": "~0.6.0",
"@anticrm/server-tags": "~0.6.0",
"@anticrm/server-tags-resources": "~0.6.0",
"@anticrm/server-calendar": "~0.6.0",
"@anticrm/server-calendar-resources": "~0.6.0",
"@anticrm/server-gmail": "~0.6.0",
"@anticrm/server-gmail-resources": "~0.6.0",
"@anticrm/server-telegram": "~0.6.0",
"@anticrm/server-telegram-resources": "~0.6.0",
"@anticrm/server-hr": "~0.6.0",
"@anticrm/server-hr-resources": "~0.6.0",
"@anticrm/rekoni": "~0.6.0",
"@hcengineering/attachment": "~0.6.1",
"@hcengineering/server-contact": "~0.6.1",
"@hcengineering/server-contact-resources": "~0.6.0",
"@hcengineering/server-notification": "~0.6.0",
"@hcengineering/server-notification-resources": "~0.6.0",
"@hcengineering/server-setting": "~0.6.0",
"@hcengineering/server-setting-resources": "~0.6.0",
"@hcengineering/server-tool": "~0.6.0",
"@hcengineering/server-chunter": "~0.6.0",
"@hcengineering/server-chunter-resources": "~0.6.0",
"@hcengineering/server-inventory": "~0.6.0",
"@hcengineering/server-inventory-resources": "~0.6.0",
"@hcengineering/server-lead": "~0.6.0",
"@hcengineering/server-lead-resources": "~0.6.0",
"@hcengineering/server-recruit": "~0.6.0",
"@hcengineering/server-recruit-resources": "~0.6.0",
"@hcengineering/server-task": "~0.6.0",
"@hcengineering/server-task-resources": "~0.6.0",
"@hcengineering/server-tracker": "~0.6.0",
"@hcengineering/server-tracker-resources": "~0.6.0",
"@hcengineering/server-tags": "~0.6.0",
"@hcengineering/server-tags-resources": "~0.6.0",
"@hcengineering/server-calendar": "~0.6.0",
"@hcengineering/server-calendar-resources": "~0.6.0",
"@hcengineering/server-gmail": "~0.6.0",
"@hcengineering/server-gmail-resources": "~0.6.0",
"@hcengineering/server-telegram": "~0.6.0",
"@hcengineering/server-telegram-resources": "~0.6.0",
"@hcengineering/server-hr": "~0.6.0",
"@hcengineering/server-hr-resources": "~0.6.0",
"@hcengineering/rekoni": "~0.6.0",
"got": "^11.8.3",
"@anticrm/tags": "~0.6.2",
"@anticrm/server-backup": "~0.6.0",
"@hcengineering/tags": "~0.6.2",
"@hcengineering/server-backup": "~0.6.0",
"csv-parse": "~5.1.0",
"@anticrm/lead": "~0.6.0",
"@hcengineering/lead": "~0.6.0",
"email-addresses": "^5.0.0",
"libphonenumber-js": "^1.9.46",
"@anticrm/setting": "~0.6.1"
"@hcengineering/setting": "~0.6.1"
}
}
+3 -3
View File
@@ -13,9 +13,9 @@
// limitations under the License.
//
import core, { AnyAttribute, Data, Enum, EnumOf, Ref, TxOperations } from '@anticrm/core'
import lead from '@anticrm/lead'
import { getEmbeddedLabel } from '@anticrm/platform'
import core, { AnyAttribute, Data, Enum, EnumOf, Ref, TxOperations } from '@hcengineering/core'
import lead from '@hcengineering/lead'
import { getEmbeddedLabel } from '@hcengineering/platform'
import { FieldType } from './types'
export async function updateClasses (
+3 -3
View File
@@ -13,9 +13,9 @@
// limitations under the License.
//
import contact, { EmployeeAccount } from '@anticrm/contact'
import { Ref, TxOperations } from '@anticrm/core'
import { connect } from '@anticrm/server-tool'
import contact, { EmployeeAccount } from '@hcengineering/contact'
import { Ref, TxOperations } from '@hcengineering/core'
import { connect } from '@hcengineering/server-tool'
import { deepEqual } from 'fast-equals'
export async function removeDuplicates (transactorUrl: string, dbName: string): Promise<void> {
+5 -5
View File
@@ -13,11 +13,11 @@
// limitations under the License.
//
import contact, { Contact, EmployeeAccount, Organization } from '@anticrm/contact'
import core, { Class, DocumentUpdate, MixinUpdate, Ref, SortingOrder, TxOperations } from '@anticrm/core'
import lead, { Customer, Funnel, Lead } from '@anticrm/lead'
import { connect } from '@anticrm/server-tool'
import task, { calcRank, DoneState, genRanks, State } from '@anticrm/task'
import contact, { Contact, EmployeeAccount, Organization } from '@hcengineering/contact'
import core, { Class, DocumentUpdate, MixinUpdate, Ref, SortingOrder, TxOperations } from '@hcengineering/core'
import lead, { Customer, Funnel, Lead } from '@hcengineering/lead'
import { connect } from '@hcengineering/server-tool'
import task, { calcRank, DoneState, genRanks, State } from '@hcengineering/task'
import { readFile } from 'fs/promises'
import { updateClasses } from './classes'
import { CustomCustomer, FieldType } from './types'
+4 -4
View File
@@ -13,10 +13,10 @@
// limitations under the License.
//
import contact, { Contact, EmployeeAccount, Organization } from '@anticrm/contact'
import core, { generateId, MixinUpdate, Ref, TxOperations } from '@anticrm/core'
import lead from '@anticrm/lead'
import { connect } from '@anticrm/server-tool'
import contact, { Contact, EmployeeAccount, Organization } from '@hcengineering/contact'
import core, { generateId, MixinUpdate, Ref, TxOperations } from '@hcengineering/core'
import lead from '@hcengineering/lead'
import { connect } from '@hcengineering/server-tool'
import { readFile } from 'fs/promises'
import { updateClasses } from './classes'
import { CustomCustomer, FieldType } from './types'
+6 -6
View File
@@ -13,7 +13,7 @@
// limitations under the License.
//
import contact, { Contact, EmployeeAccount, Organization } from '@anticrm/contact'
import contact, { Contact, EmployeeAccount, Organization } from '@hcengineering/contact'
import core, {
BackupClient,
BlobData,
@@ -25,20 +25,20 @@ import core, {
SortingOrder,
TxOperations,
WithLookup
} from '@anticrm/core'
import lead, { Customer, Funnel, Lead } from '@anticrm/lead'
import { connect } from '@anticrm/server-tool'
} from '@hcengineering/core'
import lead, { Customer, Funnel, Lead } from '@hcengineering/lead'
import { connect } from '@hcengineering/server-tool'
import { readFile } from 'fs/promises'
import { updateClasses } from './classes'
import { CustomCustomer, FieldType } from './types'
import { filled, getValid, updateChannel } from './utils'
import task, { calcRank, DoneState, Sequence, State } from '@anticrm/task'
import task, { calcRank, DoneState, Sequence, State } from '@hcengineering/task'
import { parse } from 'csv-parse'
import { updateStates } from './lead-importer'
import got from 'got'
import mimetypes from 'mime-types'
import attachment from '@anticrm/model-attachment'
import attachment from '@hcengineering/model-attachment'
const names = {
companyName: 'Company Name',
+9 -9
View File
@@ -13,8 +13,8 @@
// limitations under the License.
//
import attachment, { Attachment } from '@anticrm/attachment'
import contact, { combineName, Contact, EmployeeAccount, Person } from '@anticrm/contact'
import attachment, { Attachment } from '@hcengineering/attachment'
import contact, { combineName, Contact, EmployeeAccount, Person } from '@hcengineering/contact'
import core, {
AnyAttribute,
BackupClient,
@@ -32,13 +32,13 @@ import core, {
Timestamp,
TxOperations,
WithLookup
} from '@anticrm/core'
import { Asset, getEmbeddedLabel, IntlString } from '@anticrm/platform'
import recruit, { Candidate } from '@anticrm/recruit'
import { ReconiDocument } from '@anticrm/rekoni'
import { generateToken } from '@anticrm/server-token'
import { connect } from '@anticrm/server-tool'
import setting from '@anticrm/setting'
} from '@hcengineering/core'
import { Asset, getEmbeddedLabel, IntlString } from '@hcengineering/platform'
import recruit, { Candidate } from '@hcengineering/recruit'
import { ReconiDocument } from '@hcengineering/rekoni'
import { generateToken } from '@hcengineering/server-token'
import { connect } from '@hcengineering/server-tool'
import setting from '@hcengineering/setting'
import { readFile } from 'fs/promises'
import got from 'got'
import mimetypes from 'mime-types'
+3 -3
View File
@@ -12,9 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
import { Class, Doc, Ref } from '@anticrm/core'
import { Customer } from '@anticrm/lead'
import { IntlString } from '@anticrm/platform'
import { Class, Doc, Ref } from '@hcengineering/core'
import { Customer } from '@hcengineering/lead'
import { IntlString } from '@hcengineering/platform'
export interface CustomCustomer extends Customer {
annualTurnover?: string
+2 -2
View File
@@ -13,8 +13,8 @@
// limitations under the License.
//
import contact, { ChannelProvider, Contact } from '@anticrm/contact'
import { Class, Doc, Ref, TxOperations } from '@anticrm/core'
import contact, { ChannelProvider, Contact } from '@hcengineering/contact'
import { Class, Doc, Ref, TxOperations } from '@hcengineering/core'
export function filled (obj: any, uniqKeys: string[]): any {
const result: Record<string, any> = {}
+37 -37
View File
@@ -13,7 +13,7 @@
// limitations under the License.
//
import { Attachment } from '@anticrm/attachment'
import { Attachment } from '@hcengineering/attachment'
import core, {
AttachedDoc,
Class,
@@ -41,15 +41,15 @@ import core, {
TxRemoveDoc,
TxResult,
TxUpdateDoc
} from '@anticrm/core'
import { createElasticAdapter } from '@anticrm/elastic'
import { DOMAIN_ATTACHMENT } from '@anticrm/model-attachment'
import { createMongoAdapter, createMongoTxAdapter } from '@anticrm/mongo'
import { addLocation } from '@anticrm/platform'
import { serverAttachmentId } from '@anticrm/server-attachment'
import { serverCalendarId } from '@anticrm/server-calendar'
import { serverChunterId } from '@anticrm/server-chunter'
import { serverContactId } from '@anticrm/server-contact'
} from '@hcengineering/core'
import { createElasticAdapter } from '@hcengineering/elastic'
import { DOMAIN_ATTACHMENT } from '@hcengineering/model-attachment'
import { createMongoAdapter, createMongoTxAdapter } from '@hcengineering/mongo'
import { addLocation } from '@hcengineering/platform'
import { serverAttachmentId } from '@hcengineering/server-attachment'
import { serverCalendarId } from '@hcengineering/server-calendar'
import { serverChunterId } from '@hcengineering/server-chunter'
import { serverContactId } from '@hcengineering/server-contact'
import {
createServerStorage,
DbAdapter,
@@ -58,18 +58,18 @@ import {
FullTextIndex,
IndexedDoc,
TxAdapter
} from '@anticrm/server-core'
import { serverGmailId } from '@anticrm/server-gmail'
import { serverInventoryId } from '@anticrm/server-inventory'
import { serverLeadId } from '@anticrm/server-lead'
import { serverNotificationId } from '@anticrm/server-notification'
import { serverRecruitId } from '@anticrm/server-recruit'
import { serverSettingId } from '@anticrm/server-setting'
import { serverTagsId } from '@anticrm/server-tags'
import { serverTaskId } from '@anticrm/server-task'
import { serverTrackerId } from '@anticrm/server-tracker'
import { serverTelegramId } from '@anticrm/server-telegram'
import { serverHrId } from '@anticrm/server-hr'
} from '@hcengineering/server-core'
import { serverGmailId } from '@hcengineering/server-gmail'
import { serverInventoryId } from '@hcengineering/server-inventory'
import { serverLeadId } from '@hcengineering/server-lead'
import { serverNotificationId } from '@hcengineering/server-notification'
import { serverRecruitId } from '@hcengineering/server-recruit'
import { serverSettingId } from '@hcengineering/server-setting'
import { serverTagsId } from '@hcengineering/server-tags'
import { serverTaskId } from '@hcengineering/server-task'
import { serverTrackerId } from '@hcengineering/server-tracker'
import { serverTelegramId } from '@hcengineering/server-telegram'
import { serverHrId } from '@hcengineering/server-hr'
import { Client as ElasticClient } from '@elastic/elasticsearch'
import { Client } from 'minio'
import { Db, MongoClient } from 'mongodb'
@@ -124,21 +124,21 @@ export class ElasticTool {
fulltext!: FullTextIndex
constructor (readonly mongoUrl: string, readonly dbName: string, readonly minio: Client, readonly elasticUrl: string) {
addLocation(serverAttachmentId, () => import('@anticrm/server-attachment-resources'))
addLocation(serverContactId, () => import('@anticrm/server-contact-resources'))
addLocation(serverNotificationId, () => import('@anticrm/server-notification-resources'))
addLocation(serverChunterId, () => import('@anticrm/server-chunter-resources'))
addLocation(serverInventoryId, () => import('@anticrm/server-inventory-resources'))
addLocation(serverLeadId, () => import('@anticrm/server-lead-resources'))
addLocation(serverRecruitId, () => import('@anticrm/server-recruit-resources'))
addLocation(serverSettingId, () => import('@anticrm/server-setting-resources'))
addLocation(serverTaskId, () => import('@anticrm/server-task-resources'))
addLocation(serverTrackerId, () => import('@anticrm/server-tracker-resources'))
addLocation(serverTagsId, () => import('@anticrm/server-tags-resources'))
addLocation(serverCalendarId, () => import('@anticrm/server-calendar-resources'))
addLocation(serverGmailId, () => import('@anticrm/server-gmail-resources'))
addLocation(serverTelegramId, () => import('@anticrm/server-telegram-resources'))
addLocation(serverHrId, () => import('@anticrm/server-hr-resources'))
addLocation(serverAttachmentId, () => import('@hcengineering/server-attachment-resources'))
addLocation(serverContactId, () => import('@hcengineering/server-contact-resources'))
addLocation(serverNotificationId, () => import('@hcengineering/server-notification-resources'))
addLocation(serverChunterId, () => import('@hcengineering/server-chunter-resources'))
addLocation(serverInventoryId, () => import('@hcengineering/server-inventory-resources'))
addLocation(serverLeadId, () => import('@hcengineering/server-lead-resources'))
addLocation(serverRecruitId, () => import('@hcengineering/server-recruit-resources'))
addLocation(serverSettingId, () => import('@hcengineering/server-setting-resources'))
addLocation(serverTaskId, () => import('@hcengineering/server-task-resources'))
addLocation(serverTrackerId, () => import('@hcengineering/server-tracker-resources'))
addLocation(serverTagsId, () => import('@hcengineering/server-tags-resources'))
addLocation(serverCalendarId, () => import('@hcengineering/server-calendar-resources'))
addLocation(serverGmailId, () => import('@hcengineering/server-gmail-resources'))
addLocation(serverTelegramId, () => import('@hcengineering/server-telegram-resources'))
addLocation(serverHrId, () => import('@hcengineering/server-hr-resources'))
this.mongoClient = new MongoClient(mongoUrl)
}
+8 -8
View File
@@ -14,9 +14,9 @@
// limitations under the License.
//
import attachment, { Attachment } from '@anticrm/attachment'
import chunter, { Comment } from '@anticrm/chunter'
import contact, { Channel, ChannelProvider, EmployeeAccount, Person } from '@anticrm/contact'
import attachment, { Attachment } from '@hcengineering/attachment'
import chunter, { Comment } from '@hcengineering/chunter'
import contact, { Channel, ChannelProvider, EmployeeAccount, Person } from '@hcengineering/contact'
import core, {
AttachedData,
Class,
@@ -28,11 +28,11 @@ import core, {
Space,
TxOperations,
TxResult
} from '@anticrm/core'
import recruit from '@anticrm/model-recruit'
import { Applicant, Candidate, Vacancy } from '@anticrm/recruit'
import { connect } from '@anticrm/server-tool'
import task, { calcRank, DoneState, genRanks, Kanban, State } from '@anticrm/task'
} from '@hcengineering/core'
import recruit from '@hcengineering/model-recruit'
import { Applicant, Candidate, Vacancy } from '@hcengineering/recruit'
import { connect } from '@hcengineering/server-tool'
import task, { calcRank, DoneState, genRanks, Kanban, State } from '@hcengineering/task'
import { deepEqual } from 'fast-equals'
import { existsSync } from 'fs'
import { readdir, readFile, stat } from 'fs/promises'
+11 -5
View File
@@ -28,11 +28,17 @@ import {
replacePassword,
setRole,
upgradeWorkspace
} from '@anticrm/account'
import { setMetadata } from '@anticrm/platform'
import { backup, backupList, createFileBackupStorage, createMinioBackupStorage, restore } from '@anticrm/server-backup'
import serverToken, { decodeToken, generateToken } from '@anticrm/server-token'
import toolPlugin, { prepareTools, version } from '@anticrm/server-tool'
} from '@hcengineering/account'
import { setMetadata } from '@hcengineering/platform'
import {
backup,
backupList,
createFileBackupStorage,
createMinioBackupStorage,
restore
} from '@hcengineering/server-backup'
import serverToken, { decodeToken, generateToken } from '@hcengineering/server-token'
import toolPlugin, { prepareTools, version } from '@hcengineering/server-tool'
import { program } from 'commander'
import { Db, MongoClient } from 'mongodb'
import { exit } from 'process'
+1 -1
View File
@@ -1,4 +1,4 @@
import core, { Attribute, Data, Doc, DocumentUpdate, Hierarchy, ModelDb, Ref, Tx, Type } from '@anticrm/core'
import core, { Attribute, Data, Doc, DocumentUpdate, Hierarchy, ModelDb, Ref, Tx, Type } from '@hcengineering/core'
import { deepEqual } from 'fast-equals'
/**
+10 -10
View File
@@ -14,16 +14,16 @@
// limitations under the License.
//
import { Attachment } from '@anticrm/attachment'
import contact, { Channel, ChannelProvider, EmployeeAccount } from '@anticrm/contact'
import { Ref, TxOperations, WithLookup } from '@anticrm/core'
import attachment from '@anticrm/model-attachment'
import recruit from '@anticrm/model-recruit'
import { Candidate } from '@anticrm/recruit'
import { ReconiDocument } from '@anticrm/rekoni'
import { generateToken } from '@anticrm/server-token'
import { connect } from '@anticrm/server-tool'
import tags, { findTagCategory } from '@anticrm/tags'
import { Attachment } from '@hcengineering/attachment'
import contact, { Channel, ChannelProvider, EmployeeAccount } from '@hcengineering/contact'
import { Ref, TxOperations, WithLookup } from '@hcengineering/core'
import attachment from '@hcengineering/model-attachment'
import recruit from '@hcengineering/model-recruit'
import { Candidate } from '@hcengineering/recruit'
import { ReconiDocument } from '@hcengineering/rekoni'
import { generateToken } from '@hcengineering/server-token'
import { connect } from '@hcengineering/server-tool'
import tags, { findTagCategory } from '@hcengineering/tags'
import { Client } from 'minio'
import got from 'got'
import { ElasticTool } from './elastic'
+5 -5
View File
@@ -14,11 +14,11 @@
// limitations under the License.
//
import { DOMAIN_TX, Ref } from '@anticrm/core'
import { DOMAIN_ATTACHMENT } from '@anticrm/model-attachment'
import contact, { DOMAIN_CHANNEL } from '@anticrm/model-contact'
import { DOMAIN_TELEGRAM } from '@anticrm/model-telegram'
import telegram, { SharedTelegramMessage, SharedTelegramMessages } from '@anticrm/telegram'
import { DOMAIN_TX, Ref } from '@hcengineering/core'
import { DOMAIN_ATTACHMENT } from '@hcengineering/model-attachment'
import contact, { DOMAIN_CHANNEL } from '@hcengineering/model-contact'
import { DOMAIN_TELEGRAM } from '@hcengineering/model-telegram'
import telegram, { SharedTelegramMessage, SharedTelegramMessages } from '@hcengineering/telegram'
import { Client } from 'minio'
import { Document, MongoClient, UpdateFilter } from 'mongodb'
+1 -1
View File
@@ -1,4 +1,4 @@
import { AttachedData, AttachedDoc, Class, Doc, DocumentUpdate, Ref, Space, TxOperations } from '@anticrm/core'
import { AttachedData, AttachedDoc, Class, Doc, DocumentUpdate, Ref, Space, TxOperations } from '@hcengineering/core'
export async function findOrUpdateAttached<T extends AttachedDoc> (
client: TxOperations,
+4 -4
View File
@@ -14,10 +14,10 @@
// limitations under the License.
//
import contact from '@anticrm/contact'
import core, { DOMAIN_TX, Tx } from '@anticrm/core'
import builder, { version } from '@anticrm/model-all'
import { upgradeModel } from '@anticrm/server-tool'
import contact from '@hcengineering/contact'
import core, { DOMAIN_TX, Tx } from '@hcengineering/core'
import builder, { version } from '@hcengineering/model-all'
import { upgradeModel } from '@hcengineering/server-tool'
import { existsSync } from 'fs'
import { mkdir, open, readFile, writeFile } from 'fs/promises'
import { Client } from 'minio'
+1 -1
View File
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@anticrm/platform-rig/profiles/default/tsconfig.json",
"extends": "./node_modules/@hcengineering/platform-rig/profiles/default/tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
+1 -1
View File
@@ -1,5 +1,5 @@
module.exports = {
extends: ['./node_modules/@anticrm/model-rig/profiles/default/config/eslint.config.json'],
extends: ['./node_modules/@hcengineering/model-rig/profiles/default/config/eslint.config.json'],
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.json'
+1 -1
View File
@@ -7,7 +7,7 @@
* (Required) The name of the rig package to inherit from.
* It should be an NPM package name with the "-rig" suffix.
*/
"rigPackageName": "@anticrm/model-rig"
"rigPackageName": "@hcengineering/model-rig"
/**
* (Optional) Selects a config profile from the rig package. The name must consist of
+9 -9
View File
@@ -1,5 +1,5 @@
{
"name": "@anticrm/model-activity",
"name": "@hcengineering/model-activity",
"version": "0.6.0",
"main": "lib/index.js",
"author": "Anticrm Platform Contributors",
@@ -12,7 +12,7 @@
"format": "prettier --write src && eslint --fix src"
},
"devDependencies": {
"@anticrm/model-rig": "~0.6.0",
"@hcengineering/model-rig": "~0.6.0",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-promise": "^6.0.0",
@@ -25,12 +25,12 @@
"@rushstack/heft": "^0.46.1"
},
"dependencies": {
"@anticrm/core": "~0.6.16",
"@anticrm/model": "~0.6.0",
"@anticrm/contact": "~0.6.5",
"@anticrm/platform": "~0.6.6",
"@anticrm/model-core": "~0.6.0",
"@anticrm/activity": "~0.6.0",
"@anticrm/ui": "~0.6.0"
"@hcengineering/core": "^0.6.17",
"@hcengineering/model": "~0.6.0",
"@hcengineering/contact": "~0.6.5",
"@hcengineering/platform": "^0.6.7",
"@hcengineering/model-core": "~0.6.0",
"@hcengineering/activity": "~0.6.0",
"@hcengineering/ui": "^0.6.2"
}
}
+7 -7
View File
@@ -13,13 +13,13 @@
// limitations under the License.
//
import type { TxViewlet } from '@anticrm/activity'
import activity from '@anticrm/activity'
import core, { Class, Doc, DocumentQuery, DOMAIN_MODEL, Ref, Tx } from '@anticrm/core'
import { Builder, Model } from '@anticrm/model'
import { TDoc } from '@anticrm/model-core'
import type { Asset, IntlString } from '@anticrm/platform'
import { AnyComponent } from '@anticrm/ui'
import type { TxViewlet } from '@hcengineering/activity'
import activity from '@hcengineering/activity'
import core, { Class, Doc, DocumentQuery, DOMAIN_MODEL, Ref, Tx } from '@hcengineering/core'
import { Builder, Model } from '@hcengineering/model'
import { TDoc } from '@hcengineering/model-core'
import type { Asset, IntlString } from '@hcengineering/platform'
import { AnyComponent } from '@hcengineering/ui'
@Model(activity.class.TxViewlet, core.class.Doc, DOMAIN_MODEL)
export class TTxViewlet extends TDoc implements TxViewlet {
+1 -1
View File
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@anticrm/model-rig/profiles/default/tsconfig.json",
"extends": "./node_modules/@hcengineering/model-rig/profiles/default/tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
+1 -1
View File
@@ -1,5 +1,5 @@
module.exports = {
extends: ['./node_modules/@anticrm/model-rig/profiles/default/config/eslint.config.json'],
extends: ['./node_modules/@hcengineering/model-rig/profiles/default/config/eslint.config.json'],
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.json'
+3 -3
View File
@@ -1,14 +1,14 @@
{
"name": "@anticrm/model-all",
"name": "@hcengineering/model-all",
"entries": [
{
"version": "0.6.0",
"tag": "@anticrm/model-all_v0.6.0",
"tag": "@hcengineering/model-all_v0.6.0",
"date": "Sun, 08 Aug 2021 21:05:26 GMT",
"comments": {
"dependency": [
{
"comment": "Updating dependency \"@anticrm/model-workbench\" from `~0.6.0` to `~0.6.1`"
"comment": "Updating dependency \"@hcengineering/model-workbench\" from `~0.6.0` to `~0.6.1`"
}
]
}
+1 -1
View File
@@ -1,4 +1,4 @@
# Change Log - @anticrm/model-all
# Change Log - @hcengineering/model-all
This log was last generated on Sun, 08 Aug 2021 21:05:26 GMT and should not be manually modified.
+1 -1
View File
@@ -7,7 +7,7 @@
* (Required) The name of the rig package to inherit from.
* It should be an NPM package name with the "-rig" suffix.
*/
"rigPackageName": "@anticrm/model-rig"
"rigPackageName": "@hcengineering/model-rig"
/**
* (Optional) Selects a config profile from the rig package. The name must consist of
+46 -46
View File
@@ -1,5 +1,5 @@
{
"name": "@anticrm/model-all",
"name": "@hcengineering/model-all",
"version": "0.6.0",
"main": "lib/index.js",
"author": "Anticrm Platform Contributors",
@@ -15,7 +15,7 @@
"format": "prettier --write src && eslint --fix src"
},
"devDependencies": {
"@anticrm/model-rig": "~0.6.0",
"@hcengineering/model-rig": "~0.6.0",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-promise": "^6.0.0",
@@ -30,49 +30,49 @@
"@rushstack/heft": "^0.46.1"
},
"dependencies": {
"@anticrm/model": "~0.6.0",
"@anticrm/model-automation": "~0.6.0",
"@anticrm/model-core": "~0.6.0",
"@anticrm/model-view": "~0.6.0",
"@anticrm/model-workbench": "~0.6.1",
"@anticrm/model-contact": "~0.6.1",
"@anticrm/model-task": "~0.6.0",
"@anticrm/model-chunter": "~0.6.0",
"@anticrm/model-recruit": "~0.6.0",
"@anticrm/model-lead": "~0.6.0",
"@anticrm/model-setting": "~0.6.0",
"@anticrm/model-telegram": "~0.6.0",
"@anticrm/model-demo": "~0.6.0",
"@anticrm/model-server-core": "~0.6.0",
"@anticrm/model-server-attachment": "~0.6.0",
"@anticrm/model-server-contact": "~0.6.0",
"@anticrm/model-server-notification": "~0.6.0",
"@anticrm/model-server-setting": "~0.6.0",
"@anticrm/model-server-chunter": "~0.6.0",
"@anticrm/model-server-task": "~0.6.0",
"@anticrm/model-server-tracker": "~0.6.0",
"@anticrm/model-server-tags": "~0.6.0",
"@anticrm/model-server-recruit": "~0.6.0",
"@anticrm/model-server-lead": "~0.6.0",
"@anticrm/model-server-inventory": "~0.6.0",
"@anticrm/model-activity": "~0.6.0",
"@anticrm/model-attachment": "~0.6.0",
"@anticrm/model-gmail": "~0.6.0",
"@anticrm/model-inventory": "~0.6.0",
"@anticrm/model-presentation": "~0.6.0",
"@anticrm/model-templates": "~0.6.0",
"@anticrm/model-notification": "~0.6.0",
"@anticrm/model-text-editor": "~0.6.0",
"@anticrm/core": "~0.6.16",
"@anticrm/model-tags": "~0.6.0",
"@anticrm/model-calendar": "~0.6.0",
"@anticrm/model-server-calendar": "~0.6.0",
"@anticrm/model-server-gmail": "~0.6.0",
"@anticrm/model-server-telegram": "~0.6.0",
"@anticrm/model-tracker": "~0.6.0",
"@anticrm/model-board": "~0.6.0",
"@anticrm/model-preference": "~0.6.0",
"@anticrm/model-hr": "~0.6.0",
"@anticrm/model-server-hr": "~0.6.0"
"@hcengineering/model": "~0.6.0",
"@hcengineering/model-automation": "~0.6.0",
"@hcengineering/model-core": "~0.6.0",
"@hcengineering/model-view": "~0.6.0",
"@hcengineering/model-workbench": "~0.6.1",
"@hcengineering/model-contact": "~0.6.1",
"@hcengineering/model-task": "~0.6.0",
"@hcengineering/model-chunter": "~0.6.0",
"@hcengineering/model-recruit": "~0.6.0",
"@hcengineering/model-lead": "~0.6.0",
"@hcengineering/model-setting": "~0.6.0",
"@hcengineering/model-telegram": "~0.6.0",
"@hcengineering/model-demo": "~0.6.0",
"@hcengineering/model-server-core": "~0.6.0",
"@hcengineering/model-server-attachment": "~0.6.0",
"@hcengineering/model-server-contact": "~0.6.0",
"@hcengineering/model-server-notification": "~0.6.0",
"@hcengineering/model-server-setting": "~0.6.0",
"@hcengineering/model-server-chunter": "~0.6.0",
"@hcengineering/model-server-task": "~0.6.0",
"@hcengineering/model-server-tracker": "~0.6.0",
"@hcengineering/model-server-tags": "~0.6.0",
"@hcengineering/model-server-recruit": "~0.6.0",
"@hcengineering/model-server-lead": "~0.6.0",
"@hcengineering/model-server-inventory": "~0.6.0",
"@hcengineering/model-activity": "~0.6.0",
"@hcengineering/model-attachment": "~0.6.0",
"@hcengineering/model-gmail": "~0.6.0",
"@hcengineering/model-inventory": "~0.6.0",
"@hcengineering/model-presentation": "~0.6.0",
"@hcengineering/model-templates": "~0.6.0",
"@hcengineering/model-notification": "~0.6.0",
"@hcengineering/model-text-editor": "~0.6.0",
"@hcengineering/core": "^0.6.17",
"@hcengineering/model-tags": "~0.6.0",
"@hcengineering/model-calendar": "~0.6.0",
"@hcengineering/model-server-calendar": "~0.6.0",
"@hcengineering/model-server-gmail": "~0.6.0",
"@hcengineering/model-server-telegram": "~0.6.0",
"@hcengineering/model-tracker": "~0.6.0",
"@hcengineering/model-board": "~0.6.0",
"@hcengineering/model-preference": "~0.6.0",
"@hcengineering/model-hr": "~0.6.0",
"@hcengineering/model-server-hr": "~0.6.0"
}
}
+43 -43
View File
@@ -13,51 +13,51 @@
// limitations under the License.
//
import core, { coreId, Data, PluginConfiguration, Ref, Tx, Version } from '@anticrm/core'
import core, { coreId, Data, PluginConfiguration, Ref, Tx, Version } from '@hcengineering/core'
import jsonVersion from './version.json'
import { Builder } from '@anticrm/model'
import { createModel as activityModel } from '@anticrm/model-activity'
import { createModel as attachmentModel } from '@anticrm/model-attachment'
import { createModel as automationModel } from '@anticrm/model-automation'
import { createModel as chunterModel } from '@anticrm/model-chunter'
import { createModel as contactModel } from '@anticrm/model-contact'
import { createModel as coreModel } from '@anticrm/model-core'
import { createModel as gmailModel } from '@anticrm/model-gmail'
import { createModel as inventoryModel } from '@anticrm/model-inventory'
import { createModel as leadModel } from '@anticrm/model-lead'
import { createModel as presentationModel } from '@anticrm/model-presentation'
import { createModel as recruitModel } from '@anticrm/model-recruit'
import { createModel as serverAttachmentModel } from '@anticrm/model-server-attachment'
import { createModel as serverContactModel } from '@anticrm/model-server-contact'
import { createModel as serverNotificationModel } from '@anticrm/model-server-notification'
import { createModel as serverChunterModel } from '@anticrm/model-server-chunter'
import { createModel as serverInventoryModel } from '@anticrm/model-server-inventory'
import { createModel as serverLeadModel } from '@anticrm/model-server-lead'
import { createModel as serverTaskModel } from '@anticrm/model-server-task'
import { createModel as serverTrackerModel } from '@anticrm/model-server-tracker'
import { createModel as serverTagsModel } from '@anticrm/model-server-tags'
import { createModel as serveSettingModel } from '@anticrm/model-server-setting'
import { createModel as serverRecruitModel } from '@anticrm/model-server-recruit'
import { createModel as serverCoreModel } from '@anticrm/model-server-core'
import { createModel as settingModel } from '@anticrm/model-setting'
import { createModel as taskModel } from '@anticrm/model-task'
import { createModel as telegramModel } from '@anticrm/model-telegram'
import { createModel as templatesModel } from '@anticrm/model-templates'
import { createModel as textEditorModel } from '@anticrm/model-text-editor'
import { createModel as viewModel } from '@anticrm/model-view'
import { createModel as workbenchModel } from '@anticrm/model-workbench'
import { createModel as notificationModel } from '@anticrm/model-notification'
import { createModel as tagsModel } from '@anticrm/model-tags'
import { createModel as calendarModel } from '@anticrm/model-calendar'
import { createModel as serverCalendarModel } from '@anticrm/model-server-calendar'
import { createModel as serverGmailModel } from '@anticrm/model-server-gmail'
import { createModel as serverTelegramModel } from '@anticrm/model-server-telegram'
import { createModel as trackerModel } from '@anticrm/model-tracker'
import { createModel as boardModel } from '@anticrm/model-board'
import { createModel as preferenceModel } from '@anticrm/model-preference'
import { createModel as hrModel } from '@anticrm/model-hr'
import { createModel as serverHrModel } from '@anticrm/model-server-hr'
import { Builder } from '@hcengineering/model'
import { createModel as activityModel } from '@hcengineering/model-activity'
import { createModel as attachmentModel } from '@hcengineering/model-attachment'
import { createModel as automationModel } from '@hcengineering/model-automation'
import { createModel as chunterModel } from '@hcengineering/model-chunter'
import { createModel as contactModel } from '@hcengineering/model-contact'
import { createModel as coreModel } from '@hcengineering/model-core'
import { createModel as gmailModel } from '@hcengineering/model-gmail'
import { createModel as inventoryModel } from '@hcengineering/model-inventory'
import { createModel as leadModel } from '@hcengineering/model-lead'
import { createModel as presentationModel } from '@hcengineering/model-presentation'
import { createModel as recruitModel } from '@hcengineering/model-recruit'
import { createModel as serverAttachmentModel } from '@hcengineering/model-server-attachment'
import { createModel as serverContactModel } from '@hcengineering/model-server-contact'
import { createModel as serverNotificationModel } from '@hcengineering/model-server-notification'
import { createModel as serverChunterModel } from '@hcengineering/model-server-chunter'
import { createModel as serverInventoryModel } from '@hcengineering/model-server-inventory'
import { createModel as serverLeadModel } from '@hcengineering/model-server-lead'
import { createModel as serverTaskModel } from '@hcengineering/model-server-task'
import { createModel as serverTrackerModel } from '@hcengineering/model-server-tracker'
import { createModel as serverTagsModel } from '@hcengineering/model-server-tags'
import { createModel as serveSettingModel } from '@hcengineering/model-server-setting'
import { createModel as serverRecruitModel } from '@hcengineering/model-server-recruit'
import { createModel as serverCoreModel } from '@hcengineering/model-server-core'
import { createModel as settingModel } from '@hcengineering/model-setting'
import { createModel as taskModel } from '@hcengineering/model-task'
import { createModel as telegramModel } from '@hcengineering/model-telegram'
import { createModel as templatesModel } from '@hcengineering/model-templates'
import { createModel as textEditorModel } from '@hcengineering/model-text-editor'
import { createModel as viewModel } from '@hcengineering/model-view'
import { createModel as workbenchModel } from '@hcengineering/model-workbench'
import { createModel as notificationModel } from '@hcengineering/model-notification'
import { createModel as tagsModel } from '@hcengineering/model-tags'
import { createModel as calendarModel } from '@hcengineering/model-calendar'
import { createModel as serverCalendarModel } from '@hcengineering/model-server-calendar'
import { createModel as serverGmailModel } from '@hcengineering/model-server-gmail'
import { createModel as serverTelegramModel } from '@hcengineering/model-server-telegram'
import { createModel as trackerModel } from '@hcengineering/model-tracker'
import { createModel as boardModel } from '@hcengineering/model-board'
import { createModel as preferenceModel } from '@hcengineering/model-preference'
import { createModel as hrModel } from '@hcengineering/model-hr'
import { createModel as serverHrModel } from '@hcengineering/model-server-hr'
export const version: Data<Version> = jsonVersion as Data<Version>
+20 -20
View File
@@ -14,26 +14,26 @@
//
// Import migrate operations.
import { MigrateOperation } from '@anticrm/model'
import { attachmentOperation } from '@anticrm/model-attachment'
import { automationOperation } from '@anticrm/model-automation'
import { chunterOperation } from '@anticrm/model-chunter'
import { contactOperation } from '@anticrm/model-contact'
import { coreOperation } from '@anticrm/model-core'
import { gmailOperation } from '@anticrm/model-gmail'
import { leadOperation } from '@anticrm/model-lead'
import { notificationOperation } from '@anticrm/model-notification'
import { settingOperation } from '@anticrm/model-setting'
import { recruitOperation } from '@anticrm/model-recruit'
import { tagsOperation } from '@anticrm/model-tags'
import { taskOperation } from '@anticrm/model-task'
import { telegramOperation } from '@anticrm/model-telegram'
import { templatesOperation } from '@anticrm/model-templates'
import { viewOperation } from '@anticrm/model-view'
import { trackerOperation } from '@anticrm/model-tracker'
import { boardOperation } from '@anticrm/model-board'
import { demoOperation } from '@anticrm/model-demo'
import { hrOperation } from '@anticrm/model-hr'
import { MigrateOperation } from '@hcengineering/model'
import { attachmentOperation } from '@hcengineering/model-attachment'
import { automationOperation } from '@hcengineering/model-automation'
import { chunterOperation } from '@hcengineering/model-chunter'
import { contactOperation } from '@hcengineering/model-contact'
import { coreOperation } from '@hcengineering/model-core'
import { gmailOperation } from '@hcengineering/model-gmail'
import { leadOperation } from '@hcengineering/model-lead'
import { notificationOperation } from '@hcengineering/model-notification'
import { settingOperation } from '@hcengineering/model-setting'
import { recruitOperation } from '@hcengineering/model-recruit'
import { tagsOperation } from '@hcengineering/model-tags'
import { taskOperation } from '@hcengineering/model-task'
import { telegramOperation } from '@hcengineering/model-telegram'
import { templatesOperation } from '@hcengineering/model-templates'
import { viewOperation } from '@hcengineering/model-view'
import { trackerOperation } from '@hcengineering/model-tracker'
import { boardOperation } from '@hcengineering/model-board'
import { demoOperation } from '@hcengineering/model-demo'
import { hrOperation } from '@hcengineering/model-hr'
export const migrateOperations: MigrateOperation[] = [
coreOperation,
+1 -1
View File
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@anticrm/model-rig/profiles/default/tsconfig.json",
"extends": "./node_modules/@hcengineering/model-rig/profiles/default/tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
+1 -1
View File
@@ -1,5 +1,5 @@
module.exports = {
extends: ['./node_modules/@anticrm/model-rig/profiles/default/config/eslint.config.json'],
extends: ['./node_modules/@hcengineering/model-rig/profiles/default/config/eslint.config.json'],
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.json'
+1 -1
View File
@@ -7,7 +7,7 @@
* (Required) The name of the rig package to inherit from.
* It should be an NPM package name with the "-rig" suffix.
*/
"rigPackageName": "@anticrm/model-rig"
"rigPackageName": "@hcengineering/model-rig"
/**
* (Optional) Selects a config profile from the rig package. The name must consist of
+13 -13
View File
@@ -1,5 +1,5 @@
{
"name": "@anticrm/model-attachment",
"name": "@hcengineering/model-attachment",
"version": "0.6.0",
"main": "lib/index.js",
"author": "Anticrm Platform Contributors",
@@ -12,7 +12,7 @@
"format": "prettier --write src && eslint --fix src"
},
"devDependencies": {
"@anticrm/model-rig": "~0.6.0",
"@hcengineering/model-rig": "~0.6.0",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-promise": "^6.0.0",
@@ -25,16 +25,16 @@
"@rushstack/heft": "^0.46.1"
},
"dependencies": {
"@anticrm/core": "~0.6.16",
"@anticrm/model": "~0.6.0",
"@anticrm/ui": "~0.6.0",
"@anticrm/attachment": "~0.6.1",
"@anticrm/attachment-resources": "~0.6.0",
"@anticrm/platform": "~0.6.6",
"@anticrm/model-core": "~0.6.0",
"@anticrm/model-view": "~0.6.0",
"@anticrm/activity": "~0.6.0",
"@anticrm/model-preference": "~0.6.0",
"@anticrm/view": "~0.6.0"
"@hcengineering/core": "^0.6.17",
"@hcengineering/model": "~0.6.0",
"@hcengineering/ui": "^0.6.2",
"@hcengineering/attachment": "~0.6.1",
"@hcengineering/attachment-resources": "~0.6.0",
"@hcengineering/platform": "^0.6.7",
"@hcengineering/model-core": "~0.6.0",
"@hcengineering/model-view": "~0.6.0",
"@hcengineering/activity": "~0.6.0",
"@hcengineering/model-preference": "~0.6.0",
"@hcengineering/view": "^0.6.1"
}
}
+7 -7
View File
@@ -13,13 +13,13 @@
// limitations under the License.
//
import activity from '@anticrm/activity'
import type { Attachment, Photo, SavedAttachments } from '@anticrm/attachment'
import { Domain, IndexKind, Ref } from '@anticrm/core'
import { Builder, Index, Model, Prop, TypeBoolean, TypeRef, TypeString, TypeTimestamp, UX } from '@anticrm/model'
import core, { TAttachedDoc } from '@anticrm/model-core'
import preference, { TPreference } from '@anticrm/model-preference'
import view, { createAction } from '@anticrm/model-view'
import activity from '@hcengineering/activity'
import type { Attachment, Photo, SavedAttachments } from '@hcengineering/attachment'
import { Domain, IndexKind, Ref } from '@hcengineering/core'
import { Builder, Index, Model, Prop, TypeBoolean, TypeRef, TypeString, TypeTimestamp, UX } from '@hcengineering/model'
import core, { TAttachedDoc } from '@hcengineering/model-core'
import preference, { TPreference } from '@hcengineering/model-preference'
import view, { createAction } from '@hcengineering/model-view'
import attachment from './plugin'
export { attachmentOperation } from './migration'
+1 -1
View File
@@ -13,7 +13,7 @@
// limitations under the License.
//
import { MigrateOperation, MigrationClient, MigrationUpgradeClient } from '@anticrm/model'
import { MigrateOperation, MigrationClient, MigrationUpgradeClient } from '@hcengineering/model'
export const attachmentOperation: MigrateOperation = {
async migrate (client: MigrationClient): Promise<void> {},
+8 -8
View File
@@ -13,14 +13,14 @@
// limitations under the License.
//
import type { TxViewlet } from '@anticrm/activity'
import { attachmentId } from '@anticrm/attachment'
import attachment from '@anticrm/attachment-resources/src/plugin'
import type { Ref } from '@anticrm/core'
import type { IntlString } from '@anticrm/platform'
import { mergeIds } from '@anticrm/platform'
import type { AnyComponent } from '@anticrm/ui'
import type { ActionCategory } from '@anticrm/view'
import type { TxViewlet } from '@hcengineering/activity'
import { attachmentId } from '@hcengineering/attachment'
import attachment from '@hcengineering/attachment-resources/src/plugin'
import type { Ref } from '@hcengineering/core'
import type { IntlString } from '@hcengineering/platform'
import { mergeIds } from '@hcengineering/platform'
import type { AnyComponent } from '@hcengineering/ui'
import type { ActionCategory } from '@hcengineering/view'
export default mergeIds(attachmentId, attachment, {
component: {
+1 -1
View File
@@ -1,5 +1,5 @@
{
"extends": "./node_modules/@anticrm/model-rig/profiles/default/tsconfig.json",
"extends": "./node_modules/@hcengineering/model-rig/profiles/default/tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
+1 -1
View File
@@ -1,5 +1,5 @@
module.exports = {
extends: ['./node_modules/@anticrm/model-rig/profiles/default/config/eslint.config.json'],
extends: ['./node_modules/@hcengineering/model-rig/profiles/default/config/eslint.config.json'],
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.json'
+1 -1
View File
@@ -7,7 +7,7 @@
* (Required) The name of the rig package to inherit from.
* It should be an NPM package name with the "-rig" suffix.
*/
"rigPackageName": "@anticrm/model-rig"
"rigPackageName": "@hcengineering/model-rig"
/**
* (Optional) Selects a config profile from the rig package. The name must consist of
+10 -10
View File
@@ -1,5 +1,5 @@
{
"name": "@anticrm/model-automation",
"name": "@hcengineering/model-automation",
"version": "0.6.0",
"main": "lib/index.js",
"author": "Anticrm Platform Contributors",
@@ -12,7 +12,7 @@
"format": "prettier --write src && eslint --fix src"
},
"devDependencies": {
"@anticrm/model-rig": "~0.6.0",
"@hcengineering/model-rig": "~0.6.0",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-promise": "^6.0.0",
@@ -25,13 +25,13 @@
"@rushstack/heft": "^0.46.1"
},
"dependencies": {
"@anticrm/core": "~0.6.16",
"@anticrm/automation": "~0.6.0",
"@anticrm/model": "~0.6.0",
"@anticrm/model-core": "~0.6.0",
"@anticrm/view": "~0.6.0",
"@anticrm/setting": "~0.6.1",
"@anticrm/platform": "~0.6.6",
"@anticrm/automation-resources": "~0.6.0"
"@hcengineering/core": "^0.6.17",
"@hcengineering/automation": "~0.6.0",
"@hcengineering/model": "~0.6.0",
"@hcengineering/model-core": "~0.6.0",
"@hcengineering/view": "^0.6.1",
"@hcengineering/setting": "~0.6.1",
"@hcengineering/platform": "^0.6.7",
"@hcengineering/automation-resources": "~0.6.0"
}
}
+5 -5
View File
@@ -22,11 +22,11 @@ import automation, {
AutomationTriggerSupport,
Command,
TriggerType
} from '@anticrm/automation'
import { Class, Doc, Domain, Ref } from '@anticrm/core'
import { Builder, Mixin, Model, Prop, TypeString, UX } from '@anticrm/model'
import core, { TAttachedDoc, TClass } from '@anticrm/model-core'
import view from '@anticrm/view'
} from '@hcengineering/automation'
import { Class, Doc, Domain, Ref } from '@hcengineering/core'
import { Builder, Mixin, Model, Prop, TypeString, UX } from '@hcengineering/model'
import core, { TAttachedDoc, TClass } from '@hcengineering/model-core'
import view from '@hcengineering/view'
export const DOMAIN_AUTOMATION = 'automation' as Domain

Some files were not shown because too many files have changed in this diff Show More