Package-level declarations

Types

Link copied to clipboard

What should this label hide in the UI, if applied? 'content' hides all of the target; 'media' hides the images/video/audio; 'none' hides nothing.

Link copied to clipboard
Link copied to clipboard

The default setting for this label.

Link copied to clipboard
data class Label(val ver: Long? = null, val src: Did, val uri: Uri, val cid: Cid? = null, val val: String, val neg: Boolean? = null, val cts: Timestamp, val exp: Timestamp? = null, val sig: ByteArray? = null)

Metadata tag on an atproto resource (eg, repo or record).

Link copied to clipboard
Link copied to clipboard
data class LabelValueDefinition(val identifier: String, val severity: Severity, val blurs: Blurs, val defaultSetting: DefaultSetting? = DefaultSetting.Warn, val adultOnly: Boolean? = null, val locales: List<LabelValueDefinitionStrings>)

Declares a label value and its expected interpretations and behaviors.

Link copied to clipboard
data class LabelValueDefinitionStrings(val lang: Language, val name: String, val description: String)

Strings which describe the label in the UI, localized into a specific language.

Link copied to clipboard
data class QueryLabelsQueryParams(val uriPatterns: List<String>, val sources: List<Did> = emptyList(), val limit: Long? = 50, val cursor: String? = null)
Link copied to clipboard
data class QueryLabelsResponse(val cursor: String? = null, val labels: List<Label>)
Link copied to clipboard
data class SelfLabel(val val: String)

Metadata tag on an atproto record, published by the author within the record. Note that schemas should use #selfLabels, not #selfLabel.

Link copied to clipboard
data class SelfLabels(val values: List<SelfLabel>)

Metadata tags on an atproto record, published by the author within the record.

Link copied to clipboard

How should a client visually convey this label? 'inform' means neutral and informational; 'alert' means negative and warning; 'none' means show nothing.

Link copied to clipboard
Link copied to clipboard
data class SubscribeLabelsInfo(val name: SubscribeLabelsName, val message: String? = null)
Link copied to clipboard
data class SubscribeLabelsLabels(val seq: Long, val labels: List<Label>)
Link copied to clipboard
Link copied to clipboard
data class SubscribeLabelsQueryParams(val cursor: Long? = null)