[WEB-5416] fix: Use proper import syntax (#8105)

This commit is contained in:
Aaron 2025-11-13 04:11:06 -08:00 committed by GitHub
parent 34c0e81d8e
commit 95c742244e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
526 changed files with 1002 additions and 923 deletions

View file

@ -1,4 +1,4 @@
import { type Editor } from "@tiptap/core";
import type { Editor } from "@tiptap/core";
import type { ReactElement } from "react";
import type { IEditorPropsExtended } from "@/types";

View file

@ -1,4 +1,4 @@
import { Editor } from "@tiptap/core";
import type { Editor } from "@tiptap/core";
import { LinkViewContainer } from "@/components/editors/link-view-container";
export const LinkContainer = ({

View file

@ -1,6 +1,6 @@
// helpers
import { TAssetMetaDataRecord } from "@/helpers/assets";
import type { TAssetMetaDataRecord } from "@/helpers/assets";
// local imports
import { ADDITIONAL_EXTENSIONS } from "./extensions";
import type { ADDITIONAL_EXTENSIONS } from "./extensions";
export const ADDITIONAL_ASSETS_META_DATA_RECORD: Partial<Record<ADDITIONAL_EXTENSIONS, TAssetMetaDataRecord>> = {};

View file

@ -1,5 +1,6 @@
// plane imports
import { ADDITIONAL_EXTENSIONS, CORE_EXTENSIONS } from "@plane/utils";
import type { ADDITIONAL_EXTENSIONS } from "@plane/utils";
import { CORE_EXTENSIONS } from "@plane/utils";
// plane editor imports
import type { ExtensionFileSetStorageKey } from "@/plane-editor/types/storage";

View file

@ -1,3 +1,3 @@
import { Extensions } from "@tiptap/core";
import type { Extensions } from "@tiptap/core";
export const CoreEditorAdditionalExtensionsWithoutProps: Extensions = [];

View file

@ -1,8 +1,8 @@
import { AnyExtension, Extensions } from "@tiptap/core";
import type { AnyExtension, Extensions } from "@tiptap/core";
// extensions
import { SlashCommands } from "@/extensions/slash-commands/root";
// types
import { IEditorProps, TExtensions } from "@/types";
import type { IEditorProps, TExtensions } from "@/types";
export type TRichTextEditorAdditionalExtensionsProps = Pick<
IEditorProps,