1122 lines
42 KiB
TypeScript
1122 lines
42 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 `AnalyticsSettings` 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 AnalyticsSettings
|
|
*
|
|
*/
|
|
export type AnalyticsSettingsModel = runtime.Types.Result.DefaultSelection<Prisma.$AnalyticsSettingsPayload>
|
|
|
|
export type AggregateAnalyticsSettings = {
|
|
_count: AnalyticsSettingsCountAggregateOutputType | null
|
|
_min: AnalyticsSettingsMinAggregateOutputType | null
|
|
_max: AnalyticsSettingsMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type AnalyticsSettingsMinAggregateOutputType = {
|
|
id: string | null
|
|
public: boolean | null
|
|
ignorePages: string | null
|
|
onlyPages: string | null
|
|
}
|
|
|
|
export type AnalyticsSettingsMaxAggregateOutputType = {
|
|
id: string | null
|
|
public: boolean | null
|
|
ignorePages: string | null
|
|
onlyPages: string | null
|
|
}
|
|
|
|
export type AnalyticsSettingsCountAggregateOutputType = {
|
|
id: number
|
|
public: number
|
|
ignorePages: number
|
|
onlyPages: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type AnalyticsSettingsMinAggregateInputType = {
|
|
id?: true
|
|
public?: true
|
|
ignorePages?: true
|
|
onlyPages?: true
|
|
}
|
|
|
|
export type AnalyticsSettingsMaxAggregateInputType = {
|
|
id?: true
|
|
public?: true
|
|
ignorePages?: true
|
|
onlyPages?: true
|
|
}
|
|
|
|
export type AnalyticsSettingsCountAggregateInputType = {
|
|
id?: true
|
|
public?: true
|
|
ignorePages?: true
|
|
onlyPages?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type AnalyticsSettingsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AnalyticsSettings to aggregate.
|
|
*/
|
|
where?: Prisma.AnalyticsSettingsWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AnalyticsSettings to fetch.
|
|
*/
|
|
orderBy?: Prisma.AnalyticsSettingsOrderByWithRelationInput | Prisma.AnalyticsSettingsOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.AnalyticsSettingsWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AnalyticsSettings 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` AnalyticsSettings.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned AnalyticsSettings
|
|
**/
|
|
_count?: true | AnalyticsSettingsCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: AnalyticsSettingsMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: AnalyticsSettingsMaxAggregateInputType
|
|
}
|
|
|
|
export type GetAnalyticsSettingsAggregateType<T extends AnalyticsSettingsAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAnalyticsSettings]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateAnalyticsSettings[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateAnalyticsSettings[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AnalyticsSettingsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AnalyticsSettingsWhereInput
|
|
orderBy?: Prisma.AnalyticsSettingsOrderByWithAggregationInput | Prisma.AnalyticsSettingsOrderByWithAggregationInput[]
|
|
by: Prisma.AnalyticsSettingsScalarFieldEnum[] | Prisma.AnalyticsSettingsScalarFieldEnum
|
|
having?: Prisma.AnalyticsSettingsScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: AnalyticsSettingsCountAggregateInputType | true
|
|
_min?: AnalyticsSettingsMinAggregateInputType
|
|
_max?: AnalyticsSettingsMaxAggregateInputType
|
|
}
|
|
|
|
export type AnalyticsSettingsGroupByOutputType = {
|
|
id: string
|
|
public: boolean
|
|
ignorePages: string
|
|
onlyPages: string
|
|
_count: AnalyticsSettingsCountAggregateOutputType | null
|
|
_min: AnalyticsSettingsMinAggregateOutputType | null
|
|
_max: AnalyticsSettingsMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetAnalyticsSettingsGroupByPayload<T extends AnalyticsSettingsGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<AnalyticsSettingsGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AnalyticsSettingsGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AnalyticsSettingsGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], AnalyticsSettingsGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type AnalyticsSettingsWhereInput = {
|
|
AND?: Prisma.AnalyticsSettingsWhereInput | Prisma.AnalyticsSettingsWhereInput[]
|
|
OR?: Prisma.AnalyticsSettingsWhereInput[]
|
|
NOT?: Prisma.AnalyticsSettingsWhereInput | Prisma.AnalyticsSettingsWhereInput[]
|
|
id?: Prisma.StringFilter<"AnalyticsSettings"> | string
|
|
public?: Prisma.BoolFilter<"AnalyticsSettings"> | boolean
|
|
ignorePages?: Prisma.StringFilter<"AnalyticsSettings"> | string
|
|
onlyPages?: Prisma.StringFilter<"AnalyticsSettings"> | string
|
|
}
|
|
|
|
export type AnalyticsSettingsOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
public?: Prisma.SortOrder
|
|
ignorePages?: Prisma.SortOrder
|
|
onlyPages?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AnalyticsSettingsWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.AnalyticsSettingsWhereInput | Prisma.AnalyticsSettingsWhereInput[]
|
|
OR?: Prisma.AnalyticsSettingsWhereInput[]
|
|
NOT?: Prisma.AnalyticsSettingsWhereInput | Prisma.AnalyticsSettingsWhereInput[]
|
|
public?: Prisma.BoolFilter<"AnalyticsSettings"> | boolean
|
|
ignorePages?: Prisma.StringFilter<"AnalyticsSettings"> | string
|
|
onlyPages?: Prisma.StringFilter<"AnalyticsSettings"> | string
|
|
}, "id">
|
|
|
|
export type AnalyticsSettingsOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
public?: Prisma.SortOrder
|
|
ignorePages?: Prisma.SortOrder
|
|
onlyPages?: Prisma.SortOrder
|
|
_count?: Prisma.AnalyticsSettingsCountOrderByAggregateInput
|
|
_max?: Prisma.AnalyticsSettingsMaxOrderByAggregateInput
|
|
_min?: Prisma.AnalyticsSettingsMinOrderByAggregateInput
|
|
}
|
|
|
|
export type AnalyticsSettingsScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.AnalyticsSettingsScalarWhereWithAggregatesInput | Prisma.AnalyticsSettingsScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.AnalyticsSettingsScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.AnalyticsSettingsScalarWhereWithAggregatesInput | Prisma.AnalyticsSettingsScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"AnalyticsSettings"> | string
|
|
public?: Prisma.BoolWithAggregatesFilter<"AnalyticsSettings"> | boolean
|
|
ignorePages?: Prisma.StringWithAggregatesFilter<"AnalyticsSettings"> | string
|
|
onlyPages?: Prisma.StringWithAggregatesFilter<"AnalyticsSettings"> | string
|
|
}
|
|
|
|
export type AnalyticsSettingsCreateInput = {
|
|
id?: string
|
|
public?: boolean
|
|
ignorePages: string
|
|
onlyPages: string
|
|
}
|
|
|
|
export type AnalyticsSettingsUncheckedCreateInput = {
|
|
id?: string
|
|
public?: boolean
|
|
ignorePages: string
|
|
onlyPages: string
|
|
}
|
|
|
|
export type AnalyticsSettingsUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
public?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
ignorePages?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onlyPages?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type AnalyticsSettingsUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
public?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
ignorePages?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onlyPages?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type AnalyticsSettingsCreateManyInput = {
|
|
id?: string
|
|
public?: boolean
|
|
ignorePages: string
|
|
onlyPages: string
|
|
}
|
|
|
|
export type AnalyticsSettingsUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
public?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
ignorePages?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onlyPages?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type AnalyticsSettingsUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
public?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
ignorePages?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onlyPages?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type AnalyticsSettingsCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
public?: Prisma.SortOrder
|
|
ignorePages?: Prisma.SortOrder
|
|
onlyPages?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AnalyticsSettingsMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
public?: Prisma.SortOrder
|
|
ignorePages?: Prisma.SortOrder
|
|
onlyPages?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AnalyticsSettingsMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
public?: Prisma.SortOrder
|
|
ignorePages?: Prisma.SortOrder
|
|
onlyPages?: Prisma.SortOrder
|
|
}
|
|
|
|
|
|
|
|
export type AnalyticsSettingsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
public?: boolean
|
|
ignorePages?: boolean
|
|
onlyPages?: boolean
|
|
}, ExtArgs["result"]["analyticsSettings"]>
|
|
|
|
export type AnalyticsSettingsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
public?: boolean
|
|
ignorePages?: boolean
|
|
onlyPages?: boolean
|
|
}, ExtArgs["result"]["analyticsSettings"]>
|
|
|
|
export type AnalyticsSettingsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
public?: boolean
|
|
ignorePages?: boolean
|
|
onlyPages?: boolean
|
|
}, ExtArgs["result"]["analyticsSettings"]>
|
|
|
|
export type AnalyticsSettingsSelectScalar = {
|
|
id?: boolean
|
|
public?: boolean
|
|
ignorePages?: boolean
|
|
onlyPages?: boolean
|
|
}
|
|
|
|
export type AnalyticsSettingsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "public" | "ignorePages" | "onlyPages", ExtArgs["result"]["analyticsSettings"]>
|
|
|
|
export type $AnalyticsSettingsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "AnalyticsSettings"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
public: boolean
|
|
ignorePages: string
|
|
onlyPages: string
|
|
}, ExtArgs["result"]["analyticsSettings"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type AnalyticsSettingsGetPayload<S extends boolean | null | undefined | AnalyticsSettingsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AnalyticsSettingsPayload, S>
|
|
|
|
export type AnalyticsSettingsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<AnalyticsSettingsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AnalyticsSettingsCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AnalyticsSettingsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AnalyticsSettings'], meta: { name: 'AnalyticsSettings' } }
|
|
/**
|
|
* Find zero or one AnalyticsSettings that matches the filter.
|
|
* @param {AnalyticsSettingsFindUniqueArgs} args - Arguments to find a AnalyticsSettings
|
|
* @example
|
|
* // Get one AnalyticsSettings
|
|
* const analyticsSettings = await prisma.analyticsSettings.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends AnalyticsSettingsFindUniqueArgs>(args: Prisma.SelectSubset<T, AnalyticsSettingsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AnalyticsSettingsClient<runtime.Types.Result.GetResult<Prisma.$AnalyticsSettingsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one AnalyticsSettings that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {AnalyticsSettingsFindUniqueOrThrowArgs} args - Arguments to find a AnalyticsSettings
|
|
* @example
|
|
* // Get one AnalyticsSettings
|
|
* const analyticsSettings = await prisma.analyticsSettings.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends AnalyticsSettingsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AnalyticsSettingsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AnalyticsSettingsClient<runtime.Types.Result.GetResult<Prisma.$AnalyticsSettingsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AnalyticsSettings 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 {AnalyticsSettingsFindFirstArgs} args - Arguments to find a AnalyticsSettings
|
|
* @example
|
|
* // Get one AnalyticsSettings
|
|
* const analyticsSettings = await prisma.analyticsSettings.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends AnalyticsSettingsFindFirstArgs>(args?: Prisma.SelectSubset<T, AnalyticsSettingsFindFirstArgs<ExtArgs>>): Prisma.Prisma__AnalyticsSettingsClient<runtime.Types.Result.GetResult<Prisma.$AnalyticsSettingsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AnalyticsSettings 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 {AnalyticsSettingsFindFirstOrThrowArgs} args - Arguments to find a AnalyticsSettings
|
|
* @example
|
|
* // Get one AnalyticsSettings
|
|
* const analyticsSettings = await prisma.analyticsSettings.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends AnalyticsSettingsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AnalyticsSettingsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AnalyticsSettingsClient<runtime.Types.Result.GetResult<Prisma.$AnalyticsSettingsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more AnalyticsSettings 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 {AnalyticsSettingsFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all AnalyticsSettings
|
|
* const analyticsSettings = await prisma.analyticsSettings.findMany()
|
|
*
|
|
* // Get first 10 AnalyticsSettings
|
|
* const analyticsSettings = await prisma.analyticsSettings.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const analyticsSettingsWithIdOnly = await prisma.analyticsSettings.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends AnalyticsSettingsFindManyArgs>(args?: Prisma.SelectSubset<T, AnalyticsSettingsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AnalyticsSettingsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a AnalyticsSettings.
|
|
* @param {AnalyticsSettingsCreateArgs} args - Arguments to create a AnalyticsSettings.
|
|
* @example
|
|
* // Create one AnalyticsSettings
|
|
* const AnalyticsSettings = await prisma.analyticsSettings.create({
|
|
* data: {
|
|
* // ... data to create a AnalyticsSettings
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends AnalyticsSettingsCreateArgs>(args: Prisma.SelectSubset<T, AnalyticsSettingsCreateArgs<ExtArgs>>): Prisma.Prisma__AnalyticsSettingsClient<runtime.Types.Result.GetResult<Prisma.$AnalyticsSettingsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many AnalyticsSettings.
|
|
* @param {AnalyticsSettingsCreateManyArgs} args - Arguments to create many AnalyticsSettings.
|
|
* @example
|
|
* // Create many AnalyticsSettings
|
|
* const analyticsSettings = await prisma.analyticsSettings.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends AnalyticsSettingsCreateManyArgs>(args?: Prisma.SelectSubset<T, AnalyticsSettingsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many AnalyticsSettings and returns the data saved in the database.
|
|
* @param {AnalyticsSettingsCreateManyAndReturnArgs} args - Arguments to create many AnalyticsSettings.
|
|
* @example
|
|
* // Create many AnalyticsSettings
|
|
* const analyticsSettings = await prisma.analyticsSettings.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many AnalyticsSettings and only return the `id`
|
|
* const analyticsSettingsWithIdOnly = await prisma.analyticsSettings.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 AnalyticsSettingsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AnalyticsSettingsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AnalyticsSettingsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a AnalyticsSettings.
|
|
* @param {AnalyticsSettingsDeleteArgs} args - Arguments to delete one AnalyticsSettings.
|
|
* @example
|
|
* // Delete one AnalyticsSettings
|
|
* const AnalyticsSettings = await prisma.analyticsSettings.delete({
|
|
* where: {
|
|
* // ... filter to delete one AnalyticsSettings
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends AnalyticsSettingsDeleteArgs>(args: Prisma.SelectSubset<T, AnalyticsSettingsDeleteArgs<ExtArgs>>): Prisma.Prisma__AnalyticsSettingsClient<runtime.Types.Result.GetResult<Prisma.$AnalyticsSettingsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one AnalyticsSettings.
|
|
* @param {AnalyticsSettingsUpdateArgs} args - Arguments to update one AnalyticsSettings.
|
|
* @example
|
|
* // Update one AnalyticsSettings
|
|
* const analyticsSettings = await prisma.analyticsSettings.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends AnalyticsSettingsUpdateArgs>(args: Prisma.SelectSubset<T, AnalyticsSettingsUpdateArgs<ExtArgs>>): Prisma.Prisma__AnalyticsSettingsClient<runtime.Types.Result.GetResult<Prisma.$AnalyticsSettingsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more AnalyticsSettings.
|
|
* @param {AnalyticsSettingsDeleteManyArgs} args - Arguments to filter AnalyticsSettings to delete.
|
|
* @example
|
|
* // Delete a few AnalyticsSettings
|
|
* const { count } = await prisma.analyticsSettings.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends AnalyticsSettingsDeleteManyArgs>(args?: Prisma.SelectSubset<T, AnalyticsSettingsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AnalyticsSettings.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AnalyticsSettingsUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many AnalyticsSettings
|
|
* const analyticsSettings = await prisma.analyticsSettings.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends AnalyticsSettingsUpdateManyArgs>(args: Prisma.SelectSubset<T, AnalyticsSettingsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AnalyticsSettings and returns the data updated in the database.
|
|
* @param {AnalyticsSettingsUpdateManyAndReturnArgs} args - Arguments to update many AnalyticsSettings.
|
|
* @example
|
|
* // Update many AnalyticsSettings
|
|
* const analyticsSettings = await prisma.analyticsSettings.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more AnalyticsSettings and only return the `id`
|
|
* const analyticsSettingsWithIdOnly = await prisma.analyticsSettings.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 AnalyticsSettingsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AnalyticsSettingsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AnalyticsSettingsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one AnalyticsSettings.
|
|
* @param {AnalyticsSettingsUpsertArgs} args - Arguments to update or create a AnalyticsSettings.
|
|
* @example
|
|
* // Update or create a AnalyticsSettings
|
|
* const analyticsSettings = await prisma.analyticsSettings.upsert({
|
|
* create: {
|
|
* // ... data to create a AnalyticsSettings
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the AnalyticsSettings we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends AnalyticsSettingsUpsertArgs>(args: Prisma.SelectSubset<T, AnalyticsSettingsUpsertArgs<ExtArgs>>): Prisma.Prisma__AnalyticsSettingsClient<runtime.Types.Result.GetResult<Prisma.$AnalyticsSettingsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of AnalyticsSettings.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AnalyticsSettingsCountArgs} args - Arguments to filter AnalyticsSettings to count.
|
|
* @example
|
|
* // Count the number of AnalyticsSettings
|
|
* const count = await prisma.analyticsSettings.count({
|
|
* where: {
|
|
* // ... the filter for the AnalyticsSettings we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends AnalyticsSettingsCountArgs>(
|
|
args?: Prisma.Subset<T, AnalyticsSettingsCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], AnalyticsSettingsCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a AnalyticsSettings.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AnalyticsSettingsAggregateArgs} 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 AnalyticsSettingsAggregateArgs>(args: Prisma.Subset<T, AnalyticsSettingsAggregateArgs>): Prisma.PrismaPromise<GetAnalyticsSettingsAggregateType<T>>
|
|
|
|
/**
|
|
* Group by AnalyticsSettings.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AnalyticsSettingsGroupByArgs} 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 AnalyticsSettingsGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: AnalyticsSettingsGroupByArgs['orderBy'] }
|
|
: { orderBy?: AnalyticsSettingsGroupByArgs['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, AnalyticsSettingsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAnalyticsSettingsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the AnalyticsSettings model
|
|
*/
|
|
readonly fields: AnalyticsSettingsFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for AnalyticsSettings.
|
|
* 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__AnalyticsSettingsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the AnalyticsSettings model
|
|
*/
|
|
export interface AnalyticsSettingsFieldRefs {
|
|
readonly id: Prisma.FieldRef<"AnalyticsSettings", 'String'>
|
|
readonly public: Prisma.FieldRef<"AnalyticsSettings", 'Boolean'>
|
|
readonly ignorePages: Prisma.FieldRef<"AnalyticsSettings", 'String'>
|
|
readonly onlyPages: Prisma.FieldRef<"AnalyticsSettings", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* AnalyticsSettings findUnique
|
|
*/
|
|
export type AnalyticsSettingsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AnalyticsSettings
|
|
*/
|
|
select?: Prisma.AnalyticsSettingsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AnalyticsSettings
|
|
*/
|
|
omit?: Prisma.AnalyticsSettingsOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AnalyticsSettings to fetch.
|
|
*/
|
|
where: Prisma.AnalyticsSettingsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AnalyticsSettings findUniqueOrThrow
|
|
*/
|
|
export type AnalyticsSettingsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AnalyticsSettings
|
|
*/
|
|
select?: Prisma.AnalyticsSettingsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AnalyticsSettings
|
|
*/
|
|
omit?: Prisma.AnalyticsSettingsOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AnalyticsSettings to fetch.
|
|
*/
|
|
where: Prisma.AnalyticsSettingsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AnalyticsSettings findFirst
|
|
*/
|
|
export type AnalyticsSettingsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AnalyticsSettings
|
|
*/
|
|
select?: Prisma.AnalyticsSettingsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AnalyticsSettings
|
|
*/
|
|
omit?: Prisma.AnalyticsSettingsOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AnalyticsSettings to fetch.
|
|
*/
|
|
where?: Prisma.AnalyticsSettingsWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AnalyticsSettings to fetch.
|
|
*/
|
|
orderBy?: Prisma.AnalyticsSettingsOrderByWithRelationInput | Prisma.AnalyticsSettingsOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AnalyticsSettings.
|
|
*/
|
|
cursor?: Prisma.AnalyticsSettingsWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AnalyticsSettings 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` AnalyticsSettings.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AnalyticsSettings.
|
|
*/
|
|
distinct?: Prisma.AnalyticsSettingsScalarFieldEnum | Prisma.AnalyticsSettingsScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AnalyticsSettings findFirstOrThrow
|
|
*/
|
|
export type AnalyticsSettingsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AnalyticsSettings
|
|
*/
|
|
select?: Prisma.AnalyticsSettingsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AnalyticsSettings
|
|
*/
|
|
omit?: Prisma.AnalyticsSettingsOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AnalyticsSettings to fetch.
|
|
*/
|
|
where?: Prisma.AnalyticsSettingsWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AnalyticsSettings to fetch.
|
|
*/
|
|
orderBy?: Prisma.AnalyticsSettingsOrderByWithRelationInput | Prisma.AnalyticsSettingsOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AnalyticsSettings.
|
|
*/
|
|
cursor?: Prisma.AnalyticsSettingsWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AnalyticsSettings 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` AnalyticsSettings.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AnalyticsSettings.
|
|
*/
|
|
distinct?: Prisma.AnalyticsSettingsScalarFieldEnum | Prisma.AnalyticsSettingsScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AnalyticsSettings findMany
|
|
*/
|
|
export type AnalyticsSettingsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AnalyticsSettings
|
|
*/
|
|
select?: Prisma.AnalyticsSettingsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AnalyticsSettings
|
|
*/
|
|
omit?: Prisma.AnalyticsSettingsOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AnalyticsSettings to fetch.
|
|
*/
|
|
where?: Prisma.AnalyticsSettingsWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AnalyticsSettings to fetch.
|
|
*/
|
|
orderBy?: Prisma.AnalyticsSettingsOrderByWithRelationInput | Prisma.AnalyticsSettingsOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing AnalyticsSettings.
|
|
*/
|
|
cursor?: Prisma.AnalyticsSettingsWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AnalyticsSettings 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` AnalyticsSettings.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AnalyticsSettings.
|
|
*/
|
|
distinct?: Prisma.AnalyticsSettingsScalarFieldEnum | Prisma.AnalyticsSettingsScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AnalyticsSettings create
|
|
*/
|
|
export type AnalyticsSettingsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AnalyticsSettings
|
|
*/
|
|
select?: Prisma.AnalyticsSettingsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AnalyticsSettings
|
|
*/
|
|
omit?: Prisma.AnalyticsSettingsOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a AnalyticsSettings.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AnalyticsSettingsCreateInput, Prisma.AnalyticsSettingsUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AnalyticsSettings createMany
|
|
*/
|
|
export type AnalyticsSettingsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AnalyticsSettings.
|
|
*/
|
|
data: Prisma.AnalyticsSettingsCreateManyInput | Prisma.AnalyticsSettingsCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AnalyticsSettings createManyAndReturn
|
|
*/
|
|
export type AnalyticsSettingsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AnalyticsSettings
|
|
*/
|
|
select?: Prisma.AnalyticsSettingsSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AnalyticsSettings
|
|
*/
|
|
omit?: Prisma.AnalyticsSettingsOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many AnalyticsSettings.
|
|
*/
|
|
data: Prisma.AnalyticsSettingsCreateManyInput | Prisma.AnalyticsSettingsCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AnalyticsSettings update
|
|
*/
|
|
export type AnalyticsSettingsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AnalyticsSettings
|
|
*/
|
|
select?: Prisma.AnalyticsSettingsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AnalyticsSettings
|
|
*/
|
|
omit?: Prisma.AnalyticsSettingsOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a AnalyticsSettings.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AnalyticsSettingsUpdateInput, Prisma.AnalyticsSettingsUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AnalyticsSettings to update.
|
|
*/
|
|
where: Prisma.AnalyticsSettingsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AnalyticsSettings updateMany
|
|
*/
|
|
export type AnalyticsSettingsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AnalyticsSettings.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AnalyticsSettingsUpdateManyMutationInput, Prisma.AnalyticsSettingsUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AnalyticsSettings to update
|
|
*/
|
|
where?: Prisma.AnalyticsSettingsWhereInput
|
|
/**
|
|
* Limit how many AnalyticsSettings to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AnalyticsSettings updateManyAndReturn
|
|
*/
|
|
export type AnalyticsSettingsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AnalyticsSettings
|
|
*/
|
|
select?: Prisma.AnalyticsSettingsSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AnalyticsSettings
|
|
*/
|
|
omit?: Prisma.AnalyticsSettingsOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update AnalyticsSettings.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AnalyticsSettingsUpdateManyMutationInput, Prisma.AnalyticsSettingsUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AnalyticsSettings to update
|
|
*/
|
|
where?: Prisma.AnalyticsSettingsWhereInput
|
|
/**
|
|
* Limit how many AnalyticsSettings to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AnalyticsSettings upsert
|
|
*/
|
|
export type AnalyticsSettingsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AnalyticsSettings
|
|
*/
|
|
select?: Prisma.AnalyticsSettingsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AnalyticsSettings
|
|
*/
|
|
omit?: Prisma.AnalyticsSettingsOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the AnalyticsSettings to update in case it exists.
|
|
*/
|
|
where: Prisma.AnalyticsSettingsWhereUniqueInput
|
|
/**
|
|
* In case the AnalyticsSettings found by the `where` argument doesn't exist, create a new AnalyticsSettings with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.AnalyticsSettingsCreateInput, Prisma.AnalyticsSettingsUncheckedCreateInput>
|
|
/**
|
|
* In case the AnalyticsSettings was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.AnalyticsSettingsUpdateInput, Prisma.AnalyticsSettingsUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AnalyticsSettings delete
|
|
*/
|
|
export type AnalyticsSettingsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AnalyticsSettings
|
|
*/
|
|
select?: Prisma.AnalyticsSettingsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AnalyticsSettings
|
|
*/
|
|
omit?: Prisma.AnalyticsSettingsOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which AnalyticsSettings to delete.
|
|
*/
|
|
where: Prisma.AnalyticsSettingsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AnalyticsSettings deleteMany
|
|
*/
|
|
export type AnalyticsSettingsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AnalyticsSettings to delete
|
|
*/
|
|
where?: Prisma.AnalyticsSettingsWhereInput
|
|
/**
|
|
* Limit how many AnalyticsSettings to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AnalyticsSettings without action
|
|
*/
|
|
export type AnalyticsSettingsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AnalyticsSettings
|
|
*/
|
|
select?: Prisma.AnalyticsSettingsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AnalyticsSettings
|
|
*/
|
|
omit?: Prisma.AnalyticsSettingsOmit<ExtArgs> | null
|
|
}
|