Skip to content

Commit

Permalink
feat(transforms): Add safe for work and tags transform (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcholuj authored Jun 13, 2018
1 parent 1129fa6 commit ed0f4c6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/lib/api/transform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ export interface TransformOptions {
redeye?: boolean;
monochrome?: boolean;
negative?: boolean;
tags?: boolean;
sfw?: boolean;
resize?: {
width?: number;
height?: number;
Expand Down Expand Up @@ -526,6 +528,12 @@ const validationSchema: any[] = [
}, {
name: 'flop',
validator: t.Boolean,
}, {
name: 'tags',
validator: t.Boolean,
}, {
name: 'sfw',
validator: t.Boolean,
}, {
name: 'monochrome',
validator: t.Boolean,
Expand Down

0 comments on commit ed0f4c6

Please sign in to comment.