1416 lines
56 KiB
TypeScript
1416 lines
56 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 `PluginUserConfig` 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 PluginUserConfig
|
|
*
|
|
*/
|
|
export type PluginUserConfigModel = runtime.Types.Result.DefaultSelection<Prisma.$PluginUserConfigPayload>
|
|
|
|
export type AggregatePluginUserConfig = {
|
|
_count: PluginUserConfigCountAggregateOutputType | null
|
|
_min: PluginUserConfigMinAggregateOutputType | null
|
|
_max: PluginUserConfigMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type PluginUserConfigMinAggregateOutputType = {
|
|
id: string | null
|
|
pluginId: string | null
|
|
userId: string | null
|
|
enabled: boolean | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
}
|
|
|
|
export type PluginUserConfigMaxAggregateOutputType = {
|
|
id: string | null
|
|
pluginId: string | null
|
|
userId: string | null
|
|
enabled: boolean | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
}
|
|
|
|
export type PluginUserConfigCountAggregateOutputType = {
|
|
id: number
|
|
pluginId: number
|
|
userId: number
|
|
enabled: number
|
|
configJson: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type PluginUserConfigMinAggregateInputType = {
|
|
id?: true
|
|
pluginId?: true
|
|
userId?: true
|
|
enabled?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
}
|
|
|
|
export type PluginUserConfigMaxAggregateInputType = {
|
|
id?: true
|
|
pluginId?: true
|
|
userId?: true
|
|
enabled?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
}
|
|
|
|
export type PluginUserConfigCountAggregateInputType = {
|
|
id?: true
|
|
pluginId?: true
|
|
userId?: true
|
|
enabled?: true
|
|
configJson?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type PluginUserConfigAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which PluginUserConfig to aggregate.
|
|
*/
|
|
where?: Prisma.PluginUserConfigWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PluginUserConfigs to fetch.
|
|
*/
|
|
orderBy?: Prisma.PluginUserConfigOrderByWithRelationInput | Prisma.PluginUserConfigOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.PluginUserConfigWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PluginUserConfigs 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` PluginUserConfigs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned PluginUserConfigs
|
|
**/
|
|
_count?: true | PluginUserConfigCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: PluginUserConfigMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: PluginUserConfigMaxAggregateInputType
|
|
}
|
|
|
|
export type GetPluginUserConfigAggregateType<T extends PluginUserConfigAggregateArgs> = {
|
|
[P in keyof T & keyof AggregatePluginUserConfig]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregatePluginUserConfig[P]>
|
|
: Prisma.GetScalarType<T[P], AggregatePluginUserConfig[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type PluginUserConfigGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.PluginUserConfigWhereInput
|
|
orderBy?: Prisma.PluginUserConfigOrderByWithAggregationInput | Prisma.PluginUserConfigOrderByWithAggregationInput[]
|
|
by: Prisma.PluginUserConfigScalarFieldEnum[] | Prisma.PluginUserConfigScalarFieldEnum
|
|
having?: Prisma.PluginUserConfigScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: PluginUserConfigCountAggregateInputType | true
|
|
_min?: PluginUserConfigMinAggregateInputType
|
|
_max?: PluginUserConfigMaxAggregateInputType
|
|
}
|
|
|
|
export type PluginUserConfigGroupByOutputType = {
|
|
id: string
|
|
pluginId: string
|
|
userId: string
|
|
enabled: boolean
|
|
configJson: runtime.JsonValue | null
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
_count: PluginUserConfigCountAggregateOutputType | null
|
|
_min: PluginUserConfigMinAggregateOutputType | null
|
|
_max: PluginUserConfigMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetPluginUserConfigGroupByPayload<T extends PluginUserConfigGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<PluginUserConfigGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof PluginUserConfigGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], PluginUserConfigGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], PluginUserConfigGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type PluginUserConfigWhereInput = {
|
|
AND?: Prisma.PluginUserConfigWhereInput | Prisma.PluginUserConfigWhereInput[]
|
|
OR?: Prisma.PluginUserConfigWhereInput[]
|
|
NOT?: Prisma.PluginUserConfigWhereInput | Prisma.PluginUserConfigWhereInput[]
|
|
id?: Prisma.StringFilter<"PluginUserConfig"> | string
|
|
pluginId?: Prisma.StringFilter<"PluginUserConfig"> | string
|
|
userId?: Prisma.StringFilter<"PluginUserConfig"> | string
|
|
enabled?: Prisma.BoolFilter<"PluginUserConfig"> | boolean
|
|
configJson?: Prisma.JsonNullableFilter<"PluginUserConfig">
|
|
createdAt?: Prisma.DateTimeFilter<"PluginUserConfig"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"PluginUserConfig"> | Date | string
|
|
plugin?: Prisma.XOR<Prisma.PluginScalarRelationFilter, Prisma.PluginWhereInput>
|
|
}
|
|
|
|
export type PluginUserConfigOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
pluginId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
enabled?: Prisma.SortOrder
|
|
configJson?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
plugin?: Prisma.PluginOrderByWithRelationInput
|
|
}
|
|
|
|
export type PluginUserConfigWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
pluginId_userId?: Prisma.PluginUserConfigPluginIdUserIdCompoundUniqueInput
|
|
AND?: Prisma.PluginUserConfigWhereInput | Prisma.PluginUserConfigWhereInput[]
|
|
OR?: Prisma.PluginUserConfigWhereInput[]
|
|
NOT?: Prisma.PluginUserConfigWhereInput | Prisma.PluginUserConfigWhereInput[]
|
|
pluginId?: Prisma.StringFilter<"PluginUserConfig"> | string
|
|
userId?: Prisma.StringFilter<"PluginUserConfig"> | string
|
|
enabled?: Prisma.BoolFilter<"PluginUserConfig"> | boolean
|
|
configJson?: Prisma.JsonNullableFilter<"PluginUserConfig">
|
|
createdAt?: Prisma.DateTimeFilter<"PluginUserConfig"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"PluginUserConfig"> | Date | string
|
|
plugin?: Prisma.XOR<Prisma.PluginScalarRelationFilter, Prisma.PluginWhereInput>
|
|
}, "id" | "pluginId_userId">
|
|
|
|
export type PluginUserConfigOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
pluginId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
enabled?: Prisma.SortOrder
|
|
configJson?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
_count?: Prisma.PluginUserConfigCountOrderByAggregateInput
|
|
_max?: Prisma.PluginUserConfigMaxOrderByAggregateInput
|
|
_min?: Prisma.PluginUserConfigMinOrderByAggregateInput
|
|
}
|
|
|
|
export type PluginUserConfigScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.PluginUserConfigScalarWhereWithAggregatesInput | Prisma.PluginUserConfigScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.PluginUserConfigScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.PluginUserConfigScalarWhereWithAggregatesInput | Prisma.PluginUserConfigScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"PluginUserConfig"> | string
|
|
pluginId?: Prisma.StringWithAggregatesFilter<"PluginUserConfig"> | string
|
|
userId?: Prisma.StringWithAggregatesFilter<"PluginUserConfig"> | string
|
|
enabled?: Prisma.BoolWithAggregatesFilter<"PluginUserConfig"> | boolean
|
|
configJson?: Prisma.JsonNullableWithAggregatesFilter<"PluginUserConfig">
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"PluginUserConfig"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"PluginUserConfig"> | Date | string
|
|
}
|
|
|
|
export type PluginUserConfigCreateInput = {
|
|
id?: string
|
|
userId: string
|
|
enabled?: boolean
|
|
configJson?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
plugin: Prisma.PluginCreateNestedOneWithoutUserConfigsInput
|
|
}
|
|
|
|
export type PluginUserConfigUncheckedCreateInput = {
|
|
id?: string
|
|
pluginId: string
|
|
userId: string
|
|
enabled?: boolean
|
|
configJson?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type PluginUserConfigUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
configJson?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
plugin?: Prisma.PluginUpdateOneRequiredWithoutUserConfigsNestedInput
|
|
}
|
|
|
|
export type PluginUserConfigUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
pluginId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
configJson?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type PluginUserConfigCreateManyInput = {
|
|
id?: string
|
|
pluginId: string
|
|
userId: string
|
|
enabled?: boolean
|
|
configJson?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type PluginUserConfigUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
configJson?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type PluginUserConfigUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
pluginId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
configJson?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type PluginUserConfigListRelationFilter = {
|
|
every?: Prisma.PluginUserConfigWhereInput
|
|
some?: Prisma.PluginUserConfigWhereInput
|
|
none?: Prisma.PluginUserConfigWhereInput
|
|
}
|
|
|
|
export type PluginUserConfigOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PluginUserConfigPluginIdUserIdCompoundUniqueInput = {
|
|
pluginId: string
|
|
userId: string
|
|
}
|
|
|
|
export type PluginUserConfigCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
pluginId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
enabled?: Prisma.SortOrder
|
|
configJson?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PluginUserConfigMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
pluginId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
enabled?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PluginUserConfigMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
pluginId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
enabled?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PluginUserConfigCreateNestedManyWithoutPluginInput = {
|
|
create?: Prisma.XOR<Prisma.PluginUserConfigCreateWithoutPluginInput, Prisma.PluginUserConfigUncheckedCreateWithoutPluginInput> | Prisma.PluginUserConfigCreateWithoutPluginInput[] | Prisma.PluginUserConfigUncheckedCreateWithoutPluginInput[]
|
|
connectOrCreate?: Prisma.PluginUserConfigCreateOrConnectWithoutPluginInput | Prisma.PluginUserConfigCreateOrConnectWithoutPluginInput[]
|
|
createMany?: Prisma.PluginUserConfigCreateManyPluginInputEnvelope
|
|
connect?: Prisma.PluginUserConfigWhereUniqueInput | Prisma.PluginUserConfigWhereUniqueInput[]
|
|
}
|
|
|
|
export type PluginUserConfigUncheckedCreateNestedManyWithoutPluginInput = {
|
|
create?: Prisma.XOR<Prisma.PluginUserConfigCreateWithoutPluginInput, Prisma.PluginUserConfigUncheckedCreateWithoutPluginInput> | Prisma.PluginUserConfigCreateWithoutPluginInput[] | Prisma.PluginUserConfigUncheckedCreateWithoutPluginInput[]
|
|
connectOrCreate?: Prisma.PluginUserConfigCreateOrConnectWithoutPluginInput | Prisma.PluginUserConfigCreateOrConnectWithoutPluginInput[]
|
|
createMany?: Prisma.PluginUserConfigCreateManyPluginInputEnvelope
|
|
connect?: Prisma.PluginUserConfigWhereUniqueInput | Prisma.PluginUserConfigWhereUniqueInput[]
|
|
}
|
|
|
|
export type PluginUserConfigUpdateManyWithoutPluginNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PluginUserConfigCreateWithoutPluginInput, Prisma.PluginUserConfigUncheckedCreateWithoutPluginInput> | Prisma.PluginUserConfigCreateWithoutPluginInput[] | Prisma.PluginUserConfigUncheckedCreateWithoutPluginInput[]
|
|
connectOrCreate?: Prisma.PluginUserConfigCreateOrConnectWithoutPluginInput | Prisma.PluginUserConfigCreateOrConnectWithoutPluginInput[]
|
|
upsert?: Prisma.PluginUserConfigUpsertWithWhereUniqueWithoutPluginInput | Prisma.PluginUserConfigUpsertWithWhereUniqueWithoutPluginInput[]
|
|
createMany?: Prisma.PluginUserConfigCreateManyPluginInputEnvelope
|
|
set?: Prisma.PluginUserConfigWhereUniqueInput | Prisma.PluginUserConfigWhereUniqueInput[]
|
|
disconnect?: Prisma.PluginUserConfigWhereUniqueInput | Prisma.PluginUserConfigWhereUniqueInput[]
|
|
delete?: Prisma.PluginUserConfigWhereUniqueInput | Prisma.PluginUserConfigWhereUniqueInput[]
|
|
connect?: Prisma.PluginUserConfigWhereUniqueInput | Prisma.PluginUserConfigWhereUniqueInput[]
|
|
update?: Prisma.PluginUserConfigUpdateWithWhereUniqueWithoutPluginInput | Prisma.PluginUserConfigUpdateWithWhereUniqueWithoutPluginInput[]
|
|
updateMany?: Prisma.PluginUserConfigUpdateManyWithWhereWithoutPluginInput | Prisma.PluginUserConfigUpdateManyWithWhereWithoutPluginInput[]
|
|
deleteMany?: Prisma.PluginUserConfigScalarWhereInput | Prisma.PluginUserConfigScalarWhereInput[]
|
|
}
|
|
|
|
export type PluginUserConfigUncheckedUpdateManyWithoutPluginNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PluginUserConfigCreateWithoutPluginInput, Prisma.PluginUserConfigUncheckedCreateWithoutPluginInput> | Prisma.PluginUserConfigCreateWithoutPluginInput[] | Prisma.PluginUserConfigUncheckedCreateWithoutPluginInput[]
|
|
connectOrCreate?: Prisma.PluginUserConfigCreateOrConnectWithoutPluginInput | Prisma.PluginUserConfigCreateOrConnectWithoutPluginInput[]
|
|
upsert?: Prisma.PluginUserConfigUpsertWithWhereUniqueWithoutPluginInput | Prisma.PluginUserConfigUpsertWithWhereUniqueWithoutPluginInput[]
|
|
createMany?: Prisma.PluginUserConfigCreateManyPluginInputEnvelope
|
|
set?: Prisma.PluginUserConfigWhereUniqueInput | Prisma.PluginUserConfigWhereUniqueInput[]
|
|
disconnect?: Prisma.PluginUserConfigWhereUniqueInput | Prisma.PluginUserConfigWhereUniqueInput[]
|
|
delete?: Prisma.PluginUserConfigWhereUniqueInput | Prisma.PluginUserConfigWhereUniqueInput[]
|
|
connect?: Prisma.PluginUserConfigWhereUniqueInput | Prisma.PluginUserConfigWhereUniqueInput[]
|
|
update?: Prisma.PluginUserConfigUpdateWithWhereUniqueWithoutPluginInput | Prisma.PluginUserConfigUpdateWithWhereUniqueWithoutPluginInput[]
|
|
updateMany?: Prisma.PluginUserConfigUpdateManyWithWhereWithoutPluginInput | Prisma.PluginUserConfigUpdateManyWithWhereWithoutPluginInput[]
|
|
deleteMany?: Prisma.PluginUserConfigScalarWhereInput | Prisma.PluginUserConfigScalarWhereInput[]
|
|
}
|
|
|
|
export type PluginUserConfigCreateWithoutPluginInput = {
|
|
id?: string
|
|
userId: string
|
|
enabled?: boolean
|
|
configJson?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type PluginUserConfigUncheckedCreateWithoutPluginInput = {
|
|
id?: string
|
|
userId: string
|
|
enabled?: boolean
|
|
configJson?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type PluginUserConfigCreateOrConnectWithoutPluginInput = {
|
|
where: Prisma.PluginUserConfigWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.PluginUserConfigCreateWithoutPluginInput, Prisma.PluginUserConfigUncheckedCreateWithoutPluginInput>
|
|
}
|
|
|
|
export type PluginUserConfigCreateManyPluginInputEnvelope = {
|
|
data: Prisma.PluginUserConfigCreateManyPluginInput | Prisma.PluginUserConfigCreateManyPluginInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type PluginUserConfigUpsertWithWhereUniqueWithoutPluginInput = {
|
|
where: Prisma.PluginUserConfigWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.PluginUserConfigUpdateWithoutPluginInput, Prisma.PluginUserConfigUncheckedUpdateWithoutPluginInput>
|
|
create: Prisma.XOR<Prisma.PluginUserConfigCreateWithoutPluginInput, Prisma.PluginUserConfigUncheckedCreateWithoutPluginInput>
|
|
}
|
|
|
|
export type PluginUserConfigUpdateWithWhereUniqueWithoutPluginInput = {
|
|
where: Prisma.PluginUserConfigWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.PluginUserConfigUpdateWithoutPluginInput, Prisma.PluginUserConfigUncheckedUpdateWithoutPluginInput>
|
|
}
|
|
|
|
export type PluginUserConfigUpdateManyWithWhereWithoutPluginInput = {
|
|
where: Prisma.PluginUserConfigScalarWhereInput
|
|
data: Prisma.XOR<Prisma.PluginUserConfigUpdateManyMutationInput, Prisma.PluginUserConfigUncheckedUpdateManyWithoutPluginInput>
|
|
}
|
|
|
|
export type PluginUserConfigScalarWhereInput = {
|
|
AND?: Prisma.PluginUserConfigScalarWhereInput | Prisma.PluginUserConfigScalarWhereInput[]
|
|
OR?: Prisma.PluginUserConfigScalarWhereInput[]
|
|
NOT?: Prisma.PluginUserConfigScalarWhereInput | Prisma.PluginUserConfigScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"PluginUserConfig"> | string
|
|
pluginId?: Prisma.StringFilter<"PluginUserConfig"> | string
|
|
userId?: Prisma.StringFilter<"PluginUserConfig"> | string
|
|
enabled?: Prisma.BoolFilter<"PluginUserConfig"> | boolean
|
|
configJson?: Prisma.JsonNullableFilter<"PluginUserConfig">
|
|
createdAt?: Prisma.DateTimeFilter<"PluginUserConfig"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"PluginUserConfig"> | Date | string
|
|
}
|
|
|
|
export type PluginUserConfigCreateManyPluginInput = {
|
|
id?: string
|
|
userId: string
|
|
enabled?: boolean
|
|
configJson?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type PluginUserConfigUpdateWithoutPluginInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
configJson?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type PluginUserConfigUncheckedUpdateWithoutPluginInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
configJson?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type PluginUserConfigUncheckedUpdateManyWithoutPluginInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
configJson?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
|
|
|
|
export type PluginUserConfigSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
pluginId?: boolean
|
|
userId?: boolean
|
|
enabled?: boolean
|
|
configJson?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
plugin?: boolean | Prisma.PluginDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["pluginUserConfig"]>
|
|
|
|
export type PluginUserConfigSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
pluginId?: boolean
|
|
userId?: boolean
|
|
enabled?: boolean
|
|
configJson?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
plugin?: boolean | Prisma.PluginDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["pluginUserConfig"]>
|
|
|
|
export type PluginUserConfigSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
pluginId?: boolean
|
|
userId?: boolean
|
|
enabled?: boolean
|
|
configJson?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
plugin?: boolean | Prisma.PluginDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["pluginUserConfig"]>
|
|
|
|
export type PluginUserConfigSelectScalar = {
|
|
id?: boolean
|
|
pluginId?: boolean
|
|
userId?: boolean
|
|
enabled?: boolean
|
|
configJson?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
}
|
|
|
|
export type PluginUserConfigOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "pluginId" | "userId" | "enabled" | "configJson" | "createdAt" | "updatedAt", ExtArgs["result"]["pluginUserConfig"]>
|
|
export type PluginUserConfigInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
plugin?: boolean | Prisma.PluginDefaultArgs<ExtArgs>
|
|
}
|
|
export type PluginUserConfigIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
plugin?: boolean | Prisma.PluginDefaultArgs<ExtArgs>
|
|
}
|
|
export type PluginUserConfigIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
plugin?: boolean | Prisma.PluginDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $PluginUserConfigPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "PluginUserConfig"
|
|
objects: {
|
|
plugin: Prisma.$PluginPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
pluginId: string
|
|
userId: string
|
|
enabled: boolean
|
|
configJson: runtime.JsonValue | null
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
}, ExtArgs["result"]["pluginUserConfig"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type PluginUserConfigGetPayload<S extends boolean | null | undefined | PluginUserConfigDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PluginUserConfigPayload, S>
|
|
|
|
export type PluginUserConfigCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<PluginUserConfigFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: PluginUserConfigCountAggregateInputType | true
|
|
}
|
|
|
|
export interface PluginUserConfigDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PluginUserConfig'], meta: { name: 'PluginUserConfig' } }
|
|
/**
|
|
* Find zero or one PluginUserConfig that matches the filter.
|
|
* @param {PluginUserConfigFindUniqueArgs} args - Arguments to find a PluginUserConfig
|
|
* @example
|
|
* // Get one PluginUserConfig
|
|
* const pluginUserConfig = await prisma.pluginUserConfig.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends PluginUserConfigFindUniqueArgs>(args: Prisma.SelectSubset<T, PluginUserConfigFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PluginUserConfigClient<runtime.Types.Result.GetResult<Prisma.$PluginUserConfigPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one PluginUserConfig that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {PluginUserConfigFindUniqueOrThrowArgs} args - Arguments to find a PluginUserConfig
|
|
* @example
|
|
* // Get one PluginUserConfig
|
|
* const pluginUserConfig = await prisma.pluginUserConfig.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends PluginUserConfigFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PluginUserConfigFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PluginUserConfigClient<runtime.Types.Result.GetResult<Prisma.$PluginUserConfigPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first PluginUserConfig 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 {PluginUserConfigFindFirstArgs} args - Arguments to find a PluginUserConfig
|
|
* @example
|
|
* // Get one PluginUserConfig
|
|
* const pluginUserConfig = await prisma.pluginUserConfig.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends PluginUserConfigFindFirstArgs>(args?: Prisma.SelectSubset<T, PluginUserConfigFindFirstArgs<ExtArgs>>): Prisma.Prisma__PluginUserConfigClient<runtime.Types.Result.GetResult<Prisma.$PluginUserConfigPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first PluginUserConfig 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 {PluginUserConfigFindFirstOrThrowArgs} args - Arguments to find a PluginUserConfig
|
|
* @example
|
|
* // Get one PluginUserConfig
|
|
* const pluginUserConfig = await prisma.pluginUserConfig.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends PluginUserConfigFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PluginUserConfigFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PluginUserConfigClient<runtime.Types.Result.GetResult<Prisma.$PluginUserConfigPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more PluginUserConfigs 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 {PluginUserConfigFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all PluginUserConfigs
|
|
* const pluginUserConfigs = await prisma.pluginUserConfig.findMany()
|
|
*
|
|
* // Get first 10 PluginUserConfigs
|
|
* const pluginUserConfigs = await prisma.pluginUserConfig.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const pluginUserConfigWithIdOnly = await prisma.pluginUserConfig.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends PluginUserConfigFindManyArgs>(args?: Prisma.SelectSubset<T, PluginUserConfigFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PluginUserConfigPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a PluginUserConfig.
|
|
* @param {PluginUserConfigCreateArgs} args - Arguments to create a PluginUserConfig.
|
|
* @example
|
|
* // Create one PluginUserConfig
|
|
* const PluginUserConfig = await prisma.pluginUserConfig.create({
|
|
* data: {
|
|
* // ... data to create a PluginUserConfig
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends PluginUserConfigCreateArgs>(args: Prisma.SelectSubset<T, PluginUserConfigCreateArgs<ExtArgs>>): Prisma.Prisma__PluginUserConfigClient<runtime.Types.Result.GetResult<Prisma.$PluginUserConfigPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many PluginUserConfigs.
|
|
* @param {PluginUserConfigCreateManyArgs} args - Arguments to create many PluginUserConfigs.
|
|
* @example
|
|
* // Create many PluginUserConfigs
|
|
* const pluginUserConfig = await prisma.pluginUserConfig.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends PluginUserConfigCreateManyArgs>(args?: Prisma.SelectSubset<T, PluginUserConfigCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many PluginUserConfigs and returns the data saved in the database.
|
|
* @param {PluginUserConfigCreateManyAndReturnArgs} args - Arguments to create many PluginUserConfigs.
|
|
* @example
|
|
* // Create many PluginUserConfigs
|
|
* const pluginUserConfig = await prisma.pluginUserConfig.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many PluginUserConfigs and only return the `id`
|
|
* const pluginUserConfigWithIdOnly = await prisma.pluginUserConfig.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 PluginUserConfigCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PluginUserConfigCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PluginUserConfigPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a PluginUserConfig.
|
|
* @param {PluginUserConfigDeleteArgs} args - Arguments to delete one PluginUserConfig.
|
|
* @example
|
|
* // Delete one PluginUserConfig
|
|
* const PluginUserConfig = await prisma.pluginUserConfig.delete({
|
|
* where: {
|
|
* // ... filter to delete one PluginUserConfig
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends PluginUserConfigDeleteArgs>(args: Prisma.SelectSubset<T, PluginUserConfigDeleteArgs<ExtArgs>>): Prisma.Prisma__PluginUserConfigClient<runtime.Types.Result.GetResult<Prisma.$PluginUserConfigPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one PluginUserConfig.
|
|
* @param {PluginUserConfigUpdateArgs} args - Arguments to update one PluginUserConfig.
|
|
* @example
|
|
* // Update one PluginUserConfig
|
|
* const pluginUserConfig = await prisma.pluginUserConfig.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends PluginUserConfigUpdateArgs>(args: Prisma.SelectSubset<T, PluginUserConfigUpdateArgs<ExtArgs>>): Prisma.Prisma__PluginUserConfigClient<runtime.Types.Result.GetResult<Prisma.$PluginUserConfigPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more PluginUserConfigs.
|
|
* @param {PluginUserConfigDeleteManyArgs} args - Arguments to filter PluginUserConfigs to delete.
|
|
* @example
|
|
* // Delete a few PluginUserConfigs
|
|
* const { count } = await prisma.pluginUserConfig.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends PluginUserConfigDeleteManyArgs>(args?: Prisma.SelectSubset<T, PluginUserConfigDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more PluginUserConfigs.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PluginUserConfigUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many PluginUserConfigs
|
|
* const pluginUserConfig = await prisma.pluginUserConfig.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends PluginUserConfigUpdateManyArgs>(args: Prisma.SelectSubset<T, PluginUserConfigUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more PluginUserConfigs and returns the data updated in the database.
|
|
* @param {PluginUserConfigUpdateManyAndReturnArgs} args - Arguments to update many PluginUserConfigs.
|
|
* @example
|
|
* // Update many PluginUserConfigs
|
|
* const pluginUserConfig = await prisma.pluginUserConfig.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more PluginUserConfigs and only return the `id`
|
|
* const pluginUserConfigWithIdOnly = await prisma.pluginUserConfig.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 PluginUserConfigUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PluginUserConfigUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PluginUserConfigPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one PluginUserConfig.
|
|
* @param {PluginUserConfigUpsertArgs} args - Arguments to update or create a PluginUserConfig.
|
|
* @example
|
|
* // Update or create a PluginUserConfig
|
|
* const pluginUserConfig = await prisma.pluginUserConfig.upsert({
|
|
* create: {
|
|
* // ... data to create a PluginUserConfig
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the PluginUserConfig we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends PluginUserConfigUpsertArgs>(args: Prisma.SelectSubset<T, PluginUserConfigUpsertArgs<ExtArgs>>): Prisma.Prisma__PluginUserConfigClient<runtime.Types.Result.GetResult<Prisma.$PluginUserConfigPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of PluginUserConfigs.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PluginUserConfigCountArgs} args - Arguments to filter PluginUserConfigs to count.
|
|
* @example
|
|
* // Count the number of PluginUserConfigs
|
|
* const count = await prisma.pluginUserConfig.count({
|
|
* where: {
|
|
* // ... the filter for the PluginUserConfigs we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends PluginUserConfigCountArgs>(
|
|
args?: Prisma.Subset<T, PluginUserConfigCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], PluginUserConfigCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a PluginUserConfig.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PluginUserConfigAggregateArgs} 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 PluginUserConfigAggregateArgs>(args: Prisma.Subset<T, PluginUserConfigAggregateArgs>): Prisma.PrismaPromise<GetPluginUserConfigAggregateType<T>>
|
|
|
|
/**
|
|
* Group by PluginUserConfig.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PluginUserConfigGroupByArgs} 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 PluginUserConfigGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: PluginUserConfigGroupByArgs['orderBy'] }
|
|
: { orderBy?: PluginUserConfigGroupByArgs['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, PluginUserConfigGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPluginUserConfigGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the PluginUserConfig model
|
|
*/
|
|
readonly fields: PluginUserConfigFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for PluginUserConfig.
|
|
* 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__PluginUserConfigClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
plugin<T extends Prisma.PluginDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PluginDefaultArgs<ExtArgs>>): Prisma.Prisma__PluginClient<runtime.Types.Result.GetResult<Prisma.$PluginPayload<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 PluginUserConfig model
|
|
*/
|
|
export interface PluginUserConfigFieldRefs {
|
|
readonly id: Prisma.FieldRef<"PluginUserConfig", 'String'>
|
|
readonly pluginId: Prisma.FieldRef<"PluginUserConfig", 'String'>
|
|
readonly userId: Prisma.FieldRef<"PluginUserConfig", 'String'>
|
|
readonly enabled: Prisma.FieldRef<"PluginUserConfig", 'Boolean'>
|
|
readonly configJson: Prisma.FieldRef<"PluginUserConfig", 'Json'>
|
|
readonly createdAt: Prisma.FieldRef<"PluginUserConfig", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"PluginUserConfig", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* PluginUserConfig findUnique
|
|
*/
|
|
export type PluginUserConfigFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PluginUserConfig
|
|
*/
|
|
select?: Prisma.PluginUserConfigSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PluginUserConfig
|
|
*/
|
|
omit?: Prisma.PluginUserConfigOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PluginUserConfigInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PluginUserConfig to fetch.
|
|
*/
|
|
where: Prisma.PluginUserConfigWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PluginUserConfig findUniqueOrThrow
|
|
*/
|
|
export type PluginUserConfigFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PluginUserConfig
|
|
*/
|
|
select?: Prisma.PluginUserConfigSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PluginUserConfig
|
|
*/
|
|
omit?: Prisma.PluginUserConfigOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PluginUserConfigInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PluginUserConfig to fetch.
|
|
*/
|
|
where: Prisma.PluginUserConfigWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PluginUserConfig findFirst
|
|
*/
|
|
export type PluginUserConfigFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PluginUserConfig
|
|
*/
|
|
select?: Prisma.PluginUserConfigSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PluginUserConfig
|
|
*/
|
|
omit?: Prisma.PluginUserConfigOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PluginUserConfigInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PluginUserConfig to fetch.
|
|
*/
|
|
where?: Prisma.PluginUserConfigWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PluginUserConfigs to fetch.
|
|
*/
|
|
orderBy?: Prisma.PluginUserConfigOrderByWithRelationInput | Prisma.PluginUserConfigOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for PluginUserConfigs.
|
|
*/
|
|
cursor?: Prisma.PluginUserConfigWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PluginUserConfigs 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` PluginUserConfigs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of PluginUserConfigs.
|
|
*/
|
|
distinct?: Prisma.PluginUserConfigScalarFieldEnum | Prisma.PluginUserConfigScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* PluginUserConfig findFirstOrThrow
|
|
*/
|
|
export type PluginUserConfigFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PluginUserConfig
|
|
*/
|
|
select?: Prisma.PluginUserConfigSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PluginUserConfig
|
|
*/
|
|
omit?: Prisma.PluginUserConfigOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PluginUserConfigInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PluginUserConfig to fetch.
|
|
*/
|
|
where?: Prisma.PluginUserConfigWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PluginUserConfigs to fetch.
|
|
*/
|
|
orderBy?: Prisma.PluginUserConfigOrderByWithRelationInput | Prisma.PluginUserConfigOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for PluginUserConfigs.
|
|
*/
|
|
cursor?: Prisma.PluginUserConfigWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PluginUserConfigs 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` PluginUserConfigs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of PluginUserConfigs.
|
|
*/
|
|
distinct?: Prisma.PluginUserConfigScalarFieldEnum | Prisma.PluginUserConfigScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* PluginUserConfig findMany
|
|
*/
|
|
export type PluginUserConfigFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PluginUserConfig
|
|
*/
|
|
select?: Prisma.PluginUserConfigSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PluginUserConfig
|
|
*/
|
|
omit?: Prisma.PluginUserConfigOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PluginUserConfigInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PluginUserConfigs to fetch.
|
|
*/
|
|
where?: Prisma.PluginUserConfigWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PluginUserConfigs to fetch.
|
|
*/
|
|
orderBy?: Prisma.PluginUserConfigOrderByWithRelationInput | Prisma.PluginUserConfigOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing PluginUserConfigs.
|
|
*/
|
|
cursor?: Prisma.PluginUserConfigWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PluginUserConfigs 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` PluginUserConfigs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of PluginUserConfigs.
|
|
*/
|
|
distinct?: Prisma.PluginUserConfigScalarFieldEnum | Prisma.PluginUserConfigScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* PluginUserConfig create
|
|
*/
|
|
export type PluginUserConfigCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PluginUserConfig
|
|
*/
|
|
select?: Prisma.PluginUserConfigSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PluginUserConfig
|
|
*/
|
|
omit?: Prisma.PluginUserConfigOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PluginUserConfigInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a PluginUserConfig.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PluginUserConfigCreateInput, Prisma.PluginUserConfigUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* PluginUserConfig createMany
|
|
*/
|
|
export type PluginUserConfigCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many PluginUserConfigs.
|
|
*/
|
|
data: Prisma.PluginUserConfigCreateManyInput | Prisma.PluginUserConfigCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* PluginUserConfig createManyAndReturn
|
|
*/
|
|
export type PluginUserConfigCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PluginUserConfig
|
|
*/
|
|
select?: Prisma.PluginUserConfigSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PluginUserConfig
|
|
*/
|
|
omit?: Prisma.PluginUserConfigOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many PluginUserConfigs.
|
|
*/
|
|
data: Prisma.PluginUserConfigCreateManyInput | Prisma.PluginUserConfigCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PluginUserConfigIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* PluginUserConfig update
|
|
*/
|
|
export type PluginUserConfigUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PluginUserConfig
|
|
*/
|
|
select?: Prisma.PluginUserConfigSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PluginUserConfig
|
|
*/
|
|
omit?: Prisma.PluginUserConfigOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PluginUserConfigInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a PluginUserConfig.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PluginUserConfigUpdateInput, Prisma.PluginUserConfigUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which PluginUserConfig to update.
|
|
*/
|
|
where: Prisma.PluginUserConfigWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PluginUserConfig updateMany
|
|
*/
|
|
export type PluginUserConfigUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update PluginUserConfigs.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PluginUserConfigUpdateManyMutationInput, Prisma.PluginUserConfigUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which PluginUserConfigs to update
|
|
*/
|
|
where?: Prisma.PluginUserConfigWhereInput
|
|
/**
|
|
* Limit how many PluginUserConfigs to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* PluginUserConfig updateManyAndReturn
|
|
*/
|
|
export type PluginUserConfigUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PluginUserConfig
|
|
*/
|
|
select?: Prisma.PluginUserConfigSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PluginUserConfig
|
|
*/
|
|
omit?: Prisma.PluginUserConfigOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update PluginUserConfigs.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PluginUserConfigUpdateManyMutationInput, Prisma.PluginUserConfigUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which PluginUserConfigs to update
|
|
*/
|
|
where?: Prisma.PluginUserConfigWhereInput
|
|
/**
|
|
* Limit how many PluginUserConfigs to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PluginUserConfigIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* PluginUserConfig upsert
|
|
*/
|
|
export type PluginUserConfigUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PluginUserConfig
|
|
*/
|
|
select?: Prisma.PluginUserConfigSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PluginUserConfig
|
|
*/
|
|
omit?: Prisma.PluginUserConfigOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PluginUserConfigInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the PluginUserConfig to update in case it exists.
|
|
*/
|
|
where: Prisma.PluginUserConfigWhereUniqueInput
|
|
/**
|
|
* In case the PluginUserConfig found by the `where` argument doesn't exist, create a new PluginUserConfig with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.PluginUserConfigCreateInput, Prisma.PluginUserConfigUncheckedCreateInput>
|
|
/**
|
|
* In case the PluginUserConfig was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.PluginUserConfigUpdateInput, Prisma.PluginUserConfigUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* PluginUserConfig delete
|
|
*/
|
|
export type PluginUserConfigDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PluginUserConfig
|
|
*/
|
|
select?: Prisma.PluginUserConfigSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PluginUserConfig
|
|
*/
|
|
omit?: Prisma.PluginUserConfigOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PluginUserConfigInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which PluginUserConfig to delete.
|
|
*/
|
|
where: Prisma.PluginUserConfigWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PluginUserConfig deleteMany
|
|
*/
|
|
export type PluginUserConfigDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which PluginUserConfigs to delete
|
|
*/
|
|
where?: Prisma.PluginUserConfigWhereInput
|
|
/**
|
|
* Limit how many PluginUserConfigs to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* PluginUserConfig without action
|
|
*/
|
|
export type PluginUserConfigDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PluginUserConfig
|
|
*/
|
|
select?: Prisma.PluginUserConfigSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PluginUserConfig
|
|
*/
|
|
omit?: Prisma.PluginUserConfigOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PluginUserConfigInclude<ExtArgs> | null
|
|
}
|