appBskyNotificationDefs top-level constant
app.bsky.notification.defs
Implementation
const appBskyNotificationDefs = <String, dynamic>{
"lexicon": 1,
"id": "app.bsky.notification.defs",
"defs": {
"recordDeleted": {"type": "object", "properties": {}},
"chatPreference": {
"type": "object",
"required": ["include", "push"],
"properties": {
"include": {
"type": "string",
"knownValues": ["all", "accepted"],
},
"push": {"type": "boolean"},
},
},
"filterablePreference": {
"type": "object",
"required": ["include", "list", "push"],
"properties": {
"include": {
"type": "string",
"knownValues": ["all", "follows"],
},
"list": {"type": "boolean"},
"push": {"type": "boolean"},
},
},
"preference": {
"type": "object",
"required": ["list", "push"],
"properties": {
"list": {"type": "boolean"},
"push": {"type": "boolean"},
},
},
"preferences": {
"type": "object",
"required": [
"chat",
"follow",
"like",
"likeViaRepost",
"mention",
"quote",
"reply",
"repost",
"repostViaRepost",
"starterpackJoined",
"subscribedPost",
"unverified",
"verified",
],
"properties": {
"chat": {"type": "ref", "ref": "#chatPreference"},
"follow": {"type": "ref", "ref": "#filterablePreference"},
"like": {"type": "ref", "ref": "#filterablePreference"},
"likeViaRepost": {"type": "ref", "ref": "#filterablePreference"},
"mention": {"type": "ref", "ref": "#filterablePreference"},
"quote": {"type": "ref", "ref": "#filterablePreference"},
"reply": {"type": "ref", "ref": "#filterablePreference"},
"repost": {"type": "ref", "ref": "#filterablePreference"},
"repostViaRepost": {"type": "ref", "ref": "#filterablePreference"},
"starterpackJoined": {"type": "ref", "ref": "#preference"},
"subscribedPost": {"type": "ref", "ref": "#preference"},
"unverified": {"type": "ref", "ref": "#preference"},
"verified": {"type": "ref", "ref": "#preference"},
},
},
"activitySubscription": {
"type": "object",
"required": ["post", "reply"],
"properties": {
"post": {"type": "boolean"},
"reply": {"type": "boolean"},
},
},
"subjectActivitySubscription": {
"type": "object",
"description":
"Object used to store activity subscription data in stash.",
"required": ["subject", "activitySubscription"],
"properties": {
"subject": {"type": "string", "format": "did"},
"activitySubscription": {"type": "ref", "ref": "#activitySubscription"},
},
},
},
};