appBskyNotificationDeclaration top-level constant

Map<String, dynamic> const appBskyNotificationDeclaration

app.bsky.notification.declaration

Implementation

const appBskyNotificationDeclaration = <String, dynamic>{
  "lexicon": 1,
  "id": "app.bsky.notification.declaration",
  "defs": {
    "main": {
      "type": "record",
      "description":
          "A declaration of the user's choices related to notifications that can be produced by them.",
      "key": "literal:self",
      "record": {
        "type": "object",
        "required": ["allowSubscriptions"],
        "properties": {
          "allowSubscriptions": {
            "type": "string",
            "description":
                "A declaration of the user's preference for allowing activity subscriptions from other users. Absence of a record implies 'followers'.",
            "knownValues": ["followers", "mutuals", "none"],
          },
        },
      },
    },
  },
};