Manta Developers
GitHub
Menu

@manta-eu/react/hooks/useActionPlanDetail

Reference for @manta-eu/react/hooks/useActionPlanDetail as it is on main.

Functions

useActionPlanDetail()

useActionPlanDetail(planGraphIri): object

Parameters

planGraphIri

string | null

Returns

object

error

error: string | null

graphDocument

graphDocument: RdfGraph | null

isLoading

isLoading: boolean = result.isLoading

plan

plan: { createdBy: { __typename: "ActionPlanCreatedByManta"; confidenceScore?: number | null; reason?: string | null; } | { __typename: "ActionPlanCreatedByUser"; id: string; reason?: string | null; }; description: string | null; duration: string | null; estimatedCost?: GQLQuantitativeValue | null; estimatedReturn?: GQLQuantitativeValue | null; estimatedROI?: GQLQuantitativeValue | null; hasCurrentFacts: boolean; hasExecutionHistory: boolean; iri: string; potentialProfit?: GQLQuantitativeValue | null; primaryIntegration: GQLIntegration | null; state: GQLActionPlanState; } | null