aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/moderation/block-status.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/moderation/block-status.model.ts')
-rw-r--r--shared/models/moderation/block-status.model.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/shared/models/moderation/block-status.model.ts b/shared/models/moderation/block-status.model.ts
new file mode 100644
index 000000000..597312757
--- /dev/null
+++ b/shared/models/moderation/block-status.model.ts
@@ -0,0 +1,15 @@
1export interface BlockStatus {
2 accounts: {
3 [ handle: string ]: {
4 blockedByServer: boolean
5 blockedByUser?: boolean
6 }
7 }
8
9 hosts: {
10 [ host: string ]: {
11 blockedByServer: boolean
12 blockedByUser?: boolean
13 }
14 }
15}