1459 lines
54 KiB
TypeScript
1459 lines
54 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 `SearchIndexEntry` 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 SearchIndexEntry
|
|
*
|
|
*/
|
|
export type SearchIndexEntryModel = runtime.Types.Result.DefaultSelection<Prisma.$SearchIndexEntryPayload>
|
|
|
|
export type AggregateSearchIndexEntry = {
|
|
_count: SearchIndexEntryCountAggregateOutputType | null
|
|
_min: SearchIndexEntryMinAggregateOutputType | null
|
|
_max: SearchIndexEntryMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type SearchIndexEntryMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
tenantId: string | null
|
|
entityType: string | null
|
|
entityId: string | null
|
|
title: string | null
|
|
subtitle: string | null
|
|
bodyText: string | null
|
|
routePath: string | null
|
|
sourceIndex: string | null
|
|
permissionSubject: string | null
|
|
lastIndexedAt: Date | null
|
|
isArchived: boolean | null
|
|
isDemoData: boolean | null
|
|
}
|
|
|
|
export type SearchIndexEntryMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
tenantId: string | null
|
|
entityType: string | null
|
|
entityId: string | null
|
|
title: string | null
|
|
subtitle: string | null
|
|
bodyText: string | null
|
|
routePath: string | null
|
|
sourceIndex: string | null
|
|
permissionSubject: string | null
|
|
lastIndexedAt: Date | null
|
|
isArchived: boolean | null
|
|
isDemoData: boolean | null
|
|
}
|
|
|
|
export type SearchIndexEntryCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
tenantId: number
|
|
entityType: number
|
|
entityId: number
|
|
title: number
|
|
subtitle: number
|
|
bodyText: number
|
|
routePath: number
|
|
sourceIndex: number
|
|
permissionSubject: number
|
|
lastIndexedAt: number
|
|
isArchived: number
|
|
isDemoData: number
|
|
metadata: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type SearchIndexEntryMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
entityType?: true
|
|
entityId?: true
|
|
title?: true
|
|
subtitle?: true
|
|
bodyText?: true
|
|
routePath?: true
|
|
sourceIndex?: true
|
|
permissionSubject?: true
|
|
lastIndexedAt?: true
|
|
isArchived?: true
|
|
isDemoData?: true
|
|
}
|
|
|
|
export type SearchIndexEntryMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
entityType?: true
|
|
entityId?: true
|
|
title?: true
|
|
subtitle?: true
|
|
bodyText?: true
|
|
routePath?: true
|
|
sourceIndex?: true
|
|
permissionSubject?: true
|
|
lastIndexedAt?: true
|
|
isArchived?: true
|
|
isDemoData?: true
|
|
}
|
|
|
|
export type SearchIndexEntryCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
entityType?: true
|
|
entityId?: true
|
|
title?: true
|
|
subtitle?: true
|
|
bodyText?: true
|
|
routePath?: true
|
|
sourceIndex?: true
|
|
permissionSubject?: true
|
|
lastIndexedAt?: true
|
|
isArchived?: true
|
|
isDemoData?: true
|
|
metadata?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type SearchIndexEntryAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which SearchIndexEntry to aggregate.
|
|
*/
|
|
where?: Prisma.SearchIndexEntryWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of SearchIndexEntries to fetch.
|
|
*/
|
|
orderBy?: Prisma.SearchIndexEntryOrderByWithRelationInput | Prisma.SearchIndexEntryOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.SearchIndexEntryWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` SearchIndexEntries 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` SearchIndexEntries.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned SearchIndexEntries
|
|
**/
|
|
_count?: true | SearchIndexEntryCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: SearchIndexEntryMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: SearchIndexEntryMaxAggregateInputType
|
|
}
|
|
|
|
export type GetSearchIndexEntryAggregateType<T extends SearchIndexEntryAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateSearchIndexEntry]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateSearchIndexEntry[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateSearchIndexEntry[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type SearchIndexEntryGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.SearchIndexEntryWhereInput
|
|
orderBy?: Prisma.SearchIndexEntryOrderByWithAggregationInput | Prisma.SearchIndexEntryOrderByWithAggregationInput[]
|
|
by: Prisma.SearchIndexEntryScalarFieldEnum[] | Prisma.SearchIndexEntryScalarFieldEnum
|
|
having?: Prisma.SearchIndexEntryScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: SearchIndexEntryCountAggregateInputType | true
|
|
_min?: SearchIndexEntryMinAggregateInputType
|
|
_max?: SearchIndexEntryMaxAggregateInputType
|
|
}
|
|
|
|
export type SearchIndexEntryGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
tenantId: string
|
|
entityType: string
|
|
entityId: string
|
|
title: string
|
|
subtitle: string | null
|
|
bodyText: string
|
|
routePath: string
|
|
sourceIndex: string
|
|
permissionSubject: string
|
|
lastIndexedAt: Date
|
|
isArchived: boolean
|
|
isDemoData: boolean
|
|
metadata: runtime.JsonValue
|
|
_count: SearchIndexEntryCountAggregateOutputType | null
|
|
_min: SearchIndexEntryMinAggregateOutputType | null
|
|
_max: SearchIndexEntryMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetSearchIndexEntryGroupByPayload<T extends SearchIndexEntryGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<SearchIndexEntryGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof SearchIndexEntryGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], SearchIndexEntryGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], SearchIndexEntryGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type SearchIndexEntryWhereInput = {
|
|
AND?: Prisma.SearchIndexEntryWhereInput | Prisma.SearchIndexEntryWhereInput[]
|
|
OR?: Prisma.SearchIndexEntryWhereInput[]
|
|
NOT?: Prisma.SearchIndexEntryWhereInput | Prisma.SearchIndexEntryWhereInput[]
|
|
id?: Prisma.StringFilter<"SearchIndexEntry"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"SearchIndexEntry"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"SearchIndexEntry"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"SearchIndexEntry"> | string
|
|
entityType?: Prisma.StringFilter<"SearchIndexEntry"> | string
|
|
entityId?: Prisma.StringFilter<"SearchIndexEntry"> | string
|
|
title?: Prisma.StringFilter<"SearchIndexEntry"> | string
|
|
subtitle?: Prisma.StringNullableFilter<"SearchIndexEntry"> | string | null
|
|
bodyText?: Prisma.StringFilter<"SearchIndexEntry"> | string
|
|
routePath?: Prisma.StringFilter<"SearchIndexEntry"> | string
|
|
sourceIndex?: Prisma.StringFilter<"SearchIndexEntry"> | string
|
|
permissionSubject?: Prisma.StringFilter<"SearchIndexEntry"> | string
|
|
lastIndexedAt?: Prisma.DateTimeFilter<"SearchIndexEntry"> | Date | string
|
|
isArchived?: Prisma.BoolFilter<"SearchIndexEntry"> | boolean
|
|
isDemoData?: Prisma.BoolFilter<"SearchIndexEntry"> | boolean
|
|
metadata?: Prisma.JsonFilter<"SearchIndexEntry">
|
|
}
|
|
|
|
export type SearchIndexEntryOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
entityType?: Prisma.SortOrder
|
|
entityId?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
subtitle?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
bodyText?: Prisma.SortOrder
|
|
routePath?: Prisma.SortOrder
|
|
sourceIndex?: Prisma.SortOrder
|
|
permissionSubject?: Prisma.SortOrder
|
|
lastIndexedAt?: Prisma.SortOrder
|
|
isArchived?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
metadata?: Prisma.SortOrder
|
|
}
|
|
|
|
export type SearchIndexEntryWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
tenantId_entityType_entityId?: Prisma.SearchIndexEntryTenantIdEntityTypeEntityIdCompoundUniqueInput
|
|
AND?: Prisma.SearchIndexEntryWhereInput | Prisma.SearchIndexEntryWhereInput[]
|
|
OR?: Prisma.SearchIndexEntryWhereInput[]
|
|
NOT?: Prisma.SearchIndexEntryWhereInput | Prisma.SearchIndexEntryWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"SearchIndexEntry"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"SearchIndexEntry"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"SearchIndexEntry"> | string
|
|
entityType?: Prisma.StringFilter<"SearchIndexEntry"> | string
|
|
entityId?: Prisma.StringFilter<"SearchIndexEntry"> | string
|
|
title?: Prisma.StringFilter<"SearchIndexEntry"> | string
|
|
subtitle?: Prisma.StringNullableFilter<"SearchIndexEntry"> | string | null
|
|
bodyText?: Prisma.StringFilter<"SearchIndexEntry"> | string
|
|
routePath?: Prisma.StringFilter<"SearchIndexEntry"> | string
|
|
sourceIndex?: Prisma.StringFilter<"SearchIndexEntry"> | string
|
|
permissionSubject?: Prisma.StringFilter<"SearchIndexEntry"> | string
|
|
lastIndexedAt?: Prisma.DateTimeFilter<"SearchIndexEntry"> | Date | string
|
|
isArchived?: Prisma.BoolFilter<"SearchIndexEntry"> | boolean
|
|
isDemoData?: Prisma.BoolFilter<"SearchIndexEntry"> | boolean
|
|
metadata?: Prisma.JsonFilter<"SearchIndexEntry">
|
|
}, "id" | "tenantId_entityType_entityId">
|
|
|
|
export type SearchIndexEntryOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
entityType?: Prisma.SortOrder
|
|
entityId?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
subtitle?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
bodyText?: Prisma.SortOrder
|
|
routePath?: Prisma.SortOrder
|
|
sourceIndex?: Prisma.SortOrder
|
|
permissionSubject?: Prisma.SortOrder
|
|
lastIndexedAt?: Prisma.SortOrder
|
|
isArchived?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
metadata?: Prisma.SortOrder
|
|
_count?: Prisma.SearchIndexEntryCountOrderByAggregateInput
|
|
_max?: Prisma.SearchIndexEntryMaxOrderByAggregateInput
|
|
_min?: Prisma.SearchIndexEntryMinOrderByAggregateInput
|
|
}
|
|
|
|
export type SearchIndexEntryScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.SearchIndexEntryScalarWhereWithAggregatesInput | Prisma.SearchIndexEntryScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.SearchIndexEntryScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.SearchIndexEntryScalarWhereWithAggregatesInput | Prisma.SearchIndexEntryScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"SearchIndexEntry"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"SearchIndexEntry"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"SearchIndexEntry"> | Date | string
|
|
tenantId?: Prisma.StringWithAggregatesFilter<"SearchIndexEntry"> | string
|
|
entityType?: Prisma.StringWithAggregatesFilter<"SearchIndexEntry"> | string
|
|
entityId?: Prisma.StringWithAggregatesFilter<"SearchIndexEntry"> | string
|
|
title?: Prisma.StringWithAggregatesFilter<"SearchIndexEntry"> | string
|
|
subtitle?: Prisma.StringNullableWithAggregatesFilter<"SearchIndexEntry"> | string | null
|
|
bodyText?: Prisma.StringWithAggregatesFilter<"SearchIndexEntry"> | string
|
|
routePath?: Prisma.StringWithAggregatesFilter<"SearchIndexEntry"> | string
|
|
sourceIndex?: Prisma.StringWithAggregatesFilter<"SearchIndexEntry"> | string
|
|
permissionSubject?: Prisma.StringWithAggregatesFilter<"SearchIndexEntry"> | string
|
|
lastIndexedAt?: Prisma.DateTimeWithAggregatesFilter<"SearchIndexEntry"> | Date | string
|
|
isArchived?: Prisma.BoolWithAggregatesFilter<"SearchIndexEntry"> | boolean
|
|
isDemoData?: Prisma.BoolWithAggregatesFilter<"SearchIndexEntry"> | boolean
|
|
metadata?: Prisma.JsonWithAggregatesFilter<"SearchIndexEntry">
|
|
}
|
|
|
|
export type SearchIndexEntryCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
entityType: string
|
|
entityId: string
|
|
title: string
|
|
subtitle?: string | null
|
|
bodyText?: string
|
|
routePath: string
|
|
sourceIndex: string
|
|
permissionSubject: string
|
|
lastIndexedAt?: Date | string
|
|
isArchived?: boolean
|
|
isDemoData?: boolean
|
|
metadata?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
}
|
|
|
|
export type SearchIndexEntryUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
entityType: string
|
|
entityId: string
|
|
title: string
|
|
subtitle?: string | null
|
|
bodyText?: string
|
|
routePath: string
|
|
sourceIndex: string
|
|
permissionSubject: string
|
|
lastIndexedAt?: Date | string
|
|
isArchived?: boolean
|
|
isDemoData?: boolean
|
|
metadata?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
}
|
|
|
|
export type SearchIndexEntryUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entityType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entityId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.StringFieldUpdateOperationsInput | string
|
|
routePath?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sourceIndex?: Prisma.StringFieldUpdateOperationsInput | string
|
|
permissionSubject?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastIndexedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
metadata?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
}
|
|
|
|
export type SearchIndexEntryUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entityType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entityId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.StringFieldUpdateOperationsInput | string
|
|
routePath?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sourceIndex?: Prisma.StringFieldUpdateOperationsInput | string
|
|
permissionSubject?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastIndexedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
metadata?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
}
|
|
|
|
export type SearchIndexEntryCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
entityType: string
|
|
entityId: string
|
|
title: string
|
|
subtitle?: string | null
|
|
bodyText?: string
|
|
routePath: string
|
|
sourceIndex: string
|
|
permissionSubject: string
|
|
lastIndexedAt?: Date | string
|
|
isArchived?: boolean
|
|
isDemoData?: boolean
|
|
metadata?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
}
|
|
|
|
export type SearchIndexEntryUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entityType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entityId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.StringFieldUpdateOperationsInput | string
|
|
routePath?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sourceIndex?: Prisma.StringFieldUpdateOperationsInput | string
|
|
permissionSubject?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastIndexedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
metadata?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
}
|
|
|
|
export type SearchIndexEntryUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entityType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
entityId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
subtitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
bodyText?: Prisma.StringFieldUpdateOperationsInput | string
|
|
routePath?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sourceIndex?: Prisma.StringFieldUpdateOperationsInput | string
|
|
permissionSubject?: Prisma.StringFieldUpdateOperationsInput | string
|
|
lastIndexedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
metadata?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
}
|
|
|
|
export type SearchIndexEntryTenantIdEntityTypeEntityIdCompoundUniqueInput = {
|
|
tenantId: string
|
|
entityType: string
|
|
entityId: string
|
|
}
|
|
|
|
export type SearchIndexEntryCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
entityType?: Prisma.SortOrder
|
|
entityId?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
subtitle?: Prisma.SortOrder
|
|
bodyText?: Prisma.SortOrder
|
|
routePath?: Prisma.SortOrder
|
|
sourceIndex?: Prisma.SortOrder
|
|
permissionSubject?: Prisma.SortOrder
|
|
lastIndexedAt?: Prisma.SortOrder
|
|
isArchived?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
metadata?: Prisma.SortOrder
|
|
}
|
|
|
|
export type SearchIndexEntryMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
entityType?: Prisma.SortOrder
|
|
entityId?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
subtitle?: Prisma.SortOrder
|
|
bodyText?: Prisma.SortOrder
|
|
routePath?: Prisma.SortOrder
|
|
sourceIndex?: Prisma.SortOrder
|
|
permissionSubject?: Prisma.SortOrder
|
|
lastIndexedAt?: Prisma.SortOrder
|
|
isArchived?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
}
|
|
|
|
export type SearchIndexEntryMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
entityType?: Prisma.SortOrder
|
|
entityId?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
subtitle?: Prisma.SortOrder
|
|
bodyText?: Prisma.SortOrder
|
|
routePath?: Prisma.SortOrder
|
|
sourceIndex?: Prisma.SortOrder
|
|
permissionSubject?: Prisma.SortOrder
|
|
lastIndexedAt?: Prisma.SortOrder
|
|
isArchived?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
}
|
|
|
|
|
|
|
|
export type SearchIndexEntrySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
entityType?: boolean
|
|
entityId?: boolean
|
|
title?: boolean
|
|
subtitle?: boolean
|
|
bodyText?: boolean
|
|
routePath?: boolean
|
|
sourceIndex?: boolean
|
|
permissionSubject?: boolean
|
|
lastIndexedAt?: boolean
|
|
isArchived?: boolean
|
|
isDemoData?: boolean
|
|
metadata?: boolean
|
|
}, ExtArgs["result"]["searchIndexEntry"]>
|
|
|
|
export type SearchIndexEntrySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
entityType?: boolean
|
|
entityId?: boolean
|
|
title?: boolean
|
|
subtitle?: boolean
|
|
bodyText?: boolean
|
|
routePath?: boolean
|
|
sourceIndex?: boolean
|
|
permissionSubject?: boolean
|
|
lastIndexedAt?: boolean
|
|
isArchived?: boolean
|
|
isDemoData?: boolean
|
|
metadata?: boolean
|
|
}, ExtArgs["result"]["searchIndexEntry"]>
|
|
|
|
export type SearchIndexEntrySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
entityType?: boolean
|
|
entityId?: boolean
|
|
title?: boolean
|
|
subtitle?: boolean
|
|
bodyText?: boolean
|
|
routePath?: boolean
|
|
sourceIndex?: boolean
|
|
permissionSubject?: boolean
|
|
lastIndexedAt?: boolean
|
|
isArchived?: boolean
|
|
isDemoData?: boolean
|
|
metadata?: boolean
|
|
}, ExtArgs["result"]["searchIndexEntry"]>
|
|
|
|
export type SearchIndexEntrySelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
entityType?: boolean
|
|
entityId?: boolean
|
|
title?: boolean
|
|
subtitle?: boolean
|
|
bodyText?: boolean
|
|
routePath?: boolean
|
|
sourceIndex?: boolean
|
|
permissionSubject?: boolean
|
|
lastIndexedAt?: boolean
|
|
isArchived?: boolean
|
|
isDemoData?: boolean
|
|
metadata?: boolean
|
|
}
|
|
|
|
export type SearchIndexEntryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "entityType" | "entityId" | "title" | "subtitle" | "bodyText" | "routePath" | "sourceIndex" | "permissionSubject" | "lastIndexedAt" | "isArchived" | "isDemoData" | "metadata", ExtArgs["result"]["searchIndexEntry"]>
|
|
|
|
export type $SearchIndexEntryPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "SearchIndexEntry"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
tenantId: string
|
|
entityType: string
|
|
entityId: string
|
|
title: string
|
|
subtitle: string | null
|
|
bodyText: string
|
|
routePath: string
|
|
sourceIndex: string
|
|
permissionSubject: string
|
|
lastIndexedAt: Date
|
|
isArchived: boolean
|
|
isDemoData: boolean
|
|
metadata: runtime.JsonValue
|
|
}, ExtArgs["result"]["searchIndexEntry"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type SearchIndexEntryGetPayload<S extends boolean | null | undefined | SearchIndexEntryDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$SearchIndexEntryPayload, S>
|
|
|
|
export type SearchIndexEntryCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<SearchIndexEntryFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: SearchIndexEntryCountAggregateInputType | true
|
|
}
|
|
|
|
export interface SearchIndexEntryDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['SearchIndexEntry'], meta: { name: 'SearchIndexEntry' } }
|
|
/**
|
|
* Find zero or one SearchIndexEntry that matches the filter.
|
|
* @param {SearchIndexEntryFindUniqueArgs} args - Arguments to find a SearchIndexEntry
|
|
* @example
|
|
* // Get one SearchIndexEntry
|
|
* const searchIndexEntry = await prisma.searchIndexEntry.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends SearchIndexEntryFindUniqueArgs>(args: Prisma.SelectSubset<T, SearchIndexEntryFindUniqueArgs<ExtArgs>>): Prisma.Prisma__SearchIndexEntryClient<runtime.Types.Result.GetResult<Prisma.$SearchIndexEntryPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one SearchIndexEntry that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {SearchIndexEntryFindUniqueOrThrowArgs} args - Arguments to find a SearchIndexEntry
|
|
* @example
|
|
* // Get one SearchIndexEntry
|
|
* const searchIndexEntry = await prisma.searchIndexEntry.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends SearchIndexEntryFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, SearchIndexEntryFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__SearchIndexEntryClient<runtime.Types.Result.GetResult<Prisma.$SearchIndexEntryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first SearchIndexEntry 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 {SearchIndexEntryFindFirstArgs} args - Arguments to find a SearchIndexEntry
|
|
* @example
|
|
* // Get one SearchIndexEntry
|
|
* const searchIndexEntry = await prisma.searchIndexEntry.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends SearchIndexEntryFindFirstArgs>(args?: Prisma.SelectSubset<T, SearchIndexEntryFindFirstArgs<ExtArgs>>): Prisma.Prisma__SearchIndexEntryClient<runtime.Types.Result.GetResult<Prisma.$SearchIndexEntryPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first SearchIndexEntry 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 {SearchIndexEntryFindFirstOrThrowArgs} args - Arguments to find a SearchIndexEntry
|
|
* @example
|
|
* // Get one SearchIndexEntry
|
|
* const searchIndexEntry = await prisma.searchIndexEntry.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends SearchIndexEntryFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, SearchIndexEntryFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__SearchIndexEntryClient<runtime.Types.Result.GetResult<Prisma.$SearchIndexEntryPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more SearchIndexEntries 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 {SearchIndexEntryFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all SearchIndexEntries
|
|
* const searchIndexEntries = await prisma.searchIndexEntry.findMany()
|
|
*
|
|
* // Get first 10 SearchIndexEntries
|
|
* const searchIndexEntries = await prisma.searchIndexEntry.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const searchIndexEntryWithIdOnly = await prisma.searchIndexEntry.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends SearchIndexEntryFindManyArgs>(args?: Prisma.SelectSubset<T, SearchIndexEntryFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SearchIndexEntryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a SearchIndexEntry.
|
|
* @param {SearchIndexEntryCreateArgs} args - Arguments to create a SearchIndexEntry.
|
|
* @example
|
|
* // Create one SearchIndexEntry
|
|
* const SearchIndexEntry = await prisma.searchIndexEntry.create({
|
|
* data: {
|
|
* // ... data to create a SearchIndexEntry
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends SearchIndexEntryCreateArgs>(args: Prisma.SelectSubset<T, SearchIndexEntryCreateArgs<ExtArgs>>): Prisma.Prisma__SearchIndexEntryClient<runtime.Types.Result.GetResult<Prisma.$SearchIndexEntryPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many SearchIndexEntries.
|
|
* @param {SearchIndexEntryCreateManyArgs} args - Arguments to create many SearchIndexEntries.
|
|
* @example
|
|
* // Create many SearchIndexEntries
|
|
* const searchIndexEntry = await prisma.searchIndexEntry.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends SearchIndexEntryCreateManyArgs>(args?: Prisma.SelectSubset<T, SearchIndexEntryCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many SearchIndexEntries and returns the data saved in the database.
|
|
* @param {SearchIndexEntryCreateManyAndReturnArgs} args - Arguments to create many SearchIndexEntries.
|
|
* @example
|
|
* // Create many SearchIndexEntries
|
|
* const searchIndexEntry = await prisma.searchIndexEntry.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many SearchIndexEntries and only return the `id`
|
|
* const searchIndexEntryWithIdOnly = await prisma.searchIndexEntry.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 SearchIndexEntryCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, SearchIndexEntryCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SearchIndexEntryPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a SearchIndexEntry.
|
|
* @param {SearchIndexEntryDeleteArgs} args - Arguments to delete one SearchIndexEntry.
|
|
* @example
|
|
* // Delete one SearchIndexEntry
|
|
* const SearchIndexEntry = await prisma.searchIndexEntry.delete({
|
|
* where: {
|
|
* // ... filter to delete one SearchIndexEntry
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends SearchIndexEntryDeleteArgs>(args: Prisma.SelectSubset<T, SearchIndexEntryDeleteArgs<ExtArgs>>): Prisma.Prisma__SearchIndexEntryClient<runtime.Types.Result.GetResult<Prisma.$SearchIndexEntryPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one SearchIndexEntry.
|
|
* @param {SearchIndexEntryUpdateArgs} args - Arguments to update one SearchIndexEntry.
|
|
* @example
|
|
* // Update one SearchIndexEntry
|
|
* const searchIndexEntry = await prisma.searchIndexEntry.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends SearchIndexEntryUpdateArgs>(args: Prisma.SelectSubset<T, SearchIndexEntryUpdateArgs<ExtArgs>>): Prisma.Prisma__SearchIndexEntryClient<runtime.Types.Result.GetResult<Prisma.$SearchIndexEntryPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more SearchIndexEntries.
|
|
* @param {SearchIndexEntryDeleteManyArgs} args - Arguments to filter SearchIndexEntries to delete.
|
|
* @example
|
|
* // Delete a few SearchIndexEntries
|
|
* const { count } = await prisma.searchIndexEntry.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends SearchIndexEntryDeleteManyArgs>(args?: Prisma.SelectSubset<T, SearchIndexEntryDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more SearchIndexEntries.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {SearchIndexEntryUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many SearchIndexEntries
|
|
* const searchIndexEntry = await prisma.searchIndexEntry.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends SearchIndexEntryUpdateManyArgs>(args: Prisma.SelectSubset<T, SearchIndexEntryUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more SearchIndexEntries and returns the data updated in the database.
|
|
* @param {SearchIndexEntryUpdateManyAndReturnArgs} args - Arguments to update many SearchIndexEntries.
|
|
* @example
|
|
* // Update many SearchIndexEntries
|
|
* const searchIndexEntry = await prisma.searchIndexEntry.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more SearchIndexEntries and only return the `id`
|
|
* const searchIndexEntryWithIdOnly = await prisma.searchIndexEntry.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 SearchIndexEntryUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, SearchIndexEntryUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SearchIndexEntryPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one SearchIndexEntry.
|
|
* @param {SearchIndexEntryUpsertArgs} args - Arguments to update or create a SearchIndexEntry.
|
|
* @example
|
|
* // Update or create a SearchIndexEntry
|
|
* const searchIndexEntry = await prisma.searchIndexEntry.upsert({
|
|
* create: {
|
|
* // ... data to create a SearchIndexEntry
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the SearchIndexEntry we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends SearchIndexEntryUpsertArgs>(args: Prisma.SelectSubset<T, SearchIndexEntryUpsertArgs<ExtArgs>>): Prisma.Prisma__SearchIndexEntryClient<runtime.Types.Result.GetResult<Prisma.$SearchIndexEntryPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of SearchIndexEntries.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {SearchIndexEntryCountArgs} args - Arguments to filter SearchIndexEntries to count.
|
|
* @example
|
|
* // Count the number of SearchIndexEntries
|
|
* const count = await prisma.searchIndexEntry.count({
|
|
* where: {
|
|
* // ... the filter for the SearchIndexEntries we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends SearchIndexEntryCountArgs>(
|
|
args?: Prisma.Subset<T, SearchIndexEntryCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], SearchIndexEntryCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a SearchIndexEntry.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {SearchIndexEntryAggregateArgs} 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 SearchIndexEntryAggregateArgs>(args: Prisma.Subset<T, SearchIndexEntryAggregateArgs>): Prisma.PrismaPromise<GetSearchIndexEntryAggregateType<T>>
|
|
|
|
/**
|
|
* Group by SearchIndexEntry.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {SearchIndexEntryGroupByArgs} 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 SearchIndexEntryGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: SearchIndexEntryGroupByArgs['orderBy'] }
|
|
: { orderBy?: SearchIndexEntryGroupByArgs['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, SearchIndexEntryGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSearchIndexEntryGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the SearchIndexEntry model
|
|
*/
|
|
readonly fields: SearchIndexEntryFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for SearchIndexEntry.
|
|
* 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__SearchIndexEntryClient<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 SearchIndexEntry model
|
|
*/
|
|
export interface SearchIndexEntryFieldRefs {
|
|
readonly id: Prisma.FieldRef<"SearchIndexEntry", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"SearchIndexEntry", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"SearchIndexEntry", 'DateTime'>
|
|
readonly tenantId: Prisma.FieldRef<"SearchIndexEntry", 'String'>
|
|
readonly entityType: Prisma.FieldRef<"SearchIndexEntry", 'String'>
|
|
readonly entityId: Prisma.FieldRef<"SearchIndexEntry", 'String'>
|
|
readonly title: Prisma.FieldRef<"SearchIndexEntry", 'String'>
|
|
readonly subtitle: Prisma.FieldRef<"SearchIndexEntry", 'String'>
|
|
readonly bodyText: Prisma.FieldRef<"SearchIndexEntry", 'String'>
|
|
readonly routePath: Prisma.FieldRef<"SearchIndexEntry", 'String'>
|
|
readonly sourceIndex: Prisma.FieldRef<"SearchIndexEntry", 'String'>
|
|
readonly permissionSubject: Prisma.FieldRef<"SearchIndexEntry", 'String'>
|
|
readonly lastIndexedAt: Prisma.FieldRef<"SearchIndexEntry", 'DateTime'>
|
|
readonly isArchived: Prisma.FieldRef<"SearchIndexEntry", 'Boolean'>
|
|
readonly isDemoData: Prisma.FieldRef<"SearchIndexEntry", 'Boolean'>
|
|
readonly metadata: Prisma.FieldRef<"SearchIndexEntry", 'Json'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* SearchIndexEntry findUnique
|
|
*/
|
|
export type SearchIndexEntryFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SearchIndexEntry
|
|
*/
|
|
select?: Prisma.SearchIndexEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SearchIndexEntry
|
|
*/
|
|
omit?: Prisma.SearchIndexEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which SearchIndexEntry to fetch.
|
|
*/
|
|
where: Prisma.SearchIndexEntryWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* SearchIndexEntry findUniqueOrThrow
|
|
*/
|
|
export type SearchIndexEntryFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SearchIndexEntry
|
|
*/
|
|
select?: Prisma.SearchIndexEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SearchIndexEntry
|
|
*/
|
|
omit?: Prisma.SearchIndexEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which SearchIndexEntry to fetch.
|
|
*/
|
|
where: Prisma.SearchIndexEntryWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* SearchIndexEntry findFirst
|
|
*/
|
|
export type SearchIndexEntryFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SearchIndexEntry
|
|
*/
|
|
select?: Prisma.SearchIndexEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SearchIndexEntry
|
|
*/
|
|
omit?: Prisma.SearchIndexEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which SearchIndexEntry to fetch.
|
|
*/
|
|
where?: Prisma.SearchIndexEntryWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of SearchIndexEntries to fetch.
|
|
*/
|
|
orderBy?: Prisma.SearchIndexEntryOrderByWithRelationInput | Prisma.SearchIndexEntryOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for SearchIndexEntries.
|
|
*/
|
|
cursor?: Prisma.SearchIndexEntryWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` SearchIndexEntries 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` SearchIndexEntries.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of SearchIndexEntries.
|
|
*/
|
|
distinct?: Prisma.SearchIndexEntryScalarFieldEnum | Prisma.SearchIndexEntryScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* SearchIndexEntry findFirstOrThrow
|
|
*/
|
|
export type SearchIndexEntryFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SearchIndexEntry
|
|
*/
|
|
select?: Prisma.SearchIndexEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SearchIndexEntry
|
|
*/
|
|
omit?: Prisma.SearchIndexEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which SearchIndexEntry to fetch.
|
|
*/
|
|
where?: Prisma.SearchIndexEntryWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of SearchIndexEntries to fetch.
|
|
*/
|
|
orderBy?: Prisma.SearchIndexEntryOrderByWithRelationInput | Prisma.SearchIndexEntryOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for SearchIndexEntries.
|
|
*/
|
|
cursor?: Prisma.SearchIndexEntryWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` SearchIndexEntries 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` SearchIndexEntries.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of SearchIndexEntries.
|
|
*/
|
|
distinct?: Prisma.SearchIndexEntryScalarFieldEnum | Prisma.SearchIndexEntryScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* SearchIndexEntry findMany
|
|
*/
|
|
export type SearchIndexEntryFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SearchIndexEntry
|
|
*/
|
|
select?: Prisma.SearchIndexEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SearchIndexEntry
|
|
*/
|
|
omit?: Prisma.SearchIndexEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which SearchIndexEntries to fetch.
|
|
*/
|
|
where?: Prisma.SearchIndexEntryWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of SearchIndexEntries to fetch.
|
|
*/
|
|
orderBy?: Prisma.SearchIndexEntryOrderByWithRelationInput | Prisma.SearchIndexEntryOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing SearchIndexEntries.
|
|
*/
|
|
cursor?: Prisma.SearchIndexEntryWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` SearchIndexEntries 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` SearchIndexEntries.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of SearchIndexEntries.
|
|
*/
|
|
distinct?: Prisma.SearchIndexEntryScalarFieldEnum | Prisma.SearchIndexEntryScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* SearchIndexEntry create
|
|
*/
|
|
export type SearchIndexEntryCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SearchIndexEntry
|
|
*/
|
|
select?: Prisma.SearchIndexEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SearchIndexEntry
|
|
*/
|
|
omit?: Prisma.SearchIndexEntryOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a SearchIndexEntry.
|
|
*/
|
|
data: Prisma.XOR<Prisma.SearchIndexEntryCreateInput, Prisma.SearchIndexEntryUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* SearchIndexEntry createMany
|
|
*/
|
|
export type SearchIndexEntryCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many SearchIndexEntries.
|
|
*/
|
|
data: Prisma.SearchIndexEntryCreateManyInput | Prisma.SearchIndexEntryCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* SearchIndexEntry createManyAndReturn
|
|
*/
|
|
export type SearchIndexEntryCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SearchIndexEntry
|
|
*/
|
|
select?: Prisma.SearchIndexEntrySelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SearchIndexEntry
|
|
*/
|
|
omit?: Prisma.SearchIndexEntryOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many SearchIndexEntries.
|
|
*/
|
|
data: Prisma.SearchIndexEntryCreateManyInput | Prisma.SearchIndexEntryCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* SearchIndexEntry update
|
|
*/
|
|
export type SearchIndexEntryUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SearchIndexEntry
|
|
*/
|
|
select?: Prisma.SearchIndexEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SearchIndexEntry
|
|
*/
|
|
omit?: Prisma.SearchIndexEntryOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a SearchIndexEntry.
|
|
*/
|
|
data: Prisma.XOR<Prisma.SearchIndexEntryUpdateInput, Prisma.SearchIndexEntryUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which SearchIndexEntry to update.
|
|
*/
|
|
where: Prisma.SearchIndexEntryWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* SearchIndexEntry updateMany
|
|
*/
|
|
export type SearchIndexEntryUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update SearchIndexEntries.
|
|
*/
|
|
data: Prisma.XOR<Prisma.SearchIndexEntryUpdateManyMutationInput, Prisma.SearchIndexEntryUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which SearchIndexEntries to update
|
|
*/
|
|
where?: Prisma.SearchIndexEntryWhereInput
|
|
/**
|
|
* Limit how many SearchIndexEntries to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* SearchIndexEntry updateManyAndReturn
|
|
*/
|
|
export type SearchIndexEntryUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SearchIndexEntry
|
|
*/
|
|
select?: Prisma.SearchIndexEntrySelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SearchIndexEntry
|
|
*/
|
|
omit?: Prisma.SearchIndexEntryOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update SearchIndexEntries.
|
|
*/
|
|
data: Prisma.XOR<Prisma.SearchIndexEntryUpdateManyMutationInput, Prisma.SearchIndexEntryUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which SearchIndexEntries to update
|
|
*/
|
|
where?: Prisma.SearchIndexEntryWhereInput
|
|
/**
|
|
* Limit how many SearchIndexEntries to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* SearchIndexEntry upsert
|
|
*/
|
|
export type SearchIndexEntryUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SearchIndexEntry
|
|
*/
|
|
select?: Prisma.SearchIndexEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SearchIndexEntry
|
|
*/
|
|
omit?: Prisma.SearchIndexEntryOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the SearchIndexEntry to update in case it exists.
|
|
*/
|
|
where: Prisma.SearchIndexEntryWhereUniqueInput
|
|
/**
|
|
* In case the SearchIndexEntry found by the `where` argument doesn't exist, create a new SearchIndexEntry with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.SearchIndexEntryCreateInput, Prisma.SearchIndexEntryUncheckedCreateInput>
|
|
/**
|
|
* In case the SearchIndexEntry was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.SearchIndexEntryUpdateInput, Prisma.SearchIndexEntryUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* SearchIndexEntry delete
|
|
*/
|
|
export type SearchIndexEntryDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SearchIndexEntry
|
|
*/
|
|
select?: Prisma.SearchIndexEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SearchIndexEntry
|
|
*/
|
|
omit?: Prisma.SearchIndexEntryOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which SearchIndexEntry to delete.
|
|
*/
|
|
where: Prisma.SearchIndexEntryWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* SearchIndexEntry deleteMany
|
|
*/
|
|
export type SearchIndexEntryDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which SearchIndexEntries to delete
|
|
*/
|
|
where?: Prisma.SearchIndexEntryWhereInput
|
|
/**
|
|
* Limit how many SearchIndexEntries to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* SearchIndexEntry without action
|
|
*/
|
|
export type SearchIndexEntryDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SearchIndexEntry
|
|
*/
|
|
select?: Prisma.SearchIndexEntrySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SearchIndexEntry
|
|
*/
|
|
omit?: Prisma.SearchIndexEntryOmit<ExtArgs> | null
|
|
}
|