mirror of
https://github.com/yuruotong1/autoMate.git
synced 2026-03-22 13:07:17 +08:00
36 lines
596 B
TypeScript
36 lines
596 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' | 'interactive'
|
|
|
|
type ConfigType = {
|
|
id: number
|
|
content: string
|
|
}
|
|
|
|
|
|
type ConfigDataType = {
|
|
shortcut: string
|
|
format: string
|
|
llm: {
|
|
model: string
|
|
api_key?: string
|
|
base_url?: string
|
|
api_base?: string
|
|
}
|
|
}
|