/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `Formula` 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 Formula * */ export type FormulaModel = runtime.Types.Result.DefaultSelection export type AggregateFormula = { _count: FormulaCountAggregateOutputType | null _min: FormulaMinAggregateOutputType | null _max: FormulaMaxAggregateOutputType | null } export type FormulaMinAggregateOutputType = { id: string | null createdAt: Date | null name: string | null description: string | null resultAs: string | null calculationTrigger: string | null withLogs: boolean | null } export type FormulaMaxAggregateOutputType = { id: string | null createdAt: Date | null name: string | null description: string | null resultAs: string | null calculationTrigger: string | null withLogs: boolean | null } export type FormulaCountAggregateOutputType = { id: number createdAt: number name: number description: number resultAs: number calculationTrigger: number withLogs: number _all: number } export type FormulaMinAggregateInputType = { id?: true createdAt?: true name?: true description?: true resultAs?: true calculationTrigger?: true withLogs?: true } export type FormulaMaxAggregateInputType = { id?: true createdAt?: true name?: true description?: true resultAs?: true calculationTrigger?: true withLogs?: true } export type FormulaCountAggregateInputType = { id?: true createdAt?: true name?: true description?: true resultAs?: true calculationTrigger?: true withLogs?: true _all?: true } export type FormulaAggregateArgs = { /** * Filter which Formula to aggregate. */ where?: Prisma.FormulaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Formulas to fetch. */ orderBy?: Prisma.FormulaOrderByWithRelationInput | Prisma.FormulaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.FormulaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Formulas 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` Formulas. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Formulas **/ _count?: true | FormulaCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: FormulaMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: FormulaMaxAggregateInputType } export type GetFormulaAggregateType = { [P in keyof T & keyof AggregateFormula]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type FormulaGroupByArgs = { where?: Prisma.FormulaWhereInput orderBy?: Prisma.FormulaOrderByWithAggregationInput | Prisma.FormulaOrderByWithAggregationInput[] by: Prisma.FormulaScalarFieldEnum[] | Prisma.FormulaScalarFieldEnum having?: Prisma.FormulaScalarWhereWithAggregatesInput take?: number skip?: number _count?: FormulaCountAggregateInputType | true _min?: FormulaMinAggregateInputType _max?: FormulaMaxAggregateInputType } export type FormulaGroupByOutputType = { id: string createdAt: Date name: string description: string | null resultAs: string calculationTrigger: string withLogs: boolean _count: FormulaCountAggregateOutputType | null _min: FormulaMinAggregateOutputType | null _max: FormulaMaxAggregateOutputType | null } export type GetFormulaGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof FormulaGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type FormulaWhereInput = { AND?: Prisma.FormulaWhereInput | Prisma.FormulaWhereInput[] OR?: Prisma.FormulaWhereInput[] NOT?: Prisma.FormulaWhereInput | Prisma.FormulaWhereInput[] id?: Prisma.StringFilter<"Formula"> | string createdAt?: Prisma.DateTimeFilter<"Formula"> | Date | string name?: Prisma.StringFilter<"Formula"> | string description?: Prisma.StringNullableFilter<"Formula"> | string | null resultAs?: Prisma.StringFilter<"Formula"> | string calculationTrigger?: Prisma.StringFilter<"Formula"> | string withLogs?: Prisma.BoolFilter<"Formula"> | boolean components?: Prisma.FormulaComponentListRelationFilter inProperties?: Prisma.PropertyListRelationFilter logs?: Prisma.FormulaLogListRelationFilter } export type FormulaOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder resultAs?: Prisma.SortOrder calculationTrigger?: Prisma.SortOrder withLogs?: Prisma.SortOrder components?: Prisma.FormulaComponentOrderByRelationAggregateInput inProperties?: Prisma.PropertyOrderByRelationAggregateInput logs?: Prisma.FormulaLogOrderByRelationAggregateInput } export type FormulaWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.FormulaWhereInput | Prisma.FormulaWhereInput[] OR?: Prisma.FormulaWhereInput[] NOT?: Prisma.FormulaWhereInput | Prisma.FormulaWhereInput[] createdAt?: Prisma.DateTimeFilter<"Formula"> | Date | string name?: Prisma.StringFilter<"Formula"> | string description?: Prisma.StringNullableFilter<"Formula"> | string | null resultAs?: Prisma.StringFilter<"Formula"> | string calculationTrigger?: Prisma.StringFilter<"Formula"> | string withLogs?: Prisma.BoolFilter<"Formula"> | boolean components?: Prisma.FormulaComponentListRelationFilter inProperties?: Prisma.PropertyListRelationFilter logs?: Prisma.FormulaLogListRelationFilter }, "id"> export type FormulaOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder resultAs?: Prisma.SortOrder calculationTrigger?: Prisma.SortOrder withLogs?: Prisma.SortOrder _count?: Prisma.FormulaCountOrderByAggregateInput _max?: Prisma.FormulaMaxOrderByAggregateInput _min?: Prisma.FormulaMinOrderByAggregateInput } export type FormulaScalarWhereWithAggregatesInput = { AND?: Prisma.FormulaScalarWhereWithAggregatesInput | Prisma.FormulaScalarWhereWithAggregatesInput[] OR?: Prisma.FormulaScalarWhereWithAggregatesInput[] NOT?: Prisma.FormulaScalarWhereWithAggregatesInput | Prisma.FormulaScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"Formula"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"Formula"> | Date | string name?: Prisma.StringWithAggregatesFilter<"Formula"> | string description?: Prisma.StringNullableWithAggregatesFilter<"Formula"> | string | null resultAs?: Prisma.StringWithAggregatesFilter<"Formula"> | string calculationTrigger?: Prisma.StringWithAggregatesFilter<"Formula"> | string withLogs?: Prisma.BoolWithAggregatesFilter<"Formula"> | boolean } export type FormulaCreateInput = { id?: string createdAt?: Date | string name: string description?: string | null resultAs: string calculationTrigger: string withLogs?: boolean components?: Prisma.FormulaComponentCreateNestedManyWithoutFormulaInput inProperties?: Prisma.PropertyCreateNestedManyWithoutFormulaInput logs?: Prisma.FormulaLogCreateNestedManyWithoutFormulaInput } export type FormulaUncheckedCreateInput = { id?: string createdAt?: Date | string name: string description?: string | null resultAs: string calculationTrigger: string withLogs?: boolean components?: Prisma.FormulaComponentUncheckedCreateNestedManyWithoutFormulaInput inProperties?: Prisma.PropertyUncheckedCreateNestedManyWithoutFormulaInput logs?: Prisma.FormulaLogUncheckedCreateNestedManyWithoutFormulaInput } export type FormulaUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null resultAs?: Prisma.StringFieldUpdateOperationsInput | string calculationTrigger?: Prisma.StringFieldUpdateOperationsInput | string withLogs?: Prisma.BoolFieldUpdateOperationsInput | boolean components?: Prisma.FormulaComponentUpdateManyWithoutFormulaNestedInput inProperties?: Prisma.PropertyUpdateManyWithoutFormulaNestedInput logs?: Prisma.FormulaLogUpdateManyWithoutFormulaNestedInput } export type FormulaUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null resultAs?: Prisma.StringFieldUpdateOperationsInput | string calculationTrigger?: Prisma.StringFieldUpdateOperationsInput | string withLogs?: Prisma.BoolFieldUpdateOperationsInput | boolean components?: Prisma.FormulaComponentUncheckedUpdateManyWithoutFormulaNestedInput inProperties?: Prisma.PropertyUncheckedUpdateManyWithoutFormulaNestedInput logs?: Prisma.FormulaLogUncheckedUpdateManyWithoutFormulaNestedInput } export type FormulaCreateManyInput = { id?: string createdAt?: Date | string name: string description?: string | null resultAs: string calculationTrigger: string withLogs?: boolean } export type FormulaUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null resultAs?: Prisma.StringFieldUpdateOperationsInput | string calculationTrigger?: Prisma.StringFieldUpdateOperationsInput | string withLogs?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type FormulaUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null resultAs?: Prisma.StringFieldUpdateOperationsInput | string calculationTrigger?: Prisma.StringFieldUpdateOperationsInput | string withLogs?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type FormulaNullableScalarRelationFilter = { is?: Prisma.FormulaWhereInput | null isNot?: Prisma.FormulaWhereInput | null } export type FormulaCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder resultAs?: Prisma.SortOrder calculationTrigger?: Prisma.SortOrder withLogs?: Prisma.SortOrder } export type FormulaMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder resultAs?: Prisma.SortOrder calculationTrigger?: Prisma.SortOrder withLogs?: Prisma.SortOrder } export type FormulaMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder resultAs?: Prisma.SortOrder calculationTrigger?: Prisma.SortOrder withLogs?: Prisma.SortOrder } export type FormulaScalarRelationFilter = { is?: Prisma.FormulaWhereInput isNot?: Prisma.FormulaWhereInput } export type FormulaCreateNestedOneWithoutInPropertiesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.FormulaCreateOrConnectWithoutInPropertiesInput connect?: Prisma.FormulaWhereUniqueInput } export type FormulaUpdateOneWithoutInPropertiesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.FormulaCreateOrConnectWithoutInPropertiesInput upsert?: Prisma.FormulaUpsertWithoutInPropertiesInput disconnect?: Prisma.FormulaWhereInput | boolean delete?: Prisma.FormulaWhereInput | boolean connect?: Prisma.FormulaWhereUniqueInput update?: Prisma.XOR, Prisma.FormulaUncheckedUpdateWithoutInPropertiesInput> } export type FormulaCreateNestedOneWithoutComponentsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.FormulaCreateOrConnectWithoutComponentsInput connect?: Prisma.FormulaWhereUniqueInput } export type FormulaUpdateOneRequiredWithoutComponentsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.FormulaCreateOrConnectWithoutComponentsInput upsert?: Prisma.FormulaUpsertWithoutComponentsInput connect?: Prisma.FormulaWhereUniqueInput update?: Prisma.XOR, Prisma.FormulaUncheckedUpdateWithoutComponentsInput> } export type FormulaCreateNestedOneWithoutLogsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.FormulaCreateOrConnectWithoutLogsInput connect?: Prisma.FormulaWhereUniqueInput } export type FormulaUpdateOneRequiredWithoutLogsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.FormulaCreateOrConnectWithoutLogsInput upsert?: Prisma.FormulaUpsertWithoutLogsInput connect?: Prisma.FormulaWhereUniqueInput update?: Prisma.XOR, Prisma.FormulaUncheckedUpdateWithoutLogsInput> } export type FormulaCreateWithoutInPropertiesInput = { id?: string createdAt?: Date | string name: string description?: string | null resultAs: string calculationTrigger: string withLogs?: boolean components?: Prisma.FormulaComponentCreateNestedManyWithoutFormulaInput logs?: Prisma.FormulaLogCreateNestedManyWithoutFormulaInput } export type FormulaUncheckedCreateWithoutInPropertiesInput = { id?: string createdAt?: Date | string name: string description?: string | null resultAs: string calculationTrigger: string withLogs?: boolean components?: Prisma.FormulaComponentUncheckedCreateNestedManyWithoutFormulaInput logs?: Prisma.FormulaLogUncheckedCreateNestedManyWithoutFormulaInput } export type FormulaCreateOrConnectWithoutInPropertiesInput = { where: Prisma.FormulaWhereUniqueInput create: Prisma.XOR } export type FormulaUpsertWithoutInPropertiesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.FormulaWhereInput } export type FormulaUpdateToOneWithWhereWithoutInPropertiesInput = { where?: Prisma.FormulaWhereInput data: Prisma.XOR } export type FormulaUpdateWithoutInPropertiesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null resultAs?: Prisma.StringFieldUpdateOperationsInput | string calculationTrigger?: Prisma.StringFieldUpdateOperationsInput | string withLogs?: Prisma.BoolFieldUpdateOperationsInput | boolean components?: Prisma.FormulaComponentUpdateManyWithoutFormulaNestedInput logs?: Prisma.FormulaLogUpdateManyWithoutFormulaNestedInput } export type FormulaUncheckedUpdateWithoutInPropertiesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null resultAs?: Prisma.StringFieldUpdateOperationsInput | string calculationTrigger?: Prisma.StringFieldUpdateOperationsInput | string withLogs?: Prisma.BoolFieldUpdateOperationsInput | boolean components?: Prisma.FormulaComponentUncheckedUpdateManyWithoutFormulaNestedInput logs?: Prisma.FormulaLogUncheckedUpdateManyWithoutFormulaNestedInput } export type FormulaCreateWithoutComponentsInput = { id?: string createdAt?: Date | string name: string description?: string | null resultAs: string calculationTrigger: string withLogs?: boolean inProperties?: Prisma.PropertyCreateNestedManyWithoutFormulaInput logs?: Prisma.FormulaLogCreateNestedManyWithoutFormulaInput } export type FormulaUncheckedCreateWithoutComponentsInput = { id?: string createdAt?: Date | string name: string description?: string | null resultAs: string calculationTrigger: string withLogs?: boolean inProperties?: Prisma.PropertyUncheckedCreateNestedManyWithoutFormulaInput logs?: Prisma.FormulaLogUncheckedCreateNestedManyWithoutFormulaInput } export type FormulaCreateOrConnectWithoutComponentsInput = { where: Prisma.FormulaWhereUniqueInput create: Prisma.XOR } export type FormulaUpsertWithoutComponentsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.FormulaWhereInput } export type FormulaUpdateToOneWithWhereWithoutComponentsInput = { where?: Prisma.FormulaWhereInput data: Prisma.XOR } export type FormulaUpdateWithoutComponentsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null resultAs?: Prisma.StringFieldUpdateOperationsInput | string calculationTrigger?: Prisma.StringFieldUpdateOperationsInput | string withLogs?: Prisma.BoolFieldUpdateOperationsInput | boolean inProperties?: Prisma.PropertyUpdateManyWithoutFormulaNestedInput logs?: Prisma.FormulaLogUpdateManyWithoutFormulaNestedInput } export type FormulaUncheckedUpdateWithoutComponentsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null resultAs?: Prisma.StringFieldUpdateOperationsInput | string calculationTrigger?: Prisma.StringFieldUpdateOperationsInput | string withLogs?: Prisma.BoolFieldUpdateOperationsInput | boolean inProperties?: Prisma.PropertyUncheckedUpdateManyWithoutFormulaNestedInput logs?: Prisma.FormulaLogUncheckedUpdateManyWithoutFormulaNestedInput } export type FormulaCreateWithoutLogsInput = { id?: string createdAt?: Date | string name: string description?: string | null resultAs: string calculationTrigger: string withLogs?: boolean components?: Prisma.FormulaComponentCreateNestedManyWithoutFormulaInput inProperties?: Prisma.PropertyCreateNestedManyWithoutFormulaInput } export type FormulaUncheckedCreateWithoutLogsInput = { id?: string createdAt?: Date | string name: string description?: string | null resultAs: string calculationTrigger: string withLogs?: boolean components?: Prisma.FormulaComponentUncheckedCreateNestedManyWithoutFormulaInput inProperties?: Prisma.PropertyUncheckedCreateNestedManyWithoutFormulaInput } export type FormulaCreateOrConnectWithoutLogsInput = { where: Prisma.FormulaWhereUniqueInput create: Prisma.XOR } export type FormulaUpsertWithoutLogsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.FormulaWhereInput } export type FormulaUpdateToOneWithWhereWithoutLogsInput = { where?: Prisma.FormulaWhereInput data: Prisma.XOR } export type FormulaUpdateWithoutLogsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null resultAs?: Prisma.StringFieldUpdateOperationsInput | string calculationTrigger?: Prisma.StringFieldUpdateOperationsInput | string withLogs?: Prisma.BoolFieldUpdateOperationsInput | boolean components?: Prisma.FormulaComponentUpdateManyWithoutFormulaNestedInput inProperties?: Prisma.PropertyUpdateManyWithoutFormulaNestedInput } export type FormulaUncheckedUpdateWithoutLogsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null resultAs?: Prisma.StringFieldUpdateOperationsInput | string calculationTrigger?: Prisma.StringFieldUpdateOperationsInput | string withLogs?: Prisma.BoolFieldUpdateOperationsInput | boolean components?: Prisma.FormulaComponentUncheckedUpdateManyWithoutFormulaNestedInput inProperties?: Prisma.PropertyUncheckedUpdateManyWithoutFormulaNestedInput } /** * Count Type FormulaCountOutputType */ export type FormulaCountOutputType = { components: number inProperties: number logs: number } export type FormulaCountOutputTypeSelect = { components?: boolean | FormulaCountOutputTypeCountComponentsArgs inProperties?: boolean | FormulaCountOutputTypeCountInPropertiesArgs logs?: boolean | FormulaCountOutputTypeCountLogsArgs } /** * FormulaCountOutputType without action */ export type FormulaCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the FormulaCountOutputType */ select?: Prisma.FormulaCountOutputTypeSelect | null } /** * FormulaCountOutputType without action */ export type FormulaCountOutputTypeCountComponentsArgs = { where?: Prisma.FormulaComponentWhereInput } /** * FormulaCountOutputType without action */ export type FormulaCountOutputTypeCountInPropertiesArgs = { where?: Prisma.PropertyWhereInput } /** * FormulaCountOutputType without action */ export type FormulaCountOutputTypeCountLogsArgs = { where?: Prisma.FormulaLogWhereInput } export type FormulaSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean name?: boolean description?: boolean resultAs?: boolean calculationTrigger?: boolean withLogs?: boolean components?: boolean | Prisma.Formula$componentsArgs inProperties?: boolean | Prisma.Formula$inPropertiesArgs logs?: boolean | Prisma.Formula$logsArgs _count?: boolean | Prisma.FormulaCountOutputTypeDefaultArgs }, ExtArgs["result"]["formula"]> export type FormulaSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean name?: boolean description?: boolean resultAs?: boolean calculationTrigger?: boolean withLogs?: boolean }, ExtArgs["result"]["formula"]> export type FormulaSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean name?: boolean description?: boolean resultAs?: boolean calculationTrigger?: boolean withLogs?: boolean }, ExtArgs["result"]["formula"]> export type FormulaSelectScalar = { id?: boolean createdAt?: boolean name?: boolean description?: boolean resultAs?: boolean calculationTrigger?: boolean withLogs?: boolean } export type FormulaOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "name" | "description" | "resultAs" | "calculationTrigger" | "withLogs", ExtArgs["result"]["formula"]> export type FormulaInclude = { components?: boolean | Prisma.Formula$componentsArgs inProperties?: boolean | Prisma.Formula$inPropertiesArgs logs?: boolean | Prisma.Formula$logsArgs _count?: boolean | Prisma.FormulaCountOutputTypeDefaultArgs } export type FormulaIncludeCreateManyAndReturn = {} export type FormulaIncludeUpdateManyAndReturn = {} export type $FormulaPayload = { name: "Formula" objects: { components: Prisma.$FormulaComponentPayload[] inProperties: Prisma.$PropertyPayload[] logs: Prisma.$FormulaLogPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date name: string description: string | null resultAs: string calculationTrigger: string withLogs: boolean }, ExtArgs["result"]["formula"]> composites: {} } export type FormulaGetPayload = runtime.Types.Result.GetResult export type FormulaCountArgs = Omit & { select?: FormulaCountAggregateInputType | true } export interface FormulaDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Formula'], meta: { name: 'Formula' } } /** * Find zero or one Formula that matches the filter. * @param {FormulaFindUniqueArgs} args - Arguments to find a Formula * @example * // Get one Formula * const formula = await prisma.formula.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__FormulaClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Formula that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {FormulaFindUniqueOrThrowArgs} args - Arguments to find a Formula * @example * // Get one Formula * const formula = await prisma.formula.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__FormulaClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Formula 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 {FormulaFindFirstArgs} args - Arguments to find a Formula * @example * // Get one Formula * const formula = await prisma.formula.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__FormulaClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Formula 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 {FormulaFindFirstOrThrowArgs} args - Arguments to find a Formula * @example * // Get one Formula * const formula = await prisma.formula.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__FormulaClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Formulas 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 {FormulaFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Formulas * const formulas = await prisma.formula.findMany() * * // Get first 10 Formulas * const formulas = await prisma.formula.findMany({ take: 10 }) * * // Only select the `id` * const formulaWithIdOnly = await prisma.formula.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Formula. * @param {FormulaCreateArgs} args - Arguments to create a Formula. * @example * // Create one Formula * const Formula = await prisma.formula.create({ * data: { * // ... data to create a Formula * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__FormulaClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Formulas. * @param {FormulaCreateManyArgs} args - Arguments to create many Formulas. * @example * // Create many Formulas * const formula = await prisma.formula.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many Formulas and returns the data saved in the database. * @param {FormulaCreateManyAndReturnArgs} args - Arguments to create many Formulas. * @example * // Create many Formulas * const formula = await prisma.formula.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Formulas and only return the `id` * const formulaWithIdOnly = await prisma.formula.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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a Formula. * @param {FormulaDeleteArgs} args - Arguments to delete one Formula. * @example * // Delete one Formula * const Formula = await prisma.formula.delete({ * where: { * // ... filter to delete one Formula * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__FormulaClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Formula. * @param {FormulaUpdateArgs} args - Arguments to update one Formula. * @example * // Update one Formula * const formula = await prisma.formula.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__FormulaClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Formulas. * @param {FormulaDeleteManyArgs} args - Arguments to filter Formulas to delete. * @example * // Delete a few Formulas * const { count } = await prisma.formula.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Formulas. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {FormulaUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Formulas * const formula = await prisma.formula.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Formulas and returns the data updated in the database. * @param {FormulaUpdateManyAndReturnArgs} args - Arguments to update many Formulas. * @example * // Update many Formulas * const formula = await prisma.formula.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Formulas and only return the `id` * const formulaWithIdOnly = await prisma.formula.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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one Formula. * @param {FormulaUpsertArgs} args - Arguments to update or create a Formula. * @example * // Update or create a Formula * const formula = await prisma.formula.upsert({ * create: { * // ... data to create a Formula * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Formula we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__FormulaClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Formulas. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {FormulaCountArgs} args - Arguments to filter Formulas to count. * @example * // Count the number of Formulas * const count = await prisma.formula.count({ * where: { * // ... the filter for the Formulas we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a Formula. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {FormulaAggregateArgs} 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by Formula. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {FormulaGroupByArgs} 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 FormulaGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: FormulaGroupByArgs['orderBy'] } : { orderBy?: FormulaGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetFormulaGroupByPayload : Prisma.PrismaPromise /** * Fields of the Formula model */ readonly fields: FormulaFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Formula. * 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__FormulaClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" components = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> inProperties = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> logs = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, 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. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * Fields of the Formula model */ export interface FormulaFieldRefs { readonly id: Prisma.FieldRef<"Formula", 'String'> readonly createdAt: Prisma.FieldRef<"Formula", 'DateTime'> readonly name: Prisma.FieldRef<"Formula", 'String'> readonly description: Prisma.FieldRef<"Formula", 'String'> readonly resultAs: Prisma.FieldRef<"Formula", 'String'> readonly calculationTrigger: Prisma.FieldRef<"Formula", 'String'> readonly withLogs: Prisma.FieldRef<"Formula", 'Boolean'> } // Custom InputTypes /** * Formula findUnique */ export type FormulaFindUniqueArgs = { /** * Select specific fields to fetch from the Formula */ select?: Prisma.FormulaSelect | null /** * Omit specific fields from the Formula */ omit?: Prisma.FormulaOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FormulaInclude | null /** * Filter, which Formula to fetch. */ where: Prisma.FormulaWhereUniqueInput } /** * Formula findUniqueOrThrow */ export type FormulaFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Formula */ select?: Prisma.FormulaSelect | null /** * Omit specific fields from the Formula */ omit?: Prisma.FormulaOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FormulaInclude | null /** * Filter, which Formula to fetch. */ where: Prisma.FormulaWhereUniqueInput } /** * Formula findFirst */ export type FormulaFindFirstArgs = { /** * Select specific fields to fetch from the Formula */ select?: Prisma.FormulaSelect | null /** * Omit specific fields from the Formula */ omit?: Prisma.FormulaOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FormulaInclude | null /** * Filter, which Formula to fetch. */ where?: Prisma.FormulaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Formulas to fetch. */ orderBy?: Prisma.FormulaOrderByWithRelationInput | Prisma.FormulaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Formulas. */ cursor?: Prisma.FormulaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Formulas 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` Formulas. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Formulas. */ distinct?: Prisma.FormulaScalarFieldEnum | Prisma.FormulaScalarFieldEnum[] } /** * Formula findFirstOrThrow */ export type FormulaFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Formula */ select?: Prisma.FormulaSelect | null /** * Omit specific fields from the Formula */ omit?: Prisma.FormulaOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FormulaInclude | null /** * Filter, which Formula to fetch. */ where?: Prisma.FormulaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Formulas to fetch. */ orderBy?: Prisma.FormulaOrderByWithRelationInput | Prisma.FormulaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Formulas. */ cursor?: Prisma.FormulaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Formulas 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` Formulas. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Formulas. */ distinct?: Prisma.FormulaScalarFieldEnum | Prisma.FormulaScalarFieldEnum[] } /** * Formula findMany */ export type FormulaFindManyArgs = { /** * Select specific fields to fetch from the Formula */ select?: Prisma.FormulaSelect | null /** * Omit specific fields from the Formula */ omit?: Prisma.FormulaOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FormulaInclude | null /** * Filter, which Formulas to fetch. */ where?: Prisma.FormulaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Formulas to fetch. */ orderBy?: Prisma.FormulaOrderByWithRelationInput | Prisma.FormulaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Formulas. */ cursor?: Prisma.FormulaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Formulas 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` Formulas. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Formulas. */ distinct?: Prisma.FormulaScalarFieldEnum | Prisma.FormulaScalarFieldEnum[] } /** * Formula create */ export type FormulaCreateArgs = { /** * Select specific fields to fetch from the Formula */ select?: Prisma.FormulaSelect | null /** * Omit specific fields from the Formula */ omit?: Prisma.FormulaOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FormulaInclude | null /** * The data needed to create a Formula. */ data: Prisma.XOR } /** * Formula createMany */ export type FormulaCreateManyArgs = { /** * The data used to create many Formulas. */ data: Prisma.FormulaCreateManyInput | Prisma.FormulaCreateManyInput[] skipDuplicates?: boolean } /** * Formula createManyAndReturn */ export type FormulaCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Formula */ select?: Prisma.FormulaSelectCreateManyAndReturn | null /** * Omit specific fields from the Formula */ omit?: Prisma.FormulaOmit | null /** * The data used to create many Formulas. */ data: Prisma.FormulaCreateManyInput | Prisma.FormulaCreateManyInput[] skipDuplicates?: boolean } /** * Formula update */ export type FormulaUpdateArgs = { /** * Select specific fields to fetch from the Formula */ select?: Prisma.FormulaSelect | null /** * Omit specific fields from the Formula */ omit?: Prisma.FormulaOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FormulaInclude | null /** * The data needed to update a Formula. */ data: Prisma.XOR /** * Choose, which Formula to update. */ where: Prisma.FormulaWhereUniqueInput } /** * Formula updateMany */ export type FormulaUpdateManyArgs = { /** * The data used to update Formulas. */ data: Prisma.XOR /** * Filter which Formulas to update */ where?: Prisma.FormulaWhereInput /** * Limit how many Formulas to update. */ limit?: number } /** * Formula updateManyAndReturn */ export type FormulaUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Formula */ select?: Prisma.FormulaSelectUpdateManyAndReturn | null /** * Omit specific fields from the Formula */ omit?: Prisma.FormulaOmit | null /** * The data used to update Formulas. */ data: Prisma.XOR /** * Filter which Formulas to update */ where?: Prisma.FormulaWhereInput /** * Limit how many Formulas to update. */ limit?: number } /** * Formula upsert */ export type FormulaUpsertArgs = { /** * Select specific fields to fetch from the Formula */ select?: Prisma.FormulaSelect | null /** * Omit specific fields from the Formula */ omit?: Prisma.FormulaOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FormulaInclude | null /** * The filter to search for the Formula to update in case it exists. */ where: Prisma.FormulaWhereUniqueInput /** * In case the Formula found by the `where` argument doesn't exist, create a new Formula with this data. */ create: Prisma.XOR /** * In case the Formula was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * Formula delete */ export type FormulaDeleteArgs = { /** * Select specific fields to fetch from the Formula */ select?: Prisma.FormulaSelect | null /** * Omit specific fields from the Formula */ omit?: Prisma.FormulaOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FormulaInclude | null /** * Filter which Formula to delete. */ where: Prisma.FormulaWhereUniqueInput } /** * Formula deleteMany */ export type FormulaDeleteManyArgs = { /** * Filter which Formulas to delete */ where?: Prisma.FormulaWhereInput /** * Limit how many Formulas to delete. */ limit?: number } /** * Formula.components */ export type Formula$componentsArgs = { /** * Select specific fields to fetch from the FormulaComponent */ select?: Prisma.FormulaComponentSelect | null /** * Omit specific fields from the FormulaComponent */ omit?: Prisma.FormulaComponentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FormulaComponentInclude | null where?: Prisma.FormulaComponentWhereInput orderBy?: Prisma.FormulaComponentOrderByWithRelationInput | Prisma.FormulaComponentOrderByWithRelationInput[] cursor?: Prisma.FormulaComponentWhereUniqueInput take?: number skip?: number distinct?: Prisma.FormulaComponentScalarFieldEnum | Prisma.FormulaComponentScalarFieldEnum[] } /** * Formula.inProperties */ export type Formula$inPropertiesArgs = { /** * Select specific fields to fetch from the Property */ select?: Prisma.PropertySelect | null /** * Omit specific fields from the Property */ omit?: Prisma.PropertyOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PropertyInclude | null where?: Prisma.PropertyWhereInput orderBy?: Prisma.PropertyOrderByWithRelationInput | Prisma.PropertyOrderByWithRelationInput[] cursor?: Prisma.PropertyWhereUniqueInput take?: number skip?: number distinct?: Prisma.PropertyScalarFieldEnum | Prisma.PropertyScalarFieldEnum[] } /** * Formula.logs */ export type Formula$logsArgs = { /** * Select specific fields to fetch from the FormulaLog */ select?: Prisma.FormulaLogSelect | null /** * Omit specific fields from the FormulaLog */ omit?: Prisma.FormulaLogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FormulaLogInclude | null where?: Prisma.FormulaLogWhereInput orderBy?: Prisma.FormulaLogOrderByWithRelationInput | Prisma.FormulaLogOrderByWithRelationInput[] cursor?: Prisma.FormulaLogWhereUniqueInput take?: number skip?: number distinct?: Prisma.FormulaLogScalarFieldEnum | Prisma.FormulaLogScalarFieldEnum[] } /** * Formula without action */ export type FormulaDefaultArgs = { /** * Select specific fields to fetch from the Formula */ select?: Prisma.FormulaSelect | null /** * Omit specific fields from the Formula */ omit?: Prisma.FormulaOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FormulaInclude | null }