mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-19 00:48:08 +01:00
* initial commit * fix: UserController bugs; fix: lint errors * fix: delete files * language support * style(DeleteAccount): update to the latest style * style: fix after merge main * chore: Add canDeleteAccount middleware for user deletion endpoint * chore: renamed to ALLOW_ACCOUNT_DELETION * fix(canDeleteAccount): use uppercase admin role * chore: imports order * chore: Enable account deletion by default if omitted/commented out * chore: Add logging for user account deletion * chore: Bump data-provider package version to 0.6.6 * chore: Import Transaction model in UserController * chore: Update CONFIG_VERSION to 1.1.4 * chore: Update user account deletion logging * chore: Refactor user account deletion logic --------- Co-authored-by: Berry-13 <root@Berry> Co-authored-by: Danny Avila <messagedaniel@protonmail.com> Co-authored-by: Danny Avila <danny@librechat.ai>
45 lines
1.3 KiB
TypeScript
45 lines
1.3 KiB
TypeScript
export enum QueryKeys {
|
|
messages = 'messages',
|
|
sharedMessages = 'sharedMessages',
|
|
sharedLinks = 'sharedLinks',
|
|
allConversations = 'allConversations',
|
|
archivedConversations = 'archivedConversations',
|
|
searchConversations = 'searchConversations',
|
|
conversation = 'conversation',
|
|
searchEnabled = 'searchEnabled',
|
|
user = 'user',
|
|
name = 'name', // user key name
|
|
models = 'models',
|
|
balance = 'balance',
|
|
endpoints = 'endpoints',
|
|
presets = 'presets',
|
|
searchResults = 'searchResults',
|
|
tokenCount = 'tokenCount',
|
|
availablePlugins = 'availablePlugins',
|
|
startupConfig = 'startupConfig',
|
|
assistants = 'assistants',
|
|
assistant = 'assistant',
|
|
endpointsConfigOverride = 'endpointsConfigOverride',
|
|
files = 'files',
|
|
fileConfig = 'fileConfig',
|
|
tools = 'tools',
|
|
actions = 'actions',
|
|
assistantDocs = 'assistantDocs',
|
|
fileDownload = 'fileDownload',
|
|
voices = 'voices',
|
|
}
|
|
|
|
export enum MutationKeys {
|
|
fileUpload = 'fileUpload',
|
|
fileDelete = 'fileDelete',
|
|
updatePreset = 'updatePreset',
|
|
deletePreset = 'deletePreset',
|
|
logoutUser = 'logoutUser',
|
|
avatarUpload = 'avatarUpload',
|
|
speechToText = 'speechToText',
|
|
textToSpeech = 'textToSpeech',
|
|
assistantAvatarUpload = 'assistantAvatarUpload',
|
|
updateAction = 'updateAction',
|
|
deleteAction = 'deleteAction',
|
|
deleteUser = 'deleteUser',
|
|
}
|