CREDENTIAL TYPE MANAGEMENT WORKS
This commit is contained in:
@@ -224,6 +224,7 @@ export type CompanyWhereInput = {
|
||||
cw_Identifier?: Prisma.StringFilter<"Company"> | string
|
||||
createdAt?: Prisma.DateTimeFilter<"Company"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"Company"> | Date | string
|
||||
credentials?: Prisma.CredentialListRelationFilter
|
||||
}
|
||||
|
||||
export type CompanyOrderByWithRelationInput = {
|
||||
@@ -233,6 +234,7 @@ export type CompanyOrderByWithRelationInput = {
|
||||
cw_Identifier?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
credentials?: Prisma.CredentialOrderByRelationAggregateInput
|
||||
}
|
||||
|
||||
export type CompanyWhereUniqueInput = Prisma.AtLeast<{
|
||||
@@ -245,6 +247,7 @@ export type CompanyWhereUniqueInput = Prisma.AtLeast<{
|
||||
name?: Prisma.StringFilter<"Company"> | string
|
||||
createdAt?: Prisma.DateTimeFilter<"Company"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"Company"> | Date | string
|
||||
credentials?: Prisma.CredentialListRelationFilter
|
||||
}, "id" | "cw_CompanyId" | "cw_Identifier">
|
||||
|
||||
export type CompanyOrderByWithAggregationInput = {
|
||||
@@ -280,6 +283,7 @@ export type CompanyCreateInput = {
|
||||
cw_Identifier: string
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
credentials?: Prisma.CredentialCreateNestedManyWithoutCompanyInput
|
||||
}
|
||||
|
||||
export type CompanyUncheckedCreateInput = {
|
||||
@@ -289,6 +293,7 @@ export type CompanyUncheckedCreateInput = {
|
||||
cw_Identifier: string
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
credentials?: Prisma.CredentialUncheckedCreateNestedManyWithoutCompanyInput
|
||||
}
|
||||
|
||||
export type CompanyUpdateInput = {
|
||||
@@ -298,6 +303,7 @@ export type CompanyUpdateInput = {
|
||||
cw_Identifier?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
credentials?: Prisma.CredentialUpdateManyWithoutCompanyNestedInput
|
||||
}
|
||||
|
||||
export type CompanyUncheckedUpdateInput = {
|
||||
@@ -307,6 +313,7 @@ export type CompanyUncheckedUpdateInput = {
|
||||
cw_Identifier?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
credentials?: Prisma.CredentialUncheckedUpdateManyWithoutCompanyNestedInput
|
||||
}
|
||||
|
||||
export type CompanyCreateManyInput = {
|
||||
@@ -371,6 +378,11 @@ export type CompanySumOrderByAggregateInput = {
|
||||
cw_CompanyId?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type CompanyScalarRelationFilter = {
|
||||
is?: Prisma.CompanyWhereInput
|
||||
isNot?: Prisma.CompanyWhereInput
|
||||
}
|
||||
|
||||
export type IntFieldUpdateOperationsInput = {
|
||||
set?: number
|
||||
increment?: number
|
||||
@@ -379,6 +391,101 @@ export type IntFieldUpdateOperationsInput = {
|
||||
divide?: number
|
||||
}
|
||||
|
||||
export type CompanyCreateNestedOneWithoutCredentialsInput = {
|
||||
create?: Prisma.XOR<Prisma.CompanyCreateWithoutCredentialsInput, Prisma.CompanyUncheckedCreateWithoutCredentialsInput>
|
||||
connectOrCreate?: Prisma.CompanyCreateOrConnectWithoutCredentialsInput
|
||||
connect?: Prisma.CompanyWhereUniqueInput
|
||||
}
|
||||
|
||||
export type CompanyUpdateOneRequiredWithoutCredentialsNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.CompanyCreateWithoutCredentialsInput, Prisma.CompanyUncheckedCreateWithoutCredentialsInput>
|
||||
connectOrCreate?: Prisma.CompanyCreateOrConnectWithoutCredentialsInput
|
||||
upsert?: Prisma.CompanyUpsertWithoutCredentialsInput
|
||||
connect?: Prisma.CompanyWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.CompanyUpdateToOneWithWhereWithoutCredentialsInput, Prisma.CompanyUpdateWithoutCredentialsInput>, Prisma.CompanyUncheckedUpdateWithoutCredentialsInput>
|
||||
}
|
||||
|
||||
export type CompanyCreateWithoutCredentialsInput = {
|
||||
id?: string
|
||||
name: string
|
||||
cw_CompanyId: number
|
||||
cw_Identifier: string
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
}
|
||||
|
||||
export type CompanyUncheckedCreateWithoutCredentialsInput = {
|
||||
id?: string
|
||||
name: string
|
||||
cw_CompanyId: number
|
||||
cw_Identifier: string
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
}
|
||||
|
||||
export type CompanyCreateOrConnectWithoutCredentialsInput = {
|
||||
where: Prisma.CompanyWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.CompanyCreateWithoutCredentialsInput, Prisma.CompanyUncheckedCreateWithoutCredentialsInput>
|
||||
}
|
||||
|
||||
export type CompanyUpsertWithoutCredentialsInput = {
|
||||
update: Prisma.XOR<Prisma.CompanyUpdateWithoutCredentialsInput, Prisma.CompanyUncheckedUpdateWithoutCredentialsInput>
|
||||
create: Prisma.XOR<Prisma.CompanyCreateWithoutCredentialsInput, Prisma.CompanyUncheckedCreateWithoutCredentialsInput>
|
||||
where?: Prisma.CompanyWhereInput
|
||||
}
|
||||
|
||||
export type CompanyUpdateToOneWithWhereWithoutCredentialsInput = {
|
||||
where?: Prisma.CompanyWhereInput
|
||||
data: Prisma.XOR<Prisma.CompanyUpdateWithoutCredentialsInput, Prisma.CompanyUncheckedUpdateWithoutCredentialsInput>
|
||||
}
|
||||
|
||||
export type CompanyUpdateWithoutCredentialsInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
cw_CompanyId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
cw_Identifier?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
|
||||
export type CompanyUncheckedUpdateWithoutCredentialsInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
cw_CompanyId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
cw_Identifier?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Count Type CompanyCountOutputType
|
||||
*/
|
||||
|
||||
export type CompanyCountOutputType = {
|
||||
credentials: number
|
||||
}
|
||||
|
||||
export type CompanyCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
credentials?: boolean | CompanyCountOutputTypeCountCredentialsArgs
|
||||
}
|
||||
|
||||
/**
|
||||
* CompanyCountOutputType without action
|
||||
*/
|
||||
export type CompanyCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the CompanyCountOutputType
|
||||
*/
|
||||
select?: Prisma.CompanyCountOutputTypeSelect<ExtArgs> | null
|
||||
}
|
||||
|
||||
/**
|
||||
* CompanyCountOutputType without action
|
||||
*/
|
||||
export type CompanyCountOutputTypeCountCredentialsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
where?: Prisma.CredentialWhereInput
|
||||
}
|
||||
|
||||
|
||||
export type CompanySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
@@ -388,6 +495,8 @@ export type CompanySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
||||
cw_Identifier?: boolean
|
||||
createdAt?: boolean
|
||||
updatedAt?: boolean
|
||||
credentials?: boolean | Prisma.Company$credentialsArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.CompanyCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["company"]>
|
||||
|
||||
export type CompanySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
@@ -418,10 +527,18 @@ export type CompanySelectScalar = {
|
||||
}
|
||||
|
||||
export type CompanyOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "cw_CompanyId" | "cw_Identifier" | "createdAt" | "updatedAt", ExtArgs["result"]["company"]>
|
||||
export type CompanyInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
credentials?: boolean | Prisma.Company$credentialsArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.CompanyCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}
|
||||
export type CompanyIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
||||
export type CompanyIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
||||
|
||||
export type $CompanyPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
name: "Company"
|
||||
objects: {}
|
||||
objects: {
|
||||
credentials: Prisma.$CredentialPayload<ExtArgs>[]
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: string
|
||||
name: string
|
||||
@@ -823,6 +940,7 @@ readonly fields: CompanyFieldRefs;
|
||||
*/
|
||||
export interface Prisma__CompanyClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
||||
readonly [Symbol.toStringTag]: "PrismaPromise"
|
||||
credentials<T extends Prisma.Company$credentialsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Company$credentialsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CredentialPayload<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.
|
||||
@@ -874,6 +992,10 @@ export type CompanyFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.Inter
|
||||
* Omit specific fields from the Company
|
||||
*/
|
||||
omit?: Prisma.CompanyOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.CompanyInclude<ExtArgs> | null
|
||||
/**
|
||||
* Filter, which Company to fetch.
|
||||
*/
|
||||
@@ -892,6 +1014,10 @@ export type CompanyFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extension
|
||||
* Omit specific fields from the Company
|
||||
*/
|
||||
omit?: Prisma.CompanyOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.CompanyInclude<ExtArgs> | null
|
||||
/**
|
||||
* Filter, which Company to fetch.
|
||||
*/
|
||||
@@ -910,6 +1036,10 @@ export type CompanyFindFirstArgs<ExtArgs extends runtime.Types.Extensions.Intern
|
||||
* Omit specific fields from the Company
|
||||
*/
|
||||
omit?: Prisma.CompanyOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.CompanyInclude<ExtArgs> | null
|
||||
/**
|
||||
* Filter, which Company to fetch.
|
||||
*/
|
||||
@@ -958,6 +1088,10 @@ export type CompanyFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions
|
||||
* Omit specific fields from the Company
|
||||
*/
|
||||
omit?: Prisma.CompanyOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.CompanyInclude<ExtArgs> | null
|
||||
/**
|
||||
* Filter, which Company to fetch.
|
||||
*/
|
||||
@@ -1006,6 +1140,10 @@ export type CompanyFindManyArgs<ExtArgs extends runtime.Types.Extensions.Interna
|
||||
* Omit specific fields from the Company
|
||||
*/
|
||||
omit?: Prisma.CompanyOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.CompanyInclude<ExtArgs> | null
|
||||
/**
|
||||
* Filter, which Companies to fetch.
|
||||
*/
|
||||
@@ -1049,6 +1187,10 @@ export type CompanyCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalA
|
||||
* Omit specific fields from the Company
|
||||
*/
|
||||
omit?: Prisma.CompanyOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.CompanyInclude<ExtArgs> | null
|
||||
/**
|
||||
* The data needed to create a Company.
|
||||
*/
|
||||
@@ -1097,6 +1239,10 @@ export type CompanyUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalA
|
||||
* Omit specific fields from the Company
|
||||
*/
|
||||
omit?: Prisma.CompanyOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.CompanyInclude<ExtArgs> | null
|
||||
/**
|
||||
* The data needed to update a Company.
|
||||
*/
|
||||
@@ -1163,6 +1309,10 @@ export type CompanyUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalA
|
||||
* Omit specific fields from the Company
|
||||
*/
|
||||
omit?: Prisma.CompanyOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.CompanyInclude<ExtArgs> | null
|
||||
/**
|
||||
* The filter to search for the Company to update in case it exists.
|
||||
*/
|
||||
@@ -1189,6 +1339,10 @@ export type CompanyDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalA
|
||||
* Omit specific fields from the Company
|
||||
*/
|
||||
omit?: Prisma.CompanyOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.CompanyInclude<ExtArgs> | null
|
||||
/**
|
||||
* Filter which Company to delete.
|
||||
*/
|
||||
@@ -1209,6 +1363,30 @@ export type CompanyDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.Inter
|
||||
limit?: number
|
||||
}
|
||||
|
||||
/**
|
||||
* Company.credentials
|
||||
*/
|
||||
export type Company$credentialsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the Credential
|
||||
*/
|
||||
select?: Prisma.CredentialSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the Credential
|
||||
*/
|
||||
omit?: Prisma.CredentialOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.CredentialInclude<ExtArgs> | null
|
||||
where?: Prisma.CredentialWhereInput
|
||||
orderBy?: Prisma.CredentialOrderByWithRelationInput | Prisma.CredentialOrderByWithRelationInput[]
|
||||
cursor?: Prisma.CredentialWhereUniqueInput
|
||||
take?: number
|
||||
skip?: number
|
||||
distinct?: Prisma.CredentialScalarFieldEnum | Prisma.CredentialScalarFieldEnum[]
|
||||
}
|
||||
|
||||
/**
|
||||
* Company without action
|
||||
*/
|
||||
@@ -1221,4 +1399,8 @@ export type CompanyDefaultArgs<ExtArgs extends runtime.Types.Extensions.Internal
|
||||
* Omit specific fields from the Company
|
||||
*/
|
||||
omit?: Prisma.CompanyOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.CompanyInclude<ExtArgs> | null
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user