Skip to content

Instantly share code, notes, and snippets.

@sudeeptarlekar
Last active December 13, 2018 19:31
Show Gist options
  • Save sudeeptarlekar/1622eb3ab9f4912a6d163f8edaa230ea to your computer and use it in GitHub Desktop.
Save sudeeptarlekar/1622eb3ab9f4912a6d163f8edaa230ea to your computer and use it in GitHub Desktop.
{
  billedTime: 27.26,
  nonBillableTime: 14.24,
  TotalReportedTime: 41.50,
  endDate: "2018-12-02",
  startDate: "2018-11-26",
  name: "Chirag Shah",
  userImage: "URL for cloudinary with 100x100 ratio",
  timeEntriesSummary: {
    2018-11-26: 8.0,
    ...
    2018-12-02: 8.0
  },
  projectGroupedTimeEntries:[
    {
      projectId: 40,
      projectName: "AceInvoice",
      totalHours: 21.35,
      taskTimeEntries: [
        {
          taskId: 48,
          taskName: "Web Development",
          totalHours: 20.35
        },
        {
          taskId: 49,
          taskName: "Electron Development",
          totalHours: 1.0
        }
      ]
    },
    {
      projectId: 57,
      projectName: "HR",
      totalHours: 14.25,
      taskTimeEntries: [
        {
          taskId: 100,
          taskName: "Misc",
          totalHours: 12.25
        }
        {
          taskId: 101,
          taskName: PTO,
          totalHours: 2.0
        }
      ]
    }
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment