mirror of
https://github.com/yuruotong1/autoMate.git
synced 2025-12-26 05:16:21 +08:00
40 lines
613 B
TypeScript
40 lines
613 B
TypeScript
type SqlActionType = 'findAll' | 'findOne' | 'create' | 'update' | 'del'|'config'
|
|
|
|
type CategoryType = {
|
|
id: number
|
|
name: string
|
|
createdAt: string
|
|
}
|
|
|
|
type ContentType = {
|
|
id: number
|
|
title: string
|
|
content: string
|
|
category_id: string
|
|
created_at: string
|
|
}
|
|
|
|
|
|
type WindowNameType = 'search' | 'config' | 'code' | 'chat'
|
|
|
|
type ConfigType = {
|
|
id: number
|
|
content: string
|
|
}
|
|
|
|
|
|
type ConfigDataType = {
|
|
shortCut: string
|
|
llm: {
|
|
model: string
|
|
apiKey: string
|
|
baseURL: string
|
|
}
|
|
}
|
|
|
|
|
|
type LLM = {
|
|
model: string
|
|
apiKey: string
|
|
baseURL: string
|
|
} |