import type * as runtime from "@prisma/client/runtime/client"; import type * as $Enums from "../enums.js"; import type * as Prisma from "../internal/prismaNamespace.js"; /** * Model DataType * */ export type DataTypeModel = runtime.Types.Result.DefaultSelection; export type AggregateDataType = { _count: DataTypeCountAggregateOutputType | null; _avg: DataTypeAvgAggregateOutputType | null; _sum: DataTypeSumAggregateOutputType | null; _min: DataTypeMinAggregateOutputType | null; _max: DataTypeMaxAggregateOutputType | null; }; export type DataTypeAvgAggregateOutputType = { intField: number | null; bigIntField: number | null; floatField: number | null; decimalField: runtime.Decimal | null; intList: number | null; optionalInt: number | null; }; export type DataTypeSumAggregateOutputType = { intField: number | null; bigIntField: bigint | null; floatField: number | null; decimalField: runtime.Decimal | null; intList: number[]; optionalInt: number | null; }; export type DataTypeMinAggregateOutputType = { id: string | null; createdAt: Date | null; updatedAt: Date | null; intField: number | null; bigIntField: bigint | null; floatField: number | null; decimalField: runtime.Decimal | null; boolField: boolean | null; dateTimeField: Date | null; bytesField: runtime.Bytes | null; color: $Enums.Color | null; optionalString: string | null; optionalInt: number | null; }; export type DataTypeMaxAggregateOutputType = { id: string | null; createdAt: Date | null; updatedAt: Date | null; intField: number | null; bigIntField: bigint | null; floatField: number | null; decimalField: runtime.Decimal | null; boolField: boolean | null; dateTimeField: Date | null; bytesField: runtime.Bytes | null; color: $Enums.Color | null; optionalString: string | null; optionalInt: number | null; }; export type DataTypeCountAggregateOutputType = { id: number; createdAt: number; updatedAt: number; intField: number; bigIntField: number; floatField: number; decimalField: number; boolField: number; dateTimeField: number; jsonField: number; bytesField: number; stringList: number; intList: number; color: number; optionalString: number; optionalInt: number; _all: number; }; export type DataTypeAvgAggregateInputType = { intField?: true | runtime.Types.Skip; bigIntField?: true | runtime.Types.Skip; floatField?: true | runtime.Types.Skip; decimalField?: true | runtime.Types.Skip; intList?: true | runtime.Types.Skip; optionalInt?: true | runtime.Types.Skip; }; export type DataTypeSumAggregateInputType = { intField?: true | runtime.Types.Skip; bigIntField?: true | runtime.Types.Skip; floatField?: true | runtime.Types.Skip; decimalField?: true | runtime.Types.Skip; intList?: true | runtime.Types.Skip; optionalInt?: true | runtime.Types.Skip; }; export type DataTypeMinAggregateInputType = { id?: true | runtime.Types.Skip; createdAt?: true | runtime.Types.Skip; updatedAt?: true | runtime.Types.Skip; intField?: true | runtime.Types.Skip; bigIntField?: true | runtime.Types.Skip; floatField?: true | runtime.Types.Skip; decimalField?: true | runtime.Types.Skip; boolField?: true | runtime.Types.Skip; dateTimeField?: true | runtime.Types.Skip; bytesField?: true | runtime.Types.Skip; color?: true | runtime.Types.Skip; optionalString?: true | runtime.Types.Skip; optionalInt?: true | runtime.Types.Skip; }; export type DataTypeMaxAggregateInputType = { id?: true | runtime.Types.Skip; createdAt?: true | runtime.Types.Skip; updatedAt?: true | runtime.Types.Skip; intField?: true | runtime.Types.Skip; bigIntField?: true | runtime.Types.Skip; floatField?: true | runtime.Types.Skip; decimalField?: true | runtime.Types.Skip; boolField?: true | runtime.Types.Skip; dateTimeField?: true | runtime.Types.Skip; bytesField?: true | runtime.Types.Skip; color?: true | runtime.Types.Skip; optionalString?: true | runtime.Types.Skip; optionalInt?: true | runtime.Types.Skip; }; export type DataTypeCountAggregateInputType = { id?: true | runtime.Types.Skip; createdAt?: true | runtime.Types.Skip; updatedAt?: true | runtime.Types.Skip; intField?: true | runtime.Types.Skip; bigIntField?: true | runtime.Types.Skip; floatField?: true | runtime.Types.Skip; decimalField?: true | runtime.Types.Skip; boolField?: true | runtime.Types.Skip; dateTimeField?: true | runtime.Types.Skip; jsonField?: true | runtime.Types.Skip; bytesField?: true | runtime.Types.Skip; stringList?: true | runtime.Types.Skip; intList?: true | runtime.Types.Skip; color?: true | runtime.Types.Skip; optionalString?: true | runtime.Types.Skip; optionalInt?: true | runtime.Types.Skip; _all?: true | runtime.Types.Skip; }; export type DataTypeAggregateArgs = { /** * Filter which DataType to aggregate. */ where?: Prisma.DataTypeWhereInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DataTypes to fetch. */ orderBy?: Prisma.DataTypeOrderByWithRelationInput | Prisma.DataTypeOrderByWithRelationInput[] | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.DataTypeWhereUniqueInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DataTypes from the position of the cursor. */ take?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` DataTypes. */ skip?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned DataTypes **/ _count?: true | DataTypeCountAggregateInputType; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: DataTypeAvgAggregateInputType; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: DataTypeSumAggregateInputType; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: DataTypeMinAggregateInputType; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: DataTypeMaxAggregateInputType; }; export type GetDataTypeAggregateType = { [P in keyof T & keyof AggregateDataType]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType; }; export type DataTypeGroupByArgs = { where?: Prisma.DataTypeWhereInput | runtime.Types.Skip; orderBy?: Prisma.DataTypeOrderByWithAggregationInput | Prisma.DataTypeOrderByWithAggregationInput[] | runtime.Types.Skip; by: Prisma.DataTypeScalarFieldEnum[] | Prisma.DataTypeScalarFieldEnum; having?: Prisma.DataTypeScalarWhereWithAggregatesInput | runtime.Types.Skip; take?: number | runtime.Types.Skip; skip?: number | runtime.Types.Skip; _count?: DataTypeCountAggregateInputType | true; _avg?: DataTypeAvgAggregateInputType; _sum?: DataTypeSumAggregateInputType; _min?: DataTypeMinAggregateInputType; _max?: DataTypeMaxAggregateInputType; }; export type DataTypeGroupByOutputType = { id: string; createdAt: Date; updatedAt: Date; intField: number; bigIntField: bigint; floatField: number; decimalField: runtime.Decimal; boolField: boolean; dateTimeField: Date; jsonField: runtime.JsonValue; bytesField: runtime.Bytes; stringList: string[]; intList: number[]; color: $Enums.Color; optionalString: string | null; optionalInt: number | null; _count: DataTypeCountAggregateOutputType | null; _avg: DataTypeAvgAggregateOutputType | null; _sum: DataTypeSumAggregateOutputType | null; _min: DataTypeMinAggregateOutputType | null; _max: DataTypeMaxAggregateOutputType | null; }; export type GetDataTypeGroupByPayload = Prisma.PrismaPromise & { [P in ((keyof T) & (keyof DataTypeGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType; }>>; export type DataTypeWhereInput = { AND?: Prisma.DataTypeWhereInput | Prisma.DataTypeWhereInput[] | runtime.Types.Skip; OR?: Prisma.DataTypeWhereInput[] | runtime.Types.Skip; NOT?: Prisma.DataTypeWhereInput | Prisma.DataTypeWhereInput[] | runtime.Types.Skip; id?: Prisma.StringFilter<"DataType"> | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFilter<"DataType"> | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFilter<"DataType"> | Date | string | runtime.Types.Skip; intField?: Prisma.IntFilter<"DataType"> | number | runtime.Types.Skip; bigIntField?: Prisma.BigIntFilter<"DataType"> | bigint | number | runtime.Types.Skip; floatField?: Prisma.FloatFilter<"DataType"> | number | runtime.Types.Skip; decimalField?: Prisma.DecimalFilter<"DataType"> | runtime.Decimal | runtime.DecimalJsLike | number | string | runtime.Types.Skip; boolField?: Prisma.BoolFilter<"DataType"> | boolean | runtime.Types.Skip; dateTimeField?: Prisma.DateTimeFilter<"DataType"> | Date | string | runtime.Types.Skip; jsonField?: Prisma.JsonFilter<"DataType"> | runtime.Types.Skip; bytesField?: Prisma.BytesFilter<"DataType"> | runtime.Bytes | runtime.Types.Skip; stringList?: Prisma.StringNullableListFilter<"DataType"> | runtime.Types.Skip; intList?: Prisma.IntNullableListFilter<"DataType"> | runtime.Types.Skip; color?: Prisma.EnumColorFilter<"DataType"> | $Enums.Color | runtime.Types.Skip; optionalString?: Prisma.StringNullableFilter<"DataType"> | string | null | runtime.Types.Skip; optionalInt?: Prisma.IntNullableFilter<"DataType"> | number | null | runtime.Types.Skip; }; export type DataTypeOrderByWithRelationInput = { id?: Prisma.SortOrder | runtime.Types.Skip; createdAt?: Prisma.SortOrder | runtime.Types.Skip; updatedAt?: Prisma.SortOrder | runtime.Types.Skip; intField?: Prisma.SortOrder | runtime.Types.Skip; bigIntField?: Prisma.SortOrder | runtime.Types.Skip; floatField?: Prisma.SortOrder | runtime.Types.Skip; decimalField?: Prisma.SortOrder | runtime.Types.Skip; boolField?: Prisma.SortOrder | runtime.Types.Skip; dateTimeField?: Prisma.SortOrder | runtime.Types.Skip; jsonField?: Prisma.SortOrder | runtime.Types.Skip; bytesField?: Prisma.SortOrder | runtime.Types.Skip; stringList?: Prisma.SortOrder | runtime.Types.Skip; intList?: Prisma.SortOrder | runtime.Types.Skip; color?: Prisma.SortOrder | runtime.Types.Skip; optionalString?: Prisma.SortOrderInput | Prisma.SortOrder | runtime.Types.Skip; optionalInt?: Prisma.SortOrderInput | Prisma.SortOrder | runtime.Types.Skip; }; export type DataTypeWhereUniqueInput = Prisma.AtLeast<{ id?: string | runtime.Types.Skip; AND?: Prisma.DataTypeWhereInput | Prisma.DataTypeWhereInput[] | runtime.Types.Skip; OR?: Prisma.DataTypeWhereInput[] | runtime.Types.Skip; NOT?: Prisma.DataTypeWhereInput | Prisma.DataTypeWhereInput[] | runtime.Types.Skip; createdAt?: Prisma.DateTimeFilter<"DataType"> | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFilter<"DataType"> | Date | string | runtime.Types.Skip; intField?: Prisma.IntFilter<"DataType"> | number | runtime.Types.Skip; bigIntField?: Prisma.BigIntFilter<"DataType"> | bigint | number | runtime.Types.Skip; floatField?: Prisma.FloatFilter<"DataType"> | number | runtime.Types.Skip; decimalField?: Prisma.DecimalFilter<"DataType"> | runtime.Decimal | runtime.DecimalJsLike | number | string | runtime.Types.Skip; boolField?: Prisma.BoolFilter<"DataType"> | boolean | runtime.Types.Skip; dateTimeField?: Prisma.DateTimeFilter<"DataType"> | Date | string | runtime.Types.Skip; jsonField?: Prisma.JsonFilter<"DataType"> | runtime.Types.Skip; bytesField?: Prisma.BytesFilter<"DataType"> | runtime.Bytes | runtime.Types.Skip; stringList?: Prisma.StringNullableListFilter<"DataType"> | runtime.Types.Skip; intList?: Prisma.IntNullableListFilter<"DataType"> | runtime.Types.Skip; color?: Prisma.EnumColorFilter<"DataType"> | $Enums.Color | runtime.Types.Skip; optionalString?: Prisma.StringNullableFilter<"DataType"> | string | null | runtime.Types.Skip; optionalInt?: Prisma.IntNullableFilter<"DataType"> | number | null | runtime.Types.Skip; }, "id">; export type DataTypeOrderByWithAggregationInput = { id?: Prisma.SortOrder | runtime.Types.Skip; createdAt?: Prisma.SortOrder | runtime.Types.Skip; updatedAt?: Prisma.SortOrder | runtime.Types.Skip; intField?: Prisma.SortOrder | runtime.Types.Skip; bigIntField?: Prisma.SortOrder | runtime.Types.Skip; floatField?: Prisma.SortOrder | runtime.Types.Skip; decimalField?: Prisma.SortOrder | runtime.Types.Skip; boolField?: Prisma.SortOrder | runtime.Types.Skip; dateTimeField?: Prisma.SortOrder | runtime.Types.Skip; jsonField?: Prisma.SortOrder | runtime.Types.Skip; bytesField?: Prisma.SortOrder | runtime.Types.Skip; stringList?: Prisma.SortOrder | runtime.Types.Skip; intList?: Prisma.SortOrder | runtime.Types.Skip; color?: Prisma.SortOrder | runtime.Types.Skip; optionalString?: Prisma.SortOrderInput | Prisma.SortOrder | runtime.Types.Skip; optionalInt?: Prisma.SortOrderInput | Prisma.SortOrder | runtime.Types.Skip; _count?: Prisma.DataTypeCountOrderByAggregateInput | runtime.Types.Skip; _avg?: Prisma.DataTypeAvgOrderByAggregateInput | runtime.Types.Skip; _max?: Prisma.DataTypeMaxOrderByAggregateInput | runtime.Types.Skip; _min?: Prisma.DataTypeMinOrderByAggregateInput | runtime.Types.Skip; _sum?: Prisma.DataTypeSumOrderByAggregateInput | runtime.Types.Skip; }; export type DataTypeScalarWhereWithAggregatesInput = { AND?: Prisma.DataTypeScalarWhereWithAggregatesInput | Prisma.DataTypeScalarWhereWithAggregatesInput[] | runtime.Types.Skip; OR?: Prisma.DataTypeScalarWhereWithAggregatesInput[] | runtime.Types.Skip; NOT?: Prisma.DataTypeScalarWhereWithAggregatesInput | Prisma.DataTypeScalarWhereWithAggregatesInput[] | runtime.Types.Skip; id?: Prisma.StringWithAggregatesFilter<"DataType"> | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeWithAggregatesFilter<"DataType"> | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeWithAggregatesFilter<"DataType"> | Date | string | runtime.Types.Skip; intField?: Prisma.IntWithAggregatesFilter<"DataType"> | number | runtime.Types.Skip; bigIntField?: Prisma.BigIntWithAggregatesFilter<"DataType"> | bigint | number | runtime.Types.Skip; floatField?: Prisma.FloatWithAggregatesFilter<"DataType"> | number | runtime.Types.Skip; decimalField?: Prisma.DecimalWithAggregatesFilter<"DataType"> | runtime.Decimal | runtime.DecimalJsLike | number | string | runtime.Types.Skip; boolField?: Prisma.BoolWithAggregatesFilter<"DataType"> | boolean | runtime.Types.Skip; dateTimeField?: Prisma.DateTimeWithAggregatesFilter<"DataType"> | Date | string | runtime.Types.Skip; jsonField?: Prisma.JsonWithAggregatesFilter<"DataType"> | runtime.Types.Skip; bytesField?: Prisma.BytesWithAggregatesFilter<"DataType"> | runtime.Bytes | runtime.Types.Skip; stringList?: Prisma.StringNullableListFilter<"DataType"> | runtime.Types.Skip; intList?: Prisma.IntNullableListFilter<"DataType"> | runtime.Types.Skip; color?: Prisma.EnumColorWithAggregatesFilter<"DataType"> | $Enums.Color | runtime.Types.Skip; optionalString?: Prisma.StringNullableWithAggregatesFilter<"DataType"> | string | null | runtime.Types.Skip; optionalInt?: Prisma.IntNullableWithAggregatesFilter<"DataType"> | number | null | runtime.Types.Skip; }; export type DataTypeCreateInput = { id?: string | runtime.Types.Skip; createdAt?: Date | string | runtime.Types.Skip; updatedAt?: Date | string | runtime.Types.Skip; intField: number; bigIntField: bigint | number; floatField: number; decimalField: runtime.Decimal | runtime.DecimalJsLike | number | string; boolField: boolean; dateTimeField: Date | string; jsonField: Prisma.JsonNullValueInput | runtime.InputJsonValue; bytesField: runtime.Bytes; stringList?: Prisma.DataTypeCreatestringListInput | string[] | runtime.Types.Skip; intList?: Prisma.DataTypeCreateintListInput | number[] | runtime.Types.Skip; color: $Enums.Color; optionalString?: string | null | runtime.Types.Skip; optionalInt?: number | null | runtime.Types.Skip; }; export type DataTypeUncheckedCreateInput = { id?: string | runtime.Types.Skip; createdAt?: Date | string | runtime.Types.Skip; updatedAt?: Date | string | runtime.Types.Skip; intField: number; bigIntField: bigint | number; floatField: number; decimalField: runtime.Decimal | runtime.DecimalJsLike | number | string; boolField: boolean; dateTimeField: Date | string; jsonField: Prisma.JsonNullValueInput | runtime.InputJsonValue; bytesField: runtime.Bytes; stringList?: Prisma.DataTypeCreatestringListInput | string[] | runtime.Types.Skip; intList?: Prisma.DataTypeCreateintListInput | number[] | runtime.Types.Skip; color: $Enums.Color; optionalString?: string | null | runtime.Types.Skip; optionalInt?: number | null | runtime.Types.Skip; }; export type DataTypeUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; intField?: Prisma.IntFieldUpdateOperationsInput | number | runtime.Types.Skip; bigIntField?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number | runtime.Types.Skip; floatField?: Prisma.FloatFieldUpdateOperationsInput | number | runtime.Types.Skip; decimalField?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | runtime.Types.Skip; boolField?: Prisma.BoolFieldUpdateOperationsInput | boolean | runtime.Types.Skip; dateTimeField?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; jsonField?: Prisma.JsonNullValueInput | runtime.InputJsonValue | runtime.Types.Skip; bytesField?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes | runtime.Types.Skip; stringList?: Prisma.DataTypeUpdatestringListInput | string[] | runtime.Types.Skip; intList?: Prisma.DataTypeUpdateintListInput | number[] | runtime.Types.Skip; color?: Prisma.EnumColorFieldUpdateOperationsInput | $Enums.Color | runtime.Types.Skip; optionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null | runtime.Types.Skip; optionalInt?: Prisma.NullableIntFieldUpdateOperationsInput | number | null | runtime.Types.Skip; }; export type DataTypeUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; intField?: Prisma.IntFieldUpdateOperationsInput | number | runtime.Types.Skip; bigIntField?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number | runtime.Types.Skip; floatField?: Prisma.FloatFieldUpdateOperationsInput | number | runtime.Types.Skip; decimalField?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | runtime.Types.Skip; boolField?: Prisma.BoolFieldUpdateOperationsInput | boolean | runtime.Types.Skip; dateTimeField?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; jsonField?: Prisma.JsonNullValueInput | runtime.InputJsonValue | runtime.Types.Skip; bytesField?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes | runtime.Types.Skip; stringList?: Prisma.DataTypeUpdatestringListInput | string[] | runtime.Types.Skip; intList?: Prisma.DataTypeUpdateintListInput | number[] | runtime.Types.Skip; color?: Prisma.EnumColorFieldUpdateOperationsInput | $Enums.Color | runtime.Types.Skip; optionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null | runtime.Types.Skip; optionalInt?: Prisma.NullableIntFieldUpdateOperationsInput | number | null | runtime.Types.Skip; }; export type DataTypeCreateManyInput = { id?: string | runtime.Types.Skip; createdAt?: Date | string | runtime.Types.Skip; updatedAt?: Date | string | runtime.Types.Skip; intField: number; bigIntField: bigint | number; floatField: number; decimalField: runtime.Decimal | runtime.DecimalJsLike | number | string; boolField: boolean; dateTimeField: Date | string; jsonField: Prisma.JsonNullValueInput | runtime.InputJsonValue; bytesField: runtime.Bytes; stringList?: Prisma.DataTypeCreatestringListInput | string[] | runtime.Types.Skip; intList?: Prisma.DataTypeCreateintListInput | number[] | runtime.Types.Skip; color: $Enums.Color; optionalString?: string | null | runtime.Types.Skip; optionalInt?: number | null | runtime.Types.Skip; }; export type DataTypeUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; intField?: Prisma.IntFieldUpdateOperationsInput | number | runtime.Types.Skip; bigIntField?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number | runtime.Types.Skip; floatField?: Prisma.FloatFieldUpdateOperationsInput | number | runtime.Types.Skip; decimalField?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | runtime.Types.Skip; boolField?: Prisma.BoolFieldUpdateOperationsInput | boolean | runtime.Types.Skip; dateTimeField?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; jsonField?: Prisma.JsonNullValueInput | runtime.InputJsonValue | runtime.Types.Skip; bytesField?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes | runtime.Types.Skip; stringList?: Prisma.DataTypeUpdatestringListInput | string[] | runtime.Types.Skip; intList?: Prisma.DataTypeUpdateintListInput | number[] | runtime.Types.Skip; color?: Prisma.EnumColorFieldUpdateOperationsInput | $Enums.Color | runtime.Types.Skip; optionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null | runtime.Types.Skip; optionalInt?: Prisma.NullableIntFieldUpdateOperationsInput | number | null | runtime.Types.Skip; }; export type DataTypeUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; intField?: Prisma.IntFieldUpdateOperationsInput | number | runtime.Types.Skip; bigIntField?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number | runtime.Types.Skip; floatField?: Prisma.FloatFieldUpdateOperationsInput | number | runtime.Types.Skip; decimalField?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | runtime.Types.Skip; boolField?: Prisma.BoolFieldUpdateOperationsInput | boolean | runtime.Types.Skip; dateTimeField?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; jsonField?: Prisma.JsonNullValueInput | runtime.InputJsonValue | runtime.Types.Skip; bytesField?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes | runtime.Types.Skip; stringList?: Prisma.DataTypeUpdatestringListInput | string[] | runtime.Types.Skip; intList?: Prisma.DataTypeUpdateintListInput | number[] | runtime.Types.Skip; color?: Prisma.EnumColorFieldUpdateOperationsInput | $Enums.Color | runtime.Types.Skip; optionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null | runtime.Types.Skip; optionalInt?: Prisma.NullableIntFieldUpdateOperationsInput | number | null | runtime.Types.Skip; }; export type StringNullableListFilter<$PrismaModel = never> = { equals?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null | runtime.Types.Skip; has?: string | Prisma.StringFieldRefInput<$PrismaModel> | null | runtime.Types.Skip; hasEvery?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | runtime.Types.Skip; hasSome?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | runtime.Types.Skip; isEmpty?: boolean | runtime.Types.Skip; }; export type IntNullableListFilter<$PrismaModel = never> = { equals?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null | runtime.Types.Skip; has?: number | Prisma.IntFieldRefInput<$PrismaModel> | null | runtime.Types.Skip; hasEvery?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | runtime.Types.Skip; hasSome?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | runtime.Types.Skip; isEmpty?: boolean | runtime.Types.Skip; }; export type DataTypeCountOrderByAggregateInput = { id?: Prisma.SortOrder | runtime.Types.Skip; createdAt?: Prisma.SortOrder | runtime.Types.Skip; updatedAt?: Prisma.SortOrder | runtime.Types.Skip; intField?: Prisma.SortOrder | runtime.Types.Skip; bigIntField?: Prisma.SortOrder | runtime.Types.Skip; floatField?: Prisma.SortOrder | runtime.Types.Skip; decimalField?: Prisma.SortOrder | runtime.Types.Skip; boolField?: Prisma.SortOrder | runtime.Types.Skip; dateTimeField?: Prisma.SortOrder | runtime.Types.Skip; jsonField?: Prisma.SortOrder | runtime.Types.Skip; bytesField?: Prisma.SortOrder | runtime.Types.Skip; stringList?: Prisma.SortOrder | runtime.Types.Skip; intList?: Prisma.SortOrder | runtime.Types.Skip; color?: Prisma.SortOrder | runtime.Types.Skip; optionalString?: Prisma.SortOrder | runtime.Types.Skip; optionalInt?: Prisma.SortOrder | runtime.Types.Skip; }; export type DataTypeAvgOrderByAggregateInput = { intField?: Prisma.SortOrder | runtime.Types.Skip; bigIntField?: Prisma.SortOrder | runtime.Types.Skip; floatField?: Prisma.SortOrder | runtime.Types.Skip; decimalField?: Prisma.SortOrder | runtime.Types.Skip; intList?: Prisma.SortOrder | runtime.Types.Skip; optionalInt?: Prisma.SortOrder | runtime.Types.Skip; }; export type DataTypeMaxOrderByAggregateInput = { id?: Prisma.SortOrder | runtime.Types.Skip; createdAt?: Prisma.SortOrder | runtime.Types.Skip; updatedAt?: Prisma.SortOrder | runtime.Types.Skip; intField?: Prisma.SortOrder | runtime.Types.Skip; bigIntField?: Prisma.SortOrder | runtime.Types.Skip; floatField?: Prisma.SortOrder | runtime.Types.Skip; decimalField?: Prisma.SortOrder | runtime.Types.Skip; boolField?: Prisma.SortOrder | runtime.Types.Skip; dateTimeField?: Prisma.SortOrder | runtime.Types.Skip; bytesField?: Prisma.SortOrder | runtime.Types.Skip; color?: Prisma.SortOrder | runtime.Types.Skip; optionalString?: Prisma.SortOrder | runtime.Types.Skip; optionalInt?: Prisma.SortOrder | runtime.Types.Skip; }; export type DataTypeMinOrderByAggregateInput = { id?: Prisma.SortOrder | runtime.Types.Skip; createdAt?: Prisma.SortOrder | runtime.Types.Skip; updatedAt?: Prisma.SortOrder | runtime.Types.Skip; intField?: Prisma.SortOrder | runtime.Types.Skip; bigIntField?: Prisma.SortOrder | runtime.Types.Skip; floatField?: Prisma.SortOrder | runtime.Types.Skip; decimalField?: Prisma.SortOrder | runtime.Types.Skip; boolField?: Prisma.SortOrder | runtime.Types.Skip; dateTimeField?: Prisma.SortOrder | runtime.Types.Skip; bytesField?: Prisma.SortOrder | runtime.Types.Skip; color?: Prisma.SortOrder | runtime.Types.Skip; optionalString?: Prisma.SortOrder | runtime.Types.Skip; optionalInt?: Prisma.SortOrder | runtime.Types.Skip; }; export type DataTypeSumOrderByAggregateInput = { intField?: Prisma.SortOrder | runtime.Types.Skip; bigIntField?: Prisma.SortOrder | runtime.Types.Skip; floatField?: Prisma.SortOrder | runtime.Types.Skip; decimalField?: Prisma.SortOrder | runtime.Types.Skip; intList?: Prisma.SortOrder | runtime.Types.Skip; optionalInt?: Prisma.SortOrder | runtime.Types.Skip; }; export type DataTypeCreatestringListInput = { set: string[]; }; export type DataTypeCreateintListInput = { set: number[]; }; export type BigIntFieldUpdateOperationsInput = { set?: bigint | number | runtime.Types.Skip; increment?: bigint | number | runtime.Types.Skip; decrement?: bigint | number | runtime.Types.Skip; multiply?: bigint | number | runtime.Types.Skip; divide?: bigint | number | runtime.Types.Skip; }; export type FloatFieldUpdateOperationsInput = { set?: number | runtime.Types.Skip; increment?: number | runtime.Types.Skip; decrement?: number | runtime.Types.Skip; multiply?: number | runtime.Types.Skip; divide?: number | runtime.Types.Skip; }; export type DecimalFieldUpdateOperationsInput = { set?: runtime.Decimal | runtime.DecimalJsLike | number | string | runtime.Types.Skip; increment?: runtime.Decimal | runtime.DecimalJsLike | number | string | runtime.Types.Skip; decrement?: runtime.Decimal | runtime.DecimalJsLike | number | string | runtime.Types.Skip; multiply?: runtime.Decimal | runtime.DecimalJsLike | number | string | runtime.Types.Skip; divide?: runtime.Decimal | runtime.DecimalJsLike | number | string | runtime.Types.Skip; }; export type BytesFieldUpdateOperationsInput = { set?: runtime.Bytes | runtime.Types.Skip; }; export type DataTypeUpdatestringListInput = { set?: string[] | runtime.Types.Skip; push?: string | string[] | runtime.Types.Skip; }; export type DataTypeUpdateintListInput = { set?: number[] | runtime.Types.Skip; push?: number | number[] | runtime.Types.Skip; }; export type EnumColorFieldUpdateOperationsInput = { set?: $Enums.Color | runtime.Types.Skip; }; export type NullableIntFieldUpdateOperationsInput = { set?: number | null | runtime.Types.Skip; increment?: number | runtime.Types.Skip; decrement?: number | runtime.Types.Skip; multiply?: number | runtime.Types.Skip; divide?: number | runtime.Types.Skip; }; export type DataTypeSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean | runtime.Types.Skip; createdAt?: boolean | runtime.Types.Skip; updatedAt?: boolean | runtime.Types.Skip; intField?: boolean | runtime.Types.Skip; bigIntField?: boolean | runtime.Types.Skip; floatField?: boolean | runtime.Types.Skip; decimalField?: boolean | runtime.Types.Skip; boolField?: boolean | runtime.Types.Skip; dateTimeField?: boolean | runtime.Types.Skip; jsonField?: boolean | runtime.Types.Skip; bytesField?: boolean | runtime.Types.Skip; stringList?: boolean | runtime.Types.Skip; intList?: boolean | runtime.Types.Skip; color?: boolean | runtime.Types.Skip; optionalString?: boolean | runtime.Types.Skip; optionalInt?: boolean | runtime.Types.Skip; }, ExtArgs["result"]["dataType"]>; export type DataTypeSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean | runtime.Types.Skip; createdAt?: boolean | runtime.Types.Skip; updatedAt?: boolean | runtime.Types.Skip; intField?: boolean | runtime.Types.Skip; bigIntField?: boolean | runtime.Types.Skip; floatField?: boolean | runtime.Types.Skip; decimalField?: boolean | runtime.Types.Skip; boolField?: boolean | runtime.Types.Skip; dateTimeField?: boolean | runtime.Types.Skip; jsonField?: boolean | runtime.Types.Skip; bytesField?: boolean | runtime.Types.Skip; stringList?: boolean | runtime.Types.Skip; intList?: boolean | runtime.Types.Skip; color?: boolean | runtime.Types.Skip; optionalString?: boolean | runtime.Types.Skip; optionalInt?: boolean | runtime.Types.Skip; }, ExtArgs["result"]["dataType"]>; export type DataTypeSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean | runtime.Types.Skip; createdAt?: boolean | runtime.Types.Skip; updatedAt?: boolean | runtime.Types.Skip; intField?: boolean | runtime.Types.Skip; bigIntField?: boolean | runtime.Types.Skip; floatField?: boolean | runtime.Types.Skip; decimalField?: boolean | runtime.Types.Skip; boolField?: boolean | runtime.Types.Skip; dateTimeField?: boolean | runtime.Types.Skip; jsonField?: boolean | runtime.Types.Skip; bytesField?: boolean | runtime.Types.Skip; stringList?: boolean | runtime.Types.Skip; intList?: boolean | runtime.Types.Skip; color?: boolean | runtime.Types.Skip; optionalString?: boolean | runtime.Types.Skip; optionalInt?: boolean | runtime.Types.Skip; }, ExtArgs["result"]["dataType"]>; export type DataTypeSelectScalar = { id?: boolean | runtime.Types.Skip; createdAt?: boolean | runtime.Types.Skip; updatedAt?: boolean | runtime.Types.Skip; intField?: boolean | runtime.Types.Skip; bigIntField?: boolean | runtime.Types.Skip; floatField?: boolean | runtime.Types.Skip; decimalField?: boolean | runtime.Types.Skip; boolField?: boolean | runtime.Types.Skip; dateTimeField?: boolean | runtime.Types.Skip; jsonField?: boolean | runtime.Types.Skip; bytesField?: boolean | runtime.Types.Skip; stringList?: boolean | runtime.Types.Skip; intList?: boolean | runtime.Types.Skip; color?: boolean | runtime.Types.Skip; optionalString?: boolean | runtime.Types.Skip; optionalInt?: boolean | runtime.Types.Skip; }; export type DataTypeOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "intField" | "bigIntField" | "floatField" | "decimalField" | "boolField" | "dateTimeField" | "jsonField" | "bytesField" | "stringList" | "intList" | "color" | "optionalString" | "optionalInt", ExtArgs["result"]["dataType"], runtime.Types.Skip>; export type $DataTypePayload = { name: "DataType"; objects: {}; scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string; createdAt: Date; updatedAt: Date; intField: number; bigIntField: bigint; floatField: number; decimalField: runtime.Decimal; boolField: boolean; dateTimeField: Date; jsonField: runtime.JsonValue; bytesField: runtime.Bytes; stringList: string[]; intList: number[]; color: $Enums.Color; optionalString: string | null; optionalInt: number | null; }, ExtArgs["result"]["dataType"]>; composites: {}; }; export type DataTypeGetPayload = runtime.Types.Result.GetResult; export type DataTypeCountArgs = Omit & { select?: DataTypeCountAggregateInputType | true; }; export interface DataTypeDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['DataType']; meta: { name: 'DataType'; }; }; /** * Find zero or one DataType that matches the filter. * @param {DataTypeFindUniqueArgs} args - Arguments to find a DataType * @example * // Get one DataType * const dataType = await prisma.dataType.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__DataTypeClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>; /** * Find one DataType that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {DataTypeFindUniqueOrThrowArgs} args - Arguments to find a DataType * @example * // Get one DataType * const dataType = await prisma.dataType.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__DataTypeClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Find the first DataType 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 {DataTypeFindFirstArgs} args - Arguments to find a DataType * @example * // Get one DataType * const dataType = await prisma.dataType.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__DataTypeClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>; /** * Find the first DataType 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 {DataTypeFindFirstOrThrowArgs} args - Arguments to find a DataType * @example * // Get one DataType * const dataType = await prisma.dataType.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__DataTypeClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Find zero or more DataTypes 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 {DataTypeFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all DataTypes * const dataTypes = await prisma.dataType.findMany() * * // Get first 10 DataTypes * const dataTypes = await prisma.dataType.findMany({ take: 10 }) * * // Only select the `id` * const dataTypeWithIdOnly = await prisma.dataType.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>>; /** * Create a DataType. * @param {DataTypeCreateArgs} args - Arguments to create a DataType. * @example * // Create one DataType * const DataType = await prisma.dataType.create({ * data: { * // ... data to create a DataType * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__DataTypeClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Create many DataTypes. * @param {DataTypeCreateManyArgs} args - Arguments to create many DataTypes. * @example * // Create many DataTypes * const dataType = await prisma.dataType.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise; /** * Create many DataTypes and returns the data saved in the database. * @param {DataTypeCreateManyAndReturnArgs} args - Arguments to create many DataTypes. * @example * // Create many DataTypes * const dataType = await prisma.dataType.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many DataTypes and only return the `id` * const dataTypeWithIdOnly = await prisma.dataType.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 DataType. * @param {DataTypeDeleteArgs} args - Arguments to delete one DataType. * @example * // Delete one DataType * const DataType = await prisma.dataType.delete({ * where: { * // ... filter to delete one DataType * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__DataTypeClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Update one DataType. * @param {DataTypeUpdateArgs} args - Arguments to update one DataType. * @example * // Update one DataType * const dataType = await prisma.dataType.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__DataTypeClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Delete zero or more DataTypes. * @param {DataTypeDeleteManyArgs} args - Arguments to filter DataTypes to delete. * @example * // Delete a few DataTypes * const { count } = await prisma.dataType.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise; /** * Update zero or more DataTypes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DataTypeUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many DataTypes * const dataType = await prisma.dataType.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise; /** * Update zero or more DataTypes and returns the data updated in the database. * @param {DataTypeUpdateManyAndReturnArgs} args - Arguments to update many DataTypes. * @example * // Update many DataTypes * const dataType = await prisma.dataType.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more DataTypes and only return the `id` * const dataTypeWithIdOnly = await prisma.dataType.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 DataType. * @param {DataTypeUpsertArgs} args - Arguments to update or create a DataType. * @example * // Update or create a DataType * const dataType = await prisma.dataType.upsert({ * create: { * // ... data to create a DataType * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the DataType we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__DataTypeClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Count the number of DataTypes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DataTypeCountArgs} args - Arguments to filter DataTypes to count. * @example * // Count the number of DataTypes * const count = await prisma.dataType.count({ * where: { * // ... the filter for the DataTypes we want to count * } * }) **/ count(args?: Prisma.Subset): Prisma.PrismaPromise ? T['select'] extends true ? number : Prisma.GetScalarType : number>; /** * Allows you to perform aggregations operations on a DataType. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DataTypeAggregateArgs} 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 DataType. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DataTypeGroupByArgs} 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>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: DataTypeGroupByArgs['orderBy']; } : { orderBy?: DataTypeGroupByArgs['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 ? GetDataTypeGroupByPayload : Prisma.PrismaPromise; /** * Fields of the DataType model */ readonly fields: DataTypeFieldRefs; } /** * The delegate class that acts as a "Promise-like" for DataType. * 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__DataTypeClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise"; /** * 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 DataType model */ export interface DataTypeFieldRefs { readonly id: Prisma.FieldRef<"DataType", 'String'>; readonly createdAt: Prisma.FieldRef<"DataType", 'DateTime'>; readonly updatedAt: Prisma.FieldRef<"DataType", 'DateTime'>; readonly intField: Prisma.FieldRef<"DataType", 'Int'>; readonly bigIntField: Prisma.FieldRef<"DataType", 'BigInt'>; readonly floatField: Prisma.FieldRef<"DataType", 'Float'>; readonly decimalField: Prisma.FieldRef<"DataType", 'Decimal'>; readonly boolField: Prisma.FieldRef<"DataType", 'Boolean'>; readonly dateTimeField: Prisma.FieldRef<"DataType", 'DateTime'>; readonly jsonField: Prisma.FieldRef<"DataType", 'Json'>; readonly bytesField: Prisma.FieldRef<"DataType", 'Bytes'>; readonly stringList: Prisma.FieldRef<"DataType", 'String[]'>; readonly intList: Prisma.FieldRef<"DataType", 'Int[]'>; readonly color: Prisma.FieldRef<"DataType", 'Color'>; readonly optionalString: Prisma.FieldRef<"DataType", 'String'>; readonly optionalInt: Prisma.FieldRef<"DataType", 'Int'>; } /** * DataType findUnique */ export type DataTypeFindUniqueArgs = { /** * Select specific fields to fetch from the DataType */ select?: Prisma.DataTypeSelect | null; /** * Omit specific fields from the DataType */ omit?: Prisma.DataTypeOmit | null; /** * Filter, which DataType to fetch. */ where: Prisma.DataTypeWhereUniqueInput; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * DataType findUniqueOrThrow */ export type DataTypeFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the DataType */ select?: Prisma.DataTypeSelect | null; /** * Omit specific fields from the DataType */ omit?: Prisma.DataTypeOmit | null; /** * Filter, which DataType to fetch. */ where: Prisma.DataTypeWhereUniqueInput; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * DataType findFirst */ export type DataTypeFindFirstArgs = { /** * Select specific fields to fetch from the DataType */ select?: Prisma.DataTypeSelect | null; /** * Omit specific fields from the DataType */ omit?: Prisma.DataTypeOmit | null; /** * Filter, which DataType to fetch. */ where?: Prisma.DataTypeWhereInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DataTypes to fetch. */ orderBy?: Prisma.DataTypeOrderByWithRelationInput | Prisma.DataTypeOrderByWithRelationInput[] | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for DataTypes. */ cursor?: Prisma.DataTypeWhereUniqueInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DataTypes from the position of the cursor. */ take?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` DataTypes. */ skip?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of DataTypes. */ distinct?: Prisma.DataTypeScalarFieldEnum | Prisma.DataTypeScalarFieldEnum[] | runtime.Types.Skip; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * DataType findFirstOrThrow */ export type DataTypeFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the DataType */ select?: Prisma.DataTypeSelect | null; /** * Omit specific fields from the DataType */ omit?: Prisma.DataTypeOmit | null; /** * Filter, which DataType to fetch. */ where?: Prisma.DataTypeWhereInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DataTypes to fetch. */ orderBy?: Prisma.DataTypeOrderByWithRelationInput | Prisma.DataTypeOrderByWithRelationInput[] | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for DataTypes. */ cursor?: Prisma.DataTypeWhereUniqueInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DataTypes from the position of the cursor. */ take?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` DataTypes. */ skip?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of DataTypes. */ distinct?: Prisma.DataTypeScalarFieldEnum | Prisma.DataTypeScalarFieldEnum[] | runtime.Types.Skip; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * DataType findMany */ export type DataTypeFindManyArgs = { /** * Select specific fields to fetch from the DataType */ select?: Prisma.DataTypeSelect | null; /** * Omit specific fields from the DataType */ omit?: Prisma.DataTypeOmit | null; /** * Filter, which DataTypes to fetch. */ where?: Prisma.DataTypeWhereInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DataTypes to fetch. */ orderBy?: Prisma.DataTypeOrderByWithRelationInput | Prisma.DataTypeOrderByWithRelationInput[] | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing DataTypes. */ cursor?: Prisma.DataTypeWhereUniqueInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DataTypes from the position of the cursor. */ take?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` DataTypes. */ skip?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of DataTypes. */ distinct?: Prisma.DataTypeScalarFieldEnum | Prisma.DataTypeScalarFieldEnum[] | runtime.Types.Skip; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * DataType create */ export type DataTypeCreateArgs = { /** * Select specific fields to fetch from the DataType */ select?: Prisma.DataTypeSelect | null; /** * Omit specific fields from the DataType */ omit?: Prisma.DataTypeOmit | null; /** * The data needed to create a DataType. */ data: Prisma.XOR; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * DataType createMany */ export type DataTypeCreateManyArgs = { /** * The data used to create many DataTypes. */ data: Prisma.DataTypeCreateManyInput | Prisma.DataTypeCreateManyInput[]; skipDuplicates?: boolean | runtime.Types.Skip; }; /** * DataType createManyAndReturn */ export type DataTypeCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the DataType */ select?: Prisma.DataTypeSelectCreateManyAndReturn | null; /** * Omit specific fields from the DataType */ omit?: Prisma.DataTypeOmit | null; /** * The data used to create many DataTypes. */ data: Prisma.DataTypeCreateManyInput | Prisma.DataTypeCreateManyInput[]; skipDuplicates?: boolean | runtime.Types.Skip; }; /** * DataType update */ export type DataTypeUpdateArgs = { /** * Select specific fields to fetch from the DataType */ select?: Prisma.DataTypeSelect | null; /** * Omit specific fields from the DataType */ omit?: Prisma.DataTypeOmit | null; /** * The data needed to update a DataType. */ data: Prisma.XOR; /** * Choose, which DataType to update. */ where: Prisma.DataTypeWhereUniqueInput; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * DataType updateMany */ export type DataTypeUpdateManyArgs = { /** * The data used to update DataTypes. */ data: Prisma.XOR; /** * Filter which DataTypes to update */ where?: Prisma.DataTypeWhereInput | runtime.Types.Skip; /** * Limit how many DataTypes to update. */ limit?: number | runtime.Types.Skip; }; /** * DataType updateManyAndReturn */ export type DataTypeUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the DataType */ select?: Prisma.DataTypeSelectUpdateManyAndReturn | null; /** * Omit specific fields from the DataType */ omit?: Prisma.DataTypeOmit | null; /** * The data used to update DataTypes. */ data: Prisma.XOR; /** * Filter which DataTypes to update */ where?: Prisma.DataTypeWhereInput | runtime.Types.Skip; /** * Limit how many DataTypes to update. */ limit?: number | runtime.Types.Skip; }; /** * DataType upsert */ export type DataTypeUpsertArgs = { /** * Select specific fields to fetch from the DataType */ select?: Prisma.DataTypeSelect | null; /** * Omit specific fields from the DataType */ omit?: Prisma.DataTypeOmit | null; /** * The filter to search for the DataType to update in case it exists. */ where: Prisma.DataTypeWhereUniqueInput; /** * In case the DataType found by the `where` argument doesn't exist, create a new DataType with this data. */ create: Prisma.XOR; /** * In case the DataType was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * DataType delete */ export type DataTypeDeleteArgs = { /** * Select specific fields to fetch from the DataType */ select?: Prisma.DataTypeSelect | null; /** * Omit specific fields from the DataType */ omit?: Prisma.DataTypeOmit | null; /** * Filter which DataType to delete. */ where: Prisma.DataTypeWhereUniqueInput; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * DataType deleteMany */ export type DataTypeDeleteManyArgs = { /** * Filter which DataTypes to delete */ where?: Prisma.DataTypeWhereInput | runtime.Types.Skip; /** * Limit how many DataTypes to delete. */ limit?: number | runtime.Types.Skip; }; /** * DataType without action */ export type DataTypeDefaultArgs = { /** * Select specific fields to fetch from the DataType */ select?: Prisma.DataTypeSelect | null; /** * Omit specific fields from the DataType */ omit?: Prisma.DataTypeOmit | null; };