mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-19 14:16:29 +00:00
3477 lines
122 KiB
TypeScript
3477 lines
122 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 `Team` model and its related types.
|
|
*
|
|
* 🟢 You can import this file directly.
|
|
*/
|
|
|
|
import type * as PJTG from '../pjtg'
|
|
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 Team
|
|
*
|
|
*/
|
|
export type TeamModel = runtime.Types.Result.DefaultSelection<Prisma.$TeamPayload>
|
|
|
|
export type AggregateTeam = {
|
|
_count: TeamCountAggregateOutputType | null
|
|
_min: TeamMinAggregateOutputType | null
|
|
_max: TeamMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type TeamMinAggregateOutputType = {
|
|
id: string | null
|
|
name: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
rootFolderId: string | null
|
|
}
|
|
|
|
export type TeamMaxAggregateOutputType = {
|
|
id: string | null
|
|
name: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
rootFolderId: string | null
|
|
}
|
|
|
|
export type TeamCountAggregateOutputType = {
|
|
id: number
|
|
name: number
|
|
settings: PrismaJson.Settings
|
|
createdAt: number
|
|
updatedAt: number
|
|
rootFolderId: number
|
|
_all: number
|
|
}
|
|
|
|
export type TeamMinAggregateInputType = {
|
|
id?: true
|
|
name?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
rootFolderId?: true
|
|
}
|
|
|
|
export type TeamMaxAggregateInputType = {
|
|
id?: true
|
|
name?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
rootFolderId?: true
|
|
}
|
|
|
|
export type TeamCountAggregateInputType = {
|
|
id?: true
|
|
name?: true
|
|
settings?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
rootFolderId?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type TeamAggregateArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Filter which Team to aggregate.
|
|
*/
|
|
where?: Prisma.TeamWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Teams to fetch.
|
|
*/
|
|
orderBy?: Prisma.TeamOrderByWithRelationInput | Prisma.TeamOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.TeamWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` Teams 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` Teams.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned Teams
|
|
**/
|
|
_count?: true | TeamCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: TeamMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: TeamMaxAggregateInputType
|
|
}
|
|
|
|
export type GetTeamAggregateType<T extends TeamAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateTeam]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateTeam[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateTeam[P]>
|
|
}
|
|
|
|
export type TeamGroupByArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
where?: Prisma.TeamWhereInput
|
|
orderBy?: Prisma.TeamOrderByWithAggregationInput | Prisma.TeamOrderByWithAggregationInput[]
|
|
by: Prisma.TeamScalarFieldEnum[] | Prisma.TeamScalarFieldEnum
|
|
having?: Prisma.TeamScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: TeamCountAggregateInputType | true
|
|
_min?: TeamMinAggregateInputType
|
|
_max?: TeamMaxAggregateInputType
|
|
}
|
|
|
|
export type TeamGroupByOutputType = {
|
|
id: string
|
|
name: string
|
|
settings: PrismaJson.Settings | null
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
rootFolderId: string | null
|
|
_count: TeamCountAggregateOutputType | null
|
|
_min: TeamMinAggregateOutputType | null
|
|
_max: TeamMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetTeamGroupByPayload<T extends TeamGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<TeamGroupByOutputType, T['by']> & {
|
|
[P in keyof T & keyof TeamGroupByOutputType]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], TeamGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], TeamGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
export type TeamWhereInput = {
|
|
AND?: Prisma.TeamWhereInput | Prisma.TeamWhereInput[]
|
|
OR?: Prisma.TeamWhereInput[]
|
|
NOT?: Prisma.TeamWhereInput | Prisma.TeamWhereInput[]
|
|
id?: Prisma.StringFilter<'Team'> | string
|
|
name?: Prisma.StringFilter<'Team'> | string
|
|
settings?: Prisma.JsonNullableFilter<'Team'>
|
|
createdAt?: Prisma.DateTimeFilter<'Team'> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<'Team'> | Date | string
|
|
rootFolderId?: Prisma.StringNullableFilter<'Team'> | string | null
|
|
rootFolder?: Prisma.XOR<Prisma.AssetNullableScalarRelationFilter, Prisma.AssetWhereInput> | null
|
|
members?: Prisma.TeamMemberListRelationFilter
|
|
projects?: Prisma.ProjectListRelationFilter
|
|
metadataFields?: Prisma.MetadataFieldListRelationFilter
|
|
invites?: Prisma.InviteListRelationFilter
|
|
notifications?: Prisma.NotificationListRelationFilter
|
|
userMetadata?: Prisma.UserMetadataListRelationFilter
|
|
providers?: Prisma.ProviderListRelationFilter
|
|
skills?: Prisma.SkillListRelationFilter
|
|
sandbox?: Prisma.XOR<Prisma.SandboxNullableScalarRelationFilter, Prisma.SandboxWhereInput> | null
|
|
agents?: Prisma.AgentListRelationFilter
|
|
}
|
|
|
|
export type TeamOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
settings?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
rootFolderId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
rootFolder?: Prisma.AssetOrderByWithRelationInput
|
|
members?: Prisma.TeamMemberOrderByRelationAggregateInput
|
|
projects?: Prisma.ProjectOrderByRelationAggregateInput
|
|
metadataFields?: Prisma.MetadataFieldOrderByRelationAggregateInput
|
|
invites?: Prisma.InviteOrderByRelationAggregateInput
|
|
notifications?: Prisma.NotificationOrderByRelationAggregateInput
|
|
userMetadata?: Prisma.UserMetadataOrderByRelationAggregateInput
|
|
providers?: Prisma.ProviderOrderByRelationAggregateInput
|
|
skills?: Prisma.SkillOrderByRelationAggregateInput
|
|
sandbox?: Prisma.SandboxOrderByWithRelationInput
|
|
agents?: Prisma.AgentOrderByRelationAggregateInput
|
|
}
|
|
|
|
export type TeamWhereUniqueInput = Prisma.AtLeast<
|
|
{
|
|
id?: string
|
|
rootFolderId?: string
|
|
AND?: Prisma.TeamWhereInput | Prisma.TeamWhereInput[]
|
|
OR?: Prisma.TeamWhereInput[]
|
|
NOT?: Prisma.TeamWhereInput | Prisma.TeamWhereInput[]
|
|
name?: Prisma.StringFilter<'Team'> | string
|
|
settings?: Prisma.JsonNullableFilter<'Team'>
|
|
createdAt?: Prisma.DateTimeFilter<'Team'> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<'Team'> | Date | string
|
|
rootFolder?: Prisma.XOR<Prisma.AssetNullableScalarRelationFilter, Prisma.AssetWhereInput> | null
|
|
members?: Prisma.TeamMemberListRelationFilter
|
|
projects?: Prisma.ProjectListRelationFilter
|
|
metadataFields?: Prisma.MetadataFieldListRelationFilter
|
|
invites?: Prisma.InviteListRelationFilter
|
|
notifications?: Prisma.NotificationListRelationFilter
|
|
userMetadata?: Prisma.UserMetadataListRelationFilter
|
|
providers?: Prisma.ProviderListRelationFilter
|
|
skills?: Prisma.SkillListRelationFilter
|
|
sandbox?: Prisma.XOR<
|
|
Prisma.SandboxNullableScalarRelationFilter,
|
|
Prisma.SandboxWhereInput
|
|
> | null
|
|
agents?: Prisma.AgentListRelationFilter
|
|
},
|
|
'id' | 'rootFolderId'
|
|
>
|
|
|
|
export type TeamOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
settings?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
rootFolderId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.TeamCountOrderByAggregateInput
|
|
_max?: Prisma.TeamMaxOrderByAggregateInput
|
|
_min?: Prisma.TeamMinOrderByAggregateInput
|
|
}
|
|
|
|
export type TeamScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.TeamScalarWhereWithAggregatesInput | Prisma.TeamScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.TeamScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.TeamScalarWhereWithAggregatesInput | Prisma.TeamScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<'Team'> | string
|
|
name?: Prisma.StringWithAggregatesFilter<'Team'> | string
|
|
settings?: Prisma.JsonNullableWithAggregatesFilter<'Team'>
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<'Team'> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<'Team'> | Date | string
|
|
rootFolderId?: Prisma.StringNullableWithAggregatesFilter<'Team'> | string | null
|
|
}
|
|
|
|
export type TeamCreateInput = {
|
|
id?: string
|
|
name: string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
rootFolder?: Prisma.AssetCreateNestedOneWithoutTeamRootFolderInput
|
|
members?: Prisma.TeamMemberCreateNestedManyWithoutTeamInput
|
|
projects?: Prisma.ProjectCreateNestedManyWithoutTeamInput
|
|
metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutTeamInput
|
|
invites?: Prisma.InviteCreateNestedManyWithoutTeamInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutTeamInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutTeamInput
|
|
providers?: Prisma.ProviderCreateNestedManyWithoutTeamInput
|
|
skills?: Prisma.SkillCreateNestedManyWithoutTeamInput
|
|
sandbox?: Prisma.SandboxCreateNestedOneWithoutTeamInput
|
|
agents?: Prisma.AgentCreateNestedManyWithoutTeamInput
|
|
}
|
|
|
|
export type TeamUncheckedCreateInput = {
|
|
id?: string
|
|
name: string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
rootFolderId?: string | null
|
|
members?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutTeamInput
|
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutTeamInput
|
|
metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutTeamInput
|
|
invites?: Prisma.InviteUncheckedCreateNestedManyWithoutTeamInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTeamInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutTeamInput
|
|
providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutTeamInput
|
|
skills?: Prisma.SkillUncheckedCreateNestedManyWithoutTeamInput
|
|
sandbox?: Prisma.SandboxUncheckedCreateNestedOneWithoutTeamInput
|
|
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput
|
|
}
|
|
|
|
export type TeamUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
rootFolder?: Prisma.AssetUpdateOneWithoutTeamRootFolderNestedInput
|
|
members?: Prisma.TeamMemberUpdateManyWithoutTeamNestedInput
|
|
projects?: Prisma.ProjectUpdateManyWithoutTeamNestedInput
|
|
metadataFields?: Prisma.MetadataFieldUpdateManyWithoutTeamNestedInput
|
|
invites?: Prisma.InviteUpdateManyWithoutTeamNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutTeamNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutTeamNestedInput
|
|
providers?: Prisma.ProviderUpdateManyWithoutTeamNestedInput
|
|
skills?: Prisma.SkillUpdateManyWithoutTeamNestedInput
|
|
sandbox?: Prisma.SandboxUpdateOneWithoutTeamNestedInput
|
|
agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput
|
|
}
|
|
|
|
export type TeamUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
members?: Prisma.TeamMemberUncheckedUpdateManyWithoutTeamNestedInput
|
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutTeamNestedInput
|
|
metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutTeamNestedInput
|
|
invites?: Prisma.InviteUncheckedUpdateManyWithoutTeamNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTeamNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutTeamNestedInput
|
|
providers?: Prisma.ProviderUncheckedUpdateManyWithoutTeamNestedInput
|
|
skills?: Prisma.SkillUncheckedUpdateManyWithoutTeamNestedInput
|
|
sandbox?: Prisma.SandboxUncheckedUpdateOneWithoutTeamNestedInput
|
|
agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput
|
|
}
|
|
|
|
export type TeamCreateManyInput = {
|
|
id?: string
|
|
name: string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
rootFolderId?: string | null
|
|
}
|
|
|
|
export type TeamUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type TeamUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type TeamCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
settings?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
rootFolderId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type TeamMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
rootFolderId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type TeamMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
rootFolderId?: Prisma.SortOrder
|
|
}
|
|
|
|
export type TeamScalarRelationFilter = {
|
|
is?: Prisma.TeamWhereInput
|
|
isNot?: Prisma.TeamWhereInput
|
|
}
|
|
|
|
export type TeamNullableScalarRelationFilter = {
|
|
is?: Prisma.TeamWhereInput | null
|
|
isNot?: Prisma.TeamWhereInput | null
|
|
}
|
|
|
|
export type TeamCreateNestedOneWithoutSandboxInput = {
|
|
create?: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutSandboxInput,
|
|
Prisma.TeamUncheckedCreateWithoutSandboxInput
|
|
>
|
|
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutSandboxInput
|
|
connect?: Prisma.TeamWhereUniqueInput
|
|
}
|
|
|
|
export type TeamUpdateOneRequiredWithoutSandboxNestedInput = {
|
|
create?: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutSandboxInput,
|
|
Prisma.TeamUncheckedCreateWithoutSandboxInput
|
|
>
|
|
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutSandboxInput
|
|
upsert?: Prisma.TeamUpsertWithoutSandboxInput
|
|
connect?: Prisma.TeamWhereUniqueInput
|
|
update?: Prisma.XOR<
|
|
Prisma.XOR<
|
|
Prisma.TeamUpdateToOneWithWhereWithoutSandboxInput,
|
|
Prisma.TeamUpdateWithoutSandboxInput
|
|
>,
|
|
Prisma.TeamUncheckedUpdateWithoutSandboxInput
|
|
>
|
|
}
|
|
|
|
export type TeamCreateNestedOneWithoutSkillsInput = {
|
|
create?: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutSkillsInput,
|
|
Prisma.TeamUncheckedCreateWithoutSkillsInput
|
|
>
|
|
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutSkillsInput
|
|
connect?: Prisma.TeamWhereUniqueInput
|
|
}
|
|
|
|
export type TeamUpdateOneRequiredWithoutSkillsNestedInput = {
|
|
create?: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutSkillsInput,
|
|
Prisma.TeamUncheckedCreateWithoutSkillsInput
|
|
>
|
|
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutSkillsInput
|
|
upsert?: Prisma.TeamUpsertWithoutSkillsInput
|
|
connect?: Prisma.TeamWhereUniqueInput
|
|
update?: Prisma.XOR<
|
|
Prisma.XOR<
|
|
Prisma.TeamUpdateToOneWithWhereWithoutSkillsInput,
|
|
Prisma.TeamUpdateWithoutSkillsInput
|
|
>,
|
|
Prisma.TeamUncheckedUpdateWithoutSkillsInput
|
|
>
|
|
}
|
|
|
|
export type TeamCreateNestedOneWithoutMembersInput = {
|
|
create?: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutMembersInput,
|
|
Prisma.TeamUncheckedCreateWithoutMembersInput
|
|
>
|
|
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutMembersInput
|
|
connect?: Prisma.TeamWhereUniqueInput
|
|
}
|
|
|
|
export type TeamUpdateOneRequiredWithoutMembersNestedInput = {
|
|
create?: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutMembersInput,
|
|
Prisma.TeamUncheckedCreateWithoutMembersInput
|
|
>
|
|
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutMembersInput
|
|
upsert?: Prisma.TeamUpsertWithoutMembersInput
|
|
connect?: Prisma.TeamWhereUniqueInput
|
|
update?: Prisma.XOR<
|
|
Prisma.XOR<
|
|
Prisma.TeamUpdateToOneWithWhereWithoutMembersInput,
|
|
Prisma.TeamUpdateWithoutMembersInput
|
|
>,
|
|
Prisma.TeamUncheckedUpdateWithoutMembersInput
|
|
>
|
|
}
|
|
|
|
export type TeamCreateNestedOneWithoutProjectsInput = {
|
|
create?: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutProjectsInput,
|
|
Prisma.TeamUncheckedCreateWithoutProjectsInput
|
|
>
|
|
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutProjectsInput
|
|
connect?: Prisma.TeamWhereUniqueInput
|
|
}
|
|
|
|
export type TeamUpdateOneRequiredWithoutProjectsNestedInput = {
|
|
create?: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutProjectsInput,
|
|
Prisma.TeamUncheckedCreateWithoutProjectsInput
|
|
>
|
|
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutProjectsInput
|
|
upsert?: Prisma.TeamUpsertWithoutProjectsInput
|
|
connect?: Prisma.TeamWhereUniqueInput
|
|
update?: Prisma.XOR<
|
|
Prisma.XOR<
|
|
Prisma.TeamUpdateToOneWithWhereWithoutProjectsInput,
|
|
Prisma.TeamUpdateWithoutProjectsInput
|
|
>,
|
|
Prisma.TeamUncheckedUpdateWithoutProjectsInput
|
|
>
|
|
}
|
|
|
|
export type TeamCreateNestedOneWithoutRootFolderInput = {
|
|
create?: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutRootFolderInput,
|
|
Prisma.TeamUncheckedCreateWithoutRootFolderInput
|
|
>
|
|
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutRootFolderInput
|
|
connect?: Prisma.TeamWhereUniqueInput
|
|
}
|
|
|
|
export type TeamUncheckedCreateNestedOneWithoutRootFolderInput = {
|
|
create?: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutRootFolderInput,
|
|
Prisma.TeamUncheckedCreateWithoutRootFolderInput
|
|
>
|
|
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutRootFolderInput
|
|
connect?: Prisma.TeamWhereUniqueInput
|
|
}
|
|
|
|
export type TeamUpdateOneWithoutRootFolderNestedInput = {
|
|
create?: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutRootFolderInput,
|
|
Prisma.TeamUncheckedCreateWithoutRootFolderInput
|
|
>
|
|
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutRootFolderInput
|
|
upsert?: Prisma.TeamUpsertWithoutRootFolderInput
|
|
disconnect?: Prisma.TeamWhereInput | boolean
|
|
delete?: Prisma.TeamWhereInput | boolean
|
|
connect?: Prisma.TeamWhereUniqueInput
|
|
update?: Prisma.XOR<
|
|
Prisma.XOR<
|
|
Prisma.TeamUpdateToOneWithWhereWithoutRootFolderInput,
|
|
Prisma.TeamUpdateWithoutRootFolderInput
|
|
>,
|
|
Prisma.TeamUncheckedUpdateWithoutRootFolderInput
|
|
>
|
|
}
|
|
|
|
export type TeamUncheckedUpdateOneWithoutRootFolderNestedInput = {
|
|
create?: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutRootFolderInput,
|
|
Prisma.TeamUncheckedCreateWithoutRootFolderInput
|
|
>
|
|
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutRootFolderInput
|
|
upsert?: Prisma.TeamUpsertWithoutRootFolderInput
|
|
disconnect?: Prisma.TeamWhereInput | boolean
|
|
delete?: Prisma.TeamWhereInput | boolean
|
|
connect?: Prisma.TeamWhereUniqueInput
|
|
update?: Prisma.XOR<
|
|
Prisma.XOR<
|
|
Prisma.TeamUpdateToOneWithWhereWithoutRootFolderInput,
|
|
Prisma.TeamUpdateWithoutRootFolderInput
|
|
>,
|
|
Prisma.TeamUncheckedUpdateWithoutRootFolderInput
|
|
>
|
|
}
|
|
|
|
export type TeamCreateNestedOneWithoutInvitesInput = {
|
|
create?: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutInvitesInput,
|
|
Prisma.TeamUncheckedCreateWithoutInvitesInput
|
|
>
|
|
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutInvitesInput
|
|
connect?: Prisma.TeamWhereUniqueInput
|
|
}
|
|
|
|
export type TeamUpdateOneRequiredWithoutInvitesNestedInput = {
|
|
create?: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutInvitesInput,
|
|
Prisma.TeamUncheckedCreateWithoutInvitesInput
|
|
>
|
|
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutInvitesInput
|
|
upsert?: Prisma.TeamUpsertWithoutInvitesInput
|
|
connect?: Prisma.TeamWhereUniqueInput
|
|
update?: Prisma.XOR<
|
|
Prisma.XOR<
|
|
Prisma.TeamUpdateToOneWithWhereWithoutInvitesInput,
|
|
Prisma.TeamUpdateWithoutInvitesInput
|
|
>,
|
|
Prisma.TeamUncheckedUpdateWithoutInvitesInput
|
|
>
|
|
}
|
|
|
|
export type TeamCreateNestedOneWithoutMetadataFieldsInput = {
|
|
create?: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutMetadataFieldsInput,
|
|
Prisma.TeamUncheckedCreateWithoutMetadataFieldsInput
|
|
>
|
|
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutMetadataFieldsInput
|
|
connect?: Prisma.TeamWhereUniqueInput
|
|
}
|
|
|
|
export type TeamUpdateOneWithoutMetadataFieldsNestedInput = {
|
|
create?: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutMetadataFieldsInput,
|
|
Prisma.TeamUncheckedCreateWithoutMetadataFieldsInput
|
|
>
|
|
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutMetadataFieldsInput
|
|
upsert?: Prisma.TeamUpsertWithoutMetadataFieldsInput
|
|
disconnect?: Prisma.TeamWhereInput | boolean
|
|
delete?: Prisma.TeamWhereInput | boolean
|
|
connect?: Prisma.TeamWhereUniqueInput
|
|
update?: Prisma.XOR<
|
|
Prisma.XOR<
|
|
Prisma.TeamUpdateToOneWithWhereWithoutMetadataFieldsInput,
|
|
Prisma.TeamUpdateWithoutMetadataFieldsInput
|
|
>,
|
|
Prisma.TeamUncheckedUpdateWithoutMetadataFieldsInput
|
|
>
|
|
}
|
|
|
|
export type TeamCreateNestedOneWithoutNotificationsInput = {
|
|
create?: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutNotificationsInput,
|
|
Prisma.TeamUncheckedCreateWithoutNotificationsInput
|
|
>
|
|
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutNotificationsInput
|
|
connect?: Prisma.TeamWhereUniqueInput
|
|
}
|
|
|
|
export type TeamUpdateOneRequiredWithoutNotificationsNestedInput = {
|
|
create?: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutNotificationsInput,
|
|
Prisma.TeamUncheckedCreateWithoutNotificationsInput
|
|
>
|
|
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutNotificationsInput
|
|
upsert?: Prisma.TeamUpsertWithoutNotificationsInput
|
|
connect?: Prisma.TeamWhereUniqueInput
|
|
update?: Prisma.XOR<
|
|
Prisma.XOR<
|
|
Prisma.TeamUpdateToOneWithWhereWithoutNotificationsInput,
|
|
Prisma.TeamUpdateWithoutNotificationsInput
|
|
>,
|
|
Prisma.TeamUncheckedUpdateWithoutNotificationsInput
|
|
>
|
|
}
|
|
|
|
export type TeamCreateNestedOneWithoutAgentsInput = {
|
|
create?: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutAgentsInput,
|
|
Prisma.TeamUncheckedCreateWithoutAgentsInput
|
|
>
|
|
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutAgentsInput
|
|
connect?: Prisma.TeamWhereUniqueInput
|
|
}
|
|
|
|
export type TeamUpdateOneRequiredWithoutAgentsNestedInput = {
|
|
create?: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutAgentsInput,
|
|
Prisma.TeamUncheckedCreateWithoutAgentsInput
|
|
>
|
|
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutAgentsInput
|
|
upsert?: Prisma.TeamUpsertWithoutAgentsInput
|
|
connect?: Prisma.TeamWhereUniqueInput
|
|
update?: Prisma.XOR<
|
|
Prisma.XOR<
|
|
Prisma.TeamUpdateToOneWithWhereWithoutAgentsInput,
|
|
Prisma.TeamUpdateWithoutAgentsInput
|
|
>,
|
|
Prisma.TeamUncheckedUpdateWithoutAgentsInput
|
|
>
|
|
}
|
|
|
|
export type TeamCreateNestedOneWithoutUserMetadataInput = {
|
|
create?: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutUserMetadataInput,
|
|
Prisma.TeamUncheckedCreateWithoutUserMetadataInput
|
|
>
|
|
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutUserMetadataInput
|
|
connect?: Prisma.TeamWhereUniqueInput
|
|
}
|
|
|
|
export type TeamUpdateOneRequiredWithoutUserMetadataNestedInput = {
|
|
create?: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutUserMetadataInput,
|
|
Prisma.TeamUncheckedCreateWithoutUserMetadataInput
|
|
>
|
|
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutUserMetadataInput
|
|
upsert?: Prisma.TeamUpsertWithoutUserMetadataInput
|
|
connect?: Prisma.TeamWhereUniqueInput
|
|
update?: Prisma.XOR<
|
|
Prisma.XOR<
|
|
Prisma.TeamUpdateToOneWithWhereWithoutUserMetadataInput,
|
|
Prisma.TeamUpdateWithoutUserMetadataInput
|
|
>,
|
|
Prisma.TeamUncheckedUpdateWithoutUserMetadataInput
|
|
>
|
|
}
|
|
|
|
export type TeamCreateNestedOneWithoutProvidersInput = {
|
|
create?: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutProvidersInput,
|
|
Prisma.TeamUncheckedCreateWithoutProvidersInput
|
|
>
|
|
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutProvidersInput
|
|
connect?: Prisma.TeamWhereUniqueInput
|
|
}
|
|
|
|
export type TeamUpdateOneRequiredWithoutProvidersNestedInput = {
|
|
create?: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutProvidersInput,
|
|
Prisma.TeamUncheckedCreateWithoutProvidersInput
|
|
>
|
|
connectOrCreate?: Prisma.TeamCreateOrConnectWithoutProvidersInput
|
|
upsert?: Prisma.TeamUpsertWithoutProvidersInput
|
|
connect?: Prisma.TeamWhereUniqueInput
|
|
update?: Prisma.XOR<
|
|
Prisma.XOR<
|
|
Prisma.TeamUpdateToOneWithWhereWithoutProvidersInput,
|
|
Prisma.TeamUpdateWithoutProvidersInput
|
|
>,
|
|
Prisma.TeamUncheckedUpdateWithoutProvidersInput
|
|
>
|
|
}
|
|
|
|
export type TeamCreateWithoutSandboxInput = {
|
|
id?: string
|
|
name: string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
rootFolder?: Prisma.AssetCreateNestedOneWithoutTeamRootFolderInput
|
|
members?: Prisma.TeamMemberCreateNestedManyWithoutTeamInput
|
|
projects?: Prisma.ProjectCreateNestedManyWithoutTeamInput
|
|
metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutTeamInput
|
|
invites?: Prisma.InviteCreateNestedManyWithoutTeamInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutTeamInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutTeamInput
|
|
providers?: Prisma.ProviderCreateNestedManyWithoutTeamInput
|
|
skills?: Prisma.SkillCreateNestedManyWithoutTeamInput
|
|
agents?: Prisma.AgentCreateNestedManyWithoutTeamInput
|
|
}
|
|
|
|
export type TeamUncheckedCreateWithoutSandboxInput = {
|
|
id?: string
|
|
name: string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
rootFolderId?: string | null
|
|
members?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutTeamInput
|
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutTeamInput
|
|
metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutTeamInput
|
|
invites?: Prisma.InviteUncheckedCreateNestedManyWithoutTeamInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTeamInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutTeamInput
|
|
providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutTeamInput
|
|
skills?: Prisma.SkillUncheckedCreateNestedManyWithoutTeamInput
|
|
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput
|
|
}
|
|
|
|
export type TeamCreateOrConnectWithoutSandboxInput = {
|
|
where: Prisma.TeamWhereUniqueInput
|
|
create: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutSandboxInput,
|
|
Prisma.TeamUncheckedCreateWithoutSandboxInput
|
|
>
|
|
}
|
|
|
|
export type TeamUpsertWithoutSandboxInput = {
|
|
update: Prisma.XOR<
|
|
Prisma.TeamUpdateWithoutSandboxInput,
|
|
Prisma.TeamUncheckedUpdateWithoutSandboxInput
|
|
>
|
|
create: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutSandboxInput,
|
|
Prisma.TeamUncheckedCreateWithoutSandboxInput
|
|
>
|
|
where?: Prisma.TeamWhereInput
|
|
}
|
|
|
|
export type TeamUpdateToOneWithWhereWithoutSandboxInput = {
|
|
where?: Prisma.TeamWhereInput
|
|
data: Prisma.XOR<
|
|
Prisma.TeamUpdateWithoutSandboxInput,
|
|
Prisma.TeamUncheckedUpdateWithoutSandboxInput
|
|
>
|
|
}
|
|
|
|
export type TeamUpdateWithoutSandboxInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
rootFolder?: Prisma.AssetUpdateOneWithoutTeamRootFolderNestedInput
|
|
members?: Prisma.TeamMemberUpdateManyWithoutTeamNestedInput
|
|
projects?: Prisma.ProjectUpdateManyWithoutTeamNestedInput
|
|
metadataFields?: Prisma.MetadataFieldUpdateManyWithoutTeamNestedInput
|
|
invites?: Prisma.InviteUpdateManyWithoutTeamNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutTeamNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutTeamNestedInput
|
|
providers?: Prisma.ProviderUpdateManyWithoutTeamNestedInput
|
|
skills?: Prisma.SkillUpdateManyWithoutTeamNestedInput
|
|
agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput
|
|
}
|
|
|
|
export type TeamUncheckedUpdateWithoutSandboxInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
members?: Prisma.TeamMemberUncheckedUpdateManyWithoutTeamNestedInput
|
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutTeamNestedInput
|
|
metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutTeamNestedInput
|
|
invites?: Prisma.InviteUncheckedUpdateManyWithoutTeamNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTeamNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutTeamNestedInput
|
|
providers?: Prisma.ProviderUncheckedUpdateManyWithoutTeamNestedInput
|
|
skills?: Prisma.SkillUncheckedUpdateManyWithoutTeamNestedInput
|
|
agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput
|
|
}
|
|
|
|
export type TeamCreateWithoutSkillsInput = {
|
|
id?: string
|
|
name: string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
rootFolder?: Prisma.AssetCreateNestedOneWithoutTeamRootFolderInput
|
|
members?: Prisma.TeamMemberCreateNestedManyWithoutTeamInput
|
|
projects?: Prisma.ProjectCreateNestedManyWithoutTeamInput
|
|
metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutTeamInput
|
|
invites?: Prisma.InviteCreateNestedManyWithoutTeamInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutTeamInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutTeamInput
|
|
providers?: Prisma.ProviderCreateNestedManyWithoutTeamInput
|
|
sandbox?: Prisma.SandboxCreateNestedOneWithoutTeamInput
|
|
agents?: Prisma.AgentCreateNestedManyWithoutTeamInput
|
|
}
|
|
|
|
export type TeamUncheckedCreateWithoutSkillsInput = {
|
|
id?: string
|
|
name: string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
rootFolderId?: string | null
|
|
members?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutTeamInput
|
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutTeamInput
|
|
metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutTeamInput
|
|
invites?: Prisma.InviteUncheckedCreateNestedManyWithoutTeamInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTeamInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutTeamInput
|
|
providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutTeamInput
|
|
sandbox?: Prisma.SandboxUncheckedCreateNestedOneWithoutTeamInput
|
|
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput
|
|
}
|
|
|
|
export type TeamCreateOrConnectWithoutSkillsInput = {
|
|
where: Prisma.TeamWhereUniqueInput
|
|
create: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutSkillsInput,
|
|
Prisma.TeamUncheckedCreateWithoutSkillsInput
|
|
>
|
|
}
|
|
|
|
export type TeamUpsertWithoutSkillsInput = {
|
|
update: Prisma.XOR<
|
|
Prisma.TeamUpdateWithoutSkillsInput,
|
|
Prisma.TeamUncheckedUpdateWithoutSkillsInput
|
|
>
|
|
create: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutSkillsInput,
|
|
Prisma.TeamUncheckedCreateWithoutSkillsInput
|
|
>
|
|
where?: Prisma.TeamWhereInput
|
|
}
|
|
|
|
export type TeamUpdateToOneWithWhereWithoutSkillsInput = {
|
|
where?: Prisma.TeamWhereInput
|
|
data: Prisma.XOR<
|
|
Prisma.TeamUpdateWithoutSkillsInput,
|
|
Prisma.TeamUncheckedUpdateWithoutSkillsInput
|
|
>
|
|
}
|
|
|
|
export type TeamUpdateWithoutSkillsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
rootFolder?: Prisma.AssetUpdateOneWithoutTeamRootFolderNestedInput
|
|
members?: Prisma.TeamMemberUpdateManyWithoutTeamNestedInput
|
|
projects?: Prisma.ProjectUpdateManyWithoutTeamNestedInput
|
|
metadataFields?: Prisma.MetadataFieldUpdateManyWithoutTeamNestedInput
|
|
invites?: Prisma.InviteUpdateManyWithoutTeamNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutTeamNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutTeamNestedInput
|
|
providers?: Prisma.ProviderUpdateManyWithoutTeamNestedInput
|
|
sandbox?: Prisma.SandboxUpdateOneWithoutTeamNestedInput
|
|
agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput
|
|
}
|
|
|
|
export type TeamUncheckedUpdateWithoutSkillsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
members?: Prisma.TeamMemberUncheckedUpdateManyWithoutTeamNestedInput
|
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutTeamNestedInput
|
|
metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutTeamNestedInput
|
|
invites?: Prisma.InviteUncheckedUpdateManyWithoutTeamNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTeamNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutTeamNestedInput
|
|
providers?: Prisma.ProviderUncheckedUpdateManyWithoutTeamNestedInput
|
|
sandbox?: Prisma.SandboxUncheckedUpdateOneWithoutTeamNestedInput
|
|
agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput
|
|
}
|
|
|
|
export type TeamCreateWithoutMembersInput = {
|
|
id?: string
|
|
name: string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
rootFolder?: Prisma.AssetCreateNestedOneWithoutTeamRootFolderInput
|
|
projects?: Prisma.ProjectCreateNestedManyWithoutTeamInput
|
|
metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutTeamInput
|
|
invites?: Prisma.InviteCreateNestedManyWithoutTeamInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutTeamInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutTeamInput
|
|
providers?: Prisma.ProviderCreateNestedManyWithoutTeamInput
|
|
skills?: Prisma.SkillCreateNestedManyWithoutTeamInput
|
|
sandbox?: Prisma.SandboxCreateNestedOneWithoutTeamInput
|
|
agents?: Prisma.AgentCreateNestedManyWithoutTeamInput
|
|
}
|
|
|
|
export type TeamUncheckedCreateWithoutMembersInput = {
|
|
id?: string
|
|
name: string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
rootFolderId?: string | null
|
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutTeamInput
|
|
metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutTeamInput
|
|
invites?: Prisma.InviteUncheckedCreateNestedManyWithoutTeamInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTeamInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutTeamInput
|
|
providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutTeamInput
|
|
skills?: Prisma.SkillUncheckedCreateNestedManyWithoutTeamInput
|
|
sandbox?: Prisma.SandboxUncheckedCreateNestedOneWithoutTeamInput
|
|
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput
|
|
}
|
|
|
|
export type TeamCreateOrConnectWithoutMembersInput = {
|
|
where: Prisma.TeamWhereUniqueInput
|
|
create: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutMembersInput,
|
|
Prisma.TeamUncheckedCreateWithoutMembersInput
|
|
>
|
|
}
|
|
|
|
export type TeamUpsertWithoutMembersInput = {
|
|
update: Prisma.XOR<
|
|
Prisma.TeamUpdateWithoutMembersInput,
|
|
Prisma.TeamUncheckedUpdateWithoutMembersInput
|
|
>
|
|
create: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutMembersInput,
|
|
Prisma.TeamUncheckedCreateWithoutMembersInput
|
|
>
|
|
where?: Prisma.TeamWhereInput
|
|
}
|
|
|
|
export type TeamUpdateToOneWithWhereWithoutMembersInput = {
|
|
where?: Prisma.TeamWhereInput
|
|
data: Prisma.XOR<
|
|
Prisma.TeamUpdateWithoutMembersInput,
|
|
Prisma.TeamUncheckedUpdateWithoutMembersInput
|
|
>
|
|
}
|
|
|
|
export type TeamUpdateWithoutMembersInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
rootFolder?: Prisma.AssetUpdateOneWithoutTeamRootFolderNestedInput
|
|
projects?: Prisma.ProjectUpdateManyWithoutTeamNestedInput
|
|
metadataFields?: Prisma.MetadataFieldUpdateManyWithoutTeamNestedInput
|
|
invites?: Prisma.InviteUpdateManyWithoutTeamNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutTeamNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutTeamNestedInput
|
|
providers?: Prisma.ProviderUpdateManyWithoutTeamNestedInput
|
|
skills?: Prisma.SkillUpdateManyWithoutTeamNestedInput
|
|
sandbox?: Prisma.SandboxUpdateOneWithoutTeamNestedInput
|
|
agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput
|
|
}
|
|
|
|
export type TeamUncheckedUpdateWithoutMembersInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutTeamNestedInput
|
|
metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutTeamNestedInput
|
|
invites?: Prisma.InviteUncheckedUpdateManyWithoutTeamNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTeamNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutTeamNestedInput
|
|
providers?: Prisma.ProviderUncheckedUpdateManyWithoutTeamNestedInput
|
|
skills?: Prisma.SkillUncheckedUpdateManyWithoutTeamNestedInput
|
|
sandbox?: Prisma.SandboxUncheckedUpdateOneWithoutTeamNestedInput
|
|
agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput
|
|
}
|
|
|
|
export type TeamCreateWithoutProjectsInput = {
|
|
id?: string
|
|
name: string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
rootFolder?: Prisma.AssetCreateNestedOneWithoutTeamRootFolderInput
|
|
members?: Prisma.TeamMemberCreateNestedManyWithoutTeamInput
|
|
metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutTeamInput
|
|
invites?: Prisma.InviteCreateNestedManyWithoutTeamInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutTeamInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutTeamInput
|
|
providers?: Prisma.ProviderCreateNestedManyWithoutTeamInput
|
|
skills?: Prisma.SkillCreateNestedManyWithoutTeamInput
|
|
sandbox?: Prisma.SandboxCreateNestedOneWithoutTeamInput
|
|
agents?: Prisma.AgentCreateNestedManyWithoutTeamInput
|
|
}
|
|
|
|
export type TeamUncheckedCreateWithoutProjectsInput = {
|
|
id?: string
|
|
name: string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
rootFolderId?: string | null
|
|
members?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutTeamInput
|
|
metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutTeamInput
|
|
invites?: Prisma.InviteUncheckedCreateNestedManyWithoutTeamInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTeamInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutTeamInput
|
|
providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutTeamInput
|
|
skills?: Prisma.SkillUncheckedCreateNestedManyWithoutTeamInput
|
|
sandbox?: Prisma.SandboxUncheckedCreateNestedOneWithoutTeamInput
|
|
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput
|
|
}
|
|
|
|
export type TeamCreateOrConnectWithoutProjectsInput = {
|
|
where: Prisma.TeamWhereUniqueInput
|
|
create: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutProjectsInput,
|
|
Prisma.TeamUncheckedCreateWithoutProjectsInput
|
|
>
|
|
}
|
|
|
|
export type TeamUpsertWithoutProjectsInput = {
|
|
update: Prisma.XOR<
|
|
Prisma.TeamUpdateWithoutProjectsInput,
|
|
Prisma.TeamUncheckedUpdateWithoutProjectsInput
|
|
>
|
|
create: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutProjectsInput,
|
|
Prisma.TeamUncheckedCreateWithoutProjectsInput
|
|
>
|
|
where?: Prisma.TeamWhereInput
|
|
}
|
|
|
|
export type TeamUpdateToOneWithWhereWithoutProjectsInput = {
|
|
where?: Prisma.TeamWhereInput
|
|
data: Prisma.XOR<
|
|
Prisma.TeamUpdateWithoutProjectsInput,
|
|
Prisma.TeamUncheckedUpdateWithoutProjectsInput
|
|
>
|
|
}
|
|
|
|
export type TeamUpdateWithoutProjectsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
rootFolder?: Prisma.AssetUpdateOneWithoutTeamRootFolderNestedInput
|
|
members?: Prisma.TeamMemberUpdateManyWithoutTeamNestedInput
|
|
metadataFields?: Prisma.MetadataFieldUpdateManyWithoutTeamNestedInput
|
|
invites?: Prisma.InviteUpdateManyWithoutTeamNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutTeamNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutTeamNestedInput
|
|
providers?: Prisma.ProviderUpdateManyWithoutTeamNestedInput
|
|
skills?: Prisma.SkillUpdateManyWithoutTeamNestedInput
|
|
sandbox?: Prisma.SandboxUpdateOneWithoutTeamNestedInput
|
|
agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput
|
|
}
|
|
|
|
export type TeamUncheckedUpdateWithoutProjectsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
members?: Prisma.TeamMemberUncheckedUpdateManyWithoutTeamNestedInput
|
|
metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutTeamNestedInput
|
|
invites?: Prisma.InviteUncheckedUpdateManyWithoutTeamNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTeamNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutTeamNestedInput
|
|
providers?: Prisma.ProviderUncheckedUpdateManyWithoutTeamNestedInput
|
|
skills?: Prisma.SkillUncheckedUpdateManyWithoutTeamNestedInput
|
|
sandbox?: Prisma.SandboxUncheckedUpdateOneWithoutTeamNestedInput
|
|
agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput
|
|
}
|
|
|
|
export type TeamCreateWithoutRootFolderInput = {
|
|
id?: string
|
|
name: string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
members?: Prisma.TeamMemberCreateNestedManyWithoutTeamInput
|
|
projects?: Prisma.ProjectCreateNestedManyWithoutTeamInput
|
|
metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutTeamInput
|
|
invites?: Prisma.InviteCreateNestedManyWithoutTeamInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutTeamInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutTeamInput
|
|
providers?: Prisma.ProviderCreateNestedManyWithoutTeamInput
|
|
skills?: Prisma.SkillCreateNestedManyWithoutTeamInput
|
|
sandbox?: Prisma.SandboxCreateNestedOneWithoutTeamInput
|
|
agents?: Prisma.AgentCreateNestedManyWithoutTeamInput
|
|
}
|
|
|
|
export type TeamUncheckedCreateWithoutRootFolderInput = {
|
|
id?: string
|
|
name: string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
members?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutTeamInput
|
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutTeamInput
|
|
metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutTeamInput
|
|
invites?: Prisma.InviteUncheckedCreateNestedManyWithoutTeamInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTeamInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutTeamInput
|
|
providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutTeamInput
|
|
skills?: Prisma.SkillUncheckedCreateNestedManyWithoutTeamInput
|
|
sandbox?: Prisma.SandboxUncheckedCreateNestedOneWithoutTeamInput
|
|
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput
|
|
}
|
|
|
|
export type TeamCreateOrConnectWithoutRootFolderInput = {
|
|
where: Prisma.TeamWhereUniqueInput
|
|
create: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutRootFolderInput,
|
|
Prisma.TeamUncheckedCreateWithoutRootFolderInput
|
|
>
|
|
}
|
|
|
|
export type TeamUpsertWithoutRootFolderInput = {
|
|
update: Prisma.XOR<
|
|
Prisma.TeamUpdateWithoutRootFolderInput,
|
|
Prisma.TeamUncheckedUpdateWithoutRootFolderInput
|
|
>
|
|
create: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutRootFolderInput,
|
|
Prisma.TeamUncheckedCreateWithoutRootFolderInput
|
|
>
|
|
where?: Prisma.TeamWhereInput
|
|
}
|
|
|
|
export type TeamUpdateToOneWithWhereWithoutRootFolderInput = {
|
|
where?: Prisma.TeamWhereInput
|
|
data: Prisma.XOR<
|
|
Prisma.TeamUpdateWithoutRootFolderInput,
|
|
Prisma.TeamUncheckedUpdateWithoutRootFolderInput
|
|
>
|
|
}
|
|
|
|
export type TeamUpdateWithoutRootFolderInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
members?: Prisma.TeamMemberUpdateManyWithoutTeamNestedInput
|
|
projects?: Prisma.ProjectUpdateManyWithoutTeamNestedInput
|
|
metadataFields?: Prisma.MetadataFieldUpdateManyWithoutTeamNestedInput
|
|
invites?: Prisma.InviteUpdateManyWithoutTeamNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutTeamNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutTeamNestedInput
|
|
providers?: Prisma.ProviderUpdateManyWithoutTeamNestedInput
|
|
skills?: Prisma.SkillUpdateManyWithoutTeamNestedInput
|
|
sandbox?: Prisma.SandboxUpdateOneWithoutTeamNestedInput
|
|
agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput
|
|
}
|
|
|
|
export type TeamUncheckedUpdateWithoutRootFolderInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
members?: Prisma.TeamMemberUncheckedUpdateManyWithoutTeamNestedInput
|
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutTeamNestedInput
|
|
metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutTeamNestedInput
|
|
invites?: Prisma.InviteUncheckedUpdateManyWithoutTeamNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTeamNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutTeamNestedInput
|
|
providers?: Prisma.ProviderUncheckedUpdateManyWithoutTeamNestedInput
|
|
skills?: Prisma.SkillUncheckedUpdateManyWithoutTeamNestedInput
|
|
sandbox?: Prisma.SandboxUncheckedUpdateOneWithoutTeamNestedInput
|
|
agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput
|
|
}
|
|
|
|
export type TeamCreateWithoutInvitesInput = {
|
|
id?: string
|
|
name: string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
rootFolder?: Prisma.AssetCreateNestedOneWithoutTeamRootFolderInput
|
|
members?: Prisma.TeamMemberCreateNestedManyWithoutTeamInput
|
|
projects?: Prisma.ProjectCreateNestedManyWithoutTeamInput
|
|
metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutTeamInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutTeamInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutTeamInput
|
|
providers?: Prisma.ProviderCreateNestedManyWithoutTeamInput
|
|
skills?: Prisma.SkillCreateNestedManyWithoutTeamInput
|
|
sandbox?: Prisma.SandboxCreateNestedOneWithoutTeamInput
|
|
agents?: Prisma.AgentCreateNestedManyWithoutTeamInput
|
|
}
|
|
|
|
export type TeamUncheckedCreateWithoutInvitesInput = {
|
|
id?: string
|
|
name: string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
rootFolderId?: string | null
|
|
members?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutTeamInput
|
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutTeamInput
|
|
metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutTeamInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTeamInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutTeamInput
|
|
providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutTeamInput
|
|
skills?: Prisma.SkillUncheckedCreateNestedManyWithoutTeamInput
|
|
sandbox?: Prisma.SandboxUncheckedCreateNestedOneWithoutTeamInput
|
|
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput
|
|
}
|
|
|
|
export type TeamCreateOrConnectWithoutInvitesInput = {
|
|
where: Prisma.TeamWhereUniqueInput
|
|
create: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutInvitesInput,
|
|
Prisma.TeamUncheckedCreateWithoutInvitesInput
|
|
>
|
|
}
|
|
|
|
export type TeamUpsertWithoutInvitesInput = {
|
|
update: Prisma.XOR<
|
|
Prisma.TeamUpdateWithoutInvitesInput,
|
|
Prisma.TeamUncheckedUpdateWithoutInvitesInput
|
|
>
|
|
create: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutInvitesInput,
|
|
Prisma.TeamUncheckedCreateWithoutInvitesInput
|
|
>
|
|
where?: Prisma.TeamWhereInput
|
|
}
|
|
|
|
export type TeamUpdateToOneWithWhereWithoutInvitesInput = {
|
|
where?: Prisma.TeamWhereInput
|
|
data: Prisma.XOR<
|
|
Prisma.TeamUpdateWithoutInvitesInput,
|
|
Prisma.TeamUncheckedUpdateWithoutInvitesInput
|
|
>
|
|
}
|
|
|
|
export type TeamUpdateWithoutInvitesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
rootFolder?: Prisma.AssetUpdateOneWithoutTeamRootFolderNestedInput
|
|
members?: Prisma.TeamMemberUpdateManyWithoutTeamNestedInput
|
|
projects?: Prisma.ProjectUpdateManyWithoutTeamNestedInput
|
|
metadataFields?: Prisma.MetadataFieldUpdateManyWithoutTeamNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutTeamNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutTeamNestedInput
|
|
providers?: Prisma.ProviderUpdateManyWithoutTeamNestedInput
|
|
skills?: Prisma.SkillUpdateManyWithoutTeamNestedInput
|
|
sandbox?: Prisma.SandboxUpdateOneWithoutTeamNestedInput
|
|
agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput
|
|
}
|
|
|
|
export type TeamUncheckedUpdateWithoutInvitesInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
members?: Prisma.TeamMemberUncheckedUpdateManyWithoutTeamNestedInput
|
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutTeamNestedInput
|
|
metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutTeamNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTeamNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutTeamNestedInput
|
|
providers?: Prisma.ProviderUncheckedUpdateManyWithoutTeamNestedInput
|
|
skills?: Prisma.SkillUncheckedUpdateManyWithoutTeamNestedInput
|
|
sandbox?: Prisma.SandboxUncheckedUpdateOneWithoutTeamNestedInput
|
|
agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput
|
|
}
|
|
|
|
export type TeamCreateWithoutMetadataFieldsInput = {
|
|
id?: string
|
|
name: string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
rootFolder?: Prisma.AssetCreateNestedOneWithoutTeamRootFolderInput
|
|
members?: Prisma.TeamMemberCreateNestedManyWithoutTeamInput
|
|
projects?: Prisma.ProjectCreateNestedManyWithoutTeamInput
|
|
invites?: Prisma.InviteCreateNestedManyWithoutTeamInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutTeamInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutTeamInput
|
|
providers?: Prisma.ProviderCreateNestedManyWithoutTeamInput
|
|
skills?: Prisma.SkillCreateNestedManyWithoutTeamInput
|
|
sandbox?: Prisma.SandboxCreateNestedOneWithoutTeamInput
|
|
agents?: Prisma.AgentCreateNestedManyWithoutTeamInput
|
|
}
|
|
|
|
export type TeamUncheckedCreateWithoutMetadataFieldsInput = {
|
|
id?: string
|
|
name: string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
rootFolderId?: string | null
|
|
members?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutTeamInput
|
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutTeamInput
|
|
invites?: Prisma.InviteUncheckedCreateNestedManyWithoutTeamInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTeamInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutTeamInput
|
|
providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutTeamInput
|
|
skills?: Prisma.SkillUncheckedCreateNestedManyWithoutTeamInput
|
|
sandbox?: Prisma.SandboxUncheckedCreateNestedOneWithoutTeamInput
|
|
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput
|
|
}
|
|
|
|
export type TeamCreateOrConnectWithoutMetadataFieldsInput = {
|
|
where: Prisma.TeamWhereUniqueInput
|
|
create: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutMetadataFieldsInput,
|
|
Prisma.TeamUncheckedCreateWithoutMetadataFieldsInput
|
|
>
|
|
}
|
|
|
|
export type TeamUpsertWithoutMetadataFieldsInput = {
|
|
update: Prisma.XOR<
|
|
Prisma.TeamUpdateWithoutMetadataFieldsInput,
|
|
Prisma.TeamUncheckedUpdateWithoutMetadataFieldsInput
|
|
>
|
|
create: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutMetadataFieldsInput,
|
|
Prisma.TeamUncheckedCreateWithoutMetadataFieldsInput
|
|
>
|
|
where?: Prisma.TeamWhereInput
|
|
}
|
|
|
|
export type TeamUpdateToOneWithWhereWithoutMetadataFieldsInput = {
|
|
where?: Prisma.TeamWhereInput
|
|
data: Prisma.XOR<
|
|
Prisma.TeamUpdateWithoutMetadataFieldsInput,
|
|
Prisma.TeamUncheckedUpdateWithoutMetadataFieldsInput
|
|
>
|
|
}
|
|
|
|
export type TeamUpdateWithoutMetadataFieldsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
rootFolder?: Prisma.AssetUpdateOneWithoutTeamRootFolderNestedInput
|
|
members?: Prisma.TeamMemberUpdateManyWithoutTeamNestedInput
|
|
projects?: Prisma.ProjectUpdateManyWithoutTeamNestedInput
|
|
invites?: Prisma.InviteUpdateManyWithoutTeamNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutTeamNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutTeamNestedInput
|
|
providers?: Prisma.ProviderUpdateManyWithoutTeamNestedInput
|
|
skills?: Prisma.SkillUpdateManyWithoutTeamNestedInput
|
|
sandbox?: Prisma.SandboxUpdateOneWithoutTeamNestedInput
|
|
agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput
|
|
}
|
|
|
|
export type TeamUncheckedUpdateWithoutMetadataFieldsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
members?: Prisma.TeamMemberUncheckedUpdateManyWithoutTeamNestedInput
|
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutTeamNestedInput
|
|
invites?: Prisma.InviteUncheckedUpdateManyWithoutTeamNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTeamNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutTeamNestedInput
|
|
providers?: Prisma.ProviderUncheckedUpdateManyWithoutTeamNestedInput
|
|
skills?: Prisma.SkillUncheckedUpdateManyWithoutTeamNestedInput
|
|
sandbox?: Prisma.SandboxUncheckedUpdateOneWithoutTeamNestedInput
|
|
agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput
|
|
}
|
|
|
|
export type TeamCreateWithoutNotificationsInput = {
|
|
id?: string
|
|
name: string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
rootFolder?: Prisma.AssetCreateNestedOneWithoutTeamRootFolderInput
|
|
members?: Prisma.TeamMemberCreateNestedManyWithoutTeamInput
|
|
projects?: Prisma.ProjectCreateNestedManyWithoutTeamInput
|
|
metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutTeamInput
|
|
invites?: Prisma.InviteCreateNestedManyWithoutTeamInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutTeamInput
|
|
providers?: Prisma.ProviderCreateNestedManyWithoutTeamInput
|
|
skills?: Prisma.SkillCreateNestedManyWithoutTeamInput
|
|
sandbox?: Prisma.SandboxCreateNestedOneWithoutTeamInput
|
|
agents?: Prisma.AgentCreateNestedManyWithoutTeamInput
|
|
}
|
|
|
|
export type TeamUncheckedCreateWithoutNotificationsInput = {
|
|
id?: string
|
|
name: string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
rootFolderId?: string | null
|
|
members?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutTeamInput
|
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutTeamInput
|
|
metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutTeamInput
|
|
invites?: Prisma.InviteUncheckedCreateNestedManyWithoutTeamInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutTeamInput
|
|
providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutTeamInput
|
|
skills?: Prisma.SkillUncheckedCreateNestedManyWithoutTeamInput
|
|
sandbox?: Prisma.SandboxUncheckedCreateNestedOneWithoutTeamInput
|
|
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput
|
|
}
|
|
|
|
export type TeamCreateOrConnectWithoutNotificationsInput = {
|
|
where: Prisma.TeamWhereUniqueInput
|
|
create: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutNotificationsInput,
|
|
Prisma.TeamUncheckedCreateWithoutNotificationsInput
|
|
>
|
|
}
|
|
|
|
export type TeamUpsertWithoutNotificationsInput = {
|
|
update: Prisma.XOR<
|
|
Prisma.TeamUpdateWithoutNotificationsInput,
|
|
Prisma.TeamUncheckedUpdateWithoutNotificationsInput
|
|
>
|
|
create: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutNotificationsInput,
|
|
Prisma.TeamUncheckedCreateWithoutNotificationsInput
|
|
>
|
|
where?: Prisma.TeamWhereInput
|
|
}
|
|
|
|
export type TeamUpdateToOneWithWhereWithoutNotificationsInput = {
|
|
where?: Prisma.TeamWhereInput
|
|
data: Prisma.XOR<
|
|
Prisma.TeamUpdateWithoutNotificationsInput,
|
|
Prisma.TeamUncheckedUpdateWithoutNotificationsInput
|
|
>
|
|
}
|
|
|
|
export type TeamUpdateWithoutNotificationsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
rootFolder?: Prisma.AssetUpdateOneWithoutTeamRootFolderNestedInput
|
|
members?: Prisma.TeamMemberUpdateManyWithoutTeamNestedInput
|
|
projects?: Prisma.ProjectUpdateManyWithoutTeamNestedInput
|
|
metadataFields?: Prisma.MetadataFieldUpdateManyWithoutTeamNestedInput
|
|
invites?: Prisma.InviteUpdateManyWithoutTeamNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutTeamNestedInput
|
|
providers?: Prisma.ProviderUpdateManyWithoutTeamNestedInput
|
|
skills?: Prisma.SkillUpdateManyWithoutTeamNestedInput
|
|
sandbox?: Prisma.SandboxUpdateOneWithoutTeamNestedInput
|
|
agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput
|
|
}
|
|
|
|
export type TeamUncheckedUpdateWithoutNotificationsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
members?: Prisma.TeamMemberUncheckedUpdateManyWithoutTeamNestedInput
|
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutTeamNestedInput
|
|
metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutTeamNestedInput
|
|
invites?: Prisma.InviteUncheckedUpdateManyWithoutTeamNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutTeamNestedInput
|
|
providers?: Prisma.ProviderUncheckedUpdateManyWithoutTeamNestedInput
|
|
skills?: Prisma.SkillUncheckedUpdateManyWithoutTeamNestedInput
|
|
sandbox?: Prisma.SandboxUncheckedUpdateOneWithoutTeamNestedInput
|
|
agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput
|
|
}
|
|
|
|
export type TeamCreateWithoutAgentsInput = {
|
|
id?: string
|
|
name: string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
rootFolder?: Prisma.AssetCreateNestedOneWithoutTeamRootFolderInput
|
|
members?: Prisma.TeamMemberCreateNestedManyWithoutTeamInput
|
|
projects?: Prisma.ProjectCreateNestedManyWithoutTeamInput
|
|
metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutTeamInput
|
|
invites?: Prisma.InviteCreateNestedManyWithoutTeamInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutTeamInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutTeamInput
|
|
providers?: Prisma.ProviderCreateNestedManyWithoutTeamInput
|
|
skills?: Prisma.SkillCreateNestedManyWithoutTeamInput
|
|
sandbox?: Prisma.SandboxCreateNestedOneWithoutTeamInput
|
|
}
|
|
|
|
export type TeamUncheckedCreateWithoutAgentsInput = {
|
|
id?: string
|
|
name: string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
rootFolderId?: string | null
|
|
members?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutTeamInput
|
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutTeamInput
|
|
metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutTeamInput
|
|
invites?: Prisma.InviteUncheckedCreateNestedManyWithoutTeamInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTeamInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutTeamInput
|
|
providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutTeamInput
|
|
skills?: Prisma.SkillUncheckedCreateNestedManyWithoutTeamInput
|
|
sandbox?: Prisma.SandboxUncheckedCreateNestedOneWithoutTeamInput
|
|
}
|
|
|
|
export type TeamCreateOrConnectWithoutAgentsInput = {
|
|
where: Prisma.TeamWhereUniqueInput
|
|
create: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutAgentsInput,
|
|
Prisma.TeamUncheckedCreateWithoutAgentsInput
|
|
>
|
|
}
|
|
|
|
export type TeamUpsertWithoutAgentsInput = {
|
|
update: Prisma.XOR<
|
|
Prisma.TeamUpdateWithoutAgentsInput,
|
|
Prisma.TeamUncheckedUpdateWithoutAgentsInput
|
|
>
|
|
create: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutAgentsInput,
|
|
Prisma.TeamUncheckedCreateWithoutAgentsInput
|
|
>
|
|
where?: Prisma.TeamWhereInput
|
|
}
|
|
|
|
export type TeamUpdateToOneWithWhereWithoutAgentsInput = {
|
|
where?: Prisma.TeamWhereInput
|
|
data: Prisma.XOR<
|
|
Prisma.TeamUpdateWithoutAgentsInput,
|
|
Prisma.TeamUncheckedUpdateWithoutAgentsInput
|
|
>
|
|
}
|
|
|
|
export type TeamUpdateWithoutAgentsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
rootFolder?: Prisma.AssetUpdateOneWithoutTeamRootFolderNestedInput
|
|
members?: Prisma.TeamMemberUpdateManyWithoutTeamNestedInput
|
|
projects?: Prisma.ProjectUpdateManyWithoutTeamNestedInput
|
|
metadataFields?: Prisma.MetadataFieldUpdateManyWithoutTeamNestedInput
|
|
invites?: Prisma.InviteUpdateManyWithoutTeamNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutTeamNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutTeamNestedInput
|
|
providers?: Prisma.ProviderUpdateManyWithoutTeamNestedInput
|
|
skills?: Prisma.SkillUpdateManyWithoutTeamNestedInput
|
|
sandbox?: Prisma.SandboxUpdateOneWithoutTeamNestedInput
|
|
}
|
|
|
|
export type TeamUncheckedUpdateWithoutAgentsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
members?: Prisma.TeamMemberUncheckedUpdateManyWithoutTeamNestedInput
|
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutTeamNestedInput
|
|
metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutTeamNestedInput
|
|
invites?: Prisma.InviteUncheckedUpdateManyWithoutTeamNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTeamNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutTeamNestedInput
|
|
providers?: Prisma.ProviderUncheckedUpdateManyWithoutTeamNestedInput
|
|
skills?: Prisma.SkillUncheckedUpdateManyWithoutTeamNestedInput
|
|
sandbox?: Prisma.SandboxUncheckedUpdateOneWithoutTeamNestedInput
|
|
}
|
|
|
|
export type TeamCreateWithoutUserMetadataInput = {
|
|
id?: string
|
|
name: string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
rootFolder?: Prisma.AssetCreateNestedOneWithoutTeamRootFolderInput
|
|
members?: Prisma.TeamMemberCreateNestedManyWithoutTeamInput
|
|
projects?: Prisma.ProjectCreateNestedManyWithoutTeamInput
|
|
metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutTeamInput
|
|
invites?: Prisma.InviteCreateNestedManyWithoutTeamInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutTeamInput
|
|
providers?: Prisma.ProviderCreateNestedManyWithoutTeamInput
|
|
skills?: Prisma.SkillCreateNestedManyWithoutTeamInput
|
|
sandbox?: Prisma.SandboxCreateNestedOneWithoutTeamInput
|
|
agents?: Prisma.AgentCreateNestedManyWithoutTeamInput
|
|
}
|
|
|
|
export type TeamUncheckedCreateWithoutUserMetadataInput = {
|
|
id?: string
|
|
name: string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
rootFolderId?: string | null
|
|
members?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutTeamInput
|
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutTeamInput
|
|
metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutTeamInput
|
|
invites?: Prisma.InviteUncheckedCreateNestedManyWithoutTeamInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTeamInput
|
|
providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutTeamInput
|
|
skills?: Prisma.SkillUncheckedCreateNestedManyWithoutTeamInput
|
|
sandbox?: Prisma.SandboxUncheckedCreateNestedOneWithoutTeamInput
|
|
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput
|
|
}
|
|
|
|
export type TeamCreateOrConnectWithoutUserMetadataInput = {
|
|
where: Prisma.TeamWhereUniqueInput
|
|
create: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutUserMetadataInput,
|
|
Prisma.TeamUncheckedCreateWithoutUserMetadataInput
|
|
>
|
|
}
|
|
|
|
export type TeamUpsertWithoutUserMetadataInput = {
|
|
update: Prisma.XOR<
|
|
Prisma.TeamUpdateWithoutUserMetadataInput,
|
|
Prisma.TeamUncheckedUpdateWithoutUserMetadataInput
|
|
>
|
|
create: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutUserMetadataInput,
|
|
Prisma.TeamUncheckedCreateWithoutUserMetadataInput
|
|
>
|
|
where?: Prisma.TeamWhereInput
|
|
}
|
|
|
|
export type TeamUpdateToOneWithWhereWithoutUserMetadataInput = {
|
|
where?: Prisma.TeamWhereInput
|
|
data: Prisma.XOR<
|
|
Prisma.TeamUpdateWithoutUserMetadataInput,
|
|
Prisma.TeamUncheckedUpdateWithoutUserMetadataInput
|
|
>
|
|
}
|
|
|
|
export type TeamUpdateWithoutUserMetadataInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
rootFolder?: Prisma.AssetUpdateOneWithoutTeamRootFolderNestedInput
|
|
members?: Prisma.TeamMemberUpdateManyWithoutTeamNestedInput
|
|
projects?: Prisma.ProjectUpdateManyWithoutTeamNestedInput
|
|
metadataFields?: Prisma.MetadataFieldUpdateManyWithoutTeamNestedInput
|
|
invites?: Prisma.InviteUpdateManyWithoutTeamNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutTeamNestedInput
|
|
providers?: Prisma.ProviderUpdateManyWithoutTeamNestedInput
|
|
skills?: Prisma.SkillUpdateManyWithoutTeamNestedInput
|
|
sandbox?: Prisma.SandboxUpdateOneWithoutTeamNestedInput
|
|
agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput
|
|
}
|
|
|
|
export type TeamUncheckedUpdateWithoutUserMetadataInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
members?: Prisma.TeamMemberUncheckedUpdateManyWithoutTeamNestedInput
|
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutTeamNestedInput
|
|
metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutTeamNestedInput
|
|
invites?: Prisma.InviteUncheckedUpdateManyWithoutTeamNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTeamNestedInput
|
|
providers?: Prisma.ProviderUncheckedUpdateManyWithoutTeamNestedInput
|
|
skills?: Prisma.SkillUncheckedUpdateManyWithoutTeamNestedInput
|
|
sandbox?: Prisma.SandboxUncheckedUpdateOneWithoutTeamNestedInput
|
|
agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput
|
|
}
|
|
|
|
export type TeamCreateWithoutProvidersInput = {
|
|
id?: string
|
|
name: string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
rootFolder?: Prisma.AssetCreateNestedOneWithoutTeamRootFolderInput
|
|
members?: Prisma.TeamMemberCreateNestedManyWithoutTeamInput
|
|
projects?: Prisma.ProjectCreateNestedManyWithoutTeamInput
|
|
metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutTeamInput
|
|
invites?: Prisma.InviteCreateNestedManyWithoutTeamInput
|
|
notifications?: Prisma.NotificationCreateNestedManyWithoutTeamInput
|
|
userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutTeamInput
|
|
skills?: Prisma.SkillCreateNestedManyWithoutTeamInput
|
|
sandbox?: Prisma.SandboxCreateNestedOneWithoutTeamInput
|
|
agents?: Prisma.AgentCreateNestedManyWithoutTeamInput
|
|
}
|
|
|
|
export type TeamUncheckedCreateWithoutProvidersInput = {
|
|
id?: string
|
|
name: string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
rootFolderId?: string | null
|
|
members?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutTeamInput
|
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutTeamInput
|
|
metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutTeamInput
|
|
invites?: Prisma.InviteUncheckedCreateNestedManyWithoutTeamInput
|
|
notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTeamInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutTeamInput
|
|
skills?: Prisma.SkillUncheckedCreateNestedManyWithoutTeamInput
|
|
sandbox?: Prisma.SandboxUncheckedCreateNestedOneWithoutTeamInput
|
|
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput
|
|
}
|
|
|
|
export type TeamCreateOrConnectWithoutProvidersInput = {
|
|
where: Prisma.TeamWhereUniqueInput
|
|
create: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutProvidersInput,
|
|
Prisma.TeamUncheckedCreateWithoutProvidersInput
|
|
>
|
|
}
|
|
|
|
export type TeamUpsertWithoutProvidersInput = {
|
|
update: Prisma.XOR<
|
|
Prisma.TeamUpdateWithoutProvidersInput,
|
|
Prisma.TeamUncheckedUpdateWithoutProvidersInput
|
|
>
|
|
create: Prisma.XOR<
|
|
Prisma.TeamCreateWithoutProvidersInput,
|
|
Prisma.TeamUncheckedCreateWithoutProvidersInput
|
|
>
|
|
where?: Prisma.TeamWhereInput
|
|
}
|
|
|
|
export type TeamUpdateToOneWithWhereWithoutProvidersInput = {
|
|
where?: Prisma.TeamWhereInput
|
|
data: Prisma.XOR<
|
|
Prisma.TeamUpdateWithoutProvidersInput,
|
|
Prisma.TeamUncheckedUpdateWithoutProvidersInput
|
|
>
|
|
}
|
|
|
|
export type TeamUpdateWithoutProvidersInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
rootFolder?: Prisma.AssetUpdateOneWithoutTeamRootFolderNestedInput
|
|
members?: Prisma.TeamMemberUpdateManyWithoutTeamNestedInput
|
|
projects?: Prisma.ProjectUpdateManyWithoutTeamNestedInput
|
|
metadataFields?: Prisma.MetadataFieldUpdateManyWithoutTeamNestedInput
|
|
invites?: Prisma.InviteUpdateManyWithoutTeamNestedInput
|
|
notifications?: Prisma.NotificationUpdateManyWithoutTeamNestedInput
|
|
userMetadata?: Prisma.UserMetadataUpdateManyWithoutTeamNestedInput
|
|
skills?: Prisma.SkillUpdateManyWithoutTeamNestedInput
|
|
sandbox?: Prisma.SandboxUpdateOneWithoutTeamNestedInput
|
|
agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput
|
|
}
|
|
|
|
export type TeamUncheckedUpdateWithoutProvidersInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
settings?: PrismaJson.Settings | Prisma.NullableJsonNullValueInput
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
members?: Prisma.TeamMemberUncheckedUpdateManyWithoutTeamNestedInput
|
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutTeamNestedInput
|
|
metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutTeamNestedInput
|
|
invites?: Prisma.InviteUncheckedUpdateManyWithoutTeamNestedInput
|
|
notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTeamNestedInput
|
|
userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutTeamNestedInput
|
|
skills?: Prisma.SkillUncheckedUpdateManyWithoutTeamNestedInput
|
|
sandbox?: Prisma.SandboxUncheckedUpdateOneWithoutTeamNestedInput
|
|
agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput
|
|
}
|
|
|
|
/**
|
|
* Count Type TeamCountOutputType
|
|
*/
|
|
|
|
export type TeamCountOutputType = {
|
|
members: number
|
|
projects: number
|
|
metadataFields: number
|
|
invites: number
|
|
notifications: number
|
|
userMetadata: number
|
|
providers: number
|
|
skills: number
|
|
agents: number
|
|
}
|
|
|
|
export type TeamCountOutputTypeSelect<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
members?: boolean | TeamCountOutputTypeCountMembersArgs
|
|
projects?: boolean | TeamCountOutputTypeCountProjectsArgs
|
|
metadataFields?: boolean | TeamCountOutputTypeCountMetadataFieldsArgs
|
|
invites?: boolean | TeamCountOutputTypeCountInvitesArgs
|
|
notifications?: boolean | TeamCountOutputTypeCountNotificationsArgs
|
|
userMetadata?: boolean | TeamCountOutputTypeCountUserMetadataArgs
|
|
providers?: boolean | TeamCountOutputTypeCountProvidersArgs
|
|
skills?: boolean | TeamCountOutputTypeCountSkillsArgs
|
|
agents?: boolean | TeamCountOutputTypeCountAgentsArgs
|
|
}
|
|
|
|
/**
|
|
* TeamCountOutputType without action
|
|
*/
|
|
export type TeamCountOutputTypeDefaultArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the TeamCountOutputType
|
|
*/
|
|
select?: Prisma.TeamCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* TeamCountOutputType without action
|
|
*/
|
|
export type TeamCountOutputTypeCountMembersArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
where?: Prisma.TeamMemberWhereInput
|
|
}
|
|
|
|
/**
|
|
* TeamCountOutputType without action
|
|
*/
|
|
export type TeamCountOutputTypeCountProjectsArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
where?: Prisma.ProjectWhereInput
|
|
}
|
|
|
|
/**
|
|
* TeamCountOutputType without action
|
|
*/
|
|
export type TeamCountOutputTypeCountMetadataFieldsArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
where?: Prisma.MetadataFieldWhereInput
|
|
}
|
|
|
|
/**
|
|
* TeamCountOutputType without action
|
|
*/
|
|
export type TeamCountOutputTypeCountInvitesArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
where?: Prisma.InviteWhereInput
|
|
}
|
|
|
|
/**
|
|
* TeamCountOutputType without action
|
|
*/
|
|
export type TeamCountOutputTypeCountNotificationsArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
where?: Prisma.NotificationWhereInput
|
|
}
|
|
|
|
/**
|
|
* TeamCountOutputType without action
|
|
*/
|
|
export type TeamCountOutputTypeCountUserMetadataArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
where?: Prisma.UserMetadataWhereInput
|
|
}
|
|
|
|
/**
|
|
* TeamCountOutputType without action
|
|
*/
|
|
export type TeamCountOutputTypeCountProvidersArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
where?: Prisma.ProviderWhereInput
|
|
}
|
|
|
|
/**
|
|
* TeamCountOutputType without action
|
|
*/
|
|
export type TeamCountOutputTypeCountSkillsArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
where?: Prisma.SkillWhereInput
|
|
}
|
|
|
|
/**
|
|
* TeamCountOutputType without action
|
|
*/
|
|
export type TeamCountOutputTypeCountAgentsArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
where?: Prisma.AgentWhereInput
|
|
}
|
|
|
|
export type TeamSelect<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = runtime.Types.Extensions.GetSelect<
|
|
{
|
|
id?: boolean
|
|
name?: boolean
|
|
settings?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
rootFolderId?: boolean
|
|
rootFolder?: boolean | Prisma.Team$rootFolderArgs<ExtArgs>
|
|
members?: boolean | Prisma.Team$membersArgs<ExtArgs>
|
|
projects?: boolean | Prisma.Team$projectsArgs<ExtArgs>
|
|
metadataFields?: boolean | Prisma.Team$metadataFieldsArgs<ExtArgs>
|
|
invites?: boolean | Prisma.Team$invitesArgs<ExtArgs>
|
|
notifications?: boolean | Prisma.Team$notificationsArgs<ExtArgs>
|
|
userMetadata?: boolean | Prisma.Team$userMetadataArgs<ExtArgs>
|
|
providers?: boolean | Prisma.Team$providersArgs<ExtArgs>
|
|
skills?: boolean | Prisma.Team$skillsArgs<ExtArgs>
|
|
sandbox?: boolean | Prisma.Team$sandboxArgs<ExtArgs>
|
|
agents?: boolean | Prisma.Team$agentsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.TeamCountOutputTypeDefaultArgs<ExtArgs>
|
|
},
|
|
ExtArgs['result']['team']
|
|
>
|
|
|
|
export type TeamSelectCreateManyAndReturn<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = runtime.Types.Extensions.GetSelect<
|
|
{
|
|
id?: boolean
|
|
name?: boolean
|
|
settings?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
rootFolderId?: boolean
|
|
rootFolder?: boolean | Prisma.Team$rootFolderArgs<ExtArgs>
|
|
},
|
|
ExtArgs['result']['team']
|
|
>
|
|
|
|
export type TeamSelectUpdateManyAndReturn<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = runtime.Types.Extensions.GetSelect<
|
|
{
|
|
id?: boolean
|
|
name?: boolean
|
|
settings?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
rootFolderId?: boolean
|
|
rootFolder?: boolean | Prisma.Team$rootFolderArgs<ExtArgs>
|
|
},
|
|
ExtArgs['result']['team']
|
|
>
|
|
|
|
export type TeamSelectScalar = {
|
|
id?: boolean
|
|
name?: boolean
|
|
settings?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
rootFolderId?: boolean
|
|
}
|
|
|
|
export type TeamOmit<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = runtime.Types.Extensions.GetOmit<
|
|
'id' | 'name' | 'settings' | 'createdAt' | 'updatedAt' | 'rootFolderId',
|
|
ExtArgs['result']['team']
|
|
>
|
|
export type TeamInclude<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
rootFolder?: boolean | Prisma.Team$rootFolderArgs<ExtArgs>
|
|
members?: boolean | Prisma.Team$membersArgs<ExtArgs>
|
|
projects?: boolean | Prisma.Team$projectsArgs<ExtArgs>
|
|
metadataFields?: boolean | Prisma.Team$metadataFieldsArgs<ExtArgs>
|
|
invites?: boolean | Prisma.Team$invitesArgs<ExtArgs>
|
|
notifications?: boolean | Prisma.Team$notificationsArgs<ExtArgs>
|
|
userMetadata?: boolean | Prisma.Team$userMetadataArgs<ExtArgs>
|
|
providers?: boolean | Prisma.Team$providersArgs<ExtArgs>
|
|
skills?: boolean | Prisma.Team$skillsArgs<ExtArgs>
|
|
sandbox?: boolean | Prisma.Team$sandboxArgs<ExtArgs>
|
|
agents?: boolean | Prisma.Team$agentsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.TeamCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type TeamIncludeCreateManyAndReturn<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
rootFolder?: boolean | Prisma.Team$rootFolderArgs<ExtArgs>
|
|
}
|
|
export type TeamIncludeUpdateManyAndReturn<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
rootFolder?: boolean | Prisma.Team$rootFolderArgs<ExtArgs>
|
|
}
|
|
|
|
export type $TeamPayload<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
name: 'Team'
|
|
objects: {
|
|
rootFolder: Prisma.$AssetPayload<ExtArgs> | null
|
|
members: Prisma.$TeamMemberPayload<ExtArgs>[]
|
|
projects: Prisma.$ProjectPayload<ExtArgs>[]
|
|
metadataFields: Prisma.$MetadataFieldPayload<ExtArgs>[]
|
|
invites: Prisma.$InvitePayload<ExtArgs>[]
|
|
notifications: Prisma.$NotificationPayload<ExtArgs>[]
|
|
userMetadata: Prisma.$UserMetadataPayload<ExtArgs>[]
|
|
providers: Prisma.$ProviderPayload<ExtArgs>[]
|
|
skills: Prisma.$SkillPayload<ExtArgs>[]
|
|
sandbox: Prisma.$SandboxPayload<ExtArgs> | null
|
|
agents: Prisma.$AgentPayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<
|
|
{
|
|
id: string
|
|
name: string
|
|
/**
|
|
* [Settings]
|
|
*/
|
|
settings: PrismaJson.Settings | null
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
rootFolderId: string | null
|
|
},
|
|
ExtArgs['result']['team']
|
|
>
|
|
composites: {}
|
|
}
|
|
|
|
export type TeamGetPayload<S extends boolean | null | undefined | TeamDefaultArgs> =
|
|
runtime.Types.Result.GetResult<Prisma.$TeamPayload, S>
|
|
|
|
export type TeamCountArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = Omit<TeamFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: TeamCountAggregateInputType | true
|
|
}
|
|
|
|
export interface TeamDelegate<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
GlobalOmitOptions = {},
|
|
> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Team']; meta: { name: 'Team' } }
|
|
/**
|
|
* Find zero or one Team that matches the filter.
|
|
* @param {TeamFindUniqueArgs} args - Arguments to find a Team
|
|
* @example
|
|
* // Get one Team
|
|
* const team = await prisma.team.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends TeamFindUniqueArgs>(
|
|
args: Prisma.SelectSubset<T, TeamFindUniqueArgs<ExtArgs>>,
|
|
): Prisma.Prisma__TeamClient<
|
|
runtime.Types.Result.GetResult<
|
|
Prisma.$TeamPayload<ExtArgs>,
|
|
T,
|
|
'findUnique',
|
|
GlobalOmitOptions
|
|
> | null,
|
|
null,
|
|
ExtArgs,
|
|
GlobalOmitOptions
|
|
>
|
|
|
|
/**
|
|
* Find one Team that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {TeamFindUniqueOrThrowArgs} args - Arguments to find a Team
|
|
* @example
|
|
* // Get one Team
|
|
* const team = await prisma.team.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends TeamFindUniqueOrThrowArgs>(
|
|
args: Prisma.SelectSubset<T, TeamFindUniqueOrThrowArgs<ExtArgs>>,
|
|
): Prisma.Prisma__TeamClient<
|
|
runtime.Types.Result.GetResult<
|
|
Prisma.$TeamPayload<ExtArgs>,
|
|
T,
|
|
'findUniqueOrThrow',
|
|
GlobalOmitOptions
|
|
>,
|
|
never,
|
|
ExtArgs,
|
|
GlobalOmitOptions
|
|
>
|
|
|
|
/**
|
|
* Find the first Team 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 {TeamFindFirstArgs} args - Arguments to find a Team
|
|
* @example
|
|
* // Get one Team
|
|
* const team = await prisma.team.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends TeamFindFirstArgs>(
|
|
args?: Prisma.SelectSubset<T, TeamFindFirstArgs<ExtArgs>>,
|
|
): Prisma.Prisma__TeamClient<
|
|
runtime.Types.Result.GetResult<
|
|
Prisma.$TeamPayload<ExtArgs>,
|
|
T,
|
|
'findFirst',
|
|
GlobalOmitOptions
|
|
> | null,
|
|
null,
|
|
ExtArgs,
|
|
GlobalOmitOptions
|
|
>
|
|
|
|
/**
|
|
* Find the first Team 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 {TeamFindFirstOrThrowArgs} args - Arguments to find a Team
|
|
* @example
|
|
* // Get one Team
|
|
* const team = await prisma.team.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends TeamFindFirstOrThrowArgs>(
|
|
args?: Prisma.SelectSubset<T, TeamFindFirstOrThrowArgs<ExtArgs>>,
|
|
): Prisma.Prisma__TeamClient<
|
|
runtime.Types.Result.GetResult<
|
|
Prisma.$TeamPayload<ExtArgs>,
|
|
T,
|
|
'findFirstOrThrow',
|
|
GlobalOmitOptions
|
|
>,
|
|
never,
|
|
ExtArgs,
|
|
GlobalOmitOptions
|
|
>
|
|
|
|
/**
|
|
* Find zero or more Teams 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 {TeamFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all Teams
|
|
* const teams = await prisma.team.findMany()
|
|
*
|
|
* // Get first 10 Teams
|
|
* const teams = await prisma.team.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const teamWithIdOnly = await prisma.team.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends TeamFindManyArgs>(
|
|
args?: Prisma.SelectSubset<T, TeamFindManyArgs<ExtArgs>>,
|
|
): Prisma.PrismaPromise<
|
|
runtime.Types.Result.GetResult<Prisma.$TeamPayload<ExtArgs>, T, 'findMany', GlobalOmitOptions>
|
|
>
|
|
|
|
/**
|
|
* Create a Team.
|
|
* @param {TeamCreateArgs} args - Arguments to create a Team.
|
|
* @example
|
|
* // Create one Team
|
|
* const Team = await prisma.team.create({
|
|
* data: {
|
|
* // ... data to create a Team
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends TeamCreateArgs>(
|
|
args: Prisma.SelectSubset<T, TeamCreateArgs<ExtArgs>>,
|
|
): Prisma.Prisma__TeamClient<
|
|
runtime.Types.Result.GetResult<Prisma.$TeamPayload<ExtArgs>, T, 'create', GlobalOmitOptions>,
|
|
never,
|
|
ExtArgs,
|
|
GlobalOmitOptions
|
|
>
|
|
|
|
/**
|
|
* Create many Teams.
|
|
* @param {TeamCreateManyArgs} args - Arguments to create many Teams.
|
|
* @example
|
|
* // Create many Teams
|
|
* const team = await prisma.team.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends TeamCreateManyArgs>(
|
|
args?: Prisma.SelectSubset<T, TeamCreateManyArgs<ExtArgs>>,
|
|
): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many Teams and returns the data saved in the database.
|
|
* @param {TeamCreateManyAndReturnArgs} args - Arguments to create many Teams.
|
|
* @example
|
|
* // Create many Teams
|
|
* const team = await prisma.team.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many Teams and only return the `id`
|
|
* const teamWithIdOnly = await prisma.team.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 TeamCreateManyAndReturnArgs>(
|
|
args?: Prisma.SelectSubset<T, TeamCreateManyAndReturnArgs<ExtArgs>>,
|
|
): Prisma.PrismaPromise<
|
|
runtime.Types.Result.GetResult<
|
|
Prisma.$TeamPayload<ExtArgs>,
|
|
T,
|
|
'createManyAndReturn',
|
|
GlobalOmitOptions
|
|
>
|
|
>
|
|
|
|
/**
|
|
* Delete a Team.
|
|
* @param {TeamDeleteArgs} args - Arguments to delete one Team.
|
|
* @example
|
|
* // Delete one Team
|
|
* const Team = await prisma.team.delete({
|
|
* where: {
|
|
* // ... filter to delete one Team
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends TeamDeleteArgs>(
|
|
args: Prisma.SelectSubset<T, TeamDeleteArgs<ExtArgs>>,
|
|
): Prisma.Prisma__TeamClient<
|
|
runtime.Types.Result.GetResult<Prisma.$TeamPayload<ExtArgs>, T, 'delete', GlobalOmitOptions>,
|
|
never,
|
|
ExtArgs,
|
|
GlobalOmitOptions
|
|
>
|
|
|
|
/**
|
|
* Update one Team.
|
|
* @param {TeamUpdateArgs} args - Arguments to update one Team.
|
|
* @example
|
|
* // Update one Team
|
|
* const team = await prisma.team.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends TeamUpdateArgs>(
|
|
args: Prisma.SelectSubset<T, TeamUpdateArgs<ExtArgs>>,
|
|
): Prisma.Prisma__TeamClient<
|
|
runtime.Types.Result.GetResult<Prisma.$TeamPayload<ExtArgs>, T, 'update', GlobalOmitOptions>,
|
|
never,
|
|
ExtArgs,
|
|
GlobalOmitOptions
|
|
>
|
|
|
|
/**
|
|
* Delete zero or more Teams.
|
|
* @param {TeamDeleteManyArgs} args - Arguments to filter Teams to delete.
|
|
* @example
|
|
* // Delete a few Teams
|
|
* const { count } = await prisma.team.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends TeamDeleteManyArgs>(
|
|
args?: Prisma.SelectSubset<T, TeamDeleteManyArgs<ExtArgs>>,
|
|
): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Teams.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {TeamUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many Teams
|
|
* const team = await prisma.team.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends TeamUpdateManyArgs>(
|
|
args: Prisma.SelectSubset<T, TeamUpdateManyArgs<ExtArgs>>,
|
|
): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Teams and returns the data updated in the database.
|
|
* @param {TeamUpdateManyAndReturnArgs} args - Arguments to update many Teams.
|
|
* @example
|
|
* // Update many Teams
|
|
* const team = await prisma.team.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more Teams and only return the `id`
|
|
* const teamWithIdOnly = await prisma.team.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 TeamUpdateManyAndReturnArgs>(
|
|
args: Prisma.SelectSubset<T, TeamUpdateManyAndReturnArgs<ExtArgs>>,
|
|
): Prisma.PrismaPromise<
|
|
runtime.Types.Result.GetResult<
|
|
Prisma.$TeamPayload<ExtArgs>,
|
|
T,
|
|
'updateManyAndReturn',
|
|
GlobalOmitOptions
|
|
>
|
|
>
|
|
|
|
/**
|
|
* Create or update one Team.
|
|
* @param {TeamUpsertArgs} args - Arguments to update or create a Team.
|
|
* @example
|
|
* // Update or create a Team
|
|
* const team = await prisma.team.upsert({
|
|
* create: {
|
|
* // ... data to create a Team
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the Team we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends TeamUpsertArgs>(
|
|
args: Prisma.SelectSubset<T, TeamUpsertArgs<ExtArgs>>,
|
|
): Prisma.Prisma__TeamClient<
|
|
runtime.Types.Result.GetResult<Prisma.$TeamPayload<ExtArgs>, T, 'upsert', GlobalOmitOptions>,
|
|
never,
|
|
ExtArgs,
|
|
GlobalOmitOptions
|
|
>
|
|
|
|
/**
|
|
* Count the number of Teams.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {TeamCountArgs} args - Arguments to filter Teams to count.
|
|
* @example
|
|
* // Count the number of Teams
|
|
* const count = await prisma.team.count({
|
|
* where: {
|
|
* // ... the filter for the Teams we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends TeamCountArgs>(
|
|
args?: Prisma.Subset<T, TeamCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], TeamCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a Team.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {TeamAggregateArgs} 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 TeamAggregateArgs>(
|
|
args: Prisma.Subset<T, TeamAggregateArgs>,
|
|
): Prisma.PrismaPromise<GetTeamAggregateType<T>>
|
|
|
|
/**
|
|
* Group by Team.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {TeamGroupByArgs} 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 TeamGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: TeamGroupByArgs['orderBy'] }
|
|
: { orderBy?: TeamGroupByArgs['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, TeamGroupByArgs, OrderByArg> & InputErrors,
|
|
): {} extends InputErrors ? GetTeamGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the Team model
|
|
*/
|
|
readonly fields: TeamFieldRefs
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for Team.
|
|
* 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__TeamClient<
|
|
T,
|
|
Null = never,
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
GlobalOmitOptions = {},
|
|
> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: 'PrismaPromise'
|
|
rootFolder<T extends Prisma.Team$rootFolderArgs<ExtArgs> = {}>(
|
|
args?: Prisma.Subset<T, Prisma.Team$rootFolderArgs<ExtArgs>>,
|
|
): Prisma.Prisma__AssetClient<
|
|
runtime.Types.Result.GetResult<
|
|
Prisma.$AssetPayload<ExtArgs>,
|
|
T,
|
|
'findUniqueOrThrow',
|
|
GlobalOmitOptions
|
|
> | null,
|
|
null,
|
|
ExtArgs,
|
|
GlobalOmitOptions
|
|
>
|
|
members<T extends Prisma.Team$membersArgs<ExtArgs> = {}>(
|
|
args?: Prisma.Subset<T, Prisma.Team$membersArgs<ExtArgs>>,
|
|
): Prisma.PrismaPromise<
|
|
| runtime.Types.Result.GetResult<
|
|
Prisma.$TeamMemberPayload<ExtArgs>,
|
|
T,
|
|
'findMany',
|
|
GlobalOmitOptions
|
|
>
|
|
| Null
|
|
>
|
|
projects<T extends Prisma.Team$projectsArgs<ExtArgs> = {}>(
|
|
args?: Prisma.Subset<T, Prisma.Team$projectsArgs<ExtArgs>>,
|
|
): Prisma.PrismaPromise<
|
|
| runtime.Types.Result.GetResult<
|
|
Prisma.$ProjectPayload<ExtArgs>,
|
|
T,
|
|
'findMany',
|
|
GlobalOmitOptions
|
|
>
|
|
| Null
|
|
>
|
|
metadataFields<T extends Prisma.Team$metadataFieldsArgs<ExtArgs> = {}>(
|
|
args?: Prisma.Subset<T, Prisma.Team$metadataFieldsArgs<ExtArgs>>,
|
|
): Prisma.PrismaPromise<
|
|
| runtime.Types.Result.GetResult<
|
|
Prisma.$MetadataFieldPayload<ExtArgs>,
|
|
T,
|
|
'findMany',
|
|
GlobalOmitOptions
|
|
>
|
|
| Null
|
|
>
|
|
invites<T extends Prisma.Team$invitesArgs<ExtArgs> = {}>(
|
|
args?: Prisma.Subset<T, Prisma.Team$invitesArgs<ExtArgs>>,
|
|
): Prisma.PrismaPromise<
|
|
| runtime.Types.Result.GetResult<
|
|
Prisma.$InvitePayload<ExtArgs>,
|
|
T,
|
|
'findMany',
|
|
GlobalOmitOptions
|
|
>
|
|
| Null
|
|
>
|
|
notifications<T extends Prisma.Team$notificationsArgs<ExtArgs> = {}>(
|
|
args?: Prisma.Subset<T, Prisma.Team$notificationsArgs<ExtArgs>>,
|
|
): Prisma.PrismaPromise<
|
|
| runtime.Types.Result.GetResult<
|
|
Prisma.$NotificationPayload<ExtArgs>,
|
|
T,
|
|
'findMany',
|
|
GlobalOmitOptions
|
|
>
|
|
| Null
|
|
>
|
|
userMetadata<T extends Prisma.Team$userMetadataArgs<ExtArgs> = {}>(
|
|
args?: Prisma.Subset<T, Prisma.Team$userMetadataArgs<ExtArgs>>,
|
|
): Prisma.PrismaPromise<
|
|
| runtime.Types.Result.GetResult<
|
|
Prisma.$UserMetadataPayload<ExtArgs>,
|
|
T,
|
|
'findMany',
|
|
GlobalOmitOptions
|
|
>
|
|
| Null
|
|
>
|
|
providers<T extends Prisma.Team$providersArgs<ExtArgs> = {}>(
|
|
args?: Prisma.Subset<T, Prisma.Team$providersArgs<ExtArgs>>,
|
|
): Prisma.PrismaPromise<
|
|
| runtime.Types.Result.GetResult<
|
|
Prisma.$ProviderPayload<ExtArgs>,
|
|
T,
|
|
'findMany',
|
|
GlobalOmitOptions
|
|
>
|
|
| Null
|
|
>
|
|
skills<T extends Prisma.Team$skillsArgs<ExtArgs> = {}>(
|
|
args?: Prisma.Subset<T, Prisma.Team$skillsArgs<ExtArgs>>,
|
|
): Prisma.PrismaPromise<
|
|
| runtime.Types.Result.GetResult<
|
|
Prisma.$SkillPayload<ExtArgs>,
|
|
T,
|
|
'findMany',
|
|
GlobalOmitOptions
|
|
>
|
|
| Null
|
|
>
|
|
sandbox<T extends Prisma.Team$sandboxArgs<ExtArgs> = {}>(
|
|
args?: Prisma.Subset<T, Prisma.Team$sandboxArgs<ExtArgs>>,
|
|
): Prisma.Prisma__SandboxClient<
|
|
runtime.Types.Result.GetResult<
|
|
Prisma.$SandboxPayload<ExtArgs>,
|
|
T,
|
|
'findUniqueOrThrow',
|
|
GlobalOmitOptions
|
|
> | null,
|
|
null,
|
|
ExtArgs,
|
|
GlobalOmitOptions
|
|
>
|
|
agents<T extends Prisma.Team$agentsArgs<ExtArgs> = {}>(
|
|
args?: Prisma.Subset<T, Prisma.Team$agentsArgs<ExtArgs>>,
|
|
): Prisma.PrismaPromise<
|
|
| runtime.Types.Result.GetResult<
|
|
Prisma.$AgentPayload<ExtArgs>,
|
|
T,
|
|
'findMany',
|
|
GlobalOmitOptions
|
|
>
|
|
| Null
|
|
>
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(
|
|
onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null,
|
|
onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null,
|
|
): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(
|
|
onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null,
|
|
): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
/**
|
|
* Fields of the Team model
|
|
*/
|
|
export interface TeamFieldRefs {
|
|
readonly id: Prisma.FieldRef<'Team', 'String'>
|
|
readonly name: Prisma.FieldRef<'Team', 'String'>
|
|
readonly settings: Prisma.FieldRef<'Team', 'Json'>
|
|
readonly createdAt: Prisma.FieldRef<'Team', 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<'Team', 'DateTime'>
|
|
readonly rootFolderId: Prisma.FieldRef<'Team', 'String'>
|
|
}
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* Team findUnique
|
|
*/
|
|
export type TeamFindUniqueArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the Team
|
|
*/
|
|
select?: Prisma.TeamSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Team
|
|
*/
|
|
omit?: Prisma.TeamOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TeamInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Team to fetch.
|
|
*/
|
|
where: Prisma.TeamWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Team findUniqueOrThrow
|
|
*/
|
|
export type TeamFindUniqueOrThrowArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the Team
|
|
*/
|
|
select?: Prisma.TeamSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Team
|
|
*/
|
|
omit?: Prisma.TeamOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TeamInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Team to fetch.
|
|
*/
|
|
where: Prisma.TeamWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Team findFirst
|
|
*/
|
|
export type TeamFindFirstArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the Team
|
|
*/
|
|
select?: Prisma.TeamSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Team
|
|
*/
|
|
omit?: Prisma.TeamOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TeamInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Team to fetch.
|
|
*/
|
|
where?: Prisma.TeamWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Teams to fetch.
|
|
*/
|
|
orderBy?: Prisma.TeamOrderByWithRelationInput | Prisma.TeamOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for Teams.
|
|
*/
|
|
cursor?: Prisma.TeamWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` Teams 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` Teams.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of Teams.
|
|
*/
|
|
distinct?: Prisma.TeamScalarFieldEnum | Prisma.TeamScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Team findFirstOrThrow
|
|
*/
|
|
export type TeamFindFirstOrThrowArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the Team
|
|
*/
|
|
select?: Prisma.TeamSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Team
|
|
*/
|
|
omit?: Prisma.TeamOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TeamInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Team to fetch.
|
|
*/
|
|
where?: Prisma.TeamWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Teams to fetch.
|
|
*/
|
|
orderBy?: Prisma.TeamOrderByWithRelationInput | Prisma.TeamOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for Teams.
|
|
*/
|
|
cursor?: Prisma.TeamWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` Teams 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` Teams.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of Teams.
|
|
*/
|
|
distinct?: Prisma.TeamScalarFieldEnum | Prisma.TeamScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Team findMany
|
|
*/
|
|
export type TeamFindManyArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the Team
|
|
*/
|
|
select?: Prisma.TeamSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Team
|
|
*/
|
|
omit?: Prisma.TeamOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TeamInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Teams to fetch.
|
|
*/
|
|
where?: Prisma.TeamWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of Teams to fetch.
|
|
*/
|
|
orderBy?: Prisma.TeamOrderByWithRelationInput | Prisma.TeamOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing Teams.
|
|
*/
|
|
cursor?: Prisma.TeamWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` Teams 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` Teams.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of Teams.
|
|
*/
|
|
distinct?: Prisma.TeamScalarFieldEnum | Prisma.TeamScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Team create
|
|
*/
|
|
export type TeamCreateArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the Team
|
|
*/
|
|
select?: Prisma.TeamSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Team
|
|
*/
|
|
omit?: Prisma.TeamOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TeamInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a Team.
|
|
*/
|
|
data: Prisma.XOR<Prisma.TeamCreateInput, Prisma.TeamUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* Team createMany
|
|
*/
|
|
export type TeamCreateManyArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* The data used to create many Teams.
|
|
*/
|
|
data: Prisma.TeamCreateManyInput | Prisma.TeamCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* Team createManyAndReturn
|
|
*/
|
|
export type TeamCreateManyAndReturnArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the Team
|
|
*/
|
|
select?: Prisma.TeamSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Team
|
|
*/
|
|
omit?: Prisma.TeamOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many Teams.
|
|
*/
|
|
data: Prisma.TeamCreateManyInput | Prisma.TeamCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TeamIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* Team update
|
|
*/
|
|
export type TeamUpdateArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the Team
|
|
*/
|
|
select?: Prisma.TeamSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Team
|
|
*/
|
|
omit?: Prisma.TeamOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TeamInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a Team.
|
|
*/
|
|
data: Prisma.XOR<Prisma.TeamUpdateInput, Prisma.TeamUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which Team to update.
|
|
*/
|
|
where: Prisma.TeamWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Team updateMany
|
|
*/
|
|
export type TeamUpdateManyArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* The data used to update Teams.
|
|
*/
|
|
data: Prisma.XOR<Prisma.TeamUpdateManyMutationInput, Prisma.TeamUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which Teams to update
|
|
*/
|
|
where?: Prisma.TeamWhereInput
|
|
/**
|
|
* Limit how many Teams to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* Team updateManyAndReturn
|
|
*/
|
|
export type TeamUpdateManyAndReturnArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the Team
|
|
*/
|
|
select?: Prisma.TeamSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Team
|
|
*/
|
|
omit?: Prisma.TeamOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update Teams.
|
|
*/
|
|
data: Prisma.XOR<Prisma.TeamUpdateManyMutationInput, Prisma.TeamUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which Teams to update
|
|
*/
|
|
where?: Prisma.TeamWhereInput
|
|
/**
|
|
* Limit how many Teams to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TeamIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* Team upsert
|
|
*/
|
|
export type TeamUpsertArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the Team
|
|
*/
|
|
select?: Prisma.TeamSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Team
|
|
*/
|
|
omit?: Prisma.TeamOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TeamInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the Team to update in case it exists.
|
|
*/
|
|
where: Prisma.TeamWhereUniqueInput
|
|
/**
|
|
* In case the Team found by the `where` argument doesn't exist, create a new Team with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.TeamCreateInput, Prisma.TeamUncheckedCreateInput>
|
|
/**
|
|
* In case the Team was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.TeamUpdateInput, Prisma.TeamUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* Team delete
|
|
*/
|
|
export type TeamDeleteArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the Team
|
|
*/
|
|
select?: Prisma.TeamSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Team
|
|
*/
|
|
omit?: Prisma.TeamOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TeamInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which Team to delete.
|
|
*/
|
|
where: Prisma.TeamWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Team deleteMany
|
|
*/
|
|
export type TeamDeleteManyArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Filter which Teams to delete
|
|
*/
|
|
where?: Prisma.TeamWhereInput
|
|
/**
|
|
* Limit how many Teams to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* Team.rootFolder
|
|
*/
|
|
export type Team$rootFolderArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the Asset
|
|
*/
|
|
select?: Prisma.AssetSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Asset
|
|
*/
|
|
omit?: Prisma.AssetOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AssetInclude<ExtArgs> | null
|
|
where?: Prisma.AssetWhereInput
|
|
}
|
|
|
|
/**
|
|
* Team.members
|
|
*/
|
|
export type Team$membersArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the TeamMember
|
|
*/
|
|
select?: Prisma.TeamMemberSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the TeamMember
|
|
*/
|
|
omit?: Prisma.TeamMemberOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TeamMemberInclude<ExtArgs> | null
|
|
where?: Prisma.TeamMemberWhereInput
|
|
orderBy?: Prisma.TeamMemberOrderByWithRelationInput | Prisma.TeamMemberOrderByWithRelationInput[]
|
|
cursor?: Prisma.TeamMemberWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.TeamMemberScalarFieldEnum | Prisma.TeamMemberScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Team.projects
|
|
*/
|
|
export type Team$projectsArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the Project
|
|
*/
|
|
select?: Prisma.ProjectSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Project
|
|
*/
|
|
omit?: Prisma.ProjectOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProjectInclude<ExtArgs> | null
|
|
where?: Prisma.ProjectWhereInput
|
|
orderBy?: Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[]
|
|
cursor?: Prisma.ProjectWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Team.metadataFields
|
|
*/
|
|
export type Team$metadataFieldsArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the MetadataField
|
|
*/
|
|
select?: Prisma.MetadataFieldSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the MetadataField
|
|
*/
|
|
omit?: Prisma.MetadataFieldOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.MetadataFieldInclude<ExtArgs> | null
|
|
where?: Prisma.MetadataFieldWhereInput
|
|
orderBy?:
|
|
| Prisma.MetadataFieldOrderByWithRelationInput
|
|
| Prisma.MetadataFieldOrderByWithRelationInput[]
|
|
cursor?: Prisma.MetadataFieldWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.MetadataFieldScalarFieldEnum | Prisma.MetadataFieldScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Team.invites
|
|
*/
|
|
export type Team$invitesArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the Invite
|
|
*/
|
|
select?: Prisma.InviteSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Invite
|
|
*/
|
|
omit?: Prisma.InviteOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.InviteInclude<ExtArgs> | null
|
|
where?: Prisma.InviteWhereInput
|
|
orderBy?: Prisma.InviteOrderByWithRelationInput | Prisma.InviteOrderByWithRelationInput[]
|
|
cursor?: Prisma.InviteWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.InviteScalarFieldEnum | Prisma.InviteScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Team.notifications
|
|
*/
|
|
export type Team$notificationsArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the Notification
|
|
*/
|
|
select?: Prisma.NotificationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Notification
|
|
*/
|
|
omit?: Prisma.NotificationOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.NotificationInclude<ExtArgs> | null
|
|
where?: Prisma.NotificationWhereInput
|
|
orderBy?:
|
|
| Prisma.NotificationOrderByWithRelationInput
|
|
| Prisma.NotificationOrderByWithRelationInput[]
|
|
cursor?: Prisma.NotificationWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.NotificationScalarFieldEnum | Prisma.NotificationScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Team.userMetadata
|
|
*/
|
|
export type Team$userMetadataArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the UserMetadata
|
|
*/
|
|
select?: Prisma.UserMetadataSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the UserMetadata
|
|
*/
|
|
omit?: Prisma.UserMetadataOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.UserMetadataInclude<ExtArgs> | null
|
|
where?: Prisma.UserMetadataWhereInput
|
|
orderBy?:
|
|
| Prisma.UserMetadataOrderByWithRelationInput
|
|
| Prisma.UserMetadataOrderByWithRelationInput[]
|
|
cursor?: Prisma.UserMetadataWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.UserMetadataScalarFieldEnum | Prisma.UserMetadataScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Team.providers
|
|
*/
|
|
export type Team$providersArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the Provider
|
|
*/
|
|
select?: Prisma.ProviderSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Provider
|
|
*/
|
|
omit?: Prisma.ProviderOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProviderInclude<ExtArgs> | null
|
|
where?: Prisma.ProviderWhereInput
|
|
orderBy?: Prisma.ProviderOrderByWithRelationInput | Prisma.ProviderOrderByWithRelationInput[]
|
|
cursor?: Prisma.ProviderWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.ProviderScalarFieldEnum | Prisma.ProviderScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Team.skills
|
|
*/
|
|
export type Team$skillsArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the Skill
|
|
*/
|
|
select?: Prisma.SkillSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Skill
|
|
*/
|
|
omit?: Prisma.SkillOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SkillInclude<ExtArgs> | null
|
|
where?: Prisma.SkillWhereInput
|
|
orderBy?: Prisma.SkillOrderByWithRelationInput | Prisma.SkillOrderByWithRelationInput[]
|
|
cursor?: Prisma.SkillWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.SkillScalarFieldEnum | Prisma.SkillScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Team.sandbox
|
|
*/
|
|
export type Team$sandboxArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the Sandbox
|
|
*/
|
|
select?: Prisma.SandboxSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Sandbox
|
|
*/
|
|
omit?: Prisma.SandboxOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SandboxInclude<ExtArgs> | null
|
|
where?: Prisma.SandboxWhereInput
|
|
}
|
|
|
|
/**
|
|
* Team.agents
|
|
*/
|
|
export type Team$agentsArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the Agent
|
|
*/
|
|
select?: Prisma.AgentSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Agent
|
|
*/
|
|
omit?: Prisma.AgentOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.AgentInclude<ExtArgs> | null
|
|
where?: Prisma.AgentWhereInput
|
|
orderBy?: Prisma.AgentOrderByWithRelationInput | Prisma.AgentOrderByWithRelationInput[]
|
|
cursor?: Prisma.AgentWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.AgentScalarFieldEnum | Prisma.AgentScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* Team without action
|
|
*/
|
|
export type TeamDefaultArgs<
|
|
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
> = {
|
|
/**
|
|
* Select specific fields to fetch from the Team
|
|
*/
|
|
select?: Prisma.TeamSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Team
|
|
*/
|
|
omit?: Prisma.TeamOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.TeamInclude<ExtArgs> | null
|
|
}
|