mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 06:00:56 +02:00

* feat: Add banner schema and model * feat: Add optional JwtAuth To handle the conditional logic with and without authentication within the model. * feat: Add an endpoint to retrieve a banner * feat: Add implementation for client to use banner and access API * feat: Display a banner on UI * feat: Script for updating and deleting banners * style: Update banner style * fix: Adjust the height when the banner is displayed * fix: failed specs
66 lines
1.9 KiB
TypeScript
66 lines
1.9 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',
|
|
agents = 'agents',
|
|
agent = 'agent',
|
|
endpointsConfigOverride = 'endpointsConfigOverride',
|
|
files = 'files',
|
|
fileConfig = 'fileConfig',
|
|
tools = 'tools',
|
|
agentTools = 'agentTools',
|
|
actions = 'actions',
|
|
assistantDocs = 'assistantDocs',
|
|
agentDocs = 'agentDocs',
|
|
fileDownload = 'fileDownload',
|
|
voices = 'voices',
|
|
customConfigSpeech = 'customConfigSpeech',
|
|
prompts = 'prompts',
|
|
prompt = 'prompt',
|
|
promptGroups = 'promptGroups',
|
|
allPromptGroups = 'allPromptGroups',
|
|
promptGroup = 'promptGroup',
|
|
categories = 'categories',
|
|
randomPrompts = 'randomPrompts',
|
|
roles = 'roles',
|
|
conversationTags = 'conversationTags',
|
|
health = 'health',
|
|
userTerms = 'userTerms',
|
|
banner = 'banner',
|
|
}
|
|
|
|
export enum MutationKeys {
|
|
fileUpload = 'fileUpload',
|
|
fileDelete = 'fileDelete',
|
|
updatePreset = 'updatePreset',
|
|
deletePreset = 'deletePreset',
|
|
logoutUser = 'logoutUser',
|
|
avatarUpload = 'avatarUpload',
|
|
speechToText = 'speechToText',
|
|
textToSpeech = 'textToSpeech',
|
|
assistantAvatarUpload = 'assistantAvatarUpload',
|
|
agentAvatarUpload = 'agentAvatarUpload',
|
|
updateAction = 'updateAction',
|
|
updateAgentAction = 'updateAgentAction',
|
|
deleteAction = 'deleteAction',
|
|
deleteAgentAction = 'deleteAgentAction',
|
|
deleteUser = 'deleteUser',
|
|
updateRole = 'updateRole',
|
|
}
|