Skip to content

Commit

Permalink
Added edited field to the image schema
Browse files Browse the repository at this point in the history
refs [ENG-1260](https://linear.app/tryghost/issue/ENG-1260/πŸ”’-redacting-pictures-in-pintura-leaves-easily-findable-original-image)

Added `edited` field to the image schema to track if an image uploaded is a
new image or an edited version of an existing image
  • Loading branch information
mike182uk committed Jul 10, 2024
1 parent fd0ad12 commit cfc9286
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/admin-api-schema/lib/schemas/images.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
"ref": {
"type": ["string", "null"],
"maxLength": 2000
},
"edited": {
"type": "string",
"enum": ["true", "false"],
"default": "false"
}
}
}
Expand Down

0 comments on commit cfc9286

Please sign in to comment.