mirror of
https://github.com/makeplane/plane
synced 2025-08-07 19:59:33 +00:00
chore: code refactoring (#5928)
* chore: de dupe code splitting * chore: code refactor
This commit is contained in:
committed by
GitHub
parent
4bc751b7ab
commit
57eb08c8a2
24
packages/types/src/de-dupe.d.ts
vendored
Normal file
24
packages/types/src/de-dupe.d.ts
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
import { TIssuePriorities } from "./issues";
|
||||
|
||||
export type TDuplicateIssuePayload = {
|
||||
title: string;
|
||||
workspace_id: string;
|
||||
issue_id?: string;
|
||||
project_id?: string;
|
||||
description_stripped?: string;
|
||||
};
|
||||
|
||||
export type TDeDupeIssue = {
|
||||
id: string;
|
||||
type_id: string | null;
|
||||
project_id: string;
|
||||
sequence_id: number;
|
||||
name: string;
|
||||
priority: TIssuePriorities;
|
||||
state_id: string;
|
||||
created_by: string;
|
||||
};
|
||||
|
||||
export type TDuplicateIssueResponse = {
|
||||
dupes: TDeDupeIssue[];
|
||||
};
|
||||
1
packages/types/src/index.d.ts
vendored
1
packages/types/src/index.d.ts
vendored
@@ -2,6 +2,7 @@ export * from "./users";
|
||||
export * from "./workspace";
|
||||
export * from "./cycle";
|
||||
export * from "./dashboard";
|
||||
export * from "./de-dupe";
|
||||
export * from "./project";
|
||||
export * from "./state";
|
||||
export * from "./issues";
|
||||
|
||||
Reference in New Issue
Block a user