1570 lines
65 KiB
TypeScript
1570 lines
65 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `FormulaComponentLog` model and its related types.
|
|
*
|
|
* 🟢 You can import this file directly.
|
|
*/
|
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
import type * as $Enums from "../enums.ts"
|
|
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
|
|
/**
|
|
* Model FormulaComponentLog
|
|
*
|
|
*/
|
|
export type FormulaComponentLogModel = runtime.Types.Result.DefaultSelection<Prisma.$FormulaComponentLogPayload>
|
|
|
|
export type AggregateFormulaComponentLog = {
|
|
_count: FormulaComponentLogCountAggregateOutputType | null
|
|
_avg: FormulaComponentLogAvgAggregateOutputType | null
|
|
_sum: FormulaComponentLogSumAggregateOutputType | null
|
|
_min: FormulaComponentLogMinAggregateOutputType | null
|
|
_max: FormulaComponentLogMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type FormulaComponentLogAvgAggregateOutputType = {
|
|
order: number | null
|
|
}
|
|
|
|
export type FormulaComponentLogSumAggregateOutputType = {
|
|
order: number | null
|
|
}
|
|
|
|
export type FormulaComponentLogMinAggregateOutputType = {
|
|
id: string | null
|
|
order: number | null
|
|
type: string | null
|
|
value: string | null
|
|
rowId: string | null
|
|
formulaLogId: string | null
|
|
}
|
|
|
|
export type FormulaComponentLogMaxAggregateOutputType = {
|
|
id: string | null
|
|
order: number | null
|
|
type: string | null
|
|
value: string | null
|
|
rowId: string | null
|
|
formulaLogId: string | null
|
|
}
|
|
|
|
export type FormulaComponentLogCountAggregateOutputType = {
|
|
id: number
|
|
order: number
|
|
type: number
|
|
value: number
|
|
rowId: number
|
|
formulaLogId: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type FormulaComponentLogAvgAggregateInputType = {
|
|
order?: true
|
|
}
|
|
|
|
export type FormulaComponentLogSumAggregateInputType = {
|
|
order?: true
|
|
}
|
|
|
|
export type FormulaComponentLogMinAggregateInputType = {
|
|
id?: true
|
|
order?: true
|
|
type?: true
|
|
value?: true
|
|
rowId?: true
|
|
formulaLogId?: true
|
|
}
|
|
|
|
export type FormulaComponentLogMaxAggregateInputType = {
|
|
id?: true
|
|
order?: true
|
|
type?: true
|
|
value?: true
|
|
rowId?: true
|
|
formulaLogId?: true
|
|
}
|
|
|
|
export type FormulaComponentLogCountAggregateInputType = {
|
|
id?: true
|
|
order?: true
|
|
type?: true
|
|
value?: true
|
|
rowId?: true
|
|
formulaLogId?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type FormulaComponentLogAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which FormulaComponentLog to aggregate.
|
|
*/
|
|
where?: Prisma.FormulaComponentLogWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of FormulaComponentLogs to fetch.
|
|
*/
|
|
orderBy?: Prisma.FormulaComponentLogOrderByWithRelationInput | Prisma.FormulaComponentLogOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.FormulaComponentLogWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` FormulaComponentLogs from the position of the cursor.
|
|
*/
|
|
take?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Skip the first `n` FormulaComponentLogs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned FormulaComponentLogs
|
|
**/
|
|
_count?: true | FormulaComponentLogCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: FormulaComponentLogAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: FormulaComponentLogSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: FormulaComponentLogMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: FormulaComponentLogMaxAggregateInputType
|
|
}
|
|
|
|
export type GetFormulaComponentLogAggregateType<T extends FormulaComponentLogAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateFormulaComponentLog]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateFormulaComponentLog[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateFormulaComponentLog[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type FormulaComponentLogGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.FormulaComponentLogWhereInput
|
|
orderBy?: Prisma.FormulaComponentLogOrderByWithAggregationInput | Prisma.FormulaComponentLogOrderByWithAggregationInput[]
|
|
by: Prisma.FormulaComponentLogScalarFieldEnum[] | Prisma.FormulaComponentLogScalarFieldEnum
|
|
having?: Prisma.FormulaComponentLogScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: FormulaComponentLogCountAggregateInputType | true
|
|
_avg?: FormulaComponentLogAvgAggregateInputType
|
|
_sum?: FormulaComponentLogSumAggregateInputType
|
|
_min?: FormulaComponentLogMinAggregateInputType
|
|
_max?: FormulaComponentLogMaxAggregateInputType
|
|
}
|
|
|
|
export type FormulaComponentLogGroupByOutputType = {
|
|
id: string
|
|
order: number
|
|
type: string
|
|
value: string
|
|
rowId: string | null
|
|
formulaLogId: string
|
|
_count: FormulaComponentLogCountAggregateOutputType | null
|
|
_avg: FormulaComponentLogAvgAggregateOutputType | null
|
|
_sum: FormulaComponentLogSumAggregateOutputType | null
|
|
_min: FormulaComponentLogMinAggregateOutputType | null
|
|
_max: FormulaComponentLogMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetFormulaComponentLogGroupByPayload<T extends FormulaComponentLogGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<FormulaComponentLogGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof FormulaComponentLogGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], FormulaComponentLogGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], FormulaComponentLogGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type FormulaComponentLogWhereInput = {
|
|
AND?: Prisma.FormulaComponentLogWhereInput | Prisma.FormulaComponentLogWhereInput[]
|
|
OR?: Prisma.FormulaComponentLogWhereInput[]
|
|
NOT?: Prisma.FormulaComponentLogWhereInput | Prisma.FormulaComponentLogWhereInput[]
|
|
id?: Prisma.StringFilter<"FormulaComponentLog"> | string
|
|
order?: Prisma.IntFilter<"FormulaComponentLog"> | number
|
|
type?: Prisma.StringFilter<"FormulaComponentLog"> | string
|
|
value?: Prisma.StringFilter<"FormulaComponentLog"> | string
|
|
rowId?: Prisma.StringNullableFilter<"FormulaComponentLog"> | string | null
|
|
formulaLogId?: Prisma.StringFilter<"FormulaComponentLog"> | string
|
|
row?: Prisma.XOR<Prisma.RowNullableScalarRelationFilter, Prisma.RowWhereInput> | null
|
|
formulaLog?: Prisma.XOR<Prisma.FormulaLogScalarRelationFilter, Prisma.FormulaLogWhereInput>
|
|
}
|
|
|
|
export type FormulaComponentLogOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
order?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
value?: Prisma.SortOrder
|
|
rowId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
formulaLogId?: Prisma.SortOrder
|
|
row?: Prisma.RowOrderByWithRelationInput
|
|
formulaLog?: Prisma.FormulaLogOrderByWithRelationInput
|
|
}
|
|
|
|
export type FormulaComponentLogWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.FormulaComponentLogWhereInput | Prisma.FormulaComponentLogWhereInput[]
|
|
OR?: Prisma.FormulaComponentLogWhereInput[]
|
|
NOT?: Prisma.FormulaComponentLogWhereInput | Prisma.FormulaComponentLogWhereInput[]
|
|
order?: Prisma.IntFilter<"FormulaComponentLog"> | number
|
|
type?: Prisma.StringFilter<"FormulaComponentLog"> | string
|
|
value?: Prisma.StringFilter<"FormulaComponentLog"> | string
|
|
rowId?: Prisma.StringNullableFilter<"FormulaComponentLog"> | string | null
|
|
formulaLogId?: Prisma.StringFilter<"FormulaComponentLog"> | string
|
|
row?: Prisma.XOR<Prisma.RowNullableScalarRelationFilter, Prisma.RowWhereInput> | null
|
|
formulaLog?: Prisma.XOR<Prisma.FormulaLogScalarRelationFilter, Prisma.FormulaLogWhereInput>
|
|
}, "id">
|
|
|
|
export type FormulaComponentLogOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
order?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
value?: Prisma.SortOrder
|
|
rowId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
formulaLogId?: Prisma.SortOrder
|
|
_count?: Prisma.FormulaComponentLogCountOrderByAggregateInput
|
|
_avg?: Prisma.FormulaComponentLogAvgOrderByAggregateInput
|
|
_max?: Prisma.FormulaComponentLogMaxOrderByAggregateInput
|
|
_min?: Prisma.FormulaComponentLogMinOrderByAggregateInput
|
|
_sum?: Prisma.FormulaComponentLogSumOrderByAggregateInput
|
|
}
|
|
|
|
export type FormulaComponentLogScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.FormulaComponentLogScalarWhereWithAggregatesInput | Prisma.FormulaComponentLogScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.FormulaComponentLogScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.FormulaComponentLogScalarWhereWithAggregatesInput | Prisma.FormulaComponentLogScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"FormulaComponentLog"> | string
|
|
order?: Prisma.IntWithAggregatesFilter<"FormulaComponentLog"> | number
|
|
type?: Prisma.StringWithAggregatesFilter<"FormulaComponentLog"> | string
|
|
value?: Prisma.StringWithAggregatesFilter<"FormulaComponentLog"> | string
|
|
rowId?: Prisma.StringNullableWithAggregatesFilter<"FormulaComponentLog"> | string | null
|
|
formulaLogId?: Prisma.StringWithAggregatesFilter<"FormulaComponentLog"> | string
|
|
}
|
|
|
|
export type FormulaComponentLogCreateInput = {
|
|
id?: string
|
|
order: number
|
|
type: string
|
|
value: string
|
|
row?: Prisma.RowCreateNestedOneWithoutFormulaCalculationLogsInput
|
|
formulaLog: Prisma.FormulaLogCreateNestedOneWithoutComponentsInput
|
|
}
|
|
|
|
export type FormulaComponentLogUncheckedCreateInput = {
|
|
id?: string
|
|
order: number
|
|
type: string
|
|
value: string
|
|
rowId?: string | null
|
|
formulaLogId: string
|
|
}
|
|
|
|
export type FormulaComponentLogUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
row?: Prisma.RowUpdateOneWithoutFormulaCalculationLogsNestedInput
|
|
formulaLog?: Prisma.FormulaLogUpdateOneRequiredWithoutComponentsNestedInput
|
|
}
|
|
|
|
export type FormulaComponentLogUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
formulaLogId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type FormulaComponentLogCreateManyInput = {
|
|
id?: string
|
|
order: number
|
|
type: string
|
|
value: string
|
|
rowId?: string | null
|
|
formulaLogId: string
|
|
}
|
|
|
|
export type FormulaComponentLogUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type FormulaComponentLogUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
formulaLogId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type FormulaComponentLogListRelationFilter = {
|
|
every?: Prisma.FormulaComponentLogWhereInput
|
|
some?: Prisma.FormulaComponentLogWhereInput
|
|
none?: Prisma.FormulaComponentLogWhereInput
|
|
}
|
|
|
|
export type FormulaComponentLogOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type FormulaComponentLogCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
order?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
value?: Prisma.SortOrder
|
|
rowId?: Prisma.SortOrder
|
|
formulaLogId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type FormulaComponentLogAvgOrderByAggregateInput = {
|
|
order?: Prisma.SortOrder
|
|
}
|
|
|
|
export type FormulaComponentLogMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
order?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
value?: Prisma.SortOrder
|
|
rowId?: Prisma.SortOrder
|
|
formulaLogId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type FormulaComponentLogMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
order?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
value?: Prisma.SortOrder
|
|
rowId?: Prisma.SortOrder
|
|
formulaLogId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type FormulaComponentLogSumOrderByAggregateInput = {
|
|
order?: Prisma.SortOrder
|
|
}
|
|
|
|
export type FormulaComponentLogCreateNestedManyWithoutRowInput = {
|
|
create?: Prisma.XOR<Prisma.FormulaComponentLogCreateWithoutRowInput, Prisma.FormulaComponentLogUncheckedCreateWithoutRowInput> | Prisma.FormulaComponentLogCreateWithoutRowInput[] | Prisma.FormulaComponentLogUncheckedCreateWithoutRowInput[]
|
|
connectOrCreate?: Prisma.FormulaComponentLogCreateOrConnectWithoutRowInput | Prisma.FormulaComponentLogCreateOrConnectWithoutRowInput[]
|
|
createMany?: Prisma.FormulaComponentLogCreateManyRowInputEnvelope
|
|
connect?: Prisma.FormulaComponentLogWhereUniqueInput | Prisma.FormulaComponentLogWhereUniqueInput[]
|
|
}
|
|
|
|
export type FormulaComponentLogUncheckedCreateNestedManyWithoutRowInput = {
|
|
create?: Prisma.XOR<Prisma.FormulaComponentLogCreateWithoutRowInput, Prisma.FormulaComponentLogUncheckedCreateWithoutRowInput> | Prisma.FormulaComponentLogCreateWithoutRowInput[] | Prisma.FormulaComponentLogUncheckedCreateWithoutRowInput[]
|
|
connectOrCreate?: Prisma.FormulaComponentLogCreateOrConnectWithoutRowInput | Prisma.FormulaComponentLogCreateOrConnectWithoutRowInput[]
|
|
createMany?: Prisma.FormulaComponentLogCreateManyRowInputEnvelope
|
|
connect?: Prisma.FormulaComponentLogWhereUniqueInput | Prisma.FormulaComponentLogWhereUniqueInput[]
|
|
}
|
|
|
|
export type FormulaComponentLogUpdateManyWithoutRowNestedInput = {
|
|
create?: Prisma.XOR<Prisma.FormulaComponentLogCreateWithoutRowInput, Prisma.FormulaComponentLogUncheckedCreateWithoutRowInput> | Prisma.FormulaComponentLogCreateWithoutRowInput[] | Prisma.FormulaComponentLogUncheckedCreateWithoutRowInput[]
|
|
connectOrCreate?: Prisma.FormulaComponentLogCreateOrConnectWithoutRowInput | Prisma.FormulaComponentLogCreateOrConnectWithoutRowInput[]
|
|
upsert?: Prisma.FormulaComponentLogUpsertWithWhereUniqueWithoutRowInput | Prisma.FormulaComponentLogUpsertWithWhereUniqueWithoutRowInput[]
|
|
createMany?: Prisma.FormulaComponentLogCreateManyRowInputEnvelope
|
|
set?: Prisma.FormulaComponentLogWhereUniqueInput | Prisma.FormulaComponentLogWhereUniqueInput[]
|
|
disconnect?: Prisma.FormulaComponentLogWhereUniqueInput | Prisma.FormulaComponentLogWhereUniqueInput[]
|
|
delete?: Prisma.FormulaComponentLogWhereUniqueInput | Prisma.FormulaComponentLogWhereUniqueInput[]
|
|
connect?: Prisma.FormulaComponentLogWhereUniqueInput | Prisma.FormulaComponentLogWhereUniqueInput[]
|
|
update?: Prisma.FormulaComponentLogUpdateWithWhereUniqueWithoutRowInput | Prisma.FormulaComponentLogUpdateWithWhereUniqueWithoutRowInput[]
|
|
updateMany?: Prisma.FormulaComponentLogUpdateManyWithWhereWithoutRowInput | Prisma.FormulaComponentLogUpdateManyWithWhereWithoutRowInput[]
|
|
deleteMany?: Prisma.FormulaComponentLogScalarWhereInput | Prisma.FormulaComponentLogScalarWhereInput[]
|
|
}
|
|
|
|
export type FormulaComponentLogUncheckedUpdateManyWithoutRowNestedInput = {
|
|
create?: Prisma.XOR<Prisma.FormulaComponentLogCreateWithoutRowInput, Prisma.FormulaComponentLogUncheckedCreateWithoutRowInput> | Prisma.FormulaComponentLogCreateWithoutRowInput[] | Prisma.FormulaComponentLogUncheckedCreateWithoutRowInput[]
|
|
connectOrCreate?: Prisma.FormulaComponentLogCreateOrConnectWithoutRowInput | Prisma.FormulaComponentLogCreateOrConnectWithoutRowInput[]
|
|
upsert?: Prisma.FormulaComponentLogUpsertWithWhereUniqueWithoutRowInput | Prisma.FormulaComponentLogUpsertWithWhereUniqueWithoutRowInput[]
|
|
createMany?: Prisma.FormulaComponentLogCreateManyRowInputEnvelope
|
|
set?: Prisma.FormulaComponentLogWhereUniqueInput | Prisma.FormulaComponentLogWhereUniqueInput[]
|
|
disconnect?: Prisma.FormulaComponentLogWhereUniqueInput | Prisma.FormulaComponentLogWhereUniqueInput[]
|
|
delete?: Prisma.FormulaComponentLogWhereUniqueInput | Prisma.FormulaComponentLogWhereUniqueInput[]
|
|
connect?: Prisma.FormulaComponentLogWhereUniqueInput | Prisma.FormulaComponentLogWhereUniqueInput[]
|
|
update?: Prisma.FormulaComponentLogUpdateWithWhereUniqueWithoutRowInput | Prisma.FormulaComponentLogUpdateWithWhereUniqueWithoutRowInput[]
|
|
updateMany?: Prisma.FormulaComponentLogUpdateManyWithWhereWithoutRowInput | Prisma.FormulaComponentLogUpdateManyWithWhereWithoutRowInput[]
|
|
deleteMany?: Prisma.FormulaComponentLogScalarWhereInput | Prisma.FormulaComponentLogScalarWhereInput[]
|
|
}
|
|
|
|
export type FormulaComponentLogCreateNestedManyWithoutFormulaLogInput = {
|
|
create?: Prisma.XOR<Prisma.FormulaComponentLogCreateWithoutFormulaLogInput, Prisma.FormulaComponentLogUncheckedCreateWithoutFormulaLogInput> | Prisma.FormulaComponentLogCreateWithoutFormulaLogInput[] | Prisma.FormulaComponentLogUncheckedCreateWithoutFormulaLogInput[]
|
|
connectOrCreate?: Prisma.FormulaComponentLogCreateOrConnectWithoutFormulaLogInput | Prisma.FormulaComponentLogCreateOrConnectWithoutFormulaLogInput[]
|
|
createMany?: Prisma.FormulaComponentLogCreateManyFormulaLogInputEnvelope
|
|
connect?: Prisma.FormulaComponentLogWhereUniqueInput | Prisma.FormulaComponentLogWhereUniqueInput[]
|
|
}
|
|
|
|
export type FormulaComponentLogUncheckedCreateNestedManyWithoutFormulaLogInput = {
|
|
create?: Prisma.XOR<Prisma.FormulaComponentLogCreateWithoutFormulaLogInput, Prisma.FormulaComponentLogUncheckedCreateWithoutFormulaLogInput> | Prisma.FormulaComponentLogCreateWithoutFormulaLogInput[] | Prisma.FormulaComponentLogUncheckedCreateWithoutFormulaLogInput[]
|
|
connectOrCreate?: Prisma.FormulaComponentLogCreateOrConnectWithoutFormulaLogInput | Prisma.FormulaComponentLogCreateOrConnectWithoutFormulaLogInput[]
|
|
createMany?: Prisma.FormulaComponentLogCreateManyFormulaLogInputEnvelope
|
|
connect?: Prisma.FormulaComponentLogWhereUniqueInput | Prisma.FormulaComponentLogWhereUniqueInput[]
|
|
}
|
|
|
|
export type FormulaComponentLogUpdateManyWithoutFormulaLogNestedInput = {
|
|
create?: Prisma.XOR<Prisma.FormulaComponentLogCreateWithoutFormulaLogInput, Prisma.FormulaComponentLogUncheckedCreateWithoutFormulaLogInput> | Prisma.FormulaComponentLogCreateWithoutFormulaLogInput[] | Prisma.FormulaComponentLogUncheckedCreateWithoutFormulaLogInput[]
|
|
connectOrCreate?: Prisma.FormulaComponentLogCreateOrConnectWithoutFormulaLogInput | Prisma.FormulaComponentLogCreateOrConnectWithoutFormulaLogInput[]
|
|
upsert?: Prisma.FormulaComponentLogUpsertWithWhereUniqueWithoutFormulaLogInput | Prisma.FormulaComponentLogUpsertWithWhereUniqueWithoutFormulaLogInput[]
|
|
createMany?: Prisma.FormulaComponentLogCreateManyFormulaLogInputEnvelope
|
|
set?: Prisma.FormulaComponentLogWhereUniqueInput | Prisma.FormulaComponentLogWhereUniqueInput[]
|
|
disconnect?: Prisma.FormulaComponentLogWhereUniqueInput | Prisma.FormulaComponentLogWhereUniqueInput[]
|
|
delete?: Prisma.FormulaComponentLogWhereUniqueInput | Prisma.FormulaComponentLogWhereUniqueInput[]
|
|
connect?: Prisma.FormulaComponentLogWhereUniqueInput | Prisma.FormulaComponentLogWhereUniqueInput[]
|
|
update?: Prisma.FormulaComponentLogUpdateWithWhereUniqueWithoutFormulaLogInput | Prisma.FormulaComponentLogUpdateWithWhereUniqueWithoutFormulaLogInput[]
|
|
updateMany?: Prisma.FormulaComponentLogUpdateManyWithWhereWithoutFormulaLogInput | Prisma.FormulaComponentLogUpdateManyWithWhereWithoutFormulaLogInput[]
|
|
deleteMany?: Prisma.FormulaComponentLogScalarWhereInput | Prisma.FormulaComponentLogScalarWhereInput[]
|
|
}
|
|
|
|
export type FormulaComponentLogUncheckedUpdateManyWithoutFormulaLogNestedInput = {
|
|
create?: Prisma.XOR<Prisma.FormulaComponentLogCreateWithoutFormulaLogInput, Prisma.FormulaComponentLogUncheckedCreateWithoutFormulaLogInput> | Prisma.FormulaComponentLogCreateWithoutFormulaLogInput[] | Prisma.FormulaComponentLogUncheckedCreateWithoutFormulaLogInput[]
|
|
connectOrCreate?: Prisma.FormulaComponentLogCreateOrConnectWithoutFormulaLogInput | Prisma.FormulaComponentLogCreateOrConnectWithoutFormulaLogInput[]
|
|
upsert?: Prisma.FormulaComponentLogUpsertWithWhereUniqueWithoutFormulaLogInput | Prisma.FormulaComponentLogUpsertWithWhereUniqueWithoutFormulaLogInput[]
|
|
createMany?: Prisma.FormulaComponentLogCreateManyFormulaLogInputEnvelope
|
|
set?: Prisma.FormulaComponentLogWhereUniqueInput | Prisma.FormulaComponentLogWhereUniqueInput[]
|
|
disconnect?: Prisma.FormulaComponentLogWhereUniqueInput | Prisma.FormulaComponentLogWhereUniqueInput[]
|
|
delete?: Prisma.FormulaComponentLogWhereUniqueInput | Prisma.FormulaComponentLogWhereUniqueInput[]
|
|
connect?: Prisma.FormulaComponentLogWhereUniqueInput | Prisma.FormulaComponentLogWhereUniqueInput[]
|
|
update?: Prisma.FormulaComponentLogUpdateWithWhereUniqueWithoutFormulaLogInput | Prisma.FormulaComponentLogUpdateWithWhereUniqueWithoutFormulaLogInput[]
|
|
updateMany?: Prisma.FormulaComponentLogUpdateManyWithWhereWithoutFormulaLogInput | Prisma.FormulaComponentLogUpdateManyWithWhereWithoutFormulaLogInput[]
|
|
deleteMany?: Prisma.FormulaComponentLogScalarWhereInput | Prisma.FormulaComponentLogScalarWhereInput[]
|
|
}
|
|
|
|
export type FormulaComponentLogCreateWithoutRowInput = {
|
|
id?: string
|
|
order: number
|
|
type: string
|
|
value: string
|
|
formulaLog: Prisma.FormulaLogCreateNestedOneWithoutComponentsInput
|
|
}
|
|
|
|
export type FormulaComponentLogUncheckedCreateWithoutRowInput = {
|
|
id?: string
|
|
order: number
|
|
type: string
|
|
value: string
|
|
formulaLogId: string
|
|
}
|
|
|
|
export type FormulaComponentLogCreateOrConnectWithoutRowInput = {
|
|
where: Prisma.FormulaComponentLogWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.FormulaComponentLogCreateWithoutRowInput, Prisma.FormulaComponentLogUncheckedCreateWithoutRowInput>
|
|
}
|
|
|
|
export type FormulaComponentLogCreateManyRowInputEnvelope = {
|
|
data: Prisma.FormulaComponentLogCreateManyRowInput | Prisma.FormulaComponentLogCreateManyRowInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type FormulaComponentLogUpsertWithWhereUniqueWithoutRowInput = {
|
|
where: Prisma.FormulaComponentLogWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.FormulaComponentLogUpdateWithoutRowInput, Prisma.FormulaComponentLogUncheckedUpdateWithoutRowInput>
|
|
create: Prisma.XOR<Prisma.FormulaComponentLogCreateWithoutRowInput, Prisma.FormulaComponentLogUncheckedCreateWithoutRowInput>
|
|
}
|
|
|
|
export type FormulaComponentLogUpdateWithWhereUniqueWithoutRowInput = {
|
|
where: Prisma.FormulaComponentLogWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.FormulaComponentLogUpdateWithoutRowInput, Prisma.FormulaComponentLogUncheckedUpdateWithoutRowInput>
|
|
}
|
|
|
|
export type FormulaComponentLogUpdateManyWithWhereWithoutRowInput = {
|
|
where: Prisma.FormulaComponentLogScalarWhereInput
|
|
data: Prisma.XOR<Prisma.FormulaComponentLogUpdateManyMutationInput, Prisma.FormulaComponentLogUncheckedUpdateManyWithoutRowInput>
|
|
}
|
|
|
|
export type FormulaComponentLogScalarWhereInput = {
|
|
AND?: Prisma.FormulaComponentLogScalarWhereInput | Prisma.FormulaComponentLogScalarWhereInput[]
|
|
OR?: Prisma.FormulaComponentLogScalarWhereInput[]
|
|
NOT?: Prisma.FormulaComponentLogScalarWhereInput | Prisma.FormulaComponentLogScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"FormulaComponentLog"> | string
|
|
order?: Prisma.IntFilter<"FormulaComponentLog"> | number
|
|
type?: Prisma.StringFilter<"FormulaComponentLog"> | string
|
|
value?: Prisma.StringFilter<"FormulaComponentLog"> | string
|
|
rowId?: Prisma.StringNullableFilter<"FormulaComponentLog"> | string | null
|
|
formulaLogId?: Prisma.StringFilter<"FormulaComponentLog"> | string
|
|
}
|
|
|
|
export type FormulaComponentLogCreateWithoutFormulaLogInput = {
|
|
id?: string
|
|
order: number
|
|
type: string
|
|
value: string
|
|
row?: Prisma.RowCreateNestedOneWithoutFormulaCalculationLogsInput
|
|
}
|
|
|
|
export type FormulaComponentLogUncheckedCreateWithoutFormulaLogInput = {
|
|
id?: string
|
|
order: number
|
|
type: string
|
|
value: string
|
|
rowId?: string | null
|
|
}
|
|
|
|
export type FormulaComponentLogCreateOrConnectWithoutFormulaLogInput = {
|
|
where: Prisma.FormulaComponentLogWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.FormulaComponentLogCreateWithoutFormulaLogInput, Prisma.FormulaComponentLogUncheckedCreateWithoutFormulaLogInput>
|
|
}
|
|
|
|
export type FormulaComponentLogCreateManyFormulaLogInputEnvelope = {
|
|
data: Prisma.FormulaComponentLogCreateManyFormulaLogInput | Prisma.FormulaComponentLogCreateManyFormulaLogInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type FormulaComponentLogUpsertWithWhereUniqueWithoutFormulaLogInput = {
|
|
where: Prisma.FormulaComponentLogWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.FormulaComponentLogUpdateWithoutFormulaLogInput, Prisma.FormulaComponentLogUncheckedUpdateWithoutFormulaLogInput>
|
|
create: Prisma.XOR<Prisma.FormulaComponentLogCreateWithoutFormulaLogInput, Prisma.FormulaComponentLogUncheckedCreateWithoutFormulaLogInput>
|
|
}
|
|
|
|
export type FormulaComponentLogUpdateWithWhereUniqueWithoutFormulaLogInput = {
|
|
where: Prisma.FormulaComponentLogWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.FormulaComponentLogUpdateWithoutFormulaLogInput, Prisma.FormulaComponentLogUncheckedUpdateWithoutFormulaLogInput>
|
|
}
|
|
|
|
export type FormulaComponentLogUpdateManyWithWhereWithoutFormulaLogInput = {
|
|
where: Prisma.FormulaComponentLogScalarWhereInput
|
|
data: Prisma.XOR<Prisma.FormulaComponentLogUpdateManyMutationInput, Prisma.FormulaComponentLogUncheckedUpdateManyWithoutFormulaLogInput>
|
|
}
|
|
|
|
export type FormulaComponentLogCreateManyRowInput = {
|
|
id?: string
|
|
order: number
|
|
type: string
|
|
value: string
|
|
formulaLogId: string
|
|
}
|
|
|
|
export type FormulaComponentLogUpdateWithoutRowInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
formulaLog?: Prisma.FormulaLogUpdateOneRequiredWithoutComponentsNestedInput
|
|
}
|
|
|
|
export type FormulaComponentLogUncheckedUpdateWithoutRowInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
formulaLogId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type FormulaComponentLogUncheckedUpdateManyWithoutRowInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
formulaLogId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type FormulaComponentLogCreateManyFormulaLogInput = {
|
|
id?: string
|
|
order: number
|
|
type: string
|
|
value: string
|
|
rowId?: string | null
|
|
}
|
|
|
|
export type FormulaComponentLogUpdateWithoutFormulaLogInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
row?: Prisma.RowUpdateOneWithoutFormulaCalculationLogsNestedInput
|
|
}
|
|
|
|
export type FormulaComponentLogUncheckedUpdateWithoutFormulaLogInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type FormulaComponentLogUncheckedUpdateManyWithoutFormulaLogInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rowId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
|
|
|
|
export type FormulaComponentLogSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
order?: boolean
|
|
type?: boolean
|
|
value?: boolean
|
|
rowId?: boolean
|
|
formulaLogId?: boolean
|
|
row?: boolean | Prisma.FormulaComponentLog$rowArgs<ExtArgs>
|
|
formulaLog?: boolean | Prisma.FormulaLogDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["formulaComponentLog"]>
|
|
|
|
export type FormulaComponentLogSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
order?: boolean
|
|
type?: boolean
|
|
value?: boolean
|
|
rowId?: boolean
|
|
formulaLogId?: boolean
|
|
row?: boolean | Prisma.FormulaComponentLog$rowArgs<ExtArgs>
|
|
formulaLog?: boolean | Prisma.FormulaLogDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["formulaComponentLog"]>
|
|
|
|
export type FormulaComponentLogSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
order?: boolean
|
|
type?: boolean
|
|
value?: boolean
|
|
rowId?: boolean
|
|
formulaLogId?: boolean
|
|
row?: boolean | Prisma.FormulaComponentLog$rowArgs<ExtArgs>
|
|
formulaLog?: boolean | Prisma.FormulaLogDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["formulaComponentLog"]>
|
|
|
|
export type FormulaComponentLogSelectScalar = {
|
|
id?: boolean
|
|
order?: boolean
|
|
type?: boolean
|
|
value?: boolean
|
|
rowId?: boolean
|
|
formulaLogId?: boolean
|
|
}
|
|
|
|
export type FormulaComponentLogOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "order" | "type" | "value" | "rowId" | "formulaLogId", ExtArgs["result"]["formulaComponentLog"]>
|
|
export type FormulaComponentLogInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
row?: boolean | Prisma.FormulaComponentLog$rowArgs<ExtArgs>
|
|
formulaLog?: boolean | Prisma.FormulaLogDefaultArgs<ExtArgs>
|
|
}
|
|
export type FormulaComponentLogIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
row?: boolean | Prisma.FormulaComponentLog$rowArgs<ExtArgs>
|
|
formulaLog?: boolean | Prisma.FormulaLogDefaultArgs<ExtArgs>
|
|
}
|
|
export type FormulaComponentLogIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
row?: boolean | Prisma.FormulaComponentLog$rowArgs<ExtArgs>
|
|
formulaLog?: boolean | Prisma.FormulaLogDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $FormulaComponentLogPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "FormulaComponentLog"
|
|
objects: {
|
|
row: Prisma.$RowPayload<ExtArgs> | null
|
|
formulaLog: Prisma.$FormulaLogPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
order: number
|
|
type: string
|
|
value: string
|
|
rowId: string | null
|
|
formulaLogId: string
|
|
}, ExtArgs["result"]["formulaComponentLog"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type FormulaComponentLogGetPayload<S extends boolean | null | undefined | FormulaComponentLogDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$FormulaComponentLogPayload, S>
|
|
|
|
export type FormulaComponentLogCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<FormulaComponentLogFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: FormulaComponentLogCountAggregateInputType | true
|
|
}
|
|
|
|
export interface FormulaComponentLogDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['FormulaComponentLog'], meta: { name: 'FormulaComponentLog' } }
|
|
/**
|
|
* Find zero or one FormulaComponentLog that matches the filter.
|
|
* @param {FormulaComponentLogFindUniqueArgs} args - Arguments to find a FormulaComponentLog
|
|
* @example
|
|
* // Get one FormulaComponentLog
|
|
* const formulaComponentLog = await prisma.formulaComponentLog.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends FormulaComponentLogFindUniqueArgs>(args: Prisma.SelectSubset<T, FormulaComponentLogFindUniqueArgs<ExtArgs>>): Prisma.Prisma__FormulaComponentLogClient<runtime.Types.Result.GetResult<Prisma.$FormulaComponentLogPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one FormulaComponentLog that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {FormulaComponentLogFindUniqueOrThrowArgs} args - Arguments to find a FormulaComponentLog
|
|
* @example
|
|
* // Get one FormulaComponentLog
|
|
* const formulaComponentLog = await prisma.formulaComponentLog.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends FormulaComponentLogFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, FormulaComponentLogFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__FormulaComponentLogClient<runtime.Types.Result.GetResult<Prisma.$FormulaComponentLogPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first FormulaComponentLog that matches the filter.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {FormulaComponentLogFindFirstArgs} args - Arguments to find a FormulaComponentLog
|
|
* @example
|
|
* // Get one FormulaComponentLog
|
|
* const formulaComponentLog = await prisma.formulaComponentLog.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends FormulaComponentLogFindFirstArgs>(args?: Prisma.SelectSubset<T, FormulaComponentLogFindFirstArgs<ExtArgs>>): Prisma.Prisma__FormulaComponentLogClient<runtime.Types.Result.GetResult<Prisma.$FormulaComponentLogPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first FormulaComponentLog that matches the filter or
|
|
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {FormulaComponentLogFindFirstOrThrowArgs} args - Arguments to find a FormulaComponentLog
|
|
* @example
|
|
* // Get one FormulaComponentLog
|
|
* const formulaComponentLog = await prisma.formulaComponentLog.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends FormulaComponentLogFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, FormulaComponentLogFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__FormulaComponentLogClient<runtime.Types.Result.GetResult<Prisma.$FormulaComponentLogPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more FormulaComponentLogs that matches the filter.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {FormulaComponentLogFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all FormulaComponentLogs
|
|
* const formulaComponentLogs = await prisma.formulaComponentLog.findMany()
|
|
*
|
|
* // Get first 10 FormulaComponentLogs
|
|
* const formulaComponentLogs = await prisma.formulaComponentLog.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const formulaComponentLogWithIdOnly = await prisma.formulaComponentLog.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends FormulaComponentLogFindManyArgs>(args?: Prisma.SelectSubset<T, FormulaComponentLogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FormulaComponentLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a FormulaComponentLog.
|
|
* @param {FormulaComponentLogCreateArgs} args - Arguments to create a FormulaComponentLog.
|
|
* @example
|
|
* // Create one FormulaComponentLog
|
|
* const FormulaComponentLog = await prisma.formulaComponentLog.create({
|
|
* data: {
|
|
* // ... data to create a FormulaComponentLog
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends FormulaComponentLogCreateArgs>(args: Prisma.SelectSubset<T, FormulaComponentLogCreateArgs<ExtArgs>>): Prisma.Prisma__FormulaComponentLogClient<runtime.Types.Result.GetResult<Prisma.$FormulaComponentLogPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many FormulaComponentLogs.
|
|
* @param {FormulaComponentLogCreateManyArgs} args - Arguments to create many FormulaComponentLogs.
|
|
* @example
|
|
* // Create many FormulaComponentLogs
|
|
* const formulaComponentLog = await prisma.formulaComponentLog.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends FormulaComponentLogCreateManyArgs>(args?: Prisma.SelectSubset<T, FormulaComponentLogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many FormulaComponentLogs and returns the data saved in the database.
|
|
* @param {FormulaComponentLogCreateManyAndReturnArgs} args - Arguments to create many FormulaComponentLogs.
|
|
* @example
|
|
* // Create many FormulaComponentLogs
|
|
* const formulaComponentLog = await prisma.formulaComponentLog.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many FormulaComponentLogs and only return the `id`
|
|
* const formulaComponentLogWithIdOnly = await prisma.formulaComponentLog.createManyAndReturn({
|
|
* select: { id: true },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
*
|
|
*/
|
|
createManyAndReturn<T extends FormulaComponentLogCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, FormulaComponentLogCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FormulaComponentLogPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a FormulaComponentLog.
|
|
* @param {FormulaComponentLogDeleteArgs} args - Arguments to delete one FormulaComponentLog.
|
|
* @example
|
|
* // Delete one FormulaComponentLog
|
|
* const FormulaComponentLog = await prisma.formulaComponentLog.delete({
|
|
* where: {
|
|
* // ... filter to delete one FormulaComponentLog
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends FormulaComponentLogDeleteArgs>(args: Prisma.SelectSubset<T, FormulaComponentLogDeleteArgs<ExtArgs>>): Prisma.Prisma__FormulaComponentLogClient<runtime.Types.Result.GetResult<Prisma.$FormulaComponentLogPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one FormulaComponentLog.
|
|
* @param {FormulaComponentLogUpdateArgs} args - Arguments to update one FormulaComponentLog.
|
|
* @example
|
|
* // Update one FormulaComponentLog
|
|
* const formulaComponentLog = await prisma.formulaComponentLog.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends FormulaComponentLogUpdateArgs>(args: Prisma.SelectSubset<T, FormulaComponentLogUpdateArgs<ExtArgs>>): Prisma.Prisma__FormulaComponentLogClient<runtime.Types.Result.GetResult<Prisma.$FormulaComponentLogPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more FormulaComponentLogs.
|
|
* @param {FormulaComponentLogDeleteManyArgs} args - Arguments to filter FormulaComponentLogs to delete.
|
|
* @example
|
|
* // Delete a few FormulaComponentLogs
|
|
* const { count } = await prisma.formulaComponentLog.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends FormulaComponentLogDeleteManyArgs>(args?: Prisma.SelectSubset<T, FormulaComponentLogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more FormulaComponentLogs.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {FormulaComponentLogUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many FormulaComponentLogs
|
|
* const formulaComponentLog = await prisma.formulaComponentLog.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends FormulaComponentLogUpdateManyArgs>(args: Prisma.SelectSubset<T, FormulaComponentLogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more FormulaComponentLogs and returns the data updated in the database.
|
|
* @param {FormulaComponentLogUpdateManyAndReturnArgs} args - Arguments to update many FormulaComponentLogs.
|
|
* @example
|
|
* // Update many FormulaComponentLogs
|
|
* const formulaComponentLog = await prisma.formulaComponentLog.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more FormulaComponentLogs and only return the `id`
|
|
* const formulaComponentLogWithIdOnly = await prisma.formulaComponentLog.updateManyAndReturn({
|
|
* select: { id: true },
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
*
|
|
*/
|
|
updateManyAndReturn<T extends FormulaComponentLogUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, FormulaComponentLogUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FormulaComponentLogPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one FormulaComponentLog.
|
|
* @param {FormulaComponentLogUpsertArgs} args - Arguments to update or create a FormulaComponentLog.
|
|
* @example
|
|
* // Update or create a FormulaComponentLog
|
|
* const formulaComponentLog = await prisma.formulaComponentLog.upsert({
|
|
* create: {
|
|
* // ... data to create a FormulaComponentLog
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the FormulaComponentLog we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends FormulaComponentLogUpsertArgs>(args: Prisma.SelectSubset<T, FormulaComponentLogUpsertArgs<ExtArgs>>): Prisma.Prisma__FormulaComponentLogClient<runtime.Types.Result.GetResult<Prisma.$FormulaComponentLogPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of FormulaComponentLogs.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {FormulaComponentLogCountArgs} args - Arguments to filter FormulaComponentLogs to count.
|
|
* @example
|
|
* // Count the number of FormulaComponentLogs
|
|
* const count = await prisma.formulaComponentLog.count({
|
|
* where: {
|
|
* // ... the filter for the FormulaComponentLogs we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends FormulaComponentLogCountArgs>(
|
|
args?: Prisma.Subset<T, FormulaComponentLogCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], FormulaComponentLogCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a FormulaComponentLog.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {FormulaComponentLogAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
* @example
|
|
* // Ordered by age ascending
|
|
* // Where email contains prisma.io
|
|
* // Limited to the 10 users
|
|
* const aggregations = await prisma.user.aggregate({
|
|
* _avg: {
|
|
* age: true,
|
|
* },
|
|
* where: {
|
|
* email: {
|
|
* contains: "prisma.io",
|
|
* },
|
|
* },
|
|
* orderBy: {
|
|
* age: "asc",
|
|
* },
|
|
* take: 10,
|
|
* })
|
|
**/
|
|
aggregate<T extends FormulaComponentLogAggregateArgs>(args: Prisma.Subset<T, FormulaComponentLogAggregateArgs>): Prisma.PrismaPromise<GetFormulaComponentLogAggregateType<T>>
|
|
|
|
/**
|
|
* Group by FormulaComponentLog.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {FormulaComponentLogGroupByArgs} args - Group by arguments.
|
|
* @example
|
|
* // Group by city, order by createdAt, get count
|
|
* const result = await prisma.user.groupBy({
|
|
* by: ['city', 'createdAt'],
|
|
* orderBy: {
|
|
* createdAt: true
|
|
* },
|
|
* _count: {
|
|
* _all: true
|
|
* },
|
|
* })
|
|
*
|
|
**/
|
|
groupBy<
|
|
T extends FormulaComponentLogGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: FormulaComponentLogGroupByArgs['orderBy'] }
|
|
: { orderBy?: FormulaComponentLogGroupByArgs['orderBy'] },
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
InputErrors extends ByEmpty extends Prisma.True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends Prisma.False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: Prisma.SubsetIntersection<T, FormulaComponentLogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetFormulaComponentLogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the FormulaComponentLog model
|
|
*/
|
|
readonly fields: FormulaComponentLogFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for FormulaComponentLog.
|
|
* Why is this prefixed with `Prisma__`?
|
|
* Because we want to prevent naming conflicts as mentioned in
|
|
* https://github.com/prisma/prisma-client-js/issues/707
|
|
*/
|
|
export interface Prisma__FormulaComponentLogClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
row<T extends Prisma.FormulaComponentLog$rowArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.FormulaComponentLog$rowArgs<ExtArgs>>): Prisma.Prisma__RowClient<runtime.Types.Result.GetResult<Prisma.$RowPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
formulaLog<T extends Prisma.FormulaLogDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.FormulaLogDefaultArgs<ExtArgs>>): Prisma.Prisma__FormulaLogClient<runtime.Types.Result.GetResult<Prisma.$FormulaLogPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the FormulaComponentLog model
|
|
*/
|
|
export interface FormulaComponentLogFieldRefs {
|
|
readonly id: Prisma.FieldRef<"FormulaComponentLog", 'String'>
|
|
readonly order: Prisma.FieldRef<"FormulaComponentLog", 'Int'>
|
|
readonly type: Prisma.FieldRef<"FormulaComponentLog", 'String'>
|
|
readonly value: Prisma.FieldRef<"FormulaComponentLog", 'String'>
|
|
readonly rowId: Prisma.FieldRef<"FormulaComponentLog", 'String'>
|
|
readonly formulaLogId: Prisma.FieldRef<"FormulaComponentLog", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* FormulaComponentLog findUnique
|
|
*/
|
|
export type FormulaComponentLogFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the FormulaComponentLog
|
|
*/
|
|
select?: Prisma.FormulaComponentLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the FormulaComponentLog
|
|
*/
|
|
omit?: Prisma.FormulaComponentLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.FormulaComponentLogInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which FormulaComponentLog to fetch.
|
|
*/
|
|
where: Prisma.FormulaComponentLogWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* FormulaComponentLog findUniqueOrThrow
|
|
*/
|
|
export type FormulaComponentLogFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the FormulaComponentLog
|
|
*/
|
|
select?: Prisma.FormulaComponentLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the FormulaComponentLog
|
|
*/
|
|
omit?: Prisma.FormulaComponentLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.FormulaComponentLogInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which FormulaComponentLog to fetch.
|
|
*/
|
|
where: Prisma.FormulaComponentLogWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* FormulaComponentLog findFirst
|
|
*/
|
|
export type FormulaComponentLogFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the FormulaComponentLog
|
|
*/
|
|
select?: Prisma.FormulaComponentLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the FormulaComponentLog
|
|
*/
|
|
omit?: Prisma.FormulaComponentLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.FormulaComponentLogInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which FormulaComponentLog to fetch.
|
|
*/
|
|
where?: Prisma.FormulaComponentLogWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of FormulaComponentLogs to fetch.
|
|
*/
|
|
orderBy?: Prisma.FormulaComponentLogOrderByWithRelationInput | Prisma.FormulaComponentLogOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for FormulaComponentLogs.
|
|
*/
|
|
cursor?: Prisma.FormulaComponentLogWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` FormulaComponentLogs from the position of the cursor.
|
|
*/
|
|
take?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Skip the first `n` FormulaComponentLogs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of FormulaComponentLogs.
|
|
*/
|
|
distinct?: Prisma.FormulaComponentLogScalarFieldEnum | Prisma.FormulaComponentLogScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* FormulaComponentLog findFirstOrThrow
|
|
*/
|
|
export type FormulaComponentLogFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the FormulaComponentLog
|
|
*/
|
|
select?: Prisma.FormulaComponentLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the FormulaComponentLog
|
|
*/
|
|
omit?: Prisma.FormulaComponentLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.FormulaComponentLogInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which FormulaComponentLog to fetch.
|
|
*/
|
|
where?: Prisma.FormulaComponentLogWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of FormulaComponentLogs to fetch.
|
|
*/
|
|
orderBy?: Prisma.FormulaComponentLogOrderByWithRelationInput | Prisma.FormulaComponentLogOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for FormulaComponentLogs.
|
|
*/
|
|
cursor?: Prisma.FormulaComponentLogWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` FormulaComponentLogs from the position of the cursor.
|
|
*/
|
|
take?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Skip the first `n` FormulaComponentLogs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of FormulaComponentLogs.
|
|
*/
|
|
distinct?: Prisma.FormulaComponentLogScalarFieldEnum | Prisma.FormulaComponentLogScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* FormulaComponentLog findMany
|
|
*/
|
|
export type FormulaComponentLogFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the FormulaComponentLog
|
|
*/
|
|
select?: Prisma.FormulaComponentLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the FormulaComponentLog
|
|
*/
|
|
omit?: Prisma.FormulaComponentLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.FormulaComponentLogInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which FormulaComponentLogs to fetch.
|
|
*/
|
|
where?: Prisma.FormulaComponentLogWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of FormulaComponentLogs to fetch.
|
|
*/
|
|
orderBy?: Prisma.FormulaComponentLogOrderByWithRelationInput | Prisma.FormulaComponentLogOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing FormulaComponentLogs.
|
|
*/
|
|
cursor?: Prisma.FormulaComponentLogWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` FormulaComponentLogs from the position of the cursor.
|
|
*/
|
|
take?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Skip the first `n` FormulaComponentLogs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of FormulaComponentLogs.
|
|
*/
|
|
distinct?: Prisma.FormulaComponentLogScalarFieldEnum | Prisma.FormulaComponentLogScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* FormulaComponentLog create
|
|
*/
|
|
export type FormulaComponentLogCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the FormulaComponentLog
|
|
*/
|
|
select?: Prisma.FormulaComponentLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the FormulaComponentLog
|
|
*/
|
|
omit?: Prisma.FormulaComponentLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.FormulaComponentLogInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a FormulaComponentLog.
|
|
*/
|
|
data: Prisma.XOR<Prisma.FormulaComponentLogCreateInput, Prisma.FormulaComponentLogUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* FormulaComponentLog createMany
|
|
*/
|
|
export type FormulaComponentLogCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many FormulaComponentLogs.
|
|
*/
|
|
data: Prisma.FormulaComponentLogCreateManyInput | Prisma.FormulaComponentLogCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* FormulaComponentLog createManyAndReturn
|
|
*/
|
|
export type FormulaComponentLogCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the FormulaComponentLog
|
|
*/
|
|
select?: Prisma.FormulaComponentLogSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the FormulaComponentLog
|
|
*/
|
|
omit?: Prisma.FormulaComponentLogOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many FormulaComponentLogs.
|
|
*/
|
|
data: Prisma.FormulaComponentLogCreateManyInput | Prisma.FormulaComponentLogCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.FormulaComponentLogIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* FormulaComponentLog update
|
|
*/
|
|
export type FormulaComponentLogUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the FormulaComponentLog
|
|
*/
|
|
select?: Prisma.FormulaComponentLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the FormulaComponentLog
|
|
*/
|
|
omit?: Prisma.FormulaComponentLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.FormulaComponentLogInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a FormulaComponentLog.
|
|
*/
|
|
data: Prisma.XOR<Prisma.FormulaComponentLogUpdateInput, Prisma.FormulaComponentLogUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which FormulaComponentLog to update.
|
|
*/
|
|
where: Prisma.FormulaComponentLogWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* FormulaComponentLog updateMany
|
|
*/
|
|
export type FormulaComponentLogUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update FormulaComponentLogs.
|
|
*/
|
|
data: Prisma.XOR<Prisma.FormulaComponentLogUpdateManyMutationInput, Prisma.FormulaComponentLogUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which FormulaComponentLogs to update
|
|
*/
|
|
where?: Prisma.FormulaComponentLogWhereInput
|
|
/**
|
|
* Limit how many FormulaComponentLogs to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* FormulaComponentLog updateManyAndReturn
|
|
*/
|
|
export type FormulaComponentLogUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the FormulaComponentLog
|
|
*/
|
|
select?: Prisma.FormulaComponentLogSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the FormulaComponentLog
|
|
*/
|
|
omit?: Prisma.FormulaComponentLogOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update FormulaComponentLogs.
|
|
*/
|
|
data: Prisma.XOR<Prisma.FormulaComponentLogUpdateManyMutationInput, Prisma.FormulaComponentLogUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which FormulaComponentLogs to update
|
|
*/
|
|
where?: Prisma.FormulaComponentLogWhereInput
|
|
/**
|
|
* Limit how many FormulaComponentLogs to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.FormulaComponentLogIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* FormulaComponentLog upsert
|
|
*/
|
|
export type FormulaComponentLogUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the FormulaComponentLog
|
|
*/
|
|
select?: Prisma.FormulaComponentLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the FormulaComponentLog
|
|
*/
|
|
omit?: Prisma.FormulaComponentLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.FormulaComponentLogInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the FormulaComponentLog to update in case it exists.
|
|
*/
|
|
where: Prisma.FormulaComponentLogWhereUniqueInput
|
|
/**
|
|
* In case the FormulaComponentLog found by the `where` argument doesn't exist, create a new FormulaComponentLog with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.FormulaComponentLogCreateInput, Prisma.FormulaComponentLogUncheckedCreateInput>
|
|
/**
|
|
* In case the FormulaComponentLog was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.FormulaComponentLogUpdateInput, Prisma.FormulaComponentLogUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* FormulaComponentLog delete
|
|
*/
|
|
export type FormulaComponentLogDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the FormulaComponentLog
|
|
*/
|
|
select?: Prisma.FormulaComponentLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the FormulaComponentLog
|
|
*/
|
|
omit?: Prisma.FormulaComponentLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.FormulaComponentLogInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which FormulaComponentLog to delete.
|
|
*/
|
|
where: Prisma.FormulaComponentLogWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* FormulaComponentLog deleteMany
|
|
*/
|
|
export type FormulaComponentLogDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which FormulaComponentLogs to delete
|
|
*/
|
|
where?: Prisma.FormulaComponentLogWhereInput
|
|
/**
|
|
* Limit how many FormulaComponentLogs to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* FormulaComponentLog.row
|
|
*/
|
|
export type FormulaComponentLog$rowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Row
|
|
*/
|
|
select?: Prisma.RowSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Row
|
|
*/
|
|
omit?: Prisma.RowOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowInclude<ExtArgs> | null
|
|
where?: Prisma.RowWhereInput
|
|
}
|
|
|
|
/**
|
|
* FormulaComponentLog without action
|
|
*/
|
|
export type FormulaComponentLogDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the FormulaComponentLog
|
|
*/
|
|
select?: Prisma.FormulaComponentLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the FormulaComponentLog
|
|
*/
|
|
omit?: Prisma.FormulaComponentLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.FormulaComponentLogInclude<ExtArgs> | null
|
|
}
|