feat(FN-3883): fix dependency-graph plugin exports and add CLI bundle entry
Fixed the `@fusion-plugin/dependency-graph` plugin's exports and build entry points so it bundles correctly with the CLI, added test coverage for plugin enable success and error-state toasts, and included the plugin's dist in the CLI bundle via tsup config. Fusion-Task-Id: FN-3883
This commit is contained in:
@@ -4,6 +4,17 @@ declare module "@fusion/dashboard/app/utils/taskStuck" {
|
||||
export function isTaskStuck(task: Task, taskStuckTimeoutMs?: number, lastFetchTimeMs?: number): boolean;
|
||||
}
|
||||
|
||||
declare module "@fusion/dashboard/app/plugins/types" {
|
||||
import type { Task, TaskDetail, WorkflowStep } from "@fusion/core";
|
||||
|
||||
export interface PluginDashboardViewContext {
|
||||
tasks: Task[];
|
||||
projectId?: string;
|
||||
workflowSteps?: WorkflowStep[];
|
||||
openTaskDetail?: (task: Task | TaskDetail) => void;
|
||||
}
|
||||
}
|
||||
|
||||
declare module "@fusion/dashboard/app/components/TaskCard" {
|
||||
import type { Column, Task, TaskDetail } from "@fusion/core";
|
||||
import type { ReactElement } from "react";
|
||||
|
||||
Reference in New Issue
Block a user