fix: circular dependencies between packages (#7277)
This commit is contained in:
parent
d3f1b511ad
commit
fa9c63716c
336 changed files with 3629 additions and 4374 deletions
|
|
@ -1,9 +1,8 @@
|
|||
import set from "lodash/set";
|
||||
import { action, makeObservable, observable, runInAction } from "mobx";
|
||||
// plane imports
|
||||
import { EStartOfTheWeek } from "@plane/constants";
|
||||
import { UserService } from "@plane/services";
|
||||
import { TUserProfile } from "@plane/types";
|
||||
import { EStartOfTheWeek, TUserProfile } from "@plane/types";
|
||||
// store
|
||||
import { CoreRootStore } from "@/store/root.store";
|
||||
|
||||
|
|
|
|||
|
|
@ -2,13 +2,11 @@ import set from "lodash/set";
|
|||
import { action, computed, makeObservable, observable, runInAction } from "mobx";
|
||||
// plane imports
|
||||
import { UserService } from "@plane/services";
|
||||
import { IUser } from "@plane/types";
|
||||
import { ActorDetail, IUser } from "@plane/types";
|
||||
// store types
|
||||
import { ProfileStore, IProfileStore } from "@/store/profile.store";
|
||||
// store
|
||||
import { CoreRootStore } from "@/store/root.store";
|
||||
// types
|
||||
import { ActorDetail } from "@/types/issue";
|
||||
|
||||
type TUserErrorStatus = {
|
||||
status: string;
|
||||
|
|
|
|||
53
space/core/types/issue.d.ts
vendored
53
space/core/types/issue.d.ts
vendored
|
|
@ -1,4 +1,4 @@
|
|||
import { IWorkspaceLite, TIssue, TIssuePriorities, TStateGroups, TIssuePublicComment } from "@plane/types";
|
||||
import { ActorDetail, TIssue, TIssuePriorities, TStateGroups, TIssuePublicComment } from "@plane/types";
|
||||
|
||||
export type TIssueLayout = "list" | "kanban" | "calendar" | "spreadsheet" | "gantt";
|
||||
export type TIssueLayoutOptions = {
|
||||
|
|
@ -111,57 +111,6 @@ export interface IIssueReaction {
|
|||
reaction: string;
|
||||
}
|
||||
|
||||
export interface ActorDetail {
|
||||
avatar_url?: string;
|
||||
display_name?: string;
|
||||
first_name?: string;
|
||||
is_bot?: boolean;
|
||||
id?: string;
|
||||
last_name?: string;
|
||||
}
|
||||
|
||||
export interface IssueDetail {
|
||||
id: string;
|
||||
name: string;
|
||||
description: Description;
|
||||
description_html: string;
|
||||
priority: string;
|
||||
start_date: null;
|
||||
target_date: null;
|
||||
sequence_id: number;
|
||||
sort_order: number;
|
||||
}
|
||||
|
||||
export interface Description {
|
||||
type: string;
|
||||
content: DescriptionContent[];
|
||||
}
|
||||
|
||||
export interface DescriptionContent {
|
||||
type: string;
|
||||
attrs?: Attrs;
|
||||
content: ContentContent[];
|
||||
}
|
||||
|
||||
export interface Attrs {
|
||||
level: number;
|
||||
}
|
||||
|
||||
export interface ContentContent {
|
||||
text: string;
|
||||
type: string;
|
||||
}
|
||||
|
||||
export interface ProjectDetail {
|
||||
id: string;
|
||||
identifier: string;
|
||||
name: string;
|
||||
cover_image: string;
|
||||
icon_prop: null;
|
||||
emoji: string;
|
||||
description: string;
|
||||
}
|
||||
|
||||
export interface IIssueFilterOptions {
|
||||
state?: string[] | null;
|
||||
labels?: string[] | null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue