1362 lines
47 KiB
TypeScript
1362 lines
47 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `HrQuickLink` 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 HrQuickLink
|
|
* A quick link tile on the HR hub. Soft-delete via `archivedAt`.
|
|
*/
|
|
export type HrQuickLinkModel = runtime.Types.Result.DefaultSelection<Prisma.$HrQuickLinkPayload>
|
|
|
|
export type AggregateHrQuickLink = {
|
|
_count: HrQuickLinkCountAggregateOutputType | null
|
|
_avg: HrQuickLinkAvgAggregateOutputType | null
|
|
_sum: HrQuickLinkSumAggregateOutputType | null
|
|
_min: HrQuickLinkMinAggregateOutputType | null
|
|
_max: HrQuickLinkMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type HrQuickLinkAvgAggregateOutputType = {
|
|
sortOrder: number | null
|
|
}
|
|
|
|
export type HrQuickLinkSumAggregateOutputType = {
|
|
sortOrder: number | null
|
|
}
|
|
|
|
export type HrQuickLinkMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
tenantId: string | null
|
|
title: string | null
|
|
url: string | null
|
|
icon: string | null
|
|
audience: string | null
|
|
sortOrder: number | null
|
|
isDemoData: boolean | null
|
|
archivedAt: Date | null
|
|
}
|
|
|
|
export type HrQuickLinkMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
tenantId: string | null
|
|
title: string | null
|
|
url: string | null
|
|
icon: string | null
|
|
audience: string | null
|
|
sortOrder: number | null
|
|
isDemoData: boolean | null
|
|
archivedAt: Date | null
|
|
}
|
|
|
|
export type HrQuickLinkCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
tenantId: number
|
|
title: number
|
|
url: number
|
|
icon: number
|
|
audience: number
|
|
sortOrder: number
|
|
isDemoData: number
|
|
archivedAt: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type HrQuickLinkAvgAggregateInputType = {
|
|
sortOrder?: true
|
|
}
|
|
|
|
export type HrQuickLinkSumAggregateInputType = {
|
|
sortOrder?: true
|
|
}
|
|
|
|
export type HrQuickLinkMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
title?: true
|
|
url?: true
|
|
icon?: true
|
|
audience?: true
|
|
sortOrder?: true
|
|
isDemoData?: true
|
|
archivedAt?: true
|
|
}
|
|
|
|
export type HrQuickLinkMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
title?: true
|
|
url?: true
|
|
icon?: true
|
|
audience?: true
|
|
sortOrder?: true
|
|
isDemoData?: true
|
|
archivedAt?: true
|
|
}
|
|
|
|
export type HrQuickLinkCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
title?: true
|
|
url?: true
|
|
icon?: true
|
|
audience?: true
|
|
sortOrder?: true
|
|
isDemoData?: true
|
|
archivedAt?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type HrQuickLinkAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which HrQuickLink to aggregate.
|
|
*/
|
|
where?: Prisma.HrQuickLinkWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of HrQuickLinks to fetch.
|
|
*/
|
|
orderBy?: Prisma.HrQuickLinkOrderByWithRelationInput | Prisma.HrQuickLinkOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.HrQuickLinkWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` HrQuickLinks 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` HrQuickLinks.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned HrQuickLinks
|
|
**/
|
|
_count?: true | HrQuickLinkCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: HrQuickLinkAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: HrQuickLinkSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: HrQuickLinkMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: HrQuickLinkMaxAggregateInputType
|
|
}
|
|
|
|
export type GetHrQuickLinkAggregateType<T extends HrQuickLinkAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateHrQuickLink]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateHrQuickLink[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateHrQuickLink[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type HrQuickLinkGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.HrQuickLinkWhereInput
|
|
orderBy?: Prisma.HrQuickLinkOrderByWithAggregationInput | Prisma.HrQuickLinkOrderByWithAggregationInput[]
|
|
by: Prisma.HrQuickLinkScalarFieldEnum[] | Prisma.HrQuickLinkScalarFieldEnum
|
|
having?: Prisma.HrQuickLinkScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: HrQuickLinkCountAggregateInputType | true
|
|
_avg?: HrQuickLinkAvgAggregateInputType
|
|
_sum?: HrQuickLinkSumAggregateInputType
|
|
_min?: HrQuickLinkMinAggregateInputType
|
|
_max?: HrQuickLinkMaxAggregateInputType
|
|
}
|
|
|
|
export type HrQuickLinkGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
tenantId: string
|
|
title: string
|
|
url: string
|
|
icon: string | null
|
|
audience: string
|
|
sortOrder: number
|
|
isDemoData: boolean
|
|
archivedAt: Date | null
|
|
_count: HrQuickLinkCountAggregateOutputType | null
|
|
_avg: HrQuickLinkAvgAggregateOutputType | null
|
|
_sum: HrQuickLinkSumAggregateOutputType | null
|
|
_min: HrQuickLinkMinAggregateOutputType | null
|
|
_max: HrQuickLinkMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetHrQuickLinkGroupByPayload<T extends HrQuickLinkGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<HrQuickLinkGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof HrQuickLinkGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], HrQuickLinkGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], HrQuickLinkGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type HrQuickLinkWhereInput = {
|
|
AND?: Prisma.HrQuickLinkWhereInput | Prisma.HrQuickLinkWhereInput[]
|
|
OR?: Prisma.HrQuickLinkWhereInput[]
|
|
NOT?: Prisma.HrQuickLinkWhereInput | Prisma.HrQuickLinkWhereInput[]
|
|
id?: Prisma.StringFilter<"HrQuickLink"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"HrQuickLink"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"HrQuickLink"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"HrQuickLink"> | string
|
|
title?: Prisma.StringFilter<"HrQuickLink"> | string
|
|
url?: Prisma.StringFilter<"HrQuickLink"> | string
|
|
icon?: Prisma.StringNullableFilter<"HrQuickLink"> | string | null
|
|
audience?: Prisma.StringFilter<"HrQuickLink"> | string
|
|
sortOrder?: Prisma.IntFilter<"HrQuickLink"> | number
|
|
isDemoData?: Prisma.BoolFilter<"HrQuickLink"> | boolean
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"HrQuickLink"> | Date | string | null
|
|
}
|
|
|
|
export type HrQuickLinkOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
url?: Prisma.SortOrder
|
|
icon?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
audience?: Prisma.SortOrder
|
|
sortOrder?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
}
|
|
|
|
export type HrQuickLinkWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.HrQuickLinkWhereInput | Prisma.HrQuickLinkWhereInput[]
|
|
OR?: Prisma.HrQuickLinkWhereInput[]
|
|
NOT?: Prisma.HrQuickLinkWhereInput | Prisma.HrQuickLinkWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"HrQuickLink"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"HrQuickLink"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"HrQuickLink"> | string
|
|
title?: Prisma.StringFilter<"HrQuickLink"> | string
|
|
url?: Prisma.StringFilter<"HrQuickLink"> | string
|
|
icon?: Prisma.StringNullableFilter<"HrQuickLink"> | string | null
|
|
audience?: Prisma.StringFilter<"HrQuickLink"> | string
|
|
sortOrder?: Prisma.IntFilter<"HrQuickLink"> | number
|
|
isDemoData?: Prisma.BoolFilter<"HrQuickLink"> | boolean
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"HrQuickLink"> | Date | string | null
|
|
}, "id">
|
|
|
|
export type HrQuickLinkOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
url?: Prisma.SortOrder
|
|
icon?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
audience?: Prisma.SortOrder
|
|
sortOrder?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.HrQuickLinkCountOrderByAggregateInput
|
|
_avg?: Prisma.HrQuickLinkAvgOrderByAggregateInput
|
|
_max?: Prisma.HrQuickLinkMaxOrderByAggregateInput
|
|
_min?: Prisma.HrQuickLinkMinOrderByAggregateInput
|
|
_sum?: Prisma.HrQuickLinkSumOrderByAggregateInput
|
|
}
|
|
|
|
export type HrQuickLinkScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.HrQuickLinkScalarWhereWithAggregatesInput | Prisma.HrQuickLinkScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.HrQuickLinkScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.HrQuickLinkScalarWhereWithAggregatesInput | Prisma.HrQuickLinkScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"HrQuickLink"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"HrQuickLink"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"HrQuickLink"> | Date | string
|
|
tenantId?: Prisma.StringWithAggregatesFilter<"HrQuickLink"> | string
|
|
title?: Prisma.StringWithAggregatesFilter<"HrQuickLink"> | string
|
|
url?: Prisma.StringWithAggregatesFilter<"HrQuickLink"> | string
|
|
icon?: Prisma.StringNullableWithAggregatesFilter<"HrQuickLink"> | string | null
|
|
audience?: Prisma.StringWithAggregatesFilter<"HrQuickLink"> | string
|
|
sortOrder?: Prisma.IntWithAggregatesFilter<"HrQuickLink"> | number
|
|
isDemoData?: Prisma.BoolWithAggregatesFilter<"HrQuickLink"> | boolean
|
|
archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"HrQuickLink"> | Date | string | null
|
|
}
|
|
|
|
export type HrQuickLinkCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
title: string
|
|
url: string
|
|
icon?: string | null
|
|
audience?: string
|
|
sortOrder?: number
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
}
|
|
|
|
export type HrQuickLinkUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
title: string
|
|
url: string
|
|
icon?: string | null
|
|
audience?: string
|
|
sortOrder?: number
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
}
|
|
|
|
export type HrQuickLinkUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
url?: Prisma.StringFieldUpdateOperationsInput | string
|
|
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
audience?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type HrQuickLinkUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
url?: Prisma.StringFieldUpdateOperationsInput | string
|
|
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
audience?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type HrQuickLinkCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
title: string
|
|
url: string
|
|
icon?: string | null
|
|
audience?: string
|
|
sortOrder?: number
|
|
isDemoData?: boolean
|
|
archivedAt?: Date | string | null
|
|
}
|
|
|
|
export type HrQuickLinkUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
url?: Prisma.StringFieldUpdateOperationsInput | string
|
|
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
audience?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type HrQuickLinkUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
url?: Prisma.StringFieldUpdateOperationsInput | string
|
|
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
audience?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type HrQuickLinkCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
url?: Prisma.SortOrder
|
|
icon?: Prisma.SortOrder
|
|
audience?: Prisma.SortOrder
|
|
sortOrder?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type HrQuickLinkAvgOrderByAggregateInput = {
|
|
sortOrder?: Prisma.SortOrder
|
|
}
|
|
|
|
export type HrQuickLinkMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
url?: Prisma.SortOrder
|
|
icon?: Prisma.SortOrder
|
|
audience?: Prisma.SortOrder
|
|
sortOrder?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type HrQuickLinkMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
url?: Prisma.SortOrder
|
|
icon?: Prisma.SortOrder
|
|
audience?: Prisma.SortOrder
|
|
sortOrder?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type HrQuickLinkSumOrderByAggregateInput = {
|
|
sortOrder?: Prisma.SortOrder
|
|
}
|
|
|
|
|
|
|
|
export type HrQuickLinkSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
title?: boolean
|
|
url?: boolean
|
|
icon?: boolean
|
|
audience?: boolean
|
|
sortOrder?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: boolean
|
|
}, ExtArgs["result"]["hrQuickLink"]>
|
|
|
|
export type HrQuickLinkSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
title?: boolean
|
|
url?: boolean
|
|
icon?: boolean
|
|
audience?: boolean
|
|
sortOrder?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: boolean
|
|
}, ExtArgs["result"]["hrQuickLink"]>
|
|
|
|
export type HrQuickLinkSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
title?: boolean
|
|
url?: boolean
|
|
icon?: boolean
|
|
audience?: boolean
|
|
sortOrder?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: boolean
|
|
}, ExtArgs["result"]["hrQuickLink"]>
|
|
|
|
export type HrQuickLinkSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
title?: boolean
|
|
url?: boolean
|
|
icon?: boolean
|
|
audience?: boolean
|
|
sortOrder?: boolean
|
|
isDemoData?: boolean
|
|
archivedAt?: boolean
|
|
}
|
|
|
|
export type HrQuickLinkOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "title" | "url" | "icon" | "audience" | "sortOrder" | "isDemoData" | "archivedAt", ExtArgs["result"]["hrQuickLink"]>
|
|
|
|
export type $HrQuickLinkPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "HrQuickLink"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
tenantId: string
|
|
title: string
|
|
url: string
|
|
icon: string | null
|
|
audience: string
|
|
sortOrder: number
|
|
isDemoData: boolean
|
|
archivedAt: Date | null
|
|
}, ExtArgs["result"]["hrQuickLink"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type HrQuickLinkGetPayload<S extends boolean | null | undefined | HrQuickLinkDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$HrQuickLinkPayload, S>
|
|
|
|
export type HrQuickLinkCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<HrQuickLinkFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: HrQuickLinkCountAggregateInputType | true
|
|
}
|
|
|
|
export interface HrQuickLinkDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['HrQuickLink'], meta: { name: 'HrQuickLink' } }
|
|
/**
|
|
* Find zero or one HrQuickLink that matches the filter.
|
|
* @param {HrQuickLinkFindUniqueArgs} args - Arguments to find a HrQuickLink
|
|
* @example
|
|
* // Get one HrQuickLink
|
|
* const hrQuickLink = await prisma.hrQuickLink.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends HrQuickLinkFindUniqueArgs>(args: Prisma.SelectSubset<T, HrQuickLinkFindUniqueArgs<ExtArgs>>): Prisma.Prisma__HrQuickLinkClient<runtime.Types.Result.GetResult<Prisma.$HrQuickLinkPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one HrQuickLink that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {HrQuickLinkFindUniqueOrThrowArgs} args - Arguments to find a HrQuickLink
|
|
* @example
|
|
* // Get one HrQuickLink
|
|
* const hrQuickLink = await prisma.hrQuickLink.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends HrQuickLinkFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, HrQuickLinkFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__HrQuickLinkClient<runtime.Types.Result.GetResult<Prisma.$HrQuickLinkPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first HrQuickLink 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 {HrQuickLinkFindFirstArgs} args - Arguments to find a HrQuickLink
|
|
* @example
|
|
* // Get one HrQuickLink
|
|
* const hrQuickLink = await prisma.hrQuickLink.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends HrQuickLinkFindFirstArgs>(args?: Prisma.SelectSubset<T, HrQuickLinkFindFirstArgs<ExtArgs>>): Prisma.Prisma__HrQuickLinkClient<runtime.Types.Result.GetResult<Prisma.$HrQuickLinkPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first HrQuickLink 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 {HrQuickLinkFindFirstOrThrowArgs} args - Arguments to find a HrQuickLink
|
|
* @example
|
|
* // Get one HrQuickLink
|
|
* const hrQuickLink = await prisma.hrQuickLink.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends HrQuickLinkFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, HrQuickLinkFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__HrQuickLinkClient<runtime.Types.Result.GetResult<Prisma.$HrQuickLinkPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more HrQuickLinks 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 {HrQuickLinkFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all HrQuickLinks
|
|
* const hrQuickLinks = await prisma.hrQuickLink.findMany()
|
|
*
|
|
* // Get first 10 HrQuickLinks
|
|
* const hrQuickLinks = await prisma.hrQuickLink.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const hrQuickLinkWithIdOnly = await prisma.hrQuickLink.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends HrQuickLinkFindManyArgs>(args?: Prisma.SelectSubset<T, HrQuickLinkFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HrQuickLinkPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a HrQuickLink.
|
|
* @param {HrQuickLinkCreateArgs} args - Arguments to create a HrQuickLink.
|
|
* @example
|
|
* // Create one HrQuickLink
|
|
* const HrQuickLink = await prisma.hrQuickLink.create({
|
|
* data: {
|
|
* // ... data to create a HrQuickLink
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends HrQuickLinkCreateArgs>(args: Prisma.SelectSubset<T, HrQuickLinkCreateArgs<ExtArgs>>): Prisma.Prisma__HrQuickLinkClient<runtime.Types.Result.GetResult<Prisma.$HrQuickLinkPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many HrQuickLinks.
|
|
* @param {HrQuickLinkCreateManyArgs} args - Arguments to create many HrQuickLinks.
|
|
* @example
|
|
* // Create many HrQuickLinks
|
|
* const hrQuickLink = await prisma.hrQuickLink.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends HrQuickLinkCreateManyArgs>(args?: Prisma.SelectSubset<T, HrQuickLinkCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many HrQuickLinks and returns the data saved in the database.
|
|
* @param {HrQuickLinkCreateManyAndReturnArgs} args - Arguments to create many HrQuickLinks.
|
|
* @example
|
|
* // Create many HrQuickLinks
|
|
* const hrQuickLink = await prisma.hrQuickLink.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many HrQuickLinks and only return the `id`
|
|
* const hrQuickLinkWithIdOnly = await prisma.hrQuickLink.createManyAndReturn({
|
|
* select: { id: true },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
*
|
|
*/
|
|
createManyAndReturn<T extends HrQuickLinkCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, HrQuickLinkCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HrQuickLinkPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a HrQuickLink.
|
|
* @param {HrQuickLinkDeleteArgs} args - Arguments to delete one HrQuickLink.
|
|
* @example
|
|
* // Delete one HrQuickLink
|
|
* const HrQuickLink = await prisma.hrQuickLink.delete({
|
|
* where: {
|
|
* // ... filter to delete one HrQuickLink
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends HrQuickLinkDeleteArgs>(args: Prisma.SelectSubset<T, HrQuickLinkDeleteArgs<ExtArgs>>): Prisma.Prisma__HrQuickLinkClient<runtime.Types.Result.GetResult<Prisma.$HrQuickLinkPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one HrQuickLink.
|
|
* @param {HrQuickLinkUpdateArgs} args - Arguments to update one HrQuickLink.
|
|
* @example
|
|
* // Update one HrQuickLink
|
|
* const hrQuickLink = await prisma.hrQuickLink.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends HrQuickLinkUpdateArgs>(args: Prisma.SelectSubset<T, HrQuickLinkUpdateArgs<ExtArgs>>): Prisma.Prisma__HrQuickLinkClient<runtime.Types.Result.GetResult<Prisma.$HrQuickLinkPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more HrQuickLinks.
|
|
* @param {HrQuickLinkDeleteManyArgs} args - Arguments to filter HrQuickLinks to delete.
|
|
* @example
|
|
* // Delete a few HrQuickLinks
|
|
* const { count } = await prisma.hrQuickLink.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends HrQuickLinkDeleteManyArgs>(args?: Prisma.SelectSubset<T, HrQuickLinkDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more HrQuickLinks.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {HrQuickLinkUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many HrQuickLinks
|
|
* const hrQuickLink = await prisma.hrQuickLink.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends HrQuickLinkUpdateManyArgs>(args: Prisma.SelectSubset<T, HrQuickLinkUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more HrQuickLinks and returns the data updated in the database.
|
|
* @param {HrQuickLinkUpdateManyAndReturnArgs} args - Arguments to update many HrQuickLinks.
|
|
* @example
|
|
* // Update many HrQuickLinks
|
|
* const hrQuickLink = await prisma.hrQuickLink.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more HrQuickLinks and only return the `id`
|
|
* const hrQuickLinkWithIdOnly = await prisma.hrQuickLink.updateManyAndReturn({
|
|
* select: { id: true },
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
*
|
|
*/
|
|
updateManyAndReturn<T extends HrQuickLinkUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, HrQuickLinkUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HrQuickLinkPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one HrQuickLink.
|
|
* @param {HrQuickLinkUpsertArgs} args - Arguments to update or create a HrQuickLink.
|
|
* @example
|
|
* // Update or create a HrQuickLink
|
|
* const hrQuickLink = await prisma.hrQuickLink.upsert({
|
|
* create: {
|
|
* // ... data to create a HrQuickLink
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the HrQuickLink we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends HrQuickLinkUpsertArgs>(args: Prisma.SelectSubset<T, HrQuickLinkUpsertArgs<ExtArgs>>): Prisma.Prisma__HrQuickLinkClient<runtime.Types.Result.GetResult<Prisma.$HrQuickLinkPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of HrQuickLinks.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {HrQuickLinkCountArgs} args - Arguments to filter HrQuickLinks to count.
|
|
* @example
|
|
* // Count the number of HrQuickLinks
|
|
* const count = await prisma.hrQuickLink.count({
|
|
* where: {
|
|
* // ... the filter for the HrQuickLinks we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends HrQuickLinkCountArgs>(
|
|
args?: Prisma.Subset<T, HrQuickLinkCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], HrQuickLinkCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a HrQuickLink.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {HrQuickLinkAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
* @example
|
|
* // Ordered by age ascending
|
|
* // Where email contains prisma.io
|
|
* // Limited to the 10 users
|
|
* const aggregations = await prisma.user.aggregate({
|
|
* _avg: {
|
|
* age: true,
|
|
* },
|
|
* where: {
|
|
* email: {
|
|
* contains: "prisma.io",
|
|
* },
|
|
* },
|
|
* orderBy: {
|
|
* age: "asc",
|
|
* },
|
|
* take: 10,
|
|
* })
|
|
**/
|
|
aggregate<T extends HrQuickLinkAggregateArgs>(args: Prisma.Subset<T, HrQuickLinkAggregateArgs>): Prisma.PrismaPromise<GetHrQuickLinkAggregateType<T>>
|
|
|
|
/**
|
|
* Group by HrQuickLink.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {HrQuickLinkGroupByArgs} 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 HrQuickLinkGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: HrQuickLinkGroupByArgs['orderBy'] }
|
|
: { orderBy?: HrQuickLinkGroupByArgs['orderBy'] },
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
InputErrors extends ByEmpty extends Prisma.True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends Prisma.False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: Prisma.SubsetIntersection<T, HrQuickLinkGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetHrQuickLinkGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the HrQuickLink model
|
|
*/
|
|
readonly fields: HrQuickLinkFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for HrQuickLink.
|
|
* 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__HrQuickLinkClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the HrQuickLink model
|
|
*/
|
|
export interface HrQuickLinkFieldRefs {
|
|
readonly id: Prisma.FieldRef<"HrQuickLink", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"HrQuickLink", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"HrQuickLink", 'DateTime'>
|
|
readonly tenantId: Prisma.FieldRef<"HrQuickLink", 'String'>
|
|
readonly title: Prisma.FieldRef<"HrQuickLink", 'String'>
|
|
readonly url: Prisma.FieldRef<"HrQuickLink", 'String'>
|
|
readonly icon: Prisma.FieldRef<"HrQuickLink", 'String'>
|
|
readonly audience: Prisma.FieldRef<"HrQuickLink", 'String'>
|
|
readonly sortOrder: Prisma.FieldRef<"HrQuickLink", 'Int'>
|
|
readonly isDemoData: Prisma.FieldRef<"HrQuickLink", 'Boolean'>
|
|
readonly archivedAt: Prisma.FieldRef<"HrQuickLink", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* HrQuickLink findUnique
|
|
*/
|
|
export type HrQuickLinkFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the HrQuickLink
|
|
*/
|
|
select?: Prisma.HrQuickLinkSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the HrQuickLink
|
|
*/
|
|
omit?: Prisma.HrQuickLinkOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which HrQuickLink to fetch.
|
|
*/
|
|
where: Prisma.HrQuickLinkWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* HrQuickLink findUniqueOrThrow
|
|
*/
|
|
export type HrQuickLinkFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the HrQuickLink
|
|
*/
|
|
select?: Prisma.HrQuickLinkSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the HrQuickLink
|
|
*/
|
|
omit?: Prisma.HrQuickLinkOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which HrQuickLink to fetch.
|
|
*/
|
|
where: Prisma.HrQuickLinkWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* HrQuickLink findFirst
|
|
*/
|
|
export type HrQuickLinkFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the HrQuickLink
|
|
*/
|
|
select?: Prisma.HrQuickLinkSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the HrQuickLink
|
|
*/
|
|
omit?: Prisma.HrQuickLinkOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which HrQuickLink to fetch.
|
|
*/
|
|
where?: Prisma.HrQuickLinkWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of HrQuickLinks to fetch.
|
|
*/
|
|
orderBy?: Prisma.HrQuickLinkOrderByWithRelationInput | Prisma.HrQuickLinkOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for HrQuickLinks.
|
|
*/
|
|
cursor?: Prisma.HrQuickLinkWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` HrQuickLinks 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` HrQuickLinks.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of HrQuickLinks.
|
|
*/
|
|
distinct?: Prisma.HrQuickLinkScalarFieldEnum | Prisma.HrQuickLinkScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* HrQuickLink findFirstOrThrow
|
|
*/
|
|
export type HrQuickLinkFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the HrQuickLink
|
|
*/
|
|
select?: Prisma.HrQuickLinkSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the HrQuickLink
|
|
*/
|
|
omit?: Prisma.HrQuickLinkOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which HrQuickLink to fetch.
|
|
*/
|
|
where?: Prisma.HrQuickLinkWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of HrQuickLinks to fetch.
|
|
*/
|
|
orderBy?: Prisma.HrQuickLinkOrderByWithRelationInput | Prisma.HrQuickLinkOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for HrQuickLinks.
|
|
*/
|
|
cursor?: Prisma.HrQuickLinkWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` HrQuickLinks 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` HrQuickLinks.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of HrQuickLinks.
|
|
*/
|
|
distinct?: Prisma.HrQuickLinkScalarFieldEnum | Prisma.HrQuickLinkScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* HrQuickLink findMany
|
|
*/
|
|
export type HrQuickLinkFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the HrQuickLink
|
|
*/
|
|
select?: Prisma.HrQuickLinkSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the HrQuickLink
|
|
*/
|
|
omit?: Prisma.HrQuickLinkOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which HrQuickLinks to fetch.
|
|
*/
|
|
where?: Prisma.HrQuickLinkWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of HrQuickLinks to fetch.
|
|
*/
|
|
orderBy?: Prisma.HrQuickLinkOrderByWithRelationInput | Prisma.HrQuickLinkOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing HrQuickLinks.
|
|
*/
|
|
cursor?: Prisma.HrQuickLinkWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` HrQuickLinks 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` HrQuickLinks.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of HrQuickLinks.
|
|
*/
|
|
distinct?: Prisma.HrQuickLinkScalarFieldEnum | Prisma.HrQuickLinkScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* HrQuickLink create
|
|
*/
|
|
export type HrQuickLinkCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the HrQuickLink
|
|
*/
|
|
select?: Prisma.HrQuickLinkSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the HrQuickLink
|
|
*/
|
|
omit?: Prisma.HrQuickLinkOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a HrQuickLink.
|
|
*/
|
|
data: Prisma.XOR<Prisma.HrQuickLinkCreateInput, Prisma.HrQuickLinkUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* HrQuickLink createMany
|
|
*/
|
|
export type HrQuickLinkCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many HrQuickLinks.
|
|
*/
|
|
data: Prisma.HrQuickLinkCreateManyInput | Prisma.HrQuickLinkCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* HrQuickLink createManyAndReturn
|
|
*/
|
|
export type HrQuickLinkCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the HrQuickLink
|
|
*/
|
|
select?: Prisma.HrQuickLinkSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the HrQuickLink
|
|
*/
|
|
omit?: Prisma.HrQuickLinkOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many HrQuickLinks.
|
|
*/
|
|
data: Prisma.HrQuickLinkCreateManyInput | Prisma.HrQuickLinkCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* HrQuickLink update
|
|
*/
|
|
export type HrQuickLinkUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the HrQuickLink
|
|
*/
|
|
select?: Prisma.HrQuickLinkSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the HrQuickLink
|
|
*/
|
|
omit?: Prisma.HrQuickLinkOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a HrQuickLink.
|
|
*/
|
|
data: Prisma.XOR<Prisma.HrQuickLinkUpdateInput, Prisma.HrQuickLinkUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which HrQuickLink to update.
|
|
*/
|
|
where: Prisma.HrQuickLinkWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* HrQuickLink updateMany
|
|
*/
|
|
export type HrQuickLinkUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update HrQuickLinks.
|
|
*/
|
|
data: Prisma.XOR<Prisma.HrQuickLinkUpdateManyMutationInput, Prisma.HrQuickLinkUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which HrQuickLinks to update
|
|
*/
|
|
where?: Prisma.HrQuickLinkWhereInput
|
|
/**
|
|
* Limit how many HrQuickLinks to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* HrQuickLink updateManyAndReturn
|
|
*/
|
|
export type HrQuickLinkUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the HrQuickLink
|
|
*/
|
|
select?: Prisma.HrQuickLinkSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the HrQuickLink
|
|
*/
|
|
omit?: Prisma.HrQuickLinkOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update HrQuickLinks.
|
|
*/
|
|
data: Prisma.XOR<Prisma.HrQuickLinkUpdateManyMutationInput, Prisma.HrQuickLinkUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which HrQuickLinks to update
|
|
*/
|
|
where?: Prisma.HrQuickLinkWhereInput
|
|
/**
|
|
* Limit how many HrQuickLinks to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* HrQuickLink upsert
|
|
*/
|
|
export type HrQuickLinkUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the HrQuickLink
|
|
*/
|
|
select?: Prisma.HrQuickLinkSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the HrQuickLink
|
|
*/
|
|
omit?: Prisma.HrQuickLinkOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the HrQuickLink to update in case it exists.
|
|
*/
|
|
where: Prisma.HrQuickLinkWhereUniqueInput
|
|
/**
|
|
* In case the HrQuickLink found by the `where` argument doesn't exist, create a new HrQuickLink with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.HrQuickLinkCreateInput, Prisma.HrQuickLinkUncheckedCreateInput>
|
|
/**
|
|
* In case the HrQuickLink was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.HrQuickLinkUpdateInput, Prisma.HrQuickLinkUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* HrQuickLink delete
|
|
*/
|
|
export type HrQuickLinkDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the HrQuickLink
|
|
*/
|
|
select?: Prisma.HrQuickLinkSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the HrQuickLink
|
|
*/
|
|
omit?: Prisma.HrQuickLinkOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which HrQuickLink to delete.
|
|
*/
|
|
where: Prisma.HrQuickLinkWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* HrQuickLink deleteMany
|
|
*/
|
|
export type HrQuickLinkDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which HrQuickLinks to delete
|
|
*/
|
|
where?: Prisma.HrQuickLinkWhereInput
|
|
/**
|
|
* Limit how many HrQuickLinks to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* HrQuickLink without action
|
|
*/
|
|
export type HrQuickLinkDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the HrQuickLink
|
|
*/
|
|
select?: Prisma.HrQuickLinkSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the HrQuickLink
|
|
*/
|
|
omit?: Prisma.HrQuickLinkOmit<ExtArgs> | null
|
|
}
|