aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/moderation/abuse/abuse-state.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-07-01 16:05:30 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-07-10 14:02:41 +0200
commitd95d15598847c7f020aa056e7e6e0c02d2bbf732 (patch)
treea8a593f1269688caf9e5f99559996f346290fec5 /shared/models/moderation/abuse/abuse-state.model.ts
parent72493e44e9b455a04c4f093ed6c6ffa300b98d8b (diff)
downloadPeerTube-d95d15598847c7f020aa056e7e6e0c02d2bbf732.tar.gz
PeerTube-d95d15598847c7f020aa056e7e6e0c02d2bbf732.tar.zst
PeerTube-d95d15598847c7f020aa056e7e6e0c02d2bbf732.zip
Use 3 tables to represent abuses
Diffstat (limited to 'shared/models/moderation/abuse/abuse-state.model.ts')
-rw-r--r--shared/models/moderation/abuse/abuse-state.model.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/shared/models/moderation/abuse/abuse-state.model.ts b/shared/models/moderation/abuse/abuse-state.model.ts
new file mode 100644
index 000000000..b00cccad8
--- /dev/null
+++ b/shared/models/moderation/abuse/abuse-state.model.ts
@@ -0,0 +1,5 @@
1export enum AbuseState {
2 PENDING = 1,
3 REJECTED = 2,
4 ACCEPTED = 3
5}