Files
HiveGrid-Wireframes/hivegrid-cloud/packages/db/generated/prisma/client/models/DataConnection.ts
T

1451 lines
55 KiB
TypeScript

/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck
/*
* This file exports the `DataConnection` 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 DataConnection
*
*/
export type DataConnectionModel = runtime.Types.Result.DefaultSelection<Prisma.$DataConnectionPayload>
export type AggregateDataConnection = {
_count: DataConnectionCountAggregateOutputType | null
_min: DataConnectionMinAggregateOutputType | null
_max: DataConnectionMaxAggregateOutputType | null
}
export type DataConnectionMinAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
tenantId: string | null
name: string | null
type: string | null
config: string | null
description: string | null
}
export type DataConnectionMaxAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
tenantId: string | null
name: string | null
type: string | null
config: string | null
description: string | null
}
export type DataConnectionCountAggregateOutputType = {
id: number
createdAt: number
updatedAt: number
tenantId: number
name: number
type: number
config: number
description: number
_all: number
}
export type DataConnectionMinAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
name?: true
type?: true
config?: true
description?: true
}
export type DataConnectionMaxAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
name?: true
type?: true
config?: true
description?: true
}
export type DataConnectionCountAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
name?: true
type?: true
config?: true
description?: true
_all?: true
}
export type DataConnectionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which DataConnection to aggregate.
*/
where?: Prisma.DataConnectionWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of DataConnections to fetch.
*/
orderBy?: Prisma.DataConnectionOrderByWithRelationInput | Prisma.DataConnectionOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.DataConnectionWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` DataConnections 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` DataConnections.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned DataConnections
**/
_count?: true | DataConnectionCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: DataConnectionMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: DataConnectionMaxAggregateInputType
}
export type GetDataConnectionAggregateType<T extends DataConnectionAggregateArgs> = {
[P in keyof T & keyof AggregateDataConnection]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateDataConnection[P]>
: Prisma.GetScalarType<T[P], AggregateDataConnection[P]>
}
export type DataConnectionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.DataConnectionWhereInput
orderBy?: Prisma.DataConnectionOrderByWithAggregationInput | Prisma.DataConnectionOrderByWithAggregationInput[]
by: Prisma.DataConnectionScalarFieldEnum[] | Prisma.DataConnectionScalarFieldEnum
having?: Prisma.DataConnectionScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: DataConnectionCountAggregateInputType | true
_min?: DataConnectionMinAggregateInputType
_max?: DataConnectionMaxAggregateInputType
}
export type DataConnectionGroupByOutputType = {
id: string
createdAt: Date
updatedAt: Date
tenantId: string
name: string
type: string
config: string
description: string | null
_count: DataConnectionCountAggregateOutputType | null
_min: DataConnectionMinAggregateOutputType | null
_max: DataConnectionMaxAggregateOutputType | null
}
export type GetDataConnectionGroupByPayload<T extends DataConnectionGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<DataConnectionGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof DataConnectionGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], DataConnectionGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], DataConnectionGroupByOutputType[P]>
}
>
>
export type DataConnectionWhereInput = {
AND?: Prisma.DataConnectionWhereInput | Prisma.DataConnectionWhereInput[]
OR?: Prisma.DataConnectionWhereInput[]
NOT?: Prisma.DataConnectionWhereInput | Prisma.DataConnectionWhereInput[]
id?: Prisma.StringFilter<"DataConnection"> | string
createdAt?: Prisma.DateTimeFilter<"DataConnection"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"DataConnection"> | Date | string
tenantId?: Prisma.StringFilter<"DataConnection"> | string
name?: Prisma.StringFilter<"DataConnection"> | string
type?: Prisma.StringFilter<"DataConnection"> | string
config?: Prisma.StringFilter<"DataConnection"> | string
description?: Prisma.StringNullableFilter<"DataConnection"> | string | null
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>
}
export type DataConnectionOrderByWithRelationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
name?: Prisma.SortOrder
type?: Prisma.SortOrder
config?: Prisma.SortOrder
description?: Prisma.SortOrderInput | Prisma.SortOrder
tenant?: Prisma.TenantOrderByWithRelationInput
}
export type DataConnectionWhereUniqueInput = Prisma.AtLeast<{
id?: string
AND?: Prisma.DataConnectionWhereInput | Prisma.DataConnectionWhereInput[]
OR?: Prisma.DataConnectionWhereInput[]
NOT?: Prisma.DataConnectionWhereInput | Prisma.DataConnectionWhereInput[]
createdAt?: Prisma.DateTimeFilter<"DataConnection"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"DataConnection"> | Date | string
tenantId?: Prisma.StringFilter<"DataConnection"> | string
name?: Prisma.StringFilter<"DataConnection"> | string
type?: Prisma.StringFilter<"DataConnection"> | string
config?: Prisma.StringFilter<"DataConnection"> | string
description?: Prisma.StringNullableFilter<"DataConnection"> | string | null
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>
}, "id">
export type DataConnectionOrderByWithAggregationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
name?: Prisma.SortOrder
type?: Prisma.SortOrder
config?: Prisma.SortOrder
description?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.DataConnectionCountOrderByAggregateInput
_max?: Prisma.DataConnectionMaxOrderByAggregateInput
_min?: Prisma.DataConnectionMinOrderByAggregateInput
}
export type DataConnectionScalarWhereWithAggregatesInput = {
AND?: Prisma.DataConnectionScalarWhereWithAggregatesInput | Prisma.DataConnectionScalarWhereWithAggregatesInput[]
OR?: Prisma.DataConnectionScalarWhereWithAggregatesInput[]
NOT?: Prisma.DataConnectionScalarWhereWithAggregatesInput | Prisma.DataConnectionScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"DataConnection"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"DataConnection"> | Date | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"DataConnection"> | Date | string
tenantId?: Prisma.StringWithAggregatesFilter<"DataConnection"> | string
name?: Prisma.StringWithAggregatesFilter<"DataConnection"> | string
type?: Prisma.StringWithAggregatesFilter<"DataConnection"> | string
config?: Prisma.StringWithAggregatesFilter<"DataConnection"> | string
description?: Prisma.StringNullableWithAggregatesFilter<"DataConnection"> | string | null
}
export type DataConnectionCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
name: string
type: string
config?: string
description?: string | null
tenant: Prisma.TenantCreateNestedOneWithoutDataConnectionsInput
}
export type DataConnectionUncheckedCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
name: string
type: string
config?: string
description?: string | null
}
export type DataConnectionUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
name?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.StringFieldUpdateOperationsInput | string
config?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
tenant?: Prisma.TenantUpdateOneRequiredWithoutDataConnectionsNestedInput
}
export type DataConnectionUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.StringFieldUpdateOperationsInput | string
config?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type DataConnectionCreateManyInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
name: string
type: string
config?: string
description?: string | null
}
export type DataConnectionUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
name?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.StringFieldUpdateOperationsInput | string
config?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type DataConnectionUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.StringFieldUpdateOperationsInput | string
config?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type DataConnectionListRelationFilter = {
every?: Prisma.DataConnectionWhereInput
some?: Prisma.DataConnectionWhereInput
none?: Prisma.DataConnectionWhereInput
}
export type DataConnectionOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type DataConnectionCountOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
name?: Prisma.SortOrder
type?: Prisma.SortOrder
config?: Prisma.SortOrder
description?: Prisma.SortOrder
}
export type DataConnectionMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
name?: Prisma.SortOrder
type?: Prisma.SortOrder
config?: Prisma.SortOrder
description?: Prisma.SortOrder
}
export type DataConnectionMinOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
name?: Prisma.SortOrder
type?: Prisma.SortOrder
config?: Prisma.SortOrder
description?: Prisma.SortOrder
}
export type DataConnectionCreateNestedManyWithoutTenantInput = {
create?: Prisma.XOR<Prisma.DataConnectionCreateWithoutTenantInput, Prisma.DataConnectionUncheckedCreateWithoutTenantInput> | Prisma.DataConnectionCreateWithoutTenantInput[] | Prisma.DataConnectionUncheckedCreateWithoutTenantInput[]
connectOrCreate?: Prisma.DataConnectionCreateOrConnectWithoutTenantInput | Prisma.DataConnectionCreateOrConnectWithoutTenantInput[]
createMany?: Prisma.DataConnectionCreateManyTenantInputEnvelope
connect?: Prisma.DataConnectionWhereUniqueInput | Prisma.DataConnectionWhereUniqueInput[]
}
export type DataConnectionUncheckedCreateNestedManyWithoutTenantInput = {
create?: Prisma.XOR<Prisma.DataConnectionCreateWithoutTenantInput, Prisma.DataConnectionUncheckedCreateWithoutTenantInput> | Prisma.DataConnectionCreateWithoutTenantInput[] | Prisma.DataConnectionUncheckedCreateWithoutTenantInput[]
connectOrCreate?: Prisma.DataConnectionCreateOrConnectWithoutTenantInput | Prisma.DataConnectionCreateOrConnectWithoutTenantInput[]
createMany?: Prisma.DataConnectionCreateManyTenantInputEnvelope
connect?: Prisma.DataConnectionWhereUniqueInput | Prisma.DataConnectionWhereUniqueInput[]
}
export type DataConnectionUpdateManyWithoutTenantNestedInput = {
create?: Prisma.XOR<Prisma.DataConnectionCreateWithoutTenantInput, Prisma.DataConnectionUncheckedCreateWithoutTenantInput> | Prisma.DataConnectionCreateWithoutTenantInput[] | Prisma.DataConnectionUncheckedCreateWithoutTenantInput[]
connectOrCreate?: Prisma.DataConnectionCreateOrConnectWithoutTenantInput | Prisma.DataConnectionCreateOrConnectWithoutTenantInput[]
upsert?: Prisma.DataConnectionUpsertWithWhereUniqueWithoutTenantInput | Prisma.DataConnectionUpsertWithWhereUniqueWithoutTenantInput[]
createMany?: Prisma.DataConnectionCreateManyTenantInputEnvelope
set?: Prisma.DataConnectionWhereUniqueInput | Prisma.DataConnectionWhereUniqueInput[]
disconnect?: Prisma.DataConnectionWhereUniqueInput | Prisma.DataConnectionWhereUniqueInput[]
delete?: Prisma.DataConnectionWhereUniqueInput | Prisma.DataConnectionWhereUniqueInput[]
connect?: Prisma.DataConnectionWhereUniqueInput | Prisma.DataConnectionWhereUniqueInput[]
update?: Prisma.DataConnectionUpdateWithWhereUniqueWithoutTenantInput | Prisma.DataConnectionUpdateWithWhereUniqueWithoutTenantInput[]
updateMany?: Prisma.DataConnectionUpdateManyWithWhereWithoutTenantInput | Prisma.DataConnectionUpdateManyWithWhereWithoutTenantInput[]
deleteMany?: Prisma.DataConnectionScalarWhereInput | Prisma.DataConnectionScalarWhereInput[]
}
export type DataConnectionUncheckedUpdateManyWithoutTenantNestedInput = {
create?: Prisma.XOR<Prisma.DataConnectionCreateWithoutTenantInput, Prisma.DataConnectionUncheckedCreateWithoutTenantInput> | Prisma.DataConnectionCreateWithoutTenantInput[] | Prisma.DataConnectionUncheckedCreateWithoutTenantInput[]
connectOrCreate?: Prisma.DataConnectionCreateOrConnectWithoutTenantInput | Prisma.DataConnectionCreateOrConnectWithoutTenantInput[]
upsert?: Prisma.DataConnectionUpsertWithWhereUniqueWithoutTenantInput | Prisma.DataConnectionUpsertWithWhereUniqueWithoutTenantInput[]
createMany?: Prisma.DataConnectionCreateManyTenantInputEnvelope
set?: Prisma.DataConnectionWhereUniqueInput | Prisma.DataConnectionWhereUniqueInput[]
disconnect?: Prisma.DataConnectionWhereUniqueInput | Prisma.DataConnectionWhereUniqueInput[]
delete?: Prisma.DataConnectionWhereUniqueInput | Prisma.DataConnectionWhereUniqueInput[]
connect?: Prisma.DataConnectionWhereUniqueInput | Prisma.DataConnectionWhereUniqueInput[]
update?: Prisma.DataConnectionUpdateWithWhereUniqueWithoutTenantInput | Prisma.DataConnectionUpdateWithWhereUniqueWithoutTenantInput[]
updateMany?: Prisma.DataConnectionUpdateManyWithWhereWithoutTenantInput | Prisma.DataConnectionUpdateManyWithWhereWithoutTenantInput[]
deleteMany?: Prisma.DataConnectionScalarWhereInput | Prisma.DataConnectionScalarWhereInput[]
}
export type DataConnectionCreateWithoutTenantInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
name: string
type: string
config?: string
description?: string | null
}
export type DataConnectionUncheckedCreateWithoutTenantInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
name: string
type: string
config?: string
description?: string | null
}
export type DataConnectionCreateOrConnectWithoutTenantInput = {
where: Prisma.DataConnectionWhereUniqueInput
create: Prisma.XOR<Prisma.DataConnectionCreateWithoutTenantInput, Prisma.DataConnectionUncheckedCreateWithoutTenantInput>
}
export type DataConnectionCreateManyTenantInputEnvelope = {
data: Prisma.DataConnectionCreateManyTenantInput | Prisma.DataConnectionCreateManyTenantInput[]
skipDuplicates?: boolean
}
export type DataConnectionUpsertWithWhereUniqueWithoutTenantInput = {
where: Prisma.DataConnectionWhereUniqueInput
update: Prisma.XOR<Prisma.DataConnectionUpdateWithoutTenantInput, Prisma.DataConnectionUncheckedUpdateWithoutTenantInput>
create: Prisma.XOR<Prisma.DataConnectionCreateWithoutTenantInput, Prisma.DataConnectionUncheckedCreateWithoutTenantInput>
}
export type DataConnectionUpdateWithWhereUniqueWithoutTenantInput = {
where: Prisma.DataConnectionWhereUniqueInput
data: Prisma.XOR<Prisma.DataConnectionUpdateWithoutTenantInput, Prisma.DataConnectionUncheckedUpdateWithoutTenantInput>
}
export type DataConnectionUpdateManyWithWhereWithoutTenantInput = {
where: Prisma.DataConnectionScalarWhereInput
data: Prisma.XOR<Prisma.DataConnectionUpdateManyMutationInput, Prisma.DataConnectionUncheckedUpdateManyWithoutTenantInput>
}
export type DataConnectionScalarWhereInput = {
AND?: Prisma.DataConnectionScalarWhereInput | Prisma.DataConnectionScalarWhereInput[]
OR?: Prisma.DataConnectionScalarWhereInput[]
NOT?: Prisma.DataConnectionScalarWhereInput | Prisma.DataConnectionScalarWhereInput[]
id?: Prisma.StringFilter<"DataConnection"> | string
createdAt?: Prisma.DateTimeFilter<"DataConnection"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"DataConnection"> | Date | string
tenantId?: Prisma.StringFilter<"DataConnection"> | string
name?: Prisma.StringFilter<"DataConnection"> | string
type?: Prisma.StringFilter<"DataConnection"> | string
config?: Prisma.StringFilter<"DataConnection"> | string
description?: Prisma.StringNullableFilter<"DataConnection"> | string | null
}
export type DataConnectionCreateManyTenantInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
name: string
type: string
config?: string
description?: string | null
}
export type DataConnectionUpdateWithoutTenantInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
name?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.StringFieldUpdateOperationsInput | string
config?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type DataConnectionUncheckedUpdateWithoutTenantInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
name?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.StringFieldUpdateOperationsInput | string
config?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type DataConnectionUncheckedUpdateManyWithoutTenantInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
name?: Prisma.StringFieldUpdateOperationsInput | string
type?: Prisma.StringFieldUpdateOperationsInput | string
config?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type DataConnectionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
name?: boolean
type?: boolean
config?: boolean
description?: boolean
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
}, ExtArgs["result"]["dataConnection"]>
export type DataConnectionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
name?: boolean
type?: boolean
config?: boolean
description?: boolean
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
}, ExtArgs["result"]["dataConnection"]>
export type DataConnectionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
name?: boolean
type?: boolean
config?: boolean
description?: boolean
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
}, ExtArgs["result"]["dataConnection"]>
export type DataConnectionSelectScalar = {
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
name?: boolean
type?: boolean
config?: boolean
description?: boolean
}
export type DataConnectionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "name" | "type" | "config" | "description", ExtArgs["result"]["dataConnection"]>
export type DataConnectionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
}
export type DataConnectionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
}
export type DataConnectionIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
}
export type $DataConnectionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "DataConnection"
objects: {
tenant: Prisma.$TenantPayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
createdAt: Date
updatedAt: Date
tenantId: string
name: string
type: string
config: string
description: string | null
}, ExtArgs["result"]["dataConnection"]>
composites: {}
}
export type DataConnectionGetPayload<S extends boolean | null | undefined | DataConnectionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DataConnectionPayload, S>
export type DataConnectionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<DataConnectionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: DataConnectionCountAggregateInputType | true
}
export interface DataConnectionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DataConnection'], meta: { name: 'DataConnection' } }
/**
* Find zero or one DataConnection that matches the filter.
* @param {DataConnectionFindUniqueArgs} args - Arguments to find a DataConnection
* @example
* // Get one DataConnection
* const dataConnection = await prisma.dataConnection.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends DataConnectionFindUniqueArgs>(args: Prisma.SelectSubset<T, DataConnectionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DataConnectionClient<runtime.Types.Result.GetResult<Prisma.$DataConnectionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one DataConnection that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {DataConnectionFindUniqueOrThrowArgs} args - Arguments to find a DataConnection
* @example
* // Get one DataConnection
* const dataConnection = await prisma.dataConnection.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends DataConnectionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DataConnectionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DataConnectionClient<runtime.Types.Result.GetResult<Prisma.$DataConnectionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first DataConnection 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 {DataConnectionFindFirstArgs} args - Arguments to find a DataConnection
* @example
* // Get one DataConnection
* const dataConnection = await prisma.dataConnection.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends DataConnectionFindFirstArgs>(args?: Prisma.SelectSubset<T, DataConnectionFindFirstArgs<ExtArgs>>): Prisma.Prisma__DataConnectionClient<runtime.Types.Result.GetResult<Prisma.$DataConnectionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first DataConnection 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 {DataConnectionFindFirstOrThrowArgs} args - Arguments to find a DataConnection
* @example
* // Get one DataConnection
* const dataConnection = await prisma.dataConnection.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends DataConnectionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DataConnectionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DataConnectionClient<runtime.Types.Result.GetResult<Prisma.$DataConnectionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more DataConnections 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 {DataConnectionFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all DataConnections
* const dataConnections = await prisma.dataConnection.findMany()
*
* // Get first 10 DataConnections
* const dataConnections = await prisma.dataConnection.findMany({ take: 10 })
*
* // Only select the `id`
* const dataConnectionWithIdOnly = await prisma.dataConnection.findMany({ select: { id: true } })
*
*/
findMany<T extends DataConnectionFindManyArgs>(args?: Prisma.SelectSubset<T, DataConnectionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DataConnectionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a DataConnection.
* @param {DataConnectionCreateArgs} args - Arguments to create a DataConnection.
* @example
* // Create one DataConnection
* const DataConnection = await prisma.dataConnection.create({
* data: {
* // ... data to create a DataConnection
* }
* })
*
*/
create<T extends DataConnectionCreateArgs>(args: Prisma.SelectSubset<T, DataConnectionCreateArgs<ExtArgs>>): Prisma.Prisma__DataConnectionClient<runtime.Types.Result.GetResult<Prisma.$DataConnectionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many DataConnections.
* @param {DataConnectionCreateManyArgs} args - Arguments to create many DataConnections.
* @example
* // Create many DataConnections
* const dataConnection = await prisma.dataConnection.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends DataConnectionCreateManyArgs>(args?: Prisma.SelectSubset<T, DataConnectionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many DataConnections and returns the data saved in the database.
* @param {DataConnectionCreateManyAndReturnArgs} args - Arguments to create many DataConnections.
* @example
* // Create many DataConnections
* const dataConnection = await prisma.dataConnection.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many DataConnections and only return the `id`
* const dataConnectionWithIdOnly = await prisma.dataConnection.createManyAndReturn({
* select: { id: true },
* data: [
* // ... provide data here
* ]
* })
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
*
*/
createManyAndReturn<T extends DataConnectionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DataConnectionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DataConnectionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a DataConnection.
* @param {DataConnectionDeleteArgs} args - Arguments to delete one DataConnection.
* @example
* // Delete one DataConnection
* const DataConnection = await prisma.dataConnection.delete({
* where: {
* // ... filter to delete one DataConnection
* }
* })
*
*/
delete<T extends DataConnectionDeleteArgs>(args: Prisma.SelectSubset<T, DataConnectionDeleteArgs<ExtArgs>>): Prisma.Prisma__DataConnectionClient<runtime.Types.Result.GetResult<Prisma.$DataConnectionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one DataConnection.
* @param {DataConnectionUpdateArgs} args - Arguments to update one DataConnection.
* @example
* // Update one DataConnection
* const dataConnection = await prisma.dataConnection.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends DataConnectionUpdateArgs>(args: Prisma.SelectSubset<T, DataConnectionUpdateArgs<ExtArgs>>): Prisma.Prisma__DataConnectionClient<runtime.Types.Result.GetResult<Prisma.$DataConnectionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more DataConnections.
* @param {DataConnectionDeleteManyArgs} args - Arguments to filter DataConnections to delete.
* @example
* // Delete a few DataConnections
* const { count } = await prisma.dataConnection.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends DataConnectionDeleteManyArgs>(args?: Prisma.SelectSubset<T, DataConnectionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more DataConnections.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {DataConnectionUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many DataConnections
* const dataConnection = await prisma.dataConnection.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends DataConnectionUpdateManyArgs>(args: Prisma.SelectSubset<T, DataConnectionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more DataConnections and returns the data updated in the database.
* @param {DataConnectionUpdateManyAndReturnArgs} args - Arguments to update many DataConnections.
* @example
* // Update many DataConnections
* const dataConnection = await prisma.dataConnection.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more DataConnections and only return the `id`
* const dataConnectionWithIdOnly = await prisma.dataConnection.updateManyAndReturn({
* select: { id: true },
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
*
*/
updateManyAndReturn<T extends DataConnectionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DataConnectionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DataConnectionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one DataConnection.
* @param {DataConnectionUpsertArgs} args - Arguments to update or create a DataConnection.
* @example
* // Update or create a DataConnection
* const dataConnection = await prisma.dataConnection.upsert({
* create: {
* // ... data to create a DataConnection
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the DataConnection we want to update
* }
* })
*/
upsert<T extends DataConnectionUpsertArgs>(args: Prisma.SelectSubset<T, DataConnectionUpsertArgs<ExtArgs>>): Prisma.Prisma__DataConnectionClient<runtime.Types.Result.GetResult<Prisma.$DataConnectionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of DataConnections.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {DataConnectionCountArgs} args - Arguments to filter DataConnections to count.
* @example
* // Count the number of DataConnections
* const count = await prisma.dataConnection.count({
* where: {
* // ... the filter for the DataConnections we want to count
* }
* })
**/
count<T extends DataConnectionCountArgs>(
args?: Prisma.Subset<T, DataConnectionCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], DataConnectionCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a DataConnection.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {DataConnectionAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
* @example
* // Ordered by age ascending
* // Where email contains prisma.io
* // Limited to the 10 users
* const aggregations = await prisma.user.aggregate({
* _avg: {
* age: true,
* },
* where: {
* email: {
* contains: "prisma.io",
* },
* },
* orderBy: {
* age: "asc",
* },
* take: 10,
* })
**/
aggregate<T extends DataConnectionAggregateArgs>(args: Prisma.Subset<T, DataConnectionAggregateArgs>): Prisma.PrismaPromise<GetDataConnectionAggregateType<T>>
/**
* Group by DataConnection.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {DataConnectionGroupByArgs} 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 DataConnectionGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: DataConnectionGroupByArgs['orderBy'] }
: { orderBy?: DataConnectionGroupByArgs['orderBy'] },
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
ByValid extends Prisma.Has<ByFields, OrderFields>,
HavingFields extends Prisma.GetHavingFields<T['having']>,
HavingValid extends Prisma.Has<ByFields, HavingFields>,
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
InputErrors extends ByEmpty extends Prisma.True
? `Error: "by" must not be empty.`
: HavingValid extends Prisma.False
? {
[P in HavingFields]: P extends ByFields
? never
: P extends string
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
: [
Error,
'Field ',
P,
` in "having" needs to be provided in "by"`,
]
}[HavingFields]
: 'take' extends Prisma.Keys<T>
? 'orderBy' extends Prisma.Keys<T>
? ByValid extends Prisma.True
? {}
: {
[P in OrderFields]: P extends ByFields
? never
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
}[OrderFields]
: 'Error: If you provide "take", you also need to provide "orderBy"'
: 'skip' extends Prisma.Keys<T>
? 'orderBy' extends Prisma.Keys<T>
? ByValid extends Prisma.True
? {}
: {
[P in OrderFields]: P extends ByFields
? never
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
}[OrderFields]
: 'Error: If you provide "skip", you also need to provide "orderBy"'
: ByValid extends Prisma.True
? {}
: {
[P in OrderFields]: P extends ByFields
? never
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
}[OrderFields]
>(args: Prisma.SubsetIntersection<T, DataConnectionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDataConnectionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the DataConnection model
*/
readonly fields: DataConnectionFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for DataConnection.
* 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__DataConnectionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
tenant<T extends Prisma.TenantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TenantDefaultArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
/**
* Attaches callbacks for the resolution and/or rejection of the Promise.
* @param onfulfilled The callback to execute when the Promise is resolved.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of which ever callback is executed.
*/
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
/**
* Attaches a callback for only the rejection of the Promise.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of the callback.
*/
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
/**
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
* resolved value cannot be modified from the callback.
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
* @returns A Promise for the completion of the callback.
*/
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
}
/**
* Fields of the DataConnection model
*/
export interface DataConnectionFieldRefs {
readonly id: Prisma.FieldRef<"DataConnection", 'String'>
readonly createdAt: Prisma.FieldRef<"DataConnection", 'DateTime'>
readonly updatedAt: Prisma.FieldRef<"DataConnection", 'DateTime'>
readonly tenantId: Prisma.FieldRef<"DataConnection", 'String'>
readonly name: Prisma.FieldRef<"DataConnection", 'String'>
readonly type: Prisma.FieldRef<"DataConnection", 'String'>
readonly config: Prisma.FieldRef<"DataConnection", 'String'>
readonly description: Prisma.FieldRef<"DataConnection", 'String'>
}
// Custom InputTypes
/**
* DataConnection findUnique
*/
export type DataConnectionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DataConnection
*/
select?: Prisma.DataConnectionSelect<ExtArgs> | null
/**
* Omit specific fields from the DataConnection
*/
omit?: Prisma.DataConnectionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DataConnectionInclude<ExtArgs> | null
/**
* Filter, which DataConnection to fetch.
*/
where: Prisma.DataConnectionWhereUniqueInput
}
/**
* DataConnection findUniqueOrThrow
*/
export type DataConnectionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DataConnection
*/
select?: Prisma.DataConnectionSelect<ExtArgs> | null
/**
* Omit specific fields from the DataConnection
*/
omit?: Prisma.DataConnectionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DataConnectionInclude<ExtArgs> | null
/**
* Filter, which DataConnection to fetch.
*/
where: Prisma.DataConnectionWhereUniqueInput
}
/**
* DataConnection findFirst
*/
export type DataConnectionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DataConnection
*/
select?: Prisma.DataConnectionSelect<ExtArgs> | null
/**
* Omit specific fields from the DataConnection
*/
omit?: Prisma.DataConnectionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DataConnectionInclude<ExtArgs> | null
/**
* Filter, which DataConnection to fetch.
*/
where?: Prisma.DataConnectionWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of DataConnections to fetch.
*/
orderBy?: Prisma.DataConnectionOrderByWithRelationInput | Prisma.DataConnectionOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for DataConnections.
*/
cursor?: Prisma.DataConnectionWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` DataConnections 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` DataConnections.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of DataConnections.
*/
distinct?: Prisma.DataConnectionScalarFieldEnum | Prisma.DataConnectionScalarFieldEnum[]
}
/**
* DataConnection findFirstOrThrow
*/
export type DataConnectionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DataConnection
*/
select?: Prisma.DataConnectionSelect<ExtArgs> | null
/**
* Omit specific fields from the DataConnection
*/
omit?: Prisma.DataConnectionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DataConnectionInclude<ExtArgs> | null
/**
* Filter, which DataConnection to fetch.
*/
where?: Prisma.DataConnectionWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of DataConnections to fetch.
*/
orderBy?: Prisma.DataConnectionOrderByWithRelationInput | Prisma.DataConnectionOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for DataConnections.
*/
cursor?: Prisma.DataConnectionWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` DataConnections 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` DataConnections.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of DataConnections.
*/
distinct?: Prisma.DataConnectionScalarFieldEnum | Prisma.DataConnectionScalarFieldEnum[]
}
/**
* DataConnection findMany
*/
export type DataConnectionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DataConnection
*/
select?: Prisma.DataConnectionSelect<ExtArgs> | null
/**
* Omit specific fields from the DataConnection
*/
omit?: Prisma.DataConnectionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DataConnectionInclude<ExtArgs> | null
/**
* Filter, which DataConnections to fetch.
*/
where?: Prisma.DataConnectionWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of DataConnections to fetch.
*/
orderBy?: Prisma.DataConnectionOrderByWithRelationInput | Prisma.DataConnectionOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing DataConnections.
*/
cursor?: Prisma.DataConnectionWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` DataConnections 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` DataConnections.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of DataConnections.
*/
distinct?: Prisma.DataConnectionScalarFieldEnum | Prisma.DataConnectionScalarFieldEnum[]
}
/**
* DataConnection create
*/
export type DataConnectionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DataConnection
*/
select?: Prisma.DataConnectionSelect<ExtArgs> | null
/**
* Omit specific fields from the DataConnection
*/
omit?: Prisma.DataConnectionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DataConnectionInclude<ExtArgs> | null
/**
* The data needed to create a DataConnection.
*/
data: Prisma.XOR<Prisma.DataConnectionCreateInput, Prisma.DataConnectionUncheckedCreateInput>
}
/**
* DataConnection createMany
*/
export type DataConnectionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many DataConnections.
*/
data: Prisma.DataConnectionCreateManyInput | Prisma.DataConnectionCreateManyInput[]
skipDuplicates?: boolean
}
/**
* DataConnection createManyAndReturn
*/
export type DataConnectionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DataConnection
*/
select?: Prisma.DataConnectionSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the DataConnection
*/
omit?: Prisma.DataConnectionOmit<ExtArgs> | null
/**
* The data used to create many DataConnections.
*/
data: Prisma.DataConnectionCreateManyInput | Prisma.DataConnectionCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DataConnectionIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* DataConnection update
*/
export type DataConnectionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DataConnection
*/
select?: Prisma.DataConnectionSelect<ExtArgs> | null
/**
* Omit specific fields from the DataConnection
*/
omit?: Prisma.DataConnectionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DataConnectionInclude<ExtArgs> | null
/**
* The data needed to update a DataConnection.
*/
data: Prisma.XOR<Prisma.DataConnectionUpdateInput, Prisma.DataConnectionUncheckedUpdateInput>
/**
* Choose, which DataConnection to update.
*/
where: Prisma.DataConnectionWhereUniqueInput
}
/**
* DataConnection updateMany
*/
export type DataConnectionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update DataConnections.
*/
data: Prisma.XOR<Prisma.DataConnectionUpdateManyMutationInput, Prisma.DataConnectionUncheckedUpdateManyInput>
/**
* Filter which DataConnections to update
*/
where?: Prisma.DataConnectionWhereInput
/**
* Limit how many DataConnections to update.
*/
limit?: number
}
/**
* DataConnection updateManyAndReturn
*/
export type DataConnectionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DataConnection
*/
select?: Prisma.DataConnectionSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the DataConnection
*/
omit?: Prisma.DataConnectionOmit<ExtArgs> | null
/**
* The data used to update DataConnections.
*/
data: Prisma.XOR<Prisma.DataConnectionUpdateManyMutationInput, Prisma.DataConnectionUncheckedUpdateManyInput>
/**
* Filter which DataConnections to update
*/
where?: Prisma.DataConnectionWhereInput
/**
* Limit how many DataConnections to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DataConnectionIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* DataConnection upsert
*/
export type DataConnectionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DataConnection
*/
select?: Prisma.DataConnectionSelect<ExtArgs> | null
/**
* Omit specific fields from the DataConnection
*/
omit?: Prisma.DataConnectionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DataConnectionInclude<ExtArgs> | null
/**
* The filter to search for the DataConnection to update in case it exists.
*/
where: Prisma.DataConnectionWhereUniqueInput
/**
* In case the DataConnection found by the `where` argument doesn't exist, create a new DataConnection with this data.
*/
create: Prisma.XOR<Prisma.DataConnectionCreateInput, Prisma.DataConnectionUncheckedCreateInput>
/**
* In case the DataConnection was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.DataConnectionUpdateInput, Prisma.DataConnectionUncheckedUpdateInput>
}
/**
* DataConnection delete
*/
export type DataConnectionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DataConnection
*/
select?: Prisma.DataConnectionSelect<ExtArgs> | null
/**
* Omit specific fields from the DataConnection
*/
omit?: Prisma.DataConnectionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DataConnectionInclude<ExtArgs> | null
/**
* Filter which DataConnection to delete.
*/
where: Prisma.DataConnectionWhereUniqueInput
}
/**
* DataConnection deleteMany
*/
export type DataConnectionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which DataConnections to delete
*/
where?: Prisma.DataConnectionWhereInput
/**
* Limit how many DataConnections to delete.
*/
limit?: number
}
/**
* DataConnection without action
*/
export type DataConnectionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the DataConnection
*/
select?: Prisma.DataConnectionSelect<ExtArgs> | null
/**
* Omit specific fields from the DataConnection
*/
omit?: Prisma.DataConnectionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.DataConnectionInclude<ExtArgs> | null
}