1131 lines
40 KiB
TypeScript
1131 lines
40 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 `ScraperCache` 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 ScraperCache
|
|
*
|
|
*/
|
|
export type ScraperCacheModel = runtime.Types.Result.DefaultSelection<Prisma.$ScraperCachePayload>
|
|
|
|
export type AggregateScraperCache = {
|
|
_count: ScraperCacheCountAggregateOutputType | null
|
|
_avg: ScraperCacheAvgAggregateOutputType | null
|
|
_sum: ScraperCacheSumAggregateOutputType | null
|
|
_min: ScraperCacheMinAggregateOutputType | null
|
|
_max: ScraperCacheMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type ScraperCacheAvgAggregateOutputType = {
|
|
id: number | null
|
|
}
|
|
|
|
export type ScraperCacheSumAggregateOutputType = {
|
|
id: number | null
|
|
}
|
|
|
|
export type ScraperCacheMinAggregateOutputType = {
|
|
id: number | null
|
|
scraperName: string | null
|
|
lastDataHash: string | null
|
|
lastUpdateAt: Date | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
}
|
|
|
|
export type ScraperCacheMaxAggregateOutputType = {
|
|
id: number | null
|
|
scraperName: string | null
|
|
lastDataHash: string | null
|
|
lastUpdateAt: Date | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
}
|
|
|
|
export type ScraperCacheCountAggregateOutputType = {
|
|
id: number
|
|
scraperName: number
|
|
lastDataHash: number
|
|
lastUpdateAt: number
|
|
metadata: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type ScraperCacheAvgAggregateInputType = {
|
|
id?: true
|
|
}
|
|
|
|
export type ScraperCacheSumAggregateInputType = {
|
|
id?: true
|
|
}
|
|
|
|
export type ScraperCacheMinAggregateInputType = {
|
|
id?: true
|
|
scraperName?: true
|
|
lastDataHash?: true
|
|
lastUpdateAt?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
}
|
|
|
|
export type ScraperCacheMaxAggregateInputType = {
|
|
id?: true
|
|
scraperName?: true
|
|
lastDataHash?: true
|
|
lastUpdateAt?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
}
|
|
|
|
export type ScraperCacheCountAggregateInputType = {
|
|
id?: true
|
|
scraperName?: true
|
|
lastDataHash?: true
|
|
lastUpdateAt?: true
|
|
metadata?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type ScraperCacheAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which ScraperCache to aggregate.
|
|
*/
|
|
where?: Prisma.ScraperCacheWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ScraperCaches to fetch.
|
|
*/
|
|
orderBy?: Prisma.ScraperCacheOrderByWithRelationInput | Prisma.ScraperCacheOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.ScraperCacheWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ScraperCaches 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` ScraperCaches.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned ScraperCaches
|
|
**/
|
|
_count?: true | ScraperCacheCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: ScraperCacheAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: ScraperCacheSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: ScraperCacheMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: ScraperCacheMaxAggregateInputType
|
|
}
|
|
|
|
export type GetScraperCacheAggregateType<T extends ScraperCacheAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateScraperCache]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateScraperCache[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateScraperCache[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ScraperCacheGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.ScraperCacheWhereInput
|
|
orderBy?: Prisma.ScraperCacheOrderByWithAggregationInput | Prisma.ScraperCacheOrderByWithAggregationInput[]
|
|
by: Prisma.ScraperCacheScalarFieldEnum[] | Prisma.ScraperCacheScalarFieldEnum
|
|
having?: Prisma.ScraperCacheScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: ScraperCacheCountAggregateInputType | true
|
|
_avg?: ScraperCacheAvgAggregateInputType
|
|
_sum?: ScraperCacheSumAggregateInputType
|
|
_min?: ScraperCacheMinAggregateInputType
|
|
_max?: ScraperCacheMaxAggregateInputType
|
|
}
|
|
|
|
export type ScraperCacheGroupByOutputType = {
|
|
id: number
|
|
scraperName: string
|
|
lastDataHash: string | null
|
|
lastUpdateAt: Date
|
|
metadata: runtime.JsonValue | null
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
_count: ScraperCacheCountAggregateOutputType | null
|
|
_avg: ScraperCacheAvgAggregateOutputType | null
|
|
_sum: ScraperCacheSumAggregateOutputType | null
|
|
_min: ScraperCacheMinAggregateOutputType | null
|
|
_max: ScraperCacheMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetScraperCacheGroupByPayload<T extends ScraperCacheGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<ScraperCacheGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof ScraperCacheGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], ScraperCacheGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], ScraperCacheGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type ScraperCacheWhereInput = {
|
|
AND?: Prisma.ScraperCacheWhereInput | Prisma.ScraperCacheWhereInput[]
|
|
OR?: Prisma.ScraperCacheWhereInput[]
|
|
NOT?: Prisma.ScraperCacheWhereInput | Prisma.ScraperCacheWhereInput[]
|
|
id?: Prisma.IntFilter<"ScraperCache"> | number
|
|
scraperName?: Prisma.StringFilter<"ScraperCache"> | string
|
|
lastDataHash?: Prisma.StringNullableFilter<"ScraperCache"> | string | null
|
|
lastUpdateAt?: Prisma.DateTimeFilter<"ScraperCache"> | Date | string
|
|
metadata?: Prisma.JsonNullableFilter<"ScraperCache">
|
|
createdAt?: Prisma.DateTimeFilter<"ScraperCache"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"ScraperCache"> | Date | string
|
|
}
|
|
|
|
export type ScraperCacheOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
scraperName?: Prisma.SortOrder
|
|
lastDataHash?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
lastUpdateAt?: Prisma.SortOrder
|
|
metadata?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
_relevance?: Prisma.ScraperCacheOrderByRelevanceInput
|
|
}
|
|
|
|
export type ScraperCacheWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: number
|
|
scraperName?: string
|
|
AND?: Prisma.ScraperCacheWhereInput | Prisma.ScraperCacheWhereInput[]
|
|
OR?: Prisma.ScraperCacheWhereInput[]
|
|
NOT?: Prisma.ScraperCacheWhereInput | Prisma.ScraperCacheWhereInput[]
|
|
lastDataHash?: Prisma.StringNullableFilter<"ScraperCache"> | string | null
|
|
lastUpdateAt?: Prisma.DateTimeFilter<"ScraperCache"> | Date | string
|
|
metadata?: Prisma.JsonNullableFilter<"ScraperCache">
|
|
createdAt?: Prisma.DateTimeFilter<"ScraperCache"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"ScraperCache"> | Date | string
|
|
}, "id" | "scraperName">
|
|
|
|
export type ScraperCacheOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
scraperName?: Prisma.SortOrder
|
|
lastDataHash?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
lastUpdateAt?: Prisma.SortOrder
|
|
metadata?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
_count?: Prisma.ScraperCacheCountOrderByAggregateInput
|
|
_avg?: Prisma.ScraperCacheAvgOrderByAggregateInput
|
|
_max?: Prisma.ScraperCacheMaxOrderByAggregateInput
|
|
_min?: Prisma.ScraperCacheMinOrderByAggregateInput
|
|
_sum?: Prisma.ScraperCacheSumOrderByAggregateInput
|
|
}
|
|
|
|
export type ScraperCacheScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.ScraperCacheScalarWhereWithAggregatesInput | Prisma.ScraperCacheScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.ScraperCacheScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.ScraperCacheScalarWhereWithAggregatesInput | Prisma.ScraperCacheScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.IntWithAggregatesFilter<"ScraperCache"> | number
|
|
scraperName?: Prisma.StringWithAggregatesFilter<"ScraperCache"> | string
|
|
lastDataHash?: Prisma.StringNullableWithAggregatesFilter<"ScraperCache"> | string | null
|
|
lastUpdateAt?: Prisma.DateTimeWithAggregatesFilter<"ScraperCache"> | Date | string
|
|
metadata?: Prisma.JsonNullableWithAggregatesFilter<"ScraperCache">
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"ScraperCache"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ScraperCache"> | Date | string
|
|
}
|
|
|
|
export type ScraperCacheCreateInput = {
|
|
scraperName: string
|
|
lastDataHash?: string | null
|
|
lastUpdateAt: Date | string
|
|
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type ScraperCacheUncheckedCreateInput = {
|
|
id?: number
|
|
scraperName: string
|
|
lastDataHash?: string | null
|
|
lastUpdateAt: Date | string
|
|
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type ScraperCacheUpdateInput = {
|
|
scraperName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastDataHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
lastUpdateAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type ScraperCacheUncheckedUpdateInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
scraperName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastDataHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
lastUpdateAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type ScraperCacheCreateManyInput = {
|
|
id?: number
|
|
scraperName: string
|
|
lastDataHash?: string | null
|
|
lastUpdateAt: Date | string
|
|
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type ScraperCacheUpdateManyMutationInput = {
|
|
scraperName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastDataHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
lastUpdateAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type ScraperCacheUncheckedUpdateManyInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
scraperName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastDataHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
lastUpdateAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type ScraperCacheOrderByRelevanceInput = {
|
|
fields: Prisma.ScraperCacheOrderByRelevanceFieldEnum | Prisma.ScraperCacheOrderByRelevanceFieldEnum[]
|
|
sort: Prisma.SortOrder
|
|
search: string
|
|
}
|
|
|
|
export type ScraperCacheCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
scraperName?: Prisma.SortOrder
|
|
lastDataHash?: Prisma.SortOrder
|
|
lastUpdateAt?: Prisma.SortOrder
|
|
metadata?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ScraperCacheAvgOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ScraperCacheMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
scraperName?: Prisma.SortOrder
|
|
lastDataHash?: Prisma.SortOrder
|
|
lastUpdateAt?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ScraperCacheMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
scraperName?: Prisma.SortOrder
|
|
lastDataHash?: Prisma.SortOrder
|
|
lastUpdateAt?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ScraperCacheSumOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
}
|
|
|
|
|
|
|
|
export type ScraperCacheSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
scraperName?: boolean
|
|
lastDataHash?: boolean
|
|
lastUpdateAt?: boolean
|
|
metadata?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
}, ExtArgs["result"]["scraperCache"]>
|
|
|
|
|
|
|
|
export type ScraperCacheSelectScalar = {
|
|
id?: boolean
|
|
scraperName?: boolean
|
|
lastDataHash?: boolean
|
|
lastUpdateAt?: boolean
|
|
metadata?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
}
|
|
|
|
export type ScraperCacheOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "scraperName" | "lastDataHash" | "lastUpdateAt" | "metadata" | "createdAt" | "updatedAt", ExtArgs["result"]["scraperCache"]>
|
|
|
|
export type $ScraperCachePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "ScraperCache"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: number
|
|
scraperName: string
|
|
lastDataHash: string | null
|
|
lastUpdateAt: Date
|
|
metadata: runtime.JsonValue | null
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
}, ExtArgs["result"]["scraperCache"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type ScraperCacheGetPayload<S extends boolean | null | undefined | ScraperCacheDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ScraperCachePayload, S>
|
|
|
|
export type ScraperCacheCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<ScraperCacheFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: ScraperCacheCountAggregateInputType | true
|
|
}
|
|
|
|
export interface ScraperCacheDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ScraperCache'], meta: { name: 'ScraperCache' } }
|
|
/**
|
|
* Find zero or one ScraperCache that matches the filter.
|
|
* @param {ScraperCacheFindUniqueArgs} args - Arguments to find a ScraperCache
|
|
* @example
|
|
* // Get one ScraperCache
|
|
* const scraperCache = await prisma.scraperCache.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends ScraperCacheFindUniqueArgs>(args: Prisma.SelectSubset<T, ScraperCacheFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ScraperCacheClient<runtime.Types.Result.GetResult<Prisma.$ScraperCachePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one ScraperCache that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {ScraperCacheFindUniqueOrThrowArgs} args - Arguments to find a ScraperCache
|
|
* @example
|
|
* // Get one ScraperCache
|
|
* const scraperCache = await prisma.scraperCache.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends ScraperCacheFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ScraperCacheFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ScraperCacheClient<runtime.Types.Result.GetResult<Prisma.$ScraperCachePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first ScraperCache 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 {ScraperCacheFindFirstArgs} args - Arguments to find a ScraperCache
|
|
* @example
|
|
* // Get one ScraperCache
|
|
* const scraperCache = await prisma.scraperCache.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends ScraperCacheFindFirstArgs>(args?: Prisma.SelectSubset<T, ScraperCacheFindFirstArgs<ExtArgs>>): Prisma.Prisma__ScraperCacheClient<runtime.Types.Result.GetResult<Prisma.$ScraperCachePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first ScraperCache 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 {ScraperCacheFindFirstOrThrowArgs} args - Arguments to find a ScraperCache
|
|
* @example
|
|
* // Get one ScraperCache
|
|
* const scraperCache = await prisma.scraperCache.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends ScraperCacheFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ScraperCacheFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ScraperCacheClient<runtime.Types.Result.GetResult<Prisma.$ScraperCachePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more ScraperCaches 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 {ScraperCacheFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all ScraperCaches
|
|
* const scraperCaches = await prisma.scraperCache.findMany()
|
|
*
|
|
* // Get first 10 ScraperCaches
|
|
* const scraperCaches = await prisma.scraperCache.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const scraperCacheWithIdOnly = await prisma.scraperCache.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends ScraperCacheFindManyArgs>(args?: Prisma.SelectSubset<T, ScraperCacheFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ScraperCachePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a ScraperCache.
|
|
* @param {ScraperCacheCreateArgs} args - Arguments to create a ScraperCache.
|
|
* @example
|
|
* // Create one ScraperCache
|
|
* const ScraperCache = await prisma.scraperCache.create({
|
|
* data: {
|
|
* // ... data to create a ScraperCache
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends ScraperCacheCreateArgs>(args: Prisma.SelectSubset<T, ScraperCacheCreateArgs<ExtArgs>>): Prisma.Prisma__ScraperCacheClient<runtime.Types.Result.GetResult<Prisma.$ScraperCachePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many ScraperCaches.
|
|
* @param {ScraperCacheCreateManyArgs} args - Arguments to create many ScraperCaches.
|
|
* @example
|
|
* // Create many ScraperCaches
|
|
* const scraperCache = await prisma.scraperCache.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends ScraperCacheCreateManyArgs>(args?: Prisma.SelectSubset<T, ScraperCacheCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Delete a ScraperCache.
|
|
* @param {ScraperCacheDeleteArgs} args - Arguments to delete one ScraperCache.
|
|
* @example
|
|
* // Delete one ScraperCache
|
|
* const ScraperCache = await prisma.scraperCache.delete({
|
|
* where: {
|
|
* // ... filter to delete one ScraperCache
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends ScraperCacheDeleteArgs>(args: Prisma.SelectSubset<T, ScraperCacheDeleteArgs<ExtArgs>>): Prisma.Prisma__ScraperCacheClient<runtime.Types.Result.GetResult<Prisma.$ScraperCachePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one ScraperCache.
|
|
* @param {ScraperCacheUpdateArgs} args - Arguments to update one ScraperCache.
|
|
* @example
|
|
* // Update one ScraperCache
|
|
* const scraperCache = await prisma.scraperCache.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends ScraperCacheUpdateArgs>(args: Prisma.SelectSubset<T, ScraperCacheUpdateArgs<ExtArgs>>): Prisma.Prisma__ScraperCacheClient<runtime.Types.Result.GetResult<Prisma.$ScraperCachePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more ScraperCaches.
|
|
* @param {ScraperCacheDeleteManyArgs} args - Arguments to filter ScraperCaches to delete.
|
|
* @example
|
|
* // Delete a few ScraperCaches
|
|
* const { count } = await prisma.scraperCache.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends ScraperCacheDeleteManyArgs>(args?: Prisma.SelectSubset<T, ScraperCacheDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more ScraperCaches.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ScraperCacheUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many ScraperCaches
|
|
* const scraperCache = await prisma.scraperCache.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends ScraperCacheUpdateManyArgs>(args: Prisma.SelectSubset<T, ScraperCacheUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create or update one ScraperCache.
|
|
* @param {ScraperCacheUpsertArgs} args - Arguments to update or create a ScraperCache.
|
|
* @example
|
|
* // Update or create a ScraperCache
|
|
* const scraperCache = await prisma.scraperCache.upsert({
|
|
* create: {
|
|
* // ... data to create a ScraperCache
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the ScraperCache we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends ScraperCacheUpsertArgs>(args: Prisma.SelectSubset<T, ScraperCacheUpsertArgs<ExtArgs>>): Prisma.Prisma__ScraperCacheClient<runtime.Types.Result.GetResult<Prisma.$ScraperCachePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of ScraperCaches.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ScraperCacheCountArgs} args - Arguments to filter ScraperCaches to count.
|
|
* @example
|
|
* // Count the number of ScraperCaches
|
|
* const count = await prisma.scraperCache.count({
|
|
* where: {
|
|
* // ... the filter for the ScraperCaches we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends ScraperCacheCountArgs>(
|
|
args?: Prisma.Subset<T, ScraperCacheCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], ScraperCacheCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a ScraperCache.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ScraperCacheAggregateArgs} 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 ScraperCacheAggregateArgs>(args: Prisma.Subset<T, ScraperCacheAggregateArgs>): Prisma.PrismaPromise<GetScraperCacheAggregateType<T>>
|
|
|
|
/**
|
|
* Group by ScraperCache.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ScraperCacheGroupByArgs} 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 ScraperCacheGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: ScraperCacheGroupByArgs['orderBy'] }
|
|
: { orderBy?: ScraperCacheGroupByArgs['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, ScraperCacheGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetScraperCacheGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the ScraperCache model
|
|
*/
|
|
readonly fields: ScraperCacheFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for ScraperCache.
|
|
* 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__ScraperCacheClient<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 ScraperCache model
|
|
*/
|
|
export interface ScraperCacheFieldRefs {
|
|
readonly id: Prisma.FieldRef<"ScraperCache", 'Int'>
|
|
readonly scraperName: Prisma.FieldRef<"ScraperCache", 'String'>
|
|
readonly lastDataHash: Prisma.FieldRef<"ScraperCache", 'String'>
|
|
readonly lastUpdateAt: Prisma.FieldRef<"ScraperCache", 'DateTime'>
|
|
readonly metadata: Prisma.FieldRef<"ScraperCache", 'Json'>
|
|
readonly createdAt: Prisma.FieldRef<"ScraperCache", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"ScraperCache", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* ScraperCache findUnique
|
|
*/
|
|
export type ScraperCacheFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ScraperCache
|
|
*/
|
|
select?: Prisma.ScraperCacheSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ScraperCache
|
|
*/
|
|
omit?: Prisma.ScraperCacheOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which ScraperCache to fetch.
|
|
*/
|
|
where: Prisma.ScraperCacheWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ScraperCache findUniqueOrThrow
|
|
*/
|
|
export type ScraperCacheFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ScraperCache
|
|
*/
|
|
select?: Prisma.ScraperCacheSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ScraperCache
|
|
*/
|
|
omit?: Prisma.ScraperCacheOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which ScraperCache to fetch.
|
|
*/
|
|
where: Prisma.ScraperCacheWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ScraperCache findFirst
|
|
*/
|
|
export type ScraperCacheFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ScraperCache
|
|
*/
|
|
select?: Prisma.ScraperCacheSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ScraperCache
|
|
*/
|
|
omit?: Prisma.ScraperCacheOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which ScraperCache to fetch.
|
|
*/
|
|
where?: Prisma.ScraperCacheWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ScraperCaches to fetch.
|
|
*/
|
|
orderBy?: Prisma.ScraperCacheOrderByWithRelationInput | Prisma.ScraperCacheOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for ScraperCaches.
|
|
*/
|
|
cursor?: Prisma.ScraperCacheWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ScraperCaches 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` ScraperCaches.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of ScraperCaches.
|
|
*/
|
|
distinct?: Prisma.ScraperCacheScalarFieldEnum | Prisma.ScraperCacheScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* ScraperCache findFirstOrThrow
|
|
*/
|
|
export type ScraperCacheFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ScraperCache
|
|
*/
|
|
select?: Prisma.ScraperCacheSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ScraperCache
|
|
*/
|
|
omit?: Prisma.ScraperCacheOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which ScraperCache to fetch.
|
|
*/
|
|
where?: Prisma.ScraperCacheWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ScraperCaches to fetch.
|
|
*/
|
|
orderBy?: Prisma.ScraperCacheOrderByWithRelationInput | Prisma.ScraperCacheOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for ScraperCaches.
|
|
*/
|
|
cursor?: Prisma.ScraperCacheWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ScraperCaches 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` ScraperCaches.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of ScraperCaches.
|
|
*/
|
|
distinct?: Prisma.ScraperCacheScalarFieldEnum | Prisma.ScraperCacheScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* ScraperCache findMany
|
|
*/
|
|
export type ScraperCacheFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ScraperCache
|
|
*/
|
|
select?: Prisma.ScraperCacheSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ScraperCache
|
|
*/
|
|
omit?: Prisma.ScraperCacheOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which ScraperCaches to fetch.
|
|
*/
|
|
where?: Prisma.ScraperCacheWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ScraperCaches to fetch.
|
|
*/
|
|
orderBy?: Prisma.ScraperCacheOrderByWithRelationInput | Prisma.ScraperCacheOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing ScraperCaches.
|
|
*/
|
|
cursor?: Prisma.ScraperCacheWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ScraperCaches 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` ScraperCaches.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of ScraperCaches.
|
|
*/
|
|
distinct?: Prisma.ScraperCacheScalarFieldEnum | Prisma.ScraperCacheScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* ScraperCache create
|
|
*/
|
|
export type ScraperCacheCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ScraperCache
|
|
*/
|
|
select?: Prisma.ScraperCacheSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ScraperCache
|
|
*/
|
|
omit?: Prisma.ScraperCacheOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a ScraperCache.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ScraperCacheCreateInput, Prisma.ScraperCacheUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* ScraperCache createMany
|
|
*/
|
|
export type ScraperCacheCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many ScraperCaches.
|
|
*/
|
|
data: Prisma.ScraperCacheCreateManyInput | Prisma.ScraperCacheCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* ScraperCache update
|
|
*/
|
|
export type ScraperCacheUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ScraperCache
|
|
*/
|
|
select?: Prisma.ScraperCacheSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ScraperCache
|
|
*/
|
|
omit?: Prisma.ScraperCacheOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a ScraperCache.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ScraperCacheUpdateInput, Prisma.ScraperCacheUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which ScraperCache to update.
|
|
*/
|
|
where: Prisma.ScraperCacheWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ScraperCache updateMany
|
|
*/
|
|
export type ScraperCacheUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update ScraperCaches.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ScraperCacheUpdateManyMutationInput, Prisma.ScraperCacheUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which ScraperCaches to update
|
|
*/
|
|
where?: Prisma.ScraperCacheWhereInput
|
|
/**
|
|
* Limit how many ScraperCaches to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* ScraperCache upsert
|
|
*/
|
|
export type ScraperCacheUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ScraperCache
|
|
*/
|
|
select?: Prisma.ScraperCacheSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ScraperCache
|
|
*/
|
|
omit?: Prisma.ScraperCacheOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the ScraperCache to update in case it exists.
|
|
*/
|
|
where: Prisma.ScraperCacheWhereUniqueInput
|
|
/**
|
|
* In case the ScraperCache found by the `where` argument doesn't exist, create a new ScraperCache with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.ScraperCacheCreateInput, Prisma.ScraperCacheUncheckedCreateInput>
|
|
/**
|
|
* In case the ScraperCache was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.ScraperCacheUpdateInput, Prisma.ScraperCacheUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* ScraperCache delete
|
|
*/
|
|
export type ScraperCacheDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ScraperCache
|
|
*/
|
|
select?: Prisma.ScraperCacheSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ScraperCache
|
|
*/
|
|
omit?: Prisma.ScraperCacheOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which ScraperCache to delete.
|
|
*/
|
|
where: Prisma.ScraperCacheWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ScraperCache deleteMany
|
|
*/
|
|
export type ScraperCacheDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which ScraperCaches to delete
|
|
*/
|
|
where?: Prisma.ScraperCacheWhereInput
|
|
/**
|
|
* Limit how many ScraperCaches to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* ScraperCache without action
|
|
*/
|
|
export type ScraperCacheDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ScraperCache
|
|
*/
|
|
select?: Prisma.ScraperCacheSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ScraperCache
|
|
*/
|
|
omit?: Prisma.ScraperCacheOmit<ExtArgs> | null
|
|
}
|