Skip to content

processScreenshots

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/apps/cli/src/utils/screenshot-storage.helper.ts

Process and save screenshots using storage helper

This handles intelligent deduplication and metadata tracking

Signature

ts
async function processScreenshots(screenshots: ScreenshotInfo[], storage: StorageHelperService): Promise<Array<{ original: ScreenshotInfo; saved: { id: string; url: string; isNew: boolean } }>>

Parameters

NameType
screenshotsScreenshotInfo[]
storageStorageHelperService

Returns: Promise<Array<{ original: ScreenshotInfo; saved: { id: string; url: string; isNew: boolean } }>>

Was this page helpful?

Download as PDF