3198 lines
132 KiB
TypeScript
3198 lines
132 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 `Property` 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 Property
|
|
*
|
|
*/
|
|
export type PropertyModel = runtime.Types.Result.DefaultSelection<Prisma.$PropertyPayload>
|
|
|
|
export type AggregateProperty = {
|
|
_count: PropertyCountAggregateOutputType | null
|
|
_avg: PropertyAvgAggregateOutputType | null
|
|
_sum: PropertySumAggregateOutputType | null
|
|
_min: PropertyMinAggregateOutputType | null
|
|
_max: PropertyMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type PropertyAvgAggregateOutputType = {
|
|
order: number | null
|
|
type: number | null
|
|
}
|
|
|
|
export type PropertySumAggregateOutputType = {
|
|
order: number | null
|
|
type: number | null
|
|
}
|
|
|
|
export type PropertyMinAggregateOutputType = {
|
|
id: string | null
|
|
entityId: string | null
|
|
order: number | null
|
|
name: string | null
|
|
title: string | null
|
|
type: number | null
|
|
subtype: string | null
|
|
isDefault: boolean | null
|
|
isRequired: boolean | null
|
|
isHidden: boolean | null
|
|
isDisplay: boolean | null
|
|
isUnique: boolean | null
|
|
isReadOnly: boolean | null
|
|
showInCreate: boolean | null
|
|
canUpdate: boolean | null
|
|
formulaId: string | null
|
|
tenantId: string | null
|
|
}
|
|
|
|
export type PropertyMaxAggregateOutputType = {
|
|
id: string | null
|
|
entityId: string | null
|
|
order: number | null
|
|
name: string | null
|
|
title: string | null
|
|
type: number | null
|
|
subtype: string | null
|
|
isDefault: boolean | null
|
|
isRequired: boolean | null
|
|
isHidden: boolean | null
|
|
isDisplay: boolean | null
|
|
isUnique: boolean | null
|
|
isReadOnly: boolean | null
|
|
showInCreate: boolean | null
|
|
canUpdate: boolean | null
|
|
formulaId: string | null
|
|
tenantId: string | null
|
|
}
|
|
|
|
export type PropertyCountAggregateOutputType = {
|
|
id: number
|
|
entityId: number
|
|
order: number
|
|
name: number
|
|
title: number
|
|
type: number
|
|
subtype: number
|
|
isDefault: number
|
|
isRequired: number
|
|
isHidden: number
|
|
isDisplay: number
|
|
isUnique: number
|
|
isReadOnly: number
|
|
showInCreate: number
|
|
canUpdate: number
|
|
formulaId: number
|
|
tenantId: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type PropertyAvgAggregateInputType = {
|
|
order?: true
|
|
type?: true
|
|
}
|
|
|
|
export type PropertySumAggregateInputType = {
|
|
order?: true
|
|
type?: true
|
|
}
|
|
|
|
export type PropertyMinAggregateInputType = {
|
|
id?: true
|
|
entityId?: true
|
|
order?: true
|
|
name?: true
|
|
title?: true
|
|
type?: true
|
|
subtype?: true
|
|
isDefault?: true
|
|
isRequired?: true
|
|
isHidden?: true
|
|
isDisplay?: true
|
|
isUnique?: true
|
|
isReadOnly?: true
|
|
showInCreate?: true
|
|
canUpdate?: true
|
|
formulaId?: true
|
|
tenantId?: true
|
|
}
|
|
|
|
export type PropertyMaxAggregateInputType = {
|
|
id?: true
|
|
entityId?: true
|
|
order?: true
|
|
name?: true
|
|
title?: true
|
|
type?: true
|
|
subtype?: true
|
|
isDefault?: true
|
|
isRequired?: true
|
|
isHidden?: true
|
|
isDisplay?: true
|
|
isUnique?: true
|
|
isReadOnly?: true
|
|
showInCreate?: true
|
|
canUpdate?: true
|
|
formulaId?: true
|
|
tenantId?: true
|
|
}
|
|
|
|
export type PropertyCountAggregateInputType = {
|
|
id?: true
|
|
entityId?: true
|
|
order?: true
|
|
name?: true
|
|
title?: true
|
|
type?: true
|
|
subtype?: true
|
|
isDefault?: true
|
|
isRequired?: true
|
|
isHidden?: true
|
|
isDisplay?: true
|
|
isUnique?: true
|
|
isReadOnly?: true
|
|
showInCreate?: true
|
|
canUpdate?: true
|
|
formulaId?: true
|
|
tenantId?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type PropertyAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which Property to aggregate.
|
|
*/
|
|
where?: Prisma.PropertyWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Properties to fetch.
|
|
*/
|
|
orderBy?: Prisma.PropertyOrderByWithRelationInput | Prisma.PropertyOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.PropertyWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` Properties 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` Properties.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned Properties
|
|
**/
|
|
_count?: true | PropertyCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: PropertyAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: PropertySumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: PropertyMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: PropertyMaxAggregateInputType
|
|
}
|
|
|
|
export type GetPropertyAggregateType<T extends PropertyAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateProperty]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateProperty[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateProperty[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type PropertyGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.PropertyWhereInput
|
|
orderBy?: Prisma.PropertyOrderByWithAggregationInput | Prisma.PropertyOrderByWithAggregationInput[]
|
|
by: Prisma.PropertyScalarFieldEnum[] | Prisma.PropertyScalarFieldEnum
|
|
having?: Prisma.PropertyScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: PropertyCountAggregateInputType | true
|
|
_avg?: PropertyAvgAggregateInputType
|
|
_sum?: PropertySumAggregateInputType
|
|
_min?: PropertyMinAggregateInputType
|
|
_max?: PropertyMaxAggregateInputType
|
|
}
|
|
|
|
export type PropertyGroupByOutputType = {
|
|
id: string
|
|
entityId: string
|
|
order: number
|
|
name: string
|
|
title: string
|
|
type: number
|
|
subtype: string | null
|
|
isDefault: boolean
|
|
isRequired: boolean
|
|
isHidden: boolean
|
|
isDisplay: boolean
|
|
isUnique: boolean
|
|
isReadOnly: boolean
|
|
showInCreate: boolean
|
|
canUpdate: boolean
|
|
formulaId: string | null
|
|
tenantId: string | null
|
|
_count: PropertyCountAggregateOutputType | null
|
|
_avg: PropertyAvgAggregateOutputType | null
|
|
_sum: PropertySumAggregateOutputType | null
|
|
_min: PropertyMinAggregateOutputType | null
|
|
_max: PropertyMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetPropertyGroupByPayload<T extends PropertyGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<PropertyGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof PropertyGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], PropertyGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], PropertyGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type PropertyWhereInput = {
|
|
AND?: Prisma.PropertyWhereInput | Prisma.PropertyWhereInput[]
|
|
OR?: Prisma.PropertyWhereInput[]
|
|
NOT?: Prisma.PropertyWhereInput | Prisma.PropertyWhereInput[]
|
|
id?: Prisma.StringFilter<"Property"> | string
|
|
entityId?: Prisma.StringFilter<"Property"> | string
|
|
order?: Prisma.IntFilter<"Property"> | number
|
|
name?: Prisma.StringFilter<"Property"> | string
|
|
title?: Prisma.StringFilter<"Property"> | string
|
|
type?: Prisma.IntFilter<"Property"> | number
|
|
subtype?: Prisma.StringNullableFilter<"Property"> | string | null
|
|
isDefault?: Prisma.BoolFilter<"Property"> | boolean
|
|
isRequired?: Prisma.BoolFilter<"Property"> | boolean
|
|
isHidden?: Prisma.BoolFilter<"Property"> | boolean
|
|
isDisplay?: Prisma.BoolFilter<"Property"> | boolean
|
|
isUnique?: Prisma.BoolFilter<"Property"> | boolean
|
|
isReadOnly?: Prisma.BoolFilter<"Property"> | boolean
|
|
showInCreate?: Prisma.BoolFilter<"Property"> | boolean
|
|
canUpdate?: Prisma.BoolFilter<"Property"> | boolean
|
|
formulaId?: Prisma.StringNullableFilter<"Property"> | string | null
|
|
tenantId?: Prisma.StringNullableFilter<"Property"> | string | null
|
|
formula?: Prisma.XOR<Prisma.FormulaNullableScalarRelationFilter, Prisma.FormulaWhereInput> | null
|
|
tenant?: Prisma.XOR<Prisma.TenantNullableScalarRelationFilter, Prisma.TenantWhereInput> | null
|
|
attributes?: Prisma.PropertyAttributeListRelationFilter
|
|
entity?: Prisma.XOR<Prisma.EntityScalarRelationFilter, Prisma.EntityWhereInput>
|
|
options?: Prisma.PropertyOptionListRelationFilter
|
|
values?: Prisma.RowValueListRelationFilter
|
|
inViewProperties?: Prisma.EntityViewPropertyListRelationFilter
|
|
inViewGroupBy?: Prisma.EntityViewListRelationFilter
|
|
}
|
|
|
|
export type PropertyOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
entityId?: Prisma.SortOrder
|
|
order?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
subtype?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
isDefault?: Prisma.SortOrder
|
|
isRequired?: Prisma.SortOrder
|
|
isHidden?: Prisma.SortOrder
|
|
isDisplay?: Prisma.SortOrder
|
|
isUnique?: Prisma.SortOrder
|
|
isReadOnly?: Prisma.SortOrder
|
|
showInCreate?: Prisma.SortOrder
|
|
canUpdate?: Prisma.SortOrder
|
|
formulaId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
formula?: Prisma.FormulaOrderByWithRelationInput
|
|
tenant?: Prisma.TenantOrderByWithRelationInput
|
|
attributes?: Prisma.PropertyAttributeOrderByRelationAggregateInput
|
|
entity?: Prisma.EntityOrderByWithRelationInput
|
|
options?: Prisma.PropertyOptionOrderByRelationAggregateInput
|
|
values?: Prisma.RowValueOrderByRelationAggregateInput
|
|
inViewProperties?: Prisma.EntityViewPropertyOrderByRelationAggregateInput
|
|
inViewGroupBy?: Prisma.EntityViewOrderByRelationAggregateInput
|
|
}
|
|
|
|
export type PropertyWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
entityId_name_tenantId?: Prisma.PropertyEntityIdNameTenantIdCompoundUniqueInput
|
|
entityId_title_tenantId?: Prisma.PropertyEntityIdTitleTenantIdCompoundUniqueInput
|
|
AND?: Prisma.PropertyWhereInput | Prisma.PropertyWhereInput[]
|
|
OR?: Prisma.PropertyWhereInput[]
|
|
NOT?: Prisma.PropertyWhereInput | Prisma.PropertyWhereInput[]
|
|
entityId?: Prisma.StringFilter<"Property"> | string
|
|
order?: Prisma.IntFilter<"Property"> | number
|
|
name?: Prisma.StringFilter<"Property"> | string
|
|
title?: Prisma.StringFilter<"Property"> | string
|
|
type?: Prisma.IntFilter<"Property"> | number
|
|
subtype?: Prisma.StringNullableFilter<"Property"> | string | null
|
|
isDefault?: Prisma.BoolFilter<"Property"> | boolean
|
|
isRequired?: Prisma.BoolFilter<"Property"> | boolean
|
|
isHidden?: Prisma.BoolFilter<"Property"> | boolean
|
|
isDisplay?: Prisma.BoolFilter<"Property"> | boolean
|
|
isUnique?: Prisma.BoolFilter<"Property"> | boolean
|
|
isReadOnly?: Prisma.BoolFilter<"Property"> | boolean
|
|
showInCreate?: Prisma.BoolFilter<"Property"> | boolean
|
|
canUpdate?: Prisma.BoolFilter<"Property"> | boolean
|
|
formulaId?: Prisma.StringNullableFilter<"Property"> | string | null
|
|
tenantId?: Prisma.StringNullableFilter<"Property"> | string | null
|
|
formula?: Prisma.XOR<Prisma.FormulaNullableScalarRelationFilter, Prisma.FormulaWhereInput> | null
|
|
tenant?: Prisma.XOR<Prisma.TenantNullableScalarRelationFilter, Prisma.TenantWhereInput> | null
|
|
attributes?: Prisma.PropertyAttributeListRelationFilter
|
|
entity?: Prisma.XOR<Prisma.EntityScalarRelationFilter, Prisma.EntityWhereInput>
|
|
options?: Prisma.PropertyOptionListRelationFilter
|
|
values?: Prisma.RowValueListRelationFilter
|
|
inViewProperties?: Prisma.EntityViewPropertyListRelationFilter
|
|
inViewGroupBy?: Prisma.EntityViewListRelationFilter
|
|
}, "id" | "entityId_name_tenantId" | "entityId_title_tenantId">
|
|
|
|
export type PropertyOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
entityId?: Prisma.SortOrder
|
|
order?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
subtype?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
isDefault?: Prisma.SortOrder
|
|
isRequired?: Prisma.SortOrder
|
|
isHidden?: Prisma.SortOrder
|
|
isDisplay?: Prisma.SortOrder
|
|
isUnique?: Prisma.SortOrder
|
|
isReadOnly?: Prisma.SortOrder
|
|
showInCreate?: Prisma.SortOrder
|
|
canUpdate?: Prisma.SortOrder
|
|
formulaId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.PropertyCountOrderByAggregateInput
|
|
_avg?: Prisma.PropertyAvgOrderByAggregateInput
|
|
_max?: Prisma.PropertyMaxOrderByAggregateInput
|
|
_min?: Prisma.PropertyMinOrderByAggregateInput
|
|
_sum?: Prisma.PropertySumOrderByAggregateInput
|
|
}
|
|
|
|
export type PropertyScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.PropertyScalarWhereWithAggregatesInput | Prisma.PropertyScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.PropertyScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.PropertyScalarWhereWithAggregatesInput | Prisma.PropertyScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"Property"> | string
|
|
entityId?: Prisma.StringWithAggregatesFilter<"Property"> | string
|
|
order?: Prisma.IntWithAggregatesFilter<"Property"> | number
|
|
name?: Prisma.StringWithAggregatesFilter<"Property"> | string
|
|
title?: Prisma.StringWithAggregatesFilter<"Property"> | string
|
|
type?: Prisma.IntWithAggregatesFilter<"Property"> | number
|
|
subtype?: Prisma.StringNullableWithAggregatesFilter<"Property"> | string | null
|
|
isDefault?: Prisma.BoolWithAggregatesFilter<"Property"> | boolean
|
|
isRequired?: Prisma.BoolWithAggregatesFilter<"Property"> | boolean
|
|
isHidden?: Prisma.BoolWithAggregatesFilter<"Property"> | boolean
|
|
isDisplay?: Prisma.BoolWithAggregatesFilter<"Property"> | boolean
|
|
isUnique?: Prisma.BoolWithAggregatesFilter<"Property"> | boolean
|
|
isReadOnly?: Prisma.BoolWithAggregatesFilter<"Property"> | boolean
|
|
showInCreate?: Prisma.BoolWithAggregatesFilter<"Property"> | boolean
|
|
canUpdate?: Prisma.BoolWithAggregatesFilter<"Property"> | boolean
|
|
formulaId?: Prisma.StringNullableWithAggregatesFilter<"Property"> | string | null
|
|
tenantId?: Prisma.StringNullableWithAggregatesFilter<"Property"> | string | null
|
|
}
|
|
|
|
export type PropertyCreateInput = {
|
|
id?: string
|
|
order: number
|
|
name: string
|
|
title: string
|
|
type: number
|
|
subtype?: string | null
|
|
isDefault?: boolean
|
|
isRequired?: boolean
|
|
isHidden?: boolean
|
|
isDisplay?: boolean
|
|
isUnique?: boolean
|
|
isReadOnly?: boolean
|
|
showInCreate?: boolean
|
|
canUpdate?: boolean
|
|
formula?: Prisma.FormulaCreateNestedOneWithoutInPropertiesInput
|
|
tenant?: Prisma.TenantCreateNestedOneWithoutEntityPropertiesInput
|
|
attributes?: Prisma.PropertyAttributeCreateNestedManyWithoutPropertyInput
|
|
entity: Prisma.EntityCreateNestedOneWithoutPropertiesInput
|
|
options?: Prisma.PropertyOptionCreateNestedManyWithoutPropertyInput
|
|
values?: Prisma.RowValueCreateNestedManyWithoutPropertyInput
|
|
inViewProperties?: Prisma.EntityViewPropertyCreateNestedManyWithoutPropertyInput
|
|
inViewGroupBy?: Prisma.EntityViewCreateNestedManyWithoutGroupByPropertyInput
|
|
}
|
|
|
|
export type PropertyUncheckedCreateInput = {
|
|
id?: string
|
|
entityId: string
|
|
order: number
|
|
name: string
|
|
title: string
|
|
type: number
|
|
subtype?: string | null
|
|
isDefault?: boolean
|
|
isRequired?: boolean
|
|
isHidden?: boolean
|
|
isDisplay?: boolean
|
|
isUnique?: boolean
|
|
isReadOnly?: boolean
|
|
showInCreate?: boolean
|
|
canUpdate?: boolean
|
|
formulaId?: string | null
|
|
tenantId?: string | null
|
|
attributes?: Prisma.PropertyAttributeUncheckedCreateNestedManyWithoutPropertyInput
|
|
options?: Prisma.PropertyOptionUncheckedCreateNestedManyWithoutPropertyInput
|
|
values?: Prisma.RowValueUncheckedCreateNestedManyWithoutPropertyInput
|
|
inViewProperties?: Prisma.EntityViewPropertyUncheckedCreateNestedManyWithoutPropertyInput
|
|
inViewGroupBy?: Prisma.EntityViewUncheckedCreateNestedManyWithoutGroupByPropertyInput
|
|
}
|
|
|
|
export type PropertyUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
subtype?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDisplay?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isUnique?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInCreate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canUpdate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
formula?: Prisma.FormulaUpdateOneWithoutInPropertiesNestedInput
|
|
tenant?: Prisma.TenantUpdateOneWithoutEntityPropertiesNestedInput
|
|
attributes?: Prisma.PropertyAttributeUpdateManyWithoutPropertyNestedInput
|
|
entity?: Prisma.EntityUpdateOneRequiredWithoutPropertiesNestedInput
|
|
options?: Prisma.PropertyOptionUpdateManyWithoutPropertyNestedInput
|
|
values?: Prisma.RowValueUpdateManyWithoutPropertyNestedInput
|
|
inViewProperties?: Prisma.EntityViewPropertyUpdateManyWithoutPropertyNestedInput
|
|
inViewGroupBy?: Prisma.EntityViewUpdateManyWithoutGroupByPropertyNestedInput
|
|
}
|
|
|
|
export type PropertyUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entityId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
subtype?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDisplay?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isUnique?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInCreate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canUpdate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
formulaId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
attributes?: Prisma.PropertyAttributeUncheckedUpdateManyWithoutPropertyNestedInput
|
|
options?: Prisma.PropertyOptionUncheckedUpdateManyWithoutPropertyNestedInput
|
|
values?: Prisma.RowValueUncheckedUpdateManyWithoutPropertyNestedInput
|
|
inViewProperties?: Prisma.EntityViewPropertyUncheckedUpdateManyWithoutPropertyNestedInput
|
|
inViewGroupBy?: Prisma.EntityViewUncheckedUpdateManyWithoutGroupByPropertyNestedInput
|
|
}
|
|
|
|
export type PropertyCreateManyInput = {
|
|
id?: string
|
|
entityId: string
|
|
order: number
|
|
name: string
|
|
title: string
|
|
type: number
|
|
subtype?: string | null
|
|
isDefault?: boolean
|
|
isRequired?: boolean
|
|
isHidden?: boolean
|
|
isDisplay?: boolean
|
|
isUnique?: boolean
|
|
isReadOnly?: boolean
|
|
showInCreate?: boolean
|
|
canUpdate?: boolean
|
|
formulaId?: string | null
|
|
tenantId?: string | null
|
|
}
|
|
|
|
export type PropertyUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
subtype?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDisplay?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isUnique?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInCreate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canUpdate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type PropertyUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entityId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
subtype?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDisplay?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isUnique?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInCreate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canUpdate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
formulaId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type PropertyListRelationFilter = {
|
|
every?: Prisma.PropertyWhereInput
|
|
some?: Prisma.PropertyWhereInput
|
|
none?: Prisma.PropertyWhereInput
|
|
}
|
|
|
|
export type PropertyOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PropertyEntityIdNameTenantIdCompoundUniqueInput = {
|
|
entityId: string
|
|
name: string
|
|
tenantId: string
|
|
}
|
|
|
|
export type PropertyEntityIdTitleTenantIdCompoundUniqueInput = {
|
|
entityId: string
|
|
title: string
|
|
tenantId: string
|
|
}
|
|
|
|
export type PropertyCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
entityId?: Prisma.SortOrder
|
|
order?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
subtype?: Prisma.SortOrder
|
|
isDefault?: Prisma.SortOrder
|
|
isRequired?: Prisma.SortOrder
|
|
isHidden?: Prisma.SortOrder
|
|
isDisplay?: Prisma.SortOrder
|
|
isUnique?: Prisma.SortOrder
|
|
isReadOnly?: Prisma.SortOrder
|
|
showInCreate?: Prisma.SortOrder
|
|
canUpdate?: Prisma.SortOrder
|
|
formulaId?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PropertyAvgOrderByAggregateInput = {
|
|
order?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PropertyMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
entityId?: Prisma.SortOrder
|
|
order?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
subtype?: Prisma.SortOrder
|
|
isDefault?: Prisma.SortOrder
|
|
isRequired?: Prisma.SortOrder
|
|
isHidden?: Prisma.SortOrder
|
|
isDisplay?: Prisma.SortOrder
|
|
isUnique?: Prisma.SortOrder
|
|
isReadOnly?: Prisma.SortOrder
|
|
showInCreate?: Prisma.SortOrder
|
|
canUpdate?: Prisma.SortOrder
|
|
formulaId?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PropertyMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
entityId?: Prisma.SortOrder
|
|
order?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
subtype?: Prisma.SortOrder
|
|
isDefault?: Prisma.SortOrder
|
|
isRequired?: Prisma.SortOrder
|
|
isHidden?: Prisma.SortOrder
|
|
isDisplay?: Prisma.SortOrder
|
|
isUnique?: Prisma.SortOrder
|
|
isReadOnly?: Prisma.SortOrder
|
|
showInCreate?: Prisma.SortOrder
|
|
canUpdate?: Prisma.SortOrder
|
|
formulaId?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PropertySumOrderByAggregateInput = {
|
|
order?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PropertyNullableScalarRelationFilter = {
|
|
is?: Prisma.PropertyWhereInput | null
|
|
isNot?: Prisma.PropertyWhereInput | null
|
|
}
|
|
|
|
export type PropertyScalarRelationFilter = {
|
|
is?: Prisma.PropertyWhereInput
|
|
isNot?: Prisma.PropertyWhereInput
|
|
}
|
|
|
|
export type PropertyCreateNestedManyWithoutTenantInput = {
|
|
create?: Prisma.XOR<Prisma.PropertyCreateWithoutTenantInput, Prisma.PropertyUncheckedCreateWithoutTenantInput> | Prisma.PropertyCreateWithoutTenantInput[] | Prisma.PropertyUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutTenantInput | Prisma.PropertyCreateOrConnectWithoutTenantInput[]
|
|
createMany?: Prisma.PropertyCreateManyTenantInputEnvelope
|
|
connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
}
|
|
|
|
export type PropertyUncheckedCreateNestedManyWithoutTenantInput = {
|
|
create?: Prisma.XOR<Prisma.PropertyCreateWithoutTenantInput, Prisma.PropertyUncheckedCreateWithoutTenantInput> | Prisma.PropertyCreateWithoutTenantInput[] | Prisma.PropertyUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutTenantInput | Prisma.PropertyCreateOrConnectWithoutTenantInput[]
|
|
createMany?: Prisma.PropertyCreateManyTenantInputEnvelope
|
|
connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
}
|
|
|
|
export type PropertyUpdateManyWithoutTenantNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PropertyCreateWithoutTenantInput, Prisma.PropertyUncheckedCreateWithoutTenantInput> | Prisma.PropertyCreateWithoutTenantInput[] | Prisma.PropertyUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutTenantInput | Prisma.PropertyCreateOrConnectWithoutTenantInput[]
|
|
upsert?: Prisma.PropertyUpsertWithWhereUniqueWithoutTenantInput | Prisma.PropertyUpsertWithWhereUniqueWithoutTenantInput[]
|
|
createMany?: Prisma.PropertyCreateManyTenantInputEnvelope
|
|
set?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
disconnect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
delete?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
update?: Prisma.PropertyUpdateWithWhereUniqueWithoutTenantInput | Prisma.PropertyUpdateWithWhereUniqueWithoutTenantInput[]
|
|
updateMany?: Prisma.PropertyUpdateManyWithWhereWithoutTenantInput | Prisma.PropertyUpdateManyWithWhereWithoutTenantInput[]
|
|
deleteMany?: Prisma.PropertyScalarWhereInput | Prisma.PropertyScalarWhereInput[]
|
|
}
|
|
|
|
export type PropertyUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PropertyCreateWithoutTenantInput, Prisma.PropertyUncheckedCreateWithoutTenantInput> | Prisma.PropertyCreateWithoutTenantInput[] | Prisma.PropertyUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutTenantInput | Prisma.PropertyCreateOrConnectWithoutTenantInput[]
|
|
upsert?: Prisma.PropertyUpsertWithWhereUniqueWithoutTenantInput | Prisma.PropertyUpsertWithWhereUniqueWithoutTenantInput[]
|
|
createMany?: Prisma.PropertyCreateManyTenantInputEnvelope
|
|
set?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
disconnect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
delete?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
update?: Prisma.PropertyUpdateWithWhereUniqueWithoutTenantInput | Prisma.PropertyUpdateWithWhereUniqueWithoutTenantInput[]
|
|
updateMany?: Prisma.PropertyUpdateManyWithWhereWithoutTenantInput | Prisma.PropertyUpdateManyWithWhereWithoutTenantInput[]
|
|
deleteMany?: Prisma.PropertyScalarWhereInput | Prisma.PropertyScalarWhereInput[]
|
|
}
|
|
|
|
export type PropertyCreateNestedManyWithoutEntityInput = {
|
|
create?: Prisma.XOR<Prisma.PropertyCreateWithoutEntityInput, Prisma.PropertyUncheckedCreateWithoutEntityInput> | Prisma.PropertyCreateWithoutEntityInput[] | Prisma.PropertyUncheckedCreateWithoutEntityInput[]
|
|
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutEntityInput | Prisma.PropertyCreateOrConnectWithoutEntityInput[]
|
|
createMany?: Prisma.PropertyCreateManyEntityInputEnvelope
|
|
connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
}
|
|
|
|
export type PropertyUncheckedCreateNestedManyWithoutEntityInput = {
|
|
create?: Prisma.XOR<Prisma.PropertyCreateWithoutEntityInput, Prisma.PropertyUncheckedCreateWithoutEntityInput> | Prisma.PropertyCreateWithoutEntityInput[] | Prisma.PropertyUncheckedCreateWithoutEntityInput[]
|
|
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutEntityInput | Prisma.PropertyCreateOrConnectWithoutEntityInput[]
|
|
createMany?: Prisma.PropertyCreateManyEntityInputEnvelope
|
|
connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
}
|
|
|
|
export type PropertyUpdateManyWithoutEntityNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PropertyCreateWithoutEntityInput, Prisma.PropertyUncheckedCreateWithoutEntityInput> | Prisma.PropertyCreateWithoutEntityInput[] | Prisma.PropertyUncheckedCreateWithoutEntityInput[]
|
|
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutEntityInput | Prisma.PropertyCreateOrConnectWithoutEntityInput[]
|
|
upsert?: Prisma.PropertyUpsertWithWhereUniqueWithoutEntityInput | Prisma.PropertyUpsertWithWhereUniqueWithoutEntityInput[]
|
|
createMany?: Prisma.PropertyCreateManyEntityInputEnvelope
|
|
set?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
disconnect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
delete?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
update?: Prisma.PropertyUpdateWithWhereUniqueWithoutEntityInput | Prisma.PropertyUpdateWithWhereUniqueWithoutEntityInput[]
|
|
updateMany?: Prisma.PropertyUpdateManyWithWhereWithoutEntityInput | Prisma.PropertyUpdateManyWithWhereWithoutEntityInput[]
|
|
deleteMany?: Prisma.PropertyScalarWhereInput | Prisma.PropertyScalarWhereInput[]
|
|
}
|
|
|
|
export type PropertyUncheckedUpdateManyWithoutEntityNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PropertyCreateWithoutEntityInput, Prisma.PropertyUncheckedCreateWithoutEntityInput> | Prisma.PropertyCreateWithoutEntityInput[] | Prisma.PropertyUncheckedCreateWithoutEntityInput[]
|
|
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutEntityInput | Prisma.PropertyCreateOrConnectWithoutEntityInput[]
|
|
upsert?: Prisma.PropertyUpsertWithWhereUniqueWithoutEntityInput | Prisma.PropertyUpsertWithWhereUniqueWithoutEntityInput[]
|
|
createMany?: Prisma.PropertyCreateManyEntityInputEnvelope
|
|
set?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
disconnect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
delete?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
update?: Prisma.PropertyUpdateWithWhereUniqueWithoutEntityInput | Prisma.PropertyUpdateWithWhereUniqueWithoutEntityInput[]
|
|
updateMany?: Prisma.PropertyUpdateManyWithWhereWithoutEntityInput | Prisma.PropertyUpdateManyWithWhereWithoutEntityInput[]
|
|
deleteMany?: Prisma.PropertyScalarWhereInput | Prisma.PropertyScalarWhereInput[]
|
|
}
|
|
|
|
export type PropertyCreateNestedOneWithoutInViewGroupByInput = {
|
|
create?: Prisma.XOR<Prisma.PropertyCreateWithoutInViewGroupByInput, Prisma.PropertyUncheckedCreateWithoutInViewGroupByInput>
|
|
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutInViewGroupByInput
|
|
connect?: Prisma.PropertyWhereUniqueInput
|
|
}
|
|
|
|
export type PropertyUpdateOneWithoutInViewGroupByNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PropertyCreateWithoutInViewGroupByInput, Prisma.PropertyUncheckedCreateWithoutInViewGroupByInput>
|
|
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutInViewGroupByInput
|
|
upsert?: Prisma.PropertyUpsertWithoutInViewGroupByInput
|
|
disconnect?: Prisma.PropertyWhereInput | boolean
|
|
delete?: Prisma.PropertyWhereInput | boolean
|
|
connect?: Prisma.PropertyWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUpdateToOneWithWhereWithoutInViewGroupByInput, Prisma.PropertyUpdateWithoutInViewGroupByInput>, Prisma.PropertyUncheckedUpdateWithoutInViewGroupByInput>
|
|
}
|
|
|
|
export type PropertyCreateNestedOneWithoutInViewPropertiesInput = {
|
|
create?: Prisma.XOR<Prisma.PropertyCreateWithoutInViewPropertiesInput, Prisma.PropertyUncheckedCreateWithoutInViewPropertiesInput>
|
|
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutInViewPropertiesInput
|
|
connect?: Prisma.PropertyWhereUniqueInput
|
|
}
|
|
|
|
export type PropertyUpdateOneWithoutInViewPropertiesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PropertyCreateWithoutInViewPropertiesInput, Prisma.PropertyUncheckedCreateWithoutInViewPropertiesInput>
|
|
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutInViewPropertiesInput
|
|
upsert?: Prisma.PropertyUpsertWithoutInViewPropertiesInput
|
|
disconnect?: Prisma.PropertyWhereInput | boolean
|
|
delete?: Prisma.PropertyWhereInput | boolean
|
|
connect?: Prisma.PropertyWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUpdateToOneWithWhereWithoutInViewPropertiesInput, Prisma.PropertyUpdateWithoutInViewPropertiesInput>, Prisma.PropertyUncheckedUpdateWithoutInViewPropertiesInput>
|
|
}
|
|
|
|
export type PropertyCreateNestedOneWithoutAttributesInput = {
|
|
create?: Prisma.XOR<Prisma.PropertyCreateWithoutAttributesInput, Prisma.PropertyUncheckedCreateWithoutAttributesInput>
|
|
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutAttributesInput
|
|
connect?: Prisma.PropertyWhereUniqueInput
|
|
}
|
|
|
|
export type PropertyUpdateOneRequiredWithoutAttributesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PropertyCreateWithoutAttributesInput, Prisma.PropertyUncheckedCreateWithoutAttributesInput>
|
|
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutAttributesInput
|
|
upsert?: Prisma.PropertyUpsertWithoutAttributesInput
|
|
connect?: Prisma.PropertyWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUpdateToOneWithWhereWithoutAttributesInput, Prisma.PropertyUpdateWithoutAttributesInput>, Prisma.PropertyUncheckedUpdateWithoutAttributesInput>
|
|
}
|
|
|
|
export type PropertyCreateNestedOneWithoutOptionsInput = {
|
|
create?: Prisma.XOR<Prisma.PropertyCreateWithoutOptionsInput, Prisma.PropertyUncheckedCreateWithoutOptionsInput>
|
|
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutOptionsInput
|
|
connect?: Prisma.PropertyWhereUniqueInput
|
|
}
|
|
|
|
export type PropertyUpdateOneRequiredWithoutOptionsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PropertyCreateWithoutOptionsInput, Prisma.PropertyUncheckedCreateWithoutOptionsInput>
|
|
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutOptionsInput
|
|
upsert?: Prisma.PropertyUpsertWithoutOptionsInput
|
|
connect?: Prisma.PropertyWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUpdateToOneWithWhereWithoutOptionsInput, Prisma.PropertyUpdateWithoutOptionsInput>, Prisma.PropertyUncheckedUpdateWithoutOptionsInput>
|
|
}
|
|
|
|
export type PropertyCreateNestedOneWithoutValuesInput = {
|
|
create?: Prisma.XOR<Prisma.PropertyCreateWithoutValuesInput, Prisma.PropertyUncheckedCreateWithoutValuesInput>
|
|
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutValuesInput
|
|
connect?: Prisma.PropertyWhereUniqueInput
|
|
}
|
|
|
|
export type PropertyUpdateOneRequiredWithoutValuesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PropertyCreateWithoutValuesInput, Prisma.PropertyUncheckedCreateWithoutValuesInput>
|
|
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutValuesInput
|
|
upsert?: Prisma.PropertyUpsertWithoutValuesInput
|
|
connect?: Prisma.PropertyWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUpdateToOneWithWhereWithoutValuesInput, Prisma.PropertyUpdateWithoutValuesInput>, Prisma.PropertyUncheckedUpdateWithoutValuesInput>
|
|
}
|
|
|
|
export type PropertyCreateNestedManyWithoutFormulaInput = {
|
|
create?: Prisma.XOR<Prisma.PropertyCreateWithoutFormulaInput, Prisma.PropertyUncheckedCreateWithoutFormulaInput> | Prisma.PropertyCreateWithoutFormulaInput[] | Prisma.PropertyUncheckedCreateWithoutFormulaInput[]
|
|
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutFormulaInput | Prisma.PropertyCreateOrConnectWithoutFormulaInput[]
|
|
createMany?: Prisma.PropertyCreateManyFormulaInputEnvelope
|
|
connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
}
|
|
|
|
export type PropertyUncheckedCreateNestedManyWithoutFormulaInput = {
|
|
create?: Prisma.XOR<Prisma.PropertyCreateWithoutFormulaInput, Prisma.PropertyUncheckedCreateWithoutFormulaInput> | Prisma.PropertyCreateWithoutFormulaInput[] | Prisma.PropertyUncheckedCreateWithoutFormulaInput[]
|
|
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutFormulaInput | Prisma.PropertyCreateOrConnectWithoutFormulaInput[]
|
|
createMany?: Prisma.PropertyCreateManyFormulaInputEnvelope
|
|
connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
}
|
|
|
|
export type PropertyUpdateManyWithoutFormulaNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PropertyCreateWithoutFormulaInput, Prisma.PropertyUncheckedCreateWithoutFormulaInput> | Prisma.PropertyCreateWithoutFormulaInput[] | Prisma.PropertyUncheckedCreateWithoutFormulaInput[]
|
|
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutFormulaInput | Prisma.PropertyCreateOrConnectWithoutFormulaInput[]
|
|
upsert?: Prisma.PropertyUpsertWithWhereUniqueWithoutFormulaInput | Prisma.PropertyUpsertWithWhereUniqueWithoutFormulaInput[]
|
|
createMany?: Prisma.PropertyCreateManyFormulaInputEnvelope
|
|
set?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
disconnect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
delete?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
update?: Prisma.PropertyUpdateWithWhereUniqueWithoutFormulaInput | Prisma.PropertyUpdateWithWhereUniqueWithoutFormulaInput[]
|
|
updateMany?: Prisma.PropertyUpdateManyWithWhereWithoutFormulaInput | Prisma.PropertyUpdateManyWithWhereWithoutFormulaInput[]
|
|
deleteMany?: Prisma.PropertyScalarWhereInput | Prisma.PropertyScalarWhereInput[]
|
|
}
|
|
|
|
export type PropertyUncheckedUpdateManyWithoutFormulaNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PropertyCreateWithoutFormulaInput, Prisma.PropertyUncheckedCreateWithoutFormulaInput> | Prisma.PropertyCreateWithoutFormulaInput[] | Prisma.PropertyUncheckedCreateWithoutFormulaInput[]
|
|
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutFormulaInput | Prisma.PropertyCreateOrConnectWithoutFormulaInput[]
|
|
upsert?: Prisma.PropertyUpsertWithWhereUniqueWithoutFormulaInput | Prisma.PropertyUpsertWithWhereUniqueWithoutFormulaInput[]
|
|
createMany?: Prisma.PropertyCreateManyFormulaInputEnvelope
|
|
set?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
disconnect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
delete?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[]
|
|
update?: Prisma.PropertyUpdateWithWhereUniqueWithoutFormulaInput | Prisma.PropertyUpdateWithWhereUniqueWithoutFormulaInput[]
|
|
updateMany?: Prisma.PropertyUpdateManyWithWhereWithoutFormulaInput | Prisma.PropertyUpdateManyWithWhereWithoutFormulaInput[]
|
|
deleteMany?: Prisma.PropertyScalarWhereInput | Prisma.PropertyScalarWhereInput[]
|
|
}
|
|
|
|
export type PropertyCreateWithoutTenantInput = {
|
|
id?: string
|
|
order: number
|
|
name: string
|
|
title: string
|
|
type: number
|
|
subtype?: string | null
|
|
isDefault?: boolean
|
|
isRequired?: boolean
|
|
isHidden?: boolean
|
|
isDisplay?: boolean
|
|
isUnique?: boolean
|
|
isReadOnly?: boolean
|
|
showInCreate?: boolean
|
|
canUpdate?: boolean
|
|
formula?: Prisma.FormulaCreateNestedOneWithoutInPropertiesInput
|
|
attributes?: Prisma.PropertyAttributeCreateNestedManyWithoutPropertyInput
|
|
entity: Prisma.EntityCreateNestedOneWithoutPropertiesInput
|
|
options?: Prisma.PropertyOptionCreateNestedManyWithoutPropertyInput
|
|
values?: Prisma.RowValueCreateNestedManyWithoutPropertyInput
|
|
inViewProperties?: Prisma.EntityViewPropertyCreateNestedManyWithoutPropertyInput
|
|
inViewGroupBy?: Prisma.EntityViewCreateNestedManyWithoutGroupByPropertyInput
|
|
}
|
|
|
|
export type PropertyUncheckedCreateWithoutTenantInput = {
|
|
id?: string
|
|
entityId: string
|
|
order: number
|
|
name: string
|
|
title: string
|
|
type: number
|
|
subtype?: string | null
|
|
isDefault?: boolean
|
|
isRequired?: boolean
|
|
isHidden?: boolean
|
|
isDisplay?: boolean
|
|
isUnique?: boolean
|
|
isReadOnly?: boolean
|
|
showInCreate?: boolean
|
|
canUpdate?: boolean
|
|
formulaId?: string | null
|
|
attributes?: Prisma.PropertyAttributeUncheckedCreateNestedManyWithoutPropertyInput
|
|
options?: Prisma.PropertyOptionUncheckedCreateNestedManyWithoutPropertyInput
|
|
values?: Prisma.RowValueUncheckedCreateNestedManyWithoutPropertyInput
|
|
inViewProperties?: Prisma.EntityViewPropertyUncheckedCreateNestedManyWithoutPropertyInput
|
|
inViewGroupBy?: Prisma.EntityViewUncheckedCreateNestedManyWithoutGroupByPropertyInput
|
|
}
|
|
|
|
export type PropertyCreateOrConnectWithoutTenantInput = {
|
|
where: Prisma.PropertyWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.PropertyCreateWithoutTenantInput, Prisma.PropertyUncheckedCreateWithoutTenantInput>
|
|
}
|
|
|
|
export type PropertyCreateManyTenantInputEnvelope = {
|
|
data: Prisma.PropertyCreateManyTenantInput | Prisma.PropertyCreateManyTenantInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type PropertyUpsertWithWhereUniqueWithoutTenantInput = {
|
|
where: Prisma.PropertyWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.PropertyUpdateWithoutTenantInput, Prisma.PropertyUncheckedUpdateWithoutTenantInput>
|
|
create: Prisma.XOR<Prisma.PropertyCreateWithoutTenantInput, Prisma.PropertyUncheckedCreateWithoutTenantInput>
|
|
}
|
|
|
|
export type PropertyUpdateWithWhereUniqueWithoutTenantInput = {
|
|
where: Prisma.PropertyWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.PropertyUpdateWithoutTenantInput, Prisma.PropertyUncheckedUpdateWithoutTenantInput>
|
|
}
|
|
|
|
export type PropertyUpdateManyWithWhereWithoutTenantInput = {
|
|
where: Prisma.PropertyScalarWhereInput
|
|
data: Prisma.XOR<Prisma.PropertyUpdateManyMutationInput, Prisma.PropertyUncheckedUpdateManyWithoutTenantInput>
|
|
}
|
|
|
|
export type PropertyScalarWhereInput = {
|
|
AND?: Prisma.PropertyScalarWhereInput | Prisma.PropertyScalarWhereInput[]
|
|
OR?: Prisma.PropertyScalarWhereInput[]
|
|
NOT?: Prisma.PropertyScalarWhereInput | Prisma.PropertyScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"Property"> | string
|
|
entityId?: Prisma.StringFilter<"Property"> | string
|
|
order?: Prisma.IntFilter<"Property"> | number
|
|
name?: Prisma.StringFilter<"Property"> | string
|
|
title?: Prisma.StringFilter<"Property"> | string
|
|
type?: Prisma.IntFilter<"Property"> | number
|
|
subtype?: Prisma.StringNullableFilter<"Property"> | string | null
|
|
isDefault?: Prisma.BoolFilter<"Property"> | boolean
|
|
isRequired?: Prisma.BoolFilter<"Property"> | boolean
|
|
isHidden?: Prisma.BoolFilter<"Property"> | boolean
|
|
isDisplay?: Prisma.BoolFilter<"Property"> | boolean
|
|
isUnique?: Prisma.BoolFilter<"Property"> | boolean
|
|
isReadOnly?: Prisma.BoolFilter<"Property"> | boolean
|
|
showInCreate?: Prisma.BoolFilter<"Property"> | boolean
|
|
canUpdate?: Prisma.BoolFilter<"Property"> | boolean
|
|
formulaId?: Prisma.StringNullableFilter<"Property"> | string | null
|
|
tenantId?: Prisma.StringNullableFilter<"Property"> | string | null
|
|
}
|
|
|
|
export type PropertyCreateWithoutEntityInput = {
|
|
id?: string
|
|
order: number
|
|
name: string
|
|
title: string
|
|
type: number
|
|
subtype?: string | null
|
|
isDefault?: boolean
|
|
isRequired?: boolean
|
|
isHidden?: boolean
|
|
isDisplay?: boolean
|
|
isUnique?: boolean
|
|
isReadOnly?: boolean
|
|
showInCreate?: boolean
|
|
canUpdate?: boolean
|
|
formula?: Prisma.FormulaCreateNestedOneWithoutInPropertiesInput
|
|
tenant?: Prisma.TenantCreateNestedOneWithoutEntityPropertiesInput
|
|
attributes?: Prisma.PropertyAttributeCreateNestedManyWithoutPropertyInput
|
|
options?: Prisma.PropertyOptionCreateNestedManyWithoutPropertyInput
|
|
values?: Prisma.RowValueCreateNestedManyWithoutPropertyInput
|
|
inViewProperties?: Prisma.EntityViewPropertyCreateNestedManyWithoutPropertyInput
|
|
inViewGroupBy?: Prisma.EntityViewCreateNestedManyWithoutGroupByPropertyInput
|
|
}
|
|
|
|
export type PropertyUncheckedCreateWithoutEntityInput = {
|
|
id?: string
|
|
order: number
|
|
name: string
|
|
title: string
|
|
type: number
|
|
subtype?: string | null
|
|
isDefault?: boolean
|
|
isRequired?: boolean
|
|
isHidden?: boolean
|
|
isDisplay?: boolean
|
|
isUnique?: boolean
|
|
isReadOnly?: boolean
|
|
showInCreate?: boolean
|
|
canUpdate?: boolean
|
|
formulaId?: string | null
|
|
tenantId?: string | null
|
|
attributes?: Prisma.PropertyAttributeUncheckedCreateNestedManyWithoutPropertyInput
|
|
options?: Prisma.PropertyOptionUncheckedCreateNestedManyWithoutPropertyInput
|
|
values?: Prisma.RowValueUncheckedCreateNestedManyWithoutPropertyInput
|
|
inViewProperties?: Prisma.EntityViewPropertyUncheckedCreateNestedManyWithoutPropertyInput
|
|
inViewGroupBy?: Prisma.EntityViewUncheckedCreateNestedManyWithoutGroupByPropertyInput
|
|
}
|
|
|
|
export type PropertyCreateOrConnectWithoutEntityInput = {
|
|
where: Prisma.PropertyWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.PropertyCreateWithoutEntityInput, Prisma.PropertyUncheckedCreateWithoutEntityInput>
|
|
}
|
|
|
|
export type PropertyCreateManyEntityInputEnvelope = {
|
|
data: Prisma.PropertyCreateManyEntityInput | Prisma.PropertyCreateManyEntityInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type PropertyUpsertWithWhereUniqueWithoutEntityInput = {
|
|
where: Prisma.PropertyWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.PropertyUpdateWithoutEntityInput, Prisma.PropertyUncheckedUpdateWithoutEntityInput>
|
|
create: Prisma.XOR<Prisma.PropertyCreateWithoutEntityInput, Prisma.PropertyUncheckedCreateWithoutEntityInput>
|
|
}
|
|
|
|
export type PropertyUpdateWithWhereUniqueWithoutEntityInput = {
|
|
where: Prisma.PropertyWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.PropertyUpdateWithoutEntityInput, Prisma.PropertyUncheckedUpdateWithoutEntityInput>
|
|
}
|
|
|
|
export type PropertyUpdateManyWithWhereWithoutEntityInput = {
|
|
where: Prisma.PropertyScalarWhereInput
|
|
data: Prisma.XOR<Prisma.PropertyUpdateManyMutationInput, Prisma.PropertyUncheckedUpdateManyWithoutEntityInput>
|
|
}
|
|
|
|
export type PropertyCreateWithoutInViewGroupByInput = {
|
|
id?: string
|
|
order: number
|
|
name: string
|
|
title: string
|
|
type: number
|
|
subtype?: string | null
|
|
isDefault?: boolean
|
|
isRequired?: boolean
|
|
isHidden?: boolean
|
|
isDisplay?: boolean
|
|
isUnique?: boolean
|
|
isReadOnly?: boolean
|
|
showInCreate?: boolean
|
|
canUpdate?: boolean
|
|
formula?: Prisma.FormulaCreateNestedOneWithoutInPropertiesInput
|
|
tenant?: Prisma.TenantCreateNestedOneWithoutEntityPropertiesInput
|
|
attributes?: Prisma.PropertyAttributeCreateNestedManyWithoutPropertyInput
|
|
entity: Prisma.EntityCreateNestedOneWithoutPropertiesInput
|
|
options?: Prisma.PropertyOptionCreateNestedManyWithoutPropertyInput
|
|
values?: Prisma.RowValueCreateNestedManyWithoutPropertyInput
|
|
inViewProperties?: Prisma.EntityViewPropertyCreateNestedManyWithoutPropertyInput
|
|
}
|
|
|
|
export type PropertyUncheckedCreateWithoutInViewGroupByInput = {
|
|
id?: string
|
|
entityId: string
|
|
order: number
|
|
name: string
|
|
title: string
|
|
type: number
|
|
subtype?: string | null
|
|
isDefault?: boolean
|
|
isRequired?: boolean
|
|
isHidden?: boolean
|
|
isDisplay?: boolean
|
|
isUnique?: boolean
|
|
isReadOnly?: boolean
|
|
showInCreate?: boolean
|
|
canUpdate?: boolean
|
|
formulaId?: string | null
|
|
tenantId?: string | null
|
|
attributes?: Prisma.PropertyAttributeUncheckedCreateNestedManyWithoutPropertyInput
|
|
options?: Prisma.PropertyOptionUncheckedCreateNestedManyWithoutPropertyInput
|
|
values?: Prisma.RowValueUncheckedCreateNestedManyWithoutPropertyInput
|
|
inViewProperties?: Prisma.EntityViewPropertyUncheckedCreateNestedManyWithoutPropertyInput
|
|
}
|
|
|
|
export type PropertyCreateOrConnectWithoutInViewGroupByInput = {
|
|
where: Prisma.PropertyWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.PropertyCreateWithoutInViewGroupByInput, Prisma.PropertyUncheckedCreateWithoutInViewGroupByInput>
|
|
}
|
|
|
|
export type PropertyUpsertWithoutInViewGroupByInput = {
|
|
update: Prisma.XOR<Prisma.PropertyUpdateWithoutInViewGroupByInput, Prisma.PropertyUncheckedUpdateWithoutInViewGroupByInput>
|
|
create: Prisma.XOR<Prisma.PropertyCreateWithoutInViewGroupByInput, Prisma.PropertyUncheckedCreateWithoutInViewGroupByInput>
|
|
where?: Prisma.PropertyWhereInput
|
|
}
|
|
|
|
export type PropertyUpdateToOneWithWhereWithoutInViewGroupByInput = {
|
|
where?: Prisma.PropertyWhereInput
|
|
data: Prisma.XOR<Prisma.PropertyUpdateWithoutInViewGroupByInput, Prisma.PropertyUncheckedUpdateWithoutInViewGroupByInput>
|
|
}
|
|
|
|
export type PropertyUpdateWithoutInViewGroupByInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
subtype?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDisplay?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isUnique?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInCreate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canUpdate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
formula?: Prisma.FormulaUpdateOneWithoutInPropertiesNestedInput
|
|
tenant?: Prisma.TenantUpdateOneWithoutEntityPropertiesNestedInput
|
|
attributes?: Prisma.PropertyAttributeUpdateManyWithoutPropertyNestedInput
|
|
entity?: Prisma.EntityUpdateOneRequiredWithoutPropertiesNestedInput
|
|
options?: Prisma.PropertyOptionUpdateManyWithoutPropertyNestedInput
|
|
values?: Prisma.RowValueUpdateManyWithoutPropertyNestedInput
|
|
inViewProperties?: Prisma.EntityViewPropertyUpdateManyWithoutPropertyNestedInput
|
|
}
|
|
|
|
export type PropertyUncheckedUpdateWithoutInViewGroupByInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entityId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
subtype?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDisplay?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isUnique?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInCreate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canUpdate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
formulaId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
attributes?: Prisma.PropertyAttributeUncheckedUpdateManyWithoutPropertyNestedInput
|
|
options?: Prisma.PropertyOptionUncheckedUpdateManyWithoutPropertyNestedInput
|
|
values?: Prisma.RowValueUncheckedUpdateManyWithoutPropertyNestedInput
|
|
inViewProperties?: Prisma.EntityViewPropertyUncheckedUpdateManyWithoutPropertyNestedInput
|
|
}
|
|
|
|
export type PropertyCreateWithoutInViewPropertiesInput = {
|
|
id?: string
|
|
order: number
|
|
name: string
|
|
title: string
|
|
type: number
|
|
subtype?: string | null
|
|
isDefault?: boolean
|
|
isRequired?: boolean
|
|
isHidden?: boolean
|
|
isDisplay?: boolean
|
|
isUnique?: boolean
|
|
isReadOnly?: boolean
|
|
showInCreate?: boolean
|
|
canUpdate?: boolean
|
|
formula?: Prisma.FormulaCreateNestedOneWithoutInPropertiesInput
|
|
tenant?: Prisma.TenantCreateNestedOneWithoutEntityPropertiesInput
|
|
attributes?: Prisma.PropertyAttributeCreateNestedManyWithoutPropertyInput
|
|
entity: Prisma.EntityCreateNestedOneWithoutPropertiesInput
|
|
options?: Prisma.PropertyOptionCreateNestedManyWithoutPropertyInput
|
|
values?: Prisma.RowValueCreateNestedManyWithoutPropertyInput
|
|
inViewGroupBy?: Prisma.EntityViewCreateNestedManyWithoutGroupByPropertyInput
|
|
}
|
|
|
|
export type PropertyUncheckedCreateWithoutInViewPropertiesInput = {
|
|
id?: string
|
|
entityId: string
|
|
order: number
|
|
name: string
|
|
title: string
|
|
type: number
|
|
subtype?: string | null
|
|
isDefault?: boolean
|
|
isRequired?: boolean
|
|
isHidden?: boolean
|
|
isDisplay?: boolean
|
|
isUnique?: boolean
|
|
isReadOnly?: boolean
|
|
showInCreate?: boolean
|
|
canUpdate?: boolean
|
|
formulaId?: string | null
|
|
tenantId?: string | null
|
|
attributes?: Prisma.PropertyAttributeUncheckedCreateNestedManyWithoutPropertyInput
|
|
options?: Prisma.PropertyOptionUncheckedCreateNestedManyWithoutPropertyInput
|
|
values?: Prisma.RowValueUncheckedCreateNestedManyWithoutPropertyInput
|
|
inViewGroupBy?: Prisma.EntityViewUncheckedCreateNestedManyWithoutGroupByPropertyInput
|
|
}
|
|
|
|
export type PropertyCreateOrConnectWithoutInViewPropertiesInput = {
|
|
where: Prisma.PropertyWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.PropertyCreateWithoutInViewPropertiesInput, Prisma.PropertyUncheckedCreateWithoutInViewPropertiesInput>
|
|
}
|
|
|
|
export type PropertyUpsertWithoutInViewPropertiesInput = {
|
|
update: Prisma.XOR<Prisma.PropertyUpdateWithoutInViewPropertiesInput, Prisma.PropertyUncheckedUpdateWithoutInViewPropertiesInput>
|
|
create: Prisma.XOR<Prisma.PropertyCreateWithoutInViewPropertiesInput, Prisma.PropertyUncheckedCreateWithoutInViewPropertiesInput>
|
|
where?: Prisma.PropertyWhereInput
|
|
}
|
|
|
|
export type PropertyUpdateToOneWithWhereWithoutInViewPropertiesInput = {
|
|
where?: Prisma.PropertyWhereInput
|
|
data: Prisma.XOR<Prisma.PropertyUpdateWithoutInViewPropertiesInput, Prisma.PropertyUncheckedUpdateWithoutInViewPropertiesInput>
|
|
}
|
|
|
|
export type PropertyUpdateWithoutInViewPropertiesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
subtype?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDisplay?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isUnique?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInCreate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canUpdate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
formula?: Prisma.FormulaUpdateOneWithoutInPropertiesNestedInput
|
|
tenant?: Prisma.TenantUpdateOneWithoutEntityPropertiesNestedInput
|
|
attributes?: Prisma.PropertyAttributeUpdateManyWithoutPropertyNestedInput
|
|
entity?: Prisma.EntityUpdateOneRequiredWithoutPropertiesNestedInput
|
|
options?: Prisma.PropertyOptionUpdateManyWithoutPropertyNestedInput
|
|
values?: Prisma.RowValueUpdateManyWithoutPropertyNestedInput
|
|
inViewGroupBy?: Prisma.EntityViewUpdateManyWithoutGroupByPropertyNestedInput
|
|
}
|
|
|
|
export type PropertyUncheckedUpdateWithoutInViewPropertiesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entityId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
subtype?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDisplay?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isUnique?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInCreate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canUpdate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
formulaId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
attributes?: Prisma.PropertyAttributeUncheckedUpdateManyWithoutPropertyNestedInput
|
|
options?: Prisma.PropertyOptionUncheckedUpdateManyWithoutPropertyNestedInput
|
|
values?: Prisma.RowValueUncheckedUpdateManyWithoutPropertyNestedInput
|
|
inViewGroupBy?: Prisma.EntityViewUncheckedUpdateManyWithoutGroupByPropertyNestedInput
|
|
}
|
|
|
|
export type PropertyCreateWithoutAttributesInput = {
|
|
id?: string
|
|
order: number
|
|
name: string
|
|
title: string
|
|
type: number
|
|
subtype?: string | null
|
|
isDefault?: boolean
|
|
isRequired?: boolean
|
|
isHidden?: boolean
|
|
isDisplay?: boolean
|
|
isUnique?: boolean
|
|
isReadOnly?: boolean
|
|
showInCreate?: boolean
|
|
canUpdate?: boolean
|
|
formula?: Prisma.FormulaCreateNestedOneWithoutInPropertiesInput
|
|
tenant?: Prisma.TenantCreateNestedOneWithoutEntityPropertiesInput
|
|
entity: Prisma.EntityCreateNestedOneWithoutPropertiesInput
|
|
options?: Prisma.PropertyOptionCreateNestedManyWithoutPropertyInput
|
|
values?: Prisma.RowValueCreateNestedManyWithoutPropertyInput
|
|
inViewProperties?: Prisma.EntityViewPropertyCreateNestedManyWithoutPropertyInput
|
|
inViewGroupBy?: Prisma.EntityViewCreateNestedManyWithoutGroupByPropertyInput
|
|
}
|
|
|
|
export type PropertyUncheckedCreateWithoutAttributesInput = {
|
|
id?: string
|
|
entityId: string
|
|
order: number
|
|
name: string
|
|
title: string
|
|
type: number
|
|
subtype?: string | null
|
|
isDefault?: boolean
|
|
isRequired?: boolean
|
|
isHidden?: boolean
|
|
isDisplay?: boolean
|
|
isUnique?: boolean
|
|
isReadOnly?: boolean
|
|
showInCreate?: boolean
|
|
canUpdate?: boolean
|
|
formulaId?: string | null
|
|
tenantId?: string | null
|
|
options?: Prisma.PropertyOptionUncheckedCreateNestedManyWithoutPropertyInput
|
|
values?: Prisma.RowValueUncheckedCreateNestedManyWithoutPropertyInput
|
|
inViewProperties?: Prisma.EntityViewPropertyUncheckedCreateNestedManyWithoutPropertyInput
|
|
inViewGroupBy?: Prisma.EntityViewUncheckedCreateNestedManyWithoutGroupByPropertyInput
|
|
}
|
|
|
|
export type PropertyCreateOrConnectWithoutAttributesInput = {
|
|
where: Prisma.PropertyWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.PropertyCreateWithoutAttributesInput, Prisma.PropertyUncheckedCreateWithoutAttributesInput>
|
|
}
|
|
|
|
export type PropertyUpsertWithoutAttributesInput = {
|
|
update: Prisma.XOR<Prisma.PropertyUpdateWithoutAttributesInput, Prisma.PropertyUncheckedUpdateWithoutAttributesInput>
|
|
create: Prisma.XOR<Prisma.PropertyCreateWithoutAttributesInput, Prisma.PropertyUncheckedCreateWithoutAttributesInput>
|
|
where?: Prisma.PropertyWhereInput
|
|
}
|
|
|
|
export type PropertyUpdateToOneWithWhereWithoutAttributesInput = {
|
|
where?: Prisma.PropertyWhereInput
|
|
data: Prisma.XOR<Prisma.PropertyUpdateWithoutAttributesInput, Prisma.PropertyUncheckedUpdateWithoutAttributesInput>
|
|
}
|
|
|
|
export type PropertyUpdateWithoutAttributesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
subtype?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDisplay?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isUnique?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInCreate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canUpdate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
formula?: Prisma.FormulaUpdateOneWithoutInPropertiesNestedInput
|
|
tenant?: Prisma.TenantUpdateOneWithoutEntityPropertiesNestedInput
|
|
entity?: Prisma.EntityUpdateOneRequiredWithoutPropertiesNestedInput
|
|
options?: Prisma.PropertyOptionUpdateManyWithoutPropertyNestedInput
|
|
values?: Prisma.RowValueUpdateManyWithoutPropertyNestedInput
|
|
inViewProperties?: Prisma.EntityViewPropertyUpdateManyWithoutPropertyNestedInput
|
|
inViewGroupBy?: Prisma.EntityViewUpdateManyWithoutGroupByPropertyNestedInput
|
|
}
|
|
|
|
export type PropertyUncheckedUpdateWithoutAttributesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entityId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
subtype?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDisplay?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isUnique?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInCreate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canUpdate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
formulaId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
options?: Prisma.PropertyOptionUncheckedUpdateManyWithoutPropertyNestedInput
|
|
values?: Prisma.RowValueUncheckedUpdateManyWithoutPropertyNestedInput
|
|
inViewProperties?: Prisma.EntityViewPropertyUncheckedUpdateManyWithoutPropertyNestedInput
|
|
inViewGroupBy?: Prisma.EntityViewUncheckedUpdateManyWithoutGroupByPropertyNestedInput
|
|
}
|
|
|
|
export type PropertyCreateWithoutOptionsInput = {
|
|
id?: string
|
|
order: number
|
|
name: string
|
|
title: string
|
|
type: number
|
|
subtype?: string | null
|
|
isDefault?: boolean
|
|
isRequired?: boolean
|
|
isHidden?: boolean
|
|
isDisplay?: boolean
|
|
isUnique?: boolean
|
|
isReadOnly?: boolean
|
|
showInCreate?: boolean
|
|
canUpdate?: boolean
|
|
formula?: Prisma.FormulaCreateNestedOneWithoutInPropertiesInput
|
|
tenant?: Prisma.TenantCreateNestedOneWithoutEntityPropertiesInput
|
|
attributes?: Prisma.PropertyAttributeCreateNestedManyWithoutPropertyInput
|
|
entity: Prisma.EntityCreateNestedOneWithoutPropertiesInput
|
|
values?: Prisma.RowValueCreateNestedManyWithoutPropertyInput
|
|
inViewProperties?: Prisma.EntityViewPropertyCreateNestedManyWithoutPropertyInput
|
|
inViewGroupBy?: Prisma.EntityViewCreateNestedManyWithoutGroupByPropertyInput
|
|
}
|
|
|
|
export type PropertyUncheckedCreateWithoutOptionsInput = {
|
|
id?: string
|
|
entityId: string
|
|
order: number
|
|
name: string
|
|
title: string
|
|
type: number
|
|
subtype?: string | null
|
|
isDefault?: boolean
|
|
isRequired?: boolean
|
|
isHidden?: boolean
|
|
isDisplay?: boolean
|
|
isUnique?: boolean
|
|
isReadOnly?: boolean
|
|
showInCreate?: boolean
|
|
canUpdate?: boolean
|
|
formulaId?: string | null
|
|
tenantId?: string | null
|
|
attributes?: Prisma.PropertyAttributeUncheckedCreateNestedManyWithoutPropertyInput
|
|
values?: Prisma.RowValueUncheckedCreateNestedManyWithoutPropertyInput
|
|
inViewProperties?: Prisma.EntityViewPropertyUncheckedCreateNestedManyWithoutPropertyInput
|
|
inViewGroupBy?: Prisma.EntityViewUncheckedCreateNestedManyWithoutGroupByPropertyInput
|
|
}
|
|
|
|
export type PropertyCreateOrConnectWithoutOptionsInput = {
|
|
where: Prisma.PropertyWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.PropertyCreateWithoutOptionsInput, Prisma.PropertyUncheckedCreateWithoutOptionsInput>
|
|
}
|
|
|
|
export type PropertyUpsertWithoutOptionsInput = {
|
|
update: Prisma.XOR<Prisma.PropertyUpdateWithoutOptionsInput, Prisma.PropertyUncheckedUpdateWithoutOptionsInput>
|
|
create: Prisma.XOR<Prisma.PropertyCreateWithoutOptionsInput, Prisma.PropertyUncheckedCreateWithoutOptionsInput>
|
|
where?: Prisma.PropertyWhereInput
|
|
}
|
|
|
|
export type PropertyUpdateToOneWithWhereWithoutOptionsInput = {
|
|
where?: Prisma.PropertyWhereInput
|
|
data: Prisma.XOR<Prisma.PropertyUpdateWithoutOptionsInput, Prisma.PropertyUncheckedUpdateWithoutOptionsInput>
|
|
}
|
|
|
|
export type PropertyUpdateWithoutOptionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
subtype?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDisplay?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isUnique?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInCreate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canUpdate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
formula?: Prisma.FormulaUpdateOneWithoutInPropertiesNestedInput
|
|
tenant?: Prisma.TenantUpdateOneWithoutEntityPropertiesNestedInput
|
|
attributes?: Prisma.PropertyAttributeUpdateManyWithoutPropertyNestedInput
|
|
entity?: Prisma.EntityUpdateOneRequiredWithoutPropertiesNestedInput
|
|
values?: Prisma.RowValueUpdateManyWithoutPropertyNestedInput
|
|
inViewProperties?: Prisma.EntityViewPropertyUpdateManyWithoutPropertyNestedInput
|
|
inViewGroupBy?: Prisma.EntityViewUpdateManyWithoutGroupByPropertyNestedInput
|
|
}
|
|
|
|
export type PropertyUncheckedUpdateWithoutOptionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entityId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
subtype?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDisplay?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isUnique?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInCreate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canUpdate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
formulaId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
attributes?: Prisma.PropertyAttributeUncheckedUpdateManyWithoutPropertyNestedInput
|
|
values?: Prisma.RowValueUncheckedUpdateManyWithoutPropertyNestedInput
|
|
inViewProperties?: Prisma.EntityViewPropertyUncheckedUpdateManyWithoutPropertyNestedInput
|
|
inViewGroupBy?: Prisma.EntityViewUncheckedUpdateManyWithoutGroupByPropertyNestedInput
|
|
}
|
|
|
|
export type PropertyCreateWithoutValuesInput = {
|
|
id?: string
|
|
order: number
|
|
name: string
|
|
title: string
|
|
type: number
|
|
subtype?: string | null
|
|
isDefault?: boolean
|
|
isRequired?: boolean
|
|
isHidden?: boolean
|
|
isDisplay?: boolean
|
|
isUnique?: boolean
|
|
isReadOnly?: boolean
|
|
showInCreate?: boolean
|
|
canUpdate?: boolean
|
|
formula?: Prisma.FormulaCreateNestedOneWithoutInPropertiesInput
|
|
tenant?: Prisma.TenantCreateNestedOneWithoutEntityPropertiesInput
|
|
attributes?: Prisma.PropertyAttributeCreateNestedManyWithoutPropertyInput
|
|
entity: Prisma.EntityCreateNestedOneWithoutPropertiesInput
|
|
options?: Prisma.PropertyOptionCreateNestedManyWithoutPropertyInput
|
|
inViewProperties?: Prisma.EntityViewPropertyCreateNestedManyWithoutPropertyInput
|
|
inViewGroupBy?: Prisma.EntityViewCreateNestedManyWithoutGroupByPropertyInput
|
|
}
|
|
|
|
export type PropertyUncheckedCreateWithoutValuesInput = {
|
|
id?: string
|
|
entityId: string
|
|
order: number
|
|
name: string
|
|
title: string
|
|
type: number
|
|
subtype?: string | null
|
|
isDefault?: boolean
|
|
isRequired?: boolean
|
|
isHidden?: boolean
|
|
isDisplay?: boolean
|
|
isUnique?: boolean
|
|
isReadOnly?: boolean
|
|
showInCreate?: boolean
|
|
canUpdate?: boolean
|
|
formulaId?: string | null
|
|
tenantId?: string | null
|
|
attributes?: Prisma.PropertyAttributeUncheckedCreateNestedManyWithoutPropertyInput
|
|
options?: Prisma.PropertyOptionUncheckedCreateNestedManyWithoutPropertyInput
|
|
inViewProperties?: Prisma.EntityViewPropertyUncheckedCreateNestedManyWithoutPropertyInput
|
|
inViewGroupBy?: Prisma.EntityViewUncheckedCreateNestedManyWithoutGroupByPropertyInput
|
|
}
|
|
|
|
export type PropertyCreateOrConnectWithoutValuesInput = {
|
|
where: Prisma.PropertyWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.PropertyCreateWithoutValuesInput, Prisma.PropertyUncheckedCreateWithoutValuesInput>
|
|
}
|
|
|
|
export type PropertyUpsertWithoutValuesInput = {
|
|
update: Prisma.XOR<Prisma.PropertyUpdateWithoutValuesInput, Prisma.PropertyUncheckedUpdateWithoutValuesInput>
|
|
create: Prisma.XOR<Prisma.PropertyCreateWithoutValuesInput, Prisma.PropertyUncheckedCreateWithoutValuesInput>
|
|
where?: Prisma.PropertyWhereInput
|
|
}
|
|
|
|
export type PropertyUpdateToOneWithWhereWithoutValuesInput = {
|
|
where?: Prisma.PropertyWhereInput
|
|
data: Prisma.XOR<Prisma.PropertyUpdateWithoutValuesInput, Prisma.PropertyUncheckedUpdateWithoutValuesInput>
|
|
}
|
|
|
|
export type PropertyUpdateWithoutValuesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
subtype?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDisplay?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isUnique?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInCreate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canUpdate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
formula?: Prisma.FormulaUpdateOneWithoutInPropertiesNestedInput
|
|
tenant?: Prisma.TenantUpdateOneWithoutEntityPropertiesNestedInput
|
|
attributes?: Prisma.PropertyAttributeUpdateManyWithoutPropertyNestedInput
|
|
entity?: Prisma.EntityUpdateOneRequiredWithoutPropertiesNestedInput
|
|
options?: Prisma.PropertyOptionUpdateManyWithoutPropertyNestedInput
|
|
inViewProperties?: Prisma.EntityViewPropertyUpdateManyWithoutPropertyNestedInput
|
|
inViewGroupBy?: Prisma.EntityViewUpdateManyWithoutGroupByPropertyNestedInput
|
|
}
|
|
|
|
export type PropertyUncheckedUpdateWithoutValuesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entityId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
subtype?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDisplay?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isUnique?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInCreate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canUpdate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
formulaId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
attributes?: Prisma.PropertyAttributeUncheckedUpdateManyWithoutPropertyNestedInput
|
|
options?: Prisma.PropertyOptionUncheckedUpdateManyWithoutPropertyNestedInput
|
|
inViewProperties?: Prisma.EntityViewPropertyUncheckedUpdateManyWithoutPropertyNestedInput
|
|
inViewGroupBy?: Prisma.EntityViewUncheckedUpdateManyWithoutGroupByPropertyNestedInput
|
|
}
|
|
|
|
export type PropertyCreateWithoutFormulaInput = {
|
|
id?: string
|
|
order: number
|
|
name: string
|
|
title: string
|
|
type: number
|
|
subtype?: string | null
|
|
isDefault?: boolean
|
|
isRequired?: boolean
|
|
isHidden?: boolean
|
|
isDisplay?: boolean
|
|
isUnique?: boolean
|
|
isReadOnly?: boolean
|
|
showInCreate?: boolean
|
|
canUpdate?: boolean
|
|
tenant?: Prisma.TenantCreateNestedOneWithoutEntityPropertiesInput
|
|
attributes?: Prisma.PropertyAttributeCreateNestedManyWithoutPropertyInput
|
|
entity: Prisma.EntityCreateNestedOneWithoutPropertiesInput
|
|
options?: Prisma.PropertyOptionCreateNestedManyWithoutPropertyInput
|
|
values?: Prisma.RowValueCreateNestedManyWithoutPropertyInput
|
|
inViewProperties?: Prisma.EntityViewPropertyCreateNestedManyWithoutPropertyInput
|
|
inViewGroupBy?: Prisma.EntityViewCreateNestedManyWithoutGroupByPropertyInput
|
|
}
|
|
|
|
export type PropertyUncheckedCreateWithoutFormulaInput = {
|
|
id?: string
|
|
entityId: string
|
|
order: number
|
|
name: string
|
|
title: string
|
|
type: number
|
|
subtype?: string | null
|
|
isDefault?: boolean
|
|
isRequired?: boolean
|
|
isHidden?: boolean
|
|
isDisplay?: boolean
|
|
isUnique?: boolean
|
|
isReadOnly?: boolean
|
|
showInCreate?: boolean
|
|
canUpdate?: boolean
|
|
tenantId?: string | null
|
|
attributes?: Prisma.PropertyAttributeUncheckedCreateNestedManyWithoutPropertyInput
|
|
options?: Prisma.PropertyOptionUncheckedCreateNestedManyWithoutPropertyInput
|
|
values?: Prisma.RowValueUncheckedCreateNestedManyWithoutPropertyInput
|
|
inViewProperties?: Prisma.EntityViewPropertyUncheckedCreateNestedManyWithoutPropertyInput
|
|
inViewGroupBy?: Prisma.EntityViewUncheckedCreateNestedManyWithoutGroupByPropertyInput
|
|
}
|
|
|
|
export type PropertyCreateOrConnectWithoutFormulaInput = {
|
|
where: Prisma.PropertyWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.PropertyCreateWithoutFormulaInput, Prisma.PropertyUncheckedCreateWithoutFormulaInput>
|
|
}
|
|
|
|
export type PropertyCreateManyFormulaInputEnvelope = {
|
|
data: Prisma.PropertyCreateManyFormulaInput | Prisma.PropertyCreateManyFormulaInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type PropertyUpsertWithWhereUniqueWithoutFormulaInput = {
|
|
where: Prisma.PropertyWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.PropertyUpdateWithoutFormulaInput, Prisma.PropertyUncheckedUpdateWithoutFormulaInput>
|
|
create: Prisma.XOR<Prisma.PropertyCreateWithoutFormulaInput, Prisma.PropertyUncheckedCreateWithoutFormulaInput>
|
|
}
|
|
|
|
export type PropertyUpdateWithWhereUniqueWithoutFormulaInput = {
|
|
where: Prisma.PropertyWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.PropertyUpdateWithoutFormulaInput, Prisma.PropertyUncheckedUpdateWithoutFormulaInput>
|
|
}
|
|
|
|
export type PropertyUpdateManyWithWhereWithoutFormulaInput = {
|
|
where: Prisma.PropertyScalarWhereInput
|
|
data: Prisma.XOR<Prisma.PropertyUpdateManyMutationInput, Prisma.PropertyUncheckedUpdateManyWithoutFormulaInput>
|
|
}
|
|
|
|
export type PropertyCreateManyTenantInput = {
|
|
id?: string
|
|
entityId: string
|
|
order: number
|
|
name: string
|
|
title: string
|
|
type: number
|
|
subtype?: string | null
|
|
isDefault?: boolean
|
|
isRequired?: boolean
|
|
isHidden?: boolean
|
|
isDisplay?: boolean
|
|
isUnique?: boolean
|
|
isReadOnly?: boolean
|
|
showInCreate?: boolean
|
|
canUpdate?: boolean
|
|
formulaId?: string | null
|
|
}
|
|
|
|
export type PropertyUpdateWithoutTenantInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
subtype?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDisplay?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isUnique?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInCreate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canUpdate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
formula?: Prisma.FormulaUpdateOneWithoutInPropertiesNestedInput
|
|
attributes?: Prisma.PropertyAttributeUpdateManyWithoutPropertyNestedInput
|
|
entity?: Prisma.EntityUpdateOneRequiredWithoutPropertiesNestedInput
|
|
options?: Prisma.PropertyOptionUpdateManyWithoutPropertyNestedInput
|
|
values?: Prisma.RowValueUpdateManyWithoutPropertyNestedInput
|
|
inViewProperties?: Prisma.EntityViewPropertyUpdateManyWithoutPropertyNestedInput
|
|
inViewGroupBy?: Prisma.EntityViewUpdateManyWithoutGroupByPropertyNestedInput
|
|
}
|
|
|
|
export type PropertyUncheckedUpdateWithoutTenantInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entityId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
subtype?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDisplay?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isUnique?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInCreate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canUpdate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
formulaId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
attributes?: Prisma.PropertyAttributeUncheckedUpdateManyWithoutPropertyNestedInput
|
|
options?: Prisma.PropertyOptionUncheckedUpdateManyWithoutPropertyNestedInput
|
|
values?: Prisma.RowValueUncheckedUpdateManyWithoutPropertyNestedInput
|
|
inViewProperties?: Prisma.EntityViewPropertyUncheckedUpdateManyWithoutPropertyNestedInput
|
|
inViewGroupBy?: Prisma.EntityViewUncheckedUpdateManyWithoutGroupByPropertyNestedInput
|
|
}
|
|
|
|
export type PropertyUncheckedUpdateManyWithoutTenantInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entityId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
subtype?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDisplay?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isUnique?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInCreate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canUpdate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
formulaId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type PropertyCreateManyEntityInput = {
|
|
id?: string
|
|
order: number
|
|
name: string
|
|
title: string
|
|
type: number
|
|
subtype?: string | null
|
|
isDefault?: boolean
|
|
isRequired?: boolean
|
|
isHidden?: boolean
|
|
isDisplay?: boolean
|
|
isUnique?: boolean
|
|
isReadOnly?: boolean
|
|
showInCreate?: boolean
|
|
canUpdate?: boolean
|
|
formulaId?: string | null
|
|
tenantId?: string | null
|
|
}
|
|
|
|
export type PropertyUpdateWithoutEntityInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
subtype?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDisplay?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isUnique?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInCreate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canUpdate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
formula?: Prisma.FormulaUpdateOneWithoutInPropertiesNestedInput
|
|
tenant?: Prisma.TenantUpdateOneWithoutEntityPropertiesNestedInput
|
|
attributes?: Prisma.PropertyAttributeUpdateManyWithoutPropertyNestedInput
|
|
options?: Prisma.PropertyOptionUpdateManyWithoutPropertyNestedInput
|
|
values?: Prisma.RowValueUpdateManyWithoutPropertyNestedInput
|
|
inViewProperties?: Prisma.EntityViewPropertyUpdateManyWithoutPropertyNestedInput
|
|
inViewGroupBy?: Prisma.EntityViewUpdateManyWithoutGroupByPropertyNestedInput
|
|
}
|
|
|
|
export type PropertyUncheckedUpdateWithoutEntityInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
subtype?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDisplay?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isUnique?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInCreate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canUpdate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
formulaId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
attributes?: Prisma.PropertyAttributeUncheckedUpdateManyWithoutPropertyNestedInput
|
|
options?: Prisma.PropertyOptionUncheckedUpdateManyWithoutPropertyNestedInput
|
|
values?: Prisma.RowValueUncheckedUpdateManyWithoutPropertyNestedInput
|
|
inViewProperties?: Prisma.EntityViewPropertyUncheckedUpdateManyWithoutPropertyNestedInput
|
|
inViewGroupBy?: Prisma.EntityViewUncheckedUpdateManyWithoutGroupByPropertyNestedInput
|
|
}
|
|
|
|
export type PropertyUncheckedUpdateManyWithoutEntityInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
subtype?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDisplay?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isUnique?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInCreate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canUpdate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
formulaId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type PropertyCreateManyFormulaInput = {
|
|
id?: string
|
|
entityId: string
|
|
order: number
|
|
name: string
|
|
title: string
|
|
type: number
|
|
subtype?: string | null
|
|
isDefault?: boolean
|
|
isRequired?: boolean
|
|
isHidden?: boolean
|
|
isDisplay?: boolean
|
|
isUnique?: boolean
|
|
isReadOnly?: boolean
|
|
showInCreate?: boolean
|
|
canUpdate?: boolean
|
|
tenantId?: string | null
|
|
}
|
|
|
|
export type PropertyUpdateWithoutFormulaInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
subtype?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDisplay?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isUnique?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInCreate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canUpdate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
tenant?: Prisma.TenantUpdateOneWithoutEntityPropertiesNestedInput
|
|
attributes?: Prisma.PropertyAttributeUpdateManyWithoutPropertyNestedInput
|
|
entity?: Prisma.EntityUpdateOneRequiredWithoutPropertiesNestedInput
|
|
options?: Prisma.PropertyOptionUpdateManyWithoutPropertyNestedInput
|
|
values?: Prisma.RowValueUpdateManyWithoutPropertyNestedInput
|
|
inViewProperties?: Prisma.EntityViewPropertyUpdateManyWithoutPropertyNestedInput
|
|
inViewGroupBy?: Prisma.EntityViewUpdateManyWithoutGroupByPropertyNestedInput
|
|
}
|
|
|
|
export type PropertyUncheckedUpdateWithoutFormulaInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entityId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
subtype?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDisplay?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isUnique?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInCreate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canUpdate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
attributes?: Prisma.PropertyAttributeUncheckedUpdateManyWithoutPropertyNestedInput
|
|
options?: Prisma.PropertyOptionUncheckedUpdateManyWithoutPropertyNestedInput
|
|
values?: Prisma.RowValueUncheckedUpdateManyWithoutPropertyNestedInput
|
|
inViewProperties?: Prisma.EntityViewPropertyUncheckedUpdateManyWithoutPropertyNestedInput
|
|
inViewGroupBy?: Prisma.EntityViewUncheckedUpdateManyWithoutGroupByPropertyNestedInput
|
|
}
|
|
|
|
export type PropertyUncheckedUpdateManyWithoutFormulaInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entityId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.IntFieldUpdateOperationsInput | number
|
|
subtype?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDisplay?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isUnique?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isReadOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInCreate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
canUpdate?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type PropertyCountOutputType
|
|
*/
|
|
|
|
export type PropertyCountOutputType = {
|
|
attributes: number
|
|
options: number
|
|
values: number
|
|
inViewProperties: number
|
|
inViewGroupBy: number
|
|
}
|
|
|
|
export type PropertyCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
attributes?: boolean | PropertyCountOutputTypeCountAttributesArgs
|
|
options?: boolean | PropertyCountOutputTypeCountOptionsArgs
|
|
values?: boolean | PropertyCountOutputTypeCountValuesArgs
|
|
inViewProperties?: boolean | PropertyCountOutputTypeCountInViewPropertiesArgs
|
|
inViewGroupBy?: boolean | PropertyCountOutputTypeCountInViewGroupByArgs
|
|
}
|
|
|
|
/**
|
|
* PropertyCountOutputType without action
|
|
*/
|
|
export type PropertyCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PropertyCountOutputType
|
|
*/
|
|
select?: Prisma.PropertyCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* PropertyCountOutputType without action
|
|
*/
|
|
export type PropertyCountOutputTypeCountAttributesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.PropertyAttributeWhereInput
|
|
}
|
|
|
|
/**
|
|
* PropertyCountOutputType without action
|
|
*/
|
|
export type PropertyCountOutputTypeCountOptionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.PropertyOptionWhereInput
|
|
}
|
|
|
|
/**
|
|
* PropertyCountOutputType without action
|
|
*/
|
|
export type PropertyCountOutputTypeCountValuesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.RowValueWhereInput
|
|
}
|
|
|
|
/**
|
|
* PropertyCountOutputType without action
|
|
*/
|
|
export type PropertyCountOutputTypeCountInViewPropertiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.EntityViewPropertyWhereInput
|
|
}
|
|
|
|
/**
|
|
* PropertyCountOutputType without action
|
|
*/
|
|
export type PropertyCountOutputTypeCountInViewGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.EntityViewWhereInput
|
|
}
|
|
|
|
|
|
export type PropertySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
entityId?: boolean
|
|
order?: boolean
|
|
name?: boolean
|
|
title?: boolean
|
|
type?: boolean
|
|
subtype?: boolean
|
|
isDefault?: boolean
|
|
isRequired?: boolean
|
|
isHidden?: boolean
|
|
isDisplay?: boolean
|
|
isUnique?: boolean
|
|
isReadOnly?: boolean
|
|
showInCreate?: boolean
|
|
canUpdate?: boolean
|
|
formulaId?: boolean
|
|
tenantId?: boolean
|
|
formula?: boolean | Prisma.Property$formulaArgs<ExtArgs>
|
|
tenant?: boolean | Prisma.Property$tenantArgs<ExtArgs>
|
|
attributes?: boolean | Prisma.Property$attributesArgs<ExtArgs>
|
|
entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
options?: boolean | Prisma.Property$optionsArgs<ExtArgs>
|
|
values?: boolean | Prisma.Property$valuesArgs<ExtArgs>
|
|
inViewProperties?: boolean | Prisma.Property$inViewPropertiesArgs<ExtArgs>
|
|
inViewGroupBy?: boolean | Prisma.Property$inViewGroupByArgs<ExtArgs>
|
|
_count?: boolean | Prisma.PropertyCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["property"]>
|
|
|
|
export type PropertySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
entityId?: boolean
|
|
order?: boolean
|
|
name?: boolean
|
|
title?: boolean
|
|
type?: boolean
|
|
subtype?: boolean
|
|
isDefault?: boolean
|
|
isRequired?: boolean
|
|
isHidden?: boolean
|
|
isDisplay?: boolean
|
|
isUnique?: boolean
|
|
isReadOnly?: boolean
|
|
showInCreate?: boolean
|
|
canUpdate?: boolean
|
|
formulaId?: boolean
|
|
tenantId?: boolean
|
|
formula?: boolean | Prisma.Property$formulaArgs<ExtArgs>
|
|
tenant?: boolean | Prisma.Property$tenantArgs<ExtArgs>
|
|
entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["property"]>
|
|
|
|
export type PropertySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
entityId?: boolean
|
|
order?: boolean
|
|
name?: boolean
|
|
title?: boolean
|
|
type?: boolean
|
|
subtype?: boolean
|
|
isDefault?: boolean
|
|
isRequired?: boolean
|
|
isHidden?: boolean
|
|
isDisplay?: boolean
|
|
isUnique?: boolean
|
|
isReadOnly?: boolean
|
|
showInCreate?: boolean
|
|
canUpdate?: boolean
|
|
formulaId?: boolean
|
|
tenantId?: boolean
|
|
formula?: boolean | Prisma.Property$formulaArgs<ExtArgs>
|
|
tenant?: boolean | Prisma.Property$tenantArgs<ExtArgs>
|
|
entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["property"]>
|
|
|
|
export type PropertySelectScalar = {
|
|
id?: boolean
|
|
entityId?: boolean
|
|
order?: boolean
|
|
name?: boolean
|
|
title?: boolean
|
|
type?: boolean
|
|
subtype?: boolean
|
|
isDefault?: boolean
|
|
isRequired?: boolean
|
|
isHidden?: boolean
|
|
isDisplay?: boolean
|
|
isUnique?: boolean
|
|
isReadOnly?: boolean
|
|
showInCreate?: boolean
|
|
canUpdate?: boolean
|
|
formulaId?: boolean
|
|
tenantId?: boolean
|
|
}
|
|
|
|
export type PropertyOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "entityId" | "order" | "name" | "title" | "type" | "subtype" | "isDefault" | "isRequired" | "isHidden" | "isDisplay" | "isUnique" | "isReadOnly" | "showInCreate" | "canUpdate" | "formulaId" | "tenantId", ExtArgs["result"]["property"]>
|
|
export type PropertyInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
formula?: boolean | Prisma.Property$formulaArgs<ExtArgs>
|
|
tenant?: boolean | Prisma.Property$tenantArgs<ExtArgs>
|
|
attributes?: boolean | Prisma.Property$attributesArgs<ExtArgs>
|
|
entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
options?: boolean | Prisma.Property$optionsArgs<ExtArgs>
|
|
values?: boolean | Prisma.Property$valuesArgs<ExtArgs>
|
|
inViewProperties?: boolean | Prisma.Property$inViewPropertiesArgs<ExtArgs>
|
|
inViewGroupBy?: boolean | Prisma.Property$inViewGroupByArgs<ExtArgs>
|
|
_count?: boolean | Prisma.PropertyCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type PropertyIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
formula?: boolean | Prisma.Property$formulaArgs<ExtArgs>
|
|
tenant?: boolean | Prisma.Property$tenantArgs<ExtArgs>
|
|
entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
}
|
|
export type PropertyIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
formula?: boolean | Prisma.Property$formulaArgs<ExtArgs>
|
|
tenant?: boolean | Prisma.Property$tenantArgs<ExtArgs>
|
|
entity?: boolean | Prisma.EntityDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $PropertyPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "Property"
|
|
objects: {
|
|
formula: Prisma.$FormulaPayload<ExtArgs> | null
|
|
tenant: Prisma.$TenantPayload<ExtArgs> | null
|
|
attributes: Prisma.$PropertyAttributePayload<ExtArgs>[]
|
|
entity: Prisma.$EntityPayload<ExtArgs>
|
|
options: Prisma.$PropertyOptionPayload<ExtArgs>[]
|
|
values: Prisma.$RowValuePayload<ExtArgs>[]
|
|
inViewProperties: Prisma.$EntityViewPropertyPayload<ExtArgs>[]
|
|
inViewGroupBy: Prisma.$EntityViewPayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
entityId: string
|
|
order: number
|
|
name: string
|
|
title: string
|
|
type: number
|
|
subtype: string | null
|
|
isDefault: boolean
|
|
isRequired: boolean
|
|
isHidden: boolean
|
|
isDisplay: boolean
|
|
isUnique: boolean
|
|
isReadOnly: boolean
|
|
showInCreate: boolean
|
|
canUpdate: boolean
|
|
formulaId: string | null
|
|
tenantId: string | null
|
|
}, ExtArgs["result"]["property"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type PropertyGetPayload<S extends boolean | null | undefined | PropertyDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PropertyPayload, S>
|
|
|
|
export type PropertyCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<PropertyFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: PropertyCountAggregateInputType | true
|
|
}
|
|
|
|
export interface PropertyDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Property'], meta: { name: 'Property' } }
|
|
/**
|
|
* Find zero or one Property that matches the filter.
|
|
* @param {PropertyFindUniqueArgs} args - Arguments to find a Property
|
|
* @example
|
|
* // Get one Property
|
|
* const property = await prisma.property.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends PropertyFindUniqueArgs>(args: Prisma.SelectSubset<T, PropertyFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PropertyClient<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one Property that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {PropertyFindUniqueOrThrowArgs} args - Arguments to find a Property
|
|
* @example
|
|
* // Get one Property
|
|
* const property = await prisma.property.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends PropertyFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PropertyFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PropertyClient<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Property 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 {PropertyFindFirstArgs} args - Arguments to find a Property
|
|
* @example
|
|
* // Get one Property
|
|
* const property = await prisma.property.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends PropertyFindFirstArgs>(args?: Prisma.SelectSubset<T, PropertyFindFirstArgs<ExtArgs>>): Prisma.Prisma__PropertyClient<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Property 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 {PropertyFindFirstOrThrowArgs} args - Arguments to find a Property
|
|
* @example
|
|
* // Get one Property
|
|
* const property = await prisma.property.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends PropertyFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PropertyFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PropertyClient<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more Properties 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 {PropertyFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all Properties
|
|
* const properties = await prisma.property.findMany()
|
|
*
|
|
* // Get first 10 Properties
|
|
* const properties = await prisma.property.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const propertyWithIdOnly = await prisma.property.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends PropertyFindManyArgs>(args?: Prisma.SelectSubset<T, PropertyFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a Property.
|
|
* @param {PropertyCreateArgs} args - Arguments to create a Property.
|
|
* @example
|
|
* // Create one Property
|
|
* const Property = await prisma.property.create({
|
|
* data: {
|
|
* // ... data to create a Property
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends PropertyCreateArgs>(args: Prisma.SelectSubset<T, PropertyCreateArgs<ExtArgs>>): Prisma.Prisma__PropertyClient<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many Properties.
|
|
* @param {PropertyCreateManyArgs} args - Arguments to create many Properties.
|
|
* @example
|
|
* // Create many Properties
|
|
* const property = await prisma.property.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends PropertyCreateManyArgs>(args?: Prisma.SelectSubset<T, PropertyCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many Properties and returns the data saved in the database.
|
|
* @param {PropertyCreateManyAndReturnArgs} args - Arguments to create many Properties.
|
|
* @example
|
|
* // Create many Properties
|
|
* const property = await prisma.property.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many Properties and only return the `id`
|
|
* const propertyWithIdOnly = await prisma.property.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 PropertyCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PropertyCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a Property.
|
|
* @param {PropertyDeleteArgs} args - Arguments to delete one Property.
|
|
* @example
|
|
* // Delete one Property
|
|
* const Property = await prisma.property.delete({
|
|
* where: {
|
|
* // ... filter to delete one Property
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends PropertyDeleteArgs>(args: Prisma.SelectSubset<T, PropertyDeleteArgs<ExtArgs>>): Prisma.Prisma__PropertyClient<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one Property.
|
|
* @param {PropertyUpdateArgs} args - Arguments to update one Property.
|
|
* @example
|
|
* // Update one Property
|
|
* const property = await prisma.property.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends PropertyUpdateArgs>(args: Prisma.SelectSubset<T, PropertyUpdateArgs<ExtArgs>>): Prisma.Prisma__PropertyClient<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more Properties.
|
|
* @param {PropertyDeleteManyArgs} args - Arguments to filter Properties to delete.
|
|
* @example
|
|
* // Delete a few Properties
|
|
* const { count } = await prisma.property.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends PropertyDeleteManyArgs>(args?: Prisma.SelectSubset<T, PropertyDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Properties.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PropertyUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many Properties
|
|
* const property = await prisma.property.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends PropertyUpdateManyArgs>(args: Prisma.SelectSubset<T, PropertyUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Properties and returns the data updated in the database.
|
|
* @param {PropertyUpdateManyAndReturnArgs} args - Arguments to update many Properties.
|
|
* @example
|
|
* // Update many Properties
|
|
* const property = await prisma.property.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more Properties and only return the `id`
|
|
* const propertyWithIdOnly = await prisma.property.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 PropertyUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PropertyUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one Property.
|
|
* @param {PropertyUpsertArgs} args - Arguments to update or create a Property.
|
|
* @example
|
|
* // Update or create a Property
|
|
* const property = await prisma.property.upsert({
|
|
* create: {
|
|
* // ... data to create a Property
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the Property we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends PropertyUpsertArgs>(args: Prisma.SelectSubset<T, PropertyUpsertArgs<ExtArgs>>): Prisma.Prisma__PropertyClient<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of Properties.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PropertyCountArgs} args - Arguments to filter Properties to count.
|
|
* @example
|
|
* // Count the number of Properties
|
|
* const count = await prisma.property.count({
|
|
* where: {
|
|
* // ... the filter for the Properties we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends PropertyCountArgs>(
|
|
args?: Prisma.Subset<T, PropertyCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], PropertyCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a Property.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PropertyAggregateArgs} 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 PropertyAggregateArgs>(args: Prisma.Subset<T, PropertyAggregateArgs>): Prisma.PrismaPromise<GetPropertyAggregateType<T>>
|
|
|
|
/**
|
|
* Group by Property.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PropertyGroupByArgs} 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 PropertyGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: PropertyGroupByArgs['orderBy'] }
|
|
: { orderBy?: PropertyGroupByArgs['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, PropertyGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPropertyGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the Property model
|
|
*/
|
|
readonly fields: PropertyFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for Property.
|
|
* 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__PropertyClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
formula<T extends Prisma.Property$formulaArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Property$formulaArgs<ExtArgs>>): Prisma.Prisma__FormulaClient<runtime.Types.Result.GetResult<Prisma.$FormulaPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
tenant<T extends Prisma.Property$tenantArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Property$tenantArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
attributes<T extends Prisma.Property$attributesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Property$attributesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyAttributePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
entity<T extends Prisma.EntityDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.EntityDefaultArgs<ExtArgs>>): Prisma.Prisma__EntityClient<runtime.Types.Result.GetResult<Prisma.$EntityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
options<T extends Prisma.Property$optionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Property$optionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyOptionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
values<T extends Prisma.Property$valuesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Property$valuesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RowValuePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
inViewProperties<T extends Prisma.Property$inViewPropertiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Property$inViewPropertiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityViewPropertyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
inViewGroupBy<T extends Prisma.Property$inViewGroupByArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Property$inViewGroupByArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityViewPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<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 Property model
|
|
*/
|
|
export interface PropertyFieldRefs {
|
|
readonly id: Prisma.FieldRef<"Property", 'String'>
|
|
readonly entityId: Prisma.FieldRef<"Property", 'String'>
|
|
readonly order: Prisma.FieldRef<"Property", 'Int'>
|
|
readonly name: Prisma.FieldRef<"Property", 'String'>
|
|
readonly title: Prisma.FieldRef<"Property", 'String'>
|
|
readonly type: Prisma.FieldRef<"Property", 'Int'>
|
|
readonly subtype: Prisma.FieldRef<"Property", 'String'>
|
|
readonly isDefault: Prisma.FieldRef<"Property", 'Boolean'>
|
|
readonly isRequired: Prisma.FieldRef<"Property", 'Boolean'>
|
|
readonly isHidden: Prisma.FieldRef<"Property", 'Boolean'>
|
|
readonly isDisplay: Prisma.FieldRef<"Property", 'Boolean'>
|
|
readonly isUnique: Prisma.FieldRef<"Property", 'Boolean'>
|
|
readonly isReadOnly: Prisma.FieldRef<"Property", 'Boolean'>
|
|
readonly showInCreate: Prisma.FieldRef<"Property", 'Boolean'>
|
|
readonly canUpdate: Prisma.FieldRef<"Property", 'Boolean'>
|
|
readonly formulaId: Prisma.FieldRef<"Property", 'String'>
|
|
readonly tenantId: Prisma.FieldRef<"Property", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* Property findUnique
|
|
*/
|
|
export type PropertyFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Property
|
|
*/
|
|
select?: Prisma.PropertySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Property
|
|
*/
|
|
omit?: Prisma.PropertyOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PropertyInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Property to fetch.
|
|
*/
|
|
where: Prisma.PropertyWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Property findUniqueOrThrow
|
|
*/
|
|
export type PropertyFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Property
|
|
*/
|
|
select?: Prisma.PropertySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Property
|
|
*/
|
|
omit?: Prisma.PropertyOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PropertyInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Property to fetch.
|
|
*/
|
|
where: Prisma.PropertyWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Property findFirst
|
|
*/
|
|
export type PropertyFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Property
|
|
*/
|
|
select?: Prisma.PropertySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Property
|
|
*/
|
|
omit?: Prisma.PropertyOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PropertyInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Property to fetch.
|
|
*/
|
|
where?: Prisma.PropertyWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Properties to fetch.
|
|
*/
|
|
orderBy?: Prisma.PropertyOrderByWithRelationInput | Prisma.PropertyOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for Properties.
|
|
*/
|
|
cursor?: Prisma.PropertyWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` Properties 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` Properties.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of Properties.
|
|
*/
|
|
distinct?: Prisma.PropertyScalarFieldEnum | Prisma.PropertyScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Property findFirstOrThrow
|
|
*/
|
|
export type PropertyFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Property
|
|
*/
|
|
select?: Prisma.PropertySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Property
|
|
*/
|
|
omit?: Prisma.PropertyOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PropertyInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Property to fetch.
|
|
*/
|
|
where?: Prisma.PropertyWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Properties to fetch.
|
|
*/
|
|
orderBy?: Prisma.PropertyOrderByWithRelationInput | Prisma.PropertyOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for Properties.
|
|
*/
|
|
cursor?: Prisma.PropertyWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` Properties 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` Properties.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of Properties.
|
|
*/
|
|
distinct?: Prisma.PropertyScalarFieldEnum | Prisma.PropertyScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Property findMany
|
|
*/
|
|
export type PropertyFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Property
|
|
*/
|
|
select?: Prisma.PropertySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Property
|
|
*/
|
|
omit?: Prisma.PropertyOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PropertyInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Properties to fetch.
|
|
*/
|
|
where?: Prisma.PropertyWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Properties to fetch.
|
|
*/
|
|
orderBy?: Prisma.PropertyOrderByWithRelationInput | Prisma.PropertyOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing Properties.
|
|
*/
|
|
cursor?: Prisma.PropertyWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` Properties 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` Properties.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of Properties.
|
|
*/
|
|
distinct?: Prisma.PropertyScalarFieldEnum | Prisma.PropertyScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Property create
|
|
*/
|
|
export type PropertyCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Property
|
|
*/
|
|
select?: Prisma.PropertySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Property
|
|
*/
|
|
omit?: Prisma.PropertyOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PropertyInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a Property.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PropertyCreateInput, Prisma.PropertyUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* Property createMany
|
|
*/
|
|
export type PropertyCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many Properties.
|
|
*/
|
|
data: Prisma.PropertyCreateManyInput | Prisma.PropertyCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* Property createManyAndReturn
|
|
*/
|
|
export type PropertyCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Property
|
|
*/
|
|
select?: Prisma.PropertySelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Property
|
|
*/
|
|
omit?: Prisma.PropertyOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many Properties.
|
|
*/
|
|
data: Prisma.PropertyCreateManyInput | Prisma.PropertyCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PropertyIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* Property update
|
|
*/
|
|
export type PropertyUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Property
|
|
*/
|
|
select?: Prisma.PropertySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Property
|
|
*/
|
|
omit?: Prisma.PropertyOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PropertyInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a Property.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PropertyUpdateInput, Prisma.PropertyUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which Property to update.
|
|
*/
|
|
where: Prisma.PropertyWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Property updateMany
|
|
*/
|
|
export type PropertyUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update Properties.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PropertyUpdateManyMutationInput, Prisma.PropertyUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which Properties to update
|
|
*/
|
|
where?: Prisma.PropertyWhereInput
|
|
/**
|
|
* Limit how many Properties to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* Property updateManyAndReturn
|
|
*/
|
|
export type PropertyUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Property
|
|
*/
|
|
select?: Prisma.PropertySelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Property
|
|
*/
|
|
omit?: Prisma.PropertyOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update Properties.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PropertyUpdateManyMutationInput, Prisma.PropertyUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which Properties to update
|
|
*/
|
|
where?: Prisma.PropertyWhereInput
|
|
/**
|
|
* Limit how many Properties to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PropertyIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* Property upsert
|
|
*/
|
|
export type PropertyUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Property
|
|
*/
|
|
select?: Prisma.PropertySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Property
|
|
*/
|
|
omit?: Prisma.PropertyOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PropertyInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the Property to update in case it exists.
|
|
*/
|
|
where: Prisma.PropertyWhereUniqueInput
|
|
/**
|
|
* In case the Property found by the `where` argument doesn't exist, create a new Property with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.PropertyCreateInput, Prisma.PropertyUncheckedCreateInput>
|
|
/**
|
|
* In case the Property was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.PropertyUpdateInput, Prisma.PropertyUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* Property delete
|
|
*/
|
|
export type PropertyDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Property
|
|
*/
|
|
select?: Prisma.PropertySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Property
|
|
*/
|
|
omit?: Prisma.PropertyOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PropertyInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which Property to delete.
|
|
*/
|
|
where: Prisma.PropertyWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Property deleteMany
|
|
*/
|
|
export type PropertyDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which Properties to delete
|
|
*/
|
|
where?: Prisma.PropertyWhereInput
|
|
/**
|
|
* Limit how many Properties to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* Property.formula
|
|
*/
|
|
export type Property$formulaArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Formula
|
|
*/
|
|
select?: Prisma.FormulaSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Formula
|
|
*/
|
|
omit?: Prisma.FormulaOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.FormulaInclude<ExtArgs> | null
|
|
where?: Prisma.FormulaWhereInput
|
|
}
|
|
|
|
/**
|
|
* Property.tenant
|
|
*/
|
|
export type Property$tenantArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Tenant
|
|
*/
|
|
select?: Prisma.TenantSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Tenant
|
|
*/
|
|
omit?: Prisma.TenantOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantInclude<ExtArgs> | null
|
|
where?: Prisma.TenantWhereInput
|
|
}
|
|
|
|
/**
|
|
* Property.attributes
|
|
*/
|
|
export type Property$attributesArgs<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
|
|
where?: Prisma.PropertyAttributeWhereInput
|
|
orderBy?: Prisma.PropertyAttributeOrderByWithRelationInput | Prisma.PropertyAttributeOrderByWithRelationInput[]
|
|
cursor?: Prisma.PropertyAttributeWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.PropertyAttributeScalarFieldEnum | Prisma.PropertyAttributeScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Property.options
|
|
*/
|
|
export type Property$optionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PropertyOption
|
|
*/
|
|
select?: Prisma.PropertyOptionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PropertyOption
|
|
*/
|
|
omit?: Prisma.PropertyOptionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PropertyOptionInclude<ExtArgs> | null
|
|
where?: Prisma.PropertyOptionWhereInput
|
|
orderBy?: Prisma.PropertyOptionOrderByWithRelationInput | Prisma.PropertyOptionOrderByWithRelationInput[]
|
|
cursor?: Prisma.PropertyOptionWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.PropertyOptionScalarFieldEnum | Prisma.PropertyOptionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Property.values
|
|
*/
|
|
export type Property$valuesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowValue
|
|
*/
|
|
select?: Prisma.RowValueSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowValue
|
|
*/
|
|
omit?: Prisma.RowValueOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowValueInclude<ExtArgs> | null
|
|
where?: Prisma.RowValueWhereInput
|
|
orderBy?: Prisma.RowValueOrderByWithRelationInput | Prisma.RowValueOrderByWithRelationInput[]
|
|
cursor?: Prisma.RowValueWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.RowValueScalarFieldEnum | Prisma.RowValueScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Property.inViewProperties
|
|
*/
|
|
export type Property$inViewPropertiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityViewProperty
|
|
*/
|
|
select?: Prisma.EntityViewPropertySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityViewProperty
|
|
*/
|
|
omit?: Prisma.EntityViewPropertyOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityViewPropertyInclude<ExtArgs> | null
|
|
where?: Prisma.EntityViewPropertyWhereInput
|
|
orderBy?: Prisma.EntityViewPropertyOrderByWithRelationInput | Prisma.EntityViewPropertyOrderByWithRelationInput[]
|
|
cursor?: Prisma.EntityViewPropertyWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.EntityViewPropertyScalarFieldEnum | Prisma.EntityViewPropertyScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Property.inViewGroupBy
|
|
*/
|
|
export type Property$inViewGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityView
|
|
*/
|
|
select?: Prisma.EntityViewSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityView
|
|
*/
|
|
omit?: Prisma.EntityViewOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityViewInclude<ExtArgs> | null
|
|
where?: Prisma.EntityViewWhereInput
|
|
orderBy?: Prisma.EntityViewOrderByWithRelationInput | Prisma.EntityViewOrderByWithRelationInput[]
|
|
cursor?: Prisma.EntityViewWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.EntityViewScalarFieldEnum | Prisma.EntityViewScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Property without action
|
|
*/
|
|
export type PropertyDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Property
|
|
*/
|
|
select?: Prisma.PropertySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Property
|
|
*/
|
|
omit?: Prisma.PropertyOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PropertyInclude<ExtArgs> | null
|
|
}
|