Skip to content

UseDocumentationGeneratorReturn

reference
1 min readUpdated

Kind: Interface

Source: atloria-monorepo/apps/web/src/hooks/useDocumentationGenerator.ts

Hook return type

Properties

PropertyType
job`DocumentationJob
loadingboolean
error`Error
progressnumber
currentStage`string
stageProgressnumber
currentItem`string
elapsedMsnumber
estimatedRemainingMsnumber
isRunningboolean
isCompletedboolean
isFailedboolean
isCancelledboolean
result`JobResult
screenshotProgress`{
batchIndex: number;
totalBatches: number;
captured: number;
totalMappings: number;

} | null| |startGeneration|(options?: { includeScreenshots?: boolean }) => Promise| |cancel|() => Promise| |reset|() => void` |

Was this page helpful?

Download as PDF