/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `Dashboard` 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 Dashboard * */ export type DashboardModel = runtime.Types.Result.DefaultSelection export type AggregateDashboard = { _count: DashboardCountAggregateOutputType | null _min: DashboardMinAggregateOutputType | null _max: DashboardMaxAggregateOutputType | null } export type DashboardMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null tenantId: string | null name: string | null description: string | null role: $Enums.DashboardRole | null isDefaultForRole: boolean | null isShared: boolean | null isDemoData: boolean | null archivedAt: Date | null } export type DashboardMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null tenantId: string | null name: string | null description: string | null role: $Enums.DashboardRole | null isDefaultForRole: boolean | null isShared: boolean | null isDemoData: boolean | null archivedAt: Date | null } export type DashboardCountAggregateOutputType = { id: number createdAt: number updatedAt: number tenantId: number name: number description: number role: number isDefaultForRole: number isShared: number isDemoData: number archivedAt: number _all: number } export type DashboardMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true name?: true description?: true role?: true isDefaultForRole?: true isShared?: true isDemoData?: true archivedAt?: true } export type DashboardMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true name?: true description?: true role?: true isDefaultForRole?: true isShared?: true isDemoData?: true archivedAt?: true } export type DashboardCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true name?: true description?: true role?: true isDefaultForRole?: true isShared?: true isDemoData?: true archivedAt?: true _all?: true } export type DashboardAggregateArgs = { /** * Filter which Dashboard to aggregate. */ where?: Prisma.DashboardWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Dashboards to fetch. */ orderBy?: Prisma.DashboardOrderByWithRelationInput | Prisma.DashboardOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.DashboardWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Dashboards 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` Dashboards. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Dashboards **/ _count?: true | DashboardCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: DashboardMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: DashboardMaxAggregateInputType } export type GetDashboardAggregateType = { [P in keyof T & keyof AggregateDashboard]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type DashboardGroupByArgs = { where?: Prisma.DashboardWhereInput orderBy?: Prisma.DashboardOrderByWithAggregationInput | Prisma.DashboardOrderByWithAggregationInput[] by: Prisma.DashboardScalarFieldEnum[] | Prisma.DashboardScalarFieldEnum having?: Prisma.DashboardScalarWhereWithAggregatesInput take?: number skip?: number _count?: DashboardCountAggregateInputType | true _min?: DashboardMinAggregateInputType _max?: DashboardMaxAggregateInputType } export type DashboardGroupByOutputType = { id: string createdAt: Date updatedAt: Date tenantId: string name: string description: string | null role: $Enums.DashboardRole isDefaultForRole: boolean isShared: boolean isDemoData: boolean archivedAt: Date | null _count: DashboardCountAggregateOutputType | null _min: DashboardMinAggregateOutputType | null _max: DashboardMaxAggregateOutputType | null } export type GetDashboardGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof DashboardGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type DashboardWhereInput = { AND?: Prisma.DashboardWhereInput | Prisma.DashboardWhereInput[] OR?: Prisma.DashboardWhereInput[] NOT?: Prisma.DashboardWhereInput | Prisma.DashboardWhereInput[] id?: Prisma.StringFilter<"Dashboard"> | string createdAt?: Prisma.DateTimeFilter<"Dashboard"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Dashboard"> | Date | string tenantId?: Prisma.StringFilter<"Dashboard"> | string name?: Prisma.StringFilter<"Dashboard"> | string description?: Prisma.StringNullableFilter<"Dashboard"> | string | null role?: Prisma.EnumDashboardRoleFilter<"Dashboard"> | $Enums.DashboardRole isDefaultForRole?: Prisma.BoolFilter<"Dashboard"> | boolean isShared?: Prisma.BoolFilter<"Dashboard"> | boolean isDemoData?: Prisma.BoolFilter<"Dashboard"> | boolean archivedAt?: Prisma.DateTimeNullableFilter<"Dashboard"> | Date | string | null layouts?: Prisma.DashboardLayoutListRelationFilter instances?: Prisma.WidgetInstanceListRelationFilter } export type DashboardOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder role?: Prisma.SortOrder isDefaultForRole?: Prisma.SortOrder isShared?: Prisma.SortOrder isDemoData?: Prisma.SortOrder archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder layouts?: Prisma.DashboardLayoutOrderByRelationAggregateInput instances?: Prisma.WidgetInstanceOrderByRelationAggregateInput } export type DashboardWhereUniqueInput = Prisma.AtLeast<{ id?: string tenantId_role_name?: Prisma.DashboardTenantIdRoleNameCompoundUniqueInput AND?: Prisma.DashboardWhereInput | Prisma.DashboardWhereInput[] OR?: Prisma.DashboardWhereInput[] NOT?: Prisma.DashboardWhereInput | Prisma.DashboardWhereInput[] createdAt?: Prisma.DateTimeFilter<"Dashboard"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Dashboard"> | Date | string tenantId?: Prisma.StringFilter<"Dashboard"> | string name?: Prisma.StringFilter<"Dashboard"> | string description?: Prisma.StringNullableFilter<"Dashboard"> | string | null role?: Prisma.EnumDashboardRoleFilter<"Dashboard"> | $Enums.DashboardRole isDefaultForRole?: Prisma.BoolFilter<"Dashboard"> | boolean isShared?: Prisma.BoolFilter<"Dashboard"> | boolean isDemoData?: Prisma.BoolFilter<"Dashboard"> | boolean archivedAt?: Prisma.DateTimeNullableFilter<"Dashboard"> | Date | string | null layouts?: Prisma.DashboardLayoutListRelationFilter instances?: Prisma.WidgetInstanceListRelationFilter }, "id" | "tenantId_role_name"> export type DashboardOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder role?: Prisma.SortOrder isDefaultForRole?: Prisma.SortOrder isShared?: Prisma.SortOrder isDemoData?: Prisma.SortOrder archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.DashboardCountOrderByAggregateInput _max?: Prisma.DashboardMaxOrderByAggregateInput _min?: Prisma.DashboardMinOrderByAggregateInput } export type DashboardScalarWhereWithAggregatesInput = { AND?: Prisma.DashboardScalarWhereWithAggregatesInput | Prisma.DashboardScalarWhereWithAggregatesInput[] OR?: Prisma.DashboardScalarWhereWithAggregatesInput[] NOT?: Prisma.DashboardScalarWhereWithAggregatesInput | Prisma.DashboardScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"Dashboard"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"Dashboard"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Dashboard"> | Date | string tenantId?: Prisma.StringWithAggregatesFilter<"Dashboard"> | string name?: Prisma.StringWithAggregatesFilter<"Dashboard"> | string description?: Prisma.StringNullableWithAggregatesFilter<"Dashboard"> | string | null role?: Prisma.EnumDashboardRoleWithAggregatesFilter<"Dashboard"> | $Enums.DashboardRole isDefaultForRole?: Prisma.BoolWithAggregatesFilter<"Dashboard"> | boolean isShared?: Prisma.BoolWithAggregatesFilter<"Dashboard"> | boolean isDemoData?: Prisma.BoolWithAggregatesFilter<"Dashboard"> | boolean archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Dashboard"> | Date | string | null } export type DashboardCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string name: string description?: string | null role: $Enums.DashboardRole isDefaultForRole?: boolean isShared?: boolean isDemoData?: boolean archivedAt?: Date | string | null layouts?: Prisma.DashboardLayoutCreateNestedManyWithoutDashboardInput instances?: Prisma.WidgetInstanceCreateNestedManyWithoutDashboardInput } export type DashboardUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string name: string description?: string | null role: $Enums.DashboardRole isDefaultForRole?: boolean isShared?: boolean isDemoData?: boolean archivedAt?: Date | string | null layouts?: Prisma.DashboardLayoutUncheckedCreateNestedManyWithoutDashboardInput instances?: Prisma.WidgetInstanceUncheckedCreateNestedManyWithoutDashboardInput } export type DashboardUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null role?: Prisma.EnumDashboardRoleFieldUpdateOperationsInput | $Enums.DashboardRole isDefaultForRole?: Prisma.BoolFieldUpdateOperationsInput | boolean isShared?: Prisma.BoolFieldUpdateOperationsInput | boolean isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null layouts?: Prisma.DashboardLayoutUpdateManyWithoutDashboardNestedInput instances?: Prisma.WidgetInstanceUpdateManyWithoutDashboardNestedInput } export type DashboardUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null role?: Prisma.EnumDashboardRoleFieldUpdateOperationsInput | $Enums.DashboardRole isDefaultForRole?: Prisma.BoolFieldUpdateOperationsInput | boolean isShared?: Prisma.BoolFieldUpdateOperationsInput | boolean isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null layouts?: Prisma.DashboardLayoutUncheckedUpdateManyWithoutDashboardNestedInput instances?: Prisma.WidgetInstanceUncheckedUpdateManyWithoutDashboardNestedInput } export type DashboardCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string name: string description?: string | null role: $Enums.DashboardRole isDefaultForRole?: boolean isShared?: boolean isDemoData?: boolean archivedAt?: Date | string | null } export type DashboardUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null role?: Prisma.EnumDashboardRoleFieldUpdateOperationsInput | $Enums.DashboardRole isDefaultForRole?: Prisma.BoolFieldUpdateOperationsInput | boolean isShared?: Prisma.BoolFieldUpdateOperationsInput | boolean isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type DashboardUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null role?: Prisma.EnumDashboardRoleFieldUpdateOperationsInput | $Enums.DashboardRole isDefaultForRole?: Prisma.BoolFieldUpdateOperationsInput | boolean isShared?: Prisma.BoolFieldUpdateOperationsInput | boolean isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type DashboardTenantIdRoleNameCompoundUniqueInput = { tenantId: string role: $Enums.DashboardRole name: string } export type DashboardCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder role?: Prisma.SortOrder isDefaultForRole?: Prisma.SortOrder isShared?: Prisma.SortOrder isDemoData?: Prisma.SortOrder archivedAt?: Prisma.SortOrder } export type DashboardMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder role?: Prisma.SortOrder isDefaultForRole?: Prisma.SortOrder isShared?: Prisma.SortOrder isDemoData?: Prisma.SortOrder archivedAt?: Prisma.SortOrder } export type DashboardMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder role?: Prisma.SortOrder isDefaultForRole?: Prisma.SortOrder isShared?: Prisma.SortOrder isDemoData?: Prisma.SortOrder archivedAt?: Prisma.SortOrder } export type DashboardScalarRelationFilter = { is?: Prisma.DashboardWhereInput isNot?: Prisma.DashboardWhereInput } export type EnumDashboardRoleFieldUpdateOperationsInput = { set?: $Enums.DashboardRole } export type DashboardCreateNestedOneWithoutLayoutsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.DashboardCreateOrConnectWithoutLayoutsInput connect?: Prisma.DashboardWhereUniqueInput } export type DashboardUpdateOneRequiredWithoutLayoutsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.DashboardCreateOrConnectWithoutLayoutsInput upsert?: Prisma.DashboardUpsertWithoutLayoutsInput connect?: Prisma.DashboardWhereUniqueInput update?: Prisma.XOR, Prisma.DashboardUncheckedUpdateWithoutLayoutsInput> } export type DashboardCreateNestedOneWithoutInstancesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.DashboardCreateOrConnectWithoutInstancesInput connect?: Prisma.DashboardWhereUniqueInput } export type DashboardUpdateOneRequiredWithoutInstancesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.DashboardCreateOrConnectWithoutInstancesInput upsert?: Prisma.DashboardUpsertWithoutInstancesInput connect?: Prisma.DashboardWhereUniqueInput update?: Prisma.XOR, Prisma.DashboardUncheckedUpdateWithoutInstancesInput> } export type DashboardCreateWithoutLayoutsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string name: string description?: string | null role: $Enums.DashboardRole isDefaultForRole?: boolean isShared?: boolean isDemoData?: boolean archivedAt?: Date | string | null instances?: Prisma.WidgetInstanceCreateNestedManyWithoutDashboardInput } export type DashboardUncheckedCreateWithoutLayoutsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string name: string description?: string | null role: $Enums.DashboardRole isDefaultForRole?: boolean isShared?: boolean isDemoData?: boolean archivedAt?: Date | string | null instances?: Prisma.WidgetInstanceUncheckedCreateNestedManyWithoutDashboardInput } export type DashboardCreateOrConnectWithoutLayoutsInput = { where: Prisma.DashboardWhereUniqueInput create: Prisma.XOR } export type DashboardUpsertWithoutLayoutsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.DashboardWhereInput } export type DashboardUpdateToOneWithWhereWithoutLayoutsInput = { where?: Prisma.DashboardWhereInput data: Prisma.XOR } export type DashboardUpdateWithoutLayoutsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null role?: Prisma.EnumDashboardRoleFieldUpdateOperationsInput | $Enums.DashboardRole isDefaultForRole?: Prisma.BoolFieldUpdateOperationsInput | boolean isShared?: Prisma.BoolFieldUpdateOperationsInput | boolean isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null instances?: Prisma.WidgetInstanceUpdateManyWithoutDashboardNestedInput } export type DashboardUncheckedUpdateWithoutLayoutsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null role?: Prisma.EnumDashboardRoleFieldUpdateOperationsInput | $Enums.DashboardRole isDefaultForRole?: Prisma.BoolFieldUpdateOperationsInput | boolean isShared?: Prisma.BoolFieldUpdateOperationsInput | boolean isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null instances?: Prisma.WidgetInstanceUncheckedUpdateManyWithoutDashboardNestedInput } export type DashboardCreateWithoutInstancesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string name: string description?: string | null role: $Enums.DashboardRole isDefaultForRole?: boolean isShared?: boolean isDemoData?: boolean archivedAt?: Date | string | null layouts?: Prisma.DashboardLayoutCreateNestedManyWithoutDashboardInput } export type DashboardUncheckedCreateWithoutInstancesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string name: string description?: string | null role: $Enums.DashboardRole isDefaultForRole?: boolean isShared?: boolean isDemoData?: boolean archivedAt?: Date | string | null layouts?: Prisma.DashboardLayoutUncheckedCreateNestedManyWithoutDashboardInput } export type DashboardCreateOrConnectWithoutInstancesInput = { where: Prisma.DashboardWhereUniqueInput create: Prisma.XOR } export type DashboardUpsertWithoutInstancesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.DashboardWhereInput } export type DashboardUpdateToOneWithWhereWithoutInstancesInput = { where?: Prisma.DashboardWhereInput data: Prisma.XOR } export type DashboardUpdateWithoutInstancesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null role?: Prisma.EnumDashboardRoleFieldUpdateOperationsInput | $Enums.DashboardRole isDefaultForRole?: Prisma.BoolFieldUpdateOperationsInput | boolean isShared?: Prisma.BoolFieldUpdateOperationsInput | boolean isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null layouts?: Prisma.DashboardLayoutUpdateManyWithoutDashboardNestedInput } export type DashboardUncheckedUpdateWithoutInstancesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null role?: Prisma.EnumDashboardRoleFieldUpdateOperationsInput | $Enums.DashboardRole isDefaultForRole?: Prisma.BoolFieldUpdateOperationsInput | boolean isShared?: Prisma.BoolFieldUpdateOperationsInput | boolean isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null layouts?: Prisma.DashboardLayoutUncheckedUpdateManyWithoutDashboardNestedInput } /** * Count Type DashboardCountOutputType */ export type DashboardCountOutputType = { layouts: number instances: number } export type DashboardCountOutputTypeSelect = { layouts?: boolean | DashboardCountOutputTypeCountLayoutsArgs instances?: boolean | DashboardCountOutputTypeCountInstancesArgs } /** * DashboardCountOutputType without action */ export type DashboardCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the DashboardCountOutputType */ select?: Prisma.DashboardCountOutputTypeSelect | null } /** * DashboardCountOutputType without action */ export type DashboardCountOutputTypeCountLayoutsArgs = { where?: Prisma.DashboardLayoutWhereInput } /** * DashboardCountOutputType without action */ export type DashboardCountOutputTypeCountInstancesArgs = { where?: Prisma.WidgetInstanceWhereInput } export type DashboardSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean name?: boolean description?: boolean role?: boolean isDefaultForRole?: boolean isShared?: boolean isDemoData?: boolean archivedAt?: boolean layouts?: boolean | Prisma.Dashboard$layoutsArgs instances?: boolean | Prisma.Dashboard$instancesArgs _count?: boolean | Prisma.DashboardCountOutputTypeDefaultArgs }, ExtArgs["result"]["dashboard"]> export type DashboardSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean name?: boolean description?: boolean role?: boolean isDefaultForRole?: boolean isShared?: boolean isDemoData?: boolean archivedAt?: boolean }, ExtArgs["result"]["dashboard"]> export type DashboardSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean name?: boolean description?: boolean role?: boolean isDefaultForRole?: boolean isShared?: boolean isDemoData?: boolean archivedAt?: boolean }, ExtArgs["result"]["dashboard"]> export type DashboardSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean name?: boolean description?: boolean role?: boolean isDefaultForRole?: boolean isShared?: boolean isDemoData?: boolean archivedAt?: boolean } export type DashboardOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "name" | "description" | "role" | "isDefaultForRole" | "isShared" | "isDemoData" | "archivedAt", ExtArgs["result"]["dashboard"]> export type DashboardInclude = { layouts?: boolean | Prisma.Dashboard$layoutsArgs instances?: boolean | Prisma.Dashboard$instancesArgs _count?: boolean | Prisma.DashboardCountOutputTypeDefaultArgs } export type DashboardIncludeCreateManyAndReturn = {} export type DashboardIncludeUpdateManyAndReturn = {} export type $DashboardPayload = { name: "Dashboard" objects: { layouts: Prisma.$DashboardLayoutPayload[] instances: Prisma.$WidgetInstancePayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date tenantId: string name: string description: string | null role: $Enums.DashboardRole isDefaultForRole: boolean isShared: boolean isDemoData: boolean archivedAt: Date | null }, ExtArgs["result"]["dashboard"]> composites: {} } export type DashboardGetPayload = runtime.Types.Result.GetResult export type DashboardCountArgs = Omit & { select?: DashboardCountAggregateInputType | true } export interface DashboardDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Dashboard'], meta: { name: 'Dashboard' } } /** * Find zero or one Dashboard that matches the filter. * @param {DashboardFindUniqueArgs} args - Arguments to find a Dashboard * @example * // Get one Dashboard * const dashboard = await prisma.dashboard.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__DashboardClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Dashboard that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {DashboardFindUniqueOrThrowArgs} args - Arguments to find a Dashboard * @example * // Get one Dashboard * const dashboard = await prisma.dashboard.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__DashboardClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Dashboard 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 {DashboardFindFirstArgs} args - Arguments to find a Dashboard * @example * // Get one Dashboard * const dashboard = await prisma.dashboard.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__DashboardClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Dashboard 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 {DashboardFindFirstOrThrowArgs} args - Arguments to find a Dashboard * @example * // Get one Dashboard * const dashboard = await prisma.dashboard.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__DashboardClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Dashboards 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 {DashboardFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Dashboards * const dashboards = await prisma.dashboard.findMany() * * // Get first 10 Dashboards * const dashboards = await prisma.dashboard.findMany({ take: 10 }) * * // Only select the `id` * const dashboardWithIdOnly = await prisma.dashboard.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Dashboard. * @param {DashboardCreateArgs} args - Arguments to create a Dashboard. * @example * // Create one Dashboard * const Dashboard = await prisma.dashboard.create({ * data: { * // ... data to create a Dashboard * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__DashboardClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Dashboards. * @param {DashboardCreateManyArgs} args - Arguments to create many Dashboards. * @example * // Create many Dashboards * const dashboard = await prisma.dashboard.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many Dashboards and returns the data saved in the database. * @param {DashboardCreateManyAndReturnArgs} args - Arguments to create many Dashboards. * @example * // Create many Dashboards * const dashboard = await prisma.dashboard.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Dashboards and only return the `id` * const dashboardWithIdOnly = await prisma.dashboard.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 Dashboard. * @param {DashboardDeleteArgs} args - Arguments to delete one Dashboard. * @example * // Delete one Dashboard * const Dashboard = await prisma.dashboard.delete({ * where: { * // ... filter to delete one Dashboard * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__DashboardClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Dashboard. * @param {DashboardUpdateArgs} args - Arguments to update one Dashboard. * @example * // Update one Dashboard * const dashboard = await prisma.dashboard.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__DashboardClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Dashboards. * @param {DashboardDeleteManyArgs} args - Arguments to filter Dashboards to delete. * @example * // Delete a few Dashboards * const { count } = await prisma.dashboard.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Dashboards. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DashboardUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Dashboards * const dashboard = await prisma.dashboard.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Dashboards and returns the data updated in the database. * @param {DashboardUpdateManyAndReturnArgs} args - Arguments to update many Dashboards. * @example * // Update many Dashboards * const dashboard = await prisma.dashboard.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Dashboards and only return the `id` * const dashboardWithIdOnly = await prisma.dashboard.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 Dashboard. * @param {DashboardUpsertArgs} args - Arguments to update or create a Dashboard. * @example * // Update or create a Dashboard * const dashboard = await prisma.dashboard.upsert({ * create: { * // ... data to create a Dashboard * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Dashboard we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__DashboardClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Dashboards. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DashboardCountArgs} args - Arguments to filter Dashboards to count. * @example * // Count the number of Dashboards * const count = await prisma.dashboard.count({ * where: { * // ... the filter for the Dashboards 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 Dashboard. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DashboardAggregateArgs} 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 Dashboard. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DashboardGroupByArgs} 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 DashboardGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: DashboardGroupByArgs['orderBy'] } : { orderBy?: DashboardGroupByArgs['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 ? GetDashboardGroupByPayload : Prisma.PrismaPromise /** * Fields of the Dashboard model */ readonly fields: DashboardFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Dashboard. * 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__DashboardClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" layouts = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> instances = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(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 Dashboard model */ export interface DashboardFieldRefs { readonly id: Prisma.FieldRef<"Dashboard", 'String'> readonly createdAt: Prisma.FieldRef<"Dashboard", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"Dashboard", 'DateTime'> readonly tenantId: Prisma.FieldRef<"Dashboard", 'String'> readonly name: Prisma.FieldRef<"Dashboard", 'String'> readonly description: Prisma.FieldRef<"Dashboard", 'String'> readonly role: Prisma.FieldRef<"Dashboard", 'DashboardRole'> readonly isDefaultForRole: Prisma.FieldRef<"Dashboard", 'Boolean'> readonly isShared: Prisma.FieldRef<"Dashboard", 'Boolean'> readonly isDemoData: Prisma.FieldRef<"Dashboard", 'Boolean'> readonly archivedAt: Prisma.FieldRef<"Dashboard", 'DateTime'> } // Custom InputTypes /** * Dashboard findUnique */ export type DashboardFindUniqueArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: Prisma.DashboardSelect | null /** * Omit specific fields from the Dashboard */ omit?: Prisma.DashboardOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DashboardInclude | null /** * Filter, which Dashboard to fetch. */ where: Prisma.DashboardWhereUniqueInput } /** * Dashboard findUniqueOrThrow */ export type DashboardFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: Prisma.DashboardSelect | null /** * Omit specific fields from the Dashboard */ omit?: Prisma.DashboardOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DashboardInclude | null /** * Filter, which Dashboard to fetch. */ where: Prisma.DashboardWhereUniqueInput } /** * Dashboard findFirst */ export type DashboardFindFirstArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: Prisma.DashboardSelect | null /** * Omit specific fields from the Dashboard */ omit?: Prisma.DashboardOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DashboardInclude | null /** * Filter, which Dashboard to fetch. */ where?: Prisma.DashboardWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Dashboards to fetch. */ orderBy?: Prisma.DashboardOrderByWithRelationInput | Prisma.DashboardOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Dashboards. */ cursor?: Prisma.DashboardWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Dashboards 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` Dashboards. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Dashboards. */ distinct?: Prisma.DashboardScalarFieldEnum | Prisma.DashboardScalarFieldEnum[] } /** * Dashboard findFirstOrThrow */ export type DashboardFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: Prisma.DashboardSelect | null /** * Omit specific fields from the Dashboard */ omit?: Prisma.DashboardOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DashboardInclude | null /** * Filter, which Dashboard to fetch. */ where?: Prisma.DashboardWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Dashboards to fetch. */ orderBy?: Prisma.DashboardOrderByWithRelationInput | Prisma.DashboardOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Dashboards. */ cursor?: Prisma.DashboardWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Dashboards 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` Dashboards. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Dashboards. */ distinct?: Prisma.DashboardScalarFieldEnum | Prisma.DashboardScalarFieldEnum[] } /** * Dashboard findMany */ export type DashboardFindManyArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: Prisma.DashboardSelect | null /** * Omit specific fields from the Dashboard */ omit?: Prisma.DashboardOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DashboardInclude | null /** * Filter, which Dashboards to fetch. */ where?: Prisma.DashboardWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Dashboards to fetch. */ orderBy?: Prisma.DashboardOrderByWithRelationInput | Prisma.DashboardOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Dashboards. */ cursor?: Prisma.DashboardWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Dashboards 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` Dashboards. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Dashboards. */ distinct?: Prisma.DashboardScalarFieldEnum | Prisma.DashboardScalarFieldEnum[] } /** * Dashboard create */ export type DashboardCreateArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: Prisma.DashboardSelect | null /** * Omit specific fields from the Dashboard */ omit?: Prisma.DashboardOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DashboardInclude | null /** * The data needed to create a Dashboard. */ data: Prisma.XOR } /** * Dashboard createMany */ export type DashboardCreateManyArgs = { /** * The data used to create many Dashboards. */ data: Prisma.DashboardCreateManyInput | Prisma.DashboardCreateManyInput[] skipDuplicates?: boolean } /** * Dashboard createManyAndReturn */ export type DashboardCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: Prisma.DashboardSelectCreateManyAndReturn | null /** * Omit specific fields from the Dashboard */ omit?: Prisma.DashboardOmit | null /** * The data used to create many Dashboards. */ data: Prisma.DashboardCreateManyInput | Prisma.DashboardCreateManyInput[] skipDuplicates?: boolean } /** * Dashboard update */ export type DashboardUpdateArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: Prisma.DashboardSelect | null /** * Omit specific fields from the Dashboard */ omit?: Prisma.DashboardOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DashboardInclude | null /** * The data needed to update a Dashboard. */ data: Prisma.XOR /** * Choose, which Dashboard to update. */ where: Prisma.DashboardWhereUniqueInput } /** * Dashboard updateMany */ export type DashboardUpdateManyArgs = { /** * The data used to update Dashboards. */ data: Prisma.XOR /** * Filter which Dashboards to update */ where?: Prisma.DashboardWhereInput /** * Limit how many Dashboards to update. */ limit?: number } /** * Dashboard updateManyAndReturn */ export type DashboardUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: Prisma.DashboardSelectUpdateManyAndReturn | null /** * Omit specific fields from the Dashboard */ omit?: Prisma.DashboardOmit | null /** * The data used to update Dashboards. */ data: Prisma.XOR /** * Filter which Dashboards to update */ where?: Prisma.DashboardWhereInput /** * Limit how many Dashboards to update. */ limit?: number } /** * Dashboard upsert */ export type DashboardUpsertArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: Prisma.DashboardSelect | null /** * Omit specific fields from the Dashboard */ omit?: Prisma.DashboardOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DashboardInclude | null /** * The filter to search for the Dashboard to update in case it exists. */ where: Prisma.DashboardWhereUniqueInput /** * In case the Dashboard found by the `where` argument doesn't exist, create a new Dashboard with this data. */ create: Prisma.XOR /** * In case the Dashboard was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * Dashboard delete */ export type DashboardDeleteArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: Prisma.DashboardSelect | null /** * Omit specific fields from the Dashboard */ omit?: Prisma.DashboardOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DashboardInclude | null /** * Filter which Dashboard to delete. */ where: Prisma.DashboardWhereUniqueInput } /** * Dashboard deleteMany */ export type DashboardDeleteManyArgs = { /** * Filter which Dashboards to delete */ where?: Prisma.DashboardWhereInput /** * Limit how many Dashboards to delete. */ limit?: number } /** * Dashboard.layouts */ export type Dashboard$layoutsArgs = { /** * 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 where?: Prisma.DashboardLayoutWhereInput orderBy?: Prisma.DashboardLayoutOrderByWithRelationInput | Prisma.DashboardLayoutOrderByWithRelationInput[] cursor?: Prisma.DashboardLayoutWhereUniqueInput take?: number skip?: number distinct?: Prisma.DashboardLayoutScalarFieldEnum | Prisma.DashboardLayoutScalarFieldEnum[] } /** * Dashboard.instances */ export type Dashboard$instancesArgs = { /** * Select specific fields to fetch from the WidgetInstance */ select?: Prisma.WidgetInstanceSelect | null /** * Omit specific fields from the WidgetInstance */ omit?: Prisma.WidgetInstanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.WidgetInstanceInclude | null where?: Prisma.WidgetInstanceWhereInput orderBy?: Prisma.WidgetInstanceOrderByWithRelationInput | Prisma.WidgetInstanceOrderByWithRelationInput[] cursor?: Prisma.WidgetInstanceWhereUniqueInput take?: number skip?: number distinct?: Prisma.WidgetInstanceScalarFieldEnum | Prisma.WidgetInstanceScalarFieldEnum[] } /** * Dashboard without action */ export type DashboardDefaultArgs = { /** * Select specific fields to fetch from the Dashboard */ select?: Prisma.DashboardSelect | null /** * Omit specific fields from the Dashboard */ omit?: Prisma.DashboardOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DashboardInclude | null }