@atproto/api
Advanced tools
Comparing version 0.6.10 to 0.6.11
@@ -1,2 +0,2 @@ | ||
import { BskyAgent } from "@atproto/api"; | ||
import { BskyAgent } from '@atproto/api' | ||
@@ -6,5 +6,5 @@ describe('Agent Benchmarks', () => { | ||
for (let i = 0; i < 10; i++) { | ||
new BskyAgent({ service: 'https://bsky.social' }); | ||
new BskyAgent({ service: 'https://bsky.social' }) | ||
} | ||
}) | ||
}) |
@@ -1,2 +0,1 @@ | ||
const pkgJson = require('@npmcli/package-json') | ||
const { nodeExternalsPlugin } = require('esbuild-node-externals') | ||
@@ -7,9 +6,2 @@ | ||
if (process.argv.includes('--update-main-to-dist')) { | ||
return pkgJson | ||
.load(__dirname) | ||
.then((pkg) => pkg.update({ main: 'dist/index.js' })) | ||
.then((pkg) => pkg.save()) | ||
} | ||
require('esbuild').build({ | ||
@@ -16,0 +8,0 @@ logLevel: 'info', |
@@ -209,5 +209,11 @@ [ | ||
"onwarn": "alert" | ||
}, | ||
{ | ||
"id": "misleading", | ||
"preferences": ["ignore", "warn", "hide"], | ||
"flags": [], | ||
"onwarn": "alert" | ||
} | ||
] | ||
} | ||
] | ||
] |
@@ -38,2 +38,2 @@ { | ||
} | ||
} | ||
} |
@@ -365,3 +365,17 @@ { | ||
} | ||
}, | ||
"misleading": { | ||
"settings": { | ||
"name": "Misleading", | ||
"description": "Accounts which share misleading information." | ||
}, | ||
"account": { | ||
"name": "Misleading", | ||
"description": "The moderators believe this account is spreading misleading information." | ||
}, | ||
"content": { | ||
"name": "Misleading", | ||
"description": "The moderators believe this account is spreading misleading information." | ||
} | ||
} | ||
} | ||
} |
@@ -38,2 +38,2 @@ { | ||
} | ||
} | ||
} |
@@ -632,2 +632,2 @@ { | ||
} | ||
} | ||
} |
@@ -1,11 +0,45 @@ | ||
{ | ||
"users": { | ||
"self": {"blocking": false, "blockedBy": false, "muted": false, "mutedByList": false}, | ||
"alice": {"blocking": false, "blockedBy": false, "muted": false, "mutedByList": false}, | ||
"bob": {"blocking": true, "blockedBy": false, "muted": false, "mutedByList": false}, | ||
"carla": {"blocking": false, "blockedBy": true, "muted": false, "mutedByList": false}, | ||
"dan": {"blocking": false, "blockedBy": false, "muted": true, "mutedByList": false}, | ||
"elise": {"blocking": false, "blockedBy": false, "muted": false, "mutedByList": true}, | ||
"fern": {"blocking": true, "blockedBy": true, "muted": false, "mutedByList": false} | ||
"self": { | ||
"blocking": false, | ||
"blockedBy": false, | ||
"muted": false, | ||
"mutedByList": false | ||
}, | ||
"alice": { | ||
"blocking": false, | ||
"blockedBy": false, | ||
"muted": false, | ||
"mutedByList": false | ||
}, | ||
"bob": { | ||
"blocking": true, | ||
"blockedBy": false, | ||
"muted": false, | ||
"mutedByList": false | ||
}, | ||
"carla": { | ||
"blocking": false, | ||
"blockedBy": true, | ||
"muted": false, | ||
"mutedByList": false | ||
}, | ||
"dan": { | ||
"blocking": false, | ||
"blockedBy": false, | ||
"muted": true, | ||
"mutedByList": false | ||
}, | ||
"elise": { | ||
"blocking": false, | ||
"blockedBy": false, | ||
"muted": false, | ||
"mutedByList": true | ||
}, | ||
"fern": { | ||
"blocking": true, | ||
"blockedBy": true, | ||
"muted": false, | ||
"mutedByList": false | ||
} | ||
}, | ||
@@ -18,42 +52,42 @@ "configurations": { | ||
"intolerant-hide": { | ||
"settings": {"intolerant": "hide"} | ||
"settings": { "intolerant": "hide" } | ||
}, | ||
"intolerant-warn": { | ||
"settings": {"intolerant": "warn"} | ||
"settings": { "intolerant": "warn" } | ||
}, | ||
"intolerant-ignore": { | ||
"settings": {"intolerant": "ignore"} | ||
"settings": { "intolerant": "ignore" } | ||
}, | ||
"porn-hide": { | ||
"adultContentEnabled": true, | ||
"settings": {"porn": "hide"} | ||
"settings": { "porn": "hide" } | ||
}, | ||
"porn-warn": { | ||
"adultContentEnabled": true, | ||
"settings": {"porn": "warn"} | ||
"settings": { "porn": "warn" } | ||
}, | ||
"porn-ignore": { | ||
"adultContentEnabled": true, | ||
"settings": {"porn": "ignore"} | ||
"settings": { "porn": "ignore" } | ||
}, | ||
"scam-hide": { | ||
"settings": {"scam": "hide"} | ||
"settings": { "scam": "hide" } | ||
}, | ||
"scam-warn": { | ||
"settings": {"scam": "warn"} | ||
"settings": { "scam": "warn" } | ||
}, | ||
"scam-ignore": { | ||
"settings": {"scam": "ignore"} | ||
"settings": { "scam": "ignore" } | ||
}, | ||
"porn-hide-intolerant-hide": { | ||
"adultContentEnabled": true, | ||
"settings": {"porn": "hide", "intolerant": "hide"} | ||
"settings": { "porn": "hide", "intolerant": "hide" } | ||
}, | ||
"porn-hide-intolerant-warn": { | ||
"adultContentEnabled": true, | ||
"settings": {"porn": "hide", "intolerant": "warn"} | ||
"settings": { "porn": "hide", "intolerant": "warn" } | ||
}, | ||
"porn-warn-intolerant-hide": { | ||
"adultContentEnabled": true, | ||
"settings": {"porn": "warn", "intolerant": "hide"} | ||
"settings": { "porn": "warn", "intolerant": "hide" } | ||
} | ||
@@ -66,5 +100,10 @@ }, | ||
"author": "alice", | ||
"labels": {"post": ["!hide"]}, | ||
"labels": { "post": ["!hide"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:!hide", "filter": true, "blur": true, "noOverride": true} | ||
"content": { | ||
"cause": "label:!hide", | ||
"filter": true, | ||
"blur": true, | ||
"noOverride": true | ||
} | ||
} | ||
@@ -76,5 +115,5 @@ }, | ||
"author": "alice", | ||
"labels": {"profile": ["!hide"]}, | ||
"labels": { "profile": ["!hide"] }, | ||
"behaviors": { | ||
"avatar": {"cause": "label:!hide", "blur": true, "noOverride": true} | ||
"avatar": { "cause": "label:!hide", "blur": true, "noOverride": true } | ||
} | ||
@@ -86,6 +125,11 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["!hide"]}, | ||
"labels": { "account": ["!hide"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:!hide", "filter": true, "blur": true, "noOverride": true}, | ||
"avatar": {"cause": "label:!hide", "blur": true, "noOverride": true} | ||
"content": { | ||
"cause": "label:!hide", | ||
"filter": true, | ||
"blur": true, | ||
"noOverride": true | ||
}, | ||
"avatar": { "cause": "label:!hide", "blur": true, "noOverride": true } | ||
} | ||
@@ -98,6 +142,6 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedPost": ["!hide"]}, | ||
"labels": { "quotedPost": ["!hide"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:!hide", "filter": true}, | ||
"embed": {"cause": "label:!hide", "blur": true, "noOverride": true} | ||
"content": { "cause": "label:!hide", "filter": true }, | ||
"embed": { "cause": "label:!hide", "blur": true, "noOverride": true } | ||
} | ||
@@ -110,6 +154,6 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedAccount": ["!hide"]}, | ||
"labels": { "quotedAccount": ["!hide"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:!hide", "filter": true}, | ||
"embed": {"cause": "label:!hide", "blur": true, "noOverride": true} | ||
"content": { "cause": "label:!hide", "filter": true }, | ||
"embed": { "cause": "label:!hide", "blur": true, "noOverride": true } | ||
} | ||
@@ -122,5 +166,5 @@ }, | ||
"author": "alice", | ||
"labels": {"post": ["!no-promote"]}, | ||
"labels": { "post": ["!no-promote"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:!no-promote", "filter": true} | ||
"content": { "cause": "label:!no-promote", "filter": true } | ||
} | ||
@@ -132,3 +176,3 @@ }, | ||
"author": "alice", | ||
"labels": {"profile": ["!no-promote"]}, | ||
"labels": { "profile": ["!no-promote"] }, | ||
"behaviors": {} | ||
@@ -140,5 +184,5 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["!no-promote"]}, | ||
"labels": { "account": ["!no-promote"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:!no-promote", "filter": true} | ||
"content": { "cause": "label:!no-promote", "filter": true } | ||
} | ||
@@ -151,5 +195,5 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedPost": ["!no-promote"]}, | ||
"labels": { "quotedPost": ["!no-promote"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:!no-promote", "filter": true} | ||
"content": { "cause": "label:!no-promote", "filter": true } | ||
} | ||
@@ -162,5 +206,5 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedAccount": ["!no-promote"]}, | ||
"labels": { "quotedAccount": ["!no-promote"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:!no-promote", "filter": true} | ||
"content": { "cause": "label:!no-promote", "filter": true } | ||
} | ||
@@ -173,5 +217,5 @@ }, | ||
"author": "alice", | ||
"labels": {"post": ["!warn"]}, | ||
"labels": { "post": ["!warn"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:!warn", "blur": true} | ||
"content": { "cause": "label:!warn", "blur": true } | ||
} | ||
@@ -183,5 +227,5 @@ }, | ||
"author": "alice", | ||
"labels": {"profile": ["!warn"]}, | ||
"labels": { "profile": ["!warn"] }, | ||
"behaviors": { | ||
"avatar": {"blur": true} | ||
"avatar": { "blur": true } | ||
} | ||
@@ -193,6 +237,6 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["!warn"]}, | ||
"labels": { "account": ["!warn"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:!warn", "blur": true}, | ||
"avatar": {"blur": true} | ||
"content": { "cause": "label:!warn", "blur": true }, | ||
"avatar": { "blur": true } | ||
} | ||
@@ -205,5 +249,5 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedPost": ["!warn"]}, | ||
"labels": { "quotedPost": ["!warn"] }, | ||
"behaviors": { | ||
"embed": {"cause": "label:!warn", "blur": true} | ||
"embed": { "cause": "label:!warn", "blur": true } | ||
} | ||
@@ -216,5 +260,5 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedAccount": ["!warn"]}, | ||
"labels": { "quotedAccount": ["!warn"] }, | ||
"behaviors": { | ||
"embed": {"cause": "label:!warn", "blur": true} | ||
"embed": { "cause": "label:!warn", "blur": true } | ||
} | ||
@@ -227,5 +271,5 @@ }, | ||
"author": "alice", | ||
"labels": {"post": ["intolerant"]}, | ||
"labels": { "post": ["intolerant"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:intolerant", "filter": true, "blur": true} | ||
"content": { "cause": "label:intolerant", "filter": true, "blur": true } | ||
} | ||
@@ -237,5 +281,5 @@ }, | ||
"author": "alice", | ||
"labels": {"profile": ["intolerant"]}, | ||
"labels": { "profile": ["intolerant"] }, | ||
"behaviors": { | ||
"avatar": {"blur": true} | ||
"avatar": { "blur": true } | ||
} | ||
@@ -247,6 +291,10 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["intolerant"]}, | ||
"labels": { "account": ["intolerant"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:intolerant", "filter": true, "blur": true}, | ||
"avatar": {"blur": true} | ||
"content": { | ||
"cause": "label:intolerant", | ||
"filter": true, | ||
"blur": true | ||
}, | ||
"avatar": { "blur": true } | ||
} | ||
@@ -259,6 +307,6 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedPost": ["intolerant"]}, | ||
"labels": { "quotedPost": ["intolerant"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:intolerant", "filter": true}, | ||
"embed": {"cause": "label:intolerant", "blur": true} | ||
"content": { "cause": "label:intolerant", "filter": true }, | ||
"embed": { "cause": "label:intolerant", "blur": true } | ||
} | ||
@@ -271,6 +319,6 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedAccount": ["intolerant"]}, | ||
"labels": { "quotedAccount": ["intolerant"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:intolerant", "filter": true}, | ||
"embed": {"cause": "label:intolerant", "blur": true} | ||
"content": { "cause": "label:intolerant", "filter": true }, | ||
"embed": { "cause": "label:intolerant", "blur": true } | ||
} | ||
@@ -283,5 +331,5 @@ }, | ||
"author": "alice", | ||
"labels": {"post": ["intolerant"]}, | ||
"labels": { "post": ["intolerant"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:intolerant", "blur": true} | ||
"content": { "cause": "label:intolerant", "blur": true } | ||
} | ||
@@ -293,5 +341,5 @@ }, | ||
"author": "alice", | ||
"labels": {"profile": ["intolerant"]}, | ||
"labels": { "profile": ["intolerant"] }, | ||
"behaviors": { | ||
"avatar": {"blur": true} | ||
"avatar": { "blur": true } | ||
} | ||
@@ -303,6 +351,6 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["intolerant"]}, | ||
"labels": { "account": ["intolerant"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:intolerant", "blur": true}, | ||
"avatar": {"blur": true} | ||
"content": { "cause": "label:intolerant", "blur": true }, | ||
"avatar": { "blur": true } | ||
} | ||
@@ -315,5 +363,5 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedPost": ["intolerant"]}, | ||
"labels": { "quotedPost": ["intolerant"] }, | ||
"behaviors": { | ||
"embed": {"cause": "label:intolerant", "blur": true} | ||
"embed": { "cause": "label:intolerant", "blur": true } | ||
} | ||
@@ -326,5 +374,5 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedPost": ["intolerant"]}, | ||
"labels": { "quotedPost": ["intolerant"] }, | ||
"behaviors": { | ||
"embed": {"cause": "label:intolerant", "blur": true} | ||
"embed": { "cause": "label:intolerant", "blur": true } | ||
} | ||
@@ -337,3 +385,3 @@ }, | ||
"author": "alice", | ||
"labels": {"post": ["intolerant"]}, | ||
"labels": { "post": ["intolerant"] }, | ||
"behaviors": {} | ||
@@ -345,3 +393,3 @@ }, | ||
"author": "alice", | ||
"labels": {"profile": ["intolerant"]}, | ||
"labels": { "profile": ["intolerant"] }, | ||
"behaviors": {} | ||
@@ -353,3 +401,3 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["intolerant"]}, | ||
"labels": { "account": ["intolerant"] }, | ||
"behaviors": {} | ||
@@ -362,3 +410,3 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedPost": ["intolerant"]}, | ||
"labels": { "quotedPost": ["intolerant"] }, | ||
"behaviors": {} | ||
@@ -371,3 +419,3 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedAccount": ["intolerant"]}, | ||
"labels": { "quotedAccount": ["intolerant"] }, | ||
"behaviors": {} | ||
@@ -380,6 +428,6 @@ }, | ||
"author": "alice", | ||
"labels": {"post": ["porn"]}, | ||
"labels": { "post": ["porn"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:porn", "filter": true}, | ||
"embed": {"cause": "label:porn", "blur": true} | ||
"content": { "cause": "label:porn", "filter": true }, | ||
"embed": { "cause": "label:porn", "blur": true } | ||
} | ||
@@ -391,5 +439,5 @@ }, | ||
"author": "alice", | ||
"labels": {"profile": ["porn"]}, | ||
"labels": { "profile": ["porn"] }, | ||
"behaviors": { | ||
"avatar": {"blur": true} | ||
"avatar": { "blur": true } | ||
} | ||
@@ -401,7 +449,7 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["porn"]}, | ||
"labels": { "account": ["porn"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:porn", "filter": true}, | ||
"avatar": {"blur": true}, | ||
"embed": {"cause": "label:porn", "blur": true} | ||
"content": { "cause": "label:porn", "filter": true }, | ||
"avatar": { "blur": true }, | ||
"embed": { "cause": "label:porn", "blur": true } | ||
} | ||
@@ -414,6 +462,6 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedPost": ["porn"]}, | ||
"labels": { "quotedPost": ["porn"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:porn", "filter": true}, | ||
"embed": {"cause": "label:porn", "blur": true} | ||
"content": { "cause": "label:porn", "filter": true }, | ||
"embed": { "cause": "label:porn", "blur": true } | ||
} | ||
@@ -426,5 +474,5 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedAccount": ["porn"]}, | ||
"labels": { "quotedAccount": ["porn"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:porn", "filter": true} | ||
"content": { "cause": "label:porn", "filter": true } | ||
} | ||
@@ -437,5 +485,5 @@ }, | ||
"author": "alice", | ||
"labels": {"post": ["porn"]}, | ||
"labels": { "post": ["porn"] }, | ||
"behaviors": { | ||
"embed": {"cause": "label:porn", "blur": true} | ||
"embed": { "cause": "label:porn", "blur": true } | ||
} | ||
@@ -447,5 +495,5 @@ }, | ||
"author": "alice", | ||
"labels": {"profile": ["porn"]}, | ||
"labels": { "profile": ["porn"] }, | ||
"behaviors": { | ||
"avatar": {"blur": true} | ||
"avatar": { "blur": true } | ||
} | ||
@@ -457,6 +505,6 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["porn"]}, | ||
"labels": { "account": ["porn"] }, | ||
"behaviors": { | ||
"avatar": {"blur": true}, | ||
"embed": {"cause": "label:porn", "blur": true} | ||
"avatar": { "blur": true }, | ||
"embed": { "cause": "label:porn", "blur": true } | ||
} | ||
@@ -469,5 +517,5 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedPost": ["porn"]}, | ||
"labels": { "quotedPost": ["porn"] }, | ||
"behaviors": { | ||
"embed": {"cause": "label:porn", "blur": true} | ||
"embed": { "cause": "label:porn", "blur": true } | ||
} | ||
@@ -480,5 +528,4 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedAccount": ["porn"]}, | ||
"behaviors": { | ||
} | ||
"labels": { "quotedAccount": ["porn"] }, | ||
"behaviors": {} | ||
}, | ||
@@ -490,3 +537,3 @@ | ||
"author": "alice", | ||
"labels": {"post": ["porn"]}, | ||
"labels": { "post": ["porn"] }, | ||
"behaviors": {} | ||
@@ -498,3 +545,3 @@ }, | ||
"author": "alice", | ||
"labels": {"profile": ["porn"]}, | ||
"labels": { "profile": ["porn"] }, | ||
"behaviors": {} | ||
@@ -506,3 +553,3 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["porn"]}, | ||
"labels": { "account": ["porn"] }, | ||
"behaviors": {} | ||
@@ -515,3 +562,3 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedPost": ["porn"]}, | ||
"labels": { "quotedPost": ["porn"] }, | ||
"behaviors": {} | ||
@@ -524,3 +571,3 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedAccount": ["porn"]}, | ||
"labels": { "quotedAccount": ["porn"] }, | ||
"behaviors": {} | ||
@@ -533,5 +580,5 @@ }, | ||
"author": "alice", | ||
"labels": {"post": ["scam"]}, | ||
"labels": { "post": ["scam"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:scam", "filter": true, "alert": true} | ||
"content": { "cause": "label:scam", "filter": true, "alert": true } | ||
} | ||
@@ -543,5 +590,5 @@ }, | ||
"author": "alice", | ||
"labels": {"profile": ["scam"]}, | ||
"labels": { "profile": ["scam"] }, | ||
"behaviors": { | ||
"avatar": {"alert": true} | ||
"avatar": { "alert": true } | ||
} | ||
@@ -553,6 +600,6 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["scam"]}, | ||
"labels": { "account": ["scam"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:scam", "filter": true, "alert": true}, | ||
"avatar": {"alert": true} | ||
"content": { "cause": "label:scam", "filter": true, "alert": true }, | ||
"avatar": { "alert": true } | ||
} | ||
@@ -565,6 +612,6 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedPost": ["scam"]}, | ||
"labels": { "quotedPost": ["scam"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:scam", "filter": true}, | ||
"embed": {"cause": "label:scam", "alert": true} | ||
"content": { "cause": "label:scam", "filter": true }, | ||
"embed": { "cause": "label:scam", "alert": true } | ||
} | ||
@@ -577,6 +624,6 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedAccount": ["scam"]}, | ||
"labels": { "quotedAccount": ["scam"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:scam", "filter": true}, | ||
"embed": {"cause": "label:scam", "alert": true} | ||
"content": { "cause": "label:scam", "filter": true }, | ||
"embed": { "cause": "label:scam", "alert": true } | ||
} | ||
@@ -589,5 +636,5 @@ }, | ||
"author": "alice", | ||
"labels": {"post": ["scam"]}, | ||
"labels": { "post": ["scam"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:scam", "alert": true} | ||
"content": { "cause": "label:scam", "alert": true } | ||
} | ||
@@ -599,5 +646,5 @@ }, | ||
"author": "alice", | ||
"labels": {"profile": ["scam"]}, | ||
"labels": { "profile": ["scam"] }, | ||
"behaviors": { | ||
"avatar": {"alert": true} | ||
"avatar": { "alert": true } | ||
} | ||
@@ -609,6 +656,6 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["scam"]}, | ||
"labels": { "account": ["scam"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:scam", "alert": true}, | ||
"avatar": {"alert": true} | ||
"content": { "cause": "label:scam", "alert": true }, | ||
"avatar": { "alert": true } | ||
} | ||
@@ -621,5 +668,5 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedPost": ["scam"]}, | ||
"labels": { "quotedPost": ["scam"] }, | ||
"behaviors": { | ||
"embed": {"cause": "label:scam", "alert": true} | ||
"embed": { "cause": "label:scam", "alert": true } | ||
} | ||
@@ -632,5 +679,5 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedAccount": ["scam"]}, | ||
"labels": { "quotedAccount": ["scam"] }, | ||
"behaviors": { | ||
"embed": {"cause": "label:scam", "alert": true} | ||
"embed": { "cause": "label:scam", "alert": true } | ||
} | ||
@@ -643,3 +690,3 @@ }, | ||
"author": "alice", | ||
"labels": {"post": ["scam"]}, | ||
"labels": { "post": ["scam"] }, | ||
"behaviors": {} | ||
@@ -651,3 +698,3 @@ }, | ||
"author": "alice", | ||
"labels": {"profile": ["scam"]}, | ||
"labels": { "profile": ["scam"] }, | ||
"behaviors": {} | ||
@@ -659,3 +706,3 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["scam"]}, | ||
"labels": { "account": ["scam"] }, | ||
"behaviors": {} | ||
@@ -668,3 +715,3 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedPost": ["scam"]}, | ||
"labels": { "quotedPost": ["scam"] }, | ||
"behaviors": {} | ||
@@ -677,3 +724,3 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedAccount": ["scam"]}, | ||
"labels": { "quotedAccount": ["scam"] }, | ||
"behaviors": {} | ||
@@ -686,6 +733,10 @@ }, | ||
"author": "alice", | ||
"labels": {"post": ["porn"]}, | ||
"labels": { "post": ["porn"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:porn", "filter": true, "noOverride": true}, | ||
"embed": {"cause": "label:porn", "blur": true, "noOverride": true} | ||
"content": { | ||
"cause": "label:porn", | ||
"filter": true, | ||
"noOverride": true | ||
}, | ||
"embed": { "cause": "label:porn", "blur": true, "noOverride": true } | ||
} | ||
@@ -697,5 +748,5 @@ }, | ||
"author": "alice", | ||
"labels": {"profile": ["porn"]}, | ||
"labels": { "profile": ["porn"] }, | ||
"behaviors": { | ||
"avatar": {"cause": "label:porn", "blur": true, "noOverride": true} | ||
"avatar": { "cause": "label:porn", "blur": true, "noOverride": true } | ||
} | ||
@@ -707,7 +758,11 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["porn"]}, | ||
"labels": { "account": ["porn"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:porn", "filter": true, "noOverride": true}, | ||
"avatar": {"cause": "label:porn", "blur": true, "noOverride": true}, | ||
"embed": {"cause": "label:porn", "blur": true, "noOverride": true} | ||
"content": { | ||
"cause": "label:porn", | ||
"filter": true, | ||
"noOverride": true | ||
}, | ||
"avatar": { "cause": "label:porn", "blur": true, "noOverride": true }, | ||
"embed": { "cause": "label:porn", "blur": true, "noOverride": true } | ||
} | ||
@@ -720,6 +775,6 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedPost": ["porn"]}, | ||
"labels": { "quotedPost": ["porn"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:porn", "filter": true}, | ||
"embed": {"cause": "label:porn", "blur": true, "noOverride": true} | ||
"content": { "cause": "label:porn", "filter": true }, | ||
"embed": { "cause": "label:porn", "blur": true, "noOverride": true } | ||
} | ||
@@ -732,5 +787,5 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedAccount": ["porn"]}, | ||
"labels": { "quotedAccount": ["porn"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:porn", "filter": true} | ||
"content": { "cause": "label:porn", "filter": true } | ||
} | ||
@@ -743,5 +798,5 @@ }, | ||
"author": "self", | ||
"labels": {"post": ["!hide"]}, | ||
"labels": { "post": ["!hide"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:!hide", "blur": true} | ||
"content": { "cause": "label:!hide", "blur": true } | ||
} | ||
@@ -753,3 +808,3 @@ }, | ||
"author": "self", | ||
"labels": {"profile": ["!hide"]}, | ||
"labels": { "profile": ["!hide"] }, | ||
"behaviors": {} | ||
@@ -761,3 +816,3 @@ }, | ||
"author": "self", | ||
"labels": {"account": ["!hide"]}, | ||
"labels": { "account": ["!hide"] }, | ||
"behaviors": {} | ||
@@ -770,5 +825,5 @@ }, | ||
"quoteAuthor": "self", | ||
"labels": {"quotedPost": ["!hide"]}, | ||
"labels": { "quotedPost": ["!hide"] }, | ||
"behaviors": { | ||
"embed": {"cause": "label:!hide", "blur": true} | ||
"embed": { "cause": "label:!hide", "blur": true } | ||
} | ||
@@ -781,3 +836,3 @@ }, | ||
"quoteAuthor": "self", | ||
"labels": {"quotedAccount": ["!hide"]}, | ||
"labels": { "quotedAccount": ["!hide"] }, | ||
"behaviors": {} | ||
@@ -790,5 +845,5 @@ }, | ||
"author": "self", | ||
"labels": {"post": ["!warn"]}, | ||
"labels": { "post": ["!warn"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:!warn", "blur": true} | ||
"content": { "cause": "label:!warn", "blur": true } | ||
} | ||
@@ -800,3 +855,3 @@ }, | ||
"author": "self", | ||
"labels": {"profile": ["!warn"]}, | ||
"labels": { "profile": ["!warn"] }, | ||
"behaviors": {} | ||
@@ -808,3 +863,3 @@ }, | ||
"author": "self", | ||
"labels": {"account": ["!warn"]}, | ||
"labels": { "account": ["!warn"] }, | ||
"behaviors": {} | ||
@@ -817,5 +872,5 @@ }, | ||
"quoteAuthor": "self", | ||
"labels": {"quotedPost": ["!warn"]}, | ||
"labels": { "quotedPost": ["!warn"] }, | ||
"behaviors": { | ||
"embed": {"cause": "label:!warn", "blur": true} | ||
"embed": { "cause": "label:!warn", "blur": true } | ||
} | ||
@@ -828,3 +883,3 @@ }, | ||
"quoteAuthor": "self", | ||
"labels": {"quotedAccount": ["!warn"]}, | ||
"labels": { "quotedAccount": ["!warn"] }, | ||
"behaviors": {} | ||
@@ -837,5 +892,5 @@ }, | ||
"author": "self", | ||
"labels": {"post": ["porn"]}, | ||
"labels": { "post": ["porn"] }, | ||
"behaviors": { | ||
"embed": {"cause": "label:porn", "blur": true} | ||
"embed": { "cause": "label:porn", "blur": true } | ||
} | ||
@@ -847,5 +902,4 @@ }, | ||
"author": "self", | ||
"labels": {"profile": ["porn"]}, | ||
"behaviors": { | ||
} | ||
"labels": { "profile": ["porn"] }, | ||
"behaviors": {} | ||
}, | ||
@@ -856,5 +910,4 @@ "Self-post: Blur-media label ('porn') on author account (hide)": { | ||
"author": "self", | ||
"labels": {"account": ["porn"]}, | ||
"behaviors": { | ||
} | ||
"labels": { "account": ["porn"] }, | ||
"behaviors": {} | ||
}, | ||
@@ -866,5 +919,5 @@ "Self-post: Blur-media label ('porn') on quoted post (hide)": { | ||
"quoteAuthor": "self", | ||
"labels": {"quotedPost": ["porn"]}, | ||
"labels": { "quotedPost": ["porn"] }, | ||
"behaviors": { | ||
"embed": {"cause": "label:porn", "blur": true} | ||
"embed": { "cause": "label:porn", "blur": true } | ||
} | ||
@@ -877,5 +930,4 @@ }, | ||
"quoteAuthor": "self", | ||
"labels": {"quotedAccount": ["porn"]}, | ||
"behaviors": { | ||
} | ||
"labels": { "quotedAccount": ["porn"] }, | ||
"behaviors": {} | ||
}, | ||
@@ -887,5 +939,5 @@ | ||
"author": "self", | ||
"labels": {"post": ["porn"]}, | ||
"labels": { "post": ["porn"] }, | ||
"behaviors": { | ||
"embed": {"cause": "label:porn", "blur": true} | ||
"embed": { "cause": "label:porn", "blur": true } | ||
} | ||
@@ -897,5 +949,4 @@ }, | ||
"author": "self", | ||
"labels": {"profile": ["porn"]}, | ||
"behaviors": { | ||
} | ||
"labels": { "profile": ["porn"] }, | ||
"behaviors": {} | ||
}, | ||
@@ -906,5 +957,4 @@ "Self-post: Blur-media label ('porn') on author account (warn)": { | ||
"author": "self", | ||
"labels": {"account": ["porn"]}, | ||
"behaviors": { | ||
} | ||
"labels": { "account": ["porn"] }, | ||
"behaviors": {} | ||
}, | ||
@@ -916,5 +966,5 @@ "Self-post: Blur-media label ('porn') on quoted post (warn)": { | ||
"quoteAuthor": "self", | ||
"labels": {"quotedPost": ["porn"]}, | ||
"labels": { "quotedPost": ["porn"] }, | ||
"behaviors": { | ||
"embed": {"cause": "label:porn", "blur": true} | ||
"embed": { "cause": "label:porn", "blur": true } | ||
} | ||
@@ -927,5 +977,4 @@ }, | ||
"quoteAuthor": "self", | ||
"labels": {"quotedAccount": ["porn"]}, | ||
"behaviors": { | ||
} | ||
"labels": { "quotedAccount": ["porn"] }, | ||
"behaviors": {} | ||
}, | ||
@@ -939,4 +988,9 @@ | ||
"behaviors": { | ||
"content": {"cause": "blocking", "filter": true, "blur": true, "noOverride": true}, | ||
"avatar": {"blur": true, "noOverride": true} | ||
"content": { | ||
"cause": "blocking", | ||
"filter": true, | ||
"blur": true, | ||
"noOverride": true | ||
}, | ||
"avatar": { "blur": true, "noOverride": true } | ||
} | ||
@@ -951,4 +1005,4 @@ }, | ||
"behaviors": { | ||
"content": {"cause": "blocking", "filter": true}, | ||
"embed": {"cause": "blocking", "blur": true, "noOverride": true} | ||
"content": { "cause": "blocking", "filter": true }, | ||
"embed": { "cause": "blocking", "blur": true, "noOverride": true } | ||
} | ||
@@ -963,4 +1017,9 @@ }, | ||
"behaviors": { | ||
"content": {"cause": "blocked-by", "filter": true, "blur": true, "noOverride": true}, | ||
"avatar": {"blur": true, "noOverride": true} | ||
"content": { | ||
"cause": "blocked-by", | ||
"filter": true, | ||
"blur": true, | ||
"noOverride": true | ||
}, | ||
"avatar": { "blur": true, "noOverride": true } | ||
} | ||
@@ -975,4 +1034,4 @@ }, | ||
"behaviors": { | ||
"content": {"cause": "blocked-by", "filter": true}, | ||
"embed": {"cause": "blocked-by", "blur": true, "noOverride": true} | ||
"content": { "cause": "blocked-by", "filter": true }, | ||
"embed": { "cause": "blocked-by", "blur": true, "noOverride": true } | ||
} | ||
@@ -987,3 +1046,3 @@ }, | ||
"behaviors": { | ||
"content": {"cause": "muted", "filter": true, "blur": true} | ||
"content": { "cause": "muted", "filter": true, "blur": true } | ||
} | ||
@@ -998,4 +1057,4 @@ }, | ||
"behaviors": { | ||
"content": {"cause": "muted", "filter": true}, | ||
"embed": {"cause": "muted", "blur": true} | ||
"content": { "cause": "muted", "filter": true }, | ||
"embed": { "cause": "muted", "blur": true } | ||
} | ||
@@ -1010,3 +1069,3 @@ }, | ||
"behaviors": { | ||
"content": {"cause": "muted-by-list", "filter": true, "blur": true} | ||
"content": { "cause": "muted-by-list", "filter": true, "blur": true } | ||
} | ||
@@ -1021,4 +1080,4 @@ }, | ||
"behaviors": { | ||
"content": {"cause": "muted-by-list", "filter": true}, | ||
"embed": {"cause": "muted-by-list", "blur": true} | ||
"content": { "cause": "muted-by-list", "filter": true }, | ||
"embed": { "cause": "muted-by-list", "blur": true } | ||
} | ||
@@ -1033,4 +1092,9 @@ }, | ||
"behaviors": { | ||
"content": {"cause": "blocking", "filter": true, "blur": true, "noOverride": true}, | ||
"avatar": {"blur": true, "noOverride": true} | ||
"content": { | ||
"cause": "blocking", | ||
"filter": true, | ||
"blur": true, | ||
"noOverride": true | ||
}, | ||
"avatar": { "blur": true, "noOverride": true } | ||
} | ||
@@ -1045,4 +1109,4 @@ }, | ||
"behaviors": { | ||
"content": {"cause": "blocking", "filter": true}, | ||
"embed": {"cause": "blocking", "blur": true, "noOverride": true} | ||
"content": { "cause": "blocking", "filter": true }, | ||
"embed": { "cause": "blocking", "blur": true, "noOverride": true } | ||
} | ||
@@ -1054,6 +1118,11 @@ }, | ||
"author": "bob", | ||
"labels": {"post": ["!hide"]}, | ||
"labels": { "post": ["!hide"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:!hide", "filter": true, "blur": true, "noOverride": true}, | ||
"avatar": {"blur": true, "noOverride": true} | ||
"content": { | ||
"cause": "label:!hide", | ||
"filter": true, | ||
"blur": true, | ||
"noOverride": true | ||
}, | ||
"avatar": { "blur": true, "noOverride": true } | ||
} | ||
@@ -1066,7 +1135,12 @@ }, | ||
"quoteAuthor": "alice", | ||
"labels": {"quotedPost": ["!hide"]}, | ||
"labels": { "quotedPost": ["!hide"] }, | ||
"behaviors": { | ||
"content": {"cause": "blocking", "filter": true, "blur": true, "noOverride": true}, | ||
"avatar": {"blur": true, "noOverride": true}, | ||
"embed": {"cause": "label:!hide", "blur": true, "noOverride": true} | ||
"content": { | ||
"cause": "blocking", | ||
"filter": true, | ||
"blur": true, | ||
"noOverride": true | ||
}, | ||
"avatar": { "blur": true, "noOverride": true }, | ||
"embed": { "cause": "label:!hide", "blur": true, "noOverride": true } | ||
} | ||
@@ -1078,5 +1152,10 @@ }, | ||
"author": "alice", | ||
"labels": {"post": ["!hide", "intolerant"]}, | ||
"labels": { "post": ["!hide", "intolerant"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:!hide", "filter": true, "blur": true, "noOverride": true} | ||
"content": { | ||
"cause": "label:!hide", | ||
"filter": true, | ||
"blur": true, | ||
"noOverride": true | ||
} | ||
} | ||
@@ -1088,5 +1167,5 @@ }, | ||
"author": "alice", | ||
"labels": {"post": ["!warn", "intolerant"]}, | ||
"labels": { "post": ["!warn", "intolerant"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:intolerant", "filter": true, "blur": true} | ||
"content": { "cause": "label:intolerant", "filter": true, "blur": true } | ||
} | ||
@@ -1098,5 +1177,10 @@ }, | ||
"author": "alice", | ||
"labels": {"post": ["!hide", "porn"]}, | ||
"labels": { "post": ["!hide", "porn"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:!hide", "filter": true, "blur": true, "noOverride": true} | ||
"content": { | ||
"cause": "label:!hide", | ||
"filter": true, | ||
"blur": true, | ||
"noOverride": true | ||
} | ||
} | ||
@@ -1108,9 +1192,9 @@ }, | ||
"author": "alice", | ||
"labels": {"post": ["!warn", "porn"]}, | ||
"labels": { "post": ["!warn", "porn"] }, | ||
"behaviors": { | ||
"content": {"cause": "label:porn", "filter": true}, | ||
"embed": {"cause": "label:porn", "blur": true} | ||
"content": { "cause": "label:porn", "filter": true }, | ||
"embed": { "cause": "label:porn", "blur": true } | ||
} | ||
} | ||
} | ||
} | ||
} |
@@ -1,11 +0,45 @@ | ||
{ | ||
"users": { | ||
"self": {"blocking": false, "blockedBy": false, "muted": false, "mutedByList": false}, | ||
"alice": {"blocking": false, "blockedBy": false, "muted": false, "mutedByList": false}, | ||
"bob": {"blocking": true, "blockedBy": false, "muted": false, "mutedByList": false}, | ||
"carla": {"blocking": false, "blockedBy": true, "muted": false, "mutedByList": false}, | ||
"dan": {"blocking": false, "blockedBy": false, "muted": true, "mutedByList": false}, | ||
"elise": {"blocking": false, "blockedBy": false, "muted": false, "mutedByList": true}, | ||
"fern": {"blocking": true, "blockedBy": true, "muted": false, "mutedByList": false} | ||
"self": { | ||
"blocking": false, | ||
"blockedBy": false, | ||
"muted": false, | ||
"mutedByList": false | ||
}, | ||
"alice": { | ||
"blocking": false, | ||
"blockedBy": false, | ||
"muted": false, | ||
"mutedByList": false | ||
}, | ||
"bob": { | ||
"blocking": true, | ||
"blockedBy": false, | ||
"muted": false, | ||
"mutedByList": false | ||
}, | ||
"carla": { | ||
"blocking": false, | ||
"blockedBy": true, | ||
"muted": false, | ||
"mutedByList": false | ||
}, | ||
"dan": { | ||
"blocking": false, | ||
"blockedBy": false, | ||
"muted": true, | ||
"mutedByList": false | ||
}, | ||
"elise": { | ||
"blocking": false, | ||
"blockedBy": false, | ||
"muted": false, | ||
"mutedByList": true | ||
}, | ||
"fern": { | ||
"blocking": true, | ||
"blockedBy": true, | ||
"muted": false, | ||
"mutedByList": false | ||
} | ||
}, | ||
@@ -18,33 +52,33 @@ "configurations": { | ||
"intolerant-hide": { | ||
"settings": {"intolerant": "hide"} | ||
"settings": { "intolerant": "hide" } | ||
}, | ||
"intolerant-warn": { | ||
"settings": {"intolerant": "warn"} | ||
"settings": { "intolerant": "warn" } | ||
}, | ||
"intolerant-ignore": { | ||
"settings": {"intolerant": "ignore"} | ||
"settings": { "intolerant": "ignore" } | ||
}, | ||
"porn-hide": { | ||
"adultContentEnabled": true, | ||
"settings": {"porn": "hide"} | ||
"settings": { "porn": "hide" } | ||
}, | ||
"porn-warn": { | ||
"adultContentEnabled": true, | ||
"settings": {"porn": "warn"} | ||
"settings": { "porn": "warn" } | ||
}, | ||
"porn-ignore": { | ||
"adultContentEnabled": true, | ||
"settings": {"porn": "ignore"} | ||
"settings": { "porn": "ignore" } | ||
}, | ||
"scam-hide": { | ||
"settings": {"scam": "hide"} | ||
"settings": { "scam": "hide" } | ||
}, | ||
"scam-warn": { | ||
"settings": {"scam": "warn"} | ||
"settings": { "scam": "warn" } | ||
}, | ||
"scam-ignore": { | ||
"settings": {"scam": "ignore"} | ||
"settings": { "scam": "ignore" } | ||
}, | ||
"intolerant-hide-scam-warn": { | ||
"settings": {"intolerant": "hide", "scam": "hide"} | ||
"settings": { "intolerant": "hide", "scam": "hide" } | ||
} | ||
@@ -57,6 +91,11 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["!hide"]}, | ||
"labels": { "account": ["!hide"] }, | ||
"behaviors": { | ||
"account": {"cause": "label:!hide", "filter": true, "blur": true, "noOverride": true}, | ||
"avatar": {"blur": true, "noOverride": true} | ||
"account": { | ||
"cause": "label:!hide", | ||
"filter": true, | ||
"blur": true, | ||
"noOverride": true | ||
}, | ||
"avatar": { "blur": true, "noOverride": true } | ||
} | ||
@@ -68,6 +107,6 @@ }, | ||
"author": "alice", | ||
"labels": {"profile": ["!hide"]}, | ||
"labels": { "profile": ["!hide"] }, | ||
"behaviors": { | ||
"profile": {"cause": "label:!hide", "blur": true, "noOverride": true}, | ||
"avatar": {"blur": true, "noOverride": true} | ||
"profile": { "cause": "label:!hide", "blur": true, "noOverride": true }, | ||
"avatar": { "blur": true, "noOverride": true } | ||
} | ||
@@ -80,5 +119,5 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["!no-promote"]}, | ||
"labels": { "account": ["!no-promote"] }, | ||
"behaviors": { | ||
"account": {"cause": "label:!no-promote", "filter": true} | ||
"account": { "cause": "label:!no-promote", "filter": true } | ||
} | ||
@@ -90,3 +129,3 @@ }, | ||
"author": "alice", | ||
"labels": {"profile": ["!no-promote"]}, | ||
"labels": { "profile": ["!no-promote"] }, | ||
"behaviors": {} | ||
@@ -99,6 +138,6 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["!warn"]}, | ||
"labels": { "account": ["!warn"] }, | ||
"behaviors": { | ||
"account": {"cause": "label:!warn", "blur": true}, | ||
"avatar": {"blur": true} | ||
"account": { "cause": "label:!warn", "blur": true }, | ||
"avatar": { "blur": true } | ||
} | ||
@@ -110,6 +149,6 @@ }, | ||
"author": "alice", | ||
"labels": {"profile": ["!warn"]}, | ||
"labels": { "profile": ["!warn"] }, | ||
"behaviors": { | ||
"profile": {"cause": "label:!warn", "blur": true}, | ||
"avatar": {"blur": true} | ||
"profile": { "cause": "label:!warn", "blur": true }, | ||
"avatar": { "blur": true } | ||
} | ||
@@ -122,6 +161,10 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["intolerant"]}, | ||
"labels": { "account": ["intolerant"] }, | ||
"behaviors": { | ||
"account": {"cause": "label:intolerant", "filter": true, "blur": true}, | ||
"avatar": {"blur": true} | ||
"account": { | ||
"cause": "label:intolerant", | ||
"filter": true, | ||
"blur": true | ||
}, | ||
"avatar": { "blur": true } | ||
} | ||
@@ -133,6 +176,6 @@ }, | ||
"author": "alice", | ||
"labels": {"profile": ["intolerant"]}, | ||
"labels": { "profile": ["intolerant"] }, | ||
"behaviors": { | ||
"profile": {"cause": "label:intolerant", "blur": true}, | ||
"avatar": {"blur": true} | ||
"profile": { "cause": "label:intolerant", "blur": true }, | ||
"avatar": { "blur": true } | ||
} | ||
@@ -145,6 +188,6 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["intolerant"]}, | ||
"labels": { "account": ["intolerant"] }, | ||
"behaviors": { | ||
"account": {"cause": "label:intolerant", "blur": true}, | ||
"avatar": {"blur": true} | ||
"account": { "cause": "label:intolerant", "blur": true }, | ||
"avatar": { "blur": true } | ||
} | ||
@@ -156,6 +199,6 @@ }, | ||
"author": "alice", | ||
"labels": {"profile": ["intolerant"]}, | ||
"labels": { "profile": ["intolerant"] }, | ||
"behaviors": { | ||
"profile": {"cause": "label:intolerant", "blur": true}, | ||
"avatar": {"blur": true} | ||
"profile": { "cause": "label:intolerant", "blur": true }, | ||
"avatar": { "blur": true } | ||
} | ||
@@ -168,3 +211,3 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["intolerant"]}, | ||
"labels": { "account": ["intolerant"] }, | ||
"behaviors": {} | ||
@@ -176,3 +219,3 @@ }, | ||
"author": "alice", | ||
"labels": {"profile": ["intolerant"]}, | ||
"labels": { "profile": ["intolerant"] }, | ||
"behaviors": {} | ||
@@ -185,6 +228,6 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["porn"]}, | ||
"labels": { "account": ["porn"] }, | ||
"behaviors": { | ||
"account": {"cause": "label:porn", "filter": true, "blur": true}, | ||
"avatar": {"blur": true} | ||
"account": { "cause": "label:porn", "filter": true, "blur": true }, | ||
"avatar": { "blur": true } | ||
} | ||
@@ -196,5 +239,5 @@ }, | ||
"author": "alice", | ||
"labels": {"profile": ["porn"]}, | ||
"labels": { "profile": ["porn"] }, | ||
"behaviors": { | ||
"avatar": {"blur": true} | ||
"avatar": { "blur": true } | ||
} | ||
@@ -207,6 +250,6 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["porn"]}, | ||
"labels": { "account": ["porn"] }, | ||
"behaviors": { | ||
"account": {"cause": "label:porn", "blur": true}, | ||
"avatar": {"blur": true} | ||
"account": { "cause": "label:porn", "blur": true }, | ||
"avatar": { "blur": true } | ||
} | ||
@@ -218,5 +261,5 @@ }, | ||
"author": "alice", | ||
"labels": {"profile": ["porn"]}, | ||
"labels": { "profile": ["porn"] }, | ||
"behaviors": { | ||
"avatar": {"blur": true} | ||
"avatar": { "blur": true } | ||
} | ||
@@ -229,3 +272,3 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["porn"]}, | ||
"labels": { "account": ["porn"] }, | ||
"behaviors": {} | ||
@@ -237,3 +280,3 @@ }, | ||
"author": "alice", | ||
"labels": {"profile": ["porn"]}, | ||
"labels": { "profile": ["porn"] }, | ||
"behaviors": {} | ||
@@ -246,6 +289,6 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["scam"]}, | ||
"labels": { "account": ["scam"] }, | ||
"behaviors": { | ||
"account": {"cause": "label:scam", "filter": true, "alert": true}, | ||
"avatar": {"alert": true} | ||
"account": { "cause": "label:scam", "filter": true, "alert": true }, | ||
"avatar": { "alert": true } | ||
} | ||
@@ -257,6 +300,6 @@ }, | ||
"author": "alice", | ||
"labels": {"profile": ["scam"]}, | ||
"labels": { "profile": ["scam"] }, | ||
"behaviors": { | ||
"profile": {"cause": "label:scam", "alert": true}, | ||
"avatar": {"alert": true} | ||
"profile": { "cause": "label:scam", "alert": true }, | ||
"avatar": { "alert": true } | ||
} | ||
@@ -269,6 +312,6 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["scam"]}, | ||
"labels": { "account": ["scam"] }, | ||
"behaviors": { | ||
"account": {"cause": "label:scam", "alert": true}, | ||
"avatar": {"alert": true} | ||
"account": { "cause": "label:scam", "alert": true }, | ||
"avatar": { "alert": true } | ||
} | ||
@@ -280,6 +323,6 @@ }, | ||
"author": "alice", | ||
"labels": {"profile": ["scam"]}, | ||
"labels": { "profile": ["scam"] }, | ||
"behaviors": { | ||
"profile": {"cause": "label:scam", "alert": true}, | ||
"avatar": {"alert": true} | ||
"profile": { "cause": "label:scam", "alert": true }, | ||
"avatar": { "alert": true } | ||
} | ||
@@ -292,3 +335,3 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["scam"]}, | ||
"labels": { "account": ["scam"] }, | ||
"behaviors": {} | ||
@@ -300,3 +343,3 @@ }, | ||
"author": "alice", | ||
"labels": {"profile": ["scam"]}, | ||
"labels": { "profile": ["scam"] }, | ||
"behaviors": {} | ||
@@ -309,6 +352,11 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["porn"]}, | ||
"labels": { "account": ["porn"] }, | ||
"behaviors": { | ||
"account": {"cause": "label:porn", "filter": true, "blur": true, "noOverride": true}, | ||
"avatar": {"blur": true, "noOverride": true} | ||
"account": { | ||
"cause": "label:porn", | ||
"filter": true, | ||
"blur": true, | ||
"noOverride": true | ||
}, | ||
"avatar": { "blur": true, "noOverride": true } | ||
} | ||
@@ -320,5 +368,5 @@ }, | ||
"author": "alice", | ||
"labels": {"profile": ["porn"]}, | ||
"labels": { "profile": ["porn"] }, | ||
"behaviors": { | ||
"avatar": {"blur": true, "noOverride": true} | ||
"avatar": { "blur": true, "noOverride": true } | ||
} | ||
@@ -331,6 +379,6 @@ }, | ||
"author": "self", | ||
"labels": {"account": ["!hide"]}, | ||
"labels": { "account": ["!hide"] }, | ||
"behaviors": { | ||
"account": {"cause": "label:!hide", "alert": true}, | ||
"avatar": {"alert": true} | ||
"account": { "cause": "label:!hide", "alert": true }, | ||
"avatar": { "alert": true } | ||
} | ||
@@ -342,6 +390,6 @@ }, | ||
"author": "self", | ||
"labels": {"profile": ["!hide"]}, | ||
"labels": { "profile": ["!hide"] }, | ||
"behaviors": { | ||
"profile": {"cause": "label:!hide", "alert": true}, | ||
"avatar": {"alert": true} | ||
"profile": { "cause": "label:!hide", "alert": true }, | ||
"avatar": { "alert": true } | ||
} | ||
@@ -356,4 +404,4 @@ }, | ||
"behaviors": { | ||
"account": {"cause": "blocking", "filter": true}, | ||
"avatar": {"blur": true, "noOverride": true} | ||
"account": { "cause": "blocking", "filter": true }, | ||
"avatar": { "blur": true, "noOverride": true } | ||
} | ||
@@ -368,4 +416,4 @@ }, | ||
"behaviors": { | ||
"account": {"cause": "blocked-by", "filter": true}, | ||
"avatar": {"blur": true, "noOverride": true} | ||
"account": { "cause": "blocked-by", "filter": true }, | ||
"avatar": { "blur": true, "noOverride": true } | ||
} | ||
@@ -380,3 +428,3 @@ }, | ||
"behaviors": { | ||
"account": {"cause": "muted", "filter": true} | ||
"account": { "cause": "muted", "filter": true } | ||
} | ||
@@ -391,3 +439,3 @@ }, | ||
"behaviors": { | ||
"account": {"cause": "muted-by-list", "filter": true} | ||
"account": { "cause": "muted-by-list", "filter": true } | ||
} | ||
@@ -402,4 +450,4 @@ }, | ||
"behaviors": { | ||
"account": {"cause": "blocking", "filter": true, "blur": false}, | ||
"avatar": {"blur": true, "noOverride": true} | ||
"account": { "cause": "blocking", "filter": true, "blur": false }, | ||
"avatar": { "blur": true, "noOverride": true } | ||
} | ||
@@ -411,6 +459,11 @@ }, | ||
"author": "bob", | ||
"labels": {"account": ["!hide"]}, | ||
"labels": { "account": ["!hide"] }, | ||
"behaviors": { | ||
"account": {"cause": "label:!hide", "filter": true, "blur": true, "noOverride": true}, | ||
"avatar": {"blur": true, "noOverride": true} | ||
"account": { | ||
"cause": "label:!hide", | ||
"filter": true, | ||
"blur": true, | ||
"noOverride": true | ||
}, | ||
"avatar": { "blur": true, "noOverride": true } | ||
} | ||
@@ -422,6 +475,11 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["!hide", "intolerant"]}, | ||
"labels": { "account": ["!hide", "intolerant"] }, | ||
"behaviors": { | ||
"account": {"cause": "label:!hide", "filter": true, "blur": true, "noOverride": true}, | ||
"avatar": {"blur": true, "noOverride": true} | ||
"account": { | ||
"cause": "label:!hide", | ||
"filter": true, | ||
"blur": true, | ||
"noOverride": true | ||
}, | ||
"avatar": { "blur": true, "noOverride": true } | ||
} | ||
@@ -433,6 +491,10 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["!warn", "intolerant"]}, | ||
"labels": { "account": ["!warn", "intolerant"] }, | ||
"behaviors": { | ||
"account": {"cause": "label:intolerant", "filter": true, "blur": true}, | ||
"avatar": {"blur": true} | ||
"account": { | ||
"cause": "label:intolerant", | ||
"filter": true, | ||
"blur": true | ||
}, | ||
"avatar": { "blur": true } | ||
} | ||
@@ -444,6 +506,6 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["!warn", "porn"]}, | ||
"labels": { "account": ["!warn", "porn"] }, | ||
"behaviors": { | ||
"account": {"cause": "label:porn", "filter": true, "blur": true}, | ||
"avatar": {"blur": true} | ||
"account": { "cause": "label:porn", "filter": true, "blur": true }, | ||
"avatar": { "blur": true } | ||
} | ||
@@ -455,7 +517,11 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["intolerant"], "profile": ["scam"]}, | ||
"labels": { "account": ["intolerant"], "profile": ["scam"] }, | ||
"behaviors": { | ||
"account": {"cause": "label:intolerant", "filter": true, "blur": true}, | ||
"profile": {"cause": "label:scam", "alert": true}, | ||
"avatar": {"blur": true, "alert": true} | ||
"account": { | ||
"cause": "label:intolerant", | ||
"filter": true, | ||
"blur": true | ||
}, | ||
"profile": { "cause": "label:scam", "alert": true }, | ||
"avatar": { "blur": true, "alert": true } | ||
} | ||
@@ -467,7 +533,12 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["!hide"], "profile": ["!warn"]}, | ||
"labels": { "account": ["!hide"], "profile": ["!warn"] }, | ||
"behaviors": { | ||
"account": {"cause": "label:!hide", "filter": true, "blur": true, "noOverride": true}, | ||
"profile": {"cause": "label:!warn", "blur": true}, | ||
"avatar": {"blur": true, "noOverride": true} | ||
"account": { | ||
"cause": "label:!hide", | ||
"filter": true, | ||
"blur": true, | ||
"noOverride": true | ||
}, | ||
"profile": { "cause": "label:!warn", "blur": true }, | ||
"avatar": { "blur": true, "noOverride": true } | ||
} | ||
@@ -479,10 +550,10 @@ }, | ||
"author": "alice", | ||
"labels": {"account": ["!warn"], "profile": ["!hide"]}, | ||
"labels": { "account": ["!warn"], "profile": ["!hide"] }, | ||
"behaviors": { | ||
"account": {"cause": "label:!warn", "blur": true}, | ||
"profile": {"cause": "label:!hide", "blur": true, "noOverride": true}, | ||
"avatar": {"blur": true, "noOverride": true} | ||
"account": { "cause": "label:!warn", "blur": true }, | ||
"profile": { "cause": "label:!hide", "blur": true, "noOverride": true }, | ||
"avatar": { "blur": true, "noOverride": true } | ||
} | ||
} | ||
} | ||
} | ||
} |
@@ -326,2 +326,2 @@ [ | ||
} | ||
] | ||
] |
@@ -56,3 +56,3 @@ import { ValidationResult } from '@atproto/lexicon'; | ||
export declare function validateViewerState(v: unknown): ValidationResult; | ||
export declare type Preferences = (AdultContentPref | ContentLabelPref | SavedFeedsPref | { | ||
export declare type Preferences = (AdultContentPref | ContentLabelPref | SavedFeedsPref | PersonalDetailsPref | { | ||
$type: string; | ||
@@ -81,1 +81,7 @@ [k: string]: unknown; | ||
export declare function validateSavedFeedsPref(v: unknown): ValidationResult; | ||
export interface PersonalDetailsPref { | ||
birthDate?: string; | ||
[k: string]: unknown; | ||
} | ||
export declare function isPersonalDetailsPref(v: unknown): v is PersonalDetailsPref; | ||
export declare function validatePersonalDetailsPref(v: unknown): ValidationResult; |
@@ -11,2 +11,3 @@ import { ValidationResult, BlobRef } from '@atproto/lexicon'; | ||
alt: string; | ||
aspectRatio?: AspectRatio; | ||
[k: string]: unknown; | ||
@@ -16,2 +17,9 @@ } | ||
export declare function validateImage(v: unknown): ValidationResult; | ||
export interface AspectRatio { | ||
width: number; | ||
height: number; | ||
[k: string]: unknown; | ||
} | ||
export declare function isAspectRatio(v: unknown): v is AspectRatio; | ||
export declare function validateAspectRatio(v: unknown): ValidationResult; | ||
export interface View { | ||
@@ -27,2 +35,3 @@ images: ViewImage[]; | ||
alt: string; | ||
aspectRatio?: AspectRatio; | ||
[k: string]: unknown; | ||
@@ -29,0 +38,0 @@ } |
<!-- this doc is generated by ./scripts/docs/labels.mjs --> | ||
# Labels | ||
This document is a reference for the labels used in the SDK. | ||
# Labels | ||
**⚠️ Note**: These labels are still in development and may change over time. Not all are currently in use. | ||
This document is a reference for the labels used in the SDK. | ||
## Key | ||
**⚠️ Note**: These labels are still in development and may change over time. Not all are currently in use. | ||
### Label Preferences | ||
## Key | ||
The possible client interpretations for a label. | ||
### Label Preferences | ||
- <code>ignore</code> Do nothing with the label. | ||
- <code>warn</code> Provide some form of warning on the content (see "On Warn" behavior). | ||
- <code>hide</code> Remove the content from feeds and apply the warning when directly viewed. | ||
The possible client interpretations for a label. | ||
Each label specifies which preferences it can support. If a label is not configurable, it must have only own supported preference. | ||
- <code>ignore</code> Do nothing with the label. | ||
- <code>warn</code> Provide some form of warning on the content (see "On Warn" behavior). | ||
- <code>hide</code> Remove the content from feeds and apply the warning when directly viewed. | ||
### Configurable? | ||
Each label specifies which preferences it can support. If a label is not configurable, it must have only own supported preference. | ||
Non-configurable labels cannot have their preference changed by the user. | ||
### Configurable? | ||
### Flags | ||
Non-configurable labels cannot have their preference changed by the user. | ||
Additional behaviors which a label can adopt. | ||
### Flags | ||
- <code>no-override</code> The user cannot click through any covering of content created by the label. | ||
- <code>adult</code> The user must have adult content enabled to configure the label. If adult content is not enabled, the label must adopt the strictest preference. | ||
Additional behaviors which a label can adopt. | ||
### On Warn | ||
- <code>no-override</code> The user cannot click through any covering of content created by the label. | ||
- <code>adult</code> The user must have adult content enabled to configure the label. If adult content is not enabled, the label must adopt the strictest preference. | ||
The kind of UI behavior used when a warning must be applied. | ||
### On Warn | ||
- <code>blur</code> Hide all of the content behind an interstitial. | ||
- <code>blur-media</code> Hide only the media within the content (ie images) behind an interstitial. | ||
- <code>alert</code> Display a descriptive warning but do not hide the content. | ||
- <code>null</code> Do nothing. | ||
The kind of UI behavior used when a warning must be applied. | ||
## Label Behaviors | ||
- <code>blur</code> Hide all of the content behind an interstitial. | ||
- <code>blur-media</code> Hide only the media within the content (ie images) behind an interstitial. | ||
- <code>alert</code> Display a descriptive warning but do not hide the content. | ||
- <code>null</code> Do nothing. | ||
## Label Behaviors | ||
<table> | ||
@@ -260,5 +260,13 @@ <tr> | ||
</tr> | ||
<tr> | ||
<td>misleading</td> | ||
<td>misinfo</td> | ||
<td>ignore, warn, hide</td> | ||
<td>✅</td> | ||
<td></td> | ||
<td>alert</td> | ||
</tr> | ||
</table> | ||
## Label Group Descriptions | ||
## Label Group Descriptions | ||
@@ -308,3 +316,3 @@ <table> | ||
## Label Descriptions | ||
## Label Descriptions | ||
@@ -524,2 +532,10 @@ <table> | ||
</tr> | ||
</table> | ||
<tr> | ||
<td>misleading</td> | ||
<td> | ||
<code>general</code><br><strong>Misleading</strong><br>Accounts which share misleading information.<br><br> | ||
<code>on an account</code><br><strong>Misleading</strong><br>The moderators believe this account is spreading misleading information.<br><br> | ||
<code>on content</code><br><strong>Misleading</strong><br>The moderators believe this account is spreading misleading information.<br><br> | ||
</td> | ||
</tr> | ||
</table> |
@@ -41,13 +41,8 @@ <!-- this doc is generated by ./scripts/docs/post-moderation-behaviors.mjs --> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -60,3 +55,2 @@ <td><strong>Imperative label ('!hide') on author profile</strong></td> | ||
</td> | ||
@@ -69,9 +63,5 @@ <td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -92,9 +82,5 @@ <td><strong>Imperative label ('!hide') on author account</strong></td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -107,7 +93,5 @@ <td><strong>Imperative label ('!hide') on quoted post</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -120,5 +104,2 @@ <td> | ||
<tr> | ||
@@ -131,7 +112,5 @@ <td><strong>Imperative label ('!hide') on quoted author account</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -144,5 +123,2 @@ <td> | ||
<tr> | ||
@@ -155,17 +131,11 @@ <td><strong>Imperative label ('!no-promote') on post</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -178,17 +148,11 @@ <td><strong>Imperative label ('!no-promote') on author profile</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -201,17 +165,11 @@ <td><strong>Imperative label ('!no-promote') on author account</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -224,17 +182,11 @@ <td><strong>Imperative label ('!no-promote') on quoted post</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -247,17 +199,11 @@ <td><strong>Imperative label ('!no-promote') on quoted author account</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -274,13 +220,8 @@ <td><strong>Imperative label ('!warn') on post</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -293,3 +234,2 @@ <td><strong>Imperative label ('!warn') on author profile</strong></td> | ||
</td> | ||
@@ -302,9 +242,5 @@ <td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -325,9 +261,5 @@ <td><strong>Imperative label ('!warn') on author account</strong></td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -340,7 +272,5 @@ <td><strong>Imperative label ('!warn') on quoted post</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -353,5 +283,2 @@ <td> | ||
<tr> | ||
@@ -364,7 +291,5 @@ <td><strong>Imperative label ('!warn') on quoted author account</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -377,4 +302,2 @@ <td> | ||
<tr><th>Scenario</th><th>Filter</th><th>Content</th><th>Avatar</th><th>Embed</th></tr> | ||
@@ -392,13 +315,8 @@ <tr> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -411,3 +329,2 @@ <td><strong>Blur label ('intolerant') on author profile (hide)</strong></td> | ||
</td> | ||
@@ -420,9 +337,5 @@ <td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -443,9 +356,5 @@ <td><strong>Blur label ('intolerant') on author account (hide)</strong></td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -458,7 +367,5 @@ <td><strong>Blur label ('intolerant') on quoted post (hide)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -471,5 +378,2 @@ <td> | ||
<tr> | ||
@@ -482,7 +386,5 @@ <td><strong>Blur label ('intolerant') on quoted author account (hide)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -495,5 +397,2 @@ <td> | ||
<tr> | ||
@@ -510,13 +409,8 @@ <td><strong>Blur label ('intolerant') on post (warn)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -529,3 +423,2 @@ <td><strong>Blur label ('intolerant') on author profile (warn)</strong></td> | ||
</td> | ||
@@ -538,9 +431,5 @@ <td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -561,9 +450,5 @@ <td><strong>Blur label ('intolerant') on author account (warn)</strong></td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -576,7 +461,5 @@ <td><strong>Blur label ('intolerant') on quoted post (warn)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -589,5 +472,2 @@ <td> | ||
<tr> | ||
@@ -600,7 +480,5 @@ <td><strong>Blur label ('intolerant') on quoted author account (warn)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -613,5 +491,2 @@ <td> | ||
<tr> | ||
@@ -624,17 +499,11 @@ <td><strong>Blur label ('intolerant') on post (ignore)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -647,17 +516,11 @@ <td><strong>Blur label ('intolerant') on author profile (ignore)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -670,17 +533,11 @@ <td><strong>Blur label ('intolerant') on author account (ignore)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -693,17 +550,11 @@ <td><strong>Blur label ('intolerant') on quoted post (ignore)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -716,16 +567,11 @@ <td><strong>Blur label ('intolerant') on quoted author account (ignore)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr><th>Scenario</th><th>Filter</th><th>Content</th><th>Avatar</th><th>Embed</th></tr> | ||
@@ -739,7 +585,5 @@ <tr> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -752,5 +596,2 @@ <td> | ||
<tr> | ||
@@ -763,3 +604,2 @@ <td><strong>Blur-media label ('porn') on author profile (hide)</strong></td> | ||
</td> | ||
@@ -772,9 +612,5 @@ <td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -787,3 +623,2 @@ <td><strong>Blur-media label ('porn') on author account (hide)</strong></td> | ||
</td> | ||
@@ -800,5 +635,2 @@ <td> | ||
<tr> | ||
@@ -811,7 +643,5 @@ <td><strong>Blur-media label ('porn') on quoted post (hide)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -824,5 +654,2 @@ <td> | ||
<tr> | ||
@@ -835,17 +662,11 @@ <td><strong>Blur-media label ('porn') on quoted author account (hide)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -858,7 +679,5 @@ <td><strong>Blur-media label ('porn') on post (warn)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -871,5 +690,2 @@ <td> | ||
<tr> | ||
@@ -882,3 +698,2 @@ <td><strong>Blur-media label ('porn') on author profile (warn)</strong></td> | ||
</td> | ||
@@ -891,9 +706,5 @@ <td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -906,3 +717,2 @@ <td><strong>Blur-media label ('porn') on author account (warn)</strong></td> | ||
</td> | ||
@@ -919,5 +729,2 @@ <td> | ||
<tr> | ||
@@ -930,7 +737,5 @@ <td><strong>Blur-media label ('porn') on quoted post (warn)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -943,5 +748,2 @@ <td> | ||
<tr> | ||
@@ -954,17 +756,11 @@ <td><strong>Blur-media label ('porn') on quoted author account (warn)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -977,17 +773,11 @@ <td><strong>Blur-media label ('porn') on post (ignore)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1000,17 +790,11 @@ <td><strong>Blur-media label ('porn') on author profile (ignore)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1023,17 +807,11 @@ <td><strong>Blur-media label ('porn') on author account (ignore)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1046,17 +824,11 @@ <td><strong>Blur-media label ('porn') on quoted post (ignore)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1069,16 +841,11 @@ <td><strong>Blur-media label ('porn') on quoted author account (ignore)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr><th>Scenario</th><th>Filter</th><th>Content</th><th>Avatar</th><th>Embed</th></tr> | ||
@@ -1093,16 +860,12 @@ <tr> | ||
🪧 | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1115,3 +878,2 @@ <td><strong>Notice label ('scam') on author profile (hide)</strong></td> | ||
</td> | ||
@@ -1121,12 +883,9 @@ <td> | ||
🪧 | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1140,2 +899,3 @@ <td><strong>Notice label ('scam') on author account (hide)</strong></td> | ||
🪧 | ||
</td> | ||
@@ -1145,12 +905,9 @@ <td> | ||
🪧 | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1163,7 +920,5 @@ <td><strong>Notice label ('scam') on quoted post (hide)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -1173,8 +928,6 @@ <td> | ||
🪧 | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1187,7 +940,5 @@ <td><strong>Notice label ('scam') on quoted author account (hide)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -1197,8 +948,6 @@ <td> | ||
🪧 | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1212,16 +961,12 @@ <td><strong>Notice label ('scam') on post (warn)</strong></td> | ||
🪧 | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1234,3 +979,2 @@ <td><strong>Notice label ('scam') on author profile (warn)</strong></td> | ||
</td> | ||
@@ -1240,12 +984,9 @@ <td> | ||
🪧 | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1259,2 +1000,3 @@ <td><strong>Notice label ('scam') on author account (warn)</strong></td> | ||
🪧 | ||
</td> | ||
@@ -1264,12 +1006,9 @@ <td> | ||
🪧 | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1282,7 +1021,5 @@ <td><strong>Notice label ('scam') on quoted post (warn)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -1292,8 +1029,6 @@ <td> | ||
🪧 | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1306,7 +1041,5 @@ <td><strong>Notice label ('scam') on quoted author account (warn)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -1316,8 +1049,6 @@ <td> | ||
🪧 | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1330,17 +1061,11 @@ <td><strong>Notice label ('scam') on post (ignore)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1353,17 +1078,11 @@ <td><strong>Notice label ('scam') on author profile (ignore)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1376,17 +1095,11 @@ <td><strong>Notice label ('scam') on author account (ignore)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1399,17 +1112,11 @@ <td><strong>Notice label ('scam') on quoted post (ignore)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1422,16 +1129,11 @@ <td><strong>Notice label ('scam') on quoted author account (ignore)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr><th>Scenario</th><th>Filter</th><th>Content</th><th>Avatar</th><th>Embed</th></tr> | ||
@@ -1445,7 +1147,5 @@ <tr> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -1458,5 +1158,2 @@ <td> | ||
<tr> | ||
@@ -1469,3 +1166,2 @@ <td><strong>Adult-only label on author profile when adult content is disabled</strong></td> | ||
</td> | ||
@@ -1478,9 +1174,5 @@ <td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1493,3 +1185,2 @@ <td><strong>Adult-only label on author account when adult content is disabled</strong></td> | ||
</td> | ||
@@ -1506,5 +1197,2 @@ <td> | ||
<tr> | ||
@@ -1517,7 +1205,5 @@ <td><strong>Adult-only label on quoted post when adult content is disabled</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -1530,5 +1216,2 @@ <td> | ||
<tr> | ||
@@ -1541,16 +1224,11 @@ <td><strong>Adult-only label on quoted author account when adult content is disabled</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr><th>Scenario</th><th>Filter</th><th>Content</th><th>Avatar</th><th>Embed</th></tr> | ||
@@ -1568,13 +1246,8 @@ <tr> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1587,17 +1260,11 @@ <td><strong>Self-post: Imperative label ('!hide') on author profile</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1610,17 +1277,11 @@ <td><strong>Self-post: Imperative label ('!hide') on author account</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1633,7 +1294,5 @@ <td><strong>Self-post: Imperative label ('!hide') on quoted post</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -1646,5 +1305,2 @@ <td> | ||
<tr> | ||
@@ -1657,17 +1313,11 @@ <td><strong>Self-post: Imperative label ('!hide') on quoted author account</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1684,13 +1334,8 @@ <td><strong>Self-post: Imperative label ('!warn') on post</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1703,17 +1348,11 @@ <td><strong>Self-post: Imperative label ('!warn') on author profile</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1726,17 +1365,11 @@ <td><strong>Self-post: Imperative label ('!warn') on author account</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1749,7 +1382,5 @@ <td><strong>Self-post: Imperative label ('!warn') on quoted post</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -1762,5 +1393,2 @@ <td> | ||
<tr> | ||
@@ -1773,17 +1401,11 @@ <td><strong>Self-post: Imperative label ('!warn') on quoted author account</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1796,7 +1418,5 @@ <td><strong>Self-post: Blur-media label ('porn') on post (hide)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -1809,5 +1429,2 @@ <td> | ||
<tr> | ||
@@ -1820,17 +1437,11 @@ <td><strong>Self-post: Blur-media label ('porn') on author profile (hide)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1843,17 +1454,11 @@ <td><strong>Self-post: Blur-media label ('porn') on author account (hide)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1866,7 +1471,5 @@ <td><strong>Self-post: Blur-media label ('porn') on quoted post (hide)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -1879,5 +1482,2 @@ <td> | ||
<tr> | ||
@@ -1890,17 +1490,11 @@ <td><strong>Self-post: Blur-media label ('porn') on quoted author account (hide)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1913,7 +1507,5 @@ <td><strong>Self-post: Blur-media label ('porn') on post (warn)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -1926,5 +1518,2 @@ <td> | ||
<tr> | ||
@@ -1937,17 +1526,11 @@ <td><strong>Self-post: Blur-media label ('porn') on author profile (warn)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1960,17 +1543,11 @@ <td><strong>Self-post: Blur-media label ('porn') on author account (warn)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -1983,7 +1560,5 @@ <td><strong>Self-post: Blur-media label ('porn') on quoted post (warn)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -1996,5 +1571,2 @@ <td> | ||
<tr> | ||
@@ -2007,16 +1579,11 @@ <td><strong>Self-post: Blur-media label ('porn') on quoted author account (warn)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr><th>Scenario</th><th>Filter</th><th>Content</th><th>Avatar</th><th>Embed</th></tr> | ||
@@ -2038,9 +1605,5 @@ <tr> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -2053,7 +1616,5 @@ <td><strong>Post with blocked quoted author</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -2066,5 +1627,2 @@ <td> | ||
<tr> | ||
@@ -2085,9 +1643,5 @@ <td><strong>Post with author blocking user</strong></td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -2100,7 +1654,5 @@ <td><strong>Post with quoted author blocking user</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -2113,5 +1665,2 @@ <td> | ||
<tr> | ||
@@ -2128,13 +1677,8 @@ <td><strong>Post with muted author</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -2147,7 +1691,5 @@ <td><strong>Post with muted quoted author</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -2160,5 +1702,2 @@ <td> | ||
<tr> | ||
@@ -2175,13 +1714,8 @@ <td><strong>Post with muted-by-list author</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -2194,7 +1728,5 @@ <td><strong>Post with muted-by-list quoted author</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -2207,4 +1739,2 @@ <td> | ||
<tr><th>Scenario</th><th>Filter</th><th>Content</th><th>Avatar</th><th>Embed</th></tr> | ||
@@ -2226,9 +1756,5 @@ <tr> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -2241,7 +1767,5 @@ <td><strong>Prioritization: post with blocking & blocked-by quoted author</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -2254,5 +1778,2 @@ <td> | ||
<tr> | ||
@@ -2273,9 +1794,5 @@ <td><strong>Prioritization: '!hide' label on post by blocked user</strong></td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -2300,5 +1817,2 @@ <td><strong>Prioritization: '!hide' label on quoted post, post by blocked user</strong></td> | ||
<tr> | ||
@@ -2315,13 +1829,8 @@ <td><strong>Prioritization: '!hide' and 'intolerant' labels on post (hide)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -2338,13 +1847,8 @@ <td><strong>Prioritization: '!warn' and 'intolerant' labels on post (hide)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -2361,13 +1865,8 @@ <td><strong>Prioritization: '!hide' and 'porn' labels on post (hide)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -2380,7 +1879,5 @@ <td><strong>Prioritization: '!warn' and 'porn' labels on post (hide)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -2393,2 +1890,2 @@ <td> | ||
</table> | ||
</table> |
@@ -41,3 +41,2 @@ <!-- this doc is generated by ./scripts/docs/profile-moderation-behaviors.mjs --> | ||
</td> | ||
@@ -50,5 +49,2 @@ <td> | ||
<tr> | ||
@@ -61,3 +57,2 @@ <td><strong>Imperative label ('!hide') on profile</strong></td> | ||
</td> | ||
@@ -74,5 +69,2 @@ <td> | ||
<tr> | ||
@@ -85,17 +77,11 @@ <td><strong>Imperative label ('!no-promote') on account</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -108,17 +94,11 @@ <td><strong>Imperative label ('!no-promote') on profile</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -135,3 +115,2 @@ <td><strong>Imperative label ('!warn') on account</strong></td> | ||
</td> | ||
@@ -144,5 +123,2 @@ <td> | ||
<tr> | ||
@@ -155,3 +131,2 @@ <td><strong>Imperative label ('!warn') on profile</strong></td> | ||
</td> | ||
@@ -168,4 +143,2 @@ <td> | ||
<tr><th>Scenario</th><th>Filter</th><th>Account</th><th>Profile</td><th>Avatar</th></tr> | ||
@@ -183,3 +156,2 @@ <tr> | ||
</td> | ||
@@ -192,5 +164,2 @@ <td> | ||
<tr> | ||
@@ -203,3 +172,2 @@ <td><strong>Blur label ('intolerant') on profile (hide)</strong></td> | ||
</td> | ||
@@ -216,5 +184,2 @@ <td> | ||
<tr> | ||
@@ -231,3 +196,2 @@ <td><strong>Blur label ('intolerant') on account (warn)</strong></td> | ||
</td> | ||
@@ -240,5 +204,2 @@ <td> | ||
<tr> | ||
@@ -251,3 +212,2 @@ <td><strong>Blur label ('intolerant') on profile (warn)</strong></td> | ||
</td> | ||
@@ -264,5 +224,2 @@ <td> | ||
<tr> | ||
@@ -275,17 +232,11 @@ <td><strong>Blur label ('intolerant') on account (ignore)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -298,16 +249,11 @@ <td><strong>Blur label ('intolerant') on profile (ignore)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr><th>Scenario</th><th>Filter</th><th>Account</th><th>Profile</td><th>Avatar</th></tr> | ||
@@ -325,3 +271,2 @@ <tr> | ||
</td> | ||
@@ -334,5 +279,2 @@ <td> | ||
<tr> | ||
@@ -345,7 +287,5 @@ <td><strong>Blur-media label ('porn') on profile (hide)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -358,5 +298,2 @@ <td> | ||
<tr> | ||
@@ -373,3 +310,2 @@ <td><strong>Blur-media label ('porn') on account (warn)</strong></td> | ||
</td> | ||
@@ -382,5 +318,2 @@ <td> | ||
<tr> | ||
@@ -393,7 +326,5 @@ <td><strong>Blur-media label ('porn') on profile (warn)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -406,5 +337,2 @@ <td> | ||
<tr> | ||
@@ -417,17 +345,11 @@ <td><strong>Blur-media label ('porn') on account (ignore)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -440,16 +362,11 @@ <td><strong>Blur-media label ('porn') on profile (ignore)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr><th>Scenario</th><th>Filter</th><th>Account</th><th>Profile</td><th>Avatar</th></tr> | ||
@@ -464,6 +381,6 @@ <tr> | ||
🪧 | ||
</td> | ||
<td> | ||
</td> | ||
@@ -473,8 +390,6 @@ <td> | ||
🪧 | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -487,3 +402,2 @@ <td><strong>Notice label ('scam') on profile (hide)</strong></td> | ||
</td> | ||
@@ -493,2 +407,3 @@ <td> | ||
🪧 | ||
</td> | ||
@@ -498,8 +413,6 @@ <td> | ||
🪧 | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -513,6 +426,6 @@ <td><strong>Notice label ('scam') on account (warn)</strong></td> | ||
🪧 | ||
</td> | ||
<td> | ||
</td> | ||
@@ -522,8 +435,6 @@ <td> | ||
🪧 | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -536,3 +447,2 @@ <td><strong>Notice label ('scam') on profile (warn)</strong></td> | ||
</td> | ||
@@ -542,2 +452,3 @@ <td> | ||
🪧 | ||
</td> | ||
@@ -547,8 +458,6 @@ <td> | ||
🪧 | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -561,17 +470,11 @@ <td><strong>Notice label ('scam') on account (ignore)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -584,16 +487,11 @@ <td><strong>Notice label ('scam') on profile (ignore)</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr><th>Scenario</th><th>Filter</th><th>Account</th><th>Profile</td><th>Avatar</th></tr> | ||
@@ -611,3 +509,2 @@ <tr> | ||
</td> | ||
@@ -620,5 +517,2 @@ <td> | ||
<tr> | ||
@@ -631,7 +525,5 @@ <td><strong>Adult-only label on profile when adult content is disabled</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -644,4 +536,2 @@ <td> | ||
<tr><th>Scenario</th><th>Filter</th><th>Account</th><th>Profile</td><th>Avatar</th></tr> | ||
@@ -656,6 +546,6 @@ <tr> | ||
🪧 | ||
</td> | ||
<td> | ||
</td> | ||
@@ -665,8 +555,6 @@ <td> | ||
🪧 | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -679,3 +567,2 @@ <td><strong>Self-profile: !hide on profile</strong></td> | ||
</td> | ||
@@ -685,2 +572,3 @@ <td> | ||
🪧 | ||
</td> | ||
@@ -690,7 +578,6 @@ <td> | ||
🪧 | ||
</td> | ||
</tr> | ||
<tr><th>Scenario</th><th>Filter</th><th>Account</th><th>Profile</td><th>Avatar</th></tr> | ||
@@ -704,7 +591,5 @@ <tr> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -717,5 +602,2 @@ <td> | ||
<tr> | ||
@@ -728,7 +610,5 @@ <td><strong>Mute/block: Blocked by user</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -741,5 +621,2 @@ <td> | ||
<tr> | ||
@@ -752,17 +629,11 @@ <td><strong>Mute/block: Muted user</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr> | ||
@@ -775,16 +646,11 @@ <td><strong>Mute/block: Muted-by-list user</strong></td> | ||
</td> | ||
<td> | ||
</td> | ||
<td> | ||
</td> | ||
</tr> | ||
<tr><th>Scenario</th><th>Filter</th><th>Account</th><th>Profile</td><th>Avatar</th></tr> | ||
@@ -798,7 +664,5 @@ <tr> | ||
</td> | ||
<td> | ||
</td> | ||
@@ -811,5 +675,2 @@ <td> | ||
<tr> | ||
@@ -826,3 +687,2 @@ <td><strong>Prioritization: '!hide' label on account of blocked user</strong></td> | ||
</td> | ||
@@ -835,5 +695,2 @@ <td> | ||
<tr> | ||
@@ -850,3 +707,2 @@ <td><strong>Prioritization: '!hide' and 'intolerant' labels on account (hide)</strong></td> | ||
</td> | ||
@@ -859,5 +715,2 @@ <td> | ||
<tr> | ||
@@ -874,3 +727,2 @@ <td><strong>Prioritization: '!warn' and 'intolerant' labels on account (hide)</strong></td> | ||
</td> | ||
@@ -883,5 +735,2 @@ <td> | ||
<tr> | ||
@@ -898,3 +747,2 @@ <td><strong>Prioritization: '!warn' and 'porn' labels on account (hide)</strong></td> | ||
</td> | ||
@@ -907,5 +755,2 @@ <td> | ||
<tr> | ||
@@ -923,2 +768,3 @@ <td><strong>Prioritization: intolerant label on account (hide) and scam label on profile (warn)</strong></td> | ||
🪧 | ||
</td> | ||
@@ -931,5 +777,2 @@ <td> | ||
<tr> | ||
@@ -954,5 +797,2 @@ <td><strong>Prioritization: !hide on account, !warn on profile</strong></td> | ||
<tr> | ||
@@ -977,2 +817,2 @@ <td><strong>Prioritization: !warn on account, !hide on profile</strong></td> | ||
</table> | ||
</table> |
@@ -83,3 +83,3 @@ # Moderation API | ||
```typescript | ||
import {moderatePost} from '@atproto/api' | ||
import { moderatePost } from '@atproto/api' | ||
@@ -123,3 +123,3 @@ const postMod = moderatePost(postView, getOpts()) | ||
```typescript | ||
import {moderateProfile} from '@atproto/api' | ||
import { moderateProfile } from '@atproto/api' | ||
@@ -155,2 +155,2 @@ const profileMod = moderateProfile(profileView, getOpts()) | ||
} | ||
``` | ||
``` |
{ | ||
"name": "@atproto/api", | ||
"version": "0.6.10", | ||
"version": "0.6.11", | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"codegen": "yarn docgen && node ./scripts/generate-code.mjs && lex gen-api ./src/client ../../lexicons/com/atproto/*/* ../../lexicons/app/bsky/*/*", | ||
"docgen": "node ./scripts/generate-docs.mjs", | ||
"build": "node ./build.js", | ||
"postbuild": "tsc --build tsconfig.build.json", | ||
"update-main-to-dist": "node ./update-pkg.js --update-main-to-dist", | ||
"update-main-to-src": "node ./update-pkg.js --update-main-to-src", | ||
"prepublish": "npm run update-main-to-dist", | ||
"postpublish": "npm run update-main-to-src", | ||
"test": "jest", | ||
"bench": "jest --config jest.bench.config.js", | ||
"bench:profile": "node --inspect-brk ../../node_modules/.bin/jest --config jest.bench.config.js" | ||
}, | ||
"license": "MIT", | ||
@@ -25,13 +12,26 @@ "repository": { | ||
"dependencies": { | ||
"@atproto/common-web": "*", | ||
"@atproto/syntax": "*", | ||
"@atproto/xrpc": "*", | ||
"multiformats": "^9.9.0", | ||
"tlds": "^1.234.0", | ||
"typed-emitter": "^2.1.0" | ||
"typed-emitter": "^2.1.0", | ||
"@atproto/common-web": "^0.2.0", | ||
"@atproto/lexicon": "^0.2.0", | ||
"@atproto/syntax": "^0.1.0", | ||
"@atproto/xrpc": "^0.3.0" | ||
}, | ||
"devDependencies": { | ||
"@atproto/lex-cli": "*", | ||
"@atproto/pds": "*", | ||
"common-tags": "^1.8.2" | ||
} | ||
} | ||
"common-tags": "^1.8.2", | ||
"@atproto/lex-cli": "^0.2.0", | ||
"@atproto/pds": "^0.1.12" | ||
}, | ||
"scripts": { | ||
"codegen": "pnpm docgen && node ./scripts/generate-code.mjs && lex gen-api ./src/client ../../lexicons/com/atproto/*/* ../../lexicons/app/bsky/*/*", | ||
"docgen": "node ./scripts/generate-docs.mjs", | ||
"build": "node ./build.js", | ||
"postbuild": "tsc --build tsconfig.build.json", | ||
"update-main-to-dist": "node ../../update-main-to-dist.js packages/api", | ||
"test": "jest", | ||
"bench": "jest --config jest.bench.config.js", | ||
"bench:profile": "node --inspect-brk ../../node_modules/.bin/jest --config jest.bench.config.js" | ||
}, | ||
"types": "dist/index.d.ts" | ||
} |
@@ -37,7 +37,7 @@ # ATP API | ||
persistSession: (evt: AtpSessionEvent, sess?: AtpSessionData) => { | ||
// store the session-data for reuse | ||
} | ||
// store the session-data for reuse | ||
}, | ||
}) | ||
await agent.login({identifier: 'alice@mail.com', password: 'hunter2'}) | ||
await agent.login({ identifier: 'alice@mail.com', password: 'hunter2' }) | ||
await agent.resumeSession(savedSessionData) | ||
@@ -47,3 +47,3 @@ await agent.createAccount({ | ||
password: 'hunter2', | ||
handle: 'alice.example.com' | ||
handle: 'alice.example.com', | ||
}) | ||
@@ -132,6 +132,8 @@ ``` | ||
```typescript | ||
import {RichText} from '@atproto/api' | ||
import { RichText } from '@atproto/api' | ||
// creating richtext | ||
const rt = new RichText({text: 'Hello @alice.com, check out this link: https://example.com'}) | ||
const rt = new RichText({ | ||
text: 'Hello @alice.com, check out this link: https://example.com', | ||
}) | ||
await rt.detectFacets(agent) // automatically detects mentions and links | ||
@@ -142,3 +144,3 @@ const postRecord = { | ||
facets: rt.facets, | ||
createdAt: new Date().toISOString() | ||
createdAt: new Date().toISOString(), | ||
} | ||
@@ -159,6 +161,6 @@ | ||
// calculating string lengths | ||
const rt2 = new RichText({text: 'Hello'}) | ||
const rt2 = new RichText({ text: 'Hello' }) | ||
console.log(rt2.length) // => 5 | ||
console.log(rt2.graphemeLength) // => 5 | ||
const rt3 = new RichText({text: '👨👩👧👧'}) | ||
const rt3 = new RichText({ text: '👨👩👧👧' }) | ||
console.log(rt3.length) // => 25 | ||
@@ -179,3 +181,3 @@ console.log(rt3.graphemeLength) // => 1 | ||
```typescript | ||
import {moderatePost, moderateProfile} from '@atproto/api' | ||
import { moderatePost, moderateProfile } from '@atproto/api' | ||
@@ -185,3 +187,3 @@ // We call the appropriate moderation function for the content | ||
const postMod = moderatePost(postView, getOpts()) | ||
const postMod = moderatePost(postView, getOpts()) | ||
const profileMod = moderateProfile(profileView, getOpts()) | ||
@@ -245,3 +247,3 @@ | ||
did: '...', | ||
displayName: 'My mod service' | ||
displayName: 'My mod service', | ||
}, | ||
@@ -253,5 +255,5 @@ labels: { | ||
// ... | ||
} | ||
} | ||
] | ||
}, | ||
}, | ||
], | ||
} | ||
@@ -270,20 +272,24 @@ } | ||
```typescript | ||
const res1 = await agent.com.atproto.repo.createRecord( | ||
const res1 = await agent.com.atproto.repo.createRecord({ | ||
did: alice.did, | ||
collection: 'app.bsky.feed.post', | ||
record: { | ||
$type: 'app.bsky.feed.post', | ||
text: 'Hello, world!', | ||
createdAt: new Date().toISOString(), | ||
}, | ||
}) | ||
const res2 = await agent.com.atproto.repo.listRecords({ | ||
repo: alice.did, | ||
collection: 'app.bsky.feed.post', | ||
}) | ||
const res3 = await agent.app.bsky.feed.post.create( | ||
{ repo: alice.did }, | ||
{ | ||
did: alice.did, | ||
collection: 'app.bsky.feed.post', | ||
record: { | ||
$type: 'app.bsky.feed.post', | ||
text: 'Hello, world!', | ||
createdAt: new Date().toISOString() | ||
} | ||
} | ||
text: 'Hello, world!', | ||
createdAt: new Date().toISOString(), | ||
}, | ||
) | ||
const res2 = await agent.com.atproto.repo.listRecords({repo: alice.did, collection: 'app.bsky.feed.post'}) | ||
const res3 = await agent.app.bsky.feed.post.create({repo: alice.did}, { | ||
text: 'Hello, world!', | ||
createdAt: new Date().toISOString() | ||
}) | ||
const res4 = await agent.app.bsky.feed.post.list({repo: alice.did}) | ||
const res4 = await agent.app.bsky.feed.post.list({ repo: alice.did }) | ||
``` | ||
@@ -298,3 +304,3 @@ | ||
const agent = new AtpAgent({service: 'https://example.com'}) | ||
const agent = new AtpAgent({ service: 'https://example.com' }) | ||
``` | ||
@@ -309,6 +315,9 @@ | ||
const agent = new BskyAgent({service: 'https://example.com'}) | ||
const agent = new BskyAgent({ service: 'https://example.com' }) | ||
// provide a custom fetch implementation (shouldnt be needed in node or the browser) | ||
import {AtpAgentFetchHeaders, AtpAgentFetchHandlerResponse} from '@atproto/api' | ||
import { | ||
AtpAgentFetchHeaders, | ||
AtpAgentFetchHandlerResponse, | ||
} from '@atproto/api' | ||
BskyAgent.configure({ | ||
@@ -322,4 +331,4 @@ async fetch( | ||
// insert definition here... | ||
return {status: 200, /*...*/} | ||
} | ||
return { status: 200 /*...*/ } | ||
}, | ||
}) | ||
@@ -326,0 +335,0 @@ ``` |
@@ -111,2 +111,3 @@ /** | ||
| SavedFeedsPref | ||
| PersonalDetailsPref | ||
| { $type: string; [k: string]: unknown } | ||
@@ -167,1 +168,19 @@ )[] | ||
} | ||
export interface PersonalDetailsPref { | ||
/** The birth date of the owner of the account. */ | ||
birthDate?: string | ||
[k: string]: unknown | ||
} | ||
export function isPersonalDetailsPref(v: unknown): v is PersonalDetailsPref { | ||
return ( | ||
isObj(v) && | ||
hasProp(v, '$type') && | ||
v.$type === 'app.bsky.actor.defs#personalDetailsPref' | ||
) | ||
} | ||
export function validatePersonalDetailsPref(v: unknown): ValidationResult { | ||
return lexicons.validate('app.bsky.actor.defs#personalDetailsPref', v) | ||
} |
@@ -30,2 +30,3 @@ /** | ||
alt: string | ||
aspectRatio?: AspectRatio | ||
[k: string]: unknown | ||
@@ -44,2 +45,21 @@ } | ||
/** width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit. */ | ||
export interface AspectRatio { | ||
width: number | ||
height: number | ||
[k: string]: unknown | ||
} | ||
export function isAspectRatio(v: unknown): v is AspectRatio { | ||
return ( | ||
isObj(v) && | ||
hasProp(v, '$type') && | ||
v.$type === 'app.bsky.embed.images#aspectRatio' | ||
) | ||
} | ||
export function validateAspectRatio(v: unknown): ValidationResult { | ||
return lexicons.validate('app.bsky.embed.images#aspectRatio', v) | ||
} | ||
export interface View { | ||
@@ -64,2 +84,3 @@ images: ViewImage[] | ||
alt: string | ||
aspectRatio?: AspectRatio | ||
[k: string]: unknown | ||
@@ -66,0 +87,0 @@ } |
@@ -133,2 +133,3 @@ /** this doc is generated by ./scripts/code/labels.mjs **/ | ||
LABELS['scam'], | ||
LABELS['misleading'], | ||
], | ||
@@ -135,0 +136,0 @@ strings: { |
@@ -798,2 +798,32 @@ /** this doc is generated by ./scripts/code/labels.mjs **/ | ||
}, | ||
misleading: { | ||
id: 'misleading', | ||
preferences: ['ignore', 'warn', 'hide'], | ||
flags: [], | ||
onwarn: 'alert', | ||
groupId: 'misinfo', | ||
configurable: true, | ||
strings: { | ||
settings: { | ||
en: { | ||
name: 'Misleading', | ||
description: 'Accounts which share misleading information.', | ||
}, | ||
}, | ||
account: { | ||
en: { | ||
name: 'Misleading', | ||
description: | ||
'The moderators believe this account is spreading misleading information.', | ||
}, | ||
}, | ||
content: { | ||
en: { | ||
name: 'Misleading', | ||
description: | ||
'The moderators believe this account is spreading misleading information.', | ||
}, | ||
}, | ||
}, | ||
}, | ||
} |
{ | ||
"extends": "./tsconfig.json", | ||
"exclude": ["**/*.spec.ts", "**/*.test.ts"] | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 3 instances in 1 package
4178124
402
64642
0
327
7
+ Added@atproto/lexicon@^0.2.0
+ Addedmultiformats@^9.9.0
+ Added@atproto/common-web@0.2.4(transitive)
+ Added@atproto/lexicon@0.2.3(transitive)
+ Added@atproto/syntax@0.1.5(transitive)
+ Added@atproto/xrpc@0.3.3(transitive)
- Removed@atproto/common-web@0.3.1(transitive)
- Removed@atproto/lexicon@0.4.3(transitive)
- Removed@atproto/syntax@0.3.1(transitive)
- Removed@atproto/xrpc@0.6.4(transitive)
Updated@atproto/common-web@^0.2.0
Updated@atproto/syntax@^0.1.0
Updated@atproto/xrpc@^0.3.0