A user's Flushes preferences, so that a choice made on one device is the same choice on the next. One record per repo.
literal:self
Fixed literal value
Properties
hiddenFlushEmojis
array
of
string
Optional
Emoji to leave out of the flush composer's picker. Absent means none are hidden. Stored as what to hide rather than what to show, so emoji added to the palette later appear without every existing record having to be rewritten.
maxLength: 256 itemshiddenReactionEmojis
array
of
string
Optional
Emoji to leave out of the reaction picker. Absent means none are hidden.
maxLength: 256 itemsrandomizeFlushEmoji
boolean
Optional
Start the flush composer's picker on a different emoji each time it opens, rather than always the same one.
randomizeReactionEmoji
boolean
Optional
Start the reaction dial on a different emoji each time it opens.
sound
boolean
Optional
Whether the app is allowed to make noise.
swipeLeftEmoji
string
Optional
The reaction a leftward swipe on a feed row leaves.
maxLength: 32 bytesmaxGraphemes: 1 graphemesswipeRightEmoji
string
Optional
The reaction a rightward swipe on a feed row leaves.
maxLength: 32 bytesmaxGraphemes: 1 graphemestheme
string
Optional
Which palette the site is drawn in.
maxLength: 16 byteslight, darkupdatedAt
string
datetime
Required
When these preferences were last changed. Two devices resolve a disagreement by taking the later one.
View raw schema
{
"key": "literal:self",
"type": "record",
"record": {
"type": "object",
"required": [
"updatedAt"
],
"properties": {
"sound": {
"type": "boolean",
"description": "Whether the app is allowed to make noise."
},
"theme": {
"type": "string",
"maxLength": 16,
"description": "Which palette the site is drawn in.",
"knownValues": [
"light",
"dark"
]
},
"updatedAt": {
"type": "string",
"format": "datetime",
"description": "When these preferences were last changed. Two devices resolve a disagreement by taking the later one."
},
"swipeLeftEmoji": {
"type": "string",
"maxLength": 32,
"description": "The reaction a leftward swipe on a feed row leaves.",
"maxGraphemes": 1
},
"swipeRightEmoji": {
"type": "string",
"maxLength": 32,
"description": "The reaction a rightward swipe on a feed row leaves.",
"maxGraphemes": 1
},
"hiddenFlushEmojis": {
"type": "array",
"items": {
"type": "string",
"maxLength": 32,
"maxGraphemes": 1
},
"maxLength": 256,
"description": "Emoji to leave out of the flush composer's picker. Absent means none are hidden. Stored as what to hide rather than what to show, so emoji added to the palette later appear without every existing record having to be rewritten."
},
"randomizeFlushEmoji": {
"type": "boolean",
"description": "Start the flush composer's picker on a different emoji each time it opens, rather than always the same one."
},
"hiddenReactionEmojis": {
"type": "array",
"items": {
"type": "string",
"maxLength": 32,
"maxGraphemes": 1
},
"maxLength": 256,
"description": "Emoji to leave out of the reaction picker. Absent means none are hidden."
},
"randomizeReactionEmoji": {
"type": "boolean",
"description": "Start the reaction dial on a different emoji each time it opens."
}
}
},
"description": "A user's Flushes preferences, so that a choice made on one device is the same choice on the next. One record per repo."
}