Files
HiveGrid-Wireframes/hivegrid-cloud/packages/db/generated/prisma/client/models/PortalPage.ts
T

1381 lines
51 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 `PortalPage` 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 PortalPage
*
*/
export type PortalPageModel = runtime.Types.Result.DefaultSelection<Prisma.$PortalPagePayload>
export type AggregatePortalPage = {
_count: PortalPageCountAggregateOutputType | null
_min: PortalPageMinAggregateOutputType | null
_max: PortalPageMaxAggregateOutputType | null
}
export type PortalPageMinAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
portalId: string | null
name: string | null
}
export type PortalPageMaxAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
portalId: string | null
name: string | null
}
export type PortalPageCountAggregateOutputType = {
id: number
createdAt: number
updatedAt: number
portalId: number
name: number
attributes: number
_all: number
}
export type PortalPageMinAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
portalId?: true
name?: true
}
export type PortalPageMaxAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
portalId?: true
name?: true
}
export type PortalPageCountAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
portalId?: true
name?: true
attributes?: true
_all?: true
}
export type PortalPageAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which PortalPage to aggregate.
*/
where?: Prisma.PortalPageWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of PortalPages to fetch.
*/
orderBy?: Prisma.PortalPageOrderByWithRelationInput | Prisma.PortalPageOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.PortalPageWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` PortalPages 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` PortalPages.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned PortalPages
**/
_count?: true | PortalPageCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: PortalPageMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: PortalPageMaxAggregateInputType
}
export type GetPortalPageAggregateType<T extends PortalPageAggregateArgs> = {
[P in keyof T & keyof AggregatePortalPage]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregatePortalPage[P]>
: Prisma.GetScalarType<T[P], AggregatePortalPage[P]>
}
export type PortalPageGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.PortalPageWhereInput
orderBy?: Prisma.PortalPageOrderByWithAggregationInput | Prisma.PortalPageOrderByWithAggregationInput[]
by: Prisma.PortalPageScalarFieldEnum[] | Prisma.PortalPageScalarFieldEnum
having?: Prisma.PortalPageScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: PortalPageCountAggregateInputType | true
_min?: PortalPageMinAggregateInputType
_max?: PortalPageMaxAggregateInputType
}
export type PortalPageGroupByOutputType = {
id: string
createdAt: Date
updatedAt: Date
portalId: string
name: string
attributes: runtime.JsonValue | null
_count: PortalPageCountAggregateOutputType | null
_min: PortalPageMinAggregateOutputType | null
_max: PortalPageMaxAggregateOutputType | null
}
export type GetPortalPageGroupByPayload<T extends PortalPageGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<PortalPageGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof PortalPageGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], PortalPageGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], PortalPageGroupByOutputType[P]>
}
>
>
export type PortalPageWhereInput = {
AND?: Prisma.PortalPageWhereInput | Prisma.PortalPageWhereInput[]
OR?: Prisma.PortalPageWhereInput[]
NOT?: Prisma.PortalPageWhereInput | Prisma.PortalPageWhereInput[]
id?: Prisma.StringFilter<"PortalPage"> | string
createdAt?: Prisma.DateTimeFilter<"PortalPage"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"PortalPage"> | Date | string
portalId?: Prisma.StringFilter<"PortalPage"> | string
name?: Prisma.StringFilter<"PortalPage"> | string
attributes?: Prisma.JsonNullableFilter<"PortalPage">
portal?: Prisma.XOR<Prisma.PortalScalarRelationFilter, Prisma.PortalWhereInput>
}
export type PortalPageOrderByWithRelationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
portalId?: Prisma.SortOrder
name?: Prisma.SortOrder
attributes?: Prisma.SortOrderInput | Prisma.SortOrder
portal?: Prisma.PortalOrderByWithRelationInput
}
export type PortalPageWhereUniqueInput = Prisma.AtLeast<{
id?: string
portalId_name?: Prisma.PortalPagePortalIdNameCompoundUniqueInput
AND?: Prisma.PortalPageWhereInput | Prisma.PortalPageWhereInput[]
OR?: Prisma.PortalPageWhereInput[]
NOT?: Prisma.PortalPageWhereInput | Prisma.PortalPageWhereInput[]
createdAt?: Prisma.DateTimeFilter<"PortalPage"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"PortalPage"> | Date | string
portalId?: Prisma.StringFilter<"PortalPage"> | string
name?: Prisma.StringFilter<"PortalPage"> | string
attributes?: Prisma.JsonNullableFilter<"PortalPage">
portal?: Prisma.XOR<Prisma.PortalScalarRelationFilter, Prisma.PortalWhereInput>
}, "id" | "portalId_name">
export type PortalPageOrderByWithAggregationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
portalId?: Prisma.SortOrder
name?: Prisma.SortOrder
attributes?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.PortalPageCountOrderByAggregateInput
_max?: Prisma.PortalPageMaxOrderByAggregateInput
_min?: Prisma.PortalPageMinOrderByAggregateInput
}
export type PortalPageScalarWhereWithAggregatesInput = {
AND?: Prisma.PortalPageScalarWhereWithAggregatesInput | Prisma.PortalPageScalarWhereWithAggregatesInput[]
OR?: Prisma.PortalPageScalarWhereWithAggregatesInput[]
NOT?: Prisma.PortalPageScalarWhereWithAggregatesInput | Prisma.PortalPageScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"PortalPage"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"PortalPage"> | Date | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"PortalPage"> | Date | string
portalId?: Prisma.StringWithAggregatesFilter<"PortalPage"> | string
name?: Prisma.StringWithAggregatesFilter<"PortalPage"> | string
attributes?: Prisma.JsonNullableWithAggregatesFilter<"PortalPage">
}
export type PortalPageCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
name: string
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
portal: Prisma.PortalCreateNestedOneWithoutPagesInput
}
export type PortalPageUncheckedCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
portalId: string
name: string
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
}
export type PortalPageUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
name?: Prisma.StringFieldUpdateOperationsInput | string
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
portal?: Prisma.PortalUpdateOneRequiredWithoutPagesNestedInput
}
export type PortalPageUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
portalId?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
}
export type PortalPageCreateManyInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
portalId: string
name: string
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
}
export type PortalPageUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
name?: Prisma.StringFieldUpdateOperationsInput | string
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
}
export type PortalPageUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
portalId?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
}
export type PortalPageListRelationFilter = {
every?: Prisma.PortalPageWhereInput
some?: Prisma.PortalPageWhereInput
none?: Prisma.PortalPageWhereInput
}
export type PortalPageOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type PortalPagePortalIdNameCompoundUniqueInput = {
portalId: string
name: string
}
export type PortalPageCountOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
portalId?: Prisma.SortOrder
name?: Prisma.SortOrder
attributes?: Prisma.SortOrder
}
export type PortalPageMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
portalId?: Prisma.SortOrder
name?: Prisma.SortOrder
}
export type PortalPageMinOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
portalId?: Prisma.SortOrder
name?: Prisma.SortOrder
}
export type PortalPageCreateNestedManyWithoutPortalInput = {
create?: Prisma.XOR<Prisma.PortalPageCreateWithoutPortalInput, Prisma.PortalPageUncheckedCreateWithoutPortalInput> | Prisma.PortalPageCreateWithoutPortalInput[] | Prisma.PortalPageUncheckedCreateWithoutPortalInput[]
connectOrCreate?: Prisma.PortalPageCreateOrConnectWithoutPortalInput | Prisma.PortalPageCreateOrConnectWithoutPortalInput[]
createMany?: Prisma.PortalPageCreateManyPortalInputEnvelope
connect?: Prisma.PortalPageWhereUniqueInput | Prisma.PortalPageWhereUniqueInput[]
}
export type PortalPageUncheckedCreateNestedManyWithoutPortalInput = {
create?: Prisma.XOR<Prisma.PortalPageCreateWithoutPortalInput, Prisma.PortalPageUncheckedCreateWithoutPortalInput> | Prisma.PortalPageCreateWithoutPortalInput[] | Prisma.PortalPageUncheckedCreateWithoutPortalInput[]
connectOrCreate?: Prisma.PortalPageCreateOrConnectWithoutPortalInput | Prisma.PortalPageCreateOrConnectWithoutPortalInput[]
createMany?: Prisma.PortalPageCreateManyPortalInputEnvelope
connect?: Prisma.PortalPageWhereUniqueInput | Prisma.PortalPageWhereUniqueInput[]
}
export type PortalPageUpdateManyWithoutPortalNestedInput = {
create?: Prisma.XOR<Prisma.PortalPageCreateWithoutPortalInput, Prisma.PortalPageUncheckedCreateWithoutPortalInput> | Prisma.PortalPageCreateWithoutPortalInput[] | Prisma.PortalPageUncheckedCreateWithoutPortalInput[]
connectOrCreate?: Prisma.PortalPageCreateOrConnectWithoutPortalInput | Prisma.PortalPageCreateOrConnectWithoutPortalInput[]
upsert?: Prisma.PortalPageUpsertWithWhereUniqueWithoutPortalInput | Prisma.PortalPageUpsertWithWhereUniqueWithoutPortalInput[]
createMany?: Prisma.PortalPageCreateManyPortalInputEnvelope
set?: Prisma.PortalPageWhereUniqueInput | Prisma.PortalPageWhereUniqueInput[]
disconnect?: Prisma.PortalPageWhereUniqueInput | Prisma.PortalPageWhereUniqueInput[]
delete?: Prisma.PortalPageWhereUniqueInput | Prisma.PortalPageWhereUniqueInput[]
connect?: Prisma.PortalPageWhereUniqueInput | Prisma.PortalPageWhereUniqueInput[]
update?: Prisma.PortalPageUpdateWithWhereUniqueWithoutPortalInput | Prisma.PortalPageUpdateWithWhereUniqueWithoutPortalInput[]
updateMany?: Prisma.PortalPageUpdateManyWithWhereWithoutPortalInput | Prisma.PortalPageUpdateManyWithWhereWithoutPortalInput[]
deleteMany?: Prisma.PortalPageScalarWhereInput | Prisma.PortalPageScalarWhereInput[]
}
export type PortalPageUncheckedUpdateManyWithoutPortalNestedInput = {
create?: Prisma.XOR<Prisma.PortalPageCreateWithoutPortalInput, Prisma.PortalPageUncheckedCreateWithoutPortalInput> | Prisma.PortalPageCreateWithoutPortalInput[] | Prisma.PortalPageUncheckedCreateWithoutPortalInput[]
connectOrCreate?: Prisma.PortalPageCreateOrConnectWithoutPortalInput | Prisma.PortalPageCreateOrConnectWithoutPortalInput[]
upsert?: Prisma.PortalPageUpsertWithWhereUniqueWithoutPortalInput | Prisma.PortalPageUpsertWithWhereUniqueWithoutPortalInput[]
createMany?: Prisma.PortalPageCreateManyPortalInputEnvelope
set?: Prisma.PortalPageWhereUniqueInput | Prisma.PortalPageWhereUniqueInput[]
disconnect?: Prisma.PortalPageWhereUniqueInput | Prisma.PortalPageWhereUniqueInput[]
delete?: Prisma.PortalPageWhereUniqueInput | Prisma.PortalPageWhereUniqueInput[]
connect?: Prisma.PortalPageWhereUniqueInput | Prisma.PortalPageWhereUniqueInput[]
update?: Prisma.PortalPageUpdateWithWhereUniqueWithoutPortalInput | Prisma.PortalPageUpdateWithWhereUniqueWithoutPortalInput[]
updateMany?: Prisma.PortalPageUpdateManyWithWhereWithoutPortalInput | Prisma.PortalPageUpdateManyWithWhereWithoutPortalInput[]
deleteMany?: Prisma.PortalPageScalarWhereInput | Prisma.PortalPageScalarWhereInput[]
}
export type PortalPageCreateWithoutPortalInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
name: string
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
}
export type PortalPageUncheckedCreateWithoutPortalInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
name: string
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
}
export type PortalPageCreateOrConnectWithoutPortalInput = {
where: Prisma.PortalPageWhereUniqueInput
create: Prisma.XOR<Prisma.PortalPageCreateWithoutPortalInput, Prisma.PortalPageUncheckedCreateWithoutPortalInput>
}
export type PortalPageCreateManyPortalInputEnvelope = {
data: Prisma.PortalPageCreateManyPortalInput | Prisma.PortalPageCreateManyPortalInput[]
skipDuplicates?: boolean
}
export type PortalPageUpsertWithWhereUniqueWithoutPortalInput = {
where: Prisma.PortalPageWhereUniqueInput
update: Prisma.XOR<Prisma.PortalPageUpdateWithoutPortalInput, Prisma.PortalPageUncheckedUpdateWithoutPortalInput>
create: Prisma.XOR<Prisma.PortalPageCreateWithoutPortalInput, Prisma.PortalPageUncheckedCreateWithoutPortalInput>
}
export type PortalPageUpdateWithWhereUniqueWithoutPortalInput = {
where: Prisma.PortalPageWhereUniqueInput
data: Prisma.XOR<Prisma.PortalPageUpdateWithoutPortalInput, Prisma.PortalPageUncheckedUpdateWithoutPortalInput>
}
export type PortalPageUpdateManyWithWhereWithoutPortalInput = {
where: Prisma.PortalPageScalarWhereInput
data: Prisma.XOR<Prisma.PortalPageUpdateManyMutationInput, Prisma.PortalPageUncheckedUpdateManyWithoutPortalInput>
}
export type PortalPageScalarWhereInput = {
AND?: Prisma.PortalPageScalarWhereInput | Prisma.PortalPageScalarWhereInput[]
OR?: Prisma.PortalPageScalarWhereInput[]
NOT?: Prisma.PortalPageScalarWhereInput | Prisma.PortalPageScalarWhereInput[]
id?: Prisma.StringFilter<"PortalPage"> | string
createdAt?: Prisma.DateTimeFilter<"PortalPage"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"PortalPage"> | Date | string
portalId?: Prisma.StringFilter<"PortalPage"> | string
name?: Prisma.StringFilter<"PortalPage"> | string
attributes?: Prisma.JsonNullableFilter<"PortalPage">
}
export type PortalPageCreateManyPortalInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
name: string
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
}
export type PortalPageUpdateWithoutPortalInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
name?: Prisma.StringFieldUpdateOperationsInput | string
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
}
export type PortalPageUncheckedUpdateWithoutPortalInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
name?: Prisma.StringFieldUpdateOperationsInput | string
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
}
export type PortalPageUncheckedUpdateManyWithoutPortalInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
name?: Prisma.StringFieldUpdateOperationsInput | string
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
}
export type PortalPageSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
portalId?: boolean
name?: boolean
attributes?: boolean
portal?: boolean | Prisma.PortalDefaultArgs<ExtArgs>
}, ExtArgs["result"]["portalPage"]>
export type PortalPageSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
portalId?: boolean
name?: boolean
attributes?: boolean
portal?: boolean | Prisma.PortalDefaultArgs<ExtArgs>
}, ExtArgs["result"]["portalPage"]>
export type PortalPageSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
portalId?: boolean
name?: boolean
attributes?: boolean
portal?: boolean | Prisma.PortalDefaultArgs<ExtArgs>
}, ExtArgs["result"]["portalPage"]>
export type PortalPageSelectScalar = {
id?: boolean
createdAt?: boolean
updatedAt?: boolean
portalId?: boolean
name?: boolean
attributes?: boolean
}
export type PortalPageOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "portalId" | "name" | "attributes", ExtArgs["result"]["portalPage"]>
export type PortalPageInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
portal?: boolean | Prisma.PortalDefaultArgs<ExtArgs>
}
export type PortalPageIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
portal?: boolean | Prisma.PortalDefaultArgs<ExtArgs>
}
export type PortalPageIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
portal?: boolean | Prisma.PortalDefaultArgs<ExtArgs>
}
export type $PortalPagePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "PortalPage"
objects: {
portal: Prisma.$PortalPayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
createdAt: Date
updatedAt: Date
portalId: string
name: string
attributes: runtime.JsonValue | null
}, ExtArgs["result"]["portalPage"]>
composites: {}
}
export type PortalPageGetPayload<S extends boolean | null | undefined | PortalPageDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PortalPagePayload, S>
export type PortalPageCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<PortalPageFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: PortalPageCountAggregateInputType | true
}
export interface PortalPageDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PortalPage'], meta: { name: 'PortalPage' } }
/**
* Find zero or one PortalPage that matches the filter.
* @param {PortalPageFindUniqueArgs} args - Arguments to find a PortalPage
* @example
* // Get one PortalPage
* const portalPage = await prisma.portalPage.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends PortalPageFindUniqueArgs>(args: Prisma.SelectSubset<T, PortalPageFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PortalPageClient<runtime.Types.Result.GetResult<Prisma.$PortalPagePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one PortalPage that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {PortalPageFindUniqueOrThrowArgs} args - Arguments to find a PortalPage
* @example
* // Get one PortalPage
* const portalPage = await prisma.portalPage.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends PortalPageFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PortalPageFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PortalPageClient<runtime.Types.Result.GetResult<Prisma.$PortalPagePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first PortalPage 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 {PortalPageFindFirstArgs} args - Arguments to find a PortalPage
* @example
* // Get one PortalPage
* const portalPage = await prisma.portalPage.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends PortalPageFindFirstArgs>(args?: Prisma.SelectSubset<T, PortalPageFindFirstArgs<ExtArgs>>): Prisma.Prisma__PortalPageClient<runtime.Types.Result.GetResult<Prisma.$PortalPagePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first PortalPage 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 {PortalPageFindFirstOrThrowArgs} args - Arguments to find a PortalPage
* @example
* // Get one PortalPage
* const portalPage = await prisma.portalPage.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends PortalPageFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PortalPageFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PortalPageClient<runtime.Types.Result.GetResult<Prisma.$PortalPagePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more PortalPages 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 {PortalPageFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all PortalPages
* const portalPages = await prisma.portalPage.findMany()
*
* // Get first 10 PortalPages
* const portalPages = await prisma.portalPage.findMany({ take: 10 })
*
* // Only select the `id`
* const portalPageWithIdOnly = await prisma.portalPage.findMany({ select: { id: true } })
*
*/
findMany<T extends PortalPageFindManyArgs>(args?: Prisma.SelectSubset<T, PortalPageFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PortalPagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a PortalPage.
* @param {PortalPageCreateArgs} args - Arguments to create a PortalPage.
* @example
* // Create one PortalPage
* const PortalPage = await prisma.portalPage.create({
* data: {
* // ... data to create a PortalPage
* }
* })
*
*/
create<T extends PortalPageCreateArgs>(args: Prisma.SelectSubset<T, PortalPageCreateArgs<ExtArgs>>): Prisma.Prisma__PortalPageClient<runtime.Types.Result.GetResult<Prisma.$PortalPagePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many PortalPages.
* @param {PortalPageCreateManyArgs} args - Arguments to create many PortalPages.
* @example
* // Create many PortalPages
* const portalPage = await prisma.portalPage.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends PortalPageCreateManyArgs>(args?: Prisma.SelectSubset<T, PortalPageCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many PortalPages and returns the data saved in the database.
* @param {PortalPageCreateManyAndReturnArgs} args - Arguments to create many PortalPages.
* @example
* // Create many PortalPages
* const portalPage = await prisma.portalPage.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many PortalPages and only return the `id`
* const portalPageWithIdOnly = await prisma.portalPage.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 PortalPageCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PortalPageCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PortalPagePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a PortalPage.
* @param {PortalPageDeleteArgs} args - Arguments to delete one PortalPage.
* @example
* // Delete one PortalPage
* const PortalPage = await prisma.portalPage.delete({
* where: {
* // ... filter to delete one PortalPage
* }
* })
*
*/
delete<T extends PortalPageDeleteArgs>(args: Prisma.SelectSubset<T, PortalPageDeleteArgs<ExtArgs>>): Prisma.Prisma__PortalPageClient<runtime.Types.Result.GetResult<Prisma.$PortalPagePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one PortalPage.
* @param {PortalPageUpdateArgs} args - Arguments to update one PortalPage.
* @example
* // Update one PortalPage
* const portalPage = await prisma.portalPage.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends PortalPageUpdateArgs>(args: Prisma.SelectSubset<T, PortalPageUpdateArgs<ExtArgs>>): Prisma.Prisma__PortalPageClient<runtime.Types.Result.GetResult<Prisma.$PortalPagePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more PortalPages.
* @param {PortalPageDeleteManyArgs} args - Arguments to filter PortalPages to delete.
* @example
* // Delete a few PortalPages
* const { count } = await prisma.portalPage.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends PortalPageDeleteManyArgs>(args?: Prisma.SelectSubset<T, PortalPageDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more PortalPages.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {PortalPageUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many PortalPages
* const portalPage = await prisma.portalPage.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends PortalPageUpdateManyArgs>(args: Prisma.SelectSubset<T, PortalPageUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more PortalPages and returns the data updated in the database.
* @param {PortalPageUpdateManyAndReturnArgs} args - Arguments to update many PortalPages.
* @example
* // Update many PortalPages
* const portalPage = await prisma.portalPage.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more PortalPages and only return the `id`
* const portalPageWithIdOnly = await prisma.portalPage.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 PortalPageUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PortalPageUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PortalPagePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one PortalPage.
* @param {PortalPageUpsertArgs} args - Arguments to update or create a PortalPage.
* @example
* // Update or create a PortalPage
* const portalPage = await prisma.portalPage.upsert({
* create: {
* // ... data to create a PortalPage
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the PortalPage we want to update
* }
* })
*/
upsert<T extends PortalPageUpsertArgs>(args: Prisma.SelectSubset<T, PortalPageUpsertArgs<ExtArgs>>): Prisma.Prisma__PortalPageClient<runtime.Types.Result.GetResult<Prisma.$PortalPagePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of PortalPages.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {PortalPageCountArgs} args - Arguments to filter PortalPages to count.
* @example
* // Count the number of PortalPages
* const count = await prisma.portalPage.count({
* where: {
* // ... the filter for the PortalPages we want to count
* }
* })
**/
count<T extends PortalPageCountArgs>(
args?: Prisma.Subset<T, PortalPageCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], PortalPageCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a PortalPage.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {PortalPageAggregateArgs} 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 PortalPageAggregateArgs>(args: Prisma.Subset<T, PortalPageAggregateArgs>): Prisma.PrismaPromise<GetPortalPageAggregateType<T>>
/**
* Group by PortalPage.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {PortalPageGroupByArgs} 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 PortalPageGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: PortalPageGroupByArgs['orderBy'] }
: { orderBy?: PortalPageGroupByArgs['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, PortalPageGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPortalPageGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the PortalPage model
*/
readonly fields: PortalPageFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for PortalPage.
* 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__PortalPageClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
portal<T extends Prisma.PortalDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PortalDefaultArgs<ExtArgs>>): Prisma.Prisma__PortalClient<runtime.Types.Result.GetResult<Prisma.$PortalPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
/**
* Attaches callbacks for the resolution and/or rejection of the Promise.
* @param onfulfilled The callback to execute when the Promise is resolved.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of which ever callback is executed.
*/
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
/**
* Attaches a callback for only the rejection of the Promise.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of the callback.
*/
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
/**
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
* resolved value cannot be modified from the callback.
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
* @returns A Promise for the completion of the callback.
*/
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
}
/**
* Fields of the PortalPage model
*/
export interface PortalPageFieldRefs {
readonly id: Prisma.FieldRef<"PortalPage", 'String'>
readonly createdAt: Prisma.FieldRef<"PortalPage", 'DateTime'>
readonly updatedAt: Prisma.FieldRef<"PortalPage", 'DateTime'>
readonly portalId: Prisma.FieldRef<"PortalPage", 'String'>
readonly name: Prisma.FieldRef<"PortalPage", 'String'>
readonly attributes: Prisma.FieldRef<"PortalPage", 'Json'>
}
// Custom InputTypes
/**
* PortalPage findUnique
*/
export type PortalPageFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PortalPage
*/
select?: Prisma.PortalPageSelect<ExtArgs> | null
/**
* Omit specific fields from the PortalPage
*/
omit?: Prisma.PortalPageOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PortalPageInclude<ExtArgs> | null
/**
* Filter, which PortalPage to fetch.
*/
where: Prisma.PortalPageWhereUniqueInput
}
/**
* PortalPage findUniqueOrThrow
*/
export type PortalPageFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PortalPage
*/
select?: Prisma.PortalPageSelect<ExtArgs> | null
/**
* Omit specific fields from the PortalPage
*/
omit?: Prisma.PortalPageOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PortalPageInclude<ExtArgs> | null
/**
* Filter, which PortalPage to fetch.
*/
where: Prisma.PortalPageWhereUniqueInput
}
/**
* PortalPage findFirst
*/
export type PortalPageFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PortalPage
*/
select?: Prisma.PortalPageSelect<ExtArgs> | null
/**
* Omit specific fields from the PortalPage
*/
omit?: Prisma.PortalPageOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PortalPageInclude<ExtArgs> | null
/**
* Filter, which PortalPage to fetch.
*/
where?: Prisma.PortalPageWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of PortalPages to fetch.
*/
orderBy?: Prisma.PortalPageOrderByWithRelationInput | Prisma.PortalPageOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for PortalPages.
*/
cursor?: Prisma.PortalPageWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` PortalPages 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` PortalPages.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of PortalPages.
*/
distinct?: Prisma.PortalPageScalarFieldEnum | Prisma.PortalPageScalarFieldEnum[]
}
/**
* PortalPage findFirstOrThrow
*/
export type PortalPageFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PortalPage
*/
select?: Prisma.PortalPageSelect<ExtArgs> | null
/**
* Omit specific fields from the PortalPage
*/
omit?: Prisma.PortalPageOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PortalPageInclude<ExtArgs> | null
/**
* Filter, which PortalPage to fetch.
*/
where?: Prisma.PortalPageWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of PortalPages to fetch.
*/
orderBy?: Prisma.PortalPageOrderByWithRelationInput | Prisma.PortalPageOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for PortalPages.
*/
cursor?: Prisma.PortalPageWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` PortalPages 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` PortalPages.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of PortalPages.
*/
distinct?: Prisma.PortalPageScalarFieldEnum | Prisma.PortalPageScalarFieldEnum[]
}
/**
* PortalPage findMany
*/
export type PortalPageFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PortalPage
*/
select?: Prisma.PortalPageSelect<ExtArgs> | null
/**
* Omit specific fields from the PortalPage
*/
omit?: Prisma.PortalPageOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PortalPageInclude<ExtArgs> | null
/**
* Filter, which PortalPages to fetch.
*/
where?: Prisma.PortalPageWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of PortalPages to fetch.
*/
orderBy?: Prisma.PortalPageOrderByWithRelationInput | Prisma.PortalPageOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing PortalPages.
*/
cursor?: Prisma.PortalPageWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` PortalPages 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` PortalPages.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of PortalPages.
*/
distinct?: Prisma.PortalPageScalarFieldEnum | Prisma.PortalPageScalarFieldEnum[]
}
/**
* PortalPage create
*/
export type PortalPageCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PortalPage
*/
select?: Prisma.PortalPageSelect<ExtArgs> | null
/**
* Omit specific fields from the PortalPage
*/
omit?: Prisma.PortalPageOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PortalPageInclude<ExtArgs> | null
/**
* The data needed to create a PortalPage.
*/
data: Prisma.XOR<Prisma.PortalPageCreateInput, Prisma.PortalPageUncheckedCreateInput>
}
/**
* PortalPage createMany
*/
export type PortalPageCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many PortalPages.
*/
data: Prisma.PortalPageCreateManyInput | Prisma.PortalPageCreateManyInput[]
skipDuplicates?: boolean
}
/**
* PortalPage createManyAndReturn
*/
export type PortalPageCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PortalPage
*/
select?: Prisma.PortalPageSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the PortalPage
*/
omit?: Prisma.PortalPageOmit<ExtArgs> | null
/**
* The data used to create many PortalPages.
*/
data: Prisma.PortalPageCreateManyInput | Prisma.PortalPageCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PortalPageIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* PortalPage update
*/
export type PortalPageUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PortalPage
*/
select?: Prisma.PortalPageSelect<ExtArgs> | null
/**
* Omit specific fields from the PortalPage
*/
omit?: Prisma.PortalPageOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PortalPageInclude<ExtArgs> | null
/**
* The data needed to update a PortalPage.
*/
data: Prisma.XOR<Prisma.PortalPageUpdateInput, Prisma.PortalPageUncheckedUpdateInput>
/**
* Choose, which PortalPage to update.
*/
where: Prisma.PortalPageWhereUniqueInput
}
/**
* PortalPage updateMany
*/
export type PortalPageUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update PortalPages.
*/
data: Prisma.XOR<Prisma.PortalPageUpdateManyMutationInput, Prisma.PortalPageUncheckedUpdateManyInput>
/**
* Filter which PortalPages to update
*/
where?: Prisma.PortalPageWhereInput
/**
* Limit how many PortalPages to update.
*/
limit?: number
}
/**
* PortalPage updateManyAndReturn
*/
export type PortalPageUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PortalPage
*/
select?: Prisma.PortalPageSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the PortalPage
*/
omit?: Prisma.PortalPageOmit<ExtArgs> | null
/**
* The data used to update PortalPages.
*/
data: Prisma.XOR<Prisma.PortalPageUpdateManyMutationInput, Prisma.PortalPageUncheckedUpdateManyInput>
/**
* Filter which PortalPages to update
*/
where?: Prisma.PortalPageWhereInput
/**
* Limit how many PortalPages to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PortalPageIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* PortalPage upsert
*/
export type PortalPageUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PortalPage
*/
select?: Prisma.PortalPageSelect<ExtArgs> | null
/**
* Omit specific fields from the PortalPage
*/
omit?: Prisma.PortalPageOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PortalPageInclude<ExtArgs> | null
/**
* The filter to search for the PortalPage to update in case it exists.
*/
where: Prisma.PortalPageWhereUniqueInput
/**
* In case the PortalPage found by the `where` argument doesn't exist, create a new PortalPage with this data.
*/
create: Prisma.XOR<Prisma.PortalPageCreateInput, Prisma.PortalPageUncheckedCreateInput>
/**
* In case the PortalPage was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.PortalPageUpdateInput, Prisma.PortalPageUncheckedUpdateInput>
}
/**
* PortalPage delete
*/
export type PortalPageDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PortalPage
*/
select?: Prisma.PortalPageSelect<ExtArgs> | null
/**
* Omit specific fields from the PortalPage
*/
omit?: Prisma.PortalPageOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PortalPageInclude<ExtArgs> | null
/**
* Filter which PortalPage to delete.
*/
where: Prisma.PortalPageWhereUniqueInput
}
/**
* PortalPage deleteMany
*/
export type PortalPageDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which PortalPages to delete
*/
where?: Prisma.PortalPageWhereInput
/**
* Limit how many PortalPages to delete.
*/
limit?: number
}
/**
* PortalPage without action
*/
export type PortalPageDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PortalPage
*/
select?: Prisma.PortalPageSelect<ExtArgs> | null
/**
* Omit specific fields from the PortalPage
*/
omit?: Prisma.PortalPageOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PortalPageInclude<ExtArgs> | null
}