1439 lines
54 KiB
TypeScript
1439 lines
54 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `passwords_manager` model and its related types.
|
|
*
|
|
* 🟢 You can import this file directly.
|
|
*/
|
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
import type * as $Enums from "../enums"
|
|
import type * as Prisma from "../internal/prismaNamespace"
|
|
|
|
/**
|
|
* Model passwords_manager
|
|
*
|
|
*/
|
|
export type passwords_managerModel = runtime.Types.Result.DefaultSelection<Prisma.$passwords_managerPayload>
|
|
|
|
export type AggregatePasswords_manager = {
|
|
_count: Passwords_managerCountAggregateOutputType | null
|
|
_avg: Passwords_managerAvgAggregateOutputType | null
|
|
_sum: Passwords_managerSumAggregateOutputType | null
|
|
_min: Passwords_managerMinAggregateOutputType | null
|
|
_max: Passwords_managerMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type Passwords_managerAvgAggregateOutputType = {
|
|
id: number | null
|
|
date_orig: number | null
|
|
date_last: number | null
|
|
created_by: number | null
|
|
}
|
|
|
|
export type Passwords_managerSumAggregateOutputType = {
|
|
id: bigint | null
|
|
date_orig: bigint | null
|
|
date_last: bigint | null
|
|
created_by: bigint | null
|
|
}
|
|
|
|
export type Passwords_managerMinAggregateOutputType = {
|
|
id: bigint | null
|
|
title: string | null
|
|
login: string | null
|
|
pass: string | null
|
|
url: string | null
|
|
email: string | null
|
|
phone: string | null
|
|
category: string | null
|
|
subcategory: string | null
|
|
desc: string | null
|
|
notes: string | null
|
|
logs: string | null
|
|
date_orig: bigint | null
|
|
date_last: bigint | null
|
|
users_granted: string | null
|
|
group_granted: string | null
|
|
created_by: bigint | null
|
|
keywords: string | null
|
|
}
|
|
|
|
export type Passwords_managerMaxAggregateOutputType = {
|
|
id: bigint | null
|
|
title: string | null
|
|
login: string | null
|
|
pass: string | null
|
|
url: string | null
|
|
email: string | null
|
|
phone: string | null
|
|
category: string | null
|
|
subcategory: string | null
|
|
desc: string | null
|
|
notes: string | null
|
|
logs: string | null
|
|
date_orig: bigint | null
|
|
date_last: bigint | null
|
|
users_granted: string | null
|
|
group_granted: string | null
|
|
created_by: bigint | null
|
|
keywords: string | null
|
|
}
|
|
|
|
export type Passwords_managerCountAggregateOutputType = {
|
|
id: number
|
|
title: number
|
|
login: number
|
|
pass: number
|
|
url: number
|
|
email: number
|
|
phone: number
|
|
category: number
|
|
subcategory: number
|
|
desc: number
|
|
notes: number
|
|
logs: number
|
|
date_orig: number
|
|
date_last: number
|
|
users_granted: number
|
|
group_granted: number
|
|
created_by: number
|
|
keywords: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type Passwords_managerAvgAggregateInputType = {
|
|
id?: true
|
|
date_orig?: true
|
|
date_last?: true
|
|
created_by?: true
|
|
}
|
|
|
|
export type Passwords_managerSumAggregateInputType = {
|
|
id?: true
|
|
date_orig?: true
|
|
date_last?: true
|
|
created_by?: true
|
|
}
|
|
|
|
export type Passwords_managerMinAggregateInputType = {
|
|
id?: true
|
|
title?: true
|
|
login?: true
|
|
pass?: true
|
|
url?: true
|
|
email?: true
|
|
phone?: true
|
|
category?: true
|
|
subcategory?: true
|
|
desc?: true
|
|
notes?: true
|
|
logs?: true
|
|
date_orig?: true
|
|
date_last?: true
|
|
users_granted?: true
|
|
group_granted?: true
|
|
created_by?: true
|
|
keywords?: true
|
|
}
|
|
|
|
export type Passwords_managerMaxAggregateInputType = {
|
|
id?: true
|
|
title?: true
|
|
login?: true
|
|
pass?: true
|
|
url?: true
|
|
email?: true
|
|
phone?: true
|
|
category?: true
|
|
subcategory?: true
|
|
desc?: true
|
|
notes?: true
|
|
logs?: true
|
|
date_orig?: true
|
|
date_last?: true
|
|
users_granted?: true
|
|
group_granted?: true
|
|
created_by?: true
|
|
keywords?: true
|
|
}
|
|
|
|
export type Passwords_managerCountAggregateInputType = {
|
|
id?: true
|
|
title?: true
|
|
login?: true
|
|
pass?: true
|
|
url?: true
|
|
email?: true
|
|
phone?: true
|
|
category?: true
|
|
subcategory?: true
|
|
desc?: true
|
|
notes?: true
|
|
logs?: true
|
|
date_orig?: true
|
|
date_last?: true
|
|
users_granted?: true
|
|
group_granted?: true
|
|
created_by?: true
|
|
keywords?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type Passwords_managerAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which passwords_manager to aggregate.
|
|
*/
|
|
where?: Prisma.passwords_managerWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of passwords_managers to fetch.
|
|
*/
|
|
orderBy?: Prisma.passwords_managerOrderByWithRelationInput | Prisma.passwords_managerOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.passwords_managerWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` passwords_managers 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` passwords_managers.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned passwords_managers
|
|
**/
|
|
_count?: true | Passwords_managerCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: Passwords_managerAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: Passwords_managerSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: Passwords_managerMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: Passwords_managerMaxAggregateInputType
|
|
}
|
|
|
|
export type GetPasswords_managerAggregateType<T extends Passwords_managerAggregateArgs> = {
|
|
[P in keyof T & keyof AggregatePasswords_manager]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregatePasswords_manager[P]>
|
|
: Prisma.GetScalarType<T[P], AggregatePasswords_manager[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type passwords_managerGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.passwords_managerWhereInput
|
|
orderBy?: Prisma.passwords_managerOrderByWithAggregationInput | Prisma.passwords_managerOrderByWithAggregationInput[]
|
|
by: Prisma.Passwords_managerScalarFieldEnum[] | Prisma.Passwords_managerScalarFieldEnum
|
|
having?: Prisma.passwords_managerScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: Passwords_managerCountAggregateInputType | true
|
|
_avg?: Passwords_managerAvgAggregateInputType
|
|
_sum?: Passwords_managerSumAggregateInputType
|
|
_min?: Passwords_managerMinAggregateInputType
|
|
_max?: Passwords_managerMaxAggregateInputType
|
|
}
|
|
|
|
export type Passwords_managerGroupByOutputType = {
|
|
id: bigint
|
|
title: string
|
|
login: string
|
|
pass: string
|
|
url: string | null
|
|
email: string | null
|
|
phone: string | null
|
|
category: string | null
|
|
subcategory: string | null
|
|
desc: string | null
|
|
notes: string | null
|
|
logs: string | null
|
|
date_orig: bigint
|
|
date_last: bigint
|
|
users_granted: string | null
|
|
group_granted: string | null
|
|
created_by: bigint
|
|
keywords: string | null
|
|
_count: Passwords_managerCountAggregateOutputType | null
|
|
_avg: Passwords_managerAvgAggregateOutputType | null
|
|
_sum: Passwords_managerSumAggregateOutputType | null
|
|
_min: Passwords_managerMinAggregateOutputType | null
|
|
_max: Passwords_managerMaxAggregateOutputType | null
|
|
}
|
|
|
|
type GetPasswords_managerGroupByPayload<T extends passwords_managerGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<Passwords_managerGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof Passwords_managerGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], Passwords_managerGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], Passwords_managerGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type passwords_managerWhereInput = {
|
|
AND?: Prisma.passwords_managerWhereInput | Prisma.passwords_managerWhereInput[]
|
|
OR?: Prisma.passwords_managerWhereInput[]
|
|
NOT?: Prisma.passwords_managerWhereInput | Prisma.passwords_managerWhereInput[]
|
|
id?: Prisma.BigIntFilter<"passwords_manager"> | bigint | number
|
|
title?: Prisma.StringFilter<"passwords_manager"> | string
|
|
login?: Prisma.StringFilter<"passwords_manager"> | string
|
|
pass?: Prisma.StringFilter<"passwords_manager"> | string
|
|
url?: Prisma.StringNullableFilter<"passwords_manager"> | string | null
|
|
email?: Prisma.StringNullableFilter<"passwords_manager"> | string | null
|
|
phone?: Prisma.StringNullableFilter<"passwords_manager"> | string | null
|
|
category?: Prisma.StringNullableFilter<"passwords_manager"> | string | null
|
|
subcategory?: Prisma.StringNullableFilter<"passwords_manager"> | string | null
|
|
desc?: Prisma.StringNullableFilter<"passwords_manager"> | string | null
|
|
notes?: Prisma.StringNullableFilter<"passwords_manager"> | string | null
|
|
logs?: Prisma.StringNullableFilter<"passwords_manager"> | string | null
|
|
date_orig?: Prisma.BigIntFilter<"passwords_manager"> | bigint | number
|
|
date_last?: Prisma.BigIntFilter<"passwords_manager"> | bigint | number
|
|
users_granted?: Prisma.StringNullableFilter<"passwords_manager"> | string | null
|
|
group_granted?: Prisma.StringNullableFilter<"passwords_manager"> | string | null
|
|
created_by?: Prisma.BigIntFilter<"passwords_manager"> | bigint | number
|
|
keywords?: Prisma.StringNullableFilter<"passwords_manager"> | string | null
|
|
}
|
|
|
|
export type passwords_managerOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
login?: Prisma.SortOrder
|
|
pass?: Prisma.SortOrder
|
|
url?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
email?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
phone?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
category?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
subcategory?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
desc?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
notes?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
logs?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrder
|
|
date_last?: Prisma.SortOrder
|
|
users_granted?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
group_granted?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
created_by?: Prisma.SortOrder
|
|
keywords?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_relevance?: Prisma.passwords_managerOrderByRelevanceInput
|
|
}
|
|
|
|
export type passwords_managerWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: bigint | number
|
|
AND?: Prisma.passwords_managerWhereInput | Prisma.passwords_managerWhereInput[]
|
|
OR?: Prisma.passwords_managerWhereInput[]
|
|
NOT?: Prisma.passwords_managerWhereInput | Prisma.passwords_managerWhereInput[]
|
|
title?: Prisma.StringFilter<"passwords_manager"> | string
|
|
login?: Prisma.StringFilter<"passwords_manager"> | string
|
|
pass?: Prisma.StringFilter<"passwords_manager"> | string
|
|
url?: Prisma.StringNullableFilter<"passwords_manager"> | string | null
|
|
email?: Prisma.StringNullableFilter<"passwords_manager"> | string | null
|
|
phone?: Prisma.StringNullableFilter<"passwords_manager"> | string | null
|
|
category?: Prisma.StringNullableFilter<"passwords_manager"> | string | null
|
|
subcategory?: Prisma.StringNullableFilter<"passwords_manager"> | string | null
|
|
desc?: Prisma.StringNullableFilter<"passwords_manager"> | string | null
|
|
notes?: Prisma.StringNullableFilter<"passwords_manager"> | string | null
|
|
logs?: Prisma.StringNullableFilter<"passwords_manager"> | string | null
|
|
date_orig?: Prisma.BigIntFilter<"passwords_manager"> | bigint | number
|
|
date_last?: Prisma.BigIntFilter<"passwords_manager"> | bigint | number
|
|
users_granted?: Prisma.StringNullableFilter<"passwords_manager"> | string | null
|
|
group_granted?: Prisma.StringNullableFilter<"passwords_manager"> | string | null
|
|
created_by?: Prisma.BigIntFilter<"passwords_manager"> | bigint | number
|
|
keywords?: Prisma.StringNullableFilter<"passwords_manager"> | string | null
|
|
}, "id">
|
|
|
|
export type passwords_managerOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
login?: Prisma.SortOrder
|
|
pass?: Prisma.SortOrder
|
|
url?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
email?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
phone?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
category?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
subcategory?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
desc?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
notes?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
logs?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrder
|
|
date_last?: Prisma.SortOrder
|
|
users_granted?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
group_granted?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
created_by?: Prisma.SortOrder
|
|
keywords?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.passwords_managerCountOrderByAggregateInput
|
|
_avg?: Prisma.passwords_managerAvgOrderByAggregateInput
|
|
_max?: Prisma.passwords_managerMaxOrderByAggregateInput
|
|
_min?: Prisma.passwords_managerMinOrderByAggregateInput
|
|
_sum?: Prisma.passwords_managerSumOrderByAggregateInput
|
|
}
|
|
|
|
export type passwords_managerScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.passwords_managerScalarWhereWithAggregatesInput | Prisma.passwords_managerScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.passwords_managerScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.passwords_managerScalarWhereWithAggregatesInput | Prisma.passwords_managerScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.BigIntWithAggregatesFilter<"passwords_manager"> | bigint | number
|
|
title?: Prisma.StringWithAggregatesFilter<"passwords_manager"> | string
|
|
login?: Prisma.StringWithAggregatesFilter<"passwords_manager"> | string
|
|
pass?: Prisma.StringWithAggregatesFilter<"passwords_manager"> | string
|
|
url?: Prisma.StringNullableWithAggregatesFilter<"passwords_manager"> | string | null
|
|
email?: Prisma.StringNullableWithAggregatesFilter<"passwords_manager"> | string | null
|
|
phone?: Prisma.StringNullableWithAggregatesFilter<"passwords_manager"> | string | null
|
|
category?: Prisma.StringNullableWithAggregatesFilter<"passwords_manager"> | string | null
|
|
subcategory?: Prisma.StringNullableWithAggregatesFilter<"passwords_manager"> | string | null
|
|
desc?: Prisma.StringNullableWithAggregatesFilter<"passwords_manager"> | string | null
|
|
notes?: Prisma.StringNullableWithAggregatesFilter<"passwords_manager"> | string | null
|
|
logs?: Prisma.StringNullableWithAggregatesFilter<"passwords_manager"> | string | null
|
|
date_orig?: Prisma.BigIntWithAggregatesFilter<"passwords_manager"> | bigint | number
|
|
date_last?: Prisma.BigIntWithAggregatesFilter<"passwords_manager"> | bigint | number
|
|
users_granted?: Prisma.StringNullableWithAggregatesFilter<"passwords_manager"> | string | null
|
|
group_granted?: Prisma.StringNullableWithAggregatesFilter<"passwords_manager"> | string | null
|
|
created_by?: Prisma.BigIntWithAggregatesFilter<"passwords_manager"> | bigint | number
|
|
keywords?: Prisma.StringNullableWithAggregatesFilter<"passwords_manager"> | string | null
|
|
}
|
|
|
|
export type passwords_managerCreateInput = {
|
|
id?: bigint | number
|
|
title: string
|
|
login: string
|
|
pass: string
|
|
url?: string | null
|
|
email?: string | null
|
|
phone?: string | null
|
|
category?: string | null
|
|
subcategory?: string | null
|
|
desc?: string | null
|
|
notes?: string | null
|
|
logs?: string | null
|
|
date_orig: bigint | number
|
|
date_last: bigint | number
|
|
users_granted?: string | null
|
|
group_granted?: string | null
|
|
created_by: bigint | number
|
|
keywords?: string | null
|
|
}
|
|
|
|
export type passwords_managerUncheckedCreateInput = {
|
|
id?: bigint | number
|
|
title: string
|
|
login: string
|
|
pass: string
|
|
url?: string | null
|
|
email?: string | null
|
|
phone?: string | null
|
|
category?: string | null
|
|
subcategory?: string | null
|
|
desc?: string | null
|
|
notes?: string | null
|
|
logs?: string | null
|
|
date_orig: bigint | number
|
|
date_last: bigint | number
|
|
users_granted?: string | null
|
|
group_granted?: string | null
|
|
created_by: bigint | number
|
|
keywords?: string | null
|
|
}
|
|
|
|
export type passwords_managerUpdateInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
login?: Prisma.StringFieldUpdateOperationsInput | string
|
|
pass?: Prisma.StringFieldUpdateOperationsInput | string
|
|
url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
subcategory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
logs?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
date_orig?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
date_last?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
users_granted?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
group_granted?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
created_by?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
keywords?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type passwords_managerUncheckedUpdateInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
login?: Prisma.StringFieldUpdateOperationsInput | string
|
|
pass?: Prisma.StringFieldUpdateOperationsInput | string
|
|
url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
subcategory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
logs?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
date_orig?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
date_last?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
users_granted?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
group_granted?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
created_by?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
keywords?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type passwords_managerCreateManyInput = {
|
|
id?: bigint | number
|
|
title: string
|
|
login: string
|
|
pass: string
|
|
url?: string | null
|
|
email?: string | null
|
|
phone?: string | null
|
|
category?: string | null
|
|
subcategory?: string | null
|
|
desc?: string | null
|
|
notes?: string | null
|
|
logs?: string | null
|
|
date_orig: bigint | number
|
|
date_last: bigint | number
|
|
users_granted?: string | null
|
|
group_granted?: string | null
|
|
created_by: bigint | number
|
|
keywords?: string | null
|
|
}
|
|
|
|
export type passwords_managerUpdateManyMutationInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
login?: Prisma.StringFieldUpdateOperationsInput | string
|
|
pass?: Prisma.StringFieldUpdateOperationsInput | string
|
|
url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
subcategory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
logs?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
date_orig?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
date_last?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
users_granted?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
group_granted?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
created_by?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
keywords?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type passwords_managerUncheckedUpdateManyInput = {
|
|
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
login?: Prisma.StringFieldUpdateOperationsInput | string
|
|
pass?: Prisma.StringFieldUpdateOperationsInput | string
|
|
url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
subcategory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
desc?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
logs?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
date_orig?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
date_last?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
users_granted?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
group_granted?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
created_by?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
keywords?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type passwords_managerOrderByRelevanceInput = {
|
|
fields: Prisma.passwords_managerOrderByRelevanceFieldEnum | Prisma.passwords_managerOrderByRelevanceFieldEnum[]
|
|
sort: Prisma.SortOrder
|
|
search: string
|
|
}
|
|
|
|
export type passwords_managerCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
login?: Prisma.SortOrder
|
|
pass?: Prisma.SortOrder
|
|
url?: Prisma.SortOrder
|
|
email?: Prisma.SortOrder
|
|
phone?: Prisma.SortOrder
|
|
category?: Prisma.SortOrder
|
|
subcategory?: Prisma.SortOrder
|
|
desc?: Prisma.SortOrder
|
|
notes?: Prisma.SortOrder
|
|
logs?: Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrder
|
|
date_last?: Prisma.SortOrder
|
|
users_granted?: Prisma.SortOrder
|
|
group_granted?: Prisma.SortOrder
|
|
created_by?: Prisma.SortOrder
|
|
keywords?: Prisma.SortOrder
|
|
}
|
|
|
|
export type passwords_managerAvgOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrder
|
|
date_last?: Prisma.SortOrder
|
|
created_by?: Prisma.SortOrder
|
|
}
|
|
|
|
export type passwords_managerMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
login?: Prisma.SortOrder
|
|
pass?: Prisma.SortOrder
|
|
url?: Prisma.SortOrder
|
|
email?: Prisma.SortOrder
|
|
phone?: Prisma.SortOrder
|
|
category?: Prisma.SortOrder
|
|
subcategory?: Prisma.SortOrder
|
|
desc?: Prisma.SortOrder
|
|
notes?: Prisma.SortOrder
|
|
logs?: Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrder
|
|
date_last?: Prisma.SortOrder
|
|
users_granted?: Prisma.SortOrder
|
|
group_granted?: Prisma.SortOrder
|
|
created_by?: Prisma.SortOrder
|
|
keywords?: Prisma.SortOrder
|
|
}
|
|
|
|
export type passwords_managerMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
title?: Prisma.SortOrder
|
|
login?: Prisma.SortOrder
|
|
pass?: Prisma.SortOrder
|
|
url?: Prisma.SortOrder
|
|
email?: Prisma.SortOrder
|
|
phone?: Prisma.SortOrder
|
|
category?: Prisma.SortOrder
|
|
subcategory?: Prisma.SortOrder
|
|
desc?: Prisma.SortOrder
|
|
notes?: Prisma.SortOrder
|
|
logs?: Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrder
|
|
date_last?: Prisma.SortOrder
|
|
users_granted?: Prisma.SortOrder
|
|
group_granted?: Prisma.SortOrder
|
|
created_by?: Prisma.SortOrder
|
|
keywords?: Prisma.SortOrder
|
|
}
|
|
|
|
export type passwords_managerSumOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
date_orig?: Prisma.SortOrder
|
|
date_last?: Prisma.SortOrder
|
|
created_by?: Prisma.SortOrder
|
|
}
|
|
|
|
|
|
|
|
export type passwords_managerSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
title?: boolean
|
|
login?: boolean
|
|
pass?: boolean
|
|
url?: boolean
|
|
email?: boolean
|
|
phone?: boolean
|
|
category?: boolean
|
|
subcategory?: boolean
|
|
desc?: boolean
|
|
notes?: boolean
|
|
logs?: boolean
|
|
date_orig?: boolean
|
|
date_last?: boolean
|
|
users_granted?: boolean
|
|
group_granted?: boolean
|
|
created_by?: boolean
|
|
keywords?: boolean
|
|
}, ExtArgs["result"]["passwords_manager"]>
|
|
|
|
|
|
|
|
export type passwords_managerSelectScalar = {
|
|
id?: boolean
|
|
title?: boolean
|
|
login?: boolean
|
|
pass?: boolean
|
|
url?: boolean
|
|
email?: boolean
|
|
phone?: boolean
|
|
category?: boolean
|
|
subcategory?: boolean
|
|
desc?: boolean
|
|
notes?: boolean
|
|
logs?: boolean
|
|
date_orig?: boolean
|
|
date_last?: boolean
|
|
users_granted?: boolean
|
|
group_granted?: boolean
|
|
created_by?: boolean
|
|
keywords?: boolean
|
|
}
|
|
|
|
export type passwords_managerOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "title" | "login" | "pass" | "url" | "email" | "phone" | "category" | "subcategory" | "desc" | "notes" | "logs" | "date_orig" | "date_last" | "users_granted" | "group_granted" | "created_by" | "keywords", ExtArgs["result"]["passwords_manager"]>
|
|
|
|
export type $passwords_managerPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "passwords_manager"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: bigint
|
|
title: string
|
|
login: string
|
|
pass: string
|
|
url: string | null
|
|
email: string | null
|
|
phone: string | null
|
|
category: string | null
|
|
subcategory: string | null
|
|
desc: string | null
|
|
notes: string | null
|
|
logs: string | null
|
|
date_orig: bigint
|
|
date_last: bigint
|
|
users_granted: string | null
|
|
group_granted: string | null
|
|
created_by: bigint
|
|
keywords: string | null
|
|
}, ExtArgs["result"]["passwords_manager"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type passwords_managerGetPayload<S extends boolean | null | undefined | passwords_managerDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$passwords_managerPayload, S>
|
|
|
|
export type passwords_managerCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<passwords_managerFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: Passwords_managerCountAggregateInputType | true
|
|
}
|
|
|
|
export interface passwords_managerDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['passwords_manager'], meta: { name: 'passwords_manager' } }
|
|
/**
|
|
* Find zero or one Passwords_manager that matches the filter.
|
|
* @param {passwords_managerFindUniqueArgs} args - Arguments to find a Passwords_manager
|
|
* @example
|
|
* // Get one Passwords_manager
|
|
* const passwords_manager = await prisma.passwords_manager.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends passwords_managerFindUniqueArgs>(args: Prisma.SelectSubset<T, passwords_managerFindUniqueArgs<ExtArgs>>): Prisma.Prisma__passwords_managerClient<runtime.Types.Result.GetResult<Prisma.$passwords_managerPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one Passwords_manager that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {passwords_managerFindUniqueOrThrowArgs} args - Arguments to find a Passwords_manager
|
|
* @example
|
|
* // Get one Passwords_manager
|
|
* const passwords_manager = await prisma.passwords_manager.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends passwords_managerFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, passwords_managerFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__passwords_managerClient<runtime.Types.Result.GetResult<Prisma.$passwords_managerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Passwords_manager 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 {passwords_managerFindFirstArgs} args - Arguments to find a Passwords_manager
|
|
* @example
|
|
* // Get one Passwords_manager
|
|
* const passwords_manager = await prisma.passwords_manager.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends passwords_managerFindFirstArgs>(args?: Prisma.SelectSubset<T, passwords_managerFindFirstArgs<ExtArgs>>): Prisma.Prisma__passwords_managerClient<runtime.Types.Result.GetResult<Prisma.$passwords_managerPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first Passwords_manager 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 {passwords_managerFindFirstOrThrowArgs} args - Arguments to find a Passwords_manager
|
|
* @example
|
|
* // Get one Passwords_manager
|
|
* const passwords_manager = await prisma.passwords_manager.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends passwords_managerFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, passwords_managerFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__passwords_managerClient<runtime.Types.Result.GetResult<Prisma.$passwords_managerPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more Passwords_managers 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 {passwords_managerFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all Passwords_managers
|
|
* const passwords_managers = await prisma.passwords_manager.findMany()
|
|
*
|
|
* // Get first 10 Passwords_managers
|
|
* const passwords_managers = await prisma.passwords_manager.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const passwords_managerWithIdOnly = await prisma.passwords_manager.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends passwords_managerFindManyArgs>(args?: Prisma.SelectSubset<T, passwords_managerFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$passwords_managerPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a Passwords_manager.
|
|
* @param {passwords_managerCreateArgs} args - Arguments to create a Passwords_manager.
|
|
* @example
|
|
* // Create one Passwords_manager
|
|
* const Passwords_manager = await prisma.passwords_manager.create({
|
|
* data: {
|
|
* // ... data to create a Passwords_manager
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends passwords_managerCreateArgs>(args: Prisma.SelectSubset<T, passwords_managerCreateArgs<ExtArgs>>): Prisma.Prisma__passwords_managerClient<runtime.Types.Result.GetResult<Prisma.$passwords_managerPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many Passwords_managers.
|
|
* @param {passwords_managerCreateManyArgs} args - Arguments to create many Passwords_managers.
|
|
* @example
|
|
* // Create many Passwords_managers
|
|
* const passwords_manager = await prisma.passwords_manager.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends passwords_managerCreateManyArgs>(args?: Prisma.SelectSubset<T, passwords_managerCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Delete a Passwords_manager.
|
|
* @param {passwords_managerDeleteArgs} args - Arguments to delete one Passwords_manager.
|
|
* @example
|
|
* // Delete one Passwords_manager
|
|
* const Passwords_manager = await prisma.passwords_manager.delete({
|
|
* where: {
|
|
* // ... filter to delete one Passwords_manager
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends passwords_managerDeleteArgs>(args: Prisma.SelectSubset<T, passwords_managerDeleteArgs<ExtArgs>>): Prisma.Prisma__passwords_managerClient<runtime.Types.Result.GetResult<Prisma.$passwords_managerPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one Passwords_manager.
|
|
* @param {passwords_managerUpdateArgs} args - Arguments to update one Passwords_manager.
|
|
* @example
|
|
* // Update one Passwords_manager
|
|
* const passwords_manager = await prisma.passwords_manager.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends passwords_managerUpdateArgs>(args: Prisma.SelectSubset<T, passwords_managerUpdateArgs<ExtArgs>>): Prisma.Prisma__passwords_managerClient<runtime.Types.Result.GetResult<Prisma.$passwords_managerPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more Passwords_managers.
|
|
* @param {passwords_managerDeleteManyArgs} args - Arguments to filter Passwords_managers to delete.
|
|
* @example
|
|
* // Delete a few Passwords_managers
|
|
* const { count } = await prisma.passwords_manager.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends passwords_managerDeleteManyArgs>(args?: Prisma.SelectSubset<T, passwords_managerDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more Passwords_managers.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {passwords_managerUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many Passwords_managers
|
|
* const passwords_manager = await prisma.passwords_manager.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends passwords_managerUpdateManyArgs>(args: Prisma.SelectSubset<T, passwords_managerUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create or update one Passwords_manager.
|
|
* @param {passwords_managerUpsertArgs} args - Arguments to update or create a Passwords_manager.
|
|
* @example
|
|
* // Update or create a Passwords_manager
|
|
* const passwords_manager = await prisma.passwords_manager.upsert({
|
|
* create: {
|
|
* // ... data to create a Passwords_manager
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the Passwords_manager we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends passwords_managerUpsertArgs>(args: Prisma.SelectSubset<T, passwords_managerUpsertArgs<ExtArgs>>): Prisma.Prisma__passwords_managerClient<runtime.Types.Result.GetResult<Prisma.$passwords_managerPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of Passwords_managers.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {passwords_managerCountArgs} args - Arguments to filter Passwords_managers to count.
|
|
* @example
|
|
* // Count the number of Passwords_managers
|
|
* const count = await prisma.passwords_manager.count({
|
|
* where: {
|
|
* // ... the filter for the Passwords_managers we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends passwords_managerCountArgs>(
|
|
args?: Prisma.Subset<T, passwords_managerCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], Passwords_managerCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a Passwords_manager.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {Passwords_managerAggregateArgs} 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 Passwords_managerAggregateArgs>(args: Prisma.Subset<T, Passwords_managerAggregateArgs>): Prisma.PrismaPromise<GetPasswords_managerAggregateType<T>>
|
|
|
|
/**
|
|
* Group by Passwords_manager.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {passwords_managerGroupByArgs} 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 passwords_managerGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: passwords_managerGroupByArgs['orderBy'] }
|
|
: { orderBy?: passwords_managerGroupByArgs['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, passwords_managerGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPasswords_managerGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the passwords_manager model
|
|
*/
|
|
readonly fields: passwords_managerFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for passwords_manager.
|
|
* 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__passwords_managerClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the passwords_manager model
|
|
*/
|
|
export interface passwords_managerFieldRefs {
|
|
readonly id: Prisma.FieldRef<"passwords_manager", 'BigInt'>
|
|
readonly title: Prisma.FieldRef<"passwords_manager", 'String'>
|
|
readonly login: Prisma.FieldRef<"passwords_manager", 'String'>
|
|
readonly pass: Prisma.FieldRef<"passwords_manager", 'String'>
|
|
readonly url: Prisma.FieldRef<"passwords_manager", 'String'>
|
|
readonly email: Prisma.FieldRef<"passwords_manager", 'String'>
|
|
readonly phone: Prisma.FieldRef<"passwords_manager", 'String'>
|
|
readonly category: Prisma.FieldRef<"passwords_manager", 'String'>
|
|
readonly subcategory: Prisma.FieldRef<"passwords_manager", 'String'>
|
|
readonly desc: Prisma.FieldRef<"passwords_manager", 'String'>
|
|
readonly notes: Prisma.FieldRef<"passwords_manager", 'String'>
|
|
readonly logs: Prisma.FieldRef<"passwords_manager", 'String'>
|
|
readonly date_orig: Prisma.FieldRef<"passwords_manager", 'BigInt'>
|
|
readonly date_last: Prisma.FieldRef<"passwords_manager", 'BigInt'>
|
|
readonly users_granted: Prisma.FieldRef<"passwords_manager", 'String'>
|
|
readonly group_granted: Prisma.FieldRef<"passwords_manager", 'String'>
|
|
readonly created_by: Prisma.FieldRef<"passwords_manager", 'BigInt'>
|
|
readonly keywords: Prisma.FieldRef<"passwords_manager", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* passwords_manager findUnique
|
|
*/
|
|
export type passwords_managerFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the passwords_manager
|
|
*/
|
|
select?: Prisma.passwords_managerSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the passwords_manager
|
|
*/
|
|
omit?: Prisma.passwords_managerOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which passwords_manager to fetch.
|
|
*/
|
|
where: Prisma.passwords_managerWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* passwords_manager findUniqueOrThrow
|
|
*/
|
|
export type passwords_managerFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the passwords_manager
|
|
*/
|
|
select?: Prisma.passwords_managerSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the passwords_manager
|
|
*/
|
|
omit?: Prisma.passwords_managerOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which passwords_manager to fetch.
|
|
*/
|
|
where: Prisma.passwords_managerWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* passwords_manager findFirst
|
|
*/
|
|
export type passwords_managerFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the passwords_manager
|
|
*/
|
|
select?: Prisma.passwords_managerSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the passwords_manager
|
|
*/
|
|
omit?: Prisma.passwords_managerOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which passwords_manager to fetch.
|
|
*/
|
|
where?: Prisma.passwords_managerWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of passwords_managers to fetch.
|
|
*/
|
|
orderBy?: Prisma.passwords_managerOrderByWithRelationInput | Prisma.passwords_managerOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for passwords_managers.
|
|
*/
|
|
cursor?: Prisma.passwords_managerWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` passwords_managers 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` passwords_managers.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of passwords_managers.
|
|
*/
|
|
distinct?: Prisma.Passwords_managerScalarFieldEnum | Prisma.Passwords_managerScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* passwords_manager findFirstOrThrow
|
|
*/
|
|
export type passwords_managerFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the passwords_manager
|
|
*/
|
|
select?: Prisma.passwords_managerSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the passwords_manager
|
|
*/
|
|
omit?: Prisma.passwords_managerOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which passwords_manager to fetch.
|
|
*/
|
|
where?: Prisma.passwords_managerWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of passwords_managers to fetch.
|
|
*/
|
|
orderBy?: Prisma.passwords_managerOrderByWithRelationInput | Prisma.passwords_managerOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for passwords_managers.
|
|
*/
|
|
cursor?: Prisma.passwords_managerWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` passwords_managers 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` passwords_managers.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of passwords_managers.
|
|
*/
|
|
distinct?: Prisma.Passwords_managerScalarFieldEnum | Prisma.Passwords_managerScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* passwords_manager findMany
|
|
*/
|
|
export type passwords_managerFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the passwords_manager
|
|
*/
|
|
select?: Prisma.passwords_managerSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the passwords_manager
|
|
*/
|
|
omit?: Prisma.passwords_managerOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which passwords_managers to fetch.
|
|
*/
|
|
where?: Prisma.passwords_managerWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of passwords_managers to fetch.
|
|
*/
|
|
orderBy?: Prisma.passwords_managerOrderByWithRelationInput | Prisma.passwords_managerOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing passwords_managers.
|
|
*/
|
|
cursor?: Prisma.passwords_managerWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` passwords_managers 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` passwords_managers.
|
|
*/
|
|
skip?: number
|
|
distinct?: Prisma.Passwords_managerScalarFieldEnum | Prisma.Passwords_managerScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* passwords_manager create
|
|
*/
|
|
export type passwords_managerCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the passwords_manager
|
|
*/
|
|
select?: Prisma.passwords_managerSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the passwords_manager
|
|
*/
|
|
omit?: Prisma.passwords_managerOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a passwords_manager.
|
|
*/
|
|
data: Prisma.XOR<Prisma.passwords_managerCreateInput, Prisma.passwords_managerUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* passwords_manager createMany
|
|
*/
|
|
export type passwords_managerCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many passwords_managers.
|
|
*/
|
|
data: Prisma.passwords_managerCreateManyInput | Prisma.passwords_managerCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* passwords_manager update
|
|
*/
|
|
export type passwords_managerUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the passwords_manager
|
|
*/
|
|
select?: Prisma.passwords_managerSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the passwords_manager
|
|
*/
|
|
omit?: Prisma.passwords_managerOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a passwords_manager.
|
|
*/
|
|
data: Prisma.XOR<Prisma.passwords_managerUpdateInput, Prisma.passwords_managerUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which passwords_manager to update.
|
|
*/
|
|
where: Prisma.passwords_managerWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* passwords_manager updateMany
|
|
*/
|
|
export type passwords_managerUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update passwords_managers.
|
|
*/
|
|
data: Prisma.XOR<Prisma.passwords_managerUpdateManyMutationInput, Prisma.passwords_managerUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which passwords_managers to update
|
|
*/
|
|
where?: Prisma.passwords_managerWhereInput
|
|
/**
|
|
* Limit how many passwords_managers to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* passwords_manager upsert
|
|
*/
|
|
export type passwords_managerUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the passwords_manager
|
|
*/
|
|
select?: Prisma.passwords_managerSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the passwords_manager
|
|
*/
|
|
omit?: Prisma.passwords_managerOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the passwords_manager to update in case it exists.
|
|
*/
|
|
where: Prisma.passwords_managerWhereUniqueInput
|
|
/**
|
|
* In case the passwords_manager found by the `where` argument doesn't exist, create a new passwords_manager with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.passwords_managerCreateInput, Prisma.passwords_managerUncheckedCreateInput>
|
|
/**
|
|
* In case the passwords_manager was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.passwords_managerUpdateInput, Prisma.passwords_managerUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* passwords_manager delete
|
|
*/
|
|
export type passwords_managerDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the passwords_manager
|
|
*/
|
|
select?: Prisma.passwords_managerSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the passwords_manager
|
|
*/
|
|
omit?: Prisma.passwords_managerOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which passwords_manager to delete.
|
|
*/
|
|
where: Prisma.passwords_managerWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* passwords_manager deleteMany
|
|
*/
|
|
export type passwords_managerDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which passwords_managers to delete
|
|
*/
|
|
where?: Prisma.passwords_managerWhereInput
|
|
/**
|
|
* Limit how many passwords_managers to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* passwords_manager without action
|
|
*/
|
|
export type passwords_managerDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the passwords_manager
|
|
*/
|
|
select?: Prisma.passwords_managerSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the passwords_manager
|
|
*/
|
|
omit?: Prisma.passwords_managerOmit<ExtArgs> | null
|
|
}
|