@joblist/components - v0.3.4
    Preparing search index...

    Function generateMissingDates

    • Generate missing dates based on API results and specified number of days

      Parameters

      • apiResults: HeatmapItem[]

        Existing API results with dates

      • numberOfDays: number

        Number of days to go back from current date

      Returns Promise<HeatmapItem[]>

      Complete array of dates with totals