fix(CI): upgrade prettier oxc plugin version (#8242)

* fix: upgrade prettier oxc plugin version

* fix: type errors
This commit is contained in:
sriram veeraghanta 2025-12-04 18:27:50 +05:30 committed by GitHub
parent 1090b3e938
commit c3906048ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 237 additions and 243 deletions

View file

@ -25,7 +25,7 @@
"devDependencies": {
"@plane/eslint-config": "workspace:*",
"@plane/typescript-config": "workspace:*",
"@prettier/plugin-oxc": "0.0.4",
"@prettier/plugin-oxc": "0.1.3",
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",

View file

@ -79,8 +79,7 @@ export interface IBaseLayoutsBaseProps<T extends IBaseLayoutsBaseItem> extends I
// Group Props
export interface IBaseLayoutsBaseGroupProps<T extends IBaseLayoutsBaseItem>
extends IDragDropHandlers<T>,
IRenderProps<T> {
extends IDragDropHandlers<T>, IRenderProps<T> {
group: IBaseLayoutsBaseGroup;
itemIds: string[];
items: Record<string, T>;
@ -92,8 +91,7 @@ export interface IBaseLayoutsBaseGroupProps<T extends IBaseLayoutsBaseItem>
// Item Props
export interface IBaseLayoutsBaseItemProps<T extends IBaseLayoutsBaseItem>
extends IDragDropHandlers<T>,
IItemRenderProps<T> {
extends IDragDropHandlers<T>, IItemRenderProps<T> {
item: T;
index: number;
groupId: string;

View file

@ -56,7 +56,8 @@ export type TGanttDisplayOptions = {
// Main Gantt Layout Props
export interface IBaseLayoutsGanttProps<T extends IBaseLayoutsGanttItem>
extends Omit<IBaseLayoutsBaseProps<T>, "renderItem" | "enableDragDrop" | "onDrop" | "canDrag">,
extends
Omit<IBaseLayoutsBaseProps<T>, "renderItem" | "enableDragDrop" | "onDrop" | "canDrag">,
IGanttRenderProps<T>,
IGanttCapabilities,
TGanttDisplayOptions {

View file

@ -153,31 +153,30 @@ export type TWorkItemWidgets = "sub-work-items" | "relations" | "links" | "attac
export type TIssueServiceType = EIssueServiceType.ISSUES | EIssueServiceType.EPICS | EIssueServiceType.WORK_ITEMS;
export interface IPublicIssue
extends Pick<
TIssue,
| "description_html"
| "created_at"
| "updated_at"
| "created_by"
| "id"
| "name"
| "priority"
| "state_id"
| "project_id"
| "sequence_id"
| "sort_order"
| "start_date"
| "target_date"
| "cycle_id"
| "module_ids"
| "label_ids"
| "assignee_ids"
| "attachment_count"
| "sub_issues_count"
| "link_count"
| "estimate_point"
> {
export interface IPublicIssue extends Pick<
TIssue,
| "description_html"
| "created_at"
| "updated_at"
| "created_by"
| "id"
| "name"
| "priority"
| "state_id"
| "project_id"
| "sequence_id"
| "sort_order"
| "start_date"
| "target_date"
| "cycle_id"
| "module_ids"
| "label_ids"
| "assignee_ids"
| "attachment_count"
| "sub_issues_count"
| "link_count"
| "estimate_point"
> {
comments: TIssuePublicComment[];
reaction_items: IIssuePublicReaction[];
vote_items: IPublicVote[];