papr
papr copied to clipboard
Update type for `findOneAndUpdate` options
Currently we use the mongodb type for FindOneAndUpdateOptions options for findOneAndUpdate (https://github.com/plexinc/papr/blob/main/src/model.ts#L818)
However, a developer looking up the docs for these options will see returnDocument defaults to "before", while it defaults to "after" in papr