mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
chore: add more Settings types in stores
This commit is contained in:
parent
3b70841a7d
commit
35be40c932
@ -135,6 +135,42 @@ type OllamaModelDetails = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
type Settings = {
|
type Settings = {
|
||||||
|
pinnedModels: never[];
|
||||||
|
toolServers: never[];
|
||||||
|
detectArtifacts: boolean;
|
||||||
|
showUpdateToast: boolean;
|
||||||
|
showChangelog: boolean;
|
||||||
|
showEmojiInCall: boolean;
|
||||||
|
voiceInterruption: boolean;
|
||||||
|
collapseCodeBlocks: boolean;
|
||||||
|
expandDetails: boolean;
|
||||||
|
notificationSound: boolean;
|
||||||
|
notificationSoundAlways: boolean;
|
||||||
|
stylizedPdfExport: boolean;
|
||||||
|
notifications: any;
|
||||||
|
imageCompression: boolean;
|
||||||
|
imageCompressionSize: any;
|
||||||
|
widescreenMode: null;
|
||||||
|
largeTextAsFile: boolean;
|
||||||
|
promptAutocomplete: boolean;
|
||||||
|
hapticFeedback: boolean;
|
||||||
|
responseAutoCopy: any;
|
||||||
|
richTextInput: boolean;
|
||||||
|
params: any;
|
||||||
|
userLocation: any;
|
||||||
|
webSearch: boolean;
|
||||||
|
memory: boolean;
|
||||||
|
autoTags: boolean;
|
||||||
|
autoFollowUps: boolean;
|
||||||
|
splitLargeChunks(body: any, splitLargeChunks: any): unknown;
|
||||||
|
backgroundImageUrl: null;
|
||||||
|
landingPageMode: string;
|
||||||
|
iframeSandboxAllowForms: boolean;
|
||||||
|
iframeSandboxAllowSameOrigin: boolean;
|
||||||
|
scrollOnBranchChange: boolean;
|
||||||
|
directConnections: null;
|
||||||
|
chatBubble: boolean;
|
||||||
|
copyFormatted: boolean;
|
||||||
models?: string[];
|
models?: string[];
|
||||||
conversationMode?: boolean;
|
conversationMode?: boolean;
|
||||||
speechAutoSend?: boolean;
|
speechAutoSend?: boolean;
|
||||||
@ -165,6 +201,8 @@ type ModelOptions = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
type AudioSettings = {
|
type AudioSettings = {
|
||||||
|
stt: any;
|
||||||
|
tts: any;
|
||||||
STTEngine?: string;
|
STTEngine?: string;
|
||||||
TTSEngine?: string;
|
TTSEngine?: string;
|
||||||
speaker?: string;
|
speaker?: string;
|
||||||
@ -195,6 +233,7 @@ type Document = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
type Config = {
|
type Config = {
|
||||||
|
license_metadata: any;
|
||||||
status: boolean;
|
status: boolean;
|
||||||
name: string;
|
name: string;
|
||||||
version: string;
|
version: string;
|
||||||
@ -234,6 +273,7 @@ type PromptSuggestion = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
type SessionUser = {
|
type SessionUser = {
|
||||||
|
permissions: any;
|
||||||
id: string;
|
id: string;
|
||||||
email: string;
|
email: string;
|
||||||
name: string;
|
name: string;
|
||||||
|
Loading…
Reference in New Issue
Block a user