Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/constants/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ export * from "./user";
export * from "./workspace";
export * from "./stickies";
export * from "./profile";
export * from "./workspace-drafts";
3 changes: 2 additions & 1 deletion web/core/components/issues/workspace-draft/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ import { FC, Fragment } from "react";
import { observer } from "mobx-react";
import useSWR from "swr";
// plane imports
import { EDraftIssuePaginationType } from "@plane/constants";
import { EUserPermissionsLevel, EUserWorkspaceRoles } from "@plane/constants/src/user";
import { useTranslation } from "@plane/i18n";
// components
import { ComicBoxButton, DetailedEmptyState } from "@/components/empty-state";
// constants
import { EDraftIssuePaginationType } from "@/constants/workspace-drafts";

// helpers
import { cn } from "@/helpers/common.helper";
// hooks
Expand Down
3 changes: 1 addition & 2 deletions web/core/hooks/use-issues-actions.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useCallback, useMemo } from "react";
// types
import { useParams } from "next/navigation";
import { EIssueFilterType, EIssuesStoreType } from "@plane/constants";
import { EIssueFilterType, EIssuesStoreType, EDraftIssuePaginationType } from "@plane/constants";
import {
IIssueDisplayFilterOptions,
IIssueDisplayProperties,
Expand All @@ -13,7 +13,6 @@ import {
TLoader,
TProfileViews,
} from "@plane/types";
import { EDraftIssuePaginationType } from "@/constants/workspace-drafts";
import { useTeamIssueActions, useTeamViewIssueActions } from "@/plane-web/helpers/issue-action-helper";
import { useIssues } from "./store";

Expand Down
3 changes: 2 additions & 1 deletion web/core/store/issue/workspace-draft/issue.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import unset from "lodash/unset";
import update from "lodash/update";
import { action, computed, makeObservable, observable, runInAction } from "mobx";
import { computedFn } from "mobx-utils";
// plane imports
import { EDraftIssuePaginationType } from "@plane/constants";
import {
TWorkspaceDraftIssue,
TWorkspaceDraftPaginationInfo,
Expand All @@ -19,7 +21,6 @@ import {
TBulkOperationsPayload,
} from "@plane/types";
// constants
import { EDraftIssuePaginationType } from "@/constants/workspace-drafts";
// helpers
import { getCurrentDateTimeInISO, convertToISODateString } from "@/helpers/date-time.helper";
// local-db
Expand Down
Loading