all the haul
This commit is contained in:
@@ -20,15 +20,25 @@ export type UnifiSiteModel = runtime.Types.Result.DefaultSelection<Prisma.$Unifi
|
||||
|
||||
export type AggregateUnifiSite = {
|
||||
_count: UnifiSiteCountAggregateOutputType | null
|
||||
_avg: UnifiSiteAvgAggregateOutputType | null
|
||||
_sum: UnifiSiteSumAggregateOutputType | null
|
||||
_min: UnifiSiteMinAggregateOutputType | null
|
||||
_max: UnifiSiteMaxAggregateOutputType | null
|
||||
}
|
||||
|
||||
export type UnifiSiteAvgAggregateOutputType = {
|
||||
companyId: number | null
|
||||
}
|
||||
|
||||
export type UnifiSiteSumAggregateOutputType = {
|
||||
companyId: number | null
|
||||
}
|
||||
|
||||
export type UnifiSiteMinAggregateOutputType = {
|
||||
id: string | null
|
||||
name: string | null
|
||||
siteId: string | null
|
||||
companyId: string | null
|
||||
companyId: number | null
|
||||
createdAt: Date | null
|
||||
updatedAt: Date | null
|
||||
}
|
||||
@@ -37,7 +47,7 @@ export type UnifiSiteMaxAggregateOutputType = {
|
||||
id: string | null
|
||||
name: string | null
|
||||
siteId: string | null
|
||||
companyId: string | null
|
||||
companyId: number | null
|
||||
createdAt: Date | null
|
||||
updatedAt: Date | null
|
||||
}
|
||||
@@ -53,6 +63,14 @@ export type UnifiSiteCountAggregateOutputType = {
|
||||
}
|
||||
|
||||
|
||||
export type UnifiSiteAvgAggregateInputType = {
|
||||
companyId?: true
|
||||
}
|
||||
|
||||
export type UnifiSiteSumAggregateInputType = {
|
||||
companyId?: true
|
||||
}
|
||||
|
||||
export type UnifiSiteMinAggregateInputType = {
|
||||
id?: true
|
||||
name?: true
|
||||
@@ -116,6 +134,18 @@ export type UnifiSiteAggregateArgs<ExtArgs extends runtime.Types.Extensions.Inte
|
||||
* Count returned UnifiSites
|
||||
**/
|
||||
_count?: true | UnifiSiteCountAggregateInputType
|
||||
/**
|
||||
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
||||
*
|
||||
* Select which fields to average
|
||||
**/
|
||||
_avg?: UnifiSiteAvgAggregateInputType
|
||||
/**
|
||||
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
||||
*
|
||||
* Select which fields to sum
|
||||
**/
|
||||
_sum?: UnifiSiteSumAggregateInputType
|
||||
/**
|
||||
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
||||
*
|
||||
@@ -149,6 +179,8 @@ export type UnifiSiteGroupByArgs<ExtArgs extends runtime.Types.Extensions.Intern
|
||||
take?: number
|
||||
skip?: number
|
||||
_count?: UnifiSiteCountAggregateInputType | true
|
||||
_avg?: UnifiSiteAvgAggregateInputType
|
||||
_sum?: UnifiSiteSumAggregateInputType
|
||||
_min?: UnifiSiteMinAggregateInputType
|
||||
_max?: UnifiSiteMaxAggregateInputType
|
||||
}
|
||||
@@ -157,10 +189,12 @@ export type UnifiSiteGroupByOutputType = {
|
||||
id: string
|
||||
name: string
|
||||
siteId: string
|
||||
companyId: string | null
|
||||
companyId: number | null
|
||||
createdAt: Date
|
||||
updatedAt: Date
|
||||
_count: UnifiSiteCountAggregateOutputType | null
|
||||
_avg: UnifiSiteAvgAggregateOutputType | null
|
||||
_sum: UnifiSiteSumAggregateOutputType | null
|
||||
_min: UnifiSiteMinAggregateOutputType | null
|
||||
_max: UnifiSiteMaxAggregateOutputType | null
|
||||
}
|
||||
@@ -187,7 +221,7 @@ export type UnifiSiteWhereInput = {
|
||||
id?: Prisma.StringFilter<"UnifiSite"> | string
|
||||
name?: Prisma.StringFilter<"UnifiSite"> | string
|
||||
siteId?: Prisma.StringFilter<"UnifiSite"> | string
|
||||
companyId?: Prisma.StringNullableFilter<"UnifiSite"> | string | null
|
||||
companyId?: Prisma.IntNullableFilter<"UnifiSite"> | number | null
|
||||
createdAt?: Prisma.DateTimeFilter<"UnifiSite"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"UnifiSite"> | Date | string
|
||||
company?: Prisma.XOR<Prisma.CompanyNullableScalarRelationFilter, Prisma.CompanyWhereInput> | null
|
||||
@@ -210,7 +244,7 @@ export type UnifiSiteWhereUniqueInput = Prisma.AtLeast<{
|
||||
OR?: Prisma.UnifiSiteWhereInput[]
|
||||
NOT?: Prisma.UnifiSiteWhereInput | Prisma.UnifiSiteWhereInput[]
|
||||
name?: Prisma.StringFilter<"UnifiSite"> | string
|
||||
companyId?: Prisma.StringNullableFilter<"UnifiSite"> | string | null
|
||||
companyId?: Prisma.IntNullableFilter<"UnifiSite"> | number | null
|
||||
createdAt?: Prisma.DateTimeFilter<"UnifiSite"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"UnifiSite"> | Date | string
|
||||
company?: Prisma.XOR<Prisma.CompanyNullableScalarRelationFilter, Prisma.CompanyWhereInput> | null
|
||||
@@ -224,8 +258,10 @@ export type UnifiSiteOrderByWithAggregationInput = {
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
_count?: Prisma.UnifiSiteCountOrderByAggregateInput
|
||||
_avg?: Prisma.UnifiSiteAvgOrderByAggregateInput
|
||||
_max?: Prisma.UnifiSiteMaxOrderByAggregateInput
|
||||
_min?: Prisma.UnifiSiteMinOrderByAggregateInput
|
||||
_sum?: Prisma.UnifiSiteSumOrderByAggregateInput
|
||||
}
|
||||
|
||||
export type UnifiSiteScalarWhereWithAggregatesInput = {
|
||||
@@ -235,7 +271,7 @@ export type UnifiSiteScalarWhereWithAggregatesInput = {
|
||||
id?: Prisma.StringWithAggregatesFilter<"UnifiSite"> | string
|
||||
name?: Prisma.StringWithAggregatesFilter<"UnifiSite"> | string
|
||||
siteId?: Prisma.StringWithAggregatesFilter<"UnifiSite"> | string
|
||||
companyId?: Prisma.StringNullableWithAggregatesFilter<"UnifiSite"> | string | null
|
||||
companyId?: Prisma.IntNullableWithAggregatesFilter<"UnifiSite"> | number | null
|
||||
createdAt?: Prisma.DateTimeWithAggregatesFilter<"UnifiSite"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"UnifiSite"> | Date | string
|
||||
}
|
||||
@@ -253,7 +289,7 @@ export type UnifiSiteUncheckedCreateInput = {
|
||||
id?: string
|
||||
name: string
|
||||
siteId: string
|
||||
companyId?: string | null
|
||||
companyId?: number | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
}
|
||||
@@ -271,7 +307,7 @@ export type UnifiSiteUncheckedUpdateInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
siteId?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
companyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
companyId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
@@ -280,7 +316,7 @@ export type UnifiSiteCreateManyInput = {
|
||||
id?: string
|
||||
name: string
|
||||
siteId: string
|
||||
companyId?: string | null
|
||||
companyId?: number | null
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
}
|
||||
@@ -297,7 +333,7 @@ export type UnifiSiteUncheckedUpdateManyInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
siteId?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
companyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
companyId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
@@ -311,6 +347,10 @@ export type UnifiSiteCountOrderByAggregateInput = {
|
||||
updatedAt?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type UnifiSiteAvgOrderByAggregateInput = {
|
||||
companyId?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type UnifiSiteMaxOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
@@ -329,6 +369,10 @@ export type UnifiSiteMinOrderByAggregateInput = {
|
||||
updatedAt?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type UnifiSiteSumOrderByAggregateInput = {
|
||||
companyId?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type UnifiSiteListRelationFilter = {
|
||||
every?: Prisma.UnifiSiteWhereInput
|
||||
some?: Prisma.UnifiSiteWhereInput
|
||||
@@ -430,7 +474,7 @@ export type UnifiSiteScalarWhereInput = {
|
||||
id?: Prisma.StringFilter<"UnifiSite"> | string
|
||||
name?: Prisma.StringFilter<"UnifiSite"> | string
|
||||
siteId?: Prisma.StringFilter<"UnifiSite"> | string
|
||||
companyId?: Prisma.StringNullableFilter<"UnifiSite"> | string | null
|
||||
companyId?: Prisma.IntNullableFilter<"UnifiSite"> | number | null
|
||||
createdAt?: Prisma.DateTimeFilter<"UnifiSite"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"UnifiSite"> | Date | string
|
||||
}
|
||||
@@ -528,7 +572,7 @@ export type $UnifiSitePayload<ExtArgs extends runtime.Types.Extensions.InternalA
|
||||
id: string
|
||||
name: string
|
||||
siteId: string
|
||||
companyId: string | null
|
||||
companyId: number | null
|
||||
createdAt: Date
|
||||
updatedAt: Date
|
||||
}, ExtArgs["result"]["unifiSite"]>
|
||||
@@ -958,7 +1002,7 @@ export interface UnifiSiteFieldRefs {
|
||||
readonly id: Prisma.FieldRef<"UnifiSite", 'String'>
|
||||
readonly name: Prisma.FieldRef<"UnifiSite", 'String'>
|
||||
readonly siteId: Prisma.FieldRef<"UnifiSite", 'String'>
|
||||
readonly companyId: Prisma.FieldRef<"UnifiSite", 'String'>
|
||||
readonly companyId: Prisma.FieldRef<"UnifiSite", 'Int'>
|
||||
readonly createdAt: Prisma.FieldRef<"UnifiSite", 'DateTime'>
|
||||
readonly updatedAt: Prisma.FieldRef<"UnifiSite", 'DateTime'>
|
||||
}
|
||||
@@ -1157,6 +1201,11 @@ export type UnifiSiteFindManyArgs<ExtArgs extends runtime.Types.Extensions.Inter
|
||||
* Skip the first `n` UnifiSites.
|
||||
*/
|
||||
skip?: number
|
||||
/**
|
||||
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
||||
*
|
||||
* Filter by unique combinations of UnifiSites.
|
||||
*/
|
||||
distinct?: Prisma.UnifiSiteScalarFieldEnum | Prisma.UnifiSiteScalarFieldEnum[]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user