mirror of
https://github.com/hcengineering/platform.git
synced 2025-03-14 18:15:01 +00:00
Minor import fixes (#8017)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
9072b4cbba
commit
207e60a76e
@ -16,7 +16,7 @@ import { activityId, type ActivityMessage, type DocUpdateMessageViewlet } from '
|
|||||||
import activity from '@hcengineering/activity-resources/src/plugin'
|
import activity from '@hcengineering/activity-resources/src/plugin'
|
||||||
import { type IntlString, mergeIds, type Resource } from '@hcengineering/platform'
|
import { type IntlString, mergeIds, type Resource } from '@hcengineering/platform'
|
||||||
import { type Doc, type Ref } from '@hcengineering/core'
|
import { type Doc, type Ref } from '@hcengineering/core'
|
||||||
import type { Location } from '@hcengineering/ui'
|
import type { Location } from '@hcengineering/ui/src/types'
|
||||||
import {
|
import {
|
||||||
type Action,
|
type Action,
|
||||||
type ActionCategory,
|
type ActionCategory,
|
||||||
|
@ -43,7 +43,7 @@ import view, { createAction } from '@hcengineering/model-view'
|
|||||||
import workbench from '@hcengineering/model-workbench'
|
import workbench from '@hcengineering/model-workbench'
|
||||||
import { getEmbeddedLabel, type IntlString } from '@hcengineering/platform'
|
import { getEmbeddedLabel, type IntlString } from '@hcengineering/platform'
|
||||||
import time, { type ToDo } from '@hcengineering/time'
|
import time, { type ToDo } from '@hcengineering/time'
|
||||||
import { type AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
import card from './plugin'
|
import card from './plugin'
|
||||||
|
|
||||||
export { cardId } from '@hcengineering/card'
|
export { cardId } from '@hcengineering/card'
|
||||||
|
@ -19,7 +19,7 @@ import type { Client, Doc, Ref } from '@hcengineering/core'
|
|||||||
import {} from '@hcengineering/core'
|
import {} from '@hcengineering/core'
|
||||||
import { mergeIds, type Resource } from '@hcengineering/platform'
|
import { mergeIds, type Resource } from '@hcengineering/platform'
|
||||||
import { type ObjectSearchCategory, type ObjectSearchFactory } from '@hcengineering/model-presentation'
|
import { type ObjectSearchCategory, type ObjectSearchFactory } from '@hcengineering/model-presentation'
|
||||||
import { type Location, type ResolvedLocation } from '@hcengineering/ui'
|
import { type Location, type ResolvedLocation } from '@hcengineering/ui/src/types'
|
||||||
import { type LocationData } from '@hcengineering/workbench'
|
import { type LocationData } from '@hcengineering/workbench'
|
||||||
import { type Action, type ViewAction } from '@hcengineering/view'
|
import { type Action, type ViewAction } from '@hcengineering/view'
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ import type { IntlString, Resource } from '@hcengineering/platform'
|
|||||||
import type { DocNotifyContext } from '@hcengineering/notification'
|
import type { DocNotifyContext } from '@hcengineering/notification'
|
||||||
|
|
||||||
import chunter from './plugin'
|
import chunter from './plugin'
|
||||||
import type { AnyComponent } from '@hcengineering/ui'
|
import type { AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
|
|
||||||
export const DOMAIN_CHUNTER = 'chunter' as Domain
|
export const DOMAIN_CHUNTER = 'chunter' as Domain
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ import type { Client, Doc, Ref } from '@hcengineering/core'
|
|||||||
import { type ObjectSearchCategory, type ObjectSearchFactory } from '@hcengineering/model-presentation'
|
import { type ObjectSearchCategory, type ObjectSearchFactory } from '@hcengineering/model-presentation'
|
||||||
import { mergeIds, type Resource } from '@hcengineering/platform'
|
import { mergeIds, type Resource } from '@hcengineering/platform'
|
||||||
import { type TagCategory } from '@hcengineering/tags'
|
import { type TagCategory } from '@hcengineering/tags'
|
||||||
import { type AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
import { type ActionCategory, type ViewAction } from '@hcengineering/view'
|
import { type ActionCategory, type ViewAction } from '@hcengineering/view'
|
||||||
import { type NotificationType, type NotificationGroup } from '@hcengineering/notification'
|
import { type NotificationType, type NotificationGroup } from '@hcengineering/notification'
|
||||||
import { type TextActionVisibleFunction, type TextActionFunction } from '@hcengineering/text-editor'
|
import { type TextActionVisibleFunction, type TextActionFunction } from '@hcengineering/text-editor'
|
||||||
|
@ -20,7 +20,7 @@ import document from '@hcengineering/document-resources/src/plugin'
|
|||||||
import { type ObjectSearchCategory, type ObjectSearchFactory } from '@hcengineering/model-presentation'
|
import { type ObjectSearchCategory, type ObjectSearchFactory } from '@hcengineering/model-presentation'
|
||||||
import { type IntlString, mergeIds, type Resource } from '@hcengineering/platform'
|
import { type IntlString, mergeIds, type Resource } from '@hcengineering/platform'
|
||||||
import { type TagCategory } from '@hcengineering/tags'
|
import { type TagCategory } from '@hcengineering/tags'
|
||||||
import { type AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
import type { Action, ActionCategory, ViewAction, Viewlet } from '@hcengineering/view'
|
import type { Action, ActionCategory, ViewAction, Viewlet } from '@hcengineering/view'
|
||||||
|
|
||||||
export default mergeIds(documentId, document, {
|
export default mergeIds(documentId, document, {
|
||||||
|
@ -19,7 +19,7 @@ import { driveId } from '@hcengineering/drive'
|
|||||||
import drive from '@hcengineering/drive-resources/src/plugin'
|
import drive from '@hcengineering/drive-resources/src/plugin'
|
||||||
import { type ObjectSearchCategory, type ObjectSearchFactory } from '@hcengineering/model-presentation'
|
import { type ObjectSearchCategory, type ObjectSearchFactory } from '@hcengineering/model-presentation'
|
||||||
import { type IntlString, type Resource, mergeIds } from '@hcengineering/platform'
|
import { type IntlString, type Resource, mergeIds } from '@hcengineering/platform'
|
||||||
import { type AnyComponent, type Location } from '@hcengineering/ui'
|
import { type AnyComponent, type Location } from '@hcengineering/ui/src/types'
|
||||||
import {
|
import {
|
||||||
type Action,
|
type Action,
|
||||||
type ActionCategory,
|
type ActionCategory,
|
||||||
|
@ -9,7 +9,7 @@ import {
|
|||||||
import { type PublicLink, type Restrictions, guestAccountEmail } from '@hcengineering/guest'
|
import { type PublicLink, type Restrictions, guestAccountEmail } from '@hcengineering/guest'
|
||||||
import { type Builder, Model } from '@hcengineering/model'
|
import { type Builder, Model } from '@hcengineering/model'
|
||||||
import core, { TDoc } from '@hcengineering/model-core'
|
import core, { TDoc } from '@hcengineering/model-core'
|
||||||
import { type Location } from '@hcengineering/ui'
|
import { type Location } from '@hcengineering/ui/src/types'
|
||||||
import guest from './plugin'
|
import guest from './plugin'
|
||||||
|
|
||||||
export const GUEST_DOMAIN = 'guest' as Domain
|
export const GUEST_DOMAIN = 'guest' as Domain
|
||||||
|
@ -2,7 +2,7 @@ import { type Account, type Doc, type Ref } from '@hcengineering/core'
|
|||||||
import { guestId } from '@hcengineering/guest'
|
import { guestId } from '@hcengineering/guest'
|
||||||
import guest from '@hcengineering/guest-resources/src/plugin'
|
import guest from '@hcengineering/guest-resources/src/plugin'
|
||||||
import { mergeIds } from '@hcengineering/platform'
|
import { mergeIds } from '@hcengineering/platform'
|
||||||
import { type AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
import { type Action, type ActionCategory } from '@hcengineering/view'
|
import { type Action, type ActionCategory } from '@hcengineering/view'
|
||||||
|
|
||||||
export default mergeIds(guestId, guest, {
|
export default mergeIds(guestId, guest, {
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
import { type Client, type Doc, type Ref } from '@hcengineering/core'
|
import { type Client, type Doc, type Ref } from '@hcengineering/core'
|
||||||
import { type NotificationType, type NotificationGroup } from '@hcengineering/notification'
|
import { type NotificationType, type NotificationGroup } from '@hcengineering/notification'
|
||||||
import { type Resource, mergeIds } from '@hcengineering/platform'
|
import { type Resource, mergeIds } from '@hcengineering/platform'
|
||||||
import { type AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
import { type ActionCategory, type ViewAction } from '@hcengineering/view'
|
import { type ActionCategory, type ViewAction } from '@hcengineering/view'
|
||||||
import { loveId } from '@hcengineering/love'
|
import { loveId } from '@hcengineering/love'
|
||||||
import love from '@hcengineering/love-resources/src/plugin'
|
import love from '@hcengineering/love-resources/src/plugin'
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
import { mergeIds } from '@hcengineering/platform'
|
import { mergeIds } from '@hcengineering/platform'
|
||||||
import { type AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
import { presenceId } from '@hcengineering/presence'
|
import { presenceId } from '@hcengineering/presence'
|
||||||
import presence from '@hcengineering/presence-resources/src/plugin'
|
import presence from '@hcengineering/presence-resources/src/plugin'
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
import { type Doc, type Ref } from '@hcengineering/core'
|
import { type Doc, type Ref } from '@hcengineering/core'
|
||||||
import { mergeIds } from '@hcengineering/platform'
|
import { mergeIds } from '@hcengineering/platform'
|
||||||
import { type ViewAction, type Action } from '@hcengineering/view'
|
import { type ViewAction, type Action } from '@hcengineering/view'
|
||||||
import { type FilePreviewExtension } from '@hcengineering/presentation'
|
import { type FilePreviewExtension } from '@hcengineering/presentation/src/types'
|
||||||
import { printId } from '@hcengineering/print'
|
import { printId } from '@hcengineering/print'
|
||||||
// This import is needed because of similar import in print plugin
|
// This import is needed because of similar import in print plugin
|
||||||
// Otherwise, TS complains about missing types for resulting merge
|
// Otherwise, TS complains about missing types for resulting merge
|
||||||
|
@ -76,8 +76,8 @@ import {
|
|||||||
type TaskTypeDescriptor,
|
type TaskTypeDescriptor,
|
||||||
type TaskTypeKind
|
type TaskTypeKind
|
||||||
} from '@hcengineering/task'
|
} from '@hcengineering/task'
|
||||||
import type { AnyComponent } from '@hcengineering/ui'
|
|
||||||
import { PaletteColorIndexes } from '@hcengineering/ui/src/colors'
|
import { PaletteColorIndexes } from '@hcengineering/ui/src/colors'
|
||||||
|
import type { AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
|
|
||||||
import task from './plugin'
|
import task from './plugin'
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ import {
|
|||||||
type TextEditorActionKind
|
type TextEditorActionKind
|
||||||
} from '@hcengineering/text-editor'
|
} from '@hcengineering/text-editor'
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
import type { EditorKitOptions } from '@hcengineering/text-editor-resources'
|
import type { EditorKitOptions } from '@hcengineering/text-editor-resources/src/kits/editor-kit'
|
||||||
import textEditor from './plugin'
|
import textEditor from './plugin'
|
||||||
|
|
||||||
export { textEditorOperation } from './migration'
|
export { textEditorOperation } from './migration'
|
||||||
|
@ -53,7 +53,7 @@ import workbench from '@hcengineering/model-workbench'
|
|||||||
import notification from '@hcengineering/notification'
|
import notification from '@hcengineering/notification'
|
||||||
import recruit from '@hcengineering/recruit'
|
import recruit from '@hcengineering/recruit'
|
||||||
import tags from '@hcengineering/tags'
|
import tags from '@hcengineering/tags'
|
||||||
import { type AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
import {
|
import {
|
||||||
type TodoDoneTester,
|
type TodoDoneTester,
|
||||||
timeId,
|
timeId,
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
import { type Client, type Doc, type Ref } from '@hcengineering/core'
|
import { type Client, type Doc, type Ref } from '@hcengineering/core'
|
||||||
import { type Application } from '@hcengineering/model-workbench'
|
import { type Application } from '@hcengineering/model-workbench'
|
||||||
import { type IntlString, mergeIds, type Resource } from '@hcengineering/platform'
|
import { type IntlString, mergeIds, type Resource } from '@hcengineering/platform'
|
||||||
import type { AnyComponent } from '@hcengineering/ui'
|
import type { AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
import { type Action, type ActionCategory } from '@hcengineering/view'
|
import { type Action, type ActionCategory } from '@hcengineering/view'
|
||||||
import { timeId } from '@hcengineering/time'
|
import { timeId } from '@hcengineering/time'
|
||||||
import time from '@hcengineering/time-resources/src/plugin'
|
import time from '@hcengineering/time-resources/src/plugin'
|
||||||
|
@ -18,7 +18,7 @@ import { trainingId } from '@hcengineering/training'
|
|||||||
import training from '@hcengineering/training-resources/src/plugin'
|
import training from '@hcengineering/training-resources/src/plugin'
|
||||||
import { mergeIds, type Resource } from '@hcengineering/platform'
|
import { mergeIds, type Resource } from '@hcengineering/platform'
|
||||||
import { type Doc, type Ref } from '@hcengineering/core'
|
import { type Doc, type Ref } from '@hcengineering/core'
|
||||||
import { type Location, type ResolvedLocation } from '@hcengineering/ui'
|
import { type Location, type ResolvedLocation } from '@hcengineering/ui/src/types'
|
||||||
import { type Application } from '@hcengineering/workbench'
|
import { type Application } from '@hcengineering/workbench'
|
||||||
import { type ActionCategory } from '@hcengineering/view'
|
import { type ActionCategory } from '@hcengineering/view'
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
import { mergeIds } from '@hcengineering/platform'
|
import { mergeIds } from '@hcengineering/platform'
|
||||||
import { type AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
import { uploaderId } from '@hcengineering/uploader'
|
import { uploaderId } from '@hcengineering/uploader'
|
||||||
import uploader from '@hcengineering/uploader-resources/src/plugin'
|
import uploader from '@hcengineering/uploader-resources/src/plugin'
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
import { type Class, type Data, type Doc, type Ref } from '@hcengineering/core'
|
import { type Class, type Data, type Doc, type Ref } from '@hcengineering/core'
|
||||||
import { type Builder } from '@hcengineering/model'
|
import { type Builder } from '@hcengineering/model'
|
||||||
import core from '@hcengineering/model-core'
|
import core from '@hcengineering/model-core'
|
||||||
import { type AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
import { type Action, type AttributeCategory } from '@hcengineering/view'
|
import { type Action, type AttributeCategory } from '@hcengineering/view'
|
||||||
import view from '.'
|
import view from '.'
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ import type {
|
|||||||
SidebarEvent,
|
SidebarEvent,
|
||||||
WorkbenchTab
|
WorkbenchTab
|
||||||
} from '@hcengineering/workbench'
|
} from '@hcengineering/workbench'
|
||||||
import { type AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
import core, { TClass, TDoc, TTx } from '@hcengineering/model-core'
|
import core, { TClass, TDoc, TTx } from '@hcengineering/model-core'
|
||||||
import presentation from '@hcengineering/model-presentation'
|
import presentation from '@hcengineering/model-presentation'
|
||||||
|
|
||||||
|
@ -16,6 +16,8 @@
|
|||||||
"dom"
|
"dom"
|
||||||
],
|
],
|
||||||
"types": ["node", "jest"],
|
"types": ["node", "jest"],
|
||||||
"incremental": true
|
"incremental": true,
|
||||||
|
"isolatedModules": true,
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -17,6 +17,7 @@
|
|||||||
"rootDir": "./src",
|
"rootDir": "./src",
|
||||||
"outDir": "./lib",
|
"outDir": "./lib",
|
||||||
"incremental": true,
|
"incremental": true,
|
||||||
"isolatedModules": true
|
"isolatedModules": true,
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -13,6 +13,7 @@
|
|||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"incremental": true,
|
"incremental": true,
|
||||||
"types" : [],
|
"types" : [],
|
||||||
"isolatedModules": true
|
"isolatedModules": true,
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -15,6 +15,7 @@
|
|||||||
"rootDir": "./src",
|
"rootDir": "./src",
|
||||||
"outDir": "./lib",
|
"outDir": "./lib",
|
||||||
"incremental": true,
|
"incremental": true,
|
||||||
"isolatedModules": true
|
"isolatedModules": true,
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
"rootDir": "./src",
|
"rootDir": "./src",
|
||||||
"outDir": "./lib",
|
"outDir": "./lib",
|
||||||
"incremental": true,
|
"incremental": true,
|
||||||
"isolatedModules": true
|
"isolatedModules": true,
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -18,6 +18,7 @@
|
|||||||
],
|
],
|
||||||
"incremental": true,
|
"incremental": true,
|
||||||
"types": ["jest"],
|
"types": ["jest"],
|
||||||
"isolatedModules": true
|
"isolatedModules": true,
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -11,7 +11,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
import { type AnyComponent, type AnySvelteComponent } from '@hcengineering/ui'
|
import { type AnyComponent, type AnySvelteComponent } from '@hcengineering/ui/src/types'
|
||||||
|
|
||||||
interface BreadcrumbsProps {
|
interface BreadcrumbsProps {
|
||||||
readonly color?: number | undefined
|
readonly color?: number | undefined
|
||||||
|
@ -32,7 +32,7 @@ import {
|
|||||||
} from '@hcengineering/core'
|
} from '@hcengineering/core'
|
||||||
import type { Asset, IntlString, Metadata, Plugin, StatusCode } from '@hcengineering/platform'
|
import type { Asset, IntlString, Metadata, Plugin, StatusCode } from '@hcengineering/platform'
|
||||||
import { plugin } from '@hcengineering/platform'
|
import { plugin } from '@hcengineering/platform'
|
||||||
import { type ComponentExtensionId } from '@hcengineering/ui'
|
import { type ComponentExtensionId } from '@hcengineering/ui/src/types'
|
||||||
import { type PresentationMiddlewareFactory } from './pipeline'
|
import { type PresentationMiddlewareFactory } from './pipeline'
|
||||||
import type { PreviewConfig } from './preview'
|
import type { PreviewConfig } from './preview'
|
||||||
import {
|
import {
|
||||||
|
@ -13,7 +13,7 @@ import {
|
|||||||
type TxOperations
|
type TxOperations
|
||||||
} from '@hcengineering/core'
|
} from '@hcengineering/core'
|
||||||
import { type Asset, type IntlString, type Resource } from '@hcengineering/platform'
|
import { type Asset, type IntlString, type Resource } from '@hcengineering/platform'
|
||||||
import { type AnyComponent, type AnySvelteComponent, type ComponentExtensionId } from '@hcengineering/ui'
|
import { type AnyComponent, type AnySvelteComponent, type ComponentExtensionId } from '@hcengineering/ui/src/types'
|
||||||
|
|
||||||
export * from './components/breadcrumbs/types'
|
export * from './components/breadcrumbs/types'
|
||||||
|
|
||||||
|
@ -18,15 +18,15 @@
|
|||||||
import { Asset, IntlString, setPlatformStatus, unknownError } from '@hcengineering/platform'
|
import { Asset, IntlString, setPlatformStatus, unknownError } from '@hcengineering/platform'
|
||||||
import {
|
import {
|
||||||
DraftController,
|
DraftController,
|
||||||
|
canDisplayLinkPreview,
|
||||||
createQuery,
|
createQuery,
|
||||||
deleteFile,
|
deleteFile,
|
||||||
draftsStore,
|
draftsStore,
|
||||||
|
fetchLinkPreviewDetails,
|
||||||
getClient,
|
getClient,
|
||||||
getFileMetadata,
|
getFileMetadata,
|
||||||
uploadFile,
|
isLinkPreviewEnabled,
|
||||||
fetchLinkPreviewDetails,
|
uploadFile
|
||||||
canDisplayLinkPreview,
|
|
||||||
isLinkPreviewEnabled
|
|
||||||
} from '@hcengineering/presentation'
|
} from '@hcengineering/presentation'
|
||||||
import { EmptyMarkup } from '@hcengineering/text'
|
import { EmptyMarkup } from '@hcengineering/text'
|
||||||
import textEditor, { type RefAction } from '@hcengineering/text-editor'
|
import textEditor, { type RefAction } from '@hcengineering/text-editor'
|
||||||
@ -35,7 +35,6 @@
|
|||||||
import { createEventDispatcher, onDestroy, tick } from 'svelte'
|
import { createEventDispatcher, onDestroy, tick } from 'svelte'
|
||||||
import attachment from '../plugin'
|
import attachment from '../plugin'
|
||||||
import AttachmentPresenter from './AttachmentPresenter.svelte'
|
import AttachmentPresenter from './AttachmentPresenter.svelte'
|
||||||
import { rmSync } from 'fs'
|
|
||||||
|
|
||||||
export let objectId: Ref<Doc>
|
export let objectId: Ref<Doc>
|
||||||
export let space: Ref<Space>
|
export let space: Ref<Space>
|
||||||
|
@ -18,7 +18,7 @@ import { type IntlString, mergeIds } from '@hcengineering/platform'
|
|||||||
import bitrix, { bitrixId } from '@hcengineering/bitrix'
|
import bitrix, { bitrixId } from '@hcengineering/bitrix'
|
||||||
import { type Ref } from '@hcengineering/core'
|
import { type Ref } from '@hcengineering/core'
|
||||||
import { type Handler, type IntegrationType } from '@hcengineering/setting'
|
import { type Handler, type IntegrationType } from '@hcengineering/setting'
|
||||||
import { type AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
|
|
||||||
export default mergeIds(bitrixId, bitrix, {
|
export default mergeIds(bitrixId, bitrix, {
|
||||||
string: {
|
string: {
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
import board, { boardId } from '@hcengineering/board'
|
import board, { boardId } from '@hcengineering/board'
|
||||||
import { type Ref, type StatusCategory } from '@hcengineering/core'
|
import { type Ref, type StatusCategory } from '@hcengineering/core'
|
||||||
import { type IntlString, mergeIds } from '@hcengineering/platform'
|
import { type IntlString, mergeIds } from '@hcengineering/platform'
|
||||||
import type { AnyComponent } from '@hcengineering/ui'
|
import type { AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
|
|
||||||
export default mergeIds(boardId, board, {
|
export default mergeIds(boardId, board, {
|
||||||
string: {
|
string: {
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
import card, { cardId } from '@hcengineering/card'
|
import card, { cardId } from '@hcengineering/card'
|
||||||
import { type Ref } from '@hcengineering/core'
|
import { type Ref } from '@hcengineering/core'
|
||||||
import { type IntlString, mergeIds } from '@hcengineering/platform'
|
import { type IntlString, mergeIds } from '@hcengineering/platform'
|
||||||
import { type AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
import { type Viewlet } from '@hcengineering/view'
|
import { type Viewlet } from '@hcengineering/view'
|
||||||
|
|
||||||
export default mergeIds(cardId, card, {
|
export default mergeIds(cardId, card, {
|
||||||
|
@ -17,7 +17,7 @@ import chunter, { chunterId } from '@hcengineering/chunter'
|
|||||||
import type { Client, Doc, Ref, Space } from '@hcengineering/core'
|
import type { Client, Doc, Ref, Space } from '@hcengineering/core'
|
||||||
import type { IntlString, Resource } from '@hcengineering/platform'
|
import type { IntlString, Resource } from '@hcengineering/platform'
|
||||||
import { mergeIds } from '@hcengineering/platform'
|
import { mergeIds } from '@hcengineering/platform'
|
||||||
import type { AnyComponent } from '@hcengineering/ui'
|
import type { AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
import { type ViewAction } from '@hcengineering/view'
|
import { type ViewAction } from '@hcengineering/view'
|
||||||
import { type DocNotifyContext, type InboxNotification } from '@hcengineering/notification'
|
import { type DocNotifyContext, type InboxNotification } from '@hcengineering/notification'
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
import contact, { contactId } from '@hcengineering/contact'
|
import contact, { contactId } from '@hcengineering/contact'
|
||||||
import { type Client, type Doc } from '@hcengineering/core'
|
import { type Client, type Doc } from '@hcengineering/core'
|
||||||
import { type IntlString, mergeIds, type Resource } from '@hcengineering/platform'
|
import { type IntlString, mergeIds, type Resource } from '@hcengineering/platform'
|
||||||
import { type LabelAndProps, type Location } from '@hcengineering/ui'
|
import { type LabelAndProps, type Location } from '@hcengineering/ui/src/types'
|
||||||
import {
|
import {
|
||||||
type CreateAggregationManagerFunc,
|
type CreateAggregationManagerFunc,
|
||||||
type GrouppingManagerResource,
|
type GrouppingManagerResource,
|
||||||
|
@ -20,7 +20,7 @@ import documents, {
|
|||||||
} from '@hcengineering/controlled-documents'
|
} from '@hcengineering/controlled-documents'
|
||||||
import { type Client, type Doc, type Ref, type Space } from '@hcengineering/core'
|
import { type Client, type Doc, type Ref, type Space } from '@hcengineering/core'
|
||||||
import { type IntlString, mergeIds, type Resource } from '@hcengineering/platform'
|
import { type IntlString, mergeIds, type Resource } from '@hcengineering/platform'
|
||||||
import { type AnyComponent, type Location } from '@hcengineering/ui'
|
import { type AnyComponent, type Location } from '@hcengineering/ui/src/types'
|
||||||
import type { KeyFilter, SortFunc, ViewActionAvailabilityFunction } from '@hcengineering/view'
|
import type { KeyFilter, SortFunc, ViewActionAvailabilityFunction } from '@hcengineering/view'
|
||||||
|
|
||||||
export default mergeIds(documentsId, documents, {
|
export default mergeIds(documentsId, documents, {
|
||||||
|
@ -12,7 +12,7 @@ import {
|
|||||||
} from '@hcengineering/core'
|
} from '@hcengineering/core'
|
||||||
import type { Asset, Plugin, Resource } from '@hcengineering/platform'
|
import type { Asset, Plugin, Resource } from '@hcengineering/platform'
|
||||||
import { IntlString, plugin } from '@hcengineering/platform'
|
import { IntlString, plugin } from '@hcengineering/platform'
|
||||||
import type { AnyComponent, ResolvedLocation, Location } from '@hcengineering/ui'
|
import type { AnyComponent, ResolvedLocation, Location } from '@hcengineering/ui/src/types'
|
||||||
import { Action } from '@hcengineering/view'
|
import { Action } from '@hcengineering/view'
|
||||||
|
|
||||||
import type {
|
import type {
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
import { type Client, type Doc, type Ref } from '@hcengineering/core'
|
import { type Client, type Doc, type Ref } from '@hcengineering/core'
|
||||||
import document, { type Document, documentId } from '@hcengineering/document'
|
import document, { type Document, documentId } from '@hcengineering/document'
|
||||||
import { mergeIds, type IntlString, type Resource } from '@hcengineering/platform'
|
import { mergeIds, type IntlString, type Resource } from '@hcengineering/platform'
|
||||||
import { type AnyComponent, type Location } from '@hcengineering/ui'
|
import { type AnyComponent, type Location } from '@hcengineering/ui/src/types'
|
||||||
|
|
||||||
export default mergeIds(documentId, document, {
|
export default mergeIds(documentId, document, {
|
||||||
component: {
|
component: {
|
||||||
|
@ -17,7 +17,7 @@ import type { Class, Doc, Mixin, Ref, SpaceType, SpaceTypeDescriptor } from '@hc
|
|||||||
import { NotificationGroup, NotificationType } from '@hcengineering/notification'
|
import { NotificationGroup, NotificationType } from '@hcengineering/notification'
|
||||||
import type { Asset, Plugin, Resource } from '@hcengineering/platform'
|
import type { Asset, Plugin, Resource } from '@hcengineering/platform'
|
||||||
import { IntlString, plugin } from '@hcengineering/platform'
|
import { IntlString, plugin } from '@hcengineering/platform'
|
||||||
import type { AnyComponent, Location, ResolvedLocation } from '@hcengineering/ui'
|
import type { AnyComponent, Location, ResolvedLocation } from '@hcengineering/ui/src/types'
|
||||||
import { Action } from '@hcengineering/view'
|
import { Action } from '@hcengineering/view'
|
||||||
import { Document, DocumentSnapshot, SavedDocument, Teamspace } from './types'
|
import { Document, DocumentSnapshot, SavedDocument, Teamspace } from './types'
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
import type { Class, Doc, Mixin, Ref, SpaceType, SpaceTypeDescriptor, Type } from '@hcengineering/core'
|
import type { Class, Doc, Mixin, Ref, SpaceType, SpaceTypeDescriptor, Type } from '@hcengineering/core'
|
||||||
import type { Asset, IntlString, Plugin, Resource as PlatformResource } from '@hcengineering/platform'
|
import type { Asset, IntlString, Plugin, Resource as PlatformResource } from '@hcengineering/platform'
|
||||||
import { plugin } from '@hcengineering/platform'
|
import { plugin } from '@hcengineering/platform'
|
||||||
import type { Location, ResolvedLocation } from '@hcengineering/ui'
|
import type { Location, ResolvedLocation } from '@hcengineering/ui/src/types'
|
||||||
import { Drive, File, FileVersion, Folder, Resource } from './types'
|
import { Drive, File, FileVersion, Folder, Resource } from './types'
|
||||||
|
|
||||||
export * from './types'
|
export * from './types'
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
import lead, { leadId } from '@hcengineering/lead'
|
import lead, { leadId } from '@hcengineering/lead'
|
||||||
import { type IntlString, mergeIds, type Resource } from '@hcengineering/platform'
|
import { type IntlString, mergeIds, type Resource } from '@hcengineering/platform'
|
||||||
import { type Client, type Doc, type Ref } from '@hcengineering/core'
|
import { type Client, type Doc, type Ref } from '@hcengineering/core'
|
||||||
import { type AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
|
|
||||||
export default mergeIds(leadId, lead, {
|
export default mergeIds(leadId, lead, {
|
||||||
string: {
|
string: {
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
|
|
||||||
import love, { loveId } from '@hcengineering/love'
|
import love, { loveId } from '@hcengineering/love'
|
||||||
import { mergeIds, type IntlString, type Resource } from '@hcengineering/platform'
|
import { mergeIds, type IntlString, type Resource } from '@hcengineering/platform'
|
||||||
import { type DocCreateFunction } from '@hcengineering/presentation'
|
import { type DocCreateFunction } from '@hcengineering/presentation/src/types'
|
||||||
import { type AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
import { type ViewActionAvailabilityFunction } from '@hcengineering/view'
|
import { type ViewActionAvailabilityFunction } from '@hcengineering/view'
|
||||||
|
|
||||||
export default mergeIds(loveId, love, {
|
export default mergeIds(loveId, love, {
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
import type { Metadata, Plugin } from '@hcengineering/platform'
|
import type { Metadata, Plugin } from '@hcengineering/platform'
|
||||||
import { plugin } from '@hcengineering/platform'
|
import { plugin } from '@hcengineering/platform'
|
||||||
import { AnyComponent } from '@hcengineering/ui'
|
import { AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
|
|
||||||
/** @public */
|
/** @public */
|
||||||
export const presenceId = 'presence' as Plugin
|
export const presenceId = 'presence' as Plugin
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
import { type Doc } from '@hcengineering/core'
|
import { type Doc } from '@hcengineering/core'
|
||||||
import { type IntlString, type Metadata, type Plugin, plugin, type Asset, type Resource } from '@hcengineering/platform'
|
import { type IntlString, type Metadata, type Plugin, plugin, type Asset, type Resource } from '@hcengineering/platform'
|
||||||
import { type AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
|
|
||||||
export const printId = 'print' as Plugin
|
export const printId = 'print' as Plugin
|
||||||
|
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
import products, { productsId } from '@hcengineering/products'
|
import products, { productsId } from '@hcengineering/products'
|
||||||
import { type Ref, type Space } from '@hcengineering/core'
|
import { type Ref, type Space } from '@hcengineering/core'
|
||||||
import { type IntlString, type Resource, mergeIds } from '@hcengineering/platform'
|
import { type IntlString, type Resource, mergeIds } from '@hcengineering/platform'
|
||||||
import { type ObjectSearchCategory, type ObjectSearchFactory } from '@hcengineering/presentation'
|
import { type ObjectSearchCategory, type ObjectSearchFactory } from '@hcengineering/presentation/src/types'
|
||||||
import { type AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
import { type KeyFilter } from '@hcengineering/view'
|
import { type KeyFilter } from '@hcengineering/view'
|
||||||
|
|
||||||
export default mergeIds(productsId, products, {
|
export default mergeIds(productsId, products, {
|
||||||
|
@ -17,7 +17,7 @@ import { Mixin, Type, type Class, type Doc, type Ref } from '@hcengineering/core
|
|||||||
import type { Asset, IntlString, Plugin } from '@hcengineering/platform'
|
import type { Asset, IntlString, Plugin } from '@hcengineering/platform'
|
||||||
|
|
||||||
import { plugin } from '@hcengineering/platform'
|
import { plugin } from '@hcengineering/platform'
|
||||||
import { type AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
import { ActionCategory, Viewlet } from '@hcengineering/view'
|
import { ActionCategory, Viewlet } from '@hcengineering/view'
|
||||||
import type { DocumentSpaceType, DocumentSpaceTypeDescriptor } from '@hcengineering/controlled-documents'
|
import type { DocumentSpaceType, DocumentSpaceTypeDescriptor } from '@hcengineering/controlled-documents'
|
||||||
import { Product, ProductVersion, ProductVersionState } from './types'
|
import { Product, ProductVersion, ProductVersionState } from './types'
|
||||||
|
@ -74,7 +74,6 @@
|
|||||||
import recruit from '../plugin'
|
import recruit from '../plugin'
|
||||||
import { getCandidateIdentifier } from '../utils'
|
import { getCandidateIdentifier } from '../utils'
|
||||||
import YesNo from './YesNo.svelte'
|
import YesNo from './YesNo.svelte'
|
||||||
import IconSwitch from './icons/Switch.svelte'
|
|
||||||
import IconShuffle from './icons/Shuffle.svelte'
|
import IconShuffle from './icons/Shuffle.svelte'
|
||||||
|
|
||||||
export let shouldSaveDraft: boolean = true
|
export let shouldSaveDraft: boolean = true
|
||||||
|
@ -16,10 +16,10 @@
|
|||||||
import { type Client, type Doc, type Ref } from '@hcengineering/core'
|
import { type Client, type Doc, type Ref } from '@hcengineering/core'
|
||||||
import type { IntlString, Resource, StatusCode } from '@hcengineering/platform'
|
import type { IntlString, Resource, StatusCode } from '@hcengineering/platform'
|
||||||
import { mergeIds } from '@hcengineering/platform'
|
import { mergeIds } from '@hcengineering/platform'
|
||||||
import { type ObjectSearchCategory, type ObjectSearchFactory } from '@hcengineering/presentation'
|
import { type ObjectSearchCategory, type ObjectSearchFactory } from '@hcengineering/presentation/src/types'
|
||||||
import recruit, { recruitId } from '@hcengineering/recruit'
|
import recruit, { recruitId } from '@hcengineering/recruit'
|
||||||
import { type TagCategory } from '@hcengineering/tags'
|
import { type TagCategory } from '@hcengineering/tags'
|
||||||
import { type AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
import { type FilterFunction, type FilterMode, type Viewlet } from '@hcengineering/view'
|
import { type FilterFunction, type FilterMode, type Viewlet } from '@hcengineering/view'
|
||||||
|
|
||||||
export default mergeIds(recruitId, recruit, {
|
export default mergeIds(recruitId, recruit, {
|
||||||
|
@ -17,7 +17,7 @@ import { type Ref } from '@hcengineering/core'
|
|||||||
import type { IntlString } from '@hcengineering/platform'
|
import type { IntlString } from '@hcengineering/platform'
|
||||||
import { mergeIds } from '@hcengineering/platform'
|
import { mergeIds } from '@hcengineering/platform'
|
||||||
import setting, { settingId } from '@hcengineering/setting'
|
import setting, { settingId } from '@hcengineering/setting'
|
||||||
import { type AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
import { type Widget } from '@hcengineering/workbench'
|
import { type Widget } from '@hcengineering/workbench'
|
||||||
|
|
||||||
export default mergeIds(settingId, setting, {
|
export default mergeIds(settingId, setting, {
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
import type { Client, Doc, Ref } from '@hcengineering/core'
|
import type { Client, Doc, Ref } from '@hcengineering/core'
|
||||||
import { type Resource, mergeIds } from '@hcengineering/platform'
|
import { type Resource, mergeIds } from '@hcengineering/platform'
|
||||||
import survey, { surveyId } from '@hcengineering/survey'
|
import survey, { surveyId } from '@hcengineering/survey'
|
||||||
import type { Location, ResolvedLocation } from '@hcengineering/ui'
|
import type { Location, ResolvedLocation } from '@hcengineering/ui/src/types'
|
||||||
import type { Action, ActionCategory, ViewAction } from '@hcengineering/view'
|
import type { Action, ActionCategory, ViewAction } from '@hcengineering/view'
|
||||||
|
|
||||||
export default mergeIds(surveyId, survey, {
|
export default mergeIds(surveyId, survey, {
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
import { type IntlString, mergeIds, type Resource } from '@hcengineering/platform'
|
import { type IntlString, mergeIds, type Resource } from '@hcengineering/platform'
|
||||||
import tags, { tagsId } from '@hcengineering/tags'
|
import tags, { tagsId } from '@hcengineering/tags'
|
||||||
import { type AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
import { type FilterFunction } from '@hcengineering/view'
|
import { type FilterFunction } from '@hcengineering/view'
|
||||||
|
|
||||||
export default mergeIds(tagsId, tags, {
|
export default mergeIds(tagsId, tags, {
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
import { type IntlString, mergeIds } from '@hcengineering/platform'
|
import { type IntlString, mergeIds } from '@hcengineering/platform'
|
||||||
|
|
||||||
import telegram, { telegramId } from '@hcengineering/telegram'
|
import telegram, { telegramId } from '@hcengineering/telegram'
|
||||||
import { type AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
|
|
||||||
export default mergeIds(telegramId, telegram, {
|
export default mergeIds(telegramId, telegram, {
|
||||||
string: {
|
string: {
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
import { type IntlString, mergeIds } from '@hcengineering/platform'
|
import { type IntlString, mergeIds } from '@hcengineering/platform'
|
||||||
import { type AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
import templates, { templatesId } from '@hcengineering/templates'
|
import templates, { templatesId } from '@hcengineering/templates'
|
||||||
|
|
||||||
export default mergeIds(templatesId, templates, {
|
export default mergeIds(templatesId, templates, {
|
||||||
|
@ -14,9 +14,9 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
import type { Class, Doc, Markup, Ref, Space } from '@hcengineering/core'
|
import type { Class, Doc, Markup, Ref, Space } from '@hcengineering/core'
|
||||||
import type { IntlString, Plugin, Resource } from '@hcengineering/platform'
|
import type { IntlString, Plugin, Resource, Asset } from '@hcengineering/platform'
|
||||||
import { Asset, plugin } from '@hcengineering/platform'
|
import { plugin } from '@hcengineering/platform'
|
||||||
import { AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @public
|
* @public
|
||||||
|
@ -26,7 +26,7 @@ import {
|
|||||||
import type { Asset, IntlString, Plugin, Resource } from '@hcengineering/platform'
|
import type { Asset, IntlString, Plugin, Resource } from '@hcengineering/platform'
|
||||||
|
|
||||||
import { plugin } from '@hcengineering/platform'
|
import { plugin } from '@hcengineering/platform'
|
||||||
import { type AnyComponent, type Location, type ResolvedLocation } from '@hcengineering/ui'
|
import { type AnyComponent, type Location, type ResolvedLocation } from '@hcengineering/ui/src/types'
|
||||||
|
|
||||||
import { Action, ActionCategory, ViewAction, Viewlet } from '@hcengineering/view'
|
import { Action, ActionCategory, ViewAction, Viewlet } from '@hcengineering/view'
|
||||||
import {
|
import {
|
||||||
|
@ -15,10 +15,10 @@
|
|||||||
import { type StatusCategory, type Client, type Doc, type Ref, type Space } from '@hcengineering/core'
|
import { type StatusCategory, type Client, type Doc, type Ref, type Space } from '@hcengineering/core'
|
||||||
import type { Asset, IntlString, Metadata, Resource } from '@hcengineering/platform'
|
import type { Asset, IntlString, Metadata, Resource } from '@hcengineering/platform'
|
||||||
import { mergeIds } from '@hcengineering/platform'
|
import { mergeIds } from '@hcengineering/platform'
|
||||||
import type { ObjectSearchCategory, ObjectSearchFactory } from '@hcengineering/presentation'
|
import type { ObjectSearchCategory, ObjectSearchFactory } from '@hcengineering/presentation/src/types'
|
||||||
import { type ProjectType, type TaskType } from '@hcengineering/task'
|
import { type ProjectType, type TaskType } from '@hcengineering/task'
|
||||||
import tracker, { trackerId, type IssueDraft, type Issue } from '@hcengineering/tracker'
|
import tracker, { trackerId, type IssueDraft, type Issue } from '@hcengineering/tracker'
|
||||||
import { type AnyComponent, type Location } from '@hcengineering/ui'
|
import { type AnyComponent, type Location } from '@hcengineering/ui/src/types'
|
||||||
import {
|
import {
|
||||||
type CreateAggregationManagerFunc,
|
type CreateAggregationManagerFunc,
|
||||||
type GetAllValuesFunc,
|
type GetAllValuesFunc,
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
import { type IntlString, mergeIds } from '@hcengineering/platform'
|
import { type IntlString, mergeIds } from '@hcengineering/platform'
|
||||||
import { type AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
import uploader, { uploaderId } from '@hcengineering/uploader'
|
import uploader, { uploaderId } from '@hcengineering/uploader'
|
||||||
|
|
||||||
export default mergeIds(uploaderId, uploader, {
|
export default mergeIds(uploaderId, uploader, {
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
import type { IntlString, Plugin, Resource } from '@hcengineering/platform'
|
import type { IntlString, Plugin, Resource } from '@hcengineering/platform'
|
||||||
import { plugin } from '@hcengineering/platform'
|
import { plugin } from '@hcengineering/platform'
|
||||||
import type { AnyComponent } from '@hcengineering/ui'
|
import type { AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
|
|
||||||
import type { UploadFilesFn, UploadFilesPopupFn } from './types'
|
import type { UploadFilesFn, UploadFilesPopupFn } from './types'
|
||||||
|
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
import { type IntlString, type Resource, mergeIds } from '@hcengineering/platform'
|
import { type IntlString, type Resource, mergeIds } from '@hcengineering/platform'
|
||||||
import { type PresentationMiddlewareCreator } from '@hcengineering/presentation'
|
import { type PresentationMiddlewareCreator } from '@hcengineering/presentation/src/pipeline'
|
||||||
import { type AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
import view, { viewId } from '@hcengineering/view'
|
import view, { viewId } from '@hcengineering/view'
|
||||||
|
|
||||||
export default mergeIds(viewId, view, {
|
export default mergeIds(viewId, view, {
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
import { Class, Doc, DocumentQuery, FindOptions, Mixin, Ref } from '@hcengineering/core'
|
import { Class, Doc, DocumentQuery, FindOptions, Mixin, Ref } from '@hcengineering/core'
|
||||||
import { Asset, IntlString, Plugin, Resource, plugin } from '@hcengineering/platform'
|
import { Asset, IntlString, Plugin, Resource, plugin } from '@hcengineering/platform'
|
||||||
import { AnyComponent, PopupAlignment, PopupPosAlignment } from '@hcengineering/ui'
|
import { AnyComponent, PopupAlignment, PopupPosAlignment } from '@hcengineering/ui/src/types'
|
||||||
import {
|
import {
|
||||||
Action,
|
Action,
|
||||||
ActionCategory,
|
ActionCategory,
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
(it) => !hierarchy.isMixin(it)
|
(it) => !hierarchy.isMixin(it)
|
||||||
)
|
)
|
||||||
if (classes.length > 0) {
|
if (classes.length > 0) {
|
||||||
query.query(
|
query.query<Space>(
|
||||||
classes.length === 1 ? classes[0] : core.class.Space,
|
classes.length === 1 ? classes[0] : core.class.Space,
|
||||||
!adminUser
|
!adminUser
|
||||||
? {
|
? {
|
||||||
|
@ -17,7 +17,7 @@ import { mergeIds } from '@hcengineering/platform'
|
|||||||
import type { IntlString, Metadata } from '@hcengineering/platform'
|
import type { IntlString, Metadata } from '@hcengineering/platform'
|
||||||
|
|
||||||
import workbench, { workbenchId } from '@hcengineering/workbench'
|
import workbench, { workbenchId } from '@hcengineering/workbench'
|
||||||
import { type AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
|
|
||||||
export default mergeIds(workbenchId, workbench, {
|
export default mergeIds(workbenchId, workbench, {
|
||||||
string: {
|
string: {
|
||||||
|
@ -19,16 +19,15 @@ import core, { hasAccountRole } from '@hcengineering/core'
|
|||||||
import type { Workspace } from '@hcengineering/login'
|
import type { Workspace } from '@hcengineering/login'
|
||||||
import login, { loginId } from '@hcengineering/login'
|
import login, { loginId } from '@hcengineering/login'
|
||||||
import { getResource, setMetadata } from '@hcengineering/platform'
|
import { getResource, setMetadata } from '@hcengineering/platform'
|
||||||
import { closeClient, getClient } from '@hcengineering/presentation'
|
import presentation, { closeClient, getClient } from '@hcengineering/presentation'
|
||||||
import presentation from '@hcengineering/presentation/src/plugin'
|
|
||||||
import {
|
import {
|
||||||
closePanel,
|
closePanel,
|
||||||
fetchMetadataLocalStorage,
|
fetchMetadataLocalStorage,
|
||||||
getCurrentLocation,
|
getCurrentLocation,
|
||||||
type Location,
|
type Location,
|
||||||
|
location,
|
||||||
navigate,
|
navigate,
|
||||||
setMetadataLocalStorage,
|
setMetadataLocalStorage
|
||||||
location
|
|
||||||
} from '@hcengineering/ui'
|
} from '@hcengineering/ui'
|
||||||
import view from '@hcengineering/view'
|
import view from '@hcengineering/view'
|
||||||
import workbench, { type Application, type NavigatorModel } from '@hcengineering/workbench'
|
import workbench, { type Application, type NavigatorModel } from '@hcengineering/workbench'
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
* path segment in the "$schema" field for all your Rush config files. This will ensure
|
* path segment in the "$schema" field for all your Rush config files. This will ensure
|
||||||
* correct error-underlining and tab-completion for editors such as VS Code.
|
* correct error-underlining and tab-completion for editors such as VS Code.
|
||||||
*/
|
*/
|
||||||
"rushVersion": "5.148.0",
|
"rushVersion": "5.149.0",
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The next field selects which package manager should be installed and determines its version.
|
* The next field selects which package manager should be installed and determines its version.
|
||||||
@ -124,7 +124,7 @@
|
|||||||
* LTS schedule: https://nodejs.org/en/about/releases/
|
* LTS schedule: https://nodejs.org/en/about/releases/
|
||||||
* LTS versions: https://nodejs.org/en/download/releases/
|
* LTS versions: https://nodejs.org/en/download/releases/
|
||||||
*/
|
*/
|
||||||
"nodeSupportedVersionRange": ">=12.13.0 <13.0.0 || >=14.15.0 <15.0.0 || >=16.0.0",
|
"nodeSupportedVersionRange": ">=20.0.0 <23.0.0",
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Odd-numbered major versions of Node.js are experimental. Even-numbered releases
|
* Odd-numbered major versions of Node.js are experimental. Even-numbered releases
|
||||||
|
@ -1237,6 +1237,7 @@ export async function updateWorkspaceInfo (
|
|||||||
case 'restore-done':
|
case 'restore-done':
|
||||||
update.mode = 'active'
|
update.mode = 'active'
|
||||||
update.progress = 100
|
update.progress = 100
|
||||||
|
update.lastProcessingTime = Date.now() - processingTimeoutMs // To not wait for next step
|
||||||
break
|
break
|
||||||
|
|
||||||
case 'archiving-backup-started':
|
case 'archiving-backup-started':
|
||||||
|
@ -7,7 +7,7 @@ import { type IntlString, mergeIds } from '@hcengineering/platform'
|
|||||||
import github, { githubId } from '@hcengineering/github'
|
import github, { githubId } from '@hcengineering/github'
|
||||||
import { type Ref } from '@hcengineering/core'
|
import { type Ref } from '@hcengineering/core'
|
||||||
import { type Handler, type IntegrationType } from '@hcengineering/setting'
|
import { type Handler, type IntegrationType } from '@hcengineering/setting'
|
||||||
import { type AnyComponent } from '@hcengineering/ui'
|
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
|
|
||||||
export default mergeIds(githubId, github, {
|
export default mergeIds(githubId, github, {
|
||||||
string: {
|
string: {
|
||||||
|
@ -14,7 +14,7 @@ import {
|
|||||||
type DocCreateAnalyticsPropsFunction
|
type DocCreateAnalyticsPropsFunction
|
||||||
} from '@hcengineering/model-presentation'
|
} from '@hcengineering/model-presentation'
|
||||||
import { type NotificationGroup } from '@hcengineering/notification'
|
import { type NotificationGroup } from '@hcengineering/notification'
|
||||||
import type { AnyComponent } from '@hcengineering/ui'
|
import type { AnyComponent } from '@hcengineering/ui/src/types'
|
||||||
import { type ActionCategory, type Viewlet } from '@hcengineering/view'
|
import { type ActionCategory, type Viewlet } from '@hcengineering/view'
|
||||||
|
|
||||||
export default mergeIds(githubId, github, {
|
export default mergeIds(githubId, github, {
|
||||||
|
Loading…
Reference in New Issue
Block a user