aviyelverse / Open-Source-Requests

A curation of paid and unpaid requests for the community to work on.
18 stars 4 forks source link

BatchJob entity model #41

Closed ghost closed 2 years ago

ghost commented 2 years ago

We should introduce a new BatchJob entity to model the status of a batch upload job (unit of batch upload or download work).

BatchJob {
  status: created | processing | awaiting_confirmation | completed
  type:  product_export | product_import 
  context:  json #  e.g. object containing product filters
  result: json blob of the resulting summary. Can e.g. contain a download_url
  created_by: the id of the user that created the job
}