mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
feat(threads): thread and forum API, admin, schemas and docs (#3251)
This commit is contained in:
1 parent
5f4295e399
commit
3f4160b138
495 files changed
+39232
-1215
No files matched your search
@@ -22,6 +22,7 @@ export const ErrorCodeToI18nKey = {
|
||||
[APIErrorCodes.ALREADY_FRIENDS]: 'friends_and_dms.already_friends',
|
||||
[APIErrorCodes.CHANNEL_ALREADY_FOLLOWED]: 'channels_and_guilds.channel_already_followed',
|
||||
[APIErrorCodes.CHANNEL_HAS_FOLLOWED_CHANNELS]: 'channels_and_guilds.channel_has_followed_channels',
|
||||
[APIErrorCodes.CHANNEL_HAS_THREADS]: 'threads.channel_has_threads',
|
||||
[APIErrorCodes.CHANNEL_TYPE_CONVERSION_NOT_SUPPORTED]: 'channels_and_guilds.channel_type_conversion_not_supported',
|
||||
[APIErrorCodes.DIRECT_MESSAGES_DISABLED]: 'friends_and_dms.direct_messages_disabled',
|
||||
[APIErrorCodes.NEW_CONVERSATIONS_LIMITED]: 'friends_and_dms.new_conversations_limited',
|
||||
@@ -314,6 +315,25 @@ export const ErrorCodeToI18nKey = {
|
||||
[APIErrorCodes.UNKNOWN_WEBAUTHN_CREDENTIAL]: 'mfa_and_passkeys.unknown_webauthn_credential',
|
||||
[APIErrorCodes.UNKNOWN_APPLICATION]: 'auth_and_oauth.unknown_application',
|
||||
[APIErrorCodes.UNKNOWN_WEBHOOK]: 'webhooks.unknown_webhook',
|
||||
[APIErrorCodes.THREAD_ARCHIVED]: 'threads.thread_archived',
|
||||
[APIErrorCodes.THREAD_LOCKED]: 'threads.thread_locked',
|
||||
[APIErrorCodes.THREAD_ALREADY_CREATED_FOR_MESSAGE]: 'threads.thread_already_created_for_message',
|
||||
[APIErrorCodes.MAX_ACTIVE_THREADS]: 'threads.max_active_threads_reached',
|
||||
[APIErrorCodes.MAX_THREAD_MEMBERS]: 'threads.max_thread_members_reached',
|
||||
[APIErrorCodes.MAX_PINNED_THREADS_IN_FORUM]: 'threads.max_pinned_threads_reached',
|
||||
[APIErrorCodes.MAX_FORUM_TAGS]: 'threads.max_forum_tags_reached',
|
||||
[APIErrorCodes.FORUM_TAG_NAMES_MUST_BE_UNIQUE]: 'threads.forum_tag_names_must_be_unique',
|
||||
[APIErrorCodes.NO_TAGS_AVAILABLE_TO_NON_MODERATORS]: 'threads.no_tags_available_to_non_moderators',
|
||||
[APIErrorCodes.FORUM_TAG_REQUIRED]: 'threads.forum_tag_required',
|
||||
[APIErrorCodes.UNKNOWN_FORUM_TAG]: 'unknown_entities.unknown_forum_tag',
|
||||
[APIErrorCodes.INVALID_THREAD_NOTIFICATION_SETTINGS]: 'threads.invalid_thread_notification_settings',
|
||||
[APIErrorCodes.HIDE_MEDIA_DOWNLOAD_OPTION_MEDIA_ONLY]: 'threads.hide_media_download_option_media_only',
|
||||
[APIErrorCodes.WEBHOOK_FORUM_TARGET_REQUIRED]: 'webhooks.forum_target_required',
|
||||
[APIErrorCodes.WEBHOOK_FORUM_TARGET_CONFLICT]: 'webhooks.forum_target_conflict',
|
||||
[APIErrorCodes.WEBHOOK_THREAD_NAME_REQUIRES_FORUM]: 'webhooks.thread_name_requires_forum',
|
||||
[APIErrorCodes.WEBHOOK_SERVICE_FORUM_UNSUPPORTED]: 'webhooks.service_forum_unsupported',
|
||||
[APIErrorCodes.SEARCH_INDEX_NOT_READY]: 'threads.search_index_not_ready',
|
||||
[APIErrorCodes.UNKNOWN_THREAD_MEMBER]: 'unknown_entities.unknown_thread_member',
|
||||
[APIErrorCodes.UPDATE_FAILED]: 'admin_and_system.update_failed',
|
||||
[APIErrorCodes.USERNAME_NOT_AVAILABLE]: 'usernames_and_tags.username_not_available',
|
||||
[APIErrorCodes.USERNAME_SIGN_IN_ONLY]: 'auth_and_registration.username_sign_in_only',
|
||||
|
||||
Reference in new issue
Block a user