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

1405 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 `FeatureFlagAudit` 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 FeatureFlagAudit
* Append-only audit trail for every mutation of a FeatureFlag (create / update / delete / toggle).
* Never UPDATE or DELETE rows from app code — preserves tamper-resistance for compliance.
*/
export type FeatureFlagAuditModel = runtime.Types.Result.DefaultSelection<Prisma.$FeatureFlagAuditPayload>
export type AggregateFeatureFlagAudit = {
_count: FeatureFlagAuditCountAggregateOutputType | null
_min: FeatureFlagAuditMinAggregateOutputType | null
_max: FeatureFlagAuditMaxAggregateOutputType | null
}
export type FeatureFlagAuditMinAggregateOutputType = {
id: string | null
flagId: string | null
actorUserId: string | null
action: string | null
createdAt: Date | null
}
export type FeatureFlagAuditMaxAggregateOutputType = {
id: string | null
flagId: string | null
actorUserId: string | null
action: string | null
createdAt: Date | null
}
export type FeatureFlagAuditCountAggregateOutputType = {
id: number
flagId: number
actorUserId: number
action: number
oldValue: number
newValue: number
createdAt: number
_all: number
}
export type FeatureFlagAuditMinAggregateInputType = {
id?: true
flagId?: true
actorUserId?: true
action?: true
createdAt?: true
}
export type FeatureFlagAuditMaxAggregateInputType = {
id?: true
flagId?: true
actorUserId?: true
action?: true
createdAt?: true
}
export type FeatureFlagAuditCountAggregateInputType = {
id?: true
flagId?: true
actorUserId?: true
action?: true
oldValue?: true
newValue?: true
createdAt?: true
_all?: true
}
export type FeatureFlagAuditAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which FeatureFlagAudit to aggregate.
*/
where?: Prisma.FeatureFlagAuditWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of FeatureFlagAudits to fetch.
*/
orderBy?: Prisma.FeatureFlagAuditOrderByWithRelationInput | Prisma.FeatureFlagAuditOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.FeatureFlagAuditWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` FeatureFlagAudits 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` FeatureFlagAudits.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned FeatureFlagAudits
**/
_count?: true | FeatureFlagAuditCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: FeatureFlagAuditMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: FeatureFlagAuditMaxAggregateInputType
}
export type GetFeatureFlagAuditAggregateType<T extends FeatureFlagAuditAggregateArgs> = {
[P in keyof T & keyof AggregateFeatureFlagAudit]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateFeatureFlagAudit[P]>
: Prisma.GetScalarType<T[P], AggregateFeatureFlagAudit[P]>
}
export type FeatureFlagAuditGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.FeatureFlagAuditWhereInput
orderBy?: Prisma.FeatureFlagAuditOrderByWithAggregationInput | Prisma.FeatureFlagAuditOrderByWithAggregationInput[]
by: Prisma.FeatureFlagAuditScalarFieldEnum[] | Prisma.FeatureFlagAuditScalarFieldEnum
having?: Prisma.FeatureFlagAuditScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: FeatureFlagAuditCountAggregateInputType | true
_min?: FeatureFlagAuditMinAggregateInputType
_max?: FeatureFlagAuditMaxAggregateInputType
}
export type FeatureFlagAuditGroupByOutputType = {
id: string
flagId: string
actorUserId: string | null
action: string
oldValue: runtime.JsonValue | null
newValue: runtime.JsonValue | null
createdAt: Date
_count: FeatureFlagAuditCountAggregateOutputType | null
_min: FeatureFlagAuditMinAggregateOutputType | null
_max: FeatureFlagAuditMaxAggregateOutputType | null
}
export type GetFeatureFlagAuditGroupByPayload<T extends FeatureFlagAuditGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<FeatureFlagAuditGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof FeatureFlagAuditGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], FeatureFlagAuditGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], FeatureFlagAuditGroupByOutputType[P]>
}
>
>
export type FeatureFlagAuditWhereInput = {
AND?: Prisma.FeatureFlagAuditWhereInput | Prisma.FeatureFlagAuditWhereInput[]
OR?: Prisma.FeatureFlagAuditWhereInput[]
NOT?: Prisma.FeatureFlagAuditWhereInput | Prisma.FeatureFlagAuditWhereInput[]
id?: Prisma.StringFilter<"FeatureFlagAudit"> | string
flagId?: Prisma.StringFilter<"FeatureFlagAudit"> | string
actorUserId?: Prisma.StringNullableFilter<"FeatureFlagAudit"> | string | null
action?: Prisma.StringFilter<"FeatureFlagAudit"> | string
oldValue?: Prisma.JsonNullableFilter<"FeatureFlagAudit">
newValue?: Prisma.JsonNullableFilter<"FeatureFlagAudit">
createdAt?: Prisma.DateTimeFilter<"FeatureFlagAudit"> | Date | string
flag?: Prisma.XOR<Prisma.FeatureFlagScalarRelationFilter, Prisma.FeatureFlagWhereInput>
}
export type FeatureFlagAuditOrderByWithRelationInput = {
id?: Prisma.SortOrder
flagId?: Prisma.SortOrder
actorUserId?: Prisma.SortOrderInput | Prisma.SortOrder
action?: Prisma.SortOrder
oldValue?: Prisma.SortOrderInput | Prisma.SortOrder
newValue?: Prisma.SortOrderInput | Prisma.SortOrder
createdAt?: Prisma.SortOrder
flag?: Prisma.FeatureFlagOrderByWithRelationInput
}
export type FeatureFlagAuditWhereUniqueInput = Prisma.AtLeast<{
id?: string
AND?: Prisma.FeatureFlagAuditWhereInput | Prisma.FeatureFlagAuditWhereInput[]
OR?: Prisma.FeatureFlagAuditWhereInput[]
NOT?: Prisma.FeatureFlagAuditWhereInput | Prisma.FeatureFlagAuditWhereInput[]
flagId?: Prisma.StringFilter<"FeatureFlagAudit"> | string
actorUserId?: Prisma.StringNullableFilter<"FeatureFlagAudit"> | string | null
action?: Prisma.StringFilter<"FeatureFlagAudit"> | string
oldValue?: Prisma.JsonNullableFilter<"FeatureFlagAudit">
newValue?: Prisma.JsonNullableFilter<"FeatureFlagAudit">
createdAt?: Prisma.DateTimeFilter<"FeatureFlagAudit"> | Date | string
flag?: Prisma.XOR<Prisma.FeatureFlagScalarRelationFilter, Prisma.FeatureFlagWhereInput>
}, "id">
export type FeatureFlagAuditOrderByWithAggregationInput = {
id?: Prisma.SortOrder
flagId?: Prisma.SortOrder
actorUserId?: Prisma.SortOrderInput | Prisma.SortOrder
action?: Prisma.SortOrder
oldValue?: Prisma.SortOrderInput | Prisma.SortOrder
newValue?: Prisma.SortOrderInput | Prisma.SortOrder
createdAt?: Prisma.SortOrder
_count?: Prisma.FeatureFlagAuditCountOrderByAggregateInput
_max?: Prisma.FeatureFlagAuditMaxOrderByAggregateInput
_min?: Prisma.FeatureFlagAuditMinOrderByAggregateInput
}
export type FeatureFlagAuditScalarWhereWithAggregatesInput = {
AND?: Prisma.FeatureFlagAuditScalarWhereWithAggregatesInput | Prisma.FeatureFlagAuditScalarWhereWithAggregatesInput[]
OR?: Prisma.FeatureFlagAuditScalarWhereWithAggregatesInput[]
NOT?: Prisma.FeatureFlagAuditScalarWhereWithAggregatesInput | Prisma.FeatureFlagAuditScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"FeatureFlagAudit"> | string
flagId?: Prisma.StringWithAggregatesFilter<"FeatureFlagAudit"> | string
actorUserId?: Prisma.StringNullableWithAggregatesFilter<"FeatureFlagAudit"> | string | null
action?: Prisma.StringWithAggregatesFilter<"FeatureFlagAudit"> | string
oldValue?: Prisma.JsonNullableWithAggregatesFilter<"FeatureFlagAudit">
newValue?: Prisma.JsonNullableWithAggregatesFilter<"FeatureFlagAudit">
createdAt?: Prisma.DateTimeWithAggregatesFilter<"FeatureFlagAudit"> | Date | string
}
export type FeatureFlagAuditCreateInput = {
id?: string
actorUserId?: string | null
action: string
oldValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
newValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
createdAt?: Date | string
flag: Prisma.FeatureFlagCreateNestedOneWithoutAuditsInput
}
export type FeatureFlagAuditUncheckedCreateInput = {
id?: string
flagId: string
actorUserId?: string | null
action: string
oldValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
newValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
createdAt?: Date | string
}
export type FeatureFlagAuditUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
actorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
action?: Prisma.StringFieldUpdateOperationsInput | string
oldValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
newValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
flag?: Prisma.FeatureFlagUpdateOneRequiredWithoutAuditsNestedInput
}
export type FeatureFlagAuditUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
flagId?: Prisma.StringFieldUpdateOperationsInput | string
actorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
action?: Prisma.StringFieldUpdateOperationsInput | string
oldValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
newValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type FeatureFlagAuditCreateManyInput = {
id?: string
flagId: string
actorUserId?: string | null
action: string
oldValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
newValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
createdAt?: Date | string
}
export type FeatureFlagAuditUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
actorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
action?: Prisma.StringFieldUpdateOperationsInput | string
oldValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
newValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type FeatureFlagAuditUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
flagId?: Prisma.StringFieldUpdateOperationsInput | string
actorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
action?: Prisma.StringFieldUpdateOperationsInput | string
oldValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
newValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type FeatureFlagAuditListRelationFilter = {
every?: Prisma.FeatureFlagAuditWhereInput
some?: Prisma.FeatureFlagAuditWhereInput
none?: Prisma.FeatureFlagAuditWhereInput
}
export type FeatureFlagAuditOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type FeatureFlagAuditCountOrderByAggregateInput = {
id?: Prisma.SortOrder
flagId?: Prisma.SortOrder
actorUserId?: Prisma.SortOrder
action?: Prisma.SortOrder
oldValue?: Prisma.SortOrder
newValue?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
}
export type FeatureFlagAuditMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
flagId?: Prisma.SortOrder
actorUserId?: Prisma.SortOrder
action?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
}
export type FeatureFlagAuditMinOrderByAggregateInput = {
id?: Prisma.SortOrder
flagId?: Prisma.SortOrder
actorUserId?: Prisma.SortOrder
action?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
}
export type FeatureFlagAuditCreateNestedManyWithoutFlagInput = {
create?: Prisma.XOR<Prisma.FeatureFlagAuditCreateWithoutFlagInput, Prisma.FeatureFlagAuditUncheckedCreateWithoutFlagInput> | Prisma.FeatureFlagAuditCreateWithoutFlagInput[] | Prisma.FeatureFlagAuditUncheckedCreateWithoutFlagInput[]
connectOrCreate?: Prisma.FeatureFlagAuditCreateOrConnectWithoutFlagInput | Prisma.FeatureFlagAuditCreateOrConnectWithoutFlagInput[]
createMany?: Prisma.FeatureFlagAuditCreateManyFlagInputEnvelope
connect?: Prisma.FeatureFlagAuditWhereUniqueInput | Prisma.FeatureFlagAuditWhereUniqueInput[]
}
export type FeatureFlagAuditUncheckedCreateNestedManyWithoutFlagInput = {
create?: Prisma.XOR<Prisma.FeatureFlagAuditCreateWithoutFlagInput, Prisma.FeatureFlagAuditUncheckedCreateWithoutFlagInput> | Prisma.FeatureFlagAuditCreateWithoutFlagInput[] | Prisma.FeatureFlagAuditUncheckedCreateWithoutFlagInput[]
connectOrCreate?: Prisma.FeatureFlagAuditCreateOrConnectWithoutFlagInput | Prisma.FeatureFlagAuditCreateOrConnectWithoutFlagInput[]
createMany?: Prisma.FeatureFlagAuditCreateManyFlagInputEnvelope
connect?: Prisma.FeatureFlagAuditWhereUniqueInput | Prisma.FeatureFlagAuditWhereUniqueInput[]
}
export type FeatureFlagAuditUpdateManyWithoutFlagNestedInput = {
create?: Prisma.XOR<Prisma.FeatureFlagAuditCreateWithoutFlagInput, Prisma.FeatureFlagAuditUncheckedCreateWithoutFlagInput> | Prisma.FeatureFlagAuditCreateWithoutFlagInput[] | Prisma.FeatureFlagAuditUncheckedCreateWithoutFlagInput[]
connectOrCreate?: Prisma.FeatureFlagAuditCreateOrConnectWithoutFlagInput | Prisma.FeatureFlagAuditCreateOrConnectWithoutFlagInput[]
upsert?: Prisma.FeatureFlagAuditUpsertWithWhereUniqueWithoutFlagInput | Prisma.FeatureFlagAuditUpsertWithWhereUniqueWithoutFlagInput[]
createMany?: Prisma.FeatureFlagAuditCreateManyFlagInputEnvelope
set?: Prisma.FeatureFlagAuditWhereUniqueInput | Prisma.FeatureFlagAuditWhereUniqueInput[]
disconnect?: Prisma.FeatureFlagAuditWhereUniqueInput | Prisma.FeatureFlagAuditWhereUniqueInput[]
delete?: Prisma.FeatureFlagAuditWhereUniqueInput | Prisma.FeatureFlagAuditWhereUniqueInput[]
connect?: Prisma.FeatureFlagAuditWhereUniqueInput | Prisma.FeatureFlagAuditWhereUniqueInput[]
update?: Prisma.FeatureFlagAuditUpdateWithWhereUniqueWithoutFlagInput | Prisma.FeatureFlagAuditUpdateWithWhereUniqueWithoutFlagInput[]
updateMany?: Prisma.FeatureFlagAuditUpdateManyWithWhereWithoutFlagInput | Prisma.FeatureFlagAuditUpdateManyWithWhereWithoutFlagInput[]
deleteMany?: Prisma.FeatureFlagAuditScalarWhereInput | Prisma.FeatureFlagAuditScalarWhereInput[]
}
export type FeatureFlagAuditUncheckedUpdateManyWithoutFlagNestedInput = {
create?: Prisma.XOR<Prisma.FeatureFlagAuditCreateWithoutFlagInput, Prisma.FeatureFlagAuditUncheckedCreateWithoutFlagInput> | Prisma.FeatureFlagAuditCreateWithoutFlagInput[] | Prisma.FeatureFlagAuditUncheckedCreateWithoutFlagInput[]
connectOrCreate?: Prisma.FeatureFlagAuditCreateOrConnectWithoutFlagInput | Prisma.FeatureFlagAuditCreateOrConnectWithoutFlagInput[]
upsert?: Prisma.FeatureFlagAuditUpsertWithWhereUniqueWithoutFlagInput | Prisma.FeatureFlagAuditUpsertWithWhereUniqueWithoutFlagInput[]
createMany?: Prisma.FeatureFlagAuditCreateManyFlagInputEnvelope
set?: Prisma.FeatureFlagAuditWhereUniqueInput | Prisma.FeatureFlagAuditWhereUniqueInput[]
disconnect?: Prisma.FeatureFlagAuditWhereUniqueInput | Prisma.FeatureFlagAuditWhereUniqueInput[]
delete?: Prisma.FeatureFlagAuditWhereUniqueInput | Prisma.FeatureFlagAuditWhereUniqueInput[]
connect?: Prisma.FeatureFlagAuditWhereUniqueInput | Prisma.FeatureFlagAuditWhereUniqueInput[]
update?: Prisma.FeatureFlagAuditUpdateWithWhereUniqueWithoutFlagInput | Prisma.FeatureFlagAuditUpdateWithWhereUniqueWithoutFlagInput[]
updateMany?: Prisma.FeatureFlagAuditUpdateManyWithWhereWithoutFlagInput | Prisma.FeatureFlagAuditUpdateManyWithWhereWithoutFlagInput[]
deleteMany?: Prisma.FeatureFlagAuditScalarWhereInput | Prisma.FeatureFlagAuditScalarWhereInput[]
}
export type FeatureFlagAuditCreateWithoutFlagInput = {
id?: string
actorUserId?: string | null
action: string
oldValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
newValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
createdAt?: Date | string
}
export type FeatureFlagAuditUncheckedCreateWithoutFlagInput = {
id?: string
actorUserId?: string | null
action: string
oldValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
newValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
createdAt?: Date | string
}
export type FeatureFlagAuditCreateOrConnectWithoutFlagInput = {
where: Prisma.FeatureFlagAuditWhereUniqueInput
create: Prisma.XOR<Prisma.FeatureFlagAuditCreateWithoutFlagInput, Prisma.FeatureFlagAuditUncheckedCreateWithoutFlagInput>
}
export type FeatureFlagAuditCreateManyFlagInputEnvelope = {
data: Prisma.FeatureFlagAuditCreateManyFlagInput | Prisma.FeatureFlagAuditCreateManyFlagInput[]
skipDuplicates?: boolean
}
export type FeatureFlagAuditUpsertWithWhereUniqueWithoutFlagInput = {
where: Prisma.FeatureFlagAuditWhereUniqueInput
update: Prisma.XOR<Prisma.FeatureFlagAuditUpdateWithoutFlagInput, Prisma.FeatureFlagAuditUncheckedUpdateWithoutFlagInput>
create: Prisma.XOR<Prisma.FeatureFlagAuditCreateWithoutFlagInput, Prisma.FeatureFlagAuditUncheckedCreateWithoutFlagInput>
}
export type FeatureFlagAuditUpdateWithWhereUniqueWithoutFlagInput = {
where: Prisma.FeatureFlagAuditWhereUniqueInput
data: Prisma.XOR<Prisma.FeatureFlagAuditUpdateWithoutFlagInput, Prisma.FeatureFlagAuditUncheckedUpdateWithoutFlagInput>
}
export type FeatureFlagAuditUpdateManyWithWhereWithoutFlagInput = {
where: Prisma.FeatureFlagAuditScalarWhereInput
data: Prisma.XOR<Prisma.FeatureFlagAuditUpdateManyMutationInput, Prisma.FeatureFlagAuditUncheckedUpdateManyWithoutFlagInput>
}
export type FeatureFlagAuditScalarWhereInput = {
AND?: Prisma.FeatureFlagAuditScalarWhereInput | Prisma.FeatureFlagAuditScalarWhereInput[]
OR?: Prisma.FeatureFlagAuditScalarWhereInput[]
NOT?: Prisma.FeatureFlagAuditScalarWhereInput | Prisma.FeatureFlagAuditScalarWhereInput[]
id?: Prisma.StringFilter<"FeatureFlagAudit"> | string
flagId?: Prisma.StringFilter<"FeatureFlagAudit"> | string
actorUserId?: Prisma.StringNullableFilter<"FeatureFlagAudit"> | string | null
action?: Prisma.StringFilter<"FeatureFlagAudit"> | string
oldValue?: Prisma.JsonNullableFilter<"FeatureFlagAudit">
newValue?: Prisma.JsonNullableFilter<"FeatureFlagAudit">
createdAt?: Prisma.DateTimeFilter<"FeatureFlagAudit"> | Date | string
}
export type FeatureFlagAuditCreateManyFlagInput = {
id?: string
actorUserId?: string | null
action: string
oldValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
newValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
createdAt?: Date | string
}
export type FeatureFlagAuditUpdateWithoutFlagInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
actorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
action?: Prisma.StringFieldUpdateOperationsInput | string
oldValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
newValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type FeatureFlagAuditUncheckedUpdateWithoutFlagInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
actorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
action?: Prisma.StringFieldUpdateOperationsInput | string
oldValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
newValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type FeatureFlagAuditUncheckedUpdateManyWithoutFlagInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
actorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
action?: Prisma.StringFieldUpdateOperationsInput | string
oldValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
newValue?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type FeatureFlagAuditSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
flagId?: boolean
actorUserId?: boolean
action?: boolean
oldValue?: boolean
newValue?: boolean
createdAt?: boolean
flag?: boolean | Prisma.FeatureFlagDefaultArgs<ExtArgs>
}, ExtArgs["result"]["featureFlagAudit"]>
export type FeatureFlagAuditSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
flagId?: boolean
actorUserId?: boolean
action?: boolean
oldValue?: boolean
newValue?: boolean
createdAt?: boolean
flag?: boolean | Prisma.FeatureFlagDefaultArgs<ExtArgs>
}, ExtArgs["result"]["featureFlagAudit"]>
export type FeatureFlagAuditSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
flagId?: boolean
actorUserId?: boolean
action?: boolean
oldValue?: boolean
newValue?: boolean
createdAt?: boolean
flag?: boolean | Prisma.FeatureFlagDefaultArgs<ExtArgs>
}, ExtArgs["result"]["featureFlagAudit"]>
export type FeatureFlagAuditSelectScalar = {
id?: boolean
flagId?: boolean
actorUserId?: boolean
action?: boolean
oldValue?: boolean
newValue?: boolean
createdAt?: boolean
}
export type FeatureFlagAuditOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "flagId" | "actorUserId" | "action" | "oldValue" | "newValue" | "createdAt", ExtArgs["result"]["featureFlagAudit"]>
export type FeatureFlagAuditInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
flag?: boolean | Prisma.FeatureFlagDefaultArgs<ExtArgs>
}
export type FeatureFlagAuditIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
flag?: boolean | Prisma.FeatureFlagDefaultArgs<ExtArgs>
}
export type FeatureFlagAuditIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
flag?: boolean | Prisma.FeatureFlagDefaultArgs<ExtArgs>
}
export type $FeatureFlagAuditPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "FeatureFlagAudit"
objects: {
flag: Prisma.$FeatureFlagPayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
flagId: string
actorUserId: string | null
action: string
oldValue: runtime.JsonValue | null
newValue: runtime.JsonValue | null
createdAt: Date
}, ExtArgs["result"]["featureFlagAudit"]>
composites: {}
}
export type FeatureFlagAuditGetPayload<S extends boolean | null | undefined | FeatureFlagAuditDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$FeatureFlagAuditPayload, S>
export type FeatureFlagAuditCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<FeatureFlagAuditFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: FeatureFlagAuditCountAggregateInputType | true
}
export interface FeatureFlagAuditDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['FeatureFlagAudit'], meta: { name: 'FeatureFlagAudit' } }
/**
* Find zero or one FeatureFlagAudit that matches the filter.
* @param {FeatureFlagAuditFindUniqueArgs} args - Arguments to find a FeatureFlagAudit
* @example
* // Get one FeatureFlagAudit
* const featureFlagAudit = await prisma.featureFlagAudit.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends FeatureFlagAuditFindUniqueArgs>(args: Prisma.SelectSubset<T, FeatureFlagAuditFindUniqueArgs<ExtArgs>>): Prisma.Prisma__FeatureFlagAuditClient<runtime.Types.Result.GetResult<Prisma.$FeatureFlagAuditPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one FeatureFlagAudit that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {FeatureFlagAuditFindUniqueOrThrowArgs} args - Arguments to find a FeatureFlagAudit
* @example
* // Get one FeatureFlagAudit
* const featureFlagAudit = await prisma.featureFlagAudit.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends FeatureFlagAuditFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, FeatureFlagAuditFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__FeatureFlagAuditClient<runtime.Types.Result.GetResult<Prisma.$FeatureFlagAuditPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first FeatureFlagAudit 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 {FeatureFlagAuditFindFirstArgs} args - Arguments to find a FeatureFlagAudit
* @example
* // Get one FeatureFlagAudit
* const featureFlagAudit = await prisma.featureFlagAudit.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends FeatureFlagAuditFindFirstArgs>(args?: Prisma.SelectSubset<T, FeatureFlagAuditFindFirstArgs<ExtArgs>>): Prisma.Prisma__FeatureFlagAuditClient<runtime.Types.Result.GetResult<Prisma.$FeatureFlagAuditPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first FeatureFlagAudit 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 {FeatureFlagAuditFindFirstOrThrowArgs} args - Arguments to find a FeatureFlagAudit
* @example
* // Get one FeatureFlagAudit
* const featureFlagAudit = await prisma.featureFlagAudit.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends FeatureFlagAuditFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, FeatureFlagAuditFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__FeatureFlagAuditClient<runtime.Types.Result.GetResult<Prisma.$FeatureFlagAuditPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more FeatureFlagAudits 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 {FeatureFlagAuditFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all FeatureFlagAudits
* const featureFlagAudits = await prisma.featureFlagAudit.findMany()
*
* // Get first 10 FeatureFlagAudits
* const featureFlagAudits = await prisma.featureFlagAudit.findMany({ take: 10 })
*
* // Only select the `id`
* const featureFlagAuditWithIdOnly = await prisma.featureFlagAudit.findMany({ select: { id: true } })
*
*/
findMany<T extends FeatureFlagAuditFindManyArgs>(args?: Prisma.SelectSubset<T, FeatureFlagAuditFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FeatureFlagAuditPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a FeatureFlagAudit.
* @param {FeatureFlagAuditCreateArgs} args - Arguments to create a FeatureFlagAudit.
* @example
* // Create one FeatureFlagAudit
* const FeatureFlagAudit = await prisma.featureFlagAudit.create({
* data: {
* // ... data to create a FeatureFlagAudit
* }
* })
*
*/
create<T extends FeatureFlagAuditCreateArgs>(args: Prisma.SelectSubset<T, FeatureFlagAuditCreateArgs<ExtArgs>>): Prisma.Prisma__FeatureFlagAuditClient<runtime.Types.Result.GetResult<Prisma.$FeatureFlagAuditPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many FeatureFlagAudits.
* @param {FeatureFlagAuditCreateManyArgs} args - Arguments to create many FeatureFlagAudits.
* @example
* // Create many FeatureFlagAudits
* const featureFlagAudit = await prisma.featureFlagAudit.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends FeatureFlagAuditCreateManyArgs>(args?: Prisma.SelectSubset<T, FeatureFlagAuditCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many FeatureFlagAudits and returns the data saved in the database.
* @param {FeatureFlagAuditCreateManyAndReturnArgs} args - Arguments to create many FeatureFlagAudits.
* @example
* // Create many FeatureFlagAudits
* const featureFlagAudit = await prisma.featureFlagAudit.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many FeatureFlagAudits and only return the `id`
* const featureFlagAuditWithIdOnly = await prisma.featureFlagAudit.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 FeatureFlagAuditCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, FeatureFlagAuditCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FeatureFlagAuditPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a FeatureFlagAudit.
* @param {FeatureFlagAuditDeleteArgs} args - Arguments to delete one FeatureFlagAudit.
* @example
* // Delete one FeatureFlagAudit
* const FeatureFlagAudit = await prisma.featureFlagAudit.delete({
* where: {
* // ... filter to delete one FeatureFlagAudit
* }
* })
*
*/
delete<T extends FeatureFlagAuditDeleteArgs>(args: Prisma.SelectSubset<T, FeatureFlagAuditDeleteArgs<ExtArgs>>): Prisma.Prisma__FeatureFlagAuditClient<runtime.Types.Result.GetResult<Prisma.$FeatureFlagAuditPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one FeatureFlagAudit.
* @param {FeatureFlagAuditUpdateArgs} args - Arguments to update one FeatureFlagAudit.
* @example
* // Update one FeatureFlagAudit
* const featureFlagAudit = await prisma.featureFlagAudit.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends FeatureFlagAuditUpdateArgs>(args: Prisma.SelectSubset<T, FeatureFlagAuditUpdateArgs<ExtArgs>>): Prisma.Prisma__FeatureFlagAuditClient<runtime.Types.Result.GetResult<Prisma.$FeatureFlagAuditPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more FeatureFlagAudits.
* @param {FeatureFlagAuditDeleteManyArgs} args - Arguments to filter FeatureFlagAudits to delete.
* @example
* // Delete a few FeatureFlagAudits
* const { count } = await prisma.featureFlagAudit.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends FeatureFlagAuditDeleteManyArgs>(args?: Prisma.SelectSubset<T, FeatureFlagAuditDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more FeatureFlagAudits.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {FeatureFlagAuditUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many FeatureFlagAudits
* const featureFlagAudit = await prisma.featureFlagAudit.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends FeatureFlagAuditUpdateManyArgs>(args: Prisma.SelectSubset<T, FeatureFlagAuditUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more FeatureFlagAudits and returns the data updated in the database.
* @param {FeatureFlagAuditUpdateManyAndReturnArgs} args - Arguments to update many FeatureFlagAudits.
* @example
* // Update many FeatureFlagAudits
* const featureFlagAudit = await prisma.featureFlagAudit.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more FeatureFlagAudits and only return the `id`
* const featureFlagAuditWithIdOnly = await prisma.featureFlagAudit.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 FeatureFlagAuditUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, FeatureFlagAuditUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FeatureFlagAuditPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one FeatureFlagAudit.
* @param {FeatureFlagAuditUpsertArgs} args - Arguments to update or create a FeatureFlagAudit.
* @example
* // Update or create a FeatureFlagAudit
* const featureFlagAudit = await prisma.featureFlagAudit.upsert({
* create: {
* // ... data to create a FeatureFlagAudit
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the FeatureFlagAudit we want to update
* }
* })
*/
upsert<T extends FeatureFlagAuditUpsertArgs>(args: Prisma.SelectSubset<T, FeatureFlagAuditUpsertArgs<ExtArgs>>): Prisma.Prisma__FeatureFlagAuditClient<runtime.Types.Result.GetResult<Prisma.$FeatureFlagAuditPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of FeatureFlagAudits.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {FeatureFlagAuditCountArgs} args - Arguments to filter FeatureFlagAudits to count.
* @example
* // Count the number of FeatureFlagAudits
* const count = await prisma.featureFlagAudit.count({
* where: {
* // ... the filter for the FeatureFlagAudits we want to count
* }
* })
**/
count<T extends FeatureFlagAuditCountArgs>(
args?: Prisma.Subset<T, FeatureFlagAuditCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], FeatureFlagAuditCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a FeatureFlagAudit.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {FeatureFlagAuditAggregateArgs} 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 FeatureFlagAuditAggregateArgs>(args: Prisma.Subset<T, FeatureFlagAuditAggregateArgs>): Prisma.PrismaPromise<GetFeatureFlagAuditAggregateType<T>>
/**
* Group by FeatureFlagAudit.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {FeatureFlagAuditGroupByArgs} 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 FeatureFlagAuditGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: FeatureFlagAuditGroupByArgs['orderBy'] }
: { orderBy?: FeatureFlagAuditGroupByArgs['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, FeatureFlagAuditGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetFeatureFlagAuditGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the FeatureFlagAudit model
*/
readonly fields: FeatureFlagAuditFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for FeatureFlagAudit.
* 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__FeatureFlagAuditClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
flag<T extends Prisma.FeatureFlagDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.FeatureFlagDefaultArgs<ExtArgs>>): Prisma.Prisma__FeatureFlagClient<runtime.Types.Result.GetResult<Prisma.$FeatureFlagPayload<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 FeatureFlagAudit model
*/
export interface FeatureFlagAuditFieldRefs {
readonly id: Prisma.FieldRef<"FeatureFlagAudit", 'String'>
readonly flagId: Prisma.FieldRef<"FeatureFlagAudit", 'String'>
readonly actorUserId: Prisma.FieldRef<"FeatureFlagAudit", 'String'>
readonly action: Prisma.FieldRef<"FeatureFlagAudit", 'String'>
readonly oldValue: Prisma.FieldRef<"FeatureFlagAudit", 'Json'>
readonly newValue: Prisma.FieldRef<"FeatureFlagAudit", 'Json'>
readonly createdAt: Prisma.FieldRef<"FeatureFlagAudit", 'DateTime'>
}
// Custom InputTypes
/**
* FeatureFlagAudit findUnique
*/
export type FeatureFlagAuditFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the FeatureFlagAudit
*/
select?: Prisma.FeatureFlagAuditSelect<ExtArgs> | null
/**
* Omit specific fields from the FeatureFlagAudit
*/
omit?: Prisma.FeatureFlagAuditOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.FeatureFlagAuditInclude<ExtArgs> | null
/**
* Filter, which FeatureFlagAudit to fetch.
*/
where: Prisma.FeatureFlagAuditWhereUniqueInput
}
/**
* FeatureFlagAudit findUniqueOrThrow
*/
export type FeatureFlagAuditFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the FeatureFlagAudit
*/
select?: Prisma.FeatureFlagAuditSelect<ExtArgs> | null
/**
* Omit specific fields from the FeatureFlagAudit
*/
omit?: Prisma.FeatureFlagAuditOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.FeatureFlagAuditInclude<ExtArgs> | null
/**
* Filter, which FeatureFlagAudit to fetch.
*/
where: Prisma.FeatureFlagAuditWhereUniqueInput
}
/**
* FeatureFlagAudit findFirst
*/
export type FeatureFlagAuditFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the FeatureFlagAudit
*/
select?: Prisma.FeatureFlagAuditSelect<ExtArgs> | null
/**
* Omit specific fields from the FeatureFlagAudit
*/
omit?: Prisma.FeatureFlagAuditOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.FeatureFlagAuditInclude<ExtArgs> | null
/**
* Filter, which FeatureFlagAudit to fetch.
*/
where?: Prisma.FeatureFlagAuditWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of FeatureFlagAudits to fetch.
*/
orderBy?: Prisma.FeatureFlagAuditOrderByWithRelationInput | Prisma.FeatureFlagAuditOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for FeatureFlagAudits.
*/
cursor?: Prisma.FeatureFlagAuditWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` FeatureFlagAudits 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` FeatureFlagAudits.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of FeatureFlagAudits.
*/
distinct?: Prisma.FeatureFlagAuditScalarFieldEnum | Prisma.FeatureFlagAuditScalarFieldEnum[]
}
/**
* FeatureFlagAudit findFirstOrThrow
*/
export type FeatureFlagAuditFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the FeatureFlagAudit
*/
select?: Prisma.FeatureFlagAuditSelect<ExtArgs> | null
/**
* Omit specific fields from the FeatureFlagAudit
*/
omit?: Prisma.FeatureFlagAuditOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.FeatureFlagAuditInclude<ExtArgs> | null
/**
* Filter, which FeatureFlagAudit to fetch.
*/
where?: Prisma.FeatureFlagAuditWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of FeatureFlagAudits to fetch.
*/
orderBy?: Prisma.FeatureFlagAuditOrderByWithRelationInput | Prisma.FeatureFlagAuditOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for FeatureFlagAudits.
*/
cursor?: Prisma.FeatureFlagAuditWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` FeatureFlagAudits 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` FeatureFlagAudits.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of FeatureFlagAudits.
*/
distinct?: Prisma.FeatureFlagAuditScalarFieldEnum | Prisma.FeatureFlagAuditScalarFieldEnum[]
}
/**
* FeatureFlagAudit findMany
*/
export type FeatureFlagAuditFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the FeatureFlagAudit
*/
select?: Prisma.FeatureFlagAuditSelect<ExtArgs> | null
/**
* Omit specific fields from the FeatureFlagAudit
*/
omit?: Prisma.FeatureFlagAuditOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.FeatureFlagAuditInclude<ExtArgs> | null
/**
* Filter, which FeatureFlagAudits to fetch.
*/
where?: Prisma.FeatureFlagAuditWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of FeatureFlagAudits to fetch.
*/
orderBy?: Prisma.FeatureFlagAuditOrderByWithRelationInput | Prisma.FeatureFlagAuditOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing FeatureFlagAudits.
*/
cursor?: Prisma.FeatureFlagAuditWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` FeatureFlagAudits 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` FeatureFlagAudits.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of FeatureFlagAudits.
*/
distinct?: Prisma.FeatureFlagAuditScalarFieldEnum | Prisma.FeatureFlagAuditScalarFieldEnum[]
}
/**
* FeatureFlagAudit create
*/
export type FeatureFlagAuditCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the FeatureFlagAudit
*/
select?: Prisma.FeatureFlagAuditSelect<ExtArgs> | null
/**
* Omit specific fields from the FeatureFlagAudit
*/
omit?: Prisma.FeatureFlagAuditOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.FeatureFlagAuditInclude<ExtArgs> | null
/**
* The data needed to create a FeatureFlagAudit.
*/
data: Prisma.XOR<Prisma.FeatureFlagAuditCreateInput, Prisma.FeatureFlagAuditUncheckedCreateInput>
}
/**
* FeatureFlagAudit createMany
*/
export type FeatureFlagAuditCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many FeatureFlagAudits.
*/
data: Prisma.FeatureFlagAuditCreateManyInput | Prisma.FeatureFlagAuditCreateManyInput[]
skipDuplicates?: boolean
}
/**
* FeatureFlagAudit createManyAndReturn
*/
export type FeatureFlagAuditCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the FeatureFlagAudit
*/
select?: Prisma.FeatureFlagAuditSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the FeatureFlagAudit
*/
omit?: Prisma.FeatureFlagAuditOmit<ExtArgs> | null
/**
* The data used to create many FeatureFlagAudits.
*/
data: Prisma.FeatureFlagAuditCreateManyInput | Prisma.FeatureFlagAuditCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.FeatureFlagAuditIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* FeatureFlagAudit update
*/
export type FeatureFlagAuditUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the FeatureFlagAudit
*/
select?: Prisma.FeatureFlagAuditSelect<ExtArgs> | null
/**
* Omit specific fields from the FeatureFlagAudit
*/
omit?: Prisma.FeatureFlagAuditOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.FeatureFlagAuditInclude<ExtArgs> | null
/**
* The data needed to update a FeatureFlagAudit.
*/
data: Prisma.XOR<Prisma.FeatureFlagAuditUpdateInput, Prisma.FeatureFlagAuditUncheckedUpdateInput>
/**
* Choose, which FeatureFlagAudit to update.
*/
where: Prisma.FeatureFlagAuditWhereUniqueInput
}
/**
* FeatureFlagAudit updateMany
*/
export type FeatureFlagAuditUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update FeatureFlagAudits.
*/
data: Prisma.XOR<Prisma.FeatureFlagAuditUpdateManyMutationInput, Prisma.FeatureFlagAuditUncheckedUpdateManyInput>
/**
* Filter which FeatureFlagAudits to update
*/
where?: Prisma.FeatureFlagAuditWhereInput
/**
* Limit how many FeatureFlagAudits to update.
*/
limit?: number
}
/**
* FeatureFlagAudit updateManyAndReturn
*/
export type FeatureFlagAuditUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the FeatureFlagAudit
*/
select?: Prisma.FeatureFlagAuditSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the FeatureFlagAudit
*/
omit?: Prisma.FeatureFlagAuditOmit<ExtArgs> | null
/**
* The data used to update FeatureFlagAudits.
*/
data: Prisma.XOR<Prisma.FeatureFlagAuditUpdateManyMutationInput, Prisma.FeatureFlagAuditUncheckedUpdateManyInput>
/**
* Filter which FeatureFlagAudits to update
*/
where?: Prisma.FeatureFlagAuditWhereInput
/**
* Limit how many FeatureFlagAudits to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.FeatureFlagAuditIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* FeatureFlagAudit upsert
*/
export type FeatureFlagAuditUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the FeatureFlagAudit
*/
select?: Prisma.FeatureFlagAuditSelect<ExtArgs> | null
/**
* Omit specific fields from the FeatureFlagAudit
*/
omit?: Prisma.FeatureFlagAuditOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.FeatureFlagAuditInclude<ExtArgs> | null
/**
* The filter to search for the FeatureFlagAudit to update in case it exists.
*/
where: Prisma.FeatureFlagAuditWhereUniqueInput
/**
* In case the FeatureFlagAudit found by the `where` argument doesn't exist, create a new FeatureFlagAudit with this data.
*/
create: Prisma.XOR<Prisma.FeatureFlagAuditCreateInput, Prisma.FeatureFlagAuditUncheckedCreateInput>
/**
* In case the FeatureFlagAudit was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.FeatureFlagAuditUpdateInput, Prisma.FeatureFlagAuditUncheckedUpdateInput>
}
/**
* FeatureFlagAudit delete
*/
export type FeatureFlagAuditDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the FeatureFlagAudit
*/
select?: Prisma.FeatureFlagAuditSelect<ExtArgs> | null
/**
* Omit specific fields from the FeatureFlagAudit
*/
omit?: Prisma.FeatureFlagAuditOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.FeatureFlagAuditInclude<ExtArgs> | null
/**
* Filter which FeatureFlagAudit to delete.
*/
where: Prisma.FeatureFlagAuditWhereUniqueInput
}
/**
* FeatureFlagAudit deleteMany
*/
export type FeatureFlagAuditDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which FeatureFlagAudits to delete
*/
where?: Prisma.FeatureFlagAuditWhereInput
/**
* Limit how many FeatureFlagAudits to delete.
*/
limit?: number
}
/**
* FeatureFlagAudit without action
*/
export type FeatureFlagAuditDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the FeatureFlagAudit
*/
select?: Prisma.FeatureFlagAuditSelect<ExtArgs> | null
/**
* Omit specific fields from the FeatureFlagAudit
*/
omit?: Prisma.FeatureFlagAuditOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.FeatureFlagAuditInclude<ExtArgs> | null
}