Files
NodeBB/public/openapi/components/schemas/SettingsObj.yaml

152 lines
5.1 KiB
YAML
Raw Normal View History

2020-10-22 14:07:45 -04:00
Settings:
type: object
properties:
showemail:
type: boolean
description: Show user email in profile page
usePagination:
type: boolean
description: Toggles between pagination (when enabled), or infinite scrolling (when disabled)
topicsPerPage:
type: number
description: Number of topics displayed on a category page
postsPerPage:
type: number
description: Number of posts displayed on a topic page
topicPostSort:
type: string
description: Default sorting strategy of the posts in of a topic
openOutgoingLinksInNewTab:
type: boolean
description: Whether to automatically open all external links in a new tab
dailyDigestFreq:
type: string
description: How often to receive the scheduled digest from this forum
showfullname:
type: boolean
description: Show user full name in profile page
followTopicsOnCreate:
type: boolean
description: Automatically be notified of new posts in a topic, when you create a topic
followTopicsOnReply:
type: boolean
2020-10-22 14:43:29 -04:00
description: Automatically be notified of new posts in a topic, when you reply to that topic
2020-10-22 14:07:45 -04:00
restrictChat:
type: boolean
2020-10-22 14:43:29 -04:00
description: Do not allow other users to start chats with you (or add you to other chat rooms)
2020-10-22 14:07:45 -04:00
topicSearchEnabled:
type: boolean
2020-10-22 14:43:29 -04:00
description: Enable keyword searching within topics
updateUrlWithPostIndex:
type: boolean
description: Update url with post index while browsing topics
2020-10-22 14:07:45 -04:00
categoryTopicSort:
type: string
2020-10-22 14:43:29 -04:00
description: Default sorting strategy of the topics in a category
2020-10-22 14:07:45 -04:00
userLang:
type: string
2020-10-22 14:43:29 -04:00
description: Override the system localised language in favour of the language defined here
2020-10-22 14:07:45 -04:00
bootswatchSkin:
type: string
2020-10-22 14:43:29 -04:00
description: Set a custom bootswatch skin
2020-10-22 14:07:45 -04:00
homePageRoute:
type: string
2020-10-22 14:43:29 -04:00
description: Override the behaviour of the home page route (`/`) to go to a specific page
2020-10-22 14:07:45 -04:00
scrollToMyPost:
type: boolean
2020-10-22 14:43:29 -04:00
description: Automatically center the viewport to you new post after posting
2020-10-22 14:07:45 -04:00
notificationType_new-chat:
type: string
2020-10-22 14:43:29 -04:00
description: Notification type for new chat messages
notificationType_new-group-chat:
type: string
description: Notification type for new group chat messages
2020-10-22 14:07:45 -04:00
notificationType_new-reply:
type: string
2020-10-22 14:43:29 -04:00
description: Notification type for new topic replies
2020-10-22 14:07:45 -04:00
notificationType_post-edit:
type: string
2020-10-22 14:43:29 -04:00
description: Notification type for post edits
2020-10-22 14:07:45 -04:00
sendChatNotifications:
nullable: true
sendPostNotifications:
nullable: true
notificationType_upvote:
type: string
2020-10-22 14:43:29 -04:00
description: Notification type for upvotes
2020-10-22 14:07:45 -04:00
notificationType_new-topic:
type: string
2020-10-22 14:43:29 -04:00
description: Notification type for new topics
2020-10-22 14:07:45 -04:00
notificationType_follow:
type: string
2020-10-22 14:43:29 -04:00
description: Notification type for another user following you
2020-10-22 14:07:45 -04:00
notificationType_group-invite:
type: string
2020-10-22 14:43:29 -04:00
description: Notification type for group invitations
notificationType_group-leave:
type: string
description: Notification type for when users leave your group
2020-10-22 14:07:45 -04:00
upvoteNotifFreq:
type: string
2020-10-22 14:43:29 -04:00
description: How often to notify you when your posts are upvoted
2020-10-22 14:07:45 -04:00
notificationType_mention:
type: string
2020-10-22 14:43:29 -04:00
description: Notification type for mentions in a post
2020-10-22 14:07:45 -04:00
acpLang:
type: string
2020-10-22 14:43:29 -04:00
description: Language localisation for the admin control panel
2020-10-22 14:07:45 -04:00
notificationType_new-register:
type: string
2020-10-22 14:43:29 -04:00
description: Notification type for new registration in queue
2020-10-22 14:07:45 -04:00
notificationType_post-queue:
type: string
2020-10-22 14:43:29 -04:00
description: Notification type for new post in post queue
2020-10-22 14:07:45 -04:00
notificationType_new-post-flag:
type: string
2020-10-22 14:43:29 -04:00
description: Notification type for post flagged
2020-10-22 14:07:45 -04:00
notificationType_new-user-flag:
type: string
2020-10-22 14:43:29 -04:00
description: Notification type for user flagged
2020-10-22 14:07:45 -04:00
categoryWatchState:
type: string
2020-10-22 14:43:29 -04:00
description: Default watch state for categories
2020-10-22 14:07:45 -04:00
notificationType_group-request-membership:
type: string
2020-10-22 14:43:29 -04:00
description: Notification type for group membership requests
2020-10-22 14:07:45 -04:00
uid:
type: number
description: A user identifier
required:
- showemail
- usePagination
- topicsPerPage
- postsPerPage
- topicPostSort
- openOutgoingLinksInNewTab
- dailyDigestFreq
- showfullname
- followTopicsOnCreate
- followTopicsOnReply
- restrictChat
- topicSearchEnabled
- categoryTopicSort
- userLang
- bootswatchSkin
- homePageRoute
- scrollToMyPost
- notificationType_new-chat
- notificationType_new-reply
- notificationType_upvote
- notificationType_new-topic
- notificationType_follow
- notificationType_group-invite
- notificationType_group-leave
2020-10-22 14:07:45 -04:00
- upvoteNotifFreq
- acpLang
- notificationType_new-register
- notificationType_post-queue
- notificationType_new-post-flag
- notificationType_new-user-flag
- categoryWatchState
- notificationType_group-request-membership
- uid