/* !!! 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 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 = { /** * 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 = { [P in keyof T & keyof AggregateDashboardLayout]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type DashboardLayoutGroupByArgs = { 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 = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof DashboardLayoutGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > 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 } 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 }, "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[] connectOrCreate?: Prisma.DashboardLayoutCreateOrConnectWithoutDashboardInput | Prisma.DashboardLayoutCreateOrConnectWithoutDashboardInput[] createMany?: Prisma.DashboardLayoutCreateManyDashboardInputEnvelope connect?: Prisma.DashboardLayoutWhereUniqueInput | Prisma.DashboardLayoutWhereUniqueInput[] } export type DashboardLayoutUncheckedCreateNestedManyWithoutDashboardInput = { create?: Prisma.XOR | 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[] 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[] 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 } export type DashboardLayoutCreateManyDashboardInputEnvelope = { data: Prisma.DashboardLayoutCreateManyDashboardInput | Prisma.DashboardLayoutCreateManyDashboardInput[] skipDuplicates?: boolean } export type DashboardLayoutUpsertWithWhereUniqueWithoutDashboardInput = { where: Prisma.DashboardLayoutWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type DashboardLayoutUpdateWithWhereUniqueWithoutDashboardInput = { where: Prisma.DashboardLayoutWhereUniqueInput data: Prisma.XOR } export type DashboardLayoutUpdateManyWithWhereWithoutDashboardInput = { where: Prisma.DashboardLayoutScalarWhereInput data: Prisma.XOR } 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 = 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["result"]["dashboardLayout"]> export type DashboardLayoutSelectCreateManyAndReturn = 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["result"]["dashboardLayout"]> export type DashboardLayoutSelectUpdateManyAndReturn = 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["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 = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "dashboardId" | "userId" | "widgets" | "layoutData" | "isDemoData" | "archivedAt", ExtArgs["result"]["dashboardLayout"]> export type DashboardLayoutInclude = { dashboard?: boolean | Prisma.DashboardDefaultArgs } export type DashboardLayoutIncludeCreateManyAndReturn = { dashboard?: boolean | Prisma.DashboardDefaultArgs } export type DashboardLayoutIncludeUpdateManyAndReturn = { dashboard?: boolean | Prisma.DashboardDefaultArgs } export type $DashboardLayoutPayload = { name: "DashboardLayout" objects: { dashboard: Prisma.$DashboardPayload } 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 = runtime.Types.Result.GetResult export type DashboardLayoutCountArgs = Omit & { select?: DashboardLayoutCountAggregateInputType | true } export interface DashboardLayoutDelegate { [K: symbol]: { types: Prisma.TypeMap['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(args: Prisma.SelectSubset>): Prisma.Prisma__DashboardLayoutClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__DashboardLayoutClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__DashboardLayoutClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__DashboardLayoutClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__DashboardLayoutClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__DashboardLayoutClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__DashboardLayoutClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__DashboardLayoutClient, 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( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * 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>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: DashboardLayoutGroupByArgs['orderBy'] } : { orderBy?: DashboardLayoutGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetDashboardLayoutGroupByPayload : Prisma.PrismaPromise /** * 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 extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" dashboard = {}>(args?: Prisma.Subset>): Prisma.Prisma__DashboardClient, 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(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * 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 = { /** * Select specific fields to fetch from the DashboardLayout */ select?: Prisma.DashboardLayoutSelect | null /** * Omit specific fields from the DashboardLayout */ omit?: Prisma.DashboardLayoutOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DashboardLayoutInclude | null /** * Filter, which DashboardLayout to fetch. */ where: Prisma.DashboardLayoutWhereUniqueInput } /** * DashboardLayout findUniqueOrThrow */ export type DashboardLayoutFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the DashboardLayout */ select?: Prisma.DashboardLayoutSelect | null /** * Omit specific fields from the DashboardLayout */ omit?: Prisma.DashboardLayoutOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DashboardLayoutInclude | null /** * Filter, which DashboardLayout to fetch. */ where: Prisma.DashboardLayoutWhereUniqueInput } /** * DashboardLayout findFirst */ export type DashboardLayoutFindFirstArgs = { /** * Select specific fields to fetch from the DashboardLayout */ select?: Prisma.DashboardLayoutSelect | null /** * Omit specific fields from the DashboardLayout */ omit?: Prisma.DashboardLayoutOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DashboardLayoutInclude | 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 = { /** * Select specific fields to fetch from the DashboardLayout */ select?: Prisma.DashboardLayoutSelect | null /** * Omit specific fields from the DashboardLayout */ omit?: Prisma.DashboardLayoutOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DashboardLayoutInclude | 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 = { /** * Select specific fields to fetch from the DashboardLayout */ select?: Prisma.DashboardLayoutSelect | null /** * Omit specific fields from the DashboardLayout */ omit?: Prisma.DashboardLayoutOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DashboardLayoutInclude | 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 = { /** * Select specific fields to fetch from the DashboardLayout */ select?: Prisma.DashboardLayoutSelect | null /** * Omit specific fields from the DashboardLayout */ omit?: Prisma.DashboardLayoutOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DashboardLayoutInclude | null /** * The data needed to create a DashboardLayout. */ data: Prisma.XOR } /** * DashboardLayout createMany */ export type DashboardLayoutCreateManyArgs = { /** * The data used to create many DashboardLayouts. */ data: Prisma.DashboardLayoutCreateManyInput | Prisma.DashboardLayoutCreateManyInput[] skipDuplicates?: boolean } /** * DashboardLayout createManyAndReturn */ export type DashboardLayoutCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the DashboardLayout */ select?: Prisma.DashboardLayoutSelectCreateManyAndReturn | null /** * Omit specific fields from the DashboardLayout */ omit?: Prisma.DashboardLayoutOmit | 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 | null } /** * DashboardLayout update */ export type DashboardLayoutUpdateArgs = { /** * Select specific fields to fetch from the DashboardLayout */ select?: Prisma.DashboardLayoutSelect | null /** * Omit specific fields from the DashboardLayout */ omit?: Prisma.DashboardLayoutOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DashboardLayoutInclude | null /** * The data needed to update a DashboardLayout. */ data: Prisma.XOR /** * Choose, which DashboardLayout to update. */ where: Prisma.DashboardLayoutWhereUniqueInput } /** * DashboardLayout updateMany */ export type DashboardLayoutUpdateManyArgs = { /** * The data used to update DashboardLayouts. */ data: Prisma.XOR /** * Filter which DashboardLayouts to update */ where?: Prisma.DashboardLayoutWhereInput /** * Limit how many DashboardLayouts to update. */ limit?: number } /** * DashboardLayout updateManyAndReturn */ export type DashboardLayoutUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the DashboardLayout */ select?: Prisma.DashboardLayoutSelectUpdateManyAndReturn | null /** * Omit specific fields from the DashboardLayout */ omit?: Prisma.DashboardLayoutOmit | null /** * The data used to update DashboardLayouts. */ data: Prisma.XOR /** * 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 | null } /** * DashboardLayout upsert */ export type DashboardLayoutUpsertArgs = { /** * Select specific fields to fetch from the DashboardLayout */ select?: Prisma.DashboardLayoutSelect | null /** * Omit specific fields from the DashboardLayout */ omit?: Prisma.DashboardLayoutOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DashboardLayoutInclude | 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 /** * In case the DashboardLayout was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * DashboardLayout delete */ export type DashboardLayoutDeleteArgs = { /** * Select specific fields to fetch from the DashboardLayout */ select?: Prisma.DashboardLayoutSelect | null /** * Omit specific fields from the DashboardLayout */ omit?: Prisma.DashboardLayoutOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DashboardLayoutInclude | null /** * Filter which DashboardLayout to delete. */ where: Prisma.DashboardLayoutWhereUniqueInput } /** * DashboardLayout deleteMany */ export type DashboardLayoutDeleteManyArgs = { /** * Filter which DashboardLayouts to delete */ where?: Prisma.DashboardLayoutWhereInput /** * Limit how many DashboardLayouts to delete. */ limit?: number } /** * DashboardLayout without action */ export type DashboardLayoutDefaultArgs = { /** * Select specific fields to fetch from the DashboardLayout */ select?: Prisma.DashboardLayoutSelect | null /** * Omit specific fields from the DashboardLayout */ omit?: Prisma.DashboardLayoutOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DashboardLayoutInclude | null }