mirror of
https://github.com/hcengineering/platform.git
synced 2025-03-14 10:09:59 +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 { type IntlString, mergeIds, type Resource } from '@hcengineering/platform'
|
||||
import { type Doc, type Ref } from '@hcengineering/core'
|
||||
import type { Location } from '@hcengineering/ui'
|
||||
import type { Location } from '@hcengineering/ui/src/types'
|
||||
import {
|
||||
type Action,
|
||||
type ActionCategory,
|
||||
|
@ -43,7 +43,7 @@ import view, { createAction } from '@hcengineering/model-view'
|
||||
import workbench from '@hcengineering/model-workbench'
|
||||
import { getEmbeddedLabel, type IntlString } from '@hcengineering/platform'
|
||||
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'
|
||||
|
||||
export { cardId } from '@hcengineering/card'
|
||||
|
@ -19,7 +19,7 @@ import type { Client, Doc, Ref } from '@hcengineering/core'
|
||||
import {} from '@hcengineering/core'
|
||||
import { mergeIds, type Resource } from '@hcengineering/platform'
|
||||
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 Action, type ViewAction } from '@hcengineering/view'
|
||||
|
||||
|
@ -58,7 +58,7 @@ import type { IntlString, Resource } from '@hcengineering/platform'
|
||||
import type { DocNotifyContext } from '@hcengineering/notification'
|
||||
|
||||
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
|
||||
|
||||
|
@ -19,7 +19,7 @@ import type { Client, Doc, Ref } from '@hcengineering/core'
|
||||
import { type ObjectSearchCategory, type ObjectSearchFactory } from '@hcengineering/model-presentation'
|
||||
import { mergeIds, type Resource } from '@hcengineering/platform'
|
||||
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 NotificationType, type NotificationGroup } from '@hcengineering/notification'
|
||||
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 IntlString, mergeIds, type Resource } from '@hcengineering/platform'
|
||||
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'
|
||||
|
||||
export default mergeIds(documentId, document, {
|
||||
|
@ -19,7 +19,7 @@ import { driveId } from '@hcengineering/drive'
|
||||
import drive from '@hcengineering/drive-resources/src/plugin'
|
||||
import { type ObjectSearchCategory, type ObjectSearchFactory } from '@hcengineering/model-presentation'
|
||||
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 {
|
||||
type Action,
|
||||
type ActionCategory,
|
||||
|
@ -9,7 +9,7 @@ import {
|
||||
import { type PublicLink, type Restrictions, guestAccountEmail } from '@hcengineering/guest'
|
||||
import { type Builder, Model } from '@hcengineering/model'
|
||||
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'
|
||||
|
||||
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 guest from '@hcengineering/guest-resources/src/plugin'
|
||||
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'
|
||||
|
||||
export default mergeIds(guestId, guest, {
|
||||
|
@ -16,7 +16,7 @@
|
||||
import { type Client, type Doc, type Ref } from '@hcengineering/core'
|
||||
import { type NotificationType, type NotificationGroup } from '@hcengineering/notification'
|
||||
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 { loveId } from '@hcengineering/love'
|
||||
import love from '@hcengineering/love-resources/src/plugin'
|
||||
|
@ -14,7 +14,7 @@
|
||||
//
|
||||
|
||||
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 presence from '@hcengineering/presence-resources/src/plugin'
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
import { type Doc, type Ref } from '@hcengineering/core'
|
||||
import { mergeIds } from '@hcengineering/platform'
|
||||
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'
|
||||
// This import is needed because of similar import in print plugin
|
||||
// Otherwise, TS complains about missing types for resulting merge
|
||||
|
@ -76,8 +76,8 @@ import {
|
||||
type TaskTypeDescriptor,
|
||||
type TaskTypeKind
|
||||
} from '@hcengineering/task'
|
||||
import type { AnyComponent } from '@hcengineering/ui'
|
||||
import { PaletteColorIndexes } from '@hcengineering/ui/src/colors'
|
||||
import type { AnyComponent } from '@hcengineering/ui/src/types'
|
||||
|
||||
import task from './plugin'
|
||||
|
||||
|
@ -31,7 +31,7 @@ import {
|
||||
type TextEditorActionKind
|
||||
} from '@hcengineering/text-editor'
|
||||
// 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'
|
||||
|
||||
export { textEditorOperation } from './migration'
|
||||
|
@ -53,7 +53,7 @@ import workbench from '@hcengineering/model-workbench'
|
||||
import notification from '@hcengineering/notification'
|
||||
import recruit from '@hcengineering/recruit'
|
||||
import tags from '@hcengineering/tags'
|
||||
import { type AnyComponent } from '@hcengineering/ui'
|
||||
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||
import {
|
||||
type TodoDoneTester,
|
||||
timeId,
|
||||
|
@ -16,7 +16,7 @@
|
||||
import { type Client, type Doc, type Ref } from '@hcengineering/core'
|
||||
import { type Application } from '@hcengineering/model-workbench'
|
||||
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 { timeId } from '@hcengineering/time'
|
||||
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 { mergeIds, type Resource } from '@hcengineering/platform'
|
||||
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 ActionCategory } from '@hcengineering/view'
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
//
|
||||
|
||||
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 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 Builder } from '@hcengineering/model'
|
||||
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 view from '.'
|
||||
|
||||
|
@ -33,7 +33,7 @@ import type {
|
||||
SidebarEvent,
|
||||
WorkbenchTab
|
||||
} 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 presentation from '@hcengineering/model-presentation'
|
||||
|
||||
|
@ -16,6 +16,8 @@
|
||||
"dom"
|
||||
],
|
||||
"types": ["node", "jest"],
|
||||
"incremental": true
|
||||
"incremental": true,
|
||||
"isolatedModules": true,
|
||||
|
||||
}
|
||||
}
|
@ -17,6 +17,7 @@
|
||||
"rootDir": "./src",
|
||||
"outDir": "./lib",
|
||||
"incremental": true,
|
||||
"isolatedModules": true
|
||||
"isolatedModules": true,
|
||||
|
||||
}
|
||||
}
|
@ -13,6 +13,7 @@
|
||||
"esModuleInterop": true,
|
||||
"incremental": true,
|
||||
"types" : [],
|
||||
"isolatedModules": true
|
||||
"isolatedModules": true,
|
||||
|
||||
}
|
||||
}
|
@ -15,6 +15,7 @@
|
||||
"rootDir": "./src",
|
||||
"outDir": "./lib",
|
||||
"incremental": true,
|
||||
"isolatedModules": true
|
||||
"isolatedModules": true,
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -15,6 +15,7 @@
|
||||
"rootDir": "./src",
|
||||
"outDir": "./lib",
|
||||
"incremental": true,
|
||||
"isolatedModules": true
|
||||
"isolatedModules": true,
|
||||
|
||||
}
|
||||
}
|
@ -18,6 +18,7 @@
|
||||
],
|
||||
"incremental": true,
|
||||
"types": ["jest"],
|
||||
"isolatedModules": true
|
||||
"isolatedModules": true,
|
||||
|
||||
}
|
||||
}
|
@ -11,7 +11,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
import { type AnyComponent, type AnySvelteComponent } from '@hcengineering/ui'
|
||||
import { type AnyComponent, type AnySvelteComponent } from '@hcengineering/ui/src/types'
|
||||
|
||||
interface BreadcrumbsProps {
|
||||
readonly color?: number | undefined
|
||||
|
@ -32,7 +32,7 @@ import {
|
||||
} from '@hcengineering/core'
|
||||
import type { Asset, IntlString, Metadata, Plugin, StatusCode } 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 { PreviewConfig } from './preview'
|
||||
import {
|
||||
|
@ -13,7 +13,7 @@ import {
|
||||
type TxOperations
|
||||
} from '@hcengineering/core'
|
||||
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'
|
||||
|
||||
|
@ -18,15 +18,15 @@
|
||||
import { Asset, IntlString, setPlatformStatus, unknownError } from '@hcengineering/platform'
|
||||
import {
|
||||
DraftController,
|
||||
canDisplayLinkPreview,
|
||||
createQuery,
|
||||
deleteFile,
|
||||
draftsStore,
|
||||
fetchLinkPreviewDetails,
|
||||
getClient,
|
||||
getFileMetadata,
|
||||
uploadFile,
|
||||
fetchLinkPreviewDetails,
|
||||
canDisplayLinkPreview,
|
||||
isLinkPreviewEnabled
|
||||
isLinkPreviewEnabled,
|
||||
uploadFile
|
||||
} from '@hcengineering/presentation'
|
||||
import { EmptyMarkup } from '@hcengineering/text'
|
||||
import textEditor, { type RefAction } from '@hcengineering/text-editor'
|
||||
@ -35,7 +35,6 @@
|
||||
import { createEventDispatcher, onDestroy, tick } from 'svelte'
|
||||
import attachment from '../plugin'
|
||||
import AttachmentPresenter from './AttachmentPresenter.svelte'
|
||||
import { rmSync } from 'fs'
|
||||
|
||||
export let objectId: Ref<Doc>
|
||||
export let space: Ref<Space>
|
||||
|
@ -18,7 +18,7 @@ import { type IntlString, mergeIds } from '@hcengineering/platform'
|
||||
import bitrix, { bitrixId } from '@hcengineering/bitrix'
|
||||
import { type Ref } from '@hcengineering/core'
|
||||
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, {
|
||||
string: {
|
||||
|
@ -16,7 +16,7 @@
|
||||
import board, { boardId } from '@hcengineering/board'
|
||||
import { type Ref, type StatusCategory } from '@hcengineering/core'
|
||||
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, {
|
||||
string: {
|
||||
|
@ -16,7 +16,7 @@
|
||||
import card, { cardId } from '@hcengineering/card'
|
||||
import { type Ref } from '@hcengineering/core'
|
||||
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'
|
||||
|
||||
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 { IntlString, Resource } 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 DocNotifyContext, type InboxNotification } from '@hcengineering/notification'
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
import contact, { contactId } from '@hcengineering/contact'
|
||||
import { type Client, type Doc } from '@hcengineering/core'
|
||||
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 {
|
||||
type CreateAggregationManagerFunc,
|
||||
type GrouppingManagerResource,
|
||||
|
@ -20,7 +20,7 @@ import documents, {
|
||||
} from '@hcengineering/controlled-documents'
|
||||
import { type Client, type Doc, type Ref, type Space } from '@hcengineering/core'
|
||||
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'
|
||||
|
||||
export default mergeIds(documentsId, documents, {
|
||||
|
@ -12,7 +12,7 @@ import {
|
||||
} from '@hcengineering/core'
|
||||
import type { Asset, Plugin, Resource } 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 type {
|
||||
|
@ -16,7 +16,7 @@
|
||||
import { type Client, type Doc, type Ref } from '@hcengineering/core'
|
||||
import document, { type Document, documentId } from '@hcengineering/document'
|
||||
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, {
|
||||
component: {
|
||||
|
@ -17,7 +17,7 @@ import type { Class, Doc, Mixin, Ref, SpaceType, SpaceTypeDescriptor } from '@hc
|
||||
import { NotificationGroup, NotificationType } from '@hcengineering/notification'
|
||||
import type { Asset, Plugin, Resource } 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 { Document, DocumentSnapshot, SavedDocument, Teamspace } from './types'
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
import type { Class, Doc, Mixin, Ref, SpaceType, SpaceTypeDescriptor, Type } from '@hcengineering/core'
|
||||
import type { Asset, IntlString, Plugin, Resource as PlatformResource } 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'
|
||||
|
||||
export * from './types'
|
||||
|
@ -16,7 +16,7 @@
|
||||
import lead, { leadId } from '@hcengineering/lead'
|
||||
import { type IntlString, mergeIds, type Resource } from '@hcengineering/platform'
|
||||
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, {
|
||||
string: {
|
||||
|
@ -15,8 +15,8 @@
|
||||
|
||||
import love, { loveId } from '@hcengineering/love'
|
||||
import { mergeIds, type IntlString, type Resource } from '@hcengineering/platform'
|
||||
import { type DocCreateFunction } from '@hcengineering/presentation'
|
||||
import { type AnyComponent } from '@hcengineering/ui'
|
||||
import { type DocCreateFunction } from '@hcengineering/presentation/src/types'
|
||||
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||
import { type ViewActionAvailabilityFunction } from '@hcengineering/view'
|
||||
|
||||
export default mergeIds(loveId, love, {
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
import type { Metadata, Plugin } from '@hcengineering/platform'
|
||||
import { plugin } from '@hcengineering/platform'
|
||||
import { AnyComponent } from '@hcengineering/ui'
|
||||
import { AnyComponent } from '@hcengineering/ui/src/types'
|
||||
|
||||
/** @public */
|
||||
export const presenceId = 'presence' as Plugin
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
import { type Doc } from '@hcengineering/core'
|
||||
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
|
||||
|
||||
|
@ -16,8 +16,8 @@
|
||||
import products, { productsId } from '@hcengineering/products'
|
||||
import { type Ref, type Space } from '@hcengineering/core'
|
||||
import { type IntlString, type Resource, mergeIds } from '@hcengineering/platform'
|
||||
import { type ObjectSearchCategory, type ObjectSearchFactory } from '@hcengineering/presentation'
|
||||
import { type AnyComponent } from '@hcengineering/ui'
|
||||
import { type ObjectSearchCategory, type ObjectSearchFactory } from '@hcengineering/presentation/src/types'
|
||||
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||
import { type KeyFilter } from '@hcengineering/view'
|
||||
|
||||
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 { 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 type { DocumentSpaceType, DocumentSpaceTypeDescriptor } from '@hcengineering/controlled-documents'
|
||||
import { Product, ProductVersion, ProductVersionState } from './types'
|
||||
|
@ -74,7 +74,6 @@
|
||||
import recruit from '../plugin'
|
||||
import { getCandidateIdentifier } from '../utils'
|
||||
import YesNo from './YesNo.svelte'
|
||||
import IconSwitch from './icons/Switch.svelte'
|
||||
import IconShuffle from './icons/Shuffle.svelte'
|
||||
|
||||
export let shouldSaveDraft: boolean = true
|
||||
|
@ -16,10 +16,10 @@
|
||||
import { type Client, type Doc, type Ref } from '@hcengineering/core'
|
||||
import type { IntlString, Resource, StatusCode } 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 { 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'
|
||||
|
||||
export default mergeIds(recruitId, recruit, {
|
||||
|
@ -17,7 +17,7 @@ import { type Ref } from '@hcengineering/core'
|
||||
import type { IntlString } from '@hcengineering/platform'
|
||||
import { mergeIds } from '@hcengineering/platform'
|
||||
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'
|
||||
|
||||
export default mergeIds(settingId, setting, {
|
||||
|
@ -16,7 +16,7 @@
|
||||
import type { Client, Doc, Ref } from '@hcengineering/core'
|
||||
import { type Resource, mergeIds } from '@hcengineering/platform'
|
||||
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'
|
||||
|
||||
export default mergeIds(surveyId, survey, {
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
import { type IntlString, mergeIds, type Resource } from '@hcengineering/platform'
|
||||
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'
|
||||
|
||||
export default mergeIds(tagsId, tags, {
|
||||
|
@ -17,7 +17,7 @@
|
||||
import { type IntlString, mergeIds } from '@hcengineering/platform'
|
||||
|
||||
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, {
|
||||
string: {
|
||||
|
@ -15,7 +15,7 @@
|
||||
//
|
||||
|
||||
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'
|
||||
|
||||
export default mergeIds(templatesId, templates, {
|
||||
|
@ -14,9 +14,9 @@
|
||||
//
|
||||
|
||||
import type { Class, Doc, Markup, Ref, Space } from '@hcengineering/core'
|
||||
import type { IntlString, Plugin, Resource } from '@hcengineering/platform'
|
||||
import { Asset, plugin } from '@hcengineering/platform'
|
||||
import { AnyComponent } from '@hcengineering/ui'
|
||||
import type { IntlString, Plugin, Resource, Asset } from '@hcengineering/platform'
|
||||
import { plugin } from '@hcengineering/platform'
|
||||
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||
|
||||
/**
|
||||
* @public
|
||||
|
@ -26,7 +26,7 @@ import {
|
||||
import type { Asset, IntlString, Plugin, Resource } 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 {
|
||||
|
@ -15,10 +15,10 @@
|
||||
import { type StatusCategory, type Client, type Doc, type Ref, type Space } from '@hcengineering/core'
|
||||
import type { Asset, IntlString, Metadata, Resource } 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 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 {
|
||||
type CreateAggregationManagerFunc,
|
||||
type GetAllValuesFunc,
|
||||
|
@ -14,7 +14,7 @@
|
||||
//
|
||||
|
||||
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'
|
||||
|
||||
export default mergeIds(uploaderId, uploader, {
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
import type { IntlString, Plugin, Resource } 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'
|
||||
|
||||
|
@ -15,8 +15,8 @@
|
||||
//
|
||||
|
||||
import { type IntlString, type Resource, mergeIds } from '@hcengineering/platform'
|
||||
import { type PresentationMiddlewareCreator } from '@hcengineering/presentation'
|
||||
import { type AnyComponent } from '@hcengineering/ui'
|
||||
import { type PresentationMiddlewareCreator } from '@hcengineering/presentation/src/pipeline'
|
||||
import { type AnyComponent } from '@hcengineering/ui/src/types'
|
||||
import view, { viewId } from '@hcengineering/view'
|
||||
|
||||
export default mergeIds(viewId, view, {
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
import { Class, Doc, DocumentQuery, FindOptions, Mixin, Ref } from '@hcengineering/core'
|
||||
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 {
|
||||
Action,
|
||||
ActionCategory,
|
||||
|
@ -47,7 +47,7 @@
|
||||
(it) => !hierarchy.isMixin(it)
|
||||
)
|
||||
if (classes.length > 0) {
|
||||
query.query(
|
||||
query.query<Space>(
|
||||
classes.length === 1 ? classes[0] : core.class.Space,
|
||||
!adminUser
|
||||
? {
|
||||
|
@ -17,7 +17,7 @@ import { mergeIds } from '@hcengineering/platform'
|
||||
import type { IntlString, Metadata } from '@hcengineering/platform'
|
||||
|
||||
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, {
|
||||
string: {
|
||||
|
@ -19,16 +19,15 @@ import core, { hasAccountRole } from '@hcengineering/core'
|
||||
import type { Workspace } from '@hcengineering/login'
|
||||
import login, { loginId } from '@hcengineering/login'
|
||||
import { getResource, setMetadata } from '@hcengineering/platform'
|
||||
import { closeClient, getClient } from '@hcengineering/presentation'
|
||||
import presentation from '@hcengineering/presentation/src/plugin'
|
||||
import presentation, { closeClient, getClient } from '@hcengineering/presentation'
|
||||
import {
|
||||
closePanel,
|
||||
fetchMetadataLocalStorage,
|
||||
getCurrentLocation,
|
||||
type Location,
|
||||
location,
|
||||
navigate,
|
||||
setMetadataLocalStorage,
|
||||
location
|
||||
setMetadataLocalStorage
|
||||
} from '@hcengineering/ui'
|
||||
import view from '@hcengineering/view'
|
||||
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
|
||||
* 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.
|
||||
@ -124,7 +124,7 @@
|
||||
* LTS schedule: https://nodejs.org/en/about/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
|
||||
|
@ -1237,6 +1237,7 @@ export async function updateWorkspaceInfo (
|
||||
case 'restore-done':
|
||||
update.mode = 'active'
|
||||
update.progress = 100
|
||||
update.lastProcessingTime = Date.now() - processingTimeoutMs // To not wait for next step
|
||||
break
|
||||
|
||||
case 'archiving-backup-started':
|
||||
|
@ -7,7 +7,7 @@ import { type IntlString, mergeIds } from '@hcengineering/platform'
|
||||
import github, { githubId } from '@hcengineering/github'
|
||||
import { type Ref } from '@hcengineering/core'
|
||||
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, {
|
||||
string: {
|
||||
|
@ -14,7 +14,7 @@ import {
|
||||
type DocCreateAnalyticsPropsFunction
|
||||
} from '@hcengineering/model-presentation'
|
||||
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'
|
||||
|
||||
export default mergeIds(githubId, github, {
|
||||
|
Loading…
Reference in New Issue
Block a user