This PR brings in the backend models related to rejection reasons, so that any other work that needs to reference them may do so.
These changes will impact:
[ ] commenters
[ ] moderators
[ ] admins
[x] developers
What changes to the GraphQL/Database Schema does this PR introduce?
New types RejectionReason, REJECTION_REASON_CODE, CommentRejectionReasonInput were created. The model for CommentModerationAction was updated to include an optional field for reason.
Does this PR introduce any new environment variables or feature flags?
No.
If any indexes were added, were they added to INDEXES.md?
n/a
How do I test this PR?
npm test and npm run watch.
Where any tests migrated to React Testing Library?
What does this PR do?
This PR brings in the backend models related to rejection reasons, so that any other work that needs to reference them may do so.
These changes will impact:
What changes to the GraphQL/Database Schema does this PR introduce?
New types
RejectionReason
,REJECTION_REASON_CODE
,CommentRejectionReasonInput
were created. The model forCommentModerationAction
was updated to include an optional field forreason
.Does this PR introduce any new environment variables or feature flags?
No.
If any indexes were added, were they added to
INDEXES.md
?n/a
How do I test this PR?
npm test
andnpm run watch
.Where any tests migrated to React Testing Library?
No.
How do we deploy this PR?
No special considerations needed.