- 所有控制器中从libs/prisma.ts导入prisma替代旧的libs/db.ts - 规范了step模块中zod验证架构的格式与换行 - 生成Prisma客户端及类型定义文件,包含browser、client、commonInputTypes、enums和内部类文件 - 优化listStepsQuerySchema默认参数与链式调用格式 - 保持代码风格一致,提升可维护性和类型安全性
45 lines
1.0 KiB
TypeScript
45 lines
1.0 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 Project
|
|
*
|
|
*/
|
|
export type Project = Prisma.ProjectModel
|
|
/**
|
|
* Model User
|
|
*
|
|
*/
|
|
export type User = Prisma.UserModel
|
|
/**
|
|
* Model Pipeline
|
|
*
|
|
*/
|
|
export type Pipeline = Prisma.PipelineModel
|
|
/**
|
|
* Model Step
|
|
*
|
|
*/
|
|
export type Step = Prisma.StepModel
|
|
/**
|
|
* Model Deployment
|
|
*
|
|
*/
|
|
export type Deployment = Prisma.DeploymentModel
|