Package-level declarations

Types

Link copied to clipboard
enum Blurs : Enum<Blurs>
Link copied to clipboard
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: ReadOnlyList<LabelValueDefinitionStrings>)

Declares a label value and its expected interpertations 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: ReadOnlyList<String>, val sources: ReadOnlyList<Did> = persistentListOf(), val limit: Long? = 50, val cursor: String? = null)
Link copied to clipboard
data class QueryLabelsResponse(val cursor: String? = null, val labels: ReadOnlyList<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

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

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: ReadOnlyList<Label>)
Link copied to clipboard
Link copied to clipboard
data class SubscribeLabelsQueryParams(val cursor: Long? = null)