fix(CI): upgrade prettier oxc plugin version (#8242)
* fix: upgrade prettier oxc plugin version * fix: type errors
This commit is contained in:
parent
1090b3e938
commit
c3906048ea
31 changed files with 237 additions and 243 deletions
|
|
@ -15,11 +15,10 @@ import { useParseEditorContent } from "@/hooks/use-parse-editor-content";
|
|||
import { useEditorFlagging } from "@/plane-web/hooks/use-editor-flagging";
|
||||
import { StickyEditorToolbar } from "./toolbar";
|
||||
|
||||
interface StickyEditorWrapperProps
|
||||
extends Omit<
|
||||
Omit<ILiteTextEditorProps, "extendedEditorProps">,
|
||||
"disabledExtensions" | "editable" | "flaggedExtensions" | "fileHandler" | "mentionHandler" | "getEditorMetaData"
|
||||
> {
|
||||
interface StickyEditorWrapperProps extends Omit<
|
||||
Omit<ILiteTextEditorProps, "extendedEditorProps">,
|
||||
"disabledExtensions" | "editable" | "flaggedExtensions" | "fileHandler" | "mentionHandler" | "getEditorMetaData"
|
||||
> {
|
||||
workspaceSlug: string;
|
||||
workspaceId: string;
|
||||
projectId?: string;
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ import { UserImageUploadModal } from "@/components/core/modals/user-image-upload
|
|||
// helpers
|
||||
import { captureError, captureView } from "@/helpers/event-tracker.helper";
|
||||
// hooks
|
||||
import { useInstance } from "@/hooks/store/use-instance";
|
||||
import { useUser, useUserProfile } from "@/hooks/store/user";
|
||||
// services
|
||||
import { AuthService } from "@/services/auth.service";
|
||||
|
|
@ -22,7 +23,6 @@ import { AuthService } from "@/services/auth.service";
|
|||
import { CommonOnboardingHeader } from "../common";
|
||||
import { MarketingConsent } from "./consent";
|
||||
import { SetPasswordRoot } from "./set-password";
|
||||
import { useInstance } from "@/hooks/store/use-instance";
|
||||
|
||||
type Props = {
|
||||
handleStepChange: (step: EOnboardingSteps, skipInvites?: boolean) => void;
|
||||
|
|
@ -255,7 +255,7 @@ export const ProfileSetupStep = observer(function ProfileSetupStep({ handleStepC
|
|||
</Button>
|
||||
|
||||
{/* Marketing Consent */}
|
||||
{!instanceConfig.is_self_managed && (
|
||||
{!instanceConfig?.is_self_managed && (
|
||||
<MarketingConsent
|
||||
isChecked={!!watch("has_marketing_email_consent")}
|
||||
handleChange={(has_marketing_email_consent) =>
|
||||
|
|
|
|||
|
|
@ -89,15 +89,15 @@ export abstract class BaseCommandPaletteStore implements IBaseCommandPaletteStor
|
|||
protected getCoreModalsState(): boolean {
|
||||
return Boolean(
|
||||
this.isCreateIssueModalOpen ||
|
||||
this.isCreateCycleModalOpen ||
|
||||
this.isCreateProjectModalOpen ||
|
||||
this.isCreateModuleModalOpen ||
|
||||
this.isCreateViewModalOpen ||
|
||||
store.powerK.isShortcutsListModalOpen ||
|
||||
this.isBulkDeleteIssueModalOpen ||
|
||||
this.isDeleteIssueModalOpen ||
|
||||
this.createPageModal.isOpen ||
|
||||
this.allStickiesModal
|
||||
this.isCreateCycleModalOpen ||
|
||||
this.isCreateProjectModalOpen ||
|
||||
this.isCreateModuleModalOpen ||
|
||||
this.isCreateViewModalOpen ||
|
||||
store.powerK.isShortcutsListModalOpen ||
|
||||
this.isBulkDeleteIssueModalOpen ||
|
||||
this.isDeleteIssueModalOpen ||
|
||||
this.createPageModal.isOpen ||
|
||||
this.allStickiesModal
|
||||
);
|
||||
}
|
||||
// computedFn
|
||||
|
|
|
|||
|
|
@ -60,7 +60,8 @@ export type TIssueCrudOperationState = {
|
|||
};
|
||||
|
||||
export interface IIssueDetail
|
||||
extends IIssueStoreActions,
|
||||
extends
|
||||
IIssueStoreActions,
|
||||
IIssueReactionStoreActions,
|
||||
IIssueLinkStoreActions,
|
||||
IIssueSubIssuesStoreActions,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue