2079 lines
90 KiB
TypeScript
2079 lines
90 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 `RowPermission` 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 RowPermission
|
|
*
|
|
*/
|
|
export type RowPermissionModel = runtime.Types.Result.DefaultSelection<Prisma.$RowPermissionPayload>
|
|
|
|
export type AggregateRowPermission = {
|
|
_count: RowPermissionCountAggregateOutputType | null
|
|
_min: RowPermissionMinAggregateOutputType | null
|
|
_max: RowPermissionMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type RowPermissionMinAggregateOutputType = {
|
|
id: string | null
|
|
rowId: string | null
|
|
tenantId: string | null
|
|
roleId: string | null
|
|
groupId: string | null
|
|
userId: string | null
|
|
public: boolean | null
|
|
access: string | null
|
|
}
|
|
|
|
export type RowPermissionMaxAggregateOutputType = {
|
|
id: string | null
|
|
rowId: string | null
|
|
tenantId: string | null
|
|
roleId: string | null
|
|
groupId: string | null
|
|
userId: string | null
|
|
public: boolean | null
|
|
access: string | null
|
|
}
|
|
|
|
export type RowPermissionCountAggregateOutputType = {
|
|
id: number
|
|
rowId: number
|
|
tenantId: number
|
|
roleId: number
|
|
groupId: number
|
|
userId: number
|
|
public: number
|
|
access: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type RowPermissionMinAggregateInputType = {
|
|
id?: true
|
|
rowId?: true
|
|
tenantId?: true
|
|
roleId?: true
|
|
groupId?: true
|
|
userId?: true
|
|
public?: true
|
|
access?: true
|
|
}
|
|
|
|
export type RowPermissionMaxAggregateInputType = {
|
|
id?: true
|
|
rowId?: true
|
|
tenantId?: true
|
|
roleId?: true
|
|
groupId?: true
|
|
userId?: true
|
|
public?: true
|
|
access?: true
|
|
}
|
|
|
|
export type RowPermissionCountAggregateInputType = {
|
|
id?: true
|
|
rowId?: true
|
|
tenantId?: true
|
|
roleId?: true
|
|
groupId?: true
|
|
userId?: true
|
|
public?: true
|
|
access?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type RowPermissionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which RowPermission to aggregate.
|
|
*/
|
|
where?: Prisma.RowPermissionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of RowPermissions to fetch.
|
|
*/
|
|
orderBy?: Prisma.RowPermissionOrderByWithRelationInput | Prisma.RowPermissionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.RowPermissionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` RowPermissions 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` RowPermissions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned RowPermissions
|
|
**/
|
|
_count?: true | RowPermissionCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: RowPermissionMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: RowPermissionMaxAggregateInputType
|
|
}
|
|
|
|
export type GetRowPermissionAggregateType<T extends RowPermissionAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateRowPermission]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateRowPermission[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateRowPermission[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type RowPermissionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.RowPermissionWhereInput
|
|
orderBy?: Prisma.RowPermissionOrderByWithAggregationInput | Prisma.RowPermissionOrderByWithAggregationInput[]
|
|
by: Prisma.RowPermissionScalarFieldEnum[] | Prisma.RowPermissionScalarFieldEnum
|
|
having?: Prisma.RowPermissionScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: RowPermissionCountAggregateInputType | true
|
|
_min?: RowPermissionMinAggregateInputType
|
|
_max?: RowPermissionMaxAggregateInputType
|
|
}
|
|
|
|
export type RowPermissionGroupByOutputType = {
|
|
id: string
|
|
rowId: string
|
|
tenantId: string | null
|
|
roleId: string | null
|
|
groupId: string | null
|
|
userId: string | null
|
|
public: boolean | null
|
|
access: string
|
|
_count: RowPermissionCountAggregateOutputType | null
|
|
_min: RowPermissionMinAggregateOutputType | null
|
|
_max: RowPermissionMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetRowPermissionGroupByPayload<T extends RowPermissionGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<RowPermissionGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof RowPermissionGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], RowPermissionGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], RowPermissionGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type RowPermissionWhereInput = {
|
|
AND?: Prisma.RowPermissionWhereInput | Prisma.RowPermissionWhereInput[]
|
|
OR?: Prisma.RowPermissionWhereInput[]
|
|
NOT?: Prisma.RowPermissionWhereInput | Prisma.RowPermissionWhereInput[]
|
|
id?: Prisma.StringFilter<"RowPermission"> | string
|
|
rowId?: Prisma.StringFilter<"RowPermission"> | string
|
|
tenantId?: Prisma.StringNullableFilter<"RowPermission"> | string | null
|
|
roleId?: Prisma.StringNullableFilter<"RowPermission"> | string | null
|
|
groupId?: Prisma.StringNullableFilter<"RowPermission"> | string | null
|
|
userId?: Prisma.StringNullableFilter<"RowPermission"> | string | null
|
|
public?: Prisma.BoolNullableFilter<"RowPermission"> | boolean | null
|
|
access?: Prisma.StringFilter<"RowPermission"> | string
|
|
group?: Prisma.XOR<Prisma.GroupNullableScalarRelationFilter, Prisma.GroupWhereInput> | null
|
|
role?: Prisma.XOR<Prisma.RoleNullableScalarRelationFilter, Prisma.RoleWhereInput> | null
|
|
row?: Prisma.XOR<Prisma.RowScalarRelationFilter, Prisma.RowWhereInput>
|
|
tenant?: Prisma.XOR<Prisma.TenantNullableScalarRelationFilter, Prisma.TenantWhereInput> | null
|
|
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
}
|
|
|
|
export type RowPermissionOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
rowId?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
roleId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
groupId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
userId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
public?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
access?: Prisma.SortOrder
|
|
group?: Prisma.GroupOrderByWithRelationInput
|
|
role?: Prisma.RoleOrderByWithRelationInput
|
|
row?: Prisma.RowOrderByWithRelationInput
|
|
tenant?: Prisma.TenantOrderByWithRelationInput
|
|
user?: Prisma.UserOrderByWithRelationInput
|
|
}
|
|
|
|
export type RowPermissionWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.RowPermissionWhereInput | Prisma.RowPermissionWhereInput[]
|
|
OR?: Prisma.RowPermissionWhereInput[]
|
|
NOT?: Prisma.RowPermissionWhereInput | Prisma.RowPermissionWhereInput[]
|
|
rowId?: Prisma.StringFilter<"RowPermission"> | string
|
|
tenantId?: Prisma.StringNullableFilter<"RowPermission"> | string | null
|
|
roleId?: Prisma.StringNullableFilter<"RowPermission"> | string | null
|
|
groupId?: Prisma.StringNullableFilter<"RowPermission"> | string | null
|
|
userId?: Prisma.StringNullableFilter<"RowPermission"> | string | null
|
|
public?: Prisma.BoolNullableFilter<"RowPermission"> | boolean | null
|
|
access?: Prisma.StringFilter<"RowPermission"> | string
|
|
group?: Prisma.XOR<Prisma.GroupNullableScalarRelationFilter, Prisma.GroupWhereInput> | null
|
|
role?: Prisma.XOR<Prisma.RoleNullableScalarRelationFilter, Prisma.RoleWhereInput> | null
|
|
row?: Prisma.XOR<Prisma.RowScalarRelationFilter, Prisma.RowWhereInput>
|
|
tenant?: Prisma.XOR<Prisma.TenantNullableScalarRelationFilter, Prisma.TenantWhereInput> | null
|
|
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
}, "id">
|
|
|
|
export type RowPermissionOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
rowId?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
roleId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
groupId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
userId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
public?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
access?: Prisma.SortOrder
|
|
_count?: Prisma.RowPermissionCountOrderByAggregateInput
|
|
_max?: Prisma.RowPermissionMaxOrderByAggregateInput
|
|
_min?: Prisma.RowPermissionMinOrderByAggregateInput
|
|
}
|
|
|
|
export type RowPermissionScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.RowPermissionScalarWhereWithAggregatesInput | Prisma.RowPermissionScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.RowPermissionScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.RowPermissionScalarWhereWithAggregatesInput | Prisma.RowPermissionScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"RowPermission"> | string
|
|
rowId?: Prisma.StringWithAggregatesFilter<"RowPermission"> | string
|
|
tenantId?: Prisma.StringNullableWithAggregatesFilter<"RowPermission"> | string | null
|
|
roleId?: Prisma.StringNullableWithAggregatesFilter<"RowPermission"> | string | null
|
|
groupId?: Prisma.StringNullableWithAggregatesFilter<"RowPermission"> | string | null
|
|
userId?: Prisma.StringNullableWithAggregatesFilter<"RowPermission"> | string | null
|
|
public?: Prisma.BoolNullableWithAggregatesFilter<"RowPermission"> | boolean | null
|
|
access?: Prisma.StringWithAggregatesFilter<"RowPermission"> | string
|
|
}
|
|
|
|
export type RowPermissionCreateInput = {
|
|
id?: string
|
|
public?: boolean | null
|
|
access?: string
|
|
group?: Prisma.GroupCreateNestedOneWithoutRowPermissionsInput
|
|
role?: Prisma.RoleCreateNestedOneWithoutRowPermissionsInput
|
|
row: Prisma.RowCreateNestedOneWithoutPermissionsInput
|
|
tenant?: Prisma.TenantCreateNestedOneWithoutRowPermissionsInput
|
|
user?: Prisma.UserCreateNestedOneWithoutRowPermissionsInput
|
|
}
|
|
|
|
export type RowPermissionUncheckedCreateInput = {
|
|
id?: string
|
|
rowId: string
|
|
tenantId?: string | null
|
|
roleId?: string | null
|
|
groupId?: string | null
|
|
userId?: string | null
|
|
public?: boolean | null
|
|
access?: string
|
|
}
|
|
|
|
export type RowPermissionUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
public?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
access?: Prisma.StringFieldUpdateOperationsInput | string
|
|
group?: Prisma.GroupUpdateOneWithoutRowPermissionsNestedInput
|
|
role?: Prisma.RoleUpdateOneWithoutRowPermissionsNestedInput
|
|
row?: Prisma.RowUpdateOneRequiredWithoutPermissionsNestedInput
|
|
tenant?: Prisma.TenantUpdateOneWithoutRowPermissionsNestedInput
|
|
user?: Prisma.UserUpdateOneWithoutRowPermissionsNestedInput
|
|
}
|
|
|
|
export type RowPermissionUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
groupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
public?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
access?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type RowPermissionCreateManyInput = {
|
|
id?: string
|
|
rowId: string
|
|
tenantId?: string | null
|
|
roleId?: string | null
|
|
groupId?: string | null
|
|
userId?: string | null
|
|
public?: boolean | null
|
|
access?: string
|
|
}
|
|
|
|
export type RowPermissionUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
public?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
access?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type RowPermissionUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
groupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
public?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
access?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type RowPermissionListRelationFilter = {
|
|
every?: Prisma.RowPermissionWhereInput
|
|
some?: Prisma.RowPermissionWhereInput
|
|
none?: Prisma.RowPermissionWhereInput
|
|
}
|
|
|
|
export type RowPermissionOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type RowPermissionCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
rowId?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
roleId?: Prisma.SortOrder
|
|
groupId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
public?: Prisma.SortOrder
|
|
access?: Prisma.SortOrder
|
|
}
|
|
|
|
export type RowPermissionMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
rowId?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
roleId?: Prisma.SortOrder
|
|
groupId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
public?: Prisma.SortOrder
|
|
access?: Prisma.SortOrder
|
|
}
|
|
|
|
export type RowPermissionMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
rowId?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
roleId?: Prisma.SortOrder
|
|
groupId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
public?: Prisma.SortOrder
|
|
access?: Prisma.SortOrder
|
|
}
|
|
|
|
export type RowPermissionCreateNestedManyWithoutUserInput = {
|
|
create?: Prisma.XOR<Prisma.RowPermissionCreateWithoutUserInput, Prisma.RowPermissionUncheckedCreateWithoutUserInput> | Prisma.RowPermissionCreateWithoutUserInput[] | Prisma.RowPermissionUncheckedCreateWithoutUserInput[]
|
|
connectOrCreate?: Prisma.RowPermissionCreateOrConnectWithoutUserInput | Prisma.RowPermissionCreateOrConnectWithoutUserInput[]
|
|
createMany?: Prisma.RowPermissionCreateManyUserInputEnvelope
|
|
connect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
}
|
|
|
|
export type RowPermissionUncheckedCreateNestedManyWithoutUserInput = {
|
|
create?: Prisma.XOR<Prisma.RowPermissionCreateWithoutUserInput, Prisma.RowPermissionUncheckedCreateWithoutUserInput> | Prisma.RowPermissionCreateWithoutUserInput[] | Prisma.RowPermissionUncheckedCreateWithoutUserInput[]
|
|
connectOrCreate?: Prisma.RowPermissionCreateOrConnectWithoutUserInput | Prisma.RowPermissionCreateOrConnectWithoutUserInput[]
|
|
createMany?: Prisma.RowPermissionCreateManyUserInputEnvelope
|
|
connect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
}
|
|
|
|
export type RowPermissionUpdateManyWithoutUserNestedInput = {
|
|
create?: Prisma.XOR<Prisma.RowPermissionCreateWithoutUserInput, Prisma.RowPermissionUncheckedCreateWithoutUserInput> | Prisma.RowPermissionCreateWithoutUserInput[] | Prisma.RowPermissionUncheckedCreateWithoutUserInput[]
|
|
connectOrCreate?: Prisma.RowPermissionCreateOrConnectWithoutUserInput | Prisma.RowPermissionCreateOrConnectWithoutUserInput[]
|
|
upsert?: Prisma.RowPermissionUpsertWithWhereUniqueWithoutUserInput | Prisma.RowPermissionUpsertWithWhereUniqueWithoutUserInput[]
|
|
createMany?: Prisma.RowPermissionCreateManyUserInputEnvelope
|
|
set?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
disconnect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
delete?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
connect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
update?: Prisma.RowPermissionUpdateWithWhereUniqueWithoutUserInput | Prisma.RowPermissionUpdateWithWhereUniqueWithoutUserInput[]
|
|
updateMany?: Prisma.RowPermissionUpdateManyWithWhereWithoutUserInput | Prisma.RowPermissionUpdateManyWithWhereWithoutUserInput[]
|
|
deleteMany?: Prisma.RowPermissionScalarWhereInput | Prisma.RowPermissionScalarWhereInput[]
|
|
}
|
|
|
|
export type RowPermissionUncheckedUpdateManyWithoutUserNestedInput = {
|
|
create?: Prisma.XOR<Prisma.RowPermissionCreateWithoutUserInput, Prisma.RowPermissionUncheckedCreateWithoutUserInput> | Prisma.RowPermissionCreateWithoutUserInput[] | Prisma.RowPermissionUncheckedCreateWithoutUserInput[]
|
|
connectOrCreate?: Prisma.RowPermissionCreateOrConnectWithoutUserInput | Prisma.RowPermissionCreateOrConnectWithoutUserInput[]
|
|
upsert?: Prisma.RowPermissionUpsertWithWhereUniqueWithoutUserInput | Prisma.RowPermissionUpsertWithWhereUniqueWithoutUserInput[]
|
|
createMany?: Prisma.RowPermissionCreateManyUserInputEnvelope
|
|
set?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
disconnect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
delete?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
connect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
update?: Prisma.RowPermissionUpdateWithWhereUniqueWithoutUserInput | Prisma.RowPermissionUpdateWithWhereUniqueWithoutUserInput[]
|
|
updateMany?: Prisma.RowPermissionUpdateManyWithWhereWithoutUserInput | Prisma.RowPermissionUpdateManyWithWhereWithoutUserInput[]
|
|
deleteMany?: Prisma.RowPermissionScalarWhereInput | Prisma.RowPermissionScalarWhereInput[]
|
|
}
|
|
|
|
export type RowPermissionCreateNestedManyWithoutTenantInput = {
|
|
create?: Prisma.XOR<Prisma.RowPermissionCreateWithoutTenantInput, Prisma.RowPermissionUncheckedCreateWithoutTenantInput> | Prisma.RowPermissionCreateWithoutTenantInput[] | Prisma.RowPermissionUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.RowPermissionCreateOrConnectWithoutTenantInput | Prisma.RowPermissionCreateOrConnectWithoutTenantInput[]
|
|
createMany?: Prisma.RowPermissionCreateManyTenantInputEnvelope
|
|
connect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
}
|
|
|
|
export type RowPermissionUncheckedCreateNestedManyWithoutTenantInput = {
|
|
create?: Prisma.XOR<Prisma.RowPermissionCreateWithoutTenantInput, Prisma.RowPermissionUncheckedCreateWithoutTenantInput> | Prisma.RowPermissionCreateWithoutTenantInput[] | Prisma.RowPermissionUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.RowPermissionCreateOrConnectWithoutTenantInput | Prisma.RowPermissionCreateOrConnectWithoutTenantInput[]
|
|
createMany?: Prisma.RowPermissionCreateManyTenantInputEnvelope
|
|
connect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
}
|
|
|
|
export type RowPermissionUpdateManyWithoutTenantNestedInput = {
|
|
create?: Prisma.XOR<Prisma.RowPermissionCreateWithoutTenantInput, Prisma.RowPermissionUncheckedCreateWithoutTenantInput> | Prisma.RowPermissionCreateWithoutTenantInput[] | Prisma.RowPermissionUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.RowPermissionCreateOrConnectWithoutTenantInput | Prisma.RowPermissionCreateOrConnectWithoutTenantInput[]
|
|
upsert?: Prisma.RowPermissionUpsertWithWhereUniqueWithoutTenantInput | Prisma.RowPermissionUpsertWithWhereUniqueWithoutTenantInput[]
|
|
createMany?: Prisma.RowPermissionCreateManyTenantInputEnvelope
|
|
set?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
disconnect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
delete?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
connect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
update?: Prisma.RowPermissionUpdateWithWhereUniqueWithoutTenantInput | Prisma.RowPermissionUpdateWithWhereUniqueWithoutTenantInput[]
|
|
updateMany?: Prisma.RowPermissionUpdateManyWithWhereWithoutTenantInput | Prisma.RowPermissionUpdateManyWithWhereWithoutTenantInput[]
|
|
deleteMany?: Prisma.RowPermissionScalarWhereInput | Prisma.RowPermissionScalarWhereInput[]
|
|
}
|
|
|
|
export type RowPermissionUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
create?: Prisma.XOR<Prisma.RowPermissionCreateWithoutTenantInput, Prisma.RowPermissionUncheckedCreateWithoutTenantInput> | Prisma.RowPermissionCreateWithoutTenantInput[] | Prisma.RowPermissionUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.RowPermissionCreateOrConnectWithoutTenantInput | Prisma.RowPermissionCreateOrConnectWithoutTenantInput[]
|
|
upsert?: Prisma.RowPermissionUpsertWithWhereUniqueWithoutTenantInput | Prisma.RowPermissionUpsertWithWhereUniqueWithoutTenantInput[]
|
|
createMany?: Prisma.RowPermissionCreateManyTenantInputEnvelope
|
|
set?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
disconnect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
delete?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
connect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
update?: Prisma.RowPermissionUpdateWithWhereUniqueWithoutTenantInput | Prisma.RowPermissionUpdateWithWhereUniqueWithoutTenantInput[]
|
|
updateMany?: Prisma.RowPermissionUpdateManyWithWhereWithoutTenantInput | Prisma.RowPermissionUpdateManyWithWhereWithoutTenantInput[]
|
|
deleteMany?: Prisma.RowPermissionScalarWhereInput | Prisma.RowPermissionScalarWhereInput[]
|
|
}
|
|
|
|
export type RowPermissionCreateNestedManyWithoutRowInput = {
|
|
create?: Prisma.XOR<Prisma.RowPermissionCreateWithoutRowInput, Prisma.RowPermissionUncheckedCreateWithoutRowInput> | Prisma.RowPermissionCreateWithoutRowInput[] | Prisma.RowPermissionUncheckedCreateWithoutRowInput[]
|
|
connectOrCreate?: Prisma.RowPermissionCreateOrConnectWithoutRowInput | Prisma.RowPermissionCreateOrConnectWithoutRowInput[]
|
|
createMany?: Prisma.RowPermissionCreateManyRowInputEnvelope
|
|
connect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
}
|
|
|
|
export type RowPermissionUncheckedCreateNestedManyWithoutRowInput = {
|
|
create?: Prisma.XOR<Prisma.RowPermissionCreateWithoutRowInput, Prisma.RowPermissionUncheckedCreateWithoutRowInput> | Prisma.RowPermissionCreateWithoutRowInput[] | Prisma.RowPermissionUncheckedCreateWithoutRowInput[]
|
|
connectOrCreate?: Prisma.RowPermissionCreateOrConnectWithoutRowInput | Prisma.RowPermissionCreateOrConnectWithoutRowInput[]
|
|
createMany?: Prisma.RowPermissionCreateManyRowInputEnvelope
|
|
connect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
}
|
|
|
|
export type RowPermissionUpdateManyWithoutRowNestedInput = {
|
|
create?: Prisma.XOR<Prisma.RowPermissionCreateWithoutRowInput, Prisma.RowPermissionUncheckedCreateWithoutRowInput> | Prisma.RowPermissionCreateWithoutRowInput[] | Prisma.RowPermissionUncheckedCreateWithoutRowInput[]
|
|
connectOrCreate?: Prisma.RowPermissionCreateOrConnectWithoutRowInput | Prisma.RowPermissionCreateOrConnectWithoutRowInput[]
|
|
upsert?: Prisma.RowPermissionUpsertWithWhereUniqueWithoutRowInput | Prisma.RowPermissionUpsertWithWhereUniqueWithoutRowInput[]
|
|
createMany?: Prisma.RowPermissionCreateManyRowInputEnvelope
|
|
set?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
disconnect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
delete?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
connect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
update?: Prisma.RowPermissionUpdateWithWhereUniqueWithoutRowInput | Prisma.RowPermissionUpdateWithWhereUniqueWithoutRowInput[]
|
|
updateMany?: Prisma.RowPermissionUpdateManyWithWhereWithoutRowInput | Prisma.RowPermissionUpdateManyWithWhereWithoutRowInput[]
|
|
deleteMany?: Prisma.RowPermissionScalarWhereInput | Prisma.RowPermissionScalarWhereInput[]
|
|
}
|
|
|
|
export type RowPermissionUncheckedUpdateManyWithoutRowNestedInput = {
|
|
create?: Prisma.XOR<Prisma.RowPermissionCreateWithoutRowInput, Prisma.RowPermissionUncheckedCreateWithoutRowInput> | Prisma.RowPermissionCreateWithoutRowInput[] | Prisma.RowPermissionUncheckedCreateWithoutRowInput[]
|
|
connectOrCreate?: Prisma.RowPermissionCreateOrConnectWithoutRowInput | Prisma.RowPermissionCreateOrConnectWithoutRowInput[]
|
|
upsert?: Prisma.RowPermissionUpsertWithWhereUniqueWithoutRowInput | Prisma.RowPermissionUpsertWithWhereUniqueWithoutRowInput[]
|
|
createMany?: Prisma.RowPermissionCreateManyRowInputEnvelope
|
|
set?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
disconnect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
delete?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
connect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
update?: Prisma.RowPermissionUpdateWithWhereUniqueWithoutRowInput | Prisma.RowPermissionUpdateWithWhereUniqueWithoutRowInput[]
|
|
updateMany?: Prisma.RowPermissionUpdateManyWithWhereWithoutRowInput | Prisma.RowPermissionUpdateManyWithWhereWithoutRowInput[]
|
|
deleteMany?: Prisma.RowPermissionScalarWhereInput | Prisma.RowPermissionScalarWhereInput[]
|
|
}
|
|
|
|
export type RowPermissionCreateNestedManyWithoutRoleInput = {
|
|
create?: Prisma.XOR<Prisma.RowPermissionCreateWithoutRoleInput, Prisma.RowPermissionUncheckedCreateWithoutRoleInput> | Prisma.RowPermissionCreateWithoutRoleInput[] | Prisma.RowPermissionUncheckedCreateWithoutRoleInput[]
|
|
connectOrCreate?: Prisma.RowPermissionCreateOrConnectWithoutRoleInput | Prisma.RowPermissionCreateOrConnectWithoutRoleInput[]
|
|
createMany?: Prisma.RowPermissionCreateManyRoleInputEnvelope
|
|
connect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
}
|
|
|
|
export type RowPermissionUncheckedCreateNestedManyWithoutRoleInput = {
|
|
create?: Prisma.XOR<Prisma.RowPermissionCreateWithoutRoleInput, Prisma.RowPermissionUncheckedCreateWithoutRoleInput> | Prisma.RowPermissionCreateWithoutRoleInput[] | Prisma.RowPermissionUncheckedCreateWithoutRoleInput[]
|
|
connectOrCreate?: Prisma.RowPermissionCreateOrConnectWithoutRoleInput | Prisma.RowPermissionCreateOrConnectWithoutRoleInput[]
|
|
createMany?: Prisma.RowPermissionCreateManyRoleInputEnvelope
|
|
connect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
}
|
|
|
|
export type RowPermissionUpdateManyWithoutRoleNestedInput = {
|
|
create?: Prisma.XOR<Prisma.RowPermissionCreateWithoutRoleInput, Prisma.RowPermissionUncheckedCreateWithoutRoleInput> | Prisma.RowPermissionCreateWithoutRoleInput[] | Prisma.RowPermissionUncheckedCreateWithoutRoleInput[]
|
|
connectOrCreate?: Prisma.RowPermissionCreateOrConnectWithoutRoleInput | Prisma.RowPermissionCreateOrConnectWithoutRoleInput[]
|
|
upsert?: Prisma.RowPermissionUpsertWithWhereUniqueWithoutRoleInput | Prisma.RowPermissionUpsertWithWhereUniqueWithoutRoleInput[]
|
|
createMany?: Prisma.RowPermissionCreateManyRoleInputEnvelope
|
|
set?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
disconnect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
delete?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
connect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
update?: Prisma.RowPermissionUpdateWithWhereUniqueWithoutRoleInput | Prisma.RowPermissionUpdateWithWhereUniqueWithoutRoleInput[]
|
|
updateMany?: Prisma.RowPermissionUpdateManyWithWhereWithoutRoleInput | Prisma.RowPermissionUpdateManyWithWhereWithoutRoleInput[]
|
|
deleteMany?: Prisma.RowPermissionScalarWhereInput | Prisma.RowPermissionScalarWhereInput[]
|
|
}
|
|
|
|
export type RowPermissionUncheckedUpdateManyWithoutRoleNestedInput = {
|
|
create?: Prisma.XOR<Prisma.RowPermissionCreateWithoutRoleInput, Prisma.RowPermissionUncheckedCreateWithoutRoleInput> | Prisma.RowPermissionCreateWithoutRoleInput[] | Prisma.RowPermissionUncheckedCreateWithoutRoleInput[]
|
|
connectOrCreate?: Prisma.RowPermissionCreateOrConnectWithoutRoleInput | Prisma.RowPermissionCreateOrConnectWithoutRoleInput[]
|
|
upsert?: Prisma.RowPermissionUpsertWithWhereUniqueWithoutRoleInput | Prisma.RowPermissionUpsertWithWhereUniqueWithoutRoleInput[]
|
|
createMany?: Prisma.RowPermissionCreateManyRoleInputEnvelope
|
|
set?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
disconnect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
delete?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
connect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
update?: Prisma.RowPermissionUpdateWithWhereUniqueWithoutRoleInput | Prisma.RowPermissionUpdateWithWhereUniqueWithoutRoleInput[]
|
|
updateMany?: Prisma.RowPermissionUpdateManyWithWhereWithoutRoleInput | Prisma.RowPermissionUpdateManyWithWhereWithoutRoleInput[]
|
|
deleteMany?: Prisma.RowPermissionScalarWhereInput | Prisma.RowPermissionScalarWhereInput[]
|
|
}
|
|
|
|
export type RowPermissionCreateNestedManyWithoutGroupInput = {
|
|
create?: Prisma.XOR<Prisma.RowPermissionCreateWithoutGroupInput, Prisma.RowPermissionUncheckedCreateWithoutGroupInput> | Prisma.RowPermissionCreateWithoutGroupInput[] | Prisma.RowPermissionUncheckedCreateWithoutGroupInput[]
|
|
connectOrCreate?: Prisma.RowPermissionCreateOrConnectWithoutGroupInput | Prisma.RowPermissionCreateOrConnectWithoutGroupInput[]
|
|
createMany?: Prisma.RowPermissionCreateManyGroupInputEnvelope
|
|
connect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
}
|
|
|
|
export type RowPermissionUncheckedCreateNestedManyWithoutGroupInput = {
|
|
create?: Prisma.XOR<Prisma.RowPermissionCreateWithoutGroupInput, Prisma.RowPermissionUncheckedCreateWithoutGroupInput> | Prisma.RowPermissionCreateWithoutGroupInput[] | Prisma.RowPermissionUncheckedCreateWithoutGroupInput[]
|
|
connectOrCreate?: Prisma.RowPermissionCreateOrConnectWithoutGroupInput | Prisma.RowPermissionCreateOrConnectWithoutGroupInput[]
|
|
createMany?: Prisma.RowPermissionCreateManyGroupInputEnvelope
|
|
connect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
}
|
|
|
|
export type RowPermissionUpdateManyWithoutGroupNestedInput = {
|
|
create?: Prisma.XOR<Prisma.RowPermissionCreateWithoutGroupInput, Prisma.RowPermissionUncheckedCreateWithoutGroupInput> | Prisma.RowPermissionCreateWithoutGroupInput[] | Prisma.RowPermissionUncheckedCreateWithoutGroupInput[]
|
|
connectOrCreate?: Prisma.RowPermissionCreateOrConnectWithoutGroupInput | Prisma.RowPermissionCreateOrConnectWithoutGroupInput[]
|
|
upsert?: Prisma.RowPermissionUpsertWithWhereUniqueWithoutGroupInput | Prisma.RowPermissionUpsertWithWhereUniqueWithoutGroupInput[]
|
|
createMany?: Prisma.RowPermissionCreateManyGroupInputEnvelope
|
|
set?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
disconnect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
delete?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
connect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
update?: Prisma.RowPermissionUpdateWithWhereUniqueWithoutGroupInput | Prisma.RowPermissionUpdateWithWhereUniqueWithoutGroupInput[]
|
|
updateMany?: Prisma.RowPermissionUpdateManyWithWhereWithoutGroupInput | Prisma.RowPermissionUpdateManyWithWhereWithoutGroupInput[]
|
|
deleteMany?: Prisma.RowPermissionScalarWhereInput | Prisma.RowPermissionScalarWhereInput[]
|
|
}
|
|
|
|
export type RowPermissionUncheckedUpdateManyWithoutGroupNestedInput = {
|
|
create?: Prisma.XOR<Prisma.RowPermissionCreateWithoutGroupInput, Prisma.RowPermissionUncheckedCreateWithoutGroupInput> | Prisma.RowPermissionCreateWithoutGroupInput[] | Prisma.RowPermissionUncheckedCreateWithoutGroupInput[]
|
|
connectOrCreate?: Prisma.RowPermissionCreateOrConnectWithoutGroupInput | Prisma.RowPermissionCreateOrConnectWithoutGroupInput[]
|
|
upsert?: Prisma.RowPermissionUpsertWithWhereUniqueWithoutGroupInput | Prisma.RowPermissionUpsertWithWhereUniqueWithoutGroupInput[]
|
|
createMany?: Prisma.RowPermissionCreateManyGroupInputEnvelope
|
|
set?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
disconnect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
delete?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
connect?: Prisma.RowPermissionWhereUniqueInput | Prisma.RowPermissionWhereUniqueInput[]
|
|
update?: Prisma.RowPermissionUpdateWithWhereUniqueWithoutGroupInput | Prisma.RowPermissionUpdateWithWhereUniqueWithoutGroupInput[]
|
|
updateMany?: Prisma.RowPermissionUpdateManyWithWhereWithoutGroupInput | Prisma.RowPermissionUpdateManyWithWhereWithoutGroupInput[]
|
|
deleteMany?: Prisma.RowPermissionScalarWhereInput | Prisma.RowPermissionScalarWhereInput[]
|
|
}
|
|
|
|
export type RowPermissionCreateWithoutUserInput = {
|
|
id?: string
|
|
public?: boolean | null
|
|
access?: string
|
|
group?: Prisma.GroupCreateNestedOneWithoutRowPermissionsInput
|
|
role?: Prisma.RoleCreateNestedOneWithoutRowPermissionsInput
|
|
row: Prisma.RowCreateNestedOneWithoutPermissionsInput
|
|
tenant?: Prisma.TenantCreateNestedOneWithoutRowPermissionsInput
|
|
}
|
|
|
|
export type RowPermissionUncheckedCreateWithoutUserInput = {
|
|
id?: string
|
|
rowId: string
|
|
tenantId?: string | null
|
|
roleId?: string | null
|
|
groupId?: string | null
|
|
public?: boolean | null
|
|
access?: string
|
|
}
|
|
|
|
export type RowPermissionCreateOrConnectWithoutUserInput = {
|
|
where: Prisma.RowPermissionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.RowPermissionCreateWithoutUserInput, Prisma.RowPermissionUncheckedCreateWithoutUserInput>
|
|
}
|
|
|
|
export type RowPermissionCreateManyUserInputEnvelope = {
|
|
data: Prisma.RowPermissionCreateManyUserInput | Prisma.RowPermissionCreateManyUserInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type RowPermissionUpsertWithWhereUniqueWithoutUserInput = {
|
|
where: Prisma.RowPermissionWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.RowPermissionUpdateWithoutUserInput, Prisma.RowPermissionUncheckedUpdateWithoutUserInput>
|
|
create: Prisma.XOR<Prisma.RowPermissionCreateWithoutUserInput, Prisma.RowPermissionUncheckedCreateWithoutUserInput>
|
|
}
|
|
|
|
export type RowPermissionUpdateWithWhereUniqueWithoutUserInput = {
|
|
where: Prisma.RowPermissionWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.RowPermissionUpdateWithoutUserInput, Prisma.RowPermissionUncheckedUpdateWithoutUserInput>
|
|
}
|
|
|
|
export type RowPermissionUpdateManyWithWhereWithoutUserInput = {
|
|
where: Prisma.RowPermissionScalarWhereInput
|
|
data: Prisma.XOR<Prisma.RowPermissionUpdateManyMutationInput, Prisma.RowPermissionUncheckedUpdateManyWithoutUserInput>
|
|
}
|
|
|
|
export type RowPermissionScalarWhereInput = {
|
|
AND?: Prisma.RowPermissionScalarWhereInput | Prisma.RowPermissionScalarWhereInput[]
|
|
OR?: Prisma.RowPermissionScalarWhereInput[]
|
|
NOT?: Prisma.RowPermissionScalarWhereInput | Prisma.RowPermissionScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"RowPermission"> | string
|
|
rowId?: Prisma.StringFilter<"RowPermission"> | string
|
|
tenantId?: Prisma.StringNullableFilter<"RowPermission"> | string | null
|
|
roleId?: Prisma.StringNullableFilter<"RowPermission"> | string | null
|
|
groupId?: Prisma.StringNullableFilter<"RowPermission"> | string | null
|
|
userId?: Prisma.StringNullableFilter<"RowPermission"> | string | null
|
|
public?: Prisma.BoolNullableFilter<"RowPermission"> | boolean | null
|
|
access?: Prisma.StringFilter<"RowPermission"> | string
|
|
}
|
|
|
|
export type RowPermissionCreateWithoutTenantInput = {
|
|
id?: string
|
|
public?: boolean | null
|
|
access?: string
|
|
group?: Prisma.GroupCreateNestedOneWithoutRowPermissionsInput
|
|
role?: Prisma.RoleCreateNestedOneWithoutRowPermissionsInput
|
|
row: Prisma.RowCreateNestedOneWithoutPermissionsInput
|
|
user?: Prisma.UserCreateNestedOneWithoutRowPermissionsInput
|
|
}
|
|
|
|
export type RowPermissionUncheckedCreateWithoutTenantInput = {
|
|
id?: string
|
|
rowId: string
|
|
roleId?: string | null
|
|
groupId?: string | null
|
|
userId?: string | null
|
|
public?: boolean | null
|
|
access?: string
|
|
}
|
|
|
|
export type RowPermissionCreateOrConnectWithoutTenantInput = {
|
|
where: Prisma.RowPermissionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.RowPermissionCreateWithoutTenantInput, Prisma.RowPermissionUncheckedCreateWithoutTenantInput>
|
|
}
|
|
|
|
export type RowPermissionCreateManyTenantInputEnvelope = {
|
|
data: Prisma.RowPermissionCreateManyTenantInput | Prisma.RowPermissionCreateManyTenantInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type RowPermissionUpsertWithWhereUniqueWithoutTenantInput = {
|
|
where: Prisma.RowPermissionWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.RowPermissionUpdateWithoutTenantInput, Prisma.RowPermissionUncheckedUpdateWithoutTenantInput>
|
|
create: Prisma.XOR<Prisma.RowPermissionCreateWithoutTenantInput, Prisma.RowPermissionUncheckedCreateWithoutTenantInput>
|
|
}
|
|
|
|
export type RowPermissionUpdateWithWhereUniqueWithoutTenantInput = {
|
|
where: Prisma.RowPermissionWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.RowPermissionUpdateWithoutTenantInput, Prisma.RowPermissionUncheckedUpdateWithoutTenantInput>
|
|
}
|
|
|
|
export type RowPermissionUpdateManyWithWhereWithoutTenantInput = {
|
|
where: Prisma.RowPermissionScalarWhereInput
|
|
data: Prisma.XOR<Prisma.RowPermissionUpdateManyMutationInput, Prisma.RowPermissionUncheckedUpdateManyWithoutTenantInput>
|
|
}
|
|
|
|
export type RowPermissionCreateWithoutRowInput = {
|
|
id?: string
|
|
public?: boolean | null
|
|
access?: string
|
|
group?: Prisma.GroupCreateNestedOneWithoutRowPermissionsInput
|
|
role?: Prisma.RoleCreateNestedOneWithoutRowPermissionsInput
|
|
tenant?: Prisma.TenantCreateNestedOneWithoutRowPermissionsInput
|
|
user?: Prisma.UserCreateNestedOneWithoutRowPermissionsInput
|
|
}
|
|
|
|
export type RowPermissionUncheckedCreateWithoutRowInput = {
|
|
id?: string
|
|
tenantId?: string | null
|
|
roleId?: string | null
|
|
groupId?: string | null
|
|
userId?: string | null
|
|
public?: boolean | null
|
|
access?: string
|
|
}
|
|
|
|
export type RowPermissionCreateOrConnectWithoutRowInput = {
|
|
where: Prisma.RowPermissionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.RowPermissionCreateWithoutRowInput, Prisma.RowPermissionUncheckedCreateWithoutRowInput>
|
|
}
|
|
|
|
export type RowPermissionCreateManyRowInputEnvelope = {
|
|
data: Prisma.RowPermissionCreateManyRowInput | Prisma.RowPermissionCreateManyRowInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type RowPermissionUpsertWithWhereUniqueWithoutRowInput = {
|
|
where: Prisma.RowPermissionWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.RowPermissionUpdateWithoutRowInput, Prisma.RowPermissionUncheckedUpdateWithoutRowInput>
|
|
create: Prisma.XOR<Prisma.RowPermissionCreateWithoutRowInput, Prisma.RowPermissionUncheckedCreateWithoutRowInput>
|
|
}
|
|
|
|
export type RowPermissionUpdateWithWhereUniqueWithoutRowInput = {
|
|
where: Prisma.RowPermissionWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.RowPermissionUpdateWithoutRowInput, Prisma.RowPermissionUncheckedUpdateWithoutRowInput>
|
|
}
|
|
|
|
export type RowPermissionUpdateManyWithWhereWithoutRowInput = {
|
|
where: Prisma.RowPermissionScalarWhereInput
|
|
data: Prisma.XOR<Prisma.RowPermissionUpdateManyMutationInput, Prisma.RowPermissionUncheckedUpdateManyWithoutRowInput>
|
|
}
|
|
|
|
export type RowPermissionCreateWithoutRoleInput = {
|
|
id?: string
|
|
public?: boolean | null
|
|
access?: string
|
|
group?: Prisma.GroupCreateNestedOneWithoutRowPermissionsInput
|
|
row: Prisma.RowCreateNestedOneWithoutPermissionsInput
|
|
tenant?: Prisma.TenantCreateNestedOneWithoutRowPermissionsInput
|
|
user?: Prisma.UserCreateNestedOneWithoutRowPermissionsInput
|
|
}
|
|
|
|
export type RowPermissionUncheckedCreateWithoutRoleInput = {
|
|
id?: string
|
|
rowId: string
|
|
tenantId?: string | null
|
|
groupId?: string | null
|
|
userId?: string | null
|
|
public?: boolean | null
|
|
access?: string
|
|
}
|
|
|
|
export type RowPermissionCreateOrConnectWithoutRoleInput = {
|
|
where: Prisma.RowPermissionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.RowPermissionCreateWithoutRoleInput, Prisma.RowPermissionUncheckedCreateWithoutRoleInput>
|
|
}
|
|
|
|
export type RowPermissionCreateManyRoleInputEnvelope = {
|
|
data: Prisma.RowPermissionCreateManyRoleInput | Prisma.RowPermissionCreateManyRoleInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type RowPermissionUpsertWithWhereUniqueWithoutRoleInput = {
|
|
where: Prisma.RowPermissionWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.RowPermissionUpdateWithoutRoleInput, Prisma.RowPermissionUncheckedUpdateWithoutRoleInput>
|
|
create: Prisma.XOR<Prisma.RowPermissionCreateWithoutRoleInput, Prisma.RowPermissionUncheckedCreateWithoutRoleInput>
|
|
}
|
|
|
|
export type RowPermissionUpdateWithWhereUniqueWithoutRoleInput = {
|
|
where: Prisma.RowPermissionWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.RowPermissionUpdateWithoutRoleInput, Prisma.RowPermissionUncheckedUpdateWithoutRoleInput>
|
|
}
|
|
|
|
export type RowPermissionUpdateManyWithWhereWithoutRoleInput = {
|
|
where: Prisma.RowPermissionScalarWhereInput
|
|
data: Prisma.XOR<Prisma.RowPermissionUpdateManyMutationInput, Prisma.RowPermissionUncheckedUpdateManyWithoutRoleInput>
|
|
}
|
|
|
|
export type RowPermissionCreateWithoutGroupInput = {
|
|
id?: string
|
|
public?: boolean | null
|
|
access?: string
|
|
role?: Prisma.RoleCreateNestedOneWithoutRowPermissionsInput
|
|
row: Prisma.RowCreateNestedOneWithoutPermissionsInput
|
|
tenant?: Prisma.TenantCreateNestedOneWithoutRowPermissionsInput
|
|
user?: Prisma.UserCreateNestedOneWithoutRowPermissionsInput
|
|
}
|
|
|
|
export type RowPermissionUncheckedCreateWithoutGroupInput = {
|
|
id?: string
|
|
rowId: string
|
|
tenantId?: string | null
|
|
roleId?: string | null
|
|
userId?: string | null
|
|
public?: boolean | null
|
|
access?: string
|
|
}
|
|
|
|
export type RowPermissionCreateOrConnectWithoutGroupInput = {
|
|
where: Prisma.RowPermissionWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.RowPermissionCreateWithoutGroupInput, Prisma.RowPermissionUncheckedCreateWithoutGroupInput>
|
|
}
|
|
|
|
export type RowPermissionCreateManyGroupInputEnvelope = {
|
|
data: Prisma.RowPermissionCreateManyGroupInput | Prisma.RowPermissionCreateManyGroupInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type RowPermissionUpsertWithWhereUniqueWithoutGroupInput = {
|
|
where: Prisma.RowPermissionWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.RowPermissionUpdateWithoutGroupInput, Prisma.RowPermissionUncheckedUpdateWithoutGroupInput>
|
|
create: Prisma.XOR<Prisma.RowPermissionCreateWithoutGroupInput, Prisma.RowPermissionUncheckedCreateWithoutGroupInput>
|
|
}
|
|
|
|
export type RowPermissionUpdateWithWhereUniqueWithoutGroupInput = {
|
|
where: Prisma.RowPermissionWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.RowPermissionUpdateWithoutGroupInput, Prisma.RowPermissionUncheckedUpdateWithoutGroupInput>
|
|
}
|
|
|
|
export type RowPermissionUpdateManyWithWhereWithoutGroupInput = {
|
|
where: Prisma.RowPermissionScalarWhereInput
|
|
data: Prisma.XOR<Prisma.RowPermissionUpdateManyMutationInput, Prisma.RowPermissionUncheckedUpdateManyWithoutGroupInput>
|
|
}
|
|
|
|
export type RowPermissionCreateManyUserInput = {
|
|
id?: string
|
|
rowId: string
|
|
tenantId?: string | null
|
|
roleId?: string | null
|
|
groupId?: string | null
|
|
public?: boolean | null
|
|
access?: string
|
|
}
|
|
|
|
export type RowPermissionUpdateWithoutUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
public?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
access?: Prisma.StringFieldUpdateOperationsInput | string
|
|
group?: Prisma.GroupUpdateOneWithoutRowPermissionsNestedInput
|
|
role?: Prisma.RoleUpdateOneWithoutRowPermissionsNestedInput
|
|
row?: Prisma.RowUpdateOneRequiredWithoutPermissionsNestedInput
|
|
tenant?: Prisma.TenantUpdateOneWithoutRowPermissionsNestedInput
|
|
}
|
|
|
|
export type RowPermissionUncheckedUpdateWithoutUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
groupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
public?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
access?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type RowPermissionUncheckedUpdateManyWithoutUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
groupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
public?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
access?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type RowPermissionCreateManyTenantInput = {
|
|
id?: string
|
|
rowId: string
|
|
roleId?: string | null
|
|
groupId?: string | null
|
|
userId?: string | null
|
|
public?: boolean | null
|
|
access?: string
|
|
}
|
|
|
|
export type RowPermissionUpdateWithoutTenantInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
public?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
access?: Prisma.StringFieldUpdateOperationsInput | string
|
|
group?: Prisma.GroupUpdateOneWithoutRowPermissionsNestedInput
|
|
role?: Prisma.RoleUpdateOneWithoutRowPermissionsNestedInput
|
|
row?: Prisma.RowUpdateOneRequiredWithoutPermissionsNestedInput
|
|
user?: Prisma.UserUpdateOneWithoutRowPermissionsNestedInput
|
|
}
|
|
|
|
export type RowPermissionUncheckedUpdateWithoutTenantInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
groupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
public?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
access?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type RowPermissionUncheckedUpdateManyWithoutTenantInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
groupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
public?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
access?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type RowPermissionCreateManyRowInput = {
|
|
id?: string
|
|
tenantId?: string | null
|
|
roleId?: string | null
|
|
groupId?: string | null
|
|
userId?: string | null
|
|
public?: boolean | null
|
|
access?: string
|
|
}
|
|
|
|
export type RowPermissionUpdateWithoutRowInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
public?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
access?: Prisma.StringFieldUpdateOperationsInput | string
|
|
group?: Prisma.GroupUpdateOneWithoutRowPermissionsNestedInput
|
|
role?: Prisma.RoleUpdateOneWithoutRowPermissionsNestedInput
|
|
tenant?: Prisma.TenantUpdateOneWithoutRowPermissionsNestedInput
|
|
user?: Prisma.UserUpdateOneWithoutRowPermissionsNestedInput
|
|
}
|
|
|
|
export type RowPermissionUncheckedUpdateWithoutRowInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
groupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
public?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
access?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type RowPermissionUncheckedUpdateManyWithoutRowInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
groupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
public?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
access?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type RowPermissionCreateManyRoleInput = {
|
|
id?: string
|
|
rowId: string
|
|
tenantId?: string | null
|
|
groupId?: string | null
|
|
userId?: string | null
|
|
public?: boolean | null
|
|
access?: string
|
|
}
|
|
|
|
export type RowPermissionUpdateWithoutRoleInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
public?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
access?: Prisma.StringFieldUpdateOperationsInput | string
|
|
group?: Prisma.GroupUpdateOneWithoutRowPermissionsNestedInput
|
|
row?: Prisma.RowUpdateOneRequiredWithoutPermissionsNestedInput
|
|
tenant?: Prisma.TenantUpdateOneWithoutRowPermissionsNestedInput
|
|
user?: Prisma.UserUpdateOneWithoutRowPermissionsNestedInput
|
|
}
|
|
|
|
export type RowPermissionUncheckedUpdateWithoutRoleInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
groupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
public?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
access?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type RowPermissionUncheckedUpdateManyWithoutRoleInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
groupId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
public?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
access?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type RowPermissionCreateManyGroupInput = {
|
|
id?: string
|
|
rowId: string
|
|
tenantId?: string | null
|
|
roleId?: string | null
|
|
userId?: string | null
|
|
public?: boolean | null
|
|
access?: string
|
|
}
|
|
|
|
export type RowPermissionUpdateWithoutGroupInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
public?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
access?: Prisma.StringFieldUpdateOperationsInput | string
|
|
role?: Prisma.RoleUpdateOneWithoutRowPermissionsNestedInput
|
|
row?: Prisma.RowUpdateOneRequiredWithoutPermissionsNestedInput
|
|
tenant?: Prisma.TenantUpdateOneWithoutRowPermissionsNestedInput
|
|
user?: Prisma.UserUpdateOneWithoutRowPermissionsNestedInput
|
|
}
|
|
|
|
export type RowPermissionUncheckedUpdateWithoutGroupInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
public?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
access?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type RowPermissionUncheckedUpdateManyWithoutGroupInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
rowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
tenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
roleId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
public?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
access?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
|
|
|
|
export type RowPermissionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
rowId?: boolean
|
|
tenantId?: boolean
|
|
roleId?: boolean
|
|
groupId?: boolean
|
|
userId?: boolean
|
|
public?: boolean
|
|
access?: boolean
|
|
group?: boolean | Prisma.RowPermission$groupArgs<ExtArgs>
|
|
role?: boolean | Prisma.RowPermission$roleArgs<ExtArgs>
|
|
row?: boolean | Prisma.RowDefaultArgs<ExtArgs>
|
|
tenant?: boolean | Prisma.RowPermission$tenantArgs<ExtArgs>
|
|
user?: boolean | Prisma.RowPermission$userArgs<ExtArgs>
|
|
}, ExtArgs["result"]["rowPermission"]>
|
|
|
|
export type RowPermissionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
rowId?: boolean
|
|
tenantId?: boolean
|
|
roleId?: boolean
|
|
groupId?: boolean
|
|
userId?: boolean
|
|
public?: boolean
|
|
access?: boolean
|
|
group?: boolean | Prisma.RowPermission$groupArgs<ExtArgs>
|
|
role?: boolean | Prisma.RowPermission$roleArgs<ExtArgs>
|
|
row?: boolean | Prisma.RowDefaultArgs<ExtArgs>
|
|
tenant?: boolean | Prisma.RowPermission$tenantArgs<ExtArgs>
|
|
user?: boolean | Prisma.RowPermission$userArgs<ExtArgs>
|
|
}, ExtArgs["result"]["rowPermission"]>
|
|
|
|
export type RowPermissionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
rowId?: boolean
|
|
tenantId?: boolean
|
|
roleId?: boolean
|
|
groupId?: boolean
|
|
userId?: boolean
|
|
public?: boolean
|
|
access?: boolean
|
|
group?: boolean | Prisma.RowPermission$groupArgs<ExtArgs>
|
|
role?: boolean | Prisma.RowPermission$roleArgs<ExtArgs>
|
|
row?: boolean | Prisma.RowDefaultArgs<ExtArgs>
|
|
tenant?: boolean | Prisma.RowPermission$tenantArgs<ExtArgs>
|
|
user?: boolean | Prisma.RowPermission$userArgs<ExtArgs>
|
|
}, ExtArgs["result"]["rowPermission"]>
|
|
|
|
export type RowPermissionSelectScalar = {
|
|
id?: boolean
|
|
rowId?: boolean
|
|
tenantId?: boolean
|
|
roleId?: boolean
|
|
groupId?: boolean
|
|
userId?: boolean
|
|
public?: boolean
|
|
access?: boolean
|
|
}
|
|
|
|
export type RowPermissionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "rowId" | "tenantId" | "roleId" | "groupId" | "userId" | "public" | "access", ExtArgs["result"]["rowPermission"]>
|
|
export type RowPermissionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
group?: boolean | Prisma.RowPermission$groupArgs<ExtArgs>
|
|
role?: boolean | Prisma.RowPermission$roleArgs<ExtArgs>
|
|
row?: boolean | Prisma.RowDefaultArgs<ExtArgs>
|
|
tenant?: boolean | Prisma.RowPermission$tenantArgs<ExtArgs>
|
|
user?: boolean | Prisma.RowPermission$userArgs<ExtArgs>
|
|
}
|
|
export type RowPermissionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
group?: boolean | Prisma.RowPermission$groupArgs<ExtArgs>
|
|
role?: boolean | Prisma.RowPermission$roleArgs<ExtArgs>
|
|
row?: boolean | Prisma.RowDefaultArgs<ExtArgs>
|
|
tenant?: boolean | Prisma.RowPermission$tenantArgs<ExtArgs>
|
|
user?: boolean | Prisma.RowPermission$userArgs<ExtArgs>
|
|
}
|
|
export type RowPermissionIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
group?: boolean | Prisma.RowPermission$groupArgs<ExtArgs>
|
|
role?: boolean | Prisma.RowPermission$roleArgs<ExtArgs>
|
|
row?: boolean | Prisma.RowDefaultArgs<ExtArgs>
|
|
tenant?: boolean | Prisma.RowPermission$tenantArgs<ExtArgs>
|
|
user?: boolean | Prisma.RowPermission$userArgs<ExtArgs>
|
|
}
|
|
|
|
export type $RowPermissionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "RowPermission"
|
|
objects: {
|
|
group: Prisma.$GroupPayload<ExtArgs> | null
|
|
role: Prisma.$RolePayload<ExtArgs> | null
|
|
row: Prisma.$RowPayload<ExtArgs>
|
|
tenant: Prisma.$TenantPayload<ExtArgs> | null
|
|
user: Prisma.$UserPayload<ExtArgs> | null
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
rowId: string
|
|
tenantId: string | null
|
|
roleId: string | null
|
|
groupId: string | null
|
|
userId: string | null
|
|
public: boolean | null
|
|
access: string
|
|
}, ExtArgs["result"]["rowPermission"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type RowPermissionGetPayload<S extends boolean | null | undefined | RowPermissionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$RowPermissionPayload, S>
|
|
|
|
export type RowPermissionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<RowPermissionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: RowPermissionCountAggregateInputType | true
|
|
}
|
|
|
|
export interface RowPermissionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['RowPermission'], meta: { name: 'RowPermission' } }
|
|
/**
|
|
* Find zero or one RowPermission that matches the filter.
|
|
* @param {RowPermissionFindUniqueArgs} args - Arguments to find a RowPermission
|
|
* @example
|
|
* // Get one RowPermission
|
|
* const rowPermission = await prisma.rowPermission.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends RowPermissionFindUniqueArgs>(args: Prisma.SelectSubset<T, RowPermissionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__RowPermissionClient<runtime.Types.Result.GetResult<Prisma.$RowPermissionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one RowPermission that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {RowPermissionFindUniqueOrThrowArgs} args - Arguments to find a RowPermission
|
|
* @example
|
|
* // Get one RowPermission
|
|
* const rowPermission = await prisma.rowPermission.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends RowPermissionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, RowPermissionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__RowPermissionClient<runtime.Types.Result.GetResult<Prisma.$RowPermissionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first RowPermission 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 {RowPermissionFindFirstArgs} args - Arguments to find a RowPermission
|
|
* @example
|
|
* // Get one RowPermission
|
|
* const rowPermission = await prisma.rowPermission.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends RowPermissionFindFirstArgs>(args?: Prisma.SelectSubset<T, RowPermissionFindFirstArgs<ExtArgs>>): Prisma.Prisma__RowPermissionClient<runtime.Types.Result.GetResult<Prisma.$RowPermissionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first RowPermission 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 {RowPermissionFindFirstOrThrowArgs} args - Arguments to find a RowPermission
|
|
* @example
|
|
* // Get one RowPermission
|
|
* const rowPermission = await prisma.rowPermission.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends RowPermissionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, RowPermissionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__RowPermissionClient<runtime.Types.Result.GetResult<Prisma.$RowPermissionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more RowPermissions 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 {RowPermissionFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all RowPermissions
|
|
* const rowPermissions = await prisma.rowPermission.findMany()
|
|
*
|
|
* // Get first 10 RowPermissions
|
|
* const rowPermissions = await prisma.rowPermission.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const rowPermissionWithIdOnly = await prisma.rowPermission.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends RowPermissionFindManyArgs>(args?: Prisma.SelectSubset<T, RowPermissionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RowPermissionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a RowPermission.
|
|
* @param {RowPermissionCreateArgs} args - Arguments to create a RowPermission.
|
|
* @example
|
|
* // Create one RowPermission
|
|
* const RowPermission = await prisma.rowPermission.create({
|
|
* data: {
|
|
* // ... data to create a RowPermission
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends RowPermissionCreateArgs>(args: Prisma.SelectSubset<T, RowPermissionCreateArgs<ExtArgs>>): Prisma.Prisma__RowPermissionClient<runtime.Types.Result.GetResult<Prisma.$RowPermissionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many RowPermissions.
|
|
* @param {RowPermissionCreateManyArgs} args - Arguments to create many RowPermissions.
|
|
* @example
|
|
* // Create many RowPermissions
|
|
* const rowPermission = await prisma.rowPermission.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends RowPermissionCreateManyArgs>(args?: Prisma.SelectSubset<T, RowPermissionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many RowPermissions and returns the data saved in the database.
|
|
* @param {RowPermissionCreateManyAndReturnArgs} args - Arguments to create many RowPermissions.
|
|
* @example
|
|
* // Create many RowPermissions
|
|
* const rowPermission = await prisma.rowPermission.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many RowPermissions and only return the `id`
|
|
* const rowPermissionWithIdOnly = await prisma.rowPermission.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 RowPermissionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, RowPermissionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RowPermissionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a RowPermission.
|
|
* @param {RowPermissionDeleteArgs} args - Arguments to delete one RowPermission.
|
|
* @example
|
|
* // Delete one RowPermission
|
|
* const RowPermission = await prisma.rowPermission.delete({
|
|
* where: {
|
|
* // ... filter to delete one RowPermission
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends RowPermissionDeleteArgs>(args: Prisma.SelectSubset<T, RowPermissionDeleteArgs<ExtArgs>>): Prisma.Prisma__RowPermissionClient<runtime.Types.Result.GetResult<Prisma.$RowPermissionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one RowPermission.
|
|
* @param {RowPermissionUpdateArgs} args - Arguments to update one RowPermission.
|
|
* @example
|
|
* // Update one RowPermission
|
|
* const rowPermission = await prisma.rowPermission.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends RowPermissionUpdateArgs>(args: Prisma.SelectSubset<T, RowPermissionUpdateArgs<ExtArgs>>): Prisma.Prisma__RowPermissionClient<runtime.Types.Result.GetResult<Prisma.$RowPermissionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more RowPermissions.
|
|
* @param {RowPermissionDeleteManyArgs} args - Arguments to filter RowPermissions to delete.
|
|
* @example
|
|
* // Delete a few RowPermissions
|
|
* const { count } = await prisma.rowPermission.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends RowPermissionDeleteManyArgs>(args?: Prisma.SelectSubset<T, RowPermissionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more RowPermissions.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {RowPermissionUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many RowPermissions
|
|
* const rowPermission = await prisma.rowPermission.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends RowPermissionUpdateManyArgs>(args: Prisma.SelectSubset<T, RowPermissionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more RowPermissions and returns the data updated in the database.
|
|
* @param {RowPermissionUpdateManyAndReturnArgs} args - Arguments to update many RowPermissions.
|
|
* @example
|
|
* // Update many RowPermissions
|
|
* const rowPermission = await prisma.rowPermission.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more RowPermissions and only return the `id`
|
|
* const rowPermissionWithIdOnly = await prisma.rowPermission.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 RowPermissionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, RowPermissionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RowPermissionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one RowPermission.
|
|
* @param {RowPermissionUpsertArgs} args - Arguments to update or create a RowPermission.
|
|
* @example
|
|
* // Update or create a RowPermission
|
|
* const rowPermission = await prisma.rowPermission.upsert({
|
|
* create: {
|
|
* // ... data to create a RowPermission
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the RowPermission we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends RowPermissionUpsertArgs>(args: Prisma.SelectSubset<T, RowPermissionUpsertArgs<ExtArgs>>): Prisma.Prisma__RowPermissionClient<runtime.Types.Result.GetResult<Prisma.$RowPermissionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of RowPermissions.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {RowPermissionCountArgs} args - Arguments to filter RowPermissions to count.
|
|
* @example
|
|
* // Count the number of RowPermissions
|
|
* const count = await prisma.rowPermission.count({
|
|
* where: {
|
|
* // ... the filter for the RowPermissions we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends RowPermissionCountArgs>(
|
|
args?: Prisma.Subset<T, RowPermissionCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], RowPermissionCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a RowPermission.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {RowPermissionAggregateArgs} 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 RowPermissionAggregateArgs>(args: Prisma.Subset<T, RowPermissionAggregateArgs>): Prisma.PrismaPromise<GetRowPermissionAggregateType<T>>
|
|
|
|
/**
|
|
* Group by RowPermission.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {RowPermissionGroupByArgs} 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 RowPermissionGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: RowPermissionGroupByArgs['orderBy'] }
|
|
: { orderBy?: RowPermissionGroupByArgs['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, RowPermissionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRowPermissionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the RowPermission model
|
|
*/
|
|
readonly fields: RowPermissionFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for RowPermission.
|
|
* 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__RowPermissionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
group<T extends Prisma.RowPermission$groupArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.RowPermission$groupArgs<ExtArgs>>): Prisma.Prisma__GroupClient<runtime.Types.Result.GetResult<Prisma.$GroupPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
role<T extends Prisma.RowPermission$roleArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.RowPermission$roleArgs<ExtArgs>>): Prisma.Prisma__RoleClient<runtime.Types.Result.GetResult<Prisma.$RolePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
row<T extends Prisma.RowDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.RowDefaultArgs<ExtArgs>>): Prisma.Prisma__RowClient<runtime.Types.Result.GetResult<Prisma.$RowPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
tenant<T extends Prisma.RowPermission$tenantArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.RowPermission$tenantArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
user<T extends Prisma.RowPermission$userArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.RowPermission$userArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the RowPermission model
|
|
*/
|
|
export interface RowPermissionFieldRefs {
|
|
readonly id: Prisma.FieldRef<"RowPermission", 'String'>
|
|
readonly rowId: Prisma.FieldRef<"RowPermission", 'String'>
|
|
readonly tenantId: Prisma.FieldRef<"RowPermission", 'String'>
|
|
readonly roleId: Prisma.FieldRef<"RowPermission", 'String'>
|
|
readonly groupId: Prisma.FieldRef<"RowPermission", 'String'>
|
|
readonly userId: Prisma.FieldRef<"RowPermission", 'String'>
|
|
readonly public: Prisma.FieldRef<"RowPermission", 'Boolean'>
|
|
readonly access: Prisma.FieldRef<"RowPermission", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* RowPermission findUnique
|
|
*/
|
|
export type RowPermissionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowPermission
|
|
*/
|
|
select?: Prisma.RowPermissionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowPermission
|
|
*/
|
|
omit?: Prisma.RowPermissionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowPermissionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which RowPermission to fetch.
|
|
*/
|
|
where: Prisma.RowPermissionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* RowPermission findUniqueOrThrow
|
|
*/
|
|
export type RowPermissionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowPermission
|
|
*/
|
|
select?: Prisma.RowPermissionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowPermission
|
|
*/
|
|
omit?: Prisma.RowPermissionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowPermissionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which RowPermission to fetch.
|
|
*/
|
|
where: Prisma.RowPermissionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* RowPermission findFirst
|
|
*/
|
|
export type RowPermissionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowPermission
|
|
*/
|
|
select?: Prisma.RowPermissionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowPermission
|
|
*/
|
|
omit?: Prisma.RowPermissionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowPermissionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which RowPermission to fetch.
|
|
*/
|
|
where?: Prisma.RowPermissionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of RowPermissions to fetch.
|
|
*/
|
|
orderBy?: Prisma.RowPermissionOrderByWithRelationInput | Prisma.RowPermissionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for RowPermissions.
|
|
*/
|
|
cursor?: Prisma.RowPermissionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` RowPermissions 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` RowPermissions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of RowPermissions.
|
|
*/
|
|
distinct?: Prisma.RowPermissionScalarFieldEnum | Prisma.RowPermissionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* RowPermission findFirstOrThrow
|
|
*/
|
|
export type RowPermissionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowPermission
|
|
*/
|
|
select?: Prisma.RowPermissionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowPermission
|
|
*/
|
|
omit?: Prisma.RowPermissionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowPermissionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which RowPermission to fetch.
|
|
*/
|
|
where?: Prisma.RowPermissionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of RowPermissions to fetch.
|
|
*/
|
|
orderBy?: Prisma.RowPermissionOrderByWithRelationInput | Prisma.RowPermissionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for RowPermissions.
|
|
*/
|
|
cursor?: Prisma.RowPermissionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` RowPermissions 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` RowPermissions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of RowPermissions.
|
|
*/
|
|
distinct?: Prisma.RowPermissionScalarFieldEnum | Prisma.RowPermissionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* RowPermission findMany
|
|
*/
|
|
export type RowPermissionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowPermission
|
|
*/
|
|
select?: Prisma.RowPermissionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowPermission
|
|
*/
|
|
omit?: Prisma.RowPermissionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowPermissionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which RowPermissions to fetch.
|
|
*/
|
|
where?: Prisma.RowPermissionWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of RowPermissions to fetch.
|
|
*/
|
|
orderBy?: Prisma.RowPermissionOrderByWithRelationInput | Prisma.RowPermissionOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing RowPermissions.
|
|
*/
|
|
cursor?: Prisma.RowPermissionWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` RowPermissions 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` RowPermissions.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of RowPermissions.
|
|
*/
|
|
distinct?: Prisma.RowPermissionScalarFieldEnum | Prisma.RowPermissionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* RowPermission create
|
|
*/
|
|
export type RowPermissionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowPermission
|
|
*/
|
|
select?: Prisma.RowPermissionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowPermission
|
|
*/
|
|
omit?: Prisma.RowPermissionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowPermissionInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a RowPermission.
|
|
*/
|
|
data: Prisma.XOR<Prisma.RowPermissionCreateInput, Prisma.RowPermissionUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* RowPermission createMany
|
|
*/
|
|
export type RowPermissionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many RowPermissions.
|
|
*/
|
|
data: Prisma.RowPermissionCreateManyInput | Prisma.RowPermissionCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* RowPermission createManyAndReturn
|
|
*/
|
|
export type RowPermissionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowPermission
|
|
*/
|
|
select?: Prisma.RowPermissionSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowPermission
|
|
*/
|
|
omit?: Prisma.RowPermissionOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many RowPermissions.
|
|
*/
|
|
data: Prisma.RowPermissionCreateManyInput | Prisma.RowPermissionCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowPermissionIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* RowPermission update
|
|
*/
|
|
export type RowPermissionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowPermission
|
|
*/
|
|
select?: Prisma.RowPermissionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowPermission
|
|
*/
|
|
omit?: Prisma.RowPermissionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowPermissionInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a RowPermission.
|
|
*/
|
|
data: Prisma.XOR<Prisma.RowPermissionUpdateInput, Prisma.RowPermissionUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which RowPermission to update.
|
|
*/
|
|
where: Prisma.RowPermissionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* RowPermission updateMany
|
|
*/
|
|
export type RowPermissionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update RowPermissions.
|
|
*/
|
|
data: Prisma.XOR<Prisma.RowPermissionUpdateManyMutationInput, Prisma.RowPermissionUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which RowPermissions to update
|
|
*/
|
|
where?: Prisma.RowPermissionWhereInput
|
|
/**
|
|
* Limit how many RowPermissions to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* RowPermission updateManyAndReturn
|
|
*/
|
|
export type RowPermissionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowPermission
|
|
*/
|
|
select?: Prisma.RowPermissionSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowPermission
|
|
*/
|
|
omit?: Prisma.RowPermissionOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update RowPermissions.
|
|
*/
|
|
data: Prisma.XOR<Prisma.RowPermissionUpdateManyMutationInput, Prisma.RowPermissionUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which RowPermissions to update
|
|
*/
|
|
where?: Prisma.RowPermissionWhereInput
|
|
/**
|
|
* Limit how many RowPermissions to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowPermissionIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* RowPermission upsert
|
|
*/
|
|
export type RowPermissionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowPermission
|
|
*/
|
|
select?: Prisma.RowPermissionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowPermission
|
|
*/
|
|
omit?: Prisma.RowPermissionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowPermissionInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the RowPermission to update in case it exists.
|
|
*/
|
|
where: Prisma.RowPermissionWhereUniqueInput
|
|
/**
|
|
* In case the RowPermission found by the `where` argument doesn't exist, create a new RowPermission with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.RowPermissionCreateInput, Prisma.RowPermissionUncheckedCreateInput>
|
|
/**
|
|
* In case the RowPermission was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.RowPermissionUpdateInput, Prisma.RowPermissionUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* RowPermission delete
|
|
*/
|
|
export type RowPermissionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowPermission
|
|
*/
|
|
select?: Prisma.RowPermissionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowPermission
|
|
*/
|
|
omit?: Prisma.RowPermissionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowPermissionInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which RowPermission to delete.
|
|
*/
|
|
where: Prisma.RowPermissionWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* RowPermission deleteMany
|
|
*/
|
|
export type RowPermissionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which RowPermissions to delete
|
|
*/
|
|
where?: Prisma.RowPermissionWhereInput
|
|
/**
|
|
* Limit how many RowPermissions to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* RowPermission.group
|
|
*/
|
|
export type RowPermission$groupArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Group
|
|
*/
|
|
select?: Prisma.GroupSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Group
|
|
*/
|
|
omit?: Prisma.GroupOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.GroupInclude<ExtArgs> | null
|
|
where?: Prisma.GroupWhereInput
|
|
}
|
|
|
|
/**
|
|
* RowPermission.role
|
|
*/
|
|
export type RowPermission$roleArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Role
|
|
*/
|
|
select?: Prisma.RoleSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Role
|
|
*/
|
|
omit?: Prisma.RoleOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RoleInclude<ExtArgs> | null
|
|
where?: Prisma.RoleWhereInput
|
|
}
|
|
|
|
/**
|
|
* RowPermission.tenant
|
|
*/
|
|
export type RowPermission$tenantArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Tenant
|
|
*/
|
|
select?: Prisma.TenantSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Tenant
|
|
*/
|
|
omit?: Prisma.TenantOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TenantInclude<ExtArgs> | null
|
|
where?: Prisma.TenantWhereInput
|
|
}
|
|
|
|
/**
|
|
* RowPermission.user
|
|
*/
|
|
export type RowPermission$userArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the User
|
|
*/
|
|
select?: Prisma.UserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the User
|
|
*/
|
|
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.UserInclude<ExtArgs> | null
|
|
where?: Prisma.UserWhereInput
|
|
}
|
|
|
|
/**
|
|
* RowPermission without action
|
|
*/
|
|
export type RowPermissionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowPermission
|
|
*/
|
|
select?: Prisma.RowPermissionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowPermission
|
|
*/
|
|
omit?: Prisma.RowPermissionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowPermissionInclude<ExtArgs> | null
|
|
}
|