mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-23 20:18:42 +00:00
* feat(kanban): implement AI-native kanban database models, services, and REST APIs * feat(webui): implement team kanban board and task management * style(webui): increase kanban dialog widths and form container * fix(webui): ensure kanban dialogs override sm:max-w-lg base class * style(webui): set edit task dialog max width to 5xl * chore: untrack kanban plan markdown files * feat(webui): update kanban page layout to 2 columns and refine task activity UI * fix(webui): constrain kanban column and board heights for vertical scrolling * feat(kanban): unify task status transition into updateTask API and allow unconstrained human task transitions * fix(webui): add optimistic updates to kanban drag-and-drop to eliminate flash * refactor(webui): remove client-side search box from kanban header * feat(kanban): redesign task dialog comments area and add attachment support * refactor(webui): remove top status action bar from task info dialog * fix(webui): narrow query cache predicate and add defensive guards for kanban drag optimistic update * feat(kanban): add drag-and-drop task reordering with fractional indexing (#331) * feat(kanban): add drag-and-drop task reordering with fractional indexing * fix(kanban): improve card drop zones, snap indicators, and column highlight * fix(kanban): enable card droppables only during active drag * fix(kanban): refine hover styles and drop indicators for column boundaries * fix(kanban): unify bottom drop indicator and fix top indicator clipping * fix(kanban): ensure full column highlight and full coverage drop target * minor change * feat(kanban): allow agent tasks free drag-and-drop and enforce status change permissions (#332) * refactor(kanban): rename task_type_agentic translation keys to task_type_agent * feat(kanban): refactor task type enum to isAgentTask boolean (#333) * refactor(kanban): remove phase 2 agent execution logic and streamline phase 1 kanban * feat(kanban): add notifications and audit logging for kanban (#334) * feat(kanban): redesign config area layout and add parent tasks multi-selector (#335) * feat(webui): redesign kanban task dialog config area * feat(kanban): simplify task dependencies with parent tasks multi-selector * refactor(kanban): remove unused links routes and legacy dependency methods * feat(kanban): connect assets and kanban tasks with many-to-many relationship (#336) * feat(kanban): connect assets and kanban tasks with many-to-many relationship * feat(kanban): improve asset picker layout, infinite scrolling, and breadcrumb icon styling * fix(kanban): ensure asset picker scrollarea is scrollable with min-h-0 and shrink-0 flex styling * fix(kanban): hide recently deleted in folder tree picker and adjust header padding * fix(kanban): use lucide files icon instead of paperclip for linked assets * feat(kanban): improve task deletion, goal sidebar interaction, and card styling (#337) * feat(kanban): improve task deletion, goal sidebar interaction, and card styling * feat(kanban): move agent task badge after priority and update to orange style * feat(kanban): add status Compare-And-Swap (CAS) to prevent drag-and-drop race conditions (#338) * feat(kanban): add status Compare-And-Swap (CAS) to prevent drag-and-drop race conditions * style(kanban): rotate kanban icon 180 degrees in sidebar and top nav * style(kanban): remove rotate-180 from SquareKanban icons * feat(kanban): add unassigned goal record and fix all tasks count (#339) * feat(kanban): add unassigned goal record and fix all tasks count * feat(kanban): toggle task count with three-dot action button on goal card hover * fix(ci): pin bun version to 1.3.14 across CI and Docker (#340) * fix(webui): truncate goal name to max 2 lines in kanban sidebar (#341)
270 lines
4.7 KiB
TypeScript
Generated
270 lines
4.7 KiB
TypeScript
Generated
|
|
/* !!! 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 Session
|
|
*
|
|
*/
|
|
export type Session = Prisma.SessionModel
|
|
/**
|
|
* Model Account
|
|
*
|
|
*/
|
|
export type Account = Prisma.AccountModel
|
|
/**
|
|
* Model Verification
|
|
*
|
|
*/
|
|
export type Verification = Prisma.VerificationModel
|
|
/**
|
|
* Model AuthToken
|
|
*
|
|
*/
|
|
export type AuthToken = Prisma.AuthTokenModel
|
|
/**
|
|
* Model Team
|
|
*
|
|
*/
|
|
export type Team = Prisma.TeamModel
|
|
/**
|
|
* Model Sandbox
|
|
*
|
|
*/
|
|
export type Sandbox = Prisma.SandboxModel
|
|
/**
|
|
* Model Skill
|
|
*
|
|
*/
|
|
export type Skill = Prisma.SkillModel
|
|
/**
|
|
* Model TeamMember
|
|
*
|
|
*/
|
|
export type TeamMember = Prisma.TeamMemberModel
|
|
/**
|
|
* Model Project
|
|
*
|
|
*/
|
|
export type Project = Prisma.ProjectModel
|
|
/**
|
|
* Model ProjectMember
|
|
*
|
|
*/
|
|
export type ProjectMember = Prisma.ProjectMemberModel
|
|
/**
|
|
* Model ShareLink
|
|
*
|
|
*/
|
|
export type ShareLink = Prisma.ShareLinkModel
|
|
/**
|
|
* Model WatermarkConfig
|
|
*
|
|
*/
|
|
export type WatermarkConfig = Prisma.WatermarkConfigModel
|
|
/**
|
|
* Model WatermarkTemplate
|
|
*
|
|
*/
|
|
export type WatermarkTemplate = Prisma.WatermarkTemplateModel
|
|
/**
|
|
* Model WatermarkFile
|
|
*
|
|
*/
|
|
export type WatermarkFile = Prisma.WatermarkFileModel
|
|
/**
|
|
* Model Asset
|
|
*
|
|
*/
|
|
export type Asset = Prisma.AssetModel
|
|
/**
|
|
* Model StorageKey
|
|
*
|
|
*/
|
|
export type StorageKey = Prisma.StorageKeyModel
|
|
/**
|
|
* Model AssetMetadataValue
|
|
*
|
|
*/
|
|
export type AssetMetadataValue = Prisma.AssetMetadataValueModel
|
|
/**
|
|
* Model AssetAgentMd
|
|
*
|
|
*/
|
|
export type AssetAgentMd = Prisma.AssetAgentMdModel
|
|
/**
|
|
* Model AssetComment
|
|
*
|
|
*/
|
|
export type AssetComment = Prisma.AssetCommentModel
|
|
/**
|
|
* Model AssetCommentAttachment
|
|
*
|
|
*/
|
|
export type AssetCommentAttachment = Prisma.AssetCommentAttachmentModel
|
|
/**
|
|
* Model AssetEmbedding
|
|
*
|
|
*/
|
|
export type AssetEmbedding = Prisma.AssetEmbeddingModel
|
|
/**
|
|
* Model Invite
|
|
*
|
|
*/
|
|
export type Invite = Prisma.InviteModel
|
|
/**
|
|
* Model MetadataField
|
|
*
|
|
*/
|
|
export type MetadataField = Prisma.MetadataFieldModel
|
|
/**
|
|
* Model Notification
|
|
*
|
|
*/
|
|
export type Notification = Prisma.NotificationModel
|
|
/**
|
|
* Model SystemSettings
|
|
*
|
|
*/
|
|
export type SystemSettings = Prisma.SystemSettingsModel
|
|
/**
|
|
* Model Task
|
|
*
|
|
*/
|
|
export type Task = Prisma.TaskModel
|
|
/**
|
|
* Model WorkflowTask
|
|
*
|
|
*/
|
|
export type WorkflowTask = Prisma.WorkflowTaskModel
|
|
/**
|
|
* Model Agent
|
|
*
|
|
*/
|
|
export type Agent = Prisma.AgentModel
|
|
/**
|
|
* Model AgentSkill
|
|
*
|
|
*/
|
|
export type AgentSkill = Prisma.AgentSkillModel
|
|
/**
|
|
* Model McpServer
|
|
*
|
|
*/
|
|
export type McpServer = Prisma.McpServerModel
|
|
/**
|
|
* Model AgentMcpServer
|
|
*
|
|
*/
|
|
export type AgentMcpServer = Prisma.AgentMcpServerModel
|
|
/**
|
|
* Model McpServerCredential
|
|
*
|
|
*/
|
|
export type McpServerCredential = Prisma.McpServerCredentialModel
|
|
/**
|
|
* Model AgentSession
|
|
*
|
|
*/
|
|
export type AgentSession = Prisma.AgentSessionModel
|
|
/**
|
|
* Model AgentSessionEntry
|
|
*
|
|
*/
|
|
export type AgentSessionEntry = Prisma.AgentSessionEntryModel
|
|
/**
|
|
* Model UserMetadata
|
|
*
|
|
*/
|
|
export type UserMetadata = Prisma.UserMetadataModel
|
|
/**
|
|
* Model Model
|
|
*
|
|
*/
|
|
export type Model = Prisma.ModelModel
|
|
/**
|
|
* Model Provider
|
|
*
|
|
*/
|
|
export type Provider = Prisma.ProviderModel
|
|
/**
|
|
* Model Collection
|
|
*
|
|
*/
|
|
export type Collection = Prisma.CollectionModel
|
|
/**
|
|
* Model ApiToken
|
|
*
|
|
*/
|
|
export type ApiToken = Prisma.ApiTokenModel
|
|
/**
|
|
* Model AiUsage
|
|
*
|
|
*/
|
|
export type AiUsage = Prisma.AiUsageModel
|
|
/**
|
|
* Model AuditLog
|
|
*
|
|
*/
|
|
export type AuditLog = Prisma.AuditLogModel
|
|
/**
|
|
* Model QuotaRule
|
|
*
|
|
*/
|
|
export type QuotaRule = Prisma.QuotaRuleModel
|
|
/**
|
|
* Model QuotaRecord
|
|
*
|
|
*/
|
|
export type QuotaRecord = Prisma.QuotaRecordModel
|
|
/**
|
|
* Model KanbanGoal
|
|
*
|
|
*/
|
|
export type KanbanGoal = Prisma.KanbanGoalModel
|
|
/**
|
|
* Model KanbanTask
|
|
*
|
|
*/
|
|
export type KanbanTask = Prisma.KanbanTaskModel
|
|
/**
|
|
* Model KanbanTaskLink
|
|
*
|
|
*/
|
|
export type KanbanTaskLink = Prisma.KanbanTaskLinkModel
|
|
/**
|
|
* Model KanbanTaskAsset
|
|
*
|
|
*/
|
|
export type KanbanTaskAsset = Prisma.KanbanTaskAssetModel
|
|
/**
|
|
* Model KanbanTaskComment
|
|
*
|
|
*/
|
|
export type KanbanTaskComment = Prisma.KanbanTaskCommentModel
|
|
/**
|
|
* Model KanbanTaskEvent
|
|
*
|
|
*/
|
|
export type KanbanTaskEvent = Prisma.KanbanTaskEventModel
|