4593 lines
194 KiB
TypeScript
4593 lines
194 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 `Entity` 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 Entity
|
|
*
|
|
*/
|
|
export type EntityModel = runtime.Types.Result.DefaultSelection<Prisma.$EntityPayload>
|
|
|
|
export type AggregateEntity = {
|
|
_count: EntityCountAggregateOutputType | null
|
|
_avg: EntityAvgAggregateOutputType | null
|
|
_sum: EntitySumAggregateOutputType | null
|
|
_min: EntityMinAggregateOutputType | null
|
|
_max: EntityMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type EntityAvgAggregateOutputType = {
|
|
order: number | null
|
|
}
|
|
|
|
export type EntitySumAggregateOutputType = {
|
|
order: number | null
|
|
}
|
|
|
|
export type EntityMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
moduleId: string | null
|
|
name: string | null
|
|
slug: string | null
|
|
order: number | null
|
|
prefix: string | null
|
|
type: string | null
|
|
title: string | null
|
|
titlePlural: string | null
|
|
isAutogenerated: boolean | null
|
|
hasApi: boolean | null
|
|
icon: string | null
|
|
active: boolean | null
|
|
showInSidebar: boolean | null
|
|
hasTags: boolean | null
|
|
hasComments: boolean | null
|
|
hasTasks: boolean | null
|
|
hasActivity: boolean | null
|
|
hasBulkDelete: boolean | null
|
|
hasViews: boolean | null
|
|
defaultVisibility: string | null
|
|
onCreated: string | null
|
|
onEdit: string | null
|
|
}
|
|
|
|
export type EntityMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
moduleId: string | null
|
|
name: string | null
|
|
slug: string | null
|
|
order: number | null
|
|
prefix: string | null
|
|
type: string | null
|
|
title: string | null
|
|
titlePlural: string | null
|
|
isAutogenerated: boolean | null
|
|
hasApi: boolean | null
|
|
icon: string | null
|
|
active: boolean | null
|
|
showInSidebar: boolean | null
|
|
hasTags: boolean | null
|
|
hasComments: boolean | null
|
|
hasTasks: boolean | null
|
|
hasActivity: boolean | null
|
|
hasBulkDelete: boolean | null
|
|
hasViews: boolean | null
|
|
defaultVisibility: string | null
|
|
onCreated: string | null
|
|
onEdit: string | null
|
|
}
|
|
|
|
export type EntityCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
moduleId: number
|
|
name: number
|
|
slug: number
|
|
order: number
|
|
prefix: number
|
|
type: number
|
|
title: number
|
|
titlePlural: number
|
|
isAutogenerated: number
|
|
hasApi: number
|
|
icon: number
|
|
active: number
|
|
showInSidebar: number
|
|
hasTags: number
|
|
hasComments: number
|
|
hasTasks: number
|
|
hasActivity: number
|
|
hasBulkDelete: number
|
|
hasViews: number
|
|
defaultVisibility: number
|
|
onCreated: number
|
|
onEdit: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type EntityAvgAggregateInputType = {
|
|
order?: true
|
|
}
|
|
|
|
export type EntitySumAggregateInputType = {
|
|
order?: true
|
|
}
|
|
|
|
export type EntityMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
moduleId?: true
|
|
name?: true
|
|
slug?: true
|
|
order?: true
|
|
prefix?: true
|
|
type?: true
|
|
title?: true
|
|
titlePlural?: true
|
|
isAutogenerated?: true
|
|
hasApi?: true
|
|
icon?: true
|
|
active?: true
|
|
showInSidebar?: true
|
|
hasTags?: true
|
|
hasComments?: true
|
|
hasTasks?: true
|
|
hasActivity?: true
|
|
hasBulkDelete?: true
|
|
hasViews?: true
|
|
defaultVisibility?: true
|
|
onCreated?: true
|
|
onEdit?: true
|
|
}
|
|
|
|
export type EntityMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
moduleId?: true
|
|
name?: true
|
|
slug?: true
|
|
order?: true
|
|
prefix?: true
|
|
type?: true
|
|
title?: true
|
|
titlePlural?: true
|
|
isAutogenerated?: true
|
|
hasApi?: true
|
|
icon?: true
|
|
active?: true
|
|
showInSidebar?: true
|
|
hasTags?: true
|
|
hasComments?: true
|
|
hasTasks?: true
|
|
hasActivity?: true
|
|
hasBulkDelete?: true
|
|
hasViews?: true
|
|
defaultVisibility?: true
|
|
onCreated?: true
|
|
onEdit?: true
|
|
}
|
|
|
|
export type EntityCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
moduleId?: true
|
|
name?: true
|
|
slug?: true
|
|
order?: true
|
|
prefix?: true
|
|
type?: true
|
|
title?: true
|
|
titlePlural?: true
|
|
isAutogenerated?: true
|
|
hasApi?: true
|
|
icon?: true
|
|
active?: true
|
|
showInSidebar?: true
|
|
hasTags?: true
|
|
hasComments?: true
|
|
hasTasks?: true
|
|
hasActivity?: true
|
|
hasBulkDelete?: true
|
|
hasViews?: true
|
|
defaultVisibility?: true
|
|
onCreated?: true
|
|
onEdit?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type EntityAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which Entity to aggregate.
|
|
*/
|
|
where?: Prisma.EntityWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Entities to fetch.
|
|
*/
|
|
orderBy?: Prisma.EntityOrderByWithRelationInput | Prisma.EntityOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.EntityWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` Entities 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` Entities.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned Entities
|
|
**/
|
|
_count?: true | EntityCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: EntityAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: EntitySumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: EntityMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: EntityMaxAggregateInputType
|
|
}
|
|
|
|
export type GetEntityAggregateType<T extends EntityAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateEntity]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateEntity[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateEntity[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type EntityGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.EntityWhereInput
|
|
orderBy?: Prisma.EntityOrderByWithAggregationInput | Prisma.EntityOrderByWithAggregationInput[]
|
|
by: Prisma.EntityScalarFieldEnum[] | Prisma.EntityScalarFieldEnum
|
|
having?: Prisma.EntityScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: EntityCountAggregateInputType | true
|
|
_avg?: EntityAvgAggregateInputType
|
|
_sum?: EntitySumAggregateInputType
|
|
_min?: EntityMinAggregateInputType
|
|
_max?: EntityMaxAggregateInputType
|
|
}
|
|
|
|
export type EntityGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
moduleId: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar: boolean
|
|
hasTags: boolean
|
|
hasComments: boolean
|
|
hasTasks: boolean
|
|
hasActivity: boolean
|
|
hasBulkDelete: boolean
|
|
hasViews: boolean
|
|
defaultVisibility: string
|
|
onCreated: string | null
|
|
onEdit: string | null
|
|
_count: EntityCountAggregateOutputType | null
|
|
_avg: EntityAvgAggregateOutputType | null
|
|
_sum: EntitySumAggregateOutputType | null
|
|
_min: EntityMinAggregateOutputType | null
|
|
_max: EntityMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetEntityGroupByPayload<T extends EntityGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<EntityGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof EntityGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], EntityGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], EntityGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type EntityWhereInput = {
|
|
AND?: Prisma.EntityWhereInput | Prisma.EntityWhereInput[]
|
|
OR?: Prisma.EntityWhereInput[]
|
|
NOT?: Prisma.EntityWhereInput | Prisma.EntityWhereInput[]
|
|
id?: Prisma.StringFilter<"Entity"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"Entity"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"Entity"> | Date | string
|
|
moduleId?: Prisma.StringNullableFilter<"Entity"> | string | null
|
|
name?: Prisma.StringFilter<"Entity"> | string
|
|
slug?: Prisma.StringFilter<"Entity"> | string
|
|
order?: Prisma.IntFilter<"Entity"> | number
|
|
prefix?: Prisma.StringFilter<"Entity"> | string
|
|
type?: Prisma.StringFilter<"Entity"> | string
|
|
title?: Prisma.StringFilter<"Entity"> | string
|
|
titlePlural?: Prisma.StringFilter<"Entity"> | string
|
|
isAutogenerated?: Prisma.BoolFilter<"Entity"> | boolean
|
|
hasApi?: Prisma.BoolFilter<"Entity"> | boolean
|
|
icon?: Prisma.StringFilter<"Entity"> | string
|
|
active?: Prisma.BoolFilter<"Entity"> | boolean
|
|
showInSidebar?: Prisma.BoolFilter<"Entity"> | boolean
|
|
hasTags?: Prisma.BoolFilter<"Entity"> | boolean
|
|
hasComments?: Prisma.BoolFilter<"Entity"> | boolean
|
|
hasTasks?: Prisma.BoolFilter<"Entity"> | boolean
|
|
hasActivity?: Prisma.BoolFilter<"Entity"> | boolean
|
|
hasBulkDelete?: Prisma.BoolFilter<"Entity"> | boolean
|
|
hasViews?: Prisma.BoolFilter<"Entity"> | boolean
|
|
defaultVisibility?: Prisma.StringFilter<"Entity"> | string
|
|
onCreated?: Prisma.StringNullableFilter<"Entity"> | string | null
|
|
onEdit?: Prisma.StringNullableFilter<"Entity"> | string | null
|
|
createdPermissions?: Prisma.PermissionListRelationFilter
|
|
apiKeys?: Prisma.ApiKeyEntityListRelationFilter
|
|
tags?: Prisma.EntityTagListRelationFilter
|
|
permissions?: Prisma.EntityTenantUserPermissionListRelationFilter
|
|
webhooks?: Prisma.EntityWebhookListRelationFilter
|
|
properties?: Prisma.PropertyListRelationFilter
|
|
rows?: Prisma.RowListRelationFilter
|
|
views?: Prisma.EntityViewListRelationFilter
|
|
parentEntities?: Prisma.EntityRelationshipListRelationFilter
|
|
childEntities?: Prisma.EntityRelationshipListRelationFilter
|
|
groups?: Prisma.EntityGroupEntityListRelationFilter
|
|
templates?: Prisma.EntityTemplateListRelationFilter
|
|
}
|
|
|
|
export type EntityOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
moduleId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
order?: Prisma.SortOrder
|
|
prefix?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
titlePlural?: Prisma.SortOrder
|
|
isAutogenerated?: Prisma.SortOrder
|
|
hasApi?: Prisma.SortOrder
|
|
icon?: Prisma.SortOrder
|
|
active?: Prisma.SortOrder
|
|
showInSidebar?: Prisma.SortOrder
|
|
hasTags?: Prisma.SortOrder
|
|
hasComments?: Prisma.SortOrder
|
|
hasTasks?: Prisma.SortOrder
|
|
hasActivity?: Prisma.SortOrder
|
|
hasBulkDelete?: Prisma.SortOrder
|
|
hasViews?: Prisma.SortOrder
|
|
defaultVisibility?: Prisma.SortOrder
|
|
onCreated?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
onEdit?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdPermissions?: Prisma.PermissionOrderByRelationAggregateInput
|
|
apiKeys?: Prisma.ApiKeyEntityOrderByRelationAggregateInput
|
|
tags?: Prisma.EntityTagOrderByRelationAggregateInput
|
|
permissions?: Prisma.EntityTenantUserPermissionOrderByRelationAggregateInput
|
|
webhooks?: Prisma.EntityWebhookOrderByRelationAggregateInput
|
|
properties?: Prisma.PropertyOrderByRelationAggregateInput
|
|
rows?: Prisma.RowOrderByRelationAggregateInput
|
|
views?: Prisma.EntityViewOrderByRelationAggregateInput
|
|
parentEntities?: Prisma.EntityRelationshipOrderByRelationAggregateInput
|
|
childEntities?: Prisma.EntityRelationshipOrderByRelationAggregateInput
|
|
groups?: Prisma.EntityGroupEntityOrderByRelationAggregateInput
|
|
templates?: Prisma.EntityTemplateOrderByRelationAggregateInput
|
|
}
|
|
|
|
export type EntityWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
name?: string
|
|
slug?: string
|
|
prefix?: string
|
|
AND?: Prisma.EntityWhereInput | Prisma.EntityWhereInput[]
|
|
OR?: Prisma.EntityWhereInput[]
|
|
NOT?: Prisma.EntityWhereInput | Prisma.EntityWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"Entity"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"Entity"> | Date | string
|
|
moduleId?: Prisma.StringNullableFilter<"Entity"> | string | null
|
|
order?: Prisma.IntFilter<"Entity"> | number
|
|
type?: Prisma.StringFilter<"Entity"> | string
|
|
title?: Prisma.StringFilter<"Entity"> | string
|
|
titlePlural?: Prisma.StringFilter<"Entity"> | string
|
|
isAutogenerated?: Prisma.BoolFilter<"Entity"> | boolean
|
|
hasApi?: Prisma.BoolFilter<"Entity"> | boolean
|
|
icon?: Prisma.StringFilter<"Entity"> | string
|
|
active?: Prisma.BoolFilter<"Entity"> | boolean
|
|
showInSidebar?: Prisma.BoolFilter<"Entity"> | boolean
|
|
hasTags?: Prisma.BoolFilter<"Entity"> | boolean
|
|
hasComments?: Prisma.BoolFilter<"Entity"> | boolean
|
|
hasTasks?: Prisma.BoolFilter<"Entity"> | boolean
|
|
hasActivity?: Prisma.BoolFilter<"Entity"> | boolean
|
|
hasBulkDelete?: Prisma.BoolFilter<"Entity"> | boolean
|
|
hasViews?: Prisma.BoolFilter<"Entity"> | boolean
|
|
defaultVisibility?: Prisma.StringFilter<"Entity"> | string
|
|
onCreated?: Prisma.StringNullableFilter<"Entity"> | string | null
|
|
onEdit?: Prisma.StringNullableFilter<"Entity"> | string | null
|
|
createdPermissions?: Prisma.PermissionListRelationFilter
|
|
apiKeys?: Prisma.ApiKeyEntityListRelationFilter
|
|
tags?: Prisma.EntityTagListRelationFilter
|
|
permissions?: Prisma.EntityTenantUserPermissionListRelationFilter
|
|
webhooks?: Prisma.EntityWebhookListRelationFilter
|
|
properties?: Prisma.PropertyListRelationFilter
|
|
rows?: Prisma.RowListRelationFilter
|
|
views?: Prisma.EntityViewListRelationFilter
|
|
parentEntities?: Prisma.EntityRelationshipListRelationFilter
|
|
childEntities?: Prisma.EntityRelationshipListRelationFilter
|
|
groups?: Prisma.EntityGroupEntityListRelationFilter
|
|
templates?: Prisma.EntityTemplateListRelationFilter
|
|
}, "id" | "name" | "slug" | "prefix">
|
|
|
|
export type EntityOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
moduleId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
order?: Prisma.SortOrder
|
|
prefix?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
titlePlural?: Prisma.SortOrder
|
|
isAutogenerated?: Prisma.SortOrder
|
|
hasApi?: Prisma.SortOrder
|
|
icon?: Prisma.SortOrder
|
|
active?: Prisma.SortOrder
|
|
showInSidebar?: Prisma.SortOrder
|
|
hasTags?: Prisma.SortOrder
|
|
hasComments?: Prisma.SortOrder
|
|
hasTasks?: Prisma.SortOrder
|
|
hasActivity?: Prisma.SortOrder
|
|
hasBulkDelete?: Prisma.SortOrder
|
|
hasViews?: Prisma.SortOrder
|
|
defaultVisibility?: Prisma.SortOrder
|
|
onCreated?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
onEdit?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.EntityCountOrderByAggregateInput
|
|
_avg?: Prisma.EntityAvgOrderByAggregateInput
|
|
_max?: Prisma.EntityMaxOrderByAggregateInput
|
|
_min?: Prisma.EntityMinOrderByAggregateInput
|
|
_sum?: Prisma.EntitySumOrderByAggregateInput
|
|
}
|
|
|
|
export type EntityScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.EntityScalarWhereWithAggregatesInput | Prisma.EntityScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.EntityScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.EntityScalarWhereWithAggregatesInput | Prisma.EntityScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"Entity"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Entity"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Entity"> | Date | string
|
|
moduleId?: Prisma.StringNullableWithAggregatesFilter<"Entity"> | string | null
|
|
name?: Prisma.StringWithAggregatesFilter<"Entity"> | string
|
|
slug?: Prisma.StringWithAggregatesFilter<"Entity"> | string
|
|
order?: Prisma.IntWithAggregatesFilter<"Entity"> | number
|
|
prefix?: Prisma.StringWithAggregatesFilter<"Entity"> | string
|
|
type?: Prisma.StringWithAggregatesFilter<"Entity"> | string
|
|
title?: Prisma.StringWithAggregatesFilter<"Entity"> | string
|
|
titlePlural?: Prisma.StringWithAggregatesFilter<"Entity"> | string
|
|
isAutogenerated?: Prisma.BoolWithAggregatesFilter<"Entity"> | boolean
|
|
hasApi?: Prisma.BoolWithAggregatesFilter<"Entity"> | boolean
|
|
icon?: Prisma.StringWithAggregatesFilter<"Entity"> | string
|
|
active?: Prisma.BoolWithAggregatesFilter<"Entity"> | boolean
|
|
showInSidebar?: Prisma.BoolWithAggregatesFilter<"Entity"> | boolean
|
|
hasTags?: Prisma.BoolWithAggregatesFilter<"Entity"> | boolean
|
|
hasComments?: Prisma.BoolWithAggregatesFilter<"Entity"> | boolean
|
|
hasTasks?: Prisma.BoolWithAggregatesFilter<"Entity"> | boolean
|
|
hasActivity?: Prisma.BoolWithAggregatesFilter<"Entity"> | boolean
|
|
hasBulkDelete?: Prisma.BoolWithAggregatesFilter<"Entity"> | boolean
|
|
hasViews?: Prisma.BoolWithAggregatesFilter<"Entity"> | boolean
|
|
defaultVisibility?: Prisma.StringWithAggregatesFilter<"Entity"> | string
|
|
onCreated?: Prisma.StringNullableWithAggregatesFilter<"Entity"> | string | null
|
|
onEdit?: Prisma.StringNullableWithAggregatesFilter<"Entity"> | string | null
|
|
}
|
|
|
|
export type EntityCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
createdPermissions?: Prisma.PermissionCreateNestedManyWithoutEntityInput
|
|
apiKeys?: Prisma.ApiKeyEntityCreateNestedManyWithoutEntityInput
|
|
tags?: Prisma.EntityTagCreateNestedManyWithoutEntityInput
|
|
permissions?: Prisma.EntityTenantUserPermissionCreateNestedManyWithoutEntityInput
|
|
webhooks?: Prisma.EntityWebhookCreateNestedManyWithoutEntityInput
|
|
properties?: Prisma.PropertyCreateNestedManyWithoutEntityInput
|
|
rows?: Prisma.RowCreateNestedManyWithoutEntityInput
|
|
views?: Prisma.EntityViewCreateNestedManyWithoutEntityInput
|
|
parentEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutChildInput
|
|
childEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutParentInput
|
|
groups?: Prisma.EntityGroupEntityCreateNestedManyWithoutEntityInput
|
|
templates?: Prisma.EntityTemplateCreateNestedManyWithoutEntityInput
|
|
}
|
|
|
|
export type EntityUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
createdPermissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutEntityInput
|
|
apiKeys?: Prisma.ApiKeyEntityUncheckedCreateNestedManyWithoutEntityInput
|
|
tags?: Prisma.EntityTagUncheckedCreateNestedManyWithoutEntityInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUncheckedCreateNestedManyWithoutEntityInput
|
|
webhooks?: Prisma.EntityWebhookUncheckedCreateNestedManyWithoutEntityInput
|
|
properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutEntityInput
|
|
rows?: Prisma.RowUncheckedCreateNestedManyWithoutEntityInput
|
|
views?: Prisma.EntityViewUncheckedCreateNestedManyWithoutEntityInput
|
|
parentEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutChildInput
|
|
childEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutParentInput
|
|
groups?: Prisma.EntityGroupEntityUncheckedCreateNestedManyWithoutEntityInput
|
|
templates?: Prisma.EntityTemplateUncheckedCreateNestedManyWithoutEntityInput
|
|
}
|
|
|
|
export type EntityUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdPermissions?: Prisma.PermissionUpdateManyWithoutEntityNestedInput
|
|
apiKeys?: Prisma.ApiKeyEntityUpdateManyWithoutEntityNestedInput
|
|
tags?: Prisma.EntityTagUpdateManyWithoutEntityNestedInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUpdateManyWithoutEntityNestedInput
|
|
webhooks?: Prisma.EntityWebhookUpdateManyWithoutEntityNestedInput
|
|
properties?: Prisma.PropertyUpdateManyWithoutEntityNestedInput
|
|
rows?: Prisma.RowUpdateManyWithoutEntityNestedInput
|
|
views?: Prisma.EntityViewUpdateManyWithoutEntityNestedInput
|
|
parentEntities?: Prisma.EntityRelationshipUpdateManyWithoutChildNestedInput
|
|
childEntities?: Prisma.EntityRelationshipUpdateManyWithoutParentNestedInput
|
|
groups?: Prisma.EntityGroupEntityUpdateManyWithoutEntityNestedInput
|
|
templates?: Prisma.EntityTemplateUpdateManyWithoutEntityNestedInput
|
|
}
|
|
|
|
export type EntityUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdPermissions?: Prisma.PermissionUncheckedUpdateManyWithoutEntityNestedInput
|
|
apiKeys?: Prisma.ApiKeyEntityUncheckedUpdateManyWithoutEntityNestedInput
|
|
tags?: Prisma.EntityTagUncheckedUpdateManyWithoutEntityNestedInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUncheckedUpdateManyWithoutEntityNestedInput
|
|
webhooks?: Prisma.EntityWebhookUncheckedUpdateManyWithoutEntityNestedInput
|
|
properties?: Prisma.PropertyUncheckedUpdateManyWithoutEntityNestedInput
|
|
rows?: Prisma.RowUncheckedUpdateManyWithoutEntityNestedInput
|
|
views?: Prisma.EntityViewUncheckedUpdateManyWithoutEntityNestedInput
|
|
parentEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutChildNestedInput
|
|
childEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutParentNestedInput
|
|
groups?: Prisma.EntityGroupEntityUncheckedUpdateManyWithoutEntityNestedInput
|
|
templates?: Prisma.EntityTemplateUncheckedUpdateManyWithoutEntityNestedInput
|
|
}
|
|
|
|
export type EntityCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
}
|
|
|
|
export type EntityUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type EntityUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type EntityCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
moduleId?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
order?: Prisma.SortOrder
|
|
prefix?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
titlePlural?: Prisma.SortOrder
|
|
isAutogenerated?: Prisma.SortOrder
|
|
hasApi?: Prisma.SortOrder
|
|
icon?: Prisma.SortOrder
|
|
active?: Prisma.SortOrder
|
|
showInSidebar?: Prisma.SortOrder
|
|
hasTags?: Prisma.SortOrder
|
|
hasComments?: Prisma.SortOrder
|
|
hasTasks?: Prisma.SortOrder
|
|
hasActivity?: Prisma.SortOrder
|
|
hasBulkDelete?: Prisma.SortOrder
|
|
hasViews?: Prisma.SortOrder
|
|
defaultVisibility?: Prisma.SortOrder
|
|
onCreated?: Prisma.SortOrder
|
|
onEdit?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EntityAvgOrderByAggregateInput = {
|
|
order?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EntityMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
moduleId?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
order?: Prisma.SortOrder
|
|
prefix?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
titlePlural?: Prisma.SortOrder
|
|
isAutogenerated?: Prisma.SortOrder
|
|
hasApi?: Prisma.SortOrder
|
|
icon?: Prisma.SortOrder
|
|
active?: Prisma.SortOrder
|
|
showInSidebar?: Prisma.SortOrder
|
|
hasTags?: Prisma.SortOrder
|
|
hasComments?: Prisma.SortOrder
|
|
hasTasks?: Prisma.SortOrder
|
|
hasActivity?: Prisma.SortOrder
|
|
hasBulkDelete?: Prisma.SortOrder
|
|
hasViews?: Prisma.SortOrder
|
|
defaultVisibility?: Prisma.SortOrder
|
|
onCreated?: Prisma.SortOrder
|
|
onEdit?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EntityMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
moduleId?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
order?: Prisma.SortOrder
|
|
prefix?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
titlePlural?: Prisma.SortOrder
|
|
isAutogenerated?: Prisma.SortOrder
|
|
hasApi?: Prisma.SortOrder
|
|
icon?: Prisma.SortOrder
|
|
active?: Prisma.SortOrder
|
|
showInSidebar?: Prisma.SortOrder
|
|
hasTags?: Prisma.SortOrder
|
|
hasComments?: Prisma.SortOrder
|
|
hasTasks?: Prisma.SortOrder
|
|
hasActivity?: Prisma.SortOrder
|
|
hasBulkDelete?: Prisma.SortOrder
|
|
hasViews?: Prisma.SortOrder
|
|
defaultVisibility?: Prisma.SortOrder
|
|
onCreated?: Prisma.SortOrder
|
|
onEdit?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EntitySumOrderByAggregateInput = {
|
|
order?: Prisma.SortOrder
|
|
}
|
|
|
|
export type EntityScalarRelationFilter = {
|
|
is?: Prisma.EntityWhereInput
|
|
isNot?: Prisma.EntityWhereInput
|
|
}
|
|
|
|
export type EntityNullableScalarRelationFilter = {
|
|
is?: Prisma.EntityWhereInput | null
|
|
isNot?: Prisma.EntityWhereInput | null
|
|
}
|
|
|
|
export type EntityCreateNestedOneWithoutPropertiesInput = {
|
|
create?: Prisma.XOR<Prisma.EntityCreateWithoutPropertiesInput, Prisma.EntityUncheckedCreateWithoutPropertiesInput>
|
|
connectOrCreate?: Prisma.EntityCreateOrConnectWithoutPropertiesInput
|
|
connect?: Prisma.EntityWhereUniqueInput
|
|
}
|
|
|
|
export type EntityUpdateOneRequiredWithoutPropertiesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.EntityCreateWithoutPropertiesInput, Prisma.EntityUncheckedCreateWithoutPropertiesInput>
|
|
connectOrCreate?: Prisma.EntityCreateOrConnectWithoutPropertiesInput
|
|
upsert?: Prisma.EntityUpsertWithoutPropertiesInput
|
|
connect?: Prisma.EntityWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.EntityUpdateToOneWithWhereWithoutPropertiesInput, Prisma.EntityUpdateWithoutPropertiesInput>, Prisma.EntityUncheckedUpdateWithoutPropertiesInput>
|
|
}
|
|
|
|
export type EntityCreateNestedOneWithoutViewsInput = {
|
|
create?: Prisma.XOR<Prisma.EntityCreateWithoutViewsInput, Prisma.EntityUncheckedCreateWithoutViewsInput>
|
|
connectOrCreate?: Prisma.EntityCreateOrConnectWithoutViewsInput
|
|
connect?: Prisma.EntityWhereUniqueInput
|
|
}
|
|
|
|
export type EntityUpdateOneRequiredWithoutViewsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.EntityCreateWithoutViewsInput, Prisma.EntityUncheckedCreateWithoutViewsInput>
|
|
connectOrCreate?: Prisma.EntityCreateOrConnectWithoutViewsInput
|
|
upsert?: Prisma.EntityUpsertWithoutViewsInput
|
|
connect?: Prisma.EntityWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.EntityUpdateToOneWithWhereWithoutViewsInput, Prisma.EntityUpdateWithoutViewsInput>, Prisma.EntityUncheckedUpdateWithoutViewsInput>
|
|
}
|
|
|
|
export type EntityCreateNestedOneWithoutTagsInput = {
|
|
create?: Prisma.XOR<Prisma.EntityCreateWithoutTagsInput, Prisma.EntityUncheckedCreateWithoutTagsInput>
|
|
connectOrCreate?: Prisma.EntityCreateOrConnectWithoutTagsInput
|
|
connect?: Prisma.EntityWhereUniqueInput
|
|
}
|
|
|
|
export type EntityUpdateOneRequiredWithoutTagsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.EntityCreateWithoutTagsInput, Prisma.EntityUncheckedCreateWithoutTagsInput>
|
|
connectOrCreate?: Prisma.EntityCreateOrConnectWithoutTagsInput
|
|
upsert?: Prisma.EntityUpsertWithoutTagsInput
|
|
connect?: Prisma.EntityWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.EntityUpdateToOneWithWhereWithoutTagsInput, Prisma.EntityUpdateWithoutTagsInput>, Prisma.EntityUncheckedUpdateWithoutTagsInput>
|
|
}
|
|
|
|
export type EntityCreateNestedOneWithoutPermissionsInput = {
|
|
create?: Prisma.XOR<Prisma.EntityCreateWithoutPermissionsInput, Prisma.EntityUncheckedCreateWithoutPermissionsInput>
|
|
connectOrCreate?: Prisma.EntityCreateOrConnectWithoutPermissionsInput
|
|
connect?: Prisma.EntityWhereUniqueInput
|
|
}
|
|
|
|
export type EntityUpdateOneRequiredWithoutPermissionsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.EntityCreateWithoutPermissionsInput, Prisma.EntityUncheckedCreateWithoutPermissionsInput>
|
|
connectOrCreate?: Prisma.EntityCreateOrConnectWithoutPermissionsInput
|
|
upsert?: Prisma.EntityUpsertWithoutPermissionsInput
|
|
connect?: Prisma.EntityWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.EntityUpdateToOneWithWhereWithoutPermissionsInput, Prisma.EntityUpdateWithoutPermissionsInput>, Prisma.EntityUncheckedUpdateWithoutPermissionsInput>
|
|
}
|
|
|
|
export type EntityCreateNestedOneWithoutWebhooksInput = {
|
|
create?: Prisma.XOR<Prisma.EntityCreateWithoutWebhooksInput, Prisma.EntityUncheckedCreateWithoutWebhooksInput>
|
|
connectOrCreate?: Prisma.EntityCreateOrConnectWithoutWebhooksInput
|
|
connect?: Prisma.EntityWhereUniqueInput
|
|
}
|
|
|
|
export type EntityUpdateOneRequiredWithoutWebhooksNestedInput = {
|
|
create?: Prisma.XOR<Prisma.EntityCreateWithoutWebhooksInput, Prisma.EntityUncheckedCreateWithoutWebhooksInput>
|
|
connectOrCreate?: Prisma.EntityCreateOrConnectWithoutWebhooksInput
|
|
upsert?: Prisma.EntityUpsertWithoutWebhooksInput
|
|
connect?: Prisma.EntityWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.EntityUpdateToOneWithWhereWithoutWebhooksInput, Prisma.EntityUpdateWithoutWebhooksInput>, Prisma.EntityUncheckedUpdateWithoutWebhooksInput>
|
|
}
|
|
|
|
export type EntityCreateNestedOneWithoutChildEntitiesInput = {
|
|
create?: Prisma.XOR<Prisma.EntityCreateWithoutChildEntitiesInput, Prisma.EntityUncheckedCreateWithoutChildEntitiesInput>
|
|
connectOrCreate?: Prisma.EntityCreateOrConnectWithoutChildEntitiesInput
|
|
connect?: Prisma.EntityWhereUniqueInput
|
|
}
|
|
|
|
export type EntityCreateNestedOneWithoutParentEntitiesInput = {
|
|
create?: Prisma.XOR<Prisma.EntityCreateWithoutParentEntitiesInput, Prisma.EntityUncheckedCreateWithoutParentEntitiesInput>
|
|
connectOrCreate?: Prisma.EntityCreateOrConnectWithoutParentEntitiesInput
|
|
connect?: Prisma.EntityWhereUniqueInput
|
|
}
|
|
|
|
export type EntityUpdateOneRequiredWithoutChildEntitiesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.EntityCreateWithoutChildEntitiesInput, Prisma.EntityUncheckedCreateWithoutChildEntitiesInput>
|
|
connectOrCreate?: Prisma.EntityCreateOrConnectWithoutChildEntitiesInput
|
|
upsert?: Prisma.EntityUpsertWithoutChildEntitiesInput
|
|
connect?: Prisma.EntityWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.EntityUpdateToOneWithWhereWithoutChildEntitiesInput, Prisma.EntityUpdateWithoutChildEntitiesInput>, Prisma.EntityUncheckedUpdateWithoutChildEntitiesInput>
|
|
}
|
|
|
|
export type EntityUpdateOneRequiredWithoutParentEntitiesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.EntityCreateWithoutParentEntitiesInput, Prisma.EntityUncheckedCreateWithoutParentEntitiesInput>
|
|
connectOrCreate?: Prisma.EntityCreateOrConnectWithoutParentEntitiesInput
|
|
upsert?: Prisma.EntityUpsertWithoutParentEntitiesInput
|
|
connect?: Prisma.EntityWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.EntityUpdateToOneWithWhereWithoutParentEntitiesInput, Prisma.EntityUpdateWithoutParentEntitiesInput>, Prisma.EntityUncheckedUpdateWithoutParentEntitiesInput>
|
|
}
|
|
|
|
export type EntityCreateNestedOneWithoutRowsInput = {
|
|
create?: Prisma.XOR<Prisma.EntityCreateWithoutRowsInput, Prisma.EntityUncheckedCreateWithoutRowsInput>
|
|
connectOrCreate?: Prisma.EntityCreateOrConnectWithoutRowsInput
|
|
connect?: Prisma.EntityWhereUniqueInput
|
|
}
|
|
|
|
export type EntityUpdateOneRequiredWithoutRowsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.EntityCreateWithoutRowsInput, Prisma.EntityUncheckedCreateWithoutRowsInput>
|
|
connectOrCreate?: Prisma.EntityCreateOrConnectWithoutRowsInput
|
|
upsert?: Prisma.EntityUpsertWithoutRowsInput
|
|
connect?: Prisma.EntityWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.EntityUpdateToOneWithWhereWithoutRowsInput, Prisma.EntityUpdateWithoutRowsInput>, Prisma.EntityUncheckedUpdateWithoutRowsInput>
|
|
}
|
|
|
|
export type EntityCreateNestedOneWithoutTemplatesInput = {
|
|
create?: Prisma.XOR<Prisma.EntityCreateWithoutTemplatesInput, Prisma.EntityUncheckedCreateWithoutTemplatesInput>
|
|
connectOrCreate?: Prisma.EntityCreateOrConnectWithoutTemplatesInput
|
|
connect?: Prisma.EntityWhereUniqueInput
|
|
}
|
|
|
|
export type EntityUpdateOneRequiredWithoutTemplatesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.EntityCreateWithoutTemplatesInput, Prisma.EntityUncheckedCreateWithoutTemplatesInput>
|
|
connectOrCreate?: Prisma.EntityCreateOrConnectWithoutTemplatesInput
|
|
upsert?: Prisma.EntityUpsertWithoutTemplatesInput
|
|
connect?: Prisma.EntityWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.EntityUpdateToOneWithWhereWithoutTemplatesInput, Prisma.EntityUpdateWithoutTemplatesInput>, Prisma.EntityUncheckedUpdateWithoutTemplatesInput>
|
|
}
|
|
|
|
export type EntityCreateNestedOneWithoutGroupsInput = {
|
|
create?: Prisma.XOR<Prisma.EntityCreateWithoutGroupsInput, Prisma.EntityUncheckedCreateWithoutGroupsInput>
|
|
connectOrCreate?: Prisma.EntityCreateOrConnectWithoutGroupsInput
|
|
connect?: Prisma.EntityWhereUniqueInput
|
|
}
|
|
|
|
export type EntityUpdateOneRequiredWithoutGroupsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.EntityCreateWithoutGroupsInput, Prisma.EntityUncheckedCreateWithoutGroupsInput>
|
|
connectOrCreate?: Prisma.EntityCreateOrConnectWithoutGroupsInput
|
|
upsert?: Prisma.EntityUpsertWithoutGroupsInput
|
|
connect?: Prisma.EntityWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.EntityUpdateToOneWithWhereWithoutGroupsInput, Prisma.EntityUpdateWithoutGroupsInput>, Prisma.EntityUncheckedUpdateWithoutGroupsInput>
|
|
}
|
|
|
|
export type EntityCreateNestedOneWithoutApiKeysInput = {
|
|
create?: Prisma.XOR<Prisma.EntityCreateWithoutApiKeysInput, Prisma.EntityUncheckedCreateWithoutApiKeysInput>
|
|
connectOrCreate?: Prisma.EntityCreateOrConnectWithoutApiKeysInput
|
|
connect?: Prisma.EntityWhereUniqueInput
|
|
}
|
|
|
|
export type EntityUpdateOneRequiredWithoutApiKeysNestedInput = {
|
|
create?: Prisma.XOR<Prisma.EntityCreateWithoutApiKeysInput, Prisma.EntityUncheckedCreateWithoutApiKeysInput>
|
|
connectOrCreate?: Prisma.EntityCreateOrConnectWithoutApiKeysInput
|
|
upsert?: Prisma.EntityUpsertWithoutApiKeysInput
|
|
connect?: Prisma.EntityWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.EntityUpdateToOneWithWhereWithoutApiKeysInput, Prisma.EntityUpdateWithoutApiKeysInput>, Prisma.EntityUncheckedUpdateWithoutApiKeysInput>
|
|
}
|
|
|
|
export type EntityCreateNestedOneWithoutCreatedPermissionsInput = {
|
|
create?: Prisma.XOR<Prisma.EntityCreateWithoutCreatedPermissionsInput, Prisma.EntityUncheckedCreateWithoutCreatedPermissionsInput>
|
|
connectOrCreate?: Prisma.EntityCreateOrConnectWithoutCreatedPermissionsInput
|
|
connect?: Prisma.EntityWhereUniqueInput
|
|
}
|
|
|
|
export type EntityUpdateOneWithoutCreatedPermissionsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.EntityCreateWithoutCreatedPermissionsInput, Prisma.EntityUncheckedCreateWithoutCreatedPermissionsInput>
|
|
connectOrCreate?: Prisma.EntityCreateOrConnectWithoutCreatedPermissionsInput
|
|
upsert?: Prisma.EntityUpsertWithoutCreatedPermissionsInput
|
|
disconnect?: Prisma.EntityWhereInput | boolean
|
|
delete?: Prisma.EntityWhereInput | boolean
|
|
connect?: Prisma.EntityWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.EntityUpdateToOneWithWhereWithoutCreatedPermissionsInput, Prisma.EntityUpdateWithoutCreatedPermissionsInput>, Prisma.EntityUncheckedUpdateWithoutCreatedPermissionsInput>
|
|
}
|
|
|
|
export type EntityCreateWithoutPropertiesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
createdPermissions?: Prisma.PermissionCreateNestedManyWithoutEntityInput
|
|
apiKeys?: Prisma.ApiKeyEntityCreateNestedManyWithoutEntityInput
|
|
tags?: Prisma.EntityTagCreateNestedManyWithoutEntityInput
|
|
permissions?: Prisma.EntityTenantUserPermissionCreateNestedManyWithoutEntityInput
|
|
webhooks?: Prisma.EntityWebhookCreateNestedManyWithoutEntityInput
|
|
rows?: Prisma.RowCreateNestedManyWithoutEntityInput
|
|
views?: Prisma.EntityViewCreateNestedManyWithoutEntityInput
|
|
parentEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutChildInput
|
|
childEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutParentInput
|
|
groups?: Prisma.EntityGroupEntityCreateNestedManyWithoutEntityInput
|
|
templates?: Prisma.EntityTemplateCreateNestedManyWithoutEntityInput
|
|
}
|
|
|
|
export type EntityUncheckedCreateWithoutPropertiesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
createdPermissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutEntityInput
|
|
apiKeys?: Prisma.ApiKeyEntityUncheckedCreateNestedManyWithoutEntityInput
|
|
tags?: Prisma.EntityTagUncheckedCreateNestedManyWithoutEntityInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUncheckedCreateNestedManyWithoutEntityInput
|
|
webhooks?: Prisma.EntityWebhookUncheckedCreateNestedManyWithoutEntityInput
|
|
rows?: Prisma.RowUncheckedCreateNestedManyWithoutEntityInput
|
|
views?: Prisma.EntityViewUncheckedCreateNestedManyWithoutEntityInput
|
|
parentEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutChildInput
|
|
childEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutParentInput
|
|
groups?: Prisma.EntityGroupEntityUncheckedCreateNestedManyWithoutEntityInput
|
|
templates?: Prisma.EntityTemplateUncheckedCreateNestedManyWithoutEntityInput
|
|
}
|
|
|
|
export type EntityCreateOrConnectWithoutPropertiesInput = {
|
|
where: Prisma.EntityWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.EntityCreateWithoutPropertiesInput, Prisma.EntityUncheckedCreateWithoutPropertiesInput>
|
|
}
|
|
|
|
export type EntityUpsertWithoutPropertiesInput = {
|
|
update: Prisma.XOR<Prisma.EntityUpdateWithoutPropertiesInput, Prisma.EntityUncheckedUpdateWithoutPropertiesInput>
|
|
create: Prisma.XOR<Prisma.EntityCreateWithoutPropertiesInput, Prisma.EntityUncheckedCreateWithoutPropertiesInput>
|
|
where?: Prisma.EntityWhereInput
|
|
}
|
|
|
|
export type EntityUpdateToOneWithWhereWithoutPropertiesInput = {
|
|
where?: Prisma.EntityWhereInput
|
|
data: Prisma.XOR<Prisma.EntityUpdateWithoutPropertiesInput, Prisma.EntityUncheckedUpdateWithoutPropertiesInput>
|
|
}
|
|
|
|
export type EntityUpdateWithoutPropertiesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdPermissions?: Prisma.PermissionUpdateManyWithoutEntityNestedInput
|
|
apiKeys?: Prisma.ApiKeyEntityUpdateManyWithoutEntityNestedInput
|
|
tags?: Prisma.EntityTagUpdateManyWithoutEntityNestedInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUpdateManyWithoutEntityNestedInput
|
|
webhooks?: Prisma.EntityWebhookUpdateManyWithoutEntityNestedInput
|
|
rows?: Prisma.RowUpdateManyWithoutEntityNestedInput
|
|
views?: Prisma.EntityViewUpdateManyWithoutEntityNestedInput
|
|
parentEntities?: Prisma.EntityRelationshipUpdateManyWithoutChildNestedInput
|
|
childEntities?: Prisma.EntityRelationshipUpdateManyWithoutParentNestedInput
|
|
groups?: Prisma.EntityGroupEntityUpdateManyWithoutEntityNestedInput
|
|
templates?: Prisma.EntityTemplateUpdateManyWithoutEntityNestedInput
|
|
}
|
|
|
|
export type EntityUncheckedUpdateWithoutPropertiesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdPermissions?: Prisma.PermissionUncheckedUpdateManyWithoutEntityNestedInput
|
|
apiKeys?: Prisma.ApiKeyEntityUncheckedUpdateManyWithoutEntityNestedInput
|
|
tags?: Prisma.EntityTagUncheckedUpdateManyWithoutEntityNestedInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUncheckedUpdateManyWithoutEntityNestedInput
|
|
webhooks?: Prisma.EntityWebhookUncheckedUpdateManyWithoutEntityNestedInput
|
|
rows?: Prisma.RowUncheckedUpdateManyWithoutEntityNestedInput
|
|
views?: Prisma.EntityViewUncheckedUpdateManyWithoutEntityNestedInput
|
|
parentEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutChildNestedInput
|
|
childEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutParentNestedInput
|
|
groups?: Prisma.EntityGroupEntityUncheckedUpdateManyWithoutEntityNestedInput
|
|
templates?: Prisma.EntityTemplateUncheckedUpdateManyWithoutEntityNestedInput
|
|
}
|
|
|
|
export type EntityCreateWithoutViewsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
createdPermissions?: Prisma.PermissionCreateNestedManyWithoutEntityInput
|
|
apiKeys?: Prisma.ApiKeyEntityCreateNestedManyWithoutEntityInput
|
|
tags?: Prisma.EntityTagCreateNestedManyWithoutEntityInput
|
|
permissions?: Prisma.EntityTenantUserPermissionCreateNestedManyWithoutEntityInput
|
|
webhooks?: Prisma.EntityWebhookCreateNestedManyWithoutEntityInput
|
|
properties?: Prisma.PropertyCreateNestedManyWithoutEntityInput
|
|
rows?: Prisma.RowCreateNestedManyWithoutEntityInput
|
|
parentEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutChildInput
|
|
childEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutParentInput
|
|
groups?: Prisma.EntityGroupEntityCreateNestedManyWithoutEntityInput
|
|
templates?: Prisma.EntityTemplateCreateNestedManyWithoutEntityInput
|
|
}
|
|
|
|
export type EntityUncheckedCreateWithoutViewsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
createdPermissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutEntityInput
|
|
apiKeys?: Prisma.ApiKeyEntityUncheckedCreateNestedManyWithoutEntityInput
|
|
tags?: Prisma.EntityTagUncheckedCreateNestedManyWithoutEntityInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUncheckedCreateNestedManyWithoutEntityInput
|
|
webhooks?: Prisma.EntityWebhookUncheckedCreateNestedManyWithoutEntityInput
|
|
properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutEntityInput
|
|
rows?: Prisma.RowUncheckedCreateNestedManyWithoutEntityInput
|
|
parentEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutChildInput
|
|
childEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutParentInput
|
|
groups?: Prisma.EntityGroupEntityUncheckedCreateNestedManyWithoutEntityInput
|
|
templates?: Prisma.EntityTemplateUncheckedCreateNestedManyWithoutEntityInput
|
|
}
|
|
|
|
export type EntityCreateOrConnectWithoutViewsInput = {
|
|
where: Prisma.EntityWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.EntityCreateWithoutViewsInput, Prisma.EntityUncheckedCreateWithoutViewsInput>
|
|
}
|
|
|
|
export type EntityUpsertWithoutViewsInput = {
|
|
update: Prisma.XOR<Prisma.EntityUpdateWithoutViewsInput, Prisma.EntityUncheckedUpdateWithoutViewsInput>
|
|
create: Prisma.XOR<Prisma.EntityCreateWithoutViewsInput, Prisma.EntityUncheckedCreateWithoutViewsInput>
|
|
where?: Prisma.EntityWhereInput
|
|
}
|
|
|
|
export type EntityUpdateToOneWithWhereWithoutViewsInput = {
|
|
where?: Prisma.EntityWhereInput
|
|
data: Prisma.XOR<Prisma.EntityUpdateWithoutViewsInput, Prisma.EntityUncheckedUpdateWithoutViewsInput>
|
|
}
|
|
|
|
export type EntityUpdateWithoutViewsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdPermissions?: Prisma.PermissionUpdateManyWithoutEntityNestedInput
|
|
apiKeys?: Prisma.ApiKeyEntityUpdateManyWithoutEntityNestedInput
|
|
tags?: Prisma.EntityTagUpdateManyWithoutEntityNestedInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUpdateManyWithoutEntityNestedInput
|
|
webhooks?: Prisma.EntityWebhookUpdateManyWithoutEntityNestedInput
|
|
properties?: Prisma.PropertyUpdateManyWithoutEntityNestedInput
|
|
rows?: Prisma.RowUpdateManyWithoutEntityNestedInput
|
|
parentEntities?: Prisma.EntityRelationshipUpdateManyWithoutChildNestedInput
|
|
childEntities?: Prisma.EntityRelationshipUpdateManyWithoutParentNestedInput
|
|
groups?: Prisma.EntityGroupEntityUpdateManyWithoutEntityNestedInput
|
|
templates?: Prisma.EntityTemplateUpdateManyWithoutEntityNestedInput
|
|
}
|
|
|
|
export type EntityUncheckedUpdateWithoutViewsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdPermissions?: Prisma.PermissionUncheckedUpdateManyWithoutEntityNestedInput
|
|
apiKeys?: Prisma.ApiKeyEntityUncheckedUpdateManyWithoutEntityNestedInput
|
|
tags?: Prisma.EntityTagUncheckedUpdateManyWithoutEntityNestedInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUncheckedUpdateManyWithoutEntityNestedInput
|
|
webhooks?: Prisma.EntityWebhookUncheckedUpdateManyWithoutEntityNestedInput
|
|
properties?: Prisma.PropertyUncheckedUpdateManyWithoutEntityNestedInput
|
|
rows?: Prisma.RowUncheckedUpdateManyWithoutEntityNestedInput
|
|
parentEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutChildNestedInput
|
|
childEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutParentNestedInput
|
|
groups?: Prisma.EntityGroupEntityUncheckedUpdateManyWithoutEntityNestedInput
|
|
templates?: Prisma.EntityTemplateUncheckedUpdateManyWithoutEntityNestedInput
|
|
}
|
|
|
|
export type EntityCreateWithoutTagsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
createdPermissions?: Prisma.PermissionCreateNestedManyWithoutEntityInput
|
|
apiKeys?: Prisma.ApiKeyEntityCreateNestedManyWithoutEntityInput
|
|
permissions?: Prisma.EntityTenantUserPermissionCreateNestedManyWithoutEntityInput
|
|
webhooks?: Prisma.EntityWebhookCreateNestedManyWithoutEntityInput
|
|
properties?: Prisma.PropertyCreateNestedManyWithoutEntityInput
|
|
rows?: Prisma.RowCreateNestedManyWithoutEntityInput
|
|
views?: Prisma.EntityViewCreateNestedManyWithoutEntityInput
|
|
parentEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutChildInput
|
|
childEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutParentInput
|
|
groups?: Prisma.EntityGroupEntityCreateNestedManyWithoutEntityInput
|
|
templates?: Prisma.EntityTemplateCreateNestedManyWithoutEntityInput
|
|
}
|
|
|
|
export type EntityUncheckedCreateWithoutTagsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
createdPermissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutEntityInput
|
|
apiKeys?: Prisma.ApiKeyEntityUncheckedCreateNestedManyWithoutEntityInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUncheckedCreateNestedManyWithoutEntityInput
|
|
webhooks?: Prisma.EntityWebhookUncheckedCreateNestedManyWithoutEntityInput
|
|
properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutEntityInput
|
|
rows?: Prisma.RowUncheckedCreateNestedManyWithoutEntityInput
|
|
views?: Prisma.EntityViewUncheckedCreateNestedManyWithoutEntityInput
|
|
parentEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutChildInput
|
|
childEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutParentInput
|
|
groups?: Prisma.EntityGroupEntityUncheckedCreateNestedManyWithoutEntityInput
|
|
templates?: Prisma.EntityTemplateUncheckedCreateNestedManyWithoutEntityInput
|
|
}
|
|
|
|
export type EntityCreateOrConnectWithoutTagsInput = {
|
|
where: Prisma.EntityWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.EntityCreateWithoutTagsInput, Prisma.EntityUncheckedCreateWithoutTagsInput>
|
|
}
|
|
|
|
export type EntityUpsertWithoutTagsInput = {
|
|
update: Prisma.XOR<Prisma.EntityUpdateWithoutTagsInput, Prisma.EntityUncheckedUpdateWithoutTagsInput>
|
|
create: Prisma.XOR<Prisma.EntityCreateWithoutTagsInput, Prisma.EntityUncheckedCreateWithoutTagsInput>
|
|
where?: Prisma.EntityWhereInput
|
|
}
|
|
|
|
export type EntityUpdateToOneWithWhereWithoutTagsInput = {
|
|
where?: Prisma.EntityWhereInput
|
|
data: Prisma.XOR<Prisma.EntityUpdateWithoutTagsInput, Prisma.EntityUncheckedUpdateWithoutTagsInput>
|
|
}
|
|
|
|
export type EntityUpdateWithoutTagsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdPermissions?: Prisma.PermissionUpdateManyWithoutEntityNestedInput
|
|
apiKeys?: Prisma.ApiKeyEntityUpdateManyWithoutEntityNestedInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUpdateManyWithoutEntityNestedInput
|
|
webhooks?: Prisma.EntityWebhookUpdateManyWithoutEntityNestedInput
|
|
properties?: Prisma.PropertyUpdateManyWithoutEntityNestedInput
|
|
rows?: Prisma.RowUpdateManyWithoutEntityNestedInput
|
|
views?: Prisma.EntityViewUpdateManyWithoutEntityNestedInput
|
|
parentEntities?: Prisma.EntityRelationshipUpdateManyWithoutChildNestedInput
|
|
childEntities?: Prisma.EntityRelationshipUpdateManyWithoutParentNestedInput
|
|
groups?: Prisma.EntityGroupEntityUpdateManyWithoutEntityNestedInput
|
|
templates?: Prisma.EntityTemplateUpdateManyWithoutEntityNestedInput
|
|
}
|
|
|
|
export type EntityUncheckedUpdateWithoutTagsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdPermissions?: Prisma.PermissionUncheckedUpdateManyWithoutEntityNestedInput
|
|
apiKeys?: Prisma.ApiKeyEntityUncheckedUpdateManyWithoutEntityNestedInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUncheckedUpdateManyWithoutEntityNestedInput
|
|
webhooks?: Prisma.EntityWebhookUncheckedUpdateManyWithoutEntityNestedInput
|
|
properties?: Prisma.PropertyUncheckedUpdateManyWithoutEntityNestedInput
|
|
rows?: Prisma.RowUncheckedUpdateManyWithoutEntityNestedInput
|
|
views?: Prisma.EntityViewUncheckedUpdateManyWithoutEntityNestedInput
|
|
parentEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutChildNestedInput
|
|
childEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutParentNestedInput
|
|
groups?: Prisma.EntityGroupEntityUncheckedUpdateManyWithoutEntityNestedInput
|
|
templates?: Prisma.EntityTemplateUncheckedUpdateManyWithoutEntityNestedInput
|
|
}
|
|
|
|
export type EntityCreateWithoutPermissionsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
createdPermissions?: Prisma.PermissionCreateNestedManyWithoutEntityInput
|
|
apiKeys?: Prisma.ApiKeyEntityCreateNestedManyWithoutEntityInput
|
|
tags?: Prisma.EntityTagCreateNestedManyWithoutEntityInput
|
|
webhooks?: Prisma.EntityWebhookCreateNestedManyWithoutEntityInput
|
|
properties?: Prisma.PropertyCreateNestedManyWithoutEntityInput
|
|
rows?: Prisma.RowCreateNestedManyWithoutEntityInput
|
|
views?: Prisma.EntityViewCreateNestedManyWithoutEntityInput
|
|
parentEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutChildInput
|
|
childEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutParentInput
|
|
groups?: Prisma.EntityGroupEntityCreateNestedManyWithoutEntityInput
|
|
templates?: Prisma.EntityTemplateCreateNestedManyWithoutEntityInput
|
|
}
|
|
|
|
export type EntityUncheckedCreateWithoutPermissionsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
createdPermissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutEntityInput
|
|
apiKeys?: Prisma.ApiKeyEntityUncheckedCreateNestedManyWithoutEntityInput
|
|
tags?: Prisma.EntityTagUncheckedCreateNestedManyWithoutEntityInput
|
|
webhooks?: Prisma.EntityWebhookUncheckedCreateNestedManyWithoutEntityInput
|
|
properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutEntityInput
|
|
rows?: Prisma.RowUncheckedCreateNestedManyWithoutEntityInput
|
|
views?: Prisma.EntityViewUncheckedCreateNestedManyWithoutEntityInput
|
|
parentEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutChildInput
|
|
childEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutParentInput
|
|
groups?: Prisma.EntityGroupEntityUncheckedCreateNestedManyWithoutEntityInput
|
|
templates?: Prisma.EntityTemplateUncheckedCreateNestedManyWithoutEntityInput
|
|
}
|
|
|
|
export type EntityCreateOrConnectWithoutPermissionsInput = {
|
|
where: Prisma.EntityWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.EntityCreateWithoutPermissionsInput, Prisma.EntityUncheckedCreateWithoutPermissionsInput>
|
|
}
|
|
|
|
export type EntityUpsertWithoutPermissionsInput = {
|
|
update: Prisma.XOR<Prisma.EntityUpdateWithoutPermissionsInput, Prisma.EntityUncheckedUpdateWithoutPermissionsInput>
|
|
create: Prisma.XOR<Prisma.EntityCreateWithoutPermissionsInput, Prisma.EntityUncheckedCreateWithoutPermissionsInput>
|
|
where?: Prisma.EntityWhereInput
|
|
}
|
|
|
|
export type EntityUpdateToOneWithWhereWithoutPermissionsInput = {
|
|
where?: Prisma.EntityWhereInput
|
|
data: Prisma.XOR<Prisma.EntityUpdateWithoutPermissionsInput, Prisma.EntityUncheckedUpdateWithoutPermissionsInput>
|
|
}
|
|
|
|
export type EntityUpdateWithoutPermissionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdPermissions?: Prisma.PermissionUpdateManyWithoutEntityNestedInput
|
|
apiKeys?: Prisma.ApiKeyEntityUpdateManyWithoutEntityNestedInput
|
|
tags?: Prisma.EntityTagUpdateManyWithoutEntityNestedInput
|
|
webhooks?: Prisma.EntityWebhookUpdateManyWithoutEntityNestedInput
|
|
properties?: Prisma.PropertyUpdateManyWithoutEntityNestedInput
|
|
rows?: Prisma.RowUpdateManyWithoutEntityNestedInput
|
|
views?: Prisma.EntityViewUpdateManyWithoutEntityNestedInput
|
|
parentEntities?: Prisma.EntityRelationshipUpdateManyWithoutChildNestedInput
|
|
childEntities?: Prisma.EntityRelationshipUpdateManyWithoutParentNestedInput
|
|
groups?: Prisma.EntityGroupEntityUpdateManyWithoutEntityNestedInput
|
|
templates?: Prisma.EntityTemplateUpdateManyWithoutEntityNestedInput
|
|
}
|
|
|
|
export type EntityUncheckedUpdateWithoutPermissionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdPermissions?: Prisma.PermissionUncheckedUpdateManyWithoutEntityNestedInput
|
|
apiKeys?: Prisma.ApiKeyEntityUncheckedUpdateManyWithoutEntityNestedInput
|
|
tags?: Prisma.EntityTagUncheckedUpdateManyWithoutEntityNestedInput
|
|
webhooks?: Prisma.EntityWebhookUncheckedUpdateManyWithoutEntityNestedInput
|
|
properties?: Prisma.PropertyUncheckedUpdateManyWithoutEntityNestedInput
|
|
rows?: Prisma.RowUncheckedUpdateManyWithoutEntityNestedInput
|
|
views?: Prisma.EntityViewUncheckedUpdateManyWithoutEntityNestedInput
|
|
parentEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutChildNestedInput
|
|
childEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutParentNestedInput
|
|
groups?: Prisma.EntityGroupEntityUncheckedUpdateManyWithoutEntityNestedInput
|
|
templates?: Prisma.EntityTemplateUncheckedUpdateManyWithoutEntityNestedInput
|
|
}
|
|
|
|
export type EntityCreateWithoutWebhooksInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
createdPermissions?: Prisma.PermissionCreateNestedManyWithoutEntityInput
|
|
apiKeys?: Prisma.ApiKeyEntityCreateNestedManyWithoutEntityInput
|
|
tags?: Prisma.EntityTagCreateNestedManyWithoutEntityInput
|
|
permissions?: Prisma.EntityTenantUserPermissionCreateNestedManyWithoutEntityInput
|
|
properties?: Prisma.PropertyCreateNestedManyWithoutEntityInput
|
|
rows?: Prisma.RowCreateNestedManyWithoutEntityInput
|
|
views?: Prisma.EntityViewCreateNestedManyWithoutEntityInput
|
|
parentEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutChildInput
|
|
childEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutParentInput
|
|
groups?: Prisma.EntityGroupEntityCreateNestedManyWithoutEntityInput
|
|
templates?: Prisma.EntityTemplateCreateNestedManyWithoutEntityInput
|
|
}
|
|
|
|
export type EntityUncheckedCreateWithoutWebhooksInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
createdPermissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutEntityInput
|
|
apiKeys?: Prisma.ApiKeyEntityUncheckedCreateNestedManyWithoutEntityInput
|
|
tags?: Prisma.EntityTagUncheckedCreateNestedManyWithoutEntityInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUncheckedCreateNestedManyWithoutEntityInput
|
|
properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutEntityInput
|
|
rows?: Prisma.RowUncheckedCreateNestedManyWithoutEntityInput
|
|
views?: Prisma.EntityViewUncheckedCreateNestedManyWithoutEntityInput
|
|
parentEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutChildInput
|
|
childEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutParentInput
|
|
groups?: Prisma.EntityGroupEntityUncheckedCreateNestedManyWithoutEntityInput
|
|
templates?: Prisma.EntityTemplateUncheckedCreateNestedManyWithoutEntityInput
|
|
}
|
|
|
|
export type EntityCreateOrConnectWithoutWebhooksInput = {
|
|
where: Prisma.EntityWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.EntityCreateWithoutWebhooksInput, Prisma.EntityUncheckedCreateWithoutWebhooksInput>
|
|
}
|
|
|
|
export type EntityUpsertWithoutWebhooksInput = {
|
|
update: Prisma.XOR<Prisma.EntityUpdateWithoutWebhooksInput, Prisma.EntityUncheckedUpdateWithoutWebhooksInput>
|
|
create: Prisma.XOR<Prisma.EntityCreateWithoutWebhooksInput, Prisma.EntityUncheckedCreateWithoutWebhooksInput>
|
|
where?: Prisma.EntityWhereInput
|
|
}
|
|
|
|
export type EntityUpdateToOneWithWhereWithoutWebhooksInput = {
|
|
where?: Prisma.EntityWhereInput
|
|
data: Prisma.XOR<Prisma.EntityUpdateWithoutWebhooksInput, Prisma.EntityUncheckedUpdateWithoutWebhooksInput>
|
|
}
|
|
|
|
export type EntityUpdateWithoutWebhooksInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdPermissions?: Prisma.PermissionUpdateManyWithoutEntityNestedInput
|
|
apiKeys?: Prisma.ApiKeyEntityUpdateManyWithoutEntityNestedInput
|
|
tags?: Prisma.EntityTagUpdateManyWithoutEntityNestedInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUpdateManyWithoutEntityNestedInput
|
|
properties?: Prisma.PropertyUpdateManyWithoutEntityNestedInput
|
|
rows?: Prisma.RowUpdateManyWithoutEntityNestedInput
|
|
views?: Prisma.EntityViewUpdateManyWithoutEntityNestedInput
|
|
parentEntities?: Prisma.EntityRelationshipUpdateManyWithoutChildNestedInput
|
|
childEntities?: Prisma.EntityRelationshipUpdateManyWithoutParentNestedInput
|
|
groups?: Prisma.EntityGroupEntityUpdateManyWithoutEntityNestedInput
|
|
templates?: Prisma.EntityTemplateUpdateManyWithoutEntityNestedInput
|
|
}
|
|
|
|
export type EntityUncheckedUpdateWithoutWebhooksInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdPermissions?: Prisma.PermissionUncheckedUpdateManyWithoutEntityNestedInput
|
|
apiKeys?: Prisma.ApiKeyEntityUncheckedUpdateManyWithoutEntityNestedInput
|
|
tags?: Prisma.EntityTagUncheckedUpdateManyWithoutEntityNestedInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUncheckedUpdateManyWithoutEntityNestedInput
|
|
properties?: Prisma.PropertyUncheckedUpdateManyWithoutEntityNestedInput
|
|
rows?: Prisma.RowUncheckedUpdateManyWithoutEntityNestedInput
|
|
views?: Prisma.EntityViewUncheckedUpdateManyWithoutEntityNestedInput
|
|
parentEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutChildNestedInput
|
|
childEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutParentNestedInput
|
|
groups?: Prisma.EntityGroupEntityUncheckedUpdateManyWithoutEntityNestedInput
|
|
templates?: Prisma.EntityTemplateUncheckedUpdateManyWithoutEntityNestedInput
|
|
}
|
|
|
|
export type EntityCreateWithoutChildEntitiesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
createdPermissions?: Prisma.PermissionCreateNestedManyWithoutEntityInput
|
|
apiKeys?: Prisma.ApiKeyEntityCreateNestedManyWithoutEntityInput
|
|
tags?: Prisma.EntityTagCreateNestedManyWithoutEntityInput
|
|
permissions?: Prisma.EntityTenantUserPermissionCreateNestedManyWithoutEntityInput
|
|
webhooks?: Prisma.EntityWebhookCreateNestedManyWithoutEntityInput
|
|
properties?: Prisma.PropertyCreateNestedManyWithoutEntityInput
|
|
rows?: Prisma.RowCreateNestedManyWithoutEntityInput
|
|
views?: Prisma.EntityViewCreateNestedManyWithoutEntityInput
|
|
parentEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutChildInput
|
|
groups?: Prisma.EntityGroupEntityCreateNestedManyWithoutEntityInput
|
|
templates?: Prisma.EntityTemplateCreateNestedManyWithoutEntityInput
|
|
}
|
|
|
|
export type EntityUncheckedCreateWithoutChildEntitiesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
createdPermissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutEntityInput
|
|
apiKeys?: Prisma.ApiKeyEntityUncheckedCreateNestedManyWithoutEntityInput
|
|
tags?: Prisma.EntityTagUncheckedCreateNestedManyWithoutEntityInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUncheckedCreateNestedManyWithoutEntityInput
|
|
webhooks?: Prisma.EntityWebhookUncheckedCreateNestedManyWithoutEntityInput
|
|
properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutEntityInput
|
|
rows?: Prisma.RowUncheckedCreateNestedManyWithoutEntityInput
|
|
views?: Prisma.EntityViewUncheckedCreateNestedManyWithoutEntityInput
|
|
parentEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutChildInput
|
|
groups?: Prisma.EntityGroupEntityUncheckedCreateNestedManyWithoutEntityInput
|
|
templates?: Prisma.EntityTemplateUncheckedCreateNestedManyWithoutEntityInput
|
|
}
|
|
|
|
export type EntityCreateOrConnectWithoutChildEntitiesInput = {
|
|
where: Prisma.EntityWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.EntityCreateWithoutChildEntitiesInput, Prisma.EntityUncheckedCreateWithoutChildEntitiesInput>
|
|
}
|
|
|
|
export type EntityCreateWithoutParentEntitiesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
createdPermissions?: Prisma.PermissionCreateNestedManyWithoutEntityInput
|
|
apiKeys?: Prisma.ApiKeyEntityCreateNestedManyWithoutEntityInput
|
|
tags?: Prisma.EntityTagCreateNestedManyWithoutEntityInput
|
|
permissions?: Prisma.EntityTenantUserPermissionCreateNestedManyWithoutEntityInput
|
|
webhooks?: Prisma.EntityWebhookCreateNestedManyWithoutEntityInput
|
|
properties?: Prisma.PropertyCreateNestedManyWithoutEntityInput
|
|
rows?: Prisma.RowCreateNestedManyWithoutEntityInput
|
|
views?: Prisma.EntityViewCreateNestedManyWithoutEntityInput
|
|
childEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutParentInput
|
|
groups?: Prisma.EntityGroupEntityCreateNestedManyWithoutEntityInput
|
|
templates?: Prisma.EntityTemplateCreateNestedManyWithoutEntityInput
|
|
}
|
|
|
|
export type EntityUncheckedCreateWithoutParentEntitiesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
createdPermissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutEntityInput
|
|
apiKeys?: Prisma.ApiKeyEntityUncheckedCreateNestedManyWithoutEntityInput
|
|
tags?: Prisma.EntityTagUncheckedCreateNestedManyWithoutEntityInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUncheckedCreateNestedManyWithoutEntityInput
|
|
webhooks?: Prisma.EntityWebhookUncheckedCreateNestedManyWithoutEntityInput
|
|
properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutEntityInput
|
|
rows?: Prisma.RowUncheckedCreateNestedManyWithoutEntityInput
|
|
views?: Prisma.EntityViewUncheckedCreateNestedManyWithoutEntityInput
|
|
childEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutParentInput
|
|
groups?: Prisma.EntityGroupEntityUncheckedCreateNestedManyWithoutEntityInput
|
|
templates?: Prisma.EntityTemplateUncheckedCreateNestedManyWithoutEntityInput
|
|
}
|
|
|
|
export type EntityCreateOrConnectWithoutParentEntitiesInput = {
|
|
where: Prisma.EntityWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.EntityCreateWithoutParentEntitiesInput, Prisma.EntityUncheckedCreateWithoutParentEntitiesInput>
|
|
}
|
|
|
|
export type EntityUpsertWithoutChildEntitiesInput = {
|
|
update: Prisma.XOR<Prisma.EntityUpdateWithoutChildEntitiesInput, Prisma.EntityUncheckedUpdateWithoutChildEntitiesInput>
|
|
create: Prisma.XOR<Prisma.EntityCreateWithoutChildEntitiesInput, Prisma.EntityUncheckedCreateWithoutChildEntitiesInput>
|
|
where?: Prisma.EntityWhereInput
|
|
}
|
|
|
|
export type EntityUpdateToOneWithWhereWithoutChildEntitiesInput = {
|
|
where?: Prisma.EntityWhereInput
|
|
data: Prisma.XOR<Prisma.EntityUpdateWithoutChildEntitiesInput, Prisma.EntityUncheckedUpdateWithoutChildEntitiesInput>
|
|
}
|
|
|
|
export type EntityUpdateWithoutChildEntitiesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdPermissions?: Prisma.PermissionUpdateManyWithoutEntityNestedInput
|
|
apiKeys?: Prisma.ApiKeyEntityUpdateManyWithoutEntityNestedInput
|
|
tags?: Prisma.EntityTagUpdateManyWithoutEntityNestedInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUpdateManyWithoutEntityNestedInput
|
|
webhooks?: Prisma.EntityWebhookUpdateManyWithoutEntityNestedInput
|
|
properties?: Prisma.PropertyUpdateManyWithoutEntityNestedInput
|
|
rows?: Prisma.RowUpdateManyWithoutEntityNestedInput
|
|
views?: Prisma.EntityViewUpdateManyWithoutEntityNestedInput
|
|
parentEntities?: Prisma.EntityRelationshipUpdateManyWithoutChildNestedInput
|
|
groups?: Prisma.EntityGroupEntityUpdateManyWithoutEntityNestedInput
|
|
templates?: Prisma.EntityTemplateUpdateManyWithoutEntityNestedInput
|
|
}
|
|
|
|
export type EntityUncheckedUpdateWithoutChildEntitiesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdPermissions?: Prisma.PermissionUncheckedUpdateManyWithoutEntityNestedInput
|
|
apiKeys?: Prisma.ApiKeyEntityUncheckedUpdateManyWithoutEntityNestedInput
|
|
tags?: Prisma.EntityTagUncheckedUpdateManyWithoutEntityNestedInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUncheckedUpdateManyWithoutEntityNestedInput
|
|
webhooks?: Prisma.EntityWebhookUncheckedUpdateManyWithoutEntityNestedInput
|
|
properties?: Prisma.PropertyUncheckedUpdateManyWithoutEntityNestedInput
|
|
rows?: Prisma.RowUncheckedUpdateManyWithoutEntityNestedInput
|
|
views?: Prisma.EntityViewUncheckedUpdateManyWithoutEntityNestedInput
|
|
parentEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutChildNestedInput
|
|
groups?: Prisma.EntityGroupEntityUncheckedUpdateManyWithoutEntityNestedInput
|
|
templates?: Prisma.EntityTemplateUncheckedUpdateManyWithoutEntityNestedInput
|
|
}
|
|
|
|
export type EntityUpsertWithoutParentEntitiesInput = {
|
|
update: Prisma.XOR<Prisma.EntityUpdateWithoutParentEntitiesInput, Prisma.EntityUncheckedUpdateWithoutParentEntitiesInput>
|
|
create: Prisma.XOR<Prisma.EntityCreateWithoutParentEntitiesInput, Prisma.EntityUncheckedCreateWithoutParentEntitiesInput>
|
|
where?: Prisma.EntityWhereInput
|
|
}
|
|
|
|
export type EntityUpdateToOneWithWhereWithoutParentEntitiesInput = {
|
|
where?: Prisma.EntityWhereInput
|
|
data: Prisma.XOR<Prisma.EntityUpdateWithoutParentEntitiesInput, Prisma.EntityUncheckedUpdateWithoutParentEntitiesInput>
|
|
}
|
|
|
|
export type EntityUpdateWithoutParentEntitiesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdPermissions?: Prisma.PermissionUpdateManyWithoutEntityNestedInput
|
|
apiKeys?: Prisma.ApiKeyEntityUpdateManyWithoutEntityNestedInput
|
|
tags?: Prisma.EntityTagUpdateManyWithoutEntityNestedInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUpdateManyWithoutEntityNestedInput
|
|
webhooks?: Prisma.EntityWebhookUpdateManyWithoutEntityNestedInput
|
|
properties?: Prisma.PropertyUpdateManyWithoutEntityNestedInput
|
|
rows?: Prisma.RowUpdateManyWithoutEntityNestedInput
|
|
views?: Prisma.EntityViewUpdateManyWithoutEntityNestedInput
|
|
childEntities?: Prisma.EntityRelationshipUpdateManyWithoutParentNestedInput
|
|
groups?: Prisma.EntityGroupEntityUpdateManyWithoutEntityNestedInput
|
|
templates?: Prisma.EntityTemplateUpdateManyWithoutEntityNestedInput
|
|
}
|
|
|
|
export type EntityUncheckedUpdateWithoutParentEntitiesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdPermissions?: Prisma.PermissionUncheckedUpdateManyWithoutEntityNestedInput
|
|
apiKeys?: Prisma.ApiKeyEntityUncheckedUpdateManyWithoutEntityNestedInput
|
|
tags?: Prisma.EntityTagUncheckedUpdateManyWithoutEntityNestedInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUncheckedUpdateManyWithoutEntityNestedInput
|
|
webhooks?: Prisma.EntityWebhookUncheckedUpdateManyWithoutEntityNestedInput
|
|
properties?: Prisma.PropertyUncheckedUpdateManyWithoutEntityNestedInput
|
|
rows?: Prisma.RowUncheckedUpdateManyWithoutEntityNestedInput
|
|
views?: Prisma.EntityViewUncheckedUpdateManyWithoutEntityNestedInput
|
|
childEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutParentNestedInput
|
|
groups?: Prisma.EntityGroupEntityUncheckedUpdateManyWithoutEntityNestedInput
|
|
templates?: Prisma.EntityTemplateUncheckedUpdateManyWithoutEntityNestedInput
|
|
}
|
|
|
|
export type EntityCreateWithoutRowsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
createdPermissions?: Prisma.PermissionCreateNestedManyWithoutEntityInput
|
|
apiKeys?: Prisma.ApiKeyEntityCreateNestedManyWithoutEntityInput
|
|
tags?: Prisma.EntityTagCreateNestedManyWithoutEntityInput
|
|
permissions?: Prisma.EntityTenantUserPermissionCreateNestedManyWithoutEntityInput
|
|
webhooks?: Prisma.EntityWebhookCreateNestedManyWithoutEntityInput
|
|
properties?: Prisma.PropertyCreateNestedManyWithoutEntityInput
|
|
views?: Prisma.EntityViewCreateNestedManyWithoutEntityInput
|
|
parentEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutChildInput
|
|
childEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutParentInput
|
|
groups?: Prisma.EntityGroupEntityCreateNestedManyWithoutEntityInput
|
|
templates?: Prisma.EntityTemplateCreateNestedManyWithoutEntityInput
|
|
}
|
|
|
|
export type EntityUncheckedCreateWithoutRowsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
createdPermissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutEntityInput
|
|
apiKeys?: Prisma.ApiKeyEntityUncheckedCreateNestedManyWithoutEntityInput
|
|
tags?: Prisma.EntityTagUncheckedCreateNestedManyWithoutEntityInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUncheckedCreateNestedManyWithoutEntityInput
|
|
webhooks?: Prisma.EntityWebhookUncheckedCreateNestedManyWithoutEntityInput
|
|
properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutEntityInput
|
|
views?: Prisma.EntityViewUncheckedCreateNestedManyWithoutEntityInput
|
|
parentEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutChildInput
|
|
childEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutParentInput
|
|
groups?: Prisma.EntityGroupEntityUncheckedCreateNestedManyWithoutEntityInput
|
|
templates?: Prisma.EntityTemplateUncheckedCreateNestedManyWithoutEntityInput
|
|
}
|
|
|
|
export type EntityCreateOrConnectWithoutRowsInput = {
|
|
where: Prisma.EntityWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.EntityCreateWithoutRowsInput, Prisma.EntityUncheckedCreateWithoutRowsInput>
|
|
}
|
|
|
|
export type EntityUpsertWithoutRowsInput = {
|
|
update: Prisma.XOR<Prisma.EntityUpdateWithoutRowsInput, Prisma.EntityUncheckedUpdateWithoutRowsInput>
|
|
create: Prisma.XOR<Prisma.EntityCreateWithoutRowsInput, Prisma.EntityUncheckedCreateWithoutRowsInput>
|
|
where?: Prisma.EntityWhereInput
|
|
}
|
|
|
|
export type EntityUpdateToOneWithWhereWithoutRowsInput = {
|
|
where?: Prisma.EntityWhereInput
|
|
data: Prisma.XOR<Prisma.EntityUpdateWithoutRowsInput, Prisma.EntityUncheckedUpdateWithoutRowsInput>
|
|
}
|
|
|
|
export type EntityUpdateWithoutRowsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdPermissions?: Prisma.PermissionUpdateManyWithoutEntityNestedInput
|
|
apiKeys?: Prisma.ApiKeyEntityUpdateManyWithoutEntityNestedInput
|
|
tags?: Prisma.EntityTagUpdateManyWithoutEntityNestedInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUpdateManyWithoutEntityNestedInput
|
|
webhooks?: Prisma.EntityWebhookUpdateManyWithoutEntityNestedInput
|
|
properties?: Prisma.PropertyUpdateManyWithoutEntityNestedInput
|
|
views?: Prisma.EntityViewUpdateManyWithoutEntityNestedInput
|
|
parentEntities?: Prisma.EntityRelationshipUpdateManyWithoutChildNestedInput
|
|
childEntities?: Prisma.EntityRelationshipUpdateManyWithoutParentNestedInput
|
|
groups?: Prisma.EntityGroupEntityUpdateManyWithoutEntityNestedInput
|
|
templates?: Prisma.EntityTemplateUpdateManyWithoutEntityNestedInput
|
|
}
|
|
|
|
export type EntityUncheckedUpdateWithoutRowsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdPermissions?: Prisma.PermissionUncheckedUpdateManyWithoutEntityNestedInput
|
|
apiKeys?: Prisma.ApiKeyEntityUncheckedUpdateManyWithoutEntityNestedInput
|
|
tags?: Prisma.EntityTagUncheckedUpdateManyWithoutEntityNestedInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUncheckedUpdateManyWithoutEntityNestedInput
|
|
webhooks?: Prisma.EntityWebhookUncheckedUpdateManyWithoutEntityNestedInput
|
|
properties?: Prisma.PropertyUncheckedUpdateManyWithoutEntityNestedInput
|
|
views?: Prisma.EntityViewUncheckedUpdateManyWithoutEntityNestedInput
|
|
parentEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutChildNestedInput
|
|
childEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutParentNestedInput
|
|
groups?: Prisma.EntityGroupEntityUncheckedUpdateManyWithoutEntityNestedInput
|
|
templates?: Prisma.EntityTemplateUncheckedUpdateManyWithoutEntityNestedInput
|
|
}
|
|
|
|
export type EntityCreateWithoutTemplatesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
createdPermissions?: Prisma.PermissionCreateNestedManyWithoutEntityInput
|
|
apiKeys?: Prisma.ApiKeyEntityCreateNestedManyWithoutEntityInput
|
|
tags?: Prisma.EntityTagCreateNestedManyWithoutEntityInput
|
|
permissions?: Prisma.EntityTenantUserPermissionCreateNestedManyWithoutEntityInput
|
|
webhooks?: Prisma.EntityWebhookCreateNestedManyWithoutEntityInput
|
|
properties?: Prisma.PropertyCreateNestedManyWithoutEntityInput
|
|
rows?: Prisma.RowCreateNestedManyWithoutEntityInput
|
|
views?: Prisma.EntityViewCreateNestedManyWithoutEntityInput
|
|
parentEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutChildInput
|
|
childEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutParentInput
|
|
groups?: Prisma.EntityGroupEntityCreateNestedManyWithoutEntityInput
|
|
}
|
|
|
|
export type EntityUncheckedCreateWithoutTemplatesInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
createdPermissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutEntityInput
|
|
apiKeys?: Prisma.ApiKeyEntityUncheckedCreateNestedManyWithoutEntityInput
|
|
tags?: Prisma.EntityTagUncheckedCreateNestedManyWithoutEntityInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUncheckedCreateNestedManyWithoutEntityInput
|
|
webhooks?: Prisma.EntityWebhookUncheckedCreateNestedManyWithoutEntityInput
|
|
properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutEntityInput
|
|
rows?: Prisma.RowUncheckedCreateNestedManyWithoutEntityInput
|
|
views?: Prisma.EntityViewUncheckedCreateNestedManyWithoutEntityInput
|
|
parentEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutChildInput
|
|
childEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutParentInput
|
|
groups?: Prisma.EntityGroupEntityUncheckedCreateNestedManyWithoutEntityInput
|
|
}
|
|
|
|
export type EntityCreateOrConnectWithoutTemplatesInput = {
|
|
where: Prisma.EntityWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.EntityCreateWithoutTemplatesInput, Prisma.EntityUncheckedCreateWithoutTemplatesInput>
|
|
}
|
|
|
|
export type EntityUpsertWithoutTemplatesInput = {
|
|
update: Prisma.XOR<Prisma.EntityUpdateWithoutTemplatesInput, Prisma.EntityUncheckedUpdateWithoutTemplatesInput>
|
|
create: Prisma.XOR<Prisma.EntityCreateWithoutTemplatesInput, Prisma.EntityUncheckedCreateWithoutTemplatesInput>
|
|
where?: Prisma.EntityWhereInput
|
|
}
|
|
|
|
export type EntityUpdateToOneWithWhereWithoutTemplatesInput = {
|
|
where?: Prisma.EntityWhereInput
|
|
data: Prisma.XOR<Prisma.EntityUpdateWithoutTemplatesInput, Prisma.EntityUncheckedUpdateWithoutTemplatesInput>
|
|
}
|
|
|
|
export type EntityUpdateWithoutTemplatesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdPermissions?: Prisma.PermissionUpdateManyWithoutEntityNestedInput
|
|
apiKeys?: Prisma.ApiKeyEntityUpdateManyWithoutEntityNestedInput
|
|
tags?: Prisma.EntityTagUpdateManyWithoutEntityNestedInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUpdateManyWithoutEntityNestedInput
|
|
webhooks?: Prisma.EntityWebhookUpdateManyWithoutEntityNestedInput
|
|
properties?: Prisma.PropertyUpdateManyWithoutEntityNestedInput
|
|
rows?: Prisma.RowUpdateManyWithoutEntityNestedInput
|
|
views?: Prisma.EntityViewUpdateManyWithoutEntityNestedInput
|
|
parentEntities?: Prisma.EntityRelationshipUpdateManyWithoutChildNestedInput
|
|
childEntities?: Prisma.EntityRelationshipUpdateManyWithoutParentNestedInput
|
|
groups?: Prisma.EntityGroupEntityUpdateManyWithoutEntityNestedInput
|
|
}
|
|
|
|
export type EntityUncheckedUpdateWithoutTemplatesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdPermissions?: Prisma.PermissionUncheckedUpdateManyWithoutEntityNestedInput
|
|
apiKeys?: Prisma.ApiKeyEntityUncheckedUpdateManyWithoutEntityNestedInput
|
|
tags?: Prisma.EntityTagUncheckedUpdateManyWithoutEntityNestedInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUncheckedUpdateManyWithoutEntityNestedInput
|
|
webhooks?: Prisma.EntityWebhookUncheckedUpdateManyWithoutEntityNestedInput
|
|
properties?: Prisma.PropertyUncheckedUpdateManyWithoutEntityNestedInput
|
|
rows?: Prisma.RowUncheckedUpdateManyWithoutEntityNestedInput
|
|
views?: Prisma.EntityViewUncheckedUpdateManyWithoutEntityNestedInput
|
|
parentEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutChildNestedInput
|
|
childEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutParentNestedInput
|
|
groups?: Prisma.EntityGroupEntityUncheckedUpdateManyWithoutEntityNestedInput
|
|
}
|
|
|
|
export type EntityCreateWithoutGroupsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
createdPermissions?: Prisma.PermissionCreateNestedManyWithoutEntityInput
|
|
apiKeys?: Prisma.ApiKeyEntityCreateNestedManyWithoutEntityInput
|
|
tags?: Prisma.EntityTagCreateNestedManyWithoutEntityInput
|
|
permissions?: Prisma.EntityTenantUserPermissionCreateNestedManyWithoutEntityInput
|
|
webhooks?: Prisma.EntityWebhookCreateNestedManyWithoutEntityInput
|
|
properties?: Prisma.PropertyCreateNestedManyWithoutEntityInput
|
|
rows?: Prisma.RowCreateNestedManyWithoutEntityInput
|
|
views?: Prisma.EntityViewCreateNestedManyWithoutEntityInput
|
|
parentEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutChildInput
|
|
childEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutParentInput
|
|
templates?: Prisma.EntityTemplateCreateNestedManyWithoutEntityInput
|
|
}
|
|
|
|
export type EntityUncheckedCreateWithoutGroupsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
createdPermissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutEntityInput
|
|
apiKeys?: Prisma.ApiKeyEntityUncheckedCreateNestedManyWithoutEntityInput
|
|
tags?: Prisma.EntityTagUncheckedCreateNestedManyWithoutEntityInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUncheckedCreateNestedManyWithoutEntityInput
|
|
webhooks?: Prisma.EntityWebhookUncheckedCreateNestedManyWithoutEntityInput
|
|
properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutEntityInput
|
|
rows?: Prisma.RowUncheckedCreateNestedManyWithoutEntityInput
|
|
views?: Prisma.EntityViewUncheckedCreateNestedManyWithoutEntityInput
|
|
parentEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutChildInput
|
|
childEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutParentInput
|
|
templates?: Prisma.EntityTemplateUncheckedCreateNestedManyWithoutEntityInput
|
|
}
|
|
|
|
export type EntityCreateOrConnectWithoutGroupsInput = {
|
|
where: Prisma.EntityWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.EntityCreateWithoutGroupsInput, Prisma.EntityUncheckedCreateWithoutGroupsInput>
|
|
}
|
|
|
|
export type EntityUpsertWithoutGroupsInput = {
|
|
update: Prisma.XOR<Prisma.EntityUpdateWithoutGroupsInput, Prisma.EntityUncheckedUpdateWithoutGroupsInput>
|
|
create: Prisma.XOR<Prisma.EntityCreateWithoutGroupsInput, Prisma.EntityUncheckedCreateWithoutGroupsInput>
|
|
where?: Prisma.EntityWhereInput
|
|
}
|
|
|
|
export type EntityUpdateToOneWithWhereWithoutGroupsInput = {
|
|
where?: Prisma.EntityWhereInput
|
|
data: Prisma.XOR<Prisma.EntityUpdateWithoutGroupsInput, Prisma.EntityUncheckedUpdateWithoutGroupsInput>
|
|
}
|
|
|
|
export type EntityUpdateWithoutGroupsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdPermissions?: Prisma.PermissionUpdateManyWithoutEntityNestedInput
|
|
apiKeys?: Prisma.ApiKeyEntityUpdateManyWithoutEntityNestedInput
|
|
tags?: Prisma.EntityTagUpdateManyWithoutEntityNestedInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUpdateManyWithoutEntityNestedInput
|
|
webhooks?: Prisma.EntityWebhookUpdateManyWithoutEntityNestedInput
|
|
properties?: Prisma.PropertyUpdateManyWithoutEntityNestedInput
|
|
rows?: Prisma.RowUpdateManyWithoutEntityNestedInput
|
|
views?: Prisma.EntityViewUpdateManyWithoutEntityNestedInput
|
|
parentEntities?: Prisma.EntityRelationshipUpdateManyWithoutChildNestedInput
|
|
childEntities?: Prisma.EntityRelationshipUpdateManyWithoutParentNestedInput
|
|
templates?: Prisma.EntityTemplateUpdateManyWithoutEntityNestedInput
|
|
}
|
|
|
|
export type EntityUncheckedUpdateWithoutGroupsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdPermissions?: Prisma.PermissionUncheckedUpdateManyWithoutEntityNestedInput
|
|
apiKeys?: Prisma.ApiKeyEntityUncheckedUpdateManyWithoutEntityNestedInput
|
|
tags?: Prisma.EntityTagUncheckedUpdateManyWithoutEntityNestedInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUncheckedUpdateManyWithoutEntityNestedInput
|
|
webhooks?: Prisma.EntityWebhookUncheckedUpdateManyWithoutEntityNestedInput
|
|
properties?: Prisma.PropertyUncheckedUpdateManyWithoutEntityNestedInput
|
|
rows?: Prisma.RowUncheckedUpdateManyWithoutEntityNestedInput
|
|
views?: Prisma.EntityViewUncheckedUpdateManyWithoutEntityNestedInput
|
|
parentEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutChildNestedInput
|
|
childEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutParentNestedInput
|
|
templates?: Prisma.EntityTemplateUncheckedUpdateManyWithoutEntityNestedInput
|
|
}
|
|
|
|
export type EntityCreateWithoutApiKeysInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
createdPermissions?: Prisma.PermissionCreateNestedManyWithoutEntityInput
|
|
tags?: Prisma.EntityTagCreateNestedManyWithoutEntityInput
|
|
permissions?: Prisma.EntityTenantUserPermissionCreateNestedManyWithoutEntityInput
|
|
webhooks?: Prisma.EntityWebhookCreateNestedManyWithoutEntityInput
|
|
properties?: Prisma.PropertyCreateNestedManyWithoutEntityInput
|
|
rows?: Prisma.RowCreateNestedManyWithoutEntityInput
|
|
views?: Prisma.EntityViewCreateNestedManyWithoutEntityInput
|
|
parentEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutChildInput
|
|
childEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutParentInput
|
|
groups?: Prisma.EntityGroupEntityCreateNestedManyWithoutEntityInput
|
|
templates?: Prisma.EntityTemplateCreateNestedManyWithoutEntityInput
|
|
}
|
|
|
|
export type EntityUncheckedCreateWithoutApiKeysInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
createdPermissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutEntityInput
|
|
tags?: Prisma.EntityTagUncheckedCreateNestedManyWithoutEntityInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUncheckedCreateNestedManyWithoutEntityInput
|
|
webhooks?: Prisma.EntityWebhookUncheckedCreateNestedManyWithoutEntityInput
|
|
properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutEntityInput
|
|
rows?: Prisma.RowUncheckedCreateNestedManyWithoutEntityInput
|
|
views?: Prisma.EntityViewUncheckedCreateNestedManyWithoutEntityInput
|
|
parentEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutChildInput
|
|
childEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutParentInput
|
|
groups?: Prisma.EntityGroupEntityUncheckedCreateNestedManyWithoutEntityInput
|
|
templates?: Prisma.EntityTemplateUncheckedCreateNestedManyWithoutEntityInput
|
|
}
|
|
|
|
export type EntityCreateOrConnectWithoutApiKeysInput = {
|
|
where: Prisma.EntityWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.EntityCreateWithoutApiKeysInput, Prisma.EntityUncheckedCreateWithoutApiKeysInput>
|
|
}
|
|
|
|
export type EntityUpsertWithoutApiKeysInput = {
|
|
update: Prisma.XOR<Prisma.EntityUpdateWithoutApiKeysInput, Prisma.EntityUncheckedUpdateWithoutApiKeysInput>
|
|
create: Prisma.XOR<Prisma.EntityCreateWithoutApiKeysInput, Prisma.EntityUncheckedCreateWithoutApiKeysInput>
|
|
where?: Prisma.EntityWhereInput
|
|
}
|
|
|
|
export type EntityUpdateToOneWithWhereWithoutApiKeysInput = {
|
|
where?: Prisma.EntityWhereInput
|
|
data: Prisma.XOR<Prisma.EntityUpdateWithoutApiKeysInput, Prisma.EntityUncheckedUpdateWithoutApiKeysInput>
|
|
}
|
|
|
|
export type EntityUpdateWithoutApiKeysInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdPermissions?: Prisma.PermissionUpdateManyWithoutEntityNestedInput
|
|
tags?: Prisma.EntityTagUpdateManyWithoutEntityNestedInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUpdateManyWithoutEntityNestedInput
|
|
webhooks?: Prisma.EntityWebhookUpdateManyWithoutEntityNestedInput
|
|
properties?: Prisma.PropertyUpdateManyWithoutEntityNestedInput
|
|
rows?: Prisma.RowUpdateManyWithoutEntityNestedInput
|
|
views?: Prisma.EntityViewUpdateManyWithoutEntityNestedInput
|
|
parentEntities?: Prisma.EntityRelationshipUpdateManyWithoutChildNestedInput
|
|
childEntities?: Prisma.EntityRelationshipUpdateManyWithoutParentNestedInput
|
|
groups?: Prisma.EntityGroupEntityUpdateManyWithoutEntityNestedInput
|
|
templates?: Prisma.EntityTemplateUpdateManyWithoutEntityNestedInput
|
|
}
|
|
|
|
export type EntityUncheckedUpdateWithoutApiKeysInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
createdPermissions?: Prisma.PermissionUncheckedUpdateManyWithoutEntityNestedInput
|
|
tags?: Prisma.EntityTagUncheckedUpdateManyWithoutEntityNestedInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUncheckedUpdateManyWithoutEntityNestedInput
|
|
webhooks?: Prisma.EntityWebhookUncheckedUpdateManyWithoutEntityNestedInput
|
|
properties?: Prisma.PropertyUncheckedUpdateManyWithoutEntityNestedInput
|
|
rows?: Prisma.RowUncheckedUpdateManyWithoutEntityNestedInput
|
|
views?: Prisma.EntityViewUncheckedUpdateManyWithoutEntityNestedInput
|
|
parentEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutChildNestedInput
|
|
childEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutParentNestedInput
|
|
groups?: Prisma.EntityGroupEntityUncheckedUpdateManyWithoutEntityNestedInput
|
|
templates?: Prisma.EntityTemplateUncheckedUpdateManyWithoutEntityNestedInput
|
|
}
|
|
|
|
export type EntityCreateWithoutCreatedPermissionsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
apiKeys?: Prisma.ApiKeyEntityCreateNestedManyWithoutEntityInput
|
|
tags?: Prisma.EntityTagCreateNestedManyWithoutEntityInput
|
|
permissions?: Prisma.EntityTenantUserPermissionCreateNestedManyWithoutEntityInput
|
|
webhooks?: Prisma.EntityWebhookCreateNestedManyWithoutEntityInput
|
|
properties?: Prisma.PropertyCreateNestedManyWithoutEntityInput
|
|
rows?: Prisma.RowCreateNestedManyWithoutEntityInput
|
|
views?: Prisma.EntityViewCreateNestedManyWithoutEntityInput
|
|
parentEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutChildInput
|
|
childEntities?: Prisma.EntityRelationshipCreateNestedManyWithoutParentInput
|
|
groups?: Prisma.EntityGroupEntityCreateNestedManyWithoutEntityInput
|
|
templates?: Prisma.EntityTemplateCreateNestedManyWithoutEntityInput
|
|
}
|
|
|
|
export type EntityUncheckedCreateWithoutCreatedPermissionsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
moduleId?: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type?: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: string
|
|
onCreated?: string | null
|
|
onEdit?: string | null
|
|
apiKeys?: Prisma.ApiKeyEntityUncheckedCreateNestedManyWithoutEntityInput
|
|
tags?: Prisma.EntityTagUncheckedCreateNestedManyWithoutEntityInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUncheckedCreateNestedManyWithoutEntityInput
|
|
webhooks?: Prisma.EntityWebhookUncheckedCreateNestedManyWithoutEntityInput
|
|
properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutEntityInput
|
|
rows?: Prisma.RowUncheckedCreateNestedManyWithoutEntityInput
|
|
views?: Prisma.EntityViewUncheckedCreateNestedManyWithoutEntityInput
|
|
parentEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutChildInput
|
|
childEntities?: Prisma.EntityRelationshipUncheckedCreateNestedManyWithoutParentInput
|
|
groups?: Prisma.EntityGroupEntityUncheckedCreateNestedManyWithoutEntityInput
|
|
templates?: Prisma.EntityTemplateUncheckedCreateNestedManyWithoutEntityInput
|
|
}
|
|
|
|
export type EntityCreateOrConnectWithoutCreatedPermissionsInput = {
|
|
where: Prisma.EntityWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.EntityCreateWithoutCreatedPermissionsInput, Prisma.EntityUncheckedCreateWithoutCreatedPermissionsInput>
|
|
}
|
|
|
|
export type EntityUpsertWithoutCreatedPermissionsInput = {
|
|
update: Prisma.XOR<Prisma.EntityUpdateWithoutCreatedPermissionsInput, Prisma.EntityUncheckedUpdateWithoutCreatedPermissionsInput>
|
|
create: Prisma.XOR<Prisma.EntityCreateWithoutCreatedPermissionsInput, Prisma.EntityUncheckedCreateWithoutCreatedPermissionsInput>
|
|
where?: Prisma.EntityWhereInput
|
|
}
|
|
|
|
export type EntityUpdateToOneWithWhereWithoutCreatedPermissionsInput = {
|
|
where?: Prisma.EntityWhereInput
|
|
data: Prisma.XOR<Prisma.EntityUpdateWithoutCreatedPermissionsInput, Prisma.EntityUncheckedUpdateWithoutCreatedPermissionsInput>
|
|
}
|
|
|
|
export type EntityUpdateWithoutCreatedPermissionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
apiKeys?: Prisma.ApiKeyEntityUpdateManyWithoutEntityNestedInput
|
|
tags?: Prisma.EntityTagUpdateManyWithoutEntityNestedInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUpdateManyWithoutEntityNestedInput
|
|
webhooks?: Prisma.EntityWebhookUpdateManyWithoutEntityNestedInput
|
|
properties?: Prisma.PropertyUpdateManyWithoutEntityNestedInput
|
|
rows?: Prisma.RowUpdateManyWithoutEntityNestedInput
|
|
views?: Prisma.EntityViewUpdateManyWithoutEntityNestedInput
|
|
parentEntities?: Prisma.EntityRelationshipUpdateManyWithoutChildNestedInput
|
|
childEntities?: Prisma.EntityRelationshipUpdateManyWithoutParentNestedInput
|
|
groups?: Prisma.EntityGroupEntityUpdateManyWithoutEntityNestedInput
|
|
templates?: Prisma.EntityTemplateUpdateManyWithoutEntityNestedInput
|
|
}
|
|
|
|
export type EntityUncheckedUpdateWithoutCreatedPermissionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
moduleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
order?: Prisma.IntFieldUpdateOperationsInput | number
|
|
prefix?: Prisma.StringFieldUpdateOperationsInput | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
titlePlural?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isAutogenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasApi?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
active?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
showInSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTags?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasComments?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasTasks?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasActivity?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasBulkDelete?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
hasViews?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
defaultVisibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
onCreated?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
onEdit?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
apiKeys?: Prisma.ApiKeyEntityUncheckedUpdateManyWithoutEntityNestedInput
|
|
tags?: Prisma.EntityTagUncheckedUpdateManyWithoutEntityNestedInput
|
|
permissions?: Prisma.EntityTenantUserPermissionUncheckedUpdateManyWithoutEntityNestedInput
|
|
webhooks?: Prisma.EntityWebhookUncheckedUpdateManyWithoutEntityNestedInput
|
|
properties?: Prisma.PropertyUncheckedUpdateManyWithoutEntityNestedInput
|
|
rows?: Prisma.RowUncheckedUpdateManyWithoutEntityNestedInput
|
|
views?: Prisma.EntityViewUncheckedUpdateManyWithoutEntityNestedInput
|
|
parentEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutChildNestedInput
|
|
childEntities?: Prisma.EntityRelationshipUncheckedUpdateManyWithoutParentNestedInput
|
|
groups?: Prisma.EntityGroupEntityUncheckedUpdateManyWithoutEntityNestedInput
|
|
templates?: Prisma.EntityTemplateUncheckedUpdateManyWithoutEntityNestedInput
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type EntityCountOutputType
|
|
*/
|
|
|
|
export type EntityCountOutputType = {
|
|
createdPermissions: number
|
|
apiKeys: number
|
|
tags: number
|
|
permissions: number
|
|
webhooks: number
|
|
properties: number
|
|
rows: number
|
|
views: number
|
|
parentEntities: number
|
|
childEntities: number
|
|
groups: number
|
|
templates: number
|
|
}
|
|
|
|
export type EntityCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
createdPermissions?: boolean | EntityCountOutputTypeCountCreatedPermissionsArgs
|
|
apiKeys?: boolean | EntityCountOutputTypeCountApiKeysArgs
|
|
tags?: boolean | EntityCountOutputTypeCountTagsArgs
|
|
permissions?: boolean | EntityCountOutputTypeCountPermissionsArgs
|
|
webhooks?: boolean | EntityCountOutputTypeCountWebhooksArgs
|
|
properties?: boolean | EntityCountOutputTypeCountPropertiesArgs
|
|
rows?: boolean | EntityCountOutputTypeCountRowsArgs
|
|
views?: boolean | EntityCountOutputTypeCountViewsArgs
|
|
parentEntities?: boolean | EntityCountOutputTypeCountParentEntitiesArgs
|
|
childEntities?: boolean | EntityCountOutputTypeCountChildEntitiesArgs
|
|
groups?: boolean | EntityCountOutputTypeCountGroupsArgs
|
|
templates?: boolean | EntityCountOutputTypeCountTemplatesArgs
|
|
}
|
|
|
|
/**
|
|
* EntityCountOutputType without action
|
|
*/
|
|
export type EntityCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityCountOutputType
|
|
*/
|
|
select?: Prisma.EntityCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* EntityCountOutputType without action
|
|
*/
|
|
export type EntityCountOutputTypeCountCreatedPermissionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.PermissionWhereInput
|
|
}
|
|
|
|
/**
|
|
* EntityCountOutputType without action
|
|
*/
|
|
export type EntityCountOutputTypeCountApiKeysArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.ApiKeyEntityWhereInput
|
|
}
|
|
|
|
/**
|
|
* EntityCountOutputType without action
|
|
*/
|
|
export type EntityCountOutputTypeCountTagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.EntityTagWhereInput
|
|
}
|
|
|
|
/**
|
|
* EntityCountOutputType without action
|
|
*/
|
|
export type EntityCountOutputTypeCountPermissionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.EntityTenantUserPermissionWhereInput
|
|
}
|
|
|
|
/**
|
|
* EntityCountOutputType without action
|
|
*/
|
|
export type EntityCountOutputTypeCountWebhooksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.EntityWebhookWhereInput
|
|
}
|
|
|
|
/**
|
|
* EntityCountOutputType without action
|
|
*/
|
|
export type EntityCountOutputTypeCountPropertiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.PropertyWhereInput
|
|
}
|
|
|
|
/**
|
|
* EntityCountOutputType without action
|
|
*/
|
|
export type EntityCountOutputTypeCountRowsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.RowWhereInput
|
|
}
|
|
|
|
/**
|
|
* EntityCountOutputType without action
|
|
*/
|
|
export type EntityCountOutputTypeCountViewsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.EntityViewWhereInput
|
|
}
|
|
|
|
/**
|
|
* EntityCountOutputType without action
|
|
*/
|
|
export type EntityCountOutputTypeCountParentEntitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.EntityRelationshipWhereInput
|
|
}
|
|
|
|
/**
|
|
* EntityCountOutputType without action
|
|
*/
|
|
export type EntityCountOutputTypeCountChildEntitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.EntityRelationshipWhereInput
|
|
}
|
|
|
|
/**
|
|
* EntityCountOutputType without action
|
|
*/
|
|
export type EntityCountOutputTypeCountGroupsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.EntityGroupEntityWhereInput
|
|
}
|
|
|
|
/**
|
|
* EntityCountOutputType without action
|
|
*/
|
|
export type EntityCountOutputTypeCountTemplatesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.EntityTemplateWhereInput
|
|
}
|
|
|
|
|
|
export type EntitySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
moduleId?: boolean
|
|
name?: boolean
|
|
slug?: boolean
|
|
order?: boolean
|
|
prefix?: boolean
|
|
type?: boolean
|
|
title?: boolean
|
|
titlePlural?: boolean
|
|
isAutogenerated?: boolean
|
|
hasApi?: boolean
|
|
icon?: boolean
|
|
active?: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: boolean
|
|
onCreated?: boolean
|
|
onEdit?: boolean
|
|
createdPermissions?: boolean | Prisma.Entity$createdPermissionsArgs<ExtArgs>
|
|
apiKeys?: boolean | Prisma.Entity$apiKeysArgs<ExtArgs>
|
|
tags?: boolean | Prisma.Entity$tagsArgs<ExtArgs>
|
|
permissions?: boolean | Prisma.Entity$permissionsArgs<ExtArgs>
|
|
webhooks?: boolean | Prisma.Entity$webhooksArgs<ExtArgs>
|
|
properties?: boolean | Prisma.Entity$propertiesArgs<ExtArgs>
|
|
rows?: boolean | Prisma.Entity$rowsArgs<ExtArgs>
|
|
views?: boolean | Prisma.Entity$viewsArgs<ExtArgs>
|
|
parentEntities?: boolean | Prisma.Entity$parentEntitiesArgs<ExtArgs>
|
|
childEntities?: boolean | Prisma.Entity$childEntitiesArgs<ExtArgs>
|
|
groups?: boolean | Prisma.Entity$groupsArgs<ExtArgs>
|
|
templates?: boolean | Prisma.Entity$templatesArgs<ExtArgs>
|
|
_count?: boolean | Prisma.EntityCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["entity"]>
|
|
|
|
export type EntitySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
moduleId?: boolean
|
|
name?: boolean
|
|
slug?: boolean
|
|
order?: boolean
|
|
prefix?: boolean
|
|
type?: boolean
|
|
title?: boolean
|
|
titlePlural?: boolean
|
|
isAutogenerated?: boolean
|
|
hasApi?: boolean
|
|
icon?: boolean
|
|
active?: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: boolean
|
|
onCreated?: boolean
|
|
onEdit?: boolean
|
|
}, ExtArgs["result"]["entity"]>
|
|
|
|
export type EntitySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
moduleId?: boolean
|
|
name?: boolean
|
|
slug?: boolean
|
|
order?: boolean
|
|
prefix?: boolean
|
|
type?: boolean
|
|
title?: boolean
|
|
titlePlural?: boolean
|
|
isAutogenerated?: boolean
|
|
hasApi?: boolean
|
|
icon?: boolean
|
|
active?: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: boolean
|
|
onCreated?: boolean
|
|
onEdit?: boolean
|
|
}, ExtArgs["result"]["entity"]>
|
|
|
|
export type EntitySelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
moduleId?: boolean
|
|
name?: boolean
|
|
slug?: boolean
|
|
order?: boolean
|
|
prefix?: boolean
|
|
type?: boolean
|
|
title?: boolean
|
|
titlePlural?: boolean
|
|
isAutogenerated?: boolean
|
|
hasApi?: boolean
|
|
icon?: boolean
|
|
active?: boolean
|
|
showInSidebar?: boolean
|
|
hasTags?: boolean
|
|
hasComments?: boolean
|
|
hasTasks?: boolean
|
|
hasActivity?: boolean
|
|
hasBulkDelete?: boolean
|
|
hasViews?: boolean
|
|
defaultVisibility?: boolean
|
|
onCreated?: boolean
|
|
onEdit?: boolean
|
|
}
|
|
|
|
export type EntityOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "moduleId" | "name" | "slug" | "order" | "prefix" | "type" | "title" | "titlePlural" | "isAutogenerated" | "hasApi" | "icon" | "active" | "showInSidebar" | "hasTags" | "hasComments" | "hasTasks" | "hasActivity" | "hasBulkDelete" | "hasViews" | "defaultVisibility" | "onCreated" | "onEdit", ExtArgs["result"]["entity"]>
|
|
export type EntityInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
createdPermissions?: boolean | Prisma.Entity$createdPermissionsArgs<ExtArgs>
|
|
apiKeys?: boolean | Prisma.Entity$apiKeysArgs<ExtArgs>
|
|
tags?: boolean | Prisma.Entity$tagsArgs<ExtArgs>
|
|
permissions?: boolean | Prisma.Entity$permissionsArgs<ExtArgs>
|
|
webhooks?: boolean | Prisma.Entity$webhooksArgs<ExtArgs>
|
|
properties?: boolean | Prisma.Entity$propertiesArgs<ExtArgs>
|
|
rows?: boolean | Prisma.Entity$rowsArgs<ExtArgs>
|
|
views?: boolean | Prisma.Entity$viewsArgs<ExtArgs>
|
|
parentEntities?: boolean | Prisma.Entity$parentEntitiesArgs<ExtArgs>
|
|
childEntities?: boolean | Prisma.Entity$childEntitiesArgs<ExtArgs>
|
|
groups?: boolean | Prisma.Entity$groupsArgs<ExtArgs>
|
|
templates?: boolean | Prisma.Entity$templatesArgs<ExtArgs>
|
|
_count?: boolean | Prisma.EntityCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type EntityIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
export type EntityIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
|
|
export type $EntityPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "Entity"
|
|
objects: {
|
|
createdPermissions: Prisma.$PermissionPayload<ExtArgs>[]
|
|
apiKeys: Prisma.$ApiKeyEntityPayload<ExtArgs>[]
|
|
tags: Prisma.$EntityTagPayload<ExtArgs>[]
|
|
permissions: Prisma.$EntityTenantUserPermissionPayload<ExtArgs>[]
|
|
webhooks: Prisma.$EntityWebhookPayload<ExtArgs>[]
|
|
properties: Prisma.$PropertyPayload<ExtArgs>[]
|
|
rows: Prisma.$RowPayload<ExtArgs>[]
|
|
views: Prisma.$EntityViewPayload<ExtArgs>[]
|
|
parentEntities: Prisma.$EntityRelationshipPayload<ExtArgs>[]
|
|
childEntities: Prisma.$EntityRelationshipPayload<ExtArgs>[]
|
|
groups: Prisma.$EntityGroupEntityPayload<ExtArgs>[]
|
|
templates: Prisma.$EntityTemplatePayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
moduleId: string | null
|
|
name: string
|
|
slug: string
|
|
order: number
|
|
prefix: string
|
|
type: string
|
|
title: string
|
|
titlePlural: string
|
|
isAutogenerated: boolean
|
|
hasApi: boolean
|
|
icon: string
|
|
active: boolean
|
|
showInSidebar: boolean
|
|
hasTags: boolean
|
|
hasComments: boolean
|
|
hasTasks: boolean
|
|
hasActivity: boolean
|
|
hasBulkDelete: boolean
|
|
hasViews: boolean
|
|
defaultVisibility: string
|
|
onCreated: string | null
|
|
onEdit: string | null
|
|
}, ExtArgs["result"]["entity"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type EntityGetPayload<S extends boolean | null | undefined | EntityDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$EntityPayload, S>
|
|
|
|
export type EntityCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<EntityFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: EntityCountAggregateInputType | true
|
|
}
|
|
|
|
export interface EntityDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Entity'], meta: { name: 'Entity' } }
|
|
/**
|
|
* Find zero or one Entity that matches the filter.
|
|
* @param {EntityFindUniqueArgs} args - Arguments to find a Entity
|
|
* @example
|
|
* // Get one Entity
|
|
* const entity = await prisma.entity.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends EntityFindUniqueArgs>(args: Prisma.SelectSubset<T, EntityFindUniqueArgs<ExtArgs>>): Prisma.Prisma__EntityClient<runtime.Types.Result.GetResult<Prisma.$EntityPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one Entity that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {EntityFindUniqueOrThrowArgs} args - Arguments to find a Entity
|
|
* @example
|
|
* // Get one Entity
|
|
* const entity = await prisma.entity.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends EntityFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, EntityFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__EntityClient<runtime.Types.Result.GetResult<Prisma.$EntityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Entity 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 {EntityFindFirstArgs} args - Arguments to find a Entity
|
|
* @example
|
|
* // Get one Entity
|
|
* const entity = await prisma.entity.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends EntityFindFirstArgs>(args?: Prisma.SelectSubset<T, EntityFindFirstArgs<ExtArgs>>): Prisma.Prisma__EntityClient<runtime.Types.Result.GetResult<Prisma.$EntityPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Entity 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 {EntityFindFirstOrThrowArgs} args - Arguments to find a Entity
|
|
* @example
|
|
* // Get one Entity
|
|
* const entity = await prisma.entity.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends EntityFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, EntityFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__EntityClient<runtime.Types.Result.GetResult<Prisma.$EntityPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more Entities 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 {EntityFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all Entities
|
|
* const entities = await prisma.entity.findMany()
|
|
*
|
|
* // Get first 10 Entities
|
|
* const entities = await prisma.entity.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const entityWithIdOnly = await prisma.entity.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends EntityFindManyArgs>(args?: Prisma.SelectSubset<T, EntityFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a Entity.
|
|
* @param {EntityCreateArgs} args - Arguments to create a Entity.
|
|
* @example
|
|
* // Create one Entity
|
|
* const Entity = await prisma.entity.create({
|
|
* data: {
|
|
* // ... data to create a Entity
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends EntityCreateArgs>(args: Prisma.SelectSubset<T, EntityCreateArgs<ExtArgs>>): Prisma.Prisma__EntityClient<runtime.Types.Result.GetResult<Prisma.$EntityPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many Entities.
|
|
* @param {EntityCreateManyArgs} args - Arguments to create many Entities.
|
|
* @example
|
|
* // Create many Entities
|
|
* const entity = await prisma.entity.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends EntityCreateManyArgs>(args?: Prisma.SelectSubset<T, EntityCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many Entities and returns the data saved in the database.
|
|
* @param {EntityCreateManyAndReturnArgs} args - Arguments to create many Entities.
|
|
* @example
|
|
* // Create many Entities
|
|
* const entity = await prisma.entity.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many Entities and only return the `id`
|
|
* const entityWithIdOnly = await prisma.entity.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 EntityCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, EntityCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a Entity.
|
|
* @param {EntityDeleteArgs} args - Arguments to delete one Entity.
|
|
* @example
|
|
* // Delete one Entity
|
|
* const Entity = await prisma.entity.delete({
|
|
* where: {
|
|
* // ... filter to delete one Entity
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends EntityDeleteArgs>(args: Prisma.SelectSubset<T, EntityDeleteArgs<ExtArgs>>): Prisma.Prisma__EntityClient<runtime.Types.Result.GetResult<Prisma.$EntityPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one Entity.
|
|
* @param {EntityUpdateArgs} args - Arguments to update one Entity.
|
|
* @example
|
|
* // Update one Entity
|
|
* const entity = await prisma.entity.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends EntityUpdateArgs>(args: Prisma.SelectSubset<T, EntityUpdateArgs<ExtArgs>>): Prisma.Prisma__EntityClient<runtime.Types.Result.GetResult<Prisma.$EntityPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more Entities.
|
|
* @param {EntityDeleteManyArgs} args - Arguments to filter Entities to delete.
|
|
* @example
|
|
* // Delete a few Entities
|
|
* const { count } = await prisma.entity.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends EntityDeleteManyArgs>(args?: Prisma.SelectSubset<T, EntityDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Entities.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {EntityUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many Entities
|
|
* const entity = await prisma.entity.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends EntityUpdateManyArgs>(args: Prisma.SelectSubset<T, EntityUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Entities and returns the data updated in the database.
|
|
* @param {EntityUpdateManyAndReturnArgs} args - Arguments to update many Entities.
|
|
* @example
|
|
* // Update many Entities
|
|
* const entity = await prisma.entity.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more Entities and only return the `id`
|
|
* const entityWithIdOnly = await prisma.entity.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 EntityUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, EntityUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one Entity.
|
|
* @param {EntityUpsertArgs} args - Arguments to update or create a Entity.
|
|
* @example
|
|
* // Update or create a Entity
|
|
* const entity = await prisma.entity.upsert({
|
|
* create: {
|
|
* // ... data to create a Entity
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the Entity we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends EntityUpsertArgs>(args: Prisma.SelectSubset<T, EntityUpsertArgs<ExtArgs>>): Prisma.Prisma__EntityClient<runtime.Types.Result.GetResult<Prisma.$EntityPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of Entities.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {EntityCountArgs} args - Arguments to filter Entities to count.
|
|
* @example
|
|
* // Count the number of Entities
|
|
* const count = await prisma.entity.count({
|
|
* where: {
|
|
* // ... the filter for the Entities we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends EntityCountArgs>(
|
|
args?: Prisma.Subset<T, EntityCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], EntityCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a Entity.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {EntityAggregateArgs} 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 EntityAggregateArgs>(args: Prisma.Subset<T, EntityAggregateArgs>): Prisma.PrismaPromise<GetEntityAggregateType<T>>
|
|
|
|
/**
|
|
* Group by Entity.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {EntityGroupByArgs} 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 EntityGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: EntityGroupByArgs['orderBy'] }
|
|
: { orderBy?: EntityGroupByArgs['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, EntityGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEntityGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the Entity model
|
|
*/
|
|
readonly fields: EntityFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for Entity.
|
|
* 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__EntityClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
createdPermissions<T extends Prisma.Entity$createdPermissionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Entity$createdPermissionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PermissionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
apiKeys<T extends Prisma.Entity$apiKeysArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Entity$apiKeysArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApiKeyEntityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
tags<T extends Prisma.Entity$tagsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Entity$tagsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityTagPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
permissions<T extends Prisma.Entity$permissionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Entity$permissionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityTenantUserPermissionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
webhooks<T extends Prisma.Entity$webhooksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Entity$webhooksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityWebhookPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
properties<T extends Prisma.Entity$propertiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Entity$propertiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
rows<T extends Prisma.Entity$rowsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Entity$rowsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RowPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
views<T extends Prisma.Entity$viewsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Entity$viewsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityViewPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
parentEntities<T extends Prisma.Entity$parentEntitiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Entity$parentEntitiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityRelationshipPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
childEntities<T extends Prisma.Entity$childEntitiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Entity$childEntitiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityRelationshipPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
groups<T extends Prisma.Entity$groupsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Entity$groupsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityGroupEntityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
templates<T extends Prisma.Entity$templatesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Entity$templatesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EntityTemplatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
/**
|
|
* 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 Entity model
|
|
*/
|
|
export interface EntityFieldRefs {
|
|
readonly id: Prisma.FieldRef<"Entity", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"Entity", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"Entity", 'DateTime'>
|
|
readonly moduleId: Prisma.FieldRef<"Entity", 'String'>
|
|
readonly name: Prisma.FieldRef<"Entity", 'String'>
|
|
readonly slug: Prisma.FieldRef<"Entity", 'String'>
|
|
readonly order: Prisma.FieldRef<"Entity", 'Int'>
|
|
readonly prefix: Prisma.FieldRef<"Entity", 'String'>
|
|
readonly type: Prisma.FieldRef<"Entity", 'String'>
|
|
readonly title: Prisma.FieldRef<"Entity", 'String'>
|
|
readonly titlePlural: Prisma.FieldRef<"Entity", 'String'>
|
|
readonly isAutogenerated: Prisma.FieldRef<"Entity", 'Boolean'>
|
|
readonly hasApi: Prisma.FieldRef<"Entity", 'Boolean'>
|
|
readonly icon: Prisma.FieldRef<"Entity", 'String'>
|
|
readonly active: Prisma.FieldRef<"Entity", 'Boolean'>
|
|
readonly showInSidebar: Prisma.FieldRef<"Entity", 'Boolean'>
|
|
readonly hasTags: Prisma.FieldRef<"Entity", 'Boolean'>
|
|
readonly hasComments: Prisma.FieldRef<"Entity", 'Boolean'>
|
|
readonly hasTasks: Prisma.FieldRef<"Entity", 'Boolean'>
|
|
readonly hasActivity: Prisma.FieldRef<"Entity", 'Boolean'>
|
|
readonly hasBulkDelete: Prisma.FieldRef<"Entity", 'Boolean'>
|
|
readonly hasViews: Prisma.FieldRef<"Entity", 'Boolean'>
|
|
readonly defaultVisibility: Prisma.FieldRef<"Entity", 'String'>
|
|
readonly onCreated: Prisma.FieldRef<"Entity", 'String'>
|
|
readonly onEdit: Prisma.FieldRef<"Entity", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* Entity findUnique
|
|
*/
|
|
export type EntityFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Entity
|
|
*/
|
|
select?: Prisma.EntitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Entity
|
|
*/
|
|
omit?: Prisma.EntityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Entity to fetch.
|
|
*/
|
|
where: Prisma.EntityWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Entity findUniqueOrThrow
|
|
*/
|
|
export type EntityFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Entity
|
|
*/
|
|
select?: Prisma.EntitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Entity
|
|
*/
|
|
omit?: Prisma.EntityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Entity to fetch.
|
|
*/
|
|
where: Prisma.EntityWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Entity findFirst
|
|
*/
|
|
export type EntityFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Entity
|
|
*/
|
|
select?: Prisma.EntitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Entity
|
|
*/
|
|
omit?: Prisma.EntityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Entity to fetch.
|
|
*/
|
|
where?: Prisma.EntityWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Entities to fetch.
|
|
*/
|
|
orderBy?: Prisma.EntityOrderByWithRelationInput | Prisma.EntityOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for Entities.
|
|
*/
|
|
cursor?: Prisma.EntityWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` Entities 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` Entities.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of Entities.
|
|
*/
|
|
distinct?: Prisma.EntityScalarFieldEnum | Prisma.EntityScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Entity findFirstOrThrow
|
|
*/
|
|
export type EntityFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Entity
|
|
*/
|
|
select?: Prisma.EntitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Entity
|
|
*/
|
|
omit?: Prisma.EntityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Entity to fetch.
|
|
*/
|
|
where?: Prisma.EntityWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Entities to fetch.
|
|
*/
|
|
orderBy?: Prisma.EntityOrderByWithRelationInput | Prisma.EntityOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for Entities.
|
|
*/
|
|
cursor?: Prisma.EntityWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` Entities 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` Entities.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of Entities.
|
|
*/
|
|
distinct?: Prisma.EntityScalarFieldEnum | Prisma.EntityScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Entity findMany
|
|
*/
|
|
export type EntityFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Entity
|
|
*/
|
|
select?: Prisma.EntitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Entity
|
|
*/
|
|
omit?: Prisma.EntityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Entities to fetch.
|
|
*/
|
|
where?: Prisma.EntityWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Entities to fetch.
|
|
*/
|
|
orderBy?: Prisma.EntityOrderByWithRelationInput | Prisma.EntityOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing Entities.
|
|
*/
|
|
cursor?: Prisma.EntityWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` Entities 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` Entities.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of Entities.
|
|
*/
|
|
distinct?: Prisma.EntityScalarFieldEnum | Prisma.EntityScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Entity create
|
|
*/
|
|
export type EntityCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Entity
|
|
*/
|
|
select?: Prisma.EntitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Entity
|
|
*/
|
|
omit?: Prisma.EntityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a Entity.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EntityCreateInput, Prisma.EntityUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* Entity createMany
|
|
*/
|
|
export type EntityCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many Entities.
|
|
*/
|
|
data: Prisma.EntityCreateManyInput | Prisma.EntityCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* Entity createManyAndReturn
|
|
*/
|
|
export type EntityCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Entity
|
|
*/
|
|
select?: Prisma.EntitySelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Entity
|
|
*/
|
|
omit?: Prisma.EntityOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many Entities.
|
|
*/
|
|
data: Prisma.EntityCreateManyInput | Prisma.EntityCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* Entity update
|
|
*/
|
|
export type EntityUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Entity
|
|
*/
|
|
select?: Prisma.EntitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Entity
|
|
*/
|
|
omit?: Prisma.EntityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a Entity.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EntityUpdateInput, Prisma.EntityUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which Entity to update.
|
|
*/
|
|
where: Prisma.EntityWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Entity updateMany
|
|
*/
|
|
export type EntityUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update Entities.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EntityUpdateManyMutationInput, Prisma.EntityUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which Entities to update
|
|
*/
|
|
where?: Prisma.EntityWhereInput
|
|
/**
|
|
* Limit how many Entities to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* Entity updateManyAndReturn
|
|
*/
|
|
export type EntityUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Entity
|
|
*/
|
|
select?: Prisma.EntitySelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Entity
|
|
*/
|
|
omit?: Prisma.EntityOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update Entities.
|
|
*/
|
|
data: Prisma.XOR<Prisma.EntityUpdateManyMutationInput, Prisma.EntityUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which Entities to update
|
|
*/
|
|
where?: Prisma.EntityWhereInput
|
|
/**
|
|
* Limit how many Entities to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* Entity upsert
|
|
*/
|
|
export type EntityUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Entity
|
|
*/
|
|
select?: Prisma.EntitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Entity
|
|
*/
|
|
omit?: Prisma.EntityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the Entity to update in case it exists.
|
|
*/
|
|
where: Prisma.EntityWhereUniqueInput
|
|
/**
|
|
* In case the Entity found by the `where` argument doesn't exist, create a new Entity with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.EntityCreateInput, Prisma.EntityUncheckedCreateInput>
|
|
/**
|
|
* In case the Entity was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.EntityUpdateInput, Prisma.EntityUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* Entity delete
|
|
*/
|
|
export type EntityDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Entity
|
|
*/
|
|
select?: Prisma.EntitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Entity
|
|
*/
|
|
omit?: Prisma.EntityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which Entity to delete.
|
|
*/
|
|
where: Prisma.EntityWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Entity deleteMany
|
|
*/
|
|
export type EntityDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which Entities to delete
|
|
*/
|
|
where?: Prisma.EntityWhereInput
|
|
/**
|
|
* Limit how many Entities to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* Entity.createdPermissions
|
|
*/
|
|
export type Entity$createdPermissionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Permission
|
|
*/
|
|
select?: Prisma.PermissionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Permission
|
|
*/
|
|
omit?: Prisma.PermissionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PermissionInclude<ExtArgs> | null
|
|
where?: Prisma.PermissionWhereInput
|
|
orderBy?: Prisma.PermissionOrderByWithRelationInput | Prisma.PermissionOrderByWithRelationInput[]
|
|
cursor?: Prisma.PermissionWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.PermissionScalarFieldEnum | Prisma.PermissionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Entity.apiKeys
|
|
*/
|
|
export type Entity$apiKeysArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ApiKeyEntity
|
|
*/
|
|
select?: Prisma.ApiKeyEntitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ApiKeyEntity
|
|
*/
|
|
omit?: Prisma.ApiKeyEntityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ApiKeyEntityInclude<ExtArgs> | null
|
|
where?: Prisma.ApiKeyEntityWhereInput
|
|
orderBy?: Prisma.ApiKeyEntityOrderByWithRelationInput | Prisma.ApiKeyEntityOrderByWithRelationInput[]
|
|
cursor?: Prisma.ApiKeyEntityWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.ApiKeyEntityScalarFieldEnum | Prisma.ApiKeyEntityScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Entity.tags
|
|
*/
|
|
export type Entity$tagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityTag
|
|
*/
|
|
select?: Prisma.EntityTagSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityTag
|
|
*/
|
|
omit?: Prisma.EntityTagOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityTagInclude<ExtArgs> | null
|
|
where?: Prisma.EntityTagWhereInput
|
|
orderBy?: Prisma.EntityTagOrderByWithRelationInput | Prisma.EntityTagOrderByWithRelationInput[]
|
|
cursor?: Prisma.EntityTagWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.EntityTagScalarFieldEnum | Prisma.EntityTagScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Entity.permissions
|
|
*/
|
|
export type Entity$permissionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityTenantUserPermission
|
|
*/
|
|
select?: Prisma.EntityTenantUserPermissionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityTenantUserPermission
|
|
*/
|
|
omit?: Prisma.EntityTenantUserPermissionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityTenantUserPermissionInclude<ExtArgs> | null
|
|
where?: Prisma.EntityTenantUserPermissionWhereInput
|
|
orderBy?: Prisma.EntityTenantUserPermissionOrderByWithRelationInput | Prisma.EntityTenantUserPermissionOrderByWithRelationInput[]
|
|
cursor?: Prisma.EntityTenantUserPermissionWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.EntityTenantUserPermissionScalarFieldEnum | Prisma.EntityTenantUserPermissionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Entity.webhooks
|
|
*/
|
|
export type Entity$webhooksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityWebhook
|
|
*/
|
|
select?: Prisma.EntityWebhookSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityWebhook
|
|
*/
|
|
omit?: Prisma.EntityWebhookOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityWebhookInclude<ExtArgs> | null
|
|
where?: Prisma.EntityWebhookWhereInput
|
|
orderBy?: Prisma.EntityWebhookOrderByWithRelationInput | Prisma.EntityWebhookOrderByWithRelationInput[]
|
|
cursor?: Prisma.EntityWebhookWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.EntityWebhookScalarFieldEnum | Prisma.EntityWebhookScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Entity.properties
|
|
*/
|
|
export type Entity$propertiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Property
|
|
*/
|
|
select?: Prisma.PropertySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Property
|
|
*/
|
|
omit?: Prisma.PropertyOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PropertyInclude<ExtArgs> | null
|
|
where?: Prisma.PropertyWhereInput
|
|
orderBy?: Prisma.PropertyOrderByWithRelationInput | Prisma.PropertyOrderByWithRelationInput[]
|
|
cursor?: Prisma.PropertyWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.PropertyScalarFieldEnum | Prisma.PropertyScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Entity.rows
|
|
*/
|
|
export type Entity$rowsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Row
|
|
*/
|
|
select?: Prisma.RowSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Row
|
|
*/
|
|
omit?: Prisma.RowOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowInclude<ExtArgs> | null
|
|
where?: Prisma.RowWhereInput
|
|
orderBy?: Prisma.RowOrderByWithRelationInput | Prisma.RowOrderByWithRelationInput[]
|
|
cursor?: Prisma.RowWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.RowScalarFieldEnum | Prisma.RowScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Entity.views
|
|
*/
|
|
export type Entity$viewsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityView
|
|
*/
|
|
select?: Prisma.EntityViewSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityView
|
|
*/
|
|
omit?: Prisma.EntityViewOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityViewInclude<ExtArgs> | null
|
|
where?: Prisma.EntityViewWhereInput
|
|
orderBy?: Prisma.EntityViewOrderByWithRelationInput | Prisma.EntityViewOrderByWithRelationInput[]
|
|
cursor?: Prisma.EntityViewWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.EntityViewScalarFieldEnum | Prisma.EntityViewScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Entity.parentEntities
|
|
*/
|
|
export type Entity$parentEntitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityRelationship
|
|
*/
|
|
select?: Prisma.EntityRelationshipSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityRelationship
|
|
*/
|
|
omit?: Prisma.EntityRelationshipOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityRelationshipInclude<ExtArgs> | null
|
|
where?: Prisma.EntityRelationshipWhereInput
|
|
orderBy?: Prisma.EntityRelationshipOrderByWithRelationInput | Prisma.EntityRelationshipOrderByWithRelationInput[]
|
|
cursor?: Prisma.EntityRelationshipWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.EntityRelationshipScalarFieldEnum | Prisma.EntityRelationshipScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Entity.childEntities
|
|
*/
|
|
export type Entity$childEntitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityRelationship
|
|
*/
|
|
select?: Prisma.EntityRelationshipSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityRelationship
|
|
*/
|
|
omit?: Prisma.EntityRelationshipOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityRelationshipInclude<ExtArgs> | null
|
|
where?: Prisma.EntityRelationshipWhereInput
|
|
orderBy?: Prisma.EntityRelationshipOrderByWithRelationInput | Prisma.EntityRelationshipOrderByWithRelationInput[]
|
|
cursor?: Prisma.EntityRelationshipWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.EntityRelationshipScalarFieldEnum | Prisma.EntityRelationshipScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Entity.groups
|
|
*/
|
|
export type Entity$groupsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityGroupEntity
|
|
*/
|
|
select?: Prisma.EntityGroupEntitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityGroupEntity
|
|
*/
|
|
omit?: Prisma.EntityGroupEntityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityGroupEntityInclude<ExtArgs> | null
|
|
where?: Prisma.EntityGroupEntityWhereInput
|
|
orderBy?: Prisma.EntityGroupEntityOrderByWithRelationInput | Prisma.EntityGroupEntityOrderByWithRelationInput[]
|
|
cursor?: Prisma.EntityGroupEntityWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.EntityGroupEntityScalarFieldEnum | Prisma.EntityGroupEntityScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Entity.templates
|
|
*/
|
|
export type Entity$templatesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the EntityTemplate
|
|
*/
|
|
select?: Prisma.EntityTemplateSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the EntityTemplate
|
|
*/
|
|
omit?: Prisma.EntityTemplateOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityTemplateInclude<ExtArgs> | null
|
|
where?: Prisma.EntityTemplateWhereInput
|
|
orderBy?: Prisma.EntityTemplateOrderByWithRelationInput | Prisma.EntityTemplateOrderByWithRelationInput[]
|
|
cursor?: Prisma.EntityTemplateWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.EntityTemplateScalarFieldEnum | Prisma.EntityTemplateScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Entity without action
|
|
*/
|
|
export type EntityDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Entity
|
|
*/
|
|
select?: Prisma.EntitySelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Entity
|
|
*/
|
|
omit?: Prisma.EntityOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.EntityInclude<ExtArgs> | null
|
|
}
|