mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-25 08:08:42 +00:00
chore(deps): upgrade bun to 1.4.2 and update packages (#384)
* chore(deps): upgrade bun to 1.4.2 and update packages - Upgrade Bun to 1.4.2 in Dockerfile, CI workflows, and release workflows. - Update dependencies across workspace with Bun 1.4.2. - Preserve @earendil-works/pi-agent-core at 0.82.1. - Retain stable compatible versions for database adapters and pdfjs-dist. - Add explicit Buffer type annotation in transcode service. * chore(deps): upgrade prisma to 7.10.0, pg to 8.23.0, and pdfjs-dist to 6.3.289 * chore(deps): revert dotenv-expand to 13.0.0
This commit is contained in:
+5
-5
File diff suppressed because one or more lines are too long
+72
-18
@@ -80,12 +80,12 @@ export type PrismaVersion = {
|
||||
}
|
||||
|
||||
/**
|
||||
* Prisma Client JS version: 7.8.0
|
||||
* Query Engine version: 3c6e192761c0362d496ed980de936e2f3cebcd3a
|
||||
* Prisma Client JS version: 7.10.0
|
||||
* Query Engine version: 0edf323efd1d98336f3f0a68684b56f689b900d3
|
||||
*/
|
||||
export const prismaVersion: PrismaVersion = {
|
||||
client: "7.8.0",
|
||||
engine: "3c6e192761c0362d496ed980de936e2f3cebcd3a"
|
||||
client: "7.10.0",
|
||||
engine: "0edf323efd1d98336f3f0a68684b56f689b900d3"
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -155,6 +155,19 @@ export type Subset<T, U> = {
|
||||
[key in keyof T]: key extends keyof U ? T[key] : never;
|
||||
};
|
||||
|
||||
/**
|
||||
* Resolved type of the argument passed to the `PrismaClient` constructor.
|
||||
*
|
||||
* When called without a narrower options type (the common case), this resolves
|
||||
* to `PrismaClientOptions` directly, which produces a clear TypeScript error
|
||||
* message (`not assignable to parameter of type 'PrismaClientOptions'`) when
|
||||
* the argument is missing or incomplete. When the user supplies a narrower
|
||||
* options type (e.g. via a literal), it falls back to `Subset` to keep
|
||||
* filtering out unknown properties.
|
||||
*/
|
||||
export type PrismaClientConstructorArgs<Options extends PrismaClientOptions> =
|
||||
[PrismaClientOptions] extends [Options] ? PrismaClientOptions : Subset<Options, PrismaClientOptions>;
|
||||
|
||||
/**
|
||||
* SelectSubset
|
||||
* @desc From `T` pick properties that exist in `U`. Simple version of Intersection.
|
||||
@@ -187,7 +200,7 @@ type Without<T, U> = { [P in Exclude<keyof T, keyof U>]?: never };
|
||||
export type XOR<T, U> =
|
||||
T extends object ?
|
||||
U extends object ?
|
||||
(Without<T, U> & U) | (Without<U, T> & T)
|
||||
((Without<T, U> & U) | (Without<U, T> & T)) & object
|
||||
: U : T
|
||||
|
||||
|
||||
@@ -5510,19 +5523,10 @@ export type BatchPayload = {
|
||||
export const defineExtension = runtime.Extensions.defineExtension as unknown as runtime.Types.Extensions.ExtendsHook<"define", TypeMapCb, runtime.Types.Extensions.DefaultArgs>
|
||||
export type DefaultPrismaClient = PrismaClient
|
||||
export type ErrorFormat = 'pretty' | 'colorless' | 'minimal'
|
||||
export type PrismaClientOptions = ({
|
||||
/**
|
||||
* Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-pg`.
|
||||
*/
|
||||
adapter: runtime.SqlDriverAdapterFactory
|
||||
accelerateUrl?: never
|
||||
} | {
|
||||
/**
|
||||
* Prisma Accelerate URL allowing the client to connect through Accelerate instead of a direct database.
|
||||
*/
|
||||
accelerateUrl: string
|
||||
adapter?: never
|
||||
}) & {
|
||||
/**
|
||||
* Options common to all variants of `PrismaClientOptions`, regardless of whether you connect to your database through a driver adapter or through Prisma Accelerate.
|
||||
*/
|
||||
export interface PrismaClientBaseOptions {
|
||||
/**
|
||||
* @default "colorless"
|
||||
*/
|
||||
@@ -5609,6 +5613,56 @@ export type PrismaClientOptions = ({
|
||||
*/
|
||||
queryPlanCacheMaxSize?: number
|
||||
}
|
||||
|
||||
/**
|
||||
* `PrismaClient` options for connecting to your database through Prisma Accelerate instead of a driver adapter.
|
||||
*
|
||||
* Learn more: https://pris.ly/d/accelerate
|
||||
*/
|
||||
export interface PrismaClientOptionsWithAccelerateUrl extends PrismaClientBaseOptions {
|
||||
/**
|
||||
* The Prisma Accelerate connection URL. Use this option to connect to your database through Prisma Accelerate instead of using a driver adapter to connect directly.
|
||||
*
|
||||
* Learn more: https://pris.ly/d/accelerate
|
||||
*/
|
||||
accelerateUrl: string
|
||||
adapter?: never
|
||||
}
|
||||
|
||||
/**
|
||||
* `PrismaClient` options for connecting to your database through a driver adapter. This is the common case in Prisma 7.
|
||||
*
|
||||
* Learn more: https://pris.ly/d/driver-adapters
|
||||
*/
|
||||
export interface PrismaClientOptionsWithAdapter extends PrismaClientBaseOptions {
|
||||
/**
|
||||
* A driver adapter that PrismaClient uses to connect to your database, such as the ones provided by `@prisma/adapter-pg`, `@prisma/adapter-libsql`, `@prisma/adapter-planetscale`, etc.
|
||||
*
|
||||
* A driver adapter is **required** unless you connect to your database through Prisma Accelerate (in which case use `accelerateUrl` instead).
|
||||
*
|
||||
* Learn more: https://pris.ly/d/driver-adapters
|
||||
*
|
||||
* @example
|
||||
* ```ts
|
||||
* import { PrismaPg } from '@prisma/adapter-pg'
|
||||
* import { PrismaClient } from './generated/prisma/client'
|
||||
*
|
||||
* const adapter = new PrismaPg({ connectionString: process.env.DATABASE_URL })
|
||||
* const prisma = new PrismaClient({ adapter })
|
||||
* ```
|
||||
*/
|
||||
adapter: runtime.SqlDriverAdapterFactory
|
||||
accelerateUrl?: never
|
||||
}
|
||||
|
||||
/**
|
||||
* Options passed to the `PrismaClient` constructor.
|
||||
*
|
||||
* A driver adapter (or, alternatively, a Prisma Accelerate URL) is **required**. See {@link PrismaClientOptionsWithAdapter} and {@link PrismaClientOptionsWithAccelerateUrl} for the two variants. All other properties live in {@link PrismaClientBaseOptions} and are optional.
|
||||
*
|
||||
* Learn more about driver adapters: https://pris.ly/d/driver-adapters
|
||||
*/
|
||||
export type PrismaClientOptions = PrismaClientOptionsWithAccelerateUrl | PrismaClientOptionsWithAdapter
|
||||
export type GlobalOmitConfig = {
|
||||
user?: Prisma.UserOmit
|
||||
session?: Prisma.SessionOmit
|
||||
|
||||
+1
-1
@@ -61,7 +61,7 @@ export type AgentCountAggregateOutputType = {
|
||||
providerId: number
|
||||
modelId: number
|
||||
teamId: number
|
||||
config:PrismaJson.AgentConfig
|
||||
config: number
|
||||
createdAt: number
|
||||
updatedAt: number
|
||||
_all: number
|
||||
|
||||
@@ -50,7 +50,7 @@ export type AgentSessionEntryCountAggregateOutputType = {
|
||||
assetId: number
|
||||
type: number
|
||||
parentId: number
|
||||
data:PrismaJson.PiSessionEntryData
|
||||
data: number
|
||||
createdAt: number
|
||||
_all: number
|
||||
}
|
||||
|
||||
+1
-1
@@ -94,7 +94,7 @@ export type AssetCountAggregateOutputType = {
|
||||
sizeByte: number
|
||||
status: number
|
||||
transcodeTaskId: number
|
||||
media:PrismaJson.MediaInfo
|
||||
media: number
|
||||
isDeleted: number
|
||||
deletedAt: number
|
||||
sortIndex: number
|
||||
|
||||
+1
-1
@@ -67,7 +67,7 @@ export type AssetCommentMaxAggregateOutputType = {
|
||||
export type AssetCommentCountAggregateOutputType = {
|
||||
id: number
|
||||
message: number
|
||||
annotation:PrismaJson.AnnotationList
|
||||
annotation: number
|
||||
second: number
|
||||
sessionId: number
|
||||
createdAt: number
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@ export type CollectionMaxAggregateOutputType = {
|
||||
export type CollectionCountAggregateOutputType = {
|
||||
id: number
|
||||
name: number
|
||||
filter:PrismaJson.CollectionFilter
|
||||
filter: number
|
||||
createdAt: number
|
||||
updatedAt: number
|
||||
projectId: number
|
||||
|
||||
@@ -49,7 +49,7 @@ export type KanbanTaskCommentCountAggregateOutputType = {
|
||||
taskId: number
|
||||
authorId: number
|
||||
body: number
|
||||
attachments:PrismaJson.KanbanCommentAttachmentList
|
||||
attachments: number
|
||||
createdAt: number
|
||||
updatedAt: number
|
||||
_all: number
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@ export type KanbanTaskEventCountAggregateOutputType = {
|
||||
type: number
|
||||
fromStatus: number
|
||||
toStatus: number
|
||||
data:PrismaJson.KanbanEventPayload
|
||||
data: number
|
||||
createdAt: number
|
||||
_all: number
|
||||
}
|
||||
|
||||
+3
-3
@@ -65,10 +65,10 @@ export type McpServerCountAggregateOutputType = {
|
||||
instructions: number
|
||||
url: number
|
||||
transport: number
|
||||
authConfig:PrismaJson.McpServerAuthConfig
|
||||
config:PrismaJson.McpServerConfig
|
||||
authConfig: number
|
||||
config: number
|
||||
permission: number
|
||||
tools:PrismaJson.McpToolInfo[]
|
||||
tools: number
|
||||
status: number
|
||||
lastError: number
|
||||
lastConnectedAt: number
|
||||
|
||||
@@ -50,11 +50,11 @@ export type McpServerCredentialCountAggregateOutputType = {
|
||||
id: number
|
||||
serverId: number
|
||||
serverUrl: number
|
||||
tokens:PrismaJson.McpStoredTokens
|
||||
clientInfo:PrismaJson.McpStoredClientInfo
|
||||
tokens: number
|
||||
clientInfo: number
|
||||
codeVerifier: number
|
||||
oauthState: number
|
||||
pendingAuth:PrismaJson.McpPendingAuth
|
||||
pendingAuth: number
|
||||
createdAt: number
|
||||
updatedAt: number
|
||||
_all: number
|
||||
|
||||
+1
-1
@@ -50,7 +50,7 @@ export type MetadataFieldCountAggregateOutputType = {
|
||||
id: number
|
||||
key: number
|
||||
scope: number
|
||||
config:PrismaJson.FieldConfig
|
||||
config: number
|
||||
readOnly: number
|
||||
description: number
|
||||
teamId: number
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ export type ModelCountAggregateOutputType = {
|
||||
id: number
|
||||
modelId: number
|
||||
name: number
|
||||
config:PrismaJson.ModelConfig
|
||||
config: number
|
||||
createdAt: number
|
||||
updatedAt: number
|
||||
providerId: number
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@ export type ProjectCountAggregateOutputType = {
|
||||
id: number
|
||||
name: number
|
||||
coverImageKey: number
|
||||
metadataOverrides:PrismaJson.MetadataOverrides
|
||||
metadataOverrides: number
|
||||
enableNotification: number
|
||||
createdAt: number
|
||||
updatedAt: number
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ export type ProviderCountAggregateOutputType = {
|
||||
id: number
|
||||
name: number
|
||||
isBuiltin: number
|
||||
config:PrismaJson.ProviderConfig
|
||||
config: number
|
||||
createdAt: number
|
||||
updatedAt: number
|
||||
teamId: number
|
||||
|
||||
+2
-2
@@ -67,9 +67,9 @@ export type QuotaRuleCountAggregateOutputType = {
|
||||
teamId: number
|
||||
scopeMode: number
|
||||
role: number
|
||||
userIds:PrismaJson.QuotaUserIds
|
||||
userIds: number
|
||||
resource: number
|
||||
resourceData:PrismaJson.QuotaResourceData
|
||||
resourceData: number
|
||||
limit: number
|
||||
period: number
|
||||
enabled: number
|
||||
|
||||
+1
-1
@@ -71,7 +71,7 @@ export type ShareLinkCountAggregateOutputType = {
|
||||
allowDownload: number
|
||||
defaultSortOrder: number
|
||||
viewMode: number
|
||||
fieldVisibility:PrismaJson.ShareLinkFieldVisibility
|
||||
fieldVisibility: number
|
||||
createdAt: number
|
||||
updatedAt: number
|
||||
projectId: number
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@ export type SkillCountAggregateOutputType = {
|
||||
id: number
|
||||
name: number
|
||||
description: number
|
||||
config:PrismaJson.SkillConfig
|
||||
config: number
|
||||
assetId: number
|
||||
hash: number
|
||||
permission: number
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@ export type SystemSettingsMaxAggregateOutputType = {
|
||||
export type SystemSettingsCountAggregateOutputType = {
|
||||
id: number
|
||||
key: number
|
||||
value:PrismaJson.SystemSettingsValue
|
||||
value: number
|
||||
createdAt: number
|
||||
updatedAt: number
|
||||
_all: number
|
||||
|
||||
+1
-1
@@ -45,7 +45,7 @@ export type TeamMaxAggregateOutputType = {
|
||||
export type TeamCountAggregateOutputType = {
|
||||
id: number
|
||||
name: number
|
||||
settings:PrismaJson.Settings
|
||||
settings: number
|
||||
createdAt: number
|
||||
updatedAt: number
|
||||
rootFolderId: number
|
||||
|
||||
+1
-1
@@ -60,7 +60,7 @@ export type UserCountAggregateOutputType = {
|
||||
emailVerified: number
|
||||
image: number
|
||||
password: number
|
||||
agentSettings:PrismaJson.AgentSettings
|
||||
agentSettings: number
|
||||
guestEmail: number
|
||||
createdAt: number
|
||||
updatedAt: number
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@ export type UserMetadataMaxAggregateOutputType = {
|
||||
export type UserMetadataCountAggregateOutputType = {
|
||||
id: number
|
||||
key: number
|
||||
value:PrismaJson.UserMetadataValue
|
||||
value: number
|
||||
createdAt: number
|
||||
updatedAt: number
|
||||
userId: number
|
||||
|
||||
+1
-1
@@ -42,7 +42,7 @@ export type WatermarkConfigMaxAggregateOutputType = {
|
||||
|
||||
export type WatermarkConfigCountAggregateOutputType = {
|
||||
id: number
|
||||
config:PrismaJson.WatermarkConfigSpec
|
||||
config: number
|
||||
hash: number
|
||||
createdAt: number
|
||||
updatedAt: number
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ export type WatermarkFileCountAggregateOutputType = {
|
||||
id: number
|
||||
assetId: number
|
||||
watermarkConfigId: number
|
||||
media:PrismaJson.MediaInfo
|
||||
media: number
|
||||
status: number
|
||||
createdAt: number
|
||||
updatedAt: number
|
||||
|
||||
@@ -45,7 +45,7 @@ export type WatermarkTemplateMaxAggregateOutputType = {
|
||||
export type WatermarkTemplateCountAggregateOutputType = {
|
||||
id: number
|
||||
name: number
|
||||
config:PrismaJson.WatermarkConfigSpec
|
||||
config: number
|
||||
teamId: number
|
||||
createdAt: number
|
||||
updatedAt: number
|
||||
|
||||
+2
-2
@@ -80,8 +80,8 @@ export type WorkflowTaskCountAggregateOutputType = {
|
||||
assetId: number
|
||||
type: number
|
||||
status: number
|
||||
payload:PrismaJson.WorkflowTaskPayload
|
||||
output:PrismaJson.WorkflowTaskOutput
|
||||
payload: number
|
||||
output: number
|
||||
heartbeat: number
|
||||
inputTokens: number
|
||||
outputTokens: number
|
||||
|
||||
Reference in New Issue
Block a user