mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-01 21:44:27 +00:00
feat(db): add custom migration to backfill totalFrames and startTimecode
This commit is contained in:
@@ -395,6 +395,8 @@ describe('NotificationService', () => {
|
|||||||
duration: 10,
|
duration: 10,
|
||||||
bitRate: 1000,
|
bitRate: 1000,
|
||||||
frameRate: 24,
|
frameRate: 24,
|
||||||
|
totalFrames: 240,
|
||||||
|
startTimecode: '00:00:00:00',
|
||||||
hasAudio: false,
|
hasAudio: false,
|
||||||
format: {},
|
format: {},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
-- Update assets where media->'metadata' is not null, but 'totalFrames' or 'startTimecode' is missing
|
||||||
|
UPDATE "assets"
|
||||||
|
SET "media" = jsonb_set(
|
||||||
|
"media",
|
||||||
|
'{metadata}',
|
||||||
|
coalesce("media"->'metadata', '{}'::jsonb) || jsonb_build_object(
|
||||||
|
'totalFrames', ROUND(COALESCE(("media"->'metadata'->>'duration')::numeric, ("media"->>'duration')::numeric, 0) * COALESCE(("media"->'metadata'->>'frameRate')::numeric, 30)),
|
||||||
|
'startTimecode', COALESCE("media"->'metadata'->>'startTimecode', '00:00:00:00')
|
||||||
|
)
|
||||||
|
)
|
||||||
|
WHERE "media" IS NOT NULL
|
||||||
|
AND "media"->'metadata' IS NOT NULL
|
||||||
|
AND ("media"->'metadata'->'totalFrames' IS NULL OR "media"->'metadata'->'startTimecode' IS NULL);
|
||||||
+2
-1
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// biome-ignore-all lint: generated file
|
// biome-ignore-all lint: generated file
|
||||||
@@ -15,7 +16,7 @@
|
|||||||
import * as Prisma from './internal/prismaNamespaceBrowser.ts'
|
import * as Prisma from './internal/prismaNamespaceBrowser.ts'
|
||||||
export { Prisma }
|
export { Prisma }
|
||||||
export * as $Enums from './enums.ts'
|
export * as $Enums from './enums.ts'
|
||||||
export * from './enums.ts'
|
export * from './enums.ts';
|
||||||
/**
|
/**
|
||||||
* Model User
|
* Model User
|
||||||
*
|
*
|
||||||
|
|||||||
+7
-10
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// biome-ignore-all lint: generated file
|
// biome-ignore-all lint: generated file
|
||||||
@@ -14,13 +15,13 @@ import * as path from 'node:path'
|
|||||||
import { fileURLToPath } from 'node:url'
|
import { fileURLToPath } from 'node:url'
|
||||||
globalThis['__dirname'] = path.dirname(fileURLToPath(import.meta.url))
|
globalThis['__dirname'] = path.dirname(fileURLToPath(import.meta.url))
|
||||||
|
|
||||||
import * as runtime from '@prisma/client/runtime/client'
|
import * as runtime from "@prisma/client/runtime/client"
|
||||||
import * as $Enums from './enums.ts'
|
import * as $Enums from "./enums.ts"
|
||||||
import * as $Class from './internal/class.ts'
|
import * as $Class from "./internal/class.ts"
|
||||||
import * as Prisma from './internal/prismaNamespace.ts'
|
import * as Prisma from "./internal/prismaNamespace.ts"
|
||||||
|
|
||||||
export * as $Enums from './enums.ts'
|
export * as $Enums from './enums.ts'
|
||||||
export * from './enums.ts'
|
export * from "./enums.ts"
|
||||||
/**
|
/**
|
||||||
* ## Prisma Client
|
* ## Prisma Client
|
||||||
*
|
*
|
||||||
@@ -37,11 +38,7 @@ export * from './enums.ts'
|
|||||||
* Read more in our [docs](https://pris.ly/d/client).
|
* Read more in our [docs](https://pris.ly/d/client).
|
||||||
*/
|
*/
|
||||||
export const PrismaClient = $Class.getPrismaClientClass()
|
export const PrismaClient = $Class.getPrismaClientClass()
|
||||||
export type PrismaClient<
|
export type PrismaClient<LogOpts extends Prisma.LogLevel = never, OmitOpts extends Prisma.PrismaClientOptions["omit"] = Prisma.PrismaClientOptions["omit"], ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = $Class.PrismaClient<LogOpts, OmitOpts, ExtArgs>
|
||||||
LogOpts extends Prisma.LogLevel = never,
|
|
||||||
OmitOpts extends Prisma.PrismaClientOptions['omit'] = Prisma.PrismaClientOptions['omit'],
|
|
||||||
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
||||||
> = $Class.PrismaClient<LogOpts, OmitOpts, ExtArgs>
|
|
||||||
export { Prisma }
|
export { Prisma }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
+97
-287
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// biome-ignore-all lint: generated file
|
// biome-ignore-all lint: generated file
|
||||||
@@ -8,9 +9,10 @@
|
|||||||
* 🟢 You can import this file directly.
|
* 🟢 You can import this file directly.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import type * as runtime from '@prisma/client/runtime/client'
|
import type * as runtime from "@prisma/client/runtime/client"
|
||||||
import * as $Enums from './enums.ts'
|
import * as $Enums from "./enums.ts"
|
||||||
import type * as Prisma from './internal/prismaNamespace.ts'
|
import type * as Prisma from "./internal/prismaNamespace.ts"
|
||||||
|
|
||||||
|
|
||||||
export type StringFilter<$PrismaModel = never> = {
|
export type StringFilter<$PrismaModel = never> = {
|
||||||
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||||
@@ -55,20 +57,14 @@ export type StringNullableFilter<$PrismaModel = never> = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export type JsonNullableFilter<$PrismaModel = never> =
|
export type JsonNullableFilter<$PrismaModel = never> =
|
||||||
| Prisma.PatchUndefined<
|
| Prisma.PatchUndefined<
|
||||||
Prisma.Either<
|
Prisma.Either<Required<JsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>,
|
||||||
Required<JsonNullableFilterBase<$PrismaModel>>,
|
Required<JsonNullableFilterBase<$PrismaModel>>
|
||||||
Exclude<keyof Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>
|
>
|
||||||
>,
|
| Prisma.OptionalFlat<Omit<Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>
|
||||||
Required<JsonNullableFilterBase<$PrismaModel>>
|
|
||||||
>
|
|
||||||
| Prisma.OptionalFlat<Omit<Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>
|
|
||||||
|
|
||||||
export type JsonNullableFilterBase<$PrismaModel = never> = {
|
export type JsonNullableFilterBase<$PrismaModel = never> = {
|
||||||
equals?:
|
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
||||||
| runtime.InputJsonValue
|
|
||||||
| Prisma.JsonFieldRefInput<$PrismaModel>
|
|
||||||
| Prisma.JsonNullValueFilter
|
|
||||||
path?: string[]
|
path?: string[]
|
||||||
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>
|
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>
|
||||||
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||||
@@ -155,20 +151,14 @@ export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export type JsonNullableWithAggregatesFilter<$PrismaModel = never> =
|
export type JsonNullableWithAggregatesFilter<$PrismaModel = never> =
|
||||||
| Prisma.PatchUndefined<
|
| Prisma.PatchUndefined<
|
||||||
Prisma.Either<
|
Prisma.Either<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>,
|
||||||
Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>,
|
Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>
|
||||||
Exclude<keyof Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>
|
>
|
||||||
>,
|
| Prisma.OptionalFlat<Omit<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>
|
||||||
Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>
|
|
||||||
>
|
|
||||||
| Prisma.OptionalFlat<Omit<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>
|
|
||||||
|
|
||||||
export type JsonNullableWithAggregatesFilterBase<$PrismaModel = never> = {
|
export type JsonNullableWithAggregatesFilterBase<$PrismaModel = never> = {
|
||||||
equals?:
|
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
||||||
| runtime.InputJsonValue
|
|
||||||
| Prisma.JsonFieldRefInput<$PrismaModel>
|
|
||||||
| Prisma.JsonNullValueFilter
|
|
||||||
path?: string[]
|
path?: string[]
|
||||||
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>
|
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>
|
||||||
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||||
@@ -271,9 +261,7 @@ export type EnumProjectMemberRoleWithAggregatesFilter<$PrismaModel = never> = {
|
|||||||
equals?: $Enums.ProjectMemberRole | Prisma.EnumProjectMemberRoleFieldRefInput<$PrismaModel>
|
equals?: $Enums.ProjectMemberRole | Prisma.EnumProjectMemberRoleFieldRefInput<$PrismaModel>
|
||||||
in?: $Enums.ProjectMemberRole[] | Prisma.ListEnumProjectMemberRoleFieldRefInput<$PrismaModel>
|
in?: $Enums.ProjectMemberRole[] | Prisma.ListEnumProjectMemberRoleFieldRefInput<$PrismaModel>
|
||||||
notIn?: $Enums.ProjectMemberRole[] | Prisma.ListEnumProjectMemberRoleFieldRefInput<$PrismaModel>
|
notIn?: $Enums.ProjectMemberRole[] | Prisma.ListEnumProjectMemberRoleFieldRefInput<$PrismaModel>
|
||||||
not?:
|
not?: Prisma.NestedEnumProjectMemberRoleWithAggregatesFilter<$PrismaModel> | $Enums.ProjectMemberRole
|
||||||
| Prisma.NestedEnumProjectMemberRoleWithAggregatesFilter<$PrismaModel>
|
|
||||||
| $Enums.ProjectMemberRole
|
|
||||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||||
_min?: Prisma.NestedEnumProjectMemberRoleFilter<$PrismaModel>
|
_min?: Prisma.NestedEnumProjectMemberRoleFilter<$PrismaModel>
|
||||||
_max?: Prisma.NestedEnumProjectMemberRoleFilter<$PrismaModel>
|
_max?: Prisma.NestedEnumProjectMemberRoleFilter<$PrismaModel>
|
||||||
@@ -351,9 +339,7 @@ export type EnumStorageKeyStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|||||||
equals?: $Enums.StorageKeyStatus | Prisma.EnumStorageKeyStatusFieldRefInput<$PrismaModel>
|
equals?: $Enums.StorageKeyStatus | Prisma.EnumStorageKeyStatusFieldRefInput<$PrismaModel>
|
||||||
in?: $Enums.StorageKeyStatus[] | Prisma.ListEnumStorageKeyStatusFieldRefInput<$PrismaModel>
|
in?: $Enums.StorageKeyStatus[] | Prisma.ListEnumStorageKeyStatusFieldRefInput<$PrismaModel>
|
||||||
notIn?: $Enums.StorageKeyStatus[] | Prisma.ListEnumStorageKeyStatusFieldRefInput<$PrismaModel>
|
notIn?: $Enums.StorageKeyStatus[] | Prisma.ListEnumStorageKeyStatusFieldRefInput<$PrismaModel>
|
||||||
not?:
|
not?: Prisma.NestedEnumStorageKeyStatusWithAggregatesFilter<$PrismaModel> | $Enums.StorageKeyStatus
|
||||||
| Prisma.NestedEnumStorageKeyStatusWithAggregatesFilter<$PrismaModel>
|
|
||||||
| $Enums.StorageKeyStatus
|
|
||||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||||
_min?: Prisma.NestedEnumStorageKeyStatusFilter<$PrismaModel>
|
_min?: Prisma.NestedEnumStorageKeyStatusFilter<$PrismaModel>
|
||||||
_max?: Prisma.NestedEnumStorageKeyStatusFilter<$PrismaModel>
|
_max?: Prisma.NestedEnumStorageKeyStatusFilter<$PrismaModel>
|
||||||
@@ -410,51 +396,24 @@ export type EnumInviteRoleNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|||||||
equals?: $Enums.InviteRole | Prisma.EnumInviteRoleFieldRefInput<$PrismaModel> | null
|
equals?: $Enums.InviteRole | Prisma.EnumInviteRoleFieldRefInput<$PrismaModel> | null
|
||||||
in?: $Enums.InviteRole[] | Prisma.ListEnumInviteRoleFieldRefInput<$PrismaModel> | null
|
in?: $Enums.InviteRole[] | Prisma.ListEnumInviteRoleFieldRefInput<$PrismaModel> | null
|
||||||
notIn?: $Enums.InviteRole[] | Prisma.ListEnumInviteRoleFieldRefInput<$PrismaModel> | null
|
notIn?: $Enums.InviteRole[] | Prisma.ListEnumInviteRoleFieldRefInput<$PrismaModel> | null
|
||||||
not?:
|
not?: Prisma.NestedEnumInviteRoleNullableWithAggregatesFilter<$PrismaModel> | $Enums.InviteRole | null
|
||||||
| Prisma.NestedEnumInviteRoleNullableWithAggregatesFilter<$PrismaModel>
|
|
||||||
| $Enums.InviteRole
|
|
||||||
| null
|
|
||||||
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
||||||
_min?: Prisma.NestedEnumInviteRoleNullableFilter<$PrismaModel>
|
_min?: Prisma.NestedEnumInviteRoleNullableFilter<$PrismaModel>
|
||||||
_max?: Prisma.NestedEnumInviteRoleNullableFilter<$PrismaModel>
|
_max?: Prisma.NestedEnumInviteRoleNullableFilter<$PrismaModel>
|
||||||
}
|
}
|
||||||
|
|
||||||
export type EnumMetadataFieldScopeNullableFilter<$PrismaModel = never> = {
|
export type EnumMetadataFieldScopeNullableFilter<$PrismaModel = never> = {
|
||||||
equals?:
|
equals?: $Enums.MetadataFieldScope | Prisma.EnumMetadataFieldScopeFieldRefInput<$PrismaModel> | null
|
||||||
| $Enums.MetadataFieldScope
|
in?: $Enums.MetadataFieldScope[] | Prisma.ListEnumMetadataFieldScopeFieldRefInput<$PrismaModel> | null
|
||||||
| Prisma.EnumMetadataFieldScopeFieldRefInput<$PrismaModel>
|
notIn?: $Enums.MetadataFieldScope[] | Prisma.ListEnumMetadataFieldScopeFieldRefInput<$PrismaModel> | null
|
||||||
| null
|
not?: Prisma.NestedEnumMetadataFieldScopeNullableFilter<$PrismaModel> | $Enums.MetadataFieldScope | null
|
||||||
in?:
|
|
||||||
| $Enums.MetadataFieldScope[]
|
|
||||||
| Prisma.ListEnumMetadataFieldScopeFieldRefInput<$PrismaModel>
|
|
||||||
| null
|
|
||||||
notIn?:
|
|
||||||
| $Enums.MetadataFieldScope[]
|
|
||||||
| Prisma.ListEnumMetadataFieldScopeFieldRefInput<$PrismaModel>
|
|
||||||
| null
|
|
||||||
not?:
|
|
||||||
| Prisma.NestedEnumMetadataFieldScopeNullableFilter<$PrismaModel>
|
|
||||||
| $Enums.MetadataFieldScope
|
|
||||||
| null
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export type EnumMetadataFieldScopeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
export type EnumMetadataFieldScopeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
||||||
equals?:
|
equals?: $Enums.MetadataFieldScope | Prisma.EnumMetadataFieldScopeFieldRefInput<$PrismaModel> | null
|
||||||
| $Enums.MetadataFieldScope
|
in?: $Enums.MetadataFieldScope[] | Prisma.ListEnumMetadataFieldScopeFieldRefInput<$PrismaModel> | null
|
||||||
| Prisma.EnumMetadataFieldScopeFieldRefInput<$PrismaModel>
|
notIn?: $Enums.MetadataFieldScope[] | Prisma.ListEnumMetadataFieldScopeFieldRefInput<$PrismaModel> | null
|
||||||
| null
|
not?: Prisma.NestedEnumMetadataFieldScopeNullableWithAggregatesFilter<$PrismaModel> | $Enums.MetadataFieldScope | null
|
||||||
in?:
|
|
||||||
| $Enums.MetadataFieldScope[]
|
|
||||||
| Prisma.ListEnumMetadataFieldScopeFieldRefInput<$PrismaModel>
|
|
||||||
| null
|
|
||||||
notIn?:
|
|
||||||
| $Enums.MetadataFieldScope[]
|
|
||||||
| Prisma.ListEnumMetadataFieldScopeFieldRefInput<$PrismaModel>
|
|
||||||
| null
|
|
||||||
not?:
|
|
||||||
| Prisma.NestedEnumMetadataFieldScopeNullableWithAggregatesFilter<$PrismaModel>
|
|
||||||
| $Enums.MetadataFieldScope
|
|
||||||
| null
|
|
||||||
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
||||||
_min?: Prisma.NestedEnumMetadataFieldScopeNullableFilter<$PrismaModel>
|
_min?: Prisma.NestedEnumMetadataFieldScopeNullableFilter<$PrismaModel>
|
||||||
_max?: Prisma.NestedEnumMetadataFieldScopeNullableFilter<$PrismaModel>
|
_max?: Prisma.NestedEnumMetadataFieldScopeNullableFilter<$PrismaModel>
|
||||||
@@ -463,27 +422,15 @@ export type EnumMetadataFieldScopeNullableWithAggregatesFilter<$PrismaModel = ne
|
|||||||
export type EnumNotificationTypeNullableFilter<$PrismaModel = never> = {
|
export type EnumNotificationTypeNullableFilter<$PrismaModel = never> = {
|
||||||
equals?: $Enums.NotificationType | Prisma.EnumNotificationTypeFieldRefInput<$PrismaModel> | null
|
equals?: $Enums.NotificationType | Prisma.EnumNotificationTypeFieldRefInput<$PrismaModel> | null
|
||||||
in?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel> | null
|
in?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel> | null
|
||||||
notIn?:
|
notIn?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel> | null
|
||||||
| $Enums.NotificationType[]
|
not?: Prisma.NestedEnumNotificationTypeNullableFilter<$PrismaModel> | $Enums.NotificationType | null
|
||||||
| Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel>
|
|
||||||
| null
|
|
||||||
not?:
|
|
||||||
| Prisma.NestedEnumNotificationTypeNullableFilter<$PrismaModel>
|
|
||||||
| $Enums.NotificationType
|
|
||||||
| null
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export type EnumNotificationTypeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
export type EnumNotificationTypeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
||||||
equals?: $Enums.NotificationType | Prisma.EnumNotificationTypeFieldRefInput<$PrismaModel> | null
|
equals?: $Enums.NotificationType | Prisma.EnumNotificationTypeFieldRefInput<$PrismaModel> | null
|
||||||
in?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel> | null
|
in?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel> | null
|
||||||
notIn?:
|
notIn?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel> | null
|
||||||
| $Enums.NotificationType[]
|
not?: Prisma.NestedEnumNotificationTypeNullableWithAggregatesFilter<$PrismaModel> | $Enums.NotificationType | null
|
||||||
| Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel>
|
|
||||||
| null
|
|
||||||
not?:
|
|
||||||
| Prisma.NestedEnumNotificationTypeNullableWithAggregatesFilter<$PrismaModel>
|
|
||||||
| $Enums.NotificationType
|
|
||||||
| null
|
|
||||||
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
||||||
_min?: Prisma.NestedEnumNotificationTypeNullableFilter<$PrismaModel>
|
_min?: Prisma.NestedEnumNotificationTypeNullableFilter<$PrismaModel>
|
||||||
_max?: Prisma.NestedEnumNotificationTypeNullableFilter<$PrismaModel>
|
_max?: Prisma.NestedEnumNotificationTypeNullableFilter<$PrismaModel>
|
||||||
@@ -565,33 +512,15 @@ export type UuidFilter<$PrismaModel = never> = {
|
|||||||
export type EnumWorkflowTaskTypeNullableFilter<$PrismaModel = never> = {
|
export type EnumWorkflowTaskTypeNullableFilter<$PrismaModel = never> = {
|
||||||
equals?: $Enums.WorkflowTaskType | Prisma.EnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null
|
equals?: $Enums.WorkflowTaskType | Prisma.EnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null
|
||||||
in?: $Enums.WorkflowTaskType[] | Prisma.ListEnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null
|
in?: $Enums.WorkflowTaskType[] | Prisma.ListEnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null
|
||||||
notIn?:
|
notIn?: $Enums.WorkflowTaskType[] | Prisma.ListEnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null
|
||||||
| $Enums.WorkflowTaskType[]
|
not?: Prisma.NestedEnumWorkflowTaskTypeNullableFilter<$PrismaModel> | $Enums.WorkflowTaskType | null
|
||||||
| Prisma.ListEnumWorkflowTaskTypeFieldRefInput<$PrismaModel>
|
|
||||||
| null
|
|
||||||
not?:
|
|
||||||
| Prisma.NestedEnumWorkflowTaskTypeNullableFilter<$PrismaModel>
|
|
||||||
| $Enums.WorkflowTaskType
|
|
||||||
| null
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export type EnumWorkflowTaskStatusNullableFilter<$PrismaModel = never> = {
|
export type EnumWorkflowTaskStatusNullableFilter<$PrismaModel = never> = {
|
||||||
equals?:
|
equals?: $Enums.WorkflowTaskStatus | Prisma.EnumWorkflowTaskStatusFieldRefInput<$PrismaModel> | null
|
||||||
| $Enums.WorkflowTaskStatus
|
in?: $Enums.WorkflowTaskStatus[] | Prisma.ListEnumWorkflowTaskStatusFieldRefInput<$PrismaModel> | null
|
||||||
| Prisma.EnumWorkflowTaskStatusFieldRefInput<$PrismaModel>
|
notIn?: $Enums.WorkflowTaskStatus[] | Prisma.ListEnumWorkflowTaskStatusFieldRefInput<$PrismaModel> | null
|
||||||
| null
|
not?: Prisma.NestedEnumWorkflowTaskStatusNullableFilter<$PrismaModel> | $Enums.WorkflowTaskStatus | null
|
||||||
in?:
|
|
||||||
| $Enums.WorkflowTaskStatus[]
|
|
||||||
| Prisma.ListEnumWorkflowTaskStatusFieldRefInput<$PrismaModel>
|
|
||||||
| null
|
|
||||||
notIn?:
|
|
||||||
| $Enums.WorkflowTaskStatus[]
|
|
||||||
| Prisma.ListEnumWorkflowTaskStatusFieldRefInput<$PrismaModel>
|
|
||||||
| null
|
|
||||||
not?:
|
|
||||||
| Prisma.NestedEnumWorkflowTaskStatusNullableFilter<$PrismaModel>
|
|
||||||
| $Enums.WorkflowTaskStatus
|
|
||||||
| null
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export type UuidWithAggregatesFilter<$PrismaModel = never> = {
|
export type UuidWithAggregatesFilter<$PrismaModel = never> = {
|
||||||
@@ -612,36 +541,18 @@ export type UuidWithAggregatesFilter<$PrismaModel = never> = {
|
|||||||
export type EnumWorkflowTaskTypeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
export type EnumWorkflowTaskTypeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
||||||
equals?: $Enums.WorkflowTaskType | Prisma.EnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null
|
equals?: $Enums.WorkflowTaskType | Prisma.EnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null
|
||||||
in?: $Enums.WorkflowTaskType[] | Prisma.ListEnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null
|
in?: $Enums.WorkflowTaskType[] | Prisma.ListEnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null
|
||||||
notIn?:
|
notIn?: $Enums.WorkflowTaskType[] | Prisma.ListEnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null
|
||||||
| $Enums.WorkflowTaskType[]
|
not?: Prisma.NestedEnumWorkflowTaskTypeNullableWithAggregatesFilter<$PrismaModel> | $Enums.WorkflowTaskType | null
|
||||||
| Prisma.ListEnumWorkflowTaskTypeFieldRefInput<$PrismaModel>
|
|
||||||
| null
|
|
||||||
not?:
|
|
||||||
| Prisma.NestedEnumWorkflowTaskTypeNullableWithAggregatesFilter<$PrismaModel>
|
|
||||||
| $Enums.WorkflowTaskType
|
|
||||||
| null
|
|
||||||
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
||||||
_min?: Prisma.NestedEnumWorkflowTaskTypeNullableFilter<$PrismaModel>
|
_min?: Prisma.NestedEnumWorkflowTaskTypeNullableFilter<$PrismaModel>
|
||||||
_max?: Prisma.NestedEnumWorkflowTaskTypeNullableFilter<$PrismaModel>
|
_max?: Prisma.NestedEnumWorkflowTaskTypeNullableFilter<$PrismaModel>
|
||||||
}
|
}
|
||||||
|
|
||||||
export type EnumWorkflowTaskStatusNullableWithAggregatesFilter<$PrismaModel = never> = {
|
export type EnumWorkflowTaskStatusNullableWithAggregatesFilter<$PrismaModel = never> = {
|
||||||
equals?:
|
equals?: $Enums.WorkflowTaskStatus | Prisma.EnumWorkflowTaskStatusFieldRefInput<$PrismaModel> | null
|
||||||
| $Enums.WorkflowTaskStatus
|
in?: $Enums.WorkflowTaskStatus[] | Prisma.ListEnumWorkflowTaskStatusFieldRefInput<$PrismaModel> | null
|
||||||
| Prisma.EnumWorkflowTaskStatusFieldRefInput<$PrismaModel>
|
notIn?: $Enums.WorkflowTaskStatus[] | Prisma.ListEnumWorkflowTaskStatusFieldRefInput<$PrismaModel> | null
|
||||||
| null
|
not?: Prisma.NestedEnumWorkflowTaskStatusNullableWithAggregatesFilter<$PrismaModel> | $Enums.WorkflowTaskStatus | null
|
||||||
in?:
|
|
||||||
| $Enums.WorkflowTaskStatus[]
|
|
||||||
| Prisma.ListEnumWorkflowTaskStatusFieldRefInput<$PrismaModel>
|
|
||||||
| null
|
|
||||||
notIn?:
|
|
||||||
| $Enums.WorkflowTaskStatus[]
|
|
||||||
| Prisma.ListEnumWorkflowTaskStatusFieldRefInput<$PrismaModel>
|
|
||||||
| null
|
|
||||||
not?:
|
|
||||||
| Prisma.NestedEnumWorkflowTaskStatusNullableWithAggregatesFilter<$PrismaModel>
|
|
||||||
| $Enums.WorkflowTaskStatus
|
|
||||||
| null
|
|
||||||
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
||||||
_min?: Prisma.NestedEnumWorkflowTaskStatusNullableFilter<$PrismaModel>
|
_min?: Prisma.NestedEnumWorkflowTaskStatusNullableFilter<$PrismaModel>
|
||||||
_max?: Prisma.NestedEnumWorkflowTaskStatusNullableFilter<$PrismaModel>
|
_max?: Prisma.NestedEnumWorkflowTaskStatusNullableFilter<$PrismaModel>
|
||||||
@@ -655,20 +566,14 @@ export type EnumAgentTypeFilter<$PrismaModel = never> = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export type JsonFilter<$PrismaModel = never> =
|
export type JsonFilter<$PrismaModel = never> =
|
||||||
| Prisma.PatchUndefined<
|
| Prisma.PatchUndefined<
|
||||||
Prisma.Either<
|
Prisma.Either<Required<JsonFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonFilterBase<$PrismaModel>>, 'path'>>,
|
||||||
Required<JsonFilterBase<$PrismaModel>>,
|
Required<JsonFilterBase<$PrismaModel>>
|
||||||
Exclude<keyof Required<JsonFilterBase<$PrismaModel>>, 'path'>
|
>
|
||||||
>,
|
| Prisma.OptionalFlat<Omit<Required<JsonFilterBase<$PrismaModel>>, 'path'>>
|
||||||
Required<JsonFilterBase<$PrismaModel>>
|
|
||||||
>
|
|
||||||
| Prisma.OptionalFlat<Omit<Required<JsonFilterBase<$PrismaModel>>, 'path'>>
|
|
||||||
|
|
||||||
export type JsonFilterBase<$PrismaModel = never> = {
|
export type JsonFilterBase<$PrismaModel = never> = {
|
||||||
equals?:
|
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
||||||
| runtime.InputJsonValue
|
|
||||||
| Prisma.JsonFieldRefInput<$PrismaModel>
|
|
||||||
| Prisma.JsonNullValueFilter
|
|
||||||
path?: string[]
|
path?: string[]
|
||||||
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>
|
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>
|
||||||
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||||
@@ -695,20 +600,14 @@ export type EnumAgentTypeWithAggregatesFilter<$PrismaModel = never> = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export type JsonWithAggregatesFilter<$PrismaModel = never> =
|
export type JsonWithAggregatesFilter<$PrismaModel = never> =
|
||||||
| Prisma.PatchUndefined<
|
| Prisma.PatchUndefined<
|
||||||
Prisma.Either<
|
Prisma.Either<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>>,
|
||||||
Required<JsonWithAggregatesFilterBase<$PrismaModel>>,
|
Required<JsonWithAggregatesFilterBase<$PrismaModel>>
|
||||||
Exclude<keyof Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>
|
>
|
||||||
>,
|
| Prisma.OptionalFlat<Omit<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>>
|
||||||
Required<JsonWithAggregatesFilterBase<$PrismaModel>>
|
|
||||||
>
|
|
||||||
| Prisma.OptionalFlat<Omit<Required<JsonWithAggregatesFilterBase<$PrismaModel>>, 'path'>>
|
|
||||||
|
|
||||||
export type JsonWithAggregatesFilterBase<$PrismaModel = never> = {
|
export type JsonWithAggregatesFilterBase<$PrismaModel = never> = {
|
||||||
equals?:
|
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
||||||
| runtime.InputJsonValue
|
|
||||||
| Prisma.JsonFieldRefInput<$PrismaModel>
|
|
||||||
| Prisma.JsonNullValueFilter
|
|
||||||
path?: string[]
|
path?: string[]
|
||||||
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>
|
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>
|
||||||
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||||
@@ -853,20 +752,14 @@ export type NestedIntNullableFilter<$PrismaModel = never> = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export type NestedJsonNullableFilter<$PrismaModel = never> =
|
export type NestedJsonNullableFilter<$PrismaModel = never> =
|
||||||
| Prisma.PatchUndefined<
|
| Prisma.PatchUndefined<
|
||||||
Prisma.Either<
|
Prisma.Either<Required<NestedJsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>>,
|
||||||
Required<NestedJsonNullableFilterBase<$PrismaModel>>,
|
Required<NestedJsonNullableFilterBase<$PrismaModel>>
|
||||||
Exclude<keyof Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>
|
>
|
||||||
>,
|
| Prisma.OptionalFlat<Omit<Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>>
|
||||||
Required<NestedJsonNullableFilterBase<$PrismaModel>>
|
|
||||||
>
|
|
||||||
| Prisma.OptionalFlat<Omit<Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>>
|
|
||||||
|
|
||||||
export type NestedJsonNullableFilterBase<$PrismaModel = never> = {
|
export type NestedJsonNullableFilterBase<$PrismaModel = never> = {
|
||||||
equals?:
|
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
||||||
| runtime.InputJsonValue
|
|
||||||
| Prisma.JsonFieldRefInput<$PrismaModel>
|
|
||||||
| Prisma.JsonNullValueFilter
|
|
||||||
path?: string[]
|
path?: string[]
|
||||||
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>
|
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>
|
||||||
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||||
@@ -966,9 +859,7 @@ export type NestedEnumProjectMemberRoleWithAggregatesFilter<$PrismaModel = never
|
|||||||
equals?: $Enums.ProjectMemberRole | Prisma.EnumProjectMemberRoleFieldRefInput<$PrismaModel>
|
equals?: $Enums.ProjectMemberRole | Prisma.EnumProjectMemberRoleFieldRefInput<$PrismaModel>
|
||||||
in?: $Enums.ProjectMemberRole[] | Prisma.ListEnumProjectMemberRoleFieldRefInput<$PrismaModel>
|
in?: $Enums.ProjectMemberRole[] | Prisma.ListEnumProjectMemberRoleFieldRefInput<$PrismaModel>
|
||||||
notIn?: $Enums.ProjectMemberRole[] | Prisma.ListEnumProjectMemberRoleFieldRefInput<$PrismaModel>
|
notIn?: $Enums.ProjectMemberRole[] | Prisma.ListEnumProjectMemberRoleFieldRefInput<$PrismaModel>
|
||||||
not?:
|
not?: Prisma.NestedEnumProjectMemberRoleWithAggregatesFilter<$PrismaModel> | $Enums.ProjectMemberRole
|
||||||
| Prisma.NestedEnumProjectMemberRoleWithAggregatesFilter<$PrismaModel>
|
|
||||||
| $Enums.ProjectMemberRole
|
|
||||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||||
_min?: Prisma.NestedEnumProjectMemberRoleFilter<$PrismaModel>
|
_min?: Prisma.NestedEnumProjectMemberRoleFilter<$PrismaModel>
|
||||||
_max?: Prisma.NestedEnumProjectMemberRoleFilter<$PrismaModel>
|
_max?: Prisma.NestedEnumProjectMemberRoleFilter<$PrismaModel>
|
||||||
@@ -1046,9 +937,7 @@ export type NestedEnumStorageKeyStatusWithAggregatesFilter<$PrismaModel = never>
|
|||||||
equals?: $Enums.StorageKeyStatus | Prisma.EnumStorageKeyStatusFieldRefInput<$PrismaModel>
|
equals?: $Enums.StorageKeyStatus | Prisma.EnumStorageKeyStatusFieldRefInput<$PrismaModel>
|
||||||
in?: $Enums.StorageKeyStatus[] | Prisma.ListEnumStorageKeyStatusFieldRefInput<$PrismaModel>
|
in?: $Enums.StorageKeyStatus[] | Prisma.ListEnumStorageKeyStatusFieldRefInput<$PrismaModel>
|
||||||
notIn?: $Enums.StorageKeyStatus[] | Prisma.ListEnumStorageKeyStatusFieldRefInput<$PrismaModel>
|
notIn?: $Enums.StorageKeyStatus[] | Prisma.ListEnumStorageKeyStatusFieldRefInput<$PrismaModel>
|
||||||
not?:
|
not?: Prisma.NestedEnumStorageKeyStatusWithAggregatesFilter<$PrismaModel> | $Enums.StorageKeyStatus
|
||||||
| Prisma.NestedEnumStorageKeyStatusWithAggregatesFilter<$PrismaModel>
|
|
||||||
| $Enums.StorageKeyStatus
|
|
||||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||||
_min?: Prisma.NestedEnumStorageKeyStatusFilter<$PrismaModel>
|
_min?: Prisma.NestedEnumStorageKeyStatusFilter<$PrismaModel>
|
||||||
_max?: Prisma.NestedEnumStorageKeyStatusFilter<$PrismaModel>
|
_max?: Prisma.NestedEnumStorageKeyStatusFilter<$PrismaModel>
|
||||||
@@ -1105,51 +994,24 @@ export type NestedEnumInviteRoleNullableWithAggregatesFilter<$PrismaModel = neve
|
|||||||
equals?: $Enums.InviteRole | Prisma.EnumInviteRoleFieldRefInput<$PrismaModel> | null
|
equals?: $Enums.InviteRole | Prisma.EnumInviteRoleFieldRefInput<$PrismaModel> | null
|
||||||
in?: $Enums.InviteRole[] | Prisma.ListEnumInviteRoleFieldRefInput<$PrismaModel> | null
|
in?: $Enums.InviteRole[] | Prisma.ListEnumInviteRoleFieldRefInput<$PrismaModel> | null
|
||||||
notIn?: $Enums.InviteRole[] | Prisma.ListEnumInviteRoleFieldRefInput<$PrismaModel> | null
|
notIn?: $Enums.InviteRole[] | Prisma.ListEnumInviteRoleFieldRefInput<$PrismaModel> | null
|
||||||
not?:
|
not?: Prisma.NestedEnumInviteRoleNullableWithAggregatesFilter<$PrismaModel> | $Enums.InviteRole | null
|
||||||
| Prisma.NestedEnumInviteRoleNullableWithAggregatesFilter<$PrismaModel>
|
|
||||||
| $Enums.InviteRole
|
|
||||||
| null
|
|
||||||
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
||||||
_min?: Prisma.NestedEnumInviteRoleNullableFilter<$PrismaModel>
|
_min?: Prisma.NestedEnumInviteRoleNullableFilter<$PrismaModel>
|
||||||
_max?: Prisma.NestedEnumInviteRoleNullableFilter<$PrismaModel>
|
_max?: Prisma.NestedEnumInviteRoleNullableFilter<$PrismaModel>
|
||||||
}
|
}
|
||||||
|
|
||||||
export type NestedEnumMetadataFieldScopeNullableFilter<$PrismaModel = never> = {
|
export type NestedEnumMetadataFieldScopeNullableFilter<$PrismaModel = never> = {
|
||||||
equals?:
|
equals?: $Enums.MetadataFieldScope | Prisma.EnumMetadataFieldScopeFieldRefInput<$PrismaModel> | null
|
||||||
| $Enums.MetadataFieldScope
|
in?: $Enums.MetadataFieldScope[] | Prisma.ListEnumMetadataFieldScopeFieldRefInput<$PrismaModel> | null
|
||||||
| Prisma.EnumMetadataFieldScopeFieldRefInput<$PrismaModel>
|
notIn?: $Enums.MetadataFieldScope[] | Prisma.ListEnumMetadataFieldScopeFieldRefInput<$PrismaModel> | null
|
||||||
| null
|
not?: Prisma.NestedEnumMetadataFieldScopeNullableFilter<$PrismaModel> | $Enums.MetadataFieldScope | null
|
||||||
in?:
|
|
||||||
| $Enums.MetadataFieldScope[]
|
|
||||||
| Prisma.ListEnumMetadataFieldScopeFieldRefInput<$PrismaModel>
|
|
||||||
| null
|
|
||||||
notIn?:
|
|
||||||
| $Enums.MetadataFieldScope[]
|
|
||||||
| Prisma.ListEnumMetadataFieldScopeFieldRefInput<$PrismaModel>
|
|
||||||
| null
|
|
||||||
not?:
|
|
||||||
| Prisma.NestedEnumMetadataFieldScopeNullableFilter<$PrismaModel>
|
|
||||||
| $Enums.MetadataFieldScope
|
|
||||||
| null
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export type NestedEnumMetadataFieldScopeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
export type NestedEnumMetadataFieldScopeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
||||||
equals?:
|
equals?: $Enums.MetadataFieldScope | Prisma.EnumMetadataFieldScopeFieldRefInput<$PrismaModel> | null
|
||||||
| $Enums.MetadataFieldScope
|
in?: $Enums.MetadataFieldScope[] | Prisma.ListEnumMetadataFieldScopeFieldRefInput<$PrismaModel> | null
|
||||||
| Prisma.EnumMetadataFieldScopeFieldRefInput<$PrismaModel>
|
notIn?: $Enums.MetadataFieldScope[] | Prisma.ListEnumMetadataFieldScopeFieldRefInput<$PrismaModel> | null
|
||||||
| null
|
not?: Prisma.NestedEnumMetadataFieldScopeNullableWithAggregatesFilter<$PrismaModel> | $Enums.MetadataFieldScope | null
|
||||||
in?:
|
|
||||||
| $Enums.MetadataFieldScope[]
|
|
||||||
| Prisma.ListEnumMetadataFieldScopeFieldRefInput<$PrismaModel>
|
|
||||||
| null
|
|
||||||
notIn?:
|
|
||||||
| $Enums.MetadataFieldScope[]
|
|
||||||
| Prisma.ListEnumMetadataFieldScopeFieldRefInput<$PrismaModel>
|
|
||||||
| null
|
|
||||||
not?:
|
|
||||||
| Prisma.NestedEnumMetadataFieldScopeNullableWithAggregatesFilter<$PrismaModel>
|
|
||||||
| $Enums.MetadataFieldScope
|
|
||||||
| null
|
|
||||||
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
||||||
_min?: Prisma.NestedEnumMetadataFieldScopeNullableFilter<$PrismaModel>
|
_min?: Prisma.NestedEnumMetadataFieldScopeNullableFilter<$PrismaModel>
|
||||||
_max?: Prisma.NestedEnumMetadataFieldScopeNullableFilter<$PrismaModel>
|
_max?: Prisma.NestedEnumMetadataFieldScopeNullableFilter<$PrismaModel>
|
||||||
@@ -1158,27 +1020,15 @@ export type NestedEnumMetadataFieldScopeNullableWithAggregatesFilter<$PrismaMode
|
|||||||
export type NestedEnumNotificationTypeNullableFilter<$PrismaModel = never> = {
|
export type NestedEnumNotificationTypeNullableFilter<$PrismaModel = never> = {
|
||||||
equals?: $Enums.NotificationType | Prisma.EnumNotificationTypeFieldRefInput<$PrismaModel> | null
|
equals?: $Enums.NotificationType | Prisma.EnumNotificationTypeFieldRefInput<$PrismaModel> | null
|
||||||
in?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel> | null
|
in?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel> | null
|
||||||
notIn?:
|
notIn?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel> | null
|
||||||
| $Enums.NotificationType[]
|
not?: Prisma.NestedEnumNotificationTypeNullableFilter<$PrismaModel> | $Enums.NotificationType | null
|
||||||
| Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel>
|
|
||||||
| null
|
|
||||||
not?:
|
|
||||||
| Prisma.NestedEnumNotificationTypeNullableFilter<$PrismaModel>
|
|
||||||
| $Enums.NotificationType
|
|
||||||
| null
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export type NestedEnumNotificationTypeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
export type NestedEnumNotificationTypeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
||||||
equals?: $Enums.NotificationType | Prisma.EnumNotificationTypeFieldRefInput<$PrismaModel> | null
|
equals?: $Enums.NotificationType | Prisma.EnumNotificationTypeFieldRefInput<$PrismaModel> | null
|
||||||
in?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel> | null
|
in?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel> | null
|
||||||
notIn?:
|
notIn?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel> | null
|
||||||
| $Enums.NotificationType[]
|
not?: Prisma.NestedEnumNotificationTypeNullableWithAggregatesFilter<$PrismaModel> | $Enums.NotificationType | null
|
||||||
| Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel>
|
|
||||||
| null
|
|
||||||
not?:
|
|
||||||
| Prisma.NestedEnumNotificationTypeNullableWithAggregatesFilter<$PrismaModel>
|
|
||||||
| $Enums.NotificationType
|
|
||||||
| null
|
|
||||||
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
||||||
_min?: Prisma.NestedEnumNotificationTypeNullableFilter<$PrismaModel>
|
_min?: Prisma.NestedEnumNotificationTypeNullableFilter<$PrismaModel>
|
||||||
_max?: Prisma.NestedEnumNotificationTypeNullableFilter<$PrismaModel>
|
_max?: Prisma.NestedEnumNotificationTypeNullableFilter<$PrismaModel>
|
||||||
@@ -1248,33 +1098,15 @@ export type NestedUuidFilter<$PrismaModel = never> = {
|
|||||||
export type NestedEnumWorkflowTaskTypeNullableFilter<$PrismaModel = never> = {
|
export type NestedEnumWorkflowTaskTypeNullableFilter<$PrismaModel = never> = {
|
||||||
equals?: $Enums.WorkflowTaskType | Prisma.EnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null
|
equals?: $Enums.WorkflowTaskType | Prisma.EnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null
|
||||||
in?: $Enums.WorkflowTaskType[] | Prisma.ListEnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null
|
in?: $Enums.WorkflowTaskType[] | Prisma.ListEnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null
|
||||||
notIn?:
|
notIn?: $Enums.WorkflowTaskType[] | Prisma.ListEnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null
|
||||||
| $Enums.WorkflowTaskType[]
|
not?: Prisma.NestedEnumWorkflowTaskTypeNullableFilter<$PrismaModel> | $Enums.WorkflowTaskType | null
|
||||||
| Prisma.ListEnumWorkflowTaskTypeFieldRefInput<$PrismaModel>
|
|
||||||
| null
|
|
||||||
not?:
|
|
||||||
| Prisma.NestedEnumWorkflowTaskTypeNullableFilter<$PrismaModel>
|
|
||||||
| $Enums.WorkflowTaskType
|
|
||||||
| null
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export type NestedEnumWorkflowTaskStatusNullableFilter<$PrismaModel = never> = {
|
export type NestedEnumWorkflowTaskStatusNullableFilter<$PrismaModel = never> = {
|
||||||
equals?:
|
equals?: $Enums.WorkflowTaskStatus | Prisma.EnumWorkflowTaskStatusFieldRefInput<$PrismaModel> | null
|
||||||
| $Enums.WorkflowTaskStatus
|
in?: $Enums.WorkflowTaskStatus[] | Prisma.ListEnumWorkflowTaskStatusFieldRefInput<$PrismaModel> | null
|
||||||
| Prisma.EnumWorkflowTaskStatusFieldRefInput<$PrismaModel>
|
notIn?: $Enums.WorkflowTaskStatus[] | Prisma.ListEnumWorkflowTaskStatusFieldRefInput<$PrismaModel> | null
|
||||||
| null
|
not?: Prisma.NestedEnumWorkflowTaskStatusNullableFilter<$PrismaModel> | $Enums.WorkflowTaskStatus | null
|
||||||
in?:
|
|
||||||
| $Enums.WorkflowTaskStatus[]
|
|
||||||
| Prisma.ListEnumWorkflowTaskStatusFieldRefInput<$PrismaModel>
|
|
||||||
| null
|
|
||||||
notIn?:
|
|
||||||
| $Enums.WorkflowTaskStatus[]
|
|
||||||
| Prisma.ListEnumWorkflowTaskStatusFieldRefInput<$PrismaModel>
|
|
||||||
| null
|
|
||||||
not?:
|
|
||||||
| Prisma.NestedEnumWorkflowTaskStatusNullableFilter<$PrismaModel>
|
|
||||||
| $Enums.WorkflowTaskStatus
|
|
||||||
| null
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export type NestedUuidWithAggregatesFilter<$PrismaModel = never> = {
|
export type NestedUuidWithAggregatesFilter<$PrismaModel = never> = {
|
||||||
@@ -1294,36 +1126,18 @@ export type NestedUuidWithAggregatesFilter<$PrismaModel = never> = {
|
|||||||
export type NestedEnumWorkflowTaskTypeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
export type NestedEnumWorkflowTaskTypeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
||||||
equals?: $Enums.WorkflowTaskType | Prisma.EnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null
|
equals?: $Enums.WorkflowTaskType | Prisma.EnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null
|
||||||
in?: $Enums.WorkflowTaskType[] | Prisma.ListEnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null
|
in?: $Enums.WorkflowTaskType[] | Prisma.ListEnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null
|
||||||
notIn?:
|
notIn?: $Enums.WorkflowTaskType[] | Prisma.ListEnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null
|
||||||
| $Enums.WorkflowTaskType[]
|
not?: Prisma.NestedEnumWorkflowTaskTypeNullableWithAggregatesFilter<$PrismaModel> | $Enums.WorkflowTaskType | null
|
||||||
| Prisma.ListEnumWorkflowTaskTypeFieldRefInput<$PrismaModel>
|
|
||||||
| null
|
|
||||||
not?:
|
|
||||||
| Prisma.NestedEnumWorkflowTaskTypeNullableWithAggregatesFilter<$PrismaModel>
|
|
||||||
| $Enums.WorkflowTaskType
|
|
||||||
| null
|
|
||||||
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
||||||
_min?: Prisma.NestedEnumWorkflowTaskTypeNullableFilter<$PrismaModel>
|
_min?: Prisma.NestedEnumWorkflowTaskTypeNullableFilter<$PrismaModel>
|
||||||
_max?: Prisma.NestedEnumWorkflowTaskTypeNullableFilter<$PrismaModel>
|
_max?: Prisma.NestedEnumWorkflowTaskTypeNullableFilter<$PrismaModel>
|
||||||
}
|
}
|
||||||
|
|
||||||
export type NestedEnumWorkflowTaskStatusNullableWithAggregatesFilter<$PrismaModel = never> = {
|
export type NestedEnumWorkflowTaskStatusNullableWithAggregatesFilter<$PrismaModel = never> = {
|
||||||
equals?:
|
equals?: $Enums.WorkflowTaskStatus | Prisma.EnumWorkflowTaskStatusFieldRefInput<$PrismaModel> | null
|
||||||
| $Enums.WorkflowTaskStatus
|
in?: $Enums.WorkflowTaskStatus[] | Prisma.ListEnumWorkflowTaskStatusFieldRefInput<$PrismaModel> | null
|
||||||
| Prisma.EnumWorkflowTaskStatusFieldRefInput<$PrismaModel>
|
notIn?: $Enums.WorkflowTaskStatus[] | Prisma.ListEnumWorkflowTaskStatusFieldRefInput<$PrismaModel> | null
|
||||||
| null
|
not?: Prisma.NestedEnumWorkflowTaskStatusNullableWithAggregatesFilter<$PrismaModel> | $Enums.WorkflowTaskStatus | null
|
||||||
in?:
|
|
||||||
| $Enums.WorkflowTaskStatus[]
|
|
||||||
| Prisma.ListEnumWorkflowTaskStatusFieldRefInput<$PrismaModel>
|
|
||||||
| null
|
|
||||||
notIn?:
|
|
||||||
| $Enums.WorkflowTaskStatus[]
|
|
||||||
| Prisma.ListEnumWorkflowTaskStatusFieldRefInput<$PrismaModel>
|
|
||||||
| null
|
|
||||||
not?:
|
|
||||||
| Prisma.NestedEnumWorkflowTaskStatusNullableWithAggregatesFilter<$PrismaModel>
|
|
||||||
| $Enums.WorkflowTaskStatus
|
|
||||||
| null
|
|
||||||
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
||||||
_min?: Prisma.NestedEnumWorkflowTaskStatusNullableFilter<$PrismaModel>
|
_min?: Prisma.NestedEnumWorkflowTaskStatusNullableFilter<$PrismaModel>
|
||||||
_max?: Prisma.NestedEnumWorkflowTaskStatusNullableFilter<$PrismaModel>
|
_max?: Prisma.NestedEnumWorkflowTaskStatusNullableFilter<$PrismaModel>
|
||||||
@@ -1347,20 +1161,14 @@ export type NestedEnumAgentTypeWithAggregatesFilter<$PrismaModel = never> = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export type NestedJsonFilter<$PrismaModel = never> =
|
export type NestedJsonFilter<$PrismaModel = never> =
|
||||||
| Prisma.PatchUndefined<
|
| Prisma.PatchUndefined<
|
||||||
Prisma.Either<
|
Prisma.Either<Required<NestedJsonFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonFilterBase<$PrismaModel>>, 'path'>>,
|
||||||
Required<NestedJsonFilterBase<$PrismaModel>>,
|
Required<NestedJsonFilterBase<$PrismaModel>>
|
||||||
Exclude<keyof Required<NestedJsonFilterBase<$PrismaModel>>, 'path'>
|
>
|
||||||
>,
|
| Prisma.OptionalFlat<Omit<Required<NestedJsonFilterBase<$PrismaModel>>, 'path'>>
|
||||||
Required<NestedJsonFilterBase<$PrismaModel>>
|
|
||||||
>
|
|
||||||
| Prisma.OptionalFlat<Omit<Required<NestedJsonFilterBase<$PrismaModel>>, 'path'>>
|
|
||||||
|
|
||||||
export type NestedJsonFilterBase<$PrismaModel = never> = {
|
export type NestedJsonFilterBase<$PrismaModel = never> = {
|
||||||
equals?:
|
equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
||||||
| runtime.InputJsonValue
|
|
||||||
| Prisma.JsonFieldRefInput<$PrismaModel>
|
|
||||||
| Prisma.JsonNullValueFilter
|
|
||||||
path?: string[]
|
path?: string[]
|
||||||
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>
|
mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel>
|
||||||
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||||
@@ -1375,3 +1183,5 @@ export type NestedJsonFilterBase<$PrismaModel = never> = {
|
|||||||
gte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel>
|
gte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel>
|
||||||
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+34
-19
@@ -1,20 +1,22 @@
|
|||||||
|
|
||||||
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// biome-ignore-all lint: generated file
|
// biome-ignore-all lint: generated file
|
||||||
// @ts-nocheck
|
// @ts-nocheck
|
||||||
/*
|
/*
|
||||||
* This file exports all enum related types from the schema.
|
* This file exports all enum related types from the schema.
|
||||||
*
|
*
|
||||||
* 🟢 You can import this file directly.
|
* 🟢 You can import this file directly.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export const UserType = {
|
export const UserType = {
|
||||||
human: 'human',
|
human: 'human',
|
||||||
agent: 'agent',
|
agent: 'agent'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type UserType = (typeof UserType)[keyof typeof UserType]
|
export type UserType = (typeof UserType)[keyof typeof UserType]
|
||||||
|
|
||||||
|
|
||||||
export const AssetType = {
|
export const AssetType = {
|
||||||
folder: 'folder',
|
folder: 'folder',
|
||||||
file: 'file',
|
file: 'file',
|
||||||
@@ -23,44 +25,49 @@ export const AssetType = {
|
|||||||
attachment: 'attachment',
|
attachment: 'attachment',
|
||||||
version_stack: 'version_stack',
|
version_stack: 'version_stack',
|
||||||
share_root: 'share_root',
|
share_root: 'share_root',
|
||||||
symlink: 'symlink',
|
symlink: 'symlink'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type AssetType = (typeof AssetType)[keyof typeof AssetType]
|
export type AssetType = (typeof AssetType)[keyof typeof AssetType]
|
||||||
|
|
||||||
|
|
||||||
export const AssetStatus = {
|
export const AssetStatus = {
|
||||||
uploading: 'uploading',
|
uploading: 'uploading',
|
||||||
uploaded: 'uploaded',
|
uploaded: 'uploaded',
|
||||||
processing: 'processing',
|
processing: 'processing',
|
||||||
processed: 'processed',
|
processed: 'processed',
|
||||||
trashed: 'trashed',
|
trashed: 'trashed',
|
||||||
pending_purge: 'pending_purge',
|
pending_purge: 'pending_purge'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type AssetStatus = (typeof AssetStatus)[keyof typeof AssetStatus]
|
export type AssetStatus = (typeof AssetStatus)[keyof typeof AssetStatus]
|
||||||
|
|
||||||
|
|
||||||
export const StorageKeyStatus = {
|
export const StorageKeyStatus = {
|
||||||
active: 'active',
|
active: 'active',
|
||||||
purging: 'purging',
|
purging: 'purging'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type StorageKeyStatus = (typeof StorageKeyStatus)[keyof typeof StorageKeyStatus]
|
export type StorageKeyStatus = (typeof StorageKeyStatus)[keyof typeof StorageKeyStatus]
|
||||||
|
|
||||||
|
|
||||||
export const InviteRole = {
|
export const InviteRole = {
|
||||||
editor: 'editor',
|
editor: 'editor',
|
||||||
reviewer: 'reviewer',
|
reviewer: 'reviewer'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type InviteRole = (typeof InviteRole)[keyof typeof InviteRole]
|
export type InviteRole = (typeof InviteRole)[keyof typeof InviteRole]
|
||||||
|
|
||||||
|
|
||||||
export const MetadataFieldScope = {
|
export const MetadataFieldScope = {
|
||||||
SYSTEM: 'SYSTEM',
|
SYSTEM: 'SYSTEM',
|
||||||
TEAM: 'TEAM',
|
TEAM: 'TEAM',
|
||||||
PROJECT: 'PROJECT',
|
PROJECT: 'PROJECT'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type MetadataFieldScope = (typeof MetadataFieldScope)[keyof typeof MetadataFieldScope]
|
export type MetadataFieldScope = (typeof MetadataFieldScope)[keyof typeof MetadataFieldScope]
|
||||||
|
|
||||||
|
|
||||||
export const NotificationType = {
|
export const NotificationType = {
|
||||||
comment_created: 'comment_created',
|
comment_created: 'comment_created',
|
||||||
reply_created: 'reply_created',
|
reply_created: 'reply_created',
|
||||||
@@ -68,73 +75,81 @@ export const NotificationType = {
|
|||||||
successful_file_uploaded: 'successful_file_uploaded',
|
successful_file_uploaded: 'successful_file_uploaded',
|
||||||
metadata_field_updated_status: 'metadata_field_updated_status',
|
metadata_field_updated_status: 'metadata_field_updated_status',
|
||||||
new_user_join_team: 'new_user_join_team',
|
new_user_join_team: 'new_user_join_team',
|
||||||
new_user_join_project: 'new_user_join_project',
|
new_user_join_project: 'new_user_join_project'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type NotificationType = (typeof NotificationType)[keyof typeof NotificationType]
|
export type NotificationType = (typeof NotificationType)[keyof typeof NotificationType]
|
||||||
|
|
||||||
|
|
||||||
export const ProjectMemberRole = {
|
export const ProjectMemberRole = {
|
||||||
owner: 'owner',
|
owner: 'owner',
|
||||||
editor: 'editor',
|
editor: 'editor',
|
||||||
reviewer: 'reviewer',
|
reviewer: 'reviewer'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type ProjectMemberRole = (typeof ProjectMemberRole)[keyof typeof ProjectMemberRole]
|
export type ProjectMemberRole = (typeof ProjectMemberRole)[keyof typeof ProjectMemberRole]
|
||||||
|
|
||||||
|
|
||||||
export const TaskType = {
|
export const TaskType = {
|
||||||
upload: 'upload',
|
upload: 'upload'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type TaskType = (typeof TaskType)[keyof typeof TaskType]
|
export type TaskType = (typeof TaskType)[keyof typeof TaskType]
|
||||||
|
|
||||||
|
|
||||||
export const TaskStatus = {
|
export const TaskStatus = {
|
||||||
pending: 'pending',
|
pending: 'pending',
|
||||||
uploading: 'uploading',
|
uploading: 'uploading',
|
||||||
completed: 'completed',
|
completed: 'completed',
|
||||||
failed: 'failed',
|
failed: 'failed'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type TaskStatus = (typeof TaskStatus)[keyof typeof TaskStatus]
|
export type TaskStatus = (typeof TaskStatus)[keyof typeof TaskStatus]
|
||||||
|
|
||||||
|
|
||||||
export const TeamMemberRole = {
|
export const TeamMemberRole = {
|
||||||
owner: 'owner',
|
owner: 'owner',
|
||||||
editor: 'editor',
|
editor: 'editor',
|
||||||
reviewer: 'reviewer',
|
reviewer: 'reviewer'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type TeamMemberRole = (typeof TeamMemberRole)[keyof typeof TeamMemberRole]
|
export type TeamMemberRole = (typeof TeamMemberRole)[keyof typeof TeamMemberRole]
|
||||||
|
|
||||||
|
|
||||||
export const TeamMemberScope = {
|
export const TeamMemberScope = {
|
||||||
team: 'team',
|
team: 'team',
|
||||||
project: 'project',
|
project: 'project'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type TeamMemberScope = (typeof TeamMemberScope)[keyof typeof TeamMemberScope]
|
export type TeamMemberScope = (typeof TeamMemberScope)[keyof typeof TeamMemberScope]
|
||||||
|
|
||||||
|
|
||||||
export const WorkflowTaskType = {
|
export const WorkflowTaskType = {
|
||||||
transcode: 'transcode',
|
transcode: 'transcode',
|
||||||
ai_metadata_autofill: 'ai_metadata_autofill',
|
ai_metadata_autofill: 'ai_metadata_autofill',
|
||||||
chat: 'chat',
|
chat: 'chat',
|
||||||
ai_embedding: 'ai_embedding',
|
ai_embedding: 'ai_embedding',
|
||||||
query_embedding_for_search: 'query_embedding_for_search',
|
query_embedding_for_search: 'query_embedding_for_search',
|
||||||
agent_tool_call: 'agent_tool_call',
|
agent_tool_call: 'agent_tool_call'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type WorkflowTaskType = (typeof WorkflowTaskType)[keyof typeof WorkflowTaskType]
|
export type WorkflowTaskType = (typeof WorkflowTaskType)[keyof typeof WorkflowTaskType]
|
||||||
|
|
||||||
|
|
||||||
export const WorkflowTaskStatus = {
|
export const WorkflowTaskStatus = {
|
||||||
pending: 'pending',
|
pending: 'pending',
|
||||||
processing: 'processing',
|
processing: 'processing',
|
||||||
completed: 'completed',
|
completed: 'completed',
|
||||||
failed: 'failed',
|
failed: 'failed'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type WorkflowTaskStatus = (typeof WorkflowTaskStatus)[keyof typeof WorkflowTaskStatus]
|
export type WorkflowTaskStatus = (typeof WorkflowTaskStatus)[keyof typeof WorkflowTaskStatus]
|
||||||
|
|
||||||
|
|
||||||
export const AgentType = {
|
export const AgentType = {
|
||||||
chat: 'chat',
|
chat: 'chat',
|
||||||
autofill: 'autofill',
|
autofill: 'autofill',
|
||||||
embedding: 'embedding',
|
embedding: 'embedding'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type AgentType = (typeof AgentType)[keyof typeof AgentType]
|
export type AgentType = (typeof AgentType)[keyof typeof AgentType]
|
||||||
|
|||||||
+279
-320
File diff suppressed because one or more lines are too long
+365
-393
File diff suppressed because it is too large
Load Diff
+116
-101
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// biome-ignore-all lint: generated file
|
// biome-ignore-all lint: generated file
|
||||||
@@ -14,17 +15,18 @@
|
|||||||
* model files in the `model` directory!
|
* model files in the `model` directory!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as runtime from '@prisma/client/runtime/index-browser'
|
import * as runtime from "@prisma/client/runtime/index-browser"
|
||||||
|
|
||||||
export type * from '../models.ts'
|
export type * from '../models.ts'
|
||||||
export type * from './prismaNamespace.ts'
|
export type * from './prismaNamespace.ts'
|
||||||
|
|
||||||
export const Decimal = runtime.Decimal
|
export const Decimal = runtime.Decimal
|
||||||
|
|
||||||
|
|
||||||
export const NullTypes = {
|
export const NullTypes = {
|
||||||
DbNull: runtime.NullTypes.DbNull as new (secret: never) => typeof runtime.DbNull,
|
DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull),
|
||||||
JsonNull: runtime.NullTypes.JsonNull as new (secret: never) => typeof runtime.JsonNull,
|
JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull),
|
||||||
AnyNull: runtime.NullTypes.AnyNull as new (secret: never) => typeof runtime.AnyNull,
|
AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull),
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Helper for filtering JSON entries that have `null` on the database (empty on the db)
|
* Helper for filtering JSON entries that have `null` on the database (empty on the db)
|
||||||
@@ -47,6 +49,7 @@ export const JsonNull = runtime.JsonNull
|
|||||||
*/
|
*/
|
||||||
export const AnyNull = runtime.AnyNull
|
export const AnyNull = runtime.AnyNull
|
||||||
|
|
||||||
|
|
||||||
export const ModelName = {
|
export const ModelName = {
|
||||||
User: 'User',
|
User: 'User',
|
||||||
Session: 'Session',
|
Session: 'Session',
|
||||||
@@ -80,7 +83,7 @@ export const ModelName = {
|
|||||||
Model: 'Model',
|
Model: 'Model',
|
||||||
Provider: 'Provider',
|
Provider: 'Provider',
|
||||||
Collection: 'Collection',
|
Collection: 'Collection',
|
||||||
ApiToken: 'ApiToken',
|
ApiToken: 'ApiToken'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
||||||
@@ -93,11 +96,11 @@ export const TransactionIsolationLevel = runtime.makeStrictEnum({
|
|||||||
ReadUncommitted: 'ReadUncommitted',
|
ReadUncommitted: 'ReadUncommitted',
|
||||||
ReadCommitted: 'ReadCommitted',
|
ReadCommitted: 'ReadCommitted',
|
||||||
RepeatableRead: 'RepeatableRead',
|
RepeatableRead: 'RepeatableRead',
|
||||||
Serializable: 'Serializable',
|
Serializable: 'Serializable'
|
||||||
} as const)
|
} as const)
|
||||||
|
|
||||||
export type TransactionIsolationLevel =
|
export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
|
||||||
(typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
|
|
||||||
|
|
||||||
export const UserScalarFieldEnum = {
|
export const UserScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
@@ -110,11 +113,12 @@ export const UserScalarFieldEnum = {
|
|||||||
agentSettings: 'agentSettings',
|
agentSettings: 'agentSettings',
|
||||||
guestEmail: 'guestEmail',
|
guestEmail: 'guestEmail',
|
||||||
createdAt: 'createdAt',
|
createdAt: 'createdAt',
|
||||||
updatedAt: 'updatedAt',
|
updatedAt: 'updatedAt'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
|
export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
|
||||||
|
|
||||||
|
|
||||||
export const SessionScalarFieldEnum = {
|
export const SessionScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
expiresAt: 'expiresAt',
|
expiresAt: 'expiresAt',
|
||||||
@@ -123,11 +127,11 @@ export const SessionScalarFieldEnum = {
|
|||||||
updatedAt: 'updatedAt',
|
updatedAt: 'updatedAt',
|
||||||
ipAddress: 'ipAddress',
|
ipAddress: 'ipAddress',
|
||||||
userAgent: 'userAgent',
|
userAgent: 'userAgent',
|
||||||
userId: 'userId',
|
userId: 'userId'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type SessionScalarFieldEnum =
|
export type SessionScalarFieldEnum = (typeof SessionScalarFieldEnum)[keyof typeof SessionScalarFieldEnum]
|
||||||
(typeof SessionScalarFieldEnum)[keyof typeof SessionScalarFieldEnum]
|
|
||||||
|
|
||||||
export const AccountScalarFieldEnum = {
|
export const AccountScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
@@ -142,11 +146,11 @@ export const AccountScalarFieldEnum = {
|
|||||||
scope: 'scope',
|
scope: 'scope',
|
||||||
password: 'password',
|
password: 'password',
|
||||||
createdAt: 'createdAt',
|
createdAt: 'createdAt',
|
||||||
updatedAt: 'updatedAt',
|
updatedAt: 'updatedAt'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type AccountScalarFieldEnum =
|
export type AccountScalarFieldEnum = (typeof AccountScalarFieldEnum)[keyof typeof AccountScalarFieldEnum]
|
||||||
(typeof AccountScalarFieldEnum)[keyof typeof AccountScalarFieldEnum]
|
|
||||||
|
|
||||||
export const VerificationScalarFieldEnum = {
|
export const VerificationScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
@@ -154,11 +158,11 @@ export const VerificationScalarFieldEnum = {
|
|||||||
value: 'value',
|
value: 'value',
|
||||||
expiresAt: 'expiresAt',
|
expiresAt: 'expiresAt',
|
||||||
createdAt: 'createdAt',
|
createdAt: 'createdAt',
|
||||||
updatedAt: 'updatedAt',
|
updatedAt: 'updatedAt'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type VerificationScalarFieldEnum =
|
export type VerificationScalarFieldEnum = (typeof VerificationScalarFieldEnum)[keyof typeof VerificationScalarFieldEnum]
|
||||||
(typeof VerificationScalarFieldEnum)[keyof typeof VerificationScalarFieldEnum]
|
|
||||||
|
|
||||||
export const AuthTokenScalarFieldEnum = {
|
export const AuthTokenScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
@@ -166,11 +170,11 @@ export const AuthTokenScalarFieldEnum = {
|
|||||||
refreshToken: 'refreshToken',
|
refreshToken: 'refreshToken',
|
||||||
accessTokenExpiresAt: 'accessTokenExpiresAt',
|
accessTokenExpiresAt: 'accessTokenExpiresAt',
|
||||||
refreshTokenExpiresAt: 'refreshTokenExpiresAt',
|
refreshTokenExpiresAt: 'refreshTokenExpiresAt',
|
||||||
userId: 'userId',
|
userId: 'userId'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type AuthTokenScalarFieldEnum =
|
export type AuthTokenScalarFieldEnum = (typeof AuthTokenScalarFieldEnum)[keyof typeof AuthTokenScalarFieldEnum]
|
||||||
(typeof AuthTokenScalarFieldEnum)[keyof typeof AuthTokenScalarFieldEnum]
|
|
||||||
|
|
||||||
export const TeamScalarFieldEnum = {
|
export const TeamScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
@@ -178,22 +182,23 @@ export const TeamScalarFieldEnum = {
|
|||||||
settings: 'settings',
|
settings: 'settings',
|
||||||
createdAt: 'createdAt',
|
createdAt: 'createdAt',
|
||||||
updatedAt: 'updatedAt',
|
updatedAt: 'updatedAt',
|
||||||
rootFolderId: 'rootFolderId',
|
rootFolderId: 'rootFolderId'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type TeamScalarFieldEnum = (typeof TeamScalarFieldEnum)[keyof typeof TeamScalarFieldEnum]
|
export type TeamScalarFieldEnum = (typeof TeamScalarFieldEnum)[keyof typeof TeamScalarFieldEnum]
|
||||||
|
|
||||||
|
|
||||||
export const SandboxScalarFieldEnum = {
|
export const SandboxScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
allowedDomains: 'allowedDomains',
|
allowedDomains: 'allowedDomains',
|
||||||
pendingDomains: 'pendingDomains',
|
pendingDomains: 'pendingDomains',
|
||||||
createdAt: 'createdAt',
|
createdAt: 'createdAt',
|
||||||
updatedAt: 'updatedAt',
|
updatedAt: 'updatedAt',
|
||||||
teamId: 'teamId',
|
teamId: 'teamId'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type SandboxScalarFieldEnum =
|
export type SandboxScalarFieldEnum = (typeof SandboxScalarFieldEnum)[keyof typeof SandboxScalarFieldEnum]
|
||||||
(typeof SandboxScalarFieldEnum)[keyof typeof SandboxScalarFieldEnum]
|
|
||||||
|
|
||||||
export const SkillScalarFieldEnum = {
|
export const SkillScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
@@ -204,22 +209,23 @@ export const SkillScalarFieldEnum = {
|
|||||||
hash: 'hash',
|
hash: 'hash',
|
||||||
createdAt: 'createdAt',
|
createdAt: 'createdAt',
|
||||||
updatedAt: 'updatedAt',
|
updatedAt: 'updatedAt',
|
||||||
teamId: 'teamId',
|
teamId: 'teamId'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type SkillScalarFieldEnum = (typeof SkillScalarFieldEnum)[keyof typeof SkillScalarFieldEnum]
|
export type SkillScalarFieldEnum = (typeof SkillScalarFieldEnum)[keyof typeof SkillScalarFieldEnum]
|
||||||
|
|
||||||
|
|
||||||
export const TeamMemberScalarFieldEnum = {
|
export const TeamMemberScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
role: 'role',
|
role: 'role',
|
||||||
scope: 'scope',
|
scope: 'scope',
|
||||||
teamId: 'teamId',
|
teamId: 'teamId',
|
||||||
userId: 'userId',
|
userId: 'userId',
|
||||||
lastReadNotificationId: 'lastReadNotificationId',
|
lastReadNotificationId: 'lastReadNotificationId'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type TeamMemberScalarFieldEnum =
|
export type TeamMemberScalarFieldEnum = (typeof TeamMemberScalarFieldEnum)[keyof typeof TeamMemberScalarFieldEnum]
|
||||||
(typeof TeamMemberScalarFieldEnum)[keyof typeof TeamMemberScalarFieldEnum]
|
|
||||||
|
|
||||||
export const ProjectScalarFieldEnum = {
|
export const ProjectScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
@@ -231,21 +237,21 @@ export const ProjectScalarFieldEnum = {
|
|||||||
updatedAt: 'updatedAt',
|
updatedAt: 'updatedAt',
|
||||||
teamId: 'teamId',
|
teamId: 'teamId',
|
||||||
rootFolderId: 'rootFolderId',
|
rootFolderId: 'rootFolderId',
|
||||||
shareRootId: 'shareRootId',
|
shareRootId: 'shareRootId'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type ProjectScalarFieldEnum =
|
export type ProjectScalarFieldEnum = (typeof ProjectScalarFieldEnum)[keyof typeof ProjectScalarFieldEnum]
|
||||||
(typeof ProjectScalarFieldEnum)[keyof typeof ProjectScalarFieldEnum]
|
|
||||||
|
|
||||||
export const ProjectMemberScalarFieldEnum = {
|
export const ProjectMemberScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
role: 'role',
|
role: 'role',
|
||||||
projectId: 'projectId',
|
projectId: 'projectId',
|
||||||
teamMemberId: 'teamMemberId',
|
teamMemberId: 'teamMemberId'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type ProjectMemberScalarFieldEnum =
|
export type ProjectMemberScalarFieldEnum = (typeof ProjectMemberScalarFieldEnum)[keyof typeof ProjectMemberScalarFieldEnum]
|
||||||
(typeof ProjectMemberScalarFieldEnum)[keyof typeof ProjectMemberScalarFieldEnum]
|
|
||||||
|
|
||||||
export const ShareLinkScalarFieldEnum = {
|
export const ShareLinkScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
@@ -260,11 +266,11 @@ export const ShareLinkScalarFieldEnum = {
|
|||||||
updatedAt: 'updatedAt',
|
updatedAt: 'updatedAt',
|
||||||
projectId: 'projectId',
|
projectId: 'projectId',
|
||||||
rootFolderId: 'rootFolderId',
|
rootFolderId: 'rootFolderId',
|
||||||
creatorId: 'creatorId',
|
creatorId: 'creatorId'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type ShareLinkScalarFieldEnum =
|
export type ShareLinkScalarFieldEnum = (typeof ShareLinkScalarFieldEnum)[keyof typeof ShareLinkScalarFieldEnum]
|
||||||
(typeof ShareLinkScalarFieldEnum)[keyof typeof ShareLinkScalarFieldEnum]
|
|
||||||
|
|
||||||
export const AssetScalarFieldEnum = {
|
export const AssetScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
@@ -287,21 +293,22 @@ export const AssetScalarFieldEnum = {
|
|||||||
storageKeyId: 'storageKeyId',
|
storageKeyId: 'storageKeyId',
|
||||||
creatorId: 'creatorId',
|
creatorId: 'creatorId',
|
||||||
taskId: 'taskId',
|
taskId: 'taskId',
|
||||||
projectId: 'projectId',
|
projectId: 'projectId'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type AssetScalarFieldEnum = (typeof AssetScalarFieldEnum)[keyof typeof AssetScalarFieldEnum]
|
export type AssetScalarFieldEnum = (typeof AssetScalarFieldEnum)[keyof typeof AssetScalarFieldEnum]
|
||||||
|
|
||||||
|
|
||||||
export const StorageKeyScalarFieldEnum = {
|
export const StorageKeyScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
key: 'key',
|
key: 'key',
|
||||||
status: 'status',
|
status: 'status',
|
||||||
createdAt: 'createdAt',
|
createdAt: 'createdAt',
|
||||||
updatedAt: 'updatedAt',
|
updatedAt: 'updatedAt'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type StorageKeyScalarFieldEnum =
|
export type StorageKeyScalarFieldEnum = (typeof StorageKeyScalarFieldEnum)[keyof typeof StorageKeyScalarFieldEnum]
|
||||||
(typeof StorageKeyScalarFieldEnum)[keyof typeof StorageKeyScalarFieldEnum]
|
|
||||||
|
|
||||||
export const AssetMetadataValueScalarFieldEnum = {
|
export const AssetMetadataValueScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
@@ -311,11 +318,11 @@ export const AssetMetadataValueScalarFieldEnum = {
|
|||||||
numberValue: 'numberValue',
|
numberValue: 'numberValue',
|
||||||
booleanValue: 'booleanValue',
|
booleanValue: 'booleanValue',
|
||||||
jsonValue: 'jsonValue',
|
jsonValue: 'jsonValue',
|
||||||
dateValue: 'dateValue',
|
dateValue: 'dateValue'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type AssetMetadataValueScalarFieldEnum =
|
export type AssetMetadataValueScalarFieldEnum = (typeof AssetMetadataValueScalarFieldEnum)[keyof typeof AssetMetadataValueScalarFieldEnum]
|
||||||
(typeof AssetMetadataValueScalarFieldEnum)[keyof typeof AssetMetadataValueScalarFieldEnum]
|
|
||||||
|
|
||||||
export const AssetCommentScalarFieldEnum = {
|
export const AssetCommentScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
@@ -327,22 +334,22 @@ export const AssetCommentScalarFieldEnum = {
|
|||||||
updatedAt: 'updatedAt',
|
updatedAt: 'updatedAt',
|
||||||
assetId: 'assetId',
|
assetId: 'assetId',
|
||||||
creatorId: 'creatorId',
|
creatorId: 'creatorId',
|
||||||
replyToId: 'replyToId',
|
replyToId: 'replyToId'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type AssetCommentScalarFieldEnum =
|
export type AssetCommentScalarFieldEnum = (typeof AssetCommentScalarFieldEnum)[keyof typeof AssetCommentScalarFieldEnum]
|
||||||
(typeof AssetCommentScalarFieldEnum)[keyof typeof AssetCommentScalarFieldEnum]
|
|
||||||
|
|
||||||
export const AssetCommentAttachmentScalarFieldEnum = {
|
export const AssetCommentAttachmentScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
createdAt: 'createdAt',
|
createdAt: 'createdAt',
|
||||||
updatedAt: 'updatedAt',
|
updatedAt: 'updatedAt',
|
||||||
commentId: 'commentId',
|
commentId: 'commentId',
|
||||||
assetId: 'assetId',
|
assetId: 'assetId'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type AssetCommentAttachmentScalarFieldEnum =
|
export type AssetCommentAttachmentScalarFieldEnum = (typeof AssetCommentAttachmentScalarFieldEnum)[keyof typeof AssetCommentAttachmentScalarFieldEnum]
|
||||||
(typeof AssetCommentAttachmentScalarFieldEnum)[keyof typeof AssetCommentAttachmentScalarFieldEnum]
|
|
||||||
|
|
||||||
export const AssetEmbeddingScalarFieldEnum = {
|
export const AssetEmbeddingScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
@@ -350,11 +357,11 @@ export const AssetEmbeddingScalarFieldEnum = {
|
|||||||
endTime: 'endTime',
|
endTime: 'endTime',
|
||||||
createdAt: 'createdAt',
|
createdAt: 'createdAt',
|
||||||
updatedAt: 'updatedAt',
|
updatedAt: 'updatedAt',
|
||||||
assetId: 'assetId',
|
assetId: 'assetId'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type AssetEmbeddingScalarFieldEnum =
|
export type AssetEmbeddingScalarFieldEnum = (typeof AssetEmbeddingScalarFieldEnum)[keyof typeof AssetEmbeddingScalarFieldEnum]
|
||||||
(typeof AssetEmbeddingScalarFieldEnum)[keyof typeof AssetEmbeddingScalarFieldEnum]
|
|
||||||
|
|
||||||
export const InviteScalarFieldEnum = {
|
export const InviteScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
@@ -365,11 +372,11 @@ export const InviteScalarFieldEnum = {
|
|||||||
updatedAt: 'updatedAt',
|
updatedAt: 'updatedAt',
|
||||||
teamId: 'teamId',
|
teamId: 'teamId',
|
||||||
projectId: 'projectId',
|
projectId: 'projectId',
|
||||||
inviterId: 'inviterId',
|
inviterId: 'inviterId'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type InviteScalarFieldEnum =
|
export type InviteScalarFieldEnum = (typeof InviteScalarFieldEnum)[keyof typeof InviteScalarFieldEnum]
|
||||||
(typeof InviteScalarFieldEnum)[keyof typeof InviteScalarFieldEnum]
|
|
||||||
|
|
||||||
export const MetadataFieldScalarFieldEnum = {
|
export const MetadataFieldScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
@@ -380,11 +387,11 @@ export const MetadataFieldScalarFieldEnum = {
|
|||||||
aiAutofill: 'aiAutofill',
|
aiAutofill: 'aiAutofill',
|
||||||
description: 'description',
|
description: 'description',
|
||||||
teamId: 'teamId',
|
teamId: 'teamId',
|
||||||
projectId: 'projectId',
|
projectId: 'projectId'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type MetadataFieldScalarFieldEnum =
|
export type MetadataFieldScalarFieldEnum = (typeof MetadataFieldScalarFieldEnum)[keyof typeof MetadataFieldScalarFieldEnum]
|
||||||
(typeof MetadataFieldScalarFieldEnum)[keyof typeof MetadataFieldScalarFieldEnum]
|
|
||||||
|
|
||||||
export const NotificationScalarFieldEnum = {
|
export const NotificationScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
@@ -396,22 +403,22 @@ export const NotificationScalarFieldEnum = {
|
|||||||
creatorId: 'creatorId',
|
creatorId: 'creatorId',
|
||||||
assetId: 'assetId',
|
assetId: 'assetId',
|
||||||
taskId: 'taskId',
|
taskId: 'taskId',
|
||||||
userId: 'userId',
|
userId: 'userId'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type NotificationScalarFieldEnum =
|
export type NotificationScalarFieldEnum = (typeof NotificationScalarFieldEnum)[keyof typeof NotificationScalarFieldEnum]
|
||||||
(typeof NotificationScalarFieldEnum)[keyof typeof NotificationScalarFieldEnum]
|
|
||||||
|
|
||||||
export const SystemSettingsScalarFieldEnum = {
|
export const SystemSettingsScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
key: 'key',
|
key: 'key',
|
||||||
value: 'value',
|
value: 'value',
|
||||||
createdAt: 'createdAt',
|
createdAt: 'createdAt',
|
||||||
updatedAt: 'updatedAt',
|
updatedAt: 'updatedAt'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type SystemSettingsScalarFieldEnum =
|
export type SystemSettingsScalarFieldEnum = (typeof SystemSettingsScalarFieldEnum)[keyof typeof SystemSettingsScalarFieldEnum]
|
||||||
(typeof SystemSettingsScalarFieldEnum)[keyof typeof SystemSettingsScalarFieldEnum]
|
|
||||||
|
|
||||||
export const TaskScalarFieldEnum = {
|
export const TaskScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
@@ -422,11 +429,12 @@ export const TaskScalarFieldEnum = {
|
|||||||
uploaded: 'uploaded',
|
uploaded: 'uploaded',
|
||||||
createdAt: 'createdAt',
|
createdAt: 'createdAt',
|
||||||
updatedAt: 'updatedAt',
|
updatedAt: 'updatedAt',
|
||||||
creatorId: 'creatorId',
|
creatorId: 'creatorId'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type TaskScalarFieldEnum = (typeof TaskScalarFieldEnum)[keyof typeof TaskScalarFieldEnum]
|
export type TaskScalarFieldEnum = (typeof TaskScalarFieldEnum)[keyof typeof TaskScalarFieldEnum]
|
||||||
|
|
||||||
|
|
||||||
export const WorkflowTaskScalarFieldEnum = {
|
export const WorkflowTaskScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
uid: 'uid',
|
uid: 'uid',
|
||||||
@@ -442,11 +450,11 @@ export const WorkflowTaskScalarFieldEnum = {
|
|||||||
outputTokens: 'outputTokens',
|
outputTokens: 'outputTokens',
|
||||||
model: 'model',
|
model: 'model',
|
||||||
createdAt: 'createdAt',
|
createdAt: 'createdAt',
|
||||||
updatedAt: 'updatedAt',
|
updatedAt: 'updatedAt'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type WorkflowTaskScalarFieldEnum =
|
export type WorkflowTaskScalarFieldEnum = (typeof WorkflowTaskScalarFieldEnum)[keyof typeof WorkflowTaskScalarFieldEnum]
|
||||||
(typeof WorkflowTaskScalarFieldEnum)[keyof typeof WorkflowTaskScalarFieldEnum]
|
|
||||||
|
|
||||||
export const AgentScalarFieldEnum = {
|
export const AgentScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
@@ -458,21 +466,22 @@ export const AgentScalarFieldEnum = {
|
|||||||
teamId: 'teamId',
|
teamId: 'teamId',
|
||||||
config: 'config',
|
config: 'config',
|
||||||
createdAt: 'createdAt',
|
createdAt: 'createdAt',
|
||||||
updatedAt: 'updatedAt',
|
updatedAt: 'updatedAt'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type AgentScalarFieldEnum = (typeof AgentScalarFieldEnum)[keyof typeof AgentScalarFieldEnum]
|
export type AgentScalarFieldEnum = (typeof AgentScalarFieldEnum)[keyof typeof AgentScalarFieldEnum]
|
||||||
|
|
||||||
|
|
||||||
export const AgentSkillScalarFieldEnum = {
|
export const AgentSkillScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
agentId: 'agentId',
|
agentId: 'agentId',
|
||||||
skillId: 'skillId',
|
skillId: 'skillId',
|
||||||
createdAt: 'createdAt',
|
createdAt: 'createdAt',
|
||||||
updatedAt: 'updatedAt',
|
updatedAt: 'updatedAt'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type AgentSkillScalarFieldEnum =
|
export type AgentSkillScalarFieldEnum = (typeof AgentSkillScalarFieldEnum)[keyof typeof AgentSkillScalarFieldEnum]
|
||||||
(typeof AgentSkillScalarFieldEnum)[keyof typeof AgentSkillScalarFieldEnum]
|
|
||||||
|
|
||||||
export const AgentSessionScalarFieldEnum = {
|
export const AgentSessionScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
@@ -483,20 +492,20 @@ export const AgentSessionScalarFieldEnum = {
|
|||||||
assetId: 'assetId',
|
assetId: 'assetId',
|
||||||
userCommentId: 'userCommentId',
|
userCommentId: 'userCommentId',
|
||||||
createdAt: 'createdAt',
|
createdAt: 'createdAt',
|
||||||
updatedAt: 'updatedAt',
|
updatedAt: 'updatedAt'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type AgentSessionScalarFieldEnum =
|
export type AgentSessionScalarFieldEnum = (typeof AgentSessionScalarFieldEnum)[keyof typeof AgentSessionScalarFieldEnum]
|
||||||
(typeof AgentSessionScalarFieldEnum)[keyof typeof AgentSessionScalarFieldEnum]
|
|
||||||
|
|
||||||
export const AgentSessionEntryScalarFieldEnum = {
|
export const AgentSessionEntryScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
sessionId: 'sessionId',
|
sessionId: 'sessionId',
|
||||||
entry: 'entry',
|
entry: 'entry'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type AgentSessionEntryScalarFieldEnum =
|
export type AgentSessionEntryScalarFieldEnum = (typeof AgentSessionEntryScalarFieldEnum)[keyof typeof AgentSessionEntryScalarFieldEnum]
|
||||||
(typeof AgentSessionEntryScalarFieldEnum)[keyof typeof AgentSessionEntryScalarFieldEnum]
|
|
||||||
|
|
||||||
export const UserMetadataScalarFieldEnum = {
|
export const UserMetadataScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
@@ -505,11 +514,11 @@ export const UserMetadataScalarFieldEnum = {
|
|||||||
createdAt: 'createdAt',
|
createdAt: 'createdAt',
|
||||||
updatedAt: 'updatedAt',
|
updatedAt: 'updatedAt',
|
||||||
userId: 'userId',
|
userId: 'userId',
|
||||||
teamId: 'teamId',
|
teamId: 'teamId'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type UserMetadataScalarFieldEnum =
|
export type UserMetadataScalarFieldEnum = (typeof UserMetadataScalarFieldEnum)[keyof typeof UserMetadataScalarFieldEnum]
|
||||||
(typeof UserMetadataScalarFieldEnum)[keyof typeof UserMetadataScalarFieldEnum]
|
|
||||||
|
|
||||||
export const ModelScalarFieldEnum = {
|
export const ModelScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
@@ -518,11 +527,12 @@ export const ModelScalarFieldEnum = {
|
|||||||
config: 'config',
|
config: 'config',
|
||||||
createdAt: 'createdAt',
|
createdAt: 'createdAt',
|
||||||
updatedAt: 'updatedAt',
|
updatedAt: 'updatedAt',
|
||||||
providerId: 'providerId',
|
providerId: 'providerId'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type ModelScalarFieldEnum = (typeof ModelScalarFieldEnum)[keyof typeof ModelScalarFieldEnum]
|
export type ModelScalarFieldEnum = (typeof ModelScalarFieldEnum)[keyof typeof ModelScalarFieldEnum]
|
||||||
|
|
||||||
|
|
||||||
export const ProviderScalarFieldEnum = {
|
export const ProviderScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
name: 'name',
|
name: 'name',
|
||||||
@@ -530,11 +540,11 @@ export const ProviderScalarFieldEnum = {
|
|||||||
config: 'config',
|
config: 'config',
|
||||||
createdAt: 'createdAt',
|
createdAt: 'createdAt',
|
||||||
updatedAt: 'updatedAt',
|
updatedAt: 'updatedAt',
|
||||||
teamId: 'teamId',
|
teamId: 'teamId'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type ProviderScalarFieldEnum =
|
export type ProviderScalarFieldEnum = (typeof ProviderScalarFieldEnum)[keyof typeof ProviderScalarFieldEnum]
|
||||||
(typeof ProviderScalarFieldEnum)[keyof typeof ProviderScalarFieldEnum]
|
|
||||||
|
|
||||||
export const CollectionScalarFieldEnum = {
|
export const CollectionScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
@@ -543,11 +553,11 @@ export const CollectionScalarFieldEnum = {
|
|||||||
createdAt: 'createdAt',
|
createdAt: 'createdAt',
|
||||||
updatedAt: 'updatedAt',
|
updatedAt: 'updatedAt',
|
||||||
projectId: 'projectId',
|
projectId: 'projectId',
|
||||||
creatorId: 'creatorId',
|
creatorId: 'creatorId'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type CollectionScalarFieldEnum =
|
export type CollectionScalarFieldEnum = (typeof CollectionScalarFieldEnum)[keyof typeof CollectionScalarFieldEnum]
|
||||||
(typeof CollectionScalarFieldEnum)[keyof typeof CollectionScalarFieldEnum]
|
|
||||||
|
|
||||||
export const ApiTokenScalarFieldEnum = {
|
export const ApiTokenScalarFieldEnum = {
|
||||||
id: 'id',
|
id: 'id',
|
||||||
@@ -555,51 +565,56 @@ export const ApiTokenScalarFieldEnum = {
|
|||||||
name: 'name',
|
name: 'name',
|
||||||
userId: 'userId',
|
userId: 'userId',
|
||||||
createdAt: 'createdAt',
|
createdAt: 'createdAt',
|
||||||
updatedAt: 'updatedAt',
|
updatedAt: 'updatedAt'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type ApiTokenScalarFieldEnum =
|
export type ApiTokenScalarFieldEnum = (typeof ApiTokenScalarFieldEnum)[keyof typeof ApiTokenScalarFieldEnum]
|
||||||
(typeof ApiTokenScalarFieldEnum)[keyof typeof ApiTokenScalarFieldEnum]
|
|
||||||
|
|
||||||
export const SortOrder = {
|
export const SortOrder = {
|
||||||
asc: 'asc',
|
asc: 'asc',
|
||||||
desc: 'desc',
|
desc: 'desc'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]
|
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]
|
||||||
|
|
||||||
|
|
||||||
export const NullableJsonNullValueInput = {
|
export const NullableJsonNullValueInput = {
|
||||||
DbNull: DbNull,
|
DbNull: DbNull,
|
||||||
JsonNull: JsonNull,
|
JsonNull: JsonNull
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type NullableJsonNullValueInput =
|
export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput]
|
||||||
(typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput]
|
|
||||||
|
|
||||||
export const JsonNullValueInput = {
|
export const JsonNullValueInput = {
|
||||||
JsonNull: JsonNull,
|
JsonNull: JsonNull
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput]
|
export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput]
|
||||||
|
|
||||||
|
|
||||||
export const QueryMode = {
|
export const QueryMode = {
|
||||||
default: 'default',
|
default: 'default',
|
||||||
insensitive: 'insensitive',
|
insensitive: 'insensitive'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]
|
export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]
|
||||||
|
|
||||||
|
|
||||||
export const JsonNullValueFilter = {
|
export const JsonNullValueFilter = {
|
||||||
DbNull: DbNull,
|
DbNull: DbNull,
|
||||||
JsonNull: JsonNull,
|
JsonNull: JsonNull,
|
||||||
AnyNull: AnyNull,
|
AnyNull: AnyNull
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter]
|
export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter]
|
||||||
|
|
||||||
|
|
||||||
export const NullsOrder = {
|
export const NullsOrder = {
|
||||||
first: 'first',
|
first: 'first',
|
||||||
last: 'last',
|
last: 'last'
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
|
export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
|
||||||
|
|
||||||
|
|||||||
+1
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// biome-ignore-all lint: generated file
|
// biome-ignore-all lint: generated file
|
||||||
|
|||||||
+284
-558
File diff suppressed because it is too large
Load Diff
+389
-908
File diff suppressed because it is too large
Load Diff
+334
-865
File diff suppressed because it is too large
Load Diff
+222
-534
File diff suppressed because it is too large
Load Diff
+240
-597
File diff suppressed because it is too large
Load Diff
+222
-498
File diff suppressed because it is too large
Load Diff
+732
-1852
File diff suppressed because it is too large
Load Diff
+417
-1036
File diff suppressed because it is too large
Load Diff
+283
-732
File diff suppressed because it is too large
Load Diff
+228
-524
File diff suppressed because it is too large
Load Diff
+270
-601
File diff suppressed because it is too large
Load Diff
+224
-511
File diff suppressed because it is too large
Load Diff
+282
-640
File diff suppressed because it is too large
Load Diff
+295
-684
File diff suppressed because it is too large
Load Diff
+312
-734
File diff suppressed because it is too large
Load Diff
+266
-553
File diff suppressed because it is too large
Load Diff
+425
-1217
File diff suppressed because it is too large
Load Diff
+433
-1072
File diff suppressed because it is too large
Load Diff
+233
-604
File diff suppressed because it is too large
Load Diff
+285
-641
File diff suppressed because it is too large
Load Diff
+206
-437
File diff suppressed because it is too large
Load Diff
+239
-493
File diff suppressed because it is too large
Load Diff
+355
-771
File diff suppressed because it is too large
Load Diff
+283
-563
File diff suppressed because it is too large
Load Diff
+201
-456
File diff suppressed because it is too large
Load Diff
+197
-415
File diff suppressed because it is too large
Load Diff
+277
-613
File diff suppressed because it is too large
Load Diff
+386
-1002
File diff suppressed because it is too large
Load Diff
+282
-739
File diff suppressed because it is too large
Load Diff
+502
-1296
File diff suppressed because it is too large
Load Diff
+286
-651
File diff suppressed because it is too large
Load Diff
+195
-410
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// biome-ignore-all lint: generated file
|
// biome-ignore-all lint: generated file
|
||||||
@@ -8,10 +9,10 @@
|
|||||||
* 🟢 You can import this file directly.
|
* 🟢 You can import this file directly.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import type * as PJTG from '../pjtg'
|
import type * as PJTG from '../pjtg';
|
||||||
import type * as runtime from '@prisma/client/runtime/client'
|
import type * as runtime from "@prisma/client/runtime/client"
|
||||||
import type * as $Enums from '../enums.ts'
|
import type * as $Enums from "../enums.ts"
|
||||||
import type * as Prisma from '../internal/prismaNamespace.ts'
|
import type * as Prisma from "../internal/prismaNamespace.ts"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Model Verification
|
* Model Verification
|
||||||
@@ -53,6 +54,7 @@ export type VerificationCountAggregateOutputType = {
|
|||||||
_all: number
|
_all: number
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
export type VerificationMinAggregateInputType = {
|
export type VerificationMinAggregateInputType = {
|
||||||
id?: true
|
id?: true
|
||||||
identifier?: true
|
identifier?: true
|
||||||
@@ -81,9 +83,7 @@ export type VerificationCountAggregateInputType = {
|
|||||||
_all?: true
|
_all?: true
|
||||||
}
|
}
|
||||||
|
|
||||||
export type VerificationAggregateArgs<
|
export type VerificationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||||
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
||||||
> = {
|
|
||||||
/**
|
/**
|
||||||
* Filter which Verification to aggregate.
|
* Filter which Verification to aggregate.
|
||||||
*/
|
*/
|
||||||
@@ -93,9 +93,7 @@ export type VerificationAggregateArgs<
|
|||||||
*
|
*
|
||||||
* Determine the order of Verifications to fetch.
|
* Determine the order of Verifications to fetch.
|
||||||
*/
|
*/
|
||||||
orderBy?:
|
orderBy?: Prisma.VerificationOrderByWithRelationInput | Prisma.VerificationOrderByWithRelationInput[]
|
||||||
| Prisma.VerificationOrderByWithRelationInput
|
|
||||||
| Prisma.VerificationOrderByWithRelationInput[]
|
|
||||||
/**
|
/**
|
||||||
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
||||||
*
|
*
|
||||||
@@ -118,37 +116,36 @@ export type VerificationAggregateArgs<
|
|||||||
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
||||||
*
|
*
|
||||||
* Count returned Verifications
|
* Count returned Verifications
|
||||||
**/
|
**/
|
||||||
_count?: true | VerificationCountAggregateInputType
|
_count?: true | VerificationCountAggregateInputType
|
||||||
/**
|
/**
|
||||||
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
||||||
*
|
*
|
||||||
* Select which fields to find the minimum value
|
* Select which fields to find the minimum value
|
||||||
**/
|
**/
|
||||||
_min?: VerificationMinAggregateInputType
|
_min?: VerificationMinAggregateInputType
|
||||||
/**
|
/**
|
||||||
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
||||||
*
|
*
|
||||||
* Select which fields to find the maximum value
|
* Select which fields to find the maximum value
|
||||||
**/
|
**/
|
||||||
_max?: VerificationMaxAggregateInputType
|
_max?: VerificationMaxAggregateInputType
|
||||||
}
|
}
|
||||||
|
|
||||||
export type GetVerificationAggregateType<T extends VerificationAggregateArgs> = {
|
export type GetVerificationAggregateType<T extends VerificationAggregateArgs> = {
|
||||||
[P in keyof T & keyof AggregateVerification]: P extends '_count' | 'count'
|
[P in keyof T & keyof AggregateVerification]: P extends '_count' | 'count'
|
||||||
? T[P] extends true
|
? T[P] extends true
|
||||||
? number
|
? number
|
||||||
: Prisma.GetScalarType<T[P], AggregateVerification[P]>
|
: Prisma.GetScalarType<T[P], AggregateVerification[P]>
|
||||||
: Prisma.GetScalarType<T[P], AggregateVerification[P]>
|
: Prisma.GetScalarType<T[P], AggregateVerification[P]>
|
||||||
}
|
}
|
||||||
|
|
||||||
export type VerificationGroupByArgs<
|
|
||||||
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
||||||
> = {
|
|
||||||
|
export type VerificationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||||
where?: Prisma.VerificationWhereInput
|
where?: Prisma.VerificationWhereInput
|
||||||
orderBy?:
|
orderBy?: Prisma.VerificationOrderByWithAggregationInput | Prisma.VerificationOrderByWithAggregationInput[]
|
||||||
| Prisma.VerificationOrderByWithAggregationInput
|
|
||||||
| Prisma.VerificationOrderByWithAggregationInput[]
|
|
||||||
by: Prisma.VerificationScalarFieldEnum[] | Prisma.VerificationScalarFieldEnum
|
by: Prisma.VerificationScalarFieldEnum[] | Prisma.VerificationScalarFieldEnum
|
||||||
having?: Prisma.VerificationScalarWhereWithAggregatesInput
|
having?: Prisma.VerificationScalarWhereWithAggregatesInput
|
||||||
take?: number
|
take?: number
|
||||||
@@ -172,26 +169,29 @@ export type VerificationGroupByOutputType = {
|
|||||||
|
|
||||||
export type GetVerificationGroupByPayload<T extends VerificationGroupByArgs> = Prisma.PrismaPromise<
|
export type GetVerificationGroupByPayload<T extends VerificationGroupByArgs> = Prisma.PrismaPromise<
|
||||||
Array<
|
Array<
|
||||||
Prisma.PickEnumerable<VerificationGroupByOutputType, T['by']> & {
|
Prisma.PickEnumerable<VerificationGroupByOutputType, T['by']> &
|
||||||
[P in keyof T & keyof VerificationGroupByOutputType]: P extends '_count'
|
{
|
||||||
? T[P] extends boolean
|
[P in ((keyof T) & (keyof VerificationGroupByOutputType))]: P extends '_count'
|
||||||
? number
|
? T[P] extends boolean
|
||||||
|
? number
|
||||||
|
: Prisma.GetScalarType<T[P], VerificationGroupByOutputType[P]>
|
||||||
: Prisma.GetScalarType<T[P], VerificationGroupByOutputType[P]>
|
: Prisma.GetScalarType<T[P], VerificationGroupByOutputType[P]>
|
||||||
: Prisma.GetScalarType<T[P], VerificationGroupByOutputType[P]>
|
}
|
||||||
}
|
>
|
||||||
>
|
>
|
||||||
>
|
|
||||||
|
|
||||||
|
|
||||||
export type VerificationWhereInput = {
|
export type VerificationWhereInput = {
|
||||||
AND?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[]
|
AND?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[]
|
||||||
OR?: Prisma.VerificationWhereInput[]
|
OR?: Prisma.VerificationWhereInput[]
|
||||||
NOT?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[]
|
NOT?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[]
|
||||||
id?: Prisma.StringFilter<'Verification'> | string
|
id?: Prisma.StringFilter<"Verification"> | string
|
||||||
identifier?: Prisma.StringFilter<'Verification'> | string
|
identifier?: Prisma.StringFilter<"Verification"> | string
|
||||||
value?: Prisma.StringFilter<'Verification'> | string
|
value?: Prisma.StringFilter<"Verification"> | string
|
||||||
expiresAt?: Prisma.DateTimeFilter<'Verification'> | Date | string
|
expiresAt?: Prisma.DateTimeFilter<"Verification"> | Date | string
|
||||||
createdAt?: Prisma.DateTimeNullableFilter<'Verification'> | Date | string | null
|
createdAt?: Prisma.DateTimeNullableFilter<"Verification"> | Date | string | null
|
||||||
updatedAt?: Prisma.DateTimeNullableFilter<'Verification'> | Date | string | null
|
updatedAt?: Prisma.DateTimeNullableFilter<"Verification"> | Date | string | null
|
||||||
}
|
}
|
||||||
|
|
||||||
export type VerificationOrderByWithRelationInput = {
|
export type VerificationOrderByWithRelationInput = {
|
||||||
@@ -203,20 +203,17 @@ export type VerificationOrderByWithRelationInput = {
|
|||||||
updatedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
updatedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||||
}
|
}
|
||||||
|
|
||||||
export type VerificationWhereUniqueInput = Prisma.AtLeast<
|
export type VerificationWhereUniqueInput = Prisma.AtLeast<{
|
||||||
{
|
id?: string
|
||||||
id?: string
|
AND?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[]
|
||||||
AND?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[]
|
OR?: Prisma.VerificationWhereInput[]
|
||||||
OR?: Prisma.VerificationWhereInput[]
|
NOT?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[]
|
||||||
NOT?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[]
|
identifier?: Prisma.StringFilter<"Verification"> | string
|
||||||
identifier?: Prisma.StringFilter<'Verification'> | string
|
value?: Prisma.StringFilter<"Verification"> | string
|
||||||
value?: Prisma.StringFilter<'Verification'> | string
|
expiresAt?: Prisma.DateTimeFilter<"Verification"> | Date | string
|
||||||
expiresAt?: Prisma.DateTimeFilter<'Verification'> | Date | string
|
createdAt?: Prisma.DateTimeNullableFilter<"Verification"> | Date | string | null
|
||||||
createdAt?: Prisma.DateTimeNullableFilter<'Verification'> | Date | string | null
|
updatedAt?: Prisma.DateTimeNullableFilter<"Verification"> | Date | string | null
|
||||||
updatedAt?: Prisma.DateTimeNullableFilter<'Verification'> | Date | string | null
|
}, "id">
|
||||||
},
|
|
||||||
'id'
|
|
||||||
>
|
|
||||||
|
|
||||||
export type VerificationOrderByWithAggregationInput = {
|
export type VerificationOrderByWithAggregationInput = {
|
||||||
id?: Prisma.SortOrder
|
id?: Prisma.SortOrder
|
||||||
@@ -231,19 +228,15 @@ export type VerificationOrderByWithAggregationInput = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export type VerificationScalarWhereWithAggregatesInput = {
|
export type VerificationScalarWhereWithAggregatesInput = {
|
||||||
AND?:
|
AND?: Prisma.VerificationScalarWhereWithAggregatesInput | Prisma.VerificationScalarWhereWithAggregatesInput[]
|
||||||
| Prisma.VerificationScalarWhereWithAggregatesInput
|
|
||||||
| Prisma.VerificationScalarWhereWithAggregatesInput[]
|
|
||||||
OR?: Prisma.VerificationScalarWhereWithAggregatesInput[]
|
OR?: Prisma.VerificationScalarWhereWithAggregatesInput[]
|
||||||
NOT?:
|
NOT?: Prisma.VerificationScalarWhereWithAggregatesInput | Prisma.VerificationScalarWhereWithAggregatesInput[]
|
||||||
| Prisma.VerificationScalarWhereWithAggregatesInput
|
id?: Prisma.StringWithAggregatesFilter<"Verification"> | string
|
||||||
| Prisma.VerificationScalarWhereWithAggregatesInput[]
|
identifier?: Prisma.StringWithAggregatesFilter<"Verification"> | string
|
||||||
id?: Prisma.StringWithAggregatesFilter<'Verification'> | string
|
value?: Prisma.StringWithAggregatesFilter<"Verification"> | string
|
||||||
identifier?: Prisma.StringWithAggregatesFilter<'Verification'> | string
|
expiresAt?: Prisma.DateTimeWithAggregatesFilter<"Verification"> | Date | string
|
||||||
value?: Prisma.StringWithAggregatesFilter<'Verification'> | string
|
createdAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Verification"> | Date | string | null
|
||||||
expiresAt?: Prisma.DateTimeWithAggregatesFilter<'Verification'> | Date | string
|
updatedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Verification"> | Date | string | null
|
||||||
createdAt?: Prisma.DateTimeNullableWithAggregatesFilter<'Verification'> | Date | string | null
|
|
||||||
updatedAt?: Prisma.DateTimeNullableWithAggregatesFilter<'Verification'> | Date | string | null
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export type VerificationCreateInput = {
|
export type VerificationCreateInput = {
|
||||||
@@ -336,47 +329,34 @@ export type VerificationMinOrderByAggregateInput = {
|
|||||||
updatedAt?: Prisma.SortOrder
|
updatedAt?: Prisma.SortOrder
|
||||||
}
|
}
|
||||||
|
|
||||||
export type VerificationSelect<
|
|
||||||
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
||||||
> = runtime.Types.Extensions.GetSelect<
|
|
||||||
{
|
|
||||||
id?: boolean
|
|
||||||
identifier?: boolean
|
|
||||||
value?: boolean
|
|
||||||
expiresAt?: boolean
|
|
||||||
createdAt?: boolean
|
|
||||||
updatedAt?: boolean
|
|
||||||
},
|
|
||||||
ExtArgs['result']['verification']
|
|
||||||
>
|
|
||||||
|
|
||||||
export type VerificationSelectCreateManyAndReturn<
|
|
||||||
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
||||||
> = runtime.Types.Extensions.GetSelect<
|
|
||||||
{
|
|
||||||
id?: boolean
|
|
||||||
identifier?: boolean
|
|
||||||
value?: boolean
|
|
||||||
expiresAt?: boolean
|
|
||||||
createdAt?: boolean
|
|
||||||
updatedAt?: boolean
|
|
||||||
},
|
|
||||||
ExtArgs['result']['verification']
|
|
||||||
>
|
|
||||||
|
|
||||||
export type VerificationSelectUpdateManyAndReturn<
|
export type VerificationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||||
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
id?: boolean
|
||||||
> = runtime.Types.Extensions.GetSelect<
|
identifier?: boolean
|
||||||
{
|
value?: boolean
|
||||||
id?: boolean
|
expiresAt?: boolean
|
||||||
identifier?: boolean
|
createdAt?: boolean
|
||||||
value?: boolean
|
updatedAt?: boolean
|
||||||
expiresAt?: boolean
|
}, ExtArgs["result"]["verification"]>
|
||||||
createdAt?: boolean
|
|
||||||
updatedAt?: boolean
|
export type VerificationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||||
},
|
id?: boolean
|
||||||
ExtArgs['result']['verification']
|
identifier?: boolean
|
||||||
>
|
value?: boolean
|
||||||
|
expiresAt?: boolean
|
||||||
|
createdAt?: boolean
|
||||||
|
updatedAt?: boolean
|
||||||
|
}, ExtArgs["result"]["verification"]>
|
||||||
|
|
||||||
|
export type VerificationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||||
|
id?: boolean
|
||||||
|
identifier?: boolean
|
||||||
|
value?: boolean
|
||||||
|
expiresAt?: boolean
|
||||||
|
createdAt?: boolean
|
||||||
|
updatedAt?: boolean
|
||||||
|
}, ExtArgs["result"]["verification"]>
|
||||||
|
|
||||||
export type VerificationSelectScalar = {
|
export type VerificationSelectScalar = {
|
||||||
id?: boolean
|
id?: boolean
|
||||||
@@ -387,49 +367,31 @@ export type VerificationSelectScalar = {
|
|||||||
updatedAt?: boolean
|
updatedAt?: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
export type VerificationOmit<
|
export type VerificationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "identifier" | "value" | "expiresAt" | "createdAt" | "updatedAt", ExtArgs["result"]["verification"]>
|
||||||
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
||||||
> = runtime.Types.Extensions.GetOmit<
|
|
||||||
'id' | 'identifier' | 'value' | 'expiresAt' | 'createdAt' | 'updatedAt',
|
|
||||||
ExtArgs['result']['verification']
|
|
||||||
>
|
|
||||||
|
|
||||||
export type $VerificationPayload<
|
export type $VerificationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||||
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
name: "Verification"
|
||||||
> = {
|
|
||||||
name: 'Verification'
|
|
||||||
objects: {}
|
objects: {}
|
||||||
scalars: runtime.Types.Extensions.GetPayloadResult<
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||||
{
|
id: string
|
||||||
id: string
|
identifier: string
|
||||||
identifier: string
|
value: string
|
||||||
value: string
|
expiresAt: Date
|
||||||
expiresAt: Date
|
createdAt: Date | null
|
||||||
createdAt: Date | null
|
updatedAt: Date | null
|
||||||
updatedAt: Date | null
|
}, ExtArgs["result"]["verification"]>
|
||||||
},
|
|
||||||
ExtArgs['result']['verification']
|
|
||||||
>
|
|
||||||
composites: {}
|
composites: {}
|
||||||
}
|
}
|
||||||
|
|
||||||
export type VerificationGetPayload<S extends boolean | null | undefined | VerificationDefaultArgs> =
|
export type VerificationGetPayload<S extends boolean | null | undefined | VerificationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$VerificationPayload, S>
|
||||||
runtime.Types.Result.GetResult<Prisma.$VerificationPayload, S>
|
|
||||||
|
|
||||||
export type VerificationCountArgs<
|
export type VerificationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
||||||
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
Omit<VerificationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
||||||
> = Omit<VerificationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
select?: VerificationCountAggregateInputType | true
|
||||||
select?: VerificationCountAggregateInputType | true
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface VerificationDelegate<
|
|
||||||
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
||||||
GlobalOmitOptions = {},
|
|
||||||
> {
|
|
||||||
[K: symbol]: {
|
|
||||||
types: Prisma.TypeMap<ExtArgs>['model']['Verification']
|
|
||||||
meta: { name: 'Verification' }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface VerificationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
||||||
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Verification'], meta: { name: 'Verification' } }
|
||||||
/**
|
/**
|
||||||
* Find zero or one Verification that matches the filter.
|
* Find zero or one Verification that matches the filter.
|
||||||
* @param {VerificationFindUniqueArgs} args - Arguments to find a Verification
|
* @param {VerificationFindUniqueArgs} args - Arguments to find a Verification
|
||||||
@@ -441,19 +403,7 @@ export interface VerificationDelegate<
|
|||||||
* }
|
* }
|
||||||
* })
|
* })
|
||||||
*/
|
*/
|
||||||
findUnique<T extends VerificationFindUniqueArgs>(
|
findUnique<T extends VerificationFindUniqueArgs>(args: Prisma.SelectSubset<T, VerificationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__VerificationClient<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||||
args: Prisma.SelectSubset<T, VerificationFindUniqueArgs<ExtArgs>>,
|
|
||||||
): Prisma.Prisma__VerificationClient<
|
|
||||||
runtime.Types.Result.GetResult<
|
|
||||||
Prisma.$VerificationPayload<ExtArgs>,
|
|
||||||
T,
|
|
||||||
'findUnique',
|
|
||||||
GlobalOmitOptions
|
|
||||||
> | null,
|
|
||||||
null,
|
|
||||||
ExtArgs,
|
|
||||||
GlobalOmitOptions
|
|
||||||
>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Find one Verification that matches the filter or throw an error with `error.code='P2025'`
|
* Find one Verification that matches the filter or throw an error with `error.code='P2025'`
|
||||||
@@ -467,19 +417,7 @@ export interface VerificationDelegate<
|
|||||||
* }
|
* }
|
||||||
* })
|
* })
|
||||||
*/
|
*/
|
||||||
findUniqueOrThrow<T extends VerificationFindUniqueOrThrowArgs>(
|
findUniqueOrThrow<T extends VerificationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, VerificationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__VerificationClient<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
||||||
args: Prisma.SelectSubset<T, VerificationFindUniqueOrThrowArgs<ExtArgs>>,
|
|
||||||
): Prisma.Prisma__VerificationClient<
|
|
||||||
runtime.Types.Result.GetResult<
|
|
||||||
Prisma.$VerificationPayload<ExtArgs>,
|
|
||||||
T,
|
|
||||||
'findUniqueOrThrow',
|
|
||||||
GlobalOmitOptions
|
|
||||||
>,
|
|
||||||
never,
|
|
||||||
ExtArgs,
|
|
||||||
GlobalOmitOptions
|
|
||||||
>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Find the first Verification that matches the filter.
|
* Find the first Verification that matches the filter.
|
||||||
@@ -494,19 +432,7 @@ export interface VerificationDelegate<
|
|||||||
* }
|
* }
|
||||||
* })
|
* })
|
||||||
*/
|
*/
|
||||||
findFirst<T extends VerificationFindFirstArgs>(
|
findFirst<T extends VerificationFindFirstArgs>(args?: Prisma.SelectSubset<T, VerificationFindFirstArgs<ExtArgs>>): Prisma.Prisma__VerificationClient<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||||
args?: Prisma.SelectSubset<T, VerificationFindFirstArgs<ExtArgs>>,
|
|
||||||
): Prisma.Prisma__VerificationClient<
|
|
||||||
runtime.Types.Result.GetResult<
|
|
||||||
Prisma.$VerificationPayload<ExtArgs>,
|
|
||||||
T,
|
|
||||||
'findFirst',
|
|
||||||
GlobalOmitOptions
|
|
||||||
> | null,
|
|
||||||
null,
|
|
||||||
ExtArgs,
|
|
||||||
GlobalOmitOptions
|
|
||||||
>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Find the first Verification that matches the filter or
|
* Find the first Verification that matches the filter or
|
||||||
@@ -522,19 +448,7 @@ export interface VerificationDelegate<
|
|||||||
* }
|
* }
|
||||||
* })
|
* })
|
||||||
*/
|
*/
|
||||||
findFirstOrThrow<T extends VerificationFindFirstOrThrowArgs>(
|
findFirstOrThrow<T extends VerificationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, VerificationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__VerificationClient<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
||||||
args?: Prisma.SelectSubset<T, VerificationFindFirstOrThrowArgs<ExtArgs>>,
|
|
||||||
): Prisma.Prisma__VerificationClient<
|
|
||||||
runtime.Types.Result.GetResult<
|
|
||||||
Prisma.$VerificationPayload<ExtArgs>,
|
|
||||||
T,
|
|
||||||
'findFirstOrThrow',
|
|
||||||
GlobalOmitOptions
|
|
||||||
>,
|
|
||||||
never,
|
|
||||||
ExtArgs,
|
|
||||||
GlobalOmitOptions
|
|
||||||
>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Find zero or more Verifications that matches the filter.
|
* Find zero or more Verifications that matches the filter.
|
||||||
@@ -552,16 +466,7 @@ export interface VerificationDelegate<
|
|||||||
* const verificationWithIdOnly = await prisma.verification.findMany({ select: { id: true } })
|
* const verificationWithIdOnly = await prisma.verification.findMany({ select: { id: true } })
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
findMany<T extends VerificationFindManyArgs>(
|
findMany<T extends VerificationFindManyArgs>(args?: Prisma.SelectSubset<T, VerificationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
||||||
args?: Prisma.SelectSubset<T, VerificationFindManyArgs<ExtArgs>>,
|
|
||||||
): Prisma.PrismaPromise<
|
|
||||||
runtime.Types.Result.GetResult<
|
|
||||||
Prisma.$VerificationPayload<ExtArgs>,
|
|
||||||
T,
|
|
||||||
'findMany',
|
|
||||||
GlobalOmitOptions
|
|
||||||
>
|
|
||||||
>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a Verification.
|
* Create a Verification.
|
||||||
@@ -575,19 +480,7 @@ export interface VerificationDelegate<
|
|||||||
* })
|
* })
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
create<T extends VerificationCreateArgs>(
|
create<T extends VerificationCreateArgs>(args: Prisma.SelectSubset<T, VerificationCreateArgs<ExtArgs>>): Prisma.Prisma__VerificationClient<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
||||||
args: Prisma.SelectSubset<T, VerificationCreateArgs<ExtArgs>>,
|
|
||||||
): Prisma.Prisma__VerificationClient<
|
|
||||||
runtime.Types.Result.GetResult<
|
|
||||||
Prisma.$VerificationPayload<ExtArgs>,
|
|
||||||
T,
|
|
||||||
'create',
|
|
||||||
GlobalOmitOptions
|
|
||||||
>,
|
|
||||||
never,
|
|
||||||
ExtArgs,
|
|
||||||
GlobalOmitOptions
|
|
||||||
>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create many Verifications.
|
* Create many Verifications.
|
||||||
@@ -601,9 +494,7 @@ export interface VerificationDelegate<
|
|||||||
* })
|
* })
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
createMany<T extends VerificationCreateManyArgs>(
|
createMany<T extends VerificationCreateManyArgs>(args?: Prisma.SelectSubset<T, VerificationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
||||||
args?: Prisma.SelectSubset<T, VerificationCreateManyArgs<ExtArgs>>,
|
|
||||||
): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create many Verifications and returns the data saved in the database.
|
* Create many Verifications and returns the data saved in the database.
|
||||||
@@ -627,16 +518,7 @@ export interface VerificationDelegate<
|
|||||||
* Read more here: https://pris.ly/d/null-undefined
|
* Read more here: https://pris.ly/d/null-undefined
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
createManyAndReturn<T extends VerificationCreateManyAndReturnArgs>(
|
createManyAndReturn<T extends VerificationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, VerificationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
||||||
args?: Prisma.SelectSubset<T, VerificationCreateManyAndReturnArgs<ExtArgs>>,
|
|
||||||
): Prisma.PrismaPromise<
|
|
||||||
runtime.Types.Result.GetResult<
|
|
||||||
Prisma.$VerificationPayload<ExtArgs>,
|
|
||||||
T,
|
|
||||||
'createManyAndReturn',
|
|
||||||
GlobalOmitOptions
|
|
||||||
>
|
|
||||||
>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Delete a Verification.
|
* Delete a Verification.
|
||||||
@@ -650,19 +532,7 @@ export interface VerificationDelegate<
|
|||||||
* })
|
* })
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
delete<T extends VerificationDeleteArgs>(
|
delete<T extends VerificationDeleteArgs>(args: Prisma.SelectSubset<T, VerificationDeleteArgs<ExtArgs>>): Prisma.Prisma__VerificationClient<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
||||||
args: Prisma.SelectSubset<T, VerificationDeleteArgs<ExtArgs>>,
|
|
||||||
): Prisma.Prisma__VerificationClient<
|
|
||||||
runtime.Types.Result.GetResult<
|
|
||||||
Prisma.$VerificationPayload<ExtArgs>,
|
|
||||||
T,
|
|
||||||
'delete',
|
|
||||||
GlobalOmitOptions
|
|
||||||
>,
|
|
||||||
never,
|
|
||||||
ExtArgs,
|
|
||||||
GlobalOmitOptions
|
|
||||||
>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Update one Verification.
|
* Update one Verification.
|
||||||
@@ -679,19 +549,7 @@ export interface VerificationDelegate<
|
|||||||
* })
|
* })
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
update<T extends VerificationUpdateArgs>(
|
update<T extends VerificationUpdateArgs>(args: Prisma.SelectSubset<T, VerificationUpdateArgs<ExtArgs>>): Prisma.Prisma__VerificationClient<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
||||||
args: Prisma.SelectSubset<T, VerificationUpdateArgs<ExtArgs>>,
|
|
||||||
): Prisma.Prisma__VerificationClient<
|
|
||||||
runtime.Types.Result.GetResult<
|
|
||||||
Prisma.$VerificationPayload<ExtArgs>,
|
|
||||||
T,
|
|
||||||
'update',
|
|
||||||
GlobalOmitOptions
|
|
||||||
>,
|
|
||||||
never,
|
|
||||||
ExtArgs,
|
|
||||||
GlobalOmitOptions
|
|
||||||
>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Delete zero or more Verifications.
|
* Delete zero or more Verifications.
|
||||||
@@ -705,9 +563,7 @@ export interface VerificationDelegate<
|
|||||||
* })
|
* })
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
deleteMany<T extends VerificationDeleteManyArgs>(
|
deleteMany<T extends VerificationDeleteManyArgs>(args?: Prisma.SelectSubset<T, VerificationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
||||||
args?: Prisma.SelectSubset<T, VerificationDeleteManyArgs<ExtArgs>>,
|
|
||||||
): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Update zero or more Verifications.
|
* Update zero or more Verifications.
|
||||||
@@ -726,9 +582,7 @@ export interface VerificationDelegate<
|
|||||||
* })
|
* })
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
updateMany<T extends VerificationUpdateManyArgs>(
|
updateMany<T extends VerificationUpdateManyArgs>(args: Prisma.SelectSubset<T, VerificationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
||||||
args: Prisma.SelectSubset<T, VerificationUpdateManyArgs<ExtArgs>>,
|
|
||||||
): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Update zero or more Verifications and returns the data updated in the database.
|
* Update zero or more Verifications and returns the data updated in the database.
|
||||||
@@ -758,16 +612,7 @@ export interface VerificationDelegate<
|
|||||||
* Read more here: https://pris.ly/d/null-undefined
|
* Read more here: https://pris.ly/d/null-undefined
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
updateManyAndReturn<T extends VerificationUpdateManyAndReturnArgs>(
|
updateManyAndReturn<T extends VerificationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, VerificationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
||||||
args: Prisma.SelectSubset<T, VerificationUpdateManyAndReturnArgs<ExtArgs>>,
|
|
||||||
): Prisma.PrismaPromise<
|
|
||||||
runtime.Types.Result.GetResult<
|
|
||||||
Prisma.$VerificationPayload<ExtArgs>,
|
|
||||||
T,
|
|
||||||
'updateManyAndReturn',
|
|
||||||
GlobalOmitOptions
|
|
||||||
>
|
|
||||||
>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create or update one Verification.
|
* Create or update one Verification.
|
||||||
@@ -786,19 +631,8 @@ export interface VerificationDelegate<
|
|||||||
* }
|
* }
|
||||||
* })
|
* })
|
||||||
*/
|
*/
|
||||||
upsert<T extends VerificationUpsertArgs>(
|
upsert<T extends VerificationUpsertArgs>(args: Prisma.SelectSubset<T, VerificationUpsertArgs<ExtArgs>>): Prisma.Prisma__VerificationClient<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
||||||
args: Prisma.SelectSubset<T, VerificationUpsertArgs<ExtArgs>>,
|
|
||||||
): Prisma.Prisma__VerificationClient<
|
|
||||||
runtime.Types.Result.GetResult<
|
|
||||||
Prisma.$VerificationPayload<ExtArgs>,
|
|
||||||
T,
|
|
||||||
'upsert',
|
|
||||||
GlobalOmitOptions
|
|
||||||
>,
|
|
||||||
never,
|
|
||||||
ExtArgs,
|
|
||||||
GlobalOmitOptions
|
|
||||||
>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Count the number of Verifications.
|
* Count the number of Verifications.
|
||||||
@@ -812,7 +646,7 @@ export interface VerificationDelegate<
|
|||||||
* // ... the filter for the Verifications we want to count
|
* // ... the filter for the Verifications we want to count
|
||||||
* }
|
* }
|
||||||
* })
|
* })
|
||||||
**/
|
**/
|
||||||
count<T extends VerificationCountArgs>(
|
count<T extends VerificationCountArgs>(
|
||||||
args?: Prisma.Subset<T, VerificationCountArgs>,
|
args?: Prisma.Subset<T, VerificationCountArgs>,
|
||||||
): Prisma.PrismaPromise<
|
): Prisma.PrismaPromise<
|
||||||
@@ -846,10 +680,8 @@ export interface VerificationDelegate<
|
|||||||
* },
|
* },
|
||||||
* take: 10,
|
* take: 10,
|
||||||
* })
|
* })
|
||||||
**/
|
**/
|
||||||
aggregate<T extends VerificationAggregateArgs>(
|
aggregate<T extends VerificationAggregateArgs>(args: Prisma.Subset<T, VerificationAggregateArgs>): Prisma.PrismaPromise<GetVerificationAggregateType<T>>
|
||||||
args: Prisma.Subset<T, VerificationAggregateArgs>,
|
|
||||||
): Prisma.PrismaPromise<GetVerificationAggregateType<T>>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Group by Verification.
|
* Group by Verification.
|
||||||
@@ -868,7 +700,7 @@ export interface VerificationDelegate<
|
|||||||
* },
|
* },
|
||||||
* })
|
* })
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
groupBy<
|
groupBy<
|
||||||
T extends VerificationGroupByArgs,
|
T extends VerificationGroupByArgs,
|
||||||
HasSelectOrTake extends Prisma.Or<
|
HasSelectOrTake extends Prisma.Or<
|
||||||
@@ -878,58 +710,59 @@ export interface VerificationDelegate<
|
|||||||
OrderByArg extends Prisma.True extends HasSelectOrTake
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
||||||
? { orderBy: VerificationGroupByArgs['orderBy'] }
|
? { orderBy: VerificationGroupByArgs['orderBy'] }
|
||||||
: { orderBy?: VerificationGroupByArgs['orderBy'] },
|
: { orderBy?: VerificationGroupByArgs['orderBy'] },
|
||||||
OrderFields extends Prisma.ExcludeUnderscoreKeys<
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
||||||
Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>
|
|
||||||
>,
|
|
||||||
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
||||||
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
||||||
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
||||||
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
||||||
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
||||||
InputErrors extends ByEmpty extends Prisma.True
|
InputErrors extends ByEmpty extends Prisma.True
|
||||||
? `Error: "by" must not be empty.`
|
? `Error: "by" must not be empty.`
|
||||||
: HavingValid extends Prisma.False
|
: HavingValid extends Prisma.False
|
||||||
? {
|
? {
|
||||||
[P in HavingFields]: P extends ByFields
|
[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
|
? never
|
||||||
: P extends string
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
||||||
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
}[OrderFields]
|
||||||
: [Error, 'Field ', P, ` in "having" needs to be provided in "by"`]
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
||||||
}[HavingFields]
|
: 'skip' extends Prisma.Keys<T>
|
||||||
: 'take' extends Prisma.Keys<T>
|
? 'orderBy' extends Prisma.Keys<T>
|
||||||
? 'orderBy' extends Prisma.Keys<T>
|
? ByValid extends Prisma.True
|
||||||
? ByValid extends Prisma.True
|
? {}
|
||||||
? {}
|
: {
|
||||||
: {
|
[P in OrderFields]: P extends ByFields
|
||||||
[P in OrderFields]: P extends ByFields
|
? never
|
||||||
? never
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
||||||
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
}[OrderFields]
|
||||||
}[OrderFields]
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
||||||
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
: ByValid extends Prisma.True
|
||||||
: '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"`
|
||||||
[P in OrderFields]: P extends ByFields
|
}[OrderFields]
|
||||||
? never
|
>(args: Prisma.SubsetIntersection<T, VerificationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetVerificationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
||||||
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
/**
|
||||||
}[OrderFields]
|
* Fields of the Verification model
|
||||||
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
*/
|
||||||
: ByValid extends Prisma.True
|
readonly fields: VerificationFieldRefs;
|
||||||
? {}
|
|
||||||
: {
|
|
||||||
[P in OrderFields]: P extends ByFields
|
|
||||||
? never
|
|
||||||
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
||||||
}[OrderFields],
|
|
||||||
>(
|
|
||||||
args: Prisma.SubsetIntersection<T, VerificationGroupByArgs, OrderByArg> & InputErrors,
|
|
||||||
): {} extends InputErrors ? GetVerificationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
||||||
/**
|
|
||||||
* Fields of the Verification model
|
|
||||||
*/
|
|
||||||
readonly fields: VerificationFieldRefs
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -938,31 +771,21 @@ export interface VerificationDelegate<
|
|||||||
* Because we want to prevent naming conflicts as mentioned in
|
* Because we want to prevent naming conflicts as mentioned in
|
||||||
* https://github.com/prisma/prisma-client-js/issues/707
|
* https://github.com/prisma/prisma-client-js/issues/707
|
||||||
*/
|
*/
|
||||||
export interface Prisma__VerificationClient<
|
export interface Prisma__VerificationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
||||||
T,
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
||||||
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.
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
||||||
* @param onfulfilled The callback to execute when the Promise is resolved.
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
||||||
* @param onrejected The callback to execute when the Promise is rejected.
|
* @param onrejected The callback to execute when the Promise is rejected.
|
||||||
* @returns A Promise for the completion of which ever callback is executed.
|
* @returns A Promise for the completion of which ever callback is executed.
|
||||||
*/
|
*/
|
||||||
then<TResult1 = T, TResult2 = never>(
|
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>
|
||||||
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.
|
* Attaches a callback for only the rejection of the Promise.
|
||||||
* @param onrejected The callback to execute when the Promise is rejected.
|
* @param onrejected The callback to execute when the Promise is rejected.
|
||||||
* @returns A Promise for the completion of the callback.
|
* @returns A Promise for the completion of the callback.
|
||||||
*/
|
*/
|
||||||
catch<TResult = never>(
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
||||||
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
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
||||||
* resolved value cannot be modified from the callback.
|
* resolved value cannot be modified from the callback.
|
||||||
@@ -972,25 +795,27 @@ export interface Prisma__VerificationClient<
|
|||||||
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fields of the Verification model
|
* Fields of the Verification model
|
||||||
*/
|
*/
|
||||||
export interface VerificationFieldRefs {
|
export interface VerificationFieldRefs {
|
||||||
readonly id: Prisma.FieldRef<'Verification', 'String'>
|
readonly id: Prisma.FieldRef<"Verification", 'String'>
|
||||||
readonly identifier: Prisma.FieldRef<'Verification', 'String'>
|
readonly identifier: Prisma.FieldRef<"Verification", 'String'>
|
||||||
readonly value: Prisma.FieldRef<'Verification', 'String'>
|
readonly value: Prisma.FieldRef<"Verification", 'String'>
|
||||||
readonly expiresAt: Prisma.FieldRef<'Verification', 'DateTime'>
|
readonly expiresAt: Prisma.FieldRef<"Verification", 'DateTime'>
|
||||||
readonly createdAt: Prisma.FieldRef<'Verification', 'DateTime'>
|
readonly createdAt: Prisma.FieldRef<"Verification", 'DateTime'>
|
||||||
readonly updatedAt: Prisma.FieldRef<'Verification', 'DateTime'>
|
readonly updatedAt: Prisma.FieldRef<"Verification", 'DateTime'>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Custom InputTypes
|
// Custom InputTypes
|
||||||
/**
|
/**
|
||||||
* Verification findUnique
|
* Verification findUnique
|
||||||
*/
|
*/
|
||||||
export type VerificationFindUniqueArgs<
|
export type VerificationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||||
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
||||||
> = {
|
|
||||||
/**
|
/**
|
||||||
* Select specific fields to fetch from the Verification
|
* Select specific fields to fetch from the Verification
|
||||||
*/
|
*/
|
||||||
@@ -1008,9 +833,7 @@ export type VerificationFindUniqueArgs<
|
|||||||
/**
|
/**
|
||||||
* Verification findUniqueOrThrow
|
* Verification findUniqueOrThrow
|
||||||
*/
|
*/
|
||||||
export type VerificationFindUniqueOrThrowArgs<
|
export type VerificationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||||
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
||||||
> = {
|
|
||||||
/**
|
/**
|
||||||
* Select specific fields to fetch from the Verification
|
* Select specific fields to fetch from the Verification
|
||||||
*/
|
*/
|
||||||
@@ -1028,9 +851,7 @@ export type VerificationFindUniqueOrThrowArgs<
|
|||||||
/**
|
/**
|
||||||
* Verification findFirst
|
* Verification findFirst
|
||||||
*/
|
*/
|
||||||
export type VerificationFindFirstArgs<
|
export type VerificationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||||
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
||||||
> = {
|
|
||||||
/**
|
/**
|
||||||
* Select specific fields to fetch from the Verification
|
* Select specific fields to fetch from the Verification
|
||||||
*/
|
*/
|
||||||
@@ -1048,9 +869,7 @@ export type VerificationFindFirstArgs<
|
|||||||
*
|
*
|
||||||
* Determine the order of Verifications to fetch.
|
* Determine the order of Verifications to fetch.
|
||||||
*/
|
*/
|
||||||
orderBy?:
|
orderBy?: Prisma.VerificationOrderByWithRelationInput | Prisma.VerificationOrderByWithRelationInput[]
|
||||||
| Prisma.VerificationOrderByWithRelationInput
|
|
||||||
| Prisma.VerificationOrderByWithRelationInput[]
|
|
||||||
/**
|
/**
|
||||||
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
||||||
*
|
*
|
||||||
@@ -1080,9 +899,7 @@ export type VerificationFindFirstArgs<
|
|||||||
/**
|
/**
|
||||||
* Verification findFirstOrThrow
|
* Verification findFirstOrThrow
|
||||||
*/
|
*/
|
||||||
export type VerificationFindFirstOrThrowArgs<
|
export type VerificationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||||
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
||||||
> = {
|
|
||||||
/**
|
/**
|
||||||
* Select specific fields to fetch from the Verification
|
* Select specific fields to fetch from the Verification
|
||||||
*/
|
*/
|
||||||
@@ -1100,9 +917,7 @@ export type VerificationFindFirstOrThrowArgs<
|
|||||||
*
|
*
|
||||||
* Determine the order of Verifications to fetch.
|
* Determine the order of Verifications to fetch.
|
||||||
*/
|
*/
|
||||||
orderBy?:
|
orderBy?: Prisma.VerificationOrderByWithRelationInput | Prisma.VerificationOrderByWithRelationInput[]
|
||||||
| Prisma.VerificationOrderByWithRelationInput
|
|
||||||
| Prisma.VerificationOrderByWithRelationInput[]
|
|
||||||
/**
|
/**
|
||||||
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
||||||
*
|
*
|
||||||
@@ -1132,9 +947,7 @@ export type VerificationFindFirstOrThrowArgs<
|
|||||||
/**
|
/**
|
||||||
* Verification findMany
|
* Verification findMany
|
||||||
*/
|
*/
|
||||||
export type VerificationFindManyArgs<
|
export type VerificationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||||
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
||||||
> = {
|
|
||||||
/**
|
/**
|
||||||
* Select specific fields to fetch from the Verification
|
* Select specific fields to fetch from the Verification
|
||||||
*/
|
*/
|
||||||
@@ -1152,9 +965,7 @@ export type VerificationFindManyArgs<
|
|||||||
*
|
*
|
||||||
* Determine the order of Verifications to fetch.
|
* Determine the order of Verifications to fetch.
|
||||||
*/
|
*/
|
||||||
orderBy?:
|
orderBy?: Prisma.VerificationOrderByWithRelationInput | Prisma.VerificationOrderByWithRelationInput[]
|
||||||
| Prisma.VerificationOrderByWithRelationInput
|
|
||||||
| Prisma.VerificationOrderByWithRelationInput[]
|
|
||||||
/**
|
/**
|
||||||
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
||||||
*
|
*
|
||||||
@@ -1184,9 +995,7 @@ export type VerificationFindManyArgs<
|
|||||||
/**
|
/**
|
||||||
* Verification create
|
* Verification create
|
||||||
*/
|
*/
|
||||||
export type VerificationCreateArgs<
|
export type VerificationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||||
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
||||||
> = {
|
|
||||||
/**
|
/**
|
||||||
* Select specific fields to fetch from the Verification
|
* Select specific fields to fetch from the Verification
|
||||||
*/
|
*/
|
||||||
@@ -1204,9 +1013,7 @@ export type VerificationCreateArgs<
|
|||||||
/**
|
/**
|
||||||
* Verification createMany
|
* Verification createMany
|
||||||
*/
|
*/
|
||||||
export type VerificationCreateManyArgs<
|
export type VerificationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||||
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
||||||
> = {
|
|
||||||
/**
|
/**
|
||||||
* The data used to create many Verifications.
|
* The data used to create many Verifications.
|
||||||
*/
|
*/
|
||||||
@@ -1217,9 +1024,7 @@ export type VerificationCreateManyArgs<
|
|||||||
/**
|
/**
|
||||||
* Verification createManyAndReturn
|
* Verification createManyAndReturn
|
||||||
*/
|
*/
|
||||||
export type VerificationCreateManyAndReturnArgs<
|
export type VerificationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||||
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
||||||
> = {
|
|
||||||
/**
|
/**
|
||||||
* Select specific fields to fetch from the Verification
|
* Select specific fields to fetch from the Verification
|
||||||
*/
|
*/
|
||||||
@@ -1238,9 +1043,7 @@ export type VerificationCreateManyAndReturnArgs<
|
|||||||
/**
|
/**
|
||||||
* Verification update
|
* Verification update
|
||||||
*/
|
*/
|
||||||
export type VerificationUpdateArgs<
|
export type VerificationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||||
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
||||||
> = {
|
|
||||||
/**
|
/**
|
||||||
* Select specific fields to fetch from the Verification
|
* Select specific fields to fetch from the Verification
|
||||||
*/
|
*/
|
||||||
@@ -1262,16 +1065,11 @@ export type VerificationUpdateArgs<
|
|||||||
/**
|
/**
|
||||||
* Verification updateMany
|
* Verification updateMany
|
||||||
*/
|
*/
|
||||||
export type VerificationUpdateManyArgs<
|
export type VerificationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||||
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
||||||
> = {
|
|
||||||
/**
|
/**
|
||||||
* The data used to update Verifications.
|
* The data used to update Verifications.
|
||||||
*/
|
*/
|
||||||
data: Prisma.XOR<
|
data: Prisma.XOR<Prisma.VerificationUpdateManyMutationInput, Prisma.VerificationUncheckedUpdateManyInput>
|
||||||
Prisma.VerificationUpdateManyMutationInput,
|
|
||||||
Prisma.VerificationUncheckedUpdateManyInput
|
|
||||||
>
|
|
||||||
/**
|
/**
|
||||||
* Filter which Verifications to update
|
* Filter which Verifications to update
|
||||||
*/
|
*/
|
||||||
@@ -1285,9 +1083,7 @@ export type VerificationUpdateManyArgs<
|
|||||||
/**
|
/**
|
||||||
* Verification updateManyAndReturn
|
* Verification updateManyAndReturn
|
||||||
*/
|
*/
|
||||||
export type VerificationUpdateManyAndReturnArgs<
|
export type VerificationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||||
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
||||||
> = {
|
|
||||||
/**
|
/**
|
||||||
* Select specific fields to fetch from the Verification
|
* Select specific fields to fetch from the Verification
|
||||||
*/
|
*/
|
||||||
@@ -1299,10 +1095,7 @@ export type VerificationUpdateManyAndReturnArgs<
|
|||||||
/**
|
/**
|
||||||
* The data used to update Verifications.
|
* The data used to update Verifications.
|
||||||
*/
|
*/
|
||||||
data: Prisma.XOR<
|
data: Prisma.XOR<Prisma.VerificationUpdateManyMutationInput, Prisma.VerificationUncheckedUpdateManyInput>
|
||||||
Prisma.VerificationUpdateManyMutationInput,
|
|
||||||
Prisma.VerificationUncheckedUpdateManyInput
|
|
||||||
>
|
|
||||||
/**
|
/**
|
||||||
* Filter which Verifications to update
|
* Filter which Verifications to update
|
||||||
*/
|
*/
|
||||||
@@ -1316,9 +1109,7 @@ export type VerificationUpdateManyAndReturnArgs<
|
|||||||
/**
|
/**
|
||||||
* Verification upsert
|
* Verification upsert
|
||||||
*/
|
*/
|
||||||
export type VerificationUpsertArgs<
|
export type VerificationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||||
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
||||||
> = {
|
|
||||||
/**
|
/**
|
||||||
* Select specific fields to fetch from the Verification
|
* Select specific fields to fetch from the Verification
|
||||||
*/
|
*/
|
||||||
@@ -1344,9 +1135,7 @@ export type VerificationUpsertArgs<
|
|||||||
/**
|
/**
|
||||||
* Verification delete
|
* Verification delete
|
||||||
*/
|
*/
|
||||||
export type VerificationDeleteArgs<
|
export type VerificationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||||
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
||||||
> = {
|
|
||||||
/**
|
/**
|
||||||
* Select specific fields to fetch from the Verification
|
* Select specific fields to fetch from the Verification
|
||||||
*/
|
*/
|
||||||
@@ -1364,9 +1153,7 @@ export type VerificationDeleteArgs<
|
|||||||
/**
|
/**
|
||||||
* Verification deleteMany
|
* Verification deleteMany
|
||||||
*/
|
*/
|
||||||
export type VerificationDeleteManyArgs<
|
export type VerificationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||||
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
||||||
> = {
|
|
||||||
/**
|
/**
|
||||||
* Filter which Verifications to delete
|
* Filter which Verifications to delete
|
||||||
*/
|
*/
|
||||||
@@ -1380,9 +1167,7 @@ export type VerificationDeleteManyArgs<
|
|||||||
/**
|
/**
|
||||||
* Verification without action
|
* Verification without action
|
||||||
*/
|
*/
|
||||||
export type VerificationDefaultArgs<
|
export type VerificationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||||
ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,
|
|
||||||
> = {
|
|
||||||
/**
|
/**
|
||||||
* Select specific fields to fetch from the Verification
|
* Select specific fields to fetch from the Verification
|
||||||
*/
|
*/
|
||||||
|
|||||||
+301
-569
File diff suppressed because it is too large
Load Diff
Generated
+64
-64
@@ -1,4 +1,4 @@
|
|||||||
import * as Prisma from './internal/prismaNamespace'
|
import * as Prisma from './internal/prismaNamespace';
|
||||||
declare global {
|
declare global {
|
||||||
namespace PrismaJson {
|
namespace PrismaJson {
|
||||||
// This namespace will always be empty. Definitions should be done by
|
// This namespace will always be empty. Definitions should be done by
|
||||||
@@ -12,21 +12,21 @@ declare global {
|
|||||||
|
|
||||||
/** A filter to be used against nullable List types. */
|
/** A filter to be used against nullable List types. */
|
||||||
export type NullableListFilter<T> = {
|
export type NullableListFilter<T> = {
|
||||||
equals?: T | T[] | null
|
equals?: T | T[] | null;
|
||||||
has?: T | null
|
has?: T | null;
|
||||||
hasEvery?: T[]
|
hasEvery?: T[];
|
||||||
hasSome?: T[]
|
hasSome?: T[];
|
||||||
isEmpty?: boolean
|
isEmpty?: boolean;
|
||||||
}
|
};
|
||||||
|
|
||||||
/** A type to determine how to update a json field */
|
/** A type to determine how to update a json field */
|
||||||
export type UpdateInput<T> = T extends object ? { [P in keyof T]?: UpdateInput<T[P]> } : T
|
export type UpdateInput<T> = T extends object ? { [P in keyof T]?: UpdateInput<T[P]> } : T;
|
||||||
|
|
||||||
/** A type to determine how to update a json[] field */
|
/** A type to determine how to update a json[] field */
|
||||||
export type UpdateManyInput<T> = T | T[] | { set?: T[]; push?: T | T[] }
|
export type UpdateManyInput<T> = T | T[] | { set?: T[]; push?: T | T[] };
|
||||||
|
|
||||||
/** A type to determine how to create a json[] input */
|
/** A type to determine how to create a json[] input */
|
||||||
export type CreateManyInput<T> = T | T[] | { set?: T[] }
|
export type CreateManyInput<T> = T | T[] | { set?: T[] };
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A typed version of NestedStringFilter, allowing narrowing of string types to
|
* A typed version of NestedStringFilter, allowing narrowing of string types to
|
||||||
@@ -35,11 +35,11 @@ export type CreateManyInput<T> = T | T[] | { set?: T[] }
|
|||||||
export type TypedNestedStringFilter<S extends string> =
|
export type TypedNestedStringFilter<S extends string> =
|
||||||
//@ts-ignore - When Prisma.StringFilter is not present, this type is not used
|
//@ts-ignore - When Prisma.StringFilter is not present, this type is not used
|
||||||
Prisma.StringFilter & {
|
Prisma.StringFilter & {
|
||||||
equals?: S
|
equals?: S;
|
||||||
in?: S[]
|
in?: S[];
|
||||||
notIn?: S[]
|
notIn?: S[];
|
||||||
not?: TypedNestedStringFilter<S> | S
|
not?: TypedNestedStringFilter<S> | S;
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A typed version of StringFilter, allowing narrowing of string types to discriminated
|
* A typed version of StringFilter, allowing narrowing of string types to discriminated
|
||||||
@@ -48,11 +48,11 @@ export type TypedNestedStringFilter<S extends string> =
|
|||||||
export type TypedStringFilter<S extends string> =
|
export type TypedStringFilter<S extends string> =
|
||||||
//@ts-ignore - When Prisma.StringFilter is not present, this type is not used
|
//@ts-ignore - When Prisma.StringFilter is not present, this type is not used
|
||||||
Prisma.StringFilter & {
|
Prisma.StringFilter & {
|
||||||
equals?: S
|
equals?: S;
|
||||||
in?: S[]
|
in?: S[];
|
||||||
notIn?: S[]
|
notIn?: S[];
|
||||||
not?: TypedNestedStringFilter<S> | S
|
not?: TypedNestedStringFilter<S> | S;
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A typed version of NestedStringNullableFilter, allowing narrowing of string types to
|
* A typed version of NestedStringNullableFilter, allowing narrowing of string types to
|
||||||
@@ -61,11 +61,11 @@ export type TypedStringFilter<S extends string> =
|
|||||||
export type TypedNestedStringNullableFilter<S extends string> =
|
export type TypedNestedStringNullableFilter<S extends string> =
|
||||||
//@ts-ignore - When Prisma.StringNullableFilter is not present, this type is not used
|
//@ts-ignore - When Prisma.StringNullableFilter is not present, this type is not used
|
||||||
Prisma.StringNullableFilter & {
|
Prisma.StringNullableFilter & {
|
||||||
equals?: S | null
|
equals?: S | null;
|
||||||
in?: S[] | null
|
in?: S[] | null;
|
||||||
notIn?: S[] | null
|
notIn?: S[] | null;
|
||||||
not?: TypedNestedStringNullableFilter<S> | S | null
|
not?: TypedNestedStringNullableFilter<S> | S | null;
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A typed version of StringNullableFilter, allowing narrowing of string types to
|
* A typed version of StringNullableFilter, allowing narrowing of string types to
|
||||||
@@ -74,11 +74,11 @@ export type TypedNestedStringNullableFilter<S extends string> =
|
|||||||
export type TypedStringNullableFilter<S extends string> =
|
export type TypedStringNullableFilter<S extends string> =
|
||||||
//@ts-ignore - When Prisma.StringNullableFilter is not present, this type is not used
|
//@ts-ignore - When Prisma.StringNullableFilter is not present, this type is not used
|
||||||
Prisma.StringNullableFilter & {
|
Prisma.StringNullableFilter & {
|
||||||
equals?: S | null
|
equals?: S | null;
|
||||||
in?: S[] | null
|
in?: S[] | null;
|
||||||
notIn?: S[] | null
|
notIn?: S[] | null;
|
||||||
not?: TypedNestedStringNullableFilter<S> | S | null
|
not?: TypedNestedStringNullableFilter<S> | S | null;
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A typed version of NestedStringWithAggregatesFilter, allowing narrowing of string types
|
* A typed version of NestedStringWithAggregatesFilter, allowing narrowing of string types
|
||||||
@@ -87,11 +87,11 @@ export type TypedStringNullableFilter<S extends string> =
|
|||||||
export type TypedNestedStringWithAggregatesFilter<S extends string> =
|
export type TypedNestedStringWithAggregatesFilter<S extends string> =
|
||||||
//@ts-ignore - When Prisma.NestedStringWithAggregatesFilter is not present, this type is not used
|
//@ts-ignore - When Prisma.NestedStringWithAggregatesFilter is not present, this type is not used
|
||||||
Prisma.NestedStringWithAggregatesFilter & {
|
Prisma.NestedStringWithAggregatesFilter & {
|
||||||
equals?: S
|
equals?: S;
|
||||||
in?: S[]
|
in?: S[];
|
||||||
notIn?: S[]
|
notIn?: S[];
|
||||||
not?: TypedNestedStringWithAggregatesFilter<S> | S
|
not?: TypedNestedStringWithAggregatesFilter<S> | S;
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A typed version of StringWithAggregatesFilter, allowing narrowing of string types to
|
* A typed version of StringWithAggregatesFilter, allowing narrowing of string types to
|
||||||
@@ -100,11 +100,11 @@ export type TypedNestedStringWithAggregatesFilter<S extends string> =
|
|||||||
export type TypedStringWithAggregatesFilter<S extends string> =
|
export type TypedStringWithAggregatesFilter<S extends string> =
|
||||||
//@ts-ignore - When Prisma.StringWithAggregatesFilter is not present, this type is not used
|
//@ts-ignore - When Prisma.StringWithAggregatesFilter is not present, this type is not used
|
||||||
Prisma.StringWithAggregatesFilter & {
|
Prisma.StringWithAggregatesFilter & {
|
||||||
equals?: S
|
equals?: S;
|
||||||
in?: S[]
|
in?: S[];
|
||||||
notIn?: S[]
|
notIn?: S[];
|
||||||
not?: TypedNestedStringWithAggregatesFilter<S> | S
|
not?: TypedNestedStringWithAggregatesFilter<S> | S;
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A typed version of NestedStringNullableWithAggregatesFilter, allowing narrowing of
|
* A typed version of NestedStringNullableWithAggregatesFilter, allowing narrowing of
|
||||||
@@ -113,11 +113,11 @@ export type TypedStringWithAggregatesFilter<S extends string> =
|
|||||||
export type TypedNestedStringNullableWithAggregatesFilter<S extends string> =
|
export type TypedNestedStringNullableWithAggregatesFilter<S extends string> =
|
||||||
//@ts-ignore - When Prisma.NestedStringNullableWithAggregatesFilter is not present, this type is not used
|
//@ts-ignore - When Prisma.NestedStringNullableWithAggregatesFilter is not present, this type is not used
|
||||||
Prisma.NestedStringNullableWithAggregatesFilter & {
|
Prisma.NestedStringNullableWithAggregatesFilter & {
|
||||||
equals?: S | null
|
equals?: S | null;
|
||||||
in?: S[] | null
|
in?: S[] | null;
|
||||||
notIn?: S[] | null
|
notIn?: S[] | null;
|
||||||
not?: TypedNestedStringNullableWithAggregatesFilter<S> | S | null
|
not?: TypedNestedStringNullableWithAggregatesFilter<S> | S | null;
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A typed version of StringNullableWithAggregatesFilter, allowing narrowing of string
|
* A typed version of StringNullableWithAggregatesFilter, allowing narrowing of string
|
||||||
@@ -126,11 +126,11 @@ export type TypedNestedStringNullableWithAggregatesFilter<S extends string> =
|
|||||||
export type TypedStringNullableWithAggregatesFilter<S extends string> =
|
export type TypedStringNullableWithAggregatesFilter<S extends string> =
|
||||||
//@ts-ignore - When Prisma.StringNullableWithAggregatesFilter is not present, this type is not used
|
//@ts-ignore - When Prisma.StringNullableWithAggregatesFilter is not present, this type is not used
|
||||||
Prisma.StringNullableWithAggregatesFilter & {
|
Prisma.StringNullableWithAggregatesFilter & {
|
||||||
equals?: S | null
|
equals?: S | null;
|
||||||
in?: S[] | null
|
in?: S[] | null;
|
||||||
notIn?: S[] | null
|
notIn?: S[] | null;
|
||||||
not?: TypedNestedStringNullableWithAggregatesFilter<S> | S | null
|
not?: TypedNestedStringNullableWithAggregatesFilter<S> | S | null;
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A typed version of StringFieldUpdateOperationsInput, allowing narrowing of string types
|
* A typed version of StringFieldUpdateOperationsInput, allowing narrowing of string types
|
||||||
@@ -139,8 +139,8 @@ export type TypedStringNullableWithAggregatesFilter<S extends string> =
|
|||||||
export type TypedStringFieldUpdateOperationsInput<S extends string> =
|
export type TypedStringFieldUpdateOperationsInput<S extends string> =
|
||||||
//@ts-ignore - When Prisma.StringFieldUpdateOperationsInput is not present, this type is not used
|
//@ts-ignore - When Prisma.StringFieldUpdateOperationsInput is not present, this type is not used
|
||||||
Prisma.StringFieldUpdateOperationsInput & {
|
Prisma.StringFieldUpdateOperationsInput & {
|
||||||
set?: S
|
set?: S;
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A typed version of NullableStringFieldUpdateOperationsInput, allowing narrowing of
|
* A typed version of NullableStringFieldUpdateOperationsInput, allowing narrowing of
|
||||||
@@ -149,8 +149,8 @@ export type TypedStringFieldUpdateOperationsInput<S extends string> =
|
|||||||
export type TypedNullableStringFieldUpdateOperationsInput<S extends string> =
|
export type TypedNullableStringFieldUpdateOperationsInput<S extends string> =
|
||||||
//@ts-ignore - When Prisma.NullableStringFieldUpdateOperationsInput is not present, this type is not used
|
//@ts-ignore - When Prisma.NullableStringFieldUpdateOperationsInput is not present, this type is not used
|
||||||
Prisma.NullableStringFieldUpdateOperationsInput & {
|
Prisma.NullableStringFieldUpdateOperationsInput & {
|
||||||
set?: S | null
|
set?: S | null;
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A typed version of StringNullableListFilter, allowing narrowing of string types to
|
* A typed version of StringNullableListFilter, allowing narrowing of string types to
|
||||||
@@ -159,25 +159,25 @@ export type TypedNullableStringFieldUpdateOperationsInput<S extends string> =
|
|||||||
export type TypedStringNullableListFilter<S extends string> =
|
export type TypedStringNullableListFilter<S extends string> =
|
||||||
//@ts-ignore - When Prisma.StringNullableListFilter is not present, this type is not used
|
//@ts-ignore - When Prisma.StringNullableListFilter is not present, this type is not used
|
||||||
Prisma.StringNullableListFilter & {
|
Prisma.StringNullableListFilter & {
|
||||||
equals?: S[] | null
|
equals?: S[] | null;
|
||||||
has?: S | null
|
has?: S | null;
|
||||||
hasEvery?: S[]
|
hasEvery?: S[];
|
||||||
hasSome?: S[]
|
hasSome?: S[];
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A typed version of the input type to update a string[] field, allowing narrowing of
|
* A typed version of the input type to update a string[] field, allowing narrowing of
|
||||||
* string types to discriminated unions.
|
* string types to discriminated unions.
|
||||||
*/
|
*/
|
||||||
export type UpdateStringArrayInput<S extends string> = {
|
export type UpdateStringArrayInput<S extends string> = {
|
||||||
set?: S[]
|
set?: S[];
|
||||||
push?: S | S[]
|
push?: S | S[];
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A typed version of the input type to create a string[] field, allowing narrowing of
|
* A typed version of the input type to create a string[] field, allowing narrowing of
|
||||||
* string types to discriminated unions.
|
* string types to discriminated unions.
|
||||||
*/
|
*/
|
||||||
export type CreateStringArrayInput<S extends string> = {
|
export type CreateStringArrayInput<S extends string> = {
|
||||||
set?: S[]
|
set?: S[];
|
||||||
}
|
};
|
||||||
@@ -106,8 +106,8 @@ declare global {
|
|||||||
duration: number
|
duration: number
|
||||||
bitRate: number
|
bitRate: number
|
||||||
frameRate: number
|
frameRate: number
|
||||||
totalFrames?: number
|
totalFrames: number
|
||||||
startTimecode?: string
|
startTimecode: string
|
||||||
videoCodec?: string
|
videoCodec?: string
|
||||||
audioCodec?: string
|
audioCodec?: string
|
||||||
audioChannels?: number
|
audioChannels?: number
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ export async function getMediaInfoActivity(params: {
|
|||||||
bitRate: info.bitRate,
|
bitRate: info.bitRate,
|
||||||
frameRate: info.frameRate,
|
frameRate: info.frameRate,
|
||||||
totalFrames: info.totalFrames,
|
totalFrames: info.totalFrames,
|
||||||
startTimecode: info.startTimecode,
|
startTimecode: info.startTimecode || '00:00:00:00',
|
||||||
hasAudio: info.hasAudio,
|
hasAudio: info.hasAudio,
|
||||||
videoCodec: info.videoCodec,
|
videoCodec: info.videoCodec,
|
||||||
audioCodec: info.audioCodec,
|
audioCodec: info.audioCodec,
|
||||||
@@ -123,6 +123,8 @@ export async function getMediaInfoActivity(params: {
|
|||||||
duration: 0,
|
duration: 0,
|
||||||
bitRate: 0,
|
bitRate: 0,
|
||||||
frameRate: 0,
|
frameRate: 0,
|
||||||
|
totalFrames: 0,
|
||||||
|
startTimecode: '00:00:00:00',
|
||||||
hasAudio: false,
|
hasAudio: false,
|
||||||
format: {},
|
format: {},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -101,7 +101,17 @@ describe('Transcode Workflow', () => {
|
|||||||
|
|
||||||
mockActivities.getMediaInfoActivity.mockResolvedValue({
|
mockActivities.getMediaInfoActivity.mockResolvedValue({
|
||||||
mimeType: 'video/mp4',
|
mimeType: 'video/mp4',
|
||||||
metadata: { originalWidth: 1920, originalHeight: 1080, duration: 10, frameRate: 30 },
|
metadata: {
|
||||||
|
originalWidth: 1920,
|
||||||
|
originalHeight: 1080,
|
||||||
|
duration: 10,
|
||||||
|
frameRate: 30,
|
||||||
|
totalFrames: 300,
|
||||||
|
startTimecode: '00:00:00:00',
|
||||||
|
bitRate: 1000,
|
||||||
|
hasAudio: false,
|
||||||
|
format: {},
|
||||||
|
},
|
||||||
videoTranscodes: [],
|
videoTranscodes: [],
|
||||||
imageTranscodes: [],
|
imageTranscodes: [],
|
||||||
})
|
})
|
||||||
@@ -181,7 +191,17 @@ describe('Transcode Workflow', () => {
|
|||||||
|
|
||||||
mockActivities.getMediaInfoActivity.mockResolvedValue({
|
mockActivities.getMediaInfoActivity.mockResolvedValue({
|
||||||
mimeType: 'image/jpeg',
|
mimeType: 'image/jpeg',
|
||||||
metadata: { originalWidth: 1000, originalHeight: 1000 },
|
metadata: {
|
||||||
|
originalWidth: 1000,
|
||||||
|
originalHeight: 1000,
|
||||||
|
duration: 0,
|
||||||
|
frameRate: 0,
|
||||||
|
totalFrames: 0,
|
||||||
|
startTimecode: '00:00:00:00',
|
||||||
|
bitRate: 0,
|
||||||
|
hasAudio: false,
|
||||||
|
format: {},
|
||||||
|
},
|
||||||
videoTranscodes: [],
|
videoTranscodes: [],
|
||||||
imageTranscodes: [],
|
imageTranscodes: [],
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -509,7 +509,7 @@ const VideoPlayer: React.FC<VideoPlayerProps> = ({
|
|||||||
// Frame-accurate hook and derived state
|
// Frame-accurate hook and derived state
|
||||||
const metadata = data.media.metadata
|
const metadata = data.media.metadata
|
||||||
const frameRate = metadata.frameRate || 30
|
const frameRate = metadata.frameRate || 30
|
||||||
const totalFrames = metadata.totalFrames || Math.round((metadata.duration || 0) * frameRate)
|
const totalFrames = metadata.totalFrames || 0
|
||||||
const { currentFrame, seekToFrame } = useFramePlayer(videoRef, frameRate, totalFrames)
|
const { currentFrame, seekToFrame } = useFramePlayer(videoRef, frameRate, totalFrames)
|
||||||
|
|
||||||
const currentTime = currentFrame / frameRate
|
const currentTime = currentFrame / frameRate
|
||||||
|
|||||||
Reference in New Issue
Block a user