stack

Home > @infiniteobjects/models > RenderJobRepository

RenderJobRepository class

Render Job Repository

Signature:

export declare class RenderJobRepository extends Repository<RenderJobModel> 

Extends: Repository<RenderJobModel>

Properties

Property Modifiers Type Description
processAgain   (job: RenderJobModel) => Promise<RenderJobModel> Sends a new copy of the job to the pipeline
PubSub readonly PubSub A reference to Pub/Sub
renderStorageBucket readonly string Render Storage bucket

Methods

Method Modifiers Description
checkQueued(type, printId)   Checks if a job with similar type and creation exists already
checkSuccess(type, printId)   Checks if a job with similar type and creation has succeeded already
create(data)   Creates and Saves an Entity
getAllFailed(type)   Finds all Failed jobs of the given type
getAllStalled(type)   Finds all Stalled jobs of the given type