The settings on a User account

interface Setting {
    allowNsfwPosts: boolean;
    createdAt?: Date;
    hasPrivacyPin: boolean;
    id?: string;
    pushChat: boolean;
    pushFlock: boolean;
    pushGroups: boolean;
    pushHearts: boolean;
    pushNearby: boolean;
    pushReplies: boolean;
    pushSisterReplies: boolean;
    removeNsfwContent: boolean;
    updatedAt?: Date;
    userId?: string;
}

Properties

allowNsfwPosts: boolean

Does the User allow NSFW Posts?

createdAt?: Date

The creation date of the Setting

Example

2024-02-21T01:15:54.100Z
hasPrivacyPin: boolean

Does the User have a privacy PIN enabled?

id?: string

The unique id of the Setting

pushChat: boolean

Does the User want push notifications for Chats?

pushFlock: boolean

Does the User want push notifications for Posts in Flocks they're a member of?

pushGroups: boolean

Does the User want push notifications for Posts in Groups they're a member of?

pushHearts: boolean

Does the User want push notifications for hearts?

pushNearby: boolean

Does the User want push notifications for nearby Posts?

pushReplies: boolean

Does the User want push notifications for replies?

pushSisterReplies: boolean

Does the User want push notifications for sister replies?

removeNsfwContent: boolean
updatedAt?: Date

The time of the last change to the Setting

Example

Observed: 2024-02-22T15:31:00.593Z
userId?: string

The User#id that the Setting is for

Generated using TypeDoc