add more packages to compile workbench

Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
Andrey Platov
2021-08-06 12:18:50 +02:00
parent c3737b1f0f
commit ad325a1d07
31 changed files with 894 additions and 15 deletions
@@ -16,12 +16,12 @@
<script lang="ts">
import { getResource } from '@anticrm/platform'
import type { Connection } from '@anticrm/client'
import type { Client } from '@anticrm/core'
import client from '@anticrm/client'
import Workbench from './Workbench.svelte'
async function connect(): Promise<Connection> {
async function connect(): Promise<Client> {
const getClient = await getResource(client.function.GetClient)
return getClient()
}
+2 -2
View File
@@ -16,9 +16,9 @@
import type { Ref, Obj, Class, WithLookup } from '@anticrm/core'
import type { Asset, IntlString } from '@anticrm/platform'
import type { Connection } from '@anticrm/client'
import type { Client } from '@anticrm/core'
export function classIcon(client: Connection, _class: Ref<Class<Obj>>): Asset | undefined {
export function classIcon(client: Client, _class: Ref<Class<Obj>>): Asset | undefined {
return client.getHierarchy().getClass(_class).icon
}