第一个爬虫,但是感觉是不能用的。
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -388,7 +388,8 @@ export const ModelName = {
|
||||
Article: 'Article',
|
||||
Strategy: 'Strategy',
|
||||
Indicator: 'Indicator',
|
||||
SowInventory: 'SowInventory'
|
||||
Econ_SowInventory: 'Econ_SowInventory',
|
||||
ScraperCache: 'ScraperCache'
|
||||
} as const
|
||||
|
||||
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
||||
@@ -404,7 +405,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
||||
omit: GlobalOmitOptions
|
||||
}
|
||||
meta: {
|
||||
modelProps: "user" | "article" | "strategy" | "indicator" | "sowInventory"
|
||||
modelProps: "user" | "article" | "strategy" | "indicator" | "econ_SowInventory" | "scraperCache"
|
||||
txIsolationLevel: TransactionIsolationLevel
|
||||
}
|
||||
model: {
|
||||
@@ -672,69 +673,135 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
||||
}
|
||||
}
|
||||
}
|
||||
SowInventory: {
|
||||
payload: Prisma.$SowInventoryPayload<ExtArgs>
|
||||
fields: Prisma.SowInventoryFieldRefs
|
||||
Econ_SowInventory: {
|
||||
payload: Prisma.$Econ_SowInventoryPayload<ExtArgs>
|
||||
fields: Prisma.Econ_SowInventoryFieldRefs
|
||||
operations: {
|
||||
findUnique: {
|
||||
args: Prisma.SowInventoryFindUniqueArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SowInventoryPayload> | null
|
||||
args: Prisma.Econ_SowInventoryFindUniqueArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$Econ_SowInventoryPayload> | null
|
||||
}
|
||||
findUniqueOrThrow: {
|
||||
args: Prisma.SowInventoryFindUniqueOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SowInventoryPayload>
|
||||
args: Prisma.Econ_SowInventoryFindUniqueOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$Econ_SowInventoryPayload>
|
||||
}
|
||||
findFirst: {
|
||||
args: Prisma.SowInventoryFindFirstArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SowInventoryPayload> | null
|
||||
args: Prisma.Econ_SowInventoryFindFirstArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$Econ_SowInventoryPayload> | null
|
||||
}
|
||||
findFirstOrThrow: {
|
||||
args: Prisma.SowInventoryFindFirstOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SowInventoryPayload>
|
||||
args: Prisma.Econ_SowInventoryFindFirstOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$Econ_SowInventoryPayload>
|
||||
}
|
||||
findMany: {
|
||||
args: Prisma.SowInventoryFindManyArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SowInventoryPayload>[]
|
||||
args: Prisma.Econ_SowInventoryFindManyArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$Econ_SowInventoryPayload>[]
|
||||
}
|
||||
create: {
|
||||
args: Prisma.SowInventoryCreateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SowInventoryPayload>
|
||||
args: Prisma.Econ_SowInventoryCreateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$Econ_SowInventoryPayload>
|
||||
}
|
||||
createMany: {
|
||||
args: Prisma.SowInventoryCreateManyArgs<ExtArgs>
|
||||
args: Prisma.Econ_SowInventoryCreateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
delete: {
|
||||
args: Prisma.SowInventoryDeleteArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SowInventoryPayload>
|
||||
args: Prisma.Econ_SowInventoryDeleteArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$Econ_SowInventoryPayload>
|
||||
}
|
||||
update: {
|
||||
args: Prisma.SowInventoryUpdateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SowInventoryPayload>
|
||||
args: Prisma.Econ_SowInventoryUpdateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$Econ_SowInventoryPayload>
|
||||
}
|
||||
deleteMany: {
|
||||
args: Prisma.SowInventoryDeleteManyArgs<ExtArgs>
|
||||
args: Prisma.Econ_SowInventoryDeleteManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
updateMany: {
|
||||
args: Prisma.SowInventoryUpdateManyArgs<ExtArgs>
|
||||
args: Prisma.Econ_SowInventoryUpdateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
upsert: {
|
||||
args: Prisma.SowInventoryUpsertArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$SowInventoryPayload>
|
||||
args: Prisma.Econ_SowInventoryUpsertArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$Econ_SowInventoryPayload>
|
||||
}
|
||||
aggregate: {
|
||||
args: Prisma.SowInventoryAggregateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.AggregateSowInventory>
|
||||
args: Prisma.Econ_SowInventoryAggregateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.AggregateEcon_SowInventory>
|
||||
}
|
||||
groupBy: {
|
||||
args: Prisma.SowInventoryGroupByArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.SowInventoryGroupByOutputType>[]
|
||||
args: Prisma.Econ_SowInventoryGroupByArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.Econ_SowInventoryGroupByOutputType>[]
|
||||
}
|
||||
count: {
|
||||
args: Prisma.SowInventoryCountArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.SowInventoryCountAggregateOutputType> | number
|
||||
args: Prisma.Econ_SowInventoryCountArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.Econ_SowInventoryCountAggregateOutputType> | number
|
||||
}
|
||||
}
|
||||
}
|
||||
ScraperCache: {
|
||||
payload: Prisma.$ScraperCachePayload<ExtArgs>
|
||||
fields: Prisma.ScraperCacheFieldRefs
|
||||
operations: {
|
||||
findUnique: {
|
||||
args: Prisma.ScraperCacheFindUniqueArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ScraperCachePayload> | null
|
||||
}
|
||||
findUniqueOrThrow: {
|
||||
args: Prisma.ScraperCacheFindUniqueOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ScraperCachePayload>
|
||||
}
|
||||
findFirst: {
|
||||
args: Prisma.ScraperCacheFindFirstArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ScraperCachePayload> | null
|
||||
}
|
||||
findFirstOrThrow: {
|
||||
args: Prisma.ScraperCacheFindFirstOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ScraperCachePayload>
|
||||
}
|
||||
findMany: {
|
||||
args: Prisma.ScraperCacheFindManyArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ScraperCachePayload>[]
|
||||
}
|
||||
create: {
|
||||
args: Prisma.ScraperCacheCreateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ScraperCachePayload>
|
||||
}
|
||||
createMany: {
|
||||
args: Prisma.ScraperCacheCreateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
delete: {
|
||||
args: Prisma.ScraperCacheDeleteArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ScraperCachePayload>
|
||||
}
|
||||
update: {
|
||||
args: Prisma.ScraperCacheUpdateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ScraperCachePayload>
|
||||
}
|
||||
deleteMany: {
|
||||
args: Prisma.ScraperCacheDeleteManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
updateMany: {
|
||||
args: Prisma.ScraperCacheUpdateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
upsert: {
|
||||
args: Prisma.ScraperCacheUpsertArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ScraperCachePayload>
|
||||
}
|
||||
aggregate: {
|
||||
args: Prisma.ScraperCacheAggregateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.AggregateScraperCache>
|
||||
}
|
||||
groupBy: {
|
||||
args: Prisma.ScraperCacheGroupByArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.ScraperCacheGroupByOutputType>[]
|
||||
}
|
||||
count: {
|
||||
args: Prisma.ScraperCacheCountArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.ScraperCacheCountAggregateOutputType> | number
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -826,7 +893,7 @@ export const IndicatorScalarFieldEnum = {
|
||||
export type IndicatorScalarFieldEnum = (typeof IndicatorScalarFieldEnum)[keyof typeof IndicatorScalarFieldEnum]
|
||||
|
||||
|
||||
export const SowInventoryScalarFieldEnum = {
|
||||
export const Econ_SowInventoryScalarFieldEnum = {
|
||||
id: 'id',
|
||||
month: 'month',
|
||||
inventory: 'inventory',
|
||||
@@ -834,7 +901,20 @@ export const SowInventoryScalarFieldEnum = {
|
||||
updatedAt: 'updatedAt'
|
||||
} as const
|
||||
|
||||
export type SowInventoryScalarFieldEnum = (typeof SowInventoryScalarFieldEnum)[keyof typeof SowInventoryScalarFieldEnum]
|
||||
export type Econ_SowInventoryScalarFieldEnum = (typeof Econ_SowInventoryScalarFieldEnum)[keyof typeof Econ_SowInventoryScalarFieldEnum]
|
||||
|
||||
|
||||
export const ScraperCacheScalarFieldEnum = {
|
||||
id: 'id',
|
||||
scraperName: 'scraperName',
|
||||
lastDataHash: 'lastDataHash',
|
||||
lastUpdateAt: 'lastUpdateAt',
|
||||
metadata: 'metadata',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
} as const
|
||||
|
||||
export type ScraperCacheScalarFieldEnum = (typeof ScraperCacheScalarFieldEnum)[keyof typeof ScraperCacheScalarFieldEnum]
|
||||
|
||||
|
||||
export const SortOrder = {
|
||||
@@ -852,6 +932,14 @@ export const JsonNullValueInput = {
|
||||
export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput]
|
||||
|
||||
|
||||
export const NullableJsonNullValueInput = {
|
||||
DbNull: DbNull,
|
||||
JsonNull: JsonNull
|
||||
} as const
|
||||
|
||||
export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput]
|
||||
|
||||
|
||||
export const UserOrderByRelevanceFieldEnum = {
|
||||
name: 'name',
|
||||
email: 'email',
|
||||
@@ -904,11 +992,27 @@ export const IndicatorOrderByRelevanceFieldEnum = {
|
||||
export type IndicatorOrderByRelevanceFieldEnum = (typeof IndicatorOrderByRelevanceFieldEnum)[keyof typeof IndicatorOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const SowInventoryOrderByRelevanceFieldEnum = {
|
||||
export const Econ_SowInventoryOrderByRelevanceFieldEnum = {
|
||||
month: 'month'
|
||||
} as const
|
||||
|
||||
export type SowInventoryOrderByRelevanceFieldEnum = (typeof SowInventoryOrderByRelevanceFieldEnum)[keyof typeof SowInventoryOrderByRelevanceFieldEnum]
|
||||
export type Econ_SowInventoryOrderByRelevanceFieldEnum = (typeof Econ_SowInventoryOrderByRelevanceFieldEnum)[keyof typeof Econ_SowInventoryOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const NullsOrder = {
|
||||
first: 'first',
|
||||
last: 'last'
|
||||
} as const
|
||||
|
||||
export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
|
||||
|
||||
|
||||
export const ScraperCacheOrderByRelevanceFieldEnum = {
|
||||
scraperName: 'scraperName',
|
||||
lastDataHash: 'lastDataHash'
|
||||
} as const
|
||||
|
||||
export type ScraperCacheOrderByRelevanceFieldEnum = (typeof ScraperCacheOrderByRelevanceFieldEnum)[keyof typeof ScraperCacheOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
|
||||
@@ -1057,7 +1161,8 @@ export type GlobalOmitConfig = {
|
||||
article?: Prisma.ArticleOmit
|
||||
strategy?: Prisma.StrategyOmit
|
||||
indicator?: Prisma.IndicatorOmit
|
||||
sowInventory?: Prisma.SowInventoryOmit
|
||||
econ_SowInventory?: Prisma.Econ_SowInventoryOmit
|
||||
scraperCache?: Prisma.ScraperCacheOmit
|
||||
}
|
||||
|
||||
/* Types for Logging */
|
||||
|
||||
@@ -55,7 +55,8 @@ export const ModelName = {
|
||||
Article: 'Article',
|
||||
Strategy: 'Strategy',
|
||||
Indicator: 'Indicator',
|
||||
SowInventory: 'SowInventory'
|
||||
Econ_SowInventory: 'Econ_SowInventory',
|
||||
ScraperCache: 'ScraperCache'
|
||||
} as const
|
||||
|
||||
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
||||
@@ -123,7 +124,7 @@ export const IndicatorScalarFieldEnum = {
|
||||
export type IndicatorScalarFieldEnum = (typeof IndicatorScalarFieldEnum)[keyof typeof IndicatorScalarFieldEnum]
|
||||
|
||||
|
||||
export const SowInventoryScalarFieldEnum = {
|
||||
export const Econ_SowInventoryScalarFieldEnum = {
|
||||
id: 'id',
|
||||
month: 'month',
|
||||
inventory: 'inventory',
|
||||
@@ -131,7 +132,20 @@ export const SowInventoryScalarFieldEnum = {
|
||||
updatedAt: 'updatedAt'
|
||||
} as const
|
||||
|
||||
export type SowInventoryScalarFieldEnum = (typeof SowInventoryScalarFieldEnum)[keyof typeof SowInventoryScalarFieldEnum]
|
||||
export type Econ_SowInventoryScalarFieldEnum = (typeof Econ_SowInventoryScalarFieldEnum)[keyof typeof Econ_SowInventoryScalarFieldEnum]
|
||||
|
||||
|
||||
export const ScraperCacheScalarFieldEnum = {
|
||||
id: 'id',
|
||||
scraperName: 'scraperName',
|
||||
lastDataHash: 'lastDataHash',
|
||||
lastUpdateAt: 'lastUpdateAt',
|
||||
metadata: 'metadata',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
} as const
|
||||
|
||||
export type ScraperCacheScalarFieldEnum = (typeof ScraperCacheScalarFieldEnum)[keyof typeof ScraperCacheScalarFieldEnum]
|
||||
|
||||
|
||||
export const SortOrder = {
|
||||
@@ -149,6 +163,14 @@ export const JsonNullValueInput = {
|
||||
export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput]
|
||||
|
||||
|
||||
export const NullableJsonNullValueInput = {
|
||||
DbNull: DbNull,
|
||||
JsonNull: JsonNull
|
||||
} as const
|
||||
|
||||
export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput]
|
||||
|
||||
|
||||
export const UserOrderByRelevanceFieldEnum = {
|
||||
name: 'name',
|
||||
email: 'email',
|
||||
@@ -201,9 +223,25 @@ export const IndicatorOrderByRelevanceFieldEnum = {
|
||||
export type IndicatorOrderByRelevanceFieldEnum = (typeof IndicatorOrderByRelevanceFieldEnum)[keyof typeof IndicatorOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const SowInventoryOrderByRelevanceFieldEnum = {
|
||||
export const Econ_SowInventoryOrderByRelevanceFieldEnum = {
|
||||
month: 'month'
|
||||
} as const
|
||||
|
||||
export type SowInventoryOrderByRelevanceFieldEnum = (typeof SowInventoryOrderByRelevanceFieldEnum)[keyof typeof SowInventoryOrderByRelevanceFieldEnum]
|
||||
export type Econ_SowInventoryOrderByRelevanceFieldEnum = (typeof Econ_SowInventoryOrderByRelevanceFieldEnum)[keyof typeof Econ_SowInventoryOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const NullsOrder = {
|
||||
first: 'first',
|
||||
last: 'last'
|
||||
} as const
|
||||
|
||||
export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
|
||||
|
||||
|
||||
export const ScraperCacheOrderByRelevanceFieldEnum = {
|
||||
scraperName: 'scraperName',
|
||||
lastDataHash: 'lastDataHash'
|
||||
} as const
|
||||
|
||||
export type ScraperCacheOrderByRelevanceFieldEnum = (typeof ScraperCacheOrderByRelevanceFieldEnum)[keyof typeof ScraperCacheOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user