mirror of
https://github.com/makeplane/plane
synced 2025-08-07 19:59:33 +00:00
Compare commits
1 Commits
fix-live-s
...
chore-proj
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d1ec2345e7 |
@@ -29,3 +29,4 @@ export * from "./event-tracker";
|
||||
export * from "./spreadsheet";
|
||||
export * from "./dashboard";
|
||||
export * from "./page";
|
||||
export * from "./work-item-types";
|
||||
|
||||
4
packages/constants/src/work-item-types.ts
Normal file
4
packages/constants/src/work-item-types.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export enum EWorkItemTypeEntity {
|
||||
WORK_ITEM = "WORK_ITEM",
|
||||
EPIC = "EPIC",
|
||||
}
|
||||
2
packages/types/src/project/projects.d.ts
vendored
2
packages/types/src/project/projects.d.ts
vendored
@@ -49,8 +49,6 @@ export interface IProject extends IPartialProject {
|
||||
guest_view_all_features?: boolean;
|
||||
anchor?: string | null;
|
||||
is_favorite?: boolean;
|
||||
is_issue_type_enabled?: boolean;
|
||||
is_time_tracking_enabled?: boolean;
|
||||
members?: string[];
|
||||
network?: number;
|
||||
timezone?: string;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import { EWorkItemTypeEntity } from "@plane/constants";
|
||||
import { TIssueServiceType } from "@plane/types";
|
||||
|
||||
export type TIssueAdditionalPropertyValuesUpdateProps = {
|
||||
@@ -7,6 +8,7 @@ export type TIssueAdditionalPropertyValuesUpdateProps = {
|
||||
workspaceSlug: string;
|
||||
isDisabled: boolean;
|
||||
issueServiceType?: TIssueServiceType;
|
||||
entityType?: EWorkItemTypeEntity;
|
||||
};
|
||||
|
||||
export const IssueAdditionalPropertyValuesUpdate: React.FC<TIssueAdditionalPropertyValuesUpdateProps> = () => <></>;
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
type TIssueAdditionalPropertiesProps = {
|
||||
import { EWorkItemTypeEntity } from "@plane/constants";
|
||||
import { TIssueServiceType } from "@plane/types";
|
||||
|
||||
export type TIssueAdditionalPropertiesProps = {
|
||||
issueId: string | undefined;
|
||||
issueTypeId: string | null;
|
||||
projectId: string;
|
||||
workspaceSlug: string;
|
||||
entityType?: EWorkItemTypeEntity;
|
||||
isDraft?: boolean;
|
||||
issueServiceType?: TIssueServiceType;
|
||||
};
|
||||
|
||||
export const IssueAdditionalProperties: React.FC<TIssueAdditionalPropertiesProps> = () => <></>;
|
||||
|
||||
Reference in New Issue
Block a user