Docker Build and Push / build-image (push) Successful in 4m34s
- 新增 /api/mcp (Streamable HTTP) 与 41 个工具: 项目/看板列/任务/清单/打卡; - 新增 McpToken 模型与迁移, DB 仅存 SHA-256 哈希, token 绑定用户; - 新增 /api/mcp-tokens 增删改查, 支持独立命名 (如 R1); - 「我的」页新增 AI 接入 (MCP) 区块: 地址复制/新建/一次性展示/删除; - 补充 docs/MCP.md 与样式
150 lines
2.7 KiB
TypeScript
150 lines
2.7 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file should be your main import to use Prisma-related types and utilities in a browser.
|
|
* Use it to get access to models, enums, and input types.
|
|
*
|
|
* This file does not contain a `PrismaClient` class, nor several other helpers that are intended as server-side only.
|
|
* See `client.ts` for the standard, server-side entry point.
|
|
*
|
|
* 🟢 You can import this file directly.
|
|
*/
|
|
|
|
import * as Prisma from './internal/prismaNamespaceBrowser.ts'
|
|
export { Prisma }
|
|
export * as $Enums from './enums.ts'
|
|
export * from './enums.ts';
|
|
/**
|
|
* Model User
|
|
*
|
|
*/
|
|
export type User = Prisma.UserModel
|
|
/**
|
|
* Model Article
|
|
*
|
|
*/
|
|
export type Article = Prisma.ArticleModel
|
|
/**
|
|
* Model News
|
|
*
|
|
*/
|
|
export type News = Prisma.NewsModel
|
|
/**
|
|
* Model Alert
|
|
*
|
|
*/
|
|
export type Alert = Prisma.AlertModel
|
|
/**
|
|
* Model ServerNode
|
|
*
|
|
*/
|
|
export type ServerNode = Prisma.ServerNodeModel
|
|
/**
|
|
* Model ServerNodeHistory
|
|
*
|
|
*/
|
|
export type ServerNodeHistory = Prisma.ServerNodeHistoryModel
|
|
/**
|
|
* Model ServiceCheck
|
|
*
|
|
*/
|
|
export type ServiceCheck = Prisma.ServiceCheckModel
|
|
/**
|
|
* Model Econ_SowInventory
|
|
*
|
|
*/
|
|
export type Econ_SowInventory = Prisma.Econ_SowInventoryModel
|
|
/**
|
|
* Model ScraperCache
|
|
*
|
|
*/
|
|
export type ScraperCache = Prisma.ScraperCacheModel
|
|
/**
|
|
* Model MihomeAccount
|
|
*
|
|
*/
|
|
export type MihomeAccount = Prisma.MihomeAccountModel
|
|
/**
|
|
* Model MihomeHome
|
|
*
|
|
*/
|
|
export type MihomeHome = Prisma.MihomeHomeModel
|
|
/**
|
|
* Model MihomeDevice
|
|
*
|
|
*/
|
|
export type MihomeDevice = Prisma.MihomeDeviceModel
|
|
/**
|
|
* Model MihomeEnvSample
|
|
*
|
|
*/
|
|
export type MihomeEnvSample = Prisma.MihomeEnvSampleModel
|
|
/**
|
|
* Model MihomeEnvHour
|
|
*
|
|
*/
|
|
export type MihomeEnvHour = Prisma.MihomeEnvHourModel
|
|
/**
|
|
* Model Habit
|
|
*
|
|
*/
|
|
export type Habit = Prisma.HabitModel
|
|
/**
|
|
* Model CheckIn
|
|
*
|
|
*/
|
|
export type CheckIn = Prisma.CheckInModel
|
|
/**
|
|
* Model CheckList
|
|
*
|
|
*/
|
|
export type CheckList = Prisma.CheckListModel
|
|
/**
|
|
* Model CheckListItem
|
|
*
|
|
*/
|
|
export type CheckListItem = Prisma.CheckListItemModel
|
|
/**
|
|
* Model CheckListTemplate
|
|
*
|
|
*/
|
|
export type CheckListTemplate = Prisma.CheckListTemplateModel
|
|
/**
|
|
* Model Project
|
|
*
|
|
*/
|
|
export type Project = Prisma.ProjectModel
|
|
/**
|
|
* Model ProjectMember
|
|
*
|
|
*/
|
|
export type ProjectMember = Prisma.ProjectMemberModel
|
|
/**
|
|
* Model BoardColumn
|
|
*
|
|
*/
|
|
export type BoardColumn = Prisma.BoardColumnModel
|
|
/**
|
|
* Model Task
|
|
*
|
|
*/
|
|
export type Task = Prisma.TaskModel
|
|
/**
|
|
* Model TaskMember
|
|
*
|
|
*/
|
|
export type TaskMember = Prisma.TaskMemberModel
|
|
/**
|
|
* Model TaskTag
|
|
*
|
|
*/
|
|
export type TaskTag = Prisma.TaskTagModel
|
|
/**
|
|
* Model McpToken
|
|
*
|
|
*/
|
|
export type McpToken = Prisma.McpTokenModel
|