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

1317 lines
52 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 `PropertyAttribute` 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 PropertyAttribute
*
*/
export type PropertyAttributeModel = runtime.Types.Result.DefaultSelection<Prisma.$PropertyAttributePayload>
export type AggregatePropertyAttribute = {
_count: PropertyAttributeCountAggregateOutputType | null
_min: PropertyAttributeMinAggregateOutputType | null
_max: PropertyAttributeMaxAggregateOutputType | null
}
export type PropertyAttributeMinAggregateOutputType = {
id: string | null
propertyId: string | null
name: string | null
value: string | null
}
export type PropertyAttributeMaxAggregateOutputType = {
id: string | null
propertyId: string | null
name: string | null
value: string | null
}
export type PropertyAttributeCountAggregateOutputType = {
id: number
propertyId: number
name: number
value: number
_all: number
}
export type PropertyAttributeMinAggregateInputType = {
id?: true
propertyId?: true
name?: true
value?: true
}
export type PropertyAttributeMaxAggregateInputType = {
id?: true
propertyId?: true
name?: true
value?: true
}
export type PropertyAttributeCountAggregateInputType = {
id?: true
propertyId?: true
name?: true
value?: true
_all?: true
}
export type PropertyAttributeAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which PropertyAttribute to aggregate.
*/
where?: Prisma.PropertyAttributeWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of PropertyAttributes to fetch.
*/
orderBy?: Prisma.PropertyAttributeOrderByWithRelationInput | Prisma.PropertyAttributeOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.PropertyAttributeWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` PropertyAttributes 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` PropertyAttributes.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned PropertyAttributes
**/
_count?: true | PropertyAttributeCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: PropertyAttributeMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: PropertyAttributeMaxAggregateInputType
}
export type GetPropertyAttributeAggregateType<T extends PropertyAttributeAggregateArgs> = {
[P in keyof T & keyof AggregatePropertyAttribute]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregatePropertyAttribute[P]>
: Prisma.GetScalarType<T[P], AggregatePropertyAttribute[P]>
}
export type PropertyAttributeGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.PropertyAttributeWhereInput
orderBy?: Prisma.PropertyAttributeOrderByWithAggregationInput | Prisma.PropertyAttributeOrderByWithAggregationInput[]
by: Prisma.PropertyAttributeScalarFieldEnum[] | Prisma.PropertyAttributeScalarFieldEnum
having?: Prisma.PropertyAttributeScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: PropertyAttributeCountAggregateInputType | true
_min?: PropertyAttributeMinAggregateInputType
_max?: PropertyAttributeMaxAggregateInputType
}
export type PropertyAttributeGroupByOutputType = {
id: string
propertyId: string
name: string
value: string
_count: PropertyAttributeCountAggregateOutputType | null
_min: PropertyAttributeMinAggregateOutputType | null
_max: PropertyAttributeMaxAggregateOutputType | null
}
export type GetPropertyAttributeGroupByPayload<T extends PropertyAttributeGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<PropertyAttributeGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof PropertyAttributeGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], PropertyAttributeGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], PropertyAttributeGroupByOutputType[P]>
}
>
>
export type PropertyAttributeWhereInput = {
AND?: Prisma.PropertyAttributeWhereInput | Prisma.PropertyAttributeWhereInput[]
OR?: Prisma.PropertyAttributeWhereInput[]
NOT?: Prisma.PropertyAttributeWhereInput | Prisma.PropertyAttributeWhereInput[]
id?: Prisma.StringFilter<"PropertyAttribute"> | string
propertyId?: Prisma.StringFilter<"PropertyAttribute"> | string
name?: Prisma.StringFilter<"PropertyAttribute"> | string
value?: Prisma.StringFilter<"PropertyAttribute"> | string
property?: Prisma.XOR<Prisma.PropertyScalarRelationFilter, Prisma.PropertyWhereInput>
}
export type PropertyAttributeOrderByWithRelationInput = {
id?: Prisma.SortOrder
propertyId?: Prisma.SortOrder
name?: Prisma.SortOrder
value?: Prisma.SortOrder
property?: Prisma.PropertyOrderByWithRelationInput
}
export type PropertyAttributeWhereUniqueInput = Prisma.AtLeast<{
id?: string
propertyId_name?: Prisma.PropertyAttributePropertyIdNameCompoundUniqueInput
AND?: Prisma.PropertyAttributeWhereInput | Prisma.PropertyAttributeWhereInput[]
OR?: Prisma.PropertyAttributeWhereInput[]
NOT?: Prisma.PropertyAttributeWhereInput | Prisma.PropertyAttributeWhereInput[]
propertyId?: Prisma.StringFilter<"PropertyAttribute"> | string
name?: Prisma.StringFilter<"PropertyAttribute"> | string
value?: Prisma.StringFilter<"PropertyAttribute"> | string
property?: Prisma.XOR<Prisma.PropertyScalarRelationFilter, Prisma.PropertyWhereInput>
}, "id" | "propertyId_name">
export type PropertyAttributeOrderByWithAggregationInput = {
id?: Prisma.SortOrder
propertyId?: Prisma.SortOrder
name?: Prisma.SortOrder
value?: Prisma.SortOrder
_count?: Prisma.PropertyAttributeCountOrderByAggregateInput
_max?: Prisma.PropertyAttributeMaxOrderByAggregateInput
_min?: Prisma.PropertyAttributeMinOrderByAggregateInput
}
export type PropertyAttributeScalarWhereWithAggregatesInput = {
AND?: Prisma.PropertyAttributeScalarWhereWithAggregatesInput | Prisma.PropertyAttributeScalarWhereWithAggregatesInput[]
OR?: Prisma.PropertyAttributeScalarWhereWithAggregatesInput[]
NOT?: Prisma.PropertyAttributeScalarWhereWithAggregatesInput | Prisma.PropertyAttributeScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"PropertyAttribute"> | string
propertyId?: Prisma.StringWithAggregatesFilter<"PropertyAttribute"> | string
name?: Prisma.StringWithAggregatesFilter<"PropertyAttribute"> | string
value?: Prisma.StringWithAggregatesFilter<"PropertyAttribute"> | string
}
export type PropertyAttributeCreateInput = {
id?: string
name: string
value: string
property: Prisma.PropertyCreateNestedOneWithoutAttributesInput
}
export type PropertyAttributeUncheckedCreateInput = {
id?: string
propertyId: string
name: string
value: string
}
export type PropertyAttributeUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
value?: Prisma.StringFieldUpdateOperationsInput | string
property?: Prisma.PropertyUpdateOneRequiredWithoutAttributesNestedInput
}
export type PropertyAttributeUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
propertyId?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
value?: Prisma.StringFieldUpdateOperationsInput | string
}
export type PropertyAttributeCreateManyInput = {
id?: string
propertyId: string
name: string
value: string
}
export type PropertyAttributeUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
value?: Prisma.StringFieldUpdateOperationsInput | string
}
export type PropertyAttributeUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
propertyId?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
value?: Prisma.StringFieldUpdateOperationsInput | string
}
export type PropertyAttributeListRelationFilter = {
every?: Prisma.PropertyAttributeWhereInput
some?: Prisma.PropertyAttributeWhereInput
none?: Prisma.PropertyAttributeWhereInput
}
export type PropertyAttributeOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type PropertyAttributePropertyIdNameCompoundUniqueInput = {
propertyId: string
name: string
}
export type PropertyAttributeCountOrderByAggregateInput = {
id?: Prisma.SortOrder
propertyId?: Prisma.SortOrder
name?: Prisma.SortOrder
value?: Prisma.SortOrder
}
export type PropertyAttributeMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
propertyId?: Prisma.SortOrder
name?: Prisma.SortOrder
value?: Prisma.SortOrder
}
export type PropertyAttributeMinOrderByAggregateInput = {
id?: Prisma.SortOrder
propertyId?: Prisma.SortOrder
name?: Prisma.SortOrder
value?: Prisma.SortOrder
}
export type PropertyAttributeCreateNestedManyWithoutPropertyInput = {
create?: Prisma.XOR<Prisma.PropertyAttributeCreateWithoutPropertyInput, Prisma.PropertyAttributeUncheckedCreateWithoutPropertyInput> | Prisma.PropertyAttributeCreateWithoutPropertyInput[] | Prisma.PropertyAttributeUncheckedCreateWithoutPropertyInput[]
connectOrCreate?: Prisma.PropertyAttributeCreateOrConnectWithoutPropertyInput | Prisma.PropertyAttributeCreateOrConnectWithoutPropertyInput[]
createMany?: Prisma.PropertyAttributeCreateManyPropertyInputEnvelope
connect?: Prisma.PropertyAttributeWhereUniqueInput | Prisma.PropertyAttributeWhereUniqueInput[]
}
export type PropertyAttributeUncheckedCreateNestedManyWithoutPropertyInput = {
create?: Prisma.XOR<Prisma.PropertyAttributeCreateWithoutPropertyInput, Prisma.PropertyAttributeUncheckedCreateWithoutPropertyInput> | Prisma.PropertyAttributeCreateWithoutPropertyInput[] | Prisma.PropertyAttributeUncheckedCreateWithoutPropertyInput[]
connectOrCreate?: Prisma.PropertyAttributeCreateOrConnectWithoutPropertyInput | Prisma.PropertyAttributeCreateOrConnectWithoutPropertyInput[]
createMany?: Prisma.PropertyAttributeCreateManyPropertyInputEnvelope
connect?: Prisma.PropertyAttributeWhereUniqueInput | Prisma.PropertyAttributeWhereUniqueInput[]
}
export type PropertyAttributeUpdateManyWithoutPropertyNestedInput = {
create?: Prisma.XOR<Prisma.PropertyAttributeCreateWithoutPropertyInput, Prisma.PropertyAttributeUncheckedCreateWithoutPropertyInput> | Prisma.PropertyAttributeCreateWithoutPropertyInput[] | Prisma.PropertyAttributeUncheckedCreateWithoutPropertyInput[]
connectOrCreate?: Prisma.PropertyAttributeCreateOrConnectWithoutPropertyInput | Prisma.PropertyAttributeCreateOrConnectWithoutPropertyInput[]
upsert?: Prisma.PropertyAttributeUpsertWithWhereUniqueWithoutPropertyInput | Prisma.PropertyAttributeUpsertWithWhereUniqueWithoutPropertyInput[]
createMany?: Prisma.PropertyAttributeCreateManyPropertyInputEnvelope
set?: Prisma.PropertyAttributeWhereUniqueInput | Prisma.PropertyAttributeWhereUniqueInput[]
disconnect?: Prisma.PropertyAttributeWhereUniqueInput | Prisma.PropertyAttributeWhereUniqueInput[]
delete?: Prisma.PropertyAttributeWhereUniqueInput | Prisma.PropertyAttributeWhereUniqueInput[]
connect?: Prisma.PropertyAttributeWhereUniqueInput | Prisma.PropertyAttributeWhereUniqueInput[]
update?: Prisma.PropertyAttributeUpdateWithWhereUniqueWithoutPropertyInput | Prisma.PropertyAttributeUpdateWithWhereUniqueWithoutPropertyInput[]
updateMany?: Prisma.PropertyAttributeUpdateManyWithWhereWithoutPropertyInput | Prisma.PropertyAttributeUpdateManyWithWhereWithoutPropertyInput[]
deleteMany?: Prisma.PropertyAttributeScalarWhereInput | Prisma.PropertyAttributeScalarWhereInput[]
}
export type PropertyAttributeUncheckedUpdateManyWithoutPropertyNestedInput = {
create?: Prisma.XOR<Prisma.PropertyAttributeCreateWithoutPropertyInput, Prisma.PropertyAttributeUncheckedCreateWithoutPropertyInput> | Prisma.PropertyAttributeCreateWithoutPropertyInput[] | Prisma.PropertyAttributeUncheckedCreateWithoutPropertyInput[]
connectOrCreate?: Prisma.PropertyAttributeCreateOrConnectWithoutPropertyInput | Prisma.PropertyAttributeCreateOrConnectWithoutPropertyInput[]
upsert?: Prisma.PropertyAttributeUpsertWithWhereUniqueWithoutPropertyInput | Prisma.PropertyAttributeUpsertWithWhereUniqueWithoutPropertyInput[]
createMany?: Prisma.PropertyAttributeCreateManyPropertyInputEnvelope
set?: Prisma.PropertyAttributeWhereUniqueInput | Prisma.PropertyAttributeWhereUniqueInput[]
disconnect?: Prisma.PropertyAttributeWhereUniqueInput | Prisma.PropertyAttributeWhereUniqueInput[]
delete?: Prisma.PropertyAttributeWhereUniqueInput | Prisma.PropertyAttributeWhereUniqueInput[]
connect?: Prisma.PropertyAttributeWhereUniqueInput | Prisma.PropertyAttributeWhereUniqueInput[]
update?: Prisma.PropertyAttributeUpdateWithWhereUniqueWithoutPropertyInput | Prisma.PropertyAttributeUpdateWithWhereUniqueWithoutPropertyInput[]
updateMany?: Prisma.PropertyAttributeUpdateManyWithWhereWithoutPropertyInput | Prisma.PropertyAttributeUpdateManyWithWhereWithoutPropertyInput[]
deleteMany?: Prisma.PropertyAttributeScalarWhereInput | Prisma.PropertyAttributeScalarWhereInput[]
}
export type PropertyAttributeCreateWithoutPropertyInput = {
id?: string
name: string
value: string
}
export type PropertyAttributeUncheckedCreateWithoutPropertyInput = {
id?: string
name: string
value: string
}
export type PropertyAttributeCreateOrConnectWithoutPropertyInput = {
where: Prisma.PropertyAttributeWhereUniqueInput
create: Prisma.XOR<Prisma.PropertyAttributeCreateWithoutPropertyInput, Prisma.PropertyAttributeUncheckedCreateWithoutPropertyInput>
}
export type PropertyAttributeCreateManyPropertyInputEnvelope = {
data: Prisma.PropertyAttributeCreateManyPropertyInput | Prisma.PropertyAttributeCreateManyPropertyInput[]
skipDuplicates?: boolean
}
export type PropertyAttributeUpsertWithWhereUniqueWithoutPropertyInput = {
where: Prisma.PropertyAttributeWhereUniqueInput
update: Prisma.XOR<Prisma.PropertyAttributeUpdateWithoutPropertyInput, Prisma.PropertyAttributeUncheckedUpdateWithoutPropertyInput>
create: Prisma.XOR<Prisma.PropertyAttributeCreateWithoutPropertyInput, Prisma.PropertyAttributeUncheckedCreateWithoutPropertyInput>
}
export type PropertyAttributeUpdateWithWhereUniqueWithoutPropertyInput = {
where: Prisma.PropertyAttributeWhereUniqueInput
data: Prisma.XOR<Prisma.PropertyAttributeUpdateWithoutPropertyInput, Prisma.PropertyAttributeUncheckedUpdateWithoutPropertyInput>
}
export type PropertyAttributeUpdateManyWithWhereWithoutPropertyInput = {
where: Prisma.PropertyAttributeScalarWhereInput
data: Prisma.XOR<Prisma.PropertyAttributeUpdateManyMutationInput, Prisma.PropertyAttributeUncheckedUpdateManyWithoutPropertyInput>
}
export type PropertyAttributeScalarWhereInput = {
AND?: Prisma.PropertyAttributeScalarWhereInput | Prisma.PropertyAttributeScalarWhereInput[]
OR?: Prisma.PropertyAttributeScalarWhereInput[]
NOT?: Prisma.PropertyAttributeScalarWhereInput | Prisma.PropertyAttributeScalarWhereInput[]
id?: Prisma.StringFilter<"PropertyAttribute"> | string
propertyId?: Prisma.StringFilter<"PropertyAttribute"> | string
name?: Prisma.StringFilter<"PropertyAttribute"> | string
value?: Prisma.StringFilter<"PropertyAttribute"> | string
}
export type PropertyAttributeCreateManyPropertyInput = {
id?: string
name: string
value: string
}
export type PropertyAttributeUpdateWithoutPropertyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
value?: Prisma.StringFieldUpdateOperationsInput | string
}
export type PropertyAttributeUncheckedUpdateWithoutPropertyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
value?: Prisma.StringFieldUpdateOperationsInput | string
}
export type PropertyAttributeUncheckedUpdateManyWithoutPropertyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
value?: Prisma.StringFieldUpdateOperationsInput | string
}
export type PropertyAttributeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
propertyId?: boolean
name?: boolean
value?: boolean
property?: boolean | Prisma.PropertyDefaultArgs<ExtArgs>
}, ExtArgs["result"]["propertyAttribute"]>
export type PropertyAttributeSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
propertyId?: boolean
name?: boolean
value?: boolean
property?: boolean | Prisma.PropertyDefaultArgs<ExtArgs>
}, ExtArgs["result"]["propertyAttribute"]>
export type PropertyAttributeSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
propertyId?: boolean
name?: boolean
value?: boolean
property?: boolean | Prisma.PropertyDefaultArgs<ExtArgs>
}, ExtArgs["result"]["propertyAttribute"]>
export type PropertyAttributeSelectScalar = {
id?: boolean
propertyId?: boolean
name?: boolean
value?: boolean
}
export type PropertyAttributeOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "propertyId" | "name" | "value", ExtArgs["result"]["propertyAttribute"]>
export type PropertyAttributeInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
property?: boolean | Prisma.PropertyDefaultArgs<ExtArgs>
}
export type PropertyAttributeIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
property?: boolean | Prisma.PropertyDefaultArgs<ExtArgs>
}
export type PropertyAttributeIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
property?: boolean | Prisma.PropertyDefaultArgs<ExtArgs>
}
export type $PropertyAttributePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "PropertyAttribute"
objects: {
property: Prisma.$PropertyPayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
propertyId: string
name: string
value: string
}, ExtArgs["result"]["propertyAttribute"]>
composites: {}
}
export type PropertyAttributeGetPayload<S extends boolean | null | undefined | PropertyAttributeDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PropertyAttributePayload, S>
export type PropertyAttributeCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<PropertyAttributeFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: PropertyAttributeCountAggregateInputType | true
}
export interface PropertyAttributeDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PropertyAttribute'], meta: { name: 'PropertyAttribute' } }
/**
* Find zero or one PropertyAttribute that matches the filter.
* @param {PropertyAttributeFindUniqueArgs} args - Arguments to find a PropertyAttribute
* @example
* // Get one PropertyAttribute
* const propertyAttribute = await prisma.propertyAttribute.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends PropertyAttributeFindUniqueArgs>(args: Prisma.SelectSubset<T, PropertyAttributeFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PropertyAttributeClient<runtime.Types.Result.GetResult<Prisma.$PropertyAttributePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one PropertyAttribute that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {PropertyAttributeFindUniqueOrThrowArgs} args - Arguments to find a PropertyAttribute
* @example
* // Get one PropertyAttribute
* const propertyAttribute = await prisma.propertyAttribute.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends PropertyAttributeFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PropertyAttributeFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PropertyAttributeClient<runtime.Types.Result.GetResult<Prisma.$PropertyAttributePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first PropertyAttribute 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 {PropertyAttributeFindFirstArgs} args - Arguments to find a PropertyAttribute
* @example
* // Get one PropertyAttribute
* const propertyAttribute = await prisma.propertyAttribute.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends PropertyAttributeFindFirstArgs>(args?: Prisma.SelectSubset<T, PropertyAttributeFindFirstArgs<ExtArgs>>): Prisma.Prisma__PropertyAttributeClient<runtime.Types.Result.GetResult<Prisma.$PropertyAttributePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first PropertyAttribute 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 {PropertyAttributeFindFirstOrThrowArgs} args - Arguments to find a PropertyAttribute
* @example
* // Get one PropertyAttribute
* const propertyAttribute = await prisma.propertyAttribute.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends PropertyAttributeFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PropertyAttributeFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PropertyAttributeClient<runtime.Types.Result.GetResult<Prisma.$PropertyAttributePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more PropertyAttributes 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 {PropertyAttributeFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all PropertyAttributes
* const propertyAttributes = await prisma.propertyAttribute.findMany()
*
* // Get first 10 PropertyAttributes
* const propertyAttributes = await prisma.propertyAttribute.findMany({ take: 10 })
*
* // Only select the `id`
* const propertyAttributeWithIdOnly = await prisma.propertyAttribute.findMany({ select: { id: true } })
*
*/
findMany<T extends PropertyAttributeFindManyArgs>(args?: Prisma.SelectSubset<T, PropertyAttributeFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyAttributePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a PropertyAttribute.
* @param {PropertyAttributeCreateArgs} args - Arguments to create a PropertyAttribute.
* @example
* // Create one PropertyAttribute
* const PropertyAttribute = await prisma.propertyAttribute.create({
* data: {
* // ... data to create a PropertyAttribute
* }
* })
*
*/
create<T extends PropertyAttributeCreateArgs>(args: Prisma.SelectSubset<T, PropertyAttributeCreateArgs<ExtArgs>>): Prisma.Prisma__PropertyAttributeClient<runtime.Types.Result.GetResult<Prisma.$PropertyAttributePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many PropertyAttributes.
* @param {PropertyAttributeCreateManyArgs} args - Arguments to create many PropertyAttributes.
* @example
* // Create many PropertyAttributes
* const propertyAttribute = await prisma.propertyAttribute.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends PropertyAttributeCreateManyArgs>(args?: Prisma.SelectSubset<T, PropertyAttributeCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many PropertyAttributes and returns the data saved in the database.
* @param {PropertyAttributeCreateManyAndReturnArgs} args - Arguments to create many PropertyAttributes.
* @example
* // Create many PropertyAttributes
* const propertyAttribute = await prisma.propertyAttribute.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many PropertyAttributes and only return the `id`
* const propertyAttributeWithIdOnly = await prisma.propertyAttribute.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 PropertyAttributeCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PropertyAttributeCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyAttributePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a PropertyAttribute.
* @param {PropertyAttributeDeleteArgs} args - Arguments to delete one PropertyAttribute.
* @example
* // Delete one PropertyAttribute
* const PropertyAttribute = await prisma.propertyAttribute.delete({
* where: {
* // ... filter to delete one PropertyAttribute
* }
* })
*
*/
delete<T extends PropertyAttributeDeleteArgs>(args: Prisma.SelectSubset<T, PropertyAttributeDeleteArgs<ExtArgs>>): Prisma.Prisma__PropertyAttributeClient<runtime.Types.Result.GetResult<Prisma.$PropertyAttributePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one PropertyAttribute.
* @param {PropertyAttributeUpdateArgs} args - Arguments to update one PropertyAttribute.
* @example
* // Update one PropertyAttribute
* const propertyAttribute = await prisma.propertyAttribute.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends PropertyAttributeUpdateArgs>(args: Prisma.SelectSubset<T, PropertyAttributeUpdateArgs<ExtArgs>>): Prisma.Prisma__PropertyAttributeClient<runtime.Types.Result.GetResult<Prisma.$PropertyAttributePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more PropertyAttributes.
* @param {PropertyAttributeDeleteManyArgs} args - Arguments to filter PropertyAttributes to delete.
* @example
* // Delete a few PropertyAttributes
* const { count } = await prisma.propertyAttribute.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends PropertyAttributeDeleteManyArgs>(args?: Prisma.SelectSubset<T, PropertyAttributeDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more PropertyAttributes.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {PropertyAttributeUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many PropertyAttributes
* const propertyAttribute = await prisma.propertyAttribute.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends PropertyAttributeUpdateManyArgs>(args: Prisma.SelectSubset<T, PropertyAttributeUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more PropertyAttributes and returns the data updated in the database.
* @param {PropertyAttributeUpdateManyAndReturnArgs} args - Arguments to update many PropertyAttributes.
* @example
* // Update many PropertyAttributes
* const propertyAttribute = await prisma.propertyAttribute.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more PropertyAttributes and only return the `id`
* const propertyAttributeWithIdOnly = await prisma.propertyAttribute.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 PropertyAttributeUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PropertyAttributeUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyAttributePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one PropertyAttribute.
* @param {PropertyAttributeUpsertArgs} args - Arguments to update or create a PropertyAttribute.
* @example
* // Update or create a PropertyAttribute
* const propertyAttribute = await prisma.propertyAttribute.upsert({
* create: {
* // ... data to create a PropertyAttribute
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the PropertyAttribute we want to update
* }
* })
*/
upsert<T extends PropertyAttributeUpsertArgs>(args: Prisma.SelectSubset<T, PropertyAttributeUpsertArgs<ExtArgs>>): Prisma.Prisma__PropertyAttributeClient<runtime.Types.Result.GetResult<Prisma.$PropertyAttributePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of PropertyAttributes.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {PropertyAttributeCountArgs} args - Arguments to filter PropertyAttributes to count.
* @example
* // Count the number of PropertyAttributes
* const count = await prisma.propertyAttribute.count({
* where: {
* // ... the filter for the PropertyAttributes we want to count
* }
* })
**/
count<T extends PropertyAttributeCountArgs>(
args?: Prisma.Subset<T, PropertyAttributeCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], PropertyAttributeCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a PropertyAttribute.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {PropertyAttributeAggregateArgs} 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 PropertyAttributeAggregateArgs>(args: Prisma.Subset<T, PropertyAttributeAggregateArgs>): Prisma.PrismaPromise<GetPropertyAttributeAggregateType<T>>
/**
* Group by PropertyAttribute.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {PropertyAttributeGroupByArgs} 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 PropertyAttributeGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: PropertyAttributeGroupByArgs['orderBy'] }
: { orderBy?: PropertyAttributeGroupByArgs['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, PropertyAttributeGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPropertyAttributeGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the PropertyAttribute model
*/
readonly fields: PropertyAttributeFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for PropertyAttribute.
* 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__PropertyAttributeClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
property<T extends Prisma.PropertyDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyDefaultArgs<ExtArgs>>): Prisma.Prisma__PropertyClient<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<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 PropertyAttribute model
*/
export interface PropertyAttributeFieldRefs {
readonly id: Prisma.FieldRef<"PropertyAttribute", 'String'>
readonly propertyId: Prisma.FieldRef<"PropertyAttribute", 'String'>
readonly name: Prisma.FieldRef<"PropertyAttribute", 'String'>
readonly value: Prisma.FieldRef<"PropertyAttribute", 'String'>
}
// Custom InputTypes
/**
* PropertyAttribute findUnique
*/
export type PropertyAttributeFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PropertyAttribute
*/
select?: Prisma.PropertyAttributeSelect<ExtArgs> | null
/**
* Omit specific fields from the PropertyAttribute
*/
omit?: Prisma.PropertyAttributeOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PropertyAttributeInclude<ExtArgs> | null
/**
* Filter, which PropertyAttribute to fetch.
*/
where: Prisma.PropertyAttributeWhereUniqueInput
}
/**
* PropertyAttribute findUniqueOrThrow
*/
export type PropertyAttributeFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PropertyAttribute
*/
select?: Prisma.PropertyAttributeSelect<ExtArgs> | null
/**
* Omit specific fields from the PropertyAttribute
*/
omit?: Prisma.PropertyAttributeOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PropertyAttributeInclude<ExtArgs> | null
/**
* Filter, which PropertyAttribute to fetch.
*/
where: Prisma.PropertyAttributeWhereUniqueInput
}
/**
* PropertyAttribute findFirst
*/
export type PropertyAttributeFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PropertyAttribute
*/
select?: Prisma.PropertyAttributeSelect<ExtArgs> | null
/**
* Omit specific fields from the PropertyAttribute
*/
omit?: Prisma.PropertyAttributeOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PropertyAttributeInclude<ExtArgs> | null
/**
* Filter, which PropertyAttribute to fetch.
*/
where?: Prisma.PropertyAttributeWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of PropertyAttributes to fetch.
*/
orderBy?: Prisma.PropertyAttributeOrderByWithRelationInput | Prisma.PropertyAttributeOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for PropertyAttributes.
*/
cursor?: Prisma.PropertyAttributeWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` PropertyAttributes 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` PropertyAttributes.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of PropertyAttributes.
*/
distinct?: Prisma.PropertyAttributeScalarFieldEnum | Prisma.PropertyAttributeScalarFieldEnum[]
}
/**
* PropertyAttribute findFirstOrThrow
*/
export type PropertyAttributeFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PropertyAttribute
*/
select?: Prisma.PropertyAttributeSelect<ExtArgs> | null
/**
* Omit specific fields from the PropertyAttribute
*/
omit?: Prisma.PropertyAttributeOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PropertyAttributeInclude<ExtArgs> | null
/**
* Filter, which PropertyAttribute to fetch.
*/
where?: Prisma.PropertyAttributeWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of PropertyAttributes to fetch.
*/
orderBy?: Prisma.PropertyAttributeOrderByWithRelationInput | Prisma.PropertyAttributeOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for PropertyAttributes.
*/
cursor?: Prisma.PropertyAttributeWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` PropertyAttributes 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` PropertyAttributes.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of PropertyAttributes.
*/
distinct?: Prisma.PropertyAttributeScalarFieldEnum | Prisma.PropertyAttributeScalarFieldEnum[]
}
/**
* PropertyAttribute findMany
*/
export type PropertyAttributeFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PropertyAttribute
*/
select?: Prisma.PropertyAttributeSelect<ExtArgs> | null
/**
* Omit specific fields from the PropertyAttribute
*/
omit?: Prisma.PropertyAttributeOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PropertyAttributeInclude<ExtArgs> | null
/**
* Filter, which PropertyAttributes to fetch.
*/
where?: Prisma.PropertyAttributeWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of PropertyAttributes to fetch.
*/
orderBy?: Prisma.PropertyAttributeOrderByWithRelationInput | Prisma.PropertyAttributeOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing PropertyAttributes.
*/
cursor?: Prisma.PropertyAttributeWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` PropertyAttributes 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` PropertyAttributes.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of PropertyAttributes.
*/
distinct?: Prisma.PropertyAttributeScalarFieldEnum | Prisma.PropertyAttributeScalarFieldEnum[]
}
/**
* PropertyAttribute create
*/
export type PropertyAttributeCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PropertyAttribute
*/
select?: Prisma.PropertyAttributeSelect<ExtArgs> | null
/**
* Omit specific fields from the PropertyAttribute
*/
omit?: Prisma.PropertyAttributeOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PropertyAttributeInclude<ExtArgs> | null
/**
* The data needed to create a PropertyAttribute.
*/
data: Prisma.XOR<Prisma.PropertyAttributeCreateInput, Prisma.PropertyAttributeUncheckedCreateInput>
}
/**
* PropertyAttribute createMany
*/
export type PropertyAttributeCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many PropertyAttributes.
*/
data: Prisma.PropertyAttributeCreateManyInput | Prisma.PropertyAttributeCreateManyInput[]
skipDuplicates?: boolean
}
/**
* PropertyAttribute createManyAndReturn
*/
export type PropertyAttributeCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PropertyAttribute
*/
select?: Prisma.PropertyAttributeSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the PropertyAttribute
*/
omit?: Prisma.PropertyAttributeOmit<ExtArgs> | null
/**
* The data used to create many PropertyAttributes.
*/
data: Prisma.PropertyAttributeCreateManyInput | Prisma.PropertyAttributeCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PropertyAttributeIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* PropertyAttribute update
*/
export type PropertyAttributeUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PropertyAttribute
*/
select?: Prisma.PropertyAttributeSelect<ExtArgs> | null
/**
* Omit specific fields from the PropertyAttribute
*/
omit?: Prisma.PropertyAttributeOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PropertyAttributeInclude<ExtArgs> | null
/**
* The data needed to update a PropertyAttribute.
*/
data: Prisma.XOR<Prisma.PropertyAttributeUpdateInput, Prisma.PropertyAttributeUncheckedUpdateInput>
/**
* Choose, which PropertyAttribute to update.
*/
where: Prisma.PropertyAttributeWhereUniqueInput
}
/**
* PropertyAttribute updateMany
*/
export type PropertyAttributeUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update PropertyAttributes.
*/
data: Prisma.XOR<Prisma.PropertyAttributeUpdateManyMutationInput, Prisma.PropertyAttributeUncheckedUpdateManyInput>
/**
* Filter which PropertyAttributes to update
*/
where?: Prisma.PropertyAttributeWhereInput
/**
* Limit how many PropertyAttributes to update.
*/
limit?: number
}
/**
* PropertyAttribute updateManyAndReturn
*/
export type PropertyAttributeUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PropertyAttribute
*/
select?: Prisma.PropertyAttributeSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the PropertyAttribute
*/
omit?: Prisma.PropertyAttributeOmit<ExtArgs> | null
/**
* The data used to update PropertyAttributes.
*/
data: Prisma.XOR<Prisma.PropertyAttributeUpdateManyMutationInput, Prisma.PropertyAttributeUncheckedUpdateManyInput>
/**
* Filter which PropertyAttributes to update
*/
where?: Prisma.PropertyAttributeWhereInput
/**
* Limit how many PropertyAttributes to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PropertyAttributeIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* PropertyAttribute upsert
*/
export type PropertyAttributeUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PropertyAttribute
*/
select?: Prisma.PropertyAttributeSelect<ExtArgs> | null
/**
* Omit specific fields from the PropertyAttribute
*/
omit?: Prisma.PropertyAttributeOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PropertyAttributeInclude<ExtArgs> | null
/**
* The filter to search for the PropertyAttribute to update in case it exists.
*/
where: Prisma.PropertyAttributeWhereUniqueInput
/**
* In case the PropertyAttribute found by the `where` argument doesn't exist, create a new PropertyAttribute with this data.
*/
create: Prisma.XOR<Prisma.PropertyAttributeCreateInput, Prisma.PropertyAttributeUncheckedCreateInput>
/**
* In case the PropertyAttribute was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.PropertyAttributeUpdateInput, Prisma.PropertyAttributeUncheckedUpdateInput>
}
/**
* PropertyAttribute delete
*/
export type PropertyAttributeDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PropertyAttribute
*/
select?: Prisma.PropertyAttributeSelect<ExtArgs> | null
/**
* Omit specific fields from the PropertyAttribute
*/
omit?: Prisma.PropertyAttributeOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PropertyAttributeInclude<ExtArgs> | null
/**
* Filter which PropertyAttribute to delete.
*/
where: Prisma.PropertyAttributeWhereUniqueInput
}
/**
* PropertyAttribute deleteMany
*/
export type PropertyAttributeDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which PropertyAttributes to delete
*/
where?: Prisma.PropertyAttributeWhereInput
/**
* Limit how many PropertyAttributes to delete.
*/
limit?: number
}
/**
* PropertyAttribute without action
*/
export type PropertyAttributeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PropertyAttribute
*/
select?: Prisma.PropertyAttributeSelect<ExtArgs> | null
/**
* Omit specific fields from the PropertyAttribute
*/
omit?: Prisma.PropertyAttributeOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PropertyAttributeInclude<ExtArgs> | null
}