1515 lines
60 KiB
TypeScript
1515 lines
60 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 `DashboardLayout` 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 DashboardLayout
|
|
*
|
|
*/
|
|
export type DashboardLayoutModel = runtime.Types.Result.DefaultSelection<Prisma.$DashboardLayoutPayload>
|
|
|
|
export type AggregateDashboardLayout = {
|
|
_count: DashboardLayoutCountAggregateOutputType | null
|
|
_min: DashboardLayoutMinAggregateOutputType | null
|
|
_max: DashboardLayoutMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type DashboardLayoutMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
tenantId: string | null
|
|
dashboardId: string | null
|
|
userId: string | null
|
|
isDemoData: boolean | null
|
|
archivedAt: Date | null
|
|
}
|
|
|
|
export type DashboardLayoutMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
tenantId: string | null
|
|
dashboardId: string | null
|
|
userId: string | null
|
|
isDemoData: boolean | null
|
|
archivedAt: Date | null
|
|
}
|
|
|
|
export type DashboardLayoutCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
tenantId: number
|
|
dashboardId: number
|
|
userId: number
|
|
widgets: number
|
|
layoutData: number
|
|
isDemoData: number
|
|
archivedAt: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type DashboardLayoutMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
dashboardId?: true
|
|
userId?: true
|
|
isDemoData?: true
|
|
archivedAt?: true
|
|
}
|
|
|
|
export type DashboardLayoutMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
dashboardId?: true
|
|
userId?: true
|
|
isDemoData?: true
|
|
archivedAt?: true
|
|
}
|
|
|
|
export type DashboardLayoutCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
dashboardId?: true
|
|
userId?: true
|
|
widgets?: true
|
|
layoutData?: true
|
|
isDemoData?: true
|
|
archivedAt?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type DashboardLayoutAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which DashboardLayout to aggregate.
|
|
*/
|
|
where?: Prisma.DashboardLayoutWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of DashboardLayouts to fetch.
|
|
*/
|
|
orderBy?: Prisma.DashboardLayoutOrderByWithRelationInput | Prisma.DashboardLayoutOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.DashboardLayoutWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` DashboardLayouts 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` DashboardLayouts.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned DashboardLayouts
|
|
**/
|
|
_count?: true | DashboardLayoutCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: DashboardLayoutMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: DashboardLayoutMaxAggregateInputType
|
|
}
|
|
|
|
export type GetDashboardLayoutAggregateType<T extends DashboardLayoutAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateDashboardLayout]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateDashboardLayout[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateDashboardLayout[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type DashboardLayoutGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.DashboardLayoutWhereInput
|
|
orderBy?: Prisma.DashboardLayoutOrderByWithAggregationInput | Prisma.DashboardLayoutOrderByWithAggregationInput[]
|
|
by: Prisma.DashboardLayoutScalarFieldEnum[] | Prisma.DashboardLayoutScalarFieldEnum
|
|
having?: Prisma.DashboardLayoutScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: DashboardLayoutCountAggregateInputType | true
|
|
_min?: DashboardLayoutMinAggregateInputType
|
|
_max?: DashboardLayoutMaxAggregateInputType
|
|
}
|
|
|
|
export type DashboardLayoutGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
tenantId: string
|
|
dashboardId: string
|
|
userId: string | null
|
|
widgets: runtime.JsonValue
|
|
layoutData: runtime.JsonValue
|
|
isDemoData: boolean
|
|
archivedAt: Date | null
|
|
_count: DashboardLayoutCountAggregateOutputType | null
|
|
_min: DashboardLayoutMinAggregateOutputType | null
|
|
_max: DashboardLayoutMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetDashboardLayoutGroupByPayload<T extends DashboardLayoutGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<DashboardLayoutGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof DashboardLayoutGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], DashboardLayoutGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], DashboardLayoutGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type DashboardLayoutWhereInput = {
|
|
AND?: Prisma.DashboardLayoutWhereInput | Prisma.DashboardLayoutWhereInput[]
|
|
OR?: Prisma.DashboardLayoutWhereInput[]
|
|
NOT?: Prisma.DashboardLayoutWhereInput | Prisma.DashboardLayoutWhereInput[]
|
|
id?: Prisma.StringFilter<"DashboardLayout"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"DashboardLayout"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"DashboardLayout"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"DashboardLayout"> | string
|
|
dashboardId?: Prisma.StringFilter<"DashboardLayout"> | string
|
|
userId?: Prisma.StringNullableFilter<"DashboardLayout"> | string | null
|
|
widgets?: Prisma.JsonFilter<"DashboardLayout">
|
|
layoutData?: Prisma.JsonFilter<"DashboardLayout">
|
|
isDemoData?: Prisma.BoolFilter<"DashboardLayout"> | boolean
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"DashboardLayout"> | Date | string | null
|
|
dashboard?: Prisma.XOR<Prisma.DashboardScalarRelationFilter, Prisma.DashboardWhereInput>
|
|
}
|
|
|
|
export type DashboardLayoutOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
dashboardId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
widgets?: Prisma.SortOrder
|
|
layoutData?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
dashboard?: Prisma.DashboardOrderByWithRelationInput
|
|
}
|
|
|
|
export type DashboardLayoutWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
dashboardId_userId?: Prisma.DashboardLayoutDashboardIdUserIdCompoundUniqueInput
|
|
AND?: Prisma.DashboardLayoutWhereInput | Prisma.DashboardLayoutWhereInput[]
|
|
OR?: Prisma.DashboardLayoutWhereInput[]
|
|
NOT?: Prisma.DashboardLayoutWhereInput | Prisma.DashboardLayoutWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"DashboardLayout"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"DashboardLayout"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"DashboardLayout"> | string
|
|
dashboardId?: Prisma.StringFilter<"DashboardLayout"> | string
|
|
userId?: Prisma.StringNullableFilter<"DashboardLayout"> | string | null
|
|
widgets?: Prisma.JsonFilter<"DashboardLayout">
|
|
layoutData?: Prisma.JsonFilter<"DashboardLayout">
|
|
isDemoData?: Prisma.BoolFilter<"DashboardLayout"> | boolean
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"DashboardLayout"> | Date | string | null
|
|
dashboard?: Prisma.XOR<Prisma.DashboardScalarRelationFilter, Prisma.DashboardWhereInput>
|
|
}, "id" | "dashboardId_userId">
|
|
|
|
export type DashboardLayoutOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
dashboardId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
widgets?: Prisma.SortOrder
|
|
layoutData?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.DashboardLayoutCountOrderByAggregateInput
|
|
_max?: Prisma.DashboardLayoutMaxOrderByAggregateInput
|
|
_min?: Prisma.DashboardLayoutMinOrderByAggregateInput
|
|
}
|
|
|
|
export type DashboardLayoutScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.DashboardLayoutScalarWhereWithAggregatesInput | Prisma.DashboardLayoutScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.DashboardLayoutScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.DashboardLayoutScalarWhereWithAggregatesInput | Prisma.DashboardLayoutScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"DashboardLayout"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"DashboardLayout"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"DashboardLayout"> | Date | string
|
|
tenantId?: Prisma.StringWithAggregatesFilter<"DashboardLayout"> | string
|
|
dashboardId?: Prisma.StringWithAggregatesFilter<"DashboardLayout"> | string
|
|
userId?: Prisma.StringNullableWithAggregatesFilter<"DashboardLayout"> | string | null
|
|
widgets?: Prisma.JsonWithAggregatesFilter<"DashboardLayout">
|
|
layoutData?: Prisma.JsonWithAggregatesFilter<"DashboardLayout">
|
|
isDemoData?: Prisma.BoolWithAggregatesFilter<"DashboardLayout"> | boolean
|
|
archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"DashboardLayout"> | Date | string | null
|
|
}
|
|
|
|
export type DashboardLayoutCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
userId?: string | null
|
|
widgets?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
layoutData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
dashboard: Prisma.DashboardCreateNestedOneWithoutLayoutsInput
|
|
}
|
|
|
|
export type DashboardLayoutUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
dashboardId: string
|
|
userId?: string | null
|
|
widgets?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
layoutData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
}
|
|
|
|
export type DashboardLayoutUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
widgets?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
layoutData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
dashboard?: Prisma.DashboardUpdateOneRequiredWithoutLayoutsNestedInput
|
|
}
|
|
|
|
export type DashboardLayoutUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
dashboardId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
widgets?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
layoutData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type DashboardLayoutCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
dashboardId: string
|
|
userId?: string | null
|
|
widgets?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
layoutData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
}
|
|
|
|
export type DashboardLayoutUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
widgets?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
layoutData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type DashboardLayoutUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
dashboardId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
widgets?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
layoutData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type DashboardLayoutListRelationFilter = {
|
|
every?: Prisma.DashboardLayoutWhereInput
|
|
some?: Prisma.DashboardLayoutWhereInput
|
|
none?: Prisma.DashboardLayoutWhereInput
|
|
}
|
|
|
|
export type DashboardLayoutOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type DashboardLayoutDashboardIdUserIdCompoundUniqueInput = {
|
|
dashboardId: string
|
|
userId: string
|
|
}
|
|
|
|
export type DashboardLayoutCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
dashboardId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
widgets?: Prisma.SortOrder
|
|
layoutData?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type DashboardLayoutMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
dashboardId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type DashboardLayoutMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
dashboardId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type DashboardLayoutCreateNestedManyWithoutDashboardInput = {
|
|
create?: Prisma.XOR<Prisma.DashboardLayoutCreateWithoutDashboardInput, Prisma.DashboardLayoutUncheckedCreateWithoutDashboardInput> | Prisma.DashboardLayoutCreateWithoutDashboardInput[] | Prisma.DashboardLayoutUncheckedCreateWithoutDashboardInput[]
|
|
connectOrCreate?: Prisma.DashboardLayoutCreateOrConnectWithoutDashboardInput | Prisma.DashboardLayoutCreateOrConnectWithoutDashboardInput[]
|
|
createMany?: Prisma.DashboardLayoutCreateManyDashboardInputEnvelope
|
|
connect?: Prisma.DashboardLayoutWhereUniqueInput | Prisma.DashboardLayoutWhereUniqueInput[]
|
|
}
|
|
|
|
export type DashboardLayoutUncheckedCreateNestedManyWithoutDashboardInput = {
|
|
create?: Prisma.XOR<Prisma.DashboardLayoutCreateWithoutDashboardInput, Prisma.DashboardLayoutUncheckedCreateWithoutDashboardInput> | Prisma.DashboardLayoutCreateWithoutDashboardInput[] | Prisma.DashboardLayoutUncheckedCreateWithoutDashboardInput[]
|
|
connectOrCreate?: Prisma.DashboardLayoutCreateOrConnectWithoutDashboardInput | Prisma.DashboardLayoutCreateOrConnectWithoutDashboardInput[]
|
|
createMany?: Prisma.DashboardLayoutCreateManyDashboardInputEnvelope
|
|
connect?: Prisma.DashboardLayoutWhereUniqueInput | Prisma.DashboardLayoutWhereUniqueInput[]
|
|
}
|
|
|
|
export type DashboardLayoutUpdateManyWithoutDashboardNestedInput = {
|
|
create?: Prisma.XOR<Prisma.DashboardLayoutCreateWithoutDashboardInput, Prisma.DashboardLayoutUncheckedCreateWithoutDashboardInput> | Prisma.DashboardLayoutCreateWithoutDashboardInput[] | Prisma.DashboardLayoutUncheckedCreateWithoutDashboardInput[]
|
|
connectOrCreate?: Prisma.DashboardLayoutCreateOrConnectWithoutDashboardInput | Prisma.DashboardLayoutCreateOrConnectWithoutDashboardInput[]
|
|
upsert?: Prisma.DashboardLayoutUpsertWithWhereUniqueWithoutDashboardInput | Prisma.DashboardLayoutUpsertWithWhereUniqueWithoutDashboardInput[]
|
|
createMany?: Prisma.DashboardLayoutCreateManyDashboardInputEnvelope
|
|
set?: Prisma.DashboardLayoutWhereUniqueInput | Prisma.DashboardLayoutWhereUniqueInput[]
|
|
disconnect?: Prisma.DashboardLayoutWhereUniqueInput | Prisma.DashboardLayoutWhereUniqueInput[]
|
|
delete?: Prisma.DashboardLayoutWhereUniqueInput | Prisma.DashboardLayoutWhereUniqueInput[]
|
|
connect?: Prisma.DashboardLayoutWhereUniqueInput | Prisma.DashboardLayoutWhereUniqueInput[]
|
|
update?: Prisma.DashboardLayoutUpdateWithWhereUniqueWithoutDashboardInput | Prisma.DashboardLayoutUpdateWithWhereUniqueWithoutDashboardInput[]
|
|
updateMany?: Prisma.DashboardLayoutUpdateManyWithWhereWithoutDashboardInput | Prisma.DashboardLayoutUpdateManyWithWhereWithoutDashboardInput[]
|
|
deleteMany?: Prisma.DashboardLayoutScalarWhereInput | Prisma.DashboardLayoutScalarWhereInput[]
|
|
}
|
|
|
|
export type DashboardLayoutUncheckedUpdateManyWithoutDashboardNestedInput = {
|
|
create?: Prisma.XOR<Prisma.DashboardLayoutCreateWithoutDashboardInput, Prisma.DashboardLayoutUncheckedCreateWithoutDashboardInput> | Prisma.DashboardLayoutCreateWithoutDashboardInput[] | Prisma.DashboardLayoutUncheckedCreateWithoutDashboardInput[]
|
|
connectOrCreate?: Prisma.DashboardLayoutCreateOrConnectWithoutDashboardInput | Prisma.DashboardLayoutCreateOrConnectWithoutDashboardInput[]
|
|
upsert?: Prisma.DashboardLayoutUpsertWithWhereUniqueWithoutDashboardInput | Prisma.DashboardLayoutUpsertWithWhereUniqueWithoutDashboardInput[]
|
|
createMany?: Prisma.DashboardLayoutCreateManyDashboardInputEnvelope
|
|
set?: Prisma.DashboardLayoutWhereUniqueInput | Prisma.DashboardLayoutWhereUniqueInput[]
|
|
disconnect?: Prisma.DashboardLayoutWhereUniqueInput | Prisma.DashboardLayoutWhereUniqueInput[]
|
|
delete?: Prisma.DashboardLayoutWhereUniqueInput | Prisma.DashboardLayoutWhereUniqueInput[]
|
|
connect?: Prisma.DashboardLayoutWhereUniqueInput | Prisma.DashboardLayoutWhereUniqueInput[]
|
|
update?: Prisma.DashboardLayoutUpdateWithWhereUniqueWithoutDashboardInput | Prisma.DashboardLayoutUpdateWithWhereUniqueWithoutDashboardInput[]
|
|
updateMany?: Prisma.DashboardLayoutUpdateManyWithWhereWithoutDashboardInput | Prisma.DashboardLayoutUpdateManyWithWhereWithoutDashboardInput[]
|
|
deleteMany?: Prisma.DashboardLayoutScalarWhereInput | Prisma.DashboardLayoutScalarWhereInput[]
|
|
}
|
|
|
|
export type DashboardLayoutCreateWithoutDashboardInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
userId?: string | null
|
|
widgets?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
layoutData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
}
|
|
|
|
export type DashboardLayoutUncheckedCreateWithoutDashboardInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
userId?: string | null
|
|
widgets?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
layoutData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
}
|
|
|
|
export type DashboardLayoutCreateOrConnectWithoutDashboardInput = {
|
|
where: Prisma.DashboardLayoutWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.DashboardLayoutCreateWithoutDashboardInput, Prisma.DashboardLayoutUncheckedCreateWithoutDashboardInput>
|
|
}
|
|
|
|
export type DashboardLayoutCreateManyDashboardInputEnvelope = {
|
|
data: Prisma.DashboardLayoutCreateManyDashboardInput | Prisma.DashboardLayoutCreateManyDashboardInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type DashboardLayoutUpsertWithWhereUniqueWithoutDashboardInput = {
|
|
where: Prisma.DashboardLayoutWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.DashboardLayoutUpdateWithoutDashboardInput, Prisma.DashboardLayoutUncheckedUpdateWithoutDashboardInput>
|
|
create: Prisma.XOR<Prisma.DashboardLayoutCreateWithoutDashboardInput, Prisma.DashboardLayoutUncheckedCreateWithoutDashboardInput>
|
|
}
|
|
|
|
export type DashboardLayoutUpdateWithWhereUniqueWithoutDashboardInput = {
|
|
where: Prisma.DashboardLayoutWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.DashboardLayoutUpdateWithoutDashboardInput, Prisma.DashboardLayoutUncheckedUpdateWithoutDashboardInput>
|
|
}
|
|
|
|
export type DashboardLayoutUpdateManyWithWhereWithoutDashboardInput = {
|
|
where: Prisma.DashboardLayoutScalarWhereInput
|
|
data: Prisma.XOR<Prisma.DashboardLayoutUpdateManyMutationInput, Prisma.DashboardLayoutUncheckedUpdateManyWithoutDashboardInput>
|
|
}
|
|
|
|
export type DashboardLayoutScalarWhereInput = {
|
|
AND?: Prisma.DashboardLayoutScalarWhereInput | Prisma.DashboardLayoutScalarWhereInput[]
|
|
OR?: Prisma.DashboardLayoutScalarWhereInput[]
|
|
NOT?: Prisma.DashboardLayoutScalarWhereInput | Prisma.DashboardLayoutScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"DashboardLayout"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"DashboardLayout"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"DashboardLayout"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"DashboardLayout"> | string
|
|
dashboardId?: Prisma.StringFilter<"DashboardLayout"> | string
|
|
userId?: Prisma.StringNullableFilter<"DashboardLayout"> | string | null
|
|
widgets?: Prisma.JsonFilter<"DashboardLayout">
|
|
layoutData?: Prisma.JsonFilter<"DashboardLayout">
|
|
isDemoData?: Prisma.BoolFilter<"DashboardLayout"> | boolean
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"DashboardLayout"> | Date | string | null
|
|
}
|
|
|
|
export type DashboardLayoutCreateManyDashboardInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
userId?: string | null
|
|
widgets?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
layoutData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
}
|
|
|
|
export type DashboardLayoutUpdateWithoutDashboardInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
widgets?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
layoutData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type DashboardLayoutUncheckedUpdateWithoutDashboardInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
widgets?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
layoutData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type DashboardLayoutUncheckedUpdateManyWithoutDashboardInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
widgets?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
layoutData?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
|
|
|
|
export type DashboardLayoutSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
dashboardId?: boolean
|
|
userId?: boolean
|
|
widgets?: boolean
|
|
layoutData?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: boolean
|
|
dashboard?: boolean | Prisma.DashboardDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["dashboardLayout"]>
|
|
|
|
export type DashboardLayoutSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
dashboardId?: boolean
|
|
userId?: boolean
|
|
widgets?: boolean
|
|
layoutData?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: boolean
|
|
dashboard?: boolean | Prisma.DashboardDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["dashboardLayout"]>
|
|
|
|
export type DashboardLayoutSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
dashboardId?: boolean
|
|
userId?: boolean
|
|
widgets?: boolean
|
|
layoutData?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: boolean
|
|
dashboard?: boolean | Prisma.DashboardDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["dashboardLayout"]>
|
|
|
|
export type DashboardLayoutSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
dashboardId?: boolean
|
|
userId?: boolean
|
|
widgets?: boolean
|
|
layoutData?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: boolean
|
|
}
|
|
|
|
export type DashboardLayoutOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "dashboardId" | "userId" | "widgets" | "layoutData" | "isDemoData" | "archivedAt", ExtArgs["result"]["dashboardLayout"]>
|
|
export type DashboardLayoutInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
dashboard?: boolean | Prisma.DashboardDefaultArgs<ExtArgs>
|
|
}
|
|
export type DashboardLayoutIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
dashboard?: boolean | Prisma.DashboardDefaultArgs<ExtArgs>
|
|
}
|
|
export type DashboardLayoutIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
dashboard?: boolean | Prisma.DashboardDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $DashboardLayoutPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "DashboardLayout"
|
|
objects: {
|
|
dashboard: Prisma.$DashboardPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
tenantId: string
|
|
dashboardId: string
|
|
userId: string | null
|
|
widgets: runtime.JsonValue
|
|
layoutData: runtime.JsonValue
|
|
isDemoData: boolean
|
|
archivedAt: Date | null
|
|
}, ExtArgs["result"]["dashboardLayout"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type DashboardLayoutGetPayload<S extends boolean | null | undefined | DashboardLayoutDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DashboardLayoutPayload, S>
|
|
|
|
export type DashboardLayoutCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<DashboardLayoutFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: DashboardLayoutCountAggregateInputType | true
|
|
}
|
|
|
|
export interface DashboardLayoutDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DashboardLayout'], meta: { name: 'DashboardLayout' } }
|
|
/**
|
|
* Find zero or one DashboardLayout that matches the filter.
|
|
* @param {DashboardLayoutFindUniqueArgs} args - Arguments to find a DashboardLayout
|
|
* @example
|
|
* // Get one DashboardLayout
|
|
* const dashboardLayout = await prisma.dashboardLayout.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends DashboardLayoutFindUniqueArgs>(args: Prisma.SelectSubset<T, DashboardLayoutFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DashboardLayoutClient<runtime.Types.Result.GetResult<Prisma.$DashboardLayoutPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one DashboardLayout that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {DashboardLayoutFindUniqueOrThrowArgs} args - Arguments to find a DashboardLayout
|
|
* @example
|
|
* // Get one DashboardLayout
|
|
* const dashboardLayout = await prisma.dashboardLayout.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends DashboardLayoutFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DashboardLayoutFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DashboardLayoutClient<runtime.Types.Result.GetResult<Prisma.$DashboardLayoutPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first DashboardLayout 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 {DashboardLayoutFindFirstArgs} args - Arguments to find a DashboardLayout
|
|
* @example
|
|
* // Get one DashboardLayout
|
|
* const dashboardLayout = await prisma.dashboardLayout.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends DashboardLayoutFindFirstArgs>(args?: Prisma.SelectSubset<T, DashboardLayoutFindFirstArgs<ExtArgs>>): Prisma.Prisma__DashboardLayoutClient<runtime.Types.Result.GetResult<Prisma.$DashboardLayoutPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first DashboardLayout 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 {DashboardLayoutFindFirstOrThrowArgs} args - Arguments to find a DashboardLayout
|
|
* @example
|
|
* // Get one DashboardLayout
|
|
* const dashboardLayout = await prisma.dashboardLayout.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends DashboardLayoutFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DashboardLayoutFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DashboardLayoutClient<runtime.Types.Result.GetResult<Prisma.$DashboardLayoutPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more DashboardLayouts 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 {DashboardLayoutFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all DashboardLayouts
|
|
* const dashboardLayouts = await prisma.dashboardLayout.findMany()
|
|
*
|
|
* // Get first 10 DashboardLayouts
|
|
* const dashboardLayouts = await prisma.dashboardLayout.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const dashboardLayoutWithIdOnly = await prisma.dashboardLayout.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends DashboardLayoutFindManyArgs>(args?: Prisma.SelectSubset<T, DashboardLayoutFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DashboardLayoutPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a DashboardLayout.
|
|
* @param {DashboardLayoutCreateArgs} args - Arguments to create a DashboardLayout.
|
|
* @example
|
|
* // Create one DashboardLayout
|
|
* const DashboardLayout = await prisma.dashboardLayout.create({
|
|
* data: {
|
|
* // ... data to create a DashboardLayout
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends DashboardLayoutCreateArgs>(args: Prisma.SelectSubset<T, DashboardLayoutCreateArgs<ExtArgs>>): Prisma.Prisma__DashboardLayoutClient<runtime.Types.Result.GetResult<Prisma.$DashboardLayoutPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many DashboardLayouts.
|
|
* @param {DashboardLayoutCreateManyArgs} args - Arguments to create many DashboardLayouts.
|
|
* @example
|
|
* // Create many DashboardLayouts
|
|
* const dashboardLayout = await prisma.dashboardLayout.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends DashboardLayoutCreateManyArgs>(args?: Prisma.SelectSubset<T, DashboardLayoutCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many DashboardLayouts and returns the data saved in the database.
|
|
* @param {DashboardLayoutCreateManyAndReturnArgs} args - Arguments to create many DashboardLayouts.
|
|
* @example
|
|
* // Create many DashboardLayouts
|
|
* const dashboardLayout = await prisma.dashboardLayout.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many DashboardLayouts and only return the `id`
|
|
* const dashboardLayoutWithIdOnly = await prisma.dashboardLayout.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 DashboardLayoutCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DashboardLayoutCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DashboardLayoutPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a DashboardLayout.
|
|
* @param {DashboardLayoutDeleteArgs} args - Arguments to delete one DashboardLayout.
|
|
* @example
|
|
* // Delete one DashboardLayout
|
|
* const DashboardLayout = await prisma.dashboardLayout.delete({
|
|
* where: {
|
|
* // ... filter to delete one DashboardLayout
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends DashboardLayoutDeleteArgs>(args: Prisma.SelectSubset<T, DashboardLayoutDeleteArgs<ExtArgs>>): Prisma.Prisma__DashboardLayoutClient<runtime.Types.Result.GetResult<Prisma.$DashboardLayoutPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one DashboardLayout.
|
|
* @param {DashboardLayoutUpdateArgs} args - Arguments to update one DashboardLayout.
|
|
* @example
|
|
* // Update one DashboardLayout
|
|
* const dashboardLayout = await prisma.dashboardLayout.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends DashboardLayoutUpdateArgs>(args: Prisma.SelectSubset<T, DashboardLayoutUpdateArgs<ExtArgs>>): Prisma.Prisma__DashboardLayoutClient<runtime.Types.Result.GetResult<Prisma.$DashboardLayoutPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more DashboardLayouts.
|
|
* @param {DashboardLayoutDeleteManyArgs} args - Arguments to filter DashboardLayouts to delete.
|
|
* @example
|
|
* // Delete a few DashboardLayouts
|
|
* const { count } = await prisma.dashboardLayout.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends DashboardLayoutDeleteManyArgs>(args?: Prisma.SelectSubset<T, DashboardLayoutDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more DashboardLayouts.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {DashboardLayoutUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many DashboardLayouts
|
|
* const dashboardLayout = await prisma.dashboardLayout.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends DashboardLayoutUpdateManyArgs>(args: Prisma.SelectSubset<T, DashboardLayoutUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more DashboardLayouts and returns the data updated in the database.
|
|
* @param {DashboardLayoutUpdateManyAndReturnArgs} args - Arguments to update many DashboardLayouts.
|
|
* @example
|
|
* // Update many DashboardLayouts
|
|
* const dashboardLayout = await prisma.dashboardLayout.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more DashboardLayouts and only return the `id`
|
|
* const dashboardLayoutWithIdOnly = await prisma.dashboardLayout.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 DashboardLayoutUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DashboardLayoutUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DashboardLayoutPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one DashboardLayout.
|
|
* @param {DashboardLayoutUpsertArgs} args - Arguments to update or create a DashboardLayout.
|
|
* @example
|
|
* // Update or create a DashboardLayout
|
|
* const dashboardLayout = await prisma.dashboardLayout.upsert({
|
|
* create: {
|
|
* // ... data to create a DashboardLayout
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the DashboardLayout we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends DashboardLayoutUpsertArgs>(args: Prisma.SelectSubset<T, DashboardLayoutUpsertArgs<ExtArgs>>): Prisma.Prisma__DashboardLayoutClient<runtime.Types.Result.GetResult<Prisma.$DashboardLayoutPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of DashboardLayouts.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {DashboardLayoutCountArgs} args - Arguments to filter DashboardLayouts to count.
|
|
* @example
|
|
* // Count the number of DashboardLayouts
|
|
* const count = await prisma.dashboardLayout.count({
|
|
* where: {
|
|
* // ... the filter for the DashboardLayouts we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends DashboardLayoutCountArgs>(
|
|
args?: Prisma.Subset<T, DashboardLayoutCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], DashboardLayoutCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a DashboardLayout.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {DashboardLayoutAggregateArgs} 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 DashboardLayoutAggregateArgs>(args: Prisma.Subset<T, DashboardLayoutAggregateArgs>): Prisma.PrismaPromise<GetDashboardLayoutAggregateType<T>>
|
|
|
|
/**
|
|
* Group by DashboardLayout.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {DashboardLayoutGroupByArgs} 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 DashboardLayoutGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: DashboardLayoutGroupByArgs['orderBy'] }
|
|
: { orderBy?: DashboardLayoutGroupByArgs['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, DashboardLayoutGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDashboardLayoutGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the DashboardLayout model
|
|
*/
|
|
readonly fields: DashboardLayoutFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for DashboardLayout.
|
|
* 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__DashboardLayoutClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
dashboard<T extends Prisma.DashboardDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DashboardDefaultArgs<ExtArgs>>): Prisma.Prisma__DashboardClient<runtime.Types.Result.GetResult<Prisma.$DashboardPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the DashboardLayout model
|
|
*/
|
|
export interface DashboardLayoutFieldRefs {
|
|
readonly id: Prisma.FieldRef<"DashboardLayout", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"DashboardLayout", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"DashboardLayout", 'DateTime'>
|
|
readonly tenantId: Prisma.FieldRef<"DashboardLayout", 'String'>
|
|
readonly dashboardId: Prisma.FieldRef<"DashboardLayout", 'String'>
|
|
readonly userId: Prisma.FieldRef<"DashboardLayout", 'String'>
|
|
readonly widgets: Prisma.FieldRef<"DashboardLayout", 'Json'>
|
|
readonly layoutData: Prisma.FieldRef<"DashboardLayout", 'Json'>
|
|
readonly isDemoData: Prisma.FieldRef<"DashboardLayout", 'Boolean'>
|
|
readonly archivedAt: Prisma.FieldRef<"DashboardLayout", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* DashboardLayout findUnique
|
|
*/
|
|
export type DashboardLayoutFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DashboardLayout
|
|
*/
|
|
select?: Prisma.DashboardLayoutSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DashboardLayout
|
|
*/
|
|
omit?: Prisma.DashboardLayoutOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.DashboardLayoutInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which DashboardLayout to fetch.
|
|
*/
|
|
where: Prisma.DashboardLayoutWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* DashboardLayout findUniqueOrThrow
|
|
*/
|
|
export type DashboardLayoutFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DashboardLayout
|
|
*/
|
|
select?: Prisma.DashboardLayoutSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DashboardLayout
|
|
*/
|
|
omit?: Prisma.DashboardLayoutOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.DashboardLayoutInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which DashboardLayout to fetch.
|
|
*/
|
|
where: Prisma.DashboardLayoutWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* DashboardLayout findFirst
|
|
*/
|
|
export type DashboardLayoutFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DashboardLayout
|
|
*/
|
|
select?: Prisma.DashboardLayoutSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DashboardLayout
|
|
*/
|
|
omit?: Prisma.DashboardLayoutOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.DashboardLayoutInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which DashboardLayout to fetch.
|
|
*/
|
|
where?: Prisma.DashboardLayoutWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of DashboardLayouts to fetch.
|
|
*/
|
|
orderBy?: Prisma.DashboardLayoutOrderByWithRelationInput | Prisma.DashboardLayoutOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for DashboardLayouts.
|
|
*/
|
|
cursor?: Prisma.DashboardLayoutWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` DashboardLayouts 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` DashboardLayouts.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of DashboardLayouts.
|
|
*/
|
|
distinct?: Prisma.DashboardLayoutScalarFieldEnum | Prisma.DashboardLayoutScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* DashboardLayout findFirstOrThrow
|
|
*/
|
|
export type DashboardLayoutFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DashboardLayout
|
|
*/
|
|
select?: Prisma.DashboardLayoutSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DashboardLayout
|
|
*/
|
|
omit?: Prisma.DashboardLayoutOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.DashboardLayoutInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which DashboardLayout to fetch.
|
|
*/
|
|
where?: Prisma.DashboardLayoutWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of DashboardLayouts to fetch.
|
|
*/
|
|
orderBy?: Prisma.DashboardLayoutOrderByWithRelationInput | Prisma.DashboardLayoutOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for DashboardLayouts.
|
|
*/
|
|
cursor?: Prisma.DashboardLayoutWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` DashboardLayouts 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` DashboardLayouts.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of DashboardLayouts.
|
|
*/
|
|
distinct?: Prisma.DashboardLayoutScalarFieldEnum | Prisma.DashboardLayoutScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* DashboardLayout findMany
|
|
*/
|
|
export type DashboardLayoutFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DashboardLayout
|
|
*/
|
|
select?: Prisma.DashboardLayoutSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DashboardLayout
|
|
*/
|
|
omit?: Prisma.DashboardLayoutOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.DashboardLayoutInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which DashboardLayouts to fetch.
|
|
*/
|
|
where?: Prisma.DashboardLayoutWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of DashboardLayouts to fetch.
|
|
*/
|
|
orderBy?: Prisma.DashboardLayoutOrderByWithRelationInput | Prisma.DashboardLayoutOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing DashboardLayouts.
|
|
*/
|
|
cursor?: Prisma.DashboardLayoutWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` DashboardLayouts 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` DashboardLayouts.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of DashboardLayouts.
|
|
*/
|
|
distinct?: Prisma.DashboardLayoutScalarFieldEnum | Prisma.DashboardLayoutScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* DashboardLayout create
|
|
*/
|
|
export type DashboardLayoutCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DashboardLayout
|
|
*/
|
|
select?: Prisma.DashboardLayoutSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DashboardLayout
|
|
*/
|
|
omit?: Prisma.DashboardLayoutOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.DashboardLayoutInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a DashboardLayout.
|
|
*/
|
|
data: Prisma.XOR<Prisma.DashboardLayoutCreateInput, Prisma.DashboardLayoutUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* DashboardLayout createMany
|
|
*/
|
|
export type DashboardLayoutCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many DashboardLayouts.
|
|
*/
|
|
data: Prisma.DashboardLayoutCreateManyInput | Prisma.DashboardLayoutCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* DashboardLayout createManyAndReturn
|
|
*/
|
|
export type DashboardLayoutCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DashboardLayout
|
|
*/
|
|
select?: Prisma.DashboardLayoutSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DashboardLayout
|
|
*/
|
|
omit?: Prisma.DashboardLayoutOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many DashboardLayouts.
|
|
*/
|
|
data: Prisma.DashboardLayoutCreateManyInput | Prisma.DashboardLayoutCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.DashboardLayoutIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* DashboardLayout update
|
|
*/
|
|
export type DashboardLayoutUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DashboardLayout
|
|
*/
|
|
select?: Prisma.DashboardLayoutSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DashboardLayout
|
|
*/
|
|
omit?: Prisma.DashboardLayoutOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.DashboardLayoutInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a DashboardLayout.
|
|
*/
|
|
data: Prisma.XOR<Prisma.DashboardLayoutUpdateInput, Prisma.DashboardLayoutUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which DashboardLayout to update.
|
|
*/
|
|
where: Prisma.DashboardLayoutWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* DashboardLayout updateMany
|
|
*/
|
|
export type DashboardLayoutUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update DashboardLayouts.
|
|
*/
|
|
data: Prisma.XOR<Prisma.DashboardLayoutUpdateManyMutationInput, Prisma.DashboardLayoutUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which DashboardLayouts to update
|
|
*/
|
|
where?: Prisma.DashboardLayoutWhereInput
|
|
/**
|
|
* Limit how many DashboardLayouts to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* DashboardLayout updateManyAndReturn
|
|
*/
|
|
export type DashboardLayoutUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DashboardLayout
|
|
*/
|
|
select?: Prisma.DashboardLayoutSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DashboardLayout
|
|
*/
|
|
omit?: Prisma.DashboardLayoutOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update DashboardLayouts.
|
|
*/
|
|
data: Prisma.XOR<Prisma.DashboardLayoutUpdateManyMutationInput, Prisma.DashboardLayoutUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which DashboardLayouts to update
|
|
*/
|
|
where?: Prisma.DashboardLayoutWhereInput
|
|
/**
|
|
* Limit how many DashboardLayouts to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.DashboardLayoutIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* DashboardLayout upsert
|
|
*/
|
|
export type DashboardLayoutUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DashboardLayout
|
|
*/
|
|
select?: Prisma.DashboardLayoutSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DashboardLayout
|
|
*/
|
|
omit?: Prisma.DashboardLayoutOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.DashboardLayoutInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the DashboardLayout to update in case it exists.
|
|
*/
|
|
where: Prisma.DashboardLayoutWhereUniqueInput
|
|
/**
|
|
* In case the DashboardLayout found by the `where` argument doesn't exist, create a new DashboardLayout with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.DashboardLayoutCreateInput, Prisma.DashboardLayoutUncheckedCreateInput>
|
|
/**
|
|
* In case the DashboardLayout was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.DashboardLayoutUpdateInput, Prisma.DashboardLayoutUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* DashboardLayout delete
|
|
*/
|
|
export type DashboardLayoutDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DashboardLayout
|
|
*/
|
|
select?: Prisma.DashboardLayoutSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DashboardLayout
|
|
*/
|
|
omit?: Prisma.DashboardLayoutOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.DashboardLayoutInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which DashboardLayout to delete.
|
|
*/
|
|
where: Prisma.DashboardLayoutWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* DashboardLayout deleteMany
|
|
*/
|
|
export type DashboardLayoutDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which DashboardLayouts to delete
|
|
*/
|
|
where?: Prisma.DashboardLayoutWhereInput
|
|
/**
|
|
* Limit how many DashboardLayouts to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* DashboardLayout without action
|
|
*/
|
|
export type DashboardLayoutDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the DashboardLayout
|
|
*/
|
|
select?: Prisma.DashboardLayoutSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the DashboardLayout
|
|
*/
|
|
omit?: Prisma.DashboardLayoutOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.DashboardLayoutInclude<ExtArgs> | null
|
|
}
|