mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2026-01-19 12:25:46 +00:00
feat(app): lint & beautify
This commit is contained in:
@@ -11,4 +11,5 @@ export const getConfiguredModelProviderById = (
|
||||
return getConfiguredModelProviders().find((p) => p.id === id) ?? undefined;
|
||||
};
|
||||
|
||||
export const getSearxngURL = () => configManager.getConfig('search.searxngURL', '')
|
||||
export const getSearxngURL = () =>
|
||||
configManager.getConfig('search.searxngURL', '');
|
||||
|
||||
@@ -17,7 +17,6 @@ type StringUIConfigField = BaseUIConfigField & {
|
||||
|
||||
type SelectUIConfigFieldOptions = {
|
||||
name: string;
|
||||
key: string;
|
||||
value: string;
|
||||
};
|
||||
|
||||
@@ -56,8 +55,8 @@ type Config = {
|
||||
};
|
||||
modelProviders: ConfigModelProvider[];
|
||||
search: {
|
||||
[key: string]: any
|
||||
}
|
||||
[key: string]: any;
|
||||
};
|
||||
};
|
||||
|
||||
type EnvMap = {
|
||||
@@ -76,7 +75,7 @@ type ModelProviderUISection = {
|
||||
type UIConfigSections = {
|
||||
general: UIConfigField[];
|
||||
modelProviders: ModelProviderUISection[];
|
||||
search: UIConfigField[];
|
||||
search: UIConfigField[];
|
||||
};
|
||||
|
||||
export type {
|
||||
@@ -84,6 +83,8 @@ export type {
|
||||
Config,
|
||||
EnvMap,
|
||||
UIConfigSections,
|
||||
SelectUIConfigField,
|
||||
StringUIConfigField,
|
||||
ModelProviderUISection,
|
||||
ConfigModelProvider,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user