/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `FormulaLog` 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 FormulaLog * */ export type FormulaLogModel = runtime.Types.Result.DefaultSelection export type AggregateFormulaLog = { _count: FormulaLogCountAggregateOutputType | null _avg: FormulaLogAvgAggregateOutputType | null _sum: FormulaLogSumAggregateOutputType | null _min: FormulaLogMinAggregateOutputType | null _max: FormulaLogMaxAggregateOutputType | null } export type FormulaLogAvgAggregateOutputType = { duration: number | null } export type FormulaLogSumAggregateOutputType = { duration: number | null } export type FormulaLogMinAggregateOutputType = { id: string | null createdAt: Date | null formulaId: string | null userId: string | null tenantId: string | null originalTrigger: string | null triggeredBy: string | null expression: string | null result: string | null duration: number | null error: string | null rowValueId: string | null } export type FormulaLogMaxAggregateOutputType = { id: string | null createdAt: Date | null formulaId: string | null userId: string | null tenantId: string | null originalTrigger: string | null triggeredBy: string | null expression: string | null result: string | null duration: number | null error: string | null rowValueId: string | null } export type FormulaLogCountAggregateOutputType = { id: number createdAt: number formulaId: number userId: number tenantId: number originalTrigger: number triggeredBy: number expression: number result: number duration: number error: number rowValueId: number _all: number } export type FormulaLogAvgAggregateInputType = { duration?: true } export type FormulaLogSumAggregateInputType = { duration?: true } export type FormulaLogMinAggregateInputType = { id?: true createdAt?: true formulaId?: true userId?: true tenantId?: true originalTrigger?: true triggeredBy?: true expression?: true result?: true duration?: true error?: true rowValueId?: true } export type FormulaLogMaxAggregateInputType = { id?: true createdAt?: true formulaId?: true userId?: true tenantId?: true originalTrigger?: true triggeredBy?: true expression?: true result?: true duration?: true error?: true rowValueId?: true } export type FormulaLogCountAggregateInputType = { id?: true createdAt?: true formulaId?: true userId?: true tenantId?: true originalTrigger?: true triggeredBy?: true expression?: true result?: true duration?: true error?: true rowValueId?: true _all?: true } export type FormulaLogAggregateArgs = { /** * Filter which FormulaLog to aggregate. */ where?: Prisma.FormulaLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of FormulaLogs to fetch. */ orderBy?: Prisma.FormulaLogOrderByWithRelationInput | Prisma.FormulaLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.FormulaLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` FormulaLogs 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` FormulaLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned FormulaLogs **/ _count?: true | FormulaLogCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: FormulaLogAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: FormulaLogSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: FormulaLogMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: FormulaLogMaxAggregateInputType } export type GetFormulaLogAggregateType = { [P in keyof T & keyof AggregateFormulaLog]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type FormulaLogGroupByArgs = { where?: Prisma.FormulaLogWhereInput orderBy?: Prisma.FormulaLogOrderByWithAggregationInput | Prisma.FormulaLogOrderByWithAggregationInput[] by: Prisma.FormulaLogScalarFieldEnum[] | Prisma.FormulaLogScalarFieldEnum having?: Prisma.FormulaLogScalarWhereWithAggregatesInput take?: number skip?: number _count?: FormulaLogCountAggregateInputType | true _avg?: FormulaLogAvgAggregateInputType _sum?: FormulaLogSumAggregateInputType _min?: FormulaLogMinAggregateInputType _max?: FormulaLogMaxAggregateInputType } export type FormulaLogGroupByOutputType = { id: string createdAt: Date formulaId: string userId: string | null tenantId: string | null originalTrigger: string | null triggeredBy: string expression: string result: string duration: number error: string | null rowValueId: string | null _count: FormulaLogCountAggregateOutputType | null _avg: FormulaLogAvgAggregateOutputType | null _sum: FormulaLogSumAggregateOutputType | null _min: FormulaLogMinAggregateOutputType | null _max: FormulaLogMaxAggregateOutputType | null } export type GetFormulaLogGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof FormulaLogGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type FormulaLogWhereInput = { AND?: Prisma.FormulaLogWhereInput | Prisma.FormulaLogWhereInput[] OR?: Prisma.FormulaLogWhereInput[] NOT?: Prisma.FormulaLogWhereInput | Prisma.FormulaLogWhereInput[] id?: Prisma.StringFilter<"FormulaLog"> | string createdAt?: Prisma.DateTimeFilter<"FormulaLog"> | Date | string formulaId?: Prisma.StringFilter<"FormulaLog"> | string userId?: Prisma.StringNullableFilter<"FormulaLog"> | string | null tenantId?: Prisma.StringNullableFilter<"FormulaLog"> | string | null originalTrigger?: Prisma.StringNullableFilter<"FormulaLog"> | string | null triggeredBy?: Prisma.StringFilter<"FormulaLog"> | string expression?: Prisma.StringFilter<"FormulaLog"> | string result?: Prisma.StringFilter<"FormulaLog"> | string duration?: Prisma.IntFilter<"FormulaLog"> | number error?: Prisma.StringNullableFilter<"FormulaLog"> | string | null rowValueId?: Prisma.StringNullableFilter<"FormulaLog"> | string | null formula?: Prisma.XOR user?: Prisma.XOR | null tenant?: Prisma.XOR | null components?: Prisma.FormulaComponentLogListRelationFilter } export type FormulaLogOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder formulaId?: Prisma.SortOrder userId?: Prisma.SortOrderInput | Prisma.SortOrder tenantId?: Prisma.SortOrderInput | Prisma.SortOrder originalTrigger?: Prisma.SortOrderInput | Prisma.SortOrder triggeredBy?: Prisma.SortOrder expression?: Prisma.SortOrder result?: Prisma.SortOrder duration?: Prisma.SortOrder error?: Prisma.SortOrderInput | Prisma.SortOrder rowValueId?: Prisma.SortOrderInput | Prisma.SortOrder formula?: Prisma.FormulaOrderByWithRelationInput user?: Prisma.UserOrderByWithRelationInput tenant?: Prisma.TenantOrderByWithRelationInput components?: Prisma.FormulaComponentLogOrderByRelationAggregateInput } export type FormulaLogWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.FormulaLogWhereInput | Prisma.FormulaLogWhereInput[] OR?: Prisma.FormulaLogWhereInput[] NOT?: Prisma.FormulaLogWhereInput | Prisma.FormulaLogWhereInput[] createdAt?: Prisma.DateTimeFilter<"FormulaLog"> | Date | string formulaId?: Prisma.StringFilter<"FormulaLog"> | string userId?: Prisma.StringNullableFilter<"FormulaLog"> | string | null tenantId?: Prisma.StringNullableFilter<"FormulaLog"> | string | null originalTrigger?: Prisma.StringNullableFilter<"FormulaLog"> | string | null triggeredBy?: Prisma.StringFilter<"FormulaLog"> | string expression?: Prisma.StringFilter<"FormulaLog"> | string result?: Prisma.StringFilter<"FormulaLog"> | string duration?: Prisma.IntFilter<"FormulaLog"> | number error?: Prisma.StringNullableFilter<"FormulaLog"> | string | null rowValueId?: Prisma.StringNullableFilter<"FormulaLog"> | string | null formula?: Prisma.XOR user?: Prisma.XOR | null tenant?: Prisma.XOR | null components?: Prisma.FormulaComponentLogListRelationFilter }, "id"> export type FormulaLogOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder formulaId?: Prisma.SortOrder userId?: Prisma.SortOrderInput | Prisma.SortOrder tenantId?: Prisma.SortOrderInput | Prisma.SortOrder originalTrigger?: Prisma.SortOrderInput | Prisma.SortOrder triggeredBy?: Prisma.SortOrder expression?: Prisma.SortOrder result?: Prisma.SortOrder duration?: Prisma.SortOrder error?: Prisma.SortOrderInput | Prisma.SortOrder rowValueId?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.FormulaLogCountOrderByAggregateInput _avg?: Prisma.FormulaLogAvgOrderByAggregateInput _max?: Prisma.FormulaLogMaxOrderByAggregateInput _min?: Prisma.FormulaLogMinOrderByAggregateInput _sum?: Prisma.FormulaLogSumOrderByAggregateInput } export type FormulaLogScalarWhereWithAggregatesInput = { AND?: Prisma.FormulaLogScalarWhereWithAggregatesInput | Prisma.FormulaLogScalarWhereWithAggregatesInput[] OR?: Prisma.FormulaLogScalarWhereWithAggregatesInput[] NOT?: Prisma.FormulaLogScalarWhereWithAggregatesInput | Prisma.FormulaLogScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"FormulaLog"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"FormulaLog"> | Date | string formulaId?: Prisma.StringWithAggregatesFilter<"FormulaLog"> | string userId?: Prisma.StringNullableWithAggregatesFilter<"FormulaLog"> | string | null tenantId?: Prisma.StringNullableWithAggregatesFilter<"FormulaLog"> | string | null originalTrigger?: Prisma.StringNullableWithAggregatesFilter<"FormulaLog"> | string | null triggeredBy?: Prisma.StringWithAggregatesFilter<"FormulaLog"> | string expression?: Prisma.StringWithAggregatesFilter<"FormulaLog"> | string result?: Prisma.StringWithAggregatesFilter<"FormulaLog"> | string duration?: Prisma.IntWithAggregatesFilter<"FormulaLog"> | number error?: Prisma.StringNullableWithAggregatesFilter<"FormulaLog"> | string | null rowValueId?: Prisma.StringNullableWithAggregatesFilter<"FormulaLog"> | string | null } export type FormulaLogCreateInput = { id?: string createdAt?: Date | string originalTrigger?: string | null triggeredBy: string expression: string result: string duration?: number error?: string | null rowValueId?: string | null formula: Prisma.FormulaCreateNestedOneWithoutLogsInput user?: Prisma.UserCreateNestedOneWithoutFormulaLogsInput tenant?: Prisma.TenantCreateNestedOneWithoutFormulaLogsInput components?: Prisma.FormulaComponentLogCreateNestedManyWithoutFormulaLogInput } export type FormulaLogUncheckedCreateInput = { id?: string createdAt?: Date | string formulaId: string userId?: string | null tenantId?: string | null originalTrigger?: string | null triggeredBy: string expression: string result: string duration?: number error?: string | null rowValueId?: string | null components?: Prisma.FormulaComponentLogUncheckedCreateNestedManyWithoutFormulaLogInput } export type FormulaLogUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string originalTrigger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null triggeredBy?: Prisma.StringFieldUpdateOperationsInput | string expression?: Prisma.StringFieldUpdateOperationsInput | string result?: Prisma.StringFieldUpdateOperationsInput | string duration?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rowValueId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null formula?: Prisma.FormulaUpdateOneRequiredWithoutLogsNestedInput user?: Prisma.UserUpdateOneWithoutFormulaLogsNestedInput tenant?: Prisma.TenantUpdateOneWithoutFormulaLogsNestedInput components?: Prisma.FormulaComponentLogUpdateManyWithoutFormulaLogNestedInput } export type FormulaLogUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string formulaId?: Prisma.StringFieldUpdateOperationsInput | string userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null originalTrigger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null triggeredBy?: Prisma.StringFieldUpdateOperationsInput | string expression?: Prisma.StringFieldUpdateOperationsInput | string result?: Prisma.StringFieldUpdateOperationsInput | string duration?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rowValueId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null components?: Prisma.FormulaComponentLogUncheckedUpdateManyWithoutFormulaLogNestedInput } export type FormulaLogCreateManyInput = { id?: string createdAt?: Date | string formulaId: string userId?: string | null tenantId?: string | null originalTrigger?: string | null triggeredBy: string expression: string result: string duration?: number error?: string | null rowValueId?: string | null } export type FormulaLogUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string originalTrigger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null triggeredBy?: Prisma.StringFieldUpdateOperationsInput | string expression?: Prisma.StringFieldUpdateOperationsInput | string result?: Prisma.StringFieldUpdateOperationsInput | string duration?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rowValueId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type FormulaLogUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string formulaId?: Prisma.StringFieldUpdateOperationsInput | string userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null originalTrigger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null triggeredBy?: Prisma.StringFieldUpdateOperationsInput | string expression?: Prisma.StringFieldUpdateOperationsInput | string result?: Prisma.StringFieldUpdateOperationsInput | string duration?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rowValueId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type FormulaLogListRelationFilter = { every?: Prisma.FormulaLogWhereInput some?: Prisma.FormulaLogWhereInput none?: Prisma.FormulaLogWhereInput } export type FormulaLogOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type FormulaLogCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder formulaId?: Prisma.SortOrder userId?: Prisma.SortOrder tenantId?: Prisma.SortOrder originalTrigger?: Prisma.SortOrder triggeredBy?: Prisma.SortOrder expression?: Prisma.SortOrder result?: Prisma.SortOrder duration?: Prisma.SortOrder error?: Prisma.SortOrder rowValueId?: Prisma.SortOrder } export type FormulaLogAvgOrderByAggregateInput = { duration?: Prisma.SortOrder } export type FormulaLogMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder formulaId?: Prisma.SortOrder userId?: Prisma.SortOrder tenantId?: Prisma.SortOrder originalTrigger?: Prisma.SortOrder triggeredBy?: Prisma.SortOrder expression?: Prisma.SortOrder result?: Prisma.SortOrder duration?: Prisma.SortOrder error?: Prisma.SortOrder rowValueId?: Prisma.SortOrder } export type FormulaLogMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder formulaId?: Prisma.SortOrder userId?: Prisma.SortOrder tenantId?: Prisma.SortOrder originalTrigger?: Prisma.SortOrder triggeredBy?: Prisma.SortOrder expression?: Prisma.SortOrder result?: Prisma.SortOrder duration?: Prisma.SortOrder error?: Prisma.SortOrder rowValueId?: Prisma.SortOrder } export type FormulaLogSumOrderByAggregateInput = { duration?: Prisma.SortOrder } export type FormulaLogScalarRelationFilter = { is?: Prisma.FormulaLogWhereInput isNot?: Prisma.FormulaLogWhereInput } export type FormulaLogCreateNestedManyWithoutUserInput = { create?: Prisma.XOR | Prisma.FormulaLogCreateWithoutUserInput[] | Prisma.FormulaLogUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.FormulaLogCreateOrConnectWithoutUserInput | Prisma.FormulaLogCreateOrConnectWithoutUserInput[] createMany?: Prisma.FormulaLogCreateManyUserInputEnvelope connect?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] } export type FormulaLogUncheckedCreateNestedManyWithoutUserInput = { create?: Prisma.XOR | Prisma.FormulaLogCreateWithoutUserInput[] | Prisma.FormulaLogUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.FormulaLogCreateOrConnectWithoutUserInput | Prisma.FormulaLogCreateOrConnectWithoutUserInput[] createMany?: Prisma.FormulaLogCreateManyUserInputEnvelope connect?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] } export type FormulaLogUpdateManyWithoutUserNestedInput = { create?: Prisma.XOR | Prisma.FormulaLogCreateWithoutUserInput[] | Prisma.FormulaLogUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.FormulaLogCreateOrConnectWithoutUserInput | Prisma.FormulaLogCreateOrConnectWithoutUserInput[] upsert?: Prisma.FormulaLogUpsertWithWhereUniqueWithoutUserInput | Prisma.FormulaLogUpsertWithWhereUniqueWithoutUserInput[] createMany?: Prisma.FormulaLogCreateManyUserInputEnvelope set?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] disconnect?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] delete?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] connect?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] update?: Prisma.FormulaLogUpdateWithWhereUniqueWithoutUserInput | Prisma.FormulaLogUpdateWithWhereUniqueWithoutUserInput[] updateMany?: Prisma.FormulaLogUpdateManyWithWhereWithoutUserInput | Prisma.FormulaLogUpdateManyWithWhereWithoutUserInput[] deleteMany?: Prisma.FormulaLogScalarWhereInput | Prisma.FormulaLogScalarWhereInput[] } export type FormulaLogUncheckedUpdateManyWithoutUserNestedInput = { create?: Prisma.XOR | Prisma.FormulaLogCreateWithoutUserInput[] | Prisma.FormulaLogUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.FormulaLogCreateOrConnectWithoutUserInput | Prisma.FormulaLogCreateOrConnectWithoutUserInput[] upsert?: Prisma.FormulaLogUpsertWithWhereUniqueWithoutUserInput | Prisma.FormulaLogUpsertWithWhereUniqueWithoutUserInput[] createMany?: Prisma.FormulaLogCreateManyUserInputEnvelope set?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] disconnect?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] delete?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] connect?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] update?: Prisma.FormulaLogUpdateWithWhereUniqueWithoutUserInput | Prisma.FormulaLogUpdateWithWhereUniqueWithoutUserInput[] updateMany?: Prisma.FormulaLogUpdateManyWithWhereWithoutUserInput | Prisma.FormulaLogUpdateManyWithWhereWithoutUserInput[] deleteMany?: Prisma.FormulaLogScalarWhereInput | Prisma.FormulaLogScalarWhereInput[] } export type FormulaLogCreateNestedManyWithoutTenantInput = { create?: Prisma.XOR | Prisma.FormulaLogCreateWithoutTenantInput[] | Prisma.FormulaLogUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.FormulaLogCreateOrConnectWithoutTenantInput | Prisma.FormulaLogCreateOrConnectWithoutTenantInput[] createMany?: Prisma.FormulaLogCreateManyTenantInputEnvelope connect?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] } export type FormulaLogUncheckedCreateNestedManyWithoutTenantInput = { create?: Prisma.XOR | Prisma.FormulaLogCreateWithoutTenantInput[] | Prisma.FormulaLogUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.FormulaLogCreateOrConnectWithoutTenantInput | Prisma.FormulaLogCreateOrConnectWithoutTenantInput[] createMany?: Prisma.FormulaLogCreateManyTenantInputEnvelope connect?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] } export type FormulaLogUpdateManyWithoutTenantNestedInput = { create?: Prisma.XOR | Prisma.FormulaLogCreateWithoutTenantInput[] | Prisma.FormulaLogUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.FormulaLogCreateOrConnectWithoutTenantInput | Prisma.FormulaLogCreateOrConnectWithoutTenantInput[] upsert?: Prisma.FormulaLogUpsertWithWhereUniqueWithoutTenantInput | Prisma.FormulaLogUpsertWithWhereUniqueWithoutTenantInput[] createMany?: Prisma.FormulaLogCreateManyTenantInputEnvelope set?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] disconnect?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] delete?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] connect?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] update?: Prisma.FormulaLogUpdateWithWhereUniqueWithoutTenantInput | Prisma.FormulaLogUpdateWithWhereUniqueWithoutTenantInput[] updateMany?: Prisma.FormulaLogUpdateManyWithWhereWithoutTenantInput | Prisma.FormulaLogUpdateManyWithWhereWithoutTenantInput[] deleteMany?: Prisma.FormulaLogScalarWhereInput | Prisma.FormulaLogScalarWhereInput[] } export type FormulaLogUncheckedUpdateManyWithoutTenantNestedInput = { create?: Prisma.XOR | Prisma.FormulaLogCreateWithoutTenantInput[] | Prisma.FormulaLogUncheckedCreateWithoutTenantInput[] connectOrCreate?: Prisma.FormulaLogCreateOrConnectWithoutTenantInput | Prisma.FormulaLogCreateOrConnectWithoutTenantInput[] upsert?: Prisma.FormulaLogUpsertWithWhereUniqueWithoutTenantInput | Prisma.FormulaLogUpsertWithWhereUniqueWithoutTenantInput[] createMany?: Prisma.FormulaLogCreateManyTenantInputEnvelope set?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] disconnect?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] delete?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] connect?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] update?: Prisma.FormulaLogUpdateWithWhereUniqueWithoutTenantInput | Prisma.FormulaLogUpdateWithWhereUniqueWithoutTenantInput[] updateMany?: Prisma.FormulaLogUpdateManyWithWhereWithoutTenantInput | Prisma.FormulaLogUpdateManyWithWhereWithoutTenantInput[] deleteMany?: Prisma.FormulaLogScalarWhereInput | Prisma.FormulaLogScalarWhereInput[] } export type FormulaLogCreateNestedManyWithoutFormulaInput = { create?: Prisma.XOR | Prisma.FormulaLogCreateWithoutFormulaInput[] | Prisma.FormulaLogUncheckedCreateWithoutFormulaInput[] connectOrCreate?: Prisma.FormulaLogCreateOrConnectWithoutFormulaInput | Prisma.FormulaLogCreateOrConnectWithoutFormulaInput[] createMany?: Prisma.FormulaLogCreateManyFormulaInputEnvelope connect?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] } export type FormulaLogUncheckedCreateNestedManyWithoutFormulaInput = { create?: Prisma.XOR | Prisma.FormulaLogCreateWithoutFormulaInput[] | Prisma.FormulaLogUncheckedCreateWithoutFormulaInput[] connectOrCreate?: Prisma.FormulaLogCreateOrConnectWithoutFormulaInput | Prisma.FormulaLogCreateOrConnectWithoutFormulaInput[] createMany?: Prisma.FormulaLogCreateManyFormulaInputEnvelope connect?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] } export type FormulaLogUpdateManyWithoutFormulaNestedInput = { create?: Prisma.XOR | Prisma.FormulaLogCreateWithoutFormulaInput[] | Prisma.FormulaLogUncheckedCreateWithoutFormulaInput[] connectOrCreate?: Prisma.FormulaLogCreateOrConnectWithoutFormulaInput | Prisma.FormulaLogCreateOrConnectWithoutFormulaInput[] upsert?: Prisma.FormulaLogUpsertWithWhereUniqueWithoutFormulaInput | Prisma.FormulaLogUpsertWithWhereUniqueWithoutFormulaInput[] createMany?: Prisma.FormulaLogCreateManyFormulaInputEnvelope set?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] disconnect?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] delete?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] connect?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] update?: Prisma.FormulaLogUpdateWithWhereUniqueWithoutFormulaInput | Prisma.FormulaLogUpdateWithWhereUniqueWithoutFormulaInput[] updateMany?: Prisma.FormulaLogUpdateManyWithWhereWithoutFormulaInput | Prisma.FormulaLogUpdateManyWithWhereWithoutFormulaInput[] deleteMany?: Prisma.FormulaLogScalarWhereInput | Prisma.FormulaLogScalarWhereInput[] } export type FormulaLogUncheckedUpdateManyWithoutFormulaNestedInput = { create?: Prisma.XOR | Prisma.FormulaLogCreateWithoutFormulaInput[] | Prisma.FormulaLogUncheckedCreateWithoutFormulaInput[] connectOrCreate?: Prisma.FormulaLogCreateOrConnectWithoutFormulaInput | Prisma.FormulaLogCreateOrConnectWithoutFormulaInput[] upsert?: Prisma.FormulaLogUpsertWithWhereUniqueWithoutFormulaInput | Prisma.FormulaLogUpsertWithWhereUniqueWithoutFormulaInput[] createMany?: Prisma.FormulaLogCreateManyFormulaInputEnvelope set?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] disconnect?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] delete?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] connect?: Prisma.FormulaLogWhereUniqueInput | Prisma.FormulaLogWhereUniqueInput[] update?: Prisma.FormulaLogUpdateWithWhereUniqueWithoutFormulaInput | Prisma.FormulaLogUpdateWithWhereUniqueWithoutFormulaInput[] updateMany?: Prisma.FormulaLogUpdateManyWithWhereWithoutFormulaInput | Prisma.FormulaLogUpdateManyWithWhereWithoutFormulaInput[] deleteMany?: Prisma.FormulaLogScalarWhereInput | Prisma.FormulaLogScalarWhereInput[] } export type FormulaLogCreateNestedOneWithoutComponentsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.FormulaLogCreateOrConnectWithoutComponentsInput connect?: Prisma.FormulaLogWhereUniqueInput } export type FormulaLogUpdateOneRequiredWithoutComponentsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.FormulaLogCreateOrConnectWithoutComponentsInput upsert?: Prisma.FormulaLogUpsertWithoutComponentsInput connect?: Prisma.FormulaLogWhereUniqueInput update?: Prisma.XOR, Prisma.FormulaLogUncheckedUpdateWithoutComponentsInput> } export type FormulaLogCreateWithoutUserInput = { id?: string createdAt?: Date | string originalTrigger?: string | null triggeredBy: string expression: string result: string duration?: number error?: string | null rowValueId?: string | null formula: Prisma.FormulaCreateNestedOneWithoutLogsInput tenant?: Prisma.TenantCreateNestedOneWithoutFormulaLogsInput components?: Prisma.FormulaComponentLogCreateNestedManyWithoutFormulaLogInput } export type FormulaLogUncheckedCreateWithoutUserInput = { id?: string createdAt?: Date | string formulaId: string tenantId?: string | null originalTrigger?: string | null triggeredBy: string expression: string result: string duration?: number error?: string | null rowValueId?: string | null components?: Prisma.FormulaComponentLogUncheckedCreateNestedManyWithoutFormulaLogInput } export type FormulaLogCreateOrConnectWithoutUserInput = { where: Prisma.FormulaLogWhereUniqueInput create: Prisma.XOR } export type FormulaLogCreateManyUserInputEnvelope = { data: Prisma.FormulaLogCreateManyUserInput | Prisma.FormulaLogCreateManyUserInput[] skipDuplicates?: boolean } export type FormulaLogUpsertWithWhereUniqueWithoutUserInput = { where: Prisma.FormulaLogWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type FormulaLogUpdateWithWhereUniqueWithoutUserInput = { where: Prisma.FormulaLogWhereUniqueInput data: Prisma.XOR } export type FormulaLogUpdateManyWithWhereWithoutUserInput = { where: Prisma.FormulaLogScalarWhereInput data: Prisma.XOR } export type FormulaLogScalarWhereInput = { AND?: Prisma.FormulaLogScalarWhereInput | Prisma.FormulaLogScalarWhereInput[] OR?: Prisma.FormulaLogScalarWhereInput[] NOT?: Prisma.FormulaLogScalarWhereInput | Prisma.FormulaLogScalarWhereInput[] id?: Prisma.StringFilter<"FormulaLog"> | string createdAt?: Prisma.DateTimeFilter<"FormulaLog"> | Date | string formulaId?: Prisma.StringFilter<"FormulaLog"> | string userId?: Prisma.StringNullableFilter<"FormulaLog"> | string | null tenantId?: Prisma.StringNullableFilter<"FormulaLog"> | string | null originalTrigger?: Prisma.StringNullableFilter<"FormulaLog"> | string | null triggeredBy?: Prisma.StringFilter<"FormulaLog"> | string expression?: Prisma.StringFilter<"FormulaLog"> | string result?: Prisma.StringFilter<"FormulaLog"> | string duration?: Prisma.IntFilter<"FormulaLog"> | number error?: Prisma.StringNullableFilter<"FormulaLog"> | string | null rowValueId?: Prisma.StringNullableFilter<"FormulaLog"> | string | null } export type FormulaLogCreateWithoutTenantInput = { id?: string createdAt?: Date | string originalTrigger?: string | null triggeredBy: string expression: string result: string duration?: number error?: string | null rowValueId?: string | null formula: Prisma.FormulaCreateNestedOneWithoutLogsInput user?: Prisma.UserCreateNestedOneWithoutFormulaLogsInput components?: Prisma.FormulaComponentLogCreateNestedManyWithoutFormulaLogInput } export type FormulaLogUncheckedCreateWithoutTenantInput = { id?: string createdAt?: Date | string formulaId: string userId?: string | null originalTrigger?: string | null triggeredBy: string expression: string result: string duration?: number error?: string | null rowValueId?: string | null components?: Prisma.FormulaComponentLogUncheckedCreateNestedManyWithoutFormulaLogInput } export type FormulaLogCreateOrConnectWithoutTenantInput = { where: Prisma.FormulaLogWhereUniqueInput create: Prisma.XOR } export type FormulaLogCreateManyTenantInputEnvelope = { data: Prisma.FormulaLogCreateManyTenantInput | Prisma.FormulaLogCreateManyTenantInput[] skipDuplicates?: boolean } export type FormulaLogUpsertWithWhereUniqueWithoutTenantInput = { where: Prisma.FormulaLogWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type FormulaLogUpdateWithWhereUniqueWithoutTenantInput = { where: Prisma.FormulaLogWhereUniqueInput data: Prisma.XOR } export type FormulaLogUpdateManyWithWhereWithoutTenantInput = { where: Prisma.FormulaLogScalarWhereInput data: Prisma.XOR } export type FormulaLogCreateWithoutFormulaInput = { id?: string createdAt?: Date | string originalTrigger?: string | null triggeredBy: string expression: string result: string duration?: number error?: string | null rowValueId?: string | null user?: Prisma.UserCreateNestedOneWithoutFormulaLogsInput tenant?: Prisma.TenantCreateNestedOneWithoutFormulaLogsInput components?: Prisma.FormulaComponentLogCreateNestedManyWithoutFormulaLogInput } export type FormulaLogUncheckedCreateWithoutFormulaInput = { id?: string createdAt?: Date | string userId?: string | null tenantId?: string | null originalTrigger?: string | null triggeredBy: string expression: string result: string duration?: number error?: string | null rowValueId?: string | null components?: Prisma.FormulaComponentLogUncheckedCreateNestedManyWithoutFormulaLogInput } export type FormulaLogCreateOrConnectWithoutFormulaInput = { where: Prisma.FormulaLogWhereUniqueInput create: Prisma.XOR } export type FormulaLogCreateManyFormulaInputEnvelope = { data: Prisma.FormulaLogCreateManyFormulaInput | Prisma.FormulaLogCreateManyFormulaInput[] skipDuplicates?: boolean } export type FormulaLogUpsertWithWhereUniqueWithoutFormulaInput = { where: Prisma.FormulaLogWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type FormulaLogUpdateWithWhereUniqueWithoutFormulaInput = { where: Prisma.FormulaLogWhereUniqueInput data: Prisma.XOR } export type FormulaLogUpdateManyWithWhereWithoutFormulaInput = { where: Prisma.FormulaLogScalarWhereInput data: Prisma.XOR } export type FormulaLogCreateWithoutComponentsInput = { id?: string createdAt?: Date | string originalTrigger?: string | null triggeredBy: string expression: string result: string duration?: number error?: string | null rowValueId?: string | null formula: Prisma.FormulaCreateNestedOneWithoutLogsInput user?: Prisma.UserCreateNestedOneWithoutFormulaLogsInput tenant?: Prisma.TenantCreateNestedOneWithoutFormulaLogsInput } export type FormulaLogUncheckedCreateWithoutComponentsInput = { id?: string createdAt?: Date | string formulaId: string userId?: string | null tenantId?: string | null originalTrigger?: string | null triggeredBy: string expression: string result: string duration?: number error?: string | null rowValueId?: string | null } export type FormulaLogCreateOrConnectWithoutComponentsInput = { where: Prisma.FormulaLogWhereUniqueInput create: Prisma.XOR } export type FormulaLogUpsertWithoutComponentsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.FormulaLogWhereInput } export type FormulaLogUpdateToOneWithWhereWithoutComponentsInput = { where?: Prisma.FormulaLogWhereInput data: Prisma.XOR } export type FormulaLogUpdateWithoutComponentsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string originalTrigger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null triggeredBy?: Prisma.StringFieldUpdateOperationsInput | string expression?: Prisma.StringFieldUpdateOperationsInput | string result?: Prisma.StringFieldUpdateOperationsInput | string duration?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rowValueId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null formula?: Prisma.FormulaUpdateOneRequiredWithoutLogsNestedInput user?: Prisma.UserUpdateOneWithoutFormulaLogsNestedInput tenant?: Prisma.TenantUpdateOneWithoutFormulaLogsNestedInput } export type FormulaLogUncheckedUpdateWithoutComponentsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string formulaId?: Prisma.StringFieldUpdateOperationsInput | string userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null originalTrigger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null triggeredBy?: Prisma.StringFieldUpdateOperationsInput | string expression?: Prisma.StringFieldUpdateOperationsInput | string result?: Prisma.StringFieldUpdateOperationsInput | string duration?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rowValueId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type FormulaLogCreateManyUserInput = { id?: string createdAt?: Date | string formulaId: string tenantId?: string | null originalTrigger?: string | null triggeredBy: string expression: string result: string duration?: number error?: string | null rowValueId?: string | null } export type FormulaLogUpdateWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string originalTrigger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null triggeredBy?: Prisma.StringFieldUpdateOperationsInput | string expression?: Prisma.StringFieldUpdateOperationsInput | string result?: Prisma.StringFieldUpdateOperationsInput | string duration?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rowValueId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null formula?: Prisma.FormulaUpdateOneRequiredWithoutLogsNestedInput tenant?: Prisma.TenantUpdateOneWithoutFormulaLogsNestedInput components?: Prisma.FormulaComponentLogUpdateManyWithoutFormulaLogNestedInput } export type FormulaLogUncheckedUpdateWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string formulaId?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null originalTrigger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null triggeredBy?: Prisma.StringFieldUpdateOperationsInput | string expression?: Prisma.StringFieldUpdateOperationsInput | string result?: Prisma.StringFieldUpdateOperationsInput | string duration?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rowValueId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null components?: Prisma.FormulaComponentLogUncheckedUpdateManyWithoutFormulaLogNestedInput } export type FormulaLogUncheckedUpdateManyWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string formulaId?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null originalTrigger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null triggeredBy?: Prisma.StringFieldUpdateOperationsInput | string expression?: Prisma.StringFieldUpdateOperationsInput | string result?: Prisma.StringFieldUpdateOperationsInput | string duration?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rowValueId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type FormulaLogCreateManyTenantInput = { id?: string createdAt?: Date | string formulaId: string userId?: string | null originalTrigger?: string | null triggeredBy: string expression: string result: string duration?: number error?: string | null rowValueId?: string | null } export type FormulaLogUpdateWithoutTenantInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string originalTrigger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null triggeredBy?: Prisma.StringFieldUpdateOperationsInput | string expression?: Prisma.StringFieldUpdateOperationsInput | string result?: Prisma.StringFieldUpdateOperationsInput | string duration?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rowValueId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null formula?: Prisma.FormulaUpdateOneRequiredWithoutLogsNestedInput user?: Prisma.UserUpdateOneWithoutFormulaLogsNestedInput components?: Prisma.FormulaComponentLogUpdateManyWithoutFormulaLogNestedInput } export type FormulaLogUncheckedUpdateWithoutTenantInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string formulaId?: Prisma.StringFieldUpdateOperationsInput | string userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null originalTrigger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null triggeredBy?: Prisma.StringFieldUpdateOperationsInput | string expression?: Prisma.StringFieldUpdateOperationsInput | string result?: Prisma.StringFieldUpdateOperationsInput | string duration?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rowValueId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null components?: Prisma.FormulaComponentLogUncheckedUpdateManyWithoutFormulaLogNestedInput } export type FormulaLogUncheckedUpdateManyWithoutTenantInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string formulaId?: Prisma.StringFieldUpdateOperationsInput | string userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null originalTrigger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null triggeredBy?: Prisma.StringFieldUpdateOperationsInput | string expression?: Prisma.StringFieldUpdateOperationsInput | string result?: Prisma.StringFieldUpdateOperationsInput | string duration?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rowValueId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type FormulaLogCreateManyFormulaInput = { id?: string createdAt?: Date | string userId?: string | null tenantId?: string | null originalTrigger?: string | null triggeredBy: string expression: string result: string duration?: number error?: string | null rowValueId?: string | null } export type FormulaLogUpdateWithoutFormulaInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string originalTrigger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null triggeredBy?: Prisma.StringFieldUpdateOperationsInput | string expression?: Prisma.StringFieldUpdateOperationsInput | string result?: Prisma.StringFieldUpdateOperationsInput | string duration?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rowValueId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null user?: Prisma.UserUpdateOneWithoutFormulaLogsNestedInput tenant?: Prisma.TenantUpdateOneWithoutFormulaLogsNestedInput components?: Prisma.FormulaComponentLogUpdateManyWithoutFormulaLogNestedInput } export type FormulaLogUncheckedUpdateWithoutFormulaInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null originalTrigger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null triggeredBy?: Prisma.StringFieldUpdateOperationsInput | string expression?: Prisma.StringFieldUpdateOperationsInput | string result?: Prisma.StringFieldUpdateOperationsInput | string duration?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rowValueId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null components?: Prisma.FormulaComponentLogUncheckedUpdateManyWithoutFormulaLogNestedInput } export type FormulaLogUncheckedUpdateManyWithoutFormulaInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null originalTrigger?: Prisma.NullableStringFieldUpdateOperationsInput | string | null triggeredBy?: Prisma.StringFieldUpdateOperationsInput | string expression?: Prisma.StringFieldUpdateOperationsInput | string result?: Prisma.StringFieldUpdateOperationsInput | string duration?: Prisma.IntFieldUpdateOperationsInput | number error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rowValueId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } /** * Count Type FormulaLogCountOutputType */ export type FormulaLogCountOutputType = { components: number } export type FormulaLogCountOutputTypeSelect = { components?: boolean | FormulaLogCountOutputTypeCountComponentsArgs } /** * FormulaLogCountOutputType without action */ export type FormulaLogCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the FormulaLogCountOutputType */ select?: Prisma.FormulaLogCountOutputTypeSelect | null } /** * FormulaLogCountOutputType without action */ export type FormulaLogCountOutputTypeCountComponentsArgs = { where?: Prisma.FormulaComponentLogWhereInput } export type FormulaLogSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean formulaId?: boolean userId?: boolean tenantId?: boolean originalTrigger?: boolean triggeredBy?: boolean expression?: boolean result?: boolean duration?: boolean error?: boolean rowValueId?: boolean formula?: boolean | Prisma.FormulaDefaultArgs user?: boolean | Prisma.FormulaLog$userArgs tenant?: boolean | Prisma.FormulaLog$tenantArgs components?: boolean | Prisma.FormulaLog$componentsArgs _count?: boolean | Prisma.FormulaLogCountOutputTypeDefaultArgs }, ExtArgs["result"]["formulaLog"]> export type FormulaLogSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean formulaId?: boolean userId?: boolean tenantId?: boolean originalTrigger?: boolean triggeredBy?: boolean expression?: boolean result?: boolean duration?: boolean error?: boolean rowValueId?: boolean formula?: boolean | Prisma.FormulaDefaultArgs user?: boolean | Prisma.FormulaLog$userArgs tenant?: boolean | Prisma.FormulaLog$tenantArgs }, ExtArgs["result"]["formulaLog"]> export type FormulaLogSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean formulaId?: boolean userId?: boolean tenantId?: boolean originalTrigger?: boolean triggeredBy?: boolean expression?: boolean result?: boolean duration?: boolean error?: boolean rowValueId?: boolean formula?: boolean | Prisma.FormulaDefaultArgs user?: boolean | Prisma.FormulaLog$userArgs tenant?: boolean | Prisma.FormulaLog$tenantArgs }, ExtArgs["result"]["formulaLog"]> export type FormulaLogSelectScalar = { id?: boolean createdAt?: boolean formulaId?: boolean userId?: boolean tenantId?: boolean originalTrigger?: boolean triggeredBy?: boolean expression?: boolean result?: boolean duration?: boolean error?: boolean rowValueId?: boolean } export type FormulaLogOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "formulaId" | "userId" | "tenantId" | "originalTrigger" | "triggeredBy" | "expression" | "result" | "duration" | "error" | "rowValueId", ExtArgs["result"]["formulaLog"]> export type FormulaLogInclude = { formula?: boolean | Prisma.FormulaDefaultArgs user?: boolean | Prisma.FormulaLog$userArgs tenant?: boolean | Prisma.FormulaLog$tenantArgs components?: boolean | Prisma.FormulaLog$componentsArgs _count?: boolean | Prisma.FormulaLogCountOutputTypeDefaultArgs } export type FormulaLogIncludeCreateManyAndReturn = { formula?: boolean | Prisma.FormulaDefaultArgs user?: boolean | Prisma.FormulaLog$userArgs tenant?: boolean | Prisma.FormulaLog$tenantArgs } export type FormulaLogIncludeUpdateManyAndReturn = { formula?: boolean | Prisma.FormulaDefaultArgs user?: boolean | Prisma.FormulaLog$userArgs tenant?: boolean | Prisma.FormulaLog$tenantArgs } export type $FormulaLogPayload = { name: "FormulaLog" objects: { formula: Prisma.$FormulaPayload user: Prisma.$UserPayload | null tenant: Prisma.$TenantPayload | null components: Prisma.$FormulaComponentLogPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date formulaId: string userId: string | null tenantId: string | null originalTrigger: string | null triggeredBy: string expression: string result: string duration: number error: string | null rowValueId: string | null }, ExtArgs["result"]["formulaLog"]> composites: {} } export type FormulaLogGetPayload = runtime.Types.Result.GetResult export type FormulaLogCountArgs = Omit & { select?: FormulaLogCountAggregateInputType | true } export interface FormulaLogDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['FormulaLog'], meta: { name: 'FormulaLog' } } /** * Find zero or one FormulaLog that matches the filter. * @param {FormulaLogFindUniqueArgs} args - Arguments to find a FormulaLog * @example * // Get one FormulaLog * const formulaLog = await prisma.formulaLog.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__FormulaLogClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one FormulaLog that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {FormulaLogFindUniqueOrThrowArgs} args - Arguments to find a FormulaLog * @example * // Get one FormulaLog * const formulaLog = await prisma.formulaLog.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__FormulaLogClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first FormulaLog 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 {FormulaLogFindFirstArgs} args - Arguments to find a FormulaLog * @example * // Get one FormulaLog * const formulaLog = await prisma.formulaLog.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__FormulaLogClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first FormulaLog 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 {FormulaLogFindFirstOrThrowArgs} args - Arguments to find a FormulaLog * @example * // Get one FormulaLog * const formulaLog = await prisma.formulaLog.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__FormulaLogClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more FormulaLogs 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 {FormulaLogFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all FormulaLogs * const formulaLogs = await prisma.formulaLog.findMany() * * // Get first 10 FormulaLogs * const formulaLogs = await prisma.formulaLog.findMany({ take: 10 }) * * // Only select the `id` * const formulaLogWithIdOnly = await prisma.formulaLog.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a FormulaLog. * @param {FormulaLogCreateArgs} args - Arguments to create a FormulaLog. * @example * // Create one FormulaLog * const FormulaLog = await prisma.formulaLog.create({ * data: { * // ... data to create a FormulaLog * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__FormulaLogClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many FormulaLogs. * @param {FormulaLogCreateManyArgs} args - Arguments to create many FormulaLogs. * @example * // Create many FormulaLogs * const formulaLog = await prisma.formulaLog.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many FormulaLogs and returns the data saved in the database. * @param {FormulaLogCreateManyAndReturnArgs} args - Arguments to create many FormulaLogs. * @example * // Create many FormulaLogs * const formulaLog = await prisma.formulaLog.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many FormulaLogs and only return the `id` * const formulaLogWithIdOnly = await prisma.formulaLog.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 FormulaLog. * @param {FormulaLogDeleteArgs} args - Arguments to delete one FormulaLog. * @example * // Delete one FormulaLog * const FormulaLog = await prisma.formulaLog.delete({ * where: { * // ... filter to delete one FormulaLog * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__FormulaLogClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one FormulaLog. * @param {FormulaLogUpdateArgs} args - Arguments to update one FormulaLog. * @example * // Update one FormulaLog * const formulaLog = await prisma.formulaLog.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__FormulaLogClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more FormulaLogs. * @param {FormulaLogDeleteManyArgs} args - Arguments to filter FormulaLogs to delete. * @example * // Delete a few FormulaLogs * const { count } = await prisma.formulaLog.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more FormulaLogs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {FormulaLogUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many FormulaLogs * const formulaLog = await prisma.formulaLog.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more FormulaLogs and returns the data updated in the database. * @param {FormulaLogUpdateManyAndReturnArgs} args - Arguments to update many FormulaLogs. * @example * // Update many FormulaLogs * const formulaLog = await prisma.formulaLog.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more FormulaLogs and only return the `id` * const formulaLogWithIdOnly = await prisma.formulaLog.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 FormulaLog. * @param {FormulaLogUpsertArgs} args - Arguments to update or create a FormulaLog. * @example * // Update or create a FormulaLog * const formulaLog = await prisma.formulaLog.upsert({ * create: { * // ... data to create a FormulaLog * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the FormulaLog we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__FormulaLogClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of FormulaLogs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {FormulaLogCountArgs} args - Arguments to filter FormulaLogs to count. * @example * // Count the number of FormulaLogs * const count = await prisma.formulaLog.count({ * where: { * // ... the filter for the FormulaLogs 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 FormulaLog. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {FormulaLogAggregateArgs} 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 FormulaLog. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {FormulaLogGroupByArgs} 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 FormulaLogGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: FormulaLogGroupByArgs['orderBy'] } : { orderBy?: FormulaLogGroupByArgs['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 ? GetFormulaLogGroupByPayload : Prisma.PrismaPromise /** * Fields of the FormulaLog model */ readonly fields: FormulaLogFieldRefs; } /** * The delegate class that acts as a "Promise-like" for FormulaLog. * 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__FormulaLogClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" formula = {}>(args?: Prisma.Subset>): Prisma.Prisma__FormulaClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> tenant = {}>(args?: Prisma.Subset>): Prisma.Prisma__TenantClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> components = {}>(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 FormulaLog model */ export interface FormulaLogFieldRefs { readonly id: Prisma.FieldRef<"FormulaLog", 'String'> readonly createdAt: Prisma.FieldRef<"FormulaLog", 'DateTime'> readonly formulaId: Prisma.FieldRef<"FormulaLog", 'String'> readonly userId: Prisma.FieldRef<"FormulaLog", 'String'> readonly tenantId: Prisma.FieldRef<"FormulaLog", 'String'> readonly originalTrigger: Prisma.FieldRef<"FormulaLog", 'String'> readonly triggeredBy: Prisma.FieldRef<"FormulaLog", 'String'> readonly expression: Prisma.FieldRef<"FormulaLog", 'String'> readonly result: Prisma.FieldRef<"FormulaLog", 'String'> readonly duration: Prisma.FieldRef<"FormulaLog", 'Int'> readonly error: Prisma.FieldRef<"FormulaLog", 'String'> readonly rowValueId: Prisma.FieldRef<"FormulaLog", 'String'> } // Custom InputTypes /** * FormulaLog findUnique */ export type FormulaLogFindUniqueArgs = { /** * 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 /** * Filter, which FormulaLog to fetch. */ where: Prisma.FormulaLogWhereUniqueInput } /** * FormulaLog findUniqueOrThrow */ export type FormulaLogFindUniqueOrThrowArgs = { /** * 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 /** * Filter, which FormulaLog to fetch. */ where: Prisma.FormulaLogWhereUniqueInput } /** * FormulaLog findFirst */ export type FormulaLogFindFirstArgs = { /** * 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 /** * Filter, which FormulaLog to fetch. */ where?: Prisma.FormulaLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of FormulaLogs to fetch. */ orderBy?: Prisma.FormulaLogOrderByWithRelationInput | Prisma.FormulaLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for FormulaLogs. */ cursor?: Prisma.FormulaLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` FormulaLogs 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` FormulaLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of FormulaLogs. */ distinct?: Prisma.FormulaLogScalarFieldEnum | Prisma.FormulaLogScalarFieldEnum[] } /** * FormulaLog findFirstOrThrow */ export type FormulaLogFindFirstOrThrowArgs = { /** * 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 /** * Filter, which FormulaLog to fetch. */ where?: Prisma.FormulaLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of FormulaLogs to fetch. */ orderBy?: Prisma.FormulaLogOrderByWithRelationInput | Prisma.FormulaLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for FormulaLogs. */ cursor?: Prisma.FormulaLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` FormulaLogs 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` FormulaLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of FormulaLogs. */ distinct?: Prisma.FormulaLogScalarFieldEnum | Prisma.FormulaLogScalarFieldEnum[] } /** * FormulaLog findMany */ export type FormulaLogFindManyArgs = { /** * 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 /** * Filter, which FormulaLogs to fetch. */ where?: Prisma.FormulaLogWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of FormulaLogs to fetch. */ orderBy?: Prisma.FormulaLogOrderByWithRelationInput | Prisma.FormulaLogOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing FormulaLogs. */ cursor?: Prisma.FormulaLogWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` FormulaLogs 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` FormulaLogs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of FormulaLogs. */ distinct?: Prisma.FormulaLogScalarFieldEnum | Prisma.FormulaLogScalarFieldEnum[] } /** * FormulaLog create */ export type FormulaLogCreateArgs = { /** * 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 /** * The data needed to create a FormulaLog. */ data: Prisma.XOR } /** * FormulaLog createMany */ export type FormulaLogCreateManyArgs = { /** * The data used to create many FormulaLogs. */ data: Prisma.FormulaLogCreateManyInput | Prisma.FormulaLogCreateManyInput[] skipDuplicates?: boolean } /** * FormulaLog createManyAndReturn */ export type FormulaLogCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the FormulaLog */ select?: Prisma.FormulaLogSelectCreateManyAndReturn | null /** * Omit specific fields from the FormulaLog */ omit?: Prisma.FormulaLogOmit | null /** * The data used to create many FormulaLogs. */ data: Prisma.FormulaLogCreateManyInput | Prisma.FormulaLogCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.FormulaLogIncludeCreateManyAndReturn | null } /** * FormulaLog update */ export type FormulaLogUpdateArgs = { /** * 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 /** * The data needed to update a FormulaLog. */ data: Prisma.XOR /** * Choose, which FormulaLog to update. */ where: Prisma.FormulaLogWhereUniqueInput } /** * FormulaLog updateMany */ export type FormulaLogUpdateManyArgs = { /** * The data used to update FormulaLogs. */ data: Prisma.XOR /** * Filter which FormulaLogs to update */ where?: Prisma.FormulaLogWhereInput /** * Limit how many FormulaLogs to update. */ limit?: number } /** * FormulaLog updateManyAndReturn */ export type FormulaLogUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the FormulaLog */ select?: Prisma.FormulaLogSelectUpdateManyAndReturn | null /** * Omit specific fields from the FormulaLog */ omit?: Prisma.FormulaLogOmit | null /** * The data used to update FormulaLogs. */ data: Prisma.XOR /** * Filter which FormulaLogs to update */ where?: Prisma.FormulaLogWhereInput /** * Limit how many FormulaLogs to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.FormulaLogIncludeUpdateManyAndReturn | null } /** * FormulaLog upsert */ export type FormulaLogUpsertArgs = { /** * 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 /** * The filter to search for the FormulaLog to update in case it exists. */ where: Prisma.FormulaLogWhereUniqueInput /** * In case the FormulaLog found by the `where` argument doesn't exist, create a new FormulaLog with this data. */ create: Prisma.XOR /** * In case the FormulaLog was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * FormulaLog delete */ export type FormulaLogDeleteArgs = { /** * 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 /** * Filter which FormulaLog to delete. */ where: Prisma.FormulaLogWhereUniqueInput } /** * FormulaLog deleteMany */ export type FormulaLogDeleteManyArgs = { /** * Filter which FormulaLogs to delete */ where?: Prisma.FormulaLogWhereInput /** * Limit how many FormulaLogs to delete. */ limit?: number } /** * FormulaLog.user */ export type FormulaLog$userArgs = { /** * Select specific fields to fetch from the User */ select?: Prisma.UserSelect | null /** * Omit specific fields from the User */ omit?: Prisma.UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserInclude | null where?: Prisma.UserWhereInput } /** * FormulaLog.tenant */ export type FormulaLog$tenantArgs = { /** * Select specific fields to fetch from the Tenant */ select?: Prisma.TenantSelect | null /** * Omit specific fields from the Tenant */ omit?: Prisma.TenantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInclude | null where?: Prisma.TenantWhereInput } /** * FormulaLog.components */ export type FormulaLog$componentsArgs = { /** * Select specific fields to fetch from the FormulaComponentLog */ select?: Prisma.FormulaComponentLogSelect | null /** * Omit specific fields from the FormulaComponentLog */ omit?: Prisma.FormulaComponentLogOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FormulaComponentLogInclude | null where?: Prisma.FormulaComponentLogWhereInput orderBy?: Prisma.FormulaComponentLogOrderByWithRelationInput | Prisma.FormulaComponentLogOrderByWithRelationInput[] cursor?: Prisma.FormulaComponentLogWhereUniqueInput take?: number skip?: number distinct?: Prisma.FormulaComponentLogScalarFieldEnum | Prisma.FormulaComponentLogScalarFieldEnum[] } /** * FormulaLog without action */ export type FormulaLogDefaultArgs = { /** * 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 }