Skip to main content

global

Documentation / global

SearchResult​

type SearchResult = alertVariants;

Defined in: apps/web/src/global.d.ts:8


AgentPrompt​

type AgentPrompt = alertVariants;

Defined in: apps/web/src/global.d.ts:9


Article​

type Article = typeof schema.articles.$inferSelect;

Defined in: apps/web/src/global.d.ts:11


Message​

type Message = typeof schema.messages.$inferSelect;

Defined in: apps/web/src/global.d.ts:12


Chat​

type Chat = typeof schema.chats.$inferSelect;

Defined in: apps/web/src/global.d.ts:13


File​

type File = typeof schema.files.$inferSelect;

Defined in: apps/web/src/global.d.ts:14


Team​

type Team = typeof schema.teams.$inferSelect;

Defined in: apps/web/src/global.d.ts:15


User​

type User = typeof schema.users.$inferSelect & object;

Defined in: apps/web/src/global.d.ts:16

Type declaration​

NameTypeDefined in

settings

UserSettings

apps/web/src/global.d.ts:17


Session​

type Session = typeof schema.sessions.$inferSelect;

Defined in: apps/web/src/global.d.ts:19


Account​

type Account = typeof schema.accounts.$inferSelect;

Defined in: apps/web/src/global.d.ts:20


VerificationToken​

type VerificationToken = typeof schema.verificationTokens.$inferSelect;

Defined in: apps/web/src/global.d.ts:21


UserSettings​

type UserSettings = Partial<{
provider: string;
model: string;
temperature: number;
topP: number;
frequencyPenalty: number;
providerApiKeys: object[];
theme: string;
language: string;
fontSize: number;
fontFamily: string;
searchEngines: object[];
searchEngineDefault: string;
OpenFirstResultInBackgroundTab: boolean;
OpenFirstResultInSameTab: boolean;
AutoSummarize: boolean;
showURLPath: boolean;
showHeadings: boolean;
enableQueryExpansion: boolean;
numberTopResultToExtract: number;
}>;

Defined in: apps/web/src/global.d.ts:23