mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-22 19:11:33 +03:00
Bump tags version and migrations other fix (#1687)
This commit is contained in:
parent
134e0a7926
commit
50ad39d037
@ -112,7 +112,7 @@
|
|||||||
"@anticrm/core": "~0.6.16",
|
"@anticrm/core": "~0.6.16",
|
||||||
"@anticrm/rekoni": "~0.6.0",
|
"@anticrm/rekoni": "~0.6.0",
|
||||||
"@anticrm/tags-assets": "~0.6.0",
|
"@anticrm/tags-assets": "~0.6.0",
|
||||||
"@anticrm/tags": "~0.6.1",
|
"@anticrm/tags": "~0.6.2",
|
||||||
"@anticrm/tags-resources": "~0.6.0",
|
"@anticrm/tags-resources": "~0.6.0",
|
||||||
"@anticrm/server-chunter": "~0.6.0",
|
"@anticrm/server-chunter": "~0.6.0",
|
||||||
"@anticrm/server-chunter-resources": "~0.6.0",
|
"@anticrm/server-chunter-resources": "~0.6.0",
|
||||||
|
@ -103,6 +103,6 @@
|
|||||||
"@anticrm/server-telegram-resources": "~0.6.0",
|
"@anticrm/server-telegram-resources": "~0.6.0",
|
||||||
"@anticrm/rekoni": "~0.6.0",
|
"@anticrm/rekoni": "~0.6.0",
|
||||||
"request": "~2.88.2",
|
"request": "~2.88.2",
|
||||||
"@anticrm/tags": "~0.6.1"
|
"@anticrm/tags": "~0.6.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -30,6 +30,6 @@
|
|||||||
"@anticrm/platform": "~0.6.6",
|
"@anticrm/platform": "~0.6.6",
|
||||||
"@anticrm/server-tags": "~0.6.0",
|
"@anticrm/server-tags": "~0.6.0",
|
||||||
"@anticrm/server-core": "~0.6.1",
|
"@anticrm/server-core": "~0.6.1",
|
||||||
"@anticrm/tags": "~0.6.1"
|
"@anticrm/tags": "~0.6.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
"@anticrm/model": "~0.6.0",
|
"@anticrm/model": "~0.6.0",
|
||||||
"@anticrm/core": "~0.6.16",
|
"@anticrm/core": "~0.6.16",
|
||||||
"@anticrm/platform": "~0.6.6",
|
"@anticrm/platform": "~0.6.6",
|
||||||
"@anticrm/tags": "~0.6.1",
|
"@anticrm/tags": "~0.6.2",
|
||||||
"@anticrm/tags-resources": "~0.6.0",
|
"@anticrm/tags-resources": "~0.6.0",
|
||||||
"@anticrm/ui": "~0.6.0",
|
"@anticrm/ui": "~0.6.0",
|
||||||
"@anticrm/model-core": "~0.6.0",
|
"@anticrm/model-core": "~0.6.0",
|
||||||
|
@ -1,9 +1,21 @@
|
|||||||
import core, { TxOperations } from '@anticrm/core'
|
import core, { TxOperations } from '@anticrm/core'
|
||||||
import { MigrateOperation, MigrationClient, MigrationUpgradeClient } from '@anticrm/model'
|
import { MigrateOperation, MigrationClient, MigrationUpgradeClient } from '@anticrm/model'
|
||||||
|
import { DOMAIN_TAGS } from './index'
|
||||||
import tags from './plugin'
|
import tags from './plugin'
|
||||||
|
|
||||||
export const tagsOperation: MigrateOperation = {
|
export const tagsOperation: MigrateOperation = {
|
||||||
async migrate (client: MigrationClient): Promise<void> {},
|
async migrate (client: MigrationClient): Promise<void> {
|
||||||
|
await client.update(
|
||||||
|
DOMAIN_TAGS,
|
||||||
|
{
|
||||||
|
_class: tags.class.TagElement,
|
||||||
|
category: 'tags:category:Other'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
category: 'recruit:category:Other'
|
||||||
|
}
|
||||||
|
)
|
||||||
|
},
|
||||||
async upgrade (client: MigrationUpgradeClient): Promise<void> {
|
async upgrade (client: MigrationUpgradeClient): Promise<void> {
|
||||||
const tx = new TxOperations(client, core.account.System)
|
const tx = new TxOperations(client, core.account.System)
|
||||||
const current = await tx.findOne(core.class.Space, {
|
const current = await tx.findOne(core.class.Space, {
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
"@anticrm/contact-resources": "~0.6.0",
|
"@anticrm/contact-resources": "~0.6.0",
|
||||||
"@anticrm/rekoni": "~0.6.0",
|
"@anticrm/rekoni": "~0.6.0",
|
||||||
"@anticrm/notification": "~0.6.0",
|
"@anticrm/notification": "~0.6.0",
|
||||||
"@anticrm/tags": "~0.6.1",
|
"@anticrm/tags": "~0.6.2",
|
||||||
"@anticrm/calendar": "~0.6.0"
|
"@anticrm/calendar": "~0.6.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -30,6 +30,6 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@anticrm/platform": "~0.6.6",
|
"@anticrm/platform": "~0.6.6",
|
||||||
"@anticrm/tags": "~0.6.1"
|
"@anticrm/tags": "~0.6.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@anticrm/platform": "~0.6.6",
|
"@anticrm/platform": "~0.6.6",
|
||||||
"svelte": "^3.47",
|
"svelte": "^3.47",
|
||||||
"@anticrm/tags": "~0.6.1",
|
"@anticrm/tags": "~0.6.2",
|
||||||
"@anticrm/ui": "~0.6.0",
|
"@anticrm/ui": "~0.6.0",
|
||||||
"@anticrm/presentation": "~0.6.2",
|
"@anticrm/presentation": "~0.6.2",
|
||||||
"@anticrm/core": "~0.6.16",
|
"@anticrm/core": "~0.6.16",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@anticrm/tags",
|
"name": "@anticrm/tags",
|
||||||
"version": "0.6.1",
|
"version": "0.6.2",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"author": "Anticrm Platform Contributors",
|
"author": "Anticrm Platform Contributors",
|
||||||
"license": "EPL-2.0",
|
"license": "EPL-2.0",
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
"@anticrm/chunter-resources": "~0.6.0",
|
"@anticrm/chunter-resources": "~0.6.0",
|
||||||
"@anticrm/workbench": "~0.6.1",
|
"@anticrm/workbench": "~0.6.1",
|
||||||
"@anticrm/notification": "~0.6.0",
|
"@anticrm/notification": "~0.6.0",
|
||||||
"@anticrm/tags": "~0.6.1",
|
"@anticrm/tags": "~0.6.2",
|
||||||
"@anticrm/kanban": "~0.6.0"
|
"@anticrm/kanban": "~0.6.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -29,6 +29,6 @@
|
|||||||
"@anticrm/core": "~0.6.16",
|
"@anticrm/core": "~0.6.16",
|
||||||
"@anticrm/platform": "~0.6.6",
|
"@anticrm/platform": "~0.6.6",
|
||||||
"@anticrm/server-core": "~0.6.1",
|
"@anticrm/server-core": "~0.6.1",
|
||||||
"@anticrm/tags": "~0.6.1"
|
"@anticrm/tags": "~0.6.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user