更新首页
This commit is contained in:
@@ -52,6 +52,21 @@ export type News = Prisma.NewsModel
|
||||
*
|
||||
*/
|
||||
export type Alert = Prisma.AlertModel
|
||||
/**
|
||||
* Model ServerNode
|
||||
*
|
||||
*/
|
||||
export type ServerNode = Prisma.ServerNodeModel
|
||||
/**
|
||||
* Model ServerNodeHistory
|
||||
*
|
||||
*/
|
||||
export type ServerNodeHistory = Prisma.ServerNodeHistoryModel
|
||||
/**
|
||||
* Model ServiceCheck
|
||||
*
|
||||
*/
|
||||
export type ServiceCheck = Prisma.ServiceCheckModel
|
||||
/**
|
||||
* Model Econ_SowInventory
|
||||
*
|
||||
|
||||
@@ -76,6 +76,21 @@ export type News = Prisma.NewsModel
|
||||
*
|
||||
*/
|
||||
export type Alert = Prisma.AlertModel
|
||||
/**
|
||||
* Model ServerNode
|
||||
*
|
||||
*/
|
||||
export type ServerNode = Prisma.ServerNodeModel
|
||||
/**
|
||||
* Model ServerNodeHistory
|
||||
*
|
||||
*/
|
||||
export type ServerNodeHistory = Prisma.ServerNodeHistoryModel
|
||||
/**
|
||||
* Model ServiceCheck
|
||||
*
|
||||
*/
|
||||
export type ServiceCheck = Prisma.ServiceCheckModel
|
||||
/**
|
||||
* Model Econ_SowInventory
|
||||
*
|
||||
|
||||
@@ -205,6 +205,56 @@ export type StringNullableFilter<$PrismaModel = never> = {
|
||||
not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null
|
||||
}
|
||||
|
||||
export type SortOrderInput = {
|
||||
sort: Prisma.SortOrder
|
||||
nulls?: Prisma.NullsOrder
|
||||
}
|
||||
|
||||
export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
||||
in?: string[] | null
|
||||
notIn?: string[] | null
|
||||
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
search?: string
|
||||
not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
|
||||
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type BigIntFilter<$PrismaModel = never> = {
|
||||
equals?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>
|
||||
in?: bigint[] | number[]
|
||||
notIn?: bigint[] | number[]
|
||||
lt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>
|
||||
lte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>
|
||||
gt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>
|
||||
gte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedBigIntFilter<$PrismaModel> | bigint | number
|
||||
}
|
||||
|
||||
export type BigIntWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>
|
||||
in?: bigint[] | number[]
|
||||
notIn?: bigint[] | number[]
|
||||
lt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>
|
||||
lte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>
|
||||
gt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>
|
||||
gte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedBigIntWithAggregatesFilter<$PrismaModel> | bigint | number
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_avg?: Prisma.NestedFloatFilter<$PrismaModel>
|
||||
_sum?: Prisma.NestedBigIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedBigIntFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedBigIntFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type JsonNullableFilter<$PrismaModel = never> =
|
||||
| Prisma.PatchUndefined<
|
||||
Prisma.Either<Required<JsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>,
|
||||
@@ -229,29 +279,6 @@ export type JsonNullableFilterBase<$PrismaModel = never> = {
|
||||
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
||||
}
|
||||
|
||||
export type SortOrderInput = {
|
||||
sort: Prisma.SortOrder
|
||||
nulls?: Prisma.NullsOrder
|
||||
}
|
||||
|
||||
export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
||||
in?: string[] | null
|
||||
notIn?: string[] | null
|
||||
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
search?: string
|
||||
not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
|
||||
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type JsonNullableWithAggregatesFilter<$PrismaModel = never> =
|
||||
| Prisma.PatchUndefined<
|
||||
Prisma.Either<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>,
|
||||
@@ -472,6 +499,33 @@ export type NestedIntNullableFilter<$PrismaModel = never> = {
|
||||
not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null
|
||||
}
|
||||
|
||||
export type NestedBigIntFilter<$PrismaModel = never> = {
|
||||
equals?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>
|
||||
in?: bigint[] | number[]
|
||||
notIn?: bigint[] | number[]
|
||||
lt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>
|
||||
lte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>
|
||||
gt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>
|
||||
gte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedBigIntFilter<$PrismaModel> | bigint | number
|
||||
}
|
||||
|
||||
export type NestedBigIntWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>
|
||||
in?: bigint[] | number[]
|
||||
notIn?: bigint[] | number[]
|
||||
lt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>
|
||||
lte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>
|
||||
gt?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>
|
||||
gte?: bigint | number | Prisma.BigIntFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedBigIntWithAggregatesFilter<$PrismaModel> | bigint | number
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_avg?: Prisma.NestedFloatFilter<$PrismaModel>
|
||||
_sum?: Prisma.NestedBigIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedBigIntFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedBigIntFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedJsonNullableFilter<$PrismaModel = never> =
|
||||
| Prisma.PatchUndefined<
|
||||
Prisma.Either<Required<NestedJsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>>,
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -391,6 +391,9 @@ export const ModelName = {
|
||||
IndicatorPoint: 'IndicatorPoint',
|
||||
News: 'News',
|
||||
Alert: 'Alert',
|
||||
ServerNode: 'ServerNode',
|
||||
ServerNodeHistory: 'ServerNodeHistory',
|
||||
ServiceCheck: 'ServiceCheck',
|
||||
Econ_SowInventory: 'Econ_SowInventory',
|
||||
ScraperCache: 'ScraperCache'
|
||||
} as const
|
||||
@@ -408,7 +411,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
||||
omit: GlobalOmitOptions
|
||||
}
|
||||
meta: {
|
||||
modelProps: "user" | "article" | "strategy" | "indicator" | "indicatorPoint" | "news" | "alert" | "econ_SowInventory" | "scraperCache"
|
||||
modelProps: "user" | "article" | "strategy" | "indicator" | "indicatorPoint" | "news" | "alert" | "serverNode" | "serverNodeHistory" | "serviceCheck" | "econ_SowInventory" | "scraperCache"
|
||||
txIsolationLevel: TransactionIsolationLevel
|
||||
}
|
||||
model: {
|
||||
@@ -874,6 +877,204 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
||||
}
|
||||
}
|
||||
}
|
||||
ServerNode: {
|
||||
payload: Prisma.$ServerNodePayload<ExtArgs>
|
||||
fields: Prisma.ServerNodeFieldRefs
|
||||
operations: {
|
||||
findUnique: {
|
||||
args: Prisma.ServerNodeFindUniqueArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServerNodePayload> | null
|
||||
}
|
||||
findUniqueOrThrow: {
|
||||
args: Prisma.ServerNodeFindUniqueOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServerNodePayload>
|
||||
}
|
||||
findFirst: {
|
||||
args: Prisma.ServerNodeFindFirstArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServerNodePayload> | null
|
||||
}
|
||||
findFirstOrThrow: {
|
||||
args: Prisma.ServerNodeFindFirstOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServerNodePayload>
|
||||
}
|
||||
findMany: {
|
||||
args: Prisma.ServerNodeFindManyArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServerNodePayload>[]
|
||||
}
|
||||
create: {
|
||||
args: Prisma.ServerNodeCreateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServerNodePayload>
|
||||
}
|
||||
createMany: {
|
||||
args: Prisma.ServerNodeCreateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
delete: {
|
||||
args: Prisma.ServerNodeDeleteArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServerNodePayload>
|
||||
}
|
||||
update: {
|
||||
args: Prisma.ServerNodeUpdateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServerNodePayload>
|
||||
}
|
||||
deleteMany: {
|
||||
args: Prisma.ServerNodeDeleteManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
updateMany: {
|
||||
args: Prisma.ServerNodeUpdateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
upsert: {
|
||||
args: Prisma.ServerNodeUpsertArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServerNodePayload>
|
||||
}
|
||||
aggregate: {
|
||||
args: Prisma.ServerNodeAggregateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.AggregateServerNode>
|
||||
}
|
||||
groupBy: {
|
||||
args: Prisma.ServerNodeGroupByArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.ServerNodeGroupByOutputType>[]
|
||||
}
|
||||
count: {
|
||||
args: Prisma.ServerNodeCountArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.ServerNodeCountAggregateOutputType> | number
|
||||
}
|
||||
}
|
||||
}
|
||||
ServerNodeHistory: {
|
||||
payload: Prisma.$ServerNodeHistoryPayload<ExtArgs>
|
||||
fields: Prisma.ServerNodeHistoryFieldRefs
|
||||
operations: {
|
||||
findUnique: {
|
||||
args: Prisma.ServerNodeHistoryFindUniqueArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServerNodeHistoryPayload> | null
|
||||
}
|
||||
findUniqueOrThrow: {
|
||||
args: Prisma.ServerNodeHistoryFindUniqueOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServerNodeHistoryPayload>
|
||||
}
|
||||
findFirst: {
|
||||
args: Prisma.ServerNodeHistoryFindFirstArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServerNodeHistoryPayload> | null
|
||||
}
|
||||
findFirstOrThrow: {
|
||||
args: Prisma.ServerNodeHistoryFindFirstOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServerNodeHistoryPayload>
|
||||
}
|
||||
findMany: {
|
||||
args: Prisma.ServerNodeHistoryFindManyArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServerNodeHistoryPayload>[]
|
||||
}
|
||||
create: {
|
||||
args: Prisma.ServerNodeHistoryCreateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServerNodeHistoryPayload>
|
||||
}
|
||||
createMany: {
|
||||
args: Prisma.ServerNodeHistoryCreateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
delete: {
|
||||
args: Prisma.ServerNodeHistoryDeleteArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServerNodeHistoryPayload>
|
||||
}
|
||||
update: {
|
||||
args: Prisma.ServerNodeHistoryUpdateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServerNodeHistoryPayload>
|
||||
}
|
||||
deleteMany: {
|
||||
args: Prisma.ServerNodeHistoryDeleteManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
updateMany: {
|
||||
args: Prisma.ServerNodeHistoryUpdateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
upsert: {
|
||||
args: Prisma.ServerNodeHistoryUpsertArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServerNodeHistoryPayload>
|
||||
}
|
||||
aggregate: {
|
||||
args: Prisma.ServerNodeHistoryAggregateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.AggregateServerNodeHistory>
|
||||
}
|
||||
groupBy: {
|
||||
args: Prisma.ServerNodeHistoryGroupByArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.ServerNodeHistoryGroupByOutputType>[]
|
||||
}
|
||||
count: {
|
||||
args: Prisma.ServerNodeHistoryCountArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.ServerNodeHistoryCountAggregateOutputType> | number
|
||||
}
|
||||
}
|
||||
}
|
||||
ServiceCheck: {
|
||||
payload: Prisma.$ServiceCheckPayload<ExtArgs>
|
||||
fields: Prisma.ServiceCheckFieldRefs
|
||||
operations: {
|
||||
findUnique: {
|
||||
args: Prisma.ServiceCheckFindUniqueArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServiceCheckPayload> | null
|
||||
}
|
||||
findUniqueOrThrow: {
|
||||
args: Prisma.ServiceCheckFindUniqueOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServiceCheckPayload>
|
||||
}
|
||||
findFirst: {
|
||||
args: Prisma.ServiceCheckFindFirstArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServiceCheckPayload> | null
|
||||
}
|
||||
findFirstOrThrow: {
|
||||
args: Prisma.ServiceCheckFindFirstOrThrowArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServiceCheckPayload>
|
||||
}
|
||||
findMany: {
|
||||
args: Prisma.ServiceCheckFindManyArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServiceCheckPayload>[]
|
||||
}
|
||||
create: {
|
||||
args: Prisma.ServiceCheckCreateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServiceCheckPayload>
|
||||
}
|
||||
createMany: {
|
||||
args: Prisma.ServiceCheckCreateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
delete: {
|
||||
args: Prisma.ServiceCheckDeleteArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServiceCheckPayload>
|
||||
}
|
||||
update: {
|
||||
args: Prisma.ServiceCheckUpdateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServiceCheckPayload>
|
||||
}
|
||||
deleteMany: {
|
||||
args: Prisma.ServiceCheckDeleteManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
updateMany: {
|
||||
args: Prisma.ServiceCheckUpdateManyArgs<ExtArgs>
|
||||
result: BatchPayload
|
||||
}
|
||||
upsert: {
|
||||
args: Prisma.ServiceCheckUpsertArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.PayloadToResult<Prisma.$ServiceCheckPayload>
|
||||
}
|
||||
aggregate: {
|
||||
args: Prisma.ServiceCheckAggregateArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.AggregateServiceCheck>
|
||||
}
|
||||
groupBy: {
|
||||
args: Prisma.ServiceCheckGroupByArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.ServiceCheckGroupByOutputType>[]
|
||||
}
|
||||
count: {
|
||||
args: Prisma.ServiceCheckCountArgs<ExtArgs>
|
||||
result: runtime.Types.Utils.Optional<Prisma.ServiceCheckCountAggregateOutputType> | number
|
||||
}
|
||||
}
|
||||
}
|
||||
Econ_SowInventory: {
|
||||
payload: Prisma.$Econ_SowInventoryPayload<ExtArgs>
|
||||
fields: Prisma.Econ_SowInventoryFieldRefs
|
||||
@@ -1114,6 +1315,7 @@ export const NewsScalarFieldEnum = {
|
||||
id: 'id',
|
||||
title: 'title',
|
||||
summary: 'summary',
|
||||
content: 'content',
|
||||
source: 'source',
|
||||
url: 'url',
|
||||
publishedAt: 'publishedAt',
|
||||
@@ -1140,6 +1342,70 @@ export const AlertScalarFieldEnum = {
|
||||
export type AlertScalarFieldEnum = (typeof AlertScalarFieldEnum)[keyof typeof AlertScalarFieldEnum]
|
||||
|
||||
|
||||
export const ServerNodeScalarFieldEnum = {
|
||||
id: 'id',
|
||||
uuid: 'uuid',
|
||||
name: 'name',
|
||||
cpuName: 'cpuName',
|
||||
os: 'os',
|
||||
region: 'region',
|
||||
memTotal: 'memTotal',
|
||||
diskTotal: 'diskTotal',
|
||||
cpuCores: 'cpuCores',
|
||||
cpuUsage: 'cpuUsage',
|
||||
ramUsed: 'ramUsed',
|
||||
swapUsed: 'swapUsed',
|
||||
load1: 'load1',
|
||||
load5: 'load5',
|
||||
load15: 'load15',
|
||||
diskUsed: 'diskUsed',
|
||||
netIn: 'netIn',
|
||||
netOut: 'netOut',
|
||||
uptime: 'uptime',
|
||||
process: 'process',
|
||||
connections: 'connections',
|
||||
status: 'status',
|
||||
recordedAt: 'recordedAt',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
} as const
|
||||
|
||||
export type ServerNodeScalarFieldEnum = (typeof ServerNodeScalarFieldEnum)[keyof typeof ServerNodeScalarFieldEnum]
|
||||
|
||||
|
||||
export const ServerNodeHistoryScalarFieldEnum = {
|
||||
id: 'id',
|
||||
uuid: 'uuid',
|
||||
period: 'period',
|
||||
cpu: 'cpu',
|
||||
ram: 'ram',
|
||||
load: 'load',
|
||||
disk: 'disk',
|
||||
netIn: 'netIn',
|
||||
netOut: 'netOut',
|
||||
process: 'process',
|
||||
connections: 'connections',
|
||||
createdAt: 'createdAt'
|
||||
} as const
|
||||
|
||||
export type ServerNodeHistoryScalarFieldEnum = (typeof ServerNodeHistoryScalarFieldEnum)[keyof typeof ServerNodeHistoryScalarFieldEnum]
|
||||
|
||||
|
||||
export const ServiceCheckScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
url: 'url',
|
||||
status: 'status',
|
||||
latencyMs: 'latencyMs',
|
||||
message: 'message',
|
||||
lastCheckAt: 'lastCheckAt',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
} as const
|
||||
|
||||
export type ServiceCheckScalarFieldEnum = (typeof ServiceCheckScalarFieldEnum)[keyof typeof ServiceCheckScalarFieldEnum]
|
||||
|
||||
|
||||
export const Econ_SowInventoryScalarFieldEnum = {
|
||||
id: 'id',
|
||||
month: 'month',
|
||||
@@ -1250,9 +1516,18 @@ export const IndicatorPointOrderByRelevanceFieldEnum = {
|
||||
export type IndicatorPointOrderByRelevanceFieldEnum = (typeof IndicatorPointOrderByRelevanceFieldEnum)[keyof typeof IndicatorPointOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const NullsOrder = {
|
||||
first: 'first',
|
||||
last: 'last'
|
||||
} as const
|
||||
|
||||
export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
|
||||
|
||||
|
||||
export const NewsOrderByRelevanceFieldEnum = {
|
||||
title: 'title',
|
||||
summary: 'summary',
|
||||
content: 'content',
|
||||
source: 'source',
|
||||
url: 'url'
|
||||
} as const
|
||||
@@ -1270,6 +1545,35 @@ export const AlertOrderByRelevanceFieldEnum = {
|
||||
export type AlertOrderByRelevanceFieldEnum = (typeof AlertOrderByRelevanceFieldEnum)[keyof typeof AlertOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const ServerNodeOrderByRelevanceFieldEnum = {
|
||||
uuid: 'uuid',
|
||||
name: 'name',
|
||||
cpuName: 'cpuName',
|
||||
os: 'os',
|
||||
region: 'region',
|
||||
status: 'status'
|
||||
} as const
|
||||
|
||||
export type ServerNodeOrderByRelevanceFieldEnum = (typeof ServerNodeOrderByRelevanceFieldEnum)[keyof typeof ServerNodeOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const ServerNodeHistoryOrderByRelevanceFieldEnum = {
|
||||
uuid: 'uuid'
|
||||
} as const
|
||||
|
||||
export type ServerNodeHistoryOrderByRelevanceFieldEnum = (typeof ServerNodeHistoryOrderByRelevanceFieldEnum)[keyof typeof ServerNodeHistoryOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const ServiceCheckOrderByRelevanceFieldEnum = {
|
||||
name: 'name',
|
||||
url: 'url',
|
||||
status: 'status',
|
||||
message: 'message'
|
||||
} as const
|
||||
|
||||
export type ServiceCheckOrderByRelevanceFieldEnum = (typeof ServiceCheckOrderByRelevanceFieldEnum)[keyof typeof ServiceCheckOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const Econ_SowInventoryOrderByRelevanceFieldEnum = {
|
||||
month: 'month'
|
||||
} as const
|
||||
@@ -1277,14 +1581,6 @@ export const Econ_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'
|
||||
@@ -1347,6 +1643,13 @@ export type BooleanFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel,
|
||||
export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'>
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Reference to a field of type 'BigInt'
|
||||
*/
|
||||
export type BigIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'BigInt'>
|
||||
|
||||
|
||||
/**
|
||||
* Batch Payload for updateMany & deleteMany & createMany
|
||||
*/
|
||||
@@ -1449,6 +1752,9 @@ export type GlobalOmitConfig = {
|
||||
indicatorPoint?: Prisma.IndicatorPointOmit
|
||||
news?: Prisma.NewsOmit
|
||||
alert?: Prisma.AlertOmit
|
||||
serverNode?: Prisma.ServerNodeOmit
|
||||
serverNodeHistory?: Prisma.ServerNodeHistoryOmit
|
||||
serviceCheck?: Prisma.ServiceCheckOmit
|
||||
econ_SowInventory?: Prisma.Econ_SowInventoryOmit
|
||||
scraperCache?: Prisma.ScraperCacheOmit
|
||||
}
|
||||
|
||||
@@ -58,6 +58,9 @@ export const ModelName = {
|
||||
IndicatorPoint: 'IndicatorPoint',
|
||||
News: 'News',
|
||||
Alert: 'Alert',
|
||||
ServerNode: 'ServerNode',
|
||||
ServerNodeHistory: 'ServerNodeHistory',
|
||||
ServiceCheck: 'ServiceCheck',
|
||||
Econ_SowInventory: 'Econ_SowInventory',
|
||||
ScraperCache: 'ScraperCache'
|
||||
} as const
|
||||
@@ -147,6 +150,7 @@ export const NewsScalarFieldEnum = {
|
||||
id: 'id',
|
||||
title: 'title',
|
||||
summary: 'summary',
|
||||
content: 'content',
|
||||
source: 'source',
|
||||
url: 'url',
|
||||
publishedAt: 'publishedAt',
|
||||
@@ -173,6 +177,70 @@ export const AlertScalarFieldEnum = {
|
||||
export type AlertScalarFieldEnum = (typeof AlertScalarFieldEnum)[keyof typeof AlertScalarFieldEnum]
|
||||
|
||||
|
||||
export const ServerNodeScalarFieldEnum = {
|
||||
id: 'id',
|
||||
uuid: 'uuid',
|
||||
name: 'name',
|
||||
cpuName: 'cpuName',
|
||||
os: 'os',
|
||||
region: 'region',
|
||||
memTotal: 'memTotal',
|
||||
diskTotal: 'diskTotal',
|
||||
cpuCores: 'cpuCores',
|
||||
cpuUsage: 'cpuUsage',
|
||||
ramUsed: 'ramUsed',
|
||||
swapUsed: 'swapUsed',
|
||||
load1: 'load1',
|
||||
load5: 'load5',
|
||||
load15: 'load15',
|
||||
diskUsed: 'diskUsed',
|
||||
netIn: 'netIn',
|
||||
netOut: 'netOut',
|
||||
uptime: 'uptime',
|
||||
process: 'process',
|
||||
connections: 'connections',
|
||||
status: 'status',
|
||||
recordedAt: 'recordedAt',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
} as const
|
||||
|
||||
export type ServerNodeScalarFieldEnum = (typeof ServerNodeScalarFieldEnum)[keyof typeof ServerNodeScalarFieldEnum]
|
||||
|
||||
|
||||
export const ServerNodeHistoryScalarFieldEnum = {
|
||||
id: 'id',
|
||||
uuid: 'uuid',
|
||||
period: 'period',
|
||||
cpu: 'cpu',
|
||||
ram: 'ram',
|
||||
load: 'load',
|
||||
disk: 'disk',
|
||||
netIn: 'netIn',
|
||||
netOut: 'netOut',
|
||||
process: 'process',
|
||||
connections: 'connections',
|
||||
createdAt: 'createdAt'
|
||||
} as const
|
||||
|
||||
export type ServerNodeHistoryScalarFieldEnum = (typeof ServerNodeHistoryScalarFieldEnum)[keyof typeof ServerNodeHistoryScalarFieldEnum]
|
||||
|
||||
|
||||
export const ServiceCheckScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
url: 'url',
|
||||
status: 'status',
|
||||
latencyMs: 'latencyMs',
|
||||
message: 'message',
|
||||
lastCheckAt: 'lastCheckAt',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
} as const
|
||||
|
||||
export type ServiceCheckScalarFieldEnum = (typeof ServiceCheckScalarFieldEnum)[keyof typeof ServiceCheckScalarFieldEnum]
|
||||
|
||||
|
||||
export const Econ_SowInventoryScalarFieldEnum = {
|
||||
id: 'id',
|
||||
month: 'month',
|
||||
@@ -283,9 +351,18 @@ export const IndicatorPointOrderByRelevanceFieldEnum = {
|
||||
export type IndicatorPointOrderByRelevanceFieldEnum = (typeof IndicatorPointOrderByRelevanceFieldEnum)[keyof typeof IndicatorPointOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const NullsOrder = {
|
||||
first: 'first',
|
||||
last: 'last'
|
||||
} as const
|
||||
|
||||
export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
|
||||
|
||||
|
||||
export const NewsOrderByRelevanceFieldEnum = {
|
||||
title: 'title',
|
||||
summary: 'summary',
|
||||
content: 'content',
|
||||
source: 'source',
|
||||
url: 'url'
|
||||
} as const
|
||||
@@ -303,6 +380,35 @@ export const AlertOrderByRelevanceFieldEnum = {
|
||||
export type AlertOrderByRelevanceFieldEnum = (typeof AlertOrderByRelevanceFieldEnum)[keyof typeof AlertOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const ServerNodeOrderByRelevanceFieldEnum = {
|
||||
uuid: 'uuid',
|
||||
name: 'name',
|
||||
cpuName: 'cpuName',
|
||||
os: 'os',
|
||||
region: 'region',
|
||||
status: 'status'
|
||||
} as const
|
||||
|
||||
export type ServerNodeOrderByRelevanceFieldEnum = (typeof ServerNodeOrderByRelevanceFieldEnum)[keyof typeof ServerNodeOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const ServerNodeHistoryOrderByRelevanceFieldEnum = {
|
||||
uuid: 'uuid'
|
||||
} as const
|
||||
|
||||
export type ServerNodeHistoryOrderByRelevanceFieldEnum = (typeof ServerNodeHistoryOrderByRelevanceFieldEnum)[keyof typeof ServerNodeHistoryOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const ServiceCheckOrderByRelevanceFieldEnum = {
|
||||
name: 'name',
|
||||
url: 'url',
|
||||
status: 'status',
|
||||
message: 'message'
|
||||
} as const
|
||||
|
||||
export type ServiceCheckOrderByRelevanceFieldEnum = (typeof ServiceCheckOrderByRelevanceFieldEnum)[keyof typeof ServiceCheckOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const Econ_SowInventoryOrderByRelevanceFieldEnum = {
|
||||
month: 'month'
|
||||
} as const
|
||||
@@ -310,14 +416,6 @@ export const Econ_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'
|
||||
|
||||
@@ -15,6 +15,9 @@ export type * from './models/Indicator.ts'
|
||||
export type * from './models/IndicatorPoint.ts'
|
||||
export type * from './models/News.ts'
|
||||
export type * from './models/Alert.ts'
|
||||
export type * from './models/ServerNode.ts'
|
||||
export type * from './models/ServerNodeHistory.ts'
|
||||
export type * from './models/ServiceCheck.ts'
|
||||
export type * from './models/Econ_SowInventory.ts'
|
||||
export type * from './models/ScraperCache.ts'
|
||||
export type * from './commonInputTypes.ts'
|
||||
@@ -40,6 +40,7 @@ export type NewsMinAggregateOutputType = {
|
||||
id: number | null
|
||||
title: string | null
|
||||
summary: string | null
|
||||
content: string | null
|
||||
source: string | null
|
||||
url: string | null
|
||||
publishedAt: Date | null
|
||||
@@ -51,6 +52,7 @@ export type NewsMaxAggregateOutputType = {
|
||||
id: number | null
|
||||
title: string | null
|
||||
summary: string | null
|
||||
content: string | null
|
||||
source: string | null
|
||||
url: string | null
|
||||
publishedAt: Date | null
|
||||
@@ -62,6 +64,7 @@ export type NewsCountAggregateOutputType = {
|
||||
id: number
|
||||
title: number
|
||||
summary: number
|
||||
content: number
|
||||
source: number
|
||||
url: number
|
||||
publishedAt: number
|
||||
@@ -85,6 +88,7 @@ export type NewsMinAggregateInputType = {
|
||||
id?: true
|
||||
title?: true
|
||||
summary?: true
|
||||
content?: true
|
||||
source?: true
|
||||
url?: true
|
||||
publishedAt?: true
|
||||
@@ -96,6 +100,7 @@ export type NewsMaxAggregateInputType = {
|
||||
id?: true
|
||||
title?: true
|
||||
summary?: true
|
||||
content?: true
|
||||
source?: true
|
||||
url?: true
|
||||
publishedAt?: true
|
||||
@@ -107,6 +112,7 @@ export type NewsCountAggregateInputType = {
|
||||
id?: true
|
||||
title?: true
|
||||
summary?: true
|
||||
content?: true
|
||||
source?: true
|
||||
url?: true
|
||||
publishedAt?: true
|
||||
@@ -205,6 +211,7 @@ export type NewsGroupByOutputType = {
|
||||
id: number
|
||||
title: string
|
||||
summary: string
|
||||
content: string | null
|
||||
source: string
|
||||
url: string
|
||||
publishedAt: Date
|
||||
@@ -239,6 +246,7 @@ export type NewsWhereInput = {
|
||||
id?: Prisma.IntFilter<"News"> | number
|
||||
title?: Prisma.StringFilter<"News"> | string
|
||||
summary?: Prisma.StringFilter<"News"> | string
|
||||
content?: Prisma.StringNullableFilter<"News"> | string | null
|
||||
source?: Prisma.StringFilter<"News"> | string
|
||||
url?: Prisma.StringFilter<"News"> | string
|
||||
publishedAt?: Prisma.DateTimeFilter<"News"> | Date | string
|
||||
@@ -250,6 +258,7 @@ export type NewsOrderByWithRelationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
title?: Prisma.SortOrder
|
||||
summary?: Prisma.SortOrder
|
||||
content?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
source?: Prisma.SortOrder
|
||||
url?: Prisma.SortOrder
|
||||
publishedAt?: Prisma.SortOrder
|
||||
@@ -266,6 +275,7 @@ export type NewsWhereUniqueInput = Prisma.AtLeast<{
|
||||
NOT?: Prisma.NewsWhereInput | Prisma.NewsWhereInput[]
|
||||
title?: Prisma.StringFilter<"News"> | string
|
||||
summary?: Prisma.StringFilter<"News"> | string
|
||||
content?: Prisma.StringNullableFilter<"News"> | string | null
|
||||
source?: Prisma.StringFilter<"News"> | string
|
||||
url?: Prisma.StringFilter<"News"> | string
|
||||
publishedAt?: Prisma.DateTimeFilter<"News"> | Date | string
|
||||
@@ -277,6 +287,7 @@ export type NewsOrderByWithAggregationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
title?: Prisma.SortOrder
|
||||
summary?: Prisma.SortOrder
|
||||
content?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
source?: Prisma.SortOrder
|
||||
url?: Prisma.SortOrder
|
||||
publishedAt?: Prisma.SortOrder
|
||||
@@ -296,6 +307,7 @@ export type NewsScalarWhereWithAggregatesInput = {
|
||||
id?: Prisma.IntWithAggregatesFilter<"News"> | number
|
||||
title?: Prisma.StringWithAggregatesFilter<"News"> | string
|
||||
summary?: Prisma.StringWithAggregatesFilter<"News"> | string
|
||||
content?: Prisma.StringNullableWithAggregatesFilter<"News"> | string | null
|
||||
source?: Prisma.StringWithAggregatesFilter<"News"> | string
|
||||
url?: Prisma.StringWithAggregatesFilter<"News"> | string
|
||||
publishedAt?: Prisma.DateTimeWithAggregatesFilter<"News"> | Date | string
|
||||
@@ -306,6 +318,7 @@ export type NewsScalarWhereWithAggregatesInput = {
|
||||
export type NewsCreateInput = {
|
||||
title: string
|
||||
summary?: string
|
||||
content?: string | null
|
||||
source?: string
|
||||
url?: string
|
||||
publishedAt: Date | string
|
||||
@@ -317,6 +330,7 @@ export type NewsUncheckedCreateInput = {
|
||||
id?: number
|
||||
title: string
|
||||
summary?: string
|
||||
content?: string | null
|
||||
source?: string
|
||||
url?: string
|
||||
publishedAt: Date | string
|
||||
@@ -327,6 +341,7 @@ export type NewsUncheckedCreateInput = {
|
||||
export type NewsUpdateInput = {
|
||||
title?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
summary?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
source?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
url?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
publishedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -338,6 +353,7 @@ export type NewsUncheckedUpdateInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
title?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
summary?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
source?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
url?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
publishedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -349,6 +365,7 @@ export type NewsCreateManyInput = {
|
||||
id?: number
|
||||
title: string
|
||||
summary?: string
|
||||
content?: string | null
|
||||
source?: string
|
||||
url?: string
|
||||
publishedAt: Date | string
|
||||
@@ -359,6 +376,7 @@ export type NewsCreateManyInput = {
|
||||
export type NewsUpdateManyMutationInput = {
|
||||
title?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
summary?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
source?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
url?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
publishedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -370,6 +388,7 @@ export type NewsUncheckedUpdateManyInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
title?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
summary?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
source?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
url?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
publishedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -392,6 +411,7 @@ export type NewsCountOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
title?: Prisma.SortOrder
|
||||
summary?: Prisma.SortOrder
|
||||
content?: Prisma.SortOrder
|
||||
source?: Prisma.SortOrder
|
||||
url?: Prisma.SortOrder
|
||||
publishedAt?: Prisma.SortOrder
|
||||
@@ -408,6 +428,7 @@ export type NewsMaxOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
title?: Prisma.SortOrder
|
||||
summary?: Prisma.SortOrder
|
||||
content?: Prisma.SortOrder
|
||||
source?: Prisma.SortOrder
|
||||
url?: Prisma.SortOrder
|
||||
publishedAt?: Prisma.SortOrder
|
||||
@@ -419,6 +440,7 @@ export type NewsMinOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
title?: Prisma.SortOrder
|
||||
summary?: Prisma.SortOrder
|
||||
content?: Prisma.SortOrder
|
||||
source?: Prisma.SortOrder
|
||||
url?: Prisma.SortOrder
|
||||
publishedAt?: Prisma.SortOrder
|
||||
@@ -431,12 +453,17 @@ export type NewsSumOrderByAggregateInput = {
|
||||
impactRank?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type NullableStringFieldUpdateOperationsInput = {
|
||||
set?: string | null
|
||||
}
|
||||
|
||||
|
||||
|
||||
export type NewsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
title?: boolean
|
||||
summary?: boolean
|
||||
content?: boolean
|
||||
source?: boolean
|
||||
url?: boolean
|
||||
publishedAt?: boolean
|
||||
@@ -450,6 +477,7 @@ export type NewsSelectScalar = {
|
||||
id?: boolean
|
||||
title?: boolean
|
||||
summary?: boolean
|
||||
content?: boolean
|
||||
source?: boolean
|
||||
url?: boolean
|
||||
publishedAt?: boolean
|
||||
@@ -457,7 +485,7 @@ export type NewsSelectScalar = {
|
||||
createdAt?: boolean
|
||||
}
|
||||
|
||||
export type NewsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "title" | "summary" | "source" | "url" | "publishedAt" | "impactRank" | "createdAt", ExtArgs["result"]["news"]>
|
||||
export type NewsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "title" | "summary" | "content" | "source" | "url" | "publishedAt" | "impactRank" | "createdAt", ExtArgs["result"]["news"]>
|
||||
|
||||
export type $NewsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
name: "News"
|
||||
@@ -466,6 +494,7 @@ export type $NewsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
||||
id: number
|
||||
title: string
|
||||
summary: string
|
||||
content: string | null
|
||||
source: string
|
||||
url: string
|
||||
publishedAt: Date
|
||||
@@ -843,6 +872,7 @@ export interface NewsFieldRefs {
|
||||
readonly id: Prisma.FieldRef<"News", 'Int'>
|
||||
readonly title: Prisma.FieldRef<"News", 'String'>
|
||||
readonly summary: Prisma.FieldRef<"News", 'String'>
|
||||
readonly content: Prisma.FieldRef<"News", 'String'>
|
||||
readonly source: Prisma.FieldRef<"News", 'String'>
|
||||
readonly url: Prisma.FieldRef<"News", 'String'>
|
||||
readonly publishedAt: Prisma.FieldRef<"News", 'DateTime'>
|
||||
|
||||
@@ -391,10 +391,6 @@ export type ScraperCacheSumOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type NullableStringFieldUpdateOperationsInput = {
|
||||
set?: string | null
|
||||
}
|
||||
|
||||
|
||||
|
||||
export type ScraperCacheSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user