Skip to content

Commit

Permalink
Add the "fail_if_gpu_rendering_fails" option
Browse files Browse the repository at this point in the history
  • Loading branch information
krasun committed Aug 13, 2024
1 parent f0fd564 commit 154357e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "screenshotone-validations",
"homepage": "https://screenshotone.com",
"version": "1.0.41",
"version": "1.0.42",
"description": "Validation schemes for the ScreenshotOne API requests.",
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ const commonOptionsScheme = Joi.object({
.default("by_format"),

request_gpu_rendering: Joi.boolean().default(false),
fail_if_gpu_rendering_fails: Joi.boolean().default(false),

// emulation
dark_mode: Joi.boolean().optional(),
Expand Down

0 comments on commit 154357e

Please sign in to comment.