Home > @infiniteobjects/models > RenderJobRepository
Render Job Repository
Signature:
export declare class RenderJobRepository extends Repository<RenderJobModel>
Extends: Repository<RenderJobModel>
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 |
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 |