数据源修改
This commit is contained in:
@@ -38,6 +38,11 @@ export type IndicatorMinAggregateOutputType = {
|
||||
id: number | null
|
||||
name: string | null
|
||||
groupName: string | null
|
||||
title: string | null
|
||||
unit: string | null
|
||||
source: string | null
|
||||
frequency: string | null
|
||||
hidden: boolean | null
|
||||
createdAt: Date | null
|
||||
updatedAt: Date | null
|
||||
}
|
||||
@@ -46,6 +51,11 @@ export type IndicatorMaxAggregateOutputType = {
|
||||
id: number | null
|
||||
name: string | null
|
||||
groupName: string | null
|
||||
title: string | null
|
||||
unit: string | null
|
||||
source: string | null
|
||||
frequency: string | null
|
||||
hidden: boolean | null
|
||||
createdAt: Date | null
|
||||
updatedAt: Date | null
|
||||
}
|
||||
@@ -54,7 +64,11 @@ export type IndicatorCountAggregateOutputType = {
|
||||
id: number
|
||||
name: number
|
||||
groupName: number
|
||||
data: number
|
||||
title: number
|
||||
unit: number
|
||||
source: number
|
||||
frequency: number
|
||||
hidden: number
|
||||
createdAt: number
|
||||
updatedAt: number
|
||||
_all: number
|
||||
@@ -73,6 +87,11 @@ export type IndicatorMinAggregateInputType = {
|
||||
id?: true
|
||||
name?: true
|
||||
groupName?: true
|
||||
title?: true
|
||||
unit?: true
|
||||
source?: true
|
||||
frequency?: true
|
||||
hidden?: true
|
||||
createdAt?: true
|
||||
updatedAt?: true
|
||||
}
|
||||
@@ -81,6 +100,11 @@ export type IndicatorMaxAggregateInputType = {
|
||||
id?: true
|
||||
name?: true
|
||||
groupName?: true
|
||||
title?: true
|
||||
unit?: true
|
||||
source?: true
|
||||
frequency?: true
|
||||
hidden?: true
|
||||
createdAt?: true
|
||||
updatedAt?: true
|
||||
}
|
||||
@@ -89,7 +113,11 @@ export type IndicatorCountAggregateInputType = {
|
||||
id?: true
|
||||
name?: true
|
||||
groupName?: true
|
||||
data?: true
|
||||
title?: true
|
||||
unit?: true
|
||||
source?: true
|
||||
frequency?: true
|
||||
hidden?: true
|
||||
createdAt?: true
|
||||
updatedAt?: true
|
||||
_all?: true
|
||||
@@ -185,7 +213,11 @@ export type IndicatorGroupByOutputType = {
|
||||
id: number
|
||||
name: string
|
||||
groupName: string
|
||||
data: runtime.JsonValue
|
||||
title: string
|
||||
unit: string
|
||||
source: string
|
||||
frequency: string
|
||||
hidden: boolean
|
||||
createdAt: Date
|
||||
updatedAt: Date
|
||||
_count: IndicatorCountAggregateOutputType | null
|
||||
@@ -217,18 +249,28 @@ export type IndicatorWhereInput = {
|
||||
id?: Prisma.IntFilter<"Indicator"> | number
|
||||
name?: Prisma.StringFilter<"Indicator"> | string
|
||||
groupName?: Prisma.StringFilter<"Indicator"> | string
|
||||
data?: Prisma.JsonFilter<"Indicator">
|
||||
title?: Prisma.StringFilter<"Indicator"> | string
|
||||
unit?: Prisma.StringFilter<"Indicator"> | string
|
||||
source?: Prisma.StringFilter<"Indicator"> | string
|
||||
frequency?: Prisma.StringFilter<"Indicator"> | string
|
||||
hidden?: Prisma.BoolFilter<"Indicator"> | boolean
|
||||
createdAt?: Prisma.DateTimeFilter<"Indicator"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"Indicator"> | Date | string
|
||||
points?: Prisma.IndicatorPointListRelationFilter
|
||||
}
|
||||
|
||||
export type IndicatorOrderByWithRelationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
groupName?: Prisma.SortOrder
|
||||
data?: Prisma.SortOrder
|
||||
title?: Prisma.SortOrder
|
||||
unit?: Prisma.SortOrder
|
||||
source?: Prisma.SortOrder
|
||||
frequency?: Prisma.SortOrder
|
||||
hidden?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
points?: Prisma.IndicatorPointOrderByRelationAggregateInput
|
||||
_relevance?: Prisma.IndicatorOrderByRelevanceInput
|
||||
}
|
||||
|
||||
@@ -239,16 +281,25 @@ export type IndicatorWhereUniqueInput = Prisma.AtLeast<{
|
||||
OR?: Prisma.IndicatorWhereInput[]
|
||||
NOT?: Prisma.IndicatorWhereInput | Prisma.IndicatorWhereInput[]
|
||||
groupName?: Prisma.StringFilter<"Indicator"> | string
|
||||
data?: Prisma.JsonFilter<"Indicator">
|
||||
title?: Prisma.StringFilter<"Indicator"> | string
|
||||
unit?: Prisma.StringFilter<"Indicator"> | string
|
||||
source?: Prisma.StringFilter<"Indicator"> | string
|
||||
frequency?: Prisma.StringFilter<"Indicator"> | string
|
||||
hidden?: Prisma.BoolFilter<"Indicator"> | boolean
|
||||
createdAt?: Prisma.DateTimeFilter<"Indicator"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"Indicator"> | Date | string
|
||||
points?: Prisma.IndicatorPointListRelationFilter
|
||||
}, "id" | "name">
|
||||
|
||||
export type IndicatorOrderByWithAggregationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
groupName?: Prisma.SortOrder
|
||||
data?: Prisma.SortOrder
|
||||
title?: Prisma.SortOrder
|
||||
unit?: Prisma.SortOrder
|
||||
source?: Prisma.SortOrder
|
||||
frequency?: Prisma.SortOrder
|
||||
hidden?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
_count?: Prisma.IndicatorCountOrderByAggregateInput
|
||||
@@ -265,7 +316,11 @@ export type IndicatorScalarWhereWithAggregatesInput = {
|
||||
id?: Prisma.IntWithAggregatesFilter<"Indicator"> | number
|
||||
name?: Prisma.StringWithAggregatesFilter<"Indicator"> | string
|
||||
groupName?: Prisma.StringWithAggregatesFilter<"Indicator"> | string
|
||||
data?: Prisma.JsonWithAggregatesFilter<"Indicator">
|
||||
title?: Prisma.StringWithAggregatesFilter<"Indicator"> | string
|
||||
unit?: Prisma.StringWithAggregatesFilter<"Indicator"> | string
|
||||
source?: Prisma.StringWithAggregatesFilter<"Indicator"> | string
|
||||
frequency?: Prisma.StringWithAggregatesFilter<"Indicator"> | string
|
||||
hidden?: Prisma.BoolWithAggregatesFilter<"Indicator"> | boolean
|
||||
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Indicator"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Indicator"> | Date | string
|
||||
}
|
||||
@@ -273,42 +328,66 @@ export type IndicatorScalarWhereWithAggregatesInput = {
|
||||
export type IndicatorCreateInput = {
|
||||
name: string
|
||||
groupName: string
|
||||
data: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
title?: string
|
||||
unit?: string
|
||||
source?: string
|
||||
frequency?: string
|
||||
hidden?: boolean
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
points?: Prisma.IndicatorPointCreateNestedManyWithoutIndicatorInput
|
||||
}
|
||||
|
||||
export type IndicatorUncheckedCreateInput = {
|
||||
id?: number
|
||||
name: string
|
||||
groupName: string
|
||||
data: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
title?: string
|
||||
unit?: string
|
||||
source?: string
|
||||
frequency?: string
|
||||
hidden?: boolean
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
points?: Prisma.IndicatorPointUncheckedCreateNestedManyWithoutIndicatorInput
|
||||
}
|
||||
|
||||
export type IndicatorUpdateInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
groupName?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
title?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
unit?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
source?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
frequency?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
hidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
points?: Prisma.IndicatorPointUpdateManyWithoutIndicatorNestedInput
|
||||
}
|
||||
|
||||
export type IndicatorUncheckedUpdateInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
groupName?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
title?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
unit?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
source?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
frequency?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
hidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
points?: Prisma.IndicatorPointUncheckedUpdateManyWithoutIndicatorNestedInput
|
||||
}
|
||||
|
||||
export type IndicatorCreateManyInput = {
|
||||
id?: number
|
||||
name: string
|
||||
groupName: string
|
||||
data: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
title?: string
|
||||
unit?: string
|
||||
source?: string
|
||||
frequency?: string
|
||||
hidden?: boolean
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
}
|
||||
@@ -316,7 +395,11 @@ export type IndicatorCreateManyInput = {
|
||||
export type IndicatorUpdateManyMutationInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
groupName?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
title?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
unit?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
source?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
frequency?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
hidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
@@ -325,7 +408,11 @@ export type IndicatorUncheckedUpdateManyInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
groupName?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
data?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
||||
title?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
unit?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
source?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
frequency?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
hidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
@@ -340,7 +427,11 @@ export type IndicatorCountOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
groupName?: Prisma.SortOrder
|
||||
data?: Prisma.SortOrder
|
||||
title?: Prisma.SortOrder
|
||||
unit?: Prisma.SortOrder
|
||||
source?: Prisma.SortOrder
|
||||
frequency?: Prisma.SortOrder
|
||||
hidden?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
}
|
||||
@@ -353,6 +444,11 @@ export type IndicatorMaxOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
groupName?: Prisma.SortOrder
|
||||
title?: Prisma.SortOrder
|
||||
unit?: Prisma.SortOrder
|
||||
source?: Prisma.SortOrder
|
||||
frequency?: Prisma.SortOrder
|
||||
hidden?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
}
|
||||
@@ -361,6 +457,11 @@ export type IndicatorMinOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
groupName?: Prisma.SortOrder
|
||||
title?: Prisma.SortOrder
|
||||
unit?: Prisma.SortOrder
|
||||
source?: Prisma.SortOrder
|
||||
frequency?: Prisma.SortOrder
|
||||
hidden?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
}
|
||||
@@ -369,15 +470,139 @@ export type IndicatorSumOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type IndicatorScalarRelationFilter = {
|
||||
is?: Prisma.IndicatorWhereInput
|
||||
isNot?: Prisma.IndicatorWhereInput
|
||||
}
|
||||
|
||||
export type BoolFieldUpdateOperationsInput = {
|
||||
set?: boolean
|
||||
}
|
||||
|
||||
export type IndicatorCreateNestedOneWithoutPointsInput = {
|
||||
create?: Prisma.XOR<Prisma.IndicatorCreateWithoutPointsInput, Prisma.IndicatorUncheckedCreateWithoutPointsInput>
|
||||
connectOrCreate?: Prisma.IndicatorCreateOrConnectWithoutPointsInput
|
||||
connect?: Prisma.IndicatorWhereUniqueInput
|
||||
}
|
||||
|
||||
export type IndicatorUpdateOneRequiredWithoutPointsNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.IndicatorCreateWithoutPointsInput, Prisma.IndicatorUncheckedCreateWithoutPointsInput>
|
||||
connectOrCreate?: Prisma.IndicatorCreateOrConnectWithoutPointsInput
|
||||
upsert?: Prisma.IndicatorUpsertWithoutPointsInput
|
||||
connect?: Prisma.IndicatorWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.IndicatorUpdateToOneWithWhereWithoutPointsInput, Prisma.IndicatorUpdateWithoutPointsInput>, Prisma.IndicatorUncheckedUpdateWithoutPointsInput>
|
||||
}
|
||||
|
||||
export type IndicatorCreateWithoutPointsInput = {
|
||||
name: string
|
||||
groupName: string
|
||||
title?: string
|
||||
unit?: string
|
||||
source?: string
|
||||
frequency?: string
|
||||
hidden?: boolean
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
}
|
||||
|
||||
export type IndicatorUncheckedCreateWithoutPointsInput = {
|
||||
id?: number
|
||||
name: string
|
||||
groupName: string
|
||||
title?: string
|
||||
unit?: string
|
||||
source?: string
|
||||
frequency?: string
|
||||
hidden?: boolean
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
}
|
||||
|
||||
export type IndicatorCreateOrConnectWithoutPointsInput = {
|
||||
where: Prisma.IndicatorWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.IndicatorCreateWithoutPointsInput, Prisma.IndicatorUncheckedCreateWithoutPointsInput>
|
||||
}
|
||||
|
||||
export type IndicatorUpsertWithoutPointsInput = {
|
||||
update: Prisma.XOR<Prisma.IndicatorUpdateWithoutPointsInput, Prisma.IndicatorUncheckedUpdateWithoutPointsInput>
|
||||
create: Prisma.XOR<Prisma.IndicatorCreateWithoutPointsInput, Prisma.IndicatorUncheckedCreateWithoutPointsInput>
|
||||
where?: Prisma.IndicatorWhereInput
|
||||
}
|
||||
|
||||
export type IndicatorUpdateToOneWithWhereWithoutPointsInput = {
|
||||
where?: Prisma.IndicatorWhereInput
|
||||
data: Prisma.XOR<Prisma.IndicatorUpdateWithoutPointsInput, Prisma.IndicatorUncheckedUpdateWithoutPointsInput>
|
||||
}
|
||||
|
||||
export type IndicatorUpdateWithoutPointsInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
groupName?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
title?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
unit?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
source?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
frequency?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
hidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
|
||||
export type IndicatorUncheckedUpdateWithoutPointsInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
groupName?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
title?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
unit?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
source?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
frequency?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
hidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Count Type IndicatorCountOutputType
|
||||
*/
|
||||
|
||||
export type IndicatorCountOutputType = {
|
||||
points: number
|
||||
}
|
||||
|
||||
export type IndicatorCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
points?: boolean | IndicatorCountOutputTypeCountPointsArgs
|
||||
}
|
||||
|
||||
/**
|
||||
* IndicatorCountOutputType without action
|
||||
*/
|
||||
export type IndicatorCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the IndicatorCountOutputType
|
||||
*/
|
||||
select?: Prisma.IndicatorCountOutputTypeSelect<ExtArgs> | null
|
||||
}
|
||||
|
||||
/**
|
||||
* IndicatorCountOutputType without action
|
||||
*/
|
||||
export type IndicatorCountOutputTypeCountPointsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
where?: Prisma.IndicatorPointWhereInput
|
||||
}
|
||||
|
||||
|
||||
export type IndicatorSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
name?: boolean
|
||||
groupName?: boolean
|
||||
data?: boolean
|
||||
title?: boolean
|
||||
unit?: boolean
|
||||
source?: boolean
|
||||
frequency?: boolean
|
||||
hidden?: boolean
|
||||
createdAt?: boolean
|
||||
updatedAt?: boolean
|
||||
points?: boolean | Prisma.Indicator$pointsArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.IndicatorCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["indicator"]>
|
||||
|
||||
|
||||
@@ -386,21 +611,35 @@ export type IndicatorSelectScalar = {
|
||||
id?: boolean
|
||||
name?: boolean
|
||||
groupName?: boolean
|
||||
data?: boolean
|
||||
title?: boolean
|
||||
unit?: boolean
|
||||
source?: boolean
|
||||
frequency?: boolean
|
||||
hidden?: boolean
|
||||
createdAt?: boolean
|
||||
updatedAt?: boolean
|
||||
}
|
||||
|
||||
export type IndicatorOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "groupName" | "data" | "createdAt" | "updatedAt", ExtArgs["result"]["indicator"]>
|
||||
export type IndicatorOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "groupName" | "title" | "unit" | "source" | "frequency" | "hidden" | "createdAt" | "updatedAt", ExtArgs["result"]["indicator"]>
|
||||
export type IndicatorInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
points?: boolean | Prisma.Indicator$pointsArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.IndicatorCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}
|
||||
|
||||
export type $IndicatorPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
name: "Indicator"
|
||||
objects: {}
|
||||
objects: {
|
||||
points: Prisma.$IndicatorPointPayload<ExtArgs>[]
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: number
|
||||
name: string
|
||||
groupName: string
|
||||
data: runtime.JsonValue
|
||||
title: string
|
||||
unit: string
|
||||
source: string
|
||||
frequency: string
|
||||
hidden: boolean
|
||||
createdAt: Date
|
||||
updatedAt: Date
|
||||
}, ExtArgs["result"]["indicator"]>
|
||||
@@ -743,6 +982,7 @@ readonly fields: IndicatorFieldRefs;
|
||||
*/
|
||||
export interface Prisma__IndicatorClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
||||
readonly [Symbol.toStringTag]: "PrismaPromise"
|
||||
points<T extends Prisma.Indicator$pointsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Indicator$pointsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$IndicatorPointPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
/**
|
||||
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
||||
* @param onfulfilled The callback to execute when the Promise is resolved.
|
||||
@@ -775,7 +1015,11 @@ export interface IndicatorFieldRefs {
|
||||
readonly id: Prisma.FieldRef<"Indicator", 'Int'>
|
||||
readonly name: Prisma.FieldRef<"Indicator", 'String'>
|
||||
readonly groupName: Prisma.FieldRef<"Indicator", 'String'>
|
||||
readonly data: Prisma.FieldRef<"Indicator", 'Json'>
|
||||
readonly title: Prisma.FieldRef<"Indicator", 'String'>
|
||||
readonly unit: Prisma.FieldRef<"Indicator", 'String'>
|
||||
readonly source: Prisma.FieldRef<"Indicator", 'String'>
|
||||
readonly frequency: Prisma.FieldRef<"Indicator", 'String'>
|
||||
readonly hidden: Prisma.FieldRef<"Indicator", 'Boolean'>
|
||||
readonly createdAt: Prisma.FieldRef<"Indicator", 'DateTime'>
|
||||
readonly updatedAt: Prisma.FieldRef<"Indicator", 'DateTime'>
|
||||
}
|
||||
@@ -794,6 +1038,10 @@ export type IndicatorFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.Int
|
||||
* Omit specific fields from the Indicator
|
||||
*/
|
||||
omit?: Prisma.IndicatorOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.IndicatorInclude<ExtArgs> | null
|
||||
/**
|
||||
* Filter, which Indicator to fetch.
|
||||
*/
|
||||
@@ -812,6 +1060,10 @@ export type IndicatorFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensi
|
||||
* Omit specific fields from the Indicator
|
||||
*/
|
||||
omit?: Prisma.IndicatorOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.IndicatorInclude<ExtArgs> | null
|
||||
/**
|
||||
* Filter, which Indicator to fetch.
|
||||
*/
|
||||
@@ -830,6 +1082,10 @@ export type IndicatorFindFirstArgs<ExtArgs extends runtime.Types.Extensions.Inte
|
||||
* Omit specific fields from the Indicator
|
||||
*/
|
||||
omit?: Prisma.IndicatorOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.IndicatorInclude<ExtArgs> | null
|
||||
/**
|
||||
* Filter, which Indicator to fetch.
|
||||
*/
|
||||
@@ -878,6 +1134,10 @@ export type IndicatorFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensio
|
||||
* Omit specific fields from the Indicator
|
||||
*/
|
||||
omit?: Prisma.IndicatorOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.IndicatorInclude<ExtArgs> | null
|
||||
/**
|
||||
* Filter, which Indicator to fetch.
|
||||
*/
|
||||
@@ -926,6 +1186,10 @@ export type IndicatorFindManyArgs<ExtArgs extends runtime.Types.Extensions.Inter
|
||||
* Omit specific fields from the Indicator
|
||||
*/
|
||||
omit?: Prisma.IndicatorOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.IndicatorInclude<ExtArgs> | null
|
||||
/**
|
||||
* Filter, which Indicators to fetch.
|
||||
*/
|
||||
@@ -974,6 +1238,10 @@ export type IndicatorCreateArgs<ExtArgs extends runtime.Types.Extensions.Interna
|
||||
* Omit specific fields from the Indicator
|
||||
*/
|
||||
omit?: Prisma.IndicatorOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.IndicatorInclude<ExtArgs> | null
|
||||
/**
|
||||
* The data needed to create a Indicator.
|
||||
*/
|
||||
@@ -1003,6 +1271,10 @@ export type IndicatorUpdateArgs<ExtArgs extends runtime.Types.Extensions.Interna
|
||||
* Omit specific fields from the Indicator
|
||||
*/
|
||||
omit?: Prisma.IndicatorOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.IndicatorInclude<ExtArgs> | null
|
||||
/**
|
||||
* The data needed to update a Indicator.
|
||||
*/
|
||||
@@ -1043,6 +1315,10 @@ export type IndicatorUpsertArgs<ExtArgs extends runtime.Types.Extensions.Interna
|
||||
* Omit specific fields from the Indicator
|
||||
*/
|
||||
omit?: Prisma.IndicatorOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.IndicatorInclude<ExtArgs> | null
|
||||
/**
|
||||
* The filter to search for the Indicator to update in case it exists.
|
||||
*/
|
||||
@@ -1069,6 +1345,10 @@ export type IndicatorDeleteArgs<ExtArgs extends runtime.Types.Extensions.Interna
|
||||
* Omit specific fields from the Indicator
|
||||
*/
|
||||
omit?: Prisma.IndicatorOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.IndicatorInclude<ExtArgs> | null
|
||||
/**
|
||||
* Filter which Indicator to delete.
|
||||
*/
|
||||
@@ -1089,6 +1369,30 @@ export type IndicatorDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.Int
|
||||
limit?: number
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicator.points
|
||||
*/
|
||||
export type Indicator$pointsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the IndicatorPoint
|
||||
*/
|
||||
select?: Prisma.IndicatorPointSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the IndicatorPoint
|
||||
*/
|
||||
omit?: Prisma.IndicatorPointOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.IndicatorPointInclude<ExtArgs> | null
|
||||
where?: Prisma.IndicatorPointWhereInput
|
||||
orderBy?: Prisma.IndicatorPointOrderByWithRelationInput | Prisma.IndicatorPointOrderByWithRelationInput[]
|
||||
cursor?: Prisma.IndicatorPointWhereUniqueInput
|
||||
take?: number
|
||||
skip?: number
|
||||
distinct?: Prisma.IndicatorPointScalarFieldEnum | Prisma.IndicatorPointScalarFieldEnum[]
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicator without action
|
||||
*/
|
||||
@@ -1101,4 +1405,8 @@ export type IndicatorDefaultArgs<ExtArgs extends runtime.Types.Extensions.Intern
|
||||
* Omit specific fields from the Indicator
|
||||
*/
|
||||
omit?: Prisma.IndicatorOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.IndicatorInclude<ExtArgs> | null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user