extend type Mutation {
    notificationSettings(
        enable_notifications:Boolean!,
        email_notifications:Boolean!,
        post_notifications: Boolean!,
        push_notifications: Boolean!
    ):NotificationSetting! @guard
}

type NotificationSetting {
    id: ID!

    user_id:ID!

    enable_notifications:Boolean

    email_notifications:Boolean

    post_notifications: Boolean

    push_notifications: Boolean

    user: User! @hasOne
}