更新首页

This commit is contained in:
cheney
2026-08-06 15:39:59 +08:00
parent ec15f40323
commit 547181d333
23 changed files with 3248 additions and 19 deletions
File diff suppressed because one or more lines are too long
+187 -1
View File
@@ -389,6 +389,8 @@ export const ModelName = {
Strategy: 'Strategy',
Indicator: 'Indicator',
IndicatorPoint: 'IndicatorPoint',
News: 'News',
Alert: 'Alert',
Econ_SowInventory: 'Econ_SowInventory',
ScraperCache: 'ScraperCache'
} as const
@@ -406,7 +408,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
omit: GlobalOmitOptions
}
meta: {
modelProps: "user" | "article" | "strategy" | "indicator" | "indicatorPoint" | "econ_SowInventory" | "scraperCache"
modelProps: "user" | "article" | "strategy" | "indicator" | "indicatorPoint" | "news" | "alert" | "econ_SowInventory" | "scraperCache"
txIsolationLevel: TransactionIsolationLevel
}
model: {
@@ -740,6 +742,138 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
}
}
}
News: {
payload: Prisma.$NewsPayload<ExtArgs>
fields: Prisma.NewsFieldRefs
operations: {
findUnique: {
args: Prisma.NewsFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$NewsPayload> | null
}
findUniqueOrThrow: {
args: Prisma.NewsFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$NewsPayload>
}
findFirst: {
args: Prisma.NewsFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$NewsPayload> | null
}
findFirstOrThrow: {
args: Prisma.NewsFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$NewsPayload>
}
findMany: {
args: Prisma.NewsFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$NewsPayload>[]
}
create: {
args: Prisma.NewsCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$NewsPayload>
}
createMany: {
args: Prisma.NewsCreateManyArgs<ExtArgs>
result: BatchPayload
}
delete: {
args: Prisma.NewsDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$NewsPayload>
}
update: {
args: Prisma.NewsUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$NewsPayload>
}
deleteMany: {
args: Prisma.NewsDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.NewsUpdateManyArgs<ExtArgs>
result: BatchPayload
}
upsert: {
args: Prisma.NewsUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$NewsPayload>
}
aggregate: {
args: Prisma.NewsAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregateNews>
}
groupBy: {
args: Prisma.NewsGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.NewsGroupByOutputType>[]
}
count: {
args: Prisma.NewsCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.NewsCountAggregateOutputType> | number
}
}
}
Alert: {
payload: Prisma.$AlertPayload<ExtArgs>
fields: Prisma.AlertFieldRefs
operations: {
findUnique: {
args: Prisma.AlertFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AlertPayload> | null
}
findUniqueOrThrow: {
args: Prisma.AlertFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AlertPayload>
}
findFirst: {
args: Prisma.AlertFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AlertPayload> | null
}
findFirstOrThrow: {
args: Prisma.AlertFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AlertPayload>
}
findMany: {
args: Prisma.AlertFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AlertPayload>[]
}
create: {
args: Prisma.AlertCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AlertPayload>
}
createMany: {
args: Prisma.AlertCreateManyArgs<ExtArgs>
result: BatchPayload
}
delete: {
args: Prisma.AlertDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AlertPayload>
}
update: {
args: Prisma.AlertUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AlertPayload>
}
deleteMany: {
args: Prisma.AlertDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.AlertUpdateManyArgs<ExtArgs>
result: BatchPayload
}
upsert: {
args: Prisma.AlertUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$AlertPayload>
}
aggregate: {
args: Prisma.AlertAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregateAlert>
}
groupBy: {
args: Prisma.AlertGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AlertGroupByOutputType>[]
}
count: {
args: Prisma.AlertCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AlertCountAggregateOutputType> | number
}
}
}
Econ_SowInventory: {
payload: Prisma.$Econ_SowInventoryPayload<ExtArgs>
fields: Prisma.Econ_SowInventoryFieldRefs
@@ -976,6 +1110,36 @@ export const IndicatorPointScalarFieldEnum = {
export type IndicatorPointScalarFieldEnum = (typeof IndicatorPointScalarFieldEnum)[keyof typeof IndicatorPointScalarFieldEnum]
export const NewsScalarFieldEnum = {
id: 'id',
title: 'title',
summary: 'summary',
source: 'source',
url: 'url',
publishedAt: 'publishedAt',
impactRank: 'impactRank',
createdAt: 'createdAt'
} as const
export type NewsScalarFieldEnum = (typeof NewsScalarFieldEnum)[keyof typeof NewsScalarFieldEnum]
export const AlertScalarFieldEnum = {
id: 'id',
indicatorName: 'indicatorName',
period: 'period',
valueA: 'valueA',
valueB: 'valueB',
sourceA: 'sourceA',
sourceB: 'sourceB',
diff: 'diff',
diffRatio: 'diffRatio',
createdAt: 'createdAt'
} as const
export type AlertScalarFieldEnum = (typeof AlertScalarFieldEnum)[keyof typeof AlertScalarFieldEnum]
export const Econ_SowInventoryScalarFieldEnum = {
id: 'id',
month: 'month',
@@ -1086,6 +1250,26 @@ export const IndicatorPointOrderByRelevanceFieldEnum = {
export type IndicatorPointOrderByRelevanceFieldEnum = (typeof IndicatorPointOrderByRelevanceFieldEnum)[keyof typeof IndicatorPointOrderByRelevanceFieldEnum]
export const NewsOrderByRelevanceFieldEnum = {
title: 'title',
summary: 'summary',
source: 'source',
url: 'url'
} as const
export type NewsOrderByRelevanceFieldEnum = (typeof NewsOrderByRelevanceFieldEnum)[keyof typeof NewsOrderByRelevanceFieldEnum]
export const AlertOrderByRelevanceFieldEnum = {
indicatorName: 'indicatorName',
period: 'period',
sourceA: 'sourceA',
sourceB: 'sourceB'
} as const
export type AlertOrderByRelevanceFieldEnum = (typeof AlertOrderByRelevanceFieldEnum)[keyof typeof AlertOrderByRelevanceFieldEnum]
export const Econ_SowInventoryOrderByRelevanceFieldEnum = {
month: 'month'
} as const
@@ -1263,6 +1447,8 @@ export type GlobalOmitConfig = {
strategy?: Prisma.StrategyOmit
indicator?: Prisma.IndicatorOmit
indicatorPoint?: Prisma.IndicatorPointOmit
news?: Prisma.NewsOmit
alert?: Prisma.AlertOmit
econ_SowInventory?: Prisma.Econ_SowInventoryOmit
scraperCache?: Prisma.ScraperCacheOmit
}
@@ -56,6 +56,8 @@ export const ModelName = {
Strategy: 'Strategy',
Indicator: 'Indicator',
IndicatorPoint: 'IndicatorPoint',
News: 'News',
Alert: 'Alert',
Econ_SowInventory: 'Econ_SowInventory',
ScraperCache: 'ScraperCache'
} as const
@@ -141,6 +143,36 @@ export const IndicatorPointScalarFieldEnum = {
export type IndicatorPointScalarFieldEnum = (typeof IndicatorPointScalarFieldEnum)[keyof typeof IndicatorPointScalarFieldEnum]
export const NewsScalarFieldEnum = {
id: 'id',
title: 'title',
summary: 'summary',
source: 'source',
url: 'url',
publishedAt: 'publishedAt',
impactRank: 'impactRank',
createdAt: 'createdAt'
} as const
export type NewsScalarFieldEnum = (typeof NewsScalarFieldEnum)[keyof typeof NewsScalarFieldEnum]
export const AlertScalarFieldEnum = {
id: 'id',
indicatorName: 'indicatorName',
period: 'period',
valueA: 'valueA',
valueB: 'valueB',
sourceA: 'sourceA',
sourceB: 'sourceB',
diff: 'diff',
diffRatio: 'diffRatio',
createdAt: 'createdAt'
} as const
export type AlertScalarFieldEnum = (typeof AlertScalarFieldEnum)[keyof typeof AlertScalarFieldEnum]
export const Econ_SowInventoryScalarFieldEnum = {
id: 'id',
month: 'month',
@@ -251,6 +283,26 @@ export const IndicatorPointOrderByRelevanceFieldEnum = {
export type IndicatorPointOrderByRelevanceFieldEnum = (typeof IndicatorPointOrderByRelevanceFieldEnum)[keyof typeof IndicatorPointOrderByRelevanceFieldEnum]
export const NewsOrderByRelevanceFieldEnum = {
title: 'title',
summary: 'summary',
source: 'source',
url: 'url'
} as const
export type NewsOrderByRelevanceFieldEnum = (typeof NewsOrderByRelevanceFieldEnum)[keyof typeof NewsOrderByRelevanceFieldEnum]
export const AlertOrderByRelevanceFieldEnum = {
indicatorName: 'indicatorName',
period: 'period',
sourceA: 'sourceA',
sourceB: 'sourceB'
} as const
export type AlertOrderByRelevanceFieldEnum = (typeof AlertOrderByRelevanceFieldEnum)[keyof typeof AlertOrderByRelevanceFieldEnum]
export const Econ_SowInventoryOrderByRelevanceFieldEnum = {
month: 'month'
} as const