@atproto/api
Advanced tools
Comparing version 0.5.1 to 0.5.2
@@ -78,7 +78,7 @@ { | ||
"account": { | ||
"name": "Pornography", | ||
"name": "Adult Content", | ||
"description": "This account contains imagery of full-frontal nudity or explicit sexual activity." | ||
}, | ||
"content": { | ||
"name": "Pornography", | ||
"name": "Adult Content", | ||
"description": "This content contains imagery of full-frontal nudity or explicit sexual activity." | ||
@@ -93,7 +93,7 @@ } | ||
"account": { | ||
"name": "Sexually Suggestive", | ||
"name": "Suggestive Content", | ||
"description": "This account contains imagery which is sexually suggestive. Common examples include selfies in underwear or in partial undress." | ||
}, | ||
"content": { | ||
"name": "Sexually Suggestive", | ||
"name": "Suggestive Content", | ||
"description": "This content contains imagery which is sexually suggestive. Common examples include selfies in underwear or in partial undress." | ||
@@ -108,7 +108,7 @@ } | ||
"account": { | ||
"name": "Nudity", | ||
"name": "Adult Content", | ||
"description": "This account contains imagery which portrays nudity in a non-sexual or artistic setting." | ||
}, | ||
"content": { | ||
"name": "Nudity", | ||
"name": "Adult Content", | ||
"description": "This content contains imagery which portrays nudity in a non-sexual or artistic setting." | ||
@@ -115,0 +115,0 @@ } |
@@ -382,3 +382,4 @@ | ||
"behaviors": { | ||
"content": {"cause": "label:porn", "filter": true} | ||
"content": {"cause": "label:porn", "filter": true}, | ||
"embed": {"cause": "label:porn", "blur": true} | ||
} | ||
@@ -432,2 +433,3 @@ }, | ||
"behaviors": { | ||
"embed": {"cause": "label:porn", "blur": true} | ||
} | ||
@@ -658,3 +660,4 @@ }, | ||
"behaviors": { | ||
"content": {"cause": "label:porn", "filter": true} | ||
"content": {"cause": "label:porn", "filter": true}, | ||
"embed": {"cause": "label:porn", "blur": true, "noOverride": true} | ||
} | ||
@@ -661,0 +664,0 @@ }, |
import { Headers, XRPCError } from '@atproto/xrpc'; | ||
import { BlobRef } from '@atproto/lexicon'; | ||
export interface QueryParams { | ||
@@ -7,12 +8,4 @@ } | ||
description?: string | null; | ||
avatar?: { | ||
cid: string; | ||
mimeType: string; | ||
[k: string]: unknown; | ||
} | null; | ||
banner?: { | ||
cid: string; | ||
mimeType: string; | ||
[k: string]: unknown; | ||
} | null; | ||
avatar?: BlobRef | null; | ||
banner?: BlobRef | null; | ||
[k: string]: unknown; | ||
@@ -19,0 +12,0 @@ } |
@@ -358,4 +358,4 @@ <!-- this doc is generated by ./scripts/docs/labels.mjs --> | ||
<code>general</code><br><strong>Pornography</strong><br>Images of full-frontal nudity (genitalia) in any sexualized context, or explicit sexual activity (meaning contact with genitalia or breasts) even if partially covered. Includes graphic sexual cartoons (often jokes/memes).<br><br> | ||
<code>on an account</code><br><strong>Pornography</strong><br>This account contains imagery of full-frontal nudity or explicit sexual activity.<br><br> | ||
<code>on content</code><br><strong>Pornography</strong><br>This content contains imagery of full-frontal nudity or explicit sexual activity.<br><br> | ||
<code>on an account</code><br><strong>Adult Content</strong><br>This account contains imagery of full-frontal nudity or explicit sexual activity.<br><br> | ||
<code>on content</code><br><strong>Adult Content</strong><br>This content contains imagery of full-frontal nudity or explicit sexual activity.<br><br> | ||
</td> | ||
@@ -367,4 +367,4 @@ </tr> | ||
<code>general</code><br><strong>Sexually Suggestive</strong><br>Content that does not meet the level of "pornography", but is still sexual. Some common examples have been selfies and "hornyposting" with underwear on, or partially naked (naked but covered, eg with hands or from side perspective). Sheer/see-through nipples may end up in this category.<br><br> | ||
<code>on an account</code><br><strong>Sexually Suggestive</strong><br>This account contains imagery which is sexually suggestive. Common examples include selfies in underwear or in partial undress.<br><br> | ||
<code>on content</code><br><strong>Sexually Suggestive</strong><br>This content contains imagery which is sexually suggestive. Common examples include selfies in underwear or in partial undress.<br><br> | ||
<code>on an account</code><br><strong>Suggestive Content</strong><br>This account contains imagery which is sexually suggestive. Common examples include selfies in underwear or in partial undress.<br><br> | ||
<code>on content</code><br><strong>Suggestive Content</strong><br>This content contains imagery which is sexually suggestive. Common examples include selfies in underwear or in partial undress.<br><br> | ||
</td> | ||
@@ -376,4 +376,4 @@ </tr> | ||
<code>general</code><br><strong>Nudity</strong><br>Nudity which is not sexual, or that is primarily "artistic" in nature. For example: breastfeeding; classic art paintings and sculptures; newspaper images with some nudity; fashion modeling. "Erotic photography" is likely to end up in sexual or porn.<br><br> | ||
<code>on an account</code><br><strong>Nudity</strong><br>This account contains imagery which portrays nudity in a non-sexual or artistic setting.<br><br> | ||
<code>on content</code><br><strong>Nudity</strong><br>This content contains imagery which portrays nudity in a non-sexual or artistic setting.<br><br> | ||
<code>on an account</code><br><strong>Adult Content</strong><br>This account contains imagery which portrays nudity in a non-sexual or artistic setting.<br><br> | ||
<code>on content</code><br><strong>Adult Content</strong><br>This content contains imagery which portrays nudity in a non-sexual or artistic setting.<br><br> | ||
</td> | ||
@@ -380,0 +380,0 @@ </tr> |
@@ -770,4 +770,4 @@ <!-- this doc is generated by ./scripts/docs/post-moderation-behaviors.mjs --> | ||
<td> | ||
✋ | ||
</td> | ||
@@ -881,4 +881,4 @@ </tr> | ||
<td> | ||
✋ | ||
</td> | ||
@@ -1432,4 +1432,4 @@ </tr> | ||
<td> | ||
🚫 | ||
</td> | ||
@@ -1436,0 +1436,0 @@ </tr> |
{ | ||
"name": "@atproto/api", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -170,3 +170,3 @@ /** this doc is generated by ./scripts/code/labels.mjs **/ | ||
en: { | ||
name: 'Pornography', | ||
name: 'Adult Content', | ||
description: | ||
@@ -178,3 +178,3 @@ 'This account contains imagery of full-frontal nudity or explicit sexual activity.', | ||
en: { | ||
name: 'Pornography', | ||
name: 'Adult Content', | ||
description: | ||
@@ -203,3 +203,3 @@ 'This content contains imagery of full-frontal nudity or explicit sexual activity.', | ||
en: { | ||
name: 'Sexually Suggestive', | ||
name: 'Suggestive Content', | ||
description: | ||
@@ -211,3 +211,3 @@ 'This account contains imagery which is sexually suggestive. Common examples include selfies in underwear or in partial undress.', | ||
en: { | ||
name: 'Sexually Suggestive', | ||
name: 'Suggestive Content', | ||
description: | ||
@@ -236,3 +236,3 @@ 'This content contains imagery which is sexually suggestive. Common examples include selfies in underwear or in partial undress.', | ||
en: { | ||
name: 'Nudity', | ||
name: 'Adult Content', | ||
description: | ||
@@ -244,3 +244,3 @@ 'This account contains imagery which portrays nudity in a non-sexual or artistic setting.', | ||
en: { | ||
name: 'Nudity', | ||
name: 'Adult Content', | ||
description: | ||
@@ -247,0 +247,0 @@ 'This content contains imagery which portrays nudity in a non-sexual or artistic setting.', |
@@ -151,2 +151,5 @@ import { AppBskyActorDefs } from '../client/index' | ||
} | ||
if (quote?.blurMedia) { | ||
quote.blur = true // treat blurMedia of quote as blur of quote | ||
} | ||
@@ -153,0 +156,0 @@ // downgrade based on authorship |
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 not supported yet
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
4161671
394
62545