diff --git a/bun.lock b/bun.lock index cdf926bc..b1bdd048 100644 --- a/bun.lock +++ b/bun.lock @@ -145,6 +145,22 @@ "vitest": "^4.1.4", }, }, + "packages/core": { + "name": "@shumai/core", + "version": "0.1.0", + "dependencies": { + "@aws-sdk/client-s3": "^3.1031.0", + "@aws-sdk/s3-request-presigner": "^3.1031.0", + "@shumai/db": "workspace:*", + "@shumai/dtos": "workspace:*", + "adm-zip": "^0.5.17", + "better-auth": "^1.6.6", + "date-fns": "^4.4.0", + "jittered-fractional-indexing": "^1.0.1", + "pino": "^10.3.1", + "ulid": "^3.0.2", + }, + }, "packages/db": { "name": "@shumai/db", "version": "0.1.0", @@ -942,6 +958,8 @@ "@shikijs/vscode-textmate": ["@shikijs/vscode-textmate@10.0.2", "", {}, "sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg=="], + "@shumai/core": ["@shumai/core@workspace:packages/core"], + "@shumai/db": ["@shumai/db@workspace:packages/db"], "@shumai/dtos": ["@shumai/dtos@workspace:packages/dtos"], diff --git a/packages/core/package.json b/packages/core/package.json new file mode 100644 index 00000000..5e8e0dc3 --- /dev/null +++ b/packages/core/package.json @@ -0,0 +1,20 @@ +{ + "name": "@shumai/core", + "version": "0.1.0", + "private": true, + "type": "module", + "main": "./src/index.ts", + "types": "./src/index.ts", + "dependencies": { + "@shumai/db": "workspace:*", + "@shumai/dtos": "workspace:*", + "@aws-sdk/client-s3": "^3.1031.0", + "@aws-sdk/s3-request-presigner": "^3.1031.0", + "adm-zip": "^0.5.17", + "better-auth": "^1.6.6", + "date-fns": "^4.4.0", + "jittered-fractional-indexing": "^1.0.1", + "pino": "^10.3.1", + "ulid": "^3.0.2" + } +} diff --git a/src/services/agent/agent.test.ts b/packages/core/src/agent/agent.test.ts similarity index 100% rename from src/services/agent/agent.test.ts rename to packages/core/src/agent/agent.test.ts diff --git a/src/services/agent/agent.ts b/packages/core/src/agent/agent.ts similarity index 99% rename from src/services/agent/agent.ts rename to packages/core/src/agent/agent.ts index fa07aaa0..2fd36f54 100644 --- a/src/services/agent/agent.ts +++ b/packages/core/src/agent/agent.ts @@ -6,7 +6,7 @@ import { UpdateAgentParams, } from '@shumai/dtos' import '@shumai/db/src/prisma-json-types' -import { s3Service } from '@/services/s3/s3' +import { s3Service } from '@shumai/core/src/s3/s3' import AdmZip from 'adm-zip' import * as fs from 'fs' import * as path from 'path' diff --git a/src/services/asset/asset.test.ts b/packages/core/src/asset/asset.test.ts similarity index 99% rename from src/services/asset/asset.test.ts rename to packages/core/src/asset/asset.test.ts index 832886b5..04903a14 100644 --- a/src/services/asset/asset.test.ts +++ b/packages/core/src/asset/asset.test.ts @@ -2,10 +2,10 @@ import { describe, expect, it, vi, beforeEach, afterEach } from 'vitest' import { prisma } from '@shumai/db' import { setupTestDbHooks } from '@shumai/db' -import { AssetType, AssetStatus, Prisma } from '@/generated/prisma/client.ts' +import { AssetType, AssetStatus, Prisma } from '@shumai/db' import { AssetService } from './asset' -vi.mock('@/services/s3/s3', () => ({ +vi.mock('@shumai/core/src/s3/s3', () => ({ s3Service: { presign: vi.fn().mockResolvedValue('http://mock-s3-url'), putObject: vi.fn().mockResolvedValue(undefined), @@ -1385,7 +1385,7 @@ describe('AssetService', () => { describe('Asset Cascade Bug (Reproduction)', () => { it('should NOT cascade delete children from DB before their S3 files are deleted', async () => { const { project } = await setupBasicAssets() - const { s3Service } = await import('@/services/s3/s3') + const { s3Service } = await import('../s3/s3') // 1. Create Folder A const folderA = await prisma.asset.create({ @@ -1448,7 +1448,7 @@ describe('AssetService', () => { it('should delete the entire directory prefix for assets with complex keys (e.g., file/ULID/raw)', async () => { const { project } = await setupBasicAssets() - const { s3Service } = await import('@/services/s3/s3') + const { s3Service } = await import('../s3/s3') // Create an asset with a complex key const complexFile = await prisma.asset.create({ diff --git a/src/services/asset/asset.ts b/packages/core/src/asset/asset.ts similarity index 99% rename from src/services/asset/asset.ts rename to packages/core/src/asset/asset.ts index be4cb32c..d32a99f0 100644 --- a/src/services/asset/asset.ts +++ b/packages/core/src/asset/asset.ts @@ -17,10 +17,10 @@ import { UpdateAssetOrderRequest, AssetUserInfo, } from '@shumai/dtos' -import { Asset, AssetStatus, AssetType, Prisma, StorageKey } from '@/generated/prisma/client.ts' +import { type Asset, AssetStatus, AssetType, Prisma, type StorageKey } from '@shumai/db' import { logger } from '@/logger' -import { PaginatedData, paginateQuery, PaginationParams } from '@/services/pagination' -import { s3Service } from '@/services/s3/s3' +import { PaginatedData, paginateQuery, PaginationParams } from '@shumai/core/src/pagination' +import { s3Service } from '@shumai/core/src/s3/s3' import { generateKeyBetween } from 'jittered-fractional-indexing' type AssetWithIncludes = Prisma.AssetGetPayload<{ diff --git a/src/services/auth/auth.ts b/packages/core/src/auth/auth.ts similarity index 96% rename from src/services/auth/auth.ts rename to packages/core/src/auth/auth.ts index a3259a02..5ca9f398 100644 --- a/src/services/auth/auth.ts +++ b/packages/core/src/auth/auth.ts @@ -1,8 +1,8 @@ import { betterAuth } from 'better-auth' import { prismaAdapter } from 'better-auth/adapters/prisma' import { prisma } from '@shumai/db' -import { teamService } from '@/services/team/team' -import { inviteService } from '@/services/invite/invite' +import { teamService } from '@shumai/core/src/team/team' +import { inviteService } from '@shumai/core/src/invite/invite' import { createAuthMiddleware } from 'better-auth/api' export const auth = betterAuth({ diff --git a/src/services/authz/authz.test.ts b/packages/core/src/authz/authz.test.ts similarity index 99% rename from src/services/authz/authz.test.ts rename to packages/core/src/authz/authz.test.ts index 06de5473..afcbafc2 100644 --- a/src/services/authz/authz.test.ts +++ b/packages/core/src/authz/authz.test.ts @@ -2,7 +2,7 @@ import { setupTestDbHooks } from '@shumai/db' import { describe, expect, it } from 'vitest' import { prisma } from '@shumai/db' -import { authzService, Permission, ResourceType } from '@/services/authz/authz' +import { authzService, Permission, ResourceType } from '@shumai/core/src/authz/authz' describe('AuthzService', () => { setupTestDbHooks() diff --git a/src/services/authz/authz.ts b/packages/core/src/authz/authz.ts similarity index 99% rename from src/services/authz/authz.ts rename to packages/core/src/authz/authz.ts index 942eb8d3..81cf649b 100644 --- a/src/services/authz/authz.ts +++ b/packages/core/src/authz/authz.ts @@ -1,5 +1,5 @@ import { prisma } from '@shumai/db' -import type { Prisma } from '@/generated/prisma/client.ts' +import type { Prisma } from '@shumai/db' type User = Prisma.UserGetPayload> export enum Permission { diff --git a/src/services/collection/collection.test.ts b/packages/core/src/collection/collection.test.ts similarity index 100% rename from src/services/collection/collection.test.ts rename to packages/core/src/collection/collection.test.ts diff --git a/src/services/collection/collection.ts b/packages/core/src/collection/collection.ts similarity index 100% rename from src/services/collection/collection.ts rename to packages/core/src/collection/collection.ts diff --git a/src/services/hyrumtoken.test.ts b/packages/core/src/hyrumtoken.test.ts similarity index 100% rename from src/services/hyrumtoken.test.ts rename to packages/core/src/hyrumtoken.test.ts diff --git a/src/services/hyrumtoken.ts b/packages/core/src/hyrumtoken.ts similarity index 100% rename from src/services/hyrumtoken.ts rename to packages/core/src/hyrumtoken.ts diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts new file mode 100644 index 00000000..b0f71394 --- /dev/null +++ b/packages/core/src/index.ts @@ -0,0 +1,20 @@ +export * from './agent/agent' +export * from './asset/asset' +export * from './auth/auth' +export * from './authz/authz' +export * from './collection/collection' +export * from './invite/invite' +export * from './metadata/metadata' +export * from './notification/notification' +export * from './project/project' +export * from './provider/provider' +export * from './s3/s3' +export * from './search/search' +export * from './share/share' +export * from './skill/skill' +export * from './team/team' +export * from './upload/upload' +export * from './user-metadata/user-metadata' +export * from './versionStack/versionStack' +export * from './hyrumtoken' +export * from './pagination' diff --git a/src/services/invite/invite.test.ts b/packages/core/src/invite/invite.test.ts similarity index 98% rename from src/services/invite/invite.test.ts rename to packages/core/src/invite/invite.test.ts index 5efb3a08..0b56fbfa 100644 --- a/src/services/invite/invite.test.ts +++ b/packages/core/src/invite/invite.test.ts @@ -1,6 +1,6 @@ import { prisma } from '@shumai/db' import { setupTestDbHooks } from '@shumai/db' -import { inviteService } from '@/services/invite/invite' +import { inviteService } from '@shumai/core/src/invite/invite' import { beforeEach, describe, expect, it } from 'vitest' describe('Invite Service', () => { diff --git a/src/services/invite/invite.ts b/packages/core/src/invite/invite.ts similarity index 99% rename from src/services/invite/invite.ts rename to packages/core/src/invite/invite.ts index 29e70815..8f8f8289 100644 --- a/src/services/invite/invite.ts +++ b/packages/core/src/invite/invite.ts @@ -1,5 +1,5 @@ import { prisma } from '@shumai/db' -import { InviteRole, ProjectMemberRole, TeamMemberRole } from '@/generated/prisma/client' +import { InviteRole, ProjectMemberRole, TeamMemberRole } from '@shumai/db' import { ulid } from 'ulid' export interface CreateTeamInviteRequest { diff --git a/src/services/metadata/metadata.test.ts b/packages/core/src/metadata/metadata.test.ts similarity index 100% rename from src/services/metadata/metadata.test.ts rename to packages/core/src/metadata/metadata.test.ts diff --git a/src/services/metadata/metadata.ts b/packages/core/src/metadata/metadata.ts similarity index 99% rename from src/services/metadata/metadata.ts rename to packages/core/src/metadata/metadata.ts index c0900631..afd42b34 100644 --- a/src/services/metadata/metadata.ts +++ b/packages/core/src/metadata/metadata.ts @@ -5,7 +5,7 @@ import { UpdateAssetMetadataRequest, UpdateFieldRequest, } from '@shumai/dtos' -import type { Prisma } from '@/generated/prisma/client.ts' +import type { Prisma } from '@shumai/db' import { ulid } from 'ulid' import { assetService } from '../asset/asset' import { systemFields } from './system_fields' diff --git a/src/services/metadata/system_fields.ts b/packages/core/src/metadata/system_fields.ts similarity index 98% rename from src/services/metadata/system_fields.ts rename to packages/core/src/metadata/system_fields.ts index c4c8f25e..c22da8af 100644 --- a/src/services/metadata/system_fields.ts +++ b/packages/core/src/metadata/system_fields.ts @@ -1,4 +1,4 @@ -import type { Prisma } from '@/generated/prisma/client.ts' +import type { Prisma } from '@shumai/db' import '@shumai/db/src/prisma-json-types' export const systemFields: Prisma.MetadataFieldCreateInput[] = [ diff --git a/src/services/notification/notification.test.ts b/packages/core/src/notification/notification.test.ts similarity index 98% rename from src/services/notification/notification.test.ts rename to packages/core/src/notification/notification.test.ts index fd428dc0..80f1c0ca 100644 --- a/src/services/notification/notification.test.ts +++ b/packages/core/src/notification/notification.test.ts @@ -1,9 +1,9 @@ import { describe, expect, it } from 'vitest' import { prisma } from '@shumai/db' import { setupTestDbHooks } from '@shumai/db' -import { NotificationType } from '@/generated/prisma/client' +import { NotificationType } from '@shumai/db' import { notificationService } from './notification' -import { userMetadataService } from '@/services/user-metadata/user-metadata' +import { userMetadataService } from '@shumai/core/src/user-metadata/user-metadata' describe('NotificationService', () => { setupTestDbHooks() diff --git a/src/services/notification/notification.ts b/packages/core/src/notification/notification.ts similarity index 97% rename from src/services/notification/notification.ts rename to packages/core/src/notification/notification.ts index cca031ff..e339565d 100644 --- a/src/services/notification/notification.ts +++ b/packages/core/src/notification/notification.ts @@ -1,16 +1,16 @@ import { prisma } from '@shumai/db' -import type { Prisma } from '@/generated/prisma/client' -import { NotificationType } from '@/generated/prisma/client' +import type { Prisma } from '@shumai/db' +import { NotificationType } from '@shumai/db' import { NotificationInfo, CreateNotificationRequest, ListNotificationParams, NotificationSettings, } from '@shumai/dtos' -import { paginateQuery, PaginatedData } from '@/services/pagination' +import { paginateQuery, PaginatedData } from '@shumai/core/src/pagination' import '@shumai/db/src/prisma-json-types' -import { s3Service } from '@/services/s3/s3' -import { userMetadataService } from '@/services/user-metadata/user-metadata' +import { s3Service } from '@shumai/core/src/s3/s3' +import { userMetadataService } from '@shumai/core/src/user-metadata/user-metadata' const mentionRegex = /<@([^>]+)>/g diff --git a/src/services/pagination.ts b/packages/core/src/pagination.ts similarity index 96% rename from src/services/pagination.ts rename to packages/core/src/pagination.ts index 532a9500..2da1b758 100644 --- a/src/services/pagination.ts +++ b/packages/core/src/pagination.ts @@ -1,4 +1,4 @@ -import { marshal, unmarshal } from '@/services/hyrumtoken' +import { marshal, unmarshal } from '@shumai/core/src/hyrumtoken' const key = new Uint8Array([ 0x38, 0x9c, 0xf5, 0xe7, 0xfe, 0xa5, 0x6a, 0xe7, 0xbe, 0x0e, 0x6a, 0x47, 0x19, 0x9f, 0xb1, 0x81, diff --git a/src/services/project/project.test.ts b/packages/core/src/project/project.test.ts similarity index 98% rename from src/services/project/project.test.ts rename to packages/core/src/project/project.test.ts index 3c58073a..0e6e628e 100644 --- a/src/services/project/project.test.ts +++ b/packages/core/src/project/project.test.ts @@ -2,10 +2,10 @@ import { describe, it, expect, vi, beforeEach } from 'vitest' import { prisma } from '@shumai/db' import { setupTestDbHooks } from '@shumai/db' import { ProjectService } from './project' -import { s3Service } from '@/services/s3/s3' -import { assetService } from '@/services/asset/asset' +import { s3Service } from '@shumai/core/src/s3/s3' +import { assetService } from '@shumai/core/src/asset/asset' -vi.mock('@/services/s3/s3', () => ({ +vi.mock('@shumai/core/src/s3/s3', () => ({ s3Service: { presign: vi.fn(), deleteObject: vi.fn().mockResolvedValue(1), diff --git a/src/services/project/project.ts b/packages/core/src/project/project.ts similarity index 98% rename from src/services/project/project.ts rename to packages/core/src/project/project.ts index 13a94013..eaa6c766 100644 --- a/src/services/project/project.ts +++ b/packages/core/src/project/project.ts @@ -1,7 +1,7 @@ import { prisma } from '@shumai/db' -import { Prisma } from '@/generated/prisma/client' -import { s3Service } from '@/services/s3/s3' -import { paginateQuery, PaginatedData } from '@/services/pagination' +import { Prisma } from '@shumai/db' +import { s3Service } from '@shumai/core/src/s3/s3' +import { paginateQuery, PaginatedData } from '@shumai/core/src/pagination' import { ServiceCreateProjectRequest, ServiceUpdateProjectRequest, diff --git a/src/services/provider/provider.test.ts b/packages/core/src/provider/provider.test.ts similarity index 98% rename from src/services/provider/provider.test.ts rename to packages/core/src/provider/provider.test.ts index d0937300..7764e9f0 100644 --- a/src/services/provider/provider.test.ts +++ b/packages/core/src/provider/provider.test.ts @@ -1,5 +1,5 @@ import { setupTestDbHooks } from '@shumai/db' -import { teamService } from '@/services/team/team' +import { teamService } from '@shumai/core/src/team/team' import { providerService } from './provider' import { describe, expect, it } from 'vitest' import { ProviderConfigSerializable, providerModelSchema } from '@shumai/dtos' diff --git a/src/services/provider/provider.ts b/packages/core/src/provider/provider.ts similarity index 100% rename from src/services/provider/provider.ts rename to packages/core/src/provider/provider.ts diff --git a/src/services/s3/s3.test.ts b/packages/core/src/s3/s3.test.ts similarity index 100% rename from src/services/s3/s3.test.ts rename to packages/core/src/s3/s3.test.ts diff --git a/src/services/s3/s3.ts b/packages/core/src/s3/s3.ts similarity index 100% rename from src/services/s3/s3.ts rename to packages/core/src/s3/s3.ts diff --git a/src/services/search/ngram-search.test.ts b/packages/core/src/search/ngram-search.test.ts similarity index 99% rename from src/services/search/ngram-search.test.ts rename to packages/core/src/search/ngram-search.test.ts index 15c6993e..3bf3a81a 100644 --- a/src/services/search/ngram-search.test.ts +++ b/packages/core/src/search/ngram-search.test.ts @@ -2,7 +2,7 @@ import { describe, expect, it, beforeEach } from 'vitest' import { prisma } from '@shumai/db' import { setupTestDbHooks } from '@shumai/db' import { SearchService } from './search' -import { AssetType } from '@/generated/prisma/client.ts' +import { AssetType } from '@shumai/db' describe('N-gram Search Integration', () => { setupTestDbHooks() diff --git a/src/services/search/search.test.ts b/packages/core/src/search/search.test.ts similarity index 99% rename from src/services/search/search.test.ts rename to packages/core/src/search/search.test.ts index ef19fd0b..6833b743 100644 --- a/src/services/search/search.test.ts +++ b/packages/core/src/search/search.test.ts @@ -3,10 +3,10 @@ import { prisma } from '@shumai/db' import { setupTestDbHooks } from '@shumai/db' import { SearchService } from './search' import { SearchConditionOperator } from '@shumai/dtos' -import { metadataService } from '@/services/metadata/metadata' +import { metadataService } from '@shumai/core/src/metadata/metadata' import { workflowService } from '@/workflow/workflow' -import { AssetType } from '@/generated/prisma/client.ts' +import { AssetType } from '@shumai/db' describe('SearchService', () => { setupTestDbHooks() diff --git a/src/services/search/search.ts b/packages/core/src/search/search.ts similarity index 98% rename from src/services/search/search.ts rename to packages/core/src/search/search.ts index 246aaad3..dcb0925c 100644 --- a/src/services/search/search.ts +++ b/packages/core/src/search/search.ts @@ -1,9 +1,9 @@ import { prisma } from '@shumai/db' -import { Prisma, AssetType, WorkflowTaskType } from '@/generated/prisma/client.ts' -import { AssetService, assetService } from '@/services/asset/asset' +import { Prisma, AssetType, WorkflowTaskType } from '@shumai/db' +import { AssetService, assetService } from '@shumai/core/src/asset/asset' import { AssetInfo } from '@shumai/dtos' import { SearchRequest } from '@shumai/dtos' -import { PaginatedData, decodeCursor, encodeCursor, PageInfo } from '@/services/pagination' +import { PaginatedData, decodeCursor, encodeCursor, PageInfo } from '@shumai/core/src/pagination' import { generateSearchNgrams } from '@/utils/ngram' import { workflowService } from '@/workflow/workflow' import { HTTPException } from 'hono/http-exception' diff --git a/src/services/search/sql-query-builder.test.ts b/packages/core/src/search/sql-query-builder.test.ts similarity index 96% rename from src/services/search/sql-query-builder.test.ts rename to packages/core/src/search/sql-query-builder.test.ts index 411635a1..a0503950 100644 --- a/src/services/search/sql-query-builder.test.ts +++ b/packages/core/src/search/sql-query-builder.test.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest' import { SqlQueryBuilder } from './sql-query-builder' -import { Prisma } from '@/generated/prisma/client.ts' +import { Prisma } from '@shumai/db' describe('SqlQueryBuilder', () => { it('correctly constructs a basic SQL query', () => { diff --git a/src/services/search/sql-query-builder.ts b/packages/core/src/search/sql-query-builder.ts similarity index 99% rename from src/services/search/sql-query-builder.ts rename to packages/core/src/search/sql-query-builder.ts index 1c19cb38..40740762 100644 --- a/src/services/search/sql-query-builder.ts +++ b/packages/core/src/search/sql-query-builder.ts @@ -1,4 +1,4 @@ -import { Prisma } from '@/generated/prisma/client.ts' +import { Prisma } from '@shumai/db' import { SearchCondition } from '@shumai/dtos' export class SqlQueryBuilder { diff --git a/src/services/share/share.test.ts b/packages/core/src/share/share.test.ts similarity index 97% rename from src/services/share/share.test.ts rename to packages/core/src/share/share.test.ts index dc64d071..9cee43ab 100644 --- a/src/services/share/share.test.ts +++ b/packages/core/src/share/share.test.ts @@ -2,9 +2,9 @@ import { describe, it, expect, beforeEach } from 'vitest' import { prisma } from '@shumai/db' import { setupTestDbHooks } from '@shumai/db' import { shareService } from './share' -import { assetService } from '@/services/asset/asset' -import { projectService } from '@/services/project/project' -import { AssetType } from '@/generated/prisma/client' +import { assetService } from '@shumai/core/src/asset/asset' +import { projectService } from '@shumai/core/src/project/project' +import { AssetType } from '@shumai/db' describe('ShareService', () => { setupTestDbHooks() diff --git a/src/services/share/share.ts b/packages/core/src/share/share.ts similarity index 98% rename from src/services/share/share.ts rename to packages/core/src/share/share.ts index bfd4f65f..532e4578 100644 --- a/src/services/share/share.ts +++ b/packages/core/src/share/share.ts @@ -1,5 +1,5 @@ import { prisma } from '@shumai/db' -import { AssetType, Prisma } from '@/generated/prisma/client' +import { AssetType, Prisma } from '@shumai/db' import { ShareLinkInfo, CreateShareLinkRequest, @@ -7,7 +7,7 @@ import { ListShareLinksRequest, AddAssetToShareRequest, } from '@shumai/dtos' -import { PaginatedData, paginateQuery } from '@/services/pagination' +import { PaginatedData, paginateQuery } from '@shumai/core/src/pagination' export class ShareService { async createShareLink(projectId: string, req: CreateShareLinkRequest): Promise { diff --git a/src/services/skill/skill.test.ts b/packages/core/src/skill/skill.test.ts similarity index 98% rename from src/services/skill/skill.test.ts rename to packages/core/src/skill/skill.test.ts index 4fb4d7e3..ec5fba7d 100644 --- a/src/services/skill/skill.test.ts +++ b/packages/core/src/skill/skill.test.ts @@ -1,7 +1,7 @@ import { prisma } from '@shumai/db' import { setupTestDbHooks } from '@shumai/db' -import { s3Service } from '@/services/s3/s3' -import { skillService } from '@/services/skill/skill' +import { s3Service } from '@shumai/core/src/s3/s3' +import { skillService } from '@shumai/core/src/skill/skill' import AdmZip from 'adm-zip' import { describe, expect, it, vi } from 'vitest' diff --git a/src/services/skill/skill.ts b/packages/core/src/skill/skill.ts similarity index 99% rename from src/services/skill/skill.ts rename to packages/core/src/skill/skill.ts index b5f5b5bf..6e28b1e0 100644 --- a/src/services/skill/skill.ts +++ b/packages/core/src/skill/skill.ts @@ -1,6 +1,6 @@ import { prisma } from '@shumai/db' import { SkillInfo, UpsertSkillRequest } from '@shumai/dtos' -import { s3Service } from '@/services/s3/s3' +import { s3Service } from '@shumai/core/src/s3/s3' import AdmZip from 'adm-zip' import * as crypto from 'crypto' import { ulid } from 'ulid' diff --git a/src/services/team/team.test.ts b/packages/core/src/team/team.test.ts similarity index 99% rename from src/services/team/team.test.ts rename to packages/core/src/team/team.test.ts index 4bf80247..ce728037 100644 --- a/src/services/team/team.test.ts +++ b/packages/core/src/team/team.test.ts @@ -1,6 +1,6 @@ import { prisma } from '@shumai/db' import { setupTestDbHooks } from '@shumai/db' -import { teamService } from '@/services/team/team' +import { teamService } from '@shumai/core/src/team/team' import { describe, expect, it } from 'vitest' describe('TeamService', () => { diff --git a/src/services/team/team.ts b/packages/core/src/team/team.ts similarity index 96% rename from src/services/team/team.ts rename to packages/core/src/team/team.ts index f3eff440..c87a9e7d 100644 --- a/src/services/team/team.ts +++ b/packages/core/src/team/team.ts @@ -1,8 +1,8 @@ import { prisma } from '@shumai/db' -import { Prisma } from '@/generated/prisma/client' -import { PaginatedData, paginateQuery } from '@/services/pagination' -import { ProviderService, providerService } from '@/services/provider/provider' -import { notificationService } from '@/services/notification/notification' +import { Prisma } from '@shumai/db' +import { PaginatedData, paginateQuery } from '@shumai/core/src/pagination' +import { ProviderService, providerService } from '@shumai/core/src/provider/provider' +import { notificationService } from '@shumai/core/src/notification/notification' import { ServiceCreateTeamRequest, ServiceGetUserTeamsRequest, diff --git a/src/services/upload/upload.test.ts b/packages/core/src/upload/upload.test.ts similarity index 98% rename from src/services/upload/upload.test.ts rename to packages/core/src/upload/upload.test.ts index 1a744f90..c26fad31 100644 --- a/src/services/upload/upload.test.ts +++ b/packages/core/src/upload/upload.test.ts @@ -2,10 +2,10 @@ import { describe, expect, it, vi, beforeEach } from 'vitest' import { prisma } from '@shumai/db' import { setupTestDbHooks } from '@shumai/db' import { uploadService } from './upload' -import { s3Service } from '@/services/s3/s3' -import { AssetStatus, AssetType, WorkflowTaskType } from '@/generated/prisma/client' +import { s3Service } from '@shumai/core/src/s3/s3' +import { AssetStatus, AssetType, WorkflowTaskType } from '@shumai/db' -vi.mock('@/services/s3/s3', () => ({ +vi.mock('@shumai/core/src/s3/s3', () => ({ s3Service: { presign: vi.fn().mockResolvedValue('http://presigned-url.com'), getObjectSize: vi.fn().mockResolvedValue(100), diff --git a/src/services/upload/upload.ts b/packages/core/src/upload/upload.ts similarity index 98% rename from src/services/upload/upload.ts rename to packages/core/src/upload/upload.ts index 86f77b7b..67c94f6a 100644 --- a/src/services/upload/upload.ts +++ b/packages/core/src/upload/upload.ts @@ -1,8 +1,8 @@ import { prisma } from '@shumai/db' import { ulid } from 'ulid' import { generateKeyBetween } from 'jittered-fractional-indexing' -import { s3Service } from '@/services/s3/s3' -import { assetService } from '@/services/asset/asset' +import { s3Service } from '@shumai/core/src/s3/s3' +import { assetService } from '@shumai/core/src/asset/asset' import { ConfirmFileUploadRequest, CreateUploadTaskRequest, @@ -18,8 +18,8 @@ import { TaskStatus, WorkflowTaskStatus, WorkflowTaskType, -} from '@/generated/prisma/client' -import { PaginationParams, paginateQuery, PaginatedData } from '@/services/pagination' +} from '@shumai/db' +import { PaginationParams, paginateQuery, PaginatedData } from '@shumai/core/src/pagination' import { VideoTranscoder, ImageTranscoder } from '@/transcode/transcoder' export class UploadService { diff --git a/src/services/user-metadata/user-metadata.test.ts b/packages/core/src/user-metadata/user-metadata.test.ts similarity index 100% rename from src/services/user-metadata/user-metadata.test.ts rename to packages/core/src/user-metadata/user-metadata.test.ts diff --git a/src/services/user-metadata/user-metadata.ts b/packages/core/src/user-metadata/user-metadata.ts similarity index 100% rename from src/services/user-metadata/user-metadata.ts rename to packages/core/src/user-metadata/user-metadata.ts diff --git a/src/services/versionStack/versionStack.test.ts b/packages/core/src/versionStack/versionStack.test.ts similarity index 99% rename from src/services/versionStack/versionStack.test.ts rename to packages/core/src/versionStack/versionStack.test.ts index 19cd70c1..64577f64 100644 --- a/src/services/versionStack/versionStack.test.ts +++ b/packages/core/src/versionStack/versionStack.test.ts @@ -2,7 +2,7 @@ import { describe, it, expect, beforeEach } from 'vitest' import { prisma } from '@shumai/db' import { setupTestDbHooks } from '@shumai/db' import { VersionStackService } from './versionStack' -import { AssetType } from '@/generated/prisma/client.ts' +import { AssetType } from '@shumai/db' describe('VersionStackService', () => { setupTestDbHooks() diff --git a/src/services/versionStack/versionStack.ts b/packages/core/src/versionStack/versionStack.ts similarity index 98% rename from src/services/versionStack/versionStack.ts rename to packages/core/src/versionStack/versionStack.ts index 7b0ac047..e8d1b3f0 100644 --- a/src/services/versionStack/versionStack.ts +++ b/packages/core/src/versionStack/versionStack.ts @@ -1,6 +1,6 @@ import { generateKeyBetween } from 'jittered-fractional-indexing' import { prisma } from '@shumai/db' -import { Asset, AssetType } from '@/generated/prisma/client.ts' +import { type Asset, AssetType } from '@shumai/db' import { ChangeStackFileVersionParams, CreateVersionStackParams } from '@shumai/dtos' function generateSortIndex(previous?: string | null): string { diff --git a/packages/core/tsconfig.json b/packages/core/tsconfig.json new file mode 100644 index 00000000..fc4e681f --- /dev/null +++ b/packages/core/tsconfig.json @@ -0,0 +1,7 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "ignoreDeprecations": "6.0" + }, + "include": ["src/**/*"] +} diff --git a/packages/db/src/index.ts b/packages/db/src/index.ts index 38f77517..775eff25 100644 --- a/packages/db/src/index.ts +++ b/packages/db/src/index.ts @@ -98,6 +98,4 @@ export function getPrismaTestingHelper() { export * from './utils/ngram' export * from './db-test-hooks' export * from './prisma-testing-helper' -export * from './generated/prisma/models' -export * from './generated/prisma/enums' -export { PrismaClient } from './generated/prisma/client' +export * from './generated/prisma/client' diff --git a/packages/dtos/src/notification.ts b/packages/dtos/src/notification.ts index 0dde3bd9..a901d397 100644 --- a/packages/dtos/src/notification.ts +++ b/packages/dtos/src/notification.ts @@ -1,5 +1,5 @@ import { z } from 'zod' -import { NotificationType } from '@/generated/prisma/client' +import { NotificationType } from '@shumai/db' export const teamUserInfoSchema = z.object({ id: z.string().optional(), diff --git a/packages/dtos/src/team.ts b/packages/dtos/src/team.ts index 0f8b0ccb..75125ff1 100644 --- a/packages/dtos/src/team.ts +++ b/packages/dtos/src/team.ts @@ -1,6 +1,6 @@ import { z } from 'zod' import { paginationPageInfoSchema, paginationParamsSchema } from './pagination' -import { UserType } from '@/generated/prisma/enums' +import { UserType } from '@shumai/db' export const createTeamRequestSchema = z.object({ name: z.string(), diff --git a/src/agent/database-session-storage.test.ts b/src/agent/database-session-storage.test.ts index ea0d3c9a..2adb30ea 100644 --- a/src/agent/database-session-storage.test.ts +++ b/src/agent/database-session-storage.test.ts @@ -1,10 +1,10 @@ import { prisma } from '@shumai/db' import { setupTestDbHooks } from '@shumai/db' -import { s3Service } from '@/services/s3/s3' +import { s3Service } from '@shumai/core/src/s3/s3' import { type SessionTreeEntry } from '@earendil-works/pi-agent-core' import { describe, expect, it, vi } from 'vitest' import { DatabaseSessionStorage } from './database-session-storage' -import { agentService } from '@/services/agent/agent' +import { agentService } from '@shumai/core/src/agent/agent' import { createAgentSession } from './index' import * as sandboxedBashModule from './tools/sandboxed-bash' diff --git a/src/agent/database-session-storage.ts b/src/agent/database-session-storage.ts index b675bc1c..d42ab07c 100644 --- a/src/agent/database-session-storage.ts +++ b/src/agent/database-session-storage.ts @@ -1,5 +1,5 @@ import { prisma } from '@shumai/db' -import { s3Service } from '@/services/s3/s3' +import { s3Service } from '@shumai/core/src/s3/s3' import { ulid } from 'ulid' import { type AgentMessage, @@ -8,7 +8,7 @@ import { type SessionTreeEntry, type SessionTreeEntryBase, } from '@earendil-works/pi-agent-core' -import { agentService } from '@/services/agent/agent' +import { agentService } from '@shumai/core/src/agent/agent' export interface DatabaseSessionMetadata extends SessionMetadata { agentId: string diff --git a/src/agent/index.ts b/src/agent/index.ts index ed4f8bca..fc007f5e 100644 --- a/src/agent/index.ts +++ b/src/agent/index.ts @@ -5,7 +5,7 @@ import { getModel } from '@earendil-works/pi-ai' import { Type, type TSchema } from '@sinclair/typebox' import * as fs from 'fs' import * as path from 'path' -import { agentService } from '@/services/agent/agent' +import { agentService } from '@shumai/core/src/agent/agent' import { DatabaseSessionStorage } from './database-session-storage' import { analyzeAssetMediaTool } from './tools/analyze-asset-media' import { createCreateFileTool } from './tools/create-file' diff --git a/src/agent/tools/analyze-asset-media.test.ts b/src/agent/tools/analyze-asset-media.test.ts index cc294821..fcbf568e 100644 --- a/src/agent/tools/analyze-asset-media.test.ts +++ b/src/agent/tools/analyze-asset-media.test.ts @@ -1,8 +1,8 @@ import { describe, it, expect, vi, beforeEach } from 'vitest' import { analyzeAssetMediaTool } from './analyze-asset-media' -import { s3Service } from '@/services/s3/s3' +import { s3Service } from '@shumai/core/src/s3/s3' -vi.mock('@/services/s3/s3') +vi.mock('@shumai/core/src/s3/s3') describe('analyzeAssetMediaTool', () => { beforeEach(() => { diff --git a/src/agent/tools/analyze-asset-media.ts b/src/agent/tools/analyze-asset-media.ts index 6701b66f..9e069889 100644 --- a/src/agent/tools/analyze-asset-media.ts +++ b/src/agent/tools/analyze-asset-media.ts @@ -1,4 +1,4 @@ -import { s3Service } from '@/services/s3/s3' +import { s3Service } from '@shumai/core/src/s3/s3' import { Type } from '@sinclair/typebox' import { type AgentTool } from '@earendil-works/pi-agent-core' import { type ImageContent, type TextContent } from '@earendil-works/pi-ai' diff --git a/src/agent/tools/create-file.ts b/src/agent/tools/create-file.ts index a6c4f427..5354f4e6 100644 --- a/src/agent/tools/create-file.ts +++ b/src/agent/tools/create-file.ts @@ -3,7 +3,7 @@ import { type AgentTool } from '@earendil-works/pi-agent-core' import { executeAgentToolWorkflow } from './utils' import * as fs from 'fs' import * as path from 'path' -import { s3Service } from '@/services/s3/s3' +import { s3Service } from '@shumai/core/src/s3/s3' import { detectSupportedMimeType } from '@/utils/mime' import { ulid } from 'ulid' diff --git a/src/agent/tools/create-version.ts b/src/agent/tools/create-version.ts index 718b1a37..2d029b02 100644 --- a/src/agent/tools/create-version.ts +++ b/src/agent/tools/create-version.ts @@ -3,7 +3,7 @@ import { type AgentTool } from '@earendil-works/pi-agent-core' import { executeAgentToolWorkflow } from './utils' import * as fs from 'fs' import * as path from 'path' -import { s3Service } from '@/services/s3/s3' +import { s3Service } from '@shumai/core/src/s3/s3' import { detectSupportedMimeType } from '@/utils/mime' import { ulid } from 'ulid' diff --git a/src/agent/tools/read-skill.test.ts b/src/agent/tools/read-skill.test.ts index 476e7749..03fadcaa 100644 --- a/src/agent/tools/read-skill.test.ts +++ b/src/agent/tools/read-skill.test.ts @@ -2,10 +2,10 @@ import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest' import { prisma } from '@shumai/db' import { setupTestDbHooks } from '@shumai/db' import { createReadSkillTool } from './read-skill' -import { s3Service } from '@/services/s3/s3' +import { s3Service } from '@shumai/core/src/s3/s3' import * as fs from 'fs' -vi.mock('@/services/s3/s3') +vi.mock('@shumai/core/src/s3/s3') vi.mock('fs') vi.mock('adm-zip', () => { return { diff --git a/src/agent/tools/read-skill.ts b/src/agent/tools/read-skill.ts index 5b7a41c2..f94b89be 100644 --- a/src/agent/tools/read-skill.ts +++ b/src/agent/tools/read-skill.ts @@ -1,7 +1,7 @@ import { prisma } from '@shumai/db' import { Type } from '@sinclair/typebox' import { type AgentTool } from '@earendil-works/pi-agent-core' -import { agentService } from '@/services/agent/agent' +import { agentService } from '@shumai/core/src/agent/agent' const readSkillSchema = Type.Object({ skillId: Type.String({ description: 'The ID of the skill to read' }), diff --git a/src/agent/tools/utils.ts b/src/agent/tools/utils.ts index 13ff0ee0..5a7ef91a 100644 --- a/src/agent/tools/utils.ts +++ b/src/agent/tools/utils.ts @@ -1,6 +1,6 @@ import { prisma } from '@shumai/db' import { workflowService } from '@/workflow/workflow' -import { WorkflowTaskType, WorkflowTaskStatus } from '@/generated/prisma/client' +import { WorkflowTaskType, WorkflowTaskStatus } from '@shumai/db' export async function executeAgentToolWorkflow(params: { toolName: string diff --git a/src/api/agent.test.ts b/src/api/agent.test.ts index 9cf272b1..b838ba4c 100644 --- a/src/api/agent.test.ts +++ b/src/api/agent.test.ts @@ -1,10 +1,10 @@ import { describe, it, expect, vi, beforeEach } from 'vitest' -import { agentService } from '@/services/agent/agent' -import { authzService } from '@/services/authz/authz' +import { agentService } from '@shumai/core/src/agent/agent' +import { authzService } from '@shumai/core/src/authz/authz' import app from './agent' -vi.mock('@/services/agent/agent') -vi.mock('@/services/authz/authz') +vi.mock('@shumai/core/src/agent/agent') +vi.mock('@shumai/core/src/authz/authz') describe('Agent API', () => { beforeEach(() => { diff --git a/src/api/agent.ts b/src/api/agent.ts index f54957e6..74c9972b 100644 --- a/src/api/agent.ts +++ b/src/api/agent.ts @@ -1,7 +1,7 @@ import { Hono } from 'hono' import { zValidator } from '@hono/zod-validator' -import { agentService } from '@/services/agent/agent' -import { authzService, Permission, ResourceType } from '@/services/authz/authz' +import { agentService } from '@shumai/core/src/agent/agent' +import { authzService, Permission, ResourceType } from '@shumai/core/src/authz/authz' import { createAgentRequestSchema, updateAgentRequestSchema, @@ -9,7 +9,7 @@ import { AgentType, } from '@shumai/dtos' -import type { Prisma } from '@/generated/prisma/client' +import type { Prisma } from '@shumai/db' type User = Prisma.UserGetPayload> diff --git a/src/api/attachment.test.ts b/src/api/attachment.test.ts index c4c0463e..2c7ecb6b 100644 --- a/src/api/attachment.test.ts +++ b/src/api/attachment.test.ts @@ -1,10 +1,10 @@ import { describe, expect, it, vi, beforeEach } from 'vitest' import { Hono } from 'hono' import attachmentRoute from './attachment' -import { assetService } from '@/services/asset/asset' -import { AssetType } from '@/generated/prisma/client' +import { assetService } from '@shumai/core/src/asset/asset' +import { AssetType } from '@shumai/db' import { authMiddleware } from '@/api/middleware/auth' -import { authzService, Permission, ResourceType } from '@/services/authz/authz' +import { authzService, Permission, ResourceType } from '@shumai/core/src/authz/authz' vi.mock('@/api/middleware/auth', () => ({ // any is used here because Hono's Context and Next types are complex to mock in vitest.mock @@ -16,10 +16,10 @@ vi.mock('@/api/middleware/auth', () => ({ }, })) -vi.mock('@/services/authz/authz') -vi.mock('@/services/asset/asset') +vi.mock('@shumai/core/src/authz/authz') +vi.mock('@shumai/core/src/asset/asset') -vi.mock('@/services/s3/s3', () => ({ +vi.mock('@shumai/core/src/s3/s3', () => ({ s3Service: { presign: vi.fn().mockResolvedValue('http://mock-s3-url'), }, diff --git a/src/api/attachment.ts b/src/api/attachment.ts index 9df86481..94be2809 100644 --- a/src/api/attachment.ts +++ b/src/api/attachment.ts @@ -1,12 +1,12 @@ import { Hono } from 'hono' import { zValidator } from '@hono/zod-validator' import { postAttachmentRequestSchema } from '@shumai/dtos' -import { assetService } from '@/services/asset/asset' -import { s3Service } from '@/services/s3/s3' -import { AssetType } from '@/generated/prisma/client' +import { assetService } from '@shumai/core/src/asset/asset' +import { s3Service } from '@shumai/core/src/s3/s3' +import { AssetType } from '@shumai/db' import { ulid } from 'ulid' -import { authzService, Permission, ResourceType } from '@/services/authz/authz' -import type { Prisma } from '@/generated/prisma/client' +import { authzService, Permission, ResourceType } from '@shumai/core/src/authz/authz' +import type { Prisma } from '@shumai/db' type User = Prisma.UserGetPayload> diff --git a/src/api/authn.test.ts b/src/api/authn.test.ts index 46e9f7ec..87832439 100644 --- a/src/api/authn.test.ts +++ b/src/api/authn.test.ts @@ -1,7 +1,7 @@ import { describe, expect, it, vi, beforeEach, afterEach } from 'vitest' import { Hono } from 'hono' import authnRoute from './authn' -import { teamService } from '@/services/team/team' +import { teamService } from '@shumai/core/src/team/team' describe('authn api', () => { // eslint-disable-next-line @typescript-eslint/no-explicit-any diff --git a/src/api/authn.ts b/src/api/authn.ts index 215ac61f..1073c232 100644 --- a/src/api/authn.ts +++ b/src/api/authn.ts @@ -1,6 +1,6 @@ import { Hono } from 'hono' -import { teamService } from '@/services/team/team' -import { auth } from '@/services/auth/auth' +import { teamService } from '@shumai/core/src/team/team' +import { auth } from '@shumai/core/src/auth/auth' import { z } from 'zod' import { zValidator } from '@hono/zod-validator' import { prisma } from '@shumai/db' diff --git a/src/api/collection.test.ts b/src/api/collection.test.ts index 72ab70b9..4239ab4b 100644 --- a/src/api/collection.test.ts +++ b/src/api/collection.test.ts @@ -1,6 +1,6 @@ import { describe, it, expect, vi, beforeEach } from 'vitest' -import { collectionService } from '@/services/collection/collection' -import { authzService, Permission, ResourceType } from '@/services/authz/authz' +import { collectionService } from '@shumai/core/src/collection/collection' +import { authzService, Permission, ResourceType } from '@shumai/core/src/authz/authz' import { Hono, Context, Next } from 'hono' import collectionRoute from './collection' @@ -11,7 +11,7 @@ vi.mock('@/api/middleware/auth', () => ({ }, })) -vi.mock('@/services/authz/authz', () => ({ +vi.mock('@shumai/core/src/authz/authz', () => ({ authzService: { hasPermission: vi.fn().mockResolvedValue(undefined), }, diff --git a/src/api/collection.ts b/src/api/collection.ts index 9c191d60..be99aaca 100644 --- a/src/api/collection.ts +++ b/src/api/collection.ts @@ -1,7 +1,7 @@ import { zValidator } from '@hono/zod-validator' import { Hono } from 'hono' -import { collectionService } from '@/services/collection/collection' -import { authzService, Permission, ResourceType } from '@/services/authz/authz' +import { collectionService } from '@shumai/core/src/collection/collection' +import { authzService, Permission, ResourceType } from '@shumai/core/src/authz/authz' import { createCollectionRequestSchema, updateCollectionRequestSchema, @@ -9,7 +9,7 @@ import { CollectionInfo, CollectionFilter, } from '@shumai/dtos' -import type { Prisma } from '@/generated/prisma/client' +import type { Prisma } from '@shumai/db' type User = Prisma.UserGetPayload> diff --git a/src/api/file.test.ts b/src/api/file.test.ts index ffabaeb8..be80550d 100644 --- a/src/api/file.test.ts +++ b/src/api/file.test.ts @@ -2,14 +2,14 @@ import { describe, expect, it, vi, beforeEach, afterEach } from 'vitest' import { Hono, type Context, type Next } from 'hono' import { prisma } from '@shumai/db' import fileRoute from './file' -import { assetService } from '@/services/asset/asset' -import { metadataService } from '@/services/metadata/metadata' -import { notificationService } from '@/services/notification/notification' -import { s3Service } from '@/services/s3/s3' +import { assetService } from '@shumai/core/src/asset/asset' +import { metadataService } from '@shumai/core/src/metadata/metadata' +import { notificationService } from '@shumai/core/src/notification/notification' +import { s3Service } from '@shumai/core/src/s3/s3' import { authMiddleware } from '@/api/middleware/auth' -import { authzService, ResourceType, Permission } from '@/services/authz/authz' +import { authzService, ResourceType, Permission } from '@shumai/core/src/authz/authz' -vi.mock('@/services/authz/authz', () => ({ +vi.mock('@shumai/core/src/authz/authz', () => ({ authzService: { hasPermission: vi.fn().mockResolvedValue(undefined), }, diff --git a/src/api/file.ts b/src/api/file.ts index e9c48054..eef1ee59 100644 --- a/src/api/file.ts +++ b/src/api/file.ts @@ -1,11 +1,11 @@ import { Hono } from 'hono' import { zValidator } from '@hono/zod-validator' import { prisma } from '@shumai/db' -import { authzService, Permission, ResourceType } from '@/services/authz/authz' -import { assetService } from '@/services/asset/asset' -import { metadataService } from '@/services/metadata/metadata' -import { notificationService } from '@/services/notification/notification' -import { s3Service } from '@/services/s3/s3' +import { authzService, Permission, ResourceType } from '@shumai/core/src/authz/authz' +import { assetService } from '@shumai/core/src/asset/asset' +import { metadataService } from '@shumai/core/src/metadata/metadata' +import { notificationService } from '@shumai/core/src/notification/notification' +import { s3Service } from '@shumai/core/src/s3/s3' import { updateFileRequestSchema, updateAssetOrderRequestSchema, @@ -18,7 +18,7 @@ import { updateAssetMetadataRequestSchema } from '@shumai/dtos' import { paginationParamsSchema } from '@shumai/dtos' import { ulid } from 'ulid' import { z } from 'zod' -import type { Prisma } from '@/generated/prisma/client' +import type { Prisma } from '@shumai/db' type User = Prisma.UserGetPayload> diff --git a/src/api/folder.test.ts b/src/api/folder.test.ts index 17fcb9c9..2fe118ff 100644 --- a/src/api/folder.test.ts +++ b/src/api/folder.test.ts @@ -1,12 +1,12 @@ import { describe, expect, it, vi, beforeEach, afterEach } from 'vitest' import { Hono } from 'hono' import folderRoute from './folder' -import { assetService } from '@/services/asset/asset' -import { searchService } from '@/services/search/search' -import { authzService, ResourceType, Permission } from '@/services/authz/authz' +import { assetService } from '@shumai/core/src/asset/asset' +import { searchService } from '@shumai/core/src/search/search' +import { authzService, ResourceType, Permission } from '@shumai/core/src/authz/authz' import { authMiddleware } from '@/api/middleware/auth' -vi.mock('@/services/authz/authz', () => ({ +vi.mock('@shumai/core/src/authz/authz', () => ({ authzService: { hasPermission: vi.fn().mockResolvedValue(undefined), }, diff --git a/src/api/folder.ts b/src/api/folder.ts index 8fb0e40d..625d555b 100644 --- a/src/api/folder.ts +++ b/src/api/folder.ts @@ -1,8 +1,8 @@ import { Hono } from 'hono' import { zValidator } from '@hono/zod-validator' -import { authzService, Permission, ResourceType } from '@/services/authz/authz' -import { assetService } from '@/services/asset/asset' -import { searchService } from '@/services/search/search' +import { authzService, Permission, ResourceType } from '@shumai/core/src/authz/authz' +import { assetService } from '@shumai/core/src/asset/asset' +import { searchService } from '@shumai/core/src/search/search' import { createFolderRequestSchema, updateFolderRequestSchema, @@ -11,7 +11,7 @@ import { } from '@shumai/dtos' import { listChildrenRequestSchema, updateAssetOrderRequestSchema } from '@shumai/dtos' import { searchRequestSchema } from '@shumai/dtos' -import type { Prisma } from '@/generated/prisma/client' +import type { Prisma } from '@shumai/db' type User = Prisma.UserGetPayload> diff --git a/src/api/invite.test.ts b/src/api/invite.test.ts index 9fd873f5..14b09ebe 100644 --- a/src/api/invite.test.ts +++ b/src/api/invite.test.ts @@ -2,13 +2,13 @@ import { describe, expect, it, vi, beforeEach } from 'vitest' import { Hono, type Context, type Next } from 'hono' import inviteRoute from './invite' import publicInviteRoute from './public-invite' -import { authzService, Permission, ResourceType } from '@/services/authz/authz' -import { inviteService } from '@/services/invite/invite' -import { notificationService } from '@/services/notification/notification' +import { authzService, Permission, ResourceType } from '@shumai/core/src/authz/authz' +import { inviteService } from '@shumai/core/src/invite/invite' +import { notificationService } from '@shumai/core/src/notification/notification' -vi.mock('@/services/invite/invite') -vi.mock('@/services/notification/notification') -vi.mock('@/services/authz/authz') +vi.mock('@shumai/core/src/invite/invite') +vi.mock('@shumai/core/src/notification/notification') +vi.mock('@shumai/core/src/authz/authz') vi.mock('@/api/middleware/auth', () => ({ authMiddleware: async ( diff --git a/src/api/invite.ts b/src/api/invite.ts index 37355611..07725511 100644 --- a/src/api/invite.ts +++ b/src/api/invite.ts @@ -6,11 +6,11 @@ import { joinRequestSchema, InviteInfo, } from '@shumai/dtos' -import { authzService, Permission, ResourceType } from '@/services/authz/authz' -import { inviteService } from '@/services/invite/invite' -import { notificationService } from '@/services/notification/notification' -import { NotificationType } from '@/generated/prisma/client' -import type { Prisma } from '@/generated/prisma/client' +import { authzService, Permission, ResourceType } from '@shumai/core/src/authz/authz' +import { inviteService } from '@shumai/core/src/invite/invite' +import { notificationService } from '@shumai/core/src/notification/notification' +import { NotificationType } from '@shumai/db' +import type { Prisma } from '@shumai/db' type User = Prisma.UserGetPayload> diff --git a/src/api/metadata.test.ts b/src/api/metadata.test.ts index 12389530..f72836ed 100644 --- a/src/api/metadata.test.ts +++ b/src/api/metadata.test.ts @@ -1,8 +1,8 @@ import { describe, expect, it, vi, beforeEach } from 'vitest' import { Hono, type Context, type Next } from 'hono' import metadataRoute from './metadata' -import { metadataService } from '@/services/metadata/metadata' -import { authzService, Permission, ResourceType } from '@/services/authz/authz' +import { metadataService } from '@shumai/core/src/metadata/metadata' +import { authzService, Permission, ResourceType } from '@shumai/core/src/authz/authz' vi.mock('@/api/middleware/auth', () => ({ authMiddleware: async ( @@ -14,8 +14,8 @@ vi.mock('@/api/middleware/auth', () => ({ }, })) -vi.mock('@/services/authz/authz') -vi.mock('@/services/metadata/metadata') +vi.mock('@shumai/core/src/authz/authz') +vi.mock('@shumai/core/src/metadata/metadata') describe('metadata api', () => { const app = new Hono<{ Variables: { user: { id: string; name: string } } }>() diff --git a/src/api/metadata.ts b/src/api/metadata.ts index 21f7c729..82b95eb8 100644 --- a/src/api/metadata.ts +++ b/src/api/metadata.ts @@ -1,14 +1,14 @@ import { zValidator } from '@hono/zod-validator' import { Hono } from 'hono' -import { metadataService } from '@/services/metadata/metadata' -import { authzService, Permission, ResourceType } from '@/services/authz/authz' +import { metadataService } from '@shumai/core/src/metadata/metadata' +import { authzService, Permission, ResourceType } from '@shumai/core/src/authz/authz' import { createFieldRequestSchema, updateFieldRequestSchema, updateProjectFieldsOrderRequestSchema, FieldInfo, } from '@shumai/dtos' -import type { Prisma } from '@/generated/prisma/client' +import type { Prisma } from '@shumai/db' type User = Prisma.UserGetPayload> diff --git a/src/api/middleware/auth.ts b/src/api/middleware/auth.ts index adb99be8..9a8c7b1f 100644 --- a/src/api/middleware/auth.ts +++ b/src/api/middleware/auth.ts @@ -1,5 +1,5 @@ -import type { Prisma } from '@/generated/prisma/client' -import { auth } from '@/services/auth/auth' +import type { Prisma } from '@shumai/db' +import { auth } from '@shumai/core/src/auth/auth' import { prisma } from '@shumai/db' import { createMiddleware } from 'hono/factory' diff --git a/src/api/notification.test.ts b/src/api/notification.test.ts index 0611a7b3..a3a22ece 100644 --- a/src/api/notification.test.ts +++ b/src/api/notification.test.ts @@ -1,9 +1,9 @@ import { describe, expect, it, vi, beforeEach } from 'vitest' import { Hono, type Context, type Next } from 'hono' import notificationRoute from './notification' -import { notificationService } from '@/services/notification/notification' -import { authzService, Permission, ResourceType } from '@/services/authz/authz' -import { userMetadataService } from '@/services/user-metadata/user-metadata' +import { notificationService } from '@shumai/core/src/notification/notification' +import { authzService, Permission, ResourceType } from '@shumai/core/src/authz/authz' +import { userMetadataService } from '@shumai/core/src/user-metadata/user-metadata' vi.mock('@/api/middleware/auth', () => ({ authMiddleware: async ( @@ -15,9 +15,9 @@ vi.mock('@/api/middleware/auth', () => ({ }, })) -vi.mock('@/services/authz/authz') -vi.mock('@/services/notification/notification') -vi.mock('@/services/user-metadata/user-metadata') +vi.mock('@shumai/core/src/authz/authz') +vi.mock('@shumai/core/src/notification/notification') +vi.mock('@shumai/core/src/user-metadata/user-metadata') describe('notification api', () => { const app = new Hono<{ Variables: { user: { id: string; name: string } } }>() diff --git a/src/api/notification.ts b/src/api/notification.ts index 7a861874..e630f6e8 100644 --- a/src/api/notification.ts +++ b/src/api/notification.ts @@ -1,14 +1,14 @@ import { zValidator } from '@hono/zod-validator' import { Hono } from 'hono' -import { notificationService } from '@/services/notification/notification' -import { authzService, Permission, ResourceType } from '@/services/authz/authz' +import { notificationService } from '@shumai/core/src/notification/notification' +import { authzService, Permission, ResourceType } from '@shumai/core/src/authz/authz' import { listNotificationsRequestSchema, markNotificationReadRequestSchema, notificationSettingsSchema, } from '@shumai/dtos' -import { userMetadataService } from '@/services/user-metadata/user-metadata' -import type { Prisma } from '@/generated/prisma/client' +import { userMetadataService } from '@shumai/core/src/user-metadata/user-metadata' +import type { Prisma } from '@shumai/db' type User = Prisma.UserGetPayload> diff --git a/src/api/project.test.ts b/src/api/project.test.ts index d153745b..6ef03683 100644 --- a/src/api/project.test.ts +++ b/src/api/project.test.ts @@ -1,9 +1,9 @@ import { describe, expect, it, vi, beforeEach } from 'vitest' import { Hono, type Context, type Next } from 'hono' import projectRoute from './project' -import { authzService, Permission, ResourceType } from '@/services/authz/authz' -import { projectService } from '@/services/project/project' -import { assetService } from '@/services/asset/asset' +import { authzService, Permission, ResourceType } from '@shumai/core/src/authz/authz' +import { projectService } from '@shumai/core/src/project/project' +import { assetService } from '@shumai/core/src/asset/asset' vi.mock('@/api/middleware/auth', () => ({ authMiddleware: async ( @@ -15,9 +15,9 @@ vi.mock('@/api/middleware/auth', () => ({ }, })) -vi.mock('@/services/authz/authz') -vi.mock('@/services/project/project') -vi.mock('@/services/asset/asset') +vi.mock('@shumai/core/src/authz/authz') +vi.mock('@shumai/core/src/project/project') +vi.mock('@shumai/core/src/asset/asset') describe('project api', () => { const app = new Hono<{ Variables: { user: { id: string; name: string } } }>() diff --git a/src/api/project.ts b/src/api/project.ts index bbb5d13b..81c9f35e 100644 --- a/src/api/project.ts +++ b/src/api/project.ts @@ -1,8 +1,8 @@ import { Hono } from 'hono' import { zValidator } from '@hono/zod-validator' -import { authzService, Permission, ResourceType } from '@/services/authz/authz' -import { projectService } from '@/services/project/project' -import { assetService } from '@/services/asset/asset' +import { authzService, Permission, ResourceType } from '@shumai/core/src/authz/authz' +import { projectService } from '@shumai/core/src/project/project' +import { assetService } from '@shumai/core/src/asset/asset' import { reparentAssetsRequestSchema, copyAssetsRequestSchema } from '@shumai/dtos' import { createProjectRequestSchema, @@ -11,7 +11,7 @@ import { recentlyDeletedRequestSchema, } from '@shumai/dtos' import { listMembersQuerySchema } from '@shumai/dtos' -import type { Prisma } from '@/generated/prisma/client' +import type { Prisma } from '@shumai/db' type User = Prisma.UserGetPayload> diff --git a/src/api/provider.test.ts b/src/api/provider.test.ts index 82b03250..e053df50 100644 --- a/src/api/provider.test.ts +++ b/src/api/provider.test.ts @@ -1,8 +1,8 @@ import { describe, expect, it, vi, beforeEach } from 'vitest' import { Hono, type Context, type Next } from 'hono' import providerRoute from './provider' -import { providerService } from '@/services/provider/provider' -import { authzService, Permission, ResourceType } from '@/services/authz/authz' +import { providerService } from '@shumai/core/src/provider/provider' +import { authzService, Permission, ResourceType } from '@shumai/core/src/authz/authz' vi.mock('@/api/middleware/auth', () => ({ authMiddleware: async ( @@ -14,8 +14,8 @@ vi.mock('@/api/middleware/auth', () => ({ }, })) -vi.mock('@/services/authz/authz') -vi.mock('@/services/provider/provider') +vi.mock('@shumai/core/src/authz/authz') +vi.mock('@shumai/core/src/provider/provider') describe('provider api', () => { const app = new Hono<{ Variables: { user: { id: string; name: string } } }>() diff --git a/src/api/provider.ts b/src/api/provider.ts index eba6dce6..c9911f7b 100644 --- a/src/api/provider.ts +++ b/src/api/provider.ts @@ -1,9 +1,9 @@ import { zValidator } from '@hono/zod-validator' import { Hono } from 'hono' -import { authzService, Permission, ResourceType } from '@/services/authz/authz' -import { providerService } from '@/services/provider/provider' +import { authzService, Permission, ResourceType } from '@shumai/core/src/authz/authz' +import { providerService } from '@shumai/core/src/provider/provider' import { createProviderRequestSchema, updateProviderRequestSchema } from '@shumai/dtos' -import type { Prisma } from '@/generated/prisma/client' +import type { Prisma } from '@shumai/db' type User = Prisma.UserGetPayload> diff --git a/src/api/public-invite.ts b/src/api/public-invite.ts index 1ec6b8ed..9af8ed1c 100644 --- a/src/api/public-invite.ts +++ b/src/api/public-invite.ts @@ -1,5 +1,5 @@ import { Hono } from 'hono' -import { inviteService } from '@/services/invite/invite' +import { inviteService } from '@shumai/core/src/invite/invite' import { InviteInfo } from '@shumai/dtos' const app = new Hono() diff --git a/src/api/public-share.ts b/src/api/public-share.ts index 06436894..3f64bdec 100644 --- a/src/api/public-share.ts +++ b/src/api/public-share.ts @@ -1,16 +1,16 @@ import { Hono } from 'hono' import { zValidator } from '@hono/zod-validator' -import { shareService } from '@/services/share/share' -import { assetService } from '@/services/asset/asset' +import { shareService } from '@shumai/core/src/share/share' +import { assetService } from '@shumai/core/src/asset/asset' import { paginationParamsSchema } from '@shumai/dtos' import { z } from 'zod' -import { metadataService } from '@/services/metadata/metadata' +import { metadataService } from '@shumai/core/src/metadata/metadata' import { FieldInfo } from '@shumai/dtos' -import type { Prisma as PrismaType } from '@/generated/prisma/client' -import { auth } from '@/services/auth/auth' +import type { Prisma as PrismaType } from '@shumai/db' +import { auth } from '@shumai/core/src/auth/auth' import { prisma } from '@shumai/db' import { createCommentRequestSchema } from '@shumai/dtos' -import { notificationService } from '@/services/notification/notification' +import { notificationService } from '@shumai/core/src/notification/notification' const app = new Hono() diff --git a/src/api/s3.test.ts b/src/api/s3.test.ts index c715103d..6b320b9c 100644 --- a/src/api/s3.test.ts +++ b/src/api/s3.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect, vi, beforeEach } from 'vitest' -import { s3Service } from '@/services/s3/s3' +import { s3Service } from '@shumai/core/src/s3/s3' import { Hono } from 'hono' const { mockServeStatic } = vi.hoisted(() => ({ diff --git a/src/api/s3.ts b/src/api/s3.ts index c87b4b06..2976d7b2 100644 --- a/src/api/s3.ts +++ b/src/api/s3.ts @@ -1,5 +1,5 @@ import { Hono } from 'hono' -import { s3Service } from '@/services/s3/s3' +import { s3Service } from '@shumai/core/src/s3/s3' import { serveStatic } from 'hono/bun' const route = new Hono() diff --git a/src/api/share.test.ts b/src/api/share.test.ts index f4f2dff0..6206a9d6 100644 --- a/src/api/share.test.ts +++ b/src/api/share.test.ts @@ -3,9 +3,9 @@ import { Hono } from 'hono' import shareRoute from './share' import publicShareRoute from './public-share' import { authMiddleware } from '@/api/middleware/auth' -import { shareService } from '@/services/share/share' -import { assetService } from '@/services/asset/asset' -import { authzService, Permission, ResourceType } from '@/services/authz/authz' +import { shareService } from '@shumai/core/src/share/share' +import { assetService } from '@shumai/core/src/asset/asset' +import { authzService, Permission, ResourceType } from '@shumai/core/src/authz/authz' vi.mock('@/api/middleware/auth', () => ({ // eslint-disable-next-line @typescript-eslint/no-explicit-any @@ -16,7 +16,7 @@ vi.mock('@/api/middleware/auth', () => ({ }, })) -vi.mock('@/services/authz/authz', () => ({ +vi.mock('@shumai/core/src/authz/authz', () => ({ authzService: { hasPermission: vi.fn().mockResolvedValue(undefined), }, diff --git a/src/api/share.ts b/src/api/share.ts index fafe55c8..0c76f29d 100644 --- a/src/api/share.ts +++ b/src/api/share.ts @@ -1,14 +1,14 @@ import { Hono } from 'hono' import { zValidator } from '@hono/zod-validator' -import { authzService, Permission, ResourceType } from '@/services/authz/authz' -import { shareService } from '@/services/share/share' +import { authzService, Permission, ResourceType } from '@shumai/core/src/authz/authz' +import { shareService } from '@shumai/core/src/share/share' import { createShareLinkRequestSchema, updateShareLinkRequestSchema, listShareLinksRequestSchema, addAssetToShareRequestSchema, } from '@shumai/dtos' -import type { Prisma } from '@/generated/prisma/client' +import type { Prisma } from '@shumai/db' type User = Prisma.UserGetPayload> diff --git a/src/api/skill.test.ts b/src/api/skill.test.ts index 79341935..5dbd4e93 100644 --- a/src/api/skill.test.ts +++ b/src/api/skill.test.ts @@ -1,9 +1,9 @@ import { describe, expect, test, vi, beforeEach } from 'vitest' import { Hono } from 'hono' import skillRoute from './skill' -import { skillService } from '@/services/skill/skill' +import { skillService } from '@shumai/core/src/skill/skill' import { authMiddleware } from '@/api/middleware/auth' -import { authzService, ResourceType, Permission } from '@/services/authz/authz' +import { authzService, ResourceType, Permission } from '@shumai/core/src/authz/authz' vi.mock('@/api/middleware/auth', () => ({ // eslint-disable-next-line @typescript-eslint/no-explicit-any @@ -14,7 +14,7 @@ vi.mock('@/api/middleware/auth', () => ({ }, })) -vi.mock('@/services/authz/authz', () => ({ +vi.mock('@shumai/core/src/authz/authz', () => ({ authzService: { hasPermission: vi.fn().mockResolvedValue(undefined), }, diff --git a/src/api/skill.ts b/src/api/skill.ts index 9e7311f4..2748aa49 100644 --- a/src/api/skill.ts +++ b/src/api/skill.ts @@ -1,9 +1,9 @@ import { Hono } from 'hono' import { zValidator } from '@hono/zod-validator' -import { authzService, Permission, ResourceType } from '@/services/authz/authz' -import { skillService } from '@/services/skill/skill' +import { authzService, Permission, ResourceType } from '@shumai/core/src/authz/authz' +import { skillService } from '@shumai/core/src/skill/skill' import { upsertSkillRequestSchema, updateSkillConfigRequestSchema } from '@shumai/dtos' -import type { Prisma } from '@/generated/prisma/client' +import type { Prisma } from '@shumai/db' type User = Prisma.UserGetPayload> diff --git a/src/api/team.test.ts b/src/api/team.test.ts index 3591a583..a045d4c2 100644 --- a/src/api/team.test.ts +++ b/src/api/team.test.ts @@ -2,12 +2,12 @@ import { describe, expect, it, vi, beforeEach, afterEach } from 'vitest' import { Hono } from 'hono' import teamRoute from './team' import { authMiddleware } from '@/api/middleware/auth' -import { teamService } from '@/services/team/team' -import { userMetadataService } from '@/services/user-metadata/user-metadata' -import { notificationService } from '@/services/notification/notification' -import { authzService, ResourceType, Permission } from '@/services/authz/authz' +import { teamService } from '@shumai/core/src/team/team' +import { userMetadataService } from '@shumai/core/src/user-metadata/user-metadata' +import { notificationService } from '@shumai/core/src/notification/notification' +import { authzService, ResourceType, Permission } from '@shumai/core/src/authz/authz' -vi.mock('@/services/authz/authz', () => ({ +vi.mock('@shumai/core/src/authz/authz', () => ({ authzService: { hasPermission: vi.fn().mockResolvedValue(undefined), }, diff --git a/src/api/team.ts b/src/api/team.ts index 123ab2e0..d20e45f7 100644 --- a/src/api/team.ts +++ b/src/api/team.ts @@ -1,10 +1,10 @@ import { Hono } from 'hono' import { zValidator } from '@hono/zod-validator' -import { authzService, Permission, ResourceType } from '@/services/authz/authz' -import { teamService } from '@/services/team/team' -import { userMetadataService } from '@/services/user-metadata/user-metadata' -import { notificationService } from '@/services/notification/notification' -import { NotificationType } from '@/generated/prisma/client' +import { authzService, Permission, ResourceType } from '@shumai/core/src/authz/authz' +import { teamService } from '@shumai/core/src/team/team' +import { userMetadataService } from '@shumai/core/src/user-metadata/user-metadata' +import { notificationService } from '@shumai/core/src/notification/notification' +import { NotificationType } from '@shumai/db' import { createTeamRequestSchema, getUserTeamsRequestSchema, @@ -13,7 +13,7 @@ import { updateSandboxSettingsRequestSchema, } from '@shumai/dtos' import { updateUserMetadataRequestSchema } from '@shumai/dtos' -import type { Prisma } from '@/generated/prisma/client' +import type { Prisma } from '@shumai/db' type User = Prisma.UserGetPayload> diff --git a/src/api/upload.test.ts b/src/api/upload.test.ts index 06987e67..671f554f 100644 --- a/src/api/upload.test.ts +++ b/src/api/upload.test.ts @@ -2,10 +2,10 @@ import { describe, expect, it, vi, beforeEach } from 'vitest' import { Hono } from 'hono' import uploadRoute from './upload' import { authMiddleware } from '@/api/middleware/auth' -import { uploadService } from '@/services/upload/upload' +import { uploadService } from '@shumai/core/src/upload/upload' import type { CreateUploadTaskResponse, TaskInfo } from '@shumai/dtos' -import type { PaginatedData } from '@/services/pagination' -import { authzService, ResourceType, Permission } from '@/services/authz/authz' +import type { PaginatedData } from '@shumai/core/src/pagination' +import { authzService, ResourceType, Permission } from '@shumai/core/src/authz/authz' vi.mock('@/api/middleware/auth', () => ({ // We use any here because mocking Hono context and middleware @@ -18,7 +18,7 @@ vi.mock('@/api/middleware/auth', () => ({ }, })) -vi.mock('@/services/authz/authz', () => ({ +vi.mock('@shumai/core/src/authz/authz', () => ({ authzService: { hasPermission: vi.fn().mockResolvedValue(undefined), }, @@ -33,7 +33,7 @@ vi.mock('@/services/authz/authz', () => ({ }, })) -vi.mock('@/services/notification/notification', () => ({ +vi.mock('@shumai/core/src/notification/notification', () => ({ notificationService: { create: vi.fn().mockResolvedValue(undefined), }, diff --git a/src/api/upload.ts b/src/api/upload.ts index 4224e1a4..f9c5ac6a 100644 --- a/src/api/upload.ts +++ b/src/api/upload.ts @@ -1,17 +1,17 @@ import { Hono } from 'hono' import { zValidator } from '@hono/zod-validator' -import { uploadService } from '@/services/upload/upload' +import { uploadService } from '@shumai/core/src/upload/upload' import { confirmFileUploadRequestSchema, createUploadTaskRequestSchema, localUploadQuerySchema, } from '@shumai/dtos' import { paginationParamsSchema } from '@shumai/dtos' -import { authzService, Permission, ResourceType } from '@/services/authz/authz' -import { notificationService } from '@/services/notification/notification' -import { NotificationType } from '@/generated/prisma/client' -import { s3Service, verifyLocalUrlSignature } from '@/services/s3/s3' -import type { Prisma } from '@/generated/prisma/client' +import { authzService, Permission, ResourceType } from '@shumai/core/src/authz/authz' +import { notificationService } from '@shumai/core/src/notification/notification' +import { NotificationType } from '@shumai/db' +import { s3Service, verifyLocalUrlSignature } from '@shumai/core/src/s3/s3' +import type { Prisma } from '@shumai/db' type User = Prisma.UserGetPayload> diff --git a/src/api/versionStack.test.ts b/src/api/versionStack.test.ts index 38c38935..bde6450a 100644 --- a/src/api/versionStack.test.ts +++ b/src/api/versionStack.test.ts @@ -2,11 +2,11 @@ import { describe, expect, it, vi, beforeEach, afterEach } from 'vitest' import { Hono } from 'hono' import versionStackRoute from './versionStack' import { authMiddleware } from '@/api/middleware/auth' -import { versionStackService } from '@/services/versionStack/versionStack' -import { assetService } from '@/services/asset/asset' -import { authzService, ResourceType, Permission } from '@/services/authz/authz' +import { versionStackService } from '@shumai/core/src/versionStack/versionStack' +import { assetService } from '@shumai/core/src/asset/asset' +import { authzService, ResourceType, Permission } from '@shumai/core/src/authz/authz' -vi.mock('@/services/authz/authz', () => ({ +vi.mock('@shumai/core/src/authz/authz', () => ({ authzService: { hasPermission: vi.fn().mockResolvedValue(undefined), }, diff --git a/src/api/versionStack.ts b/src/api/versionStack.ts index f72d8470..4ff0b3b4 100644 --- a/src/api/versionStack.ts +++ b/src/api/versionStack.ts @@ -1,10 +1,10 @@ import { Hono } from 'hono' import { zValidator } from '@hono/zod-validator' -import { versionStackService } from '@/services/versionStack/versionStack' -import { assetService } from '@/services/asset/asset' -import { authzService, Permission, ResourceType } from '@/services/authz/authz' +import { versionStackService } from '@shumai/core/src/versionStack/versionStack' +import { assetService } from '@shumai/core/src/asset/asset' +import { authzService, Permission, ResourceType } from '@shumai/core/src/authz/authz' import { createVersionStackRequestSchema, changeStackFileVersionRequestSchema } from '@shumai/dtos' -import type { Prisma } from '@/generated/prisma/client' +import type { Prisma } from '@shumai/db' type User = Prisma.UserGetPayload> diff --git a/src/cli/serve.ts b/src/cli/serve.ts index eec194d6..ab071152 100644 --- a/src/cli/serve.ts +++ b/src/cli/serve.ts @@ -1,6 +1,6 @@ import index from '@/ui/index.html' -import type { Prisma } from '@/generated/prisma/client' +import type { Prisma } from '@shumai/db' import { Hono } from 'hono' import agentRoute from '@/api/agent' import attachmentRoute from '@/api/attachment' @@ -22,8 +22,8 @@ import skillRoute from '@/api/skill' import teamRoute from '@/api/team' import uploadRoute from '@/api/upload' import versionStackRoute from '@/api/versionStack' -import { metadataService } from '@/services/metadata/metadata' -import { assetService } from '@/services/asset/asset' +import { metadataService } from '@shumai/core/src/metadata/metadata' +import { assetService } from '@shumai/core/src/asset/asset' import { workflowService } from '@/workflow/workflow' type User = Prisma.UserGetPayload> diff --git a/src/generated/prisma/browser.ts b/src/generated/prisma/browser.ts deleted file mode 100644 index a53a6a58..00000000 --- a/src/generated/prisma/browser.ts +++ /dev/null @@ -1,179 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file should be your main import to use Prisma-related types and utilities in a browser. - * Use it to get access to models, enums, and input types. - * - * This file does not contain a `PrismaClient` class, nor several other helpers that are intended as server-side only. - * See `client.ts` for the standard, server-side entry point. - * - * 🟢 You can import this file directly. - */ - -import * as Prisma from './internal/prismaNamespaceBrowser.ts' -export { Prisma } -export * as $Enums from './enums.ts' -export * from './enums.ts'; -/** - * Model User - * - */ -export type User = Prisma.UserModel -/** - * Model Session - * - */ -export type Session = Prisma.SessionModel -/** - * Model Account - * - */ -export type Account = Prisma.AccountModel -/** - * Model Verification - * - */ -export type Verification = Prisma.VerificationModel -/** - * Model AuthToken - * - */ -export type AuthToken = Prisma.AuthTokenModel -/** - * Model Team - * - */ -export type Team = Prisma.TeamModel -/** - * Model Sandbox - * - */ -export type Sandbox = Prisma.SandboxModel -/** - * Model Skill - * - */ -export type Skill = Prisma.SkillModel -/** - * Model TeamMember - * - */ -export type TeamMember = Prisma.TeamMemberModel -/** - * Model Project - * - */ -export type Project = Prisma.ProjectModel -/** - * Model ProjectMember - * - */ -export type ProjectMember = Prisma.ProjectMemberModel -/** - * Model ShareLink - * - */ -export type ShareLink = Prisma.ShareLinkModel -/** - * Model Asset - * - */ -export type Asset = Prisma.AssetModel -/** - * Model StorageKey - * - */ -export type StorageKey = Prisma.StorageKeyModel -/** - * Model AssetMetadataValue - * - */ -export type AssetMetadataValue = Prisma.AssetMetadataValueModel -/** - * Model AssetComment - * - */ -export type AssetComment = Prisma.AssetCommentModel -/** - * Model AssetCommentAttachment - * - */ -export type AssetCommentAttachment = Prisma.AssetCommentAttachmentModel -/** - * Model AssetEmbedding - * - */ -export type AssetEmbedding = Prisma.AssetEmbeddingModel -/** - * Model Invite - * - */ -export type Invite = Prisma.InviteModel -/** - * Model MetadataField - * - */ -export type MetadataField = Prisma.MetadataFieldModel -/** - * Model Notification - * - */ -export type Notification = Prisma.NotificationModel -/** - * Model SystemSettings - * - */ -export type SystemSettings = Prisma.SystemSettingsModel -/** - * Model Task - * - */ -export type Task = Prisma.TaskModel -/** - * Model WorkflowTask - * - */ -export type WorkflowTask = Prisma.WorkflowTaskModel -/** - * Model Agent - * - */ -export type Agent = Prisma.AgentModel -/** - * Model AgentSkill - * - */ -export type AgentSkill = Prisma.AgentSkillModel -/** - * Model AgentSession - * - */ -export type AgentSession = Prisma.AgentSessionModel -/** - * Model AgentSessionEntry - * - */ -export type AgentSessionEntry = Prisma.AgentSessionEntryModel -/** - * Model UserMetadata - * - */ -export type UserMetadata = Prisma.UserMetadataModel -/** - * Model Model - * - */ -export type Model = Prisma.ModelModel -/** - * Model Provider - * - */ -export type Provider = Prisma.ProviderModel -/** - * Model Collection - * - */ -export type Collection = Prisma.CollectionModel diff --git a/src/generated/prisma/client.ts b/src/generated/prisma/client.ts deleted file mode 100644 index ed57299f..00000000 --- a/src/generated/prisma/client.ts +++ /dev/null @@ -1,203 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file should be your main import to use Prisma. Through it you get access to all the models, enums, and input types. - * If you're looking for something you can import in the client-side of your application, please refer to the `browser.ts` file instead. - * - * 🟢 You can import this file directly. - */ - -import * as process from 'node:process' -import * as path from 'node:path' -import { fileURLToPath } from 'node:url' -globalThis['__dirname'] = path.dirname(fileURLToPath(import.meta.url)) - -import * as runtime from "@prisma/client/runtime/client" -import * as $Enums from "./enums.ts" -import * as $Class from "./internal/class.ts" -import * as Prisma from "./internal/prismaNamespace.ts" - -export * as $Enums from './enums.ts' -export * from "./enums.ts" -/** - * ## Prisma Client - * - * Type-safe database client for TypeScript - * @example - * ``` - * const prisma = new PrismaClient({ - * adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL }) - * }) - * // Fetch zero or more Users - * const users = await prisma.user.findMany() - * ``` - * - * Read more in our [docs](https://pris.ly/d/client). - */ -export const PrismaClient = $Class.getPrismaClientClass() -export type PrismaClient = $Class.PrismaClient -export { Prisma } - -/** - * Model User - * - */ -export type User = Prisma.UserModel -/** - * Model Session - * - */ -export type Session = Prisma.SessionModel -/** - * Model Account - * - */ -export type Account = Prisma.AccountModel -/** - * Model Verification - * - */ -export type Verification = Prisma.VerificationModel -/** - * Model AuthToken - * - */ -export type AuthToken = Prisma.AuthTokenModel -/** - * Model Team - * - */ -export type Team = Prisma.TeamModel -/** - * Model Sandbox - * - */ -export type Sandbox = Prisma.SandboxModel -/** - * Model Skill - * - */ -export type Skill = Prisma.SkillModel -/** - * Model TeamMember - * - */ -export type TeamMember = Prisma.TeamMemberModel -/** - * Model Project - * - */ -export type Project = Prisma.ProjectModel -/** - * Model ProjectMember - * - */ -export type ProjectMember = Prisma.ProjectMemberModel -/** - * Model ShareLink - * - */ -export type ShareLink = Prisma.ShareLinkModel -/** - * Model Asset - * - */ -export type Asset = Prisma.AssetModel -/** - * Model StorageKey - * - */ -export type StorageKey = Prisma.StorageKeyModel -/** - * Model AssetMetadataValue - * - */ -export type AssetMetadataValue = Prisma.AssetMetadataValueModel -/** - * Model AssetComment - * - */ -export type AssetComment = Prisma.AssetCommentModel -/** - * Model AssetCommentAttachment - * - */ -export type AssetCommentAttachment = Prisma.AssetCommentAttachmentModel -/** - * Model AssetEmbedding - * - */ -export type AssetEmbedding = Prisma.AssetEmbeddingModel -/** - * Model Invite - * - */ -export type Invite = Prisma.InviteModel -/** - * Model MetadataField - * - */ -export type MetadataField = Prisma.MetadataFieldModel -/** - * Model Notification - * - */ -export type Notification = Prisma.NotificationModel -/** - * Model SystemSettings - * - */ -export type SystemSettings = Prisma.SystemSettingsModel -/** - * Model Task - * - */ -export type Task = Prisma.TaskModel -/** - * Model WorkflowTask - * - */ -export type WorkflowTask = Prisma.WorkflowTaskModel -/** - * Model Agent - * - */ -export type Agent = Prisma.AgentModel -/** - * Model AgentSkill - * - */ -export type AgentSkill = Prisma.AgentSkillModel -/** - * Model AgentSession - * - */ -export type AgentSession = Prisma.AgentSessionModel -/** - * Model AgentSessionEntry - * - */ -export type AgentSessionEntry = Prisma.AgentSessionEntryModel -/** - * Model UserMetadata - * - */ -export type UserMetadata = Prisma.UserMetadataModel -/** - * Model Model - * - */ -export type Model = Prisma.ModelModel -/** - * Model Provider - * - */ -export type Provider = Prisma.ProviderModel -/** - * Model Collection - * - */ -export type Collection = Prisma.CollectionModel diff --git a/src/generated/prisma/commonInputTypes.ts b/src/generated/prisma/commonInputTypes.ts deleted file mode 100644 index d31e0ac5..00000000 --- a/src/generated/prisma/commonInputTypes.ts +++ /dev/null @@ -1,1187 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports various common sort, input & filter types that are not directly linked to a particular model. - * - * 🟢 You can import this file directly. - */ - -import type * as runtime from "@prisma/client/runtime/client" -import * as $Enums from "./enums.ts" -import type * as Prisma from "./internal/prismaNamespace.ts" - - -export type StringFilter<$PrismaModel = never> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> - contains?: string | Prisma.StringFieldRefInput<$PrismaModel> - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - mode?: Prisma.QueryMode - not?: Prisma.NestedStringFilter<$PrismaModel> | string -} - -export type EnumUserTypeFilter<$PrismaModel = never> = { - equals?: $Enums.UserType | Prisma.EnumUserTypeFieldRefInput<$PrismaModel> - in?: $Enums.UserType[] | Prisma.ListEnumUserTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.UserType[] | Prisma.ListEnumUserTypeFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumUserTypeFilter<$PrismaModel> | $Enums.UserType -} - -export type BoolFilter<$PrismaModel = never> = { - equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> - not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean -} - -export type StringNullableFilter<$PrismaModel = never> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> - contains?: string | Prisma.StringFieldRefInput<$PrismaModel> - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - mode?: Prisma.QueryMode - not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null -} - -export type JsonNullableFilter<$PrismaModel = never> = -| Prisma.PatchUndefined< - Prisma.Either>, Exclude>, 'path'>>, - Required> - > -| Prisma.OptionalFlat>, 'path'>> - -export type JsonNullableFilterBase<$PrismaModel = never> = { - equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter - path?: string[] - mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel> - string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel> - string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel> - string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel> - array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - lt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - lte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - gt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - gte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter -} - -export type DateTimeFilter<$PrismaModel = never> = { - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string -} - -export type SortOrderInput = { - sort: Prisma.SortOrder - nulls?: Prisma.NullsOrder -} - -export type StringWithAggregatesFilter<$PrismaModel = never> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> - contains?: string | Prisma.StringFieldRefInput<$PrismaModel> - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - mode?: Prisma.QueryMode - not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedStringFilter<$PrismaModel> - _max?: Prisma.NestedStringFilter<$PrismaModel> -} - -export type EnumUserTypeWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.UserType | Prisma.EnumUserTypeFieldRefInput<$PrismaModel> - in?: $Enums.UserType[] | Prisma.ListEnumUserTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.UserType[] | Prisma.ListEnumUserTypeFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumUserTypeWithAggregatesFilter<$PrismaModel> | $Enums.UserType - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumUserTypeFilter<$PrismaModel> - _max?: Prisma.NestedEnumUserTypeFilter<$PrismaModel> -} - -export type BoolWithAggregatesFilter<$PrismaModel = never> = { - equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> - not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedBoolFilter<$PrismaModel> - _max?: Prisma.NestedBoolFilter<$PrismaModel> -} - -export type StringNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> - contains?: string | Prisma.StringFieldRefInput<$PrismaModel> - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - mode?: Prisma.QueryMode - not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _min?: Prisma.NestedStringNullableFilter<$PrismaModel> - _max?: Prisma.NestedStringNullableFilter<$PrismaModel> -} - -export type JsonNullableWithAggregatesFilter<$PrismaModel = never> = -| Prisma.PatchUndefined< - Prisma.Either>, Exclude>, 'path'>>, - Required> - > -| Prisma.OptionalFlat>, 'path'>> - -export type JsonNullableWithAggregatesFilterBase<$PrismaModel = never> = { - equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter - path?: string[] - mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel> - string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel> - string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel> - string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel> - array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - lt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - lte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - gt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - gte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _min?: Prisma.NestedJsonNullableFilter<$PrismaModel> - _max?: Prisma.NestedJsonNullableFilter<$PrismaModel> -} - -export type DateTimeWithAggregatesFilter<$PrismaModel = never> = { - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedDateTimeFilter<$PrismaModel> - _max?: Prisma.NestedDateTimeFilter<$PrismaModel> -} - -export type DateTimeNullableFilter<$PrismaModel = never> = { - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null -} - -export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> - _max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> -} - -export type EnumTeamMemberRoleFilter<$PrismaModel = never> = { - equals?: $Enums.TeamMemberRole | Prisma.EnumTeamMemberRoleFieldRefInput<$PrismaModel> - in?: $Enums.TeamMemberRole[] | Prisma.ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> - notIn?: $Enums.TeamMemberRole[] | Prisma.ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumTeamMemberRoleFilter<$PrismaModel> | $Enums.TeamMemberRole -} - -export type EnumTeamMemberScopeFilter<$PrismaModel = never> = { - equals?: $Enums.TeamMemberScope | Prisma.EnumTeamMemberScopeFieldRefInput<$PrismaModel> - in?: $Enums.TeamMemberScope[] | Prisma.ListEnumTeamMemberScopeFieldRefInput<$PrismaModel> - notIn?: $Enums.TeamMemberScope[] | Prisma.ListEnumTeamMemberScopeFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumTeamMemberScopeFilter<$PrismaModel> | $Enums.TeamMemberScope -} - -export type EnumTeamMemberRoleWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.TeamMemberRole | Prisma.EnumTeamMemberRoleFieldRefInput<$PrismaModel> - in?: $Enums.TeamMemberRole[] | Prisma.ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> - notIn?: $Enums.TeamMemberRole[] | Prisma.ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumTeamMemberRoleWithAggregatesFilter<$PrismaModel> | $Enums.TeamMemberRole - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumTeamMemberRoleFilter<$PrismaModel> - _max?: Prisma.NestedEnumTeamMemberRoleFilter<$PrismaModel> -} - -export type EnumTeamMemberScopeWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.TeamMemberScope | Prisma.EnumTeamMemberScopeFieldRefInput<$PrismaModel> - in?: $Enums.TeamMemberScope[] | Prisma.ListEnumTeamMemberScopeFieldRefInput<$PrismaModel> - notIn?: $Enums.TeamMemberScope[] | Prisma.ListEnumTeamMemberScopeFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumTeamMemberScopeWithAggregatesFilter<$PrismaModel> | $Enums.TeamMemberScope - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumTeamMemberScopeFilter<$PrismaModel> - _max?: Prisma.NestedEnumTeamMemberScopeFilter<$PrismaModel> -} - -export type EnumProjectMemberRoleFilter<$PrismaModel = never> = { - equals?: $Enums.ProjectMemberRole | Prisma.EnumProjectMemberRoleFieldRefInput<$PrismaModel> - in?: $Enums.ProjectMemberRole[] | Prisma.ListEnumProjectMemberRoleFieldRefInput<$PrismaModel> - notIn?: $Enums.ProjectMemberRole[] | Prisma.ListEnumProjectMemberRoleFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumProjectMemberRoleFilter<$PrismaModel> | $Enums.ProjectMemberRole -} - -export type EnumProjectMemberRoleWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.ProjectMemberRole | Prisma.EnumProjectMemberRoleFieldRefInput<$PrismaModel> - in?: $Enums.ProjectMemberRole[] | Prisma.ListEnumProjectMemberRoleFieldRefInput<$PrismaModel> - notIn?: $Enums.ProjectMemberRole[] | Prisma.ListEnumProjectMemberRoleFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumProjectMemberRoleWithAggregatesFilter<$PrismaModel> | $Enums.ProjectMemberRole - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumProjectMemberRoleFilter<$PrismaModel> - _max?: Prisma.NestedEnumProjectMemberRoleFilter<$PrismaModel> -} - -export type EnumAssetTypeFilter<$PrismaModel = never> = { - equals?: $Enums.AssetType | Prisma.EnumAssetTypeFieldRefInput<$PrismaModel> - in?: $Enums.AssetType[] | Prisma.ListEnumAssetTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.AssetType[] | Prisma.ListEnumAssetTypeFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumAssetTypeFilter<$PrismaModel> | $Enums.AssetType -} - -export type IntFilter<$PrismaModel = never> = { - equals?: number | Prisma.IntFieldRefInput<$PrismaModel> - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> - lt?: number | Prisma.IntFieldRefInput<$PrismaModel> - lte?: number | Prisma.IntFieldRefInput<$PrismaModel> - gt?: number | Prisma.IntFieldRefInput<$PrismaModel> - gte?: number | Prisma.IntFieldRefInput<$PrismaModel> - not?: Prisma.NestedIntFilter<$PrismaModel> | number -} - -export type EnumAssetStatusFilter<$PrismaModel = never> = { - equals?: $Enums.AssetStatus | Prisma.EnumAssetStatusFieldRefInput<$PrismaModel> - in?: $Enums.AssetStatus[] | Prisma.ListEnumAssetStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.AssetStatus[] | Prisma.ListEnumAssetStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumAssetStatusFilter<$PrismaModel> | $Enums.AssetStatus -} - -export type EnumAssetTypeWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.AssetType | Prisma.EnumAssetTypeFieldRefInput<$PrismaModel> - in?: $Enums.AssetType[] | Prisma.ListEnumAssetTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.AssetType[] | Prisma.ListEnumAssetTypeFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumAssetTypeWithAggregatesFilter<$PrismaModel> | $Enums.AssetType - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumAssetTypeFilter<$PrismaModel> - _max?: Prisma.NestedEnumAssetTypeFilter<$PrismaModel> -} - -export type IntWithAggregatesFilter<$PrismaModel = never> = { - equals?: number | Prisma.IntFieldRefInput<$PrismaModel> - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> - lt?: number | Prisma.IntFieldRefInput<$PrismaModel> - lte?: number | Prisma.IntFieldRefInput<$PrismaModel> - gt?: number | Prisma.IntFieldRefInput<$PrismaModel> - gte?: number | Prisma.IntFieldRefInput<$PrismaModel> - not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number - _count?: Prisma.NestedIntFilter<$PrismaModel> - _avg?: Prisma.NestedFloatFilter<$PrismaModel> - _sum?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedIntFilter<$PrismaModel> - _max?: Prisma.NestedIntFilter<$PrismaModel> -} - -export type EnumAssetStatusWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.AssetStatus | Prisma.EnumAssetStatusFieldRefInput<$PrismaModel> - in?: $Enums.AssetStatus[] | Prisma.ListEnumAssetStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.AssetStatus[] | Prisma.ListEnumAssetStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumAssetStatusWithAggregatesFilter<$PrismaModel> | $Enums.AssetStatus - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumAssetStatusFilter<$PrismaModel> - _max?: Prisma.NestedEnumAssetStatusFilter<$PrismaModel> -} - -export type EnumStorageKeyStatusFilter<$PrismaModel = never> = { - equals?: $Enums.StorageKeyStatus | Prisma.EnumStorageKeyStatusFieldRefInput<$PrismaModel> - in?: $Enums.StorageKeyStatus[] | Prisma.ListEnumStorageKeyStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.StorageKeyStatus[] | Prisma.ListEnumStorageKeyStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumStorageKeyStatusFilter<$PrismaModel> | $Enums.StorageKeyStatus -} - -export type EnumStorageKeyStatusWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.StorageKeyStatus | Prisma.EnumStorageKeyStatusFieldRefInput<$PrismaModel> - in?: $Enums.StorageKeyStatus[] | Prisma.ListEnumStorageKeyStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.StorageKeyStatus[] | Prisma.ListEnumStorageKeyStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumStorageKeyStatusWithAggregatesFilter<$PrismaModel> | $Enums.StorageKeyStatus - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumStorageKeyStatusFilter<$PrismaModel> - _max?: Prisma.NestedEnumStorageKeyStatusFilter<$PrismaModel> -} - -export type FloatNullableFilter<$PrismaModel = never> = { - equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null - in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null - notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null - lt?: number | Prisma.FloatFieldRefInput<$PrismaModel> - lte?: number | Prisma.FloatFieldRefInput<$PrismaModel> - gt?: number | Prisma.FloatFieldRefInput<$PrismaModel> - gte?: number | Prisma.FloatFieldRefInput<$PrismaModel> - not?: Prisma.NestedFloatNullableFilter<$PrismaModel> | number | null -} - -export type BoolNullableFilter<$PrismaModel = never> = { - equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> | null - not?: Prisma.NestedBoolNullableFilter<$PrismaModel> | boolean | null -} - -export type FloatNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null - in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null - notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null - lt?: number | Prisma.FloatFieldRefInput<$PrismaModel> - lte?: number | Prisma.FloatFieldRefInput<$PrismaModel> - gt?: number | Prisma.FloatFieldRefInput<$PrismaModel> - gte?: number | Prisma.FloatFieldRefInput<$PrismaModel> - not?: Prisma.NestedFloatNullableWithAggregatesFilter<$PrismaModel> | number | null - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel> - _sum?: Prisma.NestedFloatNullableFilter<$PrismaModel> - _min?: Prisma.NestedFloatNullableFilter<$PrismaModel> - _max?: Prisma.NestedFloatNullableFilter<$PrismaModel> -} - -export type BoolNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> | null - not?: Prisma.NestedBoolNullableWithAggregatesFilter<$PrismaModel> | boolean | null - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _min?: Prisma.NestedBoolNullableFilter<$PrismaModel> - _max?: Prisma.NestedBoolNullableFilter<$PrismaModel> -} - -export type EnumInviteRoleNullableFilter<$PrismaModel = never> = { - equals?: $Enums.InviteRole | Prisma.EnumInviteRoleFieldRefInput<$PrismaModel> | null - in?: $Enums.InviteRole[] | Prisma.ListEnumInviteRoleFieldRefInput<$PrismaModel> | null - notIn?: $Enums.InviteRole[] | Prisma.ListEnumInviteRoleFieldRefInput<$PrismaModel> | null - not?: Prisma.NestedEnumInviteRoleNullableFilter<$PrismaModel> | $Enums.InviteRole | null -} - -export type EnumInviteRoleNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.InviteRole | Prisma.EnumInviteRoleFieldRefInput<$PrismaModel> | null - in?: $Enums.InviteRole[] | Prisma.ListEnumInviteRoleFieldRefInput<$PrismaModel> | null - notIn?: $Enums.InviteRole[] | Prisma.ListEnumInviteRoleFieldRefInput<$PrismaModel> | null - not?: Prisma.NestedEnumInviteRoleNullableWithAggregatesFilter<$PrismaModel> | $Enums.InviteRole | null - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _min?: Prisma.NestedEnumInviteRoleNullableFilter<$PrismaModel> - _max?: Prisma.NestedEnumInviteRoleNullableFilter<$PrismaModel> -} - -export type EnumMetadataFieldScopeNullableFilter<$PrismaModel = never> = { - equals?: $Enums.MetadataFieldScope | Prisma.EnumMetadataFieldScopeFieldRefInput<$PrismaModel> | 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> = { - equals?: $Enums.MetadataFieldScope | Prisma.EnumMetadataFieldScopeFieldRefInput<$PrismaModel> | 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> - _min?: Prisma.NestedEnumMetadataFieldScopeNullableFilter<$PrismaModel> - _max?: Prisma.NestedEnumMetadataFieldScopeNullableFilter<$PrismaModel> -} - -export type EnumNotificationTypeNullableFilter<$PrismaModel = never> = { - equals?: $Enums.NotificationType | Prisma.EnumNotificationTypeFieldRefInput<$PrismaModel> | null - in?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel> | null - notIn?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel> | null - not?: Prisma.NestedEnumNotificationTypeNullableFilter<$PrismaModel> | $Enums.NotificationType | null -} - -export type EnumNotificationTypeNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.NotificationType | Prisma.EnumNotificationTypeFieldRefInput<$PrismaModel> | null - in?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel> | null - notIn?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel> | null - not?: Prisma.NestedEnumNotificationTypeNullableWithAggregatesFilter<$PrismaModel> | $Enums.NotificationType | null - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _min?: Prisma.NestedEnumNotificationTypeNullableFilter<$PrismaModel> - _max?: Prisma.NestedEnumNotificationTypeNullableFilter<$PrismaModel> -} - -export type EnumTaskTypeNullableFilter<$PrismaModel = never> = { - equals?: $Enums.TaskType | Prisma.EnumTaskTypeFieldRefInput<$PrismaModel> | null - in?: $Enums.TaskType[] | Prisma.ListEnumTaskTypeFieldRefInput<$PrismaModel> | null - notIn?: $Enums.TaskType[] | Prisma.ListEnumTaskTypeFieldRefInput<$PrismaModel> | null - not?: Prisma.NestedEnumTaskTypeNullableFilter<$PrismaModel> | $Enums.TaskType | null -} - -export type EnumTaskStatusFilter<$PrismaModel = never> = { - equals?: $Enums.TaskStatus | Prisma.EnumTaskStatusFieldRefInput<$PrismaModel> - in?: $Enums.TaskStatus[] | Prisma.ListEnumTaskStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.TaskStatus[] | Prisma.ListEnumTaskStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumTaskStatusFilter<$PrismaModel> | $Enums.TaskStatus -} - -export type IntNullableFilter<$PrismaModel = never> = { - equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null - lt?: number | Prisma.IntFieldRefInput<$PrismaModel> - lte?: number | Prisma.IntFieldRefInput<$PrismaModel> - gt?: number | Prisma.IntFieldRefInput<$PrismaModel> - gte?: number | Prisma.IntFieldRefInput<$PrismaModel> - not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null -} - -export type EnumTaskTypeNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.TaskType | Prisma.EnumTaskTypeFieldRefInput<$PrismaModel> | null - in?: $Enums.TaskType[] | Prisma.ListEnumTaskTypeFieldRefInput<$PrismaModel> | null - notIn?: $Enums.TaskType[] | Prisma.ListEnumTaskTypeFieldRefInput<$PrismaModel> | null - not?: Prisma.NestedEnumTaskTypeNullableWithAggregatesFilter<$PrismaModel> | $Enums.TaskType | null - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _min?: Prisma.NestedEnumTaskTypeNullableFilter<$PrismaModel> - _max?: Prisma.NestedEnumTaskTypeNullableFilter<$PrismaModel> -} - -export type EnumTaskStatusWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.TaskStatus | Prisma.EnumTaskStatusFieldRefInput<$PrismaModel> - in?: $Enums.TaskStatus[] | Prisma.ListEnumTaskStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.TaskStatus[] | Prisma.ListEnumTaskStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumTaskStatusWithAggregatesFilter<$PrismaModel> | $Enums.TaskStatus - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumTaskStatusFilter<$PrismaModel> - _max?: Prisma.NestedEnumTaskStatusFilter<$PrismaModel> -} - -export type IntNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null - lt?: number | Prisma.IntFieldRefInput<$PrismaModel> - lte?: number | Prisma.IntFieldRefInput<$PrismaModel> - gt?: number | Prisma.IntFieldRefInput<$PrismaModel> - gte?: number | Prisma.IntFieldRefInput<$PrismaModel> - not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel> - _sum?: Prisma.NestedIntNullableFilter<$PrismaModel> - _min?: Prisma.NestedIntNullableFilter<$PrismaModel> - _max?: Prisma.NestedIntNullableFilter<$PrismaModel> -} - -export type UuidFilter<$PrismaModel = never> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> - mode?: Prisma.QueryMode - not?: Prisma.NestedUuidFilter<$PrismaModel> | string -} - -export type EnumWorkflowTaskTypeNullableFilter<$PrismaModel = never> = { - equals?: $Enums.WorkflowTaskType | Prisma.EnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null - in?: $Enums.WorkflowTaskType[] | Prisma.ListEnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null - notIn?: $Enums.WorkflowTaskType[] | Prisma.ListEnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null - not?: Prisma.NestedEnumWorkflowTaskTypeNullableFilter<$PrismaModel> | $Enums.WorkflowTaskType | null -} - -export type EnumWorkflowTaskStatusNullableFilter<$PrismaModel = never> = { - equals?: $Enums.WorkflowTaskStatus | Prisma.EnumWorkflowTaskStatusFieldRefInput<$PrismaModel> | 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> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> - mode?: Prisma.QueryMode - not?: Prisma.NestedUuidWithAggregatesFilter<$PrismaModel> | string - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedStringFilter<$PrismaModel> - _max?: Prisma.NestedStringFilter<$PrismaModel> -} - -export type EnumWorkflowTaskTypeNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.WorkflowTaskType | Prisma.EnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null - in?: $Enums.WorkflowTaskType[] | Prisma.ListEnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null - notIn?: $Enums.WorkflowTaskType[] | Prisma.ListEnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null - not?: Prisma.NestedEnumWorkflowTaskTypeNullableWithAggregatesFilter<$PrismaModel> | $Enums.WorkflowTaskType | null - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _min?: Prisma.NestedEnumWorkflowTaskTypeNullableFilter<$PrismaModel> - _max?: Prisma.NestedEnumWorkflowTaskTypeNullableFilter<$PrismaModel> -} - -export type EnumWorkflowTaskStatusNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.WorkflowTaskStatus | Prisma.EnumWorkflowTaskStatusFieldRefInput<$PrismaModel> | 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> - _min?: Prisma.NestedEnumWorkflowTaskStatusNullableFilter<$PrismaModel> - _max?: Prisma.NestedEnumWorkflowTaskStatusNullableFilter<$PrismaModel> -} - -export type EnumAgentTypeFilter<$PrismaModel = never> = { - equals?: $Enums.AgentType | Prisma.EnumAgentTypeFieldRefInput<$PrismaModel> - in?: $Enums.AgentType[] | Prisma.ListEnumAgentTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.AgentType[] | Prisma.ListEnumAgentTypeFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumAgentTypeFilter<$PrismaModel> | $Enums.AgentType -} - -export type JsonFilter<$PrismaModel = never> = -| Prisma.PatchUndefined< - Prisma.Either>, Exclude>, 'path'>>, - Required> - > -| Prisma.OptionalFlat>, 'path'>> - -export type JsonFilterBase<$PrismaModel = never> = { - equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter - path?: string[] - mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel> - string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel> - string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel> - string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel> - array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - lt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - lte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - gt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - gte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter -} - -export type EnumAgentTypeWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.AgentType | Prisma.EnumAgentTypeFieldRefInput<$PrismaModel> - in?: $Enums.AgentType[] | Prisma.ListEnumAgentTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.AgentType[] | Prisma.ListEnumAgentTypeFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumAgentTypeWithAggregatesFilter<$PrismaModel> | $Enums.AgentType - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumAgentTypeFilter<$PrismaModel> - _max?: Prisma.NestedEnumAgentTypeFilter<$PrismaModel> -} - -export type JsonWithAggregatesFilter<$PrismaModel = never> = -| Prisma.PatchUndefined< - Prisma.Either>, Exclude>, 'path'>>, - Required> - > -| Prisma.OptionalFlat>, 'path'>> - -export type JsonWithAggregatesFilterBase<$PrismaModel = never> = { - equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter - path?: string[] - mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel> - string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel> - string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel> - string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel> - array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - lt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - lte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - gt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - gte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedJsonFilter<$PrismaModel> - _max?: Prisma.NestedJsonFilter<$PrismaModel> -} - -export type NestedStringFilter<$PrismaModel = never> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> - contains?: string | Prisma.StringFieldRefInput<$PrismaModel> - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - not?: Prisma.NestedStringFilter<$PrismaModel> | string -} - -export type NestedEnumUserTypeFilter<$PrismaModel = never> = { - equals?: $Enums.UserType | Prisma.EnumUserTypeFieldRefInput<$PrismaModel> - in?: $Enums.UserType[] | Prisma.ListEnumUserTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.UserType[] | Prisma.ListEnumUserTypeFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumUserTypeFilter<$PrismaModel> | $Enums.UserType -} - -export type NestedBoolFilter<$PrismaModel = never> = { - equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> - not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean -} - -export type NestedStringNullableFilter<$PrismaModel = never> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> - contains?: string | Prisma.StringFieldRefInput<$PrismaModel> - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null -} - -export type NestedDateTimeFilter<$PrismaModel = never> = { - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string -} - -export type NestedStringWithAggregatesFilter<$PrismaModel = never> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> - contains?: string | Prisma.StringFieldRefInput<$PrismaModel> - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedStringFilter<$PrismaModel> - _max?: Prisma.NestedStringFilter<$PrismaModel> -} - -export type NestedIntFilter<$PrismaModel = never> = { - equals?: number | Prisma.IntFieldRefInput<$PrismaModel> - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> - lt?: number | Prisma.IntFieldRefInput<$PrismaModel> - lte?: number | Prisma.IntFieldRefInput<$PrismaModel> - gt?: number | Prisma.IntFieldRefInput<$PrismaModel> - gte?: number | Prisma.IntFieldRefInput<$PrismaModel> - not?: Prisma.NestedIntFilter<$PrismaModel> | number -} - -export type NestedEnumUserTypeWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.UserType | Prisma.EnumUserTypeFieldRefInput<$PrismaModel> - in?: $Enums.UserType[] | Prisma.ListEnumUserTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.UserType[] | Prisma.ListEnumUserTypeFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumUserTypeWithAggregatesFilter<$PrismaModel> | $Enums.UserType - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumUserTypeFilter<$PrismaModel> - _max?: Prisma.NestedEnumUserTypeFilter<$PrismaModel> -} - -export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = { - equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> - not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedBoolFilter<$PrismaModel> - _max?: Prisma.NestedBoolFilter<$PrismaModel> -} - -export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> - contains?: string | Prisma.StringFieldRefInput<$PrismaModel> - startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel> - not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _min?: Prisma.NestedStringNullableFilter<$PrismaModel> - _max?: Prisma.NestedStringNullableFilter<$PrismaModel> -} - -export type NestedIntNullableFilter<$PrismaModel = never> = { - equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null - lt?: number | Prisma.IntFieldRefInput<$PrismaModel> - lte?: number | Prisma.IntFieldRefInput<$PrismaModel> - gt?: number | Prisma.IntFieldRefInput<$PrismaModel> - gte?: number | Prisma.IntFieldRefInput<$PrismaModel> - not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null -} - -export type NestedJsonNullableFilter<$PrismaModel = never> = -| Prisma.PatchUndefined< - Prisma.Either>, Exclude>, 'path'>>, - Required> - > -| Prisma.OptionalFlat>, 'path'>> - -export type NestedJsonNullableFilterBase<$PrismaModel = never> = { - equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter - path?: string[] - mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel> - string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel> - string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel> - string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel> - array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - lt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - lte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - gt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - gte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter -} - -export type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = { - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedDateTimeFilter<$PrismaModel> - _max?: Prisma.NestedDateTimeFilter<$PrismaModel> -} - -export type NestedDateTimeNullableFilter<$PrismaModel = never> = { - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null -} - -export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null - in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null - notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null - lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> - not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> - _max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> -} - -export type NestedEnumTeamMemberRoleFilter<$PrismaModel = never> = { - equals?: $Enums.TeamMemberRole | Prisma.EnumTeamMemberRoleFieldRefInput<$PrismaModel> - in?: $Enums.TeamMemberRole[] | Prisma.ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> - notIn?: $Enums.TeamMemberRole[] | Prisma.ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumTeamMemberRoleFilter<$PrismaModel> | $Enums.TeamMemberRole -} - -export type NestedEnumTeamMemberScopeFilter<$PrismaModel = never> = { - equals?: $Enums.TeamMemberScope | Prisma.EnumTeamMemberScopeFieldRefInput<$PrismaModel> - in?: $Enums.TeamMemberScope[] | Prisma.ListEnumTeamMemberScopeFieldRefInput<$PrismaModel> - notIn?: $Enums.TeamMemberScope[] | Prisma.ListEnumTeamMemberScopeFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumTeamMemberScopeFilter<$PrismaModel> | $Enums.TeamMemberScope -} - -export type NestedEnumTeamMemberRoleWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.TeamMemberRole | Prisma.EnumTeamMemberRoleFieldRefInput<$PrismaModel> - in?: $Enums.TeamMemberRole[] | Prisma.ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> - notIn?: $Enums.TeamMemberRole[] | Prisma.ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumTeamMemberRoleWithAggregatesFilter<$PrismaModel> | $Enums.TeamMemberRole - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumTeamMemberRoleFilter<$PrismaModel> - _max?: Prisma.NestedEnumTeamMemberRoleFilter<$PrismaModel> -} - -export type NestedEnumTeamMemberScopeWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.TeamMemberScope | Prisma.EnumTeamMemberScopeFieldRefInput<$PrismaModel> - in?: $Enums.TeamMemberScope[] | Prisma.ListEnumTeamMemberScopeFieldRefInput<$PrismaModel> - notIn?: $Enums.TeamMemberScope[] | Prisma.ListEnumTeamMemberScopeFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumTeamMemberScopeWithAggregatesFilter<$PrismaModel> | $Enums.TeamMemberScope - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumTeamMemberScopeFilter<$PrismaModel> - _max?: Prisma.NestedEnumTeamMemberScopeFilter<$PrismaModel> -} - -export type NestedEnumProjectMemberRoleFilter<$PrismaModel = never> = { - equals?: $Enums.ProjectMemberRole | Prisma.EnumProjectMemberRoleFieldRefInput<$PrismaModel> - in?: $Enums.ProjectMemberRole[] | Prisma.ListEnumProjectMemberRoleFieldRefInput<$PrismaModel> - notIn?: $Enums.ProjectMemberRole[] | Prisma.ListEnumProjectMemberRoleFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumProjectMemberRoleFilter<$PrismaModel> | $Enums.ProjectMemberRole -} - -export type NestedEnumProjectMemberRoleWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.ProjectMemberRole | Prisma.EnumProjectMemberRoleFieldRefInput<$PrismaModel> - in?: $Enums.ProjectMemberRole[] | Prisma.ListEnumProjectMemberRoleFieldRefInput<$PrismaModel> - notIn?: $Enums.ProjectMemberRole[] | Prisma.ListEnumProjectMemberRoleFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumProjectMemberRoleWithAggregatesFilter<$PrismaModel> | $Enums.ProjectMemberRole - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumProjectMemberRoleFilter<$PrismaModel> - _max?: Prisma.NestedEnumProjectMemberRoleFilter<$PrismaModel> -} - -export type NestedEnumAssetTypeFilter<$PrismaModel = never> = { - equals?: $Enums.AssetType | Prisma.EnumAssetTypeFieldRefInput<$PrismaModel> - in?: $Enums.AssetType[] | Prisma.ListEnumAssetTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.AssetType[] | Prisma.ListEnumAssetTypeFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumAssetTypeFilter<$PrismaModel> | $Enums.AssetType -} - -export type NestedEnumAssetStatusFilter<$PrismaModel = never> = { - equals?: $Enums.AssetStatus | Prisma.EnumAssetStatusFieldRefInput<$PrismaModel> - in?: $Enums.AssetStatus[] | Prisma.ListEnumAssetStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.AssetStatus[] | Prisma.ListEnumAssetStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumAssetStatusFilter<$PrismaModel> | $Enums.AssetStatus -} - -export type NestedEnumAssetTypeWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.AssetType | Prisma.EnumAssetTypeFieldRefInput<$PrismaModel> - in?: $Enums.AssetType[] | Prisma.ListEnumAssetTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.AssetType[] | Prisma.ListEnumAssetTypeFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumAssetTypeWithAggregatesFilter<$PrismaModel> | $Enums.AssetType - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumAssetTypeFilter<$PrismaModel> - _max?: Prisma.NestedEnumAssetTypeFilter<$PrismaModel> -} - -export type NestedIntWithAggregatesFilter<$PrismaModel = never> = { - equals?: number | Prisma.IntFieldRefInput<$PrismaModel> - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> - lt?: number | Prisma.IntFieldRefInput<$PrismaModel> - lte?: number | Prisma.IntFieldRefInput<$PrismaModel> - gt?: number | Prisma.IntFieldRefInput<$PrismaModel> - gte?: number | Prisma.IntFieldRefInput<$PrismaModel> - not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number - _count?: Prisma.NestedIntFilter<$PrismaModel> - _avg?: Prisma.NestedFloatFilter<$PrismaModel> - _sum?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedIntFilter<$PrismaModel> - _max?: Prisma.NestedIntFilter<$PrismaModel> -} - -export type NestedFloatFilter<$PrismaModel = never> = { - equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> - in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> - notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> - lt?: number | Prisma.FloatFieldRefInput<$PrismaModel> - lte?: number | Prisma.FloatFieldRefInput<$PrismaModel> - gt?: number | Prisma.FloatFieldRefInput<$PrismaModel> - gte?: number | Prisma.FloatFieldRefInput<$PrismaModel> - not?: Prisma.NestedFloatFilter<$PrismaModel> | number -} - -export type NestedEnumAssetStatusWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.AssetStatus | Prisma.EnumAssetStatusFieldRefInput<$PrismaModel> - in?: $Enums.AssetStatus[] | Prisma.ListEnumAssetStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.AssetStatus[] | Prisma.ListEnumAssetStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumAssetStatusWithAggregatesFilter<$PrismaModel> | $Enums.AssetStatus - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumAssetStatusFilter<$PrismaModel> - _max?: Prisma.NestedEnumAssetStatusFilter<$PrismaModel> -} - -export type NestedEnumStorageKeyStatusFilter<$PrismaModel = never> = { - equals?: $Enums.StorageKeyStatus | Prisma.EnumStorageKeyStatusFieldRefInput<$PrismaModel> - in?: $Enums.StorageKeyStatus[] | Prisma.ListEnumStorageKeyStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.StorageKeyStatus[] | Prisma.ListEnumStorageKeyStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumStorageKeyStatusFilter<$PrismaModel> | $Enums.StorageKeyStatus -} - -export type NestedEnumStorageKeyStatusWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.StorageKeyStatus | Prisma.EnumStorageKeyStatusFieldRefInput<$PrismaModel> - in?: $Enums.StorageKeyStatus[] | Prisma.ListEnumStorageKeyStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.StorageKeyStatus[] | Prisma.ListEnumStorageKeyStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumStorageKeyStatusWithAggregatesFilter<$PrismaModel> | $Enums.StorageKeyStatus - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumStorageKeyStatusFilter<$PrismaModel> - _max?: Prisma.NestedEnumStorageKeyStatusFilter<$PrismaModel> -} - -export type NestedFloatNullableFilter<$PrismaModel = never> = { - equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null - in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null - notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null - lt?: number | Prisma.FloatFieldRefInput<$PrismaModel> - lte?: number | Prisma.FloatFieldRefInput<$PrismaModel> - gt?: number | Prisma.FloatFieldRefInput<$PrismaModel> - gte?: number | Prisma.FloatFieldRefInput<$PrismaModel> - not?: Prisma.NestedFloatNullableFilter<$PrismaModel> | number | null -} - -export type NestedBoolNullableFilter<$PrismaModel = never> = { - equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> | null - not?: Prisma.NestedBoolNullableFilter<$PrismaModel> | boolean | null -} - -export type NestedFloatNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null - in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null - notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null - lt?: number | Prisma.FloatFieldRefInput<$PrismaModel> - lte?: number | Prisma.FloatFieldRefInput<$PrismaModel> - gt?: number | Prisma.FloatFieldRefInput<$PrismaModel> - gte?: number | Prisma.FloatFieldRefInput<$PrismaModel> - not?: Prisma.NestedFloatNullableWithAggregatesFilter<$PrismaModel> | number | null - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel> - _sum?: Prisma.NestedFloatNullableFilter<$PrismaModel> - _min?: Prisma.NestedFloatNullableFilter<$PrismaModel> - _max?: Prisma.NestedFloatNullableFilter<$PrismaModel> -} - -export type NestedBoolNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> | null - not?: Prisma.NestedBoolNullableWithAggregatesFilter<$PrismaModel> | boolean | null - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _min?: Prisma.NestedBoolNullableFilter<$PrismaModel> - _max?: Prisma.NestedBoolNullableFilter<$PrismaModel> -} - -export type NestedEnumInviteRoleNullableFilter<$PrismaModel = never> = { - equals?: $Enums.InviteRole | Prisma.EnumInviteRoleFieldRefInput<$PrismaModel> | null - in?: $Enums.InviteRole[] | Prisma.ListEnumInviteRoleFieldRefInput<$PrismaModel> | null - notIn?: $Enums.InviteRole[] | Prisma.ListEnumInviteRoleFieldRefInput<$PrismaModel> | null - not?: Prisma.NestedEnumInviteRoleNullableFilter<$PrismaModel> | $Enums.InviteRole | null -} - -export type NestedEnumInviteRoleNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.InviteRole | Prisma.EnumInviteRoleFieldRefInput<$PrismaModel> | null - in?: $Enums.InviteRole[] | Prisma.ListEnumInviteRoleFieldRefInput<$PrismaModel> | null - notIn?: $Enums.InviteRole[] | Prisma.ListEnumInviteRoleFieldRefInput<$PrismaModel> | null - not?: Prisma.NestedEnumInviteRoleNullableWithAggregatesFilter<$PrismaModel> | $Enums.InviteRole | null - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _min?: Prisma.NestedEnumInviteRoleNullableFilter<$PrismaModel> - _max?: Prisma.NestedEnumInviteRoleNullableFilter<$PrismaModel> -} - -export type NestedEnumMetadataFieldScopeNullableFilter<$PrismaModel = never> = { - equals?: $Enums.MetadataFieldScope | Prisma.EnumMetadataFieldScopeFieldRefInput<$PrismaModel> | 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> = { - equals?: $Enums.MetadataFieldScope | Prisma.EnumMetadataFieldScopeFieldRefInput<$PrismaModel> | 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> - _min?: Prisma.NestedEnumMetadataFieldScopeNullableFilter<$PrismaModel> - _max?: Prisma.NestedEnumMetadataFieldScopeNullableFilter<$PrismaModel> -} - -export type NestedEnumNotificationTypeNullableFilter<$PrismaModel = never> = { - equals?: $Enums.NotificationType | Prisma.EnumNotificationTypeFieldRefInput<$PrismaModel> | null - in?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel> | null - notIn?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel> | null - not?: Prisma.NestedEnumNotificationTypeNullableFilter<$PrismaModel> | $Enums.NotificationType | null -} - -export type NestedEnumNotificationTypeNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.NotificationType | Prisma.EnumNotificationTypeFieldRefInput<$PrismaModel> | null - in?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel> | null - notIn?: $Enums.NotificationType[] | Prisma.ListEnumNotificationTypeFieldRefInput<$PrismaModel> | null - not?: Prisma.NestedEnumNotificationTypeNullableWithAggregatesFilter<$PrismaModel> | $Enums.NotificationType | null - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _min?: Prisma.NestedEnumNotificationTypeNullableFilter<$PrismaModel> - _max?: Prisma.NestedEnumNotificationTypeNullableFilter<$PrismaModel> -} - -export type NestedEnumTaskTypeNullableFilter<$PrismaModel = never> = { - equals?: $Enums.TaskType | Prisma.EnumTaskTypeFieldRefInput<$PrismaModel> | null - in?: $Enums.TaskType[] | Prisma.ListEnumTaskTypeFieldRefInput<$PrismaModel> | null - notIn?: $Enums.TaskType[] | Prisma.ListEnumTaskTypeFieldRefInput<$PrismaModel> | null - not?: Prisma.NestedEnumTaskTypeNullableFilter<$PrismaModel> | $Enums.TaskType | null -} - -export type NestedEnumTaskStatusFilter<$PrismaModel = never> = { - equals?: $Enums.TaskStatus | Prisma.EnumTaskStatusFieldRefInput<$PrismaModel> - in?: $Enums.TaskStatus[] | Prisma.ListEnumTaskStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.TaskStatus[] | Prisma.ListEnumTaskStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumTaskStatusFilter<$PrismaModel> | $Enums.TaskStatus -} - -export type NestedEnumTaskTypeNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.TaskType | Prisma.EnumTaskTypeFieldRefInput<$PrismaModel> | null - in?: $Enums.TaskType[] | Prisma.ListEnumTaskTypeFieldRefInput<$PrismaModel> | null - notIn?: $Enums.TaskType[] | Prisma.ListEnumTaskTypeFieldRefInput<$PrismaModel> | null - not?: Prisma.NestedEnumTaskTypeNullableWithAggregatesFilter<$PrismaModel> | $Enums.TaskType | null - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _min?: Prisma.NestedEnumTaskTypeNullableFilter<$PrismaModel> - _max?: Prisma.NestedEnumTaskTypeNullableFilter<$PrismaModel> -} - -export type NestedEnumTaskStatusWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.TaskStatus | Prisma.EnumTaskStatusFieldRefInput<$PrismaModel> - in?: $Enums.TaskStatus[] | Prisma.ListEnumTaskStatusFieldRefInput<$PrismaModel> - notIn?: $Enums.TaskStatus[] | Prisma.ListEnumTaskStatusFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumTaskStatusWithAggregatesFilter<$PrismaModel> | $Enums.TaskStatus - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumTaskStatusFilter<$PrismaModel> - _max?: Prisma.NestedEnumTaskStatusFilter<$PrismaModel> -} - -export type NestedIntNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null - in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null - notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null - lt?: number | Prisma.IntFieldRefInput<$PrismaModel> - lte?: number | Prisma.IntFieldRefInput<$PrismaModel> - gt?: number | Prisma.IntFieldRefInput<$PrismaModel> - gte?: number | Prisma.IntFieldRefInput<$PrismaModel> - not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel> - _sum?: Prisma.NestedIntNullableFilter<$PrismaModel> - _min?: Prisma.NestedIntNullableFilter<$PrismaModel> - _max?: Prisma.NestedIntNullableFilter<$PrismaModel> -} - -export type NestedUuidFilter<$PrismaModel = never> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> - not?: Prisma.NestedUuidFilter<$PrismaModel> | string -} - -export type NestedEnumWorkflowTaskTypeNullableFilter<$PrismaModel = never> = { - equals?: $Enums.WorkflowTaskType | Prisma.EnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null - in?: $Enums.WorkflowTaskType[] | Prisma.ListEnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null - notIn?: $Enums.WorkflowTaskType[] | Prisma.ListEnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null - not?: Prisma.NestedEnumWorkflowTaskTypeNullableFilter<$PrismaModel> | $Enums.WorkflowTaskType | null -} - -export type NestedEnumWorkflowTaskStatusNullableFilter<$PrismaModel = never> = { - equals?: $Enums.WorkflowTaskStatus | Prisma.EnumWorkflowTaskStatusFieldRefInput<$PrismaModel> | 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> = { - equals?: string | Prisma.StringFieldRefInput<$PrismaModel> - in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - lt?: string | Prisma.StringFieldRefInput<$PrismaModel> - lte?: string | Prisma.StringFieldRefInput<$PrismaModel> - gt?: string | Prisma.StringFieldRefInput<$PrismaModel> - gte?: string | Prisma.StringFieldRefInput<$PrismaModel> - not?: Prisma.NestedUuidWithAggregatesFilter<$PrismaModel> | string - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedStringFilter<$PrismaModel> - _max?: Prisma.NestedStringFilter<$PrismaModel> -} - -export type NestedEnumWorkflowTaskTypeNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.WorkflowTaskType | Prisma.EnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null - in?: $Enums.WorkflowTaskType[] | Prisma.ListEnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null - notIn?: $Enums.WorkflowTaskType[] | Prisma.ListEnumWorkflowTaskTypeFieldRefInput<$PrismaModel> | null - not?: Prisma.NestedEnumWorkflowTaskTypeNullableWithAggregatesFilter<$PrismaModel> | $Enums.WorkflowTaskType | null - _count?: Prisma.NestedIntNullableFilter<$PrismaModel> - _min?: Prisma.NestedEnumWorkflowTaskTypeNullableFilter<$PrismaModel> - _max?: Prisma.NestedEnumWorkflowTaskTypeNullableFilter<$PrismaModel> -} - -export type NestedEnumWorkflowTaskStatusNullableWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.WorkflowTaskStatus | Prisma.EnumWorkflowTaskStatusFieldRefInput<$PrismaModel> | 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> - _min?: Prisma.NestedEnumWorkflowTaskStatusNullableFilter<$PrismaModel> - _max?: Prisma.NestedEnumWorkflowTaskStatusNullableFilter<$PrismaModel> -} - -export type NestedEnumAgentTypeFilter<$PrismaModel = never> = { - equals?: $Enums.AgentType | Prisma.EnumAgentTypeFieldRefInput<$PrismaModel> - in?: $Enums.AgentType[] | Prisma.ListEnumAgentTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.AgentType[] | Prisma.ListEnumAgentTypeFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumAgentTypeFilter<$PrismaModel> | $Enums.AgentType -} - -export type NestedEnumAgentTypeWithAggregatesFilter<$PrismaModel = never> = { - equals?: $Enums.AgentType | Prisma.EnumAgentTypeFieldRefInput<$PrismaModel> - in?: $Enums.AgentType[] | Prisma.ListEnumAgentTypeFieldRefInput<$PrismaModel> - notIn?: $Enums.AgentType[] | Prisma.ListEnumAgentTypeFieldRefInput<$PrismaModel> - not?: Prisma.NestedEnumAgentTypeWithAggregatesFilter<$PrismaModel> | $Enums.AgentType - _count?: Prisma.NestedIntFilter<$PrismaModel> - _min?: Prisma.NestedEnumAgentTypeFilter<$PrismaModel> - _max?: Prisma.NestedEnumAgentTypeFilter<$PrismaModel> -} - -export type NestedJsonFilter<$PrismaModel = never> = -| Prisma.PatchUndefined< - Prisma.Either>, Exclude>, 'path'>>, - Required> - > -| Prisma.OptionalFlat>, 'path'>> - -export type NestedJsonFilterBase<$PrismaModel = never> = { - equals?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter - path?: string[] - mode?: Prisma.QueryMode | Prisma.EnumQueryModeFieldRefInput<$PrismaModel> - string_contains?: string | Prisma.StringFieldRefInput<$PrismaModel> - string_starts_with?: string | Prisma.StringFieldRefInput<$PrismaModel> - string_ends_with?: string | Prisma.StringFieldRefInput<$PrismaModel> - array_starts_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - array_ends_with?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - array_contains?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | null - lt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - lte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - gt?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - gte?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> - not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter -} - - diff --git a/src/generated/prisma/enums.ts b/src/generated/prisma/enums.ts deleted file mode 100644 index 8b73dda3..00000000 --- a/src/generated/prisma/enums.ts +++ /dev/null @@ -1,155 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* -* This file exports all enum related types from the schema. -* -* 🟢 You can import this file directly. -*/ - -export const UserType = { - human: 'human', - agent: 'agent' -} as const - -export type UserType = (typeof UserType)[keyof typeof UserType] - - -export const AssetType = { - folder: 'folder', - file: 'file', - share: 'share', - root: 'root', - attachment: 'attachment', - version_stack: 'version_stack', - share_root: 'share_root', - symlink: 'symlink' -} as const - -export type AssetType = (typeof AssetType)[keyof typeof AssetType] - - -export const AssetStatus = { - uploading: 'uploading', - uploaded: 'uploaded', - processing: 'processing', - processed: 'processed', - trashed: 'trashed', - pending_purge: 'pending_purge' -} as const - -export type AssetStatus = (typeof AssetStatus)[keyof typeof AssetStatus] - - -export const StorageKeyStatus = { - active: 'active', - purging: 'purging' -} as const - -export type StorageKeyStatus = (typeof StorageKeyStatus)[keyof typeof StorageKeyStatus] - - -export const InviteRole = { - editor: 'editor', - reviewer: 'reviewer' -} as const - -export type InviteRole = (typeof InviteRole)[keyof typeof InviteRole] - - -export const MetadataFieldScope = { - SYSTEM: 'SYSTEM', - TEAM: 'TEAM', - PROJECT: 'PROJECT' -} as const - -export type MetadataFieldScope = (typeof MetadataFieldScope)[keyof typeof MetadataFieldScope] - - -export const NotificationType = { - comment_created: 'comment_created', - reply_created: 'reply_created', - mention: 'mention', - successful_file_uploaded: 'successful_file_uploaded', - metadata_field_updated_status: 'metadata_field_updated_status', - new_user_join_team: 'new_user_join_team', - new_user_join_project: 'new_user_join_project' -} as const - -export type NotificationType = (typeof NotificationType)[keyof typeof NotificationType] - - -export const ProjectMemberRole = { - owner: 'owner', - editor: 'editor', - reviewer: 'reviewer' -} as const - -export type ProjectMemberRole = (typeof ProjectMemberRole)[keyof typeof ProjectMemberRole] - - -export const TaskType = { - upload: 'upload' -} as const - -export type TaskType = (typeof TaskType)[keyof typeof TaskType] - - -export const TaskStatus = { - pending: 'pending', - uploading: 'uploading', - completed: 'completed', - failed: 'failed' -} as const - -export type TaskStatus = (typeof TaskStatus)[keyof typeof TaskStatus] - - -export const TeamMemberRole = { - owner: 'owner', - editor: 'editor', - reviewer: 'reviewer' -} as const - -export type TeamMemberRole = (typeof TeamMemberRole)[keyof typeof TeamMemberRole] - - -export const TeamMemberScope = { - team: 'team', - project: 'project' -} as const - -export type TeamMemberScope = (typeof TeamMemberScope)[keyof typeof TeamMemberScope] - - -export const WorkflowTaskType = { - transcode: 'transcode', - ai_metadata_autofill: 'ai_metadata_autofill', - chat: 'chat', - ai_embedding: 'ai_embedding', - query_embedding_for_search: 'query_embedding_for_search', - agent_tool_call: 'agent_tool_call' -} as const - -export type WorkflowTaskType = (typeof WorkflowTaskType)[keyof typeof WorkflowTaskType] - - -export const WorkflowTaskStatus = { - pending: 'pending', - processing: 'processing', - completed: 'completed', - failed: 'failed' -} as const - -export type WorkflowTaskStatus = (typeof WorkflowTaskStatus)[keyof typeof WorkflowTaskStatus] - - -export const AgentType = { - chat: 'chat', - autofill: 'autofill', - embedding: 'embedding' -} as const - -export type AgentType = (typeof AgentType)[keyof typeof AgentType] diff --git a/src/generated/prisma/internal/class.ts b/src/generated/prisma/internal/class.ts deleted file mode 100644 index 56ab337a..00000000 --- a/src/generated/prisma/internal/class.ts +++ /dev/null @@ -1,516 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * WARNING: This is an internal file that is subject to change! - * - * 🛑 Under no circumstances should you import this file directly! 🛑 - * - * Please import the `PrismaClient` class from the `client.ts` file instead. - */ - -import * as runtime from "@prisma/client/runtime/client" -import type * as Prisma from "./prismaNamespace.ts" - - -const config: runtime.GetPrismaClientConfig = { - "previewFeatures": [ - "postgresqlExtensions" - ], - "clientVersion": "7.7.0", - "engineVersion": "75cbdc1eb7150937890ad5465d861175c6624711", - "activeProvider": "postgresql", - "inlineSchema": "generator client {\n provider = \"prisma-client\"\n output = \"../src/generated/prisma\"\n binaryTargets = [\"native\", \"linux-musl-openssl-3.0.x\"]\n previewFeatures = [\"postgresqlExtensions\"]\n}\n\ngenerator json {\n provider = \"prisma-json-types-generator\"\n allowAny = false\n}\n\ndatasource db {\n provider = \"postgresql\"\n extensions = [vector]\n}\n\n// ----------------------------------------------------------------------\n// Enums\n// ----------------------------------------------------------------------\n\nenum UserType {\n human\n agent\n}\n\nenum AssetType {\n folder\n file\n share\n root\n attachment\n version_stack\n share_root\n symlink\n}\n\nenum AssetStatus {\n uploading\n uploaded\n processing\n processed\n trashed\n pending_purge\n}\n\nenum StorageKeyStatus {\n active\n purging\n}\n\nenum InviteRole {\n editor\n reviewer\n}\n\nenum MetadataFieldScope {\n SYSTEM\n TEAM\n PROJECT\n}\n\nenum NotificationType {\n comment_created\n reply_created\n mention\n successful_file_uploaded\n metadata_field_updated_status\n new_user_join_team\n new_user_join_project\n}\n\nenum ProjectMemberRole {\n owner\n editor\n reviewer\n}\n\nenum TaskType {\n upload\n}\n\nenum TaskStatus {\n pending\n uploading\n completed\n failed\n}\n\nenum TeamMemberRole {\n owner\n editor\n reviewer\n}\n\nenum TeamMemberScope {\n team\n project\n}\n\nenum WorkflowTaskType {\n transcode\n ai_metadata_autofill\n chat\n ai_embedding\n query_embedding_for_search\n agent_tool_call\n}\n\nenum WorkflowTaskStatus {\n pending\n processing\n completed\n failed\n}\n\n// ----------------------------------------------------------------------\n// Models\n// ----------------------------------------------------------------------\n\nmodel User {\n id String @id @default(ulid())\n type UserType @default(human)\n name String\n email String @unique\n emailVerified Boolean @default(false) @map(\"email_verified\")\n image String?\n password String?\n /// [AgentSettings]\n agentSettings Json? @map(\"agent_settings\")\n guestEmail String? @map(\"guest_email\")\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n\n assets Asset[] @relation(\"UserToAsset\")\n authTokens AuthToken[] @relation(\"UserToAuthToken\")\n tasks Task[] @relation(\"UserToTask\")\n teamMembers TeamMember[] @relation(\"UserToTeamMember\")\n comments AssetComment[] @relation(\"UserToAssetComment\")\n createdInvites Invite[] @relation(\"UserToInvite\")\n createdNotifications Notification[] @relation(\"UserToCreatedNotification\")\n notifications Notification[] @relation(\"UserToNotification\")\n sessions Session[]\n accounts Account[]\n agent Agent?\n agentSessions AgentSession[]\n userMetadata UserMetadata[] @relation(\"UserToUserMetadata\")\n\n @@map(\"users\")\n}\n\nmodel Session {\n id String @id @default(ulid())\n expiresAt DateTime @map(\"expires_at\")\n token String @unique\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n ipAddress String? @map(\"ip_address\")\n userAgent String? @map(\"user_agent\")\n userId String @map(\"user_id\")\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n\n @@map(\"sessions\")\n}\n\nmodel Account {\n id String @id @default(ulid())\n accountId String @map(\"account_id\")\n providerId String @map(\"provider_id\")\n userId String @map(\"user_id\")\n user User @relation(fields: [userId], references: [id], onDelete: Cascade)\n accessToken String? @map(\"access_token\")\n refreshToken String? @map(\"refresh_token\")\n idToken String? @map(\"id_token\")\n accessTokenExpiresAt DateTime? @map(\"access_token_expires_at\")\n refreshTokenExpiresAt DateTime? @map(\"refresh_token_expires_at\")\n scope String?\n password String?\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n\n @@map(\"accounts\")\n}\n\nmodel Verification {\n id String @id @default(ulid())\n identifier String\n value String\n expiresAt DateTime @map(\"expires_at\")\n createdAt DateTime? @default(now()) @map(\"created_at\")\n updatedAt DateTime? @updatedAt @map(\"updated_at\")\n\n @@map(\"verifications\")\n}\n\nmodel AuthToken {\n id String @id @default(ulid())\n accessToken String @unique @map(\"access_token\")\n refreshToken String @unique @map(\"refresh_token\")\n accessTokenExpiresAt DateTime @map(\"access_token_expires_at\")\n refreshTokenExpiresAt DateTime @map(\"refresh_token_expires_at\")\n\n userId String @map(\"user_id\")\n user User @relation(\"UserToAuthToken\", fields: [userId], references: [id])\n\n @@map(\"auth_tokens\")\n}\n\nmodel Team {\n id String @id @default(ulid())\n name String\n /// [Settings]\n settings Json? @default(\"{}\")\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n\n rootFolderId String? @unique @map(\"root_folder_id\")\n rootFolder Asset? @relation(\"TeamToRootFolder\", fields: [rootFolderId], references: [id])\n\n members TeamMember[] @relation(\"TeamToTeamMember\")\n projects Project[] @relation(\"TeamToProject\")\n metadataFields MetadataField[] @relation(\"TeamToMetadataField\")\n invites Invite[] @relation(\"TeamToInvite\")\n notifications Notification[] @relation(\"TeamToNotification\")\n userMetadata UserMetadata[] @relation(\"TeamToUserMetadata\")\n providers Provider[] @relation(\"TeamToProvider\")\n skills Skill[] @relation(\"TeamToSkill\")\n sandbox Sandbox? @relation(\"TeamToSandbox\")\n agents Agent[] @relation(\"TeamToAgent\")\n\n @@map(\"teams\")\n}\n\nmodel Sandbox {\n id String @id @default(ulid())\n allowedDomains String[] @default([\"npmjs.org\", \"*.npmjs.org\", \"registry.npmjs.org\", \"registry.yarnpkg.com\", \"pypi.org\", \"*.pypi.org\", \"github.com\", \"*.github.com\", \"api.github.com\", \"raw.githubusercontent.com\"])\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n\n teamId String @unique @map(\"team_id\")\n team Team @relation(\"TeamToSandbox\", fields: [teamId], references: [id], onDelete: Cascade)\n\n @@map(\"sandboxes\")\n}\n\nmodel Skill {\n id String @id @default(ulid())\n name String\n description String?\n /// [SkillConfig]\n config Json? @default(\"{}\")\n assetId String @map(\"asset_id\")\n hash String @map(\"hash\")\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n\n teamId String @map(\"team_id\")\n team Team @relation(\"TeamToSkill\", fields: [teamId], references: [id], onDelete: Cascade)\n\n agentSkills AgentSkill[]\n\n @@unique([teamId, name])\n @@map(\"skills\")\n}\n\nmodel TeamMember {\n id String @id @default(ulid())\n role TeamMemberRole\n scope TeamMemberScope @default(team)\n\n teamId String @map(\"team_id\")\n team Team @relation(\"TeamToTeamMember\", fields: [teamId], references: [id])\n\n userId String @map(\"user_id\")\n user User @relation(\"UserToTeamMember\", fields: [userId], references: [id], onDelete: Cascade)\n\n projectMembers ProjectMember[] @relation(\"TeamMemberToProjectMember\")\n lastReadNotificationId String? @unique @map(\"last_read_notification_id\")\n lastReadNotification Notification? @relation(\"TeamMemberToLastReadNotification\", fields: [lastReadNotificationId], references: [id])\n\n @@unique([teamId, userId], name: \"teamIdUserId\")\n @@map(\"team_members\")\n}\n\nmodel Project {\n id String @id @default(ulid())\n name String\n coverImageKey String? @map(\"cover_image_key\")\n /// [MetadataOverrides]\n metadataOverrides Json? @map(\"metadata_overrides\")\n enableNotification Boolean @default(true) @map(\"enable_notification\")\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n\n teamId String @map(\"team_id\")\n team Team @relation(\"TeamToProject\", fields: [teamId], references: [id])\n\n rootFolderId String? @unique @map(\"root_folder_id\")\n rootFolder Asset? @relation(\"ProjectToRootFolder\", fields: [rootFolderId], references: [id])\n\n shareRootId String? @unique @map(\"share_root_id\")\n shareRoot Asset? @relation(\"ProjectToShareRoot\", fields: [shareRootId], references: [id])\n\n members ProjectMember[] @relation(\"ProjectToProjectMember\")\n assets Asset[] @relation(\"ProjectToAsset\")\n metadataFields MetadataField[] @relation(\"ProjectToMetadataField\")\n invites Invite[] @relation(\"ProjectToInvite\")\n notifications Notification[] @relation(\"ProjectToNotification\")\n shareLinks ShareLink[] @relation(\"ProjectToShareLink\")\n collections Collection[] @relation(\"ProjectToCollection\")\n\n @@index([createdAt])\n @@index([updatedAt])\n @@map(\"projects\")\n}\n\nmodel ProjectMember {\n id String @id @default(ulid())\n role ProjectMemberRole\n\n projectId String @map(\"project_id\")\n project Project @relation(\"ProjectToProjectMember\", fields: [projectId], references: [id], onDelete: Cascade)\n\n teamMemberId String @map(\"team_member_id\")\n teamMember TeamMember @relation(\"TeamMemberToProjectMember\", fields: [teamMemberId], references: [id])\n\n @@unique([projectId, teamMemberId], name: \"projectIdTeamMemberId\")\n @@map(\"project_members\")\n}\n\nmodel ShareLink {\n id String @id @default(ulid())\n name String\n expireAt DateTime? @map(\"expire_at\")\n password String?\n isDisabled Boolean @default(false) @map(\"is_disabled\")\n defaultSortOrder String? @map(\"default_sort_order\")\n /// [ShareLinkFieldVisibility]\n fieldVisibility Json? @map(\"field_visibility\")\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n\n projectId String @map(\"project_id\")\n project Project @relation(\"ProjectToShareLink\", fields: [projectId], references: [id], onDelete: Cascade)\n\n rootFolderId String @unique @map(\"root_folder_id\")\n rootFolder Asset @relation(\"ShareLinkToRootFolder\", fields: [rootFolderId], references: [id])\n\n @@map(\"share_links\")\n}\n\nmodel Asset {\n id String @id @default(ulid())\n name String @default(\"\")\n nameNgram String[] @default([]) @map(\"name_ngram\")\n type AssetType\n mediaType String? @map(\"media_type\")\n fileCount Int @default(0) @map(\"file_count\")\n sizeByte Int @default(0) @map(\"size_byte\")\n status AssetStatus\n transcodeTaskId String? @map(\"transcode_task_id\")\n /// [MediaInfo]\n media Json?\n isDeleted Boolean @default(false) @map(\"is_deleted\")\n deletedAt DateTime? @map(\"deleted_at\")\n sortIndex String? @map(\"sort_index\")\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n\n parentId String? @map(\"parent_id\")\n parent Asset? @relation(\"AssetChildren\", fields: [parentId], references: [id])\n children Asset[] @relation(\"AssetChildren\")\n\n targetId String? @map(\"target_id\")\n target Asset? @relation(\"SymlinkTarget\", fields: [targetId], references: [id])\n symlinks Asset[] @relation(\"SymlinkTarget\")\n\n storageKeyId String? @map(\"storage_key_id\")\n storageKey StorageKey? @relation(fields: [storageKeyId], references: [id])\n\n metadataValues AssetMetadataValue[] @relation(\"AssetToMetadataValues\")\n\n creatorId String? @map(\"creator_id\")\n creator User? @relation(\"UserToAsset\", fields: [creatorId], references: [id])\n\n taskId String? @map(\"task_id\")\n task Task? @relation(\"TaskToAsset\", fields: [taskId], references: [id])\n\n projectId String? @map(\"project_id\")\n project Project? @relation(\"ProjectToAsset\", fields: [projectId], references: [id])\n\n comments AssetComment[] @relation(\"AssetToComment\")\n commentAttachments AssetCommentAttachment[] @relation(\"AssetToCommentAttachment\")\n notifications Notification[] @relation(\"AssetToNotification\")\n embeddings AssetEmbedding[] @relation(\"AssetToEmbedding\")\n\n teamRootFolder Team? @relation(\"TeamToRootFolder\")\n projectRootFolder Project? @relation(\"ProjectToRootFolder\")\n projectShareRoot Project? @relation(\"ProjectToShareRoot\")\n shareLinkRootFolder ShareLink? @relation(\"ShareLinkToRootFolder\")\n\n @@unique([parentId, targetId], name: \"parentIdTargetId\")\n @@index([type])\n @@index([status])\n @@index([createdAt])\n @@index([updatedAt])\n @@index([sortIndex])\n @@index([isDeleted])\n @@index([deletedAt])\n @@index([name], name: \"assets_name_idx\")\n @@index([nameNgram], type: Gin)\n @@map(\"assets\")\n}\n\nmodel StorageKey {\n id String @id @default(ulid())\n key String @unique\n status StorageKeyStatus @default(active)\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n assets Asset[]\n\n @@map(\"storage_keys\")\n}\n\nmodel AssetMetadataValue {\n id String @id @default(ulid())\n assetId String @map(\"asset_id\")\n fieldKey String @map(\"field_key\") // key from MetadataField\n\n stringValue String? @map(\"string_value\")\n numberValue Float? @map(\"number_value\")\n booleanValue Boolean? @map(\"boolean_value\")\n jsonValue Json? @map(\"json_value\")\n dateValue DateTime? @map(\"date_value\")\n\n asset Asset @relation(\"AssetToMetadataValues\", fields: [assetId], references: [id], onDelete: Cascade)\n\n @@unique([assetId, fieldKey])\n @@index([numberValue])\n @@index([stringValue])\n @@index([booleanValue])\n @@index([dateValue])\n @@index([jsonValue], type: Gin)\n @@map(\"asset_metadata_values\")\n}\n\nmodel AssetComment {\n id String @id @default(ulid())\n message String?\n /// [AnnotationList]\n annotation Json?\n second Float?\n sessionId String? @map(\"session_id\")\n session AgentSession? @relation(fields: [sessionId], references: [id], onDelete: SetNull)\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n\n assetId String @map(\"asset_id\")\n asset Asset @relation(\"AssetToComment\", fields: [assetId], references: [id], onDelete: Cascade)\n\n creatorId String? @map(\"creator_id\")\n creator User? @relation(\"UserToAssetComment\", fields: [creatorId], references: [id])\n\n replyToId String? @map(\"reply_to_id\")\n replyTo AssetComment? @relation(\"CommentReplies\", fields: [replyToId], references: [id], onDelete: Cascade)\n replies AssetComment[] @relation(\"CommentReplies\")\n\n attachments AssetCommentAttachment[] @relation(\"CommentToAttachment\")\n\n @@map(\"asset_comments\")\n}\n\nmodel AssetCommentAttachment {\n id String @id @default(ulid())\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n\n commentId String @map(\"comment_id\")\n comment AssetComment @relation(\"CommentToAttachment\", fields: [commentId], references: [id], onDelete: Cascade)\n\n assetId String @map(\"asset_id\")\n asset Asset @relation(\"AssetToCommentAttachment\", fields: [assetId], references: [id], onDelete: Cascade)\n\n @@map(\"asset_comment_attachments\")\n}\n\nmodel AssetEmbedding {\n id String @id @default(ulid())\n embedding Unsupported(\"vector(1536)\")?\n startTime Float? @map(\"start_time\")\n endTime Float? @map(\"end_time\")\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n\n assetId String @map(\"asset_id\")\n asset Asset @relation(\"AssetToEmbedding\", fields: [assetId], references: [id], onDelete: Cascade)\n\n @@index([embedding], name: \"AssetEmbedding_embedding_idx\")\n @@map(\"asset_embeddings\")\n}\n\nmodel Invite {\n id String @id @default(ulid())\n code String @unique\n role InviteRole?\n used Boolean @default(false)\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n\n teamId String @map(\"team_id\")\n team Team @relation(\"TeamToInvite\", fields: [teamId], references: [id])\n\n projectId String? @map(\"project_id\")\n project Project? @relation(\"ProjectToInvite\", fields: [projectId], references: [id], onDelete: Cascade)\n\n inviterId String @map(\"inviter_id\")\n inviter User @relation(\"UserToInvite\", fields: [inviterId], references: [id])\n\n @@map(\"invites\")\n}\n\nmodel MetadataField {\n id String @id @default(ulid())\n key String @unique\n scope MetadataFieldScope?\n /// [FieldConfig]\n config Json?\n readOnly Boolean @default(false) @map(\"read_only\")\n aiAutofill Boolean @default(false) @map(\"ai_autofill\")\n description String @default(\"\")\n\n teamId String? @map(\"team_id\")\n team Team? @relation(\"TeamToMetadataField\", fields: [teamId], references: [id])\n\n projectId String? @map(\"project_id\")\n project Project? @relation(\"ProjectToMetadataField\", fields: [projectId], references: [id], onDelete: Cascade)\n\n @@map(\"metadata_fields\")\n}\n\nmodel Notification {\n id String @id @default(ulid())\n type NotificationType?\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n\n teamId String @map(\"team_id\")\n team Team @relation(\"TeamToNotification\", fields: [teamId], references: [id])\n\n projectId String? @map(\"project_id\")\n project Project? @relation(\"ProjectToNotification\", fields: [projectId], references: [id], onDelete: Cascade)\n\n creatorId String? @map(\"creator_id\")\n creator User? @relation(\"UserToCreatedNotification\", fields: [creatorId], references: [id])\n\n assetId String? @map(\"asset_id\")\n asset Asset? @relation(\"AssetToNotification\", fields: [assetId], references: [id], onDelete: Cascade)\n\n taskId String? @map(\"task_id\")\n task Task? @relation(\"TaskToNotification\", fields: [taskId], references: [id])\n\n userId String? @map(\"user_id\")\n user User? @relation(\"UserToNotification\", fields: [userId], references: [id])\n\n readByMembers TeamMember? @relation(\"TeamMemberToLastReadNotification\")\n\n @@map(\"notifications\")\n}\n\nmodel SystemSettings {\n id String @id @default(ulid())\n key String @unique\n /// [SystemSettingsValue]\n value Json?\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n\n @@index([key])\n @@map(\"system_settings\")\n}\n\nmodel Task {\n id String @id @default(ulid())\n type TaskType?\n status TaskStatus @default(pending)\n name String?\n total Int?\n uploaded Int @default(0)\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n\n creatorId String? @map(\"creator_id\")\n creator User? @relation(\"UserToTask\", fields: [creatorId], references: [id])\n\n assets Asset[] @relation(\"TaskToAsset\")\n notifications Notification[] @relation(\"TaskToNotification\")\n\n @@map(\"tasks\")\n}\n\nmodel WorkflowTask {\n id String @id @default(ulid())\n uid String @default(uuid()) @db.Uuid\n teamId String? @map(\"team_id\")\n projectId String? @map(\"project_id\")\n assetId String @map(\"asset_id\")\n type WorkflowTaskType?\n status WorkflowTaskStatus?\n /// [WorkflowTaskPayload]\n payload Json?\n /// [WorkflowTaskOutput]\n output Json?\n heartbeat DateTime?\n inputTokens Int @default(0) @map(\"input_tokens\")\n outputTokens Int @default(0) @map(\"output_tokens\")\n model String?\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n\n @@index([status, heartbeat])\n @@index([assetId, type])\n @@index([teamId])\n @@index([projectId])\n @@index([type])\n @@map(\"workflow_tasks\")\n}\n\nenum AgentType {\n chat\n autofill\n embedding\n}\n\nmodel Agent {\n id String @id\n user User @relation(fields: [id], references: [id], onDelete: Cascade)\n type AgentType\n enabled Boolean @default(true)\n soul String? @db.Text\n providerId String? @map(\"provider_id\")\n provider Provider? @relation(\"ProviderToAgent\", fields: [providerId], references: [id], onDelete: SetNull)\n modelId String? @map(\"model_id\")\n modelRef Model? @relation(\"ModelToAgent\", fields: [modelId], references: [id], onDelete: SetNull)\n\n teamId String @map(\"team_id\")\n team Team @relation(\"TeamToAgent\", fields: [teamId], references: [id], onDelete: Cascade)\n\n /// [AgentConfig]\n config Json\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n agentSessions AgentSession[]\n skills AgentSkill[]\n\n @@map(\"agents\")\n}\n\nmodel AgentSkill {\n id String @id @default(ulid())\n agentId String @map(\"agent_id\")\n agent Agent @relation(fields: [agentId], references: [id], onDelete: Cascade)\n skillId String @map(\"skill_id\")\n skill Skill @relation(fields: [skillId], references: [id], onDelete: Cascade)\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n\n @@unique([agentId, skillId])\n @@map(\"agent_skills\")\n}\n\nmodel AgentSession {\n id String @id @default(ulid())\n agentId String @map(\"agent_id\")\n agent Agent @relation(fields: [agentId], references: [id], onDelete: Cascade)\n userId String? @map(\"user_id\")\n user User? @relation(fields: [userId], references: [id], onDelete: SetNull)\n cwd String\n leafId String? @map(\"leaf_id\")\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n entries AgentSessionEntry[]\n comments AssetComment[]\n\n @@map(\"agent_sessions\")\n}\n\nmodel AgentSessionEntry {\n id String @id // Uses ULID generated by pi-coding-agent\n sessionId String @map(\"session_id\")\n session AgentSession @relation(fields: [sessionId], references: [id], onDelete: Cascade)\n /// [PiSessionEntry]\n entry Json\n\n @@index([sessionId])\n @@map(\"agent_session_entries\")\n}\n\nmodel UserMetadata {\n id String @id @default(ulid())\n key String\n /// [UserMetadataValue]\n value Json\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n\n userId String @map(\"user_id\")\n user User @relation(\"UserToUserMetadata\", fields: [userId], references: [id], onDelete: Cascade)\n\n teamId String @map(\"team_id\")\n team Team @relation(\"TeamToUserMetadata\", fields: [teamId], references: [id], onDelete: Cascade)\n\n @@unique([userId, teamId, key], name: \"userIdTeamIdKey\")\n @@map(\"user_metadata\")\n}\n\nmodel Model {\n id String @id @default(ulid())\n modelId String @map(\"model_id\")\n name String @default(\"\")\n /// [ModelConfig]\n config Json\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n\n providerId String @map(\"provider_id\")\n provider Provider @relation(\"ProviderToModel\", fields: [providerId], references: [id], onDelete: Cascade)\n\n agents Agent[] @relation(\"ModelToAgent\")\n\n @@unique([providerId, modelId])\n @@map(\"models\")\n}\n\nmodel Provider {\n id String @id @default(ulid())\n name String\n isBuiltin Boolean @default(false) @map(\"is_builtin\")\n /// [ProviderConfig]\n config Json\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n\n teamId String @map(\"team_id\")\n team Team @relation(\"TeamToProvider\", fields: [teamId], references: [id], onDelete: Cascade)\n\n models Model[] @relation(\"ProviderToModel\")\n agents Agent[] @relation(\"ProviderToAgent\")\n\n @@unique([teamId, name])\n @@map(\"providers\")\n}\n\nmodel Collection {\n id String @id @default(ulid())\n name String\n /// [CollectionFilter]\n filter Json\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n\n projectId String @map(\"project_id\")\n project Project @relation(\"ProjectToCollection\", fields: [projectId], references: [id], onDelete: Cascade)\n\n @@index([projectId, createdAt(sort: Desc)])\n @@map(\"collections\")\n}\n", - "runtimeDataModel": { - "models": {}, - "enums": {}, - "types": {} - }, - "parameterizationSchema": { - "strings": [], - "graph": "" - } -} - -config.runtimeDataModel = JSON.parse("{\"models\":{\"User\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"type\",\"kind\":\"enum\",\"type\":\"UserType\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"email\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"emailVerified\",\"kind\":\"scalar\",\"type\":\"Boolean\",\"dbName\":\"email_verified\"},{\"name\":\"image\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"password\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"agentSettings\",\"kind\":\"scalar\",\"type\":\"Json\",\"dbName\":\"agent_settings\"},{\"name\":\"guestEmail\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"guest_email\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"assets\",\"kind\":\"object\",\"type\":\"Asset\",\"relationName\":\"UserToAsset\"},{\"name\":\"authTokens\",\"kind\":\"object\",\"type\":\"AuthToken\",\"relationName\":\"UserToAuthToken\"},{\"name\":\"tasks\",\"kind\":\"object\",\"type\":\"Task\",\"relationName\":\"UserToTask\"},{\"name\":\"teamMembers\",\"kind\":\"object\",\"type\":\"TeamMember\",\"relationName\":\"UserToTeamMember\"},{\"name\":\"comments\",\"kind\":\"object\",\"type\":\"AssetComment\",\"relationName\":\"UserToAssetComment\"},{\"name\":\"createdInvites\",\"kind\":\"object\",\"type\":\"Invite\",\"relationName\":\"UserToInvite\"},{\"name\":\"createdNotifications\",\"kind\":\"object\",\"type\":\"Notification\",\"relationName\":\"UserToCreatedNotification\"},{\"name\":\"notifications\",\"kind\":\"object\",\"type\":\"Notification\",\"relationName\":\"UserToNotification\"},{\"name\":\"sessions\",\"kind\":\"object\",\"type\":\"Session\",\"relationName\":\"SessionToUser\"},{\"name\":\"accounts\",\"kind\":\"object\",\"type\":\"Account\",\"relationName\":\"AccountToUser\"},{\"name\":\"agent\",\"kind\":\"object\",\"type\":\"Agent\",\"relationName\":\"AgentToUser\"},{\"name\":\"agentSessions\",\"kind\":\"object\",\"type\":\"AgentSession\",\"relationName\":\"AgentSessionToUser\"},{\"name\":\"userMetadata\",\"kind\":\"object\",\"type\":\"UserMetadata\",\"relationName\":\"UserToUserMetadata\"}],\"dbName\":\"users\"},\"Session\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"expiresAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"expires_at\"},{\"name\":\"token\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"ipAddress\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"ip_address\"},{\"name\":\"userAgent\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"user_agent\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"user_id\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"SessionToUser\"}],\"dbName\":\"sessions\"},\"Account\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"accountId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"account_id\"},{\"name\":\"providerId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"provider_id\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"user_id\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"AccountToUser\"},{\"name\":\"accessToken\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"access_token\"},{\"name\":\"refreshToken\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"refresh_token\"},{\"name\":\"idToken\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"id_token\"},{\"name\":\"accessTokenExpiresAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"access_token_expires_at\"},{\"name\":\"refreshTokenExpiresAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"refresh_token_expires_at\"},{\"name\":\"scope\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"password\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"}],\"dbName\":\"accounts\"},\"Verification\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"identifier\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"value\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"expiresAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"expires_at\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"}],\"dbName\":\"verifications\"},\"AuthToken\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"accessToken\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"access_token\"},{\"name\":\"refreshToken\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"refresh_token\"},{\"name\":\"accessTokenExpiresAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"access_token_expires_at\"},{\"name\":\"refreshTokenExpiresAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"refresh_token_expires_at\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"user_id\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"UserToAuthToken\"}],\"dbName\":\"auth_tokens\"},\"Team\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"settings\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"rootFolderId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"root_folder_id\"},{\"name\":\"rootFolder\",\"kind\":\"object\",\"type\":\"Asset\",\"relationName\":\"TeamToRootFolder\"},{\"name\":\"members\",\"kind\":\"object\",\"type\":\"TeamMember\",\"relationName\":\"TeamToTeamMember\"},{\"name\":\"projects\",\"kind\":\"object\",\"type\":\"Project\",\"relationName\":\"TeamToProject\"},{\"name\":\"metadataFields\",\"kind\":\"object\",\"type\":\"MetadataField\",\"relationName\":\"TeamToMetadataField\"},{\"name\":\"invites\",\"kind\":\"object\",\"type\":\"Invite\",\"relationName\":\"TeamToInvite\"},{\"name\":\"notifications\",\"kind\":\"object\",\"type\":\"Notification\",\"relationName\":\"TeamToNotification\"},{\"name\":\"userMetadata\",\"kind\":\"object\",\"type\":\"UserMetadata\",\"relationName\":\"TeamToUserMetadata\"},{\"name\":\"providers\",\"kind\":\"object\",\"type\":\"Provider\",\"relationName\":\"TeamToProvider\"},{\"name\":\"skills\",\"kind\":\"object\",\"type\":\"Skill\",\"relationName\":\"TeamToSkill\"},{\"name\":\"sandbox\",\"kind\":\"object\",\"type\":\"Sandbox\",\"relationName\":\"TeamToSandbox\"},{\"name\":\"agents\",\"kind\":\"object\",\"type\":\"Agent\",\"relationName\":\"TeamToAgent\"}],\"dbName\":\"teams\"},\"Sandbox\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"allowedDomains\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"teamId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"team_id\"},{\"name\":\"team\",\"kind\":\"object\",\"type\":\"Team\",\"relationName\":\"TeamToSandbox\"}],\"dbName\":\"sandboxes\"},\"Skill\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"description\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"config\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"assetId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"asset_id\"},{\"name\":\"hash\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"hash\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"teamId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"team_id\"},{\"name\":\"team\",\"kind\":\"object\",\"type\":\"Team\",\"relationName\":\"TeamToSkill\"},{\"name\":\"agentSkills\",\"kind\":\"object\",\"type\":\"AgentSkill\",\"relationName\":\"AgentSkillToSkill\"}],\"dbName\":\"skills\"},\"TeamMember\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"role\",\"kind\":\"enum\",\"type\":\"TeamMemberRole\"},{\"name\":\"scope\",\"kind\":\"enum\",\"type\":\"TeamMemberScope\"},{\"name\":\"teamId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"team_id\"},{\"name\":\"team\",\"kind\":\"object\",\"type\":\"Team\",\"relationName\":\"TeamToTeamMember\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"user_id\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"UserToTeamMember\"},{\"name\":\"projectMembers\",\"kind\":\"object\",\"type\":\"ProjectMember\",\"relationName\":\"TeamMemberToProjectMember\"},{\"name\":\"lastReadNotificationId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"last_read_notification_id\"},{\"name\":\"lastReadNotification\",\"kind\":\"object\",\"type\":\"Notification\",\"relationName\":\"TeamMemberToLastReadNotification\"}],\"dbName\":\"team_members\"},\"Project\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"coverImageKey\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"cover_image_key\"},{\"name\":\"metadataOverrides\",\"kind\":\"scalar\",\"type\":\"Json\",\"dbName\":\"metadata_overrides\"},{\"name\":\"enableNotification\",\"kind\":\"scalar\",\"type\":\"Boolean\",\"dbName\":\"enable_notification\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"teamId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"team_id\"},{\"name\":\"team\",\"kind\":\"object\",\"type\":\"Team\",\"relationName\":\"TeamToProject\"},{\"name\":\"rootFolderId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"root_folder_id\"},{\"name\":\"rootFolder\",\"kind\":\"object\",\"type\":\"Asset\",\"relationName\":\"ProjectToRootFolder\"},{\"name\":\"shareRootId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"share_root_id\"},{\"name\":\"shareRoot\",\"kind\":\"object\",\"type\":\"Asset\",\"relationName\":\"ProjectToShareRoot\"},{\"name\":\"members\",\"kind\":\"object\",\"type\":\"ProjectMember\",\"relationName\":\"ProjectToProjectMember\"},{\"name\":\"assets\",\"kind\":\"object\",\"type\":\"Asset\",\"relationName\":\"ProjectToAsset\"},{\"name\":\"metadataFields\",\"kind\":\"object\",\"type\":\"MetadataField\",\"relationName\":\"ProjectToMetadataField\"},{\"name\":\"invites\",\"kind\":\"object\",\"type\":\"Invite\",\"relationName\":\"ProjectToInvite\"},{\"name\":\"notifications\",\"kind\":\"object\",\"type\":\"Notification\",\"relationName\":\"ProjectToNotification\"},{\"name\":\"shareLinks\",\"kind\":\"object\",\"type\":\"ShareLink\",\"relationName\":\"ProjectToShareLink\"},{\"name\":\"collections\",\"kind\":\"object\",\"type\":\"Collection\",\"relationName\":\"ProjectToCollection\"}],\"dbName\":\"projects\"},\"ProjectMember\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"role\",\"kind\":\"enum\",\"type\":\"ProjectMemberRole\"},{\"name\":\"projectId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"project_id\"},{\"name\":\"project\",\"kind\":\"object\",\"type\":\"Project\",\"relationName\":\"ProjectToProjectMember\"},{\"name\":\"teamMemberId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"team_member_id\"},{\"name\":\"teamMember\",\"kind\":\"object\",\"type\":\"TeamMember\",\"relationName\":\"TeamMemberToProjectMember\"}],\"dbName\":\"project_members\"},\"ShareLink\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"expireAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"expire_at\"},{\"name\":\"password\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"isDisabled\",\"kind\":\"scalar\",\"type\":\"Boolean\",\"dbName\":\"is_disabled\"},{\"name\":\"defaultSortOrder\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"default_sort_order\"},{\"name\":\"fieldVisibility\",\"kind\":\"scalar\",\"type\":\"Json\",\"dbName\":\"field_visibility\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"projectId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"project_id\"},{\"name\":\"project\",\"kind\":\"object\",\"type\":\"Project\",\"relationName\":\"ProjectToShareLink\"},{\"name\":\"rootFolderId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"root_folder_id\"},{\"name\":\"rootFolder\",\"kind\":\"object\",\"type\":\"Asset\",\"relationName\":\"ShareLinkToRootFolder\"}],\"dbName\":\"share_links\"},\"Asset\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"nameNgram\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"name_ngram\"},{\"name\":\"type\",\"kind\":\"enum\",\"type\":\"AssetType\"},{\"name\":\"mediaType\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"media_type\"},{\"name\":\"fileCount\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"file_count\"},{\"name\":\"sizeByte\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"size_byte\"},{\"name\":\"status\",\"kind\":\"enum\",\"type\":\"AssetStatus\"},{\"name\":\"transcodeTaskId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"transcode_task_id\"},{\"name\":\"media\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"isDeleted\",\"kind\":\"scalar\",\"type\":\"Boolean\",\"dbName\":\"is_deleted\"},{\"name\":\"deletedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"deleted_at\"},{\"name\":\"sortIndex\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"sort_index\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"parentId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"parent_id\"},{\"name\":\"parent\",\"kind\":\"object\",\"type\":\"Asset\",\"relationName\":\"AssetChildren\"},{\"name\":\"children\",\"kind\":\"object\",\"type\":\"Asset\",\"relationName\":\"AssetChildren\"},{\"name\":\"targetId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"target_id\"},{\"name\":\"target\",\"kind\":\"object\",\"type\":\"Asset\",\"relationName\":\"SymlinkTarget\"},{\"name\":\"symlinks\",\"kind\":\"object\",\"type\":\"Asset\",\"relationName\":\"SymlinkTarget\"},{\"name\":\"storageKeyId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"storage_key_id\"},{\"name\":\"storageKey\",\"kind\":\"object\",\"type\":\"StorageKey\",\"relationName\":\"AssetToStorageKey\"},{\"name\":\"metadataValues\",\"kind\":\"object\",\"type\":\"AssetMetadataValue\",\"relationName\":\"AssetToMetadataValues\"},{\"name\":\"creatorId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"creator_id\"},{\"name\":\"creator\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"UserToAsset\"},{\"name\":\"taskId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"task_id\"},{\"name\":\"task\",\"kind\":\"object\",\"type\":\"Task\",\"relationName\":\"TaskToAsset\"},{\"name\":\"projectId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"project_id\"},{\"name\":\"project\",\"kind\":\"object\",\"type\":\"Project\",\"relationName\":\"ProjectToAsset\"},{\"name\":\"comments\",\"kind\":\"object\",\"type\":\"AssetComment\",\"relationName\":\"AssetToComment\"},{\"name\":\"commentAttachments\",\"kind\":\"object\",\"type\":\"AssetCommentAttachment\",\"relationName\":\"AssetToCommentAttachment\"},{\"name\":\"notifications\",\"kind\":\"object\",\"type\":\"Notification\",\"relationName\":\"AssetToNotification\"},{\"name\":\"embeddings\",\"kind\":\"object\",\"type\":\"AssetEmbedding\",\"relationName\":\"AssetToEmbedding\"},{\"name\":\"teamRootFolder\",\"kind\":\"object\",\"type\":\"Team\",\"relationName\":\"TeamToRootFolder\"},{\"name\":\"projectRootFolder\",\"kind\":\"object\",\"type\":\"Project\",\"relationName\":\"ProjectToRootFolder\"},{\"name\":\"projectShareRoot\",\"kind\":\"object\",\"type\":\"Project\",\"relationName\":\"ProjectToShareRoot\"},{\"name\":\"shareLinkRootFolder\",\"kind\":\"object\",\"type\":\"ShareLink\",\"relationName\":\"ShareLinkToRootFolder\"}],\"dbName\":\"assets\"},\"StorageKey\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"key\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"status\",\"kind\":\"enum\",\"type\":\"StorageKeyStatus\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"assets\",\"kind\":\"object\",\"type\":\"Asset\",\"relationName\":\"AssetToStorageKey\"}],\"dbName\":\"storage_keys\"},\"AssetMetadataValue\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"assetId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"asset_id\"},{\"name\":\"fieldKey\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"field_key\"},{\"name\":\"stringValue\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"string_value\"},{\"name\":\"numberValue\",\"kind\":\"scalar\",\"type\":\"Float\",\"dbName\":\"number_value\"},{\"name\":\"booleanValue\",\"kind\":\"scalar\",\"type\":\"Boolean\",\"dbName\":\"boolean_value\"},{\"name\":\"jsonValue\",\"kind\":\"scalar\",\"type\":\"Json\",\"dbName\":\"json_value\"},{\"name\":\"dateValue\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"date_value\"},{\"name\":\"asset\",\"kind\":\"object\",\"type\":\"Asset\",\"relationName\":\"AssetToMetadataValues\"}],\"dbName\":\"asset_metadata_values\"},\"AssetComment\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"message\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"annotation\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"second\",\"kind\":\"scalar\",\"type\":\"Float\"},{\"name\":\"sessionId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"session_id\"},{\"name\":\"session\",\"kind\":\"object\",\"type\":\"AgentSession\",\"relationName\":\"AgentSessionToAssetComment\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"assetId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"asset_id\"},{\"name\":\"asset\",\"kind\":\"object\",\"type\":\"Asset\",\"relationName\":\"AssetToComment\"},{\"name\":\"creatorId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"creator_id\"},{\"name\":\"creator\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"UserToAssetComment\"},{\"name\":\"replyToId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"reply_to_id\"},{\"name\":\"replyTo\",\"kind\":\"object\",\"type\":\"AssetComment\",\"relationName\":\"CommentReplies\"},{\"name\":\"replies\",\"kind\":\"object\",\"type\":\"AssetComment\",\"relationName\":\"CommentReplies\"},{\"name\":\"attachments\",\"kind\":\"object\",\"type\":\"AssetCommentAttachment\",\"relationName\":\"CommentToAttachment\"}],\"dbName\":\"asset_comments\"},\"AssetCommentAttachment\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"commentId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"comment_id\"},{\"name\":\"comment\",\"kind\":\"object\",\"type\":\"AssetComment\",\"relationName\":\"CommentToAttachment\"},{\"name\":\"assetId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"asset_id\"},{\"name\":\"asset\",\"kind\":\"object\",\"type\":\"Asset\",\"relationName\":\"AssetToCommentAttachment\"}],\"dbName\":\"asset_comment_attachments\"},\"AssetEmbedding\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"startTime\",\"kind\":\"scalar\",\"type\":\"Float\",\"dbName\":\"start_time\"},{\"name\":\"endTime\",\"kind\":\"scalar\",\"type\":\"Float\",\"dbName\":\"end_time\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"assetId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"asset_id\"},{\"name\":\"asset\",\"kind\":\"object\",\"type\":\"Asset\",\"relationName\":\"AssetToEmbedding\"}],\"dbName\":\"asset_embeddings\"},\"Invite\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"code\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"role\",\"kind\":\"enum\",\"type\":\"InviteRole\"},{\"name\":\"used\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"teamId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"team_id\"},{\"name\":\"team\",\"kind\":\"object\",\"type\":\"Team\",\"relationName\":\"TeamToInvite\"},{\"name\":\"projectId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"project_id\"},{\"name\":\"project\",\"kind\":\"object\",\"type\":\"Project\",\"relationName\":\"ProjectToInvite\"},{\"name\":\"inviterId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"inviter_id\"},{\"name\":\"inviter\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"UserToInvite\"}],\"dbName\":\"invites\"},\"MetadataField\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"key\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"scope\",\"kind\":\"enum\",\"type\":\"MetadataFieldScope\"},{\"name\":\"config\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"readOnly\",\"kind\":\"scalar\",\"type\":\"Boolean\",\"dbName\":\"read_only\"},{\"name\":\"aiAutofill\",\"kind\":\"scalar\",\"type\":\"Boolean\",\"dbName\":\"ai_autofill\"},{\"name\":\"description\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"teamId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"team_id\"},{\"name\":\"team\",\"kind\":\"object\",\"type\":\"Team\",\"relationName\":\"TeamToMetadataField\"},{\"name\":\"projectId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"project_id\"},{\"name\":\"project\",\"kind\":\"object\",\"type\":\"Project\",\"relationName\":\"ProjectToMetadataField\"}],\"dbName\":\"metadata_fields\"},\"Notification\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"type\",\"kind\":\"enum\",\"type\":\"NotificationType\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"teamId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"team_id\"},{\"name\":\"team\",\"kind\":\"object\",\"type\":\"Team\",\"relationName\":\"TeamToNotification\"},{\"name\":\"projectId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"project_id\"},{\"name\":\"project\",\"kind\":\"object\",\"type\":\"Project\",\"relationName\":\"ProjectToNotification\"},{\"name\":\"creatorId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"creator_id\"},{\"name\":\"creator\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"UserToCreatedNotification\"},{\"name\":\"assetId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"asset_id\"},{\"name\":\"asset\",\"kind\":\"object\",\"type\":\"Asset\",\"relationName\":\"AssetToNotification\"},{\"name\":\"taskId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"task_id\"},{\"name\":\"task\",\"kind\":\"object\",\"type\":\"Task\",\"relationName\":\"TaskToNotification\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"user_id\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"UserToNotification\"},{\"name\":\"readByMembers\",\"kind\":\"object\",\"type\":\"TeamMember\",\"relationName\":\"TeamMemberToLastReadNotification\"}],\"dbName\":\"notifications\"},\"SystemSettings\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"key\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"value\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"}],\"dbName\":\"system_settings\"},\"Task\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"type\",\"kind\":\"enum\",\"type\":\"TaskType\"},{\"name\":\"status\",\"kind\":\"enum\",\"type\":\"TaskStatus\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"total\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"uploaded\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"creatorId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"creator_id\"},{\"name\":\"creator\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"UserToTask\"},{\"name\":\"assets\",\"kind\":\"object\",\"type\":\"Asset\",\"relationName\":\"TaskToAsset\"},{\"name\":\"notifications\",\"kind\":\"object\",\"type\":\"Notification\",\"relationName\":\"TaskToNotification\"}],\"dbName\":\"tasks\"},\"WorkflowTask\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"uid\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"teamId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"team_id\"},{\"name\":\"projectId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"project_id\"},{\"name\":\"assetId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"asset_id\"},{\"name\":\"type\",\"kind\":\"enum\",\"type\":\"WorkflowTaskType\"},{\"name\":\"status\",\"kind\":\"enum\",\"type\":\"WorkflowTaskStatus\"},{\"name\":\"payload\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"output\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"heartbeat\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"inputTokens\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"input_tokens\"},{\"name\":\"outputTokens\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"output_tokens\"},{\"name\":\"model\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"}],\"dbName\":\"workflow_tasks\"},\"Agent\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"AgentToUser\"},{\"name\":\"type\",\"kind\":\"enum\",\"type\":\"AgentType\"},{\"name\":\"enabled\",\"kind\":\"scalar\",\"type\":\"Boolean\"},{\"name\":\"soul\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"providerId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"provider_id\"},{\"name\":\"provider\",\"kind\":\"object\",\"type\":\"Provider\",\"relationName\":\"ProviderToAgent\"},{\"name\":\"modelId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"model_id\"},{\"name\":\"modelRef\",\"kind\":\"object\",\"type\":\"Model\",\"relationName\":\"ModelToAgent\"},{\"name\":\"teamId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"team_id\"},{\"name\":\"team\",\"kind\":\"object\",\"type\":\"Team\",\"relationName\":\"TeamToAgent\"},{\"name\":\"config\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"agentSessions\",\"kind\":\"object\",\"type\":\"AgentSession\",\"relationName\":\"AgentToAgentSession\"},{\"name\":\"skills\",\"kind\":\"object\",\"type\":\"AgentSkill\",\"relationName\":\"AgentToAgentSkill\"}],\"dbName\":\"agents\"},\"AgentSkill\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"agentId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"agent_id\"},{\"name\":\"agent\",\"kind\":\"object\",\"type\":\"Agent\",\"relationName\":\"AgentToAgentSkill\"},{\"name\":\"skillId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"skill_id\"},{\"name\":\"skill\",\"kind\":\"object\",\"type\":\"Skill\",\"relationName\":\"AgentSkillToSkill\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"}],\"dbName\":\"agent_skills\"},\"AgentSession\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"agentId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"agent_id\"},{\"name\":\"agent\",\"kind\":\"object\",\"type\":\"Agent\",\"relationName\":\"AgentToAgentSession\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"user_id\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"AgentSessionToUser\"},{\"name\":\"cwd\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"leafId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"leaf_id\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"entries\",\"kind\":\"object\",\"type\":\"AgentSessionEntry\",\"relationName\":\"AgentSessionToAgentSessionEntry\"},{\"name\":\"comments\",\"kind\":\"object\",\"type\":\"AssetComment\",\"relationName\":\"AgentSessionToAssetComment\"}],\"dbName\":\"agent_sessions\"},\"AgentSessionEntry\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"sessionId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"session_id\"},{\"name\":\"session\",\"kind\":\"object\",\"type\":\"AgentSession\",\"relationName\":\"AgentSessionToAgentSessionEntry\"},{\"name\":\"entry\",\"kind\":\"scalar\",\"type\":\"Json\"}],\"dbName\":\"agent_session_entries\"},\"UserMetadata\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"key\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"value\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"user_id\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"UserToUserMetadata\"},{\"name\":\"teamId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"team_id\"},{\"name\":\"team\",\"kind\":\"object\",\"type\":\"Team\",\"relationName\":\"TeamToUserMetadata\"}],\"dbName\":\"user_metadata\"},\"Model\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"modelId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"model_id\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"config\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"providerId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"provider_id\"},{\"name\":\"provider\",\"kind\":\"object\",\"type\":\"Provider\",\"relationName\":\"ProviderToModel\"},{\"name\":\"agents\",\"kind\":\"object\",\"type\":\"Agent\",\"relationName\":\"ModelToAgent\"}],\"dbName\":\"models\"},\"Provider\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"isBuiltin\",\"kind\":\"scalar\",\"type\":\"Boolean\",\"dbName\":\"is_builtin\"},{\"name\":\"config\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"teamId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"team_id\"},{\"name\":\"team\",\"kind\":\"object\",\"type\":\"Team\",\"relationName\":\"TeamToProvider\"},{\"name\":\"models\",\"kind\":\"object\",\"type\":\"Model\",\"relationName\":\"ProviderToModel\"},{\"name\":\"agents\",\"kind\":\"object\",\"type\":\"Agent\",\"relationName\":\"ProviderToAgent\"}],\"dbName\":\"providers\"},\"Collection\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"filter\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"projectId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"project_id\"},{\"name\":\"project\",\"kind\":\"object\",\"type\":\"Project\",\"relationName\":\"ProjectToCollection\"}],\"dbName\":\"collections\"}},\"enums\":{},\"types\":{}}") -config.parameterizationSchema = { - strings: JSON.parse("[\"where\",\"orderBy\",\"cursor\",\"parent\",\"children\",\"target\",\"symlinks\",\"assets\",\"_count\",\"storageKey\",\"asset\",\"metadataValues\",\"creator\",\"rootFolder\",\"team\",\"user\",\"shareRoot\",\"members\",\"project\",\"metadataFields\",\"inviter\",\"invites\",\"notifications\",\"shareLinks\",\"collections\",\"teamMember\",\"projectMembers\",\"lastReadNotification\",\"projects\",\"userMetadata\",\"provider\",\"modelRef\",\"agent\",\"session\",\"entries\",\"replyTo\",\"replies\",\"comment\",\"attachments\",\"comments\",\"agentSessions\",\"agentSkills\",\"skill\",\"skills\",\"agents\",\"models\",\"providers\",\"sandbox\",\"task\",\"readByMembers\",\"commentAttachments\",\"embeddings\",\"teamRootFolder\",\"projectRootFolder\",\"projectShareRoot\",\"shareLinkRootFolder\",\"authTokens\",\"tasks\",\"teamMembers\",\"createdInvites\",\"createdNotifications\",\"sessions\",\"accounts\",\"User.findUnique\",\"User.findUniqueOrThrow\",\"User.findFirst\",\"User.findFirstOrThrow\",\"User.findMany\",\"data\",\"User.createOne\",\"User.createMany\",\"User.createManyAndReturn\",\"User.updateOne\",\"User.updateMany\",\"User.updateManyAndReturn\",\"create\",\"update\",\"User.upsertOne\",\"User.deleteOne\",\"User.deleteMany\",\"having\",\"_min\",\"_max\",\"User.groupBy\",\"User.aggregate\",\"Session.findUnique\",\"Session.findUniqueOrThrow\",\"Session.findFirst\",\"Session.findFirstOrThrow\",\"Session.findMany\",\"Session.createOne\",\"Session.createMany\",\"Session.createManyAndReturn\",\"Session.updateOne\",\"Session.updateMany\",\"Session.updateManyAndReturn\",\"Session.upsertOne\",\"Session.deleteOne\",\"Session.deleteMany\",\"Session.groupBy\",\"Session.aggregate\",\"Account.findUnique\",\"Account.findUniqueOrThrow\",\"Account.findFirst\",\"Account.findFirstOrThrow\",\"Account.findMany\",\"Account.createOne\",\"Account.createMany\",\"Account.createManyAndReturn\",\"Account.updateOne\",\"Account.updateMany\",\"Account.updateManyAndReturn\",\"Account.upsertOne\",\"Account.deleteOne\",\"Account.deleteMany\",\"Account.groupBy\",\"Account.aggregate\",\"Verification.findUnique\",\"Verification.findUniqueOrThrow\",\"Verification.findFirst\",\"Verification.findFirstOrThrow\",\"Verification.findMany\",\"Verification.createOne\",\"Verification.createMany\",\"Verification.createManyAndReturn\",\"Verification.updateOne\",\"Verification.updateMany\",\"Verification.updateManyAndReturn\",\"Verification.upsertOne\",\"Verification.deleteOne\",\"Verification.deleteMany\",\"Verification.groupBy\",\"Verification.aggregate\",\"AuthToken.findUnique\",\"AuthToken.findUniqueOrThrow\",\"AuthToken.findFirst\",\"AuthToken.findFirstOrThrow\",\"AuthToken.findMany\",\"AuthToken.createOne\",\"AuthToken.createMany\",\"AuthToken.createManyAndReturn\",\"AuthToken.updateOne\",\"AuthToken.updateMany\",\"AuthToken.updateManyAndReturn\",\"AuthToken.upsertOne\",\"AuthToken.deleteOne\",\"AuthToken.deleteMany\",\"AuthToken.groupBy\",\"AuthToken.aggregate\",\"Team.findUnique\",\"Team.findUniqueOrThrow\",\"Team.findFirst\",\"Team.findFirstOrThrow\",\"Team.findMany\",\"Team.createOne\",\"Team.createMany\",\"Team.createManyAndReturn\",\"Team.updateOne\",\"Team.updateMany\",\"Team.updateManyAndReturn\",\"Team.upsertOne\",\"Team.deleteOne\",\"Team.deleteMany\",\"Team.groupBy\",\"Team.aggregate\",\"Sandbox.findUnique\",\"Sandbox.findUniqueOrThrow\",\"Sandbox.findFirst\",\"Sandbox.findFirstOrThrow\",\"Sandbox.findMany\",\"Sandbox.createOne\",\"Sandbox.createMany\",\"Sandbox.createManyAndReturn\",\"Sandbox.updateOne\",\"Sandbox.updateMany\",\"Sandbox.updateManyAndReturn\",\"Sandbox.upsertOne\",\"Sandbox.deleteOne\",\"Sandbox.deleteMany\",\"Sandbox.groupBy\",\"Sandbox.aggregate\",\"Skill.findUnique\",\"Skill.findUniqueOrThrow\",\"Skill.findFirst\",\"Skill.findFirstOrThrow\",\"Skill.findMany\",\"Skill.createOne\",\"Skill.createMany\",\"Skill.createManyAndReturn\",\"Skill.updateOne\",\"Skill.updateMany\",\"Skill.updateManyAndReturn\",\"Skill.upsertOne\",\"Skill.deleteOne\",\"Skill.deleteMany\",\"Skill.groupBy\",\"Skill.aggregate\",\"TeamMember.findUnique\",\"TeamMember.findUniqueOrThrow\",\"TeamMember.findFirst\",\"TeamMember.findFirstOrThrow\",\"TeamMember.findMany\",\"TeamMember.createOne\",\"TeamMember.createMany\",\"TeamMember.createManyAndReturn\",\"TeamMember.updateOne\",\"TeamMember.updateMany\",\"TeamMember.updateManyAndReturn\",\"TeamMember.upsertOne\",\"TeamMember.deleteOne\",\"TeamMember.deleteMany\",\"TeamMember.groupBy\",\"TeamMember.aggregate\",\"Project.findUnique\",\"Project.findUniqueOrThrow\",\"Project.findFirst\",\"Project.findFirstOrThrow\",\"Project.findMany\",\"Project.createOne\",\"Project.createMany\",\"Project.createManyAndReturn\",\"Project.updateOne\",\"Project.updateMany\",\"Project.updateManyAndReturn\",\"Project.upsertOne\",\"Project.deleteOne\",\"Project.deleteMany\",\"Project.groupBy\",\"Project.aggregate\",\"ProjectMember.findUnique\",\"ProjectMember.findUniqueOrThrow\",\"ProjectMember.findFirst\",\"ProjectMember.findFirstOrThrow\",\"ProjectMember.findMany\",\"ProjectMember.createOne\",\"ProjectMember.createMany\",\"ProjectMember.createManyAndReturn\",\"ProjectMember.updateOne\",\"ProjectMember.updateMany\",\"ProjectMember.updateManyAndReturn\",\"ProjectMember.upsertOne\",\"ProjectMember.deleteOne\",\"ProjectMember.deleteMany\",\"ProjectMember.groupBy\",\"ProjectMember.aggregate\",\"ShareLink.findUnique\",\"ShareLink.findUniqueOrThrow\",\"ShareLink.findFirst\",\"ShareLink.findFirstOrThrow\",\"ShareLink.findMany\",\"ShareLink.createOne\",\"ShareLink.createMany\",\"ShareLink.createManyAndReturn\",\"ShareLink.updateOne\",\"ShareLink.updateMany\",\"ShareLink.updateManyAndReturn\",\"ShareLink.upsertOne\",\"ShareLink.deleteOne\",\"ShareLink.deleteMany\",\"ShareLink.groupBy\",\"ShareLink.aggregate\",\"Asset.findUnique\",\"Asset.findUniqueOrThrow\",\"Asset.findFirst\",\"Asset.findFirstOrThrow\",\"Asset.findMany\",\"Asset.createOne\",\"Asset.createMany\",\"Asset.createManyAndReturn\",\"Asset.updateOne\",\"Asset.updateMany\",\"Asset.updateManyAndReturn\",\"Asset.upsertOne\",\"Asset.deleteOne\",\"Asset.deleteMany\",\"_avg\",\"_sum\",\"Asset.groupBy\",\"Asset.aggregate\",\"StorageKey.findUnique\",\"StorageKey.findUniqueOrThrow\",\"StorageKey.findFirst\",\"StorageKey.findFirstOrThrow\",\"StorageKey.findMany\",\"StorageKey.createOne\",\"StorageKey.createMany\",\"StorageKey.createManyAndReturn\",\"StorageKey.updateOne\",\"StorageKey.updateMany\",\"StorageKey.updateManyAndReturn\",\"StorageKey.upsertOne\",\"StorageKey.deleteOne\",\"StorageKey.deleteMany\",\"StorageKey.groupBy\",\"StorageKey.aggregate\",\"AssetMetadataValue.findUnique\",\"AssetMetadataValue.findUniqueOrThrow\",\"AssetMetadataValue.findFirst\",\"AssetMetadataValue.findFirstOrThrow\",\"AssetMetadataValue.findMany\",\"AssetMetadataValue.createOne\",\"AssetMetadataValue.createMany\",\"AssetMetadataValue.createManyAndReturn\",\"AssetMetadataValue.updateOne\",\"AssetMetadataValue.updateMany\",\"AssetMetadataValue.updateManyAndReturn\",\"AssetMetadataValue.upsertOne\",\"AssetMetadataValue.deleteOne\",\"AssetMetadataValue.deleteMany\",\"AssetMetadataValue.groupBy\",\"AssetMetadataValue.aggregate\",\"AssetComment.findUnique\",\"AssetComment.findUniqueOrThrow\",\"AssetComment.findFirst\",\"AssetComment.findFirstOrThrow\",\"AssetComment.findMany\",\"AssetComment.createOne\",\"AssetComment.createMany\",\"AssetComment.createManyAndReturn\",\"AssetComment.updateOne\",\"AssetComment.updateMany\",\"AssetComment.updateManyAndReturn\",\"AssetComment.upsertOne\",\"AssetComment.deleteOne\",\"AssetComment.deleteMany\",\"AssetComment.groupBy\",\"AssetComment.aggregate\",\"AssetCommentAttachment.findUnique\",\"AssetCommentAttachment.findUniqueOrThrow\",\"AssetCommentAttachment.findFirst\",\"AssetCommentAttachment.findFirstOrThrow\",\"AssetCommentAttachment.findMany\",\"AssetCommentAttachment.createOne\",\"AssetCommentAttachment.createMany\",\"AssetCommentAttachment.createManyAndReturn\",\"AssetCommentAttachment.updateOne\",\"AssetCommentAttachment.updateMany\",\"AssetCommentAttachment.updateManyAndReturn\",\"AssetCommentAttachment.upsertOne\",\"AssetCommentAttachment.deleteOne\",\"AssetCommentAttachment.deleteMany\",\"AssetCommentAttachment.groupBy\",\"AssetCommentAttachment.aggregate\",\"AssetEmbedding.findUnique\",\"AssetEmbedding.findUniqueOrThrow\",\"AssetEmbedding.findFirst\",\"AssetEmbedding.findFirstOrThrow\",\"AssetEmbedding.findMany\",\"AssetEmbedding.createOne\",\"AssetEmbedding.createMany\",\"AssetEmbedding.createManyAndReturn\",\"AssetEmbedding.updateOne\",\"AssetEmbedding.updateMany\",\"AssetEmbedding.updateManyAndReturn\",\"AssetEmbedding.upsertOne\",\"AssetEmbedding.deleteOne\",\"AssetEmbedding.deleteMany\",\"AssetEmbedding.groupBy\",\"AssetEmbedding.aggregate\",\"Invite.findUnique\",\"Invite.findUniqueOrThrow\",\"Invite.findFirst\",\"Invite.findFirstOrThrow\",\"Invite.findMany\",\"Invite.createOne\",\"Invite.createMany\",\"Invite.createManyAndReturn\",\"Invite.updateOne\",\"Invite.updateMany\",\"Invite.updateManyAndReturn\",\"Invite.upsertOne\",\"Invite.deleteOne\",\"Invite.deleteMany\",\"Invite.groupBy\",\"Invite.aggregate\",\"MetadataField.findUnique\",\"MetadataField.findUniqueOrThrow\",\"MetadataField.findFirst\",\"MetadataField.findFirstOrThrow\",\"MetadataField.findMany\",\"MetadataField.createOne\",\"MetadataField.createMany\",\"MetadataField.createManyAndReturn\",\"MetadataField.updateOne\",\"MetadataField.updateMany\",\"MetadataField.updateManyAndReturn\",\"MetadataField.upsertOne\",\"MetadataField.deleteOne\",\"MetadataField.deleteMany\",\"MetadataField.groupBy\",\"MetadataField.aggregate\",\"Notification.findUnique\",\"Notification.findUniqueOrThrow\",\"Notification.findFirst\",\"Notification.findFirstOrThrow\",\"Notification.findMany\",\"Notification.createOne\",\"Notification.createMany\",\"Notification.createManyAndReturn\",\"Notification.updateOne\",\"Notification.updateMany\",\"Notification.updateManyAndReturn\",\"Notification.upsertOne\",\"Notification.deleteOne\",\"Notification.deleteMany\",\"Notification.groupBy\",\"Notification.aggregate\",\"SystemSettings.findUnique\",\"SystemSettings.findUniqueOrThrow\",\"SystemSettings.findFirst\",\"SystemSettings.findFirstOrThrow\",\"SystemSettings.findMany\",\"SystemSettings.createOne\",\"SystemSettings.createMany\",\"SystemSettings.createManyAndReturn\",\"SystemSettings.updateOne\",\"SystemSettings.updateMany\",\"SystemSettings.updateManyAndReturn\",\"SystemSettings.upsertOne\",\"SystemSettings.deleteOne\",\"SystemSettings.deleteMany\",\"SystemSettings.groupBy\",\"SystemSettings.aggregate\",\"Task.findUnique\",\"Task.findUniqueOrThrow\",\"Task.findFirst\",\"Task.findFirstOrThrow\",\"Task.findMany\",\"Task.createOne\",\"Task.createMany\",\"Task.createManyAndReturn\",\"Task.updateOne\",\"Task.updateMany\",\"Task.updateManyAndReturn\",\"Task.upsertOne\",\"Task.deleteOne\",\"Task.deleteMany\",\"Task.groupBy\",\"Task.aggregate\",\"WorkflowTask.findUnique\",\"WorkflowTask.findUniqueOrThrow\",\"WorkflowTask.findFirst\",\"WorkflowTask.findFirstOrThrow\",\"WorkflowTask.findMany\",\"WorkflowTask.createOne\",\"WorkflowTask.createMany\",\"WorkflowTask.createManyAndReturn\",\"WorkflowTask.updateOne\",\"WorkflowTask.updateMany\",\"WorkflowTask.updateManyAndReturn\",\"WorkflowTask.upsertOne\",\"WorkflowTask.deleteOne\",\"WorkflowTask.deleteMany\",\"WorkflowTask.groupBy\",\"WorkflowTask.aggregate\",\"Agent.findUnique\",\"Agent.findUniqueOrThrow\",\"Agent.findFirst\",\"Agent.findFirstOrThrow\",\"Agent.findMany\",\"Agent.createOne\",\"Agent.createMany\",\"Agent.createManyAndReturn\",\"Agent.updateOne\",\"Agent.updateMany\",\"Agent.updateManyAndReturn\",\"Agent.upsertOne\",\"Agent.deleteOne\",\"Agent.deleteMany\",\"Agent.groupBy\",\"Agent.aggregate\",\"AgentSkill.findUnique\",\"AgentSkill.findUniqueOrThrow\",\"AgentSkill.findFirst\",\"AgentSkill.findFirstOrThrow\",\"AgentSkill.findMany\",\"AgentSkill.createOne\",\"AgentSkill.createMany\",\"AgentSkill.createManyAndReturn\",\"AgentSkill.updateOne\",\"AgentSkill.updateMany\",\"AgentSkill.updateManyAndReturn\",\"AgentSkill.upsertOne\",\"AgentSkill.deleteOne\",\"AgentSkill.deleteMany\",\"AgentSkill.groupBy\",\"AgentSkill.aggregate\",\"AgentSession.findUnique\",\"AgentSession.findUniqueOrThrow\",\"AgentSession.findFirst\",\"AgentSession.findFirstOrThrow\",\"AgentSession.findMany\",\"AgentSession.createOne\",\"AgentSession.createMany\",\"AgentSession.createManyAndReturn\",\"AgentSession.updateOne\",\"AgentSession.updateMany\",\"AgentSession.updateManyAndReturn\",\"AgentSession.upsertOne\",\"AgentSession.deleteOne\",\"AgentSession.deleteMany\",\"AgentSession.groupBy\",\"AgentSession.aggregate\",\"AgentSessionEntry.findUnique\",\"AgentSessionEntry.findUniqueOrThrow\",\"AgentSessionEntry.findFirst\",\"AgentSessionEntry.findFirstOrThrow\",\"AgentSessionEntry.findMany\",\"AgentSessionEntry.createOne\",\"AgentSessionEntry.createMany\",\"AgentSessionEntry.createManyAndReturn\",\"AgentSessionEntry.updateOne\",\"AgentSessionEntry.updateMany\",\"AgentSessionEntry.updateManyAndReturn\",\"AgentSessionEntry.upsertOne\",\"AgentSessionEntry.deleteOne\",\"AgentSessionEntry.deleteMany\",\"AgentSessionEntry.groupBy\",\"AgentSessionEntry.aggregate\",\"UserMetadata.findUnique\",\"UserMetadata.findUniqueOrThrow\",\"UserMetadata.findFirst\",\"UserMetadata.findFirstOrThrow\",\"UserMetadata.findMany\",\"UserMetadata.createOne\",\"UserMetadata.createMany\",\"UserMetadata.createManyAndReturn\",\"UserMetadata.updateOne\",\"UserMetadata.updateMany\",\"UserMetadata.updateManyAndReturn\",\"UserMetadata.upsertOne\",\"UserMetadata.deleteOne\",\"UserMetadata.deleteMany\",\"UserMetadata.groupBy\",\"UserMetadata.aggregate\",\"Model.findUnique\",\"Model.findUniqueOrThrow\",\"Model.findFirst\",\"Model.findFirstOrThrow\",\"Model.findMany\",\"Model.createOne\",\"Model.createMany\",\"Model.createManyAndReturn\",\"Model.updateOne\",\"Model.updateMany\",\"Model.updateManyAndReturn\",\"Model.upsertOne\",\"Model.deleteOne\",\"Model.deleteMany\",\"Model.groupBy\",\"Model.aggregate\",\"Provider.findUnique\",\"Provider.findUniqueOrThrow\",\"Provider.findFirst\",\"Provider.findFirstOrThrow\",\"Provider.findMany\",\"Provider.createOne\",\"Provider.createMany\",\"Provider.createManyAndReturn\",\"Provider.updateOne\",\"Provider.updateMany\",\"Provider.updateManyAndReturn\",\"Provider.upsertOne\",\"Provider.deleteOne\",\"Provider.deleteMany\",\"Provider.groupBy\",\"Provider.aggregate\",\"Collection.findUnique\",\"Collection.findUniqueOrThrow\",\"Collection.findFirst\",\"Collection.findFirstOrThrow\",\"Collection.findMany\",\"Collection.createOne\",\"Collection.createMany\",\"Collection.createManyAndReturn\",\"Collection.updateOne\",\"Collection.updateMany\",\"Collection.updateManyAndReturn\",\"Collection.upsertOne\",\"Collection.deleteOne\",\"Collection.deleteMany\",\"Collection.groupBy\",\"Collection.aggregate\",\"AND\",\"OR\",\"NOT\",\"id\",\"name\",\"filter\",\"createdAt\",\"updatedAt\",\"projectId\",\"equals\",\"in\",\"notIn\",\"lt\",\"lte\",\"gt\",\"gte\",\"not\",\"string_contains\",\"string_starts_with\",\"string_ends_with\",\"array_starts_with\",\"array_ends_with\",\"array_contains\",\"contains\",\"startsWith\",\"endsWith\",\"isBuiltin\",\"config\",\"teamId\",\"modelId\",\"providerId\",\"key\",\"value\",\"userId\",\"sessionId\",\"entry\",\"agentId\",\"cwd\",\"leafId\",\"skillId\",\"AgentType\",\"type\",\"enabled\",\"soul\",\"uid\",\"assetId\",\"WorkflowTaskType\",\"WorkflowTaskStatus\",\"status\",\"payload\",\"output\",\"heartbeat\",\"inputTokens\",\"outputTokens\",\"model\",\"TaskType\",\"TaskStatus\",\"total\",\"uploaded\",\"creatorId\",\"NotificationType\",\"taskId\",\"MetadataFieldScope\",\"scope\",\"readOnly\",\"aiAutofill\",\"description\",\"code\",\"InviteRole\",\"role\",\"used\",\"inviterId\",\"startTime\",\"endTime\",\"commentId\",\"message\",\"annotation\",\"second\",\"replyToId\",\"fieldKey\",\"stringValue\",\"numberValue\",\"booleanValue\",\"jsonValue\",\"dateValue\",\"StorageKeyStatus\",\"every\",\"some\",\"none\",\"nameNgram\",\"AssetType\",\"mediaType\",\"fileCount\",\"sizeByte\",\"AssetStatus\",\"transcodeTaskId\",\"media\",\"isDeleted\",\"deletedAt\",\"sortIndex\",\"parentId\",\"targetId\",\"storageKeyId\",\"has\",\"hasEvery\",\"hasSome\",\"expireAt\",\"password\",\"isDisabled\",\"defaultSortOrder\",\"fieldVisibility\",\"rootFolderId\",\"ProjectMemberRole\",\"teamMemberId\",\"coverImageKey\",\"metadataOverrides\",\"enableNotification\",\"shareRootId\",\"TeamMemberRole\",\"TeamMemberScope\",\"lastReadNotificationId\",\"hash\",\"allowedDomains\",\"settings\",\"accessToken\",\"refreshToken\",\"accessTokenExpiresAt\",\"refreshTokenExpiresAt\",\"identifier\",\"expiresAt\",\"accountId\",\"idToken\",\"token\",\"ipAddress\",\"userAgent\",\"UserType\",\"email\",\"emailVerified\",\"image\",\"agentSettings\",\"guestEmail\",\"teamId_name\",\"agentId_skillId\",\"providerId_modelId\",\"userIdTeamIdKey\",\"projectIdTeamMemberId\",\"teamIdUserId\",\"assetId_fieldKey\",\"parentIdTargetId\",\"is\",\"isNot\",\"connectOrCreate\",\"upsert\",\"createMany\",\"set\",\"disconnect\",\"delete\",\"connect\",\"updateMany\",\"deleteMany\",\"push\",\"increment\",\"decrement\",\"multiply\",\"divide\"]"), - graph: "vROaAoAEGwcAALMIACAWAADUCAAgHQAA1QgAICAAALAJACAnAAD7CAAgKAAAhwkAIDgAAKwJACA5AACtCQAgOgAA0AgAIDsAANMIACA8AADUCAAgPQAArgkAID4AAK8JACDHBAAAqgkAMMgEAAATABDJBAAAqgkAMMoEAQAAAAHLBAEAgggAIc0EQACKCAAhzgRAAIoIACHwBAAAqwnPBSKyBQEAhAgAIc8FAQAAAAHQBSAAhAkAIdEFAQCECAAh0gUAAIcIACDTBQEAhAgAIQEAAAABACApAwAAzwgAIAQAALMIACAFAADPCAAgBgAAswgAIAkAALgJACALAAC5CQAgDAAA6ggAIBIAAJkJACAWAADUCAAgJwAA-wgAIDAAAKgJACAyAAD8CAAgMwAAugkAIDQAAJwJACA1AACZCQAgNgAAmQkAIDcAALsJACDHBAAAtQkAMMgEAAADABDJBAAAtQkAMMoEAQCCCAAhywQBAIIIACHNBEAAiggAIc4EQACKCAAhzwQBAIQIACHwBAAAtgmiBSL3BAAAtwmmBSKCBQEAhAgAIYQFAQCECAAhoAUAALUIACCiBQEAhAgAIaMFAgCJCAAhpAUCAIkIACGmBQEAhAgAIacFAACHCAAgqAUgAIQJACGpBUAAiAgAIaoFAQCECAAhqwUBAIQIACGsBQEAhAgAIa0FAQCECAAhHAMAAKEPACAEAAD_DgAgBQAAoQ8AIAYAAP8OACAJAADxEAAgCwAA8hAAIAwAAOAQACASAADtEAAgFgAApg8AICcAANsQACAwAADwEAAgMgAA5RAAIDMAAPMQACA0AACbDwAgNQAA7RAAIDYAAO0QACA3AAD0EAAgzwQAAOsKACCCBQAA6woAIIQFAADrCgAgogUAAOsKACCmBQAA6wo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AwAAAGoAIAEAAGsAMAIAAGwAIAEAAABhACABAAAAEwAgAQAAAGoAIAMAAABqACABAABrADACAABsACAKCgAA7ggAICUAAPcIACDHBAAA9ggAMMgEAAByABDJBAAA9ggAMMoEAQCCCAAhzQRAAIoIACHOBEAAiggAIfQEAQCCCAAhkQUBAIIIACECCgAAoQ8AICUAAOMQACAKCgAA7ggAICUAAPcIACDHBAAA9ggAMMgEAAByABDJBAAA9ggAMMoEAQAAAAHNBEAAiggAIc4EQACKCAAh9AQBAIIIACGRBQEAgggAIQMAAAByACABAABzADACAAB0ACABAAAAagAgAQAAAHIAIAEAAABmACABAAAAagAgCiAAAPQIACAqAAD1CAAgxwQAAPMIADDIBAAAegAQyQQAAPMIADDKBAEAgggAIc0EQACKCAAhzgRAAIoIACHrBAEAgggAIe4EAQCCCAAhAiAAAN4QACAqAADiEAAgCyAAAPQIACAqAAD1CAAgxwQAAPMIADDIBAAAegAQyQQAAPMIADDKBAEAAAABzQRAAIoIACHOBEAAiggAIesEAQCCCAAh7gQBAIIIACHVBQAA8ggAIAMAAAB6ACABAAB7ADACAAB8ACADAAAAegAgAQAAewAwAgAAfAAgAQAAAHoAIAEAAABhACABAAAAegAgAQAAAFsAIAMAAABbACABAABcADACAABdACABAAAAVwAgAQAAAFsAIA4OAADMCAAgKQAA8QgAIMcEAADwCAAwyAQAAIYBABDJBAAA8AgAMMoEAQCCCAAhywQBAIIIACHNBEAAiggAIc4EQACKCAAh4gQAAIcIACDjBAEAgggAIfQEAQCCCAAhiQUBAIQIACHABQEAgggAIQQOAACbDwAgKQAA4RAAIOIEAADrCgAgiQUAAOsKACAPDgAAzAgAICkAAPEIACDHBAAA8AgAMMgEAACGAQAQyQQAAPAIADDKBAEAAAABywQBAIIIACHNBEAAiggAIc4EQACKCAAh4gQAAIcIACDjBAEAgggAIfQEAQCCCAAhiQUBAIQIACHABQEAgggAIdQFAADvCAAgAwAAAIYBACABAACHAQAwAgAAiAEAIAkOAADMCAAgxwQAAMsIADDI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wAhygUBAOcHACEDAAAAwQEAIAEAAJICADBQAACTAgAgAwAAAMEBACABAADCAQAwAgAAwwEAIAnHBAAA3AgAMMgEAACZAgAQyQQAANwIADDKBAEAAAABzQRAAIgIACHOBEAAiAgAIecEAQCCCAAhxwUBAIIIACHIBUAAiggAIQEAAACWAgAgAQAAAJYCACAJxwQAANwIADDIBAAAmQIAEMkEAADcCAAwygQBAIIIACHNBEAAiAgAIc4EQACICAAh5wQBAIIIACHHBQEAgggAIcgFQACKCAAhAs0EAADrCgAgzgQAAOsKACADAAAAmQIAIAEAAJoCADACAACWAgAgAwAAAJkCACABAACaAgAwAgAAlgIAIAMAAACZAgAgAQAAmgIAMAIAAJYCACAGygQBAAAAAc0EQAAAAAHOBEAAAAAB5wQBAAAAAccFAQAAAAHIBUAAAAABAUQAAJ4CACAGygQBAAAAAc0EQAAAAAHOBEAAAAAB5wQBAAAAAccFAQAAAAHIBUAAAAABAUQAAKACADABRAAAoAIAMAbKBAEAvwkAIc0EQACACwAhzgRAAIALACHnBAEAvwkAIccFAQC_CQAhyAVAAMAJACECAAAAlgIAIEQAAKMCACAGygQBAL8JACHNBEAAgAsAIc4EQACACwAh5wQBAL8JACHHBQEAvwkAIcgFQADACQAhAgAAAJkCACBEAAClAgAgAgAAAJkCACBEAAClAgAgAwAAAJYCACBLAACeAgAgTAAAowIAIAEAAACWAgAgAQAAAJkCACAFCAAAsQ8AIFEAALMPACBSAACyDwAgzQQAAOsKACDOBAAA6woAIAnHBAAA2wgAMMgEAACsAgAQyQQAANsIADDKBAEA1gcAIc0EQAD1BwAhzgRAAPUHACHnBAEA1gcAIccFAQDWBwAhyAVAANgHACEDAAAAmQIAIAEAAKsCADBQAACsAgAgAwAAAJkCACABAACaAgAwAgAAlgIAIAEAAACzAQAgAQAAALMBACADAAAAsQEAIAEAALIBADACAACzAQAgAwAAALEBACABAACyAQAwAgAAswEAIAMAAACxAQAgAQAAsgEAMAIAALMBACAHDwAAsA8AIMoEAQAAAAHoBAEAA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gAwAUQAAO4GADAEIQAA6QoAIMoEAQC_CQAh6QQBAL8JACHqBIAAAAABAgAAAGgAIEQAAPEGACADygQBAL8JACHpBAEAvwkAIeoEgAAAAAECAAAAZgAgRAAA8wYAIAIAAABmACBEAADzBgAgAwAAAGgAIEsAAOwGACBMAADxBgAgAQAAAGgAIAEAAABmACADCAAA5goAIFEAAOgKACBSAADnCgAgBscEAADlBwAwyAQAAPoGABDJBAAA5QcAMMoEAQDWBwAh6QQBANYHACHqBAAA1wcAIAMAAABmACABAAD5BgAwUAAA-gYAIAMAAABmACABAABnADACAABoACABAAAAUQAgAQAAAFEAIAMAAABPACABAABQADACAABRACADAAAATwAgAQAAUAAwAgAAUQAgAwAAAE8AIAEAAFAAMAIAAFEAIAkOAADlCgAgDwAA5AoAIMoEAQAAAAHNBEAAAAABzgRAAAAAAeMEAQAAAAHmBAEAAAAB5wSAAAAAAegEAQAAAAEBRAAAggcAIAfKBAEAAAABzQRAAAAAAc4EQAAAAAHjBAEAAAAB5gQBAAAAAecEgAAAAAHoBAEAAAABAUQAAIQHADABRAAAhAcAMAkOAADjCgAgDwAA4goAIMoEAQC_CQAhzQRAAMAJACHOBEAAwAkAIeMEAQC_CQAh5gQBAL8JACHnBIAAAAAB6AQBAL8JACECAAAAUQAgRAAAhwcAIAfKBAEAvwkAIc0EQADACQAhzgRAAMAJACHjBAEAvwkAIeYEAQC_CQAh5wSAAAAAAegEAQC_CQAhAgAAAE8AIEQAAIkHACACAAAATwAgRAAAiQcAIAMAAABRACBLAACCBwAgTAAAhwcAIAEAAABRACABAAAATwAgAwgAAN8KACBRAADhCgAgUgAA4AoAIArHBAAA5AcAMMgEAACQBwAQyQQAAOQHADDKBAEA1gcAIc0EQADYBwAhzgRAANgHACHjBAEA1gcAIeYEAQDWBwAh5wQAANcHACDoBAEA1gcAIQMAAABPACABAACPBwAwUAAAkAcAIAMAAABPACABAABQADACAABRACABAAAAWQAgAQAAAFkAIAMAAABXACABAABYADACAABZACADAAAAVwAg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cOACANxwQAAJUOADDIBAAAlg4AEMkEAACVDgAwygQBAIIIACHLBAEAgggAIc0EQACKCAAhzgRAAIoIACHjBAEAgggAIbYFAQCECAAhuQUBAIQIACG6BQAAhwgAILsFIACECQAhvAUBAIQIACENxwQAAJUOADDIBAAAlg4AEMkEAACVDgAwygQBAIIIACHLBAEAgggAIc0EQACKCAAhzgRAAIoIACHjBAEAgggAIbYFAQCECAAhuQUBAIQIACG6BQAAhwgAILsFIACECQAhvAUBAIQIACEJygQBAL8JACHLBAEAvwkAIc0EQADACQAhzgRAAMAJACG2BQEA1QkAIbkFAQDVCQAhugWAAAAAAbsFIADGCQAhvAUBANUJACESBwAA7wsAIA0AAO0LACAQAADPDQAgEQAA7gsAIBMAAPALACAVAADxCwAgFgAA8gsAIBcAAPMLACAYAAD0CwAgygQBAL8JACHLBAEAvwkAIc0EQADACQAhzgRAAMAJACG2BQEA1QkAIbkFAQDVCQAhugWAAAAAAbsFIADGCQAhvAUBANUJACEDAAAAIAAgSwAApA0AIEwAAJ8OACACAAAAIAAgRAAAnw4AIAIAAACdDgAgRAAAng4AIAnHBAAAnA4AMMgEAACdDgAQyQQAAJwOADDKBAEAgggAIeMEAQCCCAAh6AQBAIIIACGGBQAApAm_BSKMBQAAowm-BSK_BQEAhAgAIQnHBAAAnA4AMMgEAACdDgAQyQQAAJwOADDKBAEAgggAIeMEAQCCCAAh6AQBAIIIACGGBQAApAm_BSKMBQAAowm-BSK_BQEAhAgAIQXKBAEAvwkAIegEAQC_CQAhhgUAAKULvwUijAUAAKQLvgUivwUBANUJACEIDwAApwsAIBoAAKgLACAbAACgDgAgygQBAL8JACHoBAEAvwkAIYYFAAClC78FIowFAACkC74FIr8FAQDVCQAhB0sAALERACBMAAC0EQAg3gUAALIRACDfBQAAsxEAIOIFAAAZACDjBQAAGQAg5AUAABsAIAMAAACkAQAgSwAAqg0AIEwAAKcOACACAAAApAEAIEQAAKcOACACAAAApQ4AIEQAAKYOACAJxwQAAKQOADDIBAAApQ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AihAAIOQFAACRCwAwBEsAAP4PADDeBQAA_w8AMOAFAACBEAAg5AUAAJELADAESwAA8g8AMN4FAADzDwAw4AUAAPUPACDkBQAA9g8AMARLAADmDwAw3gUAAOcPADDgBQAA6Q8AIOQFAADqDwAwA0sAAOEPACDeBQAA4g8AIOQFAABdACAESwAA2A8AMN4FAADZDwAw4AUAANsPACDkBQAA7gkAMARLAADPDwAw3gUAANAPADDgBQAA0g8AIOQFAACKDQAwAAAAAAAJDgAAmw8AIA8AAOAQACAeAADnEAAgHwAA6BAAICgAAN8QACArAADhEAAg5AQAAOsKACDlBAAA6woAIPIEAADrCgAgABEHAAD_DgAgFgAApg8AIB0AAKcPACAgAADeEAAgJwAA2xAAICgAAN8QACA4AADZEAAgOQAA2hAAIDoAAKIPACA7AAClDwAgPAAApg8AID0AANwQACA-AADdEAAgsgUAAOsKACDRBQAA6woAINIFAADrCgAg0wUAAOsKACAABA4AAJsPACApAADhEAAg4gQAAOsKACCJBQAA6woAIAwKAAChDwAgDAAA4BAAICEAAOQQACAjAADjEAAgJAAA2xAAICYAAOUQACDpBAAA6woAIIIFAADrCgAgkgUAAOsKACCTBQAA6woAIJQFAADrCgAglQUAAOsKACAGDwAA4BAAICAAAN4QACAiAADmEAAgJwAA2xAAIOgEAADrCgAg7QQAAOsKACAAAAMOAACbDwAgLAAAqw8AIC0AAOkQACACHgAA5xAAICwAAKsPACAAAAAADgcAAP8OACANAAChDwAgDgAAmw8AIBAAAKEPACARAADqEAAgEwAApA8AIBUAAKUPACAWAACmDwAgFwAA6xAAIBgAAOwQACC2BQAA6woAILkFAADrCgAgugUAAOsKACC8BQAA6woAIAUOAACbDwAgDwAA4BAAIBoAAOoQACAbAADvEAAgvwUAAOsKACANCgAAoQ8AIAwAAOAQACAOAACbDwAgDwAA4BAAIBIAAO0QACAwAADwEAAgMQAA7hAAIM8EAADrCgAg6AQAAOsKACDwBAAA6woAIPQEAADrCgAgggUAAOsKACCEBQAA6woAIAcHAAD_DgAgDAAA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BIAANcLACAWAADaCwAgJwAA2AsAIDAAAMIMACAyAADZCwAgMwAA2wsAIDQAANwLACA1AADdCwAgNgAA3gsAIDcAAN8LACDKBAEAvwkAIcsEAQC_CQAhzQRAAMAJACHOBEAAwAkAIc8EAQDVCQAh8AQAAM0LogUi9wQAAM4LpgUiggUBANUJACGEBQEA1QkAIaAFAADMCwAgogUBANUJACGjBQIAgQsAIaQFAgCBCwAhpgUBANUJACGnBYAAAAABqAUgAMYJACGpBUAAgAsAIaoFAQDVCQAhqwUBANUJACGsBQEA1QkAIa0FAQDVCQAhJQMAAMUMACAEAADGDAAgBQAAxwwAIAYAAMgMACAJAADJDAAgCwAAygwAIAwAAMsMACASAADBDQAgFgAAzwwAICcAAM0MACAwAADMDAAgMgAAzgwAIDQAANEMACA1AADSDAAgNgAA0wwAIDcAANQMACDKBAEAAAABywQBAAAAAc0EQAAAAAHOBEAAAAABzwQBAAAAAfAEAAAAogUC9wQAAACmBQKCBQEAAAABhAUBAAAAAaAFAADEDAAgogUBAAAAAaMFAgAAAAGkBQIAAAABpgUBAAAAAacFgAAAAAGoBSAAAAABqQVAAAAAAaoFAQAAAAGrBQEAAAABrAUBAAAAAa0FAQAAAAECAAAABQAgSwAApREAIAMAAAADACBLAAClEQAgTAAAqREAICcAAAADACADAADQCwAgBAAA0QsAIAUAANILACAGAADTCwAgCQAA1AsAIAsAANULACAMAADWCwAgEgAA1wsAIBYAANoLACAnAADYCwAgMAAAwgwAIDIAANkLACA0AADcCwAgNQAA3QsAIDYAAN4LACA3AADfCwAgRAAAqREAIMoEAQC_CQAhywQBAL8JACHNBEAAwAkAIc4EQADACQAhzwQBANUJACHwBAAAzQuiBSL3BAAAzgumBSKCBQEA1QkAIYQFAQDVCQAhoAUAAMwLACCiBQEA1QkAIaMFAgCBCwAhpAUCAIELACGmBQEA1QkAIacFgAAAAAGoBSAAxgkAIakFQACACwAhqgUBANUJACGrBQEA1QkAIawFAQDVCQAhrQUBANUJACElAwAA0AsAIAQAANELAC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UBAAAAAQIAAAAFACBLAACHEgAgAwAAAAMAIEsAAIcSACBMAACLEgAgJwAAAAMAIAMAANALACAEAADRCwAgBQAA0gsAIAYAANMLACAJAADUCwAgCwAA1QsAIAwAANYLACASAADXCwAgFgAA2gsAICcAANgLACAwAADCDAAgMgAA2QsAIDMAANsLACA0AADcCwAgNQAA3QsAIDYAAN4LACBEAACLEgAgygQBAL8JACHLBAEAvwkAIc0EQADACQAhzgRAAMAJACHPBAEA1QkAIfAEAADNC6IFIvcEAADOC6YFIoIFAQDVCQAhhAUBANUJACGgBQAAzAsAIKIFAQDVCQAhowUCAIELACGkBQIAgQsAIaYFAQDVCQAhpwWAAAAAAagFIADGCQAhqQVAAIALACGqBQEA1QkAIasFAQDVCQAhrAUBANUJACGtBQEA1QkAISUDAADQCwAgBAAA0QsAIAUAANILACAGAADTCwAgCQAA1AsAIAsAANULACAMAADWCwAgEgAA1wsAIBYAANoLACAnAADYCwAgMAAAwgwAIDIAANkLACAzAADbCwAgNAAA3AsAIDUAAN0LACA2AADeCwAgygQBAL8JACHLBAEAvwkAIc0EQADACQAhzgRAAMAJACHPBAEA1QkAIfAEAADNC6IFIvcEAADOC6YFIoIFAQDVCQAhhAUBANUJACGgBQAAzAsAIKIFAQDVCQAhowUCAIELACGkBQIAgQsAIaYFAQDVCQAhpwWAAAAAAagFIADGCQAhqQVAAIALACGqBQEA1QkAIasFAQDVCQAhrAUBANUJACGtBQEA1QkAIQrKBAEAAAABywQBAAAAAc0EQAAAAAHOBEAAAAABsQVAAAAAAbIFAQAAAAGzBSAAAAABtAUBAAAAAbUFgAAAAAG2BQEAAAABBcoEAQAAAAHLBAEAAAABzASAAAAAAc0EQAAAAAHOBEAAAAABAwAAAAMAIEsAANQRACBMAACQEgAgJwAAAAMAIAMAANALACAEAADRCwAgBQAA0gsAIAYAANMLACAJAADUCwAgCwAA1QsAIAwAANYLACASAADXCwAgFgAA2gsAICcAANgLACAwAADCDAAgMgAA2QsAIDMAANsLACA0AADcCwA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DVCQAhhAUBANUJACGgBQAAzAsAIKIFAQDVCQAhowUCAIELACGkBQIAgQsAIaYFAQDVCQAhpwWAAAAAAagFIADGCQAhqQVAAIALACGqBQEA1QkAIasFAQDVCQAhrAUBANUJACGtBQEA1QkAIQMAAAADACBLAADqEQAgTAAApxIAICcAAAADACADAADQCwAgBQAA0gsAIAYAANMLACAJAADUCwAgCwAA1QsAIAwAANYLACASAADXCwAgFgAA2gsAICcAANgLACAwAADCDAAgMgAA2QsAIDMAANsLACA0AADcCwAgNQAA3QsAIDYAAN4LACA3AADfCwAgRAAApxIAIMoEAQC_CQAhywQBAL8JACHNBEAAwAkAIc4EQADACQAhzwQBANUJACHwBAAAzQuiBSL3BAAAzgumBSKCBQEA1QkAIYQFAQDVCQAhoAUAAMwLACCiBQEA1QkAIaMFAgCBCwAhpAUCAIELACGmBQEA1QkAIacFgAAAAAGoBSAAxgkAIakFQACACwAhqgUBANUJACGrBQEA1QkAIawFAQDVCQAhrQUBANUJACElAwAA0AsAIAUAANILACAGAADTCwAgCQAA1AsAIAsAANULACAMAADWCwAgEgAA1wsAIBYAANoLACAnAADYCwAgMAAAwgwAIDIAANkLACAzAADbCwAgNAAA3AsAIDUAAN0LACA2AADeCwAgNwAA3wsAIMoEAQC_CQAhywQBAL8JACHNBEAAwAkAIc4EQADACQAhzwQBANUJACHwBAAAzQuiBSL3BAAAzgumBSKCBQEA1QkAIYQFAQDVCQAhoAUAAMwLACCiBQEA1QkAIaMFAgCBCwAhpAUCAIELACGmBQEA1QkAIacFgAAAAAGoBSAAxgkAIakFQACACwAhqgUBANUJACGrBQEA1QkAIawFAQDVCQAhrQUBANUJACEUygQBAAAAAcsEAQAAAAHNBEAAAAABzgRAAAAAAc8EAQAAAAHwBAAAAKIFAvcEAAAApgUCggUBAAAAAaAFAADEDAAgogUBAAAAAaMFAgAAAAGkBQIAAAABpgUBAAAAAacFgAAAAAGoBSAAAAABqQVAAAAAAaoFAQAAAAGrBQEAAAABrAUBAAAAAa0FA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FAADEDAAgogUBAAAAAaMFAgAAAAGkBQIAAAABpgUBAAAAAacFgAAAAAGoBSAAAAABqQVAAAAAAaoFAQAAAAGrBQEAAAABrAUBAAAAAa0FAQAAAAECAAAABQAgSwAAkhMAIAMAAAADACBLAACSEwAgTAAAlhMAICcAAAADACADAADQCwAgBAAA0QsAIAUAANILACAGAADTCwAgCQAA1AsAIAsAANULACAMAADWCwAgEgAA1wsAIBYAANoLACAnAADYCwAgMAAAwgwAIDMAANsLACA0AADcCwAgNQAA3QsAIDYAAN4LACA3AADfCwAgRAAAlhMAIMoEAQC_CQAhywQBAL8JACHNBEAAwAkAIc4EQADACQAhzwQBANUJACHwBAAAzQuiBSL3BAAAzgumBSKCBQEA1QkAIYQFAQDVCQAhoAUAAMwLACCiBQEA1QkAIaMFAgCBCwAhpAUCAIELACGmBQEA1QkAIacFgAAAAAGoBSAAxgkAIakFQACACwAhqgUBANUJACGrBQEA1QkAIawFAQDVCQAhrQUBANUJACElAwAA0AsAIAQAANELACAFAADSCwAgBgAA0wsAIAkAANQLACALAADVCwAgDAAA1gsAIBIAANcLACAWAADaCwAgJwAA2AsAIDAAAMIMACAzAADbCwAgNAAA3AsAIDUAAN0LACA2AADeCwAgNwAA3wsAIMoEAQC_CQAhywQBAL8JACHNBEAAwAkAIc4EQADACQAhzwQBANUJACHwBAAAzQuiBSL3BAAAzgumBSKCBQEA1QkAIYQFAQDVCQAhoAUAAMwLACCiBQEA1QkAIaMFAgCBCwAhpAUCAIELACGmBQEA1QkAIacFgAAAAAGoBSAAxgkAIakFQACACwAhqgUBANUJACGrBQEA1QkAIawFAQDVCQAhrQUBANUJACEEygQBAAAAAc0EQAAAAAHOBEAAAAAB9AQBAAAAAQMAAABqACBLAACGEwAgTAAAmhMAIBEAAABqACAKAACECgAgDAAAhQoAICEAAJ8KACAjAACGCgAgJgAAiAoAIEQAAJoTACDKBAEAvwkAIc0EQADACQAhzgRAAMAJACHpBAEA1QkAIfQEAQC_CQAhggUBANUJACGSBQ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8EEzQeVAsIEzgcPwwTPBw_EBNAHK8UE0weWAsYE1AeaAg" -} - -async function decodeBase64AsWasm(wasmBase64: string): Promise { - const { Buffer } = await import('node:buffer') - const wasmArray = Buffer.from(wasmBase64, 'base64') - return new WebAssembly.Module(wasmArray) -} - -config.compilerWasm = { - getRuntime: async () => await import("@prisma/client/runtime/query_compiler_fast_bg.postgresql.mjs"), - - getQueryCompilerWasmModule: async () => { - const { wasm } = await import("@prisma/client/runtime/query_compiler_fast_bg.postgresql.wasm-base64.mjs") - return await decodeBase64AsWasm(wasm) - }, - - importName: "./query_compiler_fast_bg.js" -} - - - -export type LogOptions = - 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array ? Prisma.GetEvents : never : never - -export interface PrismaClientConstructor { - /** - * ## Prisma Client - * - * Type-safe database client for TypeScript - * @example - * ``` - * const prisma = new PrismaClient({ - * adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL }) - * }) - * // Fetch zero or more Users - * const users = await prisma.user.findMany() - * ``` - * - * Read more in our [docs](https://pris.ly/d/client). - */ - - new < - Options extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions, - LogOpts extends LogOptions = LogOptions, - OmitOpts extends Prisma.PrismaClientOptions['omit'] = Options extends { omit: infer U } ? U : Prisma.PrismaClientOptions['omit'], - ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs - >(options: Prisma.Subset ): PrismaClient -} - -/** - * ## Prisma Client - * - * Type-safe database client for TypeScript - * @example - * ``` - * const prisma = new PrismaClient({ - * adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL }) - * }) - * // Fetch zero or more Users - * const users = await prisma.user.findMany() - * ``` - * - * Read more in our [docs](https://pris.ly/d/client). - */ - -export interface PrismaClient< - in LogOpts extends Prisma.LogLevel = never, - in out OmitOpts extends Prisma.PrismaClientOptions['omit'] = undefined, - in out ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs -> { - [K: symbol]: { types: Prisma.TypeMap['other'] } - - $on(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): PrismaClient; - - /** - * Connect with the database - */ - $connect(): runtime.Types.Utils.JsPromise; - - /** - * Disconnect from the database - */ - $disconnect(): runtime.Types.Utils.JsPromise; - -/** - * Executes a prepared raw query and returns the number of affected rows. - * @example - * ``` - * const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};` - * ``` - * - * Read more in our [docs](https://pris.ly/d/raw-queries). - */ - $executeRaw(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise; - - /** - * Executes a raw query and returns the number of affected rows. - * Susceptible to SQL injections, see documentation. - * @example - * ``` - * const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com') - * ``` - * - * Read more in our [docs](https://pris.ly/d/raw-queries). - */ - $executeRawUnsafe(query: string, ...values: any[]): Prisma.PrismaPromise; - - /** - * Performs a prepared raw query and returns the `SELECT` data. - * @example - * ``` - * const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};` - * ``` - * - * Read more in our [docs](https://pris.ly/d/raw-queries). - */ - $queryRaw(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise; - - /** - * Performs a raw query and returns the `SELECT` data. - * Susceptible to SQL injections, see documentation. - * @example - * ``` - * const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com') - * ``` - * - * Read more in our [docs](https://pris.ly/d/raw-queries). - */ - $queryRawUnsafe(query: string, ...values: any[]): Prisma.PrismaPromise; - - - /** - * Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole. - * @example - * ``` - * const [george, bob, alice] = await prisma.$transaction([ - * prisma.user.create({ data: { name: 'George' } }), - * prisma.user.create({ data: { name: 'Bob' } }), - * prisma.user.create({ data: { name: 'Alice' } }), - * ]) - * ``` - * - * Read more in our [docs](https://www.prisma.io/docs/orm/prisma-client/queries/transactions). - */ - $transaction

[]>(arg: [...P], options?: { isolationLevel?: Prisma.TransactionIsolationLevel }): runtime.Types.Utils.JsPromise> - - $transaction(fn: (prisma: Omit) => runtime.Types.Utils.JsPromise, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): runtime.Types.Utils.JsPromise - - $extends: runtime.Types.Extensions.ExtendsHook<"extends", Prisma.TypeMapCb, ExtArgs, runtime.Types.Utils.Call, { - extArgs: ExtArgs - }>> - - /** - * `prisma.user`: Exposes CRUD operations for the **User** model. - * Example usage: - * ```ts - * // Fetch zero or more Users - * const users = await prisma.user.findMany() - * ``` - */ - get user(): Prisma.UserDelegate; - - /** - * `prisma.session`: Exposes CRUD operations for the **Session** model. - * Example usage: - * ```ts - * // Fetch zero or more Sessions - * const sessions = await prisma.session.findMany() - * ``` - */ - get session(): Prisma.SessionDelegate; - - /** - * `prisma.account`: Exposes CRUD operations for the **Account** model. - * Example usage: - * ```ts - * // Fetch zero or more Accounts - * const accounts = await prisma.account.findMany() - * ``` - */ - get account(): Prisma.AccountDelegate; - - /** - * `prisma.verification`: Exposes CRUD operations for the **Verification** model. - * Example usage: - * ```ts - * // Fetch zero or more Verifications - * const verifications = await prisma.verification.findMany() - * ``` - */ - get verification(): Prisma.VerificationDelegate; - - /** - * `prisma.authToken`: Exposes CRUD operations for the **AuthToken** model. - * Example usage: - * ```ts - * // Fetch zero or more AuthTokens - * const authTokens = await prisma.authToken.findMany() - * ``` - */ - get authToken(): Prisma.AuthTokenDelegate; - - /** - * `prisma.team`: Exposes CRUD operations for the **Team** model. - * Example usage: - * ```ts - * // Fetch zero or more Teams - * const teams = await prisma.team.findMany() - * ``` - */ - get team(): Prisma.TeamDelegate; - - /** - * `prisma.sandbox`: Exposes CRUD operations for the **Sandbox** model. - * Example usage: - * ```ts - * // Fetch zero or more Sandboxes - * const sandboxes = await prisma.sandbox.findMany() - * ``` - */ - get sandbox(): Prisma.SandboxDelegate; - - /** - * `prisma.skill`: Exposes CRUD operations for the **Skill** model. - * Example usage: - * ```ts - * // Fetch zero or more Skills - * const skills = await prisma.skill.findMany() - * ``` - */ - get skill(): Prisma.SkillDelegate; - - /** - * `prisma.teamMember`: Exposes CRUD operations for the **TeamMember** model. - * Example usage: - * ```ts - * // Fetch zero or more TeamMembers - * const teamMembers = await prisma.teamMember.findMany() - * ``` - */ - get teamMember(): Prisma.TeamMemberDelegate; - - /** - * `prisma.project`: Exposes CRUD operations for the **Project** model. - * Example usage: - * ```ts - * // Fetch zero or more Projects - * const projects = await prisma.project.findMany() - * ``` - */ - get project(): Prisma.ProjectDelegate; - - /** - * `prisma.projectMember`: Exposes CRUD operations for the **ProjectMember** model. - * Example usage: - * ```ts - * // Fetch zero or more ProjectMembers - * const projectMembers = await prisma.projectMember.findMany() - * ``` - */ - get projectMember(): Prisma.ProjectMemberDelegate; - - /** - * `prisma.shareLink`: Exposes CRUD operations for the **ShareLink** model. - * Example usage: - * ```ts - * // Fetch zero or more ShareLinks - * const shareLinks = await prisma.shareLink.findMany() - * ``` - */ - get shareLink(): Prisma.ShareLinkDelegate; - - /** - * `prisma.asset`: Exposes CRUD operations for the **Asset** model. - * Example usage: - * ```ts - * // Fetch zero or more Assets - * const assets = await prisma.asset.findMany() - * ``` - */ - get asset(): Prisma.AssetDelegate; - - /** - * `prisma.storageKey`: Exposes CRUD operations for the **StorageKey** model. - * Example usage: - * ```ts - * // Fetch zero or more StorageKeys - * const storageKeys = await prisma.storageKey.findMany() - * ``` - */ - get storageKey(): Prisma.StorageKeyDelegate; - - /** - * `prisma.assetMetadataValue`: Exposes CRUD operations for the **AssetMetadataValue** model. - * Example usage: - * ```ts - * // Fetch zero or more AssetMetadataValues - * const assetMetadataValues = await prisma.assetMetadataValue.findMany() - * ``` - */ - get assetMetadataValue(): Prisma.AssetMetadataValueDelegate; - - /** - * `prisma.assetComment`: Exposes CRUD operations for the **AssetComment** model. - * Example usage: - * ```ts - * // Fetch zero or more AssetComments - * const assetComments = await prisma.assetComment.findMany() - * ``` - */ - get assetComment(): Prisma.AssetCommentDelegate; - - /** - * `prisma.assetCommentAttachment`: Exposes CRUD operations for the **AssetCommentAttachment** model. - * Example usage: - * ```ts - * // Fetch zero or more AssetCommentAttachments - * const assetCommentAttachments = await prisma.assetCommentAttachment.findMany() - * ``` - */ - get assetCommentAttachment(): Prisma.AssetCommentAttachmentDelegate; - - /** - * `prisma.assetEmbedding`: Exposes CRUD operations for the **AssetEmbedding** model. - * Example usage: - * ```ts - * // Fetch zero or more AssetEmbeddings - * const assetEmbeddings = await prisma.assetEmbedding.findMany() - * ``` - */ - get assetEmbedding(): Prisma.AssetEmbeddingDelegate; - - /** - * `prisma.invite`: Exposes CRUD operations for the **Invite** model. - * Example usage: - * ```ts - * // Fetch zero or more Invites - * const invites = await prisma.invite.findMany() - * ``` - */ - get invite(): Prisma.InviteDelegate; - - /** - * `prisma.metadataField`: Exposes CRUD operations for the **MetadataField** model. - * Example usage: - * ```ts - * // Fetch zero or more MetadataFields - * const metadataFields = await prisma.metadataField.findMany() - * ``` - */ - get metadataField(): Prisma.MetadataFieldDelegate; - - /** - * `prisma.notification`: Exposes CRUD operations for the **Notification** model. - * Example usage: - * ```ts - * // Fetch zero or more Notifications - * const notifications = await prisma.notification.findMany() - * ``` - */ - get notification(): Prisma.NotificationDelegate; - - /** - * `prisma.systemSettings`: Exposes CRUD operations for the **SystemSettings** model. - * Example usage: - * ```ts - * // Fetch zero or more SystemSettings - * const systemSettings = await prisma.systemSettings.findMany() - * ``` - */ - get systemSettings(): Prisma.SystemSettingsDelegate; - - /** - * `prisma.task`: Exposes CRUD operations for the **Task** model. - * Example usage: - * ```ts - * // Fetch zero or more Tasks - * const tasks = await prisma.task.findMany() - * ``` - */ - get task(): Prisma.TaskDelegate; - - /** - * `prisma.workflowTask`: Exposes CRUD operations for the **WorkflowTask** model. - * Example usage: - * ```ts - * // Fetch zero or more WorkflowTasks - * const workflowTasks = await prisma.workflowTask.findMany() - * ``` - */ - get workflowTask(): Prisma.WorkflowTaskDelegate; - - /** - * `prisma.agent`: Exposes CRUD operations for the **Agent** model. - * Example usage: - * ```ts - * // Fetch zero or more Agents - * const agents = await prisma.agent.findMany() - * ``` - */ - get agent(): Prisma.AgentDelegate; - - /** - * `prisma.agentSkill`: Exposes CRUD operations for the **AgentSkill** model. - * Example usage: - * ```ts - * // Fetch zero or more AgentSkills - * const agentSkills = await prisma.agentSkill.findMany() - * ``` - */ - get agentSkill(): Prisma.AgentSkillDelegate; - - /** - * `prisma.agentSession`: Exposes CRUD operations for the **AgentSession** model. - * Example usage: - * ```ts - * // Fetch zero or more AgentSessions - * const agentSessions = await prisma.agentSession.findMany() - * ``` - */ - get agentSession(): Prisma.AgentSessionDelegate; - - /** - * `prisma.agentSessionEntry`: Exposes CRUD operations for the **AgentSessionEntry** model. - * Example usage: - * ```ts - * // Fetch zero or more AgentSessionEntries - * const agentSessionEntries = await prisma.agentSessionEntry.findMany() - * ``` - */ - get agentSessionEntry(): Prisma.AgentSessionEntryDelegate; - - /** - * `prisma.userMetadata`: Exposes CRUD operations for the **UserMetadata** model. - * Example usage: - * ```ts - * // Fetch zero or more UserMetadata - * const userMetadata = await prisma.userMetadata.findMany() - * ``` - */ - get userMetadata(): Prisma.UserMetadataDelegate; - - /** - * `prisma.model`: Exposes CRUD operations for the **Model** model. - * Example usage: - * ```ts - * // Fetch zero or more Models - * const models = await prisma.model.findMany() - * ``` - */ - get model(): Prisma.ModelDelegate; - - /** - * `prisma.provider`: Exposes CRUD operations for the **Provider** model. - * Example usage: - * ```ts - * // Fetch zero or more Providers - * const providers = await prisma.provider.findMany() - * ``` - */ - get provider(): Prisma.ProviderDelegate; - - /** - * `prisma.collection`: Exposes CRUD operations for the **Collection** model. - * Example usage: - * ```ts - * // Fetch zero or more Collections - * const collections = await prisma.collection.findMany() - * ``` - */ - get collection(): Prisma.CollectionDelegate; -} - -export function getPrismaClientClass(): PrismaClientConstructor { - return runtime.getPrismaClient(config) as unknown as PrismaClientConstructor -} diff --git a/src/generated/prisma/internal/prismaNamespace.ts b/src/generated/prisma/internal/prismaNamespace.ts deleted file mode 100644 index 7caf3144..00000000 --- a/src/generated/prisma/internal/prismaNamespace.ts +++ /dev/null @@ -1,3825 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * WARNING: This is an internal file that is subject to change! - * - * 🛑 Under no circumstances should you import this file directly! 🛑 - * - * All exports from this file are wrapped under a `Prisma` namespace object in the client.ts file. - * While this enables partial backward compatibility, it is not part of the stable public API. - * - * If you are looking for your Models, Enums, and Input Types, please import them from the respective - * model files in the `model` directory! - */ - -import * as runtime from "@prisma/client/runtime/client" -import type * as Prisma from "../models.ts" -import { type PrismaClient } from "./class.ts" - -export type * from '../models.ts' - -export type DMMF = typeof runtime.DMMF - -export type PrismaPromise = runtime.Types.Public.PrismaPromise - -/** - * Prisma Errors - */ - -export const PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError -export type PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError - -export const PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError -export type PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError - -export const PrismaClientRustPanicError = runtime.PrismaClientRustPanicError -export type PrismaClientRustPanicError = runtime.PrismaClientRustPanicError - -export const PrismaClientInitializationError = runtime.PrismaClientInitializationError -export type PrismaClientInitializationError = runtime.PrismaClientInitializationError - -export const PrismaClientValidationError = runtime.PrismaClientValidationError -export type PrismaClientValidationError = runtime.PrismaClientValidationError - -/** - * Re-export of sql-template-tag - */ -export const sql = runtime.sqltag -export const empty = runtime.empty -export const join = runtime.join -export const raw = runtime.raw -export const Sql = runtime.Sql -export type Sql = runtime.Sql - - - -/** - * Decimal.js - */ -export const Decimal = runtime.Decimal -export type Decimal = runtime.Decimal - -export type DecimalJsLike = runtime.DecimalJsLike - -/** -* Extensions -*/ -export type Extension = runtime.Types.Extensions.UserArgs -export const getExtensionContext = runtime.Extensions.getExtensionContext -export type Args = runtime.Types.Public.Args -export type Payload = runtime.Types.Public.Payload -export type Result = runtime.Types.Public.Result -export type Exact = runtime.Types.Public.Exact - -export type PrismaVersion = { - client: string - engine: string -} - -/** - * Prisma Client JS version: 7.7.0 - * Query Engine version: 75cbdc1eb7150937890ad5465d861175c6624711 - */ -export const prismaVersion: PrismaVersion = { - client: "7.7.0", - engine: "75cbdc1eb7150937890ad5465d861175c6624711" -} - -/** - * Utility Types - */ - -export type Bytes = runtime.Bytes -export type JsonObject = runtime.JsonObject -export type JsonArray = runtime.JsonArray -export type JsonValue = runtime.JsonValue -export type InputJsonObject = runtime.InputJsonObject -export type InputJsonArray = runtime.InputJsonArray -export type InputJsonValue = runtime.InputJsonValue - - -export const NullTypes = { - DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull), - JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull), - 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) - * - * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field - */ -export const DbNull = runtime.DbNull - -/** - * Helper for filtering JSON entries that have JSON `null` values (not empty on the db) - * - * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field - */ -export const JsonNull = runtime.JsonNull - -/** - * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull` - * - * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field - */ -export const AnyNull = runtime.AnyNull - - -type SelectAndInclude = { - select: any - include: any -} - -type SelectAndOmit = { - select: any - omit: any -} - -/** - * From T, pick a set of properties whose keys are in the union K - */ -type Prisma__Pick = { - [P in K]: T[P]; -}; - -export type Enumerable = T | Array; - -/** - * Subset - * @desc From `T` pick properties that exist in `U`. Simple version of Intersection - */ -export type Subset = { - [key in keyof T]: key extends keyof U ? T[key] : never; -}; - -/** - * SelectSubset - * @desc From `T` pick properties that exist in `U`. Simple version of Intersection. - * Additionally, it validates, if both select and include are present. If the case, it errors. - */ -export type SelectSubset = { - [key in keyof T]: key extends keyof U ? T[key] : never -} & - (T extends SelectAndInclude - ? 'Please either choose `select` or `include`.' - : T extends SelectAndOmit - ? 'Please either choose `select` or `omit`.' - : {}) - -/** - * Subset + Intersection - * @desc From `T` pick properties that exist in `U` and intersect `K` - */ -export type SubsetIntersection = { - [key in keyof T]: key extends keyof U ? T[key] : never -} & - K - -type Without = { [P in Exclude]?: never }; - -/** - * XOR is needed to have a real mutually exclusive union type - * https://stackoverflow.com/questions/42123407/does-typescript-support-mutually-exclusive-types - */ -export type XOR = - T extends object ? - U extends object ? - (Without & U) | (Without & T) - : U : T - - -/** - * Is T a Record? - */ -type IsObject = T extends Array -? False -: T extends Date -? False -: T extends Uint8Array -? False -: T extends BigInt -? False -: T extends object -? True -: False - - -/** - * If it's T[], return T - */ -export type UnEnumerate = T extends Array ? U : T - -/** - * From ts-toolbelt - */ - -type __Either = Omit & - { - // Merge all but K - [P in K]: Prisma__Pick // With K possibilities - }[K] - -type EitherStrict = Strict<__Either> - -type EitherLoose = ComputeRaw<__Either> - -type _Either< - O extends object, - K extends Key, - strict extends Boolean -> = { - 1: EitherStrict - 0: EitherLoose -}[strict] - -export type Either< - O extends object, - K extends Key, - strict extends Boolean = 1 -> = O extends unknown ? _Either : never - -export type Union = any - -export type PatchUndefined = { - [K in keyof O]: O[K] extends undefined ? At : O[K] -} & {} - -/** Helper Types for "Merge" **/ -export type IntersectOf = ( - U extends unknown ? (k: U) => void : never -) extends (k: infer I) => void - ? I - : never - -export type Overwrite = { - [K in keyof O]: K extends keyof O1 ? O1[K] : O[K]; -} & {}; - -type _Merge = IntersectOf; -}>>; - -type Key = string | number | symbol; -type AtStrict = O[K & keyof O]; -type AtLoose = O extends unknown ? AtStrict : never; -export type At = { - 1: AtStrict; - 0: AtLoose; -}[strict]; - -export type ComputeRaw = A extends Function ? A : { - [K in keyof A]: A[K]; -} & {}; - -export type OptionalFlat = { - [K in keyof O]?: O[K]; -} & {}; - -type _Record = { - [P in K]: T; -}; - -// cause typescript not to expand types and preserve names -type NoExpand = T extends unknown ? T : never; - -// this type assumes the passed object is entirely optional -export type AtLeast = NoExpand< - O extends unknown - ? | (K extends keyof O ? { [P in K]: O[P] } & O : O) - | {[P in keyof O as P extends K ? P : never]-?: O[P]} & O - : never>; - -type _Strict = U extends unknown ? U & OptionalFlat<_Record, keyof U>, never>> : never; - -export type Strict = ComputeRaw<_Strict>; -/** End Helper Types for "Merge" **/ - -export type Merge = ComputeRaw<_Merge>>; - -export type Boolean = True | False - -export type True = 1 - -export type False = 0 - -export type Not = { - 0: 1 - 1: 0 -}[B] - -export type Extends = [A1] extends [never] - ? 0 // anything `never` is false - : A1 extends A2 - ? 1 - : 0 - -export type Has = Not< - Extends, U1> -> - -export type Or = { - 0: { - 0: 0 - 1: 1 - } - 1: { - 0: 1 - 1: 1 - } -}[B1][B2] - -export type Keys = U extends unknown ? keyof U : never - -export type GetScalarType = O extends object ? { - [P in keyof T]: P extends keyof O - ? O[P] - : never -} : never - -type FieldPaths< - T, - U = Omit -> = IsObject extends True ? U : T - -export type GetHavingFields = { - [K in keyof T]: Or< - Or, Extends<'AND', K>>, - Extends<'NOT', K> - > extends True - ? // infer is only needed to not hit TS limit - // based on the brilliant idea of Pierre-Antoine Mills - // https://github.com/microsoft/TypeScript/issues/30188#issuecomment-478938437 - T[K] extends infer TK - ? GetHavingFields extends object ? Merge> : never> - : never - : {} extends FieldPaths - ? never - : K -}[keyof T] - -/** - * Convert tuple to union - */ -type _TupleToUnion = T extends (infer E)[] ? E : never -type TupleToUnion = _TupleToUnion -export type MaybeTupleToUnion = T extends any[] ? TupleToUnion : T - -/** - * Like `Pick`, but additionally can also accept an array of keys - */ -export type PickEnumerable | keyof T> = Prisma__Pick> - -/** - * Exclude all keys with underscores - */ -export type ExcludeUnderscoreKeys = T extends `_${string}` ? never : T - - -export type FieldRef = runtime.FieldRef - -type FieldRefInputType = Model extends never ? never : FieldRef - - -export const ModelName = { - User: 'User', - Session: 'Session', - Account: 'Account', - Verification: 'Verification', - AuthToken: 'AuthToken', - Team: 'Team', - Sandbox: 'Sandbox', - Skill: 'Skill', - TeamMember: 'TeamMember', - Project: 'Project', - ProjectMember: 'ProjectMember', - ShareLink: 'ShareLink', - Asset: 'Asset', - StorageKey: 'StorageKey', - AssetMetadataValue: 'AssetMetadataValue', - AssetComment: 'AssetComment', - AssetCommentAttachment: 'AssetCommentAttachment', - AssetEmbedding: 'AssetEmbedding', - Invite: 'Invite', - MetadataField: 'MetadataField', - Notification: 'Notification', - SystemSettings: 'SystemSettings', - Task: 'Task', - WorkflowTask: 'WorkflowTask', - Agent: 'Agent', - AgentSkill: 'AgentSkill', - AgentSession: 'AgentSession', - AgentSessionEntry: 'AgentSessionEntry', - UserMetadata: 'UserMetadata', - Model: 'Model', - Provider: 'Provider', - Collection: 'Collection' -} as const - -export type ModelName = (typeof ModelName)[keyof typeof ModelName] - - - -export interface TypeMapCb extends runtime.Types.Utils.Fn<{extArgs: runtime.Types.Extensions.InternalArgs }, runtime.Types.Utils.Record> { - returns: TypeMap -} - -export type TypeMap = { - globalOmitOptions: { - omit: GlobalOmitOptions - } - meta: { - modelProps: "user" | "session" | "account" | "verification" | "authToken" | "team" | "sandbox" | "skill" | "teamMember" | "project" | "projectMember" | "shareLink" | "asset" | "storageKey" | "assetMetadataValue" | "assetComment" | "assetCommentAttachment" | "assetEmbedding" | "invite" | "metadataField" | "notification" | "systemSettings" | "task" | "workflowTask" | "agent" | "agentSkill" | "agentSession" | "agentSessionEntry" | "userMetadata" | "model" | "provider" | "collection" - txIsolationLevel: TransactionIsolationLevel - } - model: { - User: { - payload: Prisma.$UserPayload - fields: Prisma.UserFieldRefs - operations: { - findUnique: { - args: Prisma.UserFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.UserFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.UserFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.UserFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.UserFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.UserCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.UserCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.UserCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.UserDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.UserUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.UserDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.UserUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.UserUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.UserUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.UserAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.UserGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.UserCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - Session: { - payload: Prisma.$SessionPayload - fields: Prisma.SessionFieldRefs - operations: { - findUnique: { - args: Prisma.SessionFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.SessionFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.SessionFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.SessionFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.SessionFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.SessionCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.SessionCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.SessionCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.SessionDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.SessionUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.SessionDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.SessionUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.SessionUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.SessionUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.SessionAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.SessionGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.SessionCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - Account: { - payload: Prisma.$AccountPayload - fields: Prisma.AccountFieldRefs - operations: { - findUnique: { - args: Prisma.AccountFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.AccountFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.AccountFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.AccountFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.AccountFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.AccountCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.AccountCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.AccountCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.AccountDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.AccountUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.AccountDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.AccountUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.AccountUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.AccountUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.AccountAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.AccountGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.AccountCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - Verification: { - payload: Prisma.$VerificationPayload - fields: Prisma.VerificationFieldRefs - operations: { - findUnique: { - args: Prisma.VerificationFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.VerificationFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.VerificationFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.VerificationFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.VerificationFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.VerificationCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.VerificationCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.VerificationCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.VerificationDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.VerificationUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.VerificationDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.VerificationUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.VerificationUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.VerificationUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.VerificationAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.VerificationGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.VerificationCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - AuthToken: { - payload: Prisma.$AuthTokenPayload - fields: Prisma.AuthTokenFieldRefs - operations: { - findUnique: { - args: Prisma.AuthTokenFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.AuthTokenFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.AuthTokenFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.AuthTokenFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.AuthTokenFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.AuthTokenCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.AuthTokenCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.AuthTokenCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.AuthTokenDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.AuthTokenUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.AuthTokenDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.AuthTokenUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.AuthTokenUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.AuthTokenUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.AuthTokenAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.AuthTokenGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.AuthTokenCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - Team: { - payload: Prisma.$TeamPayload - fields: Prisma.TeamFieldRefs - operations: { - findUnique: { - args: Prisma.TeamFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.TeamFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.TeamFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.TeamFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.TeamFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.TeamCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.TeamCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.TeamCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.TeamDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.TeamUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.TeamDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.TeamUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.TeamUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.TeamUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.TeamAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.TeamGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.TeamCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - Sandbox: { - payload: Prisma.$SandboxPayload - fields: Prisma.SandboxFieldRefs - operations: { - findUnique: { - args: Prisma.SandboxFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.SandboxFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.SandboxFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.SandboxFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.SandboxFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.SandboxCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.SandboxCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.SandboxCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.SandboxDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.SandboxUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.SandboxDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.SandboxUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.SandboxUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.SandboxUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.SandboxAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.SandboxGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.SandboxCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - Skill: { - payload: Prisma.$SkillPayload - fields: Prisma.SkillFieldRefs - operations: { - findUnique: { - args: Prisma.SkillFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.SkillFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.SkillFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.SkillFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.SkillFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.SkillCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.SkillCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.SkillCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.SkillDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.SkillUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.SkillDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.SkillUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.SkillUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.SkillUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.SkillAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.SkillGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.SkillCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - TeamMember: { - payload: Prisma.$TeamMemberPayload - fields: Prisma.TeamMemberFieldRefs - operations: { - findUnique: { - args: Prisma.TeamMemberFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.TeamMemberFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.TeamMemberFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.TeamMemberFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.TeamMemberFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.TeamMemberCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.TeamMemberCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.TeamMemberCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.TeamMemberDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.TeamMemberUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.TeamMemberDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.TeamMemberUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.TeamMemberUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.TeamMemberUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.TeamMemberAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.TeamMemberGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.TeamMemberCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - Project: { - payload: Prisma.$ProjectPayload - fields: Prisma.ProjectFieldRefs - operations: { - findUnique: { - args: Prisma.ProjectFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.ProjectFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.ProjectFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.ProjectFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.ProjectFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.ProjectCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.ProjectCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.ProjectCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.ProjectDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.ProjectUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.ProjectDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.ProjectUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.ProjectUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.ProjectUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.ProjectAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.ProjectGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.ProjectCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - ProjectMember: { - payload: Prisma.$ProjectMemberPayload - fields: Prisma.ProjectMemberFieldRefs - operations: { - findUnique: { - args: Prisma.ProjectMemberFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.ProjectMemberFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.ProjectMemberFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.ProjectMemberFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.ProjectMemberFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.ProjectMemberCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.ProjectMemberCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.ProjectMemberCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.ProjectMemberDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.ProjectMemberUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.ProjectMemberDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.ProjectMemberUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.ProjectMemberUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.ProjectMemberUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.ProjectMemberAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.ProjectMemberGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.ProjectMemberCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - ShareLink: { - payload: Prisma.$ShareLinkPayload - fields: Prisma.ShareLinkFieldRefs - operations: { - findUnique: { - args: Prisma.ShareLinkFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.ShareLinkFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.ShareLinkFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.ShareLinkFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.ShareLinkFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.ShareLinkCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.ShareLinkCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.ShareLinkCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.ShareLinkDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.ShareLinkUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.ShareLinkDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.ShareLinkUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.ShareLinkUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.ShareLinkUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.ShareLinkAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.ShareLinkGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.ShareLinkCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - Asset: { - payload: Prisma.$AssetPayload - fields: Prisma.AssetFieldRefs - operations: { - findUnique: { - args: Prisma.AssetFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.AssetFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.AssetFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.AssetFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.AssetFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.AssetCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.AssetCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.AssetCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.AssetDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.AssetUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.AssetDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.AssetUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.AssetUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.AssetUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.AssetAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.AssetGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.AssetCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - StorageKey: { - payload: Prisma.$StorageKeyPayload - fields: Prisma.StorageKeyFieldRefs - operations: { - findUnique: { - args: Prisma.StorageKeyFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.StorageKeyFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.StorageKeyFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.StorageKeyFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.StorageKeyFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.StorageKeyCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.StorageKeyCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.StorageKeyCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.StorageKeyDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.StorageKeyUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.StorageKeyDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.StorageKeyUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.StorageKeyUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.StorageKeyUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.StorageKeyAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.StorageKeyGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.StorageKeyCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - AssetMetadataValue: { - payload: Prisma.$AssetMetadataValuePayload - fields: Prisma.AssetMetadataValueFieldRefs - operations: { - findUnique: { - args: Prisma.AssetMetadataValueFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.AssetMetadataValueFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.AssetMetadataValueFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.AssetMetadataValueFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.AssetMetadataValueFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.AssetMetadataValueCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.AssetMetadataValueCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.AssetMetadataValueCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.AssetMetadataValueDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.AssetMetadataValueUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.AssetMetadataValueDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.AssetMetadataValueUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.AssetMetadataValueUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.AssetMetadataValueUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.AssetMetadataValueAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.AssetMetadataValueGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.AssetMetadataValueCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - AssetComment: { - payload: Prisma.$AssetCommentPayload - fields: Prisma.AssetCommentFieldRefs - operations: { - findUnique: { - args: Prisma.AssetCommentFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.AssetCommentFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.AssetCommentFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.AssetCommentFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.AssetCommentFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.AssetCommentCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.AssetCommentCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.AssetCommentCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.AssetCommentDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.AssetCommentUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.AssetCommentDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.AssetCommentUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.AssetCommentUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.AssetCommentUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.AssetCommentAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.AssetCommentGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.AssetCommentCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - AssetCommentAttachment: { - payload: Prisma.$AssetCommentAttachmentPayload - fields: Prisma.AssetCommentAttachmentFieldRefs - operations: { - findUnique: { - args: Prisma.AssetCommentAttachmentFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.AssetCommentAttachmentFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.AssetCommentAttachmentFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.AssetCommentAttachmentFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.AssetCommentAttachmentFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.AssetCommentAttachmentCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.AssetCommentAttachmentCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.AssetCommentAttachmentCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.AssetCommentAttachmentDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.AssetCommentAttachmentUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.AssetCommentAttachmentDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.AssetCommentAttachmentUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.AssetCommentAttachmentUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.AssetCommentAttachmentUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.AssetCommentAttachmentAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.AssetCommentAttachmentGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.AssetCommentAttachmentCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - AssetEmbedding: { - payload: Prisma.$AssetEmbeddingPayload - fields: Prisma.AssetEmbeddingFieldRefs - operations: { - findUnique: { - args: Prisma.AssetEmbeddingFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.AssetEmbeddingFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.AssetEmbeddingFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.AssetEmbeddingFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.AssetEmbeddingFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.AssetEmbeddingCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.AssetEmbeddingCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.AssetEmbeddingCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.AssetEmbeddingDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.AssetEmbeddingUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.AssetEmbeddingDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.AssetEmbeddingUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.AssetEmbeddingUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.AssetEmbeddingUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.AssetEmbeddingAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.AssetEmbeddingGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.AssetEmbeddingCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - Invite: { - payload: Prisma.$InvitePayload - fields: Prisma.InviteFieldRefs - operations: { - findUnique: { - args: Prisma.InviteFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.InviteFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.InviteFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.InviteFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.InviteFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.InviteCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.InviteCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.InviteCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.InviteDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.InviteUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.InviteDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.InviteUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.InviteUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.InviteUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.InviteAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.InviteGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.InviteCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - MetadataField: { - payload: Prisma.$MetadataFieldPayload - fields: Prisma.MetadataFieldFieldRefs - operations: { - findUnique: { - args: Prisma.MetadataFieldFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.MetadataFieldFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.MetadataFieldFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.MetadataFieldFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.MetadataFieldFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.MetadataFieldCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.MetadataFieldCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.MetadataFieldCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.MetadataFieldDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.MetadataFieldUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.MetadataFieldDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.MetadataFieldUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.MetadataFieldUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.MetadataFieldUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.MetadataFieldAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.MetadataFieldGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.MetadataFieldCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - Notification: { - payload: Prisma.$NotificationPayload - fields: Prisma.NotificationFieldRefs - operations: { - findUnique: { - args: Prisma.NotificationFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.NotificationFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.NotificationFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.NotificationFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.NotificationFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.NotificationCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.NotificationCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.NotificationCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.NotificationDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.NotificationUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.NotificationDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.NotificationUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.NotificationUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.NotificationUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.NotificationAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.NotificationGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.NotificationCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - SystemSettings: { - payload: Prisma.$SystemSettingsPayload - fields: Prisma.SystemSettingsFieldRefs - operations: { - findUnique: { - args: Prisma.SystemSettingsFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.SystemSettingsFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.SystemSettingsFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.SystemSettingsFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.SystemSettingsFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.SystemSettingsCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.SystemSettingsCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.SystemSettingsCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.SystemSettingsDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.SystemSettingsUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.SystemSettingsDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.SystemSettingsUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.SystemSettingsUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.SystemSettingsUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.SystemSettingsAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.SystemSettingsGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.SystemSettingsCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - Task: { - payload: Prisma.$TaskPayload - fields: Prisma.TaskFieldRefs - operations: { - findUnique: { - args: Prisma.TaskFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.TaskFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.TaskFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.TaskFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.TaskFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.TaskCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.TaskCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.TaskCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.TaskDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.TaskUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.TaskDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.TaskUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.TaskUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.TaskUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.TaskAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.TaskGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.TaskCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - WorkflowTask: { - payload: Prisma.$WorkflowTaskPayload - fields: Prisma.WorkflowTaskFieldRefs - operations: { - findUnique: { - args: Prisma.WorkflowTaskFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.WorkflowTaskFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.WorkflowTaskFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.WorkflowTaskFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.WorkflowTaskFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.WorkflowTaskCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.WorkflowTaskCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.WorkflowTaskCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.WorkflowTaskDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.WorkflowTaskUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.WorkflowTaskDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.WorkflowTaskUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.WorkflowTaskUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.WorkflowTaskUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.WorkflowTaskAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.WorkflowTaskGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.WorkflowTaskCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - Agent: { - payload: Prisma.$AgentPayload - fields: Prisma.AgentFieldRefs - operations: { - findUnique: { - args: Prisma.AgentFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.AgentFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.AgentFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.AgentFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.AgentFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.AgentCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.AgentCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.AgentCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.AgentDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.AgentUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.AgentDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.AgentUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.AgentUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.AgentUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.AgentAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.AgentGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.AgentCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - AgentSkill: { - payload: Prisma.$AgentSkillPayload - fields: Prisma.AgentSkillFieldRefs - operations: { - findUnique: { - args: Prisma.AgentSkillFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.AgentSkillFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.AgentSkillFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.AgentSkillFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.AgentSkillFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.AgentSkillCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.AgentSkillCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.AgentSkillCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.AgentSkillDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.AgentSkillUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.AgentSkillDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.AgentSkillUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.AgentSkillUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.AgentSkillUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.AgentSkillAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.AgentSkillGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.AgentSkillCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - AgentSession: { - payload: Prisma.$AgentSessionPayload - fields: Prisma.AgentSessionFieldRefs - operations: { - findUnique: { - args: Prisma.AgentSessionFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.AgentSessionFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.AgentSessionFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.AgentSessionFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.AgentSessionFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.AgentSessionCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.AgentSessionCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.AgentSessionCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.AgentSessionDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.AgentSessionUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.AgentSessionDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.AgentSessionUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.AgentSessionUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.AgentSessionUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.AgentSessionAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.AgentSessionGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.AgentSessionCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - AgentSessionEntry: { - payload: Prisma.$AgentSessionEntryPayload - fields: Prisma.AgentSessionEntryFieldRefs - operations: { - findUnique: { - args: Prisma.AgentSessionEntryFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.AgentSessionEntryFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.AgentSessionEntryFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.AgentSessionEntryFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.AgentSessionEntryFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.AgentSessionEntryCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.AgentSessionEntryCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.AgentSessionEntryCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.AgentSessionEntryDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.AgentSessionEntryUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.AgentSessionEntryDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.AgentSessionEntryUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.AgentSessionEntryUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.AgentSessionEntryUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.AgentSessionEntryAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.AgentSessionEntryGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.AgentSessionEntryCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - UserMetadata: { - payload: Prisma.$UserMetadataPayload - fields: Prisma.UserMetadataFieldRefs - operations: { - findUnique: { - args: Prisma.UserMetadataFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.UserMetadataFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.UserMetadataFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.UserMetadataFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.UserMetadataFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.UserMetadataCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.UserMetadataCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.UserMetadataCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.UserMetadataDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.UserMetadataUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.UserMetadataDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.UserMetadataUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.UserMetadataUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.UserMetadataUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.UserMetadataAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.UserMetadataGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.UserMetadataCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - Model: { - payload: Prisma.$ModelPayload - fields: Prisma.ModelFieldRefs - operations: { - findUnique: { - args: Prisma.ModelFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.ModelFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.ModelFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.ModelFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.ModelFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.ModelCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.ModelCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.ModelCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.ModelDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.ModelUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.ModelDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.ModelUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.ModelUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.ModelUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.ModelAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.ModelGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.ModelCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - Provider: { - payload: Prisma.$ProviderPayload - fields: Prisma.ProviderFieldRefs - operations: { - findUnique: { - args: Prisma.ProviderFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.ProviderFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.ProviderFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.ProviderFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.ProviderFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.ProviderCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.ProviderCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.ProviderCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.ProviderDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.ProviderUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.ProviderDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.ProviderUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.ProviderUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.ProviderUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.ProviderAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.ProviderGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.ProviderCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - Collection: { - payload: Prisma.$CollectionPayload - fields: Prisma.CollectionFieldRefs - operations: { - findUnique: { - args: Prisma.CollectionFindUniqueArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findUniqueOrThrow: { - args: Prisma.CollectionFindUniqueOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findFirst: { - args: Prisma.CollectionFindFirstArgs - result: runtime.Types.Utils.PayloadToResult | null - } - findFirstOrThrow: { - args: Prisma.CollectionFindFirstOrThrowArgs - result: runtime.Types.Utils.PayloadToResult - } - findMany: { - args: Prisma.CollectionFindManyArgs - result: runtime.Types.Utils.PayloadToResult[] - } - create: { - args: Prisma.CollectionCreateArgs - result: runtime.Types.Utils.PayloadToResult - } - createMany: { - args: Prisma.CollectionCreateManyArgs - result: BatchPayload - } - createManyAndReturn: { - args: Prisma.CollectionCreateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - delete: { - args: Prisma.CollectionDeleteArgs - result: runtime.Types.Utils.PayloadToResult - } - update: { - args: Prisma.CollectionUpdateArgs - result: runtime.Types.Utils.PayloadToResult - } - deleteMany: { - args: Prisma.CollectionDeleteManyArgs - result: BatchPayload - } - updateMany: { - args: Prisma.CollectionUpdateManyArgs - result: BatchPayload - } - updateManyAndReturn: { - args: Prisma.CollectionUpdateManyAndReturnArgs - result: runtime.Types.Utils.PayloadToResult[] - } - upsert: { - args: Prisma.CollectionUpsertArgs - result: runtime.Types.Utils.PayloadToResult - } - aggregate: { - args: Prisma.CollectionAggregateArgs - result: runtime.Types.Utils.Optional - } - groupBy: { - args: Prisma.CollectionGroupByArgs - result: runtime.Types.Utils.Optional[] - } - count: { - args: Prisma.CollectionCountArgs - result: runtime.Types.Utils.Optional | number - } - } - } - } -} & { - other: { - payload: any - operations: { - $executeRaw: { - args: [query: TemplateStringsArray | Sql, ...values: any[]], - result: any - } - $executeRawUnsafe: { - args: [query: string, ...values: any[]], - result: any - } - $queryRaw: { - args: [query: TemplateStringsArray | Sql, ...values: any[]], - result: any - } - $queryRawUnsafe: { - args: [query: string, ...values: any[]], - result: any - } - } - } -} - -/** - * Enums - */ - -export const TransactionIsolationLevel = runtime.makeStrictEnum({ - ReadUncommitted: 'ReadUncommitted', - ReadCommitted: 'ReadCommitted', - RepeatableRead: 'RepeatableRead', - Serializable: 'Serializable' -} as const) - -export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel] - - -export const UserScalarFieldEnum = { - id: 'id', - type: 'type', - name: 'name', - email: 'email', - emailVerified: 'emailVerified', - image: 'image', - password: 'password', - agentSettings: 'agentSettings', - guestEmail: 'guestEmail', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum] - - -export const SessionScalarFieldEnum = { - id: 'id', - expiresAt: 'expiresAt', - token: 'token', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - ipAddress: 'ipAddress', - userAgent: 'userAgent', - userId: 'userId' -} as const - -export type SessionScalarFieldEnum = (typeof SessionScalarFieldEnum)[keyof typeof SessionScalarFieldEnum] - - -export const AccountScalarFieldEnum = { - id: 'id', - accountId: 'accountId', - providerId: 'providerId', - userId: 'userId', - accessToken: 'accessToken', - refreshToken: 'refreshToken', - idToken: 'idToken', - accessTokenExpiresAt: 'accessTokenExpiresAt', - refreshTokenExpiresAt: 'refreshTokenExpiresAt', - scope: 'scope', - password: 'password', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type AccountScalarFieldEnum = (typeof AccountScalarFieldEnum)[keyof typeof AccountScalarFieldEnum] - - -export const VerificationScalarFieldEnum = { - id: 'id', - identifier: 'identifier', - value: 'value', - expiresAt: 'expiresAt', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type VerificationScalarFieldEnum = (typeof VerificationScalarFieldEnum)[keyof typeof VerificationScalarFieldEnum] - - -export const AuthTokenScalarFieldEnum = { - id: 'id', - accessToken: 'accessToken', - refreshToken: 'refreshToken', - accessTokenExpiresAt: 'accessTokenExpiresAt', - refreshTokenExpiresAt: 'refreshTokenExpiresAt', - userId: 'userId' -} as const - -export type AuthTokenScalarFieldEnum = (typeof AuthTokenScalarFieldEnum)[keyof typeof AuthTokenScalarFieldEnum] - - -export const TeamScalarFieldEnum = { - id: 'id', - name: 'name', - settings: 'settings', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - rootFolderId: 'rootFolderId' -} as const - -export type TeamScalarFieldEnum = (typeof TeamScalarFieldEnum)[keyof typeof TeamScalarFieldEnum] - - -export const SandboxScalarFieldEnum = { - id: 'id', - allowedDomains: 'allowedDomains', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - teamId: 'teamId' -} as const - -export type SandboxScalarFieldEnum = (typeof SandboxScalarFieldEnum)[keyof typeof SandboxScalarFieldEnum] - - -export const SkillScalarFieldEnum = { - id: 'id', - name: 'name', - description: 'description', - config: 'config', - assetId: 'assetId', - hash: 'hash', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - teamId: 'teamId' -} as const - -export type SkillScalarFieldEnum = (typeof SkillScalarFieldEnum)[keyof typeof SkillScalarFieldEnum] - - -export const TeamMemberScalarFieldEnum = { - id: 'id', - role: 'role', - scope: 'scope', - teamId: 'teamId', - userId: 'userId', - lastReadNotificationId: 'lastReadNotificationId' -} as const - -export type TeamMemberScalarFieldEnum = (typeof TeamMemberScalarFieldEnum)[keyof typeof TeamMemberScalarFieldEnum] - - -export const ProjectScalarFieldEnum = { - id: 'id', - name: 'name', - coverImageKey: 'coverImageKey', - metadataOverrides: 'metadataOverrides', - enableNotification: 'enableNotification', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - teamId: 'teamId', - rootFolderId: 'rootFolderId', - shareRootId: 'shareRootId' -} as const - -export type ProjectScalarFieldEnum = (typeof ProjectScalarFieldEnum)[keyof typeof ProjectScalarFieldEnum] - - -export const ProjectMemberScalarFieldEnum = { - id: 'id', - role: 'role', - projectId: 'projectId', - teamMemberId: 'teamMemberId' -} as const - -export type ProjectMemberScalarFieldEnum = (typeof ProjectMemberScalarFieldEnum)[keyof typeof ProjectMemberScalarFieldEnum] - - -export const ShareLinkScalarFieldEnum = { - id: 'id', - name: 'name', - expireAt: 'expireAt', - password: 'password', - isDisabled: 'isDisabled', - defaultSortOrder: 'defaultSortOrder', - fieldVisibility: 'fieldVisibility', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - projectId: 'projectId', - rootFolderId: 'rootFolderId' -} as const - -export type ShareLinkScalarFieldEnum = (typeof ShareLinkScalarFieldEnum)[keyof typeof ShareLinkScalarFieldEnum] - - -export const AssetScalarFieldEnum = { - id: 'id', - name: 'name', - nameNgram: 'nameNgram', - type: 'type', - mediaType: 'mediaType', - fileCount: 'fileCount', - sizeByte: 'sizeByte', - status: 'status', - transcodeTaskId: 'transcodeTaskId', - media: 'media', - isDeleted: 'isDeleted', - deletedAt: 'deletedAt', - sortIndex: 'sortIndex', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - parentId: 'parentId', - targetId: 'targetId', - storageKeyId: 'storageKeyId', - creatorId: 'creatorId', - taskId: 'taskId', - projectId: 'projectId' -} as const - -export type AssetScalarFieldEnum = (typeof AssetScalarFieldEnum)[keyof typeof AssetScalarFieldEnum] - - -export const StorageKeyScalarFieldEnum = { - id: 'id', - key: 'key', - status: 'status', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type StorageKeyScalarFieldEnum = (typeof StorageKeyScalarFieldEnum)[keyof typeof StorageKeyScalarFieldEnum] - - -export const AssetMetadataValueScalarFieldEnum = { - id: 'id', - assetId: 'assetId', - fieldKey: 'fieldKey', - stringValue: 'stringValue', - numberValue: 'numberValue', - booleanValue: 'booleanValue', - jsonValue: 'jsonValue', - dateValue: 'dateValue' -} as const - -export type AssetMetadataValueScalarFieldEnum = (typeof AssetMetadataValueScalarFieldEnum)[keyof typeof AssetMetadataValueScalarFieldEnum] - - -export const AssetCommentScalarFieldEnum = { - id: 'id', - message: 'message', - annotation: 'annotation', - second: 'second', - sessionId: 'sessionId', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - assetId: 'assetId', - creatorId: 'creatorId', - replyToId: 'replyToId' -} as const - -export type AssetCommentScalarFieldEnum = (typeof AssetCommentScalarFieldEnum)[keyof typeof AssetCommentScalarFieldEnum] - - -export const AssetCommentAttachmentScalarFieldEnum = { - id: 'id', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - commentId: 'commentId', - assetId: 'assetId' -} as const - -export type AssetCommentAttachmentScalarFieldEnum = (typeof AssetCommentAttachmentScalarFieldEnum)[keyof typeof AssetCommentAttachmentScalarFieldEnum] - - -export const AssetEmbeddingScalarFieldEnum = { - id: 'id', - startTime: 'startTime', - endTime: 'endTime', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - assetId: 'assetId' -} as const - -export type AssetEmbeddingScalarFieldEnum = (typeof AssetEmbeddingScalarFieldEnum)[keyof typeof AssetEmbeddingScalarFieldEnum] - - -export const InviteScalarFieldEnum = { - id: 'id', - code: 'code', - role: 'role', - used: 'used', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - teamId: 'teamId', - projectId: 'projectId', - inviterId: 'inviterId' -} as const - -export type InviteScalarFieldEnum = (typeof InviteScalarFieldEnum)[keyof typeof InviteScalarFieldEnum] - - -export const MetadataFieldScalarFieldEnum = { - id: 'id', - key: 'key', - scope: 'scope', - config: 'config', - readOnly: 'readOnly', - aiAutofill: 'aiAutofill', - description: 'description', - teamId: 'teamId', - projectId: 'projectId' -} as const - -export type MetadataFieldScalarFieldEnum = (typeof MetadataFieldScalarFieldEnum)[keyof typeof MetadataFieldScalarFieldEnum] - - -export const NotificationScalarFieldEnum = { - id: 'id', - type: 'type', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - teamId: 'teamId', - projectId: 'projectId', - creatorId: 'creatorId', - assetId: 'assetId', - taskId: 'taskId', - userId: 'userId' -} as const - -export type NotificationScalarFieldEnum = (typeof NotificationScalarFieldEnum)[keyof typeof NotificationScalarFieldEnum] - - -export const SystemSettingsScalarFieldEnum = { - id: 'id', - key: 'key', - value: 'value', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type SystemSettingsScalarFieldEnum = (typeof SystemSettingsScalarFieldEnum)[keyof typeof SystemSettingsScalarFieldEnum] - - -export const TaskScalarFieldEnum = { - id: 'id', - type: 'type', - status: 'status', - name: 'name', - total: 'total', - uploaded: 'uploaded', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - creatorId: 'creatorId' -} as const - -export type TaskScalarFieldEnum = (typeof TaskScalarFieldEnum)[keyof typeof TaskScalarFieldEnum] - - -export const WorkflowTaskScalarFieldEnum = { - id: 'id', - uid: 'uid', - teamId: 'teamId', - projectId: 'projectId', - assetId: 'assetId', - type: 'type', - status: 'status', - payload: 'payload', - output: 'output', - heartbeat: 'heartbeat', - inputTokens: 'inputTokens', - outputTokens: 'outputTokens', - model: 'model', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type WorkflowTaskScalarFieldEnum = (typeof WorkflowTaskScalarFieldEnum)[keyof typeof WorkflowTaskScalarFieldEnum] - - -export const AgentScalarFieldEnum = { - id: 'id', - type: 'type', - enabled: 'enabled', - soul: 'soul', - providerId: 'providerId', - modelId: 'modelId', - teamId: 'teamId', - config: 'config', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type AgentScalarFieldEnum = (typeof AgentScalarFieldEnum)[keyof typeof AgentScalarFieldEnum] - - -export const AgentSkillScalarFieldEnum = { - id: 'id', - agentId: 'agentId', - skillId: 'skillId', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type AgentSkillScalarFieldEnum = (typeof AgentSkillScalarFieldEnum)[keyof typeof AgentSkillScalarFieldEnum] - - -export const AgentSessionScalarFieldEnum = { - id: 'id', - agentId: 'agentId', - userId: 'userId', - cwd: 'cwd', - leafId: 'leafId', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type AgentSessionScalarFieldEnum = (typeof AgentSessionScalarFieldEnum)[keyof typeof AgentSessionScalarFieldEnum] - - -export const AgentSessionEntryScalarFieldEnum = { - id: 'id', - sessionId: 'sessionId', - entry: 'entry' -} as const - -export type AgentSessionEntryScalarFieldEnum = (typeof AgentSessionEntryScalarFieldEnum)[keyof typeof AgentSessionEntryScalarFieldEnum] - - -export const UserMetadataScalarFieldEnum = { - id: 'id', - key: 'key', - value: 'value', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - userId: 'userId', - teamId: 'teamId' -} as const - -export type UserMetadataScalarFieldEnum = (typeof UserMetadataScalarFieldEnum)[keyof typeof UserMetadataScalarFieldEnum] - - -export const ModelScalarFieldEnum = { - id: 'id', - modelId: 'modelId', - name: 'name', - config: 'config', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - providerId: 'providerId' -} as const - -export type ModelScalarFieldEnum = (typeof ModelScalarFieldEnum)[keyof typeof ModelScalarFieldEnum] - - -export const ProviderScalarFieldEnum = { - id: 'id', - name: 'name', - isBuiltin: 'isBuiltin', - config: 'config', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - teamId: 'teamId' -} as const - -export type ProviderScalarFieldEnum = (typeof ProviderScalarFieldEnum)[keyof typeof ProviderScalarFieldEnum] - - -export const CollectionScalarFieldEnum = { - id: 'id', - name: 'name', - filter: 'filter', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - projectId: 'projectId' -} as const - -export type CollectionScalarFieldEnum = (typeof CollectionScalarFieldEnum)[keyof typeof CollectionScalarFieldEnum] - - -export const SortOrder = { - asc: 'asc', - desc: 'desc' -} as const - -export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder] - - -export const NullableJsonNullValueInput = { - DbNull: DbNull, - JsonNull: JsonNull -} as const - -export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput] - - -export const JsonNullValueInput = { - JsonNull: JsonNull -} as const - -export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput] - - -export const QueryMode = { - default: 'default', - insensitive: 'insensitive' -} as const - -export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode] - - -export const JsonNullValueFilter = { - DbNull: DbNull, - JsonNull: JsonNull, - AnyNull: AnyNull -} as const - -export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter] - - -export const NullsOrder = { - first: 'first', - last: 'last' -} as const - -export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder] - - - -/** - * Field references - */ - - -/** - * Reference to a field of type 'String' - */ -export type StringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String'> - - - -/** - * Reference to a field of type 'String[]' - */ -export type ListStringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String[]'> - - - -/** - * Reference to a field of type 'UserType' - */ -export type EnumUserTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'UserType'> - - - -/** - * Reference to a field of type 'UserType[]' - */ -export type ListEnumUserTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'UserType[]'> - - - -/** - * Reference to a field of type 'Boolean' - */ -export type BooleanFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Boolean'> - - - -/** - * Reference to a field of type 'Json' - */ -export type JsonFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Json'> - - - -/** - * Reference to a field of type 'QueryMode' - */ -export type EnumQueryModeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'QueryMode'> - - - -/** - * Reference to a field of type 'DateTime' - */ -export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime'> - - - -/** - * Reference to a field of type 'DateTime[]' - */ -export type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime[]'> - - - -/** - * Reference to a field of type 'TeamMemberRole' - */ -export type EnumTeamMemberRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TeamMemberRole'> - - - -/** - * Reference to a field of type 'TeamMemberRole[]' - */ -export type ListEnumTeamMemberRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TeamMemberRole[]'> - - - -/** - * Reference to a field of type 'TeamMemberScope' - */ -export type EnumTeamMemberScopeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TeamMemberScope'> - - - -/** - * Reference to a field of type 'TeamMemberScope[]' - */ -export type ListEnumTeamMemberScopeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TeamMemberScope[]'> - - - -/** - * Reference to a field of type 'ProjectMemberRole' - */ -export type EnumProjectMemberRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ProjectMemberRole'> - - - -/** - * Reference to a field of type 'ProjectMemberRole[]' - */ -export type ListEnumProjectMemberRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ProjectMemberRole[]'> - - - -/** - * Reference to a field of type 'AssetType' - */ -export type EnumAssetTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'AssetType'> - - - -/** - * Reference to a field of type 'AssetType[]' - */ -export type ListEnumAssetTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'AssetType[]'> - - - -/** - * Reference to a field of type 'Int' - */ -export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'> - - - -/** - * Reference to a field of type 'Int[]' - */ -export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'> - - - -/** - * Reference to a field of type 'AssetStatus' - */ -export type EnumAssetStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'AssetStatus'> - - - -/** - * Reference to a field of type 'AssetStatus[]' - */ -export type ListEnumAssetStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'AssetStatus[]'> - - - -/** - * Reference to a field of type 'StorageKeyStatus' - */ -export type EnumStorageKeyStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'StorageKeyStatus'> - - - -/** - * Reference to a field of type 'StorageKeyStatus[]' - */ -export type ListEnumStorageKeyStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'StorageKeyStatus[]'> - - - -/** - * Reference to a field of type 'Float' - */ -export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'> - - - -/** - * Reference to a field of type 'Float[]' - */ -export type ListFloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float[]'> - - - -/** - * Reference to a field of type 'InviteRole' - */ -export type EnumInviteRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'InviteRole'> - - - -/** - * Reference to a field of type 'InviteRole[]' - */ -export type ListEnumInviteRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'InviteRole[]'> - - - -/** - * Reference to a field of type 'MetadataFieldScope' - */ -export type EnumMetadataFieldScopeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'MetadataFieldScope'> - - - -/** - * Reference to a field of type 'MetadataFieldScope[]' - */ -export type ListEnumMetadataFieldScopeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'MetadataFieldScope[]'> - - - -/** - * Reference to a field of type 'NotificationType' - */ -export type EnumNotificationTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'NotificationType'> - - - -/** - * Reference to a field of type 'NotificationType[]' - */ -export type ListEnumNotificationTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'NotificationType[]'> - - - -/** - * Reference to a field of type 'TaskType' - */ -export type EnumTaskTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TaskType'> - - - -/** - * Reference to a field of type 'TaskType[]' - */ -export type ListEnumTaskTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TaskType[]'> - - - -/** - * Reference to a field of type 'TaskStatus' - */ -export type EnumTaskStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TaskStatus'> - - - -/** - * Reference to a field of type 'TaskStatus[]' - */ -export type ListEnumTaskStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TaskStatus[]'> - - - -/** - * Reference to a field of type 'WorkflowTaskType' - */ -export type EnumWorkflowTaskTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'WorkflowTaskType'> - - - -/** - * Reference to a field of type 'WorkflowTaskType[]' - */ -export type ListEnumWorkflowTaskTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'WorkflowTaskType[]'> - - - -/** - * Reference to a field of type 'WorkflowTaskStatus' - */ -export type EnumWorkflowTaskStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'WorkflowTaskStatus'> - - - -/** - * Reference to a field of type 'WorkflowTaskStatus[]' - */ -export type ListEnumWorkflowTaskStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'WorkflowTaskStatus[]'> - - - -/** - * Reference to a field of type 'AgentType' - */ -export type EnumAgentTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'AgentType'> - - - -/** - * Reference to a field of type 'AgentType[]' - */ -export type ListEnumAgentTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'AgentType[]'> - - -/** - * Batch Payload for updateMany & deleteMany & createMany - */ -export type BatchPayload = { - count: number -} - -export const defineExtension = runtime.Extensions.defineExtension as unknown as runtime.Types.Extensions.ExtendsHook<"define", TypeMapCb, runtime.Types.Extensions.DefaultArgs> -export type DefaultPrismaClient = PrismaClient -export type ErrorFormat = 'pretty' | 'colorless' | 'minimal' -export type PrismaClientOptions = ({ - /** - * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-pg`. - */ - adapter: runtime.SqlDriverAdapterFactory - accelerateUrl?: never -} | { - /** - * Prisma Accelerate URL allowing the client to connect through Accelerate instead of a direct database. - */ - accelerateUrl: string - adapter?: never -}) & { - /** - * @default "colorless" - */ - errorFormat?: ErrorFormat - /** - * @example - * ``` - * // Shorthand for `emit: 'stdout'` - * log: ['query', 'info', 'warn', 'error'] - * - * // Emit as events only - * log: [ - * { emit: 'event', level: 'query' }, - * { emit: 'event', level: 'info' }, - * { emit: 'event', level: 'warn' } - * { emit: 'event', level: 'error' } - * ] - * - * / Emit as events and log to stdout - * og: [ - * { emit: 'stdout', level: 'query' }, - * { emit: 'stdout', level: 'info' }, - * { emit: 'stdout', level: 'warn' } - * { emit: 'stdout', level: 'error' } - * - * ``` - * Read more in our [docs](https://pris.ly/d/logging). - */ - log?: (LogLevel | LogDefinition)[] - /** - * The default values for transactionOptions - * maxWait ?= 2000 - * timeout ?= 5000 - */ - transactionOptions?: { - maxWait?: number - timeout?: number - isolationLevel?: TransactionIsolationLevel - } - /** - * Global configuration for omitting model fields by default. - * - * @example - * ``` - * const prisma = new PrismaClient({ - * omit: { - * user: { - * password: true - * } - * } - * }) - * ``` - */ - omit?: GlobalOmitConfig - /** - * SQL commenter plugins that add metadata to SQL queries as comments. - * Comments follow the sqlcommenter format: https://google.github.io/sqlcommenter/ - * - * @example - * ``` - * const prisma = new PrismaClient({ - * adapter, - * comments: [ - * traceContext(), - * queryInsights(), - * ], - * }) - * ``` - */ - comments?: runtime.SqlCommenterPlugin[] -} -export type GlobalOmitConfig = { - user?: Prisma.UserOmit - session?: Prisma.SessionOmit - account?: Prisma.AccountOmit - verification?: Prisma.VerificationOmit - authToken?: Prisma.AuthTokenOmit - team?: Prisma.TeamOmit - sandbox?: Prisma.SandboxOmit - skill?: Prisma.SkillOmit - teamMember?: Prisma.TeamMemberOmit - project?: Prisma.ProjectOmit - projectMember?: Prisma.ProjectMemberOmit - shareLink?: Prisma.ShareLinkOmit - asset?: Prisma.AssetOmit - storageKey?: Prisma.StorageKeyOmit - assetMetadataValue?: Prisma.AssetMetadataValueOmit - assetComment?: Prisma.AssetCommentOmit - assetCommentAttachment?: Prisma.AssetCommentAttachmentOmit - assetEmbedding?: Prisma.AssetEmbeddingOmit - invite?: Prisma.InviteOmit - metadataField?: Prisma.MetadataFieldOmit - notification?: Prisma.NotificationOmit - systemSettings?: Prisma.SystemSettingsOmit - task?: Prisma.TaskOmit - workflowTask?: Prisma.WorkflowTaskOmit - agent?: Prisma.AgentOmit - agentSkill?: Prisma.AgentSkillOmit - agentSession?: Prisma.AgentSessionOmit - agentSessionEntry?: Prisma.AgentSessionEntryOmit - userMetadata?: Prisma.UserMetadataOmit - model?: Prisma.ModelOmit - provider?: Prisma.ProviderOmit - collection?: Prisma.CollectionOmit -} - -/* Types for Logging */ -export type LogLevel = 'info' | 'query' | 'warn' | 'error' -export type LogDefinition = { - level: LogLevel - emit: 'stdout' | 'event' -} - -export type CheckIsLogLevel = T extends LogLevel ? T : never; - -export type GetLogType = CheckIsLogLevel< - T extends LogDefinition ? T['level'] : T ->; - -export type GetEvents = T extends Array - ? GetLogType - : never; - -export type QueryEvent = { - timestamp: Date - query: string - params: string - duration: number - target: string -} - -export type LogEvent = { - timestamp: Date - message: string - target: string -} -/* End Types for Logging */ - - -export type PrismaAction = - | 'findUnique' - | 'findUniqueOrThrow' - | 'findMany' - | 'findFirst' - | 'findFirstOrThrow' - | 'create' - | 'createMany' - | 'createManyAndReturn' - | 'update' - | 'updateMany' - | 'updateManyAndReturn' - | 'upsert' - | 'delete' - | 'deleteMany' - | 'executeRaw' - | 'queryRaw' - | 'aggregate' - | 'count' - | 'runCommandRaw' - | 'findRaw' - | 'groupBy' - -/** - * `PrismaClient` proxy available in interactive transactions. - */ -export type TransactionClient = Omit - diff --git a/src/generated/prisma/internal/prismaNamespaceBrowser.ts b/src/generated/prisma/internal/prismaNamespaceBrowser.ts deleted file mode 100644 index 8b4bc983..00000000 --- a/src/generated/prisma/internal/prismaNamespaceBrowser.ts +++ /dev/null @@ -1,601 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * WARNING: This is an internal file that is subject to change! - * - * 🛑 Under no circumstances should you import this file directly! 🛑 - * - * All exports from this file are wrapped under a `Prisma` namespace object in the browser.ts file. - * While this enables partial backward compatibility, it is not part of the stable public API. - * - * If you are looking for your Models, Enums, and Input Types, please import them from the respective - * model files in the `model` directory! - */ - -import * as runtime from "@prisma/client/runtime/index-browser" - -export type * from '../models.ts' -export type * from './prismaNamespace.ts' - -export const Decimal = runtime.Decimal - - -export const NullTypes = { - DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull), - JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull), - 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) - * - * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field - */ -export const DbNull = runtime.DbNull - -/** - * Helper for filtering JSON entries that have JSON `null` values (not empty on the db) - * - * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field - */ -export const JsonNull = runtime.JsonNull - -/** - * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull` - * - * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field - */ -export const AnyNull = runtime.AnyNull - - -export const ModelName = { - User: 'User', - Session: 'Session', - Account: 'Account', - Verification: 'Verification', - AuthToken: 'AuthToken', - Team: 'Team', - Sandbox: 'Sandbox', - Skill: 'Skill', - TeamMember: 'TeamMember', - Project: 'Project', - ProjectMember: 'ProjectMember', - ShareLink: 'ShareLink', - Asset: 'Asset', - StorageKey: 'StorageKey', - AssetMetadataValue: 'AssetMetadataValue', - AssetComment: 'AssetComment', - AssetCommentAttachment: 'AssetCommentAttachment', - AssetEmbedding: 'AssetEmbedding', - Invite: 'Invite', - MetadataField: 'MetadataField', - Notification: 'Notification', - SystemSettings: 'SystemSettings', - Task: 'Task', - WorkflowTask: 'WorkflowTask', - Agent: 'Agent', - AgentSkill: 'AgentSkill', - AgentSession: 'AgentSession', - AgentSessionEntry: 'AgentSessionEntry', - UserMetadata: 'UserMetadata', - Model: 'Model', - Provider: 'Provider', - Collection: 'Collection' -} as const - -export type ModelName = (typeof ModelName)[keyof typeof ModelName] - -/* - * Enums - */ - -export const TransactionIsolationLevel = runtime.makeStrictEnum({ - ReadUncommitted: 'ReadUncommitted', - ReadCommitted: 'ReadCommitted', - RepeatableRead: 'RepeatableRead', - Serializable: 'Serializable' -} as const) - -export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel] - - -export const UserScalarFieldEnum = { - id: 'id', - type: 'type', - name: 'name', - email: 'email', - emailVerified: 'emailVerified', - image: 'image', - password: 'password', - agentSettings: 'agentSettings', - guestEmail: 'guestEmail', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum] - - -export const SessionScalarFieldEnum = { - id: 'id', - expiresAt: 'expiresAt', - token: 'token', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - ipAddress: 'ipAddress', - userAgent: 'userAgent', - userId: 'userId' -} as const - -export type SessionScalarFieldEnum = (typeof SessionScalarFieldEnum)[keyof typeof SessionScalarFieldEnum] - - -export const AccountScalarFieldEnum = { - id: 'id', - accountId: 'accountId', - providerId: 'providerId', - userId: 'userId', - accessToken: 'accessToken', - refreshToken: 'refreshToken', - idToken: 'idToken', - accessTokenExpiresAt: 'accessTokenExpiresAt', - refreshTokenExpiresAt: 'refreshTokenExpiresAt', - scope: 'scope', - password: 'password', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type AccountScalarFieldEnum = (typeof AccountScalarFieldEnum)[keyof typeof AccountScalarFieldEnum] - - -export const VerificationScalarFieldEnum = { - id: 'id', - identifier: 'identifier', - value: 'value', - expiresAt: 'expiresAt', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type VerificationScalarFieldEnum = (typeof VerificationScalarFieldEnum)[keyof typeof VerificationScalarFieldEnum] - - -export const AuthTokenScalarFieldEnum = { - id: 'id', - accessToken: 'accessToken', - refreshToken: 'refreshToken', - accessTokenExpiresAt: 'accessTokenExpiresAt', - refreshTokenExpiresAt: 'refreshTokenExpiresAt', - userId: 'userId' -} as const - -export type AuthTokenScalarFieldEnum = (typeof AuthTokenScalarFieldEnum)[keyof typeof AuthTokenScalarFieldEnum] - - -export const TeamScalarFieldEnum = { - id: 'id', - name: 'name', - settings: 'settings', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - rootFolderId: 'rootFolderId' -} as const - -export type TeamScalarFieldEnum = (typeof TeamScalarFieldEnum)[keyof typeof TeamScalarFieldEnum] - - -export const SandboxScalarFieldEnum = { - id: 'id', - allowedDomains: 'allowedDomains', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - teamId: 'teamId' -} as const - -export type SandboxScalarFieldEnum = (typeof SandboxScalarFieldEnum)[keyof typeof SandboxScalarFieldEnum] - - -export const SkillScalarFieldEnum = { - id: 'id', - name: 'name', - description: 'description', - config: 'config', - assetId: 'assetId', - hash: 'hash', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - teamId: 'teamId' -} as const - -export type SkillScalarFieldEnum = (typeof SkillScalarFieldEnum)[keyof typeof SkillScalarFieldEnum] - - -export const TeamMemberScalarFieldEnum = { - id: 'id', - role: 'role', - scope: 'scope', - teamId: 'teamId', - userId: 'userId', - lastReadNotificationId: 'lastReadNotificationId' -} as const - -export type TeamMemberScalarFieldEnum = (typeof TeamMemberScalarFieldEnum)[keyof typeof TeamMemberScalarFieldEnum] - - -export const ProjectScalarFieldEnum = { - id: 'id', - name: 'name', - coverImageKey: 'coverImageKey', - metadataOverrides: 'metadataOverrides', - enableNotification: 'enableNotification', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - teamId: 'teamId', - rootFolderId: 'rootFolderId', - shareRootId: 'shareRootId' -} as const - -export type ProjectScalarFieldEnum = (typeof ProjectScalarFieldEnum)[keyof typeof ProjectScalarFieldEnum] - - -export const ProjectMemberScalarFieldEnum = { - id: 'id', - role: 'role', - projectId: 'projectId', - teamMemberId: 'teamMemberId' -} as const - -export type ProjectMemberScalarFieldEnum = (typeof ProjectMemberScalarFieldEnum)[keyof typeof ProjectMemberScalarFieldEnum] - - -export const ShareLinkScalarFieldEnum = { - id: 'id', - name: 'name', - expireAt: 'expireAt', - password: 'password', - isDisabled: 'isDisabled', - defaultSortOrder: 'defaultSortOrder', - fieldVisibility: 'fieldVisibility', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - projectId: 'projectId', - rootFolderId: 'rootFolderId' -} as const - -export type ShareLinkScalarFieldEnum = (typeof ShareLinkScalarFieldEnum)[keyof typeof ShareLinkScalarFieldEnum] - - -export const AssetScalarFieldEnum = { - id: 'id', - name: 'name', - nameNgram: 'nameNgram', - type: 'type', - mediaType: 'mediaType', - fileCount: 'fileCount', - sizeByte: 'sizeByte', - status: 'status', - transcodeTaskId: 'transcodeTaskId', - media: 'media', - isDeleted: 'isDeleted', - deletedAt: 'deletedAt', - sortIndex: 'sortIndex', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - parentId: 'parentId', - targetId: 'targetId', - storageKeyId: 'storageKeyId', - creatorId: 'creatorId', - taskId: 'taskId', - projectId: 'projectId' -} as const - -export type AssetScalarFieldEnum = (typeof AssetScalarFieldEnum)[keyof typeof AssetScalarFieldEnum] - - -export const StorageKeyScalarFieldEnum = { - id: 'id', - key: 'key', - status: 'status', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type StorageKeyScalarFieldEnum = (typeof StorageKeyScalarFieldEnum)[keyof typeof StorageKeyScalarFieldEnum] - - -export const AssetMetadataValueScalarFieldEnum = { - id: 'id', - assetId: 'assetId', - fieldKey: 'fieldKey', - stringValue: 'stringValue', - numberValue: 'numberValue', - booleanValue: 'booleanValue', - jsonValue: 'jsonValue', - dateValue: 'dateValue' -} as const - -export type AssetMetadataValueScalarFieldEnum = (typeof AssetMetadataValueScalarFieldEnum)[keyof typeof AssetMetadataValueScalarFieldEnum] - - -export const AssetCommentScalarFieldEnum = { - id: 'id', - message: 'message', - annotation: 'annotation', - second: 'second', - sessionId: 'sessionId', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - assetId: 'assetId', - creatorId: 'creatorId', - replyToId: 'replyToId' -} as const - -export type AssetCommentScalarFieldEnum = (typeof AssetCommentScalarFieldEnum)[keyof typeof AssetCommentScalarFieldEnum] - - -export const AssetCommentAttachmentScalarFieldEnum = { - id: 'id', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - commentId: 'commentId', - assetId: 'assetId' -} as const - -export type AssetCommentAttachmentScalarFieldEnum = (typeof AssetCommentAttachmentScalarFieldEnum)[keyof typeof AssetCommentAttachmentScalarFieldEnum] - - -export const AssetEmbeddingScalarFieldEnum = { - id: 'id', - startTime: 'startTime', - endTime: 'endTime', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - assetId: 'assetId' -} as const - -export type AssetEmbeddingScalarFieldEnum = (typeof AssetEmbeddingScalarFieldEnum)[keyof typeof AssetEmbeddingScalarFieldEnum] - - -export const InviteScalarFieldEnum = { - id: 'id', - code: 'code', - role: 'role', - used: 'used', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - teamId: 'teamId', - projectId: 'projectId', - inviterId: 'inviterId' -} as const - -export type InviteScalarFieldEnum = (typeof InviteScalarFieldEnum)[keyof typeof InviteScalarFieldEnum] - - -export const MetadataFieldScalarFieldEnum = { - id: 'id', - key: 'key', - scope: 'scope', - config: 'config', - readOnly: 'readOnly', - aiAutofill: 'aiAutofill', - description: 'description', - teamId: 'teamId', - projectId: 'projectId' -} as const - -export type MetadataFieldScalarFieldEnum = (typeof MetadataFieldScalarFieldEnum)[keyof typeof MetadataFieldScalarFieldEnum] - - -export const NotificationScalarFieldEnum = { - id: 'id', - type: 'type', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - teamId: 'teamId', - projectId: 'projectId', - creatorId: 'creatorId', - assetId: 'assetId', - taskId: 'taskId', - userId: 'userId' -} as const - -export type NotificationScalarFieldEnum = (typeof NotificationScalarFieldEnum)[keyof typeof NotificationScalarFieldEnum] - - -export const SystemSettingsScalarFieldEnum = { - id: 'id', - key: 'key', - value: 'value', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type SystemSettingsScalarFieldEnum = (typeof SystemSettingsScalarFieldEnum)[keyof typeof SystemSettingsScalarFieldEnum] - - -export const TaskScalarFieldEnum = { - id: 'id', - type: 'type', - status: 'status', - name: 'name', - total: 'total', - uploaded: 'uploaded', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - creatorId: 'creatorId' -} as const - -export type TaskScalarFieldEnum = (typeof TaskScalarFieldEnum)[keyof typeof TaskScalarFieldEnum] - - -export const WorkflowTaskScalarFieldEnum = { - id: 'id', - uid: 'uid', - teamId: 'teamId', - projectId: 'projectId', - assetId: 'assetId', - type: 'type', - status: 'status', - payload: 'payload', - output: 'output', - heartbeat: 'heartbeat', - inputTokens: 'inputTokens', - outputTokens: 'outputTokens', - model: 'model', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type WorkflowTaskScalarFieldEnum = (typeof WorkflowTaskScalarFieldEnum)[keyof typeof WorkflowTaskScalarFieldEnum] - - -export const AgentScalarFieldEnum = { - id: 'id', - type: 'type', - enabled: 'enabled', - soul: 'soul', - providerId: 'providerId', - modelId: 'modelId', - teamId: 'teamId', - config: 'config', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type AgentScalarFieldEnum = (typeof AgentScalarFieldEnum)[keyof typeof AgentScalarFieldEnum] - - -export const AgentSkillScalarFieldEnum = { - id: 'id', - agentId: 'agentId', - skillId: 'skillId', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type AgentSkillScalarFieldEnum = (typeof AgentSkillScalarFieldEnum)[keyof typeof AgentSkillScalarFieldEnum] - - -export const AgentSessionScalarFieldEnum = { - id: 'id', - agentId: 'agentId', - userId: 'userId', - cwd: 'cwd', - leafId: 'leafId', - createdAt: 'createdAt', - updatedAt: 'updatedAt' -} as const - -export type AgentSessionScalarFieldEnum = (typeof AgentSessionScalarFieldEnum)[keyof typeof AgentSessionScalarFieldEnum] - - -export const AgentSessionEntryScalarFieldEnum = { - id: 'id', - sessionId: 'sessionId', - entry: 'entry' -} as const - -export type AgentSessionEntryScalarFieldEnum = (typeof AgentSessionEntryScalarFieldEnum)[keyof typeof AgentSessionEntryScalarFieldEnum] - - -export const UserMetadataScalarFieldEnum = { - id: 'id', - key: 'key', - value: 'value', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - userId: 'userId', - teamId: 'teamId' -} as const - -export type UserMetadataScalarFieldEnum = (typeof UserMetadataScalarFieldEnum)[keyof typeof UserMetadataScalarFieldEnum] - - -export const ModelScalarFieldEnum = { - id: 'id', - modelId: 'modelId', - name: 'name', - config: 'config', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - providerId: 'providerId' -} as const - -export type ModelScalarFieldEnum = (typeof ModelScalarFieldEnum)[keyof typeof ModelScalarFieldEnum] - - -export const ProviderScalarFieldEnum = { - id: 'id', - name: 'name', - isBuiltin: 'isBuiltin', - config: 'config', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - teamId: 'teamId' -} as const - -export type ProviderScalarFieldEnum = (typeof ProviderScalarFieldEnum)[keyof typeof ProviderScalarFieldEnum] - - -export const CollectionScalarFieldEnum = { - id: 'id', - name: 'name', - filter: 'filter', - createdAt: 'createdAt', - updatedAt: 'updatedAt', - projectId: 'projectId' -} as const - -export type CollectionScalarFieldEnum = (typeof CollectionScalarFieldEnum)[keyof typeof CollectionScalarFieldEnum] - - -export const SortOrder = { - asc: 'asc', - desc: 'desc' -} as const - -export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder] - - -export const NullableJsonNullValueInput = { - DbNull: DbNull, - JsonNull: JsonNull -} as const - -export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput] - - -export const JsonNullValueInput = { - JsonNull: JsonNull -} as const - -export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput] - - -export const QueryMode = { - default: 'default', - insensitive: 'insensitive' -} as const - -export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode] - - -export const JsonNullValueFilter = { - DbNull: DbNull, - JsonNull: JsonNull, - AnyNull: AnyNull -} as const - -export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter] - - -export const NullsOrder = { - first: 'first', - last: 'last' -} as const - -export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder] - diff --git a/src/generated/prisma/models.ts b/src/generated/prisma/models.ts deleted file mode 100644 index 6b1dcf9f..00000000 --- a/src/generated/prisma/models.ts +++ /dev/null @@ -1,43 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This is a barrel export file for all models and their related types. - * - * 🟢 You can import this file directly. - */ -export type * from './models/User.ts' -export type * from './models/Session.ts' -export type * from './models/Account.ts' -export type * from './models/Verification.ts' -export type * from './models/AuthToken.ts' -export type * from './models/Team.ts' -export type * from './models/Sandbox.ts' -export type * from './models/Skill.ts' -export type * from './models/TeamMember.ts' -export type * from './models/Project.ts' -export type * from './models/ProjectMember.ts' -export type * from './models/ShareLink.ts' -export type * from './models/Asset.ts' -export type * from './models/StorageKey.ts' -export type * from './models/AssetMetadataValue.ts' -export type * from './models/AssetComment.ts' -export type * from './models/AssetCommentAttachment.ts' -export type * from './models/AssetEmbedding.ts' -export type * from './models/Invite.ts' -export type * from './models/MetadataField.ts' -export type * from './models/Notification.ts' -export type * from './models/SystemSettings.ts' -export type * from './models/Task.ts' -export type * from './models/WorkflowTask.ts' -export type * from './models/Agent.ts' -export type * from './models/AgentSkill.ts' -export type * from './models/AgentSession.ts' -export type * from './models/AgentSessionEntry.ts' -export type * from './models/UserMetadata.ts' -export type * from './models/Model.ts' -export type * from './models/Provider.ts' -export type * from './models/Collection.ts' -export type * from './commonInputTypes.ts' \ No newline at end of file diff --git a/src/generated/prisma/models/Account.ts b/src/generated/prisma/models/Account.ts deleted file mode 100644 index 35e82945..00000000 --- a/src/generated/prisma/models/Account.ts +++ /dev/null @@ -1,1631 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `Account` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model Account - * - */ -export type AccountModel = runtime.Types.Result.DefaultSelection - -export type AggregateAccount = { - _count: AccountCountAggregateOutputType | null - _min: AccountMinAggregateOutputType | null - _max: AccountMaxAggregateOutputType | null -} - -export type AccountMinAggregateOutputType = { - id: string | null - accountId: string | null - providerId: string | null - userId: string | null - accessToken: string | null - refreshToken: string | null - idToken: string | null - accessTokenExpiresAt: Date | null - refreshTokenExpiresAt: Date | null - scope: string | null - password: string | null - createdAt: Date | null - updatedAt: Date | null -} - -export type AccountMaxAggregateOutputType = { - id: string | null - accountId: string | null - providerId: string | null - userId: string | null - accessToken: string | null - refreshToken: string | null - idToken: string | null - accessTokenExpiresAt: Date | null - refreshTokenExpiresAt: Date | null - scope: string | null - password: string | null - createdAt: Date | null - updatedAt: Date | null -} - -export type AccountCountAggregateOutputType = { - id: number - accountId: number - providerId: number - userId: number - accessToken: number - refreshToken: number - idToken: number - accessTokenExpiresAt: number - refreshTokenExpiresAt: number - scope: number - password: number - createdAt: number - updatedAt: number - _all: number -} - - -export type AccountMinAggregateInputType = { - id?: true - accountId?: true - providerId?: true - userId?: true - accessToken?: true - refreshToken?: true - idToken?: true - accessTokenExpiresAt?: true - refreshTokenExpiresAt?: true - scope?: true - password?: true - createdAt?: true - updatedAt?: true -} - -export type AccountMaxAggregateInputType = { - id?: true - accountId?: true - providerId?: true - userId?: true - accessToken?: true - refreshToken?: true - idToken?: true - accessTokenExpiresAt?: true - refreshTokenExpiresAt?: true - scope?: true - password?: true - createdAt?: true - updatedAt?: true -} - -export type AccountCountAggregateInputType = { - id?: true - accountId?: true - providerId?: true - userId?: true - accessToken?: true - refreshToken?: true - idToken?: true - accessTokenExpiresAt?: true - refreshTokenExpiresAt?: true - scope?: true - password?: true - createdAt?: true - updatedAt?: true - _all?: true -} - -export type AccountAggregateArgs = { - /** - * Filter which Account to aggregate. - */ - where?: Prisma.AccountWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Accounts to fetch. - */ - orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.AccountWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Accounts from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Accounts. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Accounts - **/ - _count?: true | AccountCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: AccountMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: AccountMaxAggregateInputType -} - -export type GetAccountAggregateType = { - [P in keyof T & keyof AggregateAccount]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type AccountGroupByArgs = { - where?: Prisma.AccountWhereInput - orderBy?: Prisma.AccountOrderByWithAggregationInput | Prisma.AccountOrderByWithAggregationInput[] - by: Prisma.AccountScalarFieldEnum[] | Prisma.AccountScalarFieldEnum - having?: Prisma.AccountScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: AccountCountAggregateInputType | true - _min?: AccountMinAggregateInputType - _max?: AccountMaxAggregateInputType -} - -export type AccountGroupByOutputType = { - id: string - accountId: string - providerId: string - userId: string - accessToken: string | null - refreshToken: string | null - idToken: string | null - accessTokenExpiresAt: Date | null - refreshTokenExpiresAt: Date | null - scope: string | null - password: string | null - createdAt: Date - updatedAt: Date - _count: AccountCountAggregateOutputType | null - _min: AccountMinAggregateOutputType | null - _max: AccountMaxAggregateOutputType | null -} - -export type GetAccountGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof AccountGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type AccountWhereInput = { - AND?: Prisma.AccountWhereInput | Prisma.AccountWhereInput[] - OR?: Prisma.AccountWhereInput[] - NOT?: Prisma.AccountWhereInput | Prisma.AccountWhereInput[] - id?: Prisma.StringFilter<"Account"> | string - accountId?: Prisma.StringFilter<"Account"> | string - providerId?: Prisma.StringFilter<"Account"> | string - userId?: Prisma.StringFilter<"Account"> | string - accessToken?: Prisma.StringNullableFilter<"Account"> | string | null - refreshToken?: Prisma.StringNullableFilter<"Account"> | string | null - idToken?: Prisma.StringNullableFilter<"Account"> | string | null - accessTokenExpiresAt?: Prisma.DateTimeNullableFilter<"Account"> | Date | string | null - refreshTokenExpiresAt?: Prisma.DateTimeNullableFilter<"Account"> | Date | string | null - scope?: Prisma.StringNullableFilter<"Account"> | string | null - password?: Prisma.StringNullableFilter<"Account"> | string | null - createdAt?: Prisma.DateTimeFilter<"Account"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Account"> | Date | string - user?: Prisma.XOR -} - -export type AccountOrderByWithRelationInput = { - id?: Prisma.SortOrder - accountId?: Prisma.SortOrder - providerId?: Prisma.SortOrder - userId?: Prisma.SortOrder - accessToken?: Prisma.SortOrderInput | Prisma.SortOrder - refreshToken?: Prisma.SortOrderInput | Prisma.SortOrder - idToken?: Prisma.SortOrderInput | Prisma.SortOrder - accessTokenExpiresAt?: Prisma.SortOrderInput | Prisma.SortOrder - refreshTokenExpiresAt?: Prisma.SortOrderInput | Prisma.SortOrder - scope?: Prisma.SortOrderInput | Prisma.SortOrder - password?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - user?: Prisma.UserOrderByWithRelationInput -} - -export type AccountWhereUniqueInput = Prisma.AtLeast<{ - id?: string - AND?: Prisma.AccountWhereInput | Prisma.AccountWhereInput[] - OR?: Prisma.AccountWhereInput[] - NOT?: Prisma.AccountWhereInput | Prisma.AccountWhereInput[] - accountId?: Prisma.StringFilter<"Account"> | string - providerId?: Prisma.StringFilter<"Account"> | string - userId?: Prisma.StringFilter<"Account"> | string - accessToken?: Prisma.StringNullableFilter<"Account"> | string | null - refreshToken?: Prisma.StringNullableFilter<"Account"> | string | null - idToken?: Prisma.StringNullableFilter<"Account"> | string | null - accessTokenExpiresAt?: Prisma.DateTimeNullableFilter<"Account"> | Date | string | null - refreshTokenExpiresAt?: Prisma.DateTimeNullableFilter<"Account"> | Date | string | null - scope?: Prisma.StringNullableFilter<"Account"> | string | null - password?: Prisma.StringNullableFilter<"Account"> | string | null - createdAt?: Prisma.DateTimeFilter<"Account"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Account"> | Date | string - user?: Prisma.XOR -}, "id"> - -export type AccountOrderByWithAggregationInput = { - id?: Prisma.SortOrder - accountId?: Prisma.SortOrder - providerId?: Prisma.SortOrder - userId?: Prisma.SortOrder - accessToken?: Prisma.SortOrderInput | Prisma.SortOrder - refreshToken?: Prisma.SortOrderInput | Prisma.SortOrder - idToken?: Prisma.SortOrderInput | Prisma.SortOrder - accessTokenExpiresAt?: Prisma.SortOrderInput | Prisma.SortOrder - refreshTokenExpiresAt?: Prisma.SortOrderInput | Prisma.SortOrder - scope?: Prisma.SortOrderInput | Prisma.SortOrder - password?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - _count?: Prisma.AccountCountOrderByAggregateInput - _max?: Prisma.AccountMaxOrderByAggregateInput - _min?: Prisma.AccountMinOrderByAggregateInput -} - -export type AccountScalarWhereWithAggregatesInput = { - AND?: Prisma.AccountScalarWhereWithAggregatesInput | Prisma.AccountScalarWhereWithAggregatesInput[] - OR?: Prisma.AccountScalarWhereWithAggregatesInput[] - NOT?: Prisma.AccountScalarWhereWithAggregatesInput | Prisma.AccountScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"Account"> | string - accountId?: Prisma.StringWithAggregatesFilter<"Account"> | string - providerId?: Prisma.StringWithAggregatesFilter<"Account"> | string - userId?: Prisma.StringWithAggregatesFilter<"Account"> | string - accessToken?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null - refreshToken?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null - idToken?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null - accessTokenExpiresAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Account"> | Date | string | null - refreshTokenExpiresAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Account"> | Date | string | null - scope?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null - password?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null - createdAt?: Prisma.DateTimeWithAggregatesFilter<"Account"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Account"> | Date | string -} - -export type AccountCreateInput = { - id?: string - accountId: string - providerId: string - accessToken?: string | null - refreshToken?: string | null - idToken?: string | null - accessTokenExpiresAt?: Date | string | null - refreshTokenExpiresAt?: Date | string | null - scope?: string | null - password?: string | null - createdAt?: Date | string - updatedAt?: Date | string - user: Prisma.UserCreateNestedOneWithoutAccountsInput -} - -export type AccountUncheckedCreateInput = { - id?: string - accountId: string - providerId: string - userId: string - accessToken?: string | null - refreshToken?: string | null - idToken?: string | null - accessTokenExpiresAt?: Date | string | null - refreshTokenExpiresAt?: Date | string | null - scope?: string | null - password?: string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type AccountUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - accountId?: Prisma.StringFieldUpdateOperationsInput | string - providerId?: Prisma.StringFieldUpdateOperationsInput | string - accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - user?: Prisma.UserUpdateOneRequiredWithoutAccountsNestedInput -} - -export type AccountUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - accountId?: Prisma.StringFieldUpdateOperationsInput | string - providerId?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.StringFieldUpdateOperationsInput | string - accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AccountCreateManyInput = { - id?: string - accountId: string - providerId: string - userId: string - accessToken?: string | null - refreshToken?: string | null - idToken?: string | null - accessTokenExpiresAt?: Date | string | null - refreshTokenExpiresAt?: Date | string | null - scope?: string | null - password?: string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type AccountUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - accountId?: Prisma.StringFieldUpdateOperationsInput | string - providerId?: Prisma.StringFieldUpdateOperationsInput | string - accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AccountUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - accountId?: Prisma.StringFieldUpdateOperationsInput | string - providerId?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.StringFieldUpdateOperationsInput | string - accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AccountListRelationFilter = { - every?: Prisma.AccountWhereInput - some?: Prisma.AccountWhereInput - none?: Prisma.AccountWhereInput -} - -export type AccountOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type AccountCountOrderByAggregateInput = { - id?: Prisma.SortOrder - accountId?: Prisma.SortOrder - providerId?: Prisma.SortOrder - userId?: Prisma.SortOrder - accessToken?: Prisma.SortOrder - refreshToken?: Prisma.SortOrder - idToken?: Prisma.SortOrder - accessTokenExpiresAt?: Prisma.SortOrder - refreshTokenExpiresAt?: Prisma.SortOrder - scope?: Prisma.SortOrder - password?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type AccountMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - accountId?: Prisma.SortOrder - providerId?: Prisma.SortOrder - userId?: Prisma.SortOrder - accessToken?: Prisma.SortOrder - refreshToken?: Prisma.SortOrder - idToken?: Prisma.SortOrder - accessTokenExpiresAt?: Prisma.SortOrder - refreshTokenExpiresAt?: Prisma.SortOrder - scope?: Prisma.SortOrder - password?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type AccountMinOrderByAggregateInput = { - id?: Prisma.SortOrder - accountId?: Prisma.SortOrder - providerId?: Prisma.SortOrder - userId?: Prisma.SortOrder - accessToken?: Prisma.SortOrder - refreshToken?: Prisma.SortOrder - idToken?: Prisma.SortOrder - accessTokenExpiresAt?: Prisma.SortOrder - refreshTokenExpiresAt?: Prisma.SortOrder - scope?: Prisma.SortOrder - password?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type AccountCreateNestedManyWithoutUserInput = { - create?: Prisma.XOR | Prisma.AccountCreateWithoutUserInput[] | Prisma.AccountUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.AccountCreateOrConnectWithoutUserInput | Prisma.AccountCreateOrConnectWithoutUserInput[] - createMany?: Prisma.AccountCreateManyUserInputEnvelope - connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] -} - -export type AccountUncheckedCreateNestedManyWithoutUserInput = { - create?: Prisma.XOR | Prisma.AccountCreateWithoutUserInput[] | Prisma.AccountUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.AccountCreateOrConnectWithoutUserInput | Prisma.AccountCreateOrConnectWithoutUserInput[] - createMany?: Prisma.AccountCreateManyUserInputEnvelope - connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] -} - -export type AccountUpdateManyWithoutUserNestedInput = { - create?: Prisma.XOR | Prisma.AccountCreateWithoutUserInput[] | Prisma.AccountUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.AccountCreateOrConnectWithoutUserInput | Prisma.AccountCreateOrConnectWithoutUserInput[] - upsert?: Prisma.AccountUpsertWithWhereUniqueWithoutUserInput | Prisma.AccountUpsertWithWhereUniqueWithoutUserInput[] - createMany?: Prisma.AccountCreateManyUserInputEnvelope - set?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] - disconnect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] - delete?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] - connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] - update?: Prisma.AccountUpdateWithWhereUniqueWithoutUserInput | Prisma.AccountUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: Prisma.AccountUpdateManyWithWhereWithoutUserInput | Prisma.AccountUpdateManyWithWhereWithoutUserInput[] - deleteMany?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[] -} - -export type AccountUncheckedUpdateManyWithoutUserNestedInput = { - create?: Prisma.XOR | Prisma.AccountCreateWithoutUserInput[] | Prisma.AccountUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.AccountCreateOrConnectWithoutUserInput | Prisma.AccountCreateOrConnectWithoutUserInput[] - upsert?: Prisma.AccountUpsertWithWhereUniqueWithoutUserInput | Prisma.AccountUpsertWithWhereUniqueWithoutUserInput[] - createMany?: Prisma.AccountCreateManyUserInputEnvelope - set?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] - disconnect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] - delete?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] - connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] - update?: Prisma.AccountUpdateWithWhereUniqueWithoutUserInput | Prisma.AccountUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: Prisma.AccountUpdateManyWithWhereWithoutUserInput | Prisma.AccountUpdateManyWithWhereWithoutUserInput[] - deleteMany?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[] -} - -export type NullableDateTimeFieldUpdateOperationsInput = { - set?: Date | string | null -} - -export type AccountCreateWithoutUserInput = { - id?: string - accountId: string - providerId: string - accessToken?: string | null - refreshToken?: string | null - idToken?: string | null - accessTokenExpiresAt?: Date | string | null - refreshTokenExpiresAt?: Date | string | null - scope?: string | null - password?: string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type AccountUncheckedCreateWithoutUserInput = { - id?: string - accountId: string - providerId: string - accessToken?: string | null - refreshToken?: string | null - idToken?: string | null - accessTokenExpiresAt?: Date | string | null - refreshTokenExpiresAt?: Date | string | null - scope?: string | null - password?: string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type AccountCreateOrConnectWithoutUserInput = { - where: Prisma.AccountWhereUniqueInput - create: Prisma.XOR -} - -export type AccountCreateManyUserInputEnvelope = { - data: Prisma.AccountCreateManyUserInput | Prisma.AccountCreateManyUserInput[] - skipDuplicates?: boolean -} - -export type AccountUpsertWithWhereUniqueWithoutUserInput = { - where: Prisma.AccountWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type AccountUpdateWithWhereUniqueWithoutUserInput = { - where: Prisma.AccountWhereUniqueInput - data: Prisma.XOR -} - -export type AccountUpdateManyWithWhereWithoutUserInput = { - where: Prisma.AccountScalarWhereInput - data: Prisma.XOR -} - -export type AccountScalarWhereInput = { - AND?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[] - OR?: Prisma.AccountScalarWhereInput[] - NOT?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[] - id?: Prisma.StringFilter<"Account"> | string - accountId?: Prisma.StringFilter<"Account"> | string - providerId?: Prisma.StringFilter<"Account"> | string - userId?: Prisma.StringFilter<"Account"> | string - accessToken?: Prisma.StringNullableFilter<"Account"> | string | null - refreshToken?: Prisma.StringNullableFilter<"Account"> | string | null - idToken?: Prisma.StringNullableFilter<"Account"> | string | null - accessTokenExpiresAt?: Prisma.DateTimeNullableFilter<"Account"> | Date | string | null - refreshTokenExpiresAt?: Prisma.DateTimeNullableFilter<"Account"> | Date | string | null - scope?: Prisma.StringNullableFilter<"Account"> | string | null - password?: Prisma.StringNullableFilter<"Account"> | string | null - createdAt?: Prisma.DateTimeFilter<"Account"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Account"> | Date | string -} - -export type AccountCreateManyUserInput = { - id?: string - accountId: string - providerId: string - accessToken?: string | null - refreshToken?: string | null - idToken?: string | null - accessTokenExpiresAt?: Date | string | null - refreshTokenExpiresAt?: Date | string | null - scope?: string | null - password?: string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type AccountUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - accountId?: Prisma.StringFieldUpdateOperationsInput | string - providerId?: Prisma.StringFieldUpdateOperationsInput | string - accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AccountUncheckedUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - accountId?: Prisma.StringFieldUpdateOperationsInput | string - providerId?: Prisma.StringFieldUpdateOperationsInput | string - accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AccountUncheckedUpdateManyWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - accountId?: Prisma.StringFieldUpdateOperationsInput | string - providerId?: Prisma.StringFieldUpdateOperationsInput | string - accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - idToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - accessTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - refreshTokenExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - - - -export type AccountSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - accountId?: boolean - providerId?: boolean - userId?: boolean - accessToken?: boolean - refreshToken?: boolean - idToken?: boolean - accessTokenExpiresAt?: boolean - refreshTokenExpiresAt?: boolean - scope?: boolean - password?: boolean - createdAt?: boolean - updatedAt?: boolean - user?: boolean | Prisma.UserDefaultArgs -}, ExtArgs["result"]["account"]> - -export type AccountSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - accountId?: boolean - providerId?: boolean - userId?: boolean - accessToken?: boolean - refreshToken?: boolean - idToken?: boolean - accessTokenExpiresAt?: boolean - refreshTokenExpiresAt?: boolean - scope?: boolean - password?: boolean - createdAt?: boolean - updatedAt?: boolean - user?: boolean | Prisma.UserDefaultArgs -}, ExtArgs["result"]["account"]> - -export type AccountSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - accountId?: boolean - providerId?: boolean - userId?: boolean - accessToken?: boolean - refreshToken?: boolean - idToken?: boolean - accessTokenExpiresAt?: boolean - refreshTokenExpiresAt?: boolean - scope?: boolean - password?: boolean - createdAt?: boolean - updatedAt?: boolean - user?: boolean | Prisma.UserDefaultArgs -}, ExtArgs["result"]["account"]> - -export type AccountSelectScalar = { - id?: boolean - accountId?: boolean - providerId?: boolean - userId?: boolean - accessToken?: boolean - refreshToken?: boolean - idToken?: boolean - accessTokenExpiresAt?: boolean - refreshTokenExpiresAt?: boolean - scope?: boolean - password?: boolean - createdAt?: boolean - updatedAt?: boolean -} - -export type AccountOmit = runtime.Types.Extensions.GetOmit<"id" | "accountId" | "providerId" | "userId" | "accessToken" | "refreshToken" | "idToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "scope" | "password" | "createdAt" | "updatedAt", ExtArgs["result"]["account"]> -export type AccountInclude = { - user?: boolean | Prisma.UserDefaultArgs -} -export type AccountIncludeCreateManyAndReturn = { - user?: boolean | Prisma.UserDefaultArgs -} -export type AccountIncludeUpdateManyAndReturn = { - user?: boolean | Prisma.UserDefaultArgs -} - -export type $AccountPayload = { - name: "Account" - objects: { - user: Prisma.$UserPayload - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - accountId: string - providerId: string - userId: string - accessToken: string | null - refreshToken: string | null - idToken: string | null - accessTokenExpiresAt: Date | null - refreshTokenExpiresAt: Date | null - scope: string | null - password: string | null - createdAt: Date - updatedAt: Date - }, ExtArgs["result"]["account"]> - composites: {} -} - -export type AccountGetPayload = runtime.Types.Result.GetResult - -export type AccountCountArgs = - Omit & { - select?: AccountCountAggregateInputType | true - } - -export interface AccountDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['Account'], meta: { name: 'Account' } } - /** - * Find zero or one Account that matches the filter. - * @param {AccountFindUniqueArgs} args - Arguments to find a Account - * @example - * // Get one Account - * const account = await prisma.account.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one Account that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {AccountFindUniqueOrThrowArgs} args - Arguments to find a Account - * @example - * // Get one Account - * const account = await prisma.account.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Account that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AccountFindFirstArgs} args - Arguments to find a Account - * @example - * // Get one Account - * const account = await prisma.account.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Account that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AccountFindFirstOrThrowArgs} args - Arguments to find a Account - * @example - * // Get one Account - * const account = await prisma.account.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more Accounts that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AccountFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Accounts - * const accounts = await prisma.account.findMany() - * - * // Get first 10 Accounts - * const accounts = await prisma.account.findMany({ take: 10 }) - * - * // Only select the `id` - * const accountWithIdOnly = await prisma.account.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a Account. - * @param {AccountCreateArgs} args - Arguments to create a Account. - * @example - * // Create one Account - * const Account = await prisma.account.create({ - * data: { - * // ... data to create a Account - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many Accounts. - * @param {AccountCreateManyArgs} args - Arguments to create many Accounts. - * @example - * // Create many Accounts - * const account = await prisma.account.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many Accounts and returns the data saved in the database. - * @param {AccountCreateManyAndReturnArgs} args - Arguments to create many Accounts. - * @example - * // Create many Accounts - * const account = await prisma.account.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Accounts and only return the `id` - * const accountWithIdOnly = await prisma.account.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a Account. - * @param {AccountDeleteArgs} args - Arguments to delete one Account. - * @example - * // Delete one Account - * const Account = await prisma.account.delete({ - * where: { - * // ... filter to delete one Account - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one Account. - * @param {AccountUpdateArgs} args - Arguments to update one Account. - * @example - * // Update one Account - * const account = await prisma.account.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more Accounts. - * @param {AccountDeleteManyArgs} args - Arguments to filter Accounts to delete. - * @example - * // Delete a few Accounts - * const { count } = await prisma.account.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Accounts. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AccountUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Accounts - * const account = await prisma.account.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Accounts and returns the data updated in the database. - * @param {AccountUpdateManyAndReturnArgs} args - Arguments to update many Accounts. - * @example - * // Update many Accounts - * const account = await prisma.account.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Accounts and only return the `id` - * const accountWithIdOnly = await prisma.account.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one Account. - * @param {AccountUpsertArgs} args - Arguments to update or create a Account. - * @example - * // Update or create a Account - * const account = await prisma.account.upsert({ - * create: { - * // ... data to create a Account - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the Account we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of Accounts. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AccountCountArgs} args - Arguments to filter Accounts to count. - * @example - * // Count the number of Accounts - * const count = await prisma.account.count({ - * where: { - * // ... the filter for the Accounts we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a Account. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AccountAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by Account. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AccountGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends AccountGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: AccountGroupByArgs['orderBy'] } - : { orderBy?: AccountGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetAccountGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the Account model - */ -readonly fields: AccountFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for Account. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__AccountClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the Account model - */ -export interface AccountFieldRefs { - readonly id: Prisma.FieldRef<"Account", 'String'> - readonly accountId: Prisma.FieldRef<"Account", 'String'> - readonly providerId: Prisma.FieldRef<"Account", 'String'> - readonly userId: Prisma.FieldRef<"Account", 'String'> - readonly accessToken: Prisma.FieldRef<"Account", 'String'> - readonly refreshToken: Prisma.FieldRef<"Account", 'String'> - readonly idToken: Prisma.FieldRef<"Account", 'String'> - readonly accessTokenExpiresAt: Prisma.FieldRef<"Account", 'DateTime'> - readonly refreshTokenExpiresAt: Prisma.FieldRef<"Account", 'DateTime'> - readonly scope: Prisma.FieldRef<"Account", 'String'> - readonly password: Prisma.FieldRef<"Account", 'String'> - readonly createdAt: Prisma.FieldRef<"Account", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"Account", 'DateTime'> -} - - -// Custom InputTypes -/** - * Account findUnique - */ -export type AccountFindUniqueArgs = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null - /** - * Filter, which Account to fetch. - */ - where: Prisma.AccountWhereUniqueInput -} - -/** - * Account findUniqueOrThrow - */ -export type AccountFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null - /** - * Filter, which Account to fetch. - */ - where: Prisma.AccountWhereUniqueInput -} - -/** - * Account findFirst - */ -export type AccountFindFirstArgs = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null - /** - * Filter, which Account to fetch. - */ - where?: Prisma.AccountWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Accounts to fetch. - */ - orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Accounts. - */ - cursor?: Prisma.AccountWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Accounts from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Accounts. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Accounts. - */ - distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[] -} - -/** - * Account findFirstOrThrow - */ -export type AccountFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null - /** - * Filter, which Account to fetch. - */ - where?: Prisma.AccountWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Accounts to fetch. - */ - orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Accounts. - */ - cursor?: Prisma.AccountWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Accounts from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Accounts. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Accounts. - */ - distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[] -} - -/** - * Account findMany - */ -export type AccountFindManyArgs = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null - /** - * Filter, which Accounts to fetch. - */ - where?: Prisma.AccountWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Accounts to fetch. - */ - orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Accounts. - */ - cursor?: Prisma.AccountWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Accounts from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Accounts. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Accounts. - */ - distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[] -} - -/** - * Account create - */ -export type AccountCreateArgs = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null - /** - * The data needed to create a Account. - */ - data: Prisma.XOR -} - -/** - * Account createMany - */ -export type AccountCreateManyArgs = { - /** - * The data used to create many Accounts. - */ - data: Prisma.AccountCreateManyInput | Prisma.AccountCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * Account createManyAndReturn - */ -export type AccountCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelectCreateManyAndReturn | null - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null - /** - * The data used to create many Accounts. - */ - data: Prisma.AccountCreateManyInput | Prisma.AccountCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountIncludeCreateManyAndReturn | null -} - -/** - * Account update - */ -export type AccountUpdateArgs = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null - /** - * The data needed to update a Account. - */ - data: Prisma.XOR - /** - * Choose, which Account to update. - */ - where: Prisma.AccountWhereUniqueInput -} - -/** - * Account updateMany - */ -export type AccountUpdateManyArgs = { - /** - * The data used to update Accounts. - */ - data: Prisma.XOR - /** - * Filter which Accounts to update - */ - where?: Prisma.AccountWhereInput - /** - * Limit how many Accounts to update. - */ - limit?: number -} - -/** - * Account updateManyAndReturn - */ -export type AccountUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null - /** - * The data used to update Accounts. - */ - data: Prisma.XOR - /** - * Filter which Accounts to update - */ - where?: Prisma.AccountWhereInput - /** - * Limit how many Accounts to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountIncludeUpdateManyAndReturn | null -} - -/** - * Account upsert - */ -export type AccountUpsertArgs = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null - /** - * The filter to search for the Account to update in case it exists. - */ - where: Prisma.AccountWhereUniqueInput - /** - * In case the Account found by the `where` argument doesn't exist, create a new Account with this data. - */ - create: Prisma.XOR - /** - * In case the Account was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * Account delete - */ -export type AccountDeleteArgs = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null - /** - * Filter which Account to delete. - */ - where: Prisma.AccountWhereUniqueInput -} - -/** - * Account deleteMany - */ -export type AccountDeleteManyArgs = { - /** - * Filter which Accounts to delete - */ - where?: Prisma.AccountWhereInput - /** - * Limit how many Accounts to delete. - */ - limit?: number -} - -/** - * Account without action - */ -export type AccountDefaultArgs = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null -} diff --git a/src/generated/prisma/models/Agent.ts b/src/generated/prisma/models/Agent.ts deleted file mode 100644 index 617b11cb..00000000 --- a/src/generated/prisma/models/Agent.ts +++ /dev/null @@ -1,2291 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `Agent` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model Agent - * - */ -export type AgentModel = runtime.Types.Result.DefaultSelection - -export type AggregateAgent = { - _count: AgentCountAggregateOutputType | null - _min: AgentMinAggregateOutputType | null - _max: AgentMaxAggregateOutputType | null -} - -export type AgentMinAggregateOutputType = { - id: string | null - type: $Enums.AgentType | null - enabled: boolean | null - soul: string | null - providerId: string | null - modelId: string | null - teamId: string | null - createdAt: Date | null - updatedAt: Date | null -} - -export type AgentMaxAggregateOutputType = { - id: string | null - type: $Enums.AgentType | null - enabled: boolean | null - soul: string | null - providerId: string | null - modelId: string | null - teamId: string | null - createdAt: Date | null - updatedAt: Date | null -} - -export type AgentCountAggregateOutputType = { - id: number - type: number - enabled: number - soul: number - providerId: number - modelId: number - teamId: number - config:PrismaJson.AgentConfig - createdAt: number - updatedAt: number - _all: number -} - - -export type AgentMinAggregateInputType = { - id?: true - type?: true - enabled?: true - soul?: true - providerId?: true - modelId?: true - teamId?: true - createdAt?: true - updatedAt?: true -} - -export type AgentMaxAggregateInputType = { - id?: true - type?: true - enabled?: true - soul?: true - providerId?: true - modelId?: true - teamId?: true - createdAt?: true - updatedAt?: true -} - -export type AgentCountAggregateInputType = { - id?: true - type?: true - enabled?: true - soul?: true - providerId?: true - modelId?: true - teamId?: true - config?: true - createdAt?: true - updatedAt?: true - _all?: true -} - -export type AgentAggregateArgs = { - /** - * Filter which Agent to aggregate. - */ - where?: Prisma.AgentWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Agents to fetch. - */ - orderBy?: Prisma.AgentOrderByWithRelationInput | Prisma.AgentOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.AgentWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Agents from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Agents. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Agents - **/ - _count?: true | AgentCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: AgentMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: AgentMaxAggregateInputType -} - -export type GetAgentAggregateType = { - [P in keyof T & keyof AggregateAgent]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type AgentGroupByArgs = { - where?: Prisma.AgentWhereInput - orderBy?: Prisma.AgentOrderByWithAggregationInput | Prisma.AgentOrderByWithAggregationInput[] - by: Prisma.AgentScalarFieldEnum[] | Prisma.AgentScalarFieldEnum - having?: Prisma.AgentScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: AgentCountAggregateInputType | true - _min?: AgentMinAggregateInputType - _max?: AgentMaxAggregateInputType -} - -export type AgentGroupByOutputType = { - id: string - type: $Enums.AgentType - enabled: boolean - soul: string | null - providerId: string | null - modelId: string | null - teamId: string - config:PrismaJson.AgentConfig - createdAt: Date - updatedAt: Date - _count: AgentCountAggregateOutputType | null - _min: AgentMinAggregateOutputType | null - _max: AgentMaxAggregateOutputType | null -} - -export type GetAgentGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof AgentGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type AgentWhereInput = { - AND?: Prisma.AgentWhereInput | Prisma.AgentWhereInput[] - OR?: Prisma.AgentWhereInput[] - NOT?: Prisma.AgentWhereInput | Prisma.AgentWhereInput[] - id?: Prisma.StringFilter<"Agent"> | string - type?: Prisma.EnumAgentTypeFilter<"Agent"> | $Enums.AgentType - enabled?: Prisma.BoolFilter<"Agent"> | boolean - soul?: Prisma.StringNullableFilter<"Agent"> | string | null - providerId?: Prisma.StringNullableFilter<"Agent"> | string | null - modelId?: Prisma.StringNullableFilter<"Agent"> | string | null - teamId?: Prisma.StringFilter<"Agent"> | string - config?: Prisma.JsonFilter<"Agent"> - createdAt?: Prisma.DateTimeFilter<"Agent"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Agent"> | Date | string - user?: Prisma.XOR - provider?: Prisma.XOR | null - modelRef?: Prisma.XOR | null - team?: Prisma.XOR - agentSessions?: Prisma.AgentSessionListRelationFilter - skills?: Prisma.AgentSkillListRelationFilter -} - -export type AgentOrderByWithRelationInput = { - id?: Prisma.SortOrder - type?: Prisma.SortOrder - enabled?: Prisma.SortOrder - soul?: Prisma.SortOrderInput | Prisma.SortOrder - providerId?: Prisma.SortOrderInput | Prisma.SortOrder - modelId?: Prisma.SortOrderInput | Prisma.SortOrder - teamId?: Prisma.SortOrder - config?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - user?: Prisma.UserOrderByWithRelationInput - provider?: Prisma.ProviderOrderByWithRelationInput - modelRef?: Prisma.ModelOrderByWithRelationInput - team?: Prisma.TeamOrderByWithRelationInput - agentSessions?: Prisma.AgentSessionOrderByRelationAggregateInput - skills?: Prisma.AgentSkillOrderByRelationAggregateInput -} - -export type AgentWhereUniqueInput = Prisma.AtLeast<{ - id?: string - AND?: Prisma.AgentWhereInput | Prisma.AgentWhereInput[] - OR?: Prisma.AgentWhereInput[] - NOT?: Prisma.AgentWhereInput | Prisma.AgentWhereInput[] - type?: Prisma.EnumAgentTypeFilter<"Agent"> | $Enums.AgentType - enabled?: Prisma.BoolFilter<"Agent"> | boolean - soul?: Prisma.StringNullableFilter<"Agent"> | string | null - providerId?: Prisma.StringNullableFilter<"Agent"> | string | null - modelId?: Prisma.StringNullableFilter<"Agent"> | string | null - teamId?: Prisma.StringFilter<"Agent"> | string - config?: Prisma.JsonFilter<"Agent"> - createdAt?: Prisma.DateTimeFilter<"Agent"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Agent"> | Date | string - user?: Prisma.XOR - provider?: Prisma.XOR | null - modelRef?: Prisma.XOR | null - team?: Prisma.XOR - agentSessions?: Prisma.AgentSessionListRelationFilter - skills?: Prisma.AgentSkillListRelationFilter -}, "id"> - -export type AgentOrderByWithAggregationInput = { - id?: Prisma.SortOrder - type?: Prisma.SortOrder - enabled?: Prisma.SortOrder - soul?: Prisma.SortOrderInput | Prisma.SortOrder - providerId?: Prisma.SortOrderInput | Prisma.SortOrder - modelId?: Prisma.SortOrderInput | Prisma.SortOrder - teamId?: Prisma.SortOrder - config?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - _count?: Prisma.AgentCountOrderByAggregateInput - _max?: Prisma.AgentMaxOrderByAggregateInput - _min?: Prisma.AgentMinOrderByAggregateInput -} - -export type AgentScalarWhereWithAggregatesInput = { - AND?: Prisma.AgentScalarWhereWithAggregatesInput | Prisma.AgentScalarWhereWithAggregatesInput[] - OR?: Prisma.AgentScalarWhereWithAggregatesInput[] - NOT?: Prisma.AgentScalarWhereWithAggregatesInput | Prisma.AgentScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"Agent"> | string - type?: Prisma.EnumAgentTypeWithAggregatesFilter<"Agent"> | $Enums.AgentType - enabled?: Prisma.BoolWithAggregatesFilter<"Agent"> | boolean - soul?: Prisma.StringNullableWithAggregatesFilter<"Agent"> | string | null - providerId?: Prisma.StringNullableWithAggregatesFilter<"Agent"> | string | null - modelId?: Prisma.StringNullableWithAggregatesFilter<"Agent"> | string | null - teamId?: Prisma.StringWithAggregatesFilter<"Agent"> | string - config?: Prisma.JsonWithAggregatesFilter<"Agent"> - createdAt?: Prisma.DateTimeWithAggregatesFilter<"Agent"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Agent"> | Date | string -} - -export type AgentCreateInput = { - type: $Enums.AgentType - enabled?: boolean - soul?: string | null - config:PrismaJson.AgentConfig - createdAt?: Date | string - updatedAt?: Date | string - user: Prisma.UserCreateNestedOneWithoutAgentInput - provider?: Prisma.ProviderCreateNestedOneWithoutAgentsInput - modelRef?: Prisma.ModelCreateNestedOneWithoutAgentsInput - team: Prisma.TeamCreateNestedOneWithoutAgentsInput - agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAgentInput - skills?: Prisma.AgentSkillCreateNestedManyWithoutAgentInput -} - -export type AgentUncheckedCreateInput = { - id: string - type: $Enums.AgentType - enabled?: boolean - soul?: string | null - providerId?: string | null - modelId?: string | null - teamId: string - config:PrismaJson.AgentConfig - createdAt?: Date | string - updatedAt?: Date | string - agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAgentInput - skills?: Prisma.AgentSkillUncheckedCreateNestedManyWithoutAgentInput -} - -export type AgentUpdateInput = { - type?: Prisma.EnumAgentTypeFieldUpdateOperationsInput | $Enums.AgentType - enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - soul?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - config?:PrismaJson.AgentConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - user?: Prisma.UserUpdateOneRequiredWithoutAgentNestedInput - provider?: Prisma.ProviderUpdateOneWithoutAgentsNestedInput - modelRef?: Prisma.ModelUpdateOneWithoutAgentsNestedInput - team?: Prisma.TeamUpdateOneRequiredWithoutAgentsNestedInput - agentSessions?: Prisma.AgentSessionUpdateManyWithoutAgentNestedInput - skills?: Prisma.AgentSkillUpdateManyWithoutAgentNestedInput -} - -export type AgentUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumAgentTypeFieldUpdateOperationsInput | $Enums.AgentType - enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - soul?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - providerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - modelId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - teamId?: Prisma.StringFieldUpdateOperationsInput | string - config?:PrismaJson.AgentConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAgentNestedInput - skills?: Prisma.AgentSkillUncheckedUpdateManyWithoutAgentNestedInput -} - -export type AgentCreateManyInput = { - id: string - type: $Enums.AgentType - enabled?: boolean - soul?: string | null - providerId?: string | null - modelId?: string | null - teamId: string - config:PrismaJson.AgentConfig - createdAt?: Date | string - updatedAt?: Date | string -} - -export type AgentUpdateManyMutationInput = { - type?: Prisma.EnumAgentTypeFieldUpdateOperationsInput | $Enums.AgentType - enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - soul?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - config?:PrismaJson.AgentConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AgentUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumAgentTypeFieldUpdateOperationsInput | $Enums.AgentType - enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - soul?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - providerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - modelId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - teamId?: Prisma.StringFieldUpdateOperationsInput | string - config?:PrismaJson.AgentConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AgentNullableScalarRelationFilter = { - is?: Prisma.AgentWhereInput | null - isNot?: Prisma.AgentWhereInput | null -} - -export type AgentListRelationFilter = { - every?: Prisma.AgentWhereInput - some?: Prisma.AgentWhereInput - none?: Prisma.AgentWhereInput -} - -export type AgentOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type AgentCountOrderByAggregateInput = { - id?: Prisma.SortOrder - type?: Prisma.SortOrder - enabled?: Prisma.SortOrder - soul?: Prisma.SortOrder - providerId?: Prisma.SortOrder - modelId?: Prisma.SortOrder - teamId?: Prisma.SortOrder - config?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type AgentMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - type?: Prisma.SortOrder - enabled?: Prisma.SortOrder - soul?: Prisma.SortOrder - providerId?: Prisma.SortOrder - modelId?: Prisma.SortOrder - teamId?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type AgentMinOrderByAggregateInput = { - id?: Prisma.SortOrder - type?: Prisma.SortOrder - enabled?: Prisma.SortOrder - soul?: Prisma.SortOrder - providerId?: Prisma.SortOrder - modelId?: Prisma.SortOrder - teamId?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type AgentScalarRelationFilter = { - is?: Prisma.AgentWhereInput - isNot?: Prisma.AgentWhereInput -} - -export type AgentCreateNestedOneWithoutUserInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AgentCreateOrConnectWithoutUserInput - connect?: Prisma.AgentWhereUniqueInput -} - -export type AgentUncheckedCreateNestedOneWithoutUserInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AgentCreateOrConnectWithoutUserInput - connect?: Prisma.AgentWhereUniqueInput -} - -export type AgentUpdateOneWithoutUserNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AgentCreateOrConnectWithoutUserInput - upsert?: Prisma.AgentUpsertWithoutUserInput - disconnect?: Prisma.AgentWhereInput | boolean - delete?: Prisma.AgentWhereInput | boolean - connect?: Prisma.AgentWhereUniqueInput - update?: Prisma.XOR, Prisma.AgentUncheckedUpdateWithoutUserInput> -} - -export type AgentUncheckedUpdateOneWithoutUserNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AgentCreateOrConnectWithoutUserInput - upsert?: Prisma.AgentUpsertWithoutUserInput - disconnect?: Prisma.AgentWhereInput | boolean - delete?: Prisma.AgentWhereInput | boolean - connect?: Prisma.AgentWhereUniqueInput - update?: Prisma.XOR, Prisma.AgentUncheckedUpdateWithoutUserInput> -} - -export type AgentCreateNestedManyWithoutTeamInput = { - create?: Prisma.XOR | Prisma.AgentCreateWithoutTeamInput[] | Prisma.AgentUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.AgentCreateOrConnectWithoutTeamInput | Prisma.AgentCreateOrConnectWithoutTeamInput[] - createMany?: Prisma.AgentCreateManyTeamInputEnvelope - connect?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] -} - -export type AgentUncheckedCreateNestedManyWithoutTeamInput = { - create?: Prisma.XOR | Prisma.AgentCreateWithoutTeamInput[] | Prisma.AgentUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.AgentCreateOrConnectWithoutTeamInput | Prisma.AgentCreateOrConnectWithoutTeamInput[] - createMany?: Prisma.AgentCreateManyTeamInputEnvelope - connect?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] -} - -export type AgentUpdateManyWithoutTeamNestedInput = { - create?: Prisma.XOR | Prisma.AgentCreateWithoutTeamInput[] | Prisma.AgentUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.AgentCreateOrConnectWithoutTeamInput | Prisma.AgentCreateOrConnectWithoutTeamInput[] - upsert?: Prisma.AgentUpsertWithWhereUniqueWithoutTeamInput | Prisma.AgentUpsertWithWhereUniqueWithoutTeamInput[] - createMany?: Prisma.AgentCreateManyTeamInputEnvelope - set?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] - disconnect?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] - delete?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] - connect?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] - update?: Prisma.AgentUpdateWithWhereUniqueWithoutTeamInput | Prisma.AgentUpdateWithWhereUniqueWithoutTeamInput[] - updateMany?: Prisma.AgentUpdateManyWithWhereWithoutTeamInput | Prisma.AgentUpdateManyWithWhereWithoutTeamInput[] - deleteMany?: Prisma.AgentScalarWhereInput | Prisma.AgentScalarWhereInput[] -} - -export type AgentUncheckedUpdateManyWithoutTeamNestedInput = { - create?: Prisma.XOR | Prisma.AgentCreateWithoutTeamInput[] | Prisma.AgentUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.AgentCreateOrConnectWithoutTeamInput | Prisma.AgentCreateOrConnectWithoutTeamInput[] - upsert?: Prisma.AgentUpsertWithWhereUniqueWithoutTeamInput | Prisma.AgentUpsertWithWhereUniqueWithoutTeamInput[] - createMany?: Prisma.AgentCreateManyTeamInputEnvelope - set?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] - disconnect?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] - delete?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] - connect?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] - update?: Prisma.AgentUpdateWithWhereUniqueWithoutTeamInput | Prisma.AgentUpdateWithWhereUniqueWithoutTeamInput[] - updateMany?: Prisma.AgentUpdateManyWithWhereWithoutTeamInput | Prisma.AgentUpdateManyWithWhereWithoutTeamInput[] - deleteMany?: Prisma.AgentScalarWhereInput | Prisma.AgentScalarWhereInput[] -} - -export type EnumAgentTypeFieldUpdateOperationsInput = { - set?: $Enums.AgentType -} - -export type AgentCreateNestedOneWithoutSkillsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AgentCreateOrConnectWithoutSkillsInput - connect?: Prisma.AgentWhereUniqueInput -} - -export type AgentUpdateOneRequiredWithoutSkillsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AgentCreateOrConnectWithoutSkillsInput - upsert?: Prisma.AgentUpsertWithoutSkillsInput - connect?: Prisma.AgentWhereUniqueInput - update?: Prisma.XOR, Prisma.AgentUncheckedUpdateWithoutSkillsInput> -} - -export type AgentCreateNestedOneWithoutAgentSessionsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AgentCreateOrConnectWithoutAgentSessionsInput - connect?: Prisma.AgentWhereUniqueInput -} - -export type AgentUpdateOneRequiredWithoutAgentSessionsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AgentCreateOrConnectWithoutAgentSessionsInput - upsert?: Prisma.AgentUpsertWithoutAgentSessionsInput - connect?: Prisma.AgentWhereUniqueInput - update?: Prisma.XOR, Prisma.AgentUncheckedUpdateWithoutAgentSessionsInput> -} - -export type AgentCreateNestedManyWithoutModelRefInput = { - create?: Prisma.XOR | Prisma.AgentCreateWithoutModelRefInput[] | Prisma.AgentUncheckedCreateWithoutModelRefInput[] - connectOrCreate?: Prisma.AgentCreateOrConnectWithoutModelRefInput | Prisma.AgentCreateOrConnectWithoutModelRefInput[] - createMany?: Prisma.AgentCreateManyModelRefInputEnvelope - connect?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] -} - -export type AgentUncheckedCreateNestedManyWithoutModelRefInput = { - create?: Prisma.XOR | Prisma.AgentCreateWithoutModelRefInput[] | Prisma.AgentUncheckedCreateWithoutModelRefInput[] - connectOrCreate?: Prisma.AgentCreateOrConnectWithoutModelRefInput | Prisma.AgentCreateOrConnectWithoutModelRefInput[] - createMany?: Prisma.AgentCreateManyModelRefInputEnvelope - connect?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] -} - -export type AgentUpdateManyWithoutModelRefNestedInput = { - create?: Prisma.XOR | Prisma.AgentCreateWithoutModelRefInput[] | Prisma.AgentUncheckedCreateWithoutModelRefInput[] - connectOrCreate?: Prisma.AgentCreateOrConnectWithoutModelRefInput | Prisma.AgentCreateOrConnectWithoutModelRefInput[] - upsert?: Prisma.AgentUpsertWithWhereUniqueWithoutModelRefInput | Prisma.AgentUpsertWithWhereUniqueWithoutModelRefInput[] - createMany?: Prisma.AgentCreateManyModelRefInputEnvelope - set?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] - disconnect?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] - delete?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] - connect?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] - update?: Prisma.AgentUpdateWithWhereUniqueWithoutModelRefInput | Prisma.AgentUpdateWithWhereUniqueWithoutModelRefInput[] - updateMany?: Prisma.AgentUpdateManyWithWhereWithoutModelRefInput | Prisma.AgentUpdateManyWithWhereWithoutModelRefInput[] - deleteMany?: Prisma.AgentScalarWhereInput | Prisma.AgentScalarWhereInput[] -} - -export type AgentUncheckedUpdateManyWithoutModelRefNestedInput = { - create?: Prisma.XOR | Prisma.AgentCreateWithoutModelRefInput[] | Prisma.AgentUncheckedCreateWithoutModelRefInput[] - connectOrCreate?: Prisma.AgentCreateOrConnectWithoutModelRefInput | Prisma.AgentCreateOrConnectWithoutModelRefInput[] - upsert?: Prisma.AgentUpsertWithWhereUniqueWithoutModelRefInput | Prisma.AgentUpsertWithWhereUniqueWithoutModelRefInput[] - createMany?: Prisma.AgentCreateManyModelRefInputEnvelope - set?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] - disconnect?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] - delete?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] - connect?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] - update?: Prisma.AgentUpdateWithWhereUniqueWithoutModelRefInput | Prisma.AgentUpdateWithWhereUniqueWithoutModelRefInput[] - updateMany?: Prisma.AgentUpdateManyWithWhereWithoutModelRefInput | Prisma.AgentUpdateManyWithWhereWithoutModelRefInput[] - deleteMany?: Prisma.AgentScalarWhereInput | Prisma.AgentScalarWhereInput[] -} - -export type AgentCreateNestedManyWithoutProviderInput = { - create?: Prisma.XOR | Prisma.AgentCreateWithoutProviderInput[] | Prisma.AgentUncheckedCreateWithoutProviderInput[] - connectOrCreate?: Prisma.AgentCreateOrConnectWithoutProviderInput | Prisma.AgentCreateOrConnectWithoutProviderInput[] - createMany?: Prisma.AgentCreateManyProviderInputEnvelope - connect?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] -} - -export type AgentUncheckedCreateNestedManyWithoutProviderInput = { - create?: Prisma.XOR | Prisma.AgentCreateWithoutProviderInput[] | Prisma.AgentUncheckedCreateWithoutProviderInput[] - connectOrCreate?: Prisma.AgentCreateOrConnectWithoutProviderInput | Prisma.AgentCreateOrConnectWithoutProviderInput[] - createMany?: Prisma.AgentCreateManyProviderInputEnvelope - connect?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] -} - -export type AgentUpdateManyWithoutProviderNestedInput = { - create?: Prisma.XOR | Prisma.AgentCreateWithoutProviderInput[] | Prisma.AgentUncheckedCreateWithoutProviderInput[] - connectOrCreate?: Prisma.AgentCreateOrConnectWithoutProviderInput | Prisma.AgentCreateOrConnectWithoutProviderInput[] - upsert?: Prisma.AgentUpsertWithWhereUniqueWithoutProviderInput | Prisma.AgentUpsertWithWhereUniqueWithoutProviderInput[] - createMany?: Prisma.AgentCreateManyProviderInputEnvelope - set?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] - disconnect?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] - delete?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] - connect?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] - update?: Prisma.AgentUpdateWithWhereUniqueWithoutProviderInput | Prisma.AgentUpdateWithWhereUniqueWithoutProviderInput[] - updateMany?: Prisma.AgentUpdateManyWithWhereWithoutProviderInput | Prisma.AgentUpdateManyWithWhereWithoutProviderInput[] - deleteMany?: Prisma.AgentScalarWhereInput | Prisma.AgentScalarWhereInput[] -} - -export type AgentUncheckedUpdateManyWithoutProviderNestedInput = { - create?: Prisma.XOR | Prisma.AgentCreateWithoutProviderInput[] | Prisma.AgentUncheckedCreateWithoutProviderInput[] - connectOrCreate?: Prisma.AgentCreateOrConnectWithoutProviderInput | Prisma.AgentCreateOrConnectWithoutProviderInput[] - upsert?: Prisma.AgentUpsertWithWhereUniqueWithoutProviderInput | Prisma.AgentUpsertWithWhereUniqueWithoutProviderInput[] - createMany?: Prisma.AgentCreateManyProviderInputEnvelope - set?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] - disconnect?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] - delete?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] - connect?: Prisma.AgentWhereUniqueInput | Prisma.AgentWhereUniqueInput[] - update?: Prisma.AgentUpdateWithWhereUniqueWithoutProviderInput | Prisma.AgentUpdateWithWhereUniqueWithoutProviderInput[] - updateMany?: Prisma.AgentUpdateManyWithWhereWithoutProviderInput | Prisma.AgentUpdateManyWithWhereWithoutProviderInput[] - deleteMany?: Prisma.AgentScalarWhereInput | Prisma.AgentScalarWhereInput[] -} - -export type AgentCreateWithoutUserInput = { - type: $Enums.AgentType - enabled?: boolean - soul?: string | null - config:PrismaJson.AgentConfig - createdAt?: Date | string - updatedAt?: Date | string - provider?: Prisma.ProviderCreateNestedOneWithoutAgentsInput - modelRef?: Prisma.ModelCreateNestedOneWithoutAgentsInput - team: Prisma.TeamCreateNestedOneWithoutAgentsInput - agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAgentInput - skills?: Prisma.AgentSkillCreateNestedManyWithoutAgentInput -} - -export type AgentUncheckedCreateWithoutUserInput = { - type: $Enums.AgentType - enabled?: boolean - soul?: string | null - providerId?: string | null - modelId?: string | null - teamId: string - config:PrismaJson.AgentConfig - createdAt?: Date | string - updatedAt?: Date | string - agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAgentInput - skills?: Prisma.AgentSkillUncheckedCreateNestedManyWithoutAgentInput -} - -export type AgentCreateOrConnectWithoutUserInput = { - where: Prisma.AgentWhereUniqueInput - create: Prisma.XOR -} - -export type AgentUpsertWithoutUserInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.AgentWhereInput -} - -export type AgentUpdateToOneWithWhereWithoutUserInput = { - where?: Prisma.AgentWhereInput - data: Prisma.XOR -} - -export type AgentUpdateWithoutUserInput = { - type?: Prisma.EnumAgentTypeFieldUpdateOperationsInput | $Enums.AgentType - enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - soul?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - config?:PrismaJson.AgentConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - provider?: Prisma.ProviderUpdateOneWithoutAgentsNestedInput - modelRef?: Prisma.ModelUpdateOneWithoutAgentsNestedInput - team?: Prisma.TeamUpdateOneRequiredWithoutAgentsNestedInput - agentSessions?: Prisma.AgentSessionUpdateManyWithoutAgentNestedInput - skills?: Prisma.AgentSkillUpdateManyWithoutAgentNestedInput -} - -export type AgentUncheckedUpdateWithoutUserInput = { - type?: Prisma.EnumAgentTypeFieldUpdateOperationsInput | $Enums.AgentType - enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - soul?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - providerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - modelId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - teamId?: Prisma.StringFieldUpdateOperationsInput | string - config?:PrismaJson.AgentConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAgentNestedInput - skills?: Prisma.AgentSkillUncheckedUpdateManyWithoutAgentNestedInput -} - -export type AgentCreateWithoutTeamInput = { - type: $Enums.AgentType - enabled?: boolean - soul?: string | null - config:PrismaJson.AgentConfig - createdAt?: Date | string - updatedAt?: Date | string - user: Prisma.UserCreateNestedOneWithoutAgentInput - provider?: Prisma.ProviderCreateNestedOneWithoutAgentsInput - modelRef?: Prisma.ModelCreateNestedOneWithoutAgentsInput - agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAgentInput - skills?: Prisma.AgentSkillCreateNestedManyWithoutAgentInput -} - -export type AgentUncheckedCreateWithoutTeamInput = { - id: string - type: $Enums.AgentType - enabled?: boolean - soul?: string | null - providerId?: string | null - modelId?: string | null - config:PrismaJson.AgentConfig - createdAt?: Date | string - updatedAt?: Date | string - agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAgentInput - skills?: Prisma.AgentSkillUncheckedCreateNestedManyWithoutAgentInput -} - -export type AgentCreateOrConnectWithoutTeamInput = { - where: Prisma.AgentWhereUniqueInput - create: Prisma.XOR -} - -export type AgentCreateManyTeamInputEnvelope = { - data: Prisma.AgentCreateManyTeamInput | Prisma.AgentCreateManyTeamInput[] - skipDuplicates?: boolean -} - -export type AgentUpsertWithWhereUniqueWithoutTeamInput = { - where: Prisma.AgentWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type AgentUpdateWithWhereUniqueWithoutTeamInput = { - where: Prisma.AgentWhereUniqueInput - data: Prisma.XOR -} - -export type AgentUpdateManyWithWhereWithoutTeamInput = { - where: Prisma.AgentScalarWhereInput - data: Prisma.XOR -} - -export type AgentScalarWhereInput = { - AND?: Prisma.AgentScalarWhereInput | Prisma.AgentScalarWhereInput[] - OR?: Prisma.AgentScalarWhereInput[] - NOT?: Prisma.AgentScalarWhereInput | Prisma.AgentScalarWhereInput[] - id?: Prisma.StringFilter<"Agent"> | string - type?: Prisma.EnumAgentTypeFilter<"Agent"> | $Enums.AgentType - enabled?: Prisma.BoolFilter<"Agent"> | boolean - soul?: Prisma.StringNullableFilter<"Agent"> | string | null - providerId?: Prisma.StringNullableFilter<"Agent"> | string | null - modelId?: Prisma.StringNullableFilter<"Agent"> | string | null - teamId?: Prisma.StringFilter<"Agent"> | string - config?: Prisma.JsonFilter<"Agent"> - createdAt?: Prisma.DateTimeFilter<"Agent"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Agent"> | Date | string -} - -export type AgentCreateWithoutSkillsInput = { - type: $Enums.AgentType - enabled?: boolean - soul?: string | null - config:PrismaJson.AgentConfig - createdAt?: Date | string - updatedAt?: Date | string - user: Prisma.UserCreateNestedOneWithoutAgentInput - provider?: Prisma.ProviderCreateNestedOneWithoutAgentsInput - modelRef?: Prisma.ModelCreateNestedOneWithoutAgentsInput - team: Prisma.TeamCreateNestedOneWithoutAgentsInput - agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAgentInput -} - -export type AgentUncheckedCreateWithoutSkillsInput = { - id: string - type: $Enums.AgentType - enabled?: boolean - soul?: string | null - providerId?: string | null - modelId?: string | null - teamId: string - config:PrismaJson.AgentConfig - createdAt?: Date | string - updatedAt?: Date | string - agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAgentInput -} - -export type AgentCreateOrConnectWithoutSkillsInput = { - where: Prisma.AgentWhereUniqueInput - create: Prisma.XOR -} - -export type AgentUpsertWithoutSkillsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.AgentWhereInput -} - -export type AgentUpdateToOneWithWhereWithoutSkillsInput = { - where?: Prisma.AgentWhereInput - data: Prisma.XOR -} - -export type AgentUpdateWithoutSkillsInput = { - type?: Prisma.EnumAgentTypeFieldUpdateOperationsInput | $Enums.AgentType - enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - soul?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - config?:PrismaJson.AgentConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - user?: Prisma.UserUpdateOneRequiredWithoutAgentNestedInput - provider?: Prisma.ProviderUpdateOneWithoutAgentsNestedInput - modelRef?: Prisma.ModelUpdateOneWithoutAgentsNestedInput - team?: Prisma.TeamUpdateOneRequiredWithoutAgentsNestedInput - agentSessions?: Prisma.AgentSessionUpdateManyWithoutAgentNestedInput -} - -export type AgentUncheckedUpdateWithoutSkillsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumAgentTypeFieldUpdateOperationsInput | $Enums.AgentType - enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - soul?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - providerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - modelId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - teamId?: Prisma.StringFieldUpdateOperationsInput | string - config?:PrismaJson.AgentConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAgentNestedInput -} - -export type AgentCreateWithoutAgentSessionsInput = { - type: $Enums.AgentType - enabled?: boolean - soul?: string | null - config:PrismaJson.AgentConfig - createdAt?: Date | string - updatedAt?: Date | string - user: Prisma.UserCreateNestedOneWithoutAgentInput - provider?: Prisma.ProviderCreateNestedOneWithoutAgentsInput - modelRef?: Prisma.ModelCreateNestedOneWithoutAgentsInput - team: Prisma.TeamCreateNestedOneWithoutAgentsInput - skills?: Prisma.AgentSkillCreateNestedManyWithoutAgentInput -} - -export type AgentUncheckedCreateWithoutAgentSessionsInput = { - id: string - type: $Enums.AgentType - enabled?: boolean - soul?: string | null - providerId?: string | null - modelId?: string | null - teamId: string - config:PrismaJson.AgentConfig - createdAt?: Date | string - updatedAt?: Date | string - skills?: Prisma.AgentSkillUncheckedCreateNestedManyWithoutAgentInput -} - -export type AgentCreateOrConnectWithoutAgentSessionsInput = { - where: Prisma.AgentWhereUniqueInput - create: Prisma.XOR -} - -export type AgentUpsertWithoutAgentSessionsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.AgentWhereInput -} - -export type AgentUpdateToOneWithWhereWithoutAgentSessionsInput = { - where?: Prisma.AgentWhereInput - data: Prisma.XOR -} - -export type AgentUpdateWithoutAgentSessionsInput = { - type?: Prisma.EnumAgentTypeFieldUpdateOperationsInput | $Enums.AgentType - enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - soul?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - config?:PrismaJson.AgentConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - user?: Prisma.UserUpdateOneRequiredWithoutAgentNestedInput - provider?: Prisma.ProviderUpdateOneWithoutAgentsNestedInput - modelRef?: Prisma.ModelUpdateOneWithoutAgentsNestedInput - team?: Prisma.TeamUpdateOneRequiredWithoutAgentsNestedInput - skills?: Prisma.AgentSkillUpdateManyWithoutAgentNestedInput -} - -export type AgentUncheckedUpdateWithoutAgentSessionsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumAgentTypeFieldUpdateOperationsInput | $Enums.AgentType - enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - soul?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - providerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - modelId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - teamId?: Prisma.StringFieldUpdateOperationsInput | string - config?:PrismaJson.AgentConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - skills?: Prisma.AgentSkillUncheckedUpdateManyWithoutAgentNestedInput -} - -export type AgentCreateWithoutModelRefInput = { - type: $Enums.AgentType - enabled?: boolean - soul?: string | null - config:PrismaJson.AgentConfig - createdAt?: Date | string - updatedAt?: Date | string - user: Prisma.UserCreateNestedOneWithoutAgentInput - provider?: Prisma.ProviderCreateNestedOneWithoutAgentsInput - team: Prisma.TeamCreateNestedOneWithoutAgentsInput - agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAgentInput - skills?: Prisma.AgentSkillCreateNestedManyWithoutAgentInput -} - -export type AgentUncheckedCreateWithoutModelRefInput = { - id: string - type: $Enums.AgentType - enabled?: boolean - soul?: string | null - providerId?: string | null - teamId: string - config:PrismaJson.AgentConfig - createdAt?: Date | string - updatedAt?: Date | string - agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAgentInput - skills?: Prisma.AgentSkillUncheckedCreateNestedManyWithoutAgentInput -} - -export type AgentCreateOrConnectWithoutModelRefInput = { - where: Prisma.AgentWhereUniqueInput - create: Prisma.XOR -} - -export type AgentCreateManyModelRefInputEnvelope = { - data: Prisma.AgentCreateManyModelRefInput | Prisma.AgentCreateManyModelRefInput[] - skipDuplicates?: boolean -} - -export type AgentUpsertWithWhereUniqueWithoutModelRefInput = { - where: Prisma.AgentWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type AgentUpdateWithWhereUniqueWithoutModelRefInput = { - where: Prisma.AgentWhereUniqueInput - data: Prisma.XOR -} - -export type AgentUpdateManyWithWhereWithoutModelRefInput = { - where: Prisma.AgentScalarWhereInput - data: Prisma.XOR -} - -export type AgentCreateWithoutProviderInput = { - type: $Enums.AgentType - enabled?: boolean - soul?: string | null - config:PrismaJson.AgentConfig - createdAt?: Date | string - updatedAt?: Date | string - user: Prisma.UserCreateNestedOneWithoutAgentInput - modelRef?: Prisma.ModelCreateNestedOneWithoutAgentsInput - team: Prisma.TeamCreateNestedOneWithoutAgentsInput - agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutAgentInput - skills?: Prisma.AgentSkillCreateNestedManyWithoutAgentInput -} - -export type AgentUncheckedCreateWithoutProviderInput = { - id: string - type: $Enums.AgentType - enabled?: boolean - soul?: string | null - modelId?: string | null - teamId: string - config:PrismaJson.AgentConfig - createdAt?: Date | string - updatedAt?: Date | string - agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutAgentInput - skills?: Prisma.AgentSkillUncheckedCreateNestedManyWithoutAgentInput -} - -export type AgentCreateOrConnectWithoutProviderInput = { - where: Prisma.AgentWhereUniqueInput - create: Prisma.XOR -} - -export type AgentCreateManyProviderInputEnvelope = { - data: Prisma.AgentCreateManyProviderInput | Prisma.AgentCreateManyProviderInput[] - skipDuplicates?: boolean -} - -export type AgentUpsertWithWhereUniqueWithoutProviderInput = { - where: Prisma.AgentWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type AgentUpdateWithWhereUniqueWithoutProviderInput = { - where: Prisma.AgentWhereUniqueInput - data: Prisma.XOR -} - -export type AgentUpdateManyWithWhereWithoutProviderInput = { - where: Prisma.AgentScalarWhereInput - data: Prisma.XOR -} - -export type AgentCreateManyTeamInput = { - id: string - type: $Enums.AgentType - enabled?: boolean - soul?: string | null - providerId?: string | null - modelId?: string | null - config:PrismaJson.AgentConfig - createdAt?: Date | string - updatedAt?: Date | string -} - -export type AgentUpdateWithoutTeamInput = { - type?: Prisma.EnumAgentTypeFieldUpdateOperationsInput | $Enums.AgentType - enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - soul?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - config?:PrismaJson.AgentConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - user?: Prisma.UserUpdateOneRequiredWithoutAgentNestedInput - provider?: Prisma.ProviderUpdateOneWithoutAgentsNestedInput - modelRef?: Prisma.ModelUpdateOneWithoutAgentsNestedInput - agentSessions?: Prisma.AgentSessionUpdateManyWithoutAgentNestedInput - skills?: Prisma.AgentSkillUpdateManyWithoutAgentNestedInput -} - -export type AgentUncheckedUpdateWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumAgentTypeFieldUpdateOperationsInput | $Enums.AgentType - enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - soul?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - providerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - modelId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - config?:PrismaJson.AgentConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAgentNestedInput - skills?: Prisma.AgentSkillUncheckedUpdateManyWithoutAgentNestedInput -} - -export type AgentUncheckedUpdateManyWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumAgentTypeFieldUpdateOperationsInput | $Enums.AgentType - enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - soul?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - providerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - modelId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - config?:PrismaJson.AgentConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AgentCreateManyModelRefInput = { - id: string - type: $Enums.AgentType - enabled?: boolean - soul?: string | null - providerId?: string | null - teamId: string - config:PrismaJson.AgentConfig - createdAt?: Date | string - updatedAt?: Date | string -} - -export type AgentUpdateWithoutModelRefInput = { - type?: Prisma.EnumAgentTypeFieldUpdateOperationsInput | $Enums.AgentType - enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - soul?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - config?:PrismaJson.AgentConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - user?: Prisma.UserUpdateOneRequiredWithoutAgentNestedInput - provider?: Prisma.ProviderUpdateOneWithoutAgentsNestedInput - team?: Prisma.TeamUpdateOneRequiredWithoutAgentsNestedInput - agentSessions?: Prisma.AgentSessionUpdateManyWithoutAgentNestedInput - skills?: Prisma.AgentSkillUpdateManyWithoutAgentNestedInput -} - -export type AgentUncheckedUpdateWithoutModelRefInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumAgentTypeFieldUpdateOperationsInput | $Enums.AgentType - enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - soul?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - providerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - teamId?: Prisma.StringFieldUpdateOperationsInput | string - config?:PrismaJson.AgentConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAgentNestedInput - skills?: Prisma.AgentSkillUncheckedUpdateManyWithoutAgentNestedInput -} - -export type AgentUncheckedUpdateManyWithoutModelRefInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumAgentTypeFieldUpdateOperationsInput | $Enums.AgentType - enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - soul?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - providerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - teamId?: Prisma.StringFieldUpdateOperationsInput | string - config?:PrismaJson.AgentConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AgentCreateManyProviderInput = { - id: string - type: $Enums.AgentType - enabled?: boolean - soul?: string | null - modelId?: string | null - teamId: string - config:PrismaJson.AgentConfig - createdAt?: Date | string - updatedAt?: Date | string -} - -export type AgentUpdateWithoutProviderInput = { - type?: Prisma.EnumAgentTypeFieldUpdateOperationsInput | $Enums.AgentType - enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - soul?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - config?:PrismaJson.AgentConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - user?: Prisma.UserUpdateOneRequiredWithoutAgentNestedInput - modelRef?: Prisma.ModelUpdateOneWithoutAgentsNestedInput - team?: Prisma.TeamUpdateOneRequiredWithoutAgentsNestedInput - agentSessions?: Prisma.AgentSessionUpdateManyWithoutAgentNestedInput - skills?: Prisma.AgentSkillUpdateManyWithoutAgentNestedInput -} - -export type AgentUncheckedUpdateWithoutProviderInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumAgentTypeFieldUpdateOperationsInput | $Enums.AgentType - enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - soul?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - modelId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - teamId?: Prisma.StringFieldUpdateOperationsInput | string - config?:PrismaJson.AgentConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutAgentNestedInput - skills?: Prisma.AgentSkillUncheckedUpdateManyWithoutAgentNestedInput -} - -export type AgentUncheckedUpdateManyWithoutProviderInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumAgentTypeFieldUpdateOperationsInput | $Enums.AgentType - enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - soul?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - modelId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - teamId?: Prisma.StringFieldUpdateOperationsInput | string - config?:PrismaJson.AgentConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - - -/** - * Count Type AgentCountOutputType - */ - -export type AgentCountOutputType = { - agentSessions: number - skills: number -} - -export type AgentCountOutputTypeSelect = { - agentSessions?: boolean | AgentCountOutputTypeCountAgentSessionsArgs - skills?: boolean | AgentCountOutputTypeCountSkillsArgs -} - -/** - * AgentCountOutputType without action - */ -export type AgentCountOutputTypeDefaultArgs = { - /** - * Select specific fields to fetch from the AgentCountOutputType - */ - select?: Prisma.AgentCountOutputTypeSelect | null -} - -/** - * AgentCountOutputType without action - */ -export type AgentCountOutputTypeCountAgentSessionsArgs = { - where?: Prisma.AgentSessionWhereInput -} - -/** - * AgentCountOutputType without action - */ -export type AgentCountOutputTypeCountSkillsArgs = { - where?: Prisma.AgentSkillWhereInput -} - - -export type AgentSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - type?: boolean - enabled?: boolean - soul?: boolean - providerId?: boolean - modelId?: boolean - teamId?: boolean - config?: boolean - createdAt?: boolean - updatedAt?: boolean - user?: boolean | Prisma.UserDefaultArgs - provider?: boolean | Prisma.Agent$providerArgs - modelRef?: boolean | Prisma.Agent$modelRefArgs - team?: boolean | Prisma.TeamDefaultArgs - agentSessions?: boolean | Prisma.Agent$agentSessionsArgs - skills?: boolean | Prisma.Agent$skillsArgs - _count?: boolean | Prisma.AgentCountOutputTypeDefaultArgs -}, ExtArgs["result"]["agent"]> - -export type AgentSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - type?: boolean - enabled?: boolean - soul?: boolean - providerId?: boolean - modelId?: boolean - teamId?: boolean - config?: boolean - createdAt?: boolean - updatedAt?: boolean - user?: boolean | Prisma.UserDefaultArgs - provider?: boolean | Prisma.Agent$providerArgs - modelRef?: boolean | Prisma.Agent$modelRefArgs - team?: boolean | Prisma.TeamDefaultArgs -}, ExtArgs["result"]["agent"]> - -export type AgentSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - type?: boolean - enabled?: boolean - soul?: boolean - providerId?: boolean - modelId?: boolean - teamId?: boolean - config?: boolean - createdAt?: boolean - updatedAt?: boolean - user?: boolean | Prisma.UserDefaultArgs - provider?: boolean | Prisma.Agent$providerArgs - modelRef?: boolean | Prisma.Agent$modelRefArgs - team?: boolean | Prisma.TeamDefaultArgs -}, ExtArgs["result"]["agent"]> - -export type AgentSelectScalar = { - id?: boolean - type?: boolean - enabled?: boolean - soul?: boolean - providerId?: boolean - modelId?: boolean - teamId?: boolean - config?: boolean - createdAt?: boolean - updatedAt?: boolean -} - -export type AgentOmit = runtime.Types.Extensions.GetOmit<"id" | "type" | "enabled" | "soul" | "providerId" | "modelId" | "teamId" | "config" | "createdAt" | "updatedAt", ExtArgs["result"]["agent"]> -export type AgentInclude = { - user?: boolean | Prisma.UserDefaultArgs - provider?: boolean | Prisma.Agent$providerArgs - modelRef?: boolean | Prisma.Agent$modelRefArgs - team?: boolean | Prisma.TeamDefaultArgs - agentSessions?: boolean | Prisma.Agent$agentSessionsArgs - skills?: boolean | Prisma.Agent$skillsArgs - _count?: boolean | Prisma.AgentCountOutputTypeDefaultArgs -} -export type AgentIncludeCreateManyAndReturn = { - user?: boolean | Prisma.UserDefaultArgs - provider?: boolean | Prisma.Agent$providerArgs - modelRef?: boolean | Prisma.Agent$modelRefArgs - team?: boolean | Prisma.TeamDefaultArgs -} -export type AgentIncludeUpdateManyAndReturn = { - user?: boolean | Prisma.UserDefaultArgs - provider?: boolean | Prisma.Agent$providerArgs - modelRef?: boolean | Prisma.Agent$modelRefArgs - team?: boolean | Prisma.TeamDefaultArgs -} - -export type $AgentPayload = { - name: "Agent" - objects: { - user: Prisma.$UserPayload - provider: Prisma.$ProviderPayload | null - modelRef: Prisma.$ModelPayload | null - team: Prisma.$TeamPayload - agentSessions: Prisma.$AgentSessionPayload[] - skills: Prisma.$AgentSkillPayload[] - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - type: $Enums.AgentType - enabled: boolean - soul: string | null - providerId: string | null - modelId: string | null - teamId: string - /** - * [AgentConfig] - */ - config:PrismaJson.AgentConfig - createdAt: Date - updatedAt: Date - }, ExtArgs["result"]["agent"]> - composites: {} -} - -export type AgentGetPayload = runtime.Types.Result.GetResult - -export type AgentCountArgs = - Omit & { - select?: AgentCountAggregateInputType | true - } - -export interface AgentDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['Agent'], meta: { name: 'Agent' } } - /** - * Find zero or one Agent that matches the filter. - * @param {AgentFindUniqueArgs} args - Arguments to find a Agent - * @example - * // Get one Agent - * const agent = await prisma.agent.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AgentClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one Agent that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {AgentFindUniqueOrThrowArgs} args - Arguments to find a Agent - * @example - * // Get one Agent - * const agent = await prisma.agent.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AgentClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Agent that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentFindFirstArgs} args - Arguments to find a Agent - * @example - * // Get one Agent - * const agent = await prisma.agent.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AgentClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Agent that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentFindFirstOrThrowArgs} args - Arguments to find a Agent - * @example - * // Get one Agent - * const agent = await prisma.agent.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AgentClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more Agents that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Agents - * const agents = await prisma.agent.findMany() - * - * // Get first 10 Agents - * const agents = await prisma.agent.findMany({ take: 10 }) - * - * // Only select the `id` - * const agentWithIdOnly = await prisma.agent.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a Agent. - * @param {AgentCreateArgs} args - Arguments to create a Agent. - * @example - * // Create one Agent - * const Agent = await prisma.agent.create({ - * data: { - * // ... data to create a Agent - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__AgentClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many Agents. - * @param {AgentCreateManyArgs} args - Arguments to create many Agents. - * @example - * // Create many Agents - * const agent = await prisma.agent.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many Agents and returns the data saved in the database. - * @param {AgentCreateManyAndReturnArgs} args - Arguments to create many Agents. - * @example - * // Create many Agents - * const agent = await prisma.agent.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Agents and only return the `id` - * const agentWithIdOnly = await prisma.agent.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a Agent. - * @param {AgentDeleteArgs} args - Arguments to delete one Agent. - * @example - * // Delete one Agent - * const Agent = await prisma.agent.delete({ - * where: { - * // ... filter to delete one Agent - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__AgentClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one Agent. - * @param {AgentUpdateArgs} args - Arguments to update one Agent. - * @example - * // Update one Agent - * const agent = await prisma.agent.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__AgentClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more Agents. - * @param {AgentDeleteManyArgs} args - Arguments to filter Agents to delete. - * @example - * // Delete a few Agents - * const { count } = await prisma.agent.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Agents. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Agents - * const agent = await prisma.agent.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Agents and returns the data updated in the database. - * @param {AgentUpdateManyAndReturnArgs} args - Arguments to update many Agents. - * @example - * // Update many Agents - * const agent = await prisma.agent.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Agents and only return the `id` - * const agentWithIdOnly = await prisma.agent.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one Agent. - * @param {AgentUpsertArgs} args - Arguments to update or create a Agent. - * @example - * // Update or create a Agent - * const agent = await prisma.agent.upsert({ - * create: { - * // ... data to create a Agent - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the Agent we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AgentClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of Agents. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentCountArgs} args - Arguments to filter Agents to count. - * @example - * // Count the number of Agents - * const count = await prisma.agent.count({ - * where: { - * // ... the filter for the Agents we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a Agent. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by Agent. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends AgentGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: AgentGroupByArgs['orderBy'] } - : { orderBy?: AgentGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetAgentGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the Agent model - */ -readonly fields: AgentFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for Agent. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__AgentClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - provider = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProviderClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - modelRef = {}>(args?: Prisma.Subset>): Prisma.Prisma__ModelClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - team = {}>(args?: Prisma.Subset>): Prisma.Prisma__TeamClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - agentSessions = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - skills = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the Agent model - */ -export interface AgentFieldRefs { - readonly id: Prisma.FieldRef<"Agent", 'String'> - readonly type: Prisma.FieldRef<"Agent", 'AgentType'> - readonly enabled: Prisma.FieldRef<"Agent", 'Boolean'> - readonly soul: Prisma.FieldRef<"Agent", 'String'> - readonly providerId: Prisma.FieldRef<"Agent", 'String'> - readonly modelId: Prisma.FieldRef<"Agent", 'String'> - readonly teamId: Prisma.FieldRef<"Agent", 'String'> - readonly config: Prisma.FieldRef<"Agent", 'Json'> - readonly createdAt: Prisma.FieldRef<"Agent", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"Agent", 'DateTime'> -} - - -// Custom InputTypes -/** - * Agent findUnique - */ -export type AgentFindUniqueArgs = { - /** - * Select specific fields to fetch from the Agent - */ - select?: Prisma.AgentSelect | null - /** - * Omit specific fields from the Agent - */ - omit?: Prisma.AgentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentInclude | null - /** - * Filter, which Agent to fetch. - */ - where: Prisma.AgentWhereUniqueInput -} - -/** - * Agent findUniqueOrThrow - */ -export type AgentFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the Agent - */ - select?: Prisma.AgentSelect | null - /** - * Omit specific fields from the Agent - */ - omit?: Prisma.AgentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentInclude | null - /** - * Filter, which Agent to fetch. - */ - where: Prisma.AgentWhereUniqueInput -} - -/** - * Agent findFirst - */ -export type AgentFindFirstArgs = { - /** - * Select specific fields to fetch from the Agent - */ - select?: Prisma.AgentSelect | null - /** - * Omit specific fields from the Agent - */ - omit?: Prisma.AgentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentInclude | null - /** - * Filter, which Agent to fetch. - */ - where?: Prisma.AgentWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Agents to fetch. - */ - orderBy?: Prisma.AgentOrderByWithRelationInput | Prisma.AgentOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Agents. - */ - cursor?: Prisma.AgentWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Agents from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Agents. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Agents. - */ - distinct?: Prisma.AgentScalarFieldEnum | Prisma.AgentScalarFieldEnum[] -} - -/** - * Agent findFirstOrThrow - */ -export type AgentFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the Agent - */ - select?: Prisma.AgentSelect | null - /** - * Omit specific fields from the Agent - */ - omit?: Prisma.AgentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentInclude | null - /** - * Filter, which Agent to fetch. - */ - where?: Prisma.AgentWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Agents to fetch. - */ - orderBy?: Prisma.AgentOrderByWithRelationInput | Prisma.AgentOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Agents. - */ - cursor?: Prisma.AgentWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Agents from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Agents. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Agents. - */ - distinct?: Prisma.AgentScalarFieldEnum | Prisma.AgentScalarFieldEnum[] -} - -/** - * Agent findMany - */ -export type AgentFindManyArgs = { - /** - * Select specific fields to fetch from the Agent - */ - select?: Prisma.AgentSelect | null - /** - * Omit specific fields from the Agent - */ - omit?: Prisma.AgentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentInclude | null - /** - * Filter, which Agents to fetch. - */ - where?: Prisma.AgentWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Agents to fetch. - */ - orderBy?: Prisma.AgentOrderByWithRelationInput | Prisma.AgentOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Agents. - */ - cursor?: Prisma.AgentWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Agents from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Agents. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Agents. - */ - distinct?: Prisma.AgentScalarFieldEnum | Prisma.AgentScalarFieldEnum[] -} - -/** - * Agent create - */ -export type AgentCreateArgs = { - /** - * Select specific fields to fetch from the Agent - */ - select?: Prisma.AgentSelect | null - /** - * Omit specific fields from the Agent - */ - omit?: Prisma.AgentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentInclude | null - /** - * The data needed to create a Agent. - */ - data: Prisma.XOR -} - -/** - * Agent createMany - */ -export type AgentCreateManyArgs = { - /** - * The data used to create many Agents. - */ - data: Prisma.AgentCreateManyInput | Prisma.AgentCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * Agent createManyAndReturn - */ -export type AgentCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Agent - */ - select?: Prisma.AgentSelectCreateManyAndReturn | null - /** - * Omit specific fields from the Agent - */ - omit?: Prisma.AgentOmit | null - /** - * The data used to create many Agents. - */ - data: Prisma.AgentCreateManyInput | Prisma.AgentCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentIncludeCreateManyAndReturn | null -} - -/** - * Agent update - */ -export type AgentUpdateArgs = { - /** - * Select specific fields to fetch from the Agent - */ - select?: Prisma.AgentSelect | null - /** - * Omit specific fields from the Agent - */ - omit?: Prisma.AgentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentInclude | null - /** - * The data needed to update a Agent. - */ - data: Prisma.XOR - /** - * Choose, which Agent to update. - */ - where: Prisma.AgentWhereUniqueInput -} - -/** - * Agent updateMany - */ -export type AgentUpdateManyArgs = { - /** - * The data used to update Agents. - */ - data: Prisma.XOR - /** - * Filter which Agents to update - */ - where?: Prisma.AgentWhereInput - /** - * Limit how many Agents to update. - */ - limit?: number -} - -/** - * Agent updateManyAndReturn - */ -export type AgentUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Agent - */ - select?: Prisma.AgentSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the Agent - */ - omit?: Prisma.AgentOmit | null - /** - * The data used to update Agents. - */ - data: Prisma.XOR - /** - * Filter which Agents to update - */ - where?: Prisma.AgentWhereInput - /** - * Limit how many Agents to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentIncludeUpdateManyAndReturn | null -} - -/** - * Agent upsert - */ -export type AgentUpsertArgs = { - /** - * Select specific fields to fetch from the Agent - */ - select?: Prisma.AgentSelect | null - /** - * Omit specific fields from the Agent - */ - omit?: Prisma.AgentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentInclude | null - /** - * The filter to search for the Agent to update in case it exists. - */ - where: Prisma.AgentWhereUniqueInput - /** - * In case the Agent found by the `where` argument doesn't exist, create a new Agent with this data. - */ - create: Prisma.XOR - /** - * In case the Agent was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * Agent delete - */ -export type AgentDeleteArgs = { - /** - * Select specific fields to fetch from the Agent - */ - select?: Prisma.AgentSelect | null - /** - * Omit specific fields from the Agent - */ - omit?: Prisma.AgentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentInclude | null - /** - * Filter which Agent to delete. - */ - where: Prisma.AgentWhereUniqueInput -} - -/** - * Agent deleteMany - */ -export type AgentDeleteManyArgs = { - /** - * Filter which Agents to delete - */ - where?: Prisma.AgentWhereInput - /** - * Limit how many Agents to delete. - */ - limit?: number -} - -/** - * Agent.provider - */ -export type Agent$providerArgs = { - /** - * Select specific fields to fetch from the Provider - */ - select?: Prisma.ProviderSelect | null - /** - * Omit specific fields from the Provider - */ - omit?: Prisma.ProviderOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProviderInclude | null - where?: Prisma.ProviderWhereInput -} - -/** - * Agent.modelRef - */ -export type Agent$modelRefArgs = { - /** - * Select specific fields to fetch from the Model - */ - select?: Prisma.ModelSelect | null - /** - * Omit specific fields from the Model - */ - omit?: Prisma.ModelOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ModelInclude | null - where?: Prisma.ModelWhereInput -} - -/** - * Agent.agentSessions - */ -export type Agent$agentSessionsArgs = { - /** - * Select specific fields to fetch from the AgentSession - */ - select?: Prisma.AgentSessionSelect | null - /** - * Omit specific fields from the AgentSession - */ - omit?: Prisma.AgentSessionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionInclude | null - where?: Prisma.AgentSessionWhereInput - orderBy?: Prisma.AgentSessionOrderByWithRelationInput | Prisma.AgentSessionOrderByWithRelationInput[] - cursor?: Prisma.AgentSessionWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.AgentSessionScalarFieldEnum | Prisma.AgentSessionScalarFieldEnum[] -} - -/** - * Agent.skills - */ -export type Agent$skillsArgs = { - /** - * Select specific fields to fetch from the AgentSkill - */ - select?: Prisma.AgentSkillSelect | null - /** - * Omit specific fields from the AgentSkill - */ - omit?: Prisma.AgentSkillOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSkillInclude | null - where?: Prisma.AgentSkillWhereInput - orderBy?: Prisma.AgentSkillOrderByWithRelationInput | Prisma.AgentSkillOrderByWithRelationInput[] - cursor?: Prisma.AgentSkillWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.AgentSkillScalarFieldEnum | Prisma.AgentSkillScalarFieldEnum[] -} - -/** - * Agent without action - */ -export type AgentDefaultArgs = { - /** - * Select specific fields to fetch from the Agent - */ - select?: Prisma.AgentSelect | null - /** - * Omit specific fields from the Agent - */ - omit?: Prisma.AgentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentInclude | null -} diff --git a/src/generated/prisma/models/AgentSession.ts b/src/generated/prisma/models/AgentSession.ts deleted file mode 100644 index 1213415a..00000000 --- a/src/generated/prisma/models/AgentSession.ts +++ /dev/null @@ -1,1854 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `AgentSession` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model AgentSession - * - */ -export type AgentSessionModel = runtime.Types.Result.DefaultSelection - -export type AggregateAgentSession = { - _count: AgentSessionCountAggregateOutputType | null - _min: AgentSessionMinAggregateOutputType | null - _max: AgentSessionMaxAggregateOutputType | null -} - -export type AgentSessionMinAggregateOutputType = { - id: string | null - agentId: string | null - userId: string | null - cwd: string | null - leafId: string | null - createdAt: Date | null - updatedAt: Date | null -} - -export type AgentSessionMaxAggregateOutputType = { - id: string | null - agentId: string | null - userId: string | null - cwd: string | null - leafId: string | null - createdAt: Date | null - updatedAt: Date | null -} - -export type AgentSessionCountAggregateOutputType = { - id: number - agentId: number - userId: number - cwd: number - leafId: number - createdAt: number - updatedAt: number - _all: number -} - - -export type AgentSessionMinAggregateInputType = { - id?: true - agentId?: true - userId?: true - cwd?: true - leafId?: true - createdAt?: true - updatedAt?: true -} - -export type AgentSessionMaxAggregateInputType = { - id?: true - agentId?: true - userId?: true - cwd?: true - leafId?: true - createdAt?: true - updatedAt?: true -} - -export type AgentSessionCountAggregateInputType = { - id?: true - agentId?: true - userId?: true - cwd?: true - leafId?: true - createdAt?: true - updatedAt?: true - _all?: true -} - -export type AgentSessionAggregateArgs = { - /** - * Filter which AgentSession to aggregate. - */ - where?: Prisma.AgentSessionWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AgentSessions to fetch. - */ - orderBy?: Prisma.AgentSessionOrderByWithRelationInput | Prisma.AgentSessionOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.AgentSessionWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AgentSessions from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AgentSessions. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned AgentSessions - **/ - _count?: true | AgentSessionCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: AgentSessionMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: AgentSessionMaxAggregateInputType -} - -export type GetAgentSessionAggregateType = { - [P in keyof T & keyof AggregateAgentSession]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type AgentSessionGroupByArgs = { - where?: Prisma.AgentSessionWhereInput - orderBy?: Prisma.AgentSessionOrderByWithAggregationInput | Prisma.AgentSessionOrderByWithAggregationInput[] - by: Prisma.AgentSessionScalarFieldEnum[] | Prisma.AgentSessionScalarFieldEnum - having?: Prisma.AgentSessionScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: AgentSessionCountAggregateInputType | true - _min?: AgentSessionMinAggregateInputType - _max?: AgentSessionMaxAggregateInputType -} - -export type AgentSessionGroupByOutputType = { - id: string - agentId: string - userId: string | null - cwd: string - leafId: string | null - createdAt: Date - updatedAt: Date - _count: AgentSessionCountAggregateOutputType | null - _min: AgentSessionMinAggregateOutputType | null - _max: AgentSessionMaxAggregateOutputType | null -} - -export type GetAgentSessionGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof AgentSessionGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type AgentSessionWhereInput = { - AND?: Prisma.AgentSessionWhereInput | Prisma.AgentSessionWhereInput[] - OR?: Prisma.AgentSessionWhereInput[] - NOT?: Prisma.AgentSessionWhereInput | Prisma.AgentSessionWhereInput[] - id?: Prisma.StringFilter<"AgentSession"> | string - agentId?: Prisma.StringFilter<"AgentSession"> | string - userId?: Prisma.StringNullableFilter<"AgentSession"> | string | null - cwd?: Prisma.StringFilter<"AgentSession"> | string - leafId?: Prisma.StringNullableFilter<"AgentSession"> | string | null - createdAt?: Prisma.DateTimeFilter<"AgentSession"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"AgentSession"> | Date | string - agent?: Prisma.XOR - user?: Prisma.XOR | null - entries?: Prisma.AgentSessionEntryListRelationFilter - comments?: Prisma.AssetCommentListRelationFilter -} - -export type AgentSessionOrderByWithRelationInput = { - id?: Prisma.SortOrder - agentId?: Prisma.SortOrder - userId?: Prisma.SortOrderInput | Prisma.SortOrder - cwd?: Prisma.SortOrder - leafId?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - agent?: Prisma.AgentOrderByWithRelationInput - user?: Prisma.UserOrderByWithRelationInput - entries?: Prisma.AgentSessionEntryOrderByRelationAggregateInput - comments?: Prisma.AssetCommentOrderByRelationAggregateInput -} - -export type AgentSessionWhereUniqueInput = Prisma.AtLeast<{ - id?: string - AND?: Prisma.AgentSessionWhereInput | Prisma.AgentSessionWhereInput[] - OR?: Prisma.AgentSessionWhereInput[] - NOT?: Prisma.AgentSessionWhereInput | Prisma.AgentSessionWhereInput[] - agentId?: Prisma.StringFilter<"AgentSession"> | string - userId?: Prisma.StringNullableFilter<"AgentSession"> | string | null - cwd?: Prisma.StringFilter<"AgentSession"> | string - leafId?: Prisma.StringNullableFilter<"AgentSession"> | string | null - createdAt?: Prisma.DateTimeFilter<"AgentSession"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"AgentSession"> | Date | string - agent?: Prisma.XOR - user?: Prisma.XOR | null - entries?: Prisma.AgentSessionEntryListRelationFilter - comments?: Prisma.AssetCommentListRelationFilter -}, "id"> - -export type AgentSessionOrderByWithAggregationInput = { - id?: Prisma.SortOrder - agentId?: Prisma.SortOrder - userId?: Prisma.SortOrderInput | Prisma.SortOrder - cwd?: Prisma.SortOrder - leafId?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - _count?: Prisma.AgentSessionCountOrderByAggregateInput - _max?: Prisma.AgentSessionMaxOrderByAggregateInput - _min?: Prisma.AgentSessionMinOrderByAggregateInput -} - -export type AgentSessionScalarWhereWithAggregatesInput = { - AND?: Prisma.AgentSessionScalarWhereWithAggregatesInput | Prisma.AgentSessionScalarWhereWithAggregatesInput[] - OR?: Prisma.AgentSessionScalarWhereWithAggregatesInput[] - NOT?: Prisma.AgentSessionScalarWhereWithAggregatesInput | Prisma.AgentSessionScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"AgentSession"> | string - agentId?: Prisma.StringWithAggregatesFilter<"AgentSession"> | string - userId?: Prisma.StringNullableWithAggregatesFilter<"AgentSession"> | string | null - cwd?: Prisma.StringWithAggregatesFilter<"AgentSession"> | string - leafId?: Prisma.StringNullableWithAggregatesFilter<"AgentSession"> | string | null - createdAt?: Prisma.DateTimeWithAggregatesFilter<"AgentSession"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AgentSession"> | Date | string -} - -export type AgentSessionCreateInput = { - id?: string - cwd: string - leafId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - agent: Prisma.AgentCreateNestedOneWithoutAgentSessionsInput - user?: Prisma.UserCreateNestedOneWithoutAgentSessionsInput - entries?: Prisma.AgentSessionEntryCreateNestedManyWithoutSessionInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutSessionInput -} - -export type AgentSessionUncheckedCreateInput = { - id?: string - agentId: string - userId?: string | null - cwd: string - leafId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - entries?: Prisma.AgentSessionEntryUncheckedCreateNestedManyWithoutSessionInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutSessionInput -} - -export type AgentSessionUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - cwd?: Prisma.StringFieldUpdateOperationsInput | string - leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - agent?: Prisma.AgentUpdateOneRequiredWithoutAgentSessionsNestedInput - user?: Prisma.UserUpdateOneWithoutAgentSessionsNestedInput - entries?: Prisma.AgentSessionEntryUpdateManyWithoutSessionNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutSessionNestedInput -} - -export type AgentSessionUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - agentId?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - cwd?: Prisma.StringFieldUpdateOperationsInput | string - leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - entries?: Prisma.AgentSessionEntryUncheckedUpdateManyWithoutSessionNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutSessionNestedInput -} - -export type AgentSessionCreateManyInput = { - id?: string - agentId: string - userId?: string | null - cwd: string - leafId?: string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type AgentSessionUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - cwd?: Prisma.StringFieldUpdateOperationsInput | string - leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AgentSessionUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - agentId?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - cwd?: Prisma.StringFieldUpdateOperationsInput | string - leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AgentSessionListRelationFilter = { - every?: Prisma.AgentSessionWhereInput - some?: Prisma.AgentSessionWhereInput - none?: Prisma.AgentSessionWhereInput -} - -export type AgentSessionOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type AgentSessionNullableScalarRelationFilter = { - is?: Prisma.AgentSessionWhereInput | null - isNot?: Prisma.AgentSessionWhereInput | null -} - -export type AgentSessionCountOrderByAggregateInput = { - id?: Prisma.SortOrder - agentId?: Prisma.SortOrder - userId?: Prisma.SortOrder - cwd?: Prisma.SortOrder - leafId?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type AgentSessionMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - agentId?: Prisma.SortOrder - userId?: Prisma.SortOrder - cwd?: Prisma.SortOrder - leafId?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type AgentSessionMinOrderByAggregateInput = { - id?: Prisma.SortOrder - agentId?: Prisma.SortOrder - userId?: Prisma.SortOrder - cwd?: Prisma.SortOrder - leafId?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type AgentSessionScalarRelationFilter = { - is?: Prisma.AgentSessionWhereInput - isNot?: Prisma.AgentSessionWhereInput -} - -export type AgentSessionCreateNestedManyWithoutUserInput = { - create?: Prisma.XOR | Prisma.AgentSessionCreateWithoutUserInput[] | Prisma.AgentSessionUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.AgentSessionCreateOrConnectWithoutUserInput | Prisma.AgentSessionCreateOrConnectWithoutUserInput[] - createMany?: Prisma.AgentSessionCreateManyUserInputEnvelope - connect?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[] -} - -export type AgentSessionUncheckedCreateNestedManyWithoutUserInput = { - create?: Prisma.XOR | Prisma.AgentSessionCreateWithoutUserInput[] | Prisma.AgentSessionUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.AgentSessionCreateOrConnectWithoutUserInput | Prisma.AgentSessionCreateOrConnectWithoutUserInput[] - createMany?: Prisma.AgentSessionCreateManyUserInputEnvelope - connect?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[] -} - -export type AgentSessionUpdateManyWithoutUserNestedInput = { - create?: Prisma.XOR | Prisma.AgentSessionCreateWithoutUserInput[] | Prisma.AgentSessionUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.AgentSessionCreateOrConnectWithoutUserInput | Prisma.AgentSessionCreateOrConnectWithoutUserInput[] - upsert?: Prisma.AgentSessionUpsertWithWhereUniqueWithoutUserInput | Prisma.AgentSessionUpsertWithWhereUniqueWithoutUserInput[] - createMany?: Prisma.AgentSessionCreateManyUserInputEnvelope - set?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[] - disconnect?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[] - delete?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[] - connect?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[] - update?: Prisma.AgentSessionUpdateWithWhereUniqueWithoutUserInput | Prisma.AgentSessionUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: Prisma.AgentSessionUpdateManyWithWhereWithoutUserInput | Prisma.AgentSessionUpdateManyWithWhereWithoutUserInput[] - deleteMany?: Prisma.AgentSessionScalarWhereInput | Prisma.AgentSessionScalarWhereInput[] -} - -export type AgentSessionUncheckedUpdateManyWithoutUserNestedInput = { - create?: Prisma.XOR | Prisma.AgentSessionCreateWithoutUserInput[] | Prisma.AgentSessionUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.AgentSessionCreateOrConnectWithoutUserInput | Prisma.AgentSessionCreateOrConnectWithoutUserInput[] - upsert?: Prisma.AgentSessionUpsertWithWhereUniqueWithoutUserInput | Prisma.AgentSessionUpsertWithWhereUniqueWithoutUserInput[] - createMany?: Prisma.AgentSessionCreateManyUserInputEnvelope - set?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[] - disconnect?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[] - delete?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[] - connect?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[] - update?: Prisma.AgentSessionUpdateWithWhereUniqueWithoutUserInput | Prisma.AgentSessionUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: Prisma.AgentSessionUpdateManyWithWhereWithoutUserInput | Prisma.AgentSessionUpdateManyWithWhereWithoutUserInput[] - deleteMany?: Prisma.AgentSessionScalarWhereInput | Prisma.AgentSessionScalarWhereInput[] -} - -export type AgentSessionCreateNestedOneWithoutCommentsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AgentSessionCreateOrConnectWithoutCommentsInput - connect?: Prisma.AgentSessionWhereUniqueInput -} - -export type AgentSessionUpdateOneWithoutCommentsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AgentSessionCreateOrConnectWithoutCommentsInput - upsert?: Prisma.AgentSessionUpsertWithoutCommentsInput - disconnect?: Prisma.AgentSessionWhereInput | boolean - delete?: Prisma.AgentSessionWhereInput | boolean - connect?: Prisma.AgentSessionWhereUniqueInput - update?: Prisma.XOR, Prisma.AgentSessionUncheckedUpdateWithoutCommentsInput> -} - -export type AgentSessionCreateNestedManyWithoutAgentInput = { - create?: Prisma.XOR | Prisma.AgentSessionCreateWithoutAgentInput[] | Prisma.AgentSessionUncheckedCreateWithoutAgentInput[] - connectOrCreate?: Prisma.AgentSessionCreateOrConnectWithoutAgentInput | Prisma.AgentSessionCreateOrConnectWithoutAgentInput[] - createMany?: Prisma.AgentSessionCreateManyAgentInputEnvelope - connect?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[] -} - -export type AgentSessionUncheckedCreateNestedManyWithoutAgentInput = { - create?: Prisma.XOR | Prisma.AgentSessionCreateWithoutAgentInput[] | Prisma.AgentSessionUncheckedCreateWithoutAgentInput[] - connectOrCreate?: Prisma.AgentSessionCreateOrConnectWithoutAgentInput | Prisma.AgentSessionCreateOrConnectWithoutAgentInput[] - createMany?: Prisma.AgentSessionCreateManyAgentInputEnvelope - connect?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[] -} - -export type AgentSessionUpdateManyWithoutAgentNestedInput = { - create?: Prisma.XOR | Prisma.AgentSessionCreateWithoutAgentInput[] | Prisma.AgentSessionUncheckedCreateWithoutAgentInput[] - connectOrCreate?: Prisma.AgentSessionCreateOrConnectWithoutAgentInput | Prisma.AgentSessionCreateOrConnectWithoutAgentInput[] - upsert?: Prisma.AgentSessionUpsertWithWhereUniqueWithoutAgentInput | Prisma.AgentSessionUpsertWithWhereUniqueWithoutAgentInput[] - createMany?: Prisma.AgentSessionCreateManyAgentInputEnvelope - set?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[] - disconnect?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[] - delete?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[] - connect?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[] - update?: Prisma.AgentSessionUpdateWithWhereUniqueWithoutAgentInput | Prisma.AgentSessionUpdateWithWhereUniqueWithoutAgentInput[] - updateMany?: Prisma.AgentSessionUpdateManyWithWhereWithoutAgentInput | Prisma.AgentSessionUpdateManyWithWhereWithoutAgentInput[] - deleteMany?: Prisma.AgentSessionScalarWhereInput | Prisma.AgentSessionScalarWhereInput[] -} - -export type AgentSessionUncheckedUpdateManyWithoutAgentNestedInput = { - create?: Prisma.XOR | Prisma.AgentSessionCreateWithoutAgentInput[] | Prisma.AgentSessionUncheckedCreateWithoutAgentInput[] - connectOrCreate?: Prisma.AgentSessionCreateOrConnectWithoutAgentInput | Prisma.AgentSessionCreateOrConnectWithoutAgentInput[] - upsert?: Prisma.AgentSessionUpsertWithWhereUniqueWithoutAgentInput | Prisma.AgentSessionUpsertWithWhereUniqueWithoutAgentInput[] - createMany?: Prisma.AgentSessionCreateManyAgentInputEnvelope - set?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[] - disconnect?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[] - delete?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[] - connect?: Prisma.AgentSessionWhereUniqueInput | Prisma.AgentSessionWhereUniqueInput[] - update?: Prisma.AgentSessionUpdateWithWhereUniqueWithoutAgentInput | Prisma.AgentSessionUpdateWithWhereUniqueWithoutAgentInput[] - updateMany?: Prisma.AgentSessionUpdateManyWithWhereWithoutAgentInput | Prisma.AgentSessionUpdateManyWithWhereWithoutAgentInput[] - deleteMany?: Prisma.AgentSessionScalarWhereInput | Prisma.AgentSessionScalarWhereInput[] -} - -export type AgentSessionCreateNestedOneWithoutEntriesInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AgentSessionCreateOrConnectWithoutEntriesInput - connect?: Prisma.AgentSessionWhereUniqueInput -} - -export type AgentSessionUpdateOneRequiredWithoutEntriesNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AgentSessionCreateOrConnectWithoutEntriesInput - upsert?: Prisma.AgentSessionUpsertWithoutEntriesInput - connect?: Prisma.AgentSessionWhereUniqueInput - update?: Prisma.XOR, Prisma.AgentSessionUncheckedUpdateWithoutEntriesInput> -} - -export type AgentSessionCreateWithoutUserInput = { - id?: string - cwd: string - leafId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - agent: Prisma.AgentCreateNestedOneWithoutAgentSessionsInput - entries?: Prisma.AgentSessionEntryCreateNestedManyWithoutSessionInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutSessionInput -} - -export type AgentSessionUncheckedCreateWithoutUserInput = { - id?: string - agentId: string - cwd: string - leafId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - entries?: Prisma.AgentSessionEntryUncheckedCreateNestedManyWithoutSessionInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutSessionInput -} - -export type AgentSessionCreateOrConnectWithoutUserInput = { - where: Prisma.AgentSessionWhereUniqueInput - create: Prisma.XOR -} - -export type AgentSessionCreateManyUserInputEnvelope = { - data: Prisma.AgentSessionCreateManyUserInput | Prisma.AgentSessionCreateManyUserInput[] - skipDuplicates?: boolean -} - -export type AgentSessionUpsertWithWhereUniqueWithoutUserInput = { - where: Prisma.AgentSessionWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type AgentSessionUpdateWithWhereUniqueWithoutUserInput = { - where: Prisma.AgentSessionWhereUniqueInput - data: Prisma.XOR -} - -export type AgentSessionUpdateManyWithWhereWithoutUserInput = { - where: Prisma.AgentSessionScalarWhereInput - data: Prisma.XOR -} - -export type AgentSessionScalarWhereInput = { - AND?: Prisma.AgentSessionScalarWhereInput | Prisma.AgentSessionScalarWhereInput[] - OR?: Prisma.AgentSessionScalarWhereInput[] - NOT?: Prisma.AgentSessionScalarWhereInput | Prisma.AgentSessionScalarWhereInput[] - id?: Prisma.StringFilter<"AgentSession"> | string - agentId?: Prisma.StringFilter<"AgentSession"> | string - userId?: Prisma.StringNullableFilter<"AgentSession"> | string | null - cwd?: Prisma.StringFilter<"AgentSession"> | string - leafId?: Prisma.StringNullableFilter<"AgentSession"> | string | null - createdAt?: Prisma.DateTimeFilter<"AgentSession"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"AgentSession"> | Date | string -} - -export type AgentSessionCreateWithoutCommentsInput = { - id?: string - cwd: string - leafId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - agent: Prisma.AgentCreateNestedOneWithoutAgentSessionsInput - user?: Prisma.UserCreateNestedOneWithoutAgentSessionsInput - entries?: Prisma.AgentSessionEntryCreateNestedManyWithoutSessionInput -} - -export type AgentSessionUncheckedCreateWithoutCommentsInput = { - id?: string - agentId: string - userId?: string | null - cwd: string - leafId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - entries?: Prisma.AgentSessionEntryUncheckedCreateNestedManyWithoutSessionInput -} - -export type AgentSessionCreateOrConnectWithoutCommentsInput = { - where: Prisma.AgentSessionWhereUniqueInput - create: Prisma.XOR -} - -export type AgentSessionUpsertWithoutCommentsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.AgentSessionWhereInput -} - -export type AgentSessionUpdateToOneWithWhereWithoutCommentsInput = { - where?: Prisma.AgentSessionWhereInput - data: Prisma.XOR -} - -export type AgentSessionUpdateWithoutCommentsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - cwd?: Prisma.StringFieldUpdateOperationsInput | string - leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - agent?: Prisma.AgentUpdateOneRequiredWithoutAgentSessionsNestedInput - user?: Prisma.UserUpdateOneWithoutAgentSessionsNestedInput - entries?: Prisma.AgentSessionEntryUpdateManyWithoutSessionNestedInput -} - -export type AgentSessionUncheckedUpdateWithoutCommentsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - agentId?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - cwd?: Prisma.StringFieldUpdateOperationsInput | string - leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - entries?: Prisma.AgentSessionEntryUncheckedUpdateManyWithoutSessionNestedInput -} - -export type AgentSessionCreateWithoutAgentInput = { - id?: string - cwd: string - leafId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - user?: Prisma.UserCreateNestedOneWithoutAgentSessionsInput - entries?: Prisma.AgentSessionEntryCreateNestedManyWithoutSessionInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutSessionInput -} - -export type AgentSessionUncheckedCreateWithoutAgentInput = { - id?: string - userId?: string | null - cwd: string - leafId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - entries?: Prisma.AgentSessionEntryUncheckedCreateNestedManyWithoutSessionInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutSessionInput -} - -export type AgentSessionCreateOrConnectWithoutAgentInput = { - where: Prisma.AgentSessionWhereUniqueInput - create: Prisma.XOR -} - -export type AgentSessionCreateManyAgentInputEnvelope = { - data: Prisma.AgentSessionCreateManyAgentInput | Prisma.AgentSessionCreateManyAgentInput[] - skipDuplicates?: boolean -} - -export type AgentSessionUpsertWithWhereUniqueWithoutAgentInput = { - where: Prisma.AgentSessionWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type AgentSessionUpdateWithWhereUniqueWithoutAgentInput = { - where: Prisma.AgentSessionWhereUniqueInput - data: Prisma.XOR -} - -export type AgentSessionUpdateManyWithWhereWithoutAgentInput = { - where: Prisma.AgentSessionScalarWhereInput - data: Prisma.XOR -} - -export type AgentSessionCreateWithoutEntriesInput = { - id?: string - cwd: string - leafId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - agent: Prisma.AgentCreateNestedOneWithoutAgentSessionsInput - user?: Prisma.UserCreateNestedOneWithoutAgentSessionsInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutSessionInput -} - -export type AgentSessionUncheckedCreateWithoutEntriesInput = { - id?: string - agentId: string - userId?: string | null - cwd: string - leafId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutSessionInput -} - -export type AgentSessionCreateOrConnectWithoutEntriesInput = { - where: Prisma.AgentSessionWhereUniqueInput - create: Prisma.XOR -} - -export type AgentSessionUpsertWithoutEntriesInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.AgentSessionWhereInput -} - -export type AgentSessionUpdateToOneWithWhereWithoutEntriesInput = { - where?: Prisma.AgentSessionWhereInput - data: Prisma.XOR -} - -export type AgentSessionUpdateWithoutEntriesInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - cwd?: Prisma.StringFieldUpdateOperationsInput | string - leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - agent?: Prisma.AgentUpdateOneRequiredWithoutAgentSessionsNestedInput - user?: Prisma.UserUpdateOneWithoutAgentSessionsNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutSessionNestedInput -} - -export type AgentSessionUncheckedUpdateWithoutEntriesInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - agentId?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - cwd?: Prisma.StringFieldUpdateOperationsInput | string - leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutSessionNestedInput -} - -export type AgentSessionCreateManyUserInput = { - id?: string - agentId: string - cwd: string - leafId?: string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type AgentSessionUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - cwd?: Prisma.StringFieldUpdateOperationsInput | string - leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - agent?: Prisma.AgentUpdateOneRequiredWithoutAgentSessionsNestedInput - entries?: Prisma.AgentSessionEntryUpdateManyWithoutSessionNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutSessionNestedInput -} - -export type AgentSessionUncheckedUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - agentId?: Prisma.StringFieldUpdateOperationsInput | string - cwd?: Prisma.StringFieldUpdateOperationsInput | string - leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - entries?: Prisma.AgentSessionEntryUncheckedUpdateManyWithoutSessionNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutSessionNestedInput -} - -export type AgentSessionUncheckedUpdateManyWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - agentId?: Prisma.StringFieldUpdateOperationsInput | string - cwd?: Prisma.StringFieldUpdateOperationsInput | string - leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AgentSessionCreateManyAgentInput = { - id?: string - userId?: string | null - cwd: string - leafId?: string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type AgentSessionUpdateWithoutAgentInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - cwd?: Prisma.StringFieldUpdateOperationsInput | string - leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - user?: Prisma.UserUpdateOneWithoutAgentSessionsNestedInput - entries?: Prisma.AgentSessionEntryUpdateManyWithoutSessionNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutSessionNestedInput -} - -export type AgentSessionUncheckedUpdateWithoutAgentInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - cwd?: Prisma.StringFieldUpdateOperationsInput | string - leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - entries?: Prisma.AgentSessionEntryUncheckedUpdateManyWithoutSessionNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutSessionNestedInput -} - -export type AgentSessionUncheckedUpdateManyWithoutAgentInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - cwd?: Prisma.StringFieldUpdateOperationsInput | string - leafId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - - -/** - * Count Type AgentSessionCountOutputType - */ - -export type AgentSessionCountOutputType = { - entries: number - comments: number -} - -export type AgentSessionCountOutputTypeSelect = { - entries?: boolean | AgentSessionCountOutputTypeCountEntriesArgs - comments?: boolean | AgentSessionCountOutputTypeCountCommentsArgs -} - -/** - * AgentSessionCountOutputType without action - */ -export type AgentSessionCountOutputTypeDefaultArgs = { - /** - * Select specific fields to fetch from the AgentSessionCountOutputType - */ - select?: Prisma.AgentSessionCountOutputTypeSelect | null -} - -/** - * AgentSessionCountOutputType without action - */ -export type AgentSessionCountOutputTypeCountEntriesArgs = { - where?: Prisma.AgentSessionEntryWhereInput -} - -/** - * AgentSessionCountOutputType without action - */ -export type AgentSessionCountOutputTypeCountCommentsArgs = { - where?: Prisma.AssetCommentWhereInput -} - - -export type AgentSessionSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - agentId?: boolean - userId?: boolean - cwd?: boolean - leafId?: boolean - createdAt?: boolean - updatedAt?: boolean - agent?: boolean | Prisma.AgentDefaultArgs - user?: boolean | Prisma.AgentSession$userArgs - entries?: boolean | Prisma.AgentSession$entriesArgs - comments?: boolean | Prisma.AgentSession$commentsArgs - _count?: boolean | Prisma.AgentSessionCountOutputTypeDefaultArgs -}, ExtArgs["result"]["agentSession"]> - -export type AgentSessionSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - agentId?: boolean - userId?: boolean - cwd?: boolean - leafId?: boolean - createdAt?: boolean - updatedAt?: boolean - agent?: boolean | Prisma.AgentDefaultArgs - user?: boolean | Prisma.AgentSession$userArgs -}, ExtArgs["result"]["agentSession"]> - -export type AgentSessionSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - agentId?: boolean - userId?: boolean - cwd?: boolean - leafId?: boolean - createdAt?: boolean - updatedAt?: boolean - agent?: boolean | Prisma.AgentDefaultArgs - user?: boolean | Prisma.AgentSession$userArgs -}, ExtArgs["result"]["agentSession"]> - -export type AgentSessionSelectScalar = { - id?: boolean - agentId?: boolean - userId?: boolean - cwd?: boolean - leafId?: boolean - createdAt?: boolean - updatedAt?: boolean -} - -export type AgentSessionOmit = runtime.Types.Extensions.GetOmit<"id" | "agentId" | "userId" | "cwd" | "leafId" | "createdAt" | "updatedAt", ExtArgs["result"]["agentSession"]> -export type AgentSessionInclude = { - agent?: boolean | Prisma.AgentDefaultArgs - user?: boolean | Prisma.AgentSession$userArgs - entries?: boolean | Prisma.AgentSession$entriesArgs - comments?: boolean | Prisma.AgentSession$commentsArgs - _count?: boolean | Prisma.AgentSessionCountOutputTypeDefaultArgs -} -export type AgentSessionIncludeCreateManyAndReturn = { - agent?: boolean | Prisma.AgentDefaultArgs - user?: boolean | Prisma.AgentSession$userArgs -} -export type AgentSessionIncludeUpdateManyAndReturn = { - agent?: boolean | Prisma.AgentDefaultArgs - user?: boolean | Prisma.AgentSession$userArgs -} - -export type $AgentSessionPayload = { - name: "AgentSession" - objects: { - agent: Prisma.$AgentPayload - user: Prisma.$UserPayload | null - entries: Prisma.$AgentSessionEntryPayload[] - comments: Prisma.$AssetCommentPayload[] - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - agentId: string - userId: string | null - cwd: string - leafId: string | null - createdAt: Date - updatedAt: Date - }, ExtArgs["result"]["agentSession"]> - composites: {} -} - -export type AgentSessionGetPayload = runtime.Types.Result.GetResult - -export type AgentSessionCountArgs = - Omit & { - select?: AgentSessionCountAggregateInputType | true - } - -export interface AgentSessionDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['AgentSession'], meta: { name: 'AgentSession' } } - /** - * Find zero or one AgentSession that matches the filter. - * @param {AgentSessionFindUniqueArgs} args - Arguments to find a AgentSession - * @example - * // Get one AgentSession - * const agentSession = await prisma.agentSession.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AgentSessionClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one AgentSession that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {AgentSessionFindUniqueOrThrowArgs} args - Arguments to find a AgentSession - * @example - * // Get one AgentSession - * const agentSession = await prisma.agentSession.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AgentSessionClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first AgentSession that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentSessionFindFirstArgs} args - Arguments to find a AgentSession - * @example - * // Get one AgentSession - * const agentSession = await prisma.agentSession.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AgentSessionClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first AgentSession that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentSessionFindFirstOrThrowArgs} args - Arguments to find a AgentSession - * @example - * // Get one AgentSession - * const agentSession = await prisma.agentSession.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AgentSessionClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more AgentSessions that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentSessionFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all AgentSessions - * const agentSessions = await prisma.agentSession.findMany() - * - * // Get first 10 AgentSessions - * const agentSessions = await prisma.agentSession.findMany({ take: 10 }) - * - * // Only select the `id` - * const agentSessionWithIdOnly = await prisma.agentSession.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a AgentSession. - * @param {AgentSessionCreateArgs} args - Arguments to create a AgentSession. - * @example - * // Create one AgentSession - * const AgentSession = await prisma.agentSession.create({ - * data: { - * // ... data to create a AgentSession - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__AgentSessionClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many AgentSessions. - * @param {AgentSessionCreateManyArgs} args - Arguments to create many AgentSessions. - * @example - * // Create many AgentSessions - * const agentSession = await prisma.agentSession.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many AgentSessions and returns the data saved in the database. - * @param {AgentSessionCreateManyAndReturnArgs} args - Arguments to create many AgentSessions. - * @example - * // Create many AgentSessions - * const agentSession = await prisma.agentSession.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many AgentSessions and only return the `id` - * const agentSessionWithIdOnly = await prisma.agentSession.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a AgentSession. - * @param {AgentSessionDeleteArgs} args - Arguments to delete one AgentSession. - * @example - * // Delete one AgentSession - * const AgentSession = await prisma.agentSession.delete({ - * where: { - * // ... filter to delete one AgentSession - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__AgentSessionClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one AgentSession. - * @param {AgentSessionUpdateArgs} args - Arguments to update one AgentSession. - * @example - * // Update one AgentSession - * const agentSession = await prisma.agentSession.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__AgentSessionClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more AgentSessions. - * @param {AgentSessionDeleteManyArgs} args - Arguments to filter AgentSessions to delete. - * @example - * // Delete a few AgentSessions - * const { count } = await prisma.agentSession.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more AgentSessions. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentSessionUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many AgentSessions - * const agentSession = await prisma.agentSession.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more AgentSessions and returns the data updated in the database. - * @param {AgentSessionUpdateManyAndReturnArgs} args - Arguments to update many AgentSessions. - * @example - * // Update many AgentSessions - * const agentSession = await prisma.agentSession.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more AgentSessions and only return the `id` - * const agentSessionWithIdOnly = await prisma.agentSession.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one AgentSession. - * @param {AgentSessionUpsertArgs} args - Arguments to update or create a AgentSession. - * @example - * // Update or create a AgentSession - * const agentSession = await prisma.agentSession.upsert({ - * create: { - * // ... data to create a AgentSession - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the AgentSession we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AgentSessionClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of AgentSessions. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentSessionCountArgs} args - Arguments to filter AgentSessions to count. - * @example - * // Count the number of AgentSessions - * const count = await prisma.agentSession.count({ - * where: { - * // ... the filter for the AgentSessions we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a AgentSession. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentSessionAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by AgentSession. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentSessionGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends AgentSessionGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: AgentSessionGroupByArgs['orderBy'] } - : { orderBy?: AgentSessionGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetAgentSessionGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the AgentSession model - */ -readonly fields: AgentSessionFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for AgentSession. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__AgentSessionClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - agent = {}>(args?: Prisma.Subset>): Prisma.Prisma__AgentClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - entries = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - comments = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the AgentSession model - */ -export interface AgentSessionFieldRefs { - readonly id: Prisma.FieldRef<"AgentSession", 'String'> - readonly agentId: Prisma.FieldRef<"AgentSession", 'String'> - readonly userId: Prisma.FieldRef<"AgentSession", 'String'> - readonly cwd: Prisma.FieldRef<"AgentSession", 'String'> - readonly leafId: Prisma.FieldRef<"AgentSession", 'String'> - readonly createdAt: Prisma.FieldRef<"AgentSession", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"AgentSession", 'DateTime'> -} - - -// Custom InputTypes -/** - * AgentSession findUnique - */ -export type AgentSessionFindUniqueArgs = { - /** - * Select specific fields to fetch from the AgentSession - */ - select?: Prisma.AgentSessionSelect | null - /** - * Omit specific fields from the AgentSession - */ - omit?: Prisma.AgentSessionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionInclude | null - /** - * Filter, which AgentSession to fetch. - */ - where: Prisma.AgentSessionWhereUniqueInput -} - -/** - * AgentSession findUniqueOrThrow - */ -export type AgentSessionFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the AgentSession - */ - select?: Prisma.AgentSessionSelect | null - /** - * Omit specific fields from the AgentSession - */ - omit?: Prisma.AgentSessionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionInclude | null - /** - * Filter, which AgentSession to fetch. - */ - where: Prisma.AgentSessionWhereUniqueInput -} - -/** - * AgentSession findFirst - */ -export type AgentSessionFindFirstArgs = { - /** - * Select specific fields to fetch from the AgentSession - */ - select?: Prisma.AgentSessionSelect | null - /** - * Omit specific fields from the AgentSession - */ - omit?: Prisma.AgentSessionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionInclude | null - /** - * Filter, which AgentSession to fetch. - */ - where?: Prisma.AgentSessionWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AgentSessions to fetch. - */ - orderBy?: Prisma.AgentSessionOrderByWithRelationInput | Prisma.AgentSessionOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for AgentSessions. - */ - cursor?: Prisma.AgentSessionWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AgentSessions from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AgentSessions. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of AgentSessions. - */ - distinct?: Prisma.AgentSessionScalarFieldEnum | Prisma.AgentSessionScalarFieldEnum[] -} - -/** - * AgentSession findFirstOrThrow - */ -export type AgentSessionFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the AgentSession - */ - select?: Prisma.AgentSessionSelect | null - /** - * Omit specific fields from the AgentSession - */ - omit?: Prisma.AgentSessionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionInclude | null - /** - * Filter, which AgentSession to fetch. - */ - where?: Prisma.AgentSessionWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AgentSessions to fetch. - */ - orderBy?: Prisma.AgentSessionOrderByWithRelationInput | Prisma.AgentSessionOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for AgentSessions. - */ - cursor?: Prisma.AgentSessionWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AgentSessions from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AgentSessions. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of AgentSessions. - */ - distinct?: Prisma.AgentSessionScalarFieldEnum | Prisma.AgentSessionScalarFieldEnum[] -} - -/** - * AgentSession findMany - */ -export type AgentSessionFindManyArgs = { - /** - * Select specific fields to fetch from the AgentSession - */ - select?: Prisma.AgentSessionSelect | null - /** - * Omit specific fields from the AgentSession - */ - omit?: Prisma.AgentSessionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionInclude | null - /** - * Filter, which AgentSessions to fetch. - */ - where?: Prisma.AgentSessionWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AgentSessions to fetch. - */ - orderBy?: Prisma.AgentSessionOrderByWithRelationInput | Prisma.AgentSessionOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing AgentSessions. - */ - cursor?: Prisma.AgentSessionWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AgentSessions from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AgentSessions. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of AgentSessions. - */ - distinct?: Prisma.AgentSessionScalarFieldEnum | Prisma.AgentSessionScalarFieldEnum[] -} - -/** - * AgentSession create - */ -export type AgentSessionCreateArgs = { - /** - * Select specific fields to fetch from the AgentSession - */ - select?: Prisma.AgentSessionSelect | null - /** - * Omit specific fields from the AgentSession - */ - omit?: Prisma.AgentSessionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionInclude | null - /** - * The data needed to create a AgentSession. - */ - data: Prisma.XOR -} - -/** - * AgentSession createMany - */ -export type AgentSessionCreateManyArgs = { - /** - * The data used to create many AgentSessions. - */ - data: Prisma.AgentSessionCreateManyInput | Prisma.AgentSessionCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * AgentSession createManyAndReturn - */ -export type AgentSessionCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the AgentSession - */ - select?: Prisma.AgentSessionSelectCreateManyAndReturn | null - /** - * Omit specific fields from the AgentSession - */ - omit?: Prisma.AgentSessionOmit | null - /** - * The data used to create many AgentSessions. - */ - data: Prisma.AgentSessionCreateManyInput | Prisma.AgentSessionCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionIncludeCreateManyAndReturn | null -} - -/** - * AgentSession update - */ -export type AgentSessionUpdateArgs = { - /** - * Select specific fields to fetch from the AgentSession - */ - select?: Prisma.AgentSessionSelect | null - /** - * Omit specific fields from the AgentSession - */ - omit?: Prisma.AgentSessionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionInclude | null - /** - * The data needed to update a AgentSession. - */ - data: Prisma.XOR - /** - * Choose, which AgentSession to update. - */ - where: Prisma.AgentSessionWhereUniqueInput -} - -/** - * AgentSession updateMany - */ -export type AgentSessionUpdateManyArgs = { - /** - * The data used to update AgentSessions. - */ - data: Prisma.XOR - /** - * Filter which AgentSessions to update - */ - where?: Prisma.AgentSessionWhereInput - /** - * Limit how many AgentSessions to update. - */ - limit?: number -} - -/** - * AgentSession updateManyAndReturn - */ -export type AgentSessionUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the AgentSession - */ - select?: Prisma.AgentSessionSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the AgentSession - */ - omit?: Prisma.AgentSessionOmit | null - /** - * The data used to update AgentSessions. - */ - data: Prisma.XOR - /** - * Filter which AgentSessions to update - */ - where?: Prisma.AgentSessionWhereInput - /** - * Limit how many AgentSessions to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionIncludeUpdateManyAndReturn | null -} - -/** - * AgentSession upsert - */ -export type AgentSessionUpsertArgs = { - /** - * Select specific fields to fetch from the AgentSession - */ - select?: Prisma.AgentSessionSelect | null - /** - * Omit specific fields from the AgentSession - */ - omit?: Prisma.AgentSessionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionInclude | null - /** - * The filter to search for the AgentSession to update in case it exists. - */ - where: Prisma.AgentSessionWhereUniqueInput - /** - * In case the AgentSession found by the `where` argument doesn't exist, create a new AgentSession with this data. - */ - create: Prisma.XOR - /** - * In case the AgentSession was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * AgentSession delete - */ -export type AgentSessionDeleteArgs = { - /** - * Select specific fields to fetch from the AgentSession - */ - select?: Prisma.AgentSessionSelect | null - /** - * Omit specific fields from the AgentSession - */ - omit?: Prisma.AgentSessionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionInclude | null - /** - * Filter which AgentSession to delete. - */ - where: Prisma.AgentSessionWhereUniqueInput -} - -/** - * AgentSession deleteMany - */ -export type AgentSessionDeleteManyArgs = { - /** - * Filter which AgentSessions to delete - */ - where?: Prisma.AgentSessionWhereInput - /** - * Limit how many AgentSessions to delete. - */ - limit?: number -} - -/** - * AgentSession.user - */ -export type AgentSession$userArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null - where?: Prisma.UserWhereInput -} - -/** - * AgentSession.entries - */ -export type AgentSession$entriesArgs = { - /** - * Select specific fields to fetch from the AgentSessionEntry - */ - select?: Prisma.AgentSessionEntrySelect | null - /** - * Omit specific fields from the AgentSessionEntry - */ - omit?: Prisma.AgentSessionEntryOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionEntryInclude | null - where?: Prisma.AgentSessionEntryWhereInput - orderBy?: Prisma.AgentSessionEntryOrderByWithRelationInput | Prisma.AgentSessionEntryOrderByWithRelationInput[] - cursor?: Prisma.AgentSessionEntryWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.AgentSessionEntryScalarFieldEnum | Prisma.AgentSessionEntryScalarFieldEnum[] -} - -/** - * AgentSession.comments - */ -export type AgentSession$commentsArgs = { - /** - * Select specific fields to fetch from the AssetComment - */ - select?: Prisma.AssetCommentSelect | null - /** - * Omit specific fields from the AssetComment - */ - omit?: Prisma.AssetCommentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentInclude | null - where?: Prisma.AssetCommentWhereInput - orderBy?: Prisma.AssetCommentOrderByWithRelationInput | Prisma.AssetCommentOrderByWithRelationInput[] - cursor?: Prisma.AssetCommentWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.AssetCommentScalarFieldEnum | Prisma.AssetCommentScalarFieldEnum[] -} - -/** - * AgentSession without action - */ -export type AgentSessionDefaultArgs = { - /** - * Select specific fields to fetch from the AgentSession - */ - select?: Prisma.AgentSessionSelect | null - /** - * Omit specific fields from the AgentSession - */ - omit?: Prisma.AgentSessionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionInclude | null -} diff --git a/src/generated/prisma/models/AgentSessionEntry.ts b/src/generated/prisma/models/AgentSessionEntry.ts deleted file mode 100644 index 3a8be130..00000000 --- a/src/generated/prisma/models/AgentSessionEntry.ts +++ /dev/null @@ -1,1274 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `AgentSessionEntry` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model AgentSessionEntry - * - */ -export type AgentSessionEntryModel = runtime.Types.Result.DefaultSelection - -export type AggregateAgentSessionEntry = { - _count: AgentSessionEntryCountAggregateOutputType | null - _min: AgentSessionEntryMinAggregateOutputType | null - _max: AgentSessionEntryMaxAggregateOutputType | null -} - -export type AgentSessionEntryMinAggregateOutputType = { - id: string | null - sessionId: string | null -} - -export type AgentSessionEntryMaxAggregateOutputType = { - id: string | null - sessionId: string | null -} - -export type AgentSessionEntryCountAggregateOutputType = { - id: number - sessionId: number - entry:PrismaJson.PiSessionEntry - _all: number -} - - -export type AgentSessionEntryMinAggregateInputType = { - id?: true - sessionId?: true -} - -export type AgentSessionEntryMaxAggregateInputType = { - id?: true - sessionId?: true -} - -export type AgentSessionEntryCountAggregateInputType = { - id?: true - sessionId?: true - entry?: true - _all?: true -} - -export type AgentSessionEntryAggregateArgs = { - /** - * Filter which AgentSessionEntry to aggregate. - */ - where?: Prisma.AgentSessionEntryWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AgentSessionEntries to fetch. - */ - orderBy?: Prisma.AgentSessionEntryOrderByWithRelationInput | Prisma.AgentSessionEntryOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.AgentSessionEntryWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AgentSessionEntries from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AgentSessionEntries. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned AgentSessionEntries - **/ - _count?: true | AgentSessionEntryCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: AgentSessionEntryMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: AgentSessionEntryMaxAggregateInputType -} - -export type GetAgentSessionEntryAggregateType = { - [P in keyof T & keyof AggregateAgentSessionEntry]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type AgentSessionEntryGroupByArgs = { - where?: Prisma.AgentSessionEntryWhereInput - orderBy?: Prisma.AgentSessionEntryOrderByWithAggregationInput | Prisma.AgentSessionEntryOrderByWithAggregationInput[] - by: Prisma.AgentSessionEntryScalarFieldEnum[] | Prisma.AgentSessionEntryScalarFieldEnum - having?: Prisma.AgentSessionEntryScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: AgentSessionEntryCountAggregateInputType | true - _min?: AgentSessionEntryMinAggregateInputType - _max?: AgentSessionEntryMaxAggregateInputType -} - -export type AgentSessionEntryGroupByOutputType = { - id: string - sessionId: string - entry:PrismaJson.PiSessionEntry - _count: AgentSessionEntryCountAggregateOutputType | null - _min: AgentSessionEntryMinAggregateOutputType | null - _max: AgentSessionEntryMaxAggregateOutputType | null -} - -export type GetAgentSessionEntryGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof AgentSessionEntryGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type AgentSessionEntryWhereInput = { - AND?: Prisma.AgentSessionEntryWhereInput | Prisma.AgentSessionEntryWhereInput[] - OR?: Prisma.AgentSessionEntryWhereInput[] - NOT?: Prisma.AgentSessionEntryWhereInput | Prisma.AgentSessionEntryWhereInput[] - id?: Prisma.StringFilter<"AgentSessionEntry"> | string - sessionId?: Prisma.StringFilter<"AgentSessionEntry"> | string - entry?: Prisma.JsonFilter<"AgentSessionEntry"> - session?: Prisma.XOR -} - -export type AgentSessionEntryOrderByWithRelationInput = { - id?: Prisma.SortOrder - sessionId?: Prisma.SortOrder - entry?: Prisma.SortOrder - session?: Prisma.AgentSessionOrderByWithRelationInput -} - -export type AgentSessionEntryWhereUniqueInput = Prisma.AtLeast<{ - id?: string - AND?: Prisma.AgentSessionEntryWhereInput | Prisma.AgentSessionEntryWhereInput[] - OR?: Prisma.AgentSessionEntryWhereInput[] - NOT?: Prisma.AgentSessionEntryWhereInput | Prisma.AgentSessionEntryWhereInput[] - sessionId?: Prisma.StringFilter<"AgentSessionEntry"> | string - entry?: Prisma.JsonFilter<"AgentSessionEntry"> - session?: Prisma.XOR -}, "id"> - -export type AgentSessionEntryOrderByWithAggregationInput = { - id?: Prisma.SortOrder - sessionId?: Prisma.SortOrder - entry?: Prisma.SortOrder - _count?: Prisma.AgentSessionEntryCountOrderByAggregateInput - _max?: Prisma.AgentSessionEntryMaxOrderByAggregateInput - _min?: Prisma.AgentSessionEntryMinOrderByAggregateInput -} - -export type AgentSessionEntryScalarWhereWithAggregatesInput = { - AND?: Prisma.AgentSessionEntryScalarWhereWithAggregatesInput | Prisma.AgentSessionEntryScalarWhereWithAggregatesInput[] - OR?: Prisma.AgentSessionEntryScalarWhereWithAggregatesInput[] - NOT?: Prisma.AgentSessionEntryScalarWhereWithAggregatesInput | Prisma.AgentSessionEntryScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"AgentSessionEntry"> | string - sessionId?: Prisma.StringWithAggregatesFilter<"AgentSessionEntry"> | string - entry?: Prisma.JsonWithAggregatesFilter<"AgentSessionEntry"> -} - -export type AgentSessionEntryCreateInput = { - id: string - entry:PrismaJson.PiSessionEntry - session: Prisma.AgentSessionCreateNestedOneWithoutEntriesInput -} - -export type AgentSessionEntryUncheckedCreateInput = { - id: string - sessionId: string - entry:PrismaJson.PiSessionEntry -} - -export type AgentSessionEntryUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - entry?:PrismaJson.PiSessionEntry - session?: Prisma.AgentSessionUpdateOneRequiredWithoutEntriesNestedInput -} - -export type AgentSessionEntryUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - sessionId?: Prisma.StringFieldUpdateOperationsInput | string - entry?:PrismaJson.PiSessionEntry -} - -export type AgentSessionEntryCreateManyInput = { - id: string - sessionId: string - entry:PrismaJson.PiSessionEntry -} - -export type AgentSessionEntryUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - entry?:PrismaJson.PiSessionEntry -} - -export type AgentSessionEntryUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - sessionId?: Prisma.StringFieldUpdateOperationsInput | string - entry?:PrismaJson.PiSessionEntry -} - -export type AgentSessionEntryListRelationFilter = { - every?: Prisma.AgentSessionEntryWhereInput - some?: Prisma.AgentSessionEntryWhereInput - none?: Prisma.AgentSessionEntryWhereInput -} - -export type AgentSessionEntryOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type AgentSessionEntryCountOrderByAggregateInput = { - id?: Prisma.SortOrder - sessionId?: Prisma.SortOrder - entry?: Prisma.SortOrder -} - -export type AgentSessionEntryMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - sessionId?: Prisma.SortOrder -} - -export type AgentSessionEntryMinOrderByAggregateInput = { - id?: Prisma.SortOrder - sessionId?: Prisma.SortOrder -} - -export type AgentSessionEntryCreateNestedManyWithoutSessionInput = { - create?: Prisma.XOR | Prisma.AgentSessionEntryCreateWithoutSessionInput[] | Prisma.AgentSessionEntryUncheckedCreateWithoutSessionInput[] - connectOrCreate?: Prisma.AgentSessionEntryCreateOrConnectWithoutSessionInput | Prisma.AgentSessionEntryCreateOrConnectWithoutSessionInput[] - createMany?: Prisma.AgentSessionEntryCreateManySessionInputEnvelope - connect?: Prisma.AgentSessionEntryWhereUniqueInput | Prisma.AgentSessionEntryWhereUniqueInput[] -} - -export type AgentSessionEntryUncheckedCreateNestedManyWithoutSessionInput = { - create?: Prisma.XOR | Prisma.AgentSessionEntryCreateWithoutSessionInput[] | Prisma.AgentSessionEntryUncheckedCreateWithoutSessionInput[] - connectOrCreate?: Prisma.AgentSessionEntryCreateOrConnectWithoutSessionInput | Prisma.AgentSessionEntryCreateOrConnectWithoutSessionInput[] - createMany?: Prisma.AgentSessionEntryCreateManySessionInputEnvelope - connect?: Prisma.AgentSessionEntryWhereUniqueInput | Prisma.AgentSessionEntryWhereUniqueInput[] -} - -export type AgentSessionEntryUpdateManyWithoutSessionNestedInput = { - create?: Prisma.XOR | Prisma.AgentSessionEntryCreateWithoutSessionInput[] | Prisma.AgentSessionEntryUncheckedCreateWithoutSessionInput[] - connectOrCreate?: Prisma.AgentSessionEntryCreateOrConnectWithoutSessionInput | Prisma.AgentSessionEntryCreateOrConnectWithoutSessionInput[] - upsert?: Prisma.AgentSessionEntryUpsertWithWhereUniqueWithoutSessionInput | Prisma.AgentSessionEntryUpsertWithWhereUniqueWithoutSessionInput[] - createMany?: Prisma.AgentSessionEntryCreateManySessionInputEnvelope - set?: Prisma.AgentSessionEntryWhereUniqueInput | Prisma.AgentSessionEntryWhereUniqueInput[] - disconnect?: Prisma.AgentSessionEntryWhereUniqueInput | Prisma.AgentSessionEntryWhereUniqueInput[] - delete?: Prisma.AgentSessionEntryWhereUniqueInput | Prisma.AgentSessionEntryWhereUniqueInput[] - connect?: Prisma.AgentSessionEntryWhereUniqueInput | Prisma.AgentSessionEntryWhereUniqueInput[] - update?: Prisma.AgentSessionEntryUpdateWithWhereUniqueWithoutSessionInput | Prisma.AgentSessionEntryUpdateWithWhereUniqueWithoutSessionInput[] - updateMany?: Prisma.AgentSessionEntryUpdateManyWithWhereWithoutSessionInput | Prisma.AgentSessionEntryUpdateManyWithWhereWithoutSessionInput[] - deleteMany?: Prisma.AgentSessionEntryScalarWhereInput | Prisma.AgentSessionEntryScalarWhereInput[] -} - -export type AgentSessionEntryUncheckedUpdateManyWithoutSessionNestedInput = { - create?: Prisma.XOR | Prisma.AgentSessionEntryCreateWithoutSessionInput[] | Prisma.AgentSessionEntryUncheckedCreateWithoutSessionInput[] - connectOrCreate?: Prisma.AgentSessionEntryCreateOrConnectWithoutSessionInput | Prisma.AgentSessionEntryCreateOrConnectWithoutSessionInput[] - upsert?: Prisma.AgentSessionEntryUpsertWithWhereUniqueWithoutSessionInput | Prisma.AgentSessionEntryUpsertWithWhereUniqueWithoutSessionInput[] - createMany?: Prisma.AgentSessionEntryCreateManySessionInputEnvelope - set?: Prisma.AgentSessionEntryWhereUniqueInput | Prisma.AgentSessionEntryWhereUniqueInput[] - disconnect?: Prisma.AgentSessionEntryWhereUniqueInput | Prisma.AgentSessionEntryWhereUniqueInput[] - delete?: Prisma.AgentSessionEntryWhereUniqueInput | Prisma.AgentSessionEntryWhereUniqueInput[] - connect?: Prisma.AgentSessionEntryWhereUniqueInput | Prisma.AgentSessionEntryWhereUniqueInput[] - update?: Prisma.AgentSessionEntryUpdateWithWhereUniqueWithoutSessionInput | Prisma.AgentSessionEntryUpdateWithWhereUniqueWithoutSessionInput[] - updateMany?: Prisma.AgentSessionEntryUpdateManyWithWhereWithoutSessionInput | Prisma.AgentSessionEntryUpdateManyWithWhereWithoutSessionInput[] - deleteMany?: Prisma.AgentSessionEntryScalarWhereInput | Prisma.AgentSessionEntryScalarWhereInput[] -} - -export type AgentSessionEntryCreateWithoutSessionInput = { - id: string - entry:PrismaJson.PiSessionEntry -} - -export type AgentSessionEntryUncheckedCreateWithoutSessionInput = { - id: string - entry:PrismaJson.PiSessionEntry -} - -export type AgentSessionEntryCreateOrConnectWithoutSessionInput = { - where: Prisma.AgentSessionEntryWhereUniqueInput - create: Prisma.XOR -} - -export type AgentSessionEntryCreateManySessionInputEnvelope = { - data: Prisma.AgentSessionEntryCreateManySessionInput | Prisma.AgentSessionEntryCreateManySessionInput[] - skipDuplicates?: boolean -} - -export type AgentSessionEntryUpsertWithWhereUniqueWithoutSessionInput = { - where: Prisma.AgentSessionEntryWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type AgentSessionEntryUpdateWithWhereUniqueWithoutSessionInput = { - where: Prisma.AgentSessionEntryWhereUniqueInput - data: Prisma.XOR -} - -export type AgentSessionEntryUpdateManyWithWhereWithoutSessionInput = { - where: Prisma.AgentSessionEntryScalarWhereInput - data: Prisma.XOR -} - -export type AgentSessionEntryScalarWhereInput = { - AND?: Prisma.AgentSessionEntryScalarWhereInput | Prisma.AgentSessionEntryScalarWhereInput[] - OR?: Prisma.AgentSessionEntryScalarWhereInput[] - NOT?: Prisma.AgentSessionEntryScalarWhereInput | Prisma.AgentSessionEntryScalarWhereInput[] - id?: Prisma.StringFilter<"AgentSessionEntry"> | string - sessionId?: Prisma.StringFilter<"AgentSessionEntry"> | string - entry?: Prisma.JsonFilter<"AgentSessionEntry"> -} - -export type AgentSessionEntryCreateManySessionInput = { - id: string - entry:PrismaJson.PiSessionEntry -} - -export type AgentSessionEntryUpdateWithoutSessionInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - entry?:PrismaJson.PiSessionEntry -} - -export type AgentSessionEntryUncheckedUpdateWithoutSessionInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - entry?:PrismaJson.PiSessionEntry -} - -export type AgentSessionEntryUncheckedUpdateManyWithoutSessionInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - entry?:PrismaJson.PiSessionEntry -} - - - -export type AgentSessionEntrySelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - sessionId?: boolean - entry?: boolean - session?: boolean | Prisma.AgentSessionDefaultArgs -}, ExtArgs["result"]["agentSessionEntry"]> - -export type AgentSessionEntrySelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - sessionId?: boolean - entry?: boolean - session?: boolean | Prisma.AgentSessionDefaultArgs -}, ExtArgs["result"]["agentSessionEntry"]> - -export type AgentSessionEntrySelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - sessionId?: boolean - entry?: boolean - session?: boolean | Prisma.AgentSessionDefaultArgs -}, ExtArgs["result"]["agentSessionEntry"]> - -export type AgentSessionEntrySelectScalar = { - id?: boolean - sessionId?: boolean - entry?: boolean -} - -export type AgentSessionEntryOmit = runtime.Types.Extensions.GetOmit<"id" | "sessionId" | "entry", ExtArgs["result"]["agentSessionEntry"]> -export type AgentSessionEntryInclude = { - session?: boolean | Prisma.AgentSessionDefaultArgs -} -export type AgentSessionEntryIncludeCreateManyAndReturn = { - session?: boolean | Prisma.AgentSessionDefaultArgs -} -export type AgentSessionEntryIncludeUpdateManyAndReturn = { - session?: boolean | Prisma.AgentSessionDefaultArgs -} - -export type $AgentSessionEntryPayload = { - name: "AgentSessionEntry" - objects: { - session: Prisma.$AgentSessionPayload - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - sessionId: string - /** - * [PiSessionEntry] - */ - entry:PrismaJson.PiSessionEntry - }, ExtArgs["result"]["agentSessionEntry"]> - composites: {} -} - -export type AgentSessionEntryGetPayload = runtime.Types.Result.GetResult - -export type AgentSessionEntryCountArgs = - Omit & { - select?: AgentSessionEntryCountAggregateInputType | true - } - -export interface AgentSessionEntryDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['AgentSessionEntry'], meta: { name: 'AgentSessionEntry' } } - /** - * Find zero or one AgentSessionEntry that matches the filter. - * @param {AgentSessionEntryFindUniqueArgs} args - Arguments to find a AgentSessionEntry - * @example - * // Get one AgentSessionEntry - * const agentSessionEntry = await prisma.agentSessionEntry.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AgentSessionEntryClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one AgentSessionEntry that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {AgentSessionEntryFindUniqueOrThrowArgs} args - Arguments to find a AgentSessionEntry - * @example - * // Get one AgentSessionEntry - * const agentSessionEntry = await prisma.agentSessionEntry.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AgentSessionEntryClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first AgentSessionEntry that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentSessionEntryFindFirstArgs} args - Arguments to find a AgentSessionEntry - * @example - * // Get one AgentSessionEntry - * const agentSessionEntry = await prisma.agentSessionEntry.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AgentSessionEntryClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first AgentSessionEntry that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentSessionEntryFindFirstOrThrowArgs} args - Arguments to find a AgentSessionEntry - * @example - * // Get one AgentSessionEntry - * const agentSessionEntry = await prisma.agentSessionEntry.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AgentSessionEntryClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more AgentSessionEntries that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentSessionEntryFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all AgentSessionEntries - * const agentSessionEntries = await prisma.agentSessionEntry.findMany() - * - * // Get first 10 AgentSessionEntries - * const agentSessionEntries = await prisma.agentSessionEntry.findMany({ take: 10 }) - * - * // Only select the `id` - * const agentSessionEntryWithIdOnly = await prisma.agentSessionEntry.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a AgentSessionEntry. - * @param {AgentSessionEntryCreateArgs} args - Arguments to create a AgentSessionEntry. - * @example - * // Create one AgentSessionEntry - * const AgentSessionEntry = await prisma.agentSessionEntry.create({ - * data: { - * // ... data to create a AgentSessionEntry - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__AgentSessionEntryClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many AgentSessionEntries. - * @param {AgentSessionEntryCreateManyArgs} args - Arguments to create many AgentSessionEntries. - * @example - * // Create many AgentSessionEntries - * const agentSessionEntry = await prisma.agentSessionEntry.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many AgentSessionEntries and returns the data saved in the database. - * @param {AgentSessionEntryCreateManyAndReturnArgs} args - Arguments to create many AgentSessionEntries. - * @example - * // Create many AgentSessionEntries - * const agentSessionEntry = await prisma.agentSessionEntry.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many AgentSessionEntries and only return the `id` - * const agentSessionEntryWithIdOnly = await prisma.agentSessionEntry.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a AgentSessionEntry. - * @param {AgentSessionEntryDeleteArgs} args - Arguments to delete one AgentSessionEntry. - * @example - * // Delete one AgentSessionEntry - * const AgentSessionEntry = await prisma.agentSessionEntry.delete({ - * where: { - * // ... filter to delete one AgentSessionEntry - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__AgentSessionEntryClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one AgentSessionEntry. - * @param {AgentSessionEntryUpdateArgs} args - Arguments to update one AgentSessionEntry. - * @example - * // Update one AgentSessionEntry - * const agentSessionEntry = await prisma.agentSessionEntry.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__AgentSessionEntryClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more AgentSessionEntries. - * @param {AgentSessionEntryDeleteManyArgs} args - Arguments to filter AgentSessionEntries to delete. - * @example - * // Delete a few AgentSessionEntries - * const { count } = await prisma.agentSessionEntry.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more AgentSessionEntries. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentSessionEntryUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many AgentSessionEntries - * const agentSessionEntry = await prisma.agentSessionEntry.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more AgentSessionEntries and returns the data updated in the database. - * @param {AgentSessionEntryUpdateManyAndReturnArgs} args - Arguments to update many AgentSessionEntries. - * @example - * // Update many AgentSessionEntries - * const agentSessionEntry = await prisma.agentSessionEntry.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more AgentSessionEntries and only return the `id` - * const agentSessionEntryWithIdOnly = await prisma.agentSessionEntry.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one AgentSessionEntry. - * @param {AgentSessionEntryUpsertArgs} args - Arguments to update or create a AgentSessionEntry. - * @example - * // Update or create a AgentSessionEntry - * const agentSessionEntry = await prisma.agentSessionEntry.upsert({ - * create: { - * // ... data to create a AgentSessionEntry - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the AgentSessionEntry we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AgentSessionEntryClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of AgentSessionEntries. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentSessionEntryCountArgs} args - Arguments to filter AgentSessionEntries to count. - * @example - * // Count the number of AgentSessionEntries - * const count = await prisma.agentSessionEntry.count({ - * where: { - * // ... the filter for the AgentSessionEntries we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a AgentSessionEntry. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentSessionEntryAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by AgentSessionEntry. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentSessionEntryGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends AgentSessionEntryGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: AgentSessionEntryGroupByArgs['orderBy'] } - : { orderBy?: AgentSessionEntryGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetAgentSessionEntryGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the AgentSessionEntry model - */ -readonly fields: AgentSessionEntryFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for AgentSessionEntry. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__AgentSessionEntryClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - session = {}>(args?: Prisma.Subset>): Prisma.Prisma__AgentSessionClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the AgentSessionEntry model - */ -export interface AgentSessionEntryFieldRefs { - readonly id: Prisma.FieldRef<"AgentSessionEntry", 'String'> - readonly sessionId: Prisma.FieldRef<"AgentSessionEntry", 'String'> - readonly entry: Prisma.FieldRef<"AgentSessionEntry", 'Json'> -} - - -// Custom InputTypes -/** - * AgentSessionEntry findUnique - */ -export type AgentSessionEntryFindUniqueArgs = { - /** - * Select specific fields to fetch from the AgentSessionEntry - */ - select?: Prisma.AgentSessionEntrySelect | null - /** - * Omit specific fields from the AgentSessionEntry - */ - omit?: Prisma.AgentSessionEntryOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionEntryInclude | null - /** - * Filter, which AgentSessionEntry to fetch. - */ - where: Prisma.AgentSessionEntryWhereUniqueInput -} - -/** - * AgentSessionEntry findUniqueOrThrow - */ -export type AgentSessionEntryFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the AgentSessionEntry - */ - select?: Prisma.AgentSessionEntrySelect | null - /** - * Omit specific fields from the AgentSessionEntry - */ - omit?: Prisma.AgentSessionEntryOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionEntryInclude | null - /** - * Filter, which AgentSessionEntry to fetch. - */ - where: Prisma.AgentSessionEntryWhereUniqueInput -} - -/** - * AgentSessionEntry findFirst - */ -export type AgentSessionEntryFindFirstArgs = { - /** - * Select specific fields to fetch from the AgentSessionEntry - */ - select?: Prisma.AgentSessionEntrySelect | null - /** - * Omit specific fields from the AgentSessionEntry - */ - omit?: Prisma.AgentSessionEntryOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionEntryInclude | null - /** - * Filter, which AgentSessionEntry to fetch. - */ - where?: Prisma.AgentSessionEntryWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AgentSessionEntries to fetch. - */ - orderBy?: Prisma.AgentSessionEntryOrderByWithRelationInput | Prisma.AgentSessionEntryOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for AgentSessionEntries. - */ - cursor?: Prisma.AgentSessionEntryWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AgentSessionEntries from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AgentSessionEntries. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of AgentSessionEntries. - */ - distinct?: Prisma.AgentSessionEntryScalarFieldEnum | Prisma.AgentSessionEntryScalarFieldEnum[] -} - -/** - * AgentSessionEntry findFirstOrThrow - */ -export type AgentSessionEntryFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the AgentSessionEntry - */ - select?: Prisma.AgentSessionEntrySelect | null - /** - * Omit specific fields from the AgentSessionEntry - */ - omit?: Prisma.AgentSessionEntryOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionEntryInclude | null - /** - * Filter, which AgentSessionEntry to fetch. - */ - where?: Prisma.AgentSessionEntryWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AgentSessionEntries to fetch. - */ - orderBy?: Prisma.AgentSessionEntryOrderByWithRelationInput | Prisma.AgentSessionEntryOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for AgentSessionEntries. - */ - cursor?: Prisma.AgentSessionEntryWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AgentSessionEntries from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AgentSessionEntries. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of AgentSessionEntries. - */ - distinct?: Prisma.AgentSessionEntryScalarFieldEnum | Prisma.AgentSessionEntryScalarFieldEnum[] -} - -/** - * AgentSessionEntry findMany - */ -export type AgentSessionEntryFindManyArgs = { - /** - * Select specific fields to fetch from the AgentSessionEntry - */ - select?: Prisma.AgentSessionEntrySelect | null - /** - * Omit specific fields from the AgentSessionEntry - */ - omit?: Prisma.AgentSessionEntryOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionEntryInclude | null - /** - * Filter, which AgentSessionEntries to fetch. - */ - where?: Prisma.AgentSessionEntryWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AgentSessionEntries to fetch. - */ - orderBy?: Prisma.AgentSessionEntryOrderByWithRelationInput | Prisma.AgentSessionEntryOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing AgentSessionEntries. - */ - cursor?: Prisma.AgentSessionEntryWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AgentSessionEntries from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AgentSessionEntries. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of AgentSessionEntries. - */ - distinct?: Prisma.AgentSessionEntryScalarFieldEnum | Prisma.AgentSessionEntryScalarFieldEnum[] -} - -/** - * AgentSessionEntry create - */ -export type AgentSessionEntryCreateArgs = { - /** - * Select specific fields to fetch from the AgentSessionEntry - */ - select?: Prisma.AgentSessionEntrySelect | null - /** - * Omit specific fields from the AgentSessionEntry - */ - omit?: Prisma.AgentSessionEntryOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionEntryInclude | null - /** - * The data needed to create a AgentSessionEntry. - */ - data: Prisma.XOR -} - -/** - * AgentSessionEntry createMany - */ -export type AgentSessionEntryCreateManyArgs = { - /** - * The data used to create many AgentSessionEntries. - */ - data: Prisma.AgentSessionEntryCreateManyInput | Prisma.AgentSessionEntryCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * AgentSessionEntry createManyAndReturn - */ -export type AgentSessionEntryCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the AgentSessionEntry - */ - select?: Prisma.AgentSessionEntrySelectCreateManyAndReturn | null - /** - * Omit specific fields from the AgentSessionEntry - */ - omit?: Prisma.AgentSessionEntryOmit | null - /** - * The data used to create many AgentSessionEntries. - */ - data: Prisma.AgentSessionEntryCreateManyInput | Prisma.AgentSessionEntryCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionEntryIncludeCreateManyAndReturn | null -} - -/** - * AgentSessionEntry update - */ -export type AgentSessionEntryUpdateArgs = { - /** - * Select specific fields to fetch from the AgentSessionEntry - */ - select?: Prisma.AgentSessionEntrySelect | null - /** - * Omit specific fields from the AgentSessionEntry - */ - omit?: Prisma.AgentSessionEntryOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionEntryInclude | null - /** - * The data needed to update a AgentSessionEntry. - */ - data: Prisma.XOR - /** - * Choose, which AgentSessionEntry to update. - */ - where: Prisma.AgentSessionEntryWhereUniqueInput -} - -/** - * AgentSessionEntry updateMany - */ -export type AgentSessionEntryUpdateManyArgs = { - /** - * The data used to update AgentSessionEntries. - */ - data: Prisma.XOR - /** - * Filter which AgentSessionEntries to update - */ - where?: Prisma.AgentSessionEntryWhereInput - /** - * Limit how many AgentSessionEntries to update. - */ - limit?: number -} - -/** - * AgentSessionEntry updateManyAndReturn - */ -export type AgentSessionEntryUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the AgentSessionEntry - */ - select?: Prisma.AgentSessionEntrySelectUpdateManyAndReturn | null - /** - * Omit specific fields from the AgentSessionEntry - */ - omit?: Prisma.AgentSessionEntryOmit | null - /** - * The data used to update AgentSessionEntries. - */ - data: Prisma.XOR - /** - * Filter which AgentSessionEntries to update - */ - where?: Prisma.AgentSessionEntryWhereInput - /** - * Limit how many AgentSessionEntries to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionEntryIncludeUpdateManyAndReturn | null -} - -/** - * AgentSessionEntry upsert - */ -export type AgentSessionEntryUpsertArgs = { - /** - * Select specific fields to fetch from the AgentSessionEntry - */ - select?: Prisma.AgentSessionEntrySelect | null - /** - * Omit specific fields from the AgentSessionEntry - */ - omit?: Prisma.AgentSessionEntryOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionEntryInclude | null - /** - * The filter to search for the AgentSessionEntry to update in case it exists. - */ - where: Prisma.AgentSessionEntryWhereUniqueInput - /** - * In case the AgentSessionEntry found by the `where` argument doesn't exist, create a new AgentSessionEntry with this data. - */ - create: Prisma.XOR - /** - * In case the AgentSessionEntry was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * AgentSessionEntry delete - */ -export type AgentSessionEntryDeleteArgs = { - /** - * Select specific fields to fetch from the AgentSessionEntry - */ - select?: Prisma.AgentSessionEntrySelect | null - /** - * Omit specific fields from the AgentSessionEntry - */ - omit?: Prisma.AgentSessionEntryOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionEntryInclude | null - /** - * Filter which AgentSessionEntry to delete. - */ - where: Prisma.AgentSessionEntryWhereUniqueInput -} - -/** - * AgentSessionEntry deleteMany - */ -export type AgentSessionEntryDeleteManyArgs = { - /** - * Filter which AgentSessionEntries to delete - */ - where?: Prisma.AgentSessionEntryWhereInput - /** - * Limit how many AgentSessionEntries to delete. - */ - limit?: number -} - -/** - * AgentSessionEntry without action - */ -export type AgentSessionEntryDefaultArgs = { - /** - * Select specific fields to fetch from the AgentSessionEntry - */ - select?: Prisma.AgentSessionEntrySelect | null - /** - * Omit specific fields from the AgentSessionEntry - */ - omit?: Prisma.AgentSessionEntryOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionEntryInclude | null -} diff --git a/src/generated/prisma/models/AgentSkill.ts b/src/generated/prisma/models/AgentSkill.ts deleted file mode 100644 index f3a0c45b..00000000 --- a/src/generated/prisma/models/AgentSkill.ts +++ /dev/null @@ -1,1473 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `AgentSkill` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model AgentSkill - * - */ -export type AgentSkillModel = runtime.Types.Result.DefaultSelection - -export type AggregateAgentSkill = { - _count: AgentSkillCountAggregateOutputType | null - _min: AgentSkillMinAggregateOutputType | null - _max: AgentSkillMaxAggregateOutputType | null -} - -export type AgentSkillMinAggregateOutputType = { - id: string | null - agentId: string | null - skillId: string | null - createdAt: Date | null - updatedAt: Date | null -} - -export type AgentSkillMaxAggregateOutputType = { - id: string | null - agentId: string | null - skillId: string | null - createdAt: Date | null - updatedAt: Date | null -} - -export type AgentSkillCountAggregateOutputType = { - id: number - agentId: number - skillId: number - createdAt: number - updatedAt: number - _all: number -} - - -export type AgentSkillMinAggregateInputType = { - id?: true - agentId?: true - skillId?: true - createdAt?: true - updatedAt?: true -} - -export type AgentSkillMaxAggregateInputType = { - id?: true - agentId?: true - skillId?: true - createdAt?: true - updatedAt?: true -} - -export type AgentSkillCountAggregateInputType = { - id?: true - agentId?: true - skillId?: true - createdAt?: true - updatedAt?: true - _all?: true -} - -export type AgentSkillAggregateArgs = { - /** - * Filter which AgentSkill to aggregate. - */ - where?: Prisma.AgentSkillWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AgentSkills to fetch. - */ - orderBy?: Prisma.AgentSkillOrderByWithRelationInput | Prisma.AgentSkillOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.AgentSkillWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AgentSkills from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AgentSkills. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned AgentSkills - **/ - _count?: true | AgentSkillCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: AgentSkillMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: AgentSkillMaxAggregateInputType -} - -export type GetAgentSkillAggregateType = { - [P in keyof T & keyof AggregateAgentSkill]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type AgentSkillGroupByArgs = { - where?: Prisma.AgentSkillWhereInput - orderBy?: Prisma.AgentSkillOrderByWithAggregationInput | Prisma.AgentSkillOrderByWithAggregationInput[] - by: Prisma.AgentSkillScalarFieldEnum[] | Prisma.AgentSkillScalarFieldEnum - having?: Prisma.AgentSkillScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: AgentSkillCountAggregateInputType | true - _min?: AgentSkillMinAggregateInputType - _max?: AgentSkillMaxAggregateInputType -} - -export type AgentSkillGroupByOutputType = { - id: string - agentId: string - skillId: string - createdAt: Date - updatedAt: Date - _count: AgentSkillCountAggregateOutputType | null - _min: AgentSkillMinAggregateOutputType | null - _max: AgentSkillMaxAggregateOutputType | null -} - -export type GetAgentSkillGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof AgentSkillGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type AgentSkillWhereInput = { - AND?: Prisma.AgentSkillWhereInput | Prisma.AgentSkillWhereInput[] - OR?: Prisma.AgentSkillWhereInput[] - NOT?: Prisma.AgentSkillWhereInput | Prisma.AgentSkillWhereInput[] - id?: Prisma.StringFilter<"AgentSkill"> | string - agentId?: Prisma.StringFilter<"AgentSkill"> | string - skillId?: Prisma.StringFilter<"AgentSkill"> | string - createdAt?: Prisma.DateTimeFilter<"AgentSkill"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"AgentSkill"> | Date | string - agent?: Prisma.XOR - skill?: Prisma.XOR -} - -export type AgentSkillOrderByWithRelationInput = { - id?: Prisma.SortOrder - agentId?: Prisma.SortOrder - skillId?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - agent?: Prisma.AgentOrderByWithRelationInput - skill?: Prisma.SkillOrderByWithRelationInput -} - -export type AgentSkillWhereUniqueInput = Prisma.AtLeast<{ - id?: string - agentId_skillId?: Prisma.AgentSkillAgentIdSkillIdCompoundUniqueInput - AND?: Prisma.AgentSkillWhereInput | Prisma.AgentSkillWhereInput[] - OR?: Prisma.AgentSkillWhereInput[] - NOT?: Prisma.AgentSkillWhereInput | Prisma.AgentSkillWhereInput[] - agentId?: Prisma.StringFilter<"AgentSkill"> | string - skillId?: Prisma.StringFilter<"AgentSkill"> | string - createdAt?: Prisma.DateTimeFilter<"AgentSkill"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"AgentSkill"> | Date | string - agent?: Prisma.XOR - skill?: Prisma.XOR -}, "id" | "agentId_skillId"> - -export type AgentSkillOrderByWithAggregationInput = { - id?: Prisma.SortOrder - agentId?: Prisma.SortOrder - skillId?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - _count?: Prisma.AgentSkillCountOrderByAggregateInput - _max?: Prisma.AgentSkillMaxOrderByAggregateInput - _min?: Prisma.AgentSkillMinOrderByAggregateInput -} - -export type AgentSkillScalarWhereWithAggregatesInput = { - AND?: Prisma.AgentSkillScalarWhereWithAggregatesInput | Prisma.AgentSkillScalarWhereWithAggregatesInput[] - OR?: Prisma.AgentSkillScalarWhereWithAggregatesInput[] - NOT?: Prisma.AgentSkillScalarWhereWithAggregatesInput | Prisma.AgentSkillScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"AgentSkill"> | string - agentId?: Prisma.StringWithAggregatesFilter<"AgentSkill"> | string - skillId?: Prisma.StringWithAggregatesFilter<"AgentSkill"> | string - createdAt?: Prisma.DateTimeWithAggregatesFilter<"AgentSkill"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AgentSkill"> | Date | string -} - -export type AgentSkillCreateInput = { - id?: string - createdAt?: Date | string - updatedAt?: Date | string - agent: Prisma.AgentCreateNestedOneWithoutSkillsInput - skill: Prisma.SkillCreateNestedOneWithoutAgentSkillsInput -} - -export type AgentSkillUncheckedCreateInput = { - id?: string - agentId: string - skillId: string - createdAt?: Date | string - updatedAt?: Date | string -} - -export type AgentSkillUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - agent?: Prisma.AgentUpdateOneRequiredWithoutSkillsNestedInput - skill?: Prisma.SkillUpdateOneRequiredWithoutAgentSkillsNestedInput -} - -export type AgentSkillUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - agentId?: Prisma.StringFieldUpdateOperationsInput | string - skillId?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AgentSkillCreateManyInput = { - id?: string - agentId: string - skillId: string - createdAt?: Date | string - updatedAt?: Date | string -} - -export type AgentSkillUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AgentSkillUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - agentId?: Prisma.StringFieldUpdateOperationsInput | string - skillId?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AgentSkillListRelationFilter = { - every?: Prisma.AgentSkillWhereInput - some?: Prisma.AgentSkillWhereInput - none?: Prisma.AgentSkillWhereInput -} - -export type AgentSkillOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type AgentSkillAgentIdSkillIdCompoundUniqueInput = { - agentId: string - skillId: string -} - -export type AgentSkillCountOrderByAggregateInput = { - id?: Prisma.SortOrder - agentId?: Prisma.SortOrder - skillId?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type AgentSkillMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - agentId?: Prisma.SortOrder - skillId?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type AgentSkillMinOrderByAggregateInput = { - id?: Prisma.SortOrder - agentId?: Prisma.SortOrder - skillId?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type AgentSkillCreateNestedManyWithoutSkillInput = { - create?: Prisma.XOR | Prisma.AgentSkillCreateWithoutSkillInput[] | Prisma.AgentSkillUncheckedCreateWithoutSkillInput[] - connectOrCreate?: Prisma.AgentSkillCreateOrConnectWithoutSkillInput | Prisma.AgentSkillCreateOrConnectWithoutSkillInput[] - createMany?: Prisma.AgentSkillCreateManySkillInputEnvelope - connect?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[] -} - -export type AgentSkillUncheckedCreateNestedManyWithoutSkillInput = { - create?: Prisma.XOR | Prisma.AgentSkillCreateWithoutSkillInput[] | Prisma.AgentSkillUncheckedCreateWithoutSkillInput[] - connectOrCreate?: Prisma.AgentSkillCreateOrConnectWithoutSkillInput | Prisma.AgentSkillCreateOrConnectWithoutSkillInput[] - createMany?: Prisma.AgentSkillCreateManySkillInputEnvelope - connect?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[] -} - -export type AgentSkillUpdateManyWithoutSkillNestedInput = { - create?: Prisma.XOR | Prisma.AgentSkillCreateWithoutSkillInput[] | Prisma.AgentSkillUncheckedCreateWithoutSkillInput[] - connectOrCreate?: Prisma.AgentSkillCreateOrConnectWithoutSkillInput | Prisma.AgentSkillCreateOrConnectWithoutSkillInput[] - upsert?: Prisma.AgentSkillUpsertWithWhereUniqueWithoutSkillInput | Prisma.AgentSkillUpsertWithWhereUniqueWithoutSkillInput[] - createMany?: Prisma.AgentSkillCreateManySkillInputEnvelope - set?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[] - disconnect?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[] - delete?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[] - connect?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[] - update?: Prisma.AgentSkillUpdateWithWhereUniqueWithoutSkillInput | Prisma.AgentSkillUpdateWithWhereUniqueWithoutSkillInput[] - updateMany?: Prisma.AgentSkillUpdateManyWithWhereWithoutSkillInput | Prisma.AgentSkillUpdateManyWithWhereWithoutSkillInput[] - deleteMany?: Prisma.AgentSkillScalarWhereInput | Prisma.AgentSkillScalarWhereInput[] -} - -export type AgentSkillUncheckedUpdateManyWithoutSkillNestedInput = { - create?: Prisma.XOR | Prisma.AgentSkillCreateWithoutSkillInput[] | Prisma.AgentSkillUncheckedCreateWithoutSkillInput[] - connectOrCreate?: Prisma.AgentSkillCreateOrConnectWithoutSkillInput | Prisma.AgentSkillCreateOrConnectWithoutSkillInput[] - upsert?: Prisma.AgentSkillUpsertWithWhereUniqueWithoutSkillInput | Prisma.AgentSkillUpsertWithWhereUniqueWithoutSkillInput[] - createMany?: Prisma.AgentSkillCreateManySkillInputEnvelope - set?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[] - disconnect?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[] - delete?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[] - connect?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[] - update?: Prisma.AgentSkillUpdateWithWhereUniqueWithoutSkillInput | Prisma.AgentSkillUpdateWithWhereUniqueWithoutSkillInput[] - updateMany?: Prisma.AgentSkillUpdateManyWithWhereWithoutSkillInput | Prisma.AgentSkillUpdateManyWithWhereWithoutSkillInput[] - deleteMany?: Prisma.AgentSkillScalarWhereInput | Prisma.AgentSkillScalarWhereInput[] -} - -export type AgentSkillCreateNestedManyWithoutAgentInput = { - create?: Prisma.XOR | Prisma.AgentSkillCreateWithoutAgentInput[] | Prisma.AgentSkillUncheckedCreateWithoutAgentInput[] - connectOrCreate?: Prisma.AgentSkillCreateOrConnectWithoutAgentInput | Prisma.AgentSkillCreateOrConnectWithoutAgentInput[] - createMany?: Prisma.AgentSkillCreateManyAgentInputEnvelope - connect?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[] -} - -export type AgentSkillUncheckedCreateNestedManyWithoutAgentInput = { - create?: Prisma.XOR | Prisma.AgentSkillCreateWithoutAgentInput[] | Prisma.AgentSkillUncheckedCreateWithoutAgentInput[] - connectOrCreate?: Prisma.AgentSkillCreateOrConnectWithoutAgentInput | Prisma.AgentSkillCreateOrConnectWithoutAgentInput[] - createMany?: Prisma.AgentSkillCreateManyAgentInputEnvelope - connect?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[] -} - -export type AgentSkillUpdateManyWithoutAgentNestedInput = { - create?: Prisma.XOR | Prisma.AgentSkillCreateWithoutAgentInput[] | Prisma.AgentSkillUncheckedCreateWithoutAgentInput[] - connectOrCreate?: Prisma.AgentSkillCreateOrConnectWithoutAgentInput | Prisma.AgentSkillCreateOrConnectWithoutAgentInput[] - upsert?: Prisma.AgentSkillUpsertWithWhereUniqueWithoutAgentInput | Prisma.AgentSkillUpsertWithWhereUniqueWithoutAgentInput[] - createMany?: Prisma.AgentSkillCreateManyAgentInputEnvelope - set?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[] - disconnect?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[] - delete?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[] - connect?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[] - update?: Prisma.AgentSkillUpdateWithWhereUniqueWithoutAgentInput | Prisma.AgentSkillUpdateWithWhereUniqueWithoutAgentInput[] - updateMany?: Prisma.AgentSkillUpdateManyWithWhereWithoutAgentInput | Prisma.AgentSkillUpdateManyWithWhereWithoutAgentInput[] - deleteMany?: Prisma.AgentSkillScalarWhereInput | Prisma.AgentSkillScalarWhereInput[] -} - -export type AgentSkillUncheckedUpdateManyWithoutAgentNestedInput = { - create?: Prisma.XOR | Prisma.AgentSkillCreateWithoutAgentInput[] | Prisma.AgentSkillUncheckedCreateWithoutAgentInput[] - connectOrCreate?: Prisma.AgentSkillCreateOrConnectWithoutAgentInput | Prisma.AgentSkillCreateOrConnectWithoutAgentInput[] - upsert?: Prisma.AgentSkillUpsertWithWhereUniqueWithoutAgentInput | Prisma.AgentSkillUpsertWithWhereUniqueWithoutAgentInput[] - createMany?: Prisma.AgentSkillCreateManyAgentInputEnvelope - set?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[] - disconnect?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[] - delete?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[] - connect?: Prisma.AgentSkillWhereUniqueInput | Prisma.AgentSkillWhereUniqueInput[] - update?: Prisma.AgentSkillUpdateWithWhereUniqueWithoutAgentInput | Prisma.AgentSkillUpdateWithWhereUniqueWithoutAgentInput[] - updateMany?: Prisma.AgentSkillUpdateManyWithWhereWithoutAgentInput | Prisma.AgentSkillUpdateManyWithWhereWithoutAgentInput[] - deleteMany?: Prisma.AgentSkillScalarWhereInput | Prisma.AgentSkillScalarWhereInput[] -} - -export type AgentSkillCreateWithoutSkillInput = { - id?: string - createdAt?: Date | string - updatedAt?: Date | string - agent: Prisma.AgentCreateNestedOneWithoutSkillsInput -} - -export type AgentSkillUncheckedCreateWithoutSkillInput = { - id?: string - agentId: string - createdAt?: Date | string - updatedAt?: Date | string -} - -export type AgentSkillCreateOrConnectWithoutSkillInput = { - where: Prisma.AgentSkillWhereUniqueInput - create: Prisma.XOR -} - -export type AgentSkillCreateManySkillInputEnvelope = { - data: Prisma.AgentSkillCreateManySkillInput | Prisma.AgentSkillCreateManySkillInput[] - skipDuplicates?: boolean -} - -export type AgentSkillUpsertWithWhereUniqueWithoutSkillInput = { - where: Prisma.AgentSkillWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type AgentSkillUpdateWithWhereUniqueWithoutSkillInput = { - where: Prisma.AgentSkillWhereUniqueInput - data: Prisma.XOR -} - -export type AgentSkillUpdateManyWithWhereWithoutSkillInput = { - where: Prisma.AgentSkillScalarWhereInput - data: Prisma.XOR -} - -export type AgentSkillScalarWhereInput = { - AND?: Prisma.AgentSkillScalarWhereInput | Prisma.AgentSkillScalarWhereInput[] - OR?: Prisma.AgentSkillScalarWhereInput[] - NOT?: Prisma.AgentSkillScalarWhereInput | Prisma.AgentSkillScalarWhereInput[] - id?: Prisma.StringFilter<"AgentSkill"> | string - agentId?: Prisma.StringFilter<"AgentSkill"> | string - skillId?: Prisma.StringFilter<"AgentSkill"> | string - createdAt?: Prisma.DateTimeFilter<"AgentSkill"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"AgentSkill"> | Date | string -} - -export type AgentSkillCreateWithoutAgentInput = { - id?: string - createdAt?: Date | string - updatedAt?: Date | string - skill: Prisma.SkillCreateNestedOneWithoutAgentSkillsInput -} - -export type AgentSkillUncheckedCreateWithoutAgentInput = { - id?: string - skillId: string - createdAt?: Date | string - updatedAt?: Date | string -} - -export type AgentSkillCreateOrConnectWithoutAgentInput = { - where: Prisma.AgentSkillWhereUniqueInput - create: Prisma.XOR -} - -export type AgentSkillCreateManyAgentInputEnvelope = { - data: Prisma.AgentSkillCreateManyAgentInput | Prisma.AgentSkillCreateManyAgentInput[] - skipDuplicates?: boolean -} - -export type AgentSkillUpsertWithWhereUniqueWithoutAgentInput = { - where: Prisma.AgentSkillWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type AgentSkillUpdateWithWhereUniqueWithoutAgentInput = { - where: Prisma.AgentSkillWhereUniqueInput - data: Prisma.XOR -} - -export type AgentSkillUpdateManyWithWhereWithoutAgentInput = { - where: Prisma.AgentSkillScalarWhereInput - data: Prisma.XOR -} - -export type AgentSkillCreateManySkillInput = { - id?: string - agentId: string - createdAt?: Date | string - updatedAt?: Date | string -} - -export type AgentSkillUpdateWithoutSkillInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - agent?: Prisma.AgentUpdateOneRequiredWithoutSkillsNestedInput -} - -export type AgentSkillUncheckedUpdateWithoutSkillInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - agentId?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AgentSkillUncheckedUpdateManyWithoutSkillInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - agentId?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AgentSkillCreateManyAgentInput = { - id?: string - skillId: string - createdAt?: Date | string - updatedAt?: Date | string -} - -export type AgentSkillUpdateWithoutAgentInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - skill?: Prisma.SkillUpdateOneRequiredWithoutAgentSkillsNestedInput -} - -export type AgentSkillUncheckedUpdateWithoutAgentInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - skillId?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AgentSkillUncheckedUpdateManyWithoutAgentInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - skillId?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - - - -export type AgentSkillSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - agentId?: boolean - skillId?: boolean - createdAt?: boolean - updatedAt?: boolean - agent?: boolean | Prisma.AgentDefaultArgs - skill?: boolean | Prisma.SkillDefaultArgs -}, ExtArgs["result"]["agentSkill"]> - -export type AgentSkillSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - agentId?: boolean - skillId?: boolean - createdAt?: boolean - updatedAt?: boolean - agent?: boolean | Prisma.AgentDefaultArgs - skill?: boolean | Prisma.SkillDefaultArgs -}, ExtArgs["result"]["agentSkill"]> - -export type AgentSkillSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - agentId?: boolean - skillId?: boolean - createdAt?: boolean - updatedAt?: boolean - agent?: boolean | Prisma.AgentDefaultArgs - skill?: boolean | Prisma.SkillDefaultArgs -}, ExtArgs["result"]["agentSkill"]> - -export type AgentSkillSelectScalar = { - id?: boolean - agentId?: boolean - skillId?: boolean - createdAt?: boolean - updatedAt?: boolean -} - -export type AgentSkillOmit = runtime.Types.Extensions.GetOmit<"id" | "agentId" | "skillId" | "createdAt" | "updatedAt", ExtArgs["result"]["agentSkill"]> -export type AgentSkillInclude = { - agent?: boolean | Prisma.AgentDefaultArgs - skill?: boolean | Prisma.SkillDefaultArgs -} -export type AgentSkillIncludeCreateManyAndReturn = { - agent?: boolean | Prisma.AgentDefaultArgs - skill?: boolean | Prisma.SkillDefaultArgs -} -export type AgentSkillIncludeUpdateManyAndReturn = { - agent?: boolean | Prisma.AgentDefaultArgs - skill?: boolean | Prisma.SkillDefaultArgs -} - -export type $AgentSkillPayload = { - name: "AgentSkill" - objects: { - agent: Prisma.$AgentPayload - skill: Prisma.$SkillPayload - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - agentId: string - skillId: string - createdAt: Date - updatedAt: Date - }, ExtArgs["result"]["agentSkill"]> - composites: {} -} - -export type AgentSkillGetPayload = runtime.Types.Result.GetResult - -export type AgentSkillCountArgs = - Omit & { - select?: AgentSkillCountAggregateInputType | true - } - -export interface AgentSkillDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['AgentSkill'], meta: { name: 'AgentSkill' } } - /** - * Find zero or one AgentSkill that matches the filter. - * @param {AgentSkillFindUniqueArgs} args - Arguments to find a AgentSkill - * @example - * // Get one AgentSkill - * const agentSkill = await prisma.agentSkill.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AgentSkillClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one AgentSkill that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {AgentSkillFindUniqueOrThrowArgs} args - Arguments to find a AgentSkill - * @example - * // Get one AgentSkill - * const agentSkill = await prisma.agentSkill.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AgentSkillClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first AgentSkill that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentSkillFindFirstArgs} args - Arguments to find a AgentSkill - * @example - * // Get one AgentSkill - * const agentSkill = await prisma.agentSkill.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AgentSkillClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first AgentSkill that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentSkillFindFirstOrThrowArgs} args - Arguments to find a AgentSkill - * @example - * // Get one AgentSkill - * const agentSkill = await prisma.agentSkill.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AgentSkillClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more AgentSkills that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentSkillFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all AgentSkills - * const agentSkills = await prisma.agentSkill.findMany() - * - * // Get first 10 AgentSkills - * const agentSkills = await prisma.agentSkill.findMany({ take: 10 }) - * - * // Only select the `id` - * const agentSkillWithIdOnly = await prisma.agentSkill.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a AgentSkill. - * @param {AgentSkillCreateArgs} args - Arguments to create a AgentSkill. - * @example - * // Create one AgentSkill - * const AgentSkill = await prisma.agentSkill.create({ - * data: { - * // ... data to create a AgentSkill - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__AgentSkillClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many AgentSkills. - * @param {AgentSkillCreateManyArgs} args - Arguments to create many AgentSkills. - * @example - * // Create many AgentSkills - * const agentSkill = await prisma.agentSkill.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many AgentSkills and returns the data saved in the database. - * @param {AgentSkillCreateManyAndReturnArgs} args - Arguments to create many AgentSkills. - * @example - * // Create many AgentSkills - * const agentSkill = await prisma.agentSkill.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many AgentSkills and only return the `id` - * const agentSkillWithIdOnly = await prisma.agentSkill.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a AgentSkill. - * @param {AgentSkillDeleteArgs} args - Arguments to delete one AgentSkill. - * @example - * // Delete one AgentSkill - * const AgentSkill = await prisma.agentSkill.delete({ - * where: { - * // ... filter to delete one AgentSkill - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__AgentSkillClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one AgentSkill. - * @param {AgentSkillUpdateArgs} args - Arguments to update one AgentSkill. - * @example - * // Update one AgentSkill - * const agentSkill = await prisma.agentSkill.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__AgentSkillClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more AgentSkills. - * @param {AgentSkillDeleteManyArgs} args - Arguments to filter AgentSkills to delete. - * @example - * // Delete a few AgentSkills - * const { count } = await prisma.agentSkill.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more AgentSkills. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentSkillUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many AgentSkills - * const agentSkill = await prisma.agentSkill.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more AgentSkills and returns the data updated in the database. - * @param {AgentSkillUpdateManyAndReturnArgs} args - Arguments to update many AgentSkills. - * @example - * // Update many AgentSkills - * const agentSkill = await prisma.agentSkill.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more AgentSkills and only return the `id` - * const agentSkillWithIdOnly = await prisma.agentSkill.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one AgentSkill. - * @param {AgentSkillUpsertArgs} args - Arguments to update or create a AgentSkill. - * @example - * // Update or create a AgentSkill - * const agentSkill = await prisma.agentSkill.upsert({ - * create: { - * // ... data to create a AgentSkill - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the AgentSkill we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AgentSkillClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of AgentSkills. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentSkillCountArgs} args - Arguments to filter AgentSkills to count. - * @example - * // Count the number of AgentSkills - * const count = await prisma.agentSkill.count({ - * where: { - * // ... the filter for the AgentSkills we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a AgentSkill. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentSkillAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by AgentSkill. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AgentSkillGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends AgentSkillGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: AgentSkillGroupByArgs['orderBy'] } - : { orderBy?: AgentSkillGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetAgentSkillGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the AgentSkill model - */ -readonly fields: AgentSkillFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for AgentSkill. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__AgentSkillClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - agent = {}>(args?: Prisma.Subset>): Prisma.Prisma__AgentClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - skill = {}>(args?: Prisma.Subset>): Prisma.Prisma__SkillClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the AgentSkill model - */ -export interface AgentSkillFieldRefs { - readonly id: Prisma.FieldRef<"AgentSkill", 'String'> - readonly agentId: Prisma.FieldRef<"AgentSkill", 'String'> - readonly skillId: Prisma.FieldRef<"AgentSkill", 'String'> - readonly createdAt: Prisma.FieldRef<"AgentSkill", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"AgentSkill", 'DateTime'> -} - - -// Custom InputTypes -/** - * AgentSkill findUnique - */ -export type AgentSkillFindUniqueArgs = { - /** - * Select specific fields to fetch from the AgentSkill - */ - select?: Prisma.AgentSkillSelect | null - /** - * Omit specific fields from the AgentSkill - */ - omit?: Prisma.AgentSkillOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSkillInclude | null - /** - * Filter, which AgentSkill to fetch. - */ - where: Prisma.AgentSkillWhereUniqueInput -} - -/** - * AgentSkill findUniqueOrThrow - */ -export type AgentSkillFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the AgentSkill - */ - select?: Prisma.AgentSkillSelect | null - /** - * Omit specific fields from the AgentSkill - */ - omit?: Prisma.AgentSkillOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSkillInclude | null - /** - * Filter, which AgentSkill to fetch. - */ - where: Prisma.AgentSkillWhereUniqueInput -} - -/** - * AgentSkill findFirst - */ -export type AgentSkillFindFirstArgs = { - /** - * Select specific fields to fetch from the AgentSkill - */ - select?: Prisma.AgentSkillSelect | null - /** - * Omit specific fields from the AgentSkill - */ - omit?: Prisma.AgentSkillOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSkillInclude | null - /** - * Filter, which AgentSkill to fetch. - */ - where?: Prisma.AgentSkillWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AgentSkills to fetch. - */ - orderBy?: Prisma.AgentSkillOrderByWithRelationInput | Prisma.AgentSkillOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for AgentSkills. - */ - cursor?: Prisma.AgentSkillWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AgentSkills from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AgentSkills. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of AgentSkills. - */ - distinct?: Prisma.AgentSkillScalarFieldEnum | Prisma.AgentSkillScalarFieldEnum[] -} - -/** - * AgentSkill findFirstOrThrow - */ -export type AgentSkillFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the AgentSkill - */ - select?: Prisma.AgentSkillSelect | null - /** - * Omit specific fields from the AgentSkill - */ - omit?: Prisma.AgentSkillOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSkillInclude | null - /** - * Filter, which AgentSkill to fetch. - */ - where?: Prisma.AgentSkillWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AgentSkills to fetch. - */ - orderBy?: Prisma.AgentSkillOrderByWithRelationInput | Prisma.AgentSkillOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for AgentSkills. - */ - cursor?: Prisma.AgentSkillWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AgentSkills from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AgentSkills. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of AgentSkills. - */ - distinct?: Prisma.AgentSkillScalarFieldEnum | Prisma.AgentSkillScalarFieldEnum[] -} - -/** - * AgentSkill findMany - */ -export type AgentSkillFindManyArgs = { - /** - * Select specific fields to fetch from the AgentSkill - */ - select?: Prisma.AgentSkillSelect | null - /** - * Omit specific fields from the AgentSkill - */ - omit?: Prisma.AgentSkillOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSkillInclude | null - /** - * Filter, which AgentSkills to fetch. - */ - where?: Prisma.AgentSkillWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AgentSkills to fetch. - */ - orderBy?: Prisma.AgentSkillOrderByWithRelationInput | Prisma.AgentSkillOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing AgentSkills. - */ - cursor?: Prisma.AgentSkillWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AgentSkills from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AgentSkills. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of AgentSkills. - */ - distinct?: Prisma.AgentSkillScalarFieldEnum | Prisma.AgentSkillScalarFieldEnum[] -} - -/** - * AgentSkill create - */ -export type AgentSkillCreateArgs = { - /** - * Select specific fields to fetch from the AgentSkill - */ - select?: Prisma.AgentSkillSelect | null - /** - * Omit specific fields from the AgentSkill - */ - omit?: Prisma.AgentSkillOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSkillInclude | null - /** - * The data needed to create a AgentSkill. - */ - data: Prisma.XOR -} - -/** - * AgentSkill createMany - */ -export type AgentSkillCreateManyArgs = { - /** - * The data used to create many AgentSkills. - */ - data: Prisma.AgentSkillCreateManyInput | Prisma.AgentSkillCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * AgentSkill createManyAndReturn - */ -export type AgentSkillCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the AgentSkill - */ - select?: Prisma.AgentSkillSelectCreateManyAndReturn | null - /** - * Omit specific fields from the AgentSkill - */ - omit?: Prisma.AgentSkillOmit | null - /** - * The data used to create many AgentSkills. - */ - data: Prisma.AgentSkillCreateManyInput | Prisma.AgentSkillCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSkillIncludeCreateManyAndReturn | null -} - -/** - * AgentSkill update - */ -export type AgentSkillUpdateArgs = { - /** - * Select specific fields to fetch from the AgentSkill - */ - select?: Prisma.AgentSkillSelect | null - /** - * Omit specific fields from the AgentSkill - */ - omit?: Prisma.AgentSkillOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSkillInclude | null - /** - * The data needed to update a AgentSkill. - */ - data: Prisma.XOR - /** - * Choose, which AgentSkill to update. - */ - where: Prisma.AgentSkillWhereUniqueInput -} - -/** - * AgentSkill updateMany - */ -export type AgentSkillUpdateManyArgs = { - /** - * The data used to update AgentSkills. - */ - data: Prisma.XOR - /** - * Filter which AgentSkills to update - */ - where?: Prisma.AgentSkillWhereInput - /** - * Limit how many AgentSkills to update. - */ - limit?: number -} - -/** - * AgentSkill updateManyAndReturn - */ -export type AgentSkillUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the AgentSkill - */ - select?: Prisma.AgentSkillSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the AgentSkill - */ - omit?: Prisma.AgentSkillOmit | null - /** - * The data used to update AgentSkills. - */ - data: Prisma.XOR - /** - * Filter which AgentSkills to update - */ - where?: Prisma.AgentSkillWhereInput - /** - * Limit how many AgentSkills to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSkillIncludeUpdateManyAndReturn | null -} - -/** - * AgentSkill upsert - */ -export type AgentSkillUpsertArgs = { - /** - * Select specific fields to fetch from the AgentSkill - */ - select?: Prisma.AgentSkillSelect | null - /** - * Omit specific fields from the AgentSkill - */ - omit?: Prisma.AgentSkillOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSkillInclude | null - /** - * The filter to search for the AgentSkill to update in case it exists. - */ - where: Prisma.AgentSkillWhereUniqueInput - /** - * In case the AgentSkill found by the `where` argument doesn't exist, create a new AgentSkill with this data. - */ - create: Prisma.XOR - /** - * In case the AgentSkill was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * AgentSkill delete - */ -export type AgentSkillDeleteArgs = { - /** - * Select specific fields to fetch from the AgentSkill - */ - select?: Prisma.AgentSkillSelect | null - /** - * Omit specific fields from the AgentSkill - */ - omit?: Prisma.AgentSkillOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSkillInclude | null - /** - * Filter which AgentSkill to delete. - */ - where: Prisma.AgentSkillWhereUniqueInput -} - -/** - * AgentSkill deleteMany - */ -export type AgentSkillDeleteManyArgs = { - /** - * Filter which AgentSkills to delete - */ - where?: Prisma.AgentSkillWhereInput - /** - * Limit how many AgentSkills to delete. - */ - limit?: number -} - -/** - * AgentSkill without action - */ -export type AgentSkillDefaultArgs = { - /** - * Select specific fields to fetch from the AgentSkill - */ - select?: Prisma.AgentSkillSelect | null - /** - * Omit specific fields from the AgentSkill - */ - omit?: Prisma.AgentSkillOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSkillInclude | null -} diff --git a/src/generated/prisma/models/Asset.ts b/src/generated/prisma/models/Asset.ts deleted file mode 100644 index 531d4bc3..00000000 --- a/src/generated/prisma/models/Asset.ts +++ /dev/null @@ -1,5735 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `Asset` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model Asset - * - */ -export type AssetModel = runtime.Types.Result.DefaultSelection - -export type AggregateAsset = { - _count: AssetCountAggregateOutputType | null - _avg: AssetAvgAggregateOutputType | null - _sum: AssetSumAggregateOutputType | null - _min: AssetMinAggregateOutputType | null - _max: AssetMaxAggregateOutputType | null -} - -export type AssetAvgAggregateOutputType = { - fileCount: number | null - sizeByte: number | null -} - -export type AssetSumAggregateOutputType = { - fileCount: number | null - sizeByte: number | null -} - -export type AssetMinAggregateOutputType = { - id: string | null - name: string | null - type: $Enums.AssetType | null - mediaType: string | null - fileCount: number | null - sizeByte: number | null - status: $Enums.AssetStatus | null - transcodeTaskId: string | null - isDeleted: boolean | null - deletedAt: Date | null - sortIndex: string | null - createdAt: Date | null - updatedAt: Date | null - parentId: string | null - targetId: string | null - storageKeyId: string | null - creatorId: string | null - taskId: string | null - projectId: string | null -} - -export type AssetMaxAggregateOutputType = { - id: string | null - name: string | null - type: $Enums.AssetType | null - mediaType: string | null - fileCount: number | null - sizeByte: number | null - status: $Enums.AssetStatus | null - transcodeTaskId: string | null - isDeleted: boolean | null - deletedAt: Date | null - sortIndex: string | null - createdAt: Date | null - updatedAt: Date | null - parentId: string | null - targetId: string | null - storageKeyId: string | null - creatorId: string | null - taskId: string | null - projectId: string | null -} - -export type AssetCountAggregateOutputType = { - id: number - name: number - nameNgram: number - type: number - mediaType: number - fileCount: number - sizeByte: number - status: number - transcodeTaskId: number - media:PrismaJson.MediaInfo - isDeleted: number - deletedAt: number - sortIndex: number - createdAt: number - updatedAt: number - parentId: number - targetId: number - storageKeyId: number - creatorId: number - taskId: number - projectId: number - _all: number -} - - -export type AssetAvgAggregateInputType = { - fileCount?: true - sizeByte?: true -} - -export type AssetSumAggregateInputType = { - fileCount?: true - sizeByte?: true -} - -export type AssetMinAggregateInputType = { - id?: true - name?: true - type?: true - mediaType?: true - fileCount?: true - sizeByte?: true - status?: true - transcodeTaskId?: true - isDeleted?: true - deletedAt?: true - sortIndex?: true - createdAt?: true - updatedAt?: true - parentId?: true - targetId?: true - storageKeyId?: true - creatorId?: true - taskId?: true - projectId?: true -} - -export type AssetMaxAggregateInputType = { - id?: true - name?: true - type?: true - mediaType?: true - fileCount?: true - sizeByte?: true - status?: true - transcodeTaskId?: true - isDeleted?: true - deletedAt?: true - sortIndex?: true - createdAt?: true - updatedAt?: true - parentId?: true - targetId?: true - storageKeyId?: true - creatorId?: true - taskId?: true - projectId?: true -} - -export type AssetCountAggregateInputType = { - id?: true - name?: true - nameNgram?: true - type?: true - mediaType?: true - fileCount?: true - sizeByte?: true - status?: true - transcodeTaskId?: true - media?: true - isDeleted?: true - deletedAt?: true - sortIndex?: true - createdAt?: true - updatedAt?: true - parentId?: true - targetId?: true - storageKeyId?: true - creatorId?: true - taskId?: true - projectId?: true - _all?: true -} - -export type AssetAggregateArgs = { - /** - * Filter which Asset to aggregate. - */ - where?: Prisma.AssetWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Assets to fetch. - */ - orderBy?: Prisma.AssetOrderByWithRelationInput | Prisma.AssetOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.AssetWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Assets from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Assets. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Assets - **/ - _count?: true | AssetCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to average - **/ - _avg?: AssetAvgAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to sum - **/ - _sum?: AssetSumAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: AssetMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: AssetMaxAggregateInputType -} - -export type GetAssetAggregateType = { - [P in keyof T & keyof AggregateAsset]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type AssetGroupByArgs = { - where?: Prisma.AssetWhereInput - orderBy?: Prisma.AssetOrderByWithAggregationInput | Prisma.AssetOrderByWithAggregationInput[] - by: Prisma.AssetScalarFieldEnum[] | Prisma.AssetScalarFieldEnum - having?: Prisma.AssetScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: AssetCountAggregateInputType | true - _avg?: AssetAvgAggregateInputType - _sum?: AssetSumAggregateInputType - _min?: AssetMinAggregateInputType - _max?: AssetMaxAggregateInputType -} - -export type AssetGroupByOutputType = { - id: string - name: string - nameNgram: string[] - type: $Enums.AssetType - mediaType: string | null - fileCount: number - sizeByte: number - status: $Enums.AssetStatus - transcodeTaskId: string | null - media:PrismaJson.MediaInfo | null - isDeleted: boolean - deletedAt: Date | null - sortIndex: string | null - createdAt: Date - updatedAt: Date - parentId: string | null - targetId: string | null - storageKeyId: string | null - creatorId: string | null - taskId: string | null - projectId: string | null - _count: AssetCountAggregateOutputType | null - _avg: AssetAvgAggregateOutputType | null - _sum: AssetSumAggregateOutputType | null - _min: AssetMinAggregateOutputType | null - _max: AssetMaxAggregateOutputType | null -} - -export type GetAssetGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof AssetGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type AssetWhereInput = { - AND?: Prisma.AssetWhereInput | Prisma.AssetWhereInput[] - OR?: Prisma.AssetWhereInput[] - NOT?: Prisma.AssetWhereInput | Prisma.AssetWhereInput[] - id?: Prisma.StringFilter<"Asset"> | string - name?: Prisma.StringFilter<"Asset"> | string - nameNgram?: Prisma.StringNullableListFilter<"Asset"> - type?: Prisma.EnumAssetTypeFilter<"Asset"> | $Enums.AssetType - mediaType?: Prisma.StringNullableFilter<"Asset"> | string | null - fileCount?: Prisma.IntFilter<"Asset"> | number - sizeByte?: Prisma.IntFilter<"Asset"> | number - status?: Prisma.EnumAssetStatusFilter<"Asset"> | $Enums.AssetStatus - transcodeTaskId?: Prisma.StringNullableFilter<"Asset"> | string | null - media?: Prisma.JsonNullableFilter<"Asset"> - isDeleted?: Prisma.BoolFilter<"Asset"> | boolean - deletedAt?: Prisma.DateTimeNullableFilter<"Asset"> | Date | string | null - sortIndex?: Prisma.StringNullableFilter<"Asset"> | string | null - createdAt?: Prisma.DateTimeFilter<"Asset"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Asset"> | Date | string - parentId?: Prisma.StringNullableFilter<"Asset"> | string | null - targetId?: Prisma.StringNullableFilter<"Asset"> | string | null - storageKeyId?: Prisma.StringNullableFilter<"Asset"> | string | null - creatorId?: Prisma.StringNullableFilter<"Asset"> | string | null - taskId?: Prisma.StringNullableFilter<"Asset"> | string | null - projectId?: Prisma.StringNullableFilter<"Asset"> | string | null - parent?: Prisma.XOR | null - children?: Prisma.AssetListRelationFilter - target?: Prisma.XOR | null - symlinks?: Prisma.AssetListRelationFilter - storageKey?: Prisma.XOR | null - metadataValues?: Prisma.AssetMetadataValueListRelationFilter - creator?: Prisma.XOR | null - task?: Prisma.XOR | null - project?: Prisma.XOR | null - comments?: Prisma.AssetCommentListRelationFilter - commentAttachments?: Prisma.AssetCommentAttachmentListRelationFilter - notifications?: Prisma.NotificationListRelationFilter - embeddings?: Prisma.AssetEmbeddingListRelationFilter - teamRootFolder?: Prisma.XOR | null - projectRootFolder?: Prisma.XOR | null - projectShareRoot?: Prisma.XOR | null - shareLinkRootFolder?: Prisma.XOR | null -} - -export type AssetOrderByWithRelationInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - nameNgram?: Prisma.SortOrder - type?: Prisma.SortOrder - mediaType?: Prisma.SortOrderInput | Prisma.SortOrder - fileCount?: Prisma.SortOrder - sizeByte?: Prisma.SortOrder - status?: Prisma.SortOrder - transcodeTaskId?: Prisma.SortOrderInput | Prisma.SortOrder - media?: Prisma.SortOrderInput | Prisma.SortOrder - isDeleted?: Prisma.SortOrder - deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder - sortIndex?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - parentId?: Prisma.SortOrderInput | Prisma.SortOrder - targetId?: Prisma.SortOrderInput | Prisma.SortOrder - storageKeyId?: Prisma.SortOrderInput | Prisma.SortOrder - creatorId?: Prisma.SortOrderInput | Prisma.SortOrder - taskId?: Prisma.SortOrderInput | Prisma.SortOrder - projectId?: Prisma.SortOrderInput | Prisma.SortOrder - parent?: Prisma.AssetOrderByWithRelationInput - children?: Prisma.AssetOrderByRelationAggregateInput - target?: Prisma.AssetOrderByWithRelationInput - symlinks?: Prisma.AssetOrderByRelationAggregateInput - storageKey?: Prisma.StorageKeyOrderByWithRelationInput - metadataValues?: Prisma.AssetMetadataValueOrderByRelationAggregateInput - creator?: Prisma.UserOrderByWithRelationInput - task?: Prisma.TaskOrderByWithRelationInput - project?: Prisma.ProjectOrderByWithRelationInput - comments?: Prisma.AssetCommentOrderByRelationAggregateInput - commentAttachments?: Prisma.AssetCommentAttachmentOrderByRelationAggregateInput - notifications?: Prisma.NotificationOrderByRelationAggregateInput - embeddings?: Prisma.AssetEmbeddingOrderByRelationAggregateInput - teamRootFolder?: Prisma.TeamOrderByWithRelationInput - projectRootFolder?: Prisma.ProjectOrderByWithRelationInput - projectShareRoot?: Prisma.ProjectOrderByWithRelationInput - shareLinkRootFolder?: Prisma.ShareLinkOrderByWithRelationInput -} - -export type AssetWhereUniqueInput = Prisma.AtLeast<{ - id?: string - parentIdTargetId?: Prisma.AssetParentIdTargetIdCompoundUniqueInput - AND?: Prisma.AssetWhereInput | Prisma.AssetWhereInput[] - OR?: Prisma.AssetWhereInput[] - NOT?: Prisma.AssetWhereInput | Prisma.AssetWhereInput[] - name?: Prisma.StringFilter<"Asset"> | string - nameNgram?: Prisma.StringNullableListFilter<"Asset"> - type?: Prisma.EnumAssetTypeFilter<"Asset"> | $Enums.AssetType - mediaType?: Prisma.StringNullableFilter<"Asset"> | string | null - fileCount?: Prisma.IntFilter<"Asset"> | number - sizeByte?: Prisma.IntFilter<"Asset"> | number - status?: Prisma.EnumAssetStatusFilter<"Asset"> | $Enums.AssetStatus - transcodeTaskId?: Prisma.StringNullableFilter<"Asset"> | string | null - media?: Prisma.JsonNullableFilter<"Asset"> - isDeleted?: Prisma.BoolFilter<"Asset"> | boolean - deletedAt?: Prisma.DateTimeNullableFilter<"Asset"> | Date | string | null - sortIndex?: Prisma.StringNullableFilter<"Asset"> | string | null - createdAt?: Prisma.DateTimeFilter<"Asset"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Asset"> | Date | string - parentId?: Prisma.StringNullableFilter<"Asset"> | string | null - targetId?: Prisma.StringNullableFilter<"Asset"> | string | null - storageKeyId?: Prisma.StringNullableFilter<"Asset"> | string | null - creatorId?: Prisma.StringNullableFilter<"Asset"> | string | null - taskId?: Prisma.StringNullableFilter<"Asset"> | string | null - projectId?: Prisma.StringNullableFilter<"Asset"> | string | null - parent?: Prisma.XOR | null - children?: Prisma.AssetListRelationFilter - target?: Prisma.XOR | null - symlinks?: Prisma.AssetListRelationFilter - storageKey?: Prisma.XOR | null - metadataValues?: Prisma.AssetMetadataValueListRelationFilter - creator?: Prisma.XOR | null - task?: Prisma.XOR | null - project?: Prisma.XOR | null - comments?: Prisma.AssetCommentListRelationFilter - commentAttachments?: Prisma.AssetCommentAttachmentListRelationFilter - notifications?: Prisma.NotificationListRelationFilter - embeddings?: Prisma.AssetEmbeddingListRelationFilter - teamRootFolder?: Prisma.XOR | null - projectRootFolder?: Prisma.XOR | null - projectShareRoot?: Prisma.XOR | null - shareLinkRootFolder?: Prisma.XOR | null -}, "id" | "parentIdTargetId"> - -export type AssetOrderByWithAggregationInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - nameNgram?: Prisma.SortOrder - type?: Prisma.SortOrder - mediaType?: Prisma.SortOrderInput | Prisma.SortOrder - fileCount?: Prisma.SortOrder - sizeByte?: Prisma.SortOrder - status?: Prisma.SortOrder - transcodeTaskId?: Prisma.SortOrderInput | Prisma.SortOrder - media?: Prisma.SortOrderInput | Prisma.SortOrder - isDeleted?: Prisma.SortOrder - deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder - sortIndex?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - parentId?: Prisma.SortOrderInput | Prisma.SortOrder - targetId?: Prisma.SortOrderInput | Prisma.SortOrder - storageKeyId?: Prisma.SortOrderInput | Prisma.SortOrder - creatorId?: Prisma.SortOrderInput | Prisma.SortOrder - taskId?: Prisma.SortOrderInput | Prisma.SortOrder - projectId?: Prisma.SortOrderInput | Prisma.SortOrder - _count?: Prisma.AssetCountOrderByAggregateInput - _avg?: Prisma.AssetAvgOrderByAggregateInput - _max?: Prisma.AssetMaxOrderByAggregateInput - _min?: Prisma.AssetMinOrderByAggregateInput - _sum?: Prisma.AssetSumOrderByAggregateInput -} - -export type AssetScalarWhereWithAggregatesInput = { - AND?: Prisma.AssetScalarWhereWithAggregatesInput | Prisma.AssetScalarWhereWithAggregatesInput[] - OR?: Prisma.AssetScalarWhereWithAggregatesInput[] - NOT?: Prisma.AssetScalarWhereWithAggregatesInput | Prisma.AssetScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"Asset"> | string - name?: Prisma.StringWithAggregatesFilter<"Asset"> | string - nameNgram?: Prisma.StringNullableListFilter<"Asset"> - type?: Prisma.EnumAssetTypeWithAggregatesFilter<"Asset"> | $Enums.AssetType - mediaType?: Prisma.StringNullableWithAggregatesFilter<"Asset"> | string | null - fileCount?: Prisma.IntWithAggregatesFilter<"Asset"> | number - sizeByte?: Prisma.IntWithAggregatesFilter<"Asset"> | number - status?: Prisma.EnumAssetStatusWithAggregatesFilter<"Asset"> | $Enums.AssetStatus - transcodeTaskId?: Prisma.StringNullableWithAggregatesFilter<"Asset"> | string | null - media?: Prisma.JsonNullableWithAggregatesFilter<"Asset"> - isDeleted?: Prisma.BoolWithAggregatesFilter<"Asset"> | boolean - deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Asset"> | Date | string | null - sortIndex?: Prisma.StringNullableWithAggregatesFilter<"Asset"> | string | null - createdAt?: Prisma.DateTimeWithAggregatesFilter<"Asset"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Asset"> | Date | string - parentId?: Prisma.StringNullableWithAggregatesFilter<"Asset"> | string | null - targetId?: Prisma.StringNullableWithAggregatesFilter<"Asset"> | string | null - storageKeyId?: Prisma.StringNullableWithAggregatesFilter<"Asset"> | string | null - creatorId?: Prisma.StringNullableWithAggregatesFilter<"Asset"> | string | null - taskId?: Prisma.StringNullableWithAggregatesFilter<"Asset"> | string | null - projectId?: Prisma.StringNullableWithAggregatesFilter<"Asset"> | string | null -} - -export type AssetCreateInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput - children?: Prisma.AssetCreateNestedManyWithoutParentInput - target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput - symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput - storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput - metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput - creator?: Prisma.UserCreateNestedOneWithoutAssetsInput - task?: Prisma.TaskCreateNestedOneWithoutAssetsInput - project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput -} - -export type AssetUncheckedCreateInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parentId?: string | null - targetId?: string | null - storageKeyId?: string | null - creatorId?: string | null - taskId?: string | null - projectId?: string | null - children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput - symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput - metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput -} - -export type AssetUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput - children?: Prisma.AssetUpdateManyWithoutParentNestedInput - target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput - symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput - storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput - metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput - creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput - task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput - project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput - symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput - metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput -} - -export type AssetCreateManyInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parentId?: string | null - targetId?: string | null - storageKeyId?: string | null - creatorId?: string | null - taskId?: string | null - projectId?: string | null -} - -export type AssetUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AssetUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type AssetListRelationFilter = { - every?: Prisma.AssetWhereInput - some?: Prisma.AssetWhereInput - none?: Prisma.AssetWhereInput -} - -export type AssetOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type AssetNullableScalarRelationFilter = { - is?: Prisma.AssetWhereInput | null - isNot?: Prisma.AssetWhereInput | null -} - -export type AssetScalarRelationFilter = { - is?: Prisma.AssetWhereInput - isNot?: Prisma.AssetWhereInput -} - -export type AssetParentIdTargetIdCompoundUniqueInput = { - parentId: string - targetId: string -} - -export type AssetCountOrderByAggregateInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - nameNgram?: Prisma.SortOrder - type?: Prisma.SortOrder - mediaType?: Prisma.SortOrder - fileCount?: Prisma.SortOrder - sizeByte?: Prisma.SortOrder - status?: Prisma.SortOrder - transcodeTaskId?: Prisma.SortOrder - media?: Prisma.SortOrder - isDeleted?: Prisma.SortOrder - deletedAt?: Prisma.SortOrder - sortIndex?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - parentId?: Prisma.SortOrder - targetId?: Prisma.SortOrder - storageKeyId?: Prisma.SortOrder - creatorId?: Prisma.SortOrder - taskId?: Prisma.SortOrder - projectId?: Prisma.SortOrder -} - -export type AssetAvgOrderByAggregateInput = { - fileCount?: Prisma.SortOrder - sizeByte?: Prisma.SortOrder -} - -export type AssetMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - type?: Prisma.SortOrder - mediaType?: Prisma.SortOrder - fileCount?: Prisma.SortOrder - sizeByte?: Prisma.SortOrder - status?: Prisma.SortOrder - transcodeTaskId?: Prisma.SortOrder - isDeleted?: Prisma.SortOrder - deletedAt?: Prisma.SortOrder - sortIndex?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - parentId?: Prisma.SortOrder - targetId?: Prisma.SortOrder - storageKeyId?: Prisma.SortOrder - creatorId?: Prisma.SortOrder - taskId?: Prisma.SortOrder - projectId?: Prisma.SortOrder -} - -export type AssetMinOrderByAggregateInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - type?: Prisma.SortOrder - mediaType?: Prisma.SortOrder - fileCount?: Prisma.SortOrder - sizeByte?: Prisma.SortOrder - status?: Prisma.SortOrder - transcodeTaskId?: Prisma.SortOrder - isDeleted?: Prisma.SortOrder - deletedAt?: Prisma.SortOrder - sortIndex?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - parentId?: Prisma.SortOrder - targetId?: Prisma.SortOrder - storageKeyId?: Prisma.SortOrder - creatorId?: Prisma.SortOrder - taskId?: Prisma.SortOrder - projectId?: Prisma.SortOrder -} - -export type AssetSumOrderByAggregateInput = { - fileCount?: Prisma.SortOrder - sizeByte?: Prisma.SortOrder -} - -export type AssetCreateNestedManyWithoutCreatorInput = { - create?: Prisma.XOR | Prisma.AssetCreateWithoutCreatorInput[] | Prisma.AssetUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutCreatorInput | Prisma.AssetCreateOrConnectWithoutCreatorInput[] - createMany?: Prisma.AssetCreateManyCreatorInputEnvelope - connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] -} - -export type AssetUncheckedCreateNestedManyWithoutCreatorInput = { - create?: Prisma.XOR | Prisma.AssetCreateWithoutCreatorInput[] | Prisma.AssetUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutCreatorInput | Prisma.AssetCreateOrConnectWithoutCreatorInput[] - createMany?: Prisma.AssetCreateManyCreatorInputEnvelope - connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] -} - -export type AssetUpdateManyWithoutCreatorNestedInput = { - create?: Prisma.XOR | Prisma.AssetCreateWithoutCreatorInput[] | Prisma.AssetUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutCreatorInput | Prisma.AssetCreateOrConnectWithoutCreatorInput[] - upsert?: Prisma.AssetUpsertWithWhereUniqueWithoutCreatorInput | Prisma.AssetUpsertWithWhereUniqueWithoutCreatorInput[] - createMany?: Prisma.AssetCreateManyCreatorInputEnvelope - set?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - disconnect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - delete?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - update?: Prisma.AssetUpdateWithWhereUniqueWithoutCreatorInput | Prisma.AssetUpdateWithWhereUniqueWithoutCreatorInput[] - updateMany?: Prisma.AssetUpdateManyWithWhereWithoutCreatorInput | Prisma.AssetUpdateManyWithWhereWithoutCreatorInput[] - deleteMany?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[] -} - -export type AssetUncheckedUpdateManyWithoutCreatorNestedInput = { - create?: Prisma.XOR | Prisma.AssetCreateWithoutCreatorInput[] | Prisma.AssetUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutCreatorInput | Prisma.AssetCreateOrConnectWithoutCreatorInput[] - upsert?: Prisma.AssetUpsertWithWhereUniqueWithoutCreatorInput | Prisma.AssetUpsertWithWhereUniqueWithoutCreatorInput[] - createMany?: Prisma.AssetCreateManyCreatorInputEnvelope - set?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - disconnect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - delete?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - update?: Prisma.AssetUpdateWithWhereUniqueWithoutCreatorInput | Prisma.AssetUpdateWithWhereUniqueWithoutCreatorInput[] - updateMany?: Prisma.AssetUpdateManyWithWhereWithoutCreatorInput | Prisma.AssetUpdateManyWithWhereWithoutCreatorInput[] - deleteMany?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[] -} - -export type AssetCreateNestedOneWithoutTeamRootFolderInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutTeamRootFolderInput - connect?: Prisma.AssetWhereUniqueInput -} - -export type AssetUpdateOneWithoutTeamRootFolderNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutTeamRootFolderInput - upsert?: Prisma.AssetUpsertWithoutTeamRootFolderInput - disconnect?: Prisma.AssetWhereInput | boolean - delete?: Prisma.AssetWhereInput | boolean - connect?: Prisma.AssetWhereUniqueInput - update?: Prisma.XOR, Prisma.AssetUncheckedUpdateWithoutTeamRootFolderInput> -} - -export type AssetCreateNestedOneWithoutProjectRootFolderInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutProjectRootFolderInput - connect?: Prisma.AssetWhereUniqueInput -} - -export type AssetCreateNestedOneWithoutProjectShareRootInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutProjectShareRootInput - connect?: Prisma.AssetWhereUniqueInput -} - -export type AssetCreateNestedManyWithoutProjectInput = { - create?: Prisma.XOR | Prisma.AssetCreateWithoutProjectInput[] | Prisma.AssetUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutProjectInput | Prisma.AssetCreateOrConnectWithoutProjectInput[] - createMany?: Prisma.AssetCreateManyProjectInputEnvelope - connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] -} - -export type AssetUncheckedCreateNestedManyWithoutProjectInput = { - create?: Prisma.XOR | Prisma.AssetCreateWithoutProjectInput[] | Prisma.AssetUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutProjectInput | Prisma.AssetCreateOrConnectWithoutProjectInput[] - createMany?: Prisma.AssetCreateManyProjectInputEnvelope - connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] -} - -export type AssetUpdateOneWithoutProjectRootFolderNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutProjectRootFolderInput - upsert?: Prisma.AssetUpsertWithoutProjectRootFolderInput - disconnect?: Prisma.AssetWhereInput | boolean - delete?: Prisma.AssetWhereInput | boolean - connect?: Prisma.AssetWhereUniqueInput - update?: Prisma.XOR, Prisma.AssetUncheckedUpdateWithoutProjectRootFolderInput> -} - -export type AssetUpdateOneWithoutProjectShareRootNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutProjectShareRootInput - upsert?: Prisma.AssetUpsertWithoutProjectShareRootInput - disconnect?: Prisma.AssetWhereInput | boolean - delete?: Prisma.AssetWhereInput | boolean - connect?: Prisma.AssetWhereUniqueInput - update?: Prisma.XOR, Prisma.AssetUncheckedUpdateWithoutProjectShareRootInput> -} - -export type AssetUpdateManyWithoutProjectNestedInput = { - create?: Prisma.XOR | Prisma.AssetCreateWithoutProjectInput[] | Prisma.AssetUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutProjectInput | Prisma.AssetCreateOrConnectWithoutProjectInput[] - upsert?: Prisma.AssetUpsertWithWhereUniqueWithoutProjectInput | Prisma.AssetUpsertWithWhereUniqueWithoutProjectInput[] - createMany?: Prisma.AssetCreateManyProjectInputEnvelope - set?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - disconnect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - delete?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - update?: Prisma.AssetUpdateWithWhereUniqueWithoutProjectInput | Prisma.AssetUpdateWithWhereUniqueWithoutProjectInput[] - updateMany?: Prisma.AssetUpdateManyWithWhereWithoutProjectInput | Prisma.AssetUpdateManyWithWhereWithoutProjectInput[] - deleteMany?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[] -} - -export type AssetUncheckedUpdateManyWithoutProjectNestedInput = { - create?: Prisma.XOR | Prisma.AssetCreateWithoutProjectInput[] | Prisma.AssetUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutProjectInput | Prisma.AssetCreateOrConnectWithoutProjectInput[] - upsert?: Prisma.AssetUpsertWithWhereUniqueWithoutProjectInput | Prisma.AssetUpsertWithWhereUniqueWithoutProjectInput[] - createMany?: Prisma.AssetCreateManyProjectInputEnvelope - set?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - disconnect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - delete?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - update?: Prisma.AssetUpdateWithWhereUniqueWithoutProjectInput | Prisma.AssetUpdateWithWhereUniqueWithoutProjectInput[] - updateMany?: Prisma.AssetUpdateManyWithWhereWithoutProjectInput | Prisma.AssetUpdateManyWithWhereWithoutProjectInput[] - deleteMany?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[] -} - -export type AssetCreateNestedOneWithoutShareLinkRootFolderInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutShareLinkRootFolderInput - connect?: Prisma.AssetWhereUniqueInput -} - -export type AssetUpdateOneRequiredWithoutShareLinkRootFolderNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutShareLinkRootFolderInput - upsert?: Prisma.AssetUpsertWithoutShareLinkRootFolderInput - connect?: Prisma.AssetWhereUniqueInput - update?: Prisma.XOR, Prisma.AssetUncheckedUpdateWithoutShareLinkRootFolderInput> -} - -export type AssetCreatenameNgramInput = { - set: string[] -} - -export type AssetCreateNestedOneWithoutChildrenInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutChildrenInput - connect?: Prisma.AssetWhereUniqueInput -} - -export type AssetCreateNestedManyWithoutParentInput = { - create?: Prisma.XOR | Prisma.AssetCreateWithoutParentInput[] | Prisma.AssetUncheckedCreateWithoutParentInput[] - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutParentInput | Prisma.AssetCreateOrConnectWithoutParentInput[] - createMany?: Prisma.AssetCreateManyParentInputEnvelope - connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] -} - -export type AssetCreateNestedOneWithoutSymlinksInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutSymlinksInput - connect?: Prisma.AssetWhereUniqueInput -} - -export type AssetCreateNestedManyWithoutTargetInput = { - create?: Prisma.XOR | Prisma.AssetCreateWithoutTargetInput[] | Prisma.AssetUncheckedCreateWithoutTargetInput[] - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutTargetInput | Prisma.AssetCreateOrConnectWithoutTargetInput[] - createMany?: Prisma.AssetCreateManyTargetInputEnvelope - connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] -} - -export type AssetUncheckedCreateNestedManyWithoutParentInput = { - create?: Prisma.XOR | Prisma.AssetCreateWithoutParentInput[] | Prisma.AssetUncheckedCreateWithoutParentInput[] - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutParentInput | Prisma.AssetCreateOrConnectWithoutParentInput[] - createMany?: Prisma.AssetCreateManyParentInputEnvelope - connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] -} - -export type AssetUncheckedCreateNestedManyWithoutTargetInput = { - create?: Prisma.XOR | Prisma.AssetCreateWithoutTargetInput[] | Prisma.AssetUncheckedCreateWithoutTargetInput[] - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutTargetInput | Prisma.AssetCreateOrConnectWithoutTargetInput[] - createMany?: Prisma.AssetCreateManyTargetInputEnvelope - connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] -} - -export type AssetUpdatenameNgramInput = { - set?: string[] - push?: string | string[] -} - -export type EnumAssetTypeFieldUpdateOperationsInput = { - set?: $Enums.AssetType -} - -export type IntFieldUpdateOperationsInput = { - set?: number - increment?: number - decrement?: number - multiply?: number - divide?: number -} - -export type EnumAssetStatusFieldUpdateOperationsInput = { - set?: $Enums.AssetStatus -} - -export type AssetUpdateOneWithoutChildrenNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutChildrenInput - upsert?: Prisma.AssetUpsertWithoutChildrenInput - disconnect?: Prisma.AssetWhereInput | boolean - delete?: Prisma.AssetWhereInput | boolean - connect?: Prisma.AssetWhereUniqueInput - update?: Prisma.XOR, Prisma.AssetUncheckedUpdateWithoutChildrenInput> -} - -export type AssetUpdateManyWithoutParentNestedInput = { - create?: Prisma.XOR | Prisma.AssetCreateWithoutParentInput[] | Prisma.AssetUncheckedCreateWithoutParentInput[] - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutParentInput | Prisma.AssetCreateOrConnectWithoutParentInput[] - upsert?: Prisma.AssetUpsertWithWhereUniqueWithoutParentInput | Prisma.AssetUpsertWithWhereUniqueWithoutParentInput[] - createMany?: Prisma.AssetCreateManyParentInputEnvelope - set?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - disconnect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - delete?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - update?: Prisma.AssetUpdateWithWhereUniqueWithoutParentInput | Prisma.AssetUpdateWithWhereUniqueWithoutParentInput[] - updateMany?: Prisma.AssetUpdateManyWithWhereWithoutParentInput | Prisma.AssetUpdateManyWithWhereWithoutParentInput[] - deleteMany?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[] -} - -export type AssetUpdateOneWithoutSymlinksNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutSymlinksInput - upsert?: Prisma.AssetUpsertWithoutSymlinksInput - disconnect?: Prisma.AssetWhereInput | boolean - delete?: Prisma.AssetWhereInput | boolean - connect?: Prisma.AssetWhereUniqueInput - update?: Prisma.XOR, Prisma.AssetUncheckedUpdateWithoutSymlinksInput> -} - -export type AssetUpdateManyWithoutTargetNestedInput = { - create?: Prisma.XOR | Prisma.AssetCreateWithoutTargetInput[] | Prisma.AssetUncheckedCreateWithoutTargetInput[] - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutTargetInput | Prisma.AssetCreateOrConnectWithoutTargetInput[] - upsert?: Prisma.AssetUpsertWithWhereUniqueWithoutTargetInput | Prisma.AssetUpsertWithWhereUniqueWithoutTargetInput[] - createMany?: Prisma.AssetCreateManyTargetInputEnvelope - set?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - disconnect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - delete?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - update?: Prisma.AssetUpdateWithWhereUniqueWithoutTargetInput | Prisma.AssetUpdateWithWhereUniqueWithoutTargetInput[] - updateMany?: Prisma.AssetUpdateManyWithWhereWithoutTargetInput | Prisma.AssetUpdateManyWithWhereWithoutTargetInput[] - deleteMany?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[] -} - -export type AssetUncheckedUpdateManyWithoutParentNestedInput = { - create?: Prisma.XOR | Prisma.AssetCreateWithoutParentInput[] | Prisma.AssetUncheckedCreateWithoutParentInput[] - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutParentInput | Prisma.AssetCreateOrConnectWithoutParentInput[] - upsert?: Prisma.AssetUpsertWithWhereUniqueWithoutParentInput | Prisma.AssetUpsertWithWhereUniqueWithoutParentInput[] - createMany?: Prisma.AssetCreateManyParentInputEnvelope - set?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - disconnect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - delete?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - update?: Prisma.AssetUpdateWithWhereUniqueWithoutParentInput | Prisma.AssetUpdateWithWhereUniqueWithoutParentInput[] - updateMany?: Prisma.AssetUpdateManyWithWhereWithoutParentInput | Prisma.AssetUpdateManyWithWhereWithoutParentInput[] - deleteMany?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[] -} - -export type AssetUncheckedUpdateManyWithoutTargetNestedInput = { - create?: Prisma.XOR | Prisma.AssetCreateWithoutTargetInput[] | Prisma.AssetUncheckedCreateWithoutTargetInput[] - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutTargetInput | Prisma.AssetCreateOrConnectWithoutTargetInput[] - upsert?: Prisma.AssetUpsertWithWhereUniqueWithoutTargetInput | Prisma.AssetUpsertWithWhereUniqueWithoutTargetInput[] - createMany?: Prisma.AssetCreateManyTargetInputEnvelope - set?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - disconnect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - delete?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - update?: Prisma.AssetUpdateWithWhereUniqueWithoutTargetInput | Prisma.AssetUpdateWithWhereUniqueWithoutTargetInput[] - updateMany?: Prisma.AssetUpdateManyWithWhereWithoutTargetInput | Prisma.AssetUpdateManyWithWhereWithoutTargetInput[] - deleteMany?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[] -} - -export type AssetCreateNestedManyWithoutStorageKeyInput = { - create?: Prisma.XOR | Prisma.AssetCreateWithoutStorageKeyInput[] | Prisma.AssetUncheckedCreateWithoutStorageKeyInput[] - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutStorageKeyInput | Prisma.AssetCreateOrConnectWithoutStorageKeyInput[] - createMany?: Prisma.AssetCreateManyStorageKeyInputEnvelope - connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] -} - -export type AssetUncheckedCreateNestedManyWithoutStorageKeyInput = { - create?: Prisma.XOR | Prisma.AssetCreateWithoutStorageKeyInput[] | Prisma.AssetUncheckedCreateWithoutStorageKeyInput[] - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutStorageKeyInput | Prisma.AssetCreateOrConnectWithoutStorageKeyInput[] - createMany?: Prisma.AssetCreateManyStorageKeyInputEnvelope - connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] -} - -export type AssetUpdateManyWithoutStorageKeyNestedInput = { - create?: Prisma.XOR | Prisma.AssetCreateWithoutStorageKeyInput[] | Prisma.AssetUncheckedCreateWithoutStorageKeyInput[] - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutStorageKeyInput | Prisma.AssetCreateOrConnectWithoutStorageKeyInput[] - upsert?: Prisma.AssetUpsertWithWhereUniqueWithoutStorageKeyInput | Prisma.AssetUpsertWithWhereUniqueWithoutStorageKeyInput[] - createMany?: Prisma.AssetCreateManyStorageKeyInputEnvelope - set?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - disconnect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - delete?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - update?: Prisma.AssetUpdateWithWhereUniqueWithoutStorageKeyInput | Prisma.AssetUpdateWithWhereUniqueWithoutStorageKeyInput[] - updateMany?: Prisma.AssetUpdateManyWithWhereWithoutStorageKeyInput | Prisma.AssetUpdateManyWithWhereWithoutStorageKeyInput[] - deleteMany?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[] -} - -export type AssetUncheckedUpdateManyWithoutStorageKeyNestedInput = { - create?: Prisma.XOR | Prisma.AssetCreateWithoutStorageKeyInput[] | Prisma.AssetUncheckedCreateWithoutStorageKeyInput[] - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutStorageKeyInput | Prisma.AssetCreateOrConnectWithoutStorageKeyInput[] - upsert?: Prisma.AssetUpsertWithWhereUniqueWithoutStorageKeyInput | Prisma.AssetUpsertWithWhereUniqueWithoutStorageKeyInput[] - createMany?: Prisma.AssetCreateManyStorageKeyInputEnvelope - set?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - disconnect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - delete?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - update?: Prisma.AssetUpdateWithWhereUniqueWithoutStorageKeyInput | Prisma.AssetUpdateWithWhereUniqueWithoutStorageKeyInput[] - updateMany?: Prisma.AssetUpdateManyWithWhereWithoutStorageKeyInput | Prisma.AssetUpdateManyWithWhereWithoutStorageKeyInput[] - deleteMany?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[] -} - -export type AssetCreateNestedOneWithoutMetadataValuesInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutMetadataValuesInput - connect?: Prisma.AssetWhereUniqueInput -} - -export type AssetUpdateOneRequiredWithoutMetadataValuesNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutMetadataValuesInput - upsert?: Prisma.AssetUpsertWithoutMetadataValuesInput - connect?: Prisma.AssetWhereUniqueInput - update?: Prisma.XOR, Prisma.AssetUncheckedUpdateWithoutMetadataValuesInput> -} - -export type AssetCreateNestedOneWithoutCommentsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutCommentsInput - connect?: Prisma.AssetWhereUniqueInput -} - -export type AssetUpdateOneRequiredWithoutCommentsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutCommentsInput - upsert?: Prisma.AssetUpsertWithoutCommentsInput - connect?: Prisma.AssetWhereUniqueInput - update?: Prisma.XOR, Prisma.AssetUncheckedUpdateWithoutCommentsInput> -} - -export type AssetCreateNestedOneWithoutCommentAttachmentsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutCommentAttachmentsInput - connect?: Prisma.AssetWhereUniqueInput -} - -export type AssetUpdateOneRequiredWithoutCommentAttachmentsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutCommentAttachmentsInput - upsert?: Prisma.AssetUpsertWithoutCommentAttachmentsInput - connect?: Prisma.AssetWhereUniqueInput - update?: Prisma.XOR, Prisma.AssetUncheckedUpdateWithoutCommentAttachmentsInput> -} - -export type AssetCreateNestedOneWithoutEmbeddingsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutEmbeddingsInput - connect?: Prisma.AssetWhereUniqueInput -} - -export type AssetUpdateOneRequiredWithoutEmbeddingsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutEmbeddingsInput - upsert?: Prisma.AssetUpsertWithoutEmbeddingsInput - connect?: Prisma.AssetWhereUniqueInput - update?: Prisma.XOR, Prisma.AssetUncheckedUpdateWithoutEmbeddingsInput> -} - -export type AssetCreateNestedOneWithoutNotificationsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutNotificationsInput - connect?: Prisma.AssetWhereUniqueInput -} - -export type AssetUpdateOneWithoutNotificationsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutNotificationsInput - upsert?: Prisma.AssetUpsertWithoutNotificationsInput - disconnect?: Prisma.AssetWhereInput | boolean - delete?: Prisma.AssetWhereInput | boolean - connect?: Prisma.AssetWhereUniqueInput - update?: Prisma.XOR, Prisma.AssetUncheckedUpdateWithoutNotificationsInput> -} - -export type AssetCreateNestedManyWithoutTaskInput = { - create?: Prisma.XOR | Prisma.AssetCreateWithoutTaskInput[] | Prisma.AssetUncheckedCreateWithoutTaskInput[] - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutTaskInput | Prisma.AssetCreateOrConnectWithoutTaskInput[] - createMany?: Prisma.AssetCreateManyTaskInputEnvelope - connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] -} - -export type AssetUncheckedCreateNestedManyWithoutTaskInput = { - create?: Prisma.XOR | Prisma.AssetCreateWithoutTaskInput[] | Prisma.AssetUncheckedCreateWithoutTaskInput[] - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutTaskInput | Prisma.AssetCreateOrConnectWithoutTaskInput[] - createMany?: Prisma.AssetCreateManyTaskInputEnvelope - connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] -} - -export type AssetUpdateManyWithoutTaskNestedInput = { - create?: Prisma.XOR | Prisma.AssetCreateWithoutTaskInput[] | Prisma.AssetUncheckedCreateWithoutTaskInput[] - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutTaskInput | Prisma.AssetCreateOrConnectWithoutTaskInput[] - upsert?: Prisma.AssetUpsertWithWhereUniqueWithoutTaskInput | Prisma.AssetUpsertWithWhereUniqueWithoutTaskInput[] - createMany?: Prisma.AssetCreateManyTaskInputEnvelope - set?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - disconnect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - delete?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - update?: Prisma.AssetUpdateWithWhereUniqueWithoutTaskInput | Prisma.AssetUpdateWithWhereUniqueWithoutTaskInput[] - updateMany?: Prisma.AssetUpdateManyWithWhereWithoutTaskInput | Prisma.AssetUpdateManyWithWhereWithoutTaskInput[] - deleteMany?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[] -} - -export type AssetUncheckedUpdateManyWithoutTaskNestedInput = { - create?: Prisma.XOR | Prisma.AssetCreateWithoutTaskInput[] | Prisma.AssetUncheckedCreateWithoutTaskInput[] - connectOrCreate?: Prisma.AssetCreateOrConnectWithoutTaskInput | Prisma.AssetCreateOrConnectWithoutTaskInput[] - upsert?: Prisma.AssetUpsertWithWhereUniqueWithoutTaskInput | Prisma.AssetUpsertWithWhereUniqueWithoutTaskInput[] - createMany?: Prisma.AssetCreateManyTaskInputEnvelope - set?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - disconnect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - delete?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - connect?: Prisma.AssetWhereUniqueInput | Prisma.AssetWhereUniqueInput[] - update?: Prisma.AssetUpdateWithWhereUniqueWithoutTaskInput | Prisma.AssetUpdateWithWhereUniqueWithoutTaskInput[] - updateMany?: Prisma.AssetUpdateManyWithWhereWithoutTaskInput | Prisma.AssetUpdateManyWithWhereWithoutTaskInput[] - deleteMany?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[] -} - -export type AssetCreateWithoutCreatorInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput - children?: Prisma.AssetCreateNestedManyWithoutParentInput - target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput - symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput - storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput - metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput - task?: Prisma.TaskCreateNestedOneWithoutAssetsInput - project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput -} - -export type AssetUncheckedCreateWithoutCreatorInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parentId?: string | null - targetId?: string | null - storageKeyId?: string | null - taskId?: string | null - projectId?: string | null - children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput - symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput - metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput -} - -export type AssetCreateOrConnectWithoutCreatorInput = { - where: Prisma.AssetWhereUniqueInput - create: Prisma.XOR -} - -export type AssetCreateManyCreatorInputEnvelope = { - data: Prisma.AssetCreateManyCreatorInput | Prisma.AssetCreateManyCreatorInput[] - skipDuplicates?: boolean -} - -export type AssetUpsertWithWhereUniqueWithoutCreatorInput = { - where: Prisma.AssetWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type AssetUpdateWithWhereUniqueWithoutCreatorInput = { - where: Prisma.AssetWhereUniqueInput - data: Prisma.XOR -} - -export type AssetUpdateManyWithWhereWithoutCreatorInput = { - where: Prisma.AssetScalarWhereInput - data: Prisma.XOR -} - -export type AssetScalarWhereInput = { - AND?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[] - OR?: Prisma.AssetScalarWhereInput[] - NOT?: Prisma.AssetScalarWhereInput | Prisma.AssetScalarWhereInput[] - id?: Prisma.StringFilter<"Asset"> | string - name?: Prisma.StringFilter<"Asset"> | string - nameNgram?: Prisma.StringNullableListFilter<"Asset"> - type?: Prisma.EnumAssetTypeFilter<"Asset"> | $Enums.AssetType - mediaType?: Prisma.StringNullableFilter<"Asset"> | string | null - fileCount?: Prisma.IntFilter<"Asset"> | number - sizeByte?: Prisma.IntFilter<"Asset"> | number - status?: Prisma.EnumAssetStatusFilter<"Asset"> | $Enums.AssetStatus - transcodeTaskId?: Prisma.StringNullableFilter<"Asset"> | string | null - media?: Prisma.JsonNullableFilter<"Asset"> - isDeleted?: Prisma.BoolFilter<"Asset"> | boolean - deletedAt?: Prisma.DateTimeNullableFilter<"Asset"> | Date | string | null - sortIndex?: Prisma.StringNullableFilter<"Asset"> | string | null - createdAt?: Prisma.DateTimeFilter<"Asset"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Asset"> | Date | string - parentId?: Prisma.StringNullableFilter<"Asset"> | string | null - targetId?: Prisma.StringNullableFilter<"Asset"> | string | null - storageKeyId?: Prisma.StringNullableFilter<"Asset"> | string | null - creatorId?: Prisma.StringNullableFilter<"Asset"> | string | null - taskId?: Prisma.StringNullableFilter<"Asset"> | string | null - projectId?: Prisma.StringNullableFilter<"Asset"> | string | null -} - -export type AssetCreateWithoutTeamRootFolderInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput - children?: Prisma.AssetCreateNestedManyWithoutParentInput - target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput - symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput - storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput - metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput - creator?: Prisma.UserCreateNestedOneWithoutAssetsInput - task?: Prisma.TaskCreateNestedOneWithoutAssetsInput - project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput - projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput -} - -export type AssetUncheckedCreateWithoutTeamRootFolderInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parentId?: string | null - targetId?: string | null - storageKeyId?: string | null - creatorId?: string | null - taskId?: string | null - projectId?: string | null - children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput - symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput - metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput - projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput -} - -export type AssetCreateOrConnectWithoutTeamRootFolderInput = { - where: Prisma.AssetWhereUniqueInput - create: Prisma.XOR -} - -export type AssetUpsertWithoutTeamRootFolderInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.AssetWhereInput -} - -export type AssetUpdateToOneWithWhereWithoutTeamRootFolderInput = { - where?: Prisma.AssetWhereInput - data: Prisma.XOR -} - -export type AssetUpdateWithoutTeamRootFolderInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput - children?: Prisma.AssetUpdateManyWithoutParentNestedInput - target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput - symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput - storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput - metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput - creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput - task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput - project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput - projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUncheckedUpdateWithoutTeamRootFolderInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput - symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput - metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput - projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput -} - -export type AssetCreateWithoutProjectRootFolderInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput - children?: Prisma.AssetCreateNestedManyWithoutParentInput - target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput - symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput - storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput - metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput - creator?: Prisma.UserCreateNestedOneWithoutAssetsInput - task?: Prisma.TaskCreateNestedOneWithoutAssetsInput - project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput -} - -export type AssetUncheckedCreateWithoutProjectRootFolderInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parentId?: string | null - targetId?: string | null - storageKeyId?: string | null - creatorId?: string | null - taskId?: string | null - projectId?: string | null - children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput - symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput - metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput -} - -export type AssetCreateOrConnectWithoutProjectRootFolderInput = { - where: Prisma.AssetWhereUniqueInput - create: Prisma.XOR -} - -export type AssetCreateWithoutProjectShareRootInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput - children?: Prisma.AssetCreateNestedManyWithoutParentInput - target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput - symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput - storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput - metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput - creator?: Prisma.UserCreateNestedOneWithoutAssetsInput - task?: Prisma.TaskCreateNestedOneWithoutAssetsInput - project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput - shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput -} - -export type AssetUncheckedCreateWithoutProjectShareRootInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parentId?: string | null - targetId?: string | null - storageKeyId?: string | null - creatorId?: string | null - taskId?: string | null - projectId?: string | null - children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput - symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput - metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput -} - -export type AssetCreateOrConnectWithoutProjectShareRootInput = { - where: Prisma.AssetWhereUniqueInput - create: Prisma.XOR -} - -export type AssetCreateWithoutProjectInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput - children?: Prisma.AssetCreateNestedManyWithoutParentInput - target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput - symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput - storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput - metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput - creator?: Prisma.UserCreateNestedOneWithoutAssetsInput - task?: Prisma.TaskCreateNestedOneWithoutAssetsInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput -} - -export type AssetUncheckedCreateWithoutProjectInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parentId?: string | null - targetId?: string | null - storageKeyId?: string | null - creatorId?: string | null - taskId?: string | null - children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput - symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput - metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput -} - -export type AssetCreateOrConnectWithoutProjectInput = { - where: Prisma.AssetWhereUniqueInput - create: Prisma.XOR -} - -export type AssetCreateManyProjectInputEnvelope = { - data: Prisma.AssetCreateManyProjectInput | Prisma.AssetCreateManyProjectInput[] - skipDuplicates?: boolean -} - -export type AssetUpsertWithoutProjectRootFolderInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.AssetWhereInput -} - -export type AssetUpdateToOneWithWhereWithoutProjectRootFolderInput = { - where?: Prisma.AssetWhereInput - data: Prisma.XOR -} - -export type AssetUpdateWithoutProjectRootFolderInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput - children?: Prisma.AssetUpdateManyWithoutParentNestedInput - target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput - symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput - storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput - metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput - creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput - task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput - project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUncheckedUpdateWithoutProjectRootFolderInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput - symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput - metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUpsertWithoutProjectShareRootInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.AssetWhereInput -} - -export type AssetUpdateToOneWithWhereWithoutProjectShareRootInput = { - where?: Prisma.AssetWhereInput - data: Prisma.XOR -} - -export type AssetUpdateWithoutProjectShareRootInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput - children?: Prisma.AssetUpdateManyWithoutParentNestedInput - target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput - symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput - storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput - metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput - creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput - task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput - project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUncheckedUpdateWithoutProjectShareRootInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput - symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput - metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUpsertWithWhereUniqueWithoutProjectInput = { - where: Prisma.AssetWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type AssetUpdateWithWhereUniqueWithoutProjectInput = { - where: Prisma.AssetWhereUniqueInput - data: Prisma.XOR -} - -export type AssetUpdateManyWithWhereWithoutProjectInput = { - where: Prisma.AssetScalarWhereInput - data: Prisma.XOR -} - -export type AssetCreateWithoutShareLinkRootFolderInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput - children?: Prisma.AssetCreateNestedManyWithoutParentInput - target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput - symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput - storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput - metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput - creator?: Prisma.UserCreateNestedOneWithoutAssetsInput - task?: Prisma.TaskCreateNestedOneWithoutAssetsInput - project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput -} - -export type AssetUncheckedCreateWithoutShareLinkRootFolderInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parentId?: string | null - targetId?: string | null - storageKeyId?: string | null - creatorId?: string | null - taskId?: string | null - projectId?: string | null - children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput - symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput - metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput -} - -export type AssetCreateOrConnectWithoutShareLinkRootFolderInput = { - where: Prisma.AssetWhereUniqueInput - create: Prisma.XOR -} - -export type AssetUpsertWithoutShareLinkRootFolderInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.AssetWhereInput -} - -export type AssetUpdateToOneWithWhereWithoutShareLinkRootFolderInput = { - where?: Prisma.AssetWhereInput - data: Prisma.XOR -} - -export type AssetUpdateWithoutShareLinkRootFolderInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput - children?: Prisma.AssetUpdateManyWithoutParentNestedInput - target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput - symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput - storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput - metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput - creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput - task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput - project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput -} - -export type AssetUncheckedUpdateWithoutShareLinkRootFolderInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput - symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput - metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput -} - -export type AssetCreateWithoutChildrenInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput - target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput - symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput - storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput - metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput - creator?: Prisma.UserCreateNestedOneWithoutAssetsInput - task?: Prisma.TaskCreateNestedOneWithoutAssetsInput - project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput -} - -export type AssetUncheckedCreateWithoutChildrenInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parentId?: string | null - targetId?: string | null - storageKeyId?: string | null - creatorId?: string | null - taskId?: string | null - projectId?: string | null - symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput - metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput -} - -export type AssetCreateOrConnectWithoutChildrenInput = { - where: Prisma.AssetWhereUniqueInput - create: Prisma.XOR -} - -export type AssetCreateWithoutParentInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - children?: Prisma.AssetCreateNestedManyWithoutParentInput - target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput - symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput - storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput - metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput - creator?: Prisma.UserCreateNestedOneWithoutAssetsInput - task?: Prisma.TaskCreateNestedOneWithoutAssetsInput - project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput -} - -export type AssetUncheckedCreateWithoutParentInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - targetId?: string | null - storageKeyId?: string | null - creatorId?: string | null - taskId?: string | null - projectId?: string | null - children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput - symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput - metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput -} - -export type AssetCreateOrConnectWithoutParentInput = { - where: Prisma.AssetWhereUniqueInput - create: Prisma.XOR -} - -export type AssetCreateManyParentInputEnvelope = { - data: Prisma.AssetCreateManyParentInput | Prisma.AssetCreateManyParentInput[] - skipDuplicates?: boolean -} - -export type AssetCreateWithoutSymlinksInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput - children?: Prisma.AssetCreateNestedManyWithoutParentInput - target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput - storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput - metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput - creator?: Prisma.UserCreateNestedOneWithoutAssetsInput - task?: Prisma.TaskCreateNestedOneWithoutAssetsInput - project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput -} - -export type AssetUncheckedCreateWithoutSymlinksInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parentId?: string | null - targetId?: string | null - storageKeyId?: string | null - creatorId?: string | null - taskId?: string | null - projectId?: string | null - children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput - metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput -} - -export type AssetCreateOrConnectWithoutSymlinksInput = { - where: Prisma.AssetWhereUniqueInput - create: Prisma.XOR -} - -export type AssetCreateWithoutTargetInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput - children?: Prisma.AssetCreateNestedManyWithoutParentInput - symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput - storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput - metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput - creator?: Prisma.UserCreateNestedOneWithoutAssetsInput - task?: Prisma.TaskCreateNestedOneWithoutAssetsInput - project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput -} - -export type AssetUncheckedCreateWithoutTargetInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parentId?: string | null - storageKeyId?: string | null - creatorId?: string | null - taskId?: string | null - projectId?: string | null - children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput - symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput - metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput -} - -export type AssetCreateOrConnectWithoutTargetInput = { - where: Prisma.AssetWhereUniqueInput - create: Prisma.XOR -} - -export type AssetCreateManyTargetInputEnvelope = { - data: Prisma.AssetCreateManyTargetInput | Prisma.AssetCreateManyTargetInput[] - skipDuplicates?: boolean -} - -export type AssetUpsertWithoutChildrenInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.AssetWhereInput -} - -export type AssetUpdateToOneWithWhereWithoutChildrenInput = { - where?: Prisma.AssetWhereInput - data: Prisma.XOR -} - -export type AssetUpdateWithoutChildrenInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput - target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput - symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput - storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput - metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput - creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput - task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput - project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUncheckedUpdateWithoutChildrenInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput - metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUpsertWithWhereUniqueWithoutParentInput = { - where: Prisma.AssetWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type AssetUpdateWithWhereUniqueWithoutParentInput = { - where: Prisma.AssetWhereUniqueInput - data: Prisma.XOR -} - -export type AssetUpdateManyWithWhereWithoutParentInput = { - where: Prisma.AssetScalarWhereInput - data: Prisma.XOR -} - -export type AssetUpsertWithoutSymlinksInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.AssetWhereInput -} - -export type AssetUpdateToOneWithWhereWithoutSymlinksInput = { - where?: Prisma.AssetWhereInput - data: Prisma.XOR -} - -export type AssetUpdateWithoutSymlinksInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput - children?: Prisma.AssetUpdateManyWithoutParentNestedInput - target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput - storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput - metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput - creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput - task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput - project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUncheckedUpdateWithoutSymlinksInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput - metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUpsertWithWhereUniqueWithoutTargetInput = { - where: Prisma.AssetWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type AssetUpdateWithWhereUniqueWithoutTargetInput = { - where: Prisma.AssetWhereUniqueInput - data: Prisma.XOR -} - -export type AssetUpdateManyWithWhereWithoutTargetInput = { - where: Prisma.AssetScalarWhereInput - data: Prisma.XOR -} - -export type AssetCreateWithoutStorageKeyInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput - children?: Prisma.AssetCreateNestedManyWithoutParentInput - target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput - symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput - metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput - creator?: Prisma.UserCreateNestedOneWithoutAssetsInput - task?: Prisma.TaskCreateNestedOneWithoutAssetsInput - project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput -} - -export type AssetUncheckedCreateWithoutStorageKeyInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parentId?: string | null - targetId?: string | null - creatorId?: string | null - taskId?: string | null - projectId?: string | null - children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput - symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput - metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput -} - -export type AssetCreateOrConnectWithoutStorageKeyInput = { - where: Prisma.AssetWhereUniqueInput - create: Prisma.XOR -} - -export type AssetCreateManyStorageKeyInputEnvelope = { - data: Prisma.AssetCreateManyStorageKeyInput | Prisma.AssetCreateManyStorageKeyInput[] - skipDuplicates?: boolean -} - -export type AssetUpsertWithWhereUniqueWithoutStorageKeyInput = { - where: Prisma.AssetWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type AssetUpdateWithWhereUniqueWithoutStorageKeyInput = { - where: Prisma.AssetWhereUniqueInput - data: Prisma.XOR -} - -export type AssetUpdateManyWithWhereWithoutStorageKeyInput = { - where: Prisma.AssetScalarWhereInput - data: Prisma.XOR -} - -export type AssetCreateWithoutMetadataValuesInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput - children?: Prisma.AssetCreateNestedManyWithoutParentInput - target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput - symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput - storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput - creator?: Prisma.UserCreateNestedOneWithoutAssetsInput - task?: Prisma.TaskCreateNestedOneWithoutAssetsInput - project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput -} - -export type AssetUncheckedCreateWithoutMetadataValuesInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parentId?: string | null - targetId?: string | null - storageKeyId?: string | null - creatorId?: string | null - taskId?: string | null - projectId?: string | null - children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput - symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput -} - -export type AssetCreateOrConnectWithoutMetadataValuesInput = { - where: Prisma.AssetWhereUniqueInput - create: Prisma.XOR -} - -export type AssetUpsertWithoutMetadataValuesInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.AssetWhereInput -} - -export type AssetUpdateToOneWithWhereWithoutMetadataValuesInput = { - where?: Prisma.AssetWhereInput - data: Prisma.XOR -} - -export type AssetUpdateWithoutMetadataValuesInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput - children?: Prisma.AssetUpdateManyWithoutParentNestedInput - target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput - symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput - storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput - creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput - task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput - project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUncheckedUpdateWithoutMetadataValuesInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput - symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput -} - -export type AssetCreateWithoutCommentsInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput - children?: Prisma.AssetCreateNestedManyWithoutParentInput - target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput - symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput - storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput - metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput - creator?: Prisma.UserCreateNestedOneWithoutAssetsInput - task?: Prisma.TaskCreateNestedOneWithoutAssetsInput - project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput - commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput -} - -export type AssetUncheckedCreateWithoutCommentsInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parentId?: string | null - targetId?: string | null - storageKeyId?: string | null - creatorId?: string | null - taskId?: string | null - projectId?: string | null - children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput - symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput - metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput -} - -export type AssetCreateOrConnectWithoutCommentsInput = { - where: Prisma.AssetWhereUniqueInput - create: Prisma.XOR -} - -export type AssetUpsertWithoutCommentsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.AssetWhereInput -} - -export type AssetUpdateToOneWithWhereWithoutCommentsInput = { - where?: Prisma.AssetWhereInput - data: Prisma.XOR -} - -export type AssetUpdateWithoutCommentsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput - children?: Prisma.AssetUpdateManyWithoutParentNestedInput - target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput - symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput - storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput - metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput - creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput - task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput - project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUncheckedUpdateWithoutCommentsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput - symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput - metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput -} - -export type AssetCreateWithoutCommentAttachmentsInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput - children?: Prisma.AssetCreateNestedManyWithoutParentInput - target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput - symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput - storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput - metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput - creator?: Prisma.UserCreateNestedOneWithoutAssetsInput - task?: Prisma.TaskCreateNestedOneWithoutAssetsInput - project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput -} - -export type AssetUncheckedCreateWithoutCommentAttachmentsInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parentId?: string | null - targetId?: string | null - storageKeyId?: string | null - creatorId?: string | null - taskId?: string | null - projectId?: string | null - children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput - symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput - metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput -} - -export type AssetCreateOrConnectWithoutCommentAttachmentsInput = { - where: Prisma.AssetWhereUniqueInput - create: Prisma.XOR -} - -export type AssetUpsertWithoutCommentAttachmentsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.AssetWhereInput -} - -export type AssetUpdateToOneWithWhereWithoutCommentAttachmentsInput = { - where?: Prisma.AssetWhereInput - data: Prisma.XOR -} - -export type AssetUpdateWithoutCommentAttachmentsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput - children?: Prisma.AssetUpdateManyWithoutParentNestedInput - target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput - symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput - storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput - metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput - creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput - task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput - project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUncheckedUpdateWithoutCommentAttachmentsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput - symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput - metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput -} - -export type AssetCreateWithoutEmbeddingsInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput - children?: Prisma.AssetCreateNestedManyWithoutParentInput - target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput - symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput - storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput - metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput - creator?: Prisma.UserCreateNestedOneWithoutAssetsInput - task?: Prisma.TaskCreateNestedOneWithoutAssetsInput - project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput -} - -export type AssetUncheckedCreateWithoutEmbeddingsInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parentId?: string | null - targetId?: string | null - storageKeyId?: string | null - creatorId?: string | null - taskId?: string | null - projectId?: string | null - children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput - symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput - metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput -} - -export type AssetCreateOrConnectWithoutEmbeddingsInput = { - where: Prisma.AssetWhereUniqueInput - create: Prisma.XOR -} - -export type AssetUpsertWithoutEmbeddingsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.AssetWhereInput -} - -export type AssetUpdateToOneWithWhereWithoutEmbeddingsInput = { - where?: Prisma.AssetWhereInput - data: Prisma.XOR -} - -export type AssetUpdateWithoutEmbeddingsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput - children?: Prisma.AssetUpdateManyWithoutParentNestedInput - target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput - symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput - storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput - metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput - creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput - task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput - project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUncheckedUpdateWithoutEmbeddingsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput - symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput - metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput -} - -export type AssetCreateWithoutNotificationsInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput - children?: Prisma.AssetCreateNestedManyWithoutParentInput - target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput - symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput - storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput - metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput - creator?: Prisma.UserCreateNestedOneWithoutAssetsInput - task?: Prisma.TaskCreateNestedOneWithoutAssetsInput - project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput -} - -export type AssetUncheckedCreateWithoutNotificationsInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parentId?: string | null - targetId?: string | null - storageKeyId?: string | null - creatorId?: string | null - taskId?: string | null - projectId?: string | null - children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput - symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput - metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput -} - -export type AssetCreateOrConnectWithoutNotificationsInput = { - where: Prisma.AssetWhereUniqueInput - create: Prisma.XOR -} - -export type AssetUpsertWithoutNotificationsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.AssetWhereInput -} - -export type AssetUpdateToOneWithWhereWithoutNotificationsInput = { - where?: Prisma.AssetWhereInput - data: Prisma.XOR -} - -export type AssetUpdateWithoutNotificationsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput - children?: Prisma.AssetUpdateManyWithoutParentNestedInput - target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput - symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput - storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput - metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput - creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput - task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput - project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUncheckedUpdateWithoutNotificationsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput - symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput - metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput -} - -export type AssetCreateWithoutTaskInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parent?: Prisma.AssetCreateNestedOneWithoutChildrenInput - children?: Prisma.AssetCreateNestedManyWithoutParentInput - target?: Prisma.AssetCreateNestedOneWithoutSymlinksInput - symlinks?: Prisma.AssetCreateNestedManyWithoutTargetInput - storageKey?: Prisma.StorageKeyCreateNestedOneWithoutAssetsInput - metadataValues?: Prisma.AssetMetadataValueCreateNestedManyWithoutAssetInput - creator?: Prisma.UserCreateNestedOneWithoutAssetsInput - project?: Prisma.ProjectCreateNestedOneWithoutAssetsInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkCreateNestedOneWithoutRootFolderInput -} - -export type AssetUncheckedCreateWithoutTaskInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parentId?: string | null - targetId?: string | null - storageKeyId?: string | null - creatorId?: string | null - projectId?: string | null - children?: Prisma.AssetUncheckedCreateNestedManyWithoutParentInput - symlinks?: Prisma.AssetUncheckedCreateNestedManyWithoutTargetInput - metadataValues?: Prisma.AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutAssetInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutAssetInput - embeddings?: Prisma.AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput - teamRootFolder?: Prisma.TeamUncheckedCreateNestedOneWithoutRootFolderInput - projectRootFolder?: Prisma.ProjectUncheckedCreateNestedOneWithoutRootFolderInput - projectShareRoot?: Prisma.ProjectUncheckedCreateNestedOneWithoutShareRootInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput -} - -export type AssetCreateOrConnectWithoutTaskInput = { - where: Prisma.AssetWhereUniqueInput - create: Prisma.XOR -} - -export type AssetCreateManyTaskInputEnvelope = { - data: Prisma.AssetCreateManyTaskInput | Prisma.AssetCreateManyTaskInput[] - skipDuplicates?: boolean -} - -export type AssetUpsertWithWhereUniqueWithoutTaskInput = { - where: Prisma.AssetWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type AssetUpdateWithWhereUniqueWithoutTaskInput = { - where: Prisma.AssetWhereUniqueInput - data: Prisma.XOR -} - -export type AssetUpdateManyWithWhereWithoutTaskInput = { - where: Prisma.AssetScalarWhereInput - data: Prisma.XOR -} - -export type AssetCreateManyCreatorInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parentId?: string | null - targetId?: string | null - storageKeyId?: string | null - taskId?: string | null - projectId?: string | null -} - -export type AssetUpdateWithoutCreatorInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput - children?: Prisma.AssetUpdateManyWithoutParentNestedInput - target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput - symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput - storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput - metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput - task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput - project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUncheckedUpdateWithoutCreatorInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput - symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput - metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUncheckedUpdateManyWithoutCreatorInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type AssetCreateManyProjectInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parentId?: string | null - targetId?: string | null - storageKeyId?: string | null - creatorId?: string | null - taskId?: string | null -} - -export type AssetUpdateWithoutProjectInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput - children?: Prisma.AssetUpdateManyWithoutParentNestedInput - target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput - symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput - storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput - metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput - creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput - task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUncheckedUpdateWithoutProjectInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput - symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput - metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUncheckedUpdateManyWithoutProjectInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type AssetCreateManyParentInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - targetId?: string | null - storageKeyId?: string | null - creatorId?: string | null - taskId?: string | null - projectId?: string | null -} - -export type AssetCreateManyTargetInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parentId?: string | null - storageKeyId?: string | null - creatorId?: string | null - taskId?: string | null - projectId?: string | null -} - -export type AssetUpdateWithoutParentInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - children?: Prisma.AssetUpdateManyWithoutParentNestedInput - target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput - symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput - storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput - metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput - creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput - task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput - project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUncheckedUpdateWithoutParentInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput - symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput - metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUncheckedUpdateManyWithoutParentInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type AssetUpdateWithoutTargetInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput - children?: Prisma.AssetUpdateManyWithoutParentNestedInput - symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput - storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput - metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput - creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput - task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput - project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUncheckedUpdateWithoutTargetInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput - symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput - metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUncheckedUpdateManyWithoutTargetInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type AssetCreateManyStorageKeyInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parentId?: string | null - targetId?: string | null - creatorId?: string | null - taskId?: string | null - projectId?: string | null -} - -export type AssetUpdateWithoutStorageKeyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput - children?: Prisma.AssetUpdateManyWithoutParentNestedInput - target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput - symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput - metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput - creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput - task?: Prisma.TaskUpdateOneWithoutAssetsNestedInput - project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUncheckedUpdateWithoutStorageKeyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput - symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput - metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUncheckedUpdateManyWithoutStorageKeyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type AssetCreateManyTaskInput = { - id?: string - name?: string - nameNgram?: Prisma.AssetCreatenameNgramInput | string[] - type: $Enums.AssetType - mediaType?: string | null - fileCount?: number - sizeByte?: number - status: $Enums.AssetStatus - transcodeTaskId?: string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: boolean - deletedAt?: Date | string | null - sortIndex?: string | null - createdAt?: Date | string - updatedAt?: Date | string - parentId?: string | null - targetId?: string | null - storageKeyId?: string | null - creatorId?: string | null - projectId?: string | null -} - -export type AssetUpdateWithoutTaskInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parent?: Prisma.AssetUpdateOneWithoutChildrenNestedInput - children?: Prisma.AssetUpdateManyWithoutParentNestedInput - target?: Prisma.AssetUpdateOneWithoutSymlinksNestedInput - symlinks?: Prisma.AssetUpdateManyWithoutTargetNestedInput - storageKey?: Prisma.StorageKeyUpdateOneWithoutAssetsNestedInput - metadataValues?: Prisma.AssetMetadataValueUpdateManyWithoutAssetNestedInput - creator?: Prisma.UserUpdateOneWithoutAssetsNestedInput - project?: Prisma.ProjectUpdateOneWithoutAssetsNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUncheckedUpdateWithoutTaskInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - children?: Prisma.AssetUncheckedUpdateManyWithoutParentNestedInput - symlinks?: Prisma.AssetUncheckedUpdateManyWithoutTargetNestedInput - metadataValues?: Prisma.AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutAssetNestedInput - commentAttachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutAssetNestedInput - embeddings?: Prisma.AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput - teamRootFolder?: Prisma.TeamUncheckedUpdateOneWithoutRootFolderNestedInput - projectRootFolder?: Prisma.ProjectUncheckedUpdateOneWithoutRootFolderNestedInput - projectShareRoot?: Prisma.ProjectUncheckedUpdateOneWithoutShareRootNestedInput - shareLinkRootFolder?: Prisma.ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput -} - -export type AssetUncheckedUpdateManyWithoutTaskInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - nameNgram?: Prisma.AssetUpdatenameNgramInput | string[] - type?: Prisma.EnumAssetTypeFieldUpdateOperationsInput | $Enums.AssetType - mediaType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fileCount?: Prisma.IntFieldUpdateOperationsInput | number - sizeByte?: Prisma.IntFieldUpdateOperationsInput | number - status?: Prisma.EnumAssetStatusFieldUpdateOperationsInput | $Enums.AssetStatus - transcodeTaskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - media?:PrismaJson.MediaInfo | Prisma.NullableJsonNullValueInput - isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean - deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - sortIndex?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - targetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - storageKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - - -/** - * Count Type AssetCountOutputType - */ - -export type AssetCountOutputType = { - children: number - symlinks: number - metadataValues: number - comments: number - commentAttachments: number - notifications: number - embeddings: number -} - -export type AssetCountOutputTypeSelect = { - children?: boolean | AssetCountOutputTypeCountChildrenArgs - symlinks?: boolean | AssetCountOutputTypeCountSymlinksArgs - metadataValues?: boolean | AssetCountOutputTypeCountMetadataValuesArgs - comments?: boolean | AssetCountOutputTypeCountCommentsArgs - commentAttachments?: boolean | AssetCountOutputTypeCountCommentAttachmentsArgs - notifications?: boolean | AssetCountOutputTypeCountNotificationsArgs - embeddings?: boolean | AssetCountOutputTypeCountEmbeddingsArgs -} - -/** - * AssetCountOutputType without action - */ -export type AssetCountOutputTypeDefaultArgs = { - /** - * Select specific fields to fetch from the AssetCountOutputType - */ - select?: Prisma.AssetCountOutputTypeSelect | null -} - -/** - * AssetCountOutputType without action - */ -export type AssetCountOutputTypeCountChildrenArgs = { - where?: Prisma.AssetWhereInput -} - -/** - * AssetCountOutputType without action - */ -export type AssetCountOutputTypeCountSymlinksArgs = { - where?: Prisma.AssetWhereInput -} - -/** - * AssetCountOutputType without action - */ -export type AssetCountOutputTypeCountMetadataValuesArgs = { - where?: Prisma.AssetMetadataValueWhereInput -} - -/** - * AssetCountOutputType without action - */ -export type AssetCountOutputTypeCountCommentsArgs = { - where?: Prisma.AssetCommentWhereInput -} - -/** - * AssetCountOutputType without action - */ -export type AssetCountOutputTypeCountCommentAttachmentsArgs = { - where?: Prisma.AssetCommentAttachmentWhereInput -} - -/** - * AssetCountOutputType without action - */ -export type AssetCountOutputTypeCountNotificationsArgs = { - where?: Prisma.NotificationWhereInput -} - -/** - * AssetCountOutputType without action - */ -export type AssetCountOutputTypeCountEmbeddingsArgs = { - where?: Prisma.AssetEmbeddingWhereInput -} - - -export type AssetSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - name?: boolean - nameNgram?: boolean - type?: boolean - mediaType?: boolean - fileCount?: boolean - sizeByte?: boolean - status?: boolean - transcodeTaskId?: boolean - media?: boolean - isDeleted?: boolean - deletedAt?: boolean - sortIndex?: boolean - createdAt?: boolean - updatedAt?: boolean - parentId?: boolean - targetId?: boolean - storageKeyId?: boolean - creatorId?: boolean - taskId?: boolean - projectId?: boolean - parent?: boolean | Prisma.Asset$parentArgs - children?: boolean | Prisma.Asset$childrenArgs - target?: boolean | Prisma.Asset$targetArgs - symlinks?: boolean | Prisma.Asset$symlinksArgs - storageKey?: boolean | Prisma.Asset$storageKeyArgs - metadataValues?: boolean | Prisma.Asset$metadataValuesArgs - creator?: boolean | Prisma.Asset$creatorArgs - task?: boolean | Prisma.Asset$taskArgs - project?: boolean | Prisma.Asset$projectArgs - comments?: boolean | Prisma.Asset$commentsArgs - commentAttachments?: boolean | Prisma.Asset$commentAttachmentsArgs - notifications?: boolean | Prisma.Asset$notificationsArgs - embeddings?: boolean | Prisma.Asset$embeddingsArgs - teamRootFolder?: boolean | Prisma.Asset$teamRootFolderArgs - projectRootFolder?: boolean | Prisma.Asset$projectRootFolderArgs - projectShareRoot?: boolean | Prisma.Asset$projectShareRootArgs - shareLinkRootFolder?: boolean | Prisma.Asset$shareLinkRootFolderArgs - _count?: boolean | Prisma.AssetCountOutputTypeDefaultArgs -}, ExtArgs["result"]["asset"]> - -export type AssetSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - name?: boolean - nameNgram?: boolean - type?: boolean - mediaType?: boolean - fileCount?: boolean - sizeByte?: boolean - status?: boolean - transcodeTaskId?: boolean - media?: boolean - isDeleted?: boolean - deletedAt?: boolean - sortIndex?: boolean - createdAt?: boolean - updatedAt?: boolean - parentId?: boolean - targetId?: boolean - storageKeyId?: boolean - creatorId?: boolean - taskId?: boolean - projectId?: boolean - parent?: boolean | Prisma.Asset$parentArgs - target?: boolean | Prisma.Asset$targetArgs - storageKey?: boolean | Prisma.Asset$storageKeyArgs - creator?: boolean | Prisma.Asset$creatorArgs - task?: boolean | Prisma.Asset$taskArgs - project?: boolean | Prisma.Asset$projectArgs -}, ExtArgs["result"]["asset"]> - -export type AssetSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - name?: boolean - nameNgram?: boolean - type?: boolean - mediaType?: boolean - fileCount?: boolean - sizeByte?: boolean - status?: boolean - transcodeTaskId?: boolean - media?: boolean - isDeleted?: boolean - deletedAt?: boolean - sortIndex?: boolean - createdAt?: boolean - updatedAt?: boolean - parentId?: boolean - targetId?: boolean - storageKeyId?: boolean - creatorId?: boolean - taskId?: boolean - projectId?: boolean - parent?: boolean | Prisma.Asset$parentArgs - target?: boolean | Prisma.Asset$targetArgs - storageKey?: boolean | Prisma.Asset$storageKeyArgs - creator?: boolean | Prisma.Asset$creatorArgs - task?: boolean | Prisma.Asset$taskArgs - project?: boolean | Prisma.Asset$projectArgs -}, ExtArgs["result"]["asset"]> - -export type AssetSelectScalar = { - id?: boolean - name?: boolean - nameNgram?: boolean - type?: boolean - mediaType?: boolean - fileCount?: boolean - sizeByte?: boolean - status?: boolean - transcodeTaskId?: boolean - media?: boolean - isDeleted?: boolean - deletedAt?: boolean - sortIndex?: boolean - createdAt?: boolean - updatedAt?: boolean - parentId?: boolean - targetId?: boolean - storageKeyId?: boolean - creatorId?: boolean - taskId?: boolean - projectId?: boolean -} - -export type AssetOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "nameNgram" | "type" | "mediaType" | "fileCount" | "sizeByte" | "status" | "transcodeTaskId" | "media" | "isDeleted" | "deletedAt" | "sortIndex" | "createdAt" | "updatedAt" | "parentId" | "targetId" | "storageKeyId" | "creatorId" | "taskId" | "projectId", ExtArgs["result"]["asset"]> -export type AssetInclude = { - parent?: boolean | Prisma.Asset$parentArgs - children?: boolean | Prisma.Asset$childrenArgs - target?: boolean | Prisma.Asset$targetArgs - symlinks?: boolean | Prisma.Asset$symlinksArgs - storageKey?: boolean | Prisma.Asset$storageKeyArgs - metadataValues?: boolean | Prisma.Asset$metadataValuesArgs - creator?: boolean | Prisma.Asset$creatorArgs - task?: boolean | Prisma.Asset$taskArgs - project?: boolean | Prisma.Asset$projectArgs - comments?: boolean | Prisma.Asset$commentsArgs - commentAttachments?: boolean | Prisma.Asset$commentAttachmentsArgs - notifications?: boolean | Prisma.Asset$notificationsArgs - embeddings?: boolean | Prisma.Asset$embeddingsArgs - teamRootFolder?: boolean | Prisma.Asset$teamRootFolderArgs - projectRootFolder?: boolean | Prisma.Asset$projectRootFolderArgs - projectShareRoot?: boolean | Prisma.Asset$projectShareRootArgs - shareLinkRootFolder?: boolean | Prisma.Asset$shareLinkRootFolderArgs - _count?: boolean | Prisma.AssetCountOutputTypeDefaultArgs -} -export type AssetIncludeCreateManyAndReturn = { - parent?: boolean | Prisma.Asset$parentArgs - target?: boolean | Prisma.Asset$targetArgs - storageKey?: boolean | Prisma.Asset$storageKeyArgs - creator?: boolean | Prisma.Asset$creatorArgs - task?: boolean | Prisma.Asset$taskArgs - project?: boolean | Prisma.Asset$projectArgs -} -export type AssetIncludeUpdateManyAndReturn = { - parent?: boolean | Prisma.Asset$parentArgs - target?: boolean | Prisma.Asset$targetArgs - storageKey?: boolean | Prisma.Asset$storageKeyArgs - creator?: boolean | Prisma.Asset$creatorArgs - task?: boolean | Prisma.Asset$taskArgs - project?: boolean | Prisma.Asset$projectArgs -} - -export type $AssetPayload = { - name: "Asset" - objects: { - parent: Prisma.$AssetPayload | null - children: Prisma.$AssetPayload[] - target: Prisma.$AssetPayload | null - symlinks: Prisma.$AssetPayload[] - storageKey: Prisma.$StorageKeyPayload | null - metadataValues: Prisma.$AssetMetadataValuePayload[] - creator: Prisma.$UserPayload | null - task: Prisma.$TaskPayload | null - project: Prisma.$ProjectPayload | null - comments: Prisma.$AssetCommentPayload[] - commentAttachments: Prisma.$AssetCommentAttachmentPayload[] - notifications: Prisma.$NotificationPayload[] - embeddings: Prisma.$AssetEmbeddingPayload[] - teamRootFolder: Prisma.$TeamPayload | null - projectRootFolder: Prisma.$ProjectPayload | null - projectShareRoot: Prisma.$ProjectPayload | null - shareLinkRootFolder: Prisma.$ShareLinkPayload | null - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - name: string - nameNgram: string[] - type: $Enums.AssetType - mediaType: string | null - fileCount: number - sizeByte: number - status: $Enums.AssetStatus - transcodeTaskId: string | null - /** - * [MediaInfo] - */ - media:PrismaJson.MediaInfo | null - isDeleted: boolean - deletedAt: Date | null - sortIndex: string | null - createdAt: Date - updatedAt: Date - parentId: string | null - targetId: string | null - storageKeyId: string | null - creatorId: string | null - taskId: string | null - projectId: string | null - }, ExtArgs["result"]["asset"]> - composites: {} -} - -export type AssetGetPayload = runtime.Types.Result.GetResult - -export type AssetCountArgs = - Omit & { - select?: AssetCountAggregateInputType | true - } - -export interface AssetDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['Asset'], meta: { name: 'Asset' } } - /** - * Find zero or one Asset that matches the filter. - * @param {AssetFindUniqueArgs} args - Arguments to find a Asset - * @example - * // Get one Asset - * const asset = await prisma.asset.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AssetClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one Asset that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {AssetFindUniqueOrThrowArgs} args - Arguments to find a Asset - * @example - * // Get one Asset - * const asset = await prisma.asset.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AssetClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Asset that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetFindFirstArgs} args - Arguments to find a Asset - * @example - * // Get one Asset - * const asset = await prisma.asset.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AssetClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Asset that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetFindFirstOrThrowArgs} args - Arguments to find a Asset - * @example - * // Get one Asset - * const asset = await prisma.asset.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AssetClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more Assets that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Assets - * const assets = await prisma.asset.findMany() - * - * // Get first 10 Assets - * const assets = await prisma.asset.findMany({ take: 10 }) - * - * // Only select the `id` - * const assetWithIdOnly = await prisma.asset.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a Asset. - * @param {AssetCreateArgs} args - Arguments to create a Asset. - * @example - * // Create one Asset - * const Asset = await prisma.asset.create({ - * data: { - * // ... data to create a Asset - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__AssetClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many Assets. - * @param {AssetCreateManyArgs} args - Arguments to create many Assets. - * @example - * // Create many Assets - * const asset = await prisma.asset.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many Assets and returns the data saved in the database. - * @param {AssetCreateManyAndReturnArgs} args - Arguments to create many Assets. - * @example - * // Create many Assets - * const asset = await prisma.asset.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Assets and only return the `id` - * const assetWithIdOnly = await prisma.asset.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a Asset. - * @param {AssetDeleteArgs} args - Arguments to delete one Asset. - * @example - * // Delete one Asset - * const Asset = await prisma.asset.delete({ - * where: { - * // ... filter to delete one Asset - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__AssetClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one Asset. - * @param {AssetUpdateArgs} args - Arguments to update one Asset. - * @example - * // Update one Asset - * const asset = await prisma.asset.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__AssetClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more Assets. - * @param {AssetDeleteManyArgs} args - Arguments to filter Assets to delete. - * @example - * // Delete a few Assets - * const { count } = await prisma.asset.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Assets. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Assets - * const asset = await prisma.asset.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Assets and returns the data updated in the database. - * @param {AssetUpdateManyAndReturnArgs} args - Arguments to update many Assets. - * @example - * // Update many Assets - * const asset = await prisma.asset.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Assets and only return the `id` - * const assetWithIdOnly = await prisma.asset.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one Asset. - * @param {AssetUpsertArgs} args - Arguments to update or create a Asset. - * @example - * // Update or create a Asset - * const asset = await prisma.asset.upsert({ - * create: { - * // ... data to create a Asset - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the Asset we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AssetClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of Assets. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetCountArgs} args - Arguments to filter Assets to count. - * @example - * // Count the number of Assets - * const count = await prisma.asset.count({ - * where: { - * // ... the filter for the Assets we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a Asset. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by Asset. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends AssetGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: AssetGroupByArgs['orderBy'] } - : { orderBy?: AssetGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetAssetGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the Asset model - */ -readonly fields: AssetFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for Asset. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__AssetClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - parent = {}>(args?: Prisma.Subset>): Prisma.Prisma__AssetClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - children = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - target = {}>(args?: Prisma.Subset>): Prisma.Prisma__AssetClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - symlinks = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - storageKey = {}>(args?: Prisma.Subset>): Prisma.Prisma__StorageKeyClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - metadataValues = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - creator = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - task = {}>(args?: Prisma.Subset>): Prisma.Prisma__TaskClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - project = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProjectClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - comments = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - commentAttachments = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - notifications = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - embeddings = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - teamRootFolder = {}>(args?: Prisma.Subset>): Prisma.Prisma__TeamClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - projectRootFolder = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProjectClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - projectShareRoot = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProjectClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - shareLinkRootFolder = {}>(args?: Prisma.Subset>): Prisma.Prisma__ShareLinkClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the Asset model - */ -export interface AssetFieldRefs { - readonly id: Prisma.FieldRef<"Asset", 'String'> - readonly name: Prisma.FieldRef<"Asset", 'String'> - readonly nameNgram: Prisma.FieldRef<"Asset", 'String[]'> - readonly type: Prisma.FieldRef<"Asset", 'AssetType'> - readonly mediaType: Prisma.FieldRef<"Asset", 'String'> - readonly fileCount: Prisma.FieldRef<"Asset", 'Int'> - readonly sizeByte: Prisma.FieldRef<"Asset", 'Int'> - readonly status: Prisma.FieldRef<"Asset", 'AssetStatus'> - readonly transcodeTaskId: Prisma.FieldRef<"Asset", 'String'> - readonly media: Prisma.FieldRef<"Asset", 'Json'> - readonly isDeleted: Prisma.FieldRef<"Asset", 'Boolean'> - readonly deletedAt: Prisma.FieldRef<"Asset", 'DateTime'> - readonly sortIndex: Prisma.FieldRef<"Asset", 'String'> - readonly createdAt: Prisma.FieldRef<"Asset", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"Asset", 'DateTime'> - readonly parentId: Prisma.FieldRef<"Asset", 'String'> - readonly targetId: Prisma.FieldRef<"Asset", 'String'> - readonly storageKeyId: Prisma.FieldRef<"Asset", 'String'> - readonly creatorId: Prisma.FieldRef<"Asset", 'String'> - readonly taskId: Prisma.FieldRef<"Asset", 'String'> - readonly projectId: Prisma.FieldRef<"Asset", 'String'> -} - - -// Custom InputTypes -/** - * Asset findUnique - */ -export type AssetFindUniqueArgs = { - /** - * Select specific fields to fetch from the Asset - */ - select?: Prisma.AssetSelect | null - /** - * Omit specific fields from the Asset - */ - omit?: Prisma.AssetOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetInclude | null - /** - * Filter, which Asset to fetch. - */ - where: Prisma.AssetWhereUniqueInput -} - -/** - * Asset findUniqueOrThrow - */ -export type AssetFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the Asset - */ - select?: Prisma.AssetSelect | null - /** - * Omit specific fields from the Asset - */ - omit?: Prisma.AssetOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetInclude | null - /** - * Filter, which Asset to fetch. - */ - where: Prisma.AssetWhereUniqueInput -} - -/** - * Asset findFirst - */ -export type AssetFindFirstArgs = { - /** - * Select specific fields to fetch from the Asset - */ - select?: Prisma.AssetSelect | null - /** - * Omit specific fields from the Asset - */ - omit?: Prisma.AssetOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetInclude | null - /** - * Filter, which Asset to fetch. - */ - where?: Prisma.AssetWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Assets to fetch. - */ - orderBy?: Prisma.AssetOrderByWithRelationInput | Prisma.AssetOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Assets. - */ - cursor?: Prisma.AssetWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Assets from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Assets. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Assets. - */ - distinct?: Prisma.AssetScalarFieldEnum | Prisma.AssetScalarFieldEnum[] -} - -/** - * Asset findFirstOrThrow - */ -export type AssetFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the Asset - */ - select?: Prisma.AssetSelect | null - /** - * Omit specific fields from the Asset - */ - omit?: Prisma.AssetOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetInclude | null - /** - * Filter, which Asset to fetch. - */ - where?: Prisma.AssetWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Assets to fetch. - */ - orderBy?: Prisma.AssetOrderByWithRelationInput | Prisma.AssetOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Assets. - */ - cursor?: Prisma.AssetWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Assets from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Assets. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Assets. - */ - distinct?: Prisma.AssetScalarFieldEnum | Prisma.AssetScalarFieldEnum[] -} - -/** - * Asset findMany - */ -export type AssetFindManyArgs = { - /** - * Select specific fields to fetch from the Asset - */ - select?: Prisma.AssetSelect | null - /** - * Omit specific fields from the Asset - */ - omit?: Prisma.AssetOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetInclude | null - /** - * Filter, which Assets to fetch. - */ - where?: Prisma.AssetWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Assets to fetch. - */ - orderBy?: Prisma.AssetOrderByWithRelationInput | Prisma.AssetOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Assets. - */ - cursor?: Prisma.AssetWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Assets from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Assets. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Assets. - */ - distinct?: Prisma.AssetScalarFieldEnum | Prisma.AssetScalarFieldEnum[] -} - -/** - * Asset create - */ -export type AssetCreateArgs = { - /** - * Select specific fields to fetch from the Asset - */ - select?: Prisma.AssetSelect | null - /** - * Omit specific fields from the Asset - */ - omit?: Prisma.AssetOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetInclude | null - /** - * The data needed to create a Asset. - */ - data: Prisma.XOR -} - -/** - * Asset createMany - */ -export type AssetCreateManyArgs = { - /** - * The data used to create many Assets. - */ - data: Prisma.AssetCreateManyInput | Prisma.AssetCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * Asset createManyAndReturn - */ -export type AssetCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Asset - */ - select?: Prisma.AssetSelectCreateManyAndReturn | null - /** - * Omit specific fields from the Asset - */ - omit?: Prisma.AssetOmit | null - /** - * The data used to create many Assets. - */ - data: Prisma.AssetCreateManyInput | Prisma.AssetCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetIncludeCreateManyAndReturn | null -} - -/** - * Asset update - */ -export type AssetUpdateArgs = { - /** - * Select specific fields to fetch from the Asset - */ - select?: Prisma.AssetSelect | null - /** - * Omit specific fields from the Asset - */ - omit?: Prisma.AssetOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetInclude | null - /** - * The data needed to update a Asset. - */ - data: Prisma.XOR - /** - * Choose, which Asset to update. - */ - where: Prisma.AssetWhereUniqueInput -} - -/** - * Asset updateMany - */ -export type AssetUpdateManyArgs = { - /** - * The data used to update Assets. - */ - data: Prisma.XOR - /** - * Filter which Assets to update - */ - where?: Prisma.AssetWhereInput - /** - * Limit how many Assets to update. - */ - limit?: number -} - -/** - * Asset updateManyAndReturn - */ -export type AssetUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Asset - */ - select?: Prisma.AssetSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the Asset - */ - omit?: Prisma.AssetOmit | null - /** - * The data used to update Assets. - */ - data: Prisma.XOR - /** - * Filter which Assets to update - */ - where?: Prisma.AssetWhereInput - /** - * Limit how many Assets to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetIncludeUpdateManyAndReturn | null -} - -/** - * Asset upsert - */ -export type AssetUpsertArgs = { - /** - * Select specific fields to fetch from the Asset - */ - select?: Prisma.AssetSelect | null - /** - * Omit specific fields from the Asset - */ - omit?: Prisma.AssetOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetInclude | null - /** - * The filter to search for the Asset to update in case it exists. - */ - where: Prisma.AssetWhereUniqueInput - /** - * In case the Asset found by the `where` argument doesn't exist, create a new Asset with this data. - */ - create: Prisma.XOR - /** - * In case the Asset was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * Asset delete - */ -export type AssetDeleteArgs = { - /** - * Select specific fields to fetch from the Asset - */ - select?: Prisma.AssetSelect | null - /** - * Omit specific fields from the Asset - */ - omit?: Prisma.AssetOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetInclude | null - /** - * Filter which Asset to delete. - */ - where: Prisma.AssetWhereUniqueInput -} - -/** - * Asset deleteMany - */ -export type AssetDeleteManyArgs = { - /** - * Filter which Assets to delete - */ - where?: Prisma.AssetWhereInput - /** - * Limit how many Assets to delete. - */ - limit?: number -} - -/** - * Asset.parent - */ -export type Asset$parentArgs = { - /** - * Select specific fields to fetch from the Asset - */ - select?: Prisma.AssetSelect | null - /** - * Omit specific fields from the Asset - */ - omit?: Prisma.AssetOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetInclude | null - where?: Prisma.AssetWhereInput -} - -/** - * Asset.children - */ -export type Asset$childrenArgs = { - /** - * Select specific fields to fetch from the Asset - */ - select?: Prisma.AssetSelect | null - /** - * Omit specific fields from the Asset - */ - omit?: Prisma.AssetOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetInclude | null - where?: Prisma.AssetWhereInput - orderBy?: Prisma.AssetOrderByWithRelationInput | Prisma.AssetOrderByWithRelationInput[] - cursor?: Prisma.AssetWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.AssetScalarFieldEnum | Prisma.AssetScalarFieldEnum[] -} - -/** - * Asset.target - */ -export type Asset$targetArgs = { - /** - * Select specific fields to fetch from the Asset - */ - select?: Prisma.AssetSelect | null - /** - * Omit specific fields from the Asset - */ - omit?: Prisma.AssetOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetInclude | null - where?: Prisma.AssetWhereInput -} - -/** - * Asset.symlinks - */ -export type Asset$symlinksArgs = { - /** - * Select specific fields to fetch from the Asset - */ - select?: Prisma.AssetSelect | null - /** - * Omit specific fields from the Asset - */ - omit?: Prisma.AssetOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetInclude | null - where?: Prisma.AssetWhereInput - orderBy?: Prisma.AssetOrderByWithRelationInput | Prisma.AssetOrderByWithRelationInput[] - cursor?: Prisma.AssetWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.AssetScalarFieldEnum | Prisma.AssetScalarFieldEnum[] -} - -/** - * Asset.storageKey - */ -export type Asset$storageKeyArgs = { - /** - * Select specific fields to fetch from the StorageKey - */ - select?: Prisma.StorageKeySelect | null - /** - * Omit specific fields from the StorageKey - */ - omit?: Prisma.StorageKeyOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.StorageKeyInclude | null - where?: Prisma.StorageKeyWhereInput -} - -/** - * Asset.metadataValues - */ -export type Asset$metadataValuesArgs = { - /** - * Select specific fields to fetch from the AssetMetadataValue - */ - select?: Prisma.AssetMetadataValueSelect | null - /** - * Omit specific fields from the AssetMetadataValue - */ - omit?: Prisma.AssetMetadataValueOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetMetadataValueInclude | null - where?: Prisma.AssetMetadataValueWhereInput - orderBy?: Prisma.AssetMetadataValueOrderByWithRelationInput | Prisma.AssetMetadataValueOrderByWithRelationInput[] - cursor?: Prisma.AssetMetadataValueWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.AssetMetadataValueScalarFieldEnum | Prisma.AssetMetadataValueScalarFieldEnum[] -} - -/** - * Asset.creator - */ -export type Asset$creatorArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null - where?: Prisma.UserWhereInput -} - -/** - * Asset.task - */ -export type Asset$taskArgs = { - /** - * Select specific fields to fetch from the Task - */ - select?: Prisma.TaskSelect | null - /** - * Omit specific fields from the Task - */ - omit?: Prisma.TaskOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TaskInclude | null - where?: Prisma.TaskWhereInput -} - -/** - * Asset.project - */ -export type Asset$projectArgs = { - /** - * Select specific fields to fetch from the Project - */ - select?: Prisma.ProjectSelect | null - /** - * Omit specific fields from the Project - */ - omit?: Prisma.ProjectOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectInclude | null - where?: Prisma.ProjectWhereInput -} - -/** - * Asset.comments - */ -export type Asset$commentsArgs = { - /** - * Select specific fields to fetch from the AssetComment - */ - select?: Prisma.AssetCommentSelect | null - /** - * Omit specific fields from the AssetComment - */ - omit?: Prisma.AssetCommentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentInclude | null - where?: Prisma.AssetCommentWhereInput - orderBy?: Prisma.AssetCommentOrderByWithRelationInput | Prisma.AssetCommentOrderByWithRelationInput[] - cursor?: Prisma.AssetCommentWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.AssetCommentScalarFieldEnum | Prisma.AssetCommentScalarFieldEnum[] -} - -/** - * Asset.commentAttachments - */ -export type Asset$commentAttachmentsArgs = { - /** - * Select specific fields to fetch from the AssetCommentAttachment - */ - select?: Prisma.AssetCommentAttachmentSelect | null - /** - * Omit specific fields from the AssetCommentAttachment - */ - omit?: Prisma.AssetCommentAttachmentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentAttachmentInclude | null - where?: Prisma.AssetCommentAttachmentWhereInput - orderBy?: Prisma.AssetCommentAttachmentOrderByWithRelationInput | Prisma.AssetCommentAttachmentOrderByWithRelationInput[] - cursor?: Prisma.AssetCommentAttachmentWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.AssetCommentAttachmentScalarFieldEnum | Prisma.AssetCommentAttachmentScalarFieldEnum[] -} - -/** - * Asset.notifications - */ -export type Asset$notificationsArgs = { - /** - * Select specific fields to fetch from the Notification - */ - select?: Prisma.NotificationSelect | null - /** - * Omit specific fields from the Notification - */ - omit?: Prisma.NotificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.NotificationInclude | null - where?: Prisma.NotificationWhereInput - orderBy?: Prisma.NotificationOrderByWithRelationInput | Prisma.NotificationOrderByWithRelationInput[] - cursor?: Prisma.NotificationWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.NotificationScalarFieldEnum | Prisma.NotificationScalarFieldEnum[] -} - -/** - * Asset.embeddings - */ -export type Asset$embeddingsArgs = { - /** - * Select specific fields to fetch from the AssetEmbedding - */ - select?: Prisma.AssetEmbeddingSelect | null - /** - * Omit specific fields from the AssetEmbedding - */ - omit?: Prisma.AssetEmbeddingOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetEmbeddingInclude | null - where?: Prisma.AssetEmbeddingWhereInput - orderBy?: Prisma.AssetEmbeddingOrderByWithRelationInput | Prisma.AssetEmbeddingOrderByWithRelationInput[] - cursor?: Prisma.AssetEmbeddingWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.AssetEmbeddingScalarFieldEnum | Prisma.AssetEmbeddingScalarFieldEnum[] -} - -/** - * Asset.teamRootFolder - */ -export type Asset$teamRootFolderArgs = { - /** - * Select specific fields to fetch from the Team - */ - select?: Prisma.TeamSelect | null - /** - * Omit specific fields from the Team - */ - omit?: Prisma.TeamOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamInclude | null - where?: Prisma.TeamWhereInput -} - -/** - * Asset.projectRootFolder - */ -export type Asset$projectRootFolderArgs = { - /** - * Select specific fields to fetch from the Project - */ - select?: Prisma.ProjectSelect | null - /** - * Omit specific fields from the Project - */ - omit?: Prisma.ProjectOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectInclude | null - where?: Prisma.ProjectWhereInput -} - -/** - * Asset.projectShareRoot - */ -export type Asset$projectShareRootArgs = { - /** - * Select specific fields to fetch from the Project - */ - select?: Prisma.ProjectSelect | null - /** - * Omit specific fields from the Project - */ - omit?: Prisma.ProjectOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectInclude | null - where?: Prisma.ProjectWhereInput -} - -/** - * Asset.shareLinkRootFolder - */ -export type Asset$shareLinkRootFolderArgs = { - /** - * Select specific fields to fetch from the ShareLink - */ - select?: Prisma.ShareLinkSelect | null - /** - * Omit specific fields from the ShareLink - */ - omit?: Prisma.ShareLinkOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ShareLinkInclude | null - where?: Prisma.ShareLinkWhereInput -} - -/** - * Asset without action - */ -export type AssetDefaultArgs = { - /** - * Select specific fields to fetch from the Asset - */ - select?: Prisma.AssetSelect | null - /** - * Omit specific fields from the Asset - */ - omit?: Prisma.AssetOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetInclude | null -} diff --git a/src/generated/prisma/models/AssetComment.ts b/src/generated/prisma/models/AssetComment.ts deleted file mode 100644 index 77b9c7ed..00000000 --- a/src/generated/prisma/models/AssetComment.ts +++ /dev/null @@ -1,2396 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `AssetComment` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model AssetComment - * - */ -export type AssetCommentModel = runtime.Types.Result.DefaultSelection - -export type AggregateAssetComment = { - _count: AssetCommentCountAggregateOutputType | null - _avg: AssetCommentAvgAggregateOutputType | null - _sum: AssetCommentSumAggregateOutputType | null - _min: AssetCommentMinAggregateOutputType | null - _max: AssetCommentMaxAggregateOutputType | null -} - -export type AssetCommentAvgAggregateOutputType = { - second: number | null -} - -export type AssetCommentSumAggregateOutputType = { - second: number | null -} - -export type AssetCommentMinAggregateOutputType = { - id: string | null - message: string | null - second: number | null - sessionId: string | null - createdAt: Date | null - updatedAt: Date | null - assetId: string | null - creatorId: string | null - replyToId: string | null -} - -export type AssetCommentMaxAggregateOutputType = { - id: string | null - message: string | null - second: number | null - sessionId: string | null - createdAt: Date | null - updatedAt: Date | null - assetId: string | null - creatorId: string | null - replyToId: string | null -} - -export type AssetCommentCountAggregateOutputType = { - id: number - message: number - annotation:PrismaJson.AnnotationList - second: number - sessionId: number - createdAt: number - updatedAt: number - assetId: number - creatorId: number - replyToId: number - _all: number -} - - -export type AssetCommentAvgAggregateInputType = { - second?: true -} - -export type AssetCommentSumAggregateInputType = { - second?: true -} - -export type AssetCommentMinAggregateInputType = { - id?: true - message?: true - second?: true - sessionId?: true - createdAt?: true - updatedAt?: true - assetId?: true - creatorId?: true - replyToId?: true -} - -export type AssetCommentMaxAggregateInputType = { - id?: true - message?: true - second?: true - sessionId?: true - createdAt?: true - updatedAt?: true - assetId?: true - creatorId?: true - replyToId?: true -} - -export type AssetCommentCountAggregateInputType = { - id?: true - message?: true - annotation?: true - second?: true - sessionId?: true - createdAt?: true - updatedAt?: true - assetId?: true - creatorId?: true - replyToId?: true - _all?: true -} - -export type AssetCommentAggregateArgs = { - /** - * Filter which AssetComment to aggregate. - */ - where?: Prisma.AssetCommentWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AssetComments to fetch. - */ - orderBy?: Prisma.AssetCommentOrderByWithRelationInput | Prisma.AssetCommentOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.AssetCommentWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AssetComments from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AssetComments. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned AssetComments - **/ - _count?: true | AssetCommentCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to average - **/ - _avg?: AssetCommentAvgAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to sum - **/ - _sum?: AssetCommentSumAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: AssetCommentMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: AssetCommentMaxAggregateInputType -} - -export type GetAssetCommentAggregateType = { - [P in keyof T & keyof AggregateAssetComment]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type AssetCommentGroupByArgs = { - where?: Prisma.AssetCommentWhereInput - orderBy?: Prisma.AssetCommentOrderByWithAggregationInput | Prisma.AssetCommentOrderByWithAggregationInput[] - by: Prisma.AssetCommentScalarFieldEnum[] | Prisma.AssetCommentScalarFieldEnum - having?: Prisma.AssetCommentScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: AssetCommentCountAggregateInputType | true - _avg?: AssetCommentAvgAggregateInputType - _sum?: AssetCommentSumAggregateInputType - _min?: AssetCommentMinAggregateInputType - _max?: AssetCommentMaxAggregateInputType -} - -export type AssetCommentGroupByOutputType = { - id: string - message: string | null - annotation:PrismaJson.AnnotationList | null - second: number | null - sessionId: string | null - createdAt: Date - updatedAt: Date - assetId: string - creatorId: string | null - replyToId: string | null - _count: AssetCommentCountAggregateOutputType | null - _avg: AssetCommentAvgAggregateOutputType | null - _sum: AssetCommentSumAggregateOutputType | null - _min: AssetCommentMinAggregateOutputType | null - _max: AssetCommentMaxAggregateOutputType | null -} - -export type GetAssetCommentGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof AssetCommentGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type AssetCommentWhereInput = { - AND?: Prisma.AssetCommentWhereInput | Prisma.AssetCommentWhereInput[] - OR?: Prisma.AssetCommentWhereInput[] - NOT?: Prisma.AssetCommentWhereInput | Prisma.AssetCommentWhereInput[] - id?: Prisma.StringFilter<"AssetComment"> | string - message?: Prisma.StringNullableFilter<"AssetComment"> | string | null - annotation?: Prisma.JsonNullableFilter<"AssetComment"> - second?: Prisma.FloatNullableFilter<"AssetComment"> | number | null - sessionId?: Prisma.StringNullableFilter<"AssetComment"> | string | null - createdAt?: Prisma.DateTimeFilter<"AssetComment"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"AssetComment"> | Date | string - assetId?: Prisma.StringFilter<"AssetComment"> | string - creatorId?: Prisma.StringNullableFilter<"AssetComment"> | string | null - replyToId?: Prisma.StringNullableFilter<"AssetComment"> | string | null - session?: Prisma.XOR | null - asset?: Prisma.XOR - creator?: Prisma.XOR | null - replyTo?: Prisma.XOR | null - replies?: Prisma.AssetCommentListRelationFilter - attachments?: Prisma.AssetCommentAttachmentListRelationFilter -} - -export type AssetCommentOrderByWithRelationInput = { - id?: Prisma.SortOrder - message?: Prisma.SortOrderInput | Prisma.SortOrder - annotation?: Prisma.SortOrderInput | Prisma.SortOrder - second?: Prisma.SortOrderInput | Prisma.SortOrder - sessionId?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - assetId?: Prisma.SortOrder - creatorId?: Prisma.SortOrderInput | Prisma.SortOrder - replyToId?: Prisma.SortOrderInput | Prisma.SortOrder - session?: Prisma.AgentSessionOrderByWithRelationInput - asset?: Prisma.AssetOrderByWithRelationInput - creator?: Prisma.UserOrderByWithRelationInput - replyTo?: Prisma.AssetCommentOrderByWithRelationInput - replies?: Prisma.AssetCommentOrderByRelationAggregateInput - attachments?: Prisma.AssetCommentAttachmentOrderByRelationAggregateInput -} - -export type AssetCommentWhereUniqueInput = Prisma.AtLeast<{ - id?: string - AND?: Prisma.AssetCommentWhereInput | Prisma.AssetCommentWhereInput[] - OR?: Prisma.AssetCommentWhereInput[] - NOT?: Prisma.AssetCommentWhereInput | Prisma.AssetCommentWhereInput[] - message?: Prisma.StringNullableFilter<"AssetComment"> | string | null - annotation?: Prisma.JsonNullableFilter<"AssetComment"> - second?: Prisma.FloatNullableFilter<"AssetComment"> | number | null - sessionId?: Prisma.StringNullableFilter<"AssetComment"> | string | null - createdAt?: Prisma.DateTimeFilter<"AssetComment"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"AssetComment"> | Date | string - assetId?: Prisma.StringFilter<"AssetComment"> | string - creatorId?: Prisma.StringNullableFilter<"AssetComment"> | string | null - replyToId?: Prisma.StringNullableFilter<"AssetComment"> | string | null - session?: Prisma.XOR | null - asset?: Prisma.XOR - creator?: Prisma.XOR | null - replyTo?: Prisma.XOR | null - replies?: Prisma.AssetCommentListRelationFilter - attachments?: Prisma.AssetCommentAttachmentListRelationFilter -}, "id"> - -export type AssetCommentOrderByWithAggregationInput = { - id?: Prisma.SortOrder - message?: Prisma.SortOrderInput | Prisma.SortOrder - annotation?: Prisma.SortOrderInput | Prisma.SortOrder - second?: Prisma.SortOrderInput | Prisma.SortOrder - sessionId?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - assetId?: Prisma.SortOrder - creatorId?: Prisma.SortOrderInput | Prisma.SortOrder - replyToId?: Prisma.SortOrderInput | Prisma.SortOrder - _count?: Prisma.AssetCommentCountOrderByAggregateInput - _avg?: Prisma.AssetCommentAvgOrderByAggregateInput - _max?: Prisma.AssetCommentMaxOrderByAggregateInput - _min?: Prisma.AssetCommentMinOrderByAggregateInput - _sum?: Prisma.AssetCommentSumOrderByAggregateInput -} - -export type AssetCommentScalarWhereWithAggregatesInput = { - AND?: Prisma.AssetCommentScalarWhereWithAggregatesInput | Prisma.AssetCommentScalarWhereWithAggregatesInput[] - OR?: Prisma.AssetCommentScalarWhereWithAggregatesInput[] - NOT?: Prisma.AssetCommentScalarWhereWithAggregatesInput | Prisma.AssetCommentScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"AssetComment"> | string - message?: Prisma.StringNullableWithAggregatesFilter<"AssetComment"> | string | null - annotation?: Prisma.JsonNullableWithAggregatesFilter<"AssetComment"> - second?: Prisma.FloatNullableWithAggregatesFilter<"AssetComment"> | number | null - sessionId?: Prisma.StringNullableWithAggregatesFilter<"AssetComment"> | string | null - createdAt?: Prisma.DateTimeWithAggregatesFilter<"AssetComment"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AssetComment"> | Date | string - assetId?: Prisma.StringWithAggregatesFilter<"AssetComment"> | string - creatorId?: Prisma.StringNullableWithAggregatesFilter<"AssetComment"> | string | null - replyToId?: Prisma.StringNullableWithAggregatesFilter<"AssetComment"> | string | null -} - -export type AssetCommentCreateInput = { - id?: string - message?: string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: number | null - createdAt?: Date | string - updatedAt?: Date | string - session?: Prisma.AgentSessionCreateNestedOneWithoutCommentsInput - asset: Prisma.AssetCreateNestedOneWithoutCommentsInput - creator?: Prisma.UserCreateNestedOneWithoutCommentsInput - replyTo?: Prisma.AssetCommentCreateNestedOneWithoutRepliesInput - replies?: Prisma.AssetCommentCreateNestedManyWithoutReplyToInput - attachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutCommentInput -} - -export type AssetCommentUncheckedCreateInput = { - id?: string - message?: string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: number | null - sessionId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assetId: string - creatorId?: string | null - replyToId?: string | null - replies?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutReplyToInput - attachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutCommentInput -} - -export type AssetCommentUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - session?: Prisma.AgentSessionUpdateOneWithoutCommentsNestedInput - asset?: Prisma.AssetUpdateOneRequiredWithoutCommentsNestedInput - creator?: Prisma.UserUpdateOneWithoutCommentsNestedInput - replyTo?: Prisma.AssetCommentUpdateOneWithoutRepliesNestedInput - replies?: Prisma.AssetCommentUpdateManyWithoutReplyToNestedInput - attachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutCommentNestedInput -} - -export type AssetCommentUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assetId?: Prisma.StringFieldUpdateOperationsInput | string - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - replyToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - replies?: Prisma.AssetCommentUncheckedUpdateManyWithoutReplyToNestedInput - attachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutCommentNestedInput -} - -export type AssetCommentCreateManyInput = { - id?: string - message?: string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: number | null - sessionId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assetId: string - creatorId?: string | null - replyToId?: string | null -} - -export type AssetCommentUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AssetCommentUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assetId?: Prisma.StringFieldUpdateOperationsInput | string - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - replyToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type AssetCommentListRelationFilter = { - every?: Prisma.AssetCommentWhereInput - some?: Prisma.AssetCommentWhereInput - none?: Prisma.AssetCommentWhereInput -} - -export type AssetCommentOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type AssetCommentNullableScalarRelationFilter = { - is?: Prisma.AssetCommentWhereInput | null - isNot?: Prisma.AssetCommentWhereInput | null -} - -export type AssetCommentCountOrderByAggregateInput = { - id?: Prisma.SortOrder - message?: Prisma.SortOrder - annotation?: Prisma.SortOrder - second?: Prisma.SortOrder - sessionId?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - assetId?: Prisma.SortOrder - creatorId?: Prisma.SortOrder - replyToId?: Prisma.SortOrder -} - -export type AssetCommentAvgOrderByAggregateInput = { - second?: Prisma.SortOrder -} - -export type AssetCommentMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - message?: Prisma.SortOrder - second?: Prisma.SortOrder - sessionId?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - assetId?: Prisma.SortOrder - creatorId?: Prisma.SortOrder - replyToId?: Prisma.SortOrder -} - -export type AssetCommentMinOrderByAggregateInput = { - id?: Prisma.SortOrder - message?: Prisma.SortOrder - second?: Prisma.SortOrder - sessionId?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - assetId?: Prisma.SortOrder - creatorId?: Prisma.SortOrder - replyToId?: Prisma.SortOrder -} - -export type AssetCommentSumOrderByAggregateInput = { - second?: Prisma.SortOrder -} - -export type AssetCommentScalarRelationFilter = { - is?: Prisma.AssetCommentWhereInput - isNot?: Prisma.AssetCommentWhereInput -} - -export type AssetCommentCreateNestedManyWithoutCreatorInput = { - create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutCreatorInput[] | Prisma.AssetCommentUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutCreatorInput | Prisma.AssetCommentCreateOrConnectWithoutCreatorInput[] - createMany?: Prisma.AssetCommentCreateManyCreatorInputEnvelope - connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] -} - -export type AssetCommentUncheckedCreateNestedManyWithoutCreatorInput = { - create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutCreatorInput[] | Prisma.AssetCommentUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutCreatorInput | Prisma.AssetCommentCreateOrConnectWithoutCreatorInput[] - createMany?: Prisma.AssetCommentCreateManyCreatorInputEnvelope - connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] -} - -export type AssetCommentUpdateManyWithoutCreatorNestedInput = { - create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutCreatorInput[] | Prisma.AssetCommentUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutCreatorInput | Prisma.AssetCommentCreateOrConnectWithoutCreatorInput[] - upsert?: Prisma.AssetCommentUpsertWithWhereUniqueWithoutCreatorInput | Prisma.AssetCommentUpsertWithWhereUniqueWithoutCreatorInput[] - createMany?: Prisma.AssetCommentCreateManyCreatorInputEnvelope - set?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - disconnect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - delete?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - update?: Prisma.AssetCommentUpdateWithWhereUniqueWithoutCreatorInput | Prisma.AssetCommentUpdateWithWhereUniqueWithoutCreatorInput[] - updateMany?: Prisma.AssetCommentUpdateManyWithWhereWithoutCreatorInput | Prisma.AssetCommentUpdateManyWithWhereWithoutCreatorInput[] - deleteMany?: Prisma.AssetCommentScalarWhereInput | Prisma.AssetCommentScalarWhereInput[] -} - -export type AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput = { - create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutCreatorInput[] | Prisma.AssetCommentUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutCreatorInput | Prisma.AssetCommentCreateOrConnectWithoutCreatorInput[] - upsert?: Prisma.AssetCommentUpsertWithWhereUniqueWithoutCreatorInput | Prisma.AssetCommentUpsertWithWhereUniqueWithoutCreatorInput[] - createMany?: Prisma.AssetCommentCreateManyCreatorInputEnvelope - set?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - disconnect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - delete?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - update?: Prisma.AssetCommentUpdateWithWhereUniqueWithoutCreatorInput | Prisma.AssetCommentUpdateWithWhereUniqueWithoutCreatorInput[] - updateMany?: Prisma.AssetCommentUpdateManyWithWhereWithoutCreatorInput | Prisma.AssetCommentUpdateManyWithWhereWithoutCreatorInput[] - deleteMany?: Prisma.AssetCommentScalarWhereInput | Prisma.AssetCommentScalarWhereInput[] -} - -export type AssetCommentCreateNestedManyWithoutAssetInput = { - create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutAssetInput[] | Prisma.AssetCommentUncheckedCreateWithoutAssetInput[] - connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutAssetInput | Prisma.AssetCommentCreateOrConnectWithoutAssetInput[] - createMany?: Prisma.AssetCommentCreateManyAssetInputEnvelope - connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] -} - -export type AssetCommentUncheckedCreateNestedManyWithoutAssetInput = { - create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutAssetInput[] | Prisma.AssetCommentUncheckedCreateWithoutAssetInput[] - connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutAssetInput | Prisma.AssetCommentCreateOrConnectWithoutAssetInput[] - createMany?: Prisma.AssetCommentCreateManyAssetInputEnvelope - connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] -} - -export type AssetCommentUpdateManyWithoutAssetNestedInput = { - create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutAssetInput[] | Prisma.AssetCommentUncheckedCreateWithoutAssetInput[] - connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutAssetInput | Prisma.AssetCommentCreateOrConnectWithoutAssetInput[] - upsert?: Prisma.AssetCommentUpsertWithWhereUniqueWithoutAssetInput | Prisma.AssetCommentUpsertWithWhereUniqueWithoutAssetInput[] - createMany?: Prisma.AssetCommentCreateManyAssetInputEnvelope - set?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - disconnect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - delete?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - update?: Prisma.AssetCommentUpdateWithWhereUniqueWithoutAssetInput | Prisma.AssetCommentUpdateWithWhereUniqueWithoutAssetInput[] - updateMany?: Prisma.AssetCommentUpdateManyWithWhereWithoutAssetInput | Prisma.AssetCommentUpdateManyWithWhereWithoutAssetInput[] - deleteMany?: Prisma.AssetCommentScalarWhereInput | Prisma.AssetCommentScalarWhereInput[] -} - -export type AssetCommentUncheckedUpdateManyWithoutAssetNestedInput = { - create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutAssetInput[] | Prisma.AssetCommentUncheckedCreateWithoutAssetInput[] - connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutAssetInput | Prisma.AssetCommentCreateOrConnectWithoutAssetInput[] - upsert?: Prisma.AssetCommentUpsertWithWhereUniqueWithoutAssetInput | Prisma.AssetCommentUpsertWithWhereUniqueWithoutAssetInput[] - createMany?: Prisma.AssetCommentCreateManyAssetInputEnvelope - set?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - disconnect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - delete?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - update?: Prisma.AssetCommentUpdateWithWhereUniqueWithoutAssetInput | Prisma.AssetCommentUpdateWithWhereUniqueWithoutAssetInput[] - updateMany?: Prisma.AssetCommentUpdateManyWithWhereWithoutAssetInput | Prisma.AssetCommentUpdateManyWithWhereWithoutAssetInput[] - deleteMany?: Prisma.AssetCommentScalarWhereInput | Prisma.AssetCommentScalarWhereInput[] -} - -export type AssetCommentCreateNestedOneWithoutRepliesInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutRepliesInput - connect?: Prisma.AssetCommentWhereUniqueInput -} - -export type AssetCommentCreateNestedManyWithoutReplyToInput = { - create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutReplyToInput[] | Prisma.AssetCommentUncheckedCreateWithoutReplyToInput[] - connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutReplyToInput | Prisma.AssetCommentCreateOrConnectWithoutReplyToInput[] - createMany?: Prisma.AssetCommentCreateManyReplyToInputEnvelope - connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] -} - -export type AssetCommentUncheckedCreateNestedManyWithoutReplyToInput = { - create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutReplyToInput[] | Prisma.AssetCommentUncheckedCreateWithoutReplyToInput[] - connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutReplyToInput | Prisma.AssetCommentCreateOrConnectWithoutReplyToInput[] - createMany?: Prisma.AssetCommentCreateManyReplyToInputEnvelope - connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] -} - -export type AssetCommentUpdateOneWithoutRepliesNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutRepliesInput - upsert?: Prisma.AssetCommentUpsertWithoutRepliesInput - disconnect?: Prisma.AssetCommentWhereInput | boolean - delete?: Prisma.AssetCommentWhereInput | boolean - connect?: Prisma.AssetCommentWhereUniqueInput - update?: Prisma.XOR, Prisma.AssetCommentUncheckedUpdateWithoutRepliesInput> -} - -export type AssetCommentUpdateManyWithoutReplyToNestedInput = { - create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutReplyToInput[] | Prisma.AssetCommentUncheckedCreateWithoutReplyToInput[] - connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutReplyToInput | Prisma.AssetCommentCreateOrConnectWithoutReplyToInput[] - upsert?: Prisma.AssetCommentUpsertWithWhereUniqueWithoutReplyToInput | Prisma.AssetCommentUpsertWithWhereUniqueWithoutReplyToInput[] - createMany?: Prisma.AssetCommentCreateManyReplyToInputEnvelope - set?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - disconnect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - delete?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - update?: Prisma.AssetCommentUpdateWithWhereUniqueWithoutReplyToInput | Prisma.AssetCommentUpdateWithWhereUniqueWithoutReplyToInput[] - updateMany?: Prisma.AssetCommentUpdateManyWithWhereWithoutReplyToInput | Prisma.AssetCommentUpdateManyWithWhereWithoutReplyToInput[] - deleteMany?: Prisma.AssetCommentScalarWhereInput | Prisma.AssetCommentScalarWhereInput[] -} - -export type AssetCommentUncheckedUpdateManyWithoutReplyToNestedInput = { - create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutReplyToInput[] | Prisma.AssetCommentUncheckedCreateWithoutReplyToInput[] - connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutReplyToInput | Prisma.AssetCommentCreateOrConnectWithoutReplyToInput[] - upsert?: Prisma.AssetCommentUpsertWithWhereUniqueWithoutReplyToInput | Prisma.AssetCommentUpsertWithWhereUniqueWithoutReplyToInput[] - createMany?: Prisma.AssetCommentCreateManyReplyToInputEnvelope - set?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - disconnect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - delete?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - update?: Prisma.AssetCommentUpdateWithWhereUniqueWithoutReplyToInput | Prisma.AssetCommentUpdateWithWhereUniqueWithoutReplyToInput[] - updateMany?: Prisma.AssetCommentUpdateManyWithWhereWithoutReplyToInput | Prisma.AssetCommentUpdateManyWithWhereWithoutReplyToInput[] - deleteMany?: Prisma.AssetCommentScalarWhereInput | Prisma.AssetCommentScalarWhereInput[] -} - -export type AssetCommentCreateNestedOneWithoutAttachmentsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutAttachmentsInput - connect?: Prisma.AssetCommentWhereUniqueInput -} - -export type AssetCommentUpdateOneRequiredWithoutAttachmentsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutAttachmentsInput - upsert?: Prisma.AssetCommentUpsertWithoutAttachmentsInput - connect?: Prisma.AssetCommentWhereUniqueInput - update?: Prisma.XOR, Prisma.AssetCommentUncheckedUpdateWithoutAttachmentsInput> -} - -export type AssetCommentCreateNestedManyWithoutSessionInput = { - create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutSessionInput[] | Prisma.AssetCommentUncheckedCreateWithoutSessionInput[] - connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutSessionInput | Prisma.AssetCommentCreateOrConnectWithoutSessionInput[] - createMany?: Prisma.AssetCommentCreateManySessionInputEnvelope - connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] -} - -export type AssetCommentUncheckedCreateNestedManyWithoutSessionInput = { - create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutSessionInput[] | Prisma.AssetCommentUncheckedCreateWithoutSessionInput[] - connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutSessionInput | Prisma.AssetCommentCreateOrConnectWithoutSessionInput[] - createMany?: Prisma.AssetCommentCreateManySessionInputEnvelope - connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] -} - -export type AssetCommentUpdateManyWithoutSessionNestedInput = { - create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutSessionInput[] | Prisma.AssetCommentUncheckedCreateWithoutSessionInput[] - connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutSessionInput | Prisma.AssetCommentCreateOrConnectWithoutSessionInput[] - upsert?: Prisma.AssetCommentUpsertWithWhereUniqueWithoutSessionInput | Prisma.AssetCommentUpsertWithWhereUniqueWithoutSessionInput[] - createMany?: Prisma.AssetCommentCreateManySessionInputEnvelope - set?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - disconnect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - delete?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - update?: Prisma.AssetCommentUpdateWithWhereUniqueWithoutSessionInput | Prisma.AssetCommentUpdateWithWhereUniqueWithoutSessionInput[] - updateMany?: Prisma.AssetCommentUpdateManyWithWhereWithoutSessionInput | Prisma.AssetCommentUpdateManyWithWhereWithoutSessionInput[] - deleteMany?: Prisma.AssetCommentScalarWhereInput | Prisma.AssetCommentScalarWhereInput[] -} - -export type AssetCommentUncheckedUpdateManyWithoutSessionNestedInput = { - create?: Prisma.XOR | Prisma.AssetCommentCreateWithoutSessionInput[] | Prisma.AssetCommentUncheckedCreateWithoutSessionInput[] - connectOrCreate?: Prisma.AssetCommentCreateOrConnectWithoutSessionInput | Prisma.AssetCommentCreateOrConnectWithoutSessionInput[] - upsert?: Prisma.AssetCommentUpsertWithWhereUniqueWithoutSessionInput | Prisma.AssetCommentUpsertWithWhereUniqueWithoutSessionInput[] - createMany?: Prisma.AssetCommentCreateManySessionInputEnvelope - set?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - disconnect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - delete?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - connect?: Prisma.AssetCommentWhereUniqueInput | Prisma.AssetCommentWhereUniqueInput[] - update?: Prisma.AssetCommentUpdateWithWhereUniqueWithoutSessionInput | Prisma.AssetCommentUpdateWithWhereUniqueWithoutSessionInput[] - updateMany?: Prisma.AssetCommentUpdateManyWithWhereWithoutSessionInput | Prisma.AssetCommentUpdateManyWithWhereWithoutSessionInput[] - deleteMany?: Prisma.AssetCommentScalarWhereInput | Prisma.AssetCommentScalarWhereInput[] -} - -export type AssetCommentCreateWithoutCreatorInput = { - id?: string - message?: string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: number | null - createdAt?: Date | string - updatedAt?: Date | string - session?: Prisma.AgentSessionCreateNestedOneWithoutCommentsInput - asset: Prisma.AssetCreateNestedOneWithoutCommentsInput - replyTo?: Prisma.AssetCommentCreateNestedOneWithoutRepliesInput - replies?: Prisma.AssetCommentCreateNestedManyWithoutReplyToInput - attachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutCommentInput -} - -export type AssetCommentUncheckedCreateWithoutCreatorInput = { - id?: string - message?: string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: number | null - sessionId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assetId: string - replyToId?: string | null - replies?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutReplyToInput - attachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutCommentInput -} - -export type AssetCommentCreateOrConnectWithoutCreatorInput = { - where: Prisma.AssetCommentWhereUniqueInput - create: Prisma.XOR -} - -export type AssetCommentCreateManyCreatorInputEnvelope = { - data: Prisma.AssetCommentCreateManyCreatorInput | Prisma.AssetCommentCreateManyCreatorInput[] - skipDuplicates?: boolean -} - -export type AssetCommentUpsertWithWhereUniqueWithoutCreatorInput = { - where: Prisma.AssetCommentWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type AssetCommentUpdateWithWhereUniqueWithoutCreatorInput = { - where: Prisma.AssetCommentWhereUniqueInput - data: Prisma.XOR -} - -export type AssetCommentUpdateManyWithWhereWithoutCreatorInput = { - where: Prisma.AssetCommentScalarWhereInput - data: Prisma.XOR -} - -export type AssetCommentScalarWhereInput = { - AND?: Prisma.AssetCommentScalarWhereInput | Prisma.AssetCommentScalarWhereInput[] - OR?: Prisma.AssetCommentScalarWhereInput[] - NOT?: Prisma.AssetCommentScalarWhereInput | Prisma.AssetCommentScalarWhereInput[] - id?: Prisma.StringFilter<"AssetComment"> | string - message?: Prisma.StringNullableFilter<"AssetComment"> | string | null - annotation?: Prisma.JsonNullableFilter<"AssetComment"> - second?: Prisma.FloatNullableFilter<"AssetComment"> | number | null - sessionId?: Prisma.StringNullableFilter<"AssetComment"> | string | null - createdAt?: Prisma.DateTimeFilter<"AssetComment"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"AssetComment"> | Date | string - assetId?: Prisma.StringFilter<"AssetComment"> | string - creatorId?: Prisma.StringNullableFilter<"AssetComment"> | string | null - replyToId?: Prisma.StringNullableFilter<"AssetComment"> | string | null -} - -export type AssetCommentCreateWithoutAssetInput = { - id?: string - message?: string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: number | null - createdAt?: Date | string - updatedAt?: Date | string - session?: Prisma.AgentSessionCreateNestedOneWithoutCommentsInput - creator?: Prisma.UserCreateNestedOneWithoutCommentsInput - replyTo?: Prisma.AssetCommentCreateNestedOneWithoutRepliesInput - replies?: Prisma.AssetCommentCreateNestedManyWithoutReplyToInput - attachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutCommentInput -} - -export type AssetCommentUncheckedCreateWithoutAssetInput = { - id?: string - message?: string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: number | null - sessionId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - creatorId?: string | null - replyToId?: string | null - replies?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutReplyToInput - attachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutCommentInput -} - -export type AssetCommentCreateOrConnectWithoutAssetInput = { - where: Prisma.AssetCommentWhereUniqueInput - create: Prisma.XOR -} - -export type AssetCommentCreateManyAssetInputEnvelope = { - data: Prisma.AssetCommentCreateManyAssetInput | Prisma.AssetCommentCreateManyAssetInput[] - skipDuplicates?: boolean -} - -export type AssetCommentUpsertWithWhereUniqueWithoutAssetInput = { - where: Prisma.AssetCommentWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type AssetCommentUpdateWithWhereUniqueWithoutAssetInput = { - where: Prisma.AssetCommentWhereUniqueInput - data: Prisma.XOR -} - -export type AssetCommentUpdateManyWithWhereWithoutAssetInput = { - where: Prisma.AssetCommentScalarWhereInput - data: Prisma.XOR -} - -export type AssetCommentCreateWithoutRepliesInput = { - id?: string - message?: string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: number | null - createdAt?: Date | string - updatedAt?: Date | string - session?: Prisma.AgentSessionCreateNestedOneWithoutCommentsInput - asset: Prisma.AssetCreateNestedOneWithoutCommentsInput - creator?: Prisma.UserCreateNestedOneWithoutCommentsInput - replyTo?: Prisma.AssetCommentCreateNestedOneWithoutRepliesInput - attachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutCommentInput -} - -export type AssetCommentUncheckedCreateWithoutRepliesInput = { - id?: string - message?: string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: number | null - sessionId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assetId: string - creatorId?: string | null - replyToId?: string | null - attachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutCommentInput -} - -export type AssetCommentCreateOrConnectWithoutRepliesInput = { - where: Prisma.AssetCommentWhereUniqueInput - create: Prisma.XOR -} - -export type AssetCommentCreateWithoutReplyToInput = { - id?: string - message?: string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: number | null - createdAt?: Date | string - updatedAt?: Date | string - session?: Prisma.AgentSessionCreateNestedOneWithoutCommentsInput - asset: Prisma.AssetCreateNestedOneWithoutCommentsInput - creator?: Prisma.UserCreateNestedOneWithoutCommentsInput - replies?: Prisma.AssetCommentCreateNestedManyWithoutReplyToInput - attachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutCommentInput -} - -export type AssetCommentUncheckedCreateWithoutReplyToInput = { - id?: string - message?: string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: number | null - sessionId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assetId: string - creatorId?: string | null - replies?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutReplyToInput - attachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutCommentInput -} - -export type AssetCommentCreateOrConnectWithoutReplyToInput = { - where: Prisma.AssetCommentWhereUniqueInput - create: Prisma.XOR -} - -export type AssetCommentCreateManyReplyToInputEnvelope = { - data: Prisma.AssetCommentCreateManyReplyToInput | Prisma.AssetCommentCreateManyReplyToInput[] - skipDuplicates?: boolean -} - -export type AssetCommentUpsertWithoutRepliesInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.AssetCommentWhereInput -} - -export type AssetCommentUpdateToOneWithWhereWithoutRepliesInput = { - where?: Prisma.AssetCommentWhereInput - data: Prisma.XOR -} - -export type AssetCommentUpdateWithoutRepliesInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - session?: Prisma.AgentSessionUpdateOneWithoutCommentsNestedInput - asset?: Prisma.AssetUpdateOneRequiredWithoutCommentsNestedInput - creator?: Prisma.UserUpdateOneWithoutCommentsNestedInput - replyTo?: Prisma.AssetCommentUpdateOneWithoutRepliesNestedInput - attachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutCommentNestedInput -} - -export type AssetCommentUncheckedUpdateWithoutRepliesInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assetId?: Prisma.StringFieldUpdateOperationsInput | string - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - replyToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - attachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutCommentNestedInput -} - -export type AssetCommentUpsertWithWhereUniqueWithoutReplyToInput = { - where: Prisma.AssetCommentWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type AssetCommentUpdateWithWhereUniqueWithoutReplyToInput = { - where: Prisma.AssetCommentWhereUniqueInput - data: Prisma.XOR -} - -export type AssetCommentUpdateManyWithWhereWithoutReplyToInput = { - where: Prisma.AssetCommentScalarWhereInput - data: Prisma.XOR -} - -export type AssetCommentCreateWithoutAttachmentsInput = { - id?: string - message?: string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: number | null - createdAt?: Date | string - updatedAt?: Date | string - session?: Prisma.AgentSessionCreateNestedOneWithoutCommentsInput - asset: Prisma.AssetCreateNestedOneWithoutCommentsInput - creator?: Prisma.UserCreateNestedOneWithoutCommentsInput - replyTo?: Prisma.AssetCommentCreateNestedOneWithoutRepliesInput - replies?: Prisma.AssetCommentCreateNestedManyWithoutReplyToInput -} - -export type AssetCommentUncheckedCreateWithoutAttachmentsInput = { - id?: string - message?: string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: number | null - sessionId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assetId: string - creatorId?: string | null - replyToId?: string | null - replies?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutReplyToInput -} - -export type AssetCommentCreateOrConnectWithoutAttachmentsInput = { - where: Prisma.AssetCommentWhereUniqueInput - create: Prisma.XOR -} - -export type AssetCommentUpsertWithoutAttachmentsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.AssetCommentWhereInput -} - -export type AssetCommentUpdateToOneWithWhereWithoutAttachmentsInput = { - where?: Prisma.AssetCommentWhereInput - data: Prisma.XOR -} - -export type AssetCommentUpdateWithoutAttachmentsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - session?: Prisma.AgentSessionUpdateOneWithoutCommentsNestedInput - asset?: Prisma.AssetUpdateOneRequiredWithoutCommentsNestedInput - creator?: Prisma.UserUpdateOneWithoutCommentsNestedInput - replyTo?: Prisma.AssetCommentUpdateOneWithoutRepliesNestedInput - replies?: Prisma.AssetCommentUpdateManyWithoutReplyToNestedInput -} - -export type AssetCommentUncheckedUpdateWithoutAttachmentsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assetId?: Prisma.StringFieldUpdateOperationsInput | string - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - replyToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - replies?: Prisma.AssetCommentUncheckedUpdateManyWithoutReplyToNestedInput -} - -export type AssetCommentCreateWithoutSessionInput = { - id?: string - message?: string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: number | null - createdAt?: Date | string - updatedAt?: Date | string - asset: Prisma.AssetCreateNestedOneWithoutCommentsInput - creator?: Prisma.UserCreateNestedOneWithoutCommentsInput - replyTo?: Prisma.AssetCommentCreateNestedOneWithoutRepliesInput - replies?: Prisma.AssetCommentCreateNestedManyWithoutReplyToInput - attachments?: Prisma.AssetCommentAttachmentCreateNestedManyWithoutCommentInput -} - -export type AssetCommentUncheckedCreateWithoutSessionInput = { - id?: string - message?: string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: number | null - createdAt?: Date | string - updatedAt?: Date | string - assetId: string - creatorId?: string | null - replyToId?: string | null - replies?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutReplyToInput - attachments?: Prisma.AssetCommentAttachmentUncheckedCreateNestedManyWithoutCommentInput -} - -export type AssetCommentCreateOrConnectWithoutSessionInput = { - where: Prisma.AssetCommentWhereUniqueInput - create: Prisma.XOR -} - -export type AssetCommentCreateManySessionInputEnvelope = { - data: Prisma.AssetCommentCreateManySessionInput | Prisma.AssetCommentCreateManySessionInput[] - skipDuplicates?: boolean -} - -export type AssetCommentUpsertWithWhereUniqueWithoutSessionInput = { - where: Prisma.AssetCommentWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type AssetCommentUpdateWithWhereUniqueWithoutSessionInput = { - where: Prisma.AssetCommentWhereUniqueInput - data: Prisma.XOR -} - -export type AssetCommentUpdateManyWithWhereWithoutSessionInput = { - where: Prisma.AssetCommentScalarWhereInput - data: Prisma.XOR -} - -export type AssetCommentCreateManyCreatorInput = { - id?: string - message?: string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: number | null - sessionId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assetId: string - replyToId?: string | null -} - -export type AssetCommentUpdateWithoutCreatorInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - session?: Prisma.AgentSessionUpdateOneWithoutCommentsNestedInput - asset?: Prisma.AssetUpdateOneRequiredWithoutCommentsNestedInput - replyTo?: Prisma.AssetCommentUpdateOneWithoutRepliesNestedInput - replies?: Prisma.AssetCommentUpdateManyWithoutReplyToNestedInput - attachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutCommentNestedInput -} - -export type AssetCommentUncheckedUpdateWithoutCreatorInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assetId?: Prisma.StringFieldUpdateOperationsInput | string - replyToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - replies?: Prisma.AssetCommentUncheckedUpdateManyWithoutReplyToNestedInput - attachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutCommentNestedInput -} - -export type AssetCommentUncheckedUpdateManyWithoutCreatorInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assetId?: Prisma.StringFieldUpdateOperationsInput | string - replyToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type AssetCommentCreateManyAssetInput = { - id?: string - message?: string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: number | null - sessionId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - creatorId?: string | null - replyToId?: string | null -} - -export type AssetCommentUpdateWithoutAssetInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - session?: Prisma.AgentSessionUpdateOneWithoutCommentsNestedInput - creator?: Prisma.UserUpdateOneWithoutCommentsNestedInput - replyTo?: Prisma.AssetCommentUpdateOneWithoutRepliesNestedInput - replies?: Prisma.AssetCommentUpdateManyWithoutReplyToNestedInput - attachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutCommentNestedInput -} - -export type AssetCommentUncheckedUpdateWithoutAssetInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - replyToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - replies?: Prisma.AssetCommentUncheckedUpdateManyWithoutReplyToNestedInput - attachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutCommentNestedInput -} - -export type AssetCommentUncheckedUpdateManyWithoutAssetInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - replyToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type AssetCommentCreateManyReplyToInput = { - id?: string - message?: string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: number | null - sessionId?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assetId: string - creatorId?: string | null -} - -export type AssetCommentUpdateWithoutReplyToInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - session?: Prisma.AgentSessionUpdateOneWithoutCommentsNestedInput - asset?: Prisma.AssetUpdateOneRequiredWithoutCommentsNestedInput - creator?: Prisma.UserUpdateOneWithoutCommentsNestedInput - replies?: Prisma.AssetCommentUpdateManyWithoutReplyToNestedInput - attachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutCommentNestedInput -} - -export type AssetCommentUncheckedUpdateWithoutReplyToInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assetId?: Prisma.StringFieldUpdateOperationsInput | string - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - replies?: Prisma.AssetCommentUncheckedUpdateManyWithoutReplyToNestedInput - attachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutCommentNestedInput -} - -export type AssetCommentUncheckedUpdateManyWithoutReplyToInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assetId?: Prisma.StringFieldUpdateOperationsInput | string - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type AssetCommentCreateManySessionInput = { - id?: string - message?: string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: number | null - createdAt?: Date | string - updatedAt?: Date | string - assetId: string - creatorId?: string | null - replyToId?: string | null -} - -export type AssetCommentUpdateWithoutSessionInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - asset?: Prisma.AssetUpdateOneRequiredWithoutCommentsNestedInput - creator?: Prisma.UserUpdateOneWithoutCommentsNestedInput - replyTo?: Prisma.AssetCommentUpdateOneWithoutRepliesNestedInput - replies?: Prisma.AssetCommentUpdateManyWithoutReplyToNestedInput - attachments?: Prisma.AssetCommentAttachmentUpdateManyWithoutCommentNestedInput -} - -export type AssetCommentUncheckedUpdateWithoutSessionInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assetId?: Prisma.StringFieldUpdateOperationsInput | string - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - replyToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - replies?: Prisma.AssetCommentUncheckedUpdateManyWithoutReplyToNestedInput - attachments?: Prisma.AssetCommentAttachmentUncheckedUpdateManyWithoutCommentNestedInput -} - -export type AssetCommentUncheckedUpdateManyWithoutSessionInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - message?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - annotation?:PrismaJson.AnnotationList | Prisma.NullableJsonNullValueInput - second?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assetId?: Prisma.StringFieldUpdateOperationsInput | string - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - replyToId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - - -/** - * Count Type AssetCommentCountOutputType - */ - -export type AssetCommentCountOutputType = { - replies: number - attachments: number -} - -export type AssetCommentCountOutputTypeSelect = { - replies?: boolean | AssetCommentCountOutputTypeCountRepliesArgs - attachments?: boolean | AssetCommentCountOutputTypeCountAttachmentsArgs -} - -/** - * AssetCommentCountOutputType without action - */ -export type AssetCommentCountOutputTypeDefaultArgs = { - /** - * Select specific fields to fetch from the AssetCommentCountOutputType - */ - select?: Prisma.AssetCommentCountOutputTypeSelect | null -} - -/** - * AssetCommentCountOutputType without action - */ -export type AssetCommentCountOutputTypeCountRepliesArgs = { - where?: Prisma.AssetCommentWhereInput -} - -/** - * AssetCommentCountOutputType without action - */ -export type AssetCommentCountOutputTypeCountAttachmentsArgs = { - where?: Prisma.AssetCommentAttachmentWhereInput -} - - -export type AssetCommentSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - message?: boolean - annotation?: boolean - second?: boolean - sessionId?: boolean - createdAt?: boolean - updatedAt?: boolean - assetId?: boolean - creatorId?: boolean - replyToId?: boolean - session?: boolean | Prisma.AssetComment$sessionArgs - asset?: boolean | Prisma.AssetDefaultArgs - creator?: boolean | Prisma.AssetComment$creatorArgs - replyTo?: boolean | Prisma.AssetComment$replyToArgs - replies?: boolean | Prisma.AssetComment$repliesArgs - attachments?: boolean | Prisma.AssetComment$attachmentsArgs - _count?: boolean | Prisma.AssetCommentCountOutputTypeDefaultArgs -}, ExtArgs["result"]["assetComment"]> - -export type AssetCommentSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - message?: boolean - annotation?: boolean - second?: boolean - sessionId?: boolean - createdAt?: boolean - updatedAt?: boolean - assetId?: boolean - creatorId?: boolean - replyToId?: boolean - session?: boolean | Prisma.AssetComment$sessionArgs - asset?: boolean | Prisma.AssetDefaultArgs - creator?: boolean | Prisma.AssetComment$creatorArgs - replyTo?: boolean | Prisma.AssetComment$replyToArgs -}, ExtArgs["result"]["assetComment"]> - -export type AssetCommentSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - message?: boolean - annotation?: boolean - second?: boolean - sessionId?: boolean - createdAt?: boolean - updatedAt?: boolean - assetId?: boolean - creatorId?: boolean - replyToId?: boolean - session?: boolean | Prisma.AssetComment$sessionArgs - asset?: boolean | Prisma.AssetDefaultArgs - creator?: boolean | Prisma.AssetComment$creatorArgs - replyTo?: boolean | Prisma.AssetComment$replyToArgs -}, ExtArgs["result"]["assetComment"]> - -export type AssetCommentSelectScalar = { - id?: boolean - message?: boolean - annotation?: boolean - second?: boolean - sessionId?: boolean - createdAt?: boolean - updatedAt?: boolean - assetId?: boolean - creatorId?: boolean - replyToId?: boolean -} - -export type AssetCommentOmit = runtime.Types.Extensions.GetOmit<"id" | "message" | "annotation" | "second" | "sessionId" | "createdAt" | "updatedAt" | "assetId" | "creatorId" | "replyToId", ExtArgs["result"]["assetComment"]> -export type AssetCommentInclude = { - session?: boolean | Prisma.AssetComment$sessionArgs - asset?: boolean | Prisma.AssetDefaultArgs - creator?: boolean | Prisma.AssetComment$creatorArgs - replyTo?: boolean | Prisma.AssetComment$replyToArgs - replies?: boolean | Prisma.AssetComment$repliesArgs - attachments?: boolean | Prisma.AssetComment$attachmentsArgs - _count?: boolean | Prisma.AssetCommentCountOutputTypeDefaultArgs -} -export type AssetCommentIncludeCreateManyAndReturn = { - session?: boolean | Prisma.AssetComment$sessionArgs - asset?: boolean | Prisma.AssetDefaultArgs - creator?: boolean | Prisma.AssetComment$creatorArgs - replyTo?: boolean | Prisma.AssetComment$replyToArgs -} -export type AssetCommentIncludeUpdateManyAndReturn = { - session?: boolean | Prisma.AssetComment$sessionArgs - asset?: boolean | Prisma.AssetDefaultArgs - creator?: boolean | Prisma.AssetComment$creatorArgs - replyTo?: boolean | Prisma.AssetComment$replyToArgs -} - -export type $AssetCommentPayload = { - name: "AssetComment" - objects: { - session: Prisma.$AgentSessionPayload | null - asset: Prisma.$AssetPayload - creator: Prisma.$UserPayload | null - replyTo: Prisma.$AssetCommentPayload | null - replies: Prisma.$AssetCommentPayload[] - attachments: Prisma.$AssetCommentAttachmentPayload[] - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - message: string | null - /** - * [AnnotationList] - */ - annotation:PrismaJson.AnnotationList | null - second: number | null - sessionId: string | null - createdAt: Date - updatedAt: Date - assetId: string - creatorId: string | null - replyToId: string | null - }, ExtArgs["result"]["assetComment"]> - composites: {} -} - -export type AssetCommentGetPayload = runtime.Types.Result.GetResult - -export type AssetCommentCountArgs = - Omit & { - select?: AssetCommentCountAggregateInputType | true - } - -export interface AssetCommentDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['AssetComment'], meta: { name: 'AssetComment' } } - /** - * Find zero or one AssetComment that matches the filter. - * @param {AssetCommentFindUniqueArgs} args - Arguments to find a AssetComment - * @example - * // Get one AssetComment - * const assetComment = await prisma.assetComment.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one AssetComment that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {AssetCommentFindUniqueOrThrowArgs} args - Arguments to find a AssetComment - * @example - * // Get one AssetComment - * const assetComment = await prisma.assetComment.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first AssetComment that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetCommentFindFirstArgs} args - Arguments to find a AssetComment - * @example - * // Get one AssetComment - * const assetComment = await prisma.assetComment.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first AssetComment that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetCommentFindFirstOrThrowArgs} args - Arguments to find a AssetComment - * @example - * // Get one AssetComment - * const assetComment = await prisma.assetComment.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more AssetComments that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetCommentFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all AssetComments - * const assetComments = await prisma.assetComment.findMany() - * - * // Get first 10 AssetComments - * const assetComments = await prisma.assetComment.findMany({ take: 10 }) - * - * // Only select the `id` - * const assetCommentWithIdOnly = await prisma.assetComment.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a AssetComment. - * @param {AssetCommentCreateArgs} args - Arguments to create a AssetComment. - * @example - * // Create one AssetComment - * const AssetComment = await prisma.assetComment.create({ - * data: { - * // ... data to create a AssetComment - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many AssetComments. - * @param {AssetCommentCreateManyArgs} args - Arguments to create many AssetComments. - * @example - * // Create many AssetComments - * const assetComment = await prisma.assetComment.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many AssetComments and returns the data saved in the database. - * @param {AssetCommentCreateManyAndReturnArgs} args - Arguments to create many AssetComments. - * @example - * // Create many AssetComments - * const assetComment = await prisma.assetComment.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many AssetComments and only return the `id` - * const assetCommentWithIdOnly = await prisma.assetComment.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a AssetComment. - * @param {AssetCommentDeleteArgs} args - Arguments to delete one AssetComment. - * @example - * // Delete one AssetComment - * const AssetComment = await prisma.assetComment.delete({ - * where: { - * // ... filter to delete one AssetComment - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one AssetComment. - * @param {AssetCommentUpdateArgs} args - Arguments to update one AssetComment. - * @example - * // Update one AssetComment - * const assetComment = await prisma.assetComment.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more AssetComments. - * @param {AssetCommentDeleteManyArgs} args - Arguments to filter AssetComments to delete. - * @example - * // Delete a few AssetComments - * const { count } = await prisma.assetComment.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more AssetComments. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetCommentUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many AssetComments - * const assetComment = await prisma.assetComment.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more AssetComments and returns the data updated in the database. - * @param {AssetCommentUpdateManyAndReturnArgs} args - Arguments to update many AssetComments. - * @example - * // Update many AssetComments - * const assetComment = await prisma.assetComment.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more AssetComments and only return the `id` - * const assetCommentWithIdOnly = await prisma.assetComment.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one AssetComment. - * @param {AssetCommentUpsertArgs} args - Arguments to update or create a AssetComment. - * @example - * // Update or create a AssetComment - * const assetComment = await prisma.assetComment.upsert({ - * create: { - * // ... data to create a AssetComment - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the AssetComment we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of AssetComments. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetCommentCountArgs} args - Arguments to filter AssetComments to count. - * @example - * // Count the number of AssetComments - * const count = await prisma.assetComment.count({ - * where: { - * // ... the filter for the AssetComments we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a AssetComment. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetCommentAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by AssetComment. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetCommentGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends AssetCommentGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: AssetCommentGroupByArgs['orderBy'] } - : { orderBy?: AssetCommentGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetAssetCommentGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the AssetComment model - */ -readonly fields: AssetCommentFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for AssetComment. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__AssetCommentClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - session = {}>(args?: Prisma.Subset>): Prisma.Prisma__AgentSessionClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - asset = {}>(args?: Prisma.Subset>): Prisma.Prisma__AssetClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - creator = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - replyTo = {}>(args?: Prisma.Subset>): Prisma.Prisma__AssetCommentClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - replies = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - attachments = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the AssetComment model - */ -export interface AssetCommentFieldRefs { - readonly id: Prisma.FieldRef<"AssetComment", 'String'> - readonly message: Prisma.FieldRef<"AssetComment", 'String'> - readonly annotation: Prisma.FieldRef<"AssetComment", 'Json'> - readonly second: Prisma.FieldRef<"AssetComment", 'Float'> - readonly sessionId: Prisma.FieldRef<"AssetComment", 'String'> - readonly createdAt: Prisma.FieldRef<"AssetComment", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"AssetComment", 'DateTime'> - readonly assetId: Prisma.FieldRef<"AssetComment", 'String'> - readonly creatorId: Prisma.FieldRef<"AssetComment", 'String'> - readonly replyToId: Prisma.FieldRef<"AssetComment", 'String'> -} - - -// Custom InputTypes -/** - * AssetComment findUnique - */ -export type AssetCommentFindUniqueArgs = { - /** - * Select specific fields to fetch from the AssetComment - */ - select?: Prisma.AssetCommentSelect | null - /** - * Omit specific fields from the AssetComment - */ - omit?: Prisma.AssetCommentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentInclude | null - /** - * Filter, which AssetComment to fetch. - */ - where: Prisma.AssetCommentWhereUniqueInput -} - -/** - * AssetComment findUniqueOrThrow - */ -export type AssetCommentFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the AssetComment - */ - select?: Prisma.AssetCommentSelect | null - /** - * Omit specific fields from the AssetComment - */ - omit?: Prisma.AssetCommentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentInclude | null - /** - * Filter, which AssetComment to fetch. - */ - where: Prisma.AssetCommentWhereUniqueInput -} - -/** - * AssetComment findFirst - */ -export type AssetCommentFindFirstArgs = { - /** - * Select specific fields to fetch from the AssetComment - */ - select?: Prisma.AssetCommentSelect | null - /** - * Omit specific fields from the AssetComment - */ - omit?: Prisma.AssetCommentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentInclude | null - /** - * Filter, which AssetComment to fetch. - */ - where?: Prisma.AssetCommentWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AssetComments to fetch. - */ - orderBy?: Prisma.AssetCommentOrderByWithRelationInput | Prisma.AssetCommentOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for AssetComments. - */ - cursor?: Prisma.AssetCommentWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AssetComments from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AssetComments. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of AssetComments. - */ - distinct?: Prisma.AssetCommentScalarFieldEnum | Prisma.AssetCommentScalarFieldEnum[] -} - -/** - * AssetComment findFirstOrThrow - */ -export type AssetCommentFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the AssetComment - */ - select?: Prisma.AssetCommentSelect | null - /** - * Omit specific fields from the AssetComment - */ - omit?: Prisma.AssetCommentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentInclude | null - /** - * Filter, which AssetComment to fetch. - */ - where?: Prisma.AssetCommentWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AssetComments to fetch. - */ - orderBy?: Prisma.AssetCommentOrderByWithRelationInput | Prisma.AssetCommentOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for AssetComments. - */ - cursor?: Prisma.AssetCommentWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AssetComments from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AssetComments. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of AssetComments. - */ - distinct?: Prisma.AssetCommentScalarFieldEnum | Prisma.AssetCommentScalarFieldEnum[] -} - -/** - * AssetComment findMany - */ -export type AssetCommentFindManyArgs = { - /** - * Select specific fields to fetch from the AssetComment - */ - select?: Prisma.AssetCommentSelect | null - /** - * Omit specific fields from the AssetComment - */ - omit?: Prisma.AssetCommentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentInclude | null - /** - * Filter, which AssetComments to fetch. - */ - where?: Prisma.AssetCommentWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AssetComments to fetch. - */ - orderBy?: Prisma.AssetCommentOrderByWithRelationInput | Prisma.AssetCommentOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing AssetComments. - */ - cursor?: Prisma.AssetCommentWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AssetComments from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AssetComments. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of AssetComments. - */ - distinct?: Prisma.AssetCommentScalarFieldEnum | Prisma.AssetCommentScalarFieldEnum[] -} - -/** - * AssetComment create - */ -export type AssetCommentCreateArgs = { - /** - * Select specific fields to fetch from the AssetComment - */ - select?: Prisma.AssetCommentSelect | null - /** - * Omit specific fields from the AssetComment - */ - omit?: Prisma.AssetCommentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentInclude | null - /** - * The data needed to create a AssetComment. - */ - data: Prisma.XOR -} - -/** - * AssetComment createMany - */ -export type AssetCommentCreateManyArgs = { - /** - * The data used to create many AssetComments. - */ - data: Prisma.AssetCommentCreateManyInput | Prisma.AssetCommentCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * AssetComment createManyAndReturn - */ -export type AssetCommentCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the AssetComment - */ - select?: Prisma.AssetCommentSelectCreateManyAndReturn | null - /** - * Omit specific fields from the AssetComment - */ - omit?: Prisma.AssetCommentOmit | null - /** - * The data used to create many AssetComments. - */ - data: Prisma.AssetCommentCreateManyInput | Prisma.AssetCommentCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentIncludeCreateManyAndReturn | null -} - -/** - * AssetComment update - */ -export type AssetCommentUpdateArgs = { - /** - * Select specific fields to fetch from the AssetComment - */ - select?: Prisma.AssetCommentSelect | null - /** - * Omit specific fields from the AssetComment - */ - omit?: Prisma.AssetCommentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentInclude | null - /** - * The data needed to update a AssetComment. - */ - data: Prisma.XOR - /** - * Choose, which AssetComment to update. - */ - where: Prisma.AssetCommentWhereUniqueInput -} - -/** - * AssetComment updateMany - */ -export type AssetCommentUpdateManyArgs = { - /** - * The data used to update AssetComments. - */ - data: Prisma.XOR - /** - * Filter which AssetComments to update - */ - where?: Prisma.AssetCommentWhereInput - /** - * Limit how many AssetComments to update. - */ - limit?: number -} - -/** - * AssetComment updateManyAndReturn - */ -export type AssetCommentUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the AssetComment - */ - select?: Prisma.AssetCommentSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the AssetComment - */ - omit?: Prisma.AssetCommentOmit | null - /** - * The data used to update AssetComments. - */ - data: Prisma.XOR - /** - * Filter which AssetComments to update - */ - where?: Prisma.AssetCommentWhereInput - /** - * Limit how many AssetComments to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentIncludeUpdateManyAndReturn | null -} - -/** - * AssetComment upsert - */ -export type AssetCommentUpsertArgs = { - /** - * Select specific fields to fetch from the AssetComment - */ - select?: Prisma.AssetCommentSelect | null - /** - * Omit specific fields from the AssetComment - */ - omit?: Prisma.AssetCommentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentInclude | null - /** - * The filter to search for the AssetComment to update in case it exists. - */ - where: Prisma.AssetCommentWhereUniqueInput - /** - * In case the AssetComment found by the `where` argument doesn't exist, create a new AssetComment with this data. - */ - create: Prisma.XOR - /** - * In case the AssetComment was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * AssetComment delete - */ -export type AssetCommentDeleteArgs = { - /** - * Select specific fields to fetch from the AssetComment - */ - select?: Prisma.AssetCommentSelect | null - /** - * Omit specific fields from the AssetComment - */ - omit?: Prisma.AssetCommentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentInclude | null - /** - * Filter which AssetComment to delete. - */ - where: Prisma.AssetCommentWhereUniqueInput -} - -/** - * AssetComment deleteMany - */ -export type AssetCommentDeleteManyArgs = { - /** - * Filter which AssetComments to delete - */ - where?: Prisma.AssetCommentWhereInput - /** - * Limit how many AssetComments to delete. - */ - limit?: number -} - -/** - * AssetComment.session - */ -export type AssetComment$sessionArgs = { - /** - * Select specific fields to fetch from the AgentSession - */ - select?: Prisma.AgentSessionSelect | null - /** - * Omit specific fields from the AgentSession - */ - omit?: Prisma.AgentSessionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionInclude | null - where?: Prisma.AgentSessionWhereInput -} - -/** - * AssetComment.creator - */ -export type AssetComment$creatorArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null - where?: Prisma.UserWhereInput -} - -/** - * AssetComment.replyTo - */ -export type AssetComment$replyToArgs = { - /** - * Select specific fields to fetch from the AssetComment - */ - select?: Prisma.AssetCommentSelect | null - /** - * Omit specific fields from the AssetComment - */ - omit?: Prisma.AssetCommentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentInclude | null - where?: Prisma.AssetCommentWhereInput -} - -/** - * AssetComment.replies - */ -export type AssetComment$repliesArgs = { - /** - * Select specific fields to fetch from the AssetComment - */ - select?: Prisma.AssetCommentSelect | null - /** - * Omit specific fields from the AssetComment - */ - omit?: Prisma.AssetCommentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentInclude | null - where?: Prisma.AssetCommentWhereInput - orderBy?: Prisma.AssetCommentOrderByWithRelationInput | Prisma.AssetCommentOrderByWithRelationInput[] - cursor?: Prisma.AssetCommentWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.AssetCommentScalarFieldEnum | Prisma.AssetCommentScalarFieldEnum[] -} - -/** - * AssetComment.attachments - */ -export type AssetComment$attachmentsArgs = { - /** - * Select specific fields to fetch from the AssetCommentAttachment - */ - select?: Prisma.AssetCommentAttachmentSelect | null - /** - * Omit specific fields from the AssetCommentAttachment - */ - omit?: Prisma.AssetCommentAttachmentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentAttachmentInclude | null - where?: Prisma.AssetCommentAttachmentWhereInput - orderBy?: Prisma.AssetCommentAttachmentOrderByWithRelationInput | Prisma.AssetCommentAttachmentOrderByWithRelationInput[] - cursor?: Prisma.AssetCommentAttachmentWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.AssetCommentAttachmentScalarFieldEnum | Prisma.AssetCommentAttachmentScalarFieldEnum[] -} - -/** - * AssetComment without action - */ -export type AssetCommentDefaultArgs = { - /** - * Select specific fields to fetch from the AssetComment - */ - select?: Prisma.AssetCommentSelect | null - /** - * Omit specific fields from the AssetComment - */ - omit?: Prisma.AssetCommentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentInclude | null -} diff --git a/src/generated/prisma/models/AssetCommentAttachment.ts b/src/generated/prisma/models/AssetCommentAttachment.ts deleted file mode 100644 index c28cb234..00000000 --- a/src/generated/prisma/models/AssetCommentAttachment.ts +++ /dev/null @@ -1,1467 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `AssetCommentAttachment` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model AssetCommentAttachment - * - */ -export type AssetCommentAttachmentModel = runtime.Types.Result.DefaultSelection - -export type AggregateAssetCommentAttachment = { - _count: AssetCommentAttachmentCountAggregateOutputType | null - _min: AssetCommentAttachmentMinAggregateOutputType | null - _max: AssetCommentAttachmentMaxAggregateOutputType | null -} - -export type AssetCommentAttachmentMinAggregateOutputType = { - id: string | null - createdAt: Date | null - updatedAt: Date | null - commentId: string | null - assetId: string | null -} - -export type AssetCommentAttachmentMaxAggregateOutputType = { - id: string | null - createdAt: Date | null - updatedAt: Date | null - commentId: string | null - assetId: string | null -} - -export type AssetCommentAttachmentCountAggregateOutputType = { - id: number - createdAt: number - updatedAt: number - commentId: number - assetId: number - _all: number -} - - -export type AssetCommentAttachmentMinAggregateInputType = { - id?: true - createdAt?: true - updatedAt?: true - commentId?: true - assetId?: true -} - -export type AssetCommentAttachmentMaxAggregateInputType = { - id?: true - createdAt?: true - updatedAt?: true - commentId?: true - assetId?: true -} - -export type AssetCommentAttachmentCountAggregateInputType = { - id?: true - createdAt?: true - updatedAt?: true - commentId?: true - assetId?: true - _all?: true -} - -export type AssetCommentAttachmentAggregateArgs = { - /** - * Filter which AssetCommentAttachment to aggregate. - */ - where?: Prisma.AssetCommentAttachmentWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AssetCommentAttachments to fetch. - */ - orderBy?: Prisma.AssetCommentAttachmentOrderByWithRelationInput | Prisma.AssetCommentAttachmentOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.AssetCommentAttachmentWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AssetCommentAttachments from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AssetCommentAttachments. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned AssetCommentAttachments - **/ - _count?: true | AssetCommentAttachmentCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: AssetCommentAttachmentMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: AssetCommentAttachmentMaxAggregateInputType -} - -export type GetAssetCommentAttachmentAggregateType = { - [P in keyof T & keyof AggregateAssetCommentAttachment]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type AssetCommentAttachmentGroupByArgs = { - where?: Prisma.AssetCommentAttachmentWhereInput - orderBy?: Prisma.AssetCommentAttachmentOrderByWithAggregationInput | Prisma.AssetCommentAttachmentOrderByWithAggregationInput[] - by: Prisma.AssetCommentAttachmentScalarFieldEnum[] | Prisma.AssetCommentAttachmentScalarFieldEnum - having?: Prisma.AssetCommentAttachmentScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: AssetCommentAttachmentCountAggregateInputType | true - _min?: AssetCommentAttachmentMinAggregateInputType - _max?: AssetCommentAttachmentMaxAggregateInputType -} - -export type AssetCommentAttachmentGroupByOutputType = { - id: string - createdAt: Date - updatedAt: Date - commentId: string - assetId: string - _count: AssetCommentAttachmentCountAggregateOutputType | null - _min: AssetCommentAttachmentMinAggregateOutputType | null - _max: AssetCommentAttachmentMaxAggregateOutputType | null -} - -export type GetAssetCommentAttachmentGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof AssetCommentAttachmentGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type AssetCommentAttachmentWhereInput = { - AND?: Prisma.AssetCommentAttachmentWhereInput | Prisma.AssetCommentAttachmentWhereInput[] - OR?: Prisma.AssetCommentAttachmentWhereInput[] - NOT?: Prisma.AssetCommentAttachmentWhereInput | Prisma.AssetCommentAttachmentWhereInput[] - id?: Prisma.StringFilter<"AssetCommentAttachment"> | string - createdAt?: Prisma.DateTimeFilter<"AssetCommentAttachment"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"AssetCommentAttachment"> | Date | string - commentId?: Prisma.StringFilter<"AssetCommentAttachment"> | string - assetId?: Prisma.StringFilter<"AssetCommentAttachment"> | string - comment?: Prisma.XOR - asset?: Prisma.XOR -} - -export type AssetCommentAttachmentOrderByWithRelationInput = { - id?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - commentId?: Prisma.SortOrder - assetId?: Prisma.SortOrder - comment?: Prisma.AssetCommentOrderByWithRelationInput - asset?: Prisma.AssetOrderByWithRelationInput -} - -export type AssetCommentAttachmentWhereUniqueInput = Prisma.AtLeast<{ - id?: string - AND?: Prisma.AssetCommentAttachmentWhereInput | Prisma.AssetCommentAttachmentWhereInput[] - OR?: Prisma.AssetCommentAttachmentWhereInput[] - NOT?: Prisma.AssetCommentAttachmentWhereInput | Prisma.AssetCommentAttachmentWhereInput[] - createdAt?: Prisma.DateTimeFilter<"AssetCommentAttachment"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"AssetCommentAttachment"> | Date | string - commentId?: Prisma.StringFilter<"AssetCommentAttachment"> | string - assetId?: Prisma.StringFilter<"AssetCommentAttachment"> | string - comment?: Prisma.XOR - asset?: Prisma.XOR -}, "id"> - -export type AssetCommentAttachmentOrderByWithAggregationInput = { - id?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - commentId?: Prisma.SortOrder - assetId?: Prisma.SortOrder - _count?: Prisma.AssetCommentAttachmentCountOrderByAggregateInput - _max?: Prisma.AssetCommentAttachmentMaxOrderByAggregateInput - _min?: Prisma.AssetCommentAttachmentMinOrderByAggregateInput -} - -export type AssetCommentAttachmentScalarWhereWithAggregatesInput = { - AND?: Prisma.AssetCommentAttachmentScalarWhereWithAggregatesInput | Prisma.AssetCommentAttachmentScalarWhereWithAggregatesInput[] - OR?: Prisma.AssetCommentAttachmentScalarWhereWithAggregatesInput[] - NOT?: Prisma.AssetCommentAttachmentScalarWhereWithAggregatesInput | Prisma.AssetCommentAttachmentScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"AssetCommentAttachment"> | string - createdAt?: Prisma.DateTimeWithAggregatesFilter<"AssetCommentAttachment"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AssetCommentAttachment"> | Date | string - commentId?: Prisma.StringWithAggregatesFilter<"AssetCommentAttachment"> | string - assetId?: Prisma.StringWithAggregatesFilter<"AssetCommentAttachment"> | string -} - -export type AssetCommentAttachmentCreateInput = { - id?: string - createdAt?: Date | string - updatedAt?: Date | string - comment: Prisma.AssetCommentCreateNestedOneWithoutAttachmentsInput - asset: Prisma.AssetCreateNestedOneWithoutCommentAttachmentsInput -} - -export type AssetCommentAttachmentUncheckedCreateInput = { - id?: string - createdAt?: Date | string - updatedAt?: Date | string - commentId: string - assetId: string -} - -export type AssetCommentAttachmentUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - comment?: Prisma.AssetCommentUpdateOneRequiredWithoutAttachmentsNestedInput - asset?: Prisma.AssetUpdateOneRequiredWithoutCommentAttachmentsNestedInput -} - -export type AssetCommentAttachmentUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - commentId?: Prisma.StringFieldUpdateOperationsInput | string - assetId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type AssetCommentAttachmentCreateManyInput = { - id?: string - createdAt?: Date | string - updatedAt?: Date | string - commentId: string - assetId: string -} - -export type AssetCommentAttachmentUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AssetCommentAttachmentUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - commentId?: Prisma.StringFieldUpdateOperationsInput | string - assetId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type AssetCommentAttachmentListRelationFilter = { - every?: Prisma.AssetCommentAttachmentWhereInput - some?: Prisma.AssetCommentAttachmentWhereInput - none?: Prisma.AssetCommentAttachmentWhereInput -} - -export type AssetCommentAttachmentOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type AssetCommentAttachmentCountOrderByAggregateInput = { - id?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - commentId?: Prisma.SortOrder - assetId?: Prisma.SortOrder -} - -export type AssetCommentAttachmentMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - commentId?: Prisma.SortOrder - assetId?: Prisma.SortOrder -} - -export type AssetCommentAttachmentMinOrderByAggregateInput = { - id?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - commentId?: Prisma.SortOrder - assetId?: Prisma.SortOrder -} - -export type AssetCommentAttachmentCreateNestedManyWithoutAssetInput = { - create?: Prisma.XOR | Prisma.AssetCommentAttachmentCreateWithoutAssetInput[] | Prisma.AssetCommentAttachmentUncheckedCreateWithoutAssetInput[] - connectOrCreate?: Prisma.AssetCommentAttachmentCreateOrConnectWithoutAssetInput | Prisma.AssetCommentAttachmentCreateOrConnectWithoutAssetInput[] - createMany?: Prisma.AssetCommentAttachmentCreateManyAssetInputEnvelope - connect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] -} - -export type AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput = { - create?: Prisma.XOR | Prisma.AssetCommentAttachmentCreateWithoutAssetInput[] | Prisma.AssetCommentAttachmentUncheckedCreateWithoutAssetInput[] - connectOrCreate?: Prisma.AssetCommentAttachmentCreateOrConnectWithoutAssetInput | Prisma.AssetCommentAttachmentCreateOrConnectWithoutAssetInput[] - createMany?: Prisma.AssetCommentAttachmentCreateManyAssetInputEnvelope - connect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] -} - -export type AssetCommentAttachmentUpdateManyWithoutAssetNestedInput = { - create?: Prisma.XOR | Prisma.AssetCommentAttachmentCreateWithoutAssetInput[] | Prisma.AssetCommentAttachmentUncheckedCreateWithoutAssetInput[] - connectOrCreate?: Prisma.AssetCommentAttachmentCreateOrConnectWithoutAssetInput | Prisma.AssetCommentAttachmentCreateOrConnectWithoutAssetInput[] - upsert?: Prisma.AssetCommentAttachmentUpsertWithWhereUniqueWithoutAssetInput | Prisma.AssetCommentAttachmentUpsertWithWhereUniqueWithoutAssetInput[] - createMany?: Prisma.AssetCommentAttachmentCreateManyAssetInputEnvelope - set?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] - disconnect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] - delete?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] - connect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] - update?: Prisma.AssetCommentAttachmentUpdateWithWhereUniqueWithoutAssetInput | Prisma.AssetCommentAttachmentUpdateWithWhereUniqueWithoutAssetInput[] - updateMany?: Prisma.AssetCommentAttachmentUpdateManyWithWhereWithoutAssetInput | Prisma.AssetCommentAttachmentUpdateManyWithWhereWithoutAssetInput[] - deleteMany?: Prisma.AssetCommentAttachmentScalarWhereInput | Prisma.AssetCommentAttachmentScalarWhereInput[] -} - -export type AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput = { - create?: Prisma.XOR | Prisma.AssetCommentAttachmentCreateWithoutAssetInput[] | Prisma.AssetCommentAttachmentUncheckedCreateWithoutAssetInput[] - connectOrCreate?: Prisma.AssetCommentAttachmentCreateOrConnectWithoutAssetInput | Prisma.AssetCommentAttachmentCreateOrConnectWithoutAssetInput[] - upsert?: Prisma.AssetCommentAttachmentUpsertWithWhereUniqueWithoutAssetInput | Prisma.AssetCommentAttachmentUpsertWithWhereUniqueWithoutAssetInput[] - createMany?: Prisma.AssetCommentAttachmentCreateManyAssetInputEnvelope - set?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] - disconnect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] - delete?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] - connect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] - update?: Prisma.AssetCommentAttachmentUpdateWithWhereUniqueWithoutAssetInput | Prisma.AssetCommentAttachmentUpdateWithWhereUniqueWithoutAssetInput[] - updateMany?: Prisma.AssetCommentAttachmentUpdateManyWithWhereWithoutAssetInput | Prisma.AssetCommentAttachmentUpdateManyWithWhereWithoutAssetInput[] - deleteMany?: Prisma.AssetCommentAttachmentScalarWhereInput | Prisma.AssetCommentAttachmentScalarWhereInput[] -} - -export type AssetCommentAttachmentCreateNestedManyWithoutCommentInput = { - create?: Prisma.XOR | Prisma.AssetCommentAttachmentCreateWithoutCommentInput[] | Prisma.AssetCommentAttachmentUncheckedCreateWithoutCommentInput[] - connectOrCreate?: Prisma.AssetCommentAttachmentCreateOrConnectWithoutCommentInput | Prisma.AssetCommentAttachmentCreateOrConnectWithoutCommentInput[] - createMany?: Prisma.AssetCommentAttachmentCreateManyCommentInputEnvelope - connect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] -} - -export type AssetCommentAttachmentUncheckedCreateNestedManyWithoutCommentInput = { - create?: Prisma.XOR | Prisma.AssetCommentAttachmentCreateWithoutCommentInput[] | Prisma.AssetCommentAttachmentUncheckedCreateWithoutCommentInput[] - connectOrCreate?: Prisma.AssetCommentAttachmentCreateOrConnectWithoutCommentInput | Prisma.AssetCommentAttachmentCreateOrConnectWithoutCommentInput[] - createMany?: Prisma.AssetCommentAttachmentCreateManyCommentInputEnvelope - connect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] -} - -export type AssetCommentAttachmentUpdateManyWithoutCommentNestedInput = { - create?: Prisma.XOR | Prisma.AssetCommentAttachmentCreateWithoutCommentInput[] | Prisma.AssetCommentAttachmentUncheckedCreateWithoutCommentInput[] - connectOrCreate?: Prisma.AssetCommentAttachmentCreateOrConnectWithoutCommentInput | Prisma.AssetCommentAttachmentCreateOrConnectWithoutCommentInput[] - upsert?: Prisma.AssetCommentAttachmentUpsertWithWhereUniqueWithoutCommentInput | Prisma.AssetCommentAttachmentUpsertWithWhereUniqueWithoutCommentInput[] - createMany?: Prisma.AssetCommentAttachmentCreateManyCommentInputEnvelope - set?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] - disconnect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] - delete?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] - connect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] - update?: Prisma.AssetCommentAttachmentUpdateWithWhereUniqueWithoutCommentInput | Prisma.AssetCommentAttachmentUpdateWithWhereUniqueWithoutCommentInput[] - updateMany?: Prisma.AssetCommentAttachmentUpdateManyWithWhereWithoutCommentInput | Prisma.AssetCommentAttachmentUpdateManyWithWhereWithoutCommentInput[] - deleteMany?: Prisma.AssetCommentAttachmentScalarWhereInput | Prisma.AssetCommentAttachmentScalarWhereInput[] -} - -export type AssetCommentAttachmentUncheckedUpdateManyWithoutCommentNestedInput = { - create?: Prisma.XOR | Prisma.AssetCommentAttachmentCreateWithoutCommentInput[] | Prisma.AssetCommentAttachmentUncheckedCreateWithoutCommentInput[] - connectOrCreate?: Prisma.AssetCommentAttachmentCreateOrConnectWithoutCommentInput | Prisma.AssetCommentAttachmentCreateOrConnectWithoutCommentInput[] - upsert?: Prisma.AssetCommentAttachmentUpsertWithWhereUniqueWithoutCommentInput | Prisma.AssetCommentAttachmentUpsertWithWhereUniqueWithoutCommentInput[] - createMany?: Prisma.AssetCommentAttachmentCreateManyCommentInputEnvelope - set?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] - disconnect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] - delete?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] - connect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] - update?: Prisma.AssetCommentAttachmentUpdateWithWhereUniqueWithoutCommentInput | Prisma.AssetCommentAttachmentUpdateWithWhereUniqueWithoutCommentInput[] - updateMany?: Prisma.AssetCommentAttachmentUpdateManyWithWhereWithoutCommentInput | Prisma.AssetCommentAttachmentUpdateManyWithWhereWithoutCommentInput[] - deleteMany?: Prisma.AssetCommentAttachmentScalarWhereInput | Prisma.AssetCommentAttachmentScalarWhereInput[] -} - -export type AssetCommentAttachmentCreateWithoutAssetInput = { - id?: string - createdAt?: Date | string - updatedAt?: Date | string - comment: Prisma.AssetCommentCreateNestedOneWithoutAttachmentsInput -} - -export type AssetCommentAttachmentUncheckedCreateWithoutAssetInput = { - id?: string - createdAt?: Date | string - updatedAt?: Date | string - commentId: string -} - -export type AssetCommentAttachmentCreateOrConnectWithoutAssetInput = { - where: Prisma.AssetCommentAttachmentWhereUniqueInput - create: Prisma.XOR -} - -export type AssetCommentAttachmentCreateManyAssetInputEnvelope = { - data: Prisma.AssetCommentAttachmentCreateManyAssetInput | Prisma.AssetCommentAttachmentCreateManyAssetInput[] - skipDuplicates?: boolean -} - -export type AssetCommentAttachmentUpsertWithWhereUniqueWithoutAssetInput = { - where: Prisma.AssetCommentAttachmentWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type AssetCommentAttachmentUpdateWithWhereUniqueWithoutAssetInput = { - where: Prisma.AssetCommentAttachmentWhereUniqueInput - data: Prisma.XOR -} - -export type AssetCommentAttachmentUpdateManyWithWhereWithoutAssetInput = { - where: Prisma.AssetCommentAttachmentScalarWhereInput - data: Prisma.XOR -} - -export type AssetCommentAttachmentScalarWhereInput = { - AND?: Prisma.AssetCommentAttachmentScalarWhereInput | Prisma.AssetCommentAttachmentScalarWhereInput[] - OR?: Prisma.AssetCommentAttachmentScalarWhereInput[] - NOT?: Prisma.AssetCommentAttachmentScalarWhereInput | Prisma.AssetCommentAttachmentScalarWhereInput[] - id?: Prisma.StringFilter<"AssetCommentAttachment"> | string - createdAt?: Prisma.DateTimeFilter<"AssetCommentAttachment"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"AssetCommentAttachment"> | Date | string - commentId?: Prisma.StringFilter<"AssetCommentAttachment"> | string - assetId?: Prisma.StringFilter<"AssetCommentAttachment"> | string -} - -export type AssetCommentAttachmentCreateWithoutCommentInput = { - id?: string - createdAt?: Date | string - updatedAt?: Date | string - asset: Prisma.AssetCreateNestedOneWithoutCommentAttachmentsInput -} - -export type AssetCommentAttachmentUncheckedCreateWithoutCommentInput = { - id?: string - createdAt?: Date | string - updatedAt?: Date | string - assetId: string -} - -export type AssetCommentAttachmentCreateOrConnectWithoutCommentInput = { - where: Prisma.AssetCommentAttachmentWhereUniqueInput - create: Prisma.XOR -} - -export type AssetCommentAttachmentCreateManyCommentInputEnvelope = { - data: Prisma.AssetCommentAttachmentCreateManyCommentInput | Prisma.AssetCommentAttachmentCreateManyCommentInput[] - skipDuplicates?: boolean -} - -export type AssetCommentAttachmentUpsertWithWhereUniqueWithoutCommentInput = { - where: Prisma.AssetCommentAttachmentWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type AssetCommentAttachmentUpdateWithWhereUniqueWithoutCommentInput = { - where: Prisma.AssetCommentAttachmentWhereUniqueInput - data: Prisma.XOR -} - -export type AssetCommentAttachmentUpdateManyWithWhereWithoutCommentInput = { - where: Prisma.AssetCommentAttachmentScalarWhereInput - data: Prisma.XOR -} - -export type AssetCommentAttachmentCreateManyAssetInput = { - id?: string - createdAt?: Date | string - updatedAt?: Date | string - commentId: string -} - -export type AssetCommentAttachmentUpdateWithoutAssetInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - comment?: Prisma.AssetCommentUpdateOneRequiredWithoutAttachmentsNestedInput -} - -export type AssetCommentAttachmentUncheckedUpdateWithoutAssetInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - commentId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type AssetCommentAttachmentUncheckedUpdateManyWithoutAssetInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - commentId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type AssetCommentAttachmentCreateManyCommentInput = { - id?: string - createdAt?: Date | string - updatedAt?: Date | string - assetId: string -} - -export type AssetCommentAttachmentUpdateWithoutCommentInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - asset?: Prisma.AssetUpdateOneRequiredWithoutCommentAttachmentsNestedInput -} - -export type AssetCommentAttachmentUncheckedUpdateWithoutCommentInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assetId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type AssetCommentAttachmentUncheckedUpdateManyWithoutCommentInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assetId?: Prisma.StringFieldUpdateOperationsInput | string -} - - - -export type AssetCommentAttachmentSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - createdAt?: boolean - updatedAt?: boolean - commentId?: boolean - assetId?: boolean - comment?: boolean | Prisma.AssetCommentDefaultArgs - asset?: boolean | Prisma.AssetDefaultArgs -}, ExtArgs["result"]["assetCommentAttachment"]> - -export type AssetCommentAttachmentSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - createdAt?: boolean - updatedAt?: boolean - commentId?: boolean - assetId?: boolean - comment?: boolean | Prisma.AssetCommentDefaultArgs - asset?: boolean | Prisma.AssetDefaultArgs -}, ExtArgs["result"]["assetCommentAttachment"]> - -export type AssetCommentAttachmentSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - createdAt?: boolean - updatedAt?: boolean - commentId?: boolean - assetId?: boolean - comment?: boolean | Prisma.AssetCommentDefaultArgs - asset?: boolean | Prisma.AssetDefaultArgs -}, ExtArgs["result"]["assetCommentAttachment"]> - -export type AssetCommentAttachmentSelectScalar = { - id?: boolean - createdAt?: boolean - updatedAt?: boolean - commentId?: boolean - assetId?: boolean -} - -export type AssetCommentAttachmentOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "commentId" | "assetId", ExtArgs["result"]["assetCommentAttachment"]> -export type AssetCommentAttachmentInclude = { - comment?: boolean | Prisma.AssetCommentDefaultArgs - asset?: boolean | Prisma.AssetDefaultArgs -} -export type AssetCommentAttachmentIncludeCreateManyAndReturn = { - comment?: boolean | Prisma.AssetCommentDefaultArgs - asset?: boolean | Prisma.AssetDefaultArgs -} -export type AssetCommentAttachmentIncludeUpdateManyAndReturn = { - comment?: boolean | Prisma.AssetCommentDefaultArgs - asset?: boolean | Prisma.AssetDefaultArgs -} - -export type $AssetCommentAttachmentPayload = { - name: "AssetCommentAttachment" - objects: { - comment: Prisma.$AssetCommentPayload - asset: Prisma.$AssetPayload - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - createdAt: Date - updatedAt: Date - commentId: string - assetId: string - }, ExtArgs["result"]["assetCommentAttachment"]> - composites: {} -} - -export type AssetCommentAttachmentGetPayload = runtime.Types.Result.GetResult - -export type AssetCommentAttachmentCountArgs = - Omit & { - select?: AssetCommentAttachmentCountAggregateInputType | true - } - -export interface AssetCommentAttachmentDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['AssetCommentAttachment'], meta: { name: 'AssetCommentAttachment' } } - /** - * Find zero or one AssetCommentAttachment that matches the filter. - * @param {AssetCommentAttachmentFindUniqueArgs} args - Arguments to find a AssetCommentAttachment - * @example - * // Get one AssetCommentAttachment - * const assetCommentAttachment = await prisma.assetCommentAttachment.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentAttachmentClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one AssetCommentAttachment that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {AssetCommentAttachmentFindUniqueOrThrowArgs} args - Arguments to find a AssetCommentAttachment - * @example - * // Get one AssetCommentAttachment - * const assetCommentAttachment = await prisma.assetCommentAttachment.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentAttachmentClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first AssetCommentAttachment that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetCommentAttachmentFindFirstArgs} args - Arguments to find a AssetCommentAttachment - * @example - * // Get one AssetCommentAttachment - * const assetCommentAttachment = await prisma.assetCommentAttachment.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentAttachmentClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first AssetCommentAttachment that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetCommentAttachmentFindFirstOrThrowArgs} args - Arguments to find a AssetCommentAttachment - * @example - * // Get one AssetCommentAttachment - * const assetCommentAttachment = await prisma.assetCommentAttachment.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentAttachmentClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more AssetCommentAttachments that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetCommentAttachmentFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all AssetCommentAttachments - * const assetCommentAttachments = await prisma.assetCommentAttachment.findMany() - * - * // Get first 10 AssetCommentAttachments - * const assetCommentAttachments = await prisma.assetCommentAttachment.findMany({ take: 10 }) - * - * // Only select the `id` - * const assetCommentAttachmentWithIdOnly = await prisma.assetCommentAttachment.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a AssetCommentAttachment. - * @param {AssetCommentAttachmentCreateArgs} args - Arguments to create a AssetCommentAttachment. - * @example - * // Create one AssetCommentAttachment - * const AssetCommentAttachment = await prisma.assetCommentAttachment.create({ - * data: { - * // ... data to create a AssetCommentAttachment - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentAttachmentClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many AssetCommentAttachments. - * @param {AssetCommentAttachmentCreateManyArgs} args - Arguments to create many AssetCommentAttachments. - * @example - * // Create many AssetCommentAttachments - * const assetCommentAttachment = await prisma.assetCommentAttachment.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many AssetCommentAttachments and returns the data saved in the database. - * @param {AssetCommentAttachmentCreateManyAndReturnArgs} args - Arguments to create many AssetCommentAttachments. - * @example - * // Create many AssetCommentAttachments - * const assetCommentAttachment = await prisma.assetCommentAttachment.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many AssetCommentAttachments and only return the `id` - * const assetCommentAttachmentWithIdOnly = await prisma.assetCommentAttachment.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a AssetCommentAttachment. - * @param {AssetCommentAttachmentDeleteArgs} args - Arguments to delete one AssetCommentAttachment. - * @example - * // Delete one AssetCommentAttachment - * const AssetCommentAttachment = await prisma.assetCommentAttachment.delete({ - * where: { - * // ... filter to delete one AssetCommentAttachment - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentAttachmentClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one AssetCommentAttachment. - * @param {AssetCommentAttachmentUpdateArgs} args - Arguments to update one AssetCommentAttachment. - * @example - * // Update one AssetCommentAttachment - * const assetCommentAttachment = await prisma.assetCommentAttachment.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentAttachmentClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more AssetCommentAttachments. - * @param {AssetCommentAttachmentDeleteManyArgs} args - Arguments to filter AssetCommentAttachments to delete. - * @example - * // Delete a few AssetCommentAttachments - * const { count } = await prisma.assetCommentAttachment.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more AssetCommentAttachments. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetCommentAttachmentUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many AssetCommentAttachments - * const assetCommentAttachment = await prisma.assetCommentAttachment.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more AssetCommentAttachments and returns the data updated in the database. - * @param {AssetCommentAttachmentUpdateManyAndReturnArgs} args - Arguments to update many AssetCommentAttachments. - * @example - * // Update many AssetCommentAttachments - * const assetCommentAttachment = await prisma.assetCommentAttachment.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more AssetCommentAttachments and only return the `id` - * const assetCommentAttachmentWithIdOnly = await prisma.assetCommentAttachment.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one AssetCommentAttachment. - * @param {AssetCommentAttachmentUpsertArgs} args - Arguments to update or create a AssetCommentAttachment. - * @example - * // Update or create a AssetCommentAttachment - * const assetCommentAttachment = await prisma.assetCommentAttachment.upsert({ - * create: { - * // ... data to create a AssetCommentAttachment - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the AssetCommentAttachment we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentAttachmentClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of AssetCommentAttachments. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetCommentAttachmentCountArgs} args - Arguments to filter AssetCommentAttachments to count. - * @example - * // Count the number of AssetCommentAttachments - * const count = await prisma.assetCommentAttachment.count({ - * where: { - * // ... the filter for the AssetCommentAttachments we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a AssetCommentAttachment. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetCommentAttachmentAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by AssetCommentAttachment. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetCommentAttachmentGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends AssetCommentAttachmentGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: AssetCommentAttachmentGroupByArgs['orderBy'] } - : { orderBy?: AssetCommentAttachmentGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetAssetCommentAttachmentGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the AssetCommentAttachment model - */ -readonly fields: AssetCommentAttachmentFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for AssetCommentAttachment. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__AssetCommentAttachmentClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - comment = {}>(args?: Prisma.Subset>): Prisma.Prisma__AssetCommentClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - asset = {}>(args?: Prisma.Subset>): Prisma.Prisma__AssetClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the AssetCommentAttachment model - */ -export interface AssetCommentAttachmentFieldRefs { - readonly id: Prisma.FieldRef<"AssetCommentAttachment", 'String'> - readonly createdAt: Prisma.FieldRef<"AssetCommentAttachment", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"AssetCommentAttachment", 'DateTime'> - readonly commentId: Prisma.FieldRef<"AssetCommentAttachment", 'String'> - readonly assetId: Prisma.FieldRef<"AssetCommentAttachment", 'String'> -} - - -// Custom InputTypes -/** - * AssetCommentAttachment findUnique - */ -export type AssetCommentAttachmentFindUniqueArgs = { - /** - * Select specific fields to fetch from the AssetCommentAttachment - */ - select?: Prisma.AssetCommentAttachmentSelect | null - /** - * Omit specific fields from the AssetCommentAttachment - */ - omit?: Prisma.AssetCommentAttachmentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentAttachmentInclude | null - /** - * Filter, which AssetCommentAttachment to fetch. - */ - where: Prisma.AssetCommentAttachmentWhereUniqueInput -} - -/** - * AssetCommentAttachment findUniqueOrThrow - */ -export type AssetCommentAttachmentFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the AssetCommentAttachment - */ - select?: Prisma.AssetCommentAttachmentSelect | null - /** - * Omit specific fields from the AssetCommentAttachment - */ - omit?: Prisma.AssetCommentAttachmentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentAttachmentInclude | null - /** - * Filter, which AssetCommentAttachment to fetch. - */ - where: Prisma.AssetCommentAttachmentWhereUniqueInput -} - -/** - * AssetCommentAttachment findFirst - */ -export type AssetCommentAttachmentFindFirstArgs = { - /** - * Select specific fields to fetch from the AssetCommentAttachment - */ - select?: Prisma.AssetCommentAttachmentSelect | null - /** - * Omit specific fields from the AssetCommentAttachment - */ - omit?: Prisma.AssetCommentAttachmentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentAttachmentInclude | null - /** - * Filter, which AssetCommentAttachment to fetch. - */ - where?: Prisma.AssetCommentAttachmentWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AssetCommentAttachments to fetch. - */ - orderBy?: Prisma.AssetCommentAttachmentOrderByWithRelationInput | Prisma.AssetCommentAttachmentOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for AssetCommentAttachments. - */ - cursor?: Prisma.AssetCommentAttachmentWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AssetCommentAttachments from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AssetCommentAttachments. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of AssetCommentAttachments. - */ - distinct?: Prisma.AssetCommentAttachmentScalarFieldEnum | Prisma.AssetCommentAttachmentScalarFieldEnum[] -} - -/** - * AssetCommentAttachment findFirstOrThrow - */ -export type AssetCommentAttachmentFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the AssetCommentAttachment - */ - select?: Prisma.AssetCommentAttachmentSelect | null - /** - * Omit specific fields from the AssetCommentAttachment - */ - omit?: Prisma.AssetCommentAttachmentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentAttachmentInclude | null - /** - * Filter, which AssetCommentAttachment to fetch. - */ - where?: Prisma.AssetCommentAttachmentWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AssetCommentAttachments to fetch. - */ - orderBy?: Prisma.AssetCommentAttachmentOrderByWithRelationInput | Prisma.AssetCommentAttachmentOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for AssetCommentAttachments. - */ - cursor?: Prisma.AssetCommentAttachmentWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AssetCommentAttachments from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AssetCommentAttachments. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of AssetCommentAttachments. - */ - distinct?: Prisma.AssetCommentAttachmentScalarFieldEnum | Prisma.AssetCommentAttachmentScalarFieldEnum[] -} - -/** - * AssetCommentAttachment findMany - */ -export type AssetCommentAttachmentFindManyArgs = { - /** - * Select specific fields to fetch from the AssetCommentAttachment - */ - select?: Prisma.AssetCommentAttachmentSelect | null - /** - * Omit specific fields from the AssetCommentAttachment - */ - omit?: Prisma.AssetCommentAttachmentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentAttachmentInclude | null - /** - * Filter, which AssetCommentAttachments to fetch. - */ - where?: Prisma.AssetCommentAttachmentWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AssetCommentAttachments to fetch. - */ - orderBy?: Prisma.AssetCommentAttachmentOrderByWithRelationInput | Prisma.AssetCommentAttachmentOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing AssetCommentAttachments. - */ - cursor?: Prisma.AssetCommentAttachmentWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AssetCommentAttachments from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AssetCommentAttachments. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of AssetCommentAttachments. - */ - distinct?: Prisma.AssetCommentAttachmentScalarFieldEnum | Prisma.AssetCommentAttachmentScalarFieldEnum[] -} - -/** - * AssetCommentAttachment create - */ -export type AssetCommentAttachmentCreateArgs = { - /** - * Select specific fields to fetch from the AssetCommentAttachment - */ - select?: Prisma.AssetCommentAttachmentSelect | null - /** - * Omit specific fields from the AssetCommentAttachment - */ - omit?: Prisma.AssetCommentAttachmentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentAttachmentInclude | null - /** - * The data needed to create a AssetCommentAttachment. - */ - data: Prisma.XOR -} - -/** - * AssetCommentAttachment createMany - */ -export type AssetCommentAttachmentCreateManyArgs = { - /** - * The data used to create many AssetCommentAttachments. - */ - data: Prisma.AssetCommentAttachmentCreateManyInput | Prisma.AssetCommentAttachmentCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * AssetCommentAttachment createManyAndReturn - */ -export type AssetCommentAttachmentCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the AssetCommentAttachment - */ - select?: Prisma.AssetCommentAttachmentSelectCreateManyAndReturn | null - /** - * Omit specific fields from the AssetCommentAttachment - */ - omit?: Prisma.AssetCommentAttachmentOmit | null - /** - * The data used to create many AssetCommentAttachments. - */ - data: Prisma.AssetCommentAttachmentCreateManyInput | Prisma.AssetCommentAttachmentCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentAttachmentIncludeCreateManyAndReturn | null -} - -/** - * AssetCommentAttachment update - */ -export type AssetCommentAttachmentUpdateArgs = { - /** - * Select specific fields to fetch from the AssetCommentAttachment - */ - select?: Prisma.AssetCommentAttachmentSelect | null - /** - * Omit specific fields from the AssetCommentAttachment - */ - omit?: Prisma.AssetCommentAttachmentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentAttachmentInclude | null - /** - * The data needed to update a AssetCommentAttachment. - */ - data: Prisma.XOR - /** - * Choose, which AssetCommentAttachment to update. - */ - where: Prisma.AssetCommentAttachmentWhereUniqueInput -} - -/** - * AssetCommentAttachment updateMany - */ -export type AssetCommentAttachmentUpdateManyArgs = { - /** - * The data used to update AssetCommentAttachments. - */ - data: Prisma.XOR - /** - * Filter which AssetCommentAttachments to update - */ - where?: Prisma.AssetCommentAttachmentWhereInput - /** - * Limit how many AssetCommentAttachments to update. - */ - limit?: number -} - -/** - * AssetCommentAttachment updateManyAndReturn - */ -export type AssetCommentAttachmentUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the AssetCommentAttachment - */ - select?: Prisma.AssetCommentAttachmentSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the AssetCommentAttachment - */ - omit?: Prisma.AssetCommentAttachmentOmit | null - /** - * The data used to update AssetCommentAttachments. - */ - data: Prisma.XOR - /** - * Filter which AssetCommentAttachments to update - */ - where?: Prisma.AssetCommentAttachmentWhereInput - /** - * Limit how many AssetCommentAttachments to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentAttachmentIncludeUpdateManyAndReturn | null -} - -/** - * AssetCommentAttachment upsert - */ -export type AssetCommentAttachmentUpsertArgs = { - /** - * Select specific fields to fetch from the AssetCommentAttachment - */ - select?: Prisma.AssetCommentAttachmentSelect | null - /** - * Omit specific fields from the AssetCommentAttachment - */ - omit?: Prisma.AssetCommentAttachmentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentAttachmentInclude | null - /** - * The filter to search for the AssetCommentAttachment to update in case it exists. - */ - where: Prisma.AssetCommentAttachmentWhereUniqueInput - /** - * In case the AssetCommentAttachment found by the `where` argument doesn't exist, create a new AssetCommentAttachment with this data. - */ - create: Prisma.XOR - /** - * In case the AssetCommentAttachment was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * AssetCommentAttachment delete - */ -export type AssetCommentAttachmentDeleteArgs = { - /** - * Select specific fields to fetch from the AssetCommentAttachment - */ - select?: Prisma.AssetCommentAttachmentSelect | null - /** - * Omit specific fields from the AssetCommentAttachment - */ - omit?: Prisma.AssetCommentAttachmentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentAttachmentInclude | null - /** - * Filter which AssetCommentAttachment to delete. - */ - where: Prisma.AssetCommentAttachmentWhereUniqueInput -} - -/** - * AssetCommentAttachment deleteMany - */ -export type AssetCommentAttachmentDeleteManyArgs = { - /** - * Filter which AssetCommentAttachments to delete - */ - where?: Prisma.AssetCommentAttachmentWhereInput - /** - * Limit how many AssetCommentAttachments to delete. - */ - limit?: number -} - -/** - * AssetCommentAttachment without action - */ -export type AssetCommentAttachmentDefaultArgs = { - /** - * Select specific fields to fetch from the AssetCommentAttachment - */ - select?: Prisma.AssetCommentAttachmentSelect | null - /** - * Omit specific fields from the AssetCommentAttachment - */ - omit?: Prisma.AssetCommentAttachmentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentAttachmentInclude | null -} diff --git a/src/generated/prisma/models/AssetEmbedding.ts b/src/generated/prisma/models/AssetEmbedding.ts deleted file mode 100644 index ebec29c2..00000000 --- a/src/generated/prisma/models/AssetEmbedding.ts +++ /dev/null @@ -1,1432 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `AssetEmbedding` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model AssetEmbedding - * - */ -export type AssetEmbeddingModel = runtime.Types.Result.DefaultSelection - -export type AggregateAssetEmbedding = { - _count: AssetEmbeddingCountAggregateOutputType | null - _avg: AssetEmbeddingAvgAggregateOutputType | null - _sum: AssetEmbeddingSumAggregateOutputType | null - _min: AssetEmbeddingMinAggregateOutputType | null - _max: AssetEmbeddingMaxAggregateOutputType | null -} - -export type AssetEmbeddingAvgAggregateOutputType = { - startTime: number | null - endTime: number | null -} - -export type AssetEmbeddingSumAggregateOutputType = { - startTime: number | null - endTime: number | null -} - -export type AssetEmbeddingMinAggregateOutputType = { - id: string | null - startTime: number | null - endTime: number | null - createdAt: Date | null - updatedAt: Date | null - assetId: string | null -} - -export type AssetEmbeddingMaxAggregateOutputType = { - id: string | null - startTime: number | null - endTime: number | null - createdAt: Date | null - updatedAt: Date | null - assetId: string | null -} - -export type AssetEmbeddingCountAggregateOutputType = { - id: number - startTime: number - endTime: number - createdAt: number - updatedAt: number - assetId: number - _all: number -} - - -export type AssetEmbeddingAvgAggregateInputType = { - startTime?: true - endTime?: true -} - -export type AssetEmbeddingSumAggregateInputType = { - startTime?: true - endTime?: true -} - -export type AssetEmbeddingMinAggregateInputType = { - id?: true - startTime?: true - endTime?: true - createdAt?: true - updatedAt?: true - assetId?: true -} - -export type AssetEmbeddingMaxAggregateInputType = { - id?: true - startTime?: true - endTime?: true - createdAt?: true - updatedAt?: true - assetId?: true -} - -export type AssetEmbeddingCountAggregateInputType = { - id?: true - startTime?: true - endTime?: true - createdAt?: true - updatedAt?: true - assetId?: true - _all?: true -} - -export type AssetEmbeddingAggregateArgs = { - /** - * Filter which AssetEmbedding to aggregate. - */ - where?: Prisma.AssetEmbeddingWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AssetEmbeddings to fetch. - */ - orderBy?: Prisma.AssetEmbeddingOrderByWithRelationInput | Prisma.AssetEmbeddingOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.AssetEmbeddingWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AssetEmbeddings from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AssetEmbeddings. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned AssetEmbeddings - **/ - _count?: true | AssetEmbeddingCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to average - **/ - _avg?: AssetEmbeddingAvgAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to sum - **/ - _sum?: AssetEmbeddingSumAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: AssetEmbeddingMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: AssetEmbeddingMaxAggregateInputType -} - -export type GetAssetEmbeddingAggregateType = { - [P in keyof T & keyof AggregateAssetEmbedding]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type AssetEmbeddingGroupByArgs = { - where?: Prisma.AssetEmbeddingWhereInput - orderBy?: Prisma.AssetEmbeddingOrderByWithAggregationInput | Prisma.AssetEmbeddingOrderByWithAggregationInput[] - by: Prisma.AssetEmbeddingScalarFieldEnum[] | Prisma.AssetEmbeddingScalarFieldEnum - having?: Prisma.AssetEmbeddingScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: AssetEmbeddingCountAggregateInputType | true - _avg?: AssetEmbeddingAvgAggregateInputType - _sum?: AssetEmbeddingSumAggregateInputType - _min?: AssetEmbeddingMinAggregateInputType - _max?: AssetEmbeddingMaxAggregateInputType -} - -export type AssetEmbeddingGroupByOutputType = { - id: string - startTime: number | null - endTime: number | null - createdAt: Date - updatedAt: Date - assetId: string - _count: AssetEmbeddingCountAggregateOutputType | null - _avg: AssetEmbeddingAvgAggregateOutputType | null - _sum: AssetEmbeddingSumAggregateOutputType | null - _min: AssetEmbeddingMinAggregateOutputType | null - _max: AssetEmbeddingMaxAggregateOutputType | null -} - -export type GetAssetEmbeddingGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof AssetEmbeddingGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type AssetEmbeddingWhereInput = { - AND?: Prisma.AssetEmbeddingWhereInput | Prisma.AssetEmbeddingWhereInput[] - OR?: Prisma.AssetEmbeddingWhereInput[] - NOT?: Prisma.AssetEmbeddingWhereInput | Prisma.AssetEmbeddingWhereInput[] - id?: Prisma.StringFilter<"AssetEmbedding"> | string - startTime?: Prisma.FloatNullableFilter<"AssetEmbedding"> | number | null - endTime?: Prisma.FloatNullableFilter<"AssetEmbedding"> | number | null - createdAt?: Prisma.DateTimeFilter<"AssetEmbedding"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"AssetEmbedding"> | Date | string - assetId?: Prisma.StringFilter<"AssetEmbedding"> | string - asset?: Prisma.XOR -} - -export type AssetEmbeddingOrderByWithRelationInput = { - id?: Prisma.SortOrder - startTime?: Prisma.SortOrderInput | Prisma.SortOrder - endTime?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - assetId?: Prisma.SortOrder - asset?: Prisma.AssetOrderByWithRelationInput -} - -export type AssetEmbeddingWhereUniqueInput = Prisma.AtLeast<{ - id?: string - AND?: Prisma.AssetEmbeddingWhereInput | Prisma.AssetEmbeddingWhereInput[] - OR?: Prisma.AssetEmbeddingWhereInput[] - NOT?: Prisma.AssetEmbeddingWhereInput | Prisma.AssetEmbeddingWhereInput[] - startTime?: Prisma.FloatNullableFilter<"AssetEmbedding"> | number | null - endTime?: Prisma.FloatNullableFilter<"AssetEmbedding"> | number | null - createdAt?: Prisma.DateTimeFilter<"AssetEmbedding"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"AssetEmbedding"> | Date | string - assetId?: Prisma.StringFilter<"AssetEmbedding"> | string - asset?: Prisma.XOR -}, "id"> - -export type AssetEmbeddingOrderByWithAggregationInput = { - id?: Prisma.SortOrder - startTime?: Prisma.SortOrderInput | Prisma.SortOrder - endTime?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - assetId?: Prisma.SortOrder - _count?: Prisma.AssetEmbeddingCountOrderByAggregateInput - _avg?: Prisma.AssetEmbeddingAvgOrderByAggregateInput - _max?: Prisma.AssetEmbeddingMaxOrderByAggregateInput - _min?: Prisma.AssetEmbeddingMinOrderByAggregateInput - _sum?: Prisma.AssetEmbeddingSumOrderByAggregateInput -} - -export type AssetEmbeddingScalarWhereWithAggregatesInput = { - AND?: Prisma.AssetEmbeddingScalarWhereWithAggregatesInput | Prisma.AssetEmbeddingScalarWhereWithAggregatesInput[] - OR?: Prisma.AssetEmbeddingScalarWhereWithAggregatesInput[] - NOT?: Prisma.AssetEmbeddingScalarWhereWithAggregatesInput | Prisma.AssetEmbeddingScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"AssetEmbedding"> | string - startTime?: Prisma.FloatNullableWithAggregatesFilter<"AssetEmbedding"> | number | null - endTime?: Prisma.FloatNullableWithAggregatesFilter<"AssetEmbedding"> | number | null - createdAt?: Prisma.DateTimeWithAggregatesFilter<"AssetEmbedding"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AssetEmbedding"> | Date | string - assetId?: Prisma.StringWithAggregatesFilter<"AssetEmbedding"> | string -} - -export type AssetEmbeddingCreateInput = { - id?: string - startTime?: number | null - endTime?: number | null - createdAt?: Date | string - updatedAt?: Date | string - asset: Prisma.AssetCreateNestedOneWithoutEmbeddingsInput -} - -export type AssetEmbeddingUncheckedCreateInput = { - id?: string - startTime?: number | null - endTime?: number | null - createdAt?: Date | string - updatedAt?: Date | string - assetId: string -} - -export type AssetEmbeddingUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - startTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - endTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - asset?: Prisma.AssetUpdateOneRequiredWithoutEmbeddingsNestedInput -} - -export type AssetEmbeddingUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - startTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - endTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assetId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type AssetEmbeddingCreateManyInput = { - id?: string - startTime?: number | null - endTime?: number | null - createdAt?: Date | string - updatedAt?: Date | string - assetId: string -} - -export type AssetEmbeddingUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - startTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - endTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AssetEmbeddingUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - startTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - endTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assetId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type AssetEmbeddingListRelationFilter = { - every?: Prisma.AssetEmbeddingWhereInput - some?: Prisma.AssetEmbeddingWhereInput - none?: Prisma.AssetEmbeddingWhereInput -} - -export type AssetEmbeddingOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type AssetEmbeddingCountOrderByAggregateInput = { - id?: Prisma.SortOrder - startTime?: Prisma.SortOrder - endTime?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - assetId?: Prisma.SortOrder -} - -export type AssetEmbeddingAvgOrderByAggregateInput = { - startTime?: Prisma.SortOrder - endTime?: Prisma.SortOrder -} - -export type AssetEmbeddingMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - startTime?: Prisma.SortOrder - endTime?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - assetId?: Prisma.SortOrder -} - -export type AssetEmbeddingMinOrderByAggregateInput = { - id?: Prisma.SortOrder - startTime?: Prisma.SortOrder - endTime?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - assetId?: Prisma.SortOrder -} - -export type AssetEmbeddingSumOrderByAggregateInput = { - startTime?: Prisma.SortOrder - endTime?: Prisma.SortOrder -} - -export type AssetEmbeddingCreateNestedManyWithoutAssetInput = { - create?: Prisma.XOR | Prisma.AssetEmbeddingCreateWithoutAssetInput[] | Prisma.AssetEmbeddingUncheckedCreateWithoutAssetInput[] - connectOrCreate?: Prisma.AssetEmbeddingCreateOrConnectWithoutAssetInput | Prisma.AssetEmbeddingCreateOrConnectWithoutAssetInput[] - createMany?: Prisma.AssetEmbeddingCreateManyAssetInputEnvelope - connect?: Prisma.AssetEmbeddingWhereUniqueInput | Prisma.AssetEmbeddingWhereUniqueInput[] -} - -export type AssetEmbeddingUncheckedCreateNestedManyWithoutAssetInput = { - create?: Prisma.XOR | Prisma.AssetEmbeddingCreateWithoutAssetInput[] | Prisma.AssetEmbeddingUncheckedCreateWithoutAssetInput[] - connectOrCreate?: Prisma.AssetEmbeddingCreateOrConnectWithoutAssetInput | Prisma.AssetEmbeddingCreateOrConnectWithoutAssetInput[] - createMany?: Prisma.AssetEmbeddingCreateManyAssetInputEnvelope - connect?: Prisma.AssetEmbeddingWhereUniqueInput | Prisma.AssetEmbeddingWhereUniqueInput[] -} - -export type AssetEmbeddingUpdateManyWithoutAssetNestedInput = { - create?: Prisma.XOR | Prisma.AssetEmbeddingCreateWithoutAssetInput[] | Prisma.AssetEmbeddingUncheckedCreateWithoutAssetInput[] - connectOrCreate?: Prisma.AssetEmbeddingCreateOrConnectWithoutAssetInput | Prisma.AssetEmbeddingCreateOrConnectWithoutAssetInput[] - upsert?: Prisma.AssetEmbeddingUpsertWithWhereUniqueWithoutAssetInput | Prisma.AssetEmbeddingUpsertWithWhereUniqueWithoutAssetInput[] - createMany?: Prisma.AssetEmbeddingCreateManyAssetInputEnvelope - set?: Prisma.AssetEmbeddingWhereUniqueInput | Prisma.AssetEmbeddingWhereUniqueInput[] - disconnect?: Prisma.AssetEmbeddingWhereUniqueInput | Prisma.AssetEmbeddingWhereUniqueInput[] - delete?: Prisma.AssetEmbeddingWhereUniqueInput | Prisma.AssetEmbeddingWhereUniqueInput[] - connect?: Prisma.AssetEmbeddingWhereUniqueInput | Prisma.AssetEmbeddingWhereUniqueInput[] - update?: Prisma.AssetEmbeddingUpdateWithWhereUniqueWithoutAssetInput | Prisma.AssetEmbeddingUpdateWithWhereUniqueWithoutAssetInput[] - updateMany?: Prisma.AssetEmbeddingUpdateManyWithWhereWithoutAssetInput | Prisma.AssetEmbeddingUpdateManyWithWhereWithoutAssetInput[] - deleteMany?: Prisma.AssetEmbeddingScalarWhereInput | Prisma.AssetEmbeddingScalarWhereInput[] -} - -export type AssetEmbeddingUncheckedUpdateManyWithoutAssetNestedInput = { - create?: Prisma.XOR | Prisma.AssetEmbeddingCreateWithoutAssetInput[] | Prisma.AssetEmbeddingUncheckedCreateWithoutAssetInput[] - connectOrCreate?: Prisma.AssetEmbeddingCreateOrConnectWithoutAssetInput | Prisma.AssetEmbeddingCreateOrConnectWithoutAssetInput[] - upsert?: Prisma.AssetEmbeddingUpsertWithWhereUniqueWithoutAssetInput | Prisma.AssetEmbeddingUpsertWithWhereUniqueWithoutAssetInput[] - createMany?: Prisma.AssetEmbeddingCreateManyAssetInputEnvelope - set?: Prisma.AssetEmbeddingWhereUniqueInput | Prisma.AssetEmbeddingWhereUniqueInput[] - disconnect?: Prisma.AssetEmbeddingWhereUniqueInput | Prisma.AssetEmbeddingWhereUniqueInput[] - delete?: Prisma.AssetEmbeddingWhereUniqueInput | Prisma.AssetEmbeddingWhereUniqueInput[] - connect?: Prisma.AssetEmbeddingWhereUniqueInput | Prisma.AssetEmbeddingWhereUniqueInput[] - update?: Prisma.AssetEmbeddingUpdateWithWhereUniqueWithoutAssetInput | Prisma.AssetEmbeddingUpdateWithWhereUniqueWithoutAssetInput[] - updateMany?: Prisma.AssetEmbeddingUpdateManyWithWhereWithoutAssetInput | Prisma.AssetEmbeddingUpdateManyWithWhereWithoutAssetInput[] - deleteMany?: Prisma.AssetEmbeddingScalarWhereInput | Prisma.AssetEmbeddingScalarWhereInput[] -} - -export type AssetEmbeddingCreateWithoutAssetInput = { - id?: string - startTime?: number | null - endTime?: number | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type AssetEmbeddingUncheckedCreateWithoutAssetInput = { - id?: string - startTime?: number | null - endTime?: number | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type AssetEmbeddingCreateOrConnectWithoutAssetInput = { - where: Prisma.AssetEmbeddingWhereUniqueInput - create: Prisma.XOR -} - -export type AssetEmbeddingCreateManyAssetInputEnvelope = { - data: Prisma.AssetEmbeddingCreateManyAssetInput | Prisma.AssetEmbeddingCreateManyAssetInput[] - skipDuplicates?: boolean -} - -export type AssetEmbeddingUpsertWithWhereUniqueWithoutAssetInput = { - where: Prisma.AssetEmbeddingWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type AssetEmbeddingUpdateWithWhereUniqueWithoutAssetInput = { - where: Prisma.AssetEmbeddingWhereUniqueInput - data: Prisma.XOR -} - -export type AssetEmbeddingUpdateManyWithWhereWithoutAssetInput = { - where: Prisma.AssetEmbeddingScalarWhereInput - data: Prisma.XOR -} - -export type AssetEmbeddingScalarWhereInput = { - AND?: Prisma.AssetEmbeddingScalarWhereInput | Prisma.AssetEmbeddingScalarWhereInput[] - OR?: Prisma.AssetEmbeddingScalarWhereInput[] - NOT?: Prisma.AssetEmbeddingScalarWhereInput | Prisma.AssetEmbeddingScalarWhereInput[] - id?: Prisma.StringFilter<"AssetEmbedding"> | string - startTime?: Prisma.FloatNullableFilter<"AssetEmbedding"> | number | null - endTime?: Prisma.FloatNullableFilter<"AssetEmbedding"> | number | null - createdAt?: Prisma.DateTimeFilter<"AssetEmbedding"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"AssetEmbedding"> | Date | string - assetId?: Prisma.StringFilter<"AssetEmbedding"> | string -} - -export type AssetEmbeddingCreateManyAssetInput = { - id?: string - startTime?: number | null - endTime?: number | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type AssetEmbeddingUpdateWithoutAssetInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - startTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - endTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AssetEmbeddingUncheckedUpdateWithoutAssetInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - startTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - endTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AssetEmbeddingUncheckedUpdateManyWithoutAssetInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - startTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - endTime?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - - - -export type AssetEmbeddingSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - startTime?: boolean - endTime?: boolean - createdAt?: boolean - updatedAt?: boolean - assetId?: boolean - asset?: boolean | Prisma.AssetDefaultArgs -}, ExtArgs["result"]["assetEmbedding"]> - -export type AssetEmbeddingSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - startTime?: boolean - endTime?: boolean - createdAt?: boolean - updatedAt?: boolean - assetId?: boolean - asset?: boolean | Prisma.AssetDefaultArgs -}, ExtArgs["result"]["assetEmbedding"]> - -export type AssetEmbeddingSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - startTime?: boolean - endTime?: boolean - createdAt?: boolean - updatedAt?: boolean - assetId?: boolean - asset?: boolean | Prisma.AssetDefaultArgs -}, ExtArgs["result"]["assetEmbedding"]> - -export type AssetEmbeddingSelectScalar = { - id?: boolean - startTime?: boolean - endTime?: boolean - createdAt?: boolean - updatedAt?: boolean - assetId?: boolean -} - -export type AssetEmbeddingOmit = runtime.Types.Extensions.GetOmit<"id" | "startTime" | "endTime" | "createdAt" | "updatedAt" | "assetId", ExtArgs["result"]["assetEmbedding"]> -export type AssetEmbeddingInclude = { - asset?: boolean | Prisma.AssetDefaultArgs -} -export type AssetEmbeddingIncludeCreateManyAndReturn = { - asset?: boolean | Prisma.AssetDefaultArgs -} -export type AssetEmbeddingIncludeUpdateManyAndReturn = { - asset?: boolean | Prisma.AssetDefaultArgs -} - -export type $AssetEmbeddingPayload = { - name: "AssetEmbedding" - objects: { - asset: Prisma.$AssetPayload - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - startTime: number | null - endTime: number | null - createdAt: Date - updatedAt: Date - assetId: string - }, ExtArgs["result"]["assetEmbedding"]> - composites: {} -} - -export type AssetEmbeddingGetPayload = runtime.Types.Result.GetResult - -export type AssetEmbeddingCountArgs = - Omit & { - select?: AssetEmbeddingCountAggregateInputType | true - } - -export interface AssetEmbeddingDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['AssetEmbedding'], meta: { name: 'AssetEmbedding' } } - /** - * Find zero or one AssetEmbedding that matches the filter. - * @param {AssetEmbeddingFindUniqueArgs} args - Arguments to find a AssetEmbedding - * @example - * // Get one AssetEmbedding - * const assetEmbedding = await prisma.assetEmbedding.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AssetEmbeddingClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one AssetEmbedding that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {AssetEmbeddingFindUniqueOrThrowArgs} args - Arguments to find a AssetEmbedding - * @example - * // Get one AssetEmbedding - * const assetEmbedding = await prisma.assetEmbedding.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AssetEmbeddingClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first AssetEmbedding that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetEmbeddingFindFirstArgs} args - Arguments to find a AssetEmbedding - * @example - * // Get one AssetEmbedding - * const assetEmbedding = await prisma.assetEmbedding.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AssetEmbeddingClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first AssetEmbedding that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetEmbeddingFindFirstOrThrowArgs} args - Arguments to find a AssetEmbedding - * @example - * // Get one AssetEmbedding - * const assetEmbedding = await prisma.assetEmbedding.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AssetEmbeddingClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more AssetEmbeddings that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetEmbeddingFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all AssetEmbeddings - * const assetEmbeddings = await prisma.assetEmbedding.findMany() - * - * // Get first 10 AssetEmbeddings - * const assetEmbeddings = await prisma.assetEmbedding.findMany({ take: 10 }) - * - * // Only select the `id` - * const assetEmbeddingWithIdOnly = await prisma.assetEmbedding.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a AssetEmbedding. - * @param {AssetEmbeddingCreateArgs} args - Arguments to create a AssetEmbedding. - * @example - * // Create one AssetEmbedding - * const AssetEmbedding = await prisma.assetEmbedding.create({ - * data: { - * // ... data to create a AssetEmbedding - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__AssetEmbeddingClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many AssetEmbeddings. - * @param {AssetEmbeddingCreateManyArgs} args - Arguments to create many AssetEmbeddings. - * @example - * // Create many AssetEmbeddings - * const assetEmbedding = await prisma.assetEmbedding.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many AssetEmbeddings and returns the data saved in the database. - * @param {AssetEmbeddingCreateManyAndReturnArgs} args - Arguments to create many AssetEmbeddings. - * @example - * // Create many AssetEmbeddings - * const assetEmbedding = await prisma.assetEmbedding.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many AssetEmbeddings and only return the `id` - * const assetEmbeddingWithIdOnly = await prisma.assetEmbedding.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a AssetEmbedding. - * @param {AssetEmbeddingDeleteArgs} args - Arguments to delete one AssetEmbedding. - * @example - * // Delete one AssetEmbedding - * const AssetEmbedding = await prisma.assetEmbedding.delete({ - * where: { - * // ... filter to delete one AssetEmbedding - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__AssetEmbeddingClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one AssetEmbedding. - * @param {AssetEmbeddingUpdateArgs} args - Arguments to update one AssetEmbedding. - * @example - * // Update one AssetEmbedding - * const assetEmbedding = await prisma.assetEmbedding.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__AssetEmbeddingClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more AssetEmbeddings. - * @param {AssetEmbeddingDeleteManyArgs} args - Arguments to filter AssetEmbeddings to delete. - * @example - * // Delete a few AssetEmbeddings - * const { count } = await prisma.assetEmbedding.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more AssetEmbeddings. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetEmbeddingUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many AssetEmbeddings - * const assetEmbedding = await prisma.assetEmbedding.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more AssetEmbeddings and returns the data updated in the database. - * @param {AssetEmbeddingUpdateManyAndReturnArgs} args - Arguments to update many AssetEmbeddings. - * @example - * // Update many AssetEmbeddings - * const assetEmbedding = await prisma.assetEmbedding.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more AssetEmbeddings and only return the `id` - * const assetEmbeddingWithIdOnly = await prisma.assetEmbedding.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one AssetEmbedding. - * @param {AssetEmbeddingUpsertArgs} args - Arguments to update or create a AssetEmbedding. - * @example - * // Update or create a AssetEmbedding - * const assetEmbedding = await prisma.assetEmbedding.upsert({ - * create: { - * // ... data to create a AssetEmbedding - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the AssetEmbedding we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AssetEmbeddingClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of AssetEmbeddings. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetEmbeddingCountArgs} args - Arguments to filter AssetEmbeddings to count. - * @example - * // Count the number of AssetEmbeddings - * const count = await prisma.assetEmbedding.count({ - * where: { - * // ... the filter for the AssetEmbeddings we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a AssetEmbedding. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetEmbeddingAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by AssetEmbedding. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetEmbeddingGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends AssetEmbeddingGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: AssetEmbeddingGroupByArgs['orderBy'] } - : { orderBy?: AssetEmbeddingGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetAssetEmbeddingGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the AssetEmbedding model - */ -readonly fields: AssetEmbeddingFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for AssetEmbedding. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__AssetEmbeddingClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - asset = {}>(args?: Prisma.Subset>): Prisma.Prisma__AssetClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the AssetEmbedding model - */ -export interface AssetEmbeddingFieldRefs { - readonly id: Prisma.FieldRef<"AssetEmbedding", 'String'> - readonly startTime: Prisma.FieldRef<"AssetEmbedding", 'Float'> - readonly endTime: Prisma.FieldRef<"AssetEmbedding", 'Float'> - readonly createdAt: Prisma.FieldRef<"AssetEmbedding", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"AssetEmbedding", 'DateTime'> - readonly assetId: Prisma.FieldRef<"AssetEmbedding", 'String'> -} - - -// Custom InputTypes -/** - * AssetEmbedding findUnique - */ -export type AssetEmbeddingFindUniqueArgs = { - /** - * Select specific fields to fetch from the AssetEmbedding - */ - select?: Prisma.AssetEmbeddingSelect | null - /** - * Omit specific fields from the AssetEmbedding - */ - omit?: Prisma.AssetEmbeddingOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetEmbeddingInclude | null - /** - * Filter, which AssetEmbedding to fetch. - */ - where: Prisma.AssetEmbeddingWhereUniqueInput -} - -/** - * AssetEmbedding findUniqueOrThrow - */ -export type AssetEmbeddingFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the AssetEmbedding - */ - select?: Prisma.AssetEmbeddingSelect | null - /** - * Omit specific fields from the AssetEmbedding - */ - omit?: Prisma.AssetEmbeddingOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetEmbeddingInclude | null - /** - * Filter, which AssetEmbedding to fetch. - */ - where: Prisma.AssetEmbeddingWhereUniqueInput -} - -/** - * AssetEmbedding findFirst - */ -export type AssetEmbeddingFindFirstArgs = { - /** - * Select specific fields to fetch from the AssetEmbedding - */ - select?: Prisma.AssetEmbeddingSelect | null - /** - * Omit specific fields from the AssetEmbedding - */ - omit?: Prisma.AssetEmbeddingOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetEmbeddingInclude | null - /** - * Filter, which AssetEmbedding to fetch. - */ - where?: Prisma.AssetEmbeddingWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AssetEmbeddings to fetch. - */ - orderBy?: Prisma.AssetEmbeddingOrderByWithRelationInput | Prisma.AssetEmbeddingOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for AssetEmbeddings. - */ - cursor?: Prisma.AssetEmbeddingWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AssetEmbeddings from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AssetEmbeddings. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of AssetEmbeddings. - */ - distinct?: Prisma.AssetEmbeddingScalarFieldEnum | Prisma.AssetEmbeddingScalarFieldEnum[] -} - -/** - * AssetEmbedding findFirstOrThrow - */ -export type AssetEmbeddingFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the AssetEmbedding - */ - select?: Prisma.AssetEmbeddingSelect | null - /** - * Omit specific fields from the AssetEmbedding - */ - omit?: Prisma.AssetEmbeddingOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetEmbeddingInclude | null - /** - * Filter, which AssetEmbedding to fetch. - */ - where?: Prisma.AssetEmbeddingWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AssetEmbeddings to fetch. - */ - orderBy?: Prisma.AssetEmbeddingOrderByWithRelationInput | Prisma.AssetEmbeddingOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for AssetEmbeddings. - */ - cursor?: Prisma.AssetEmbeddingWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AssetEmbeddings from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AssetEmbeddings. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of AssetEmbeddings. - */ - distinct?: Prisma.AssetEmbeddingScalarFieldEnum | Prisma.AssetEmbeddingScalarFieldEnum[] -} - -/** - * AssetEmbedding findMany - */ -export type AssetEmbeddingFindManyArgs = { - /** - * Select specific fields to fetch from the AssetEmbedding - */ - select?: Prisma.AssetEmbeddingSelect | null - /** - * Omit specific fields from the AssetEmbedding - */ - omit?: Prisma.AssetEmbeddingOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetEmbeddingInclude | null - /** - * Filter, which AssetEmbeddings to fetch. - */ - where?: Prisma.AssetEmbeddingWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AssetEmbeddings to fetch. - */ - orderBy?: Prisma.AssetEmbeddingOrderByWithRelationInput | Prisma.AssetEmbeddingOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing AssetEmbeddings. - */ - cursor?: Prisma.AssetEmbeddingWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AssetEmbeddings from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AssetEmbeddings. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of AssetEmbeddings. - */ - distinct?: Prisma.AssetEmbeddingScalarFieldEnum | Prisma.AssetEmbeddingScalarFieldEnum[] -} - -/** - * AssetEmbedding create - */ -export type AssetEmbeddingCreateArgs = { - /** - * Select specific fields to fetch from the AssetEmbedding - */ - select?: Prisma.AssetEmbeddingSelect | null - /** - * Omit specific fields from the AssetEmbedding - */ - omit?: Prisma.AssetEmbeddingOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetEmbeddingInclude | null - /** - * The data needed to create a AssetEmbedding. - */ - data: Prisma.XOR -} - -/** - * AssetEmbedding createMany - */ -export type AssetEmbeddingCreateManyArgs = { - /** - * The data used to create many AssetEmbeddings. - */ - data: Prisma.AssetEmbeddingCreateManyInput | Prisma.AssetEmbeddingCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * AssetEmbedding createManyAndReturn - */ -export type AssetEmbeddingCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the AssetEmbedding - */ - select?: Prisma.AssetEmbeddingSelectCreateManyAndReturn | null - /** - * Omit specific fields from the AssetEmbedding - */ - omit?: Prisma.AssetEmbeddingOmit | null - /** - * The data used to create many AssetEmbeddings. - */ - data: Prisma.AssetEmbeddingCreateManyInput | Prisma.AssetEmbeddingCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetEmbeddingIncludeCreateManyAndReturn | null -} - -/** - * AssetEmbedding update - */ -export type AssetEmbeddingUpdateArgs = { - /** - * Select specific fields to fetch from the AssetEmbedding - */ - select?: Prisma.AssetEmbeddingSelect | null - /** - * Omit specific fields from the AssetEmbedding - */ - omit?: Prisma.AssetEmbeddingOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetEmbeddingInclude | null - /** - * The data needed to update a AssetEmbedding. - */ - data: Prisma.XOR - /** - * Choose, which AssetEmbedding to update. - */ - where: Prisma.AssetEmbeddingWhereUniqueInput -} - -/** - * AssetEmbedding updateMany - */ -export type AssetEmbeddingUpdateManyArgs = { - /** - * The data used to update AssetEmbeddings. - */ - data: Prisma.XOR - /** - * Filter which AssetEmbeddings to update - */ - where?: Prisma.AssetEmbeddingWhereInput - /** - * Limit how many AssetEmbeddings to update. - */ - limit?: number -} - -/** - * AssetEmbedding updateManyAndReturn - */ -export type AssetEmbeddingUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the AssetEmbedding - */ - select?: Prisma.AssetEmbeddingSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the AssetEmbedding - */ - omit?: Prisma.AssetEmbeddingOmit | null - /** - * The data used to update AssetEmbeddings. - */ - data: Prisma.XOR - /** - * Filter which AssetEmbeddings to update - */ - where?: Prisma.AssetEmbeddingWhereInput - /** - * Limit how many AssetEmbeddings to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetEmbeddingIncludeUpdateManyAndReturn | null -} - -/** - * AssetEmbedding upsert - */ -export type AssetEmbeddingUpsertArgs = { - /** - * Select specific fields to fetch from the AssetEmbedding - */ - select?: Prisma.AssetEmbeddingSelect | null - /** - * Omit specific fields from the AssetEmbedding - */ - omit?: Prisma.AssetEmbeddingOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetEmbeddingInclude | null - /** - * The filter to search for the AssetEmbedding to update in case it exists. - */ - where: Prisma.AssetEmbeddingWhereUniqueInput - /** - * In case the AssetEmbedding found by the `where` argument doesn't exist, create a new AssetEmbedding with this data. - */ - create: Prisma.XOR - /** - * In case the AssetEmbedding was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * AssetEmbedding delete - */ -export type AssetEmbeddingDeleteArgs = { - /** - * Select specific fields to fetch from the AssetEmbedding - */ - select?: Prisma.AssetEmbeddingSelect | null - /** - * Omit specific fields from the AssetEmbedding - */ - omit?: Prisma.AssetEmbeddingOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetEmbeddingInclude | null - /** - * Filter which AssetEmbedding to delete. - */ - where: Prisma.AssetEmbeddingWhereUniqueInput -} - -/** - * AssetEmbedding deleteMany - */ -export type AssetEmbeddingDeleteManyArgs = { - /** - * Filter which AssetEmbeddings to delete - */ - where?: Prisma.AssetEmbeddingWhereInput - /** - * Limit how many AssetEmbeddings to delete. - */ - limit?: number -} - -/** - * AssetEmbedding without action - */ -export type AssetEmbeddingDefaultArgs = { - /** - * Select specific fields to fetch from the AssetEmbedding - */ - select?: Prisma.AssetEmbeddingSelect | null - /** - * Omit specific fields from the AssetEmbedding - */ - omit?: Prisma.AssetEmbeddingOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetEmbeddingInclude | null -} diff --git a/src/generated/prisma/models/AssetMetadataValue.ts b/src/generated/prisma/models/AssetMetadataValue.ts deleted file mode 100644 index 9eb636c9..00000000 --- a/src/generated/prisma/models/AssetMetadataValue.ts +++ /dev/null @@ -1,1508 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `AssetMetadataValue` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model AssetMetadataValue - * - */ -export type AssetMetadataValueModel = runtime.Types.Result.DefaultSelection - -export type AggregateAssetMetadataValue = { - _count: AssetMetadataValueCountAggregateOutputType | null - _avg: AssetMetadataValueAvgAggregateOutputType | null - _sum: AssetMetadataValueSumAggregateOutputType | null - _min: AssetMetadataValueMinAggregateOutputType | null - _max: AssetMetadataValueMaxAggregateOutputType | null -} - -export type AssetMetadataValueAvgAggregateOutputType = { - numberValue: number | null -} - -export type AssetMetadataValueSumAggregateOutputType = { - numberValue: number | null -} - -export type AssetMetadataValueMinAggregateOutputType = { - id: string | null - assetId: string | null - fieldKey: string | null - stringValue: string | null - numberValue: number | null - booleanValue: boolean | null - dateValue: Date | null -} - -export type AssetMetadataValueMaxAggregateOutputType = { - id: string | null - assetId: string | null - fieldKey: string | null - stringValue: string | null - numberValue: number | null - booleanValue: boolean | null - dateValue: Date | null -} - -export type AssetMetadataValueCountAggregateOutputType = { - id: number - assetId: number - fieldKey: number - stringValue: number - numberValue: number - booleanValue: number - jsonValue: number - dateValue: number - _all: number -} - - -export type AssetMetadataValueAvgAggregateInputType = { - numberValue?: true -} - -export type AssetMetadataValueSumAggregateInputType = { - numberValue?: true -} - -export type AssetMetadataValueMinAggregateInputType = { - id?: true - assetId?: true - fieldKey?: true - stringValue?: true - numberValue?: true - booleanValue?: true - dateValue?: true -} - -export type AssetMetadataValueMaxAggregateInputType = { - id?: true - assetId?: true - fieldKey?: true - stringValue?: true - numberValue?: true - booleanValue?: true - dateValue?: true -} - -export type AssetMetadataValueCountAggregateInputType = { - id?: true - assetId?: true - fieldKey?: true - stringValue?: true - numberValue?: true - booleanValue?: true - jsonValue?: true - dateValue?: true - _all?: true -} - -export type AssetMetadataValueAggregateArgs = { - /** - * Filter which AssetMetadataValue to aggregate. - */ - where?: Prisma.AssetMetadataValueWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AssetMetadataValues to fetch. - */ - orderBy?: Prisma.AssetMetadataValueOrderByWithRelationInput | Prisma.AssetMetadataValueOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.AssetMetadataValueWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AssetMetadataValues from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AssetMetadataValues. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned AssetMetadataValues - **/ - _count?: true | AssetMetadataValueCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to average - **/ - _avg?: AssetMetadataValueAvgAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to sum - **/ - _sum?: AssetMetadataValueSumAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: AssetMetadataValueMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: AssetMetadataValueMaxAggregateInputType -} - -export type GetAssetMetadataValueAggregateType = { - [P in keyof T & keyof AggregateAssetMetadataValue]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type AssetMetadataValueGroupByArgs = { - where?: Prisma.AssetMetadataValueWhereInput - orderBy?: Prisma.AssetMetadataValueOrderByWithAggregationInput | Prisma.AssetMetadataValueOrderByWithAggregationInput[] - by: Prisma.AssetMetadataValueScalarFieldEnum[] | Prisma.AssetMetadataValueScalarFieldEnum - having?: Prisma.AssetMetadataValueScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: AssetMetadataValueCountAggregateInputType | true - _avg?: AssetMetadataValueAvgAggregateInputType - _sum?: AssetMetadataValueSumAggregateInputType - _min?: AssetMetadataValueMinAggregateInputType - _max?: AssetMetadataValueMaxAggregateInputType -} - -export type AssetMetadataValueGroupByOutputType = { - id: string - assetId: string - fieldKey: string - stringValue: string | null - numberValue: number | null - booleanValue: boolean | null - jsonValue:unknown | null - dateValue: Date | null - _count: AssetMetadataValueCountAggregateOutputType | null - _avg: AssetMetadataValueAvgAggregateOutputType | null - _sum: AssetMetadataValueSumAggregateOutputType | null - _min: AssetMetadataValueMinAggregateOutputType | null - _max: AssetMetadataValueMaxAggregateOutputType | null -} - -export type GetAssetMetadataValueGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof AssetMetadataValueGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type AssetMetadataValueWhereInput = { - AND?: Prisma.AssetMetadataValueWhereInput | Prisma.AssetMetadataValueWhereInput[] - OR?: Prisma.AssetMetadataValueWhereInput[] - NOT?: Prisma.AssetMetadataValueWhereInput | Prisma.AssetMetadataValueWhereInput[] - id?: Prisma.StringFilter<"AssetMetadataValue"> | string - assetId?: Prisma.StringFilter<"AssetMetadataValue"> | string - fieldKey?: Prisma.StringFilter<"AssetMetadataValue"> | string - stringValue?: Prisma.StringNullableFilter<"AssetMetadataValue"> | string | null - numberValue?: Prisma.FloatNullableFilter<"AssetMetadataValue"> | number | null - booleanValue?: Prisma.BoolNullableFilter<"AssetMetadataValue"> | boolean | null - jsonValue?: Prisma.JsonNullableFilter<"AssetMetadataValue"> - dateValue?: Prisma.DateTimeNullableFilter<"AssetMetadataValue"> | Date | string | null - asset?: Prisma.XOR -} - -export type AssetMetadataValueOrderByWithRelationInput = { - id?: Prisma.SortOrder - assetId?: Prisma.SortOrder - fieldKey?: Prisma.SortOrder - stringValue?: Prisma.SortOrderInput | Prisma.SortOrder - numberValue?: Prisma.SortOrderInput | Prisma.SortOrder - booleanValue?: Prisma.SortOrderInput | Prisma.SortOrder - jsonValue?: Prisma.SortOrderInput | Prisma.SortOrder - dateValue?: Prisma.SortOrderInput | Prisma.SortOrder - asset?: Prisma.AssetOrderByWithRelationInput -} - -export type AssetMetadataValueWhereUniqueInput = Prisma.AtLeast<{ - id?: string - assetId_fieldKey?: Prisma.AssetMetadataValueAssetIdFieldKeyCompoundUniqueInput - AND?: Prisma.AssetMetadataValueWhereInput | Prisma.AssetMetadataValueWhereInput[] - OR?: Prisma.AssetMetadataValueWhereInput[] - NOT?: Prisma.AssetMetadataValueWhereInput | Prisma.AssetMetadataValueWhereInput[] - assetId?: Prisma.StringFilter<"AssetMetadataValue"> | string - fieldKey?: Prisma.StringFilter<"AssetMetadataValue"> | string - stringValue?: Prisma.StringNullableFilter<"AssetMetadataValue"> | string | null - numberValue?: Prisma.FloatNullableFilter<"AssetMetadataValue"> | number | null - booleanValue?: Prisma.BoolNullableFilter<"AssetMetadataValue"> | boolean | null - jsonValue?: Prisma.JsonNullableFilter<"AssetMetadataValue"> - dateValue?: Prisma.DateTimeNullableFilter<"AssetMetadataValue"> | Date | string | null - asset?: Prisma.XOR -}, "id" | "assetId_fieldKey"> - -export type AssetMetadataValueOrderByWithAggregationInput = { - id?: Prisma.SortOrder - assetId?: Prisma.SortOrder - fieldKey?: Prisma.SortOrder - stringValue?: Prisma.SortOrderInput | Prisma.SortOrder - numberValue?: Prisma.SortOrderInput | Prisma.SortOrder - booleanValue?: Prisma.SortOrderInput | Prisma.SortOrder - jsonValue?: Prisma.SortOrderInput | Prisma.SortOrder - dateValue?: Prisma.SortOrderInput | Prisma.SortOrder - _count?: Prisma.AssetMetadataValueCountOrderByAggregateInput - _avg?: Prisma.AssetMetadataValueAvgOrderByAggregateInput - _max?: Prisma.AssetMetadataValueMaxOrderByAggregateInput - _min?: Prisma.AssetMetadataValueMinOrderByAggregateInput - _sum?: Prisma.AssetMetadataValueSumOrderByAggregateInput -} - -export type AssetMetadataValueScalarWhereWithAggregatesInput = { - AND?: Prisma.AssetMetadataValueScalarWhereWithAggregatesInput | Prisma.AssetMetadataValueScalarWhereWithAggregatesInput[] - OR?: Prisma.AssetMetadataValueScalarWhereWithAggregatesInput[] - NOT?: Prisma.AssetMetadataValueScalarWhereWithAggregatesInput | Prisma.AssetMetadataValueScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"AssetMetadataValue"> | string - assetId?: Prisma.StringWithAggregatesFilter<"AssetMetadataValue"> | string - fieldKey?: Prisma.StringWithAggregatesFilter<"AssetMetadataValue"> | string - stringValue?: Prisma.StringNullableWithAggregatesFilter<"AssetMetadataValue"> | string | null - numberValue?: Prisma.FloatNullableWithAggregatesFilter<"AssetMetadataValue"> | number | null - booleanValue?: Prisma.BoolNullableWithAggregatesFilter<"AssetMetadataValue"> | boolean | null - jsonValue?: Prisma.JsonNullableWithAggregatesFilter<"AssetMetadataValue"> - dateValue?: Prisma.DateTimeNullableWithAggregatesFilter<"AssetMetadataValue"> | Date | string | null -} - -export type AssetMetadataValueCreateInput = { - id?: string - fieldKey: string - stringValue?: string | null - numberValue?: number | null - booleanValue?: boolean | null - jsonValue?:unknown | Prisma.NullableJsonNullValueInput - dateValue?: Date | string | null - asset: Prisma.AssetCreateNestedOneWithoutMetadataValuesInput -} - -export type AssetMetadataValueUncheckedCreateInput = { - id?: string - assetId: string - fieldKey: string - stringValue?: string | null - numberValue?: number | null - booleanValue?: boolean | null - jsonValue?:unknown | Prisma.NullableJsonNullValueInput - dateValue?: Date | string | null -} - -export type AssetMetadataValueUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - fieldKey?: Prisma.StringFieldUpdateOperationsInput | string - stringValue?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - numberValue?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - booleanValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null - jsonValue?:unknown | Prisma.NullableJsonNullValueInput - dateValue?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - asset?: Prisma.AssetUpdateOneRequiredWithoutMetadataValuesNestedInput -} - -export type AssetMetadataValueUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - assetId?: Prisma.StringFieldUpdateOperationsInput | string - fieldKey?: Prisma.StringFieldUpdateOperationsInput | string - stringValue?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - numberValue?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - booleanValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null - jsonValue?:unknown | Prisma.NullableJsonNullValueInput - dateValue?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null -} - -export type AssetMetadataValueCreateManyInput = { - id?: string - assetId: string - fieldKey: string - stringValue?: string | null - numberValue?: number | null - booleanValue?: boolean | null - jsonValue?:unknown | Prisma.NullableJsonNullValueInput - dateValue?: Date | string | null -} - -export type AssetMetadataValueUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - fieldKey?: Prisma.StringFieldUpdateOperationsInput | string - stringValue?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - numberValue?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - booleanValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null - jsonValue?:unknown | Prisma.NullableJsonNullValueInput - dateValue?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null -} - -export type AssetMetadataValueUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - assetId?: Prisma.StringFieldUpdateOperationsInput | string - fieldKey?: Prisma.StringFieldUpdateOperationsInput | string - stringValue?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - numberValue?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - booleanValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null - jsonValue?:unknown | Prisma.NullableJsonNullValueInput - dateValue?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null -} - -export type AssetMetadataValueListRelationFilter = { - every?: Prisma.AssetMetadataValueWhereInput - some?: Prisma.AssetMetadataValueWhereInput - none?: Prisma.AssetMetadataValueWhereInput -} - -export type AssetMetadataValueOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type AssetMetadataValueAssetIdFieldKeyCompoundUniqueInput = { - assetId: string - fieldKey: string -} - -export type AssetMetadataValueCountOrderByAggregateInput = { - id?: Prisma.SortOrder - assetId?: Prisma.SortOrder - fieldKey?: Prisma.SortOrder - stringValue?: Prisma.SortOrder - numberValue?: Prisma.SortOrder - booleanValue?: Prisma.SortOrder - jsonValue?: Prisma.SortOrder - dateValue?: Prisma.SortOrder -} - -export type AssetMetadataValueAvgOrderByAggregateInput = { - numberValue?: Prisma.SortOrder -} - -export type AssetMetadataValueMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - assetId?: Prisma.SortOrder - fieldKey?: Prisma.SortOrder - stringValue?: Prisma.SortOrder - numberValue?: Prisma.SortOrder - booleanValue?: Prisma.SortOrder - dateValue?: Prisma.SortOrder -} - -export type AssetMetadataValueMinOrderByAggregateInput = { - id?: Prisma.SortOrder - assetId?: Prisma.SortOrder - fieldKey?: Prisma.SortOrder - stringValue?: Prisma.SortOrder - numberValue?: Prisma.SortOrder - booleanValue?: Prisma.SortOrder - dateValue?: Prisma.SortOrder -} - -export type AssetMetadataValueSumOrderByAggregateInput = { - numberValue?: Prisma.SortOrder -} - -export type AssetMetadataValueCreateNestedManyWithoutAssetInput = { - create?: Prisma.XOR | Prisma.AssetMetadataValueCreateWithoutAssetInput[] | Prisma.AssetMetadataValueUncheckedCreateWithoutAssetInput[] - connectOrCreate?: Prisma.AssetMetadataValueCreateOrConnectWithoutAssetInput | Prisma.AssetMetadataValueCreateOrConnectWithoutAssetInput[] - createMany?: Prisma.AssetMetadataValueCreateManyAssetInputEnvelope - connect?: Prisma.AssetMetadataValueWhereUniqueInput | Prisma.AssetMetadataValueWhereUniqueInput[] -} - -export type AssetMetadataValueUncheckedCreateNestedManyWithoutAssetInput = { - create?: Prisma.XOR | Prisma.AssetMetadataValueCreateWithoutAssetInput[] | Prisma.AssetMetadataValueUncheckedCreateWithoutAssetInput[] - connectOrCreate?: Prisma.AssetMetadataValueCreateOrConnectWithoutAssetInput | Prisma.AssetMetadataValueCreateOrConnectWithoutAssetInput[] - createMany?: Prisma.AssetMetadataValueCreateManyAssetInputEnvelope - connect?: Prisma.AssetMetadataValueWhereUniqueInput | Prisma.AssetMetadataValueWhereUniqueInput[] -} - -export type AssetMetadataValueUpdateManyWithoutAssetNestedInput = { - create?: Prisma.XOR | Prisma.AssetMetadataValueCreateWithoutAssetInput[] | Prisma.AssetMetadataValueUncheckedCreateWithoutAssetInput[] - connectOrCreate?: Prisma.AssetMetadataValueCreateOrConnectWithoutAssetInput | Prisma.AssetMetadataValueCreateOrConnectWithoutAssetInput[] - upsert?: Prisma.AssetMetadataValueUpsertWithWhereUniqueWithoutAssetInput | Prisma.AssetMetadataValueUpsertWithWhereUniqueWithoutAssetInput[] - createMany?: Prisma.AssetMetadataValueCreateManyAssetInputEnvelope - set?: Prisma.AssetMetadataValueWhereUniqueInput | Prisma.AssetMetadataValueWhereUniqueInput[] - disconnect?: Prisma.AssetMetadataValueWhereUniqueInput | Prisma.AssetMetadataValueWhereUniqueInput[] - delete?: Prisma.AssetMetadataValueWhereUniqueInput | Prisma.AssetMetadataValueWhereUniqueInput[] - connect?: Prisma.AssetMetadataValueWhereUniqueInput | Prisma.AssetMetadataValueWhereUniqueInput[] - update?: Prisma.AssetMetadataValueUpdateWithWhereUniqueWithoutAssetInput | Prisma.AssetMetadataValueUpdateWithWhereUniqueWithoutAssetInput[] - updateMany?: Prisma.AssetMetadataValueUpdateManyWithWhereWithoutAssetInput | Prisma.AssetMetadataValueUpdateManyWithWhereWithoutAssetInput[] - deleteMany?: Prisma.AssetMetadataValueScalarWhereInput | Prisma.AssetMetadataValueScalarWhereInput[] -} - -export type AssetMetadataValueUncheckedUpdateManyWithoutAssetNestedInput = { - create?: Prisma.XOR | Prisma.AssetMetadataValueCreateWithoutAssetInput[] | Prisma.AssetMetadataValueUncheckedCreateWithoutAssetInput[] - connectOrCreate?: Prisma.AssetMetadataValueCreateOrConnectWithoutAssetInput | Prisma.AssetMetadataValueCreateOrConnectWithoutAssetInput[] - upsert?: Prisma.AssetMetadataValueUpsertWithWhereUniqueWithoutAssetInput | Prisma.AssetMetadataValueUpsertWithWhereUniqueWithoutAssetInput[] - createMany?: Prisma.AssetMetadataValueCreateManyAssetInputEnvelope - set?: Prisma.AssetMetadataValueWhereUniqueInput | Prisma.AssetMetadataValueWhereUniqueInput[] - disconnect?: Prisma.AssetMetadataValueWhereUniqueInput | Prisma.AssetMetadataValueWhereUniqueInput[] - delete?: Prisma.AssetMetadataValueWhereUniqueInput | Prisma.AssetMetadataValueWhereUniqueInput[] - connect?: Prisma.AssetMetadataValueWhereUniqueInput | Prisma.AssetMetadataValueWhereUniqueInput[] - update?: Prisma.AssetMetadataValueUpdateWithWhereUniqueWithoutAssetInput | Prisma.AssetMetadataValueUpdateWithWhereUniqueWithoutAssetInput[] - updateMany?: Prisma.AssetMetadataValueUpdateManyWithWhereWithoutAssetInput | Prisma.AssetMetadataValueUpdateManyWithWhereWithoutAssetInput[] - deleteMany?: Prisma.AssetMetadataValueScalarWhereInput | Prisma.AssetMetadataValueScalarWhereInput[] -} - -export type NullableFloatFieldUpdateOperationsInput = { - set?: number | null - increment?: number - decrement?: number - multiply?: number - divide?: number -} - -export type NullableBoolFieldUpdateOperationsInput = { - set?: boolean | null -} - -export type AssetMetadataValueCreateWithoutAssetInput = { - id?: string - fieldKey: string - stringValue?: string | null - numberValue?: number | null - booleanValue?: boolean | null - jsonValue?:unknown | Prisma.NullableJsonNullValueInput - dateValue?: Date | string | null -} - -export type AssetMetadataValueUncheckedCreateWithoutAssetInput = { - id?: string - fieldKey: string - stringValue?: string | null - numberValue?: number | null - booleanValue?: boolean | null - jsonValue?:unknown | Prisma.NullableJsonNullValueInput - dateValue?: Date | string | null -} - -export type AssetMetadataValueCreateOrConnectWithoutAssetInput = { - where: Prisma.AssetMetadataValueWhereUniqueInput - create: Prisma.XOR -} - -export type AssetMetadataValueCreateManyAssetInputEnvelope = { - data: Prisma.AssetMetadataValueCreateManyAssetInput | Prisma.AssetMetadataValueCreateManyAssetInput[] - skipDuplicates?: boolean -} - -export type AssetMetadataValueUpsertWithWhereUniqueWithoutAssetInput = { - where: Prisma.AssetMetadataValueWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type AssetMetadataValueUpdateWithWhereUniqueWithoutAssetInput = { - where: Prisma.AssetMetadataValueWhereUniqueInput - data: Prisma.XOR -} - -export type AssetMetadataValueUpdateManyWithWhereWithoutAssetInput = { - where: Prisma.AssetMetadataValueScalarWhereInput - data: Prisma.XOR -} - -export type AssetMetadataValueScalarWhereInput = { - AND?: Prisma.AssetMetadataValueScalarWhereInput | Prisma.AssetMetadataValueScalarWhereInput[] - OR?: Prisma.AssetMetadataValueScalarWhereInput[] - NOT?: Prisma.AssetMetadataValueScalarWhereInput | Prisma.AssetMetadataValueScalarWhereInput[] - id?: Prisma.StringFilter<"AssetMetadataValue"> | string - assetId?: Prisma.StringFilter<"AssetMetadataValue"> | string - fieldKey?: Prisma.StringFilter<"AssetMetadataValue"> | string - stringValue?: Prisma.StringNullableFilter<"AssetMetadataValue"> | string | null - numberValue?: Prisma.FloatNullableFilter<"AssetMetadataValue"> | number | null - booleanValue?: Prisma.BoolNullableFilter<"AssetMetadataValue"> | boolean | null - jsonValue?: Prisma.JsonNullableFilter<"AssetMetadataValue"> - dateValue?: Prisma.DateTimeNullableFilter<"AssetMetadataValue"> | Date | string | null -} - -export type AssetMetadataValueCreateManyAssetInput = { - id?: string - fieldKey: string - stringValue?: string | null - numberValue?: number | null - booleanValue?: boolean | null - jsonValue?:unknown | Prisma.NullableJsonNullValueInput - dateValue?: Date | string | null -} - -export type AssetMetadataValueUpdateWithoutAssetInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - fieldKey?: Prisma.StringFieldUpdateOperationsInput | string - stringValue?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - numberValue?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - booleanValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null - jsonValue?:unknown | Prisma.NullableJsonNullValueInput - dateValue?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null -} - -export type AssetMetadataValueUncheckedUpdateWithoutAssetInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - fieldKey?: Prisma.StringFieldUpdateOperationsInput | string - stringValue?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - numberValue?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - booleanValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null - jsonValue?:unknown | Prisma.NullableJsonNullValueInput - dateValue?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null -} - -export type AssetMetadataValueUncheckedUpdateManyWithoutAssetInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - fieldKey?: Prisma.StringFieldUpdateOperationsInput | string - stringValue?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - numberValue?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null - booleanValue?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null - jsonValue?:unknown | Prisma.NullableJsonNullValueInput - dateValue?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null -} - - - -export type AssetMetadataValueSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - assetId?: boolean - fieldKey?: boolean - stringValue?: boolean - numberValue?: boolean - booleanValue?: boolean - jsonValue?: boolean - dateValue?: boolean - asset?: boolean | Prisma.AssetDefaultArgs -}, ExtArgs["result"]["assetMetadataValue"]> - -export type AssetMetadataValueSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - assetId?: boolean - fieldKey?: boolean - stringValue?: boolean - numberValue?: boolean - booleanValue?: boolean - jsonValue?: boolean - dateValue?: boolean - asset?: boolean | Prisma.AssetDefaultArgs -}, ExtArgs["result"]["assetMetadataValue"]> - -export type AssetMetadataValueSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - assetId?: boolean - fieldKey?: boolean - stringValue?: boolean - numberValue?: boolean - booleanValue?: boolean - jsonValue?: boolean - dateValue?: boolean - asset?: boolean | Prisma.AssetDefaultArgs -}, ExtArgs["result"]["assetMetadataValue"]> - -export type AssetMetadataValueSelectScalar = { - id?: boolean - assetId?: boolean - fieldKey?: boolean - stringValue?: boolean - numberValue?: boolean - booleanValue?: boolean - jsonValue?: boolean - dateValue?: boolean -} - -export type AssetMetadataValueOmit = runtime.Types.Extensions.GetOmit<"id" | "assetId" | "fieldKey" | "stringValue" | "numberValue" | "booleanValue" | "jsonValue" | "dateValue", ExtArgs["result"]["assetMetadataValue"]> -export type AssetMetadataValueInclude = { - asset?: boolean | Prisma.AssetDefaultArgs -} -export type AssetMetadataValueIncludeCreateManyAndReturn = { - asset?: boolean | Prisma.AssetDefaultArgs -} -export type AssetMetadataValueIncludeUpdateManyAndReturn = { - asset?: boolean | Prisma.AssetDefaultArgs -} - -export type $AssetMetadataValuePayload = { - name: "AssetMetadataValue" - objects: { - asset: Prisma.$AssetPayload - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - assetId: string - fieldKey: string - stringValue: string | null - numberValue: number | null - booleanValue: boolean | null - jsonValue:unknown | null - dateValue: Date | null - }, ExtArgs["result"]["assetMetadataValue"]> - composites: {} -} - -export type AssetMetadataValueGetPayload = runtime.Types.Result.GetResult - -export type AssetMetadataValueCountArgs = - Omit & { - select?: AssetMetadataValueCountAggregateInputType | true - } - -export interface AssetMetadataValueDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['AssetMetadataValue'], meta: { name: 'AssetMetadataValue' } } - /** - * Find zero or one AssetMetadataValue that matches the filter. - * @param {AssetMetadataValueFindUniqueArgs} args - Arguments to find a AssetMetadataValue - * @example - * // Get one AssetMetadataValue - * const assetMetadataValue = await prisma.assetMetadataValue.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AssetMetadataValueClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one AssetMetadataValue that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {AssetMetadataValueFindUniqueOrThrowArgs} args - Arguments to find a AssetMetadataValue - * @example - * // Get one AssetMetadataValue - * const assetMetadataValue = await prisma.assetMetadataValue.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AssetMetadataValueClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first AssetMetadataValue that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetMetadataValueFindFirstArgs} args - Arguments to find a AssetMetadataValue - * @example - * // Get one AssetMetadataValue - * const assetMetadataValue = await prisma.assetMetadataValue.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AssetMetadataValueClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first AssetMetadataValue that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetMetadataValueFindFirstOrThrowArgs} args - Arguments to find a AssetMetadataValue - * @example - * // Get one AssetMetadataValue - * const assetMetadataValue = await prisma.assetMetadataValue.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AssetMetadataValueClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more AssetMetadataValues that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetMetadataValueFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all AssetMetadataValues - * const assetMetadataValues = await prisma.assetMetadataValue.findMany() - * - * // Get first 10 AssetMetadataValues - * const assetMetadataValues = await prisma.assetMetadataValue.findMany({ take: 10 }) - * - * // Only select the `id` - * const assetMetadataValueWithIdOnly = await prisma.assetMetadataValue.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a AssetMetadataValue. - * @param {AssetMetadataValueCreateArgs} args - Arguments to create a AssetMetadataValue. - * @example - * // Create one AssetMetadataValue - * const AssetMetadataValue = await prisma.assetMetadataValue.create({ - * data: { - * // ... data to create a AssetMetadataValue - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__AssetMetadataValueClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many AssetMetadataValues. - * @param {AssetMetadataValueCreateManyArgs} args - Arguments to create many AssetMetadataValues. - * @example - * // Create many AssetMetadataValues - * const assetMetadataValue = await prisma.assetMetadataValue.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many AssetMetadataValues and returns the data saved in the database. - * @param {AssetMetadataValueCreateManyAndReturnArgs} args - Arguments to create many AssetMetadataValues. - * @example - * // Create many AssetMetadataValues - * const assetMetadataValue = await prisma.assetMetadataValue.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many AssetMetadataValues and only return the `id` - * const assetMetadataValueWithIdOnly = await prisma.assetMetadataValue.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a AssetMetadataValue. - * @param {AssetMetadataValueDeleteArgs} args - Arguments to delete one AssetMetadataValue. - * @example - * // Delete one AssetMetadataValue - * const AssetMetadataValue = await prisma.assetMetadataValue.delete({ - * where: { - * // ... filter to delete one AssetMetadataValue - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__AssetMetadataValueClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one AssetMetadataValue. - * @param {AssetMetadataValueUpdateArgs} args - Arguments to update one AssetMetadataValue. - * @example - * // Update one AssetMetadataValue - * const assetMetadataValue = await prisma.assetMetadataValue.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__AssetMetadataValueClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more AssetMetadataValues. - * @param {AssetMetadataValueDeleteManyArgs} args - Arguments to filter AssetMetadataValues to delete. - * @example - * // Delete a few AssetMetadataValues - * const { count } = await prisma.assetMetadataValue.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more AssetMetadataValues. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetMetadataValueUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many AssetMetadataValues - * const assetMetadataValue = await prisma.assetMetadataValue.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more AssetMetadataValues and returns the data updated in the database. - * @param {AssetMetadataValueUpdateManyAndReturnArgs} args - Arguments to update many AssetMetadataValues. - * @example - * // Update many AssetMetadataValues - * const assetMetadataValue = await prisma.assetMetadataValue.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more AssetMetadataValues and only return the `id` - * const assetMetadataValueWithIdOnly = await prisma.assetMetadataValue.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one AssetMetadataValue. - * @param {AssetMetadataValueUpsertArgs} args - Arguments to update or create a AssetMetadataValue. - * @example - * // Update or create a AssetMetadataValue - * const assetMetadataValue = await prisma.assetMetadataValue.upsert({ - * create: { - * // ... data to create a AssetMetadataValue - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the AssetMetadataValue we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AssetMetadataValueClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of AssetMetadataValues. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetMetadataValueCountArgs} args - Arguments to filter AssetMetadataValues to count. - * @example - * // Count the number of AssetMetadataValues - * const count = await prisma.assetMetadataValue.count({ - * where: { - * // ... the filter for the AssetMetadataValues we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a AssetMetadataValue. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetMetadataValueAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by AssetMetadataValue. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AssetMetadataValueGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends AssetMetadataValueGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: AssetMetadataValueGroupByArgs['orderBy'] } - : { orderBy?: AssetMetadataValueGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetAssetMetadataValueGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the AssetMetadataValue model - */ -readonly fields: AssetMetadataValueFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for AssetMetadataValue. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__AssetMetadataValueClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - asset = {}>(args?: Prisma.Subset>): Prisma.Prisma__AssetClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the AssetMetadataValue model - */ -export interface AssetMetadataValueFieldRefs { - readonly id: Prisma.FieldRef<"AssetMetadataValue", 'String'> - readonly assetId: Prisma.FieldRef<"AssetMetadataValue", 'String'> - readonly fieldKey: Prisma.FieldRef<"AssetMetadataValue", 'String'> - readonly stringValue: Prisma.FieldRef<"AssetMetadataValue", 'String'> - readonly numberValue: Prisma.FieldRef<"AssetMetadataValue", 'Float'> - readonly booleanValue: Prisma.FieldRef<"AssetMetadataValue", 'Boolean'> - readonly jsonValue: Prisma.FieldRef<"AssetMetadataValue", 'Json'> - readonly dateValue: Prisma.FieldRef<"AssetMetadataValue", 'DateTime'> -} - - -// Custom InputTypes -/** - * AssetMetadataValue findUnique - */ -export type AssetMetadataValueFindUniqueArgs = { - /** - * Select specific fields to fetch from the AssetMetadataValue - */ - select?: Prisma.AssetMetadataValueSelect | null - /** - * Omit specific fields from the AssetMetadataValue - */ - omit?: Prisma.AssetMetadataValueOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetMetadataValueInclude | null - /** - * Filter, which AssetMetadataValue to fetch. - */ - where: Prisma.AssetMetadataValueWhereUniqueInput -} - -/** - * AssetMetadataValue findUniqueOrThrow - */ -export type AssetMetadataValueFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the AssetMetadataValue - */ - select?: Prisma.AssetMetadataValueSelect | null - /** - * Omit specific fields from the AssetMetadataValue - */ - omit?: Prisma.AssetMetadataValueOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetMetadataValueInclude | null - /** - * Filter, which AssetMetadataValue to fetch. - */ - where: Prisma.AssetMetadataValueWhereUniqueInput -} - -/** - * AssetMetadataValue findFirst - */ -export type AssetMetadataValueFindFirstArgs = { - /** - * Select specific fields to fetch from the AssetMetadataValue - */ - select?: Prisma.AssetMetadataValueSelect | null - /** - * Omit specific fields from the AssetMetadataValue - */ - omit?: Prisma.AssetMetadataValueOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetMetadataValueInclude | null - /** - * Filter, which AssetMetadataValue to fetch. - */ - where?: Prisma.AssetMetadataValueWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AssetMetadataValues to fetch. - */ - orderBy?: Prisma.AssetMetadataValueOrderByWithRelationInput | Prisma.AssetMetadataValueOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for AssetMetadataValues. - */ - cursor?: Prisma.AssetMetadataValueWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AssetMetadataValues from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AssetMetadataValues. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of AssetMetadataValues. - */ - distinct?: Prisma.AssetMetadataValueScalarFieldEnum | Prisma.AssetMetadataValueScalarFieldEnum[] -} - -/** - * AssetMetadataValue findFirstOrThrow - */ -export type AssetMetadataValueFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the AssetMetadataValue - */ - select?: Prisma.AssetMetadataValueSelect | null - /** - * Omit specific fields from the AssetMetadataValue - */ - omit?: Prisma.AssetMetadataValueOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetMetadataValueInclude | null - /** - * Filter, which AssetMetadataValue to fetch. - */ - where?: Prisma.AssetMetadataValueWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AssetMetadataValues to fetch. - */ - orderBy?: Prisma.AssetMetadataValueOrderByWithRelationInput | Prisma.AssetMetadataValueOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for AssetMetadataValues. - */ - cursor?: Prisma.AssetMetadataValueWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AssetMetadataValues from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AssetMetadataValues. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of AssetMetadataValues. - */ - distinct?: Prisma.AssetMetadataValueScalarFieldEnum | Prisma.AssetMetadataValueScalarFieldEnum[] -} - -/** - * AssetMetadataValue findMany - */ -export type AssetMetadataValueFindManyArgs = { - /** - * Select specific fields to fetch from the AssetMetadataValue - */ - select?: Prisma.AssetMetadataValueSelect | null - /** - * Omit specific fields from the AssetMetadataValue - */ - omit?: Prisma.AssetMetadataValueOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetMetadataValueInclude | null - /** - * Filter, which AssetMetadataValues to fetch. - */ - where?: Prisma.AssetMetadataValueWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AssetMetadataValues to fetch. - */ - orderBy?: Prisma.AssetMetadataValueOrderByWithRelationInput | Prisma.AssetMetadataValueOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing AssetMetadataValues. - */ - cursor?: Prisma.AssetMetadataValueWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AssetMetadataValues from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AssetMetadataValues. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of AssetMetadataValues. - */ - distinct?: Prisma.AssetMetadataValueScalarFieldEnum | Prisma.AssetMetadataValueScalarFieldEnum[] -} - -/** - * AssetMetadataValue create - */ -export type AssetMetadataValueCreateArgs = { - /** - * Select specific fields to fetch from the AssetMetadataValue - */ - select?: Prisma.AssetMetadataValueSelect | null - /** - * Omit specific fields from the AssetMetadataValue - */ - omit?: Prisma.AssetMetadataValueOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetMetadataValueInclude | null - /** - * The data needed to create a AssetMetadataValue. - */ - data: Prisma.XOR -} - -/** - * AssetMetadataValue createMany - */ -export type AssetMetadataValueCreateManyArgs = { - /** - * The data used to create many AssetMetadataValues. - */ - data: Prisma.AssetMetadataValueCreateManyInput | Prisma.AssetMetadataValueCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * AssetMetadataValue createManyAndReturn - */ -export type AssetMetadataValueCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the AssetMetadataValue - */ - select?: Prisma.AssetMetadataValueSelectCreateManyAndReturn | null - /** - * Omit specific fields from the AssetMetadataValue - */ - omit?: Prisma.AssetMetadataValueOmit | null - /** - * The data used to create many AssetMetadataValues. - */ - data: Prisma.AssetMetadataValueCreateManyInput | Prisma.AssetMetadataValueCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetMetadataValueIncludeCreateManyAndReturn | null -} - -/** - * AssetMetadataValue update - */ -export type AssetMetadataValueUpdateArgs = { - /** - * Select specific fields to fetch from the AssetMetadataValue - */ - select?: Prisma.AssetMetadataValueSelect | null - /** - * Omit specific fields from the AssetMetadataValue - */ - omit?: Prisma.AssetMetadataValueOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetMetadataValueInclude | null - /** - * The data needed to update a AssetMetadataValue. - */ - data: Prisma.XOR - /** - * Choose, which AssetMetadataValue to update. - */ - where: Prisma.AssetMetadataValueWhereUniqueInput -} - -/** - * AssetMetadataValue updateMany - */ -export type AssetMetadataValueUpdateManyArgs = { - /** - * The data used to update AssetMetadataValues. - */ - data: Prisma.XOR - /** - * Filter which AssetMetadataValues to update - */ - where?: Prisma.AssetMetadataValueWhereInput - /** - * Limit how many AssetMetadataValues to update. - */ - limit?: number -} - -/** - * AssetMetadataValue updateManyAndReturn - */ -export type AssetMetadataValueUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the AssetMetadataValue - */ - select?: Prisma.AssetMetadataValueSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the AssetMetadataValue - */ - omit?: Prisma.AssetMetadataValueOmit | null - /** - * The data used to update AssetMetadataValues. - */ - data: Prisma.XOR - /** - * Filter which AssetMetadataValues to update - */ - where?: Prisma.AssetMetadataValueWhereInput - /** - * Limit how many AssetMetadataValues to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetMetadataValueIncludeUpdateManyAndReturn | null -} - -/** - * AssetMetadataValue upsert - */ -export type AssetMetadataValueUpsertArgs = { - /** - * Select specific fields to fetch from the AssetMetadataValue - */ - select?: Prisma.AssetMetadataValueSelect | null - /** - * Omit specific fields from the AssetMetadataValue - */ - omit?: Prisma.AssetMetadataValueOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetMetadataValueInclude | null - /** - * The filter to search for the AssetMetadataValue to update in case it exists. - */ - where: Prisma.AssetMetadataValueWhereUniqueInput - /** - * In case the AssetMetadataValue found by the `where` argument doesn't exist, create a new AssetMetadataValue with this data. - */ - create: Prisma.XOR - /** - * In case the AssetMetadataValue was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * AssetMetadataValue delete - */ -export type AssetMetadataValueDeleteArgs = { - /** - * Select specific fields to fetch from the AssetMetadataValue - */ - select?: Prisma.AssetMetadataValueSelect | null - /** - * Omit specific fields from the AssetMetadataValue - */ - omit?: Prisma.AssetMetadataValueOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetMetadataValueInclude | null - /** - * Filter which AssetMetadataValue to delete. - */ - where: Prisma.AssetMetadataValueWhereUniqueInput -} - -/** - * AssetMetadataValue deleteMany - */ -export type AssetMetadataValueDeleteManyArgs = { - /** - * Filter which AssetMetadataValues to delete - */ - where?: Prisma.AssetMetadataValueWhereInput - /** - * Limit how many AssetMetadataValues to delete. - */ - limit?: number -} - -/** - * AssetMetadataValue without action - */ -export type AssetMetadataValueDefaultArgs = { - /** - * Select specific fields to fetch from the AssetMetadataValue - */ - select?: Prisma.AssetMetadataValueSelect | null - /** - * Omit specific fields from the AssetMetadataValue - */ - omit?: Prisma.AssetMetadataValueOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetMetadataValueInclude | null -} diff --git a/src/generated/prisma/models/AuthToken.ts b/src/generated/prisma/models/AuthToken.ts deleted file mode 100644 index 21abe42a..00000000 --- a/src/generated/prisma/models/AuthToken.ts +++ /dev/null @@ -1,1382 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `AuthToken` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model AuthToken - * - */ -export type AuthTokenModel = runtime.Types.Result.DefaultSelection - -export type AggregateAuthToken = { - _count: AuthTokenCountAggregateOutputType | null - _min: AuthTokenMinAggregateOutputType | null - _max: AuthTokenMaxAggregateOutputType | null -} - -export type AuthTokenMinAggregateOutputType = { - id: string | null - accessToken: string | null - refreshToken: string | null - accessTokenExpiresAt: Date | null - refreshTokenExpiresAt: Date | null - userId: string | null -} - -export type AuthTokenMaxAggregateOutputType = { - id: string | null - accessToken: string | null - refreshToken: string | null - accessTokenExpiresAt: Date | null - refreshTokenExpiresAt: Date | null - userId: string | null -} - -export type AuthTokenCountAggregateOutputType = { - id: number - accessToken: number - refreshToken: number - accessTokenExpiresAt: number - refreshTokenExpiresAt: number - userId: number - _all: number -} - - -export type AuthTokenMinAggregateInputType = { - id?: true - accessToken?: true - refreshToken?: true - accessTokenExpiresAt?: true - refreshTokenExpiresAt?: true - userId?: true -} - -export type AuthTokenMaxAggregateInputType = { - id?: true - accessToken?: true - refreshToken?: true - accessTokenExpiresAt?: true - refreshTokenExpiresAt?: true - userId?: true -} - -export type AuthTokenCountAggregateInputType = { - id?: true - accessToken?: true - refreshToken?: true - accessTokenExpiresAt?: true - refreshTokenExpiresAt?: true - userId?: true - _all?: true -} - -export type AuthTokenAggregateArgs = { - /** - * Filter which AuthToken to aggregate. - */ - where?: Prisma.AuthTokenWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AuthTokens to fetch. - */ - orderBy?: Prisma.AuthTokenOrderByWithRelationInput | Prisma.AuthTokenOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.AuthTokenWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AuthTokens from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AuthTokens. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned AuthTokens - **/ - _count?: true | AuthTokenCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: AuthTokenMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: AuthTokenMaxAggregateInputType -} - -export type GetAuthTokenAggregateType = { - [P in keyof T & keyof AggregateAuthToken]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type AuthTokenGroupByArgs = { - where?: Prisma.AuthTokenWhereInput - orderBy?: Prisma.AuthTokenOrderByWithAggregationInput | Prisma.AuthTokenOrderByWithAggregationInput[] - by: Prisma.AuthTokenScalarFieldEnum[] | Prisma.AuthTokenScalarFieldEnum - having?: Prisma.AuthTokenScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: AuthTokenCountAggregateInputType | true - _min?: AuthTokenMinAggregateInputType - _max?: AuthTokenMaxAggregateInputType -} - -export type AuthTokenGroupByOutputType = { - id: string - accessToken: string - refreshToken: string - accessTokenExpiresAt: Date - refreshTokenExpiresAt: Date - userId: string - _count: AuthTokenCountAggregateOutputType | null - _min: AuthTokenMinAggregateOutputType | null - _max: AuthTokenMaxAggregateOutputType | null -} - -export type GetAuthTokenGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof AuthTokenGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type AuthTokenWhereInput = { - AND?: Prisma.AuthTokenWhereInput | Prisma.AuthTokenWhereInput[] - OR?: Prisma.AuthTokenWhereInput[] - NOT?: Prisma.AuthTokenWhereInput | Prisma.AuthTokenWhereInput[] - id?: Prisma.StringFilter<"AuthToken"> | string - accessToken?: Prisma.StringFilter<"AuthToken"> | string - refreshToken?: Prisma.StringFilter<"AuthToken"> | string - accessTokenExpiresAt?: Prisma.DateTimeFilter<"AuthToken"> | Date | string - refreshTokenExpiresAt?: Prisma.DateTimeFilter<"AuthToken"> | Date | string - userId?: Prisma.StringFilter<"AuthToken"> | string - user?: Prisma.XOR -} - -export type AuthTokenOrderByWithRelationInput = { - id?: Prisma.SortOrder - accessToken?: Prisma.SortOrder - refreshToken?: Prisma.SortOrder - accessTokenExpiresAt?: Prisma.SortOrder - refreshTokenExpiresAt?: Prisma.SortOrder - userId?: Prisma.SortOrder - user?: Prisma.UserOrderByWithRelationInput -} - -export type AuthTokenWhereUniqueInput = Prisma.AtLeast<{ - id?: string - accessToken?: string - refreshToken?: string - AND?: Prisma.AuthTokenWhereInput | Prisma.AuthTokenWhereInput[] - OR?: Prisma.AuthTokenWhereInput[] - NOT?: Prisma.AuthTokenWhereInput | Prisma.AuthTokenWhereInput[] - accessTokenExpiresAt?: Prisma.DateTimeFilter<"AuthToken"> | Date | string - refreshTokenExpiresAt?: Prisma.DateTimeFilter<"AuthToken"> | Date | string - userId?: Prisma.StringFilter<"AuthToken"> | string - user?: Prisma.XOR -}, "id" | "accessToken" | "refreshToken"> - -export type AuthTokenOrderByWithAggregationInput = { - id?: Prisma.SortOrder - accessToken?: Prisma.SortOrder - refreshToken?: Prisma.SortOrder - accessTokenExpiresAt?: Prisma.SortOrder - refreshTokenExpiresAt?: Prisma.SortOrder - userId?: Prisma.SortOrder - _count?: Prisma.AuthTokenCountOrderByAggregateInput - _max?: Prisma.AuthTokenMaxOrderByAggregateInput - _min?: Prisma.AuthTokenMinOrderByAggregateInput -} - -export type AuthTokenScalarWhereWithAggregatesInput = { - AND?: Prisma.AuthTokenScalarWhereWithAggregatesInput | Prisma.AuthTokenScalarWhereWithAggregatesInput[] - OR?: Prisma.AuthTokenScalarWhereWithAggregatesInput[] - NOT?: Prisma.AuthTokenScalarWhereWithAggregatesInput | Prisma.AuthTokenScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"AuthToken"> | string - accessToken?: Prisma.StringWithAggregatesFilter<"AuthToken"> | string - refreshToken?: Prisma.StringWithAggregatesFilter<"AuthToken"> | string - accessTokenExpiresAt?: Prisma.DateTimeWithAggregatesFilter<"AuthToken"> | Date | string - refreshTokenExpiresAt?: Prisma.DateTimeWithAggregatesFilter<"AuthToken"> | Date | string - userId?: Prisma.StringWithAggregatesFilter<"AuthToken"> | string -} - -export type AuthTokenCreateInput = { - id?: string - accessToken: string - refreshToken: string - accessTokenExpiresAt: Date | string - refreshTokenExpiresAt: Date | string - user: Prisma.UserCreateNestedOneWithoutAuthTokensInput -} - -export type AuthTokenUncheckedCreateInput = { - id?: string - accessToken: string - refreshToken: string - accessTokenExpiresAt: Date | string - refreshTokenExpiresAt: Date | string - userId: string -} - -export type AuthTokenUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - accessToken?: Prisma.StringFieldUpdateOperationsInput | string - refreshToken?: Prisma.StringFieldUpdateOperationsInput | string - accessTokenExpiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - refreshTokenExpiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - user?: Prisma.UserUpdateOneRequiredWithoutAuthTokensNestedInput -} - -export type AuthTokenUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - accessToken?: Prisma.StringFieldUpdateOperationsInput | string - refreshToken?: Prisma.StringFieldUpdateOperationsInput | string - accessTokenExpiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - refreshTokenExpiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - userId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type AuthTokenCreateManyInput = { - id?: string - accessToken: string - refreshToken: string - accessTokenExpiresAt: Date | string - refreshTokenExpiresAt: Date | string - userId: string -} - -export type AuthTokenUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - accessToken?: Prisma.StringFieldUpdateOperationsInput | string - refreshToken?: Prisma.StringFieldUpdateOperationsInput | string - accessTokenExpiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - refreshTokenExpiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AuthTokenUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - accessToken?: Prisma.StringFieldUpdateOperationsInput | string - refreshToken?: Prisma.StringFieldUpdateOperationsInput | string - accessTokenExpiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - refreshTokenExpiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - userId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type AuthTokenListRelationFilter = { - every?: Prisma.AuthTokenWhereInput - some?: Prisma.AuthTokenWhereInput - none?: Prisma.AuthTokenWhereInput -} - -export type AuthTokenOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type AuthTokenCountOrderByAggregateInput = { - id?: Prisma.SortOrder - accessToken?: Prisma.SortOrder - refreshToken?: Prisma.SortOrder - accessTokenExpiresAt?: Prisma.SortOrder - refreshTokenExpiresAt?: Prisma.SortOrder - userId?: Prisma.SortOrder -} - -export type AuthTokenMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - accessToken?: Prisma.SortOrder - refreshToken?: Prisma.SortOrder - accessTokenExpiresAt?: Prisma.SortOrder - refreshTokenExpiresAt?: Prisma.SortOrder - userId?: Prisma.SortOrder -} - -export type AuthTokenMinOrderByAggregateInput = { - id?: Prisma.SortOrder - accessToken?: Prisma.SortOrder - refreshToken?: Prisma.SortOrder - accessTokenExpiresAt?: Prisma.SortOrder - refreshTokenExpiresAt?: Prisma.SortOrder - userId?: Prisma.SortOrder -} - -export type AuthTokenCreateNestedManyWithoutUserInput = { - create?: Prisma.XOR | Prisma.AuthTokenCreateWithoutUserInput[] | Prisma.AuthTokenUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.AuthTokenCreateOrConnectWithoutUserInput | Prisma.AuthTokenCreateOrConnectWithoutUserInput[] - createMany?: Prisma.AuthTokenCreateManyUserInputEnvelope - connect?: Prisma.AuthTokenWhereUniqueInput | Prisma.AuthTokenWhereUniqueInput[] -} - -export type AuthTokenUncheckedCreateNestedManyWithoutUserInput = { - create?: Prisma.XOR | Prisma.AuthTokenCreateWithoutUserInput[] | Prisma.AuthTokenUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.AuthTokenCreateOrConnectWithoutUserInput | Prisma.AuthTokenCreateOrConnectWithoutUserInput[] - createMany?: Prisma.AuthTokenCreateManyUserInputEnvelope - connect?: Prisma.AuthTokenWhereUniqueInput | Prisma.AuthTokenWhereUniqueInput[] -} - -export type AuthTokenUpdateManyWithoutUserNestedInput = { - create?: Prisma.XOR | Prisma.AuthTokenCreateWithoutUserInput[] | Prisma.AuthTokenUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.AuthTokenCreateOrConnectWithoutUserInput | Prisma.AuthTokenCreateOrConnectWithoutUserInput[] - upsert?: Prisma.AuthTokenUpsertWithWhereUniqueWithoutUserInput | Prisma.AuthTokenUpsertWithWhereUniqueWithoutUserInput[] - createMany?: Prisma.AuthTokenCreateManyUserInputEnvelope - set?: Prisma.AuthTokenWhereUniqueInput | Prisma.AuthTokenWhereUniqueInput[] - disconnect?: Prisma.AuthTokenWhereUniqueInput | Prisma.AuthTokenWhereUniqueInput[] - delete?: Prisma.AuthTokenWhereUniqueInput | Prisma.AuthTokenWhereUniqueInput[] - connect?: Prisma.AuthTokenWhereUniqueInput | Prisma.AuthTokenWhereUniqueInput[] - update?: Prisma.AuthTokenUpdateWithWhereUniqueWithoutUserInput | Prisma.AuthTokenUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: Prisma.AuthTokenUpdateManyWithWhereWithoutUserInput | Prisma.AuthTokenUpdateManyWithWhereWithoutUserInput[] - deleteMany?: Prisma.AuthTokenScalarWhereInput | Prisma.AuthTokenScalarWhereInput[] -} - -export type AuthTokenUncheckedUpdateManyWithoutUserNestedInput = { - create?: Prisma.XOR | Prisma.AuthTokenCreateWithoutUserInput[] | Prisma.AuthTokenUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.AuthTokenCreateOrConnectWithoutUserInput | Prisma.AuthTokenCreateOrConnectWithoutUserInput[] - upsert?: Prisma.AuthTokenUpsertWithWhereUniqueWithoutUserInput | Prisma.AuthTokenUpsertWithWhereUniqueWithoutUserInput[] - createMany?: Prisma.AuthTokenCreateManyUserInputEnvelope - set?: Prisma.AuthTokenWhereUniqueInput | Prisma.AuthTokenWhereUniqueInput[] - disconnect?: Prisma.AuthTokenWhereUniqueInput | Prisma.AuthTokenWhereUniqueInput[] - delete?: Prisma.AuthTokenWhereUniqueInput | Prisma.AuthTokenWhereUniqueInput[] - connect?: Prisma.AuthTokenWhereUniqueInput | Prisma.AuthTokenWhereUniqueInput[] - update?: Prisma.AuthTokenUpdateWithWhereUniqueWithoutUserInput | Prisma.AuthTokenUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: Prisma.AuthTokenUpdateManyWithWhereWithoutUserInput | Prisma.AuthTokenUpdateManyWithWhereWithoutUserInput[] - deleteMany?: Prisma.AuthTokenScalarWhereInput | Prisma.AuthTokenScalarWhereInput[] -} - -export type AuthTokenCreateWithoutUserInput = { - id?: string - accessToken: string - refreshToken: string - accessTokenExpiresAt: Date | string - refreshTokenExpiresAt: Date | string -} - -export type AuthTokenUncheckedCreateWithoutUserInput = { - id?: string - accessToken: string - refreshToken: string - accessTokenExpiresAt: Date | string - refreshTokenExpiresAt: Date | string -} - -export type AuthTokenCreateOrConnectWithoutUserInput = { - where: Prisma.AuthTokenWhereUniqueInput - create: Prisma.XOR -} - -export type AuthTokenCreateManyUserInputEnvelope = { - data: Prisma.AuthTokenCreateManyUserInput | Prisma.AuthTokenCreateManyUserInput[] - skipDuplicates?: boolean -} - -export type AuthTokenUpsertWithWhereUniqueWithoutUserInput = { - where: Prisma.AuthTokenWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type AuthTokenUpdateWithWhereUniqueWithoutUserInput = { - where: Prisma.AuthTokenWhereUniqueInput - data: Prisma.XOR -} - -export type AuthTokenUpdateManyWithWhereWithoutUserInput = { - where: Prisma.AuthTokenScalarWhereInput - data: Prisma.XOR -} - -export type AuthTokenScalarWhereInput = { - AND?: Prisma.AuthTokenScalarWhereInput | Prisma.AuthTokenScalarWhereInput[] - OR?: Prisma.AuthTokenScalarWhereInput[] - NOT?: Prisma.AuthTokenScalarWhereInput | Prisma.AuthTokenScalarWhereInput[] - id?: Prisma.StringFilter<"AuthToken"> | string - accessToken?: Prisma.StringFilter<"AuthToken"> | string - refreshToken?: Prisma.StringFilter<"AuthToken"> | string - accessTokenExpiresAt?: Prisma.DateTimeFilter<"AuthToken"> | Date | string - refreshTokenExpiresAt?: Prisma.DateTimeFilter<"AuthToken"> | Date | string - userId?: Prisma.StringFilter<"AuthToken"> | string -} - -export type AuthTokenCreateManyUserInput = { - id?: string - accessToken: string - refreshToken: string - accessTokenExpiresAt: Date | string - refreshTokenExpiresAt: Date | string -} - -export type AuthTokenUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - accessToken?: Prisma.StringFieldUpdateOperationsInput | string - refreshToken?: Prisma.StringFieldUpdateOperationsInput | string - accessTokenExpiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - refreshTokenExpiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AuthTokenUncheckedUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - accessToken?: Prisma.StringFieldUpdateOperationsInput | string - refreshToken?: Prisma.StringFieldUpdateOperationsInput | string - accessTokenExpiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - refreshTokenExpiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type AuthTokenUncheckedUpdateManyWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - accessToken?: Prisma.StringFieldUpdateOperationsInput | string - refreshToken?: Prisma.StringFieldUpdateOperationsInput | string - accessTokenExpiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - refreshTokenExpiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - - - -export type AuthTokenSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - accessToken?: boolean - refreshToken?: boolean - accessTokenExpiresAt?: boolean - refreshTokenExpiresAt?: boolean - userId?: boolean - user?: boolean | Prisma.UserDefaultArgs -}, ExtArgs["result"]["authToken"]> - -export type AuthTokenSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - accessToken?: boolean - refreshToken?: boolean - accessTokenExpiresAt?: boolean - refreshTokenExpiresAt?: boolean - userId?: boolean - user?: boolean | Prisma.UserDefaultArgs -}, ExtArgs["result"]["authToken"]> - -export type AuthTokenSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - accessToken?: boolean - refreshToken?: boolean - accessTokenExpiresAt?: boolean - refreshTokenExpiresAt?: boolean - userId?: boolean - user?: boolean | Prisma.UserDefaultArgs -}, ExtArgs["result"]["authToken"]> - -export type AuthTokenSelectScalar = { - id?: boolean - accessToken?: boolean - refreshToken?: boolean - accessTokenExpiresAt?: boolean - refreshTokenExpiresAt?: boolean - userId?: boolean -} - -export type AuthTokenOmit = runtime.Types.Extensions.GetOmit<"id" | "accessToken" | "refreshToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "userId", ExtArgs["result"]["authToken"]> -export type AuthTokenInclude = { - user?: boolean | Prisma.UserDefaultArgs -} -export type AuthTokenIncludeCreateManyAndReturn = { - user?: boolean | Prisma.UserDefaultArgs -} -export type AuthTokenIncludeUpdateManyAndReturn = { - user?: boolean | Prisma.UserDefaultArgs -} - -export type $AuthTokenPayload = { - name: "AuthToken" - objects: { - user: Prisma.$UserPayload - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - accessToken: string - refreshToken: string - accessTokenExpiresAt: Date - refreshTokenExpiresAt: Date - userId: string - }, ExtArgs["result"]["authToken"]> - composites: {} -} - -export type AuthTokenGetPayload = runtime.Types.Result.GetResult - -export type AuthTokenCountArgs = - Omit & { - select?: AuthTokenCountAggregateInputType | true - } - -export interface AuthTokenDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['AuthToken'], meta: { name: 'AuthToken' } } - /** - * Find zero or one AuthToken that matches the filter. - * @param {AuthTokenFindUniqueArgs} args - Arguments to find a AuthToken - * @example - * // Get one AuthToken - * const authToken = await prisma.authToken.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AuthTokenClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one AuthToken that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {AuthTokenFindUniqueOrThrowArgs} args - Arguments to find a AuthToken - * @example - * // Get one AuthToken - * const authToken = await prisma.authToken.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AuthTokenClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first AuthToken that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AuthTokenFindFirstArgs} args - Arguments to find a AuthToken - * @example - * // Get one AuthToken - * const authToken = await prisma.authToken.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AuthTokenClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first AuthToken that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AuthTokenFindFirstOrThrowArgs} args - Arguments to find a AuthToken - * @example - * // Get one AuthToken - * const authToken = await prisma.authToken.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AuthTokenClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more AuthTokens that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AuthTokenFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all AuthTokens - * const authTokens = await prisma.authToken.findMany() - * - * // Get first 10 AuthTokens - * const authTokens = await prisma.authToken.findMany({ take: 10 }) - * - * // Only select the `id` - * const authTokenWithIdOnly = await prisma.authToken.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a AuthToken. - * @param {AuthTokenCreateArgs} args - Arguments to create a AuthToken. - * @example - * // Create one AuthToken - * const AuthToken = await prisma.authToken.create({ - * data: { - * // ... data to create a AuthToken - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__AuthTokenClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many AuthTokens. - * @param {AuthTokenCreateManyArgs} args - Arguments to create many AuthTokens. - * @example - * // Create many AuthTokens - * const authToken = await prisma.authToken.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many AuthTokens and returns the data saved in the database. - * @param {AuthTokenCreateManyAndReturnArgs} args - Arguments to create many AuthTokens. - * @example - * // Create many AuthTokens - * const authToken = await prisma.authToken.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many AuthTokens and only return the `id` - * const authTokenWithIdOnly = await prisma.authToken.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a AuthToken. - * @param {AuthTokenDeleteArgs} args - Arguments to delete one AuthToken. - * @example - * // Delete one AuthToken - * const AuthToken = await prisma.authToken.delete({ - * where: { - * // ... filter to delete one AuthToken - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__AuthTokenClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one AuthToken. - * @param {AuthTokenUpdateArgs} args - Arguments to update one AuthToken. - * @example - * // Update one AuthToken - * const authToken = await prisma.authToken.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__AuthTokenClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more AuthTokens. - * @param {AuthTokenDeleteManyArgs} args - Arguments to filter AuthTokens to delete. - * @example - * // Delete a few AuthTokens - * const { count } = await prisma.authToken.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more AuthTokens. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AuthTokenUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many AuthTokens - * const authToken = await prisma.authToken.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more AuthTokens and returns the data updated in the database. - * @param {AuthTokenUpdateManyAndReturnArgs} args - Arguments to update many AuthTokens. - * @example - * // Update many AuthTokens - * const authToken = await prisma.authToken.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more AuthTokens and only return the `id` - * const authTokenWithIdOnly = await prisma.authToken.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one AuthToken. - * @param {AuthTokenUpsertArgs} args - Arguments to update or create a AuthToken. - * @example - * // Update or create a AuthToken - * const authToken = await prisma.authToken.upsert({ - * create: { - * // ... data to create a AuthToken - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the AuthToken we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AuthTokenClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of AuthTokens. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AuthTokenCountArgs} args - Arguments to filter AuthTokens to count. - * @example - * // Count the number of AuthTokens - * const count = await prisma.authToken.count({ - * where: { - * // ... the filter for the AuthTokens we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a AuthToken. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AuthTokenAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by AuthToken. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {AuthTokenGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends AuthTokenGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: AuthTokenGroupByArgs['orderBy'] } - : { orderBy?: AuthTokenGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetAuthTokenGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the AuthToken model - */ -readonly fields: AuthTokenFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for AuthToken. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__AuthTokenClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the AuthToken model - */ -export interface AuthTokenFieldRefs { - readonly id: Prisma.FieldRef<"AuthToken", 'String'> - readonly accessToken: Prisma.FieldRef<"AuthToken", 'String'> - readonly refreshToken: Prisma.FieldRef<"AuthToken", 'String'> - readonly accessTokenExpiresAt: Prisma.FieldRef<"AuthToken", 'DateTime'> - readonly refreshTokenExpiresAt: Prisma.FieldRef<"AuthToken", 'DateTime'> - readonly userId: Prisma.FieldRef<"AuthToken", 'String'> -} - - -// Custom InputTypes -/** - * AuthToken findUnique - */ -export type AuthTokenFindUniqueArgs = { - /** - * Select specific fields to fetch from the AuthToken - */ - select?: Prisma.AuthTokenSelect | null - /** - * Omit specific fields from the AuthToken - */ - omit?: Prisma.AuthTokenOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AuthTokenInclude | null - /** - * Filter, which AuthToken to fetch. - */ - where: Prisma.AuthTokenWhereUniqueInput -} - -/** - * AuthToken findUniqueOrThrow - */ -export type AuthTokenFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the AuthToken - */ - select?: Prisma.AuthTokenSelect | null - /** - * Omit specific fields from the AuthToken - */ - omit?: Prisma.AuthTokenOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AuthTokenInclude | null - /** - * Filter, which AuthToken to fetch. - */ - where: Prisma.AuthTokenWhereUniqueInput -} - -/** - * AuthToken findFirst - */ -export type AuthTokenFindFirstArgs = { - /** - * Select specific fields to fetch from the AuthToken - */ - select?: Prisma.AuthTokenSelect | null - /** - * Omit specific fields from the AuthToken - */ - omit?: Prisma.AuthTokenOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AuthTokenInclude | null - /** - * Filter, which AuthToken to fetch. - */ - where?: Prisma.AuthTokenWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AuthTokens to fetch. - */ - orderBy?: Prisma.AuthTokenOrderByWithRelationInput | Prisma.AuthTokenOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for AuthTokens. - */ - cursor?: Prisma.AuthTokenWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AuthTokens from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AuthTokens. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of AuthTokens. - */ - distinct?: Prisma.AuthTokenScalarFieldEnum | Prisma.AuthTokenScalarFieldEnum[] -} - -/** - * AuthToken findFirstOrThrow - */ -export type AuthTokenFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the AuthToken - */ - select?: Prisma.AuthTokenSelect | null - /** - * Omit specific fields from the AuthToken - */ - omit?: Prisma.AuthTokenOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AuthTokenInclude | null - /** - * Filter, which AuthToken to fetch. - */ - where?: Prisma.AuthTokenWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AuthTokens to fetch. - */ - orderBy?: Prisma.AuthTokenOrderByWithRelationInput | Prisma.AuthTokenOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for AuthTokens. - */ - cursor?: Prisma.AuthTokenWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AuthTokens from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AuthTokens. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of AuthTokens. - */ - distinct?: Prisma.AuthTokenScalarFieldEnum | Prisma.AuthTokenScalarFieldEnum[] -} - -/** - * AuthToken findMany - */ -export type AuthTokenFindManyArgs = { - /** - * Select specific fields to fetch from the AuthToken - */ - select?: Prisma.AuthTokenSelect | null - /** - * Omit specific fields from the AuthToken - */ - omit?: Prisma.AuthTokenOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AuthTokenInclude | null - /** - * Filter, which AuthTokens to fetch. - */ - where?: Prisma.AuthTokenWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of AuthTokens to fetch. - */ - orderBy?: Prisma.AuthTokenOrderByWithRelationInput | Prisma.AuthTokenOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing AuthTokens. - */ - cursor?: Prisma.AuthTokenWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` AuthTokens from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` AuthTokens. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of AuthTokens. - */ - distinct?: Prisma.AuthTokenScalarFieldEnum | Prisma.AuthTokenScalarFieldEnum[] -} - -/** - * AuthToken create - */ -export type AuthTokenCreateArgs = { - /** - * Select specific fields to fetch from the AuthToken - */ - select?: Prisma.AuthTokenSelect | null - /** - * Omit specific fields from the AuthToken - */ - omit?: Prisma.AuthTokenOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AuthTokenInclude | null - /** - * The data needed to create a AuthToken. - */ - data: Prisma.XOR -} - -/** - * AuthToken createMany - */ -export type AuthTokenCreateManyArgs = { - /** - * The data used to create many AuthTokens. - */ - data: Prisma.AuthTokenCreateManyInput | Prisma.AuthTokenCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * AuthToken createManyAndReturn - */ -export type AuthTokenCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the AuthToken - */ - select?: Prisma.AuthTokenSelectCreateManyAndReturn | null - /** - * Omit specific fields from the AuthToken - */ - omit?: Prisma.AuthTokenOmit | null - /** - * The data used to create many AuthTokens. - */ - data: Prisma.AuthTokenCreateManyInput | Prisma.AuthTokenCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AuthTokenIncludeCreateManyAndReturn | null -} - -/** - * AuthToken update - */ -export type AuthTokenUpdateArgs = { - /** - * Select specific fields to fetch from the AuthToken - */ - select?: Prisma.AuthTokenSelect | null - /** - * Omit specific fields from the AuthToken - */ - omit?: Prisma.AuthTokenOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AuthTokenInclude | null - /** - * The data needed to update a AuthToken. - */ - data: Prisma.XOR - /** - * Choose, which AuthToken to update. - */ - where: Prisma.AuthTokenWhereUniqueInput -} - -/** - * AuthToken updateMany - */ -export type AuthTokenUpdateManyArgs = { - /** - * The data used to update AuthTokens. - */ - data: Prisma.XOR - /** - * Filter which AuthTokens to update - */ - where?: Prisma.AuthTokenWhereInput - /** - * Limit how many AuthTokens to update. - */ - limit?: number -} - -/** - * AuthToken updateManyAndReturn - */ -export type AuthTokenUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the AuthToken - */ - select?: Prisma.AuthTokenSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the AuthToken - */ - omit?: Prisma.AuthTokenOmit | null - /** - * The data used to update AuthTokens. - */ - data: Prisma.XOR - /** - * Filter which AuthTokens to update - */ - where?: Prisma.AuthTokenWhereInput - /** - * Limit how many AuthTokens to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AuthTokenIncludeUpdateManyAndReturn | null -} - -/** - * AuthToken upsert - */ -export type AuthTokenUpsertArgs = { - /** - * Select specific fields to fetch from the AuthToken - */ - select?: Prisma.AuthTokenSelect | null - /** - * Omit specific fields from the AuthToken - */ - omit?: Prisma.AuthTokenOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AuthTokenInclude | null - /** - * The filter to search for the AuthToken to update in case it exists. - */ - where: Prisma.AuthTokenWhereUniqueInput - /** - * In case the AuthToken found by the `where` argument doesn't exist, create a new AuthToken with this data. - */ - create: Prisma.XOR - /** - * In case the AuthToken was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * AuthToken delete - */ -export type AuthTokenDeleteArgs = { - /** - * Select specific fields to fetch from the AuthToken - */ - select?: Prisma.AuthTokenSelect | null - /** - * Omit specific fields from the AuthToken - */ - omit?: Prisma.AuthTokenOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AuthTokenInclude | null - /** - * Filter which AuthToken to delete. - */ - where: Prisma.AuthTokenWhereUniqueInput -} - -/** - * AuthToken deleteMany - */ -export type AuthTokenDeleteManyArgs = { - /** - * Filter which AuthTokens to delete - */ - where?: Prisma.AuthTokenWhereInput - /** - * Limit how many AuthTokens to delete. - */ - limit?: number -} - -/** - * AuthToken without action - */ -export type AuthTokenDefaultArgs = { - /** - * Select specific fields to fetch from the AuthToken - */ - select?: Prisma.AuthTokenSelect | null - /** - * Omit specific fields from the AuthToken - */ - omit?: Prisma.AuthTokenOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AuthTokenInclude | null -} diff --git a/src/generated/prisma/models/Collection.ts b/src/generated/prisma/models/Collection.ts deleted file mode 100644 index 1420a884..00000000 --- a/src/generated/prisma/models/Collection.ts +++ /dev/null @@ -1,1379 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `Collection` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model Collection - * - */ -export type CollectionModel = runtime.Types.Result.DefaultSelection - -export type AggregateCollection = { - _count: CollectionCountAggregateOutputType | null - _min: CollectionMinAggregateOutputType | null - _max: CollectionMaxAggregateOutputType | null -} - -export type CollectionMinAggregateOutputType = { - id: string | null - name: string | null - createdAt: Date | null - updatedAt: Date | null - projectId: string | null -} - -export type CollectionMaxAggregateOutputType = { - id: string | null - name: string | null - createdAt: Date | null - updatedAt: Date | null - projectId: string | null -} - -export type CollectionCountAggregateOutputType = { - id: number - name: number - filter:PrismaJson.CollectionFilter - createdAt: number - updatedAt: number - projectId: number - _all: number -} - - -export type CollectionMinAggregateInputType = { - id?: true - name?: true - createdAt?: true - updatedAt?: true - projectId?: true -} - -export type CollectionMaxAggregateInputType = { - id?: true - name?: true - createdAt?: true - updatedAt?: true - projectId?: true -} - -export type CollectionCountAggregateInputType = { - id?: true - name?: true - filter?: true - createdAt?: true - updatedAt?: true - projectId?: true - _all?: true -} - -export type CollectionAggregateArgs = { - /** - * Filter which Collection to aggregate. - */ - where?: Prisma.CollectionWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Collections to fetch. - */ - orderBy?: Prisma.CollectionOrderByWithRelationInput | Prisma.CollectionOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.CollectionWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Collections from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Collections. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Collections - **/ - _count?: true | CollectionCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: CollectionMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: CollectionMaxAggregateInputType -} - -export type GetCollectionAggregateType = { - [P in keyof T & keyof AggregateCollection]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type CollectionGroupByArgs = { - where?: Prisma.CollectionWhereInput - orderBy?: Prisma.CollectionOrderByWithAggregationInput | Prisma.CollectionOrderByWithAggregationInput[] - by: Prisma.CollectionScalarFieldEnum[] | Prisma.CollectionScalarFieldEnum - having?: Prisma.CollectionScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: CollectionCountAggregateInputType | true - _min?: CollectionMinAggregateInputType - _max?: CollectionMaxAggregateInputType -} - -export type CollectionGroupByOutputType = { - id: string - name: string - filter:PrismaJson.CollectionFilter - createdAt: Date - updatedAt: Date - projectId: string - _count: CollectionCountAggregateOutputType | null - _min: CollectionMinAggregateOutputType | null - _max: CollectionMaxAggregateOutputType | null -} - -export type GetCollectionGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof CollectionGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type CollectionWhereInput = { - AND?: Prisma.CollectionWhereInput | Prisma.CollectionWhereInput[] - OR?: Prisma.CollectionWhereInput[] - NOT?: Prisma.CollectionWhereInput | Prisma.CollectionWhereInput[] - id?: Prisma.StringFilter<"Collection"> | string - name?: Prisma.StringFilter<"Collection"> | string - filter?: Prisma.JsonFilter<"Collection"> - createdAt?: Prisma.DateTimeFilter<"Collection"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Collection"> | Date | string - projectId?: Prisma.StringFilter<"Collection"> | string - project?: Prisma.XOR -} - -export type CollectionOrderByWithRelationInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - filter?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - projectId?: Prisma.SortOrder - project?: Prisma.ProjectOrderByWithRelationInput -} - -export type CollectionWhereUniqueInput = Prisma.AtLeast<{ - id?: string - AND?: Prisma.CollectionWhereInput | Prisma.CollectionWhereInput[] - OR?: Prisma.CollectionWhereInput[] - NOT?: Prisma.CollectionWhereInput | Prisma.CollectionWhereInput[] - name?: Prisma.StringFilter<"Collection"> | string - filter?: Prisma.JsonFilter<"Collection"> - createdAt?: Prisma.DateTimeFilter<"Collection"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Collection"> | Date | string - projectId?: Prisma.StringFilter<"Collection"> | string - project?: Prisma.XOR -}, "id"> - -export type CollectionOrderByWithAggregationInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - filter?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - projectId?: Prisma.SortOrder - _count?: Prisma.CollectionCountOrderByAggregateInput - _max?: Prisma.CollectionMaxOrderByAggregateInput - _min?: Prisma.CollectionMinOrderByAggregateInput -} - -export type CollectionScalarWhereWithAggregatesInput = { - AND?: Prisma.CollectionScalarWhereWithAggregatesInput | Prisma.CollectionScalarWhereWithAggregatesInput[] - OR?: Prisma.CollectionScalarWhereWithAggregatesInput[] - NOT?: Prisma.CollectionScalarWhereWithAggregatesInput | Prisma.CollectionScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"Collection"> | string - name?: Prisma.StringWithAggregatesFilter<"Collection"> | string - filter?: Prisma.JsonWithAggregatesFilter<"Collection"> - createdAt?: Prisma.DateTimeWithAggregatesFilter<"Collection"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Collection"> | Date | string - projectId?: Prisma.StringWithAggregatesFilter<"Collection"> | string -} - -export type CollectionCreateInput = { - id?: string - name: string - filter:PrismaJson.CollectionFilter - createdAt?: Date | string - updatedAt?: Date | string - project: Prisma.ProjectCreateNestedOneWithoutCollectionsInput -} - -export type CollectionUncheckedCreateInput = { - id?: string - name: string - filter:PrismaJson.CollectionFilter - createdAt?: Date | string - updatedAt?: Date | string - projectId: string -} - -export type CollectionUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - filter?:PrismaJson.CollectionFilter - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - project?: Prisma.ProjectUpdateOneRequiredWithoutCollectionsNestedInput -} - -export type CollectionUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - filter?:PrismaJson.CollectionFilter - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - projectId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type CollectionCreateManyInput = { - id?: string - name: string - filter:PrismaJson.CollectionFilter - createdAt?: Date | string - updatedAt?: Date | string - projectId: string -} - -export type CollectionUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - filter?:PrismaJson.CollectionFilter - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type CollectionUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - filter?:PrismaJson.CollectionFilter - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - projectId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type CollectionListRelationFilter = { - every?: Prisma.CollectionWhereInput - some?: Prisma.CollectionWhereInput - none?: Prisma.CollectionWhereInput -} - -export type CollectionOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type CollectionCountOrderByAggregateInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - filter?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - projectId?: Prisma.SortOrder -} - -export type CollectionMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - projectId?: Prisma.SortOrder -} - -export type CollectionMinOrderByAggregateInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - projectId?: Prisma.SortOrder -} - -export type CollectionCreateNestedManyWithoutProjectInput = { - create?: Prisma.XOR | Prisma.CollectionCreateWithoutProjectInput[] | Prisma.CollectionUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.CollectionCreateOrConnectWithoutProjectInput | Prisma.CollectionCreateOrConnectWithoutProjectInput[] - createMany?: Prisma.CollectionCreateManyProjectInputEnvelope - connect?: Prisma.CollectionWhereUniqueInput | Prisma.CollectionWhereUniqueInput[] -} - -export type CollectionUncheckedCreateNestedManyWithoutProjectInput = { - create?: Prisma.XOR | Prisma.CollectionCreateWithoutProjectInput[] | Prisma.CollectionUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.CollectionCreateOrConnectWithoutProjectInput | Prisma.CollectionCreateOrConnectWithoutProjectInput[] - createMany?: Prisma.CollectionCreateManyProjectInputEnvelope - connect?: Prisma.CollectionWhereUniqueInput | Prisma.CollectionWhereUniqueInput[] -} - -export type CollectionUpdateManyWithoutProjectNestedInput = { - create?: Prisma.XOR | Prisma.CollectionCreateWithoutProjectInput[] | Prisma.CollectionUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.CollectionCreateOrConnectWithoutProjectInput | Prisma.CollectionCreateOrConnectWithoutProjectInput[] - upsert?: Prisma.CollectionUpsertWithWhereUniqueWithoutProjectInput | Prisma.CollectionUpsertWithWhereUniqueWithoutProjectInput[] - createMany?: Prisma.CollectionCreateManyProjectInputEnvelope - set?: Prisma.CollectionWhereUniqueInput | Prisma.CollectionWhereUniqueInput[] - disconnect?: Prisma.CollectionWhereUniqueInput | Prisma.CollectionWhereUniqueInput[] - delete?: Prisma.CollectionWhereUniqueInput | Prisma.CollectionWhereUniqueInput[] - connect?: Prisma.CollectionWhereUniqueInput | Prisma.CollectionWhereUniqueInput[] - update?: Prisma.CollectionUpdateWithWhereUniqueWithoutProjectInput | Prisma.CollectionUpdateWithWhereUniqueWithoutProjectInput[] - updateMany?: Prisma.CollectionUpdateManyWithWhereWithoutProjectInput | Prisma.CollectionUpdateManyWithWhereWithoutProjectInput[] - deleteMany?: Prisma.CollectionScalarWhereInput | Prisma.CollectionScalarWhereInput[] -} - -export type CollectionUncheckedUpdateManyWithoutProjectNestedInput = { - create?: Prisma.XOR | Prisma.CollectionCreateWithoutProjectInput[] | Prisma.CollectionUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.CollectionCreateOrConnectWithoutProjectInput | Prisma.CollectionCreateOrConnectWithoutProjectInput[] - upsert?: Prisma.CollectionUpsertWithWhereUniqueWithoutProjectInput | Prisma.CollectionUpsertWithWhereUniqueWithoutProjectInput[] - createMany?: Prisma.CollectionCreateManyProjectInputEnvelope - set?: Prisma.CollectionWhereUniqueInput | Prisma.CollectionWhereUniqueInput[] - disconnect?: Prisma.CollectionWhereUniqueInput | Prisma.CollectionWhereUniqueInput[] - delete?: Prisma.CollectionWhereUniqueInput | Prisma.CollectionWhereUniqueInput[] - connect?: Prisma.CollectionWhereUniqueInput | Prisma.CollectionWhereUniqueInput[] - update?: Prisma.CollectionUpdateWithWhereUniqueWithoutProjectInput | Prisma.CollectionUpdateWithWhereUniqueWithoutProjectInput[] - updateMany?: Prisma.CollectionUpdateManyWithWhereWithoutProjectInput | Prisma.CollectionUpdateManyWithWhereWithoutProjectInput[] - deleteMany?: Prisma.CollectionScalarWhereInput | Prisma.CollectionScalarWhereInput[] -} - -export type CollectionCreateWithoutProjectInput = { - id?: string - name: string - filter:PrismaJson.CollectionFilter - createdAt?: Date | string - updatedAt?: Date | string -} - -export type CollectionUncheckedCreateWithoutProjectInput = { - id?: string - name: string - filter:PrismaJson.CollectionFilter - createdAt?: Date | string - updatedAt?: Date | string -} - -export type CollectionCreateOrConnectWithoutProjectInput = { - where: Prisma.CollectionWhereUniqueInput - create: Prisma.XOR -} - -export type CollectionCreateManyProjectInputEnvelope = { - data: Prisma.CollectionCreateManyProjectInput | Prisma.CollectionCreateManyProjectInput[] - skipDuplicates?: boolean -} - -export type CollectionUpsertWithWhereUniqueWithoutProjectInput = { - where: Prisma.CollectionWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type CollectionUpdateWithWhereUniqueWithoutProjectInput = { - where: Prisma.CollectionWhereUniqueInput - data: Prisma.XOR -} - -export type CollectionUpdateManyWithWhereWithoutProjectInput = { - where: Prisma.CollectionScalarWhereInput - data: Prisma.XOR -} - -export type CollectionScalarWhereInput = { - AND?: Prisma.CollectionScalarWhereInput | Prisma.CollectionScalarWhereInput[] - OR?: Prisma.CollectionScalarWhereInput[] - NOT?: Prisma.CollectionScalarWhereInput | Prisma.CollectionScalarWhereInput[] - id?: Prisma.StringFilter<"Collection"> | string - name?: Prisma.StringFilter<"Collection"> | string - filter?: Prisma.JsonFilter<"Collection"> - createdAt?: Prisma.DateTimeFilter<"Collection"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Collection"> | Date | string - projectId?: Prisma.StringFilter<"Collection"> | string -} - -export type CollectionCreateManyProjectInput = { - id?: string - name: string - filter:PrismaJson.CollectionFilter - createdAt?: Date | string - updatedAt?: Date | string -} - -export type CollectionUpdateWithoutProjectInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - filter?:PrismaJson.CollectionFilter - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type CollectionUncheckedUpdateWithoutProjectInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - filter?:PrismaJson.CollectionFilter - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type CollectionUncheckedUpdateManyWithoutProjectInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - filter?:PrismaJson.CollectionFilter - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - - - -export type CollectionSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - name?: boolean - filter?: boolean - createdAt?: boolean - updatedAt?: boolean - projectId?: boolean - project?: boolean | Prisma.ProjectDefaultArgs -}, ExtArgs["result"]["collection"]> - -export type CollectionSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - name?: boolean - filter?: boolean - createdAt?: boolean - updatedAt?: boolean - projectId?: boolean - project?: boolean | Prisma.ProjectDefaultArgs -}, ExtArgs["result"]["collection"]> - -export type CollectionSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - name?: boolean - filter?: boolean - createdAt?: boolean - updatedAt?: boolean - projectId?: boolean - project?: boolean | Prisma.ProjectDefaultArgs -}, ExtArgs["result"]["collection"]> - -export type CollectionSelectScalar = { - id?: boolean - name?: boolean - filter?: boolean - createdAt?: boolean - updatedAt?: boolean - projectId?: boolean -} - -export type CollectionOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "filter" | "createdAt" | "updatedAt" | "projectId", ExtArgs["result"]["collection"]> -export type CollectionInclude = { - project?: boolean | Prisma.ProjectDefaultArgs -} -export type CollectionIncludeCreateManyAndReturn = { - project?: boolean | Prisma.ProjectDefaultArgs -} -export type CollectionIncludeUpdateManyAndReturn = { - project?: boolean | Prisma.ProjectDefaultArgs -} - -export type $CollectionPayload = { - name: "Collection" - objects: { - project: Prisma.$ProjectPayload - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - name: string - /** - * [CollectionFilter] - */ - filter:PrismaJson.CollectionFilter - createdAt: Date - updatedAt: Date - projectId: string - }, ExtArgs["result"]["collection"]> - composites: {} -} - -export type CollectionGetPayload = runtime.Types.Result.GetResult - -export type CollectionCountArgs = - Omit & { - select?: CollectionCountAggregateInputType | true - } - -export interface CollectionDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['Collection'], meta: { name: 'Collection' } } - /** - * Find zero or one Collection that matches the filter. - * @param {CollectionFindUniqueArgs} args - Arguments to find a Collection - * @example - * // Get one Collection - * const collection = await prisma.collection.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__CollectionClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one Collection that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {CollectionFindUniqueOrThrowArgs} args - Arguments to find a Collection - * @example - * // Get one Collection - * const collection = await prisma.collection.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__CollectionClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Collection that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {CollectionFindFirstArgs} args - Arguments to find a Collection - * @example - * // Get one Collection - * const collection = await prisma.collection.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__CollectionClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Collection that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {CollectionFindFirstOrThrowArgs} args - Arguments to find a Collection - * @example - * // Get one Collection - * const collection = await prisma.collection.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__CollectionClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more Collections that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {CollectionFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Collections - * const collections = await prisma.collection.findMany() - * - * // Get first 10 Collections - * const collections = await prisma.collection.findMany({ take: 10 }) - * - * // Only select the `id` - * const collectionWithIdOnly = await prisma.collection.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a Collection. - * @param {CollectionCreateArgs} args - Arguments to create a Collection. - * @example - * // Create one Collection - * const Collection = await prisma.collection.create({ - * data: { - * // ... data to create a Collection - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__CollectionClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many Collections. - * @param {CollectionCreateManyArgs} args - Arguments to create many Collections. - * @example - * // Create many Collections - * const collection = await prisma.collection.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many Collections and returns the data saved in the database. - * @param {CollectionCreateManyAndReturnArgs} args - Arguments to create many Collections. - * @example - * // Create many Collections - * const collection = await prisma.collection.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Collections and only return the `id` - * const collectionWithIdOnly = await prisma.collection.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a Collection. - * @param {CollectionDeleteArgs} args - Arguments to delete one Collection. - * @example - * // Delete one Collection - * const Collection = await prisma.collection.delete({ - * where: { - * // ... filter to delete one Collection - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__CollectionClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one Collection. - * @param {CollectionUpdateArgs} args - Arguments to update one Collection. - * @example - * // Update one Collection - * const collection = await prisma.collection.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__CollectionClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more Collections. - * @param {CollectionDeleteManyArgs} args - Arguments to filter Collections to delete. - * @example - * // Delete a few Collections - * const { count } = await prisma.collection.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Collections. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {CollectionUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Collections - * const collection = await prisma.collection.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Collections and returns the data updated in the database. - * @param {CollectionUpdateManyAndReturnArgs} args - Arguments to update many Collections. - * @example - * // Update many Collections - * const collection = await prisma.collection.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Collections and only return the `id` - * const collectionWithIdOnly = await prisma.collection.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one Collection. - * @param {CollectionUpsertArgs} args - Arguments to update or create a Collection. - * @example - * // Update or create a Collection - * const collection = await prisma.collection.upsert({ - * create: { - * // ... data to create a Collection - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the Collection we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__CollectionClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of Collections. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {CollectionCountArgs} args - Arguments to filter Collections to count. - * @example - * // Count the number of Collections - * const count = await prisma.collection.count({ - * where: { - * // ... the filter for the Collections we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a Collection. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {CollectionAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by Collection. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {CollectionGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends CollectionGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: CollectionGroupByArgs['orderBy'] } - : { orderBy?: CollectionGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetCollectionGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the Collection model - */ -readonly fields: CollectionFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for Collection. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__CollectionClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - project = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProjectClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the Collection model - */ -export interface CollectionFieldRefs { - readonly id: Prisma.FieldRef<"Collection", 'String'> - readonly name: Prisma.FieldRef<"Collection", 'String'> - readonly filter: Prisma.FieldRef<"Collection", 'Json'> - readonly createdAt: Prisma.FieldRef<"Collection", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"Collection", 'DateTime'> - readonly projectId: Prisma.FieldRef<"Collection", 'String'> -} - - -// Custom InputTypes -/** - * Collection findUnique - */ -export type CollectionFindUniqueArgs = { - /** - * Select specific fields to fetch from the Collection - */ - select?: Prisma.CollectionSelect | null - /** - * Omit specific fields from the Collection - */ - omit?: Prisma.CollectionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.CollectionInclude | null - /** - * Filter, which Collection to fetch. - */ - where: Prisma.CollectionWhereUniqueInput -} - -/** - * Collection findUniqueOrThrow - */ -export type CollectionFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the Collection - */ - select?: Prisma.CollectionSelect | null - /** - * Omit specific fields from the Collection - */ - omit?: Prisma.CollectionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.CollectionInclude | null - /** - * Filter, which Collection to fetch. - */ - where: Prisma.CollectionWhereUniqueInput -} - -/** - * Collection findFirst - */ -export type CollectionFindFirstArgs = { - /** - * Select specific fields to fetch from the Collection - */ - select?: Prisma.CollectionSelect | null - /** - * Omit specific fields from the Collection - */ - omit?: Prisma.CollectionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.CollectionInclude | null - /** - * Filter, which Collection to fetch. - */ - where?: Prisma.CollectionWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Collections to fetch. - */ - orderBy?: Prisma.CollectionOrderByWithRelationInput | Prisma.CollectionOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Collections. - */ - cursor?: Prisma.CollectionWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Collections from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Collections. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Collections. - */ - distinct?: Prisma.CollectionScalarFieldEnum | Prisma.CollectionScalarFieldEnum[] -} - -/** - * Collection findFirstOrThrow - */ -export type CollectionFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the Collection - */ - select?: Prisma.CollectionSelect | null - /** - * Omit specific fields from the Collection - */ - omit?: Prisma.CollectionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.CollectionInclude | null - /** - * Filter, which Collection to fetch. - */ - where?: Prisma.CollectionWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Collections to fetch. - */ - orderBy?: Prisma.CollectionOrderByWithRelationInput | Prisma.CollectionOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Collections. - */ - cursor?: Prisma.CollectionWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Collections from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Collections. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Collections. - */ - distinct?: Prisma.CollectionScalarFieldEnum | Prisma.CollectionScalarFieldEnum[] -} - -/** - * Collection findMany - */ -export type CollectionFindManyArgs = { - /** - * Select specific fields to fetch from the Collection - */ - select?: Prisma.CollectionSelect | null - /** - * Omit specific fields from the Collection - */ - omit?: Prisma.CollectionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.CollectionInclude | null - /** - * Filter, which Collections to fetch. - */ - where?: Prisma.CollectionWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Collections to fetch. - */ - orderBy?: Prisma.CollectionOrderByWithRelationInput | Prisma.CollectionOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Collections. - */ - cursor?: Prisma.CollectionWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Collections from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Collections. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Collections. - */ - distinct?: Prisma.CollectionScalarFieldEnum | Prisma.CollectionScalarFieldEnum[] -} - -/** - * Collection create - */ -export type CollectionCreateArgs = { - /** - * Select specific fields to fetch from the Collection - */ - select?: Prisma.CollectionSelect | null - /** - * Omit specific fields from the Collection - */ - omit?: Prisma.CollectionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.CollectionInclude | null - /** - * The data needed to create a Collection. - */ - data: Prisma.XOR -} - -/** - * Collection createMany - */ -export type CollectionCreateManyArgs = { - /** - * The data used to create many Collections. - */ - data: Prisma.CollectionCreateManyInput | Prisma.CollectionCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * Collection createManyAndReturn - */ -export type CollectionCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Collection - */ - select?: Prisma.CollectionSelectCreateManyAndReturn | null - /** - * Omit specific fields from the Collection - */ - omit?: Prisma.CollectionOmit | null - /** - * The data used to create many Collections. - */ - data: Prisma.CollectionCreateManyInput | Prisma.CollectionCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.CollectionIncludeCreateManyAndReturn | null -} - -/** - * Collection update - */ -export type CollectionUpdateArgs = { - /** - * Select specific fields to fetch from the Collection - */ - select?: Prisma.CollectionSelect | null - /** - * Omit specific fields from the Collection - */ - omit?: Prisma.CollectionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.CollectionInclude | null - /** - * The data needed to update a Collection. - */ - data: Prisma.XOR - /** - * Choose, which Collection to update. - */ - where: Prisma.CollectionWhereUniqueInput -} - -/** - * Collection updateMany - */ -export type CollectionUpdateManyArgs = { - /** - * The data used to update Collections. - */ - data: Prisma.XOR - /** - * Filter which Collections to update - */ - where?: Prisma.CollectionWhereInput - /** - * Limit how many Collections to update. - */ - limit?: number -} - -/** - * Collection updateManyAndReturn - */ -export type CollectionUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Collection - */ - select?: Prisma.CollectionSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the Collection - */ - omit?: Prisma.CollectionOmit | null - /** - * The data used to update Collections. - */ - data: Prisma.XOR - /** - * Filter which Collections to update - */ - where?: Prisma.CollectionWhereInput - /** - * Limit how many Collections to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.CollectionIncludeUpdateManyAndReturn | null -} - -/** - * Collection upsert - */ -export type CollectionUpsertArgs = { - /** - * Select specific fields to fetch from the Collection - */ - select?: Prisma.CollectionSelect | null - /** - * Omit specific fields from the Collection - */ - omit?: Prisma.CollectionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.CollectionInclude | null - /** - * The filter to search for the Collection to update in case it exists. - */ - where: Prisma.CollectionWhereUniqueInput - /** - * In case the Collection found by the `where` argument doesn't exist, create a new Collection with this data. - */ - create: Prisma.XOR - /** - * In case the Collection was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * Collection delete - */ -export type CollectionDeleteArgs = { - /** - * Select specific fields to fetch from the Collection - */ - select?: Prisma.CollectionSelect | null - /** - * Omit specific fields from the Collection - */ - omit?: Prisma.CollectionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.CollectionInclude | null - /** - * Filter which Collection to delete. - */ - where: Prisma.CollectionWhereUniqueInput -} - -/** - * Collection deleteMany - */ -export type CollectionDeleteManyArgs = { - /** - * Filter which Collections to delete - */ - where?: Prisma.CollectionWhereInput - /** - * Limit how many Collections to delete. - */ - limit?: number -} - -/** - * Collection without action - */ -export type CollectionDefaultArgs = { - /** - * Select specific fields to fetch from the Collection - */ - select?: Prisma.CollectionSelect | null - /** - * Omit specific fields from the Collection - */ - omit?: Prisma.CollectionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.CollectionInclude | null -} diff --git a/src/generated/prisma/models/Invite.ts b/src/generated/prisma/models/Invite.ts deleted file mode 100644 index 3300e3c9..00000000 --- a/src/generated/prisma/models/Invite.ts +++ /dev/null @@ -1,1798 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `Invite` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model Invite - * - */ -export type InviteModel = runtime.Types.Result.DefaultSelection - -export type AggregateInvite = { - _count: InviteCountAggregateOutputType | null - _min: InviteMinAggregateOutputType | null - _max: InviteMaxAggregateOutputType | null -} - -export type InviteMinAggregateOutputType = { - id: string | null - code: string | null - role: $Enums.InviteRole | null - used: boolean | null - createdAt: Date | null - updatedAt: Date | null - teamId: string | null - projectId: string | null - inviterId: string | null -} - -export type InviteMaxAggregateOutputType = { - id: string | null - code: string | null - role: $Enums.InviteRole | null - used: boolean | null - createdAt: Date | null - updatedAt: Date | null - teamId: string | null - projectId: string | null - inviterId: string | null -} - -export type InviteCountAggregateOutputType = { - id: number - code: number - role: number - used: number - createdAt: number - updatedAt: number - teamId: number - projectId: number - inviterId: number - _all: number -} - - -export type InviteMinAggregateInputType = { - id?: true - code?: true - role?: true - used?: true - createdAt?: true - updatedAt?: true - teamId?: true - projectId?: true - inviterId?: true -} - -export type InviteMaxAggregateInputType = { - id?: true - code?: true - role?: true - used?: true - createdAt?: true - updatedAt?: true - teamId?: true - projectId?: true - inviterId?: true -} - -export type InviteCountAggregateInputType = { - id?: true - code?: true - role?: true - used?: true - createdAt?: true - updatedAt?: true - teamId?: true - projectId?: true - inviterId?: true - _all?: true -} - -export type InviteAggregateArgs = { - /** - * Filter which Invite to aggregate. - */ - where?: Prisma.InviteWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Invites to fetch. - */ - orderBy?: Prisma.InviteOrderByWithRelationInput | Prisma.InviteOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.InviteWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Invites from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Invites. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Invites - **/ - _count?: true | InviteCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: InviteMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: InviteMaxAggregateInputType -} - -export type GetInviteAggregateType = { - [P in keyof T & keyof AggregateInvite]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type InviteGroupByArgs = { - where?: Prisma.InviteWhereInput - orderBy?: Prisma.InviteOrderByWithAggregationInput | Prisma.InviteOrderByWithAggregationInput[] - by: Prisma.InviteScalarFieldEnum[] | Prisma.InviteScalarFieldEnum - having?: Prisma.InviteScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: InviteCountAggregateInputType | true - _min?: InviteMinAggregateInputType - _max?: InviteMaxAggregateInputType -} - -export type InviteGroupByOutputType = { - id: string - code: string - role: $Enums.InviteRole | null - used: boolean - createdAt: Date - updatedAt: Date - teamId: string - projectId: string | null - inviterId: string - _count: InviteCountAggregateOutputType | null - _min: InviteMinAggregateOutputType | null - _max: InviteMaxAggregateOutputType | null -} - -export type GetInviteGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof InviteGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type InviteWhereInput = { - AND?: Prisma.InviteWhereInput | Prisma.InviteWhereInput[] - OR?: Prisma.InviteWhereInput[] - NOT?: Prisma.InviteWhereInput | Prisma.InviteWhereInput[] - id?: Prisma.StringFilter<"Invite"> | string - code?: Prisma.StringFilter<"Invite"> | string - role?: Prisma.EnumInviteRoleNullableFilter<"Invite"> | $Enums.InviteRole | null - used?: Prisma.BoolFilter<"Invite"> | boolean - createdAt?: Prisma.DateTimeFilter<"Invite"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Invite"> | Date | string - teamId?: Prisma.StringFilter<"Invite"> | string - projectId?: Prisma.StringNullableFilter<"Invite"> | string | null - inviterId?: Prisma.StringFilter<"Invite"> | string - team?: Prisma.XOR - project?: Prisma.XOR | null - inviter?: Prisma.XOR -} - -export type InviteOrderByWithRelationInput = { - id?: Prisma.SortOrder - code?: Prisma.SortOrder - role?: Prisma.SortOrderInput | Prisma.SortOrder - used?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder - projectId?: Prisma.SortOrderInput | Prisma.SortOrder - inviterId?: Prisma.SortOrder - team?: Prisma.TeamOrderByWithRelationInput - project?: Prisma.ProjectOrderByWithRelationInput - inviter?: Prisma.UserOrderByWithRelationInput -} - -export type InviteWhereUniqueInput = Prisma.AtLeast<{ - id?: string - code?: string - AND?: Prisma.InviteWhereInput | Prisma.InviteWhereInput[] - OR?: Prisma.InviteWhereInput[] - NOT?: Prisma.InviteWhereInput | Prisma.InviteWhereInput[] - role?: Prisma.EnumInviteRoleNullableFilter<"Invite"> | $Enums.InviteRole | null - used?: Prisma.BoolFilter<"Invite"> | boolean - createdAt?: Prisma.DateTimeFilter<"Invite"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Invite"> | Date | string - teamId?: Prisma.StringFilter<"Invite"> | string - projectId?: Prisma.StringNullableFilter<"Invite"> | string | null - inviterId?: Prisma.StringFilter<"Invite"> | string - team?: Prisma.XOR - project?: Prisma.XOR | null - inviter?: Prisma.XOR -}, "id" | "code"> - -export type InviteOrderByWithAggregationInput = { - id?: Prisma.SortOrder - code?: Prisma.SortOrder - role?: Prisma.SortOrderInput | Prisma.SortOrder - used?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder - projectId?: Prisma.SortOrderInput | Prisma.SortOrder - inviterId?: Prisma.SortOrder - _count?: Prisma.InviteCountOrderByAggregateInput - _max?: Prisma.InviteMaxOrderByAggregateInput - _min?: Prisma.InviteMinOrderByAggregateInput -} - -export type InviteScalarWhereWithAggregatesInput = { - AND?: Prisma.InviteScalarWhereWithAggregatesInput | Prisma.InviteScalarWhereWithAggregatesInput[] - OR?: Prisma.InviteScalarWhereWithAggregatesInput[] - NOT?: Prisma.InviteScalarWhereWithAggregatesInput | Prisma.InviteScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"Invite"> | string - code?: Prisma.StringWithAggregatesFilter<"Invite"> | string - role?: Prisma.EnumInviteRoleNullableWithAggregatesFilter<"Invite"> | $Enums.InviteRole | null - used?: Prisma.BoolWithAggregatesFilter<"Invite"> | boolean - createdAt?: Prisma.DateTimeWithAggregatesFilter<"Invite"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Invite"> | Date | string - teamId?: Prisma.StringWithAggregatesFilter<"Invite"> | string - projectId?: Prisma.StringNullableWithAggregatesFilter<"Invite"> | string | null - inviterId?: Prisma.StringWithAggregatesFilter<"Invite"> | string -} - -export type InviteCreateInput = { - id?: string - code: string - role?: $Enums.InviteRole | null - used?: boolean - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutInvitesInput - project?: Prisma.ProjectCreateNestedOneWithoutInvitesInput - inviter: Prisma.UserCreateNestedOneWithoutCreatedInvitesInput -} - -export type InviteUncheckedCreateInput = { - id?: string - code: string - role?: $Enums.InviteRole | null - used?: boolean - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - projectId?: string | null - inviterId: string -} - -export type InviteUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - code?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.NullableEnumInviteRoleFieldUpdateOperationsInput | $Enums.InviteRole | null - used?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutInvitesNestedInput - project?: Prisma.ProjectUpdateOneWithoutInvitesNestedInput - inviter?: Prisma.UserUpdateOneRequiredWithoutCreatedInvitesNestedInput -} - -export type InviteUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - code?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.NullableEnumInviteRoleFieldUpdateOperationsInput | $Enums.InviteRole | null - used?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - inviterId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type InviteCreateManyInput = { - id?: string - code: string - role?: $Enums.InviteRole | null - used?: boolean - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - projectId?: string | null - inviterId: string -} - -export type InviteUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - code?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.NullableEnumInviteRoleFieldUpdateOperationsInput | $Enums.InviteRole | null - used?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type InviteUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - code?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.NullableEnumInviteRoleFieldUpdateOperationsInput | $Enums.InviteRole | null - used?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - inviterId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type InviteListRelationFilter = { - every?: Prisma.InviteWhereInput - some?: Prisma.InviteWhereInput - none?: Prisma.InviteWhereInput -} - -export type InviteOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type InviteCountOrderByAggregateInput = { - id?: Prisma.SortOrder - code?: Prisma.SortOrder - role?: Prisma.SortOrder - used?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder - projectId?: Prisma.SortOrder - inviterId?: Prisma.SortOrder -} - -export type InviteMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - code?: Prisma.SortOrder - role?: Prisma.SortOrder - used?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder - projectId?: Prisma.SortOrder - inviterId?: Prisma.SortOrder -} - -export type InviteMinOrderByAggregateInput = { - id?: Prisma.SortOrder - code?: Prisma.SortOrder - role?: Prisma.SortOrder - used?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder - projectId?: Prisma.SortOrder - inviterId?: Prisma.SortOrder -} - -export type InviteCreateNestedManyWithoutInviterInput = { - create?: Prisma.XOR | Prisma.InviteCreateWithoutInviterInput[] | Prisma.InviteUncheckedCreateWithoutInviterInput[] - connectOrCreate?: Prisma.InviteCreateOrConnectWithoutInviterInput | Prisma.InviteCreateOrConnectWithoutInviterInput[] - createMany?: Prisma.InviteCreateManyInviterInputEnvelope - connect?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] -} - -export type InviteUncheckedCreateNestedManyWithoutInviterInput = { - create?: Prisma.XOR | Prisma.InviteCreateWithoutInviterInput[] | Prisma.InviteUncheckedCreateWithoutInviterInput[] - connectOrCreate?: Prisma.InviteCreateOrConnectWithoutInviterInput | Prisma.InviteCreateOrConnectWithoutInviterInput[] - createMany?: Prisma.InviteCreateManyInviterInputEnvelope - connect?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] -} - -export type InviteUpdateManyWithoutInviterNestedInput = { - create?: Prisma.XOR | Prisma.InviteCreateWithoutInviterInput[] | Prisma.InviteUncheckedCreateWithoutInviterInput[] - connectOrCreate?: Prisma.InviteCreateOrConnectWithoutInviterInput | Prisma.InviteCreateOrConnectWithoutInviterInput[] - upsert?: Prisma.InviteUpsertWithWhereUniqueWithoutInviterInput | Prisma.InviteUpsertWithWhereUniqueWithoutInviterInput[] - createMany?: Prisma.InviteCreateManyInviterInputEnvelope - set?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] - disconnect?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] - delete?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] - connect?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] - update?: Prisma.InviteUpdateWithWhereUniqueWithoutInviterInput | Prisma.InviteUpdateWithWhereUniqueWithoutInviterInput[] - updateMany?: Prisma.InviteUpdateManyWithWhereWithoutInviterInput | Prisma.InviteUpdateManyWithWhereWithoutInviterInput[] - deleteMany?: Prisma.InviteScalarWhereInput | Prisma.InviteScalarWhereInput[] -} - -export type InviteUncheckedUpdateManyWithoutInviterNestedInput = { - create?: Prisma.XOR | Prisma.InviteCreateWithoutInviterInput[] | Prisma.InviteUncheckedCreateWithoutInviterInput[] - connectOrCreate?: Prisma.InviteCreateOrConnectWithoutInviterInput | Prisma.InviteCreateOrConnectWithoutInviterInput[] - upsert?: Prisma.InviteUpsertWithWhereUniqueWithoutInviterInput | Prisma.InviteUpsertWithWhereUniqueWithoutInviterInput[] - createMany?: Prisma.InviteCreateManyInviterInputEnvelope - set?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] - disconnect?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] - delete?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] - connect?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] - update?: Prisma.InviteUpdateWithWhereUniqueWithoutInviterInput | Prisma.InviteUpdateWithWhereUniqueWithoutInviterInput[] - updateMany?: Prisma.InviteUpdateManyWithWhereWithoutInviterInput | Prisma.InviteUpdateManyWithWhereWithoutInviterInput[] - deleteMany?: Prisma.InviteScalarWhereInput | Prisma.InviteScalarWhereInput[] -} - -export type InviteCreateNestedManyWithoutTeamInput = { - create?: Prisma.XOR | Prisma.InviteCreateWithoutTeamInput[] | Prisma.InviteUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.InviteCreateOrConnectWithoutTeamInput | Prisma.InviteCreateOrConnectWithoutTeamInput[] - createMany?: Prisma.InviteCreateManyTeamInputEnvelope - connect?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] -} - -export type InviteUncheckedCreateNestedManyWithoutTeamInput = { - create?: Prisma.XOR | Prisma.InviteCreateWithoutTeamInput[] | Prisma.InviteUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.InviteCreateOrConnectWithoutTeamInput | Prisma.InviteCreateOrConnectWithoutTeamInput[] - createMany?: Prisma.InviteCreateManyTeamInputEnvelope - connect?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] -} - -export type InviteUpdateManyWithoutTeamNestedInput = { - create?: Prisma.XOR | Prisma.InviteCreateWithoutTeamInput[] | Prisma.InviteUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.InviteCreateOrConnectWithoutTeamInput | Prisma.InviteCreateOrConnectWithoutTeamInput[] - upsert?: Prisma.InviteUpsertWithWhereUniqueWithoutTeamInput | Prisma.InviteUpsertWithWhereUniqueWithoutTeamInput[] - createMany?: Prisma.InviteCreateManyTeamInputEnvelope - set?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] - disconnect?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] - delete?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] - connect?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] - update?: Prisma.InviteUpdateWithWhereUniqueWithoutTeamInput | Prisma.InviteUpdateWithWhereUniqueWithoutTeamInput[] - updateMany?: Prisma.InviteUpdateManyWithWhereWithoutTeamInput | Prisma.InviteUpdateManyWithWhereWithoutTeamInput[] - deleteMany?: Prisma.InviteScalarWhereInput | Prisma.InviteScalarWhereInput[] -} - -export type InviteUncheckedUpdateManyWithoutTeamNestedInput = { - create?: Prisma.XOR | Prisma.InviteCreateWithoutTeamInput[] | Prisma.InviteUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.InviteCreateOrConnectWithoutTeamInput | Prisma.InviteCreateOrConnectWithoutTeamInput[] - upsert?: Prisma.InviteUpsertWithWhereUniqueWithoutTeamInput | Prisma.InviteUpsertWithWhereUniqueWithoutTeamInput[] - createMany?: Prisma.InviteCreateManyTeamInputEnvelope - set?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] - disconnect?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] - delete?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] - connect?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] - update?: Prisma.InviteUpdateWithWhereUniqueWithoutTeamInput | Prisma.InviteUpdateWithWhereUniqueWithoutTeamInput[] - updateMany?: Prisma.InviteUpdateManyWithWhereWithoutTeamInput | Prisma.InviteUpdateManyWithWhereWithoutTeamInput[] - deleteMany?: Prisma.InviteScalarWhereInput | Prisma.InviteScalarWhereInput[] -} - -export type InviteCreateNestedManyWithoutProjectInput = { - create?: Prisma.XOR | Prisma.InviteCreateWithoutProjectInput[] | Prisma.InviteUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.InviteCreateOrConnectWithoutProjectInput | Prisma.InviteCreateOrConnectWithoutProjectInput[] - createMany?: Prisma.InviteCreateManyProjectInputEnvelope - connect?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] -} - -export type InviteUncheckedCreateNestedManyWithoutProjectInput = { - create?: Prisma.XOR | Prisma.InviteCreateWithoutProjectInput[] | Prisma.InviteUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.InviteCreateOrConnectWithoutProjectInput | Prisma.InviteCreateOrConnectWithoutProjectInput[] - createMany?: Prisma.InviteCreateManyProjectInputEnvelope - connect?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] -} - -export type InviteUpdateManyWithoutProjectNestedInput = { - create?: Prisma.XOR | Prisma.InviteCreateWithoutProjectInput[] | Prisma.InviteUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.InviteCreateOrConnectWithoutProjectInput | Prisma.InviteCreateOrConnectWithoutProjectInput[] - upsert?: Prisma.InviteUpsertWithWhereUniqueWithoutProjectInput | Prisma.InviteUpsertWithWhereUniqueWithoutProjectInput[] - createMany?: Prisma.InviteCreateManyProjectInputEnvelope - set?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] - disconnect?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] - delete?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] - connect?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] - update?: Prisma.InviteUpdateWithWhereUniqueWithoutProjectInput | Prisma.InviteUpdateWithWhereUniqueWithoutProjectInput[] - updateMany?: Prisma.InviteUpdateManyWithWhereWithoutProjectInput | Prisma.InviteUpdateManyWithWhereWithoutProjectInput[] - deleteMany?: Prisma.InviteScalarWhereInput | Prisma.InviteScalarWhereInput[] -} - -export type InviteUncheckedUpdateManyWithoutProjectNestedInput = { - create?: Prisma.XOR | Prisma.InviteCreateWithoutProjectInput[] | Prisma.InviteUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.InviteCreateOrConnectWithoutProjectInput | Prisma.InviteCreateOrConnectWithoutProjectInput[] - upsert?: Prisma.InviteUpsertWithWhereUniqueWithoutProjectInput | Prisma.InviteUpsertWithWhereUniqueWithoutProjectInput[] - createMany?: Prisma.InviteCreateManyProjectInputEnvelope - set?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] - disconnect?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] - delete?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] - connect?: Prisma.InviteWhereUniqueInput | Prisma.InviteWhereUniqueInput[] - update?: Prisma.InviteUpdateWithWhereUniqueWithoutProjectInput | Prisma.InviteUpdateWithWhereUniqueWithoutProjectInput[] - updateMany?: Prisma.InviteUpdateManyWithWhereWithoutProjectInput | Prisma.InviteUpdateManyWithWhereWithoutProjectInput[] - deleteMany?: Prisma.InviteScalarWhereInput | Prisma.InviteScalarWhereInput[] -} - -export type NullableEnumInviteRoleFieldUpdateOperationsInput = { - set?: $Enums.InviteRole | null -} - -export type InviteCreateWithoutInviterInput = { - id?: string - code: string - role?: $Enums.InviteRole | null - used?: boolean - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutInvitesInput - project?: Prisma.ProjectCreateNestedOneWithoutInvitesInput -} - -export type InviteUncheckedCreateWithoutInviterInput = { - id?: string - code: string - role?: $Enums.InviteRole | null - used?: boolean - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - projectId?: string | null -} - -export type InviteCreateOrConnectWithoutInviterInput = { - where: Prisma.InviteWhereUniqueInput - create: Prisma.XOR -} - -export type InviteCreateManyInviterInputEnvelope = { - data: Prisma.InviteCreateManyInviterInput | Prisma.InviteCreateManyInviterInput[] - skipDuplicates?: boolean -} - -export type InviteUpsertWithWhereUniqueWithoutInviterInput = { - where: Prisma.InviteWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type InviteUpdateWithWhereUniqueWithoutInviterInput = { - where: Prisma.InviteWhereUniqueInput - data: Prisma.XOR -} - -export type InviteUpdateManyWithWhereWithoutInviterInput = { - where: Prisma.InviteScalarWhereInput - data: Prisma.XOR -} - -export type InviteScalarWhereInput = { - AND?: Prisma.InviteScalarWhereInput | Prisma.InviteScalarWhereInput[] - OR?: Prisma.InviteScalarWhereInput[] - NOT?: Prisma.InviteScalarWhereInput | Prisma.InviteScalarWhereInput[] - id?: Prisma.StringFilter<"Invite"> | string - code?: Prisma.StringFilter<"Invite"> | string - role?: Prisma.EnumInviteRoleNullableFilter<"Invite"> | $Enums.InviteRole | null - used?: Prisma.BoolFilter<"Invite"> | boolean - createdAt?: Prisma.DateTimeFilter<"Invite"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Invite"> | Date | string - teamId?: Prisma.StringFilter<"Invite"> | string - projectId?: Prisma.StringNullableFilter<"Invite"> | string | null - inviterId?: Prisma.StringFilter<"Invite"> | string -} - -export type InviteCreateWithoutTeamInput = { - id?: string - code: string - role?: $Enums.InviteRole | null - used?: boolean - createdAt?: Date | string - updatedAt?: Date | string - project?: Prisma.ProjectCreateNestedOneWithoutInvitesInput - inviter: Prisma.UserCreateNestedOneWithoutCreatedInvitesInput -} - -export type InviteUncheckedCreateWithoutTeamInput = { - id?: string - code: string - role?: $Enums.InviteRole | null - used?: boolean - createdAt?: Date | string - updatedAt?: Date | string - projectId?: string | null - inviterId: string -} - -export type InviteCreateOrConnectWithoutTeamInput = { - where: Prisma.InviteWhereUniqueInput - create: Prisma.XOR -} - -export type InviteCreateManyTeamInputEnvelope = { - data: Prisma.InviteCreateManyTeamInput | Prisma.InviteCreateManyTeamInput[] - skipDuplicates?: boolean -} - -export type InviteUpsertWithWhereUniqueWithoutTeamInput = { - where: Prisma.InviteWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type InviteUpdateWithWhereUniqueWithoutTeamInput = { - where: Prisma.InviteWhereUniqueInput - data: Prisma.XOR -} - -export type InviteUpdateManyWithWhereWithoutTeamInput = { - where: Prisma.InviteScalarWhereInput - data: Prisma.XOR -} - -export type InviteCreateWithoutProjectInput = { - id?: string - code: string - role?: $Enums.InviteRole | null - used?: boolean - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutInvitesInput - inviter: Prisma.UserCreateNestedOneWithoutCreatedInvitesInput -} - -export type InviteUncheckedCreateWithoutProjectInput = { - id?: string - code: string - role?: $Enums.InviteRole | null - used?: boolean - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - inviterId: string -} - -export type InviteCreateOrConnectWithoutProjectInput = { - where: Prisma.InviteWhereUniqueInput - create: Prisma.XOR -} - -export type InviteCreateManyProjectInputEnvelope = { - data: Prisma.InviteCreateManyProjectInput | Prisma.InviteCreateManyProjectInput[] - skipDuplicates?: boolean -} - -export type InviteUpsertWithWhereUniqueWithoutProjectInput = { - where: Prisma.InviteWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type InviteUpdateWithWhereUniqueWithoutProjectInput = { - where: Prisma.InviteWhereUniqueInput - data: Prisma.XOR -} - -export type InviteUpdateManyWithWhereWithoutProjectInput = { - where: Prisma.InviteScalarWhereInput - data: Prisma.XOR -} - -export type InviteCreateManyInviterInput = { - id?: string - code: string - role?: $Enums.InviteRole | null - used?: boolean - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - projectId?: string | null -} - -export type InviteUpdateWithoutInviterInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - code?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.NullableEnumInviteRoleFieldUpdateOperationsInput | $Enums.InviteRole | null - used?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutInvitesNestedInput - project?: Prisma.ProjectUpdateOneWithoutInvitesNestedInput -} - -export type InviteUncheckedUpdateWithoutInviterInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - code?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.NullableEnumInviteRoleFieldUpdateOperationsInput | $Enums.InviteRole | null - used?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type InviteUncheckedUpdateManyWithoutInviterInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - code?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.NullableEnumInviteRoleFieldUpdateOperationsInput | $Enums.InviteRole | null - used?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type InviteCreateManyTeamInput = { - id?: string - code: string - role?: $Enums.InviteRole | null - used?: boolean - createdAt?: Date | string - updatedAt?: Date | string - projectId?: string | null - inviterId: string -} - -export type InviteUpdateWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - code?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.NullableEnumInviteRoleFieldUpdateOperationsInput | $Enums.InviteRole | null - used?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - project?: Prisma.ProjectUpdateOneWithoutInvitesNestedInput - inviter?: Prisma.UserUpdateOneRequiredWithoutCreatedInvitesNestedInput -} - -export type InviteUncheckedUpdateWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - code?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.NullableEnumInviteRoleFieldUpdateOperationsInput | $Enums.InviteRole | null - used?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - inviterId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type InviteUncheckedUpdateManyWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - code?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.NullableEnumInviteRoleFieldUpdateOperationsInput | $Enums.InviteRole | null - used?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - inviterId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type InviteCreateManyProjectInput = { - id?: string - code: string - role?: $Enums.InviteRole | null - used?: boolean - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - inviterId: string -} - -export type InviteUpdateWithoutProjectInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - code?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.NullableEnumInviteRoleFieldUpdateOperationsInput | $Enums.InviteRole | null - used?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutInvitesNestedInput - inviter?: Prisma.UserUpdateOneRequiredWithoutCreatedInvitesNestedInput -} - -export type InviteUncheckedUpdateWithoutProjectInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - code?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.NullableEnumInviteRoleFieldUpdateOperationsInput | $Enums.InviteRole | null - used?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - inviterId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type InviteUncheckedUpdateManyWithoutProjectInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - code?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.NullableEnumInviteRoleFieldUpdateOperationsInput | $Enums.InviteRole | null - used?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - inviterId?: Prisma.StringFieldUpdateOperationsInput | string -} - - - -export type InviteSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - code?: boolean - role?: boolean - used?: boolean - createdAt?: boolean - updatedAt?: boolean - teamId?: boolean - projectId?: boolean - inviterId?: boolean - team?: boolean | Prisma.TeamDefaultArgs - project?: boolean | Prisma.Invite$projectArgs - inviter?: boolean | Prisma.UserDefaultArgs -}, ExtArgs["result"]["invite"]> - -export type InviteSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - code?: boolean - role?: boolean - used?: boolean - createdAt?: boolean - updatedAt?: boolean - teamId?: boolean - projectId?: boolean - inviterId?: boolean - team?: boolean | Prisma.TeamDefaultArgs - project?: boolean | Prisma.Invite$projectArgs - inviter?: boolean | Prisma.UserDefaultArgs -}, ExtArgs["result"]["invite"]> - -export type InviteSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - code?: boolean - role?: boolean - used?: boolean - createdAt?: boolean - updatedAt?: boolean - teamId?: boolean - projectId?: boolean - inviterId?: boolean - team?: boolean | Prisma.TeamDefaultArgs - project?: boolean | Prisma.Invite$projectArgs - inviter?: boolean | Prisma.UserDefaultArgs -}, ExtArgs["result"]["invite"]> - -export type InviteSelectScalar = { - id?: boolean - code?: boolean - role?: boolean - used?: boolean - createdAt?: boolean - updatedAt?: boolean - teamId?: boolean - projectId?: boolean - inviterId?: boolean -} - -export type InviteOmit = runtime.Types.Extensions.GetOmit<"id" | "code" | "role" | "used" | "createdAt" | "updatedAt" | "teamId" | "projectId" | "inviterId", ExtArgs["result"]["invite"]> -export type InviteInclude = { - team?: boolean | Prisma.TeamDefaultArgs - project?: boolean | Prisma.Invite$projectArgs - inviter?: boolean | Prisma.UserDefaultArgs -} -export type InviteIncludeCreateManyAndReturn = { - team?: boolean | Prisma.TeamDefaultArgs - project?: boolean | Prisma.Invite$projectArgs - inviter?: boolean | Prisma.UserDefaultArgs -} -export type InviteIncludeUpdateManyAndReturn = { - team?: boolean | Prisma.TeamDefaultArgs - project?: boolean | Prisma.Invite$projectArgs - inviter?: boolean | Prisma.UserDefaultArgs -} - -export type $InvitePayload = { - name: "Invite" - objects: { - team: Prisma.$TeamPayload - project: Prisma.$ProjectPayload | null - inviter: Prisma.$UserPayload - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - code: string - role: $Enums.InviteRole | null - used: boolean - createdAt: Date - updatedAt: Date - teamId: string - projectId: string | null - inviterId: string - }, ExtArgs["result"]["invite"]> - composites: {} -} - -export type InviteGetPayload = runtime.Types.Result.GetResult - -export type InviteCountArgs = - Omit & { - select?: InviteCountAggregateInputType | true - } - -export interface InviteDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['Invite'], meta: { name: 'Invite' } } - /** - * Find zero or one Invite that matches the filter. - * @param {InviteFindUniqueArgs} args - Arguments to find a Invite - * @example - * // Get one Invite - * const invite = await prisma.invite.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__InviteClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one Invite that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {InviteFindUniqueOrThrowArgs} args - Arguments to find a Invite - * @example - * // Get one Invite - * const invite = await prisma.invite.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__InviteClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Invite that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {InviteFindFirstArgs} args - Arguments to find a Invite - * @example - * // Get one Invite - * const invite = await prisma.invite.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__InviteClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Invite that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {InviteFindFirstOrThrowArgs} args - Arguments to find a Invite - * @example - * // Get one Invite - * const invite = await prisma.invite.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__InviteClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more Invites that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {InviteFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Invites - * const invites = await prisma.invite.findMany() - * - * // Get first 10 Invites - * const invites = await prisma.invite.findMany({ take: 10 }) - * - * // Only select the `id` - * const inviteWithIdOnly = await prisma.invite.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a Invite. - * @param {InviteCreateArgs} args - Arguments to create a Invite. - * @example - * // Create one Invite - * const Invite = await prisma.invite.create({ - * data: { - * // ... data to create a Invite - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__InviteClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many Invites. - * @param {InviteCreateManyArgs} args - Arguments to create many Invites. - * @example - * // Create many Invites - * const invite = await prisma.invite.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many Invites and returns the data saved in the database. - * @param {InviteCreateManyAndReturnArgs} args - Arguments to create many Invites. - * @example - * // Create many Invites - * const invite = await prisma.invite.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Invites and only return the `id` - * const inviteWithIdOnly = await prisma.invite.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a Invite. - * @param {InviteDeleteArgs} args - Arguments to delete one Invite. - * @example - * // Delete one Invite - * const Invite = await prisma.invite.delete({ - * where: { - * // ... filter to delete one Invite - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__InviteClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one Invite. - * @param {InviteUpdateArgs} args - Arguments to update one Invite. - * @example - * // Update one Invite - * const invite = await prisma.invite.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__InviteClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more Invites. - * @param {InviteDeleteManyArgs} args - Arguments to filter Invites to delete. - * @example - * // Delete a few Invites - * const { count } = await prisma.invite.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Invites. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {InviteUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Invites - * const invite = await prisma.invite.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Invites and returns the data updated in the database. - * @param {InviteUpdateManyAndReturnArgs} args - Arguments to update many Invites. - * @example - * // Update many Invites - * const invite = await prisma.invite.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Invites and only return the `id` - * const inviteWithIdOnly = await prisma.invite.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one Invite. - * @param {InviteUpsertArgs} args - Arguments to update or create a Invite. - * @example - * // Update or create a Invite - * const invite = await prisma.invite.upsert({ - * create: { - * // ... data to create a Invite - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the Invite we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__InviteClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of Invites. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {InviteCountArgs} args - Arguments to filter Invites to count. - * @example - * // Count the number of Invites - * const count = await prisma.invite.count({ - * where: { - * // ... the filter for the Invites we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a Invite. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {InviteAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by Invite. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {InviteGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends InviteGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: InviteGroupByArgs['orderBy'] } - : { orderBy?: InviteGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetInviteGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the Invite model - */ -readonly fields: InviteFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for Invite. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__InviteClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - team = {}>(args?: Prisma.Subset>): Prisma.Prisma__TeamClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - project = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProjectClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - inviter = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the Invite model - */ -export interface InviteFieldRefs { - readonly id: Prisma.FieldRef<"Invite", 'String'> - readonly code: Prisma.FieldRef<"Invite", 'String'> - readonly role: Prisma.FieldRef<"Invite", 'InviteRole'> - readonly used: Prisma.FieldRef<"Invite", 'Boolean'> - readonly createdAt: Prisma.FieldRef<"Invite", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"Invite", 'DateTime'> - readonly teamId: Prisma.FieldRef<"Invite", 'String'> - readonly projectId: Prisma.FieldRef<"Invite", 'String'> - readonly inviterId: Prisma.FieldRef<"Invite", 'String'> -} - - -// Custom InputTypes -/** - * Invite findUnique - */ -export type InviteFindUniqueArgs = { - /** - * Select specific fields to fetch from the Invite - */ - select?: Prisma.InviteSelect | null - /** - * Omit specific fields from the Invite - */ - omit?: Prisma.InviteOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.InviteInclude | null - /** - * Filter, which Invite to fetch. - */ - where: Prisma.InviteWhereUniqueInput -} - -/** - * Invite findUniqueOrThrow - */ -export type InviteFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the Invite - */ - select?: Prisma.InviteSelect | null - /** - * Omit specific fields from the Invite - */ - omit?: Prisma.InviteOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.InviteInclude | null - /** - * Filter, which Invite to fetch. - */ - where: Prisma.InviteWhereUniqueInput -} - -/** - * Invite findFirst - */ -export type InviteFindFirstArgs = { - /** - * Select specific fields to fetch from the Invite - */ - select?: Prisma.InviteSelect | null - /** - * Omit specific fields from the Invite - */ - omit?: Prisma.InviteOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.InviteInclude | null - /** - * Filter, which Invite to fetch. - */ - where?: Prisma.InviteWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Invites to fetch. - */ - orderBy?: Prisma.InviteOrderByWithRelationInput | Prisma.InviteOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Invites. - */ - cursor?: Prisma.InviteWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Invites from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Invites. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Invites. - */ - distinct?: Prisma.InviteScalarFieldEnum | Prisma.InviteScalarFieldEnum[] -} - -/** - * Invite findFirstOrThrow - */ -export type InviteFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the Invite - */ - select?: Prisma.InviteSelect | null - /** - * Omit specific fields from the Invite - */ - omit?: Prisma.InviteOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.InviteInclude | null - /** - * Filter, which Invite to fetch. - */ - where?: Prisma.InviteWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Invites to fetch. - */ - orderBy?: Prisma.InviteOrderByWithRelationInput | Prisma.InviteOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Invites. - */ - cursor?: Prisma.InviteWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Invites from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Invites. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Invites. - */ - distinct?: Prisma.InviteScalarFieldEnum | Prisma.InviteScalarFieldEnum[] -} - -/** - * Invite findMany - */ -export type InviteFindManyArgs = { - /** - * Select specific fields to fetch from the Invite - */ - select?: Prisma.InviteSelect | null - /** - * Omit specific fields from the Invite - */ - omit?: Prisma.InviteOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.InviteInclude | null - /** - * Filter, which Invites to fetch. - */ - where?: Prisma.InviteWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Invites to fetch. - */ - orderBy?: Prisma.InviteOrderByWithRelationInput | Prisma.InviteOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Invites. - */ - cursor?: Prisma.InviteWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Invites from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Invites. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Invites. - */ - distinct?: Prisma.InviteScalarFieldEnum | Prisma.InviteScalarFieldEnum[] -} - -/** - * Invite create - */ -export type InviteCreateArgs = { - /** - * Select specific fields to fetch from the Invite - */ - select?: Prisma.InviteSelect | null - /** - * Omit specific fields from the Invite - */ - omit?: Prisma.InviteOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.InviteInclude | null - /** - * The data needed to create a Invite. - */ - data: Prisma.XOR -} - -/** - * Invite createMany - */ -export type InviteCreateManyArgs = { - /** - * The data used to create many Invites. - */ - data: Prisma.InviteCreateManyInput | Prisma.InviteCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * Invite createManyAndReturn - */ -export type InviteCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Invite - */ - select?: Prisma.InviteSelectCreateManyAndReturn | null - /** - * Omit specific fields from the Invite - */ - omit?: Prisma.InviteOmit | null - /** - * The data used to create many Invites. - */ - data: Prisma.InviteCreateManyInput | Prisma.InviteCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.InviteIncludeCreateManyAndReturn | null -} - -/** - * Invite update - */ -export type InviteUpdateArgs = { - /** - * Select specific fields to fetch from the Invite - */ - select?: Prisma.InviteSelect | null - /** - * Omit specific fields from the Invite - */ - omit?: Prisma.InviteOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.InviteInclude | null - /** - * The data needed to update a Invite. - */ - data: Prisma.XOR - /** - * Choose, which Invite to update. - */ - where: Prisma.InviteWhereUniqueInput -} - -/** - * Invite updateMany - */ -export type InviteUpdateManyArgs = { - /** - * The data used to update Invites. - */ - data: Prisma.XOR - /** - * Filter which Invites to update - */ - where?: Prisma.InviteWhereInput - /** - * Limit how many Invites to update. - */ - limit?: number -} - -/** - * Invite updateManyAndReturn - */ -export type InviteUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Invite - */ - select?: Prisma.InviteSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the Invite - */ - omit?: Prisma.InviteOmit | null - /** - * The data used to update Invites. - */ - data: Prisma.XOR - /** - * Filter which Invites to update - */ - where?: Prisma.InviteWhereInput - /** - * Limit how many Invites to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.InviteIncludeUpdateManyAndReturn | null -} - -/** - * Invite upsert - */ -export type InviteUpsertArgs = { - /** - * Select specific fields to fetch from the Invite - */ - select?: Prisma.InviteSelect | null - /** - * Omit specific fields from the Invite - */ - omit?: Prisma.InviteOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.InviteInclude | null - /** - * The filter to search for the Invite to update in case it exists. - */ - where: Prisma.InviteWhereUniqueInput - /** - * In case the Invite found by the `where` argument doesn't exist, create a new Invite with this data. - */ - create: Prisma.XOR - /** - * In case the Invite was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * Invite delete - */ -export type InviteDeleteArgs = { - /** - * Select specific fields to fetch from the Invite - */ - select?: Prisma.InviteSelect | null - /** - * Omit specific fields from the Invite - */ - omit?: Prisma.InviteOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.InviteInclude | null - /** - * Filter which Invite to delete. - */ - where: Prisma.InviteWhereUniqueInput -} - -/** - * Invite deleteMany - */ -export type InviteDeleteManyArgs = { - /** - * Filter which Invites to delete - */ - where?: Prisma.InviteWhereInput - /** - * Limit how many Invites to delete. - */ - limit?: number -} - -/** - * Invite.project - */ -export type Invite$projectArgs = { - /** - * Select specific fields to fetch from the Project - */ - select?: Prisma.ProjectSelect | null - /** - * Omit specific fields from the Project - */ - omit?: Prisma.ProjectOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectInclude | null - where?: Prisma.ProjectWhereInput -} - -/** - * Invite without action - */ -export type InviteDefaultArgs = { - /** - * Select specific fields to fetch from the Invite - */ - select?: Prisma.InviteSelect | null - /** - * Omit specific fields from the Invite - */ - omit?: Prisma.InviteOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.InviteInclude | null -} diff --git a/src/generated/prisma/models/MetadataField.ts b/src/generated/prisma/models/MetadataField.ts deleted file mode 100644 index f673c1d4..00000000 --- a/src/generated/prisma/models/MetadataField.ts +++ /dev/null @@ -1,1670 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `MetadataField` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model MetadataField - * - */ -export type MetadataFieldModel = runtime.Types.Result.DefaultSelection - -export type AggregateMetadataField = { - _count: MetadataFieldCountAggregateOutputType | null - _min: MetadataFieldMinAggregateOutputType | null - _max: MetadataFieldMaxAggregateOutputType | null -} - -export type MetadataFieldMinAggregateOutputType = { - id: string | null - key: string | null - scope: $Enums.MetadataFieldScope | null - readOnly: boolean | null - aiAutofill: boolean | null - description: string | null - teamId: string | null - projectId: string | null -} - -export type MetadataFieldMaxAggregateOutputType = { - id: string | null - key: string | null - scope: $Enums.MetadataFieldScope | null - readOnly: boolean | null - aiAutofill: boolean | null - description: string | null - teamId: string | null - projectId: string | null -} - -export type MetadataFieldCountAggregateOutputType = { - id: number - key: number - scope: number - config:PrismaJson.FieldConfig - readOnly: number - aiAutofill: number - description: number - teamId: number - projectId: number - _all: number -} - - -export type MetadataFieldMinAggregateInputType = { - id?: true - key?: true - scope?: true - readOnly?: true - aiAutofill?: true - description?: true - teamId?: true - projectId?: true -} - -export type MetadataFieldMaxAggregateInputType = { - id?: true - key?: true - scope?: true - readOnly?: true - aiAutofill?: true - description?: true - teamId?: true - projectId?: true -} - -export type MetadataFieldCountAggregateInputType = { - id?: true - key?: true - scope?: true - config?: true - readOnly?: true - aiAutofill?: true - description?: true - teamId?: true - projectId?: true - _all?: true -} - -export type MetadataFieldAggregateArgs = { - /** - * Filter which MetadataField to aggregate. - */ - where?: Prisma.MetadataFieldWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of MetadataFields to fetch. - */ - orderBy?: Prisma.MetadataFieldOrderByWithRelationInput | Prisma.MetadataFieldOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.MetadataFieldWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` MetadataFields from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` MetadataFields. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned MetadataFields - **/ - _count?: true | MetadataFieldCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: MetadataFieldMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: MetadataFieldMaxAggregateInputType -} - -export type GetMetadataFieldAggregateType = { - [P in keyof T & keyof AggregateMetadataField]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type MetadataFieldGroupByArgs = { - where?: Prisma.MetadataFieldWhereInput - orderBy?: Prisma.MetadataFieldOrderByWithAggregationInput | Prisma.MetadataFieldOrderByWithAggregationInput[] - by: Prisma.MetadataFieldScalarFieldEnum[] | Prisma.MetadataFieldScalarFieldEnum - having?: Prisma.MetadataFieldScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: MetadataFieldCountAggregateInputType | true - _min?: MetadataFieldMinAggregateInputType - _max?: MetadataFieldMaxAggregateInputType -} - -export type MetadataFieldGroupByOutputType = { - id: string - key: string - scope: $Enums.MetadataFieldScope | null - config:PrismaJson.FieldConfig | null - readOnly: boolean - aiAutofill: boolean - description: string - teamId: string | null - projectId: string | null - _count: MetadataFieldCountAggregateOutputType | null - _min: MetadataFieldMinAggregateOutputType | null - _max: MetadataFieldMaxAggregateOutputType | null -} - -export type GetMetadataFieldGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof MetadataFieldGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type MetadataFieldWhereInput = { - AND?: Prisma.MetadataFieldWhereInput | Prisma.MetadataFieldWhereInput[] - OR?: Prisma.MetadataFieldWhereInput[] - NOT?: Prisma.MetadataFieldWhereInput | Prisma.MetadataFieldWhereInput[] - id?: Prisma.StringFilter<"MetadataField"> | string - key?: Prisma.StringFilter<"MetadataField"> | string - scope?: Prisma.EnumMetadataFieldScopeNullableFilter<"MetadataField"> | $Enums.MetadataFieldScope | null - config?: Prisma.JsonNullableFilter<"MetadataField"> - readOnly?: Prisma.BoolFilter<"MetadataField"> | boolean - aiAutofill?: Prisma.BoolFilter<"MetadataField"> | boolean - description?: Prisma.StringFilter<"MetadataField"> | string - teamId?: Prisma.StringNullableFilter<"MetadataField"> | string | null - projectId?: Prisma.StringNullableFilter<"MetadataField"> | string | null - team?: Prisma.XOR | null - project?: Prisma.XOR | null -} - -export type MetadataFieldOrderByWithRelationInput = { - id?: Prisma.SortOrder - key?: Prisma.SortOrder - scope?: Prisma.SortOrderInput | Prisma.SortOrder - config?: Prisma.SortOrderInput | Prisma.SortOrder - readOnly?: Prisma.SortOrder - aiAutofill?: Prisma.SortOrder - description?: Prisma.SortOrder - teamId?: Prisma.SortOrderInput | Prisma.SortOrder - projectId?: Prisma.SortOrderInput | Prisma.SortOrder - team?: Prisma.TeamOrderByWithRelationInput - project?: Prisma.ProjectOrderByWithRelationInput -} - -export type MetadataFieldWhereUniqueInput = Prisma.AtLeast<{ - id?: string - key?: string - AND?: Prisma.MetadataFieldWhereInput | Prisma.MetadataFieldWhereInput[] - OR?: Prisma.MetadataFieldWhereInput[] - NOT?: Prisma.MetadataFieldWhereInput | Prisma.MetadataFieldWhereInput[] - scope?: Prisma.EnumMetadataFieldScopeNullableFilter<"MetadataField"> | $Enums.MetadataFieldScope | null - config?: Prisma.JsonNullableFilter<"MetadataField"> - readOnly?: Prisma.BoolFilter<"MetadataField"> | boolean - aiAutofill?: Prisma.BoolFilter<"MetadataField"> | boolean - description?: Prisma.StringFilter<"MetadataField"> | string - teamId?: Prisma.StringNullableFilter<"MetadataField"> | string | null - projectId?: Prisma.StringNullableFilter<"MetadataField"> | string | null - team?: Prisma.XOR | null - project?: Prisma.XOR | null -}, "id" | "key"> - -export type MetadataFieldOrderByWithAggregationInput = { - id?: Prisma.SortOrder - key?: Prisma.SortOrder - scope?: Prisma.SortOrderInput | Prisma.SortOrder - config?: Prisma.SortOrderInput | Prisma.SortOrder - readOnly?: Prisma.SortOrder - aiAutofill?: Prisma.SortOrder - description?: Prisma.SortOrder - teamId?: Prisma.SortOrderInput | Prisma.SortOrder - projectId?: Prisma.SortOrderInput | Prisma.SortOrder - _count?: Prisma.MetadataFieldCountOrderByAggregateInput - _max?: Prisma.MetadataFieldMaxOrderByAggregateInput - _min?: Prisma.MetadataFieldMinOrderByAggregateInput -} - -export type MetadataFieldScalarWhereWithAggregatesInput = { - AND?: Prisma.MetadataFieldScalarWhereWithAggregatesInput | Prisma.MetadataFieldScalarWhereWithAggregatesInput[] - OR?: Prisma.MetadataFieldScalarWhereWithAggregatesInput[] - NOT?: Prisma.MetadataFieldScalarWhereWithAggregatesInput | Prisma.MetadataFieldScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"MetadataField"> | string - key?: Prisma.StringWithAggregatesFilter<"MetadataField"> | string - scope?: Prisma.EnumMetadataFieldScopeNullableWithAggregatesFilter<"MetadataField"> | $Enums.MetadataFieldScope | null - config?: Prisma.JsonNullableWithAggregatesFilter<"MetadataField"> - readOnly?: Prisma.BoolWithAggregatesFilter<"MetadataField"> | boolean - aiAutofill?: Prisma.BoolWithAggregatesFilter<"MetadataField"> | boolean - description?: Prisma.StringWithAggregatesFilter<"MetadataField"> | string - teamId?: Prisma.StringNullableWithAggregatesFilter<"MetadataField"> | string | null - projectId?: Prisma.StringNullableWithAggregatesFilter<"MetadataField"> | string | null -} - -export type MetadataFieldCreateInput = { - id?: string - key: string - scope?: $Enums.MetadataFieldScope | null - config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput - readOnly?: boolean - aiAutofill?: boolean - description?: string - team?: Prisma.TeamCreateNestedOneWithoutMetadataFieldsInput - project?: Prisma.ProjectCreateNestedOneWithoutMetadataFieldsInput -} - -export type MetadataFieldUncheckedCreateInput = { - id?: string - key: string - scope?: $Enums.MetadataFieldScope | null - config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput - readOnly?: boolean - aiAutofill?: boolean - description?: string - teamId?: string | null - projectId?: string | null -} - -export type MetadataFieldUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - scope?: Prisma.NullableEnumMetadataFieldScopeFieldUpdateOperationsInput | $Enums.MetadataFieldScope | null - config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput - readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean - aiAutofill?: Prisma.BoolFieldUpdateOperationsInput | boolean - description?: Prisma.StringFieldUpdateOperationsInput | string - team?: Prisma.TeamUpdateOneWithoutMetadataFieldsNestedInput - project?: Prisma.ProjectUpdateOneWithoutMetadataFieldsNestedInput -} - -export type MetadataFieldUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - scope?: Prisma.NullableEnumMetadataFieldScopeFieldUpdateOperationsInput | $Enums.MetadataFieldScope | null - config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput - readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean - aiAutofill?: Prisma.BoolFieldUpdateOperationsInput | boolean - description?: Prisma.StringFieldUpdateOperationsInput | string - teamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type MetadataFieldCreateManyInput = { - id?: string - key: string - scope?: $Enums.MetadataFieldScope | null - config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput - readOnly?: boolean - aiAutofill?: boolean - description?: string - teamId?: string | null - projectId?: string | null -} - -export type MetadataFieldUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - scope?: Prisma.NullableEnumMetadataFieldScopeFieldUpdateOperationsInput | $Enums.MetadataFieldScope | null - config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput - readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean - aiAutofill?: Prisma.BoolFieldUpdateOperationsInput | boolean - description?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type MetadataFieldUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - scope?: Prisma.NullableEnumMetadataFieldScopeFieldUpdateOperationsInput | $Enums.MetadataFieldScope | null - config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput - readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean - aiAutofill?: Prisma.BoolFieldUpdateOperationsInput | boolean - description?: Prisma.StringFieldUpdateOperationsInput | string - teamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type MetadataFieldListRelationFilter = { - every?: Prisma.MetadataFieldWhereInput - some?: Prisma.MetadataFieldWhereInput - none?: Prisma.MetadataFieldWhereInput -} - -export type MetadataFieldOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type MetadataFieldCountOrderByAggregateInput = { - id?: Prisma.SortOrder - key?: Prisma.SortOrder - scope?: Prisma.SortOrder - config?: Prisma.SortOrder - readOnly?: Prisma.SortOrder - aiAutofill?: Prisma.SortOrder - description?: Prisma.SortOrder - teamId?: Prisma.SortOrder - projectId?: Prisma.SortOrder -} - -export type MetadataFieldMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - key?: Prisma.SortOrder - scope?: Prisma.SortOrder - readOnly?: Prisma.SortOrder - aiAutofill?: Prisma.SortOrder - description?: Prisma.SortOrder - teamId?: Prisma.SortOrder - projectId?: Prisma.SortOrder -} - -export type MetadataFieldMinOrderByAggregateInput = { - id?: Prisma.SortOrder - key?: Prisma.SortOrder - scope?: Prisma.SortOrder - readOnly?: Prisma.SortOrder - aiAutofill?: Prisma.SortOrder - description?: Prisma.SortOrder - teamId?: Prisma.SortOrder - projectId?: Prisma.SortOrder -} - -export type MetadataFieldCreateNestedManyWithoutTeamInput = { - create?: Prisma.XOR | Prisma.MetadataFieldCreateWithoutTeamInput[] | Prisma.MetadataFieldUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.MetadataFieldCreateOrConnectWithoutTeamInput | Prisma.MetadataFieldCreateOrConnectWithoutTeamInput[] - createMany?: Prisma.MetadataFieldCreateManyTeamInputEnvelope - connect?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[] -} - -export type MetadataFieldUncheckedCreateNestedManyWithoutTeamInput = { - create?: Prisma.XOR | Prisma.MetadataFieldCreateWithoutTeamInput[] | Prisma.MetadataFieldUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.MetadataFieldCreateOrConnectWithoutTeamInput | Prisma.MetadataFieldCreateOrConnectWithoutTeamInput[] - createMany?: Prisma.MetadataFieldCreateManyTeamInputEnvelope - connect?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[] -} - -export type MetadataFieldUpdateManyWithoutTeamNestedInput = { - create?: Prisma.XOR | Prisma.MetadataFieldCreateWithoutTeamInput[] | Prisma.MetadataFieldUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.MetadataFieldCreateOrConnectWithoutTeamInput | Prisma.MetadataFieldCreateOrConnectWithoutTeamInput[] - upsert?: Prisma.MetadataFieldUpsertWithWhereUniqueWithoutTeamInput | Prisma.MetadataFieldUpsertWithWhereUniqueWithoutTeamInput[] - createMany?: Prisma.MetadataFieldCreateManyTeamInputEnvelope - set?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[] - disconnect?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[] - delete?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[] - connect?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[] - update?: Prisma.MetadataFieldUpdateWithWhereUniqueWithoutTeamInput | Prisma.MetadataFieldUpdateWithWhereUniqueWithoutTeamInput[] - updateMany?: Prisma.MetadataFieldUpdateManyWithWhereWithoutTeamInput | Prisma.MetadataFieldUpdateManyWithWhereWithoutTeamInput[] - deleteMany?: Prisma.MetadataFieldScalarWhereInput | Prisma.MetadataFieldScalarWhereInput[] -} - -export type MetadataFieldUncheckedUpdateManyWithoutTeamNestedInput = { - create?: Prisma.XOR | Prisma.MetadataFieldCreateWithoutTeamInput[] | Prisma.MetadataFieldUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.MetadataFieldCreateOrConnectWithoutTeamInput | Prisma.MetadataFieldCreateOrConnectWithoutTeamInput[] - upsert?: Prisma.MetadataFieldUpsertWithWhereUniqueWithoutTeamInput | Prisma.MetadataFieldUpsertWithWhereUniqueWithoutTeamInput[] - createMany?: Prisma.MetadataFieldCreateManyTeamInputEnvelope - set?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[] - disconnect?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[] - delete?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[] - connect?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[] - update?: Prisma.MetadataFieldUpdateWithWhereUniqueWithoutTeamInput | Prisma.MetadataFieldUpdateWithWhereUniqueWithoutTeamInput[] - updateMany?: Prisma.MetadataFieldUpdateManyWithWhereWithoutTeamInput | Prisma.MetadataFieldUpdateManyWithWhereWithoutTeamInput[] - deleteMany?: Prisma.MetadataFieldScalarWhereInput | Prisma.MetadataFieldScalarWhereInput[] -} - -export type MetadataFieldCreateNestedManyWithoutProjectInput = { - create?: Prisma.XOR | Prisma.MetadataFieldCreateWithoutProjectInput[] | Prisma.MetadataFieldUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.MetadataFieldCreateOrConnectWithoutProjectInput | Prisma.MetadataFieldCreateOrConnectWithoutProjectInput[] - createMany?: Prisma.MetadataFieldCreateManyProjectInputEnvelope - connect?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[] -} - -export type MetadataFieldUncheckedCreateNestedManyWithoutProjectInput = { - create?: Prisma.XOR | Prisma.MetadataFieldCreateWithoutProjectInput[] | Prisma.MetadataFieldUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.MetadataFieldCreateOrConnectWithoutProjectInput | Prisma.MetadataFieldCreateOrConnectWithoutProjectInput[] - createMany?: Prisma.MetadataFieldCreateManyProjectInputEnvelope - connect?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[] -} - -export type MetadataFieldUpdateManyWithoutProjectNestedInput = { - create?: Prisma.XOR | Prisma.MetadataFieldCreateWithoutProjectInput[] | Prisma.MetadataFieldUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.MetadataFieldCreateOrConnectWithoutProjectInput | Prisma.MetadataFieldCreateOrConnectWithoutProjectInput[] - upsert?: Prisma.MetadataFieldUpsertWithWhereUniqueWithoutProjectInput | Prisma.MetadataFieldUpsertWithWhereUniqueWithoutProjectInput[] - createMany?: Prisma.MetadataFieldCreateManyProjectInputEnvelope - set?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[] - disconnect?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[] - delete?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[] - connect?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[] - update?: Prisma.MetadataFieldUpdateWithWhereUniqueWithoutProjectInput | Prisma.MetadataFieldUpdateWithWhereUniqueWithoutProjectInput[] - updateMany?: Prisma.MetadataFieldUpdateManyWithWhereWithoutProjectInput | Prisma.MetadataFieldUpdateManyWithWhereWithoutProjectInput[] - deleteMany?: Prisma.MetadataFieldScalarWhereInput | Prisma.MetadataFieldScalarWhereInput[] -} - -export type MetadataFieldUncheckedUpdateManyWithoutProjectNestedInput = { - create?: Prisma.XOR | Prisma.MetadataFieldCreateWithoutProjectInput[] | Prisma.MetadataFieldUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.MetadataFieldCreateOrConnectWithoutProjectInput | Prisma.MetadataFieldCreateOrConnectWithoutProjectInput[] - upsert?: Prisma.MetadataFieldUpsertWithWhereUniqueWithoutProjectInput | Prisma.MetadataFieldUpsertWithWhereUniqueWithoutProjectInput[] - createMany?: Prisma.MetadataFieldCreateManyProjectInputEnvelope - set?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[] - disconnect?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[] - delete?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[] - connect?: Prisma.MetadataFieldWhereUniqueInput | Prisma.MetadataFieldWhereUniqueInput[] - update?: Prisma.MetadataFieldUpdateWithWhereUniqueWithoutProjectInput | Prisma.MetadataFieldUpdateWithWhereUniqueWithoutProjectInput[] - updateMany?: Prisma.MetadataFieldUpdateManyWithWhereWithoutProjectInput | Prisma.MetadataFieldUpdateManyWithWhereWithoutProjectInput[] - deleteMany?: Prisma.MetadataFieldScalarWhereInput | Prisma.MetadataFieldScalarWhereInput[] -} - -export type NullableEnumMetadataFieldScopeFieldUpdateOperationsInput = { - set?: $Enums.MetadataFieldScope | null -} - -export type MetadataFieldCreateWithoutTeamInput = { - id?: string - key: string - scope?: $Enums.MetadataFieldScope | null - config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput - readOnly?: boolean - aiAutofill?: boolean - description?: string - project?: Prisma.ProjectCreateNestedOneWithoutMetadataFieldsInput -} - -export type MetadataFieldUncheckedCreateWithoutTeamInput = { - id?: string - key: string - scope?: $Enums.MetadataFieldScope | null - config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput - readOnly?: boolean - aiAutofill?: boolean - description?: string - projectId?: string | null -} - -export type MetadataFieldCreateOrConnectWithoutTeamInput = { - where: Prisma.MetadataFieldWhereUniqueInput - create: Prisma.XOR -} - -export type MetadataFieldCreateManyTeamInputEnvelope = { - data: Prisma.MetadataFieldCreateManyTeamInput | Prisma.MetadataFieldCreateManyTeamInput[] - skipDuplicates?: boolean -} - -export type MetadataFieldUpsertWithWhereUniqueWithoutTeamInput = { - where: Prisma.MetadataFieldWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type MetadataFieldUpdateWithWhereUniqueWithoutTeamInput = { - where: Prisma.MetadataFieldWhereUniqueInput - data: Prisma.XOR -} - -export type MetadataFieldUpdateManyWithWhereWithoutTeamInput = { - where: Prisma.MetadataFieldScalarWhereInput - data: Prisma.XOR -} - -export type MetadataFieldScalarWhereInput = { - AND?: Prisma.MetadataFieldScalarWhereInput | Prisma.MetadataFieldScalarWhereInput[] - OR?: Prisma.MetadataFieldScalarWhereInput[] - NOT?: Prisma.MetadataFieldScalarWhereInput | Prisma.MetadataFieldScalarWhereInput[] - id?: Prisma.StringFilter<"MetadataField"> | string - key?: Prisma.StringFilter<"MetadataField"> | string - scope?: Prisma.EnumMetadataFieldScopeNullableFilter<"MetadataField"> | $Enums.MetadataFieldScope | null - config?: Prisma.JsonNullableFilter<"MetadataField"> - readOnly?: Prisma.BoolFilter<"MetadataField"> | boolean - aiAutofill?: Prisma.BoolFilter<"MetadataField"> | boolean - description?: Prisma.StringFilter<"MetadataField"> | string - teamId?: Prisma.StringNullableFilter<"MetadataField"> | string | null - projectId?: Prisma.StringNullableFilter<"MetadataField"> | string | null -} - -export type MetadataFieldCreateWithoutProjectInput = { - id?: string - key: string - scope?: $Enums.MetadataFieldScope | null - config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput - readOnly?: boolean - aiAutofill?: boolean - description?: string - team?: Prisma.TeamCreateNestedOneWithoutMetadataFieldsInput -} - -export type MetadataFieldUncheckedCreateWithoutProjectInput = { - id?: string - key: string - scope?: $Enums.MetadataFieldScope | null - config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput - readOnly?: boolean - aiAutofill?: boolean - description?: string - teamId?: string | null -} - -export type MetadataFieldCreateOrConnectWithoutProjectInput = { - where: Prisma.MetadataFieldWhereUniqueInput - create: Prisma.XOR -} - -export type MetadataFieldCreateManyProjectInputEnvelope = { - data: Prisma.MetadataFieldCreateManyProjectInput | Prisma.MetadataFieldCreateManyProjectInput[] - skipDuplicates?: boolean -} - -export type MetadataFieldUpsertWithWhereUniqueWithoutProjectInput = { - where: Prisma.MetadataFieldWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type MetadataFieldUpdateWithWhereUniqueWithoutProjectInput = { - where: Prisma.MetadataFieldWhereUniqueInput - data: Prisma.XOR -} - -export type MetadataFieldUpdateManyWithWhereWithoutProjectInput = { - where: Prisma.MetadataFieldScalarWhereInput - data: Prisma.XOR -} - -export type MetadataFieldCreateManyTeamInput = { - id?: string - key: string - scope?: $Enums.MetadataFieldScope | null - config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput - readOnly?: boolean - aiAutofill?: boolean - description?: string - projectId?: string | null -} - -export type MetadataFieldUpdateWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - scope?: Prisma.NullableEnumMetadataFieldScopeFieldUpdateOperationsInput | $Enums.MetadataFieldScope | null - config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput - readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean - aiAutofill?: Prisma.BoolFieldUpdateOperationsInput | boolean - description?: Prisma.StringFieldUpdateOperationsInput | string - project?: Prisma.ProjectUpdateOneWithoutMetadataFieldsNestedInput -} - -export type MetadataFieldUncheckedUpdateWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - scope?: Prisma.NullableEnumMetadataFieldScopeFieldUpdateOperationsInput | $Enums.MetadataFieldScope | null - config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput - readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean - aiAutofill?: Prisma.BoolFieldUpdateOperationsInput | boolean - description?: Prisma.StringFieldUpdateOperationsInput | string - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type MetadataFieldUncheckedUpdateManyWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - scope?: Prisma.NullableEnumMetadataFieldScopeFieldUpdateOperationsInput | $Enums.MetadataFieldScope | null - config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput - readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean - aiAutofill?: Prisma.BoolFieldUpdateOperationsInput | boolean - description?: Prisma.StringFieldUpdateOperationsInput | string - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type MetadataFieldCreateManyProjectInput = { - id?: string - key: string - scope?: $Enums.MetadataFieldScope | null - config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput - readOnly?: boolean - aiAutofill?: boolean - description?: string - teamId?: string | null -} - -export type MetadataFieldUpdateWithoutProjectInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - scope?: Prisma.NullableEnumMetadataFieldScopeFieldUpdateOperationsInput | $Enums.MetadataFieldScope | null - config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput - readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean - aiAutofill?: Prisma.BoolFieldUpdateOperationsInput | boolean - description?: Prisma.StringFieldUpdateOperationsInput | string - team?: Prisma.TeamUpdateOneWithoutMetadataFieldsNestedInput -} - -export type MetadataFieldUncheckedUpdateWithoutProjectInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - scope?: Prisma.NullableEnumMetadataFieldScopeFieldUpdateOperationsInput | $Enums.MetadataFieldScope | null - config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput - readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean - aiAutofill?: Prisma.BoolFieldUpdateOperationsInput | boolean - description?: Prisma.StringFieldUpdateOperationsInput | string - teamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type MetadataFieldUncheckedUpdateManyWithoutProjectInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - scope?: Prisma.NullableEnumMetadataFieldScopeFieldUpdateOperationsInput | $Enums.MetadataFieldScope | null - config?:PrismaJson.FieldConfig | Prisma.NullableJsonNullValueInput - readOnly?: Prisma.BoolFieldUpdateOperationsInput | boolean - aiAutofill?: Prisma.BoolFieldUpdateOperationsInput | boolean - description?: Prisma.StringFieldUpdateOperationsInput | string - teamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - - - -export type MetadataFieldSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - key?: boolean - scope?: boolean - config?: boolean - readOnly?: boolean - aiAutofill?: boolean - description?: boolean - teamId?: boolean - projectId?: boolean - team?: boolean | Prisma.MetadataField$teamArgs - project?: boolean | Prisma.MetadataField$projectArgs -}, ExtArgs["result"]["metadataField"]> - -export type MetadataFieldSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - key?: boolean - scope?: boolean - config?: boolean - readOnly?: boolean - aiAutofill?: boolean - description?: boolean - teamId?: boolean - projectId?: boolean - team?: boolean | Prisma.MetadataField$teamArgs - project?: boolean | Prisma.MetadataField$projectArgs -}, ExtArgs["result"]["metadataField"]> - -export type MetadataFieldSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - key?: boolean - scope?: boolean - config?: boolean - readOnly?: boolean - aiAutofill?: boolean - description?: boolean - teamId?: boolean - projectId?: boolean - team?: boolean | Prisma.MetadataField$teamArgs - project?: boolean | Prisma.MetadataField$projectArgs -}, ExtArgs["result"]["metadataField"]> - -export type MetadataFieldSelectScalar = { - id?: boolean - key?: boolean - scope?: boolean - config?: boolean - readOnly?: boolean - aiAutofill?: boolean - description?: boolean - teamId?: boolean - projectId?: boolean -} - -export type MetadataFieldOmit = runtime.Types.Extensions.GetOmit<"id" | "key" | "scope" | "config" | "readOnly" | "aiAutofill" | "description" | "teamId" | "projectId", ExtArgs["result"]["metadataField"]> -export type MetadataFieldInclude = { - team?: boolean | Prisma.MetadataField$teamArgs - project?: boolean | Prisma.MetadataField$projectArgs -} -export type MetadataFieldIncludeCreateManyAndReturn = { - team?: boolean | Prisma.MetadataField$teamArgs - project?: boolean | Prisma.MetadataField$projectArgs -} -export type MetadataFieldIncludeUpdateManyAndReturn = { - team?: boolean | Prisma.MetadataField$teamArgs - project?: boolean | Prisma.MetadataField$projectArgs -} - -export type $MetadataFieldPayload = { - name: "MetadataField" - objects: { - team: Prisma.$TeamPayload | null - project: Prisma.$ProjectPayload | null - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - key: string - scope: $Enums.MetadataFieldScope | null - /** - * [FieldConfig] - */ - config:PrismaJson.FieldConfig | null - readOnly: boolean - aiAutofill: boolean - description: string - teamId: string | null - projectId: string | null - }, ExtArgs["result"]["metadataField"]> - composites: {} -} - -export type MetadataFieldGetPayload = runtime.Types.Result.GetResult - -export type MetadataFieldCountArgs = - Omit & { - select?: MetadataFieldCountAggregateInputType | true - } - -export interface MetadataFieldDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['MetadataField'], meta: { name: 'MetadataField' } } - /** - * Find zero or one MetadataField that matches the filter. - * @param {MetadataFieldFindUniqueArgs} args - Arguments to find a MetadataField - * @example - * // Get one MetadataField - * const metadataField = await prisma.metadataField.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__MetadataFieldClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one MetadataField that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {MetadataFieldFindUniqueOrThrowArgs} args - Arguments to find a MetadataField - * @example - * // Get one MetadataField - * const metadataField = await prisma.metadataField.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__MetadataFieldClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first MetadataField that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {MetadataFieldFindFirstArgs} args - Arguments to find a MetadataField - * @example - * // Get one MetadataField - * const metadataField = await prisma.metadataField.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__MetadataFieldClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first MetadataField that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {MetadataFieldFindFirstOrThrowArgs} args - Arguments to find a MetadataField - * @example - * // Get one MetadataField - * const metadataField = await prisma.metadataField.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__MetadataFieldClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more MetadataFields that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {MetadataFieldFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all MetadataFields - * const metadataFields = await prisma.metadataField.findMany() - * - * // Get first 10 MetadataFields - * const metadataFields = await prisma.metadataField.findMany({ take: 10 }) - * - * // Only select the `id` - * const metadataFieldWithIdOnly = await prisma.metadataField.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a MetadataField. - * @param {MetadataFieldCreateArgs} args - Arguments to create a MetadataField. - * @example - * // Create one MetadataField - * const MetadataField = await prisma.metadataField.create({ - * data: { - * // ... data to create a MetadataField - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__MetadataFieldClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many MetadataFields. - * @param {MetadataFieldCreateManyArgs} args - Arguments to create many MetadataFields. - * @example - * // Create many MetadataFields - * const metadataField = await prisma.metadataField.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many MetadataFields and returns the data saved in the database. - * @param {MetadataFieldCreateManyAndReturnArgs} args - Arguments to create many MetadataFields. - * @example - * // Create many MetadataFields - * const metadataField = await prisma.metadataField.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many MetadataFields and only return the `id` - * const metadataFieldWithIdOnly = await prisma.metadataField.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a MetadataField. - * @param {MetadataFieldDeleteArgs} args - Arguments to delete one MetadataField. - * @example - * // Delete one MetadataField - * const MetadataField = await prisma.metadataField.delete({ - * where: { - * // ... filter to delete one MetadataField - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__MetadataFieldClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one MetadataField. - * @param {MetadataFieldUpdateArgs} args - Arguments to update one MetadataField. - * @example - * // Update one MetadataField - * const metadataField = await prisma.metadataField.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__MetadataFieldClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more MetadataFields. - * @param {MetadataFieldDeleteManyArgs} args - Arguments to filter MetadataFields to delete. - * @example - * // Delete a few MetadataFields - * const { count } = await prisma.metadataField.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more MetadataFields. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {MetadataFieldUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many MetadataFields - * const metadataField = await prisma.metadataField.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more MetadataFields and returns the data updated in the database. - * @param {MetadataFieldUpdateManyAndReturnArgs} args - Arguments to update many MetadataFields. - * @example - * // Update many MetadataFields - * const metadataField = await prisma.metadataField.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more MetadataFields and only return the `id` - * const metadataFieldWithIdOnly = await prisma.metadataField.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one MetadataField. - * @param {MetadataFieldUpsertArgs} args - Arguments to update or create a MetadataField. - * @example - * // Update or create a MetadataField - * const metadataField = await prisma.metadataField.upsert({ - * create: { - * // ... data to create a MetadataField - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the MetadataField we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__MetadataFieldClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of MetadataFields. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {MetadataFieldCountArgs} args - Arguments to filter MetadataFields to count. - * @example - * // Count the number of MetadataFields - * const count = await prisma.metadataField.count({ - * where: { - * // ... the filter for the MetadataFields we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a MetadataField. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {MetadataFieldAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by MetadataField. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {MetadataFieldGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends MetadataFieldGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: MetadataFieldGroupByArgs['orderBy'] } - : { orderBy?: MetadataFieldGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetMetadataFieldGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the MetadataField model - */ -readonly fields: MetadataFieldFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for MetadataField. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__MetadataFieldClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - team = {}>(args?: Prisma.Subset>): Prisma.Prisma__TeamClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - project = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProjectClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the MetadataField model - */ -export interface MetadataFieldFieldRefs { - readonly id: Prisma.FieldRef<"MetadataField", 'String'> - readonly key: Prisma.FieldRef<"MetadataField", 'String'> - readonly scope: Prisma.FieldRef<"MetadataField", 'MetadataFieldScope'> - readonly config: Prisma.FieldRef<"MetadataField", 'Json'> - readonly readOnly: Prisma.FieldRef<"MetadataField", 'Boolean'> - readonly aiAutofill: Prisma.FieldRef<"MetadataField", 'Boolean'> - readonly description: Prisma.FieldRef<"MetadataField", 'String'> - readonly teamId: Prisma.FieldRef<"MetadataField", 'String'> - readonly projectId: Prisma.FieldRef<"MetadataField", 'String'> -} - - -// Custom InputTypes -/** - * MetadataField findUnique - */ -export type MetadataFieldFindUniqueArgs = { - /** - * Select specific fields to fetch from the MetadataField - */ - select?: Prisma.MetadataFieldSelect | null - /** - * Omit specific fields from the MetadataField - */ - omit?: Prisma.MetadataFieldOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.MetadataFieldInclude | null - /** - * Filter, which MetadataField to fetch. - */ - where: Prisma.MetadataFieldWhereUniqueInput -} - -/** - * MetadataField findUniqueOrThrow - */ -export type MetadataFieldFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the MetadataField - */ - select?: Prisma.MetadataFieldSelect | null - /** - * Omit specific fields from the MetadataField - */ - omit?: Prisma.MetadataFieldOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.MetadataFieldInclude | null - /** - * Filter, which MetadataField to fetch. - */ - where: Prisma.MetadataFieldWhereUniqueInput -} - -/** - * MetadataField findFirst - */ -export type MetadataFieldFindFirstArgs = { - /** - * Select specific fields to fetch from the MetadataField - */ - select?: Prisma.MetadataFieldSelect | null - /** - * Omit specific fields from the MetadataField - */ - omit?: Prisma.MetadataFieldOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.MetadataFieldInclude | null - /** - * Filter, which MetadataField to fetch. - */ - where?: Prisma.MetadataFieldWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of MetadataFields to fetch. - */ - orderBy?: Prisma.MetadataFieldOrderByWithRelationInput | Prisma.MetadataFieldOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for MetadataFields. - */ - cursor?: Prisma.MetadataFieldWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` MetadataFields from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` MetadataFields. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of MetadataFields. - */ - distinct?: Prisma.MetadataFieldScalarFieldEnum | Prisma.MetadataFieldScalarFieldEnum[] -} - -/** - * MetadataField findFirstOrThrow - */ -export type MetadataFieldFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the MetadataField - */ - select?: Prisma.MetadataFieldSelect | null - /** - * Omit specific fields from the MetadataField - */ - omit?: Prisma.MetadataFieldOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.MetadataFieldInclude | null - /** - * Filter, which MetadataField to fetch. - */ - where?: Prisma.MetadataFieldWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of MetadataFields to fetch. - */ - orderBy?: Prisma.MetadataFieldOrderByWithRelationInput | Prisma.MetadataFieldOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for MetadataFields. - */ - cursor?: Prisma.MetadataFieldWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` MetadataFields from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` MetadataFields. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of MetadataFields. - */ - distinct?: Prisma.MetadataFieldScalarFieldEnum | Prisma.MetadataFieldScalarFieldEnum[] -} - -/** - * MetadataField findMany - */ -export type MetadataFieldFindManyArgs = { - /** - * Select specific fields to fetch from the MetadataField - */ - select?: Prisma.MetadataFieldSelect | null - /** - * Omit specific fields from the MetadataField - */ - omit?: Prisma.MetadataFieldOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.MetadataFieldInclude | null - /** - * Filter, which MetadataFields to fetch. - */ - where?: Prisma.MetadataFieldWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of MetadataFields to fetch. - */ - orderBy?: Prisma.MetadataFieldOrderByWithRelationInput | Prisma.MetadataFieldOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing MetadataFields. - */ - cursor?: Prisma.MetadataFieldWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` MetadataFields from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` MetadataFields. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of MetadataFields. - */ - distinct?: Prisma.MetadataFieldScalarFieldEnum | Prisma.MetadataFieldScalarFieldEnum[] -} - -/** - * MetadataField create - */ -export type MetadataFieldCreateArgs = { - /** - * Select specific fields to fetch from the MetadataField - */ - select?: Prisma.MetadataFieldSelect | null - /** - * Omit specific fields from the MetadataField - */ - omit?: Prisma.MetadataFieldOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.MetadataFieldInclude | null - /** - * The data needed to create a MetadataField. - */ - data: Prisma.XOR -} - -/** - * MetadataField createMany - */ -export type MetadataFieldCreateManyArgs = { - /** - * The data used to create many MetadataFields. - */ - data: Prisma.MetadataFieldCreateManyInput | Prisma.MetadataFieldCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * MetadataField createManyAndReturn - */ -export type MetadataFieldCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the MetadataField - */ - select?: Prisma.MetadataFieldSelectCreateManyAndReturn | null - /** - * Omit specific fields from the MetadataField - */ - omit?: Prisma.MetadataFieldOmit | null - /** - * The data used to create many MetadataFields. - */ - data: Prisma.MetadataFieldCreateManyInput | Prisma.MetadataFieldCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.MetadataFieldIncludeCreateManyAndReturn | null -} - -/** - * MetadataField update - */ -export type MetadataFieldUpdateArgs = { - /** - * Select specific fields to fetch from the MetadataField - */ - select?: Prisma.MetadataFieldSelect | null - /** - * Omit specific fields from the MetadataField - */ - omit?: Prisma.MetadataFieldOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.MetadataFieldInclude | null - /** - * The data needed to update a MetadataField. - */ - data: Prisma.XOR - /** - * Choose, which MetadataField to update. - */ - where: Prisma.MetadataFieldWhereUniqueInput -} - -/** - * MetadataField updateMany - */ -export type MetadataFieldUpdateManyArgs = { - /** - * The data used to update MetadataFields. - */ - data: Prisma.XOR - /** - * Filter which MetadataFields to update - */ - where?: Prisma.MetadataFieldWhereInput - /** - * Limit how many MetadataFields to update. - */ - limit?: number -} - -/** - * MetadataField updateManyAndReturn - */ -export type MetadataFieldUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the MetadataField - */ - select?: Prisma.MetadataFieldSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the MetadataField - */ - omit?: Prisma.MetadataFieldOmit | null - /** - * The data used to update MetadataFields. - */ - data: Prisma.XOR - /** - * Filter which MetadataFields to update - */ - where?: Prisma.MetadataFieldWhereInput - /** - * Limit how many MetadataFields to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.MetadataFieldIncludeUpdateManyAndReturn | null -} - -/** - * MetadataField upsert - */ -export type MetadataFieldUpsertArgs = { - /** - * Select specific fields to fetch from the MetadataField - */ - select?: Prisma.MetadataFieldSelect | null - /** - * Omit specific fields from the MetadataField - */ - omit?: Prisma.MetadataFieldOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.MetadataFieldInclude | null - /** - * The filter to search for the MetadataField to update in case it exists. - */ - where: Prisma.MetadataFieldWhereUniqueInput - /** - * In case the MetadataField found by the `where` argument doesn't exist, create a new MetadataField with this data. - */ - create: Prisma.XOR - /** - * In case the MetadataField was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * MetadataField delete - */ -export type MetadataFieldDeleteArgs = { - /** - * Select specific fields to fetch from the MetadataField - */ - select?: Prisma.MetadataFieldSelect | null - /** - * Omit specific fields from the MetadataField - */ - omit?: Prisma.MetadataFieldOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.MetadataFieldInclude | null - /** - * Filter which MetadataField to delete. - */ - where: Prisma.MetadataFieldWhereUniqueInput -} - -/** - * MetadataField deleteMany - */ -export type MetadataFieldDeleteManyArgs = { - /** - * Filter which MetadataFields to delete - */ - where?: Prisma.MetadataFieldWhereInput - /** - * Limit how many MetadataFields to delete. - */ - limit?: number -} - -/** - * MetadataField.team - */ -export type MetadataField$teamArgs = { - /** - * Select specific fields to fetch from the Team - */ - select?: Prisma.TeamSelect | null - /** - * Omit specific fields from the Team - */ - omit?: Prisma.TeamOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamInclude | null - where?: Prisma.TeamWhereInput -} - -/** - * MetadataField.project - */ -export type MetadataField$projectArgs = { - /** - * Select specific fields to fetch from the Project - */ - select?: Prisma.ProjectSelect | null - /** - * Omit specific fields from the Project - */ - omit?: Prisma.ProjectOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectInclude | null - where?: Prisma.ProjectWhereInput -} - -/** - * MetadataField without action - */ -export type MetadataFieldDefaultArgs = { - /** - * Select specific fields to fetch from the MetadataField - */ - select?: Prisma.MetadataFieldSelect | null - /** - * Omit specific fields from the MetadataField - */ - omit?: Prisma.MetadataFieldOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.MetadataFieldInclude | null -} diff --git a/src/generated/prisma/models/Model.ts b/src/generated/prisma/models/Model.ts deleted file mode 100644 index a6f28d58..00000000 --- a/src/generated/prisma/models/Model.ts +++ /dev/null @@ -1,1567 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `Model` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model Model - * - */ -export type ModelModel = runtime.Types.Result.DefaultSelection - -export type AggregateModel = { - _count: ModelCountAggregateOutputType | null - _min: ModelMinAggregateOutputType | null - _max: ModelMaxAggregateOutputType | null -} - -export type ModelMinAggregateOutputType = { - id: string | null - modelId: string | null - name: string | null - createdAt: Date | null - updatedAt: Date | null - providerId: string | null -} - -export type ModelMaxAggregateOutputType = { - id: string | null - modelId: string | null - name: string | null - createdAt: Date | null - updatedAt: Date | null - providerId: string | null -} - -export type ModelCountAggregateOutputType = { - id: number - modelId: number - name: number - config:PrismaJson.ModelConfig - createdAt: number - updatedAt: number - providerId: number - _all: number -} - - -export type ModelMinAggregateInputType = { - id?: true - modelId?: true - name?: true - createdAt?: true - updatedAt?: true - providerId?: true -} - -export type ModelMaxAggregateInputType = { - id?: true - modelId?: true - name?: true - createdAt?: true - updatedAt?: true - providerId?: true -} - -export type ModelCountAggregateInputType = { - id?: true - modelId?: true - name?: true - config?: true - createdAt?: true - updatedAt?: true - providerId?: true - _all?: true -} - -export type ModelAggregateArgs = { - /** - * Filter which Model to aggregate. - */ - where?: Prisma.ModelWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Models to fetch. - */ - orderBy?: Prisma.ModelOrderByWithRelationInput | Prisma.ModelOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.ModelWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Models from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Models. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Models - **/ - _count?: true | ModelCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: ModelMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: ModelMaxAggregateInputType -} - -export type GetModelAggregateType = { - [P in keyof T & keyof AggregateModel]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type ModelGroupByArgs = { - where?: Prisma.ModelWhereInput - orderBy?: Prisma.ModelOrderByWithAggregationInput | Prisma.ModelOrderByWithAggregationInput[] - by: Prisma.ModelScalarFieldEnum[] | Prisma.ModelScalarFieldEnum - having?: Prisma.ModelScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: ModelCountAggregateInputType | true - _min?: ModelMinAggregateInputType - _max?: ModelMaxAggregateInputType -} - -export type ModelGroupByOutputType = { - id: string - modelId: string - name: string - config:PrismaJson.ModelConfig - createdAt: Date - updatedAt: Date - providerId: string - _count: ModelCountAggregateOutputType | null - _min: ModelMinAggregateOutputType | null - _max: ModelMaxAggregateOutputType | null -} - -export type GetModelGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof ModelGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type ModelWhereInput = { - AND?: Prisma.ModelWhereInput | Prisma.ModelWhereInput[] - OR?: Prisma.ModelWhereInput[] - NOT?: Prisma.ModelWhereInput | Prisma.ModelWhereInput[] - id?: Prisma.StringFilter<"Model"> | string - modelId?: Prisma.StringFilter<"Model"> | string - name?: Prisma.StringFilter<"Model"> | string - config?: Prisma.JsonFilter<"Model"> - createdAt?: Prisma.DateTimeFilter<"Model"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Model"> | Date | string - providerId?: Prisma.StringFilter<"Model"> | string - provider?: Prisma.XOR - agents?: Prisma.AgentListRelationFilter -} - -export type ModelOrderByWithRelationInput = { - id?: Prisma.SortOrder - modelId?: Prisma.SortOrder - name?: Prisma.SortOrder - config?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - providerId?: Prisma.SortOrder - provider?: Prisma.ProviderOrderByWithRelationInput - agents?: Prisma.AgentOrderByRelationAggregateInput -} - -export type ModelWhereUniqueInput = Prisma.AtLeast<{ - id?: string - providerId_modelId?: Prisma.ModelProviderIdModelIdCompoundUniqueInput - AND?: Prisma.ModelWhereInput | Prisma.ModelWhereInput[] - OR?: Prisma.ModelWhereInput[] - NOT?: Prisma.ModelWhereInput | Prisma.ModelWhereInput[] - modelId?: Prisma.StringFilter<"Model"> | string - name?: Prisma.StringFilter<"Model"> | string - config?: Prisma.JsonFilter<"Model"> - createdAt?: Prisma.DateTimeFilter<"Model"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Model"> | Date | string - providerId?: Prisma.StringFilter<"Model"> | string - provider?: Prisma.XOR - agents?: Prisma.AgentListRelationFilter -}, "id" | "providerId_modelId"> - -export type ModelOrderByWithAggregationInput = { - id?: Prisma.SortOrder - modelId?: Prisma.SortOrder - name?: Prisma.SortOrder - config?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - providerId?: Prisma.SortOrder - _count?: Prisma.ModelCountOrderByAggregateInput - _max?: Prisma.ModelMaxOrderByAggregateInput - _min?: Prisma.ModelMinOrderByAggregateInput -} - -export type ModelScalarWhereWithAggregatesInput = { - AND?: Prisma.ModelScalarWhereWithAggregatesInput | Prisma.ModelScalarWhereWithAggregatesInput[] - OR?: Prisma.ModelScalarWhereWithAggregatesInput[] - NOT?: Prisma.ModelScalarWhereWithAggregatesInput | Prisma.ModelScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"Model"> | string - modelId?: Prisma.StringWithAggregatesFilter<"Model"> | string - name?: Prisma.StringWithAggregatesFilter<"Model"> | string - config?: Prisma.JsonWithAggregatesFilter<"Model"> - createdAt?: Prisma.DateTimeWithAggregatesFilter<"Model"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Model"> | Date | string - providerId?: Prisma.StringWithAggregatesFilter<"Model"> | string -} - -export type ModelCreateInput = { - id?: string - modelId: string - name?: string - config:PrismaJson.ModelConfig - createdAt?: Date | string - updatedAt?: Date | string - provider: Prisma.ProviderCreateNestedOneWithoutModelsInput - agents?: Prisma.AgentCreateNestedManyWithoutModelRefInput -} - -export type ModelUncheckedCreateInput = { - id?: string - modelId: string - name?: string - config:PrismaJson.ModelConfig - createdAt?: Date | string - updatedAt?: Date | string - providerId: string - agents?: Prisma.AgentUncheckedCreateNestedManyWithoutModelRefInput -} - -export type ModelUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - modelId?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - config?:PrismaJson.ModelConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - provider?: Prisma.ProviderUpdateOneRequiredWithoutModelsNestedInput - agents?: Prisma.AgentUpdateManyWithoutModelRefNestedInput -} - -export type ModelUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - modelId?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - config?:PrismaJson.ModelConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - providerId?: Prisma.StringFieldUpdateOperationsInput | string - agents?: Prisma.AgentUncheckedUpdateManyWithoutModelRefNestedInput -} - -export type ModelCreateManyInput = { - id?: string - modelId: string - name?: string - config:PrismaJson.ModelConfig - createdAt?: Date | string - updatedAt?: Date | string - providerId: string -} - -export type ModelUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - modelId?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - config?:PrismaJson.ModelConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type ModelUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - modelId?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - config?:PrismaJson.ModelConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - providerId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type ModelNullableScalarRelationFilter = { - is?: Prisma.ModelWhereInput | null - isNot?: Prisma.ModelWhereInput | null -} - -export type ModelProviderIdModelIdCompoundUniqueInput = { - providerId: string - modelId: string -} - -export type ModelCountOrderByAggregateInput = { - id?: Prisma.SortOrder - modelId?: Prisma.SortOrder - name?: Prisma.SortOrder - config?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - providerId?: Prisma.SortOrder -} - -export type ModelMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - modelId?: Prisma.SortOrder - name?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - providerId?: Prisma.SortOrder -} - -export type ModelMinOrderByAggregateInput = { - id?: Prisma.SortOrder - modelId?: Prisma.SortOrder - name?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - providerId?: Prisma.SortOrder -} - -export type ModelListRelationFilter = { - every?: Prisma.ModelWhereInput - some?: Prisma.ModelWhereInput - none?: Prisma.ModelWhereInput -} - -export type ModelOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type ModelCreateNestedOneWithoutAgentsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ModelCreateOrConnectWithoutAgentsInput - connect?: Prisma.ModelWhereUniqueInput -} - -export type ModelUpdateOneWithoutAgentsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ModelCreateOrConnectWithoutAgentsInput - upsert?: Prisma.ModelUpsertWithoutAgentsInput - disconnect?: Prisma.ModelWhereInput | boolean - delete?: Prisma.ModelWhereInput | boolean - connect?: Prisma.ModelWhereUniqueInput - update?: Prisma.XOR, Prisma.ModelUncheckedUpdateWithoutAgentsInput> -} - -export type ModelCreateNestedManyWithoutProviderInput = { - create?: Prisma.XOR | Prisma.ModelCreateWithoutProviderInput[] | Prisma.ModelUncheckedCreateWithoutProviderInput[] - connectOrCreate?: Prisma.ModelCreateOrConnectWithoutProviderInput | Prisma.ModelCreateOrConnectWithoutProviderInput[] - createMany?: Prisma.ModelCreateManyProviderInputEnvelope - connect?: Prisma.ModelWhereUniqueInput | Prisma.ModelWhereUniqueInput[] -} - -export type ModelUncheckedCreateNestedManyWithoutProviderInput = { - create?: Prisma.XOR | Prisma.ModelCreateWithoutProviderInput[] | Prisma.ModelUncheckedCreateWithoutProviderInput[] - connectOrCreate?: Prisma.ModelCreateOrConnectWithoutProviderInput | Prisma.ModelCreateOrConnectWithoutProviderInput[] - createMany?: Prisma.ModelCreateManyProviderInputEnvelope - connect?: Prisma.ModelWhereUniqueInput | Prisma.ModelWhereUniqueInput[] -} - -export type ModelUpdateManyWithoutProviderNestedInput = { - create?: Prisma.XOR | Prisma.ModelCreateWithoutProviderInput[] | Prisma.ModelUncheckedCreateWithoutProviderInput[] - connectOrCreate?: Prisma.ModelCreateOrConnectWithoutProviderInput | Prisma.ModelCreateOrConnectWithoutProviderInput[] - upsert?: Prisma.ModelUpsertWithWhereUniqueWithoutProviderInput | Prisma.ModelUpsertWithWhereUniqueWithoutProviderInput[] - createMany?: Prisma.ModelCreateManyProviderInputEnvelope - set?: Prisma.ModelWhereUniqueInput | Prisma.ModelWhereUniqueInput[] - disconnect?: Prisma.ModelWhereUniqueInput | Prisma.ModelWhereUniqueInput[] - delete?: Prisma.ModelWhereUniqueInput | Prisma.ModelWhereUniqueInput[] - connect?: Prisma.ModelWhereUniqueInput | Prisma.ModelWhereUniqueInput[] - update?: Prisma.ModelUpdateWithWhereUniqueWithoutProviderInput | Prisma.ModelUpdateWithWhereUniqueWithoutProviderInput[] - updateMany?: Prisma.ModelUpdateManyWithWhereWithoutProviderInput | Prisma.ModelUpdateManyWithWhereWithoutProviderInput[] - deleteMany?: Prisma.ModelScalarWhereInput | Prisma.ModelScalarWhereInput[] -} - -export type ModelUncheckedUpdateManyWithoutProviderNestedInput = { - create?: Prisma.XOR | Prisma.ModelCreateWithoutProviderInput[] | Prisma.ModelUncheckedCreateWithoutProviderInput[] - connectOrCreate?: Prisma.ModelCreateOrConnectWithoutProviderInput | Prisma.ModelCreateOrConnectWithoutProviderInput[] - upsert?: Prisma.ModelUpsertWithWhereUniqueWithoutProviderInput | Prisma.ModelUpsertWithWhereUniqueWithoutProviderInput[] - createMany?: Prisma.ModelCreateManyProviderInputEnvelope - set?: Prisma.ModelWhereUniqueInput | Prisma.ModelWhereUniqueInput[] - disconnect?: Prisma.ModelWhereUniqueInput | Prisma.ModelWhereUniqueInput[] - delete?: Prisma.ModelWhereUniqueInput | Prisma.ModelWhereUniqueInput[] - connect?: Prisma.ModelWhereUniqueInput | Prisma.ModelWhereUniqueInput[] - update?: Prisma.ModelUpdateWithWhereUniqueWithoutProviderInput | Prisma.ModelUpdateWithWhereUniqueWithoutProviderInput[] - updateMany?: Prisma.ModelUpdateManyWithWhereWithoutProviderInput | Prisma.ModelUpdateManyWithWhereWithoutProviderInput[] - deleteMany?: Prisma.ModelScalarWhereInput | Prisma.ModelScalarWhereInput[] -} - -export type ModelCreateWithoutAgentsInput = { - id?: string - modelId: string - name?: string - config:PrismaJson.ModelConfig - createdAt?: Date | string - updatedAt?: Date | string - provider: Prisma.ProviderCreateNestedOneWithoutModelsInput -} - -export type ModelUncheckedCreateWithoutAgentsInput = { - id?: string - modelId: string - name?: string - config:PrismaJson.ModelConfig - createdAt?: Date | string - updatedAt?: Date | string - providerId: string -} - -export type ModelCreateOrConnectWithoutAgentsInput = { - where: Prisma.ModelWhereUniqueInput - create: Prisma.XOR -} - -export type ModelUpsertWithoutAgentsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.ModelWhereInput -} - -export type ModelUpdateToOneWithWhereWithoutAgentsInput = { - where?: Prisma.ModelWhereInput - data: Prisma.XOR -} - -export type ModelUpdateWithoutAgentsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - modelId?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - config?:PrismaJson.ModelConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - provider?: Prisma.ProviderUpdateOneRequiredWithoutModelsNestedInput -} - -export type ModelUncheckedUpdateWithoutAgentsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - modelId?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - config?:PrismaJson.ModelConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - providerId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type ModelCreateWithoutProviderInput = { - id?: string - modelId: string - name?: string - config:PrismaJson.ModelConfig - createdAt?: Date | string - updatedAt?: Date | string - agents?: Prisma.AgentCreateNestedManyWithoutModelRefInput -} - -export type ModelUncheckedCreateWithoutProviderInput = { - id?: string - modelId: string - name?: string - config:PrismaJson.ModelConfig - createdAt?: Date | string - updatedAt?: Date | string - agents?: Prisma.AgentUncheckedCreateNestedManyWithoutModelRefInput -} - -export type ModelCreateOrConnectWithoutProviderInput = { - where: Prisma.ModelWhereUniqueInput - create: Prisma.XOR -} - -export type ModelCreateManyProviderInputEnvelope = { - data: Prisma.ModelCreateManyProviderInput | Prisma.ModelCreateManyProviderInput[] - skipDuplicates?: boolean -} - -export type ModelUpsertWithWhereUniqueWithoutProviderInput = { - where: Prisma.ModelWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type ModelUpdateWithWhereUniqueWithoutProviderInput = { - where: Prisma.ModelWhereUniqueInput - data: Prisma.XOR -} - -export type ModelUpdateManyWithWhereWithoutProviderInput = { - where: Prisma.ModelScalarWhereInput - data: Prisma.XOR -} - -export type ModelScalarWhereInput = { - AND?: Prisma.ModelScalarWhereInput | Prisma.ModelScalarWhereInput[] - OR?: Prisma.ModelScalarWhereInput[] - NOT?: Prisma.ModelScalarWhereInput | Prisma.ModelScalarWhereInput[] - id?: Prisma.StringFilter<"Model"> | string - modelId?: Prisma.StringFilter<"Model"> | string - name?: Prisma.StringFilter<"Model"> | string - config?: Prisma.JsonFilter<"Model"> - createdAt?: Prisma.DateTimeFilter<"Model"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Model"> | Date | string - providerId?: Prisma.StringFilter<"Model"> | string -} - -export type ModelCreateManyProviderInput = { - id?: string - modelId: string - name?: string - config:PrismaJson.ModelConfig - createdAt?: Date | string - updatedAt?: Date | string -} - -export type ModelUpdateWithoutProviderInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - modelId?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - config?:PrismaJson.ModelConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - agents?: Prisma.AgentUpdateManyWithoutModelRefNestedInput -} - -export type ModelUncheckedUpdateWithoutProviderInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - modelId?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - config?:PrismaJson.ModelConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - agents?: Prisma.AgentUncheckedUpdateManyWithoutModelRefNestedInput -} - -export type ModelUncheckedUpdateManyWithoutProviderInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - modelId?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - config?:PrismaJson.ModelConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - - -/** - * Count Type ModelCountOutputType - */ - -export type ModelCountOutputType = { - agents: number -} - -export type ModelCountOutputTypeSelect = { - agents?: boolean | ModelCountOutputTypeCountAgentsArgs -} - -/** - * ModelCountOutputType without action - */ -export type ModelCountOutputTypeDefaultArgs = { - /** - * Select specific fields to fetch from the ModelCountOutputType - */ - select?: Prisma.ModelCountOutputTypeSelect | null -} - -/** - * ModelCountOutputType without action - */ -export type ModelCountOutputTypeCountAgentsArgs = { - where?: Prisma.AgentWhereInput -} - - -export type ModelSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - modelId?: boolean - name?: boolean - config?: boolean - createdAt?: boolean - updatedAt?: boolean - providerId?: boolean - provider?: boolean | Prisma.ProviderDefaultArgs - agents?: boolean | Prisma.Model$agentsArgs - _count?: boolean | Prisma.ModelCountOutputTypeDefaultArgs -}, ExtArgs["result"]["model"]> - -export type ModelSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - modelId?: boolean - name?: boolean - config?: boolean - createdAt?: boolean - updatedAt?: boolean - providerId?: boolean - provider?: boolean | Prisma.ProviderDefaultArgs -}, ExtArgs["result"]["model"]> - -export type ModelSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - modelId?: boolean - name?: boolean - config?: boolean - createdAt?: boolean - updatedAt?: boolean - providerId?: boolean - provider?: boolean | Prisma.ProviderDefaultArgs -}, ExtArgs["result"]["model"]> - -export type ModelSelectScalar = { - id?: boolean - modelId?: boolean - name?: boolean - config?: boolean - createdAt?: boolean - updatedAt?: boolean - providerId?: boolean -} - -export type ModelOmit = runtime.Types.Extensions.GetOmit<"id" | "modelId" | "name" | "config" | "createdAt" | "updatedAt" | "providerId", ExtArgs["result"]["model"]> -export type ModelInclude = { - provider?: boolean | Prisma.ProviderDefaultArgs - agents?: boolean | Prisma.Model$agentsArgs - _count?: boolean | Prisma.ModelCountOutputTypeDefaultArgs -} -export type ModelIncludeCreateManyAndReturn = { - provider?: boolean | Prisma.ProviderDefaultArgs -} -export type ModelIncludeUpdateManyAndReturn = { - provider?: boolean | Prisma.ProviderDefaultArgs -} - -export type $ModelPayload = { - name: "Model" - objects: { - provider: Prisma.$ProviderPayload - agents: Prisma.$AgentPayload[] - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - modelId: string - name: string - /** - * [ModelConfig] - */ - config:PrismaJson.ModelConfig - createdAt: Date - updatedAt: Date - providerId: string - }, ExtArgs["result"]["model"]> - composites: {} -} - -export type ModelGetPayload = runtime.Types.Result.GetResult - -export type ModelCountArgs = - Omit & { - select?: ModelCountAggregateInputType | true - } - -export interface ModelDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['Model'], meta: { name: 'Model' } } - /** - * Find zero or one Model that matches the filter. - * @param {ModelFindUniqueArgs} args - Arguments to find a Model - * @example - * // Get one Model - * const model = await prisma.model.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ModelClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one Model that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {ModelFindUniqueOrThrowArgs} args - Arguments to find a Model - * @example - * // Get one Model - * const model = await prisma.model.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ModelClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Model that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ModelFindFirstArgs} args - Arguments to find a Model - * @example - * // Get one Model - * const model = await prisma.model.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ModelClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Model that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ModelFindFirstOrThrowArgs} args - Arguments to find a Model - * @example - * // Get one Model - * const model = await prisma.model.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ModelClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more Models that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ModelFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Models - * const models = await prisma.model.findMany() - * - * // Get first 10 Models - * const models = await prisma.model.findMany({ take: 10 }) - * - * // Only select the `id` - * const modelWithIdOnly = await prisma.model.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a Model. - * @param {ModelCreateArgs} args - Arguments to create a Model. - * @example - * // Create one Model - * const Model = await prisma.model.create({ - * data: { - * // ... data to create a Model - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__ModelClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many Models. - * @param {ModelCreateManyArgs} args - Arguments to create many Models. - * @example - * // Create many Models - * const model = await prisma.model.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many Models and returns the data saved in the database. - * @param {ModelCreateManyAndReturnArgs} args - Arguments to create many Models. - * @example - * // Create many Models - * const model = await prisma.model.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Models and only return the `id` - * const modelWithIdOnly = await prisma.model.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a Model. - * @param {ModelDeleteArgs} args - Arguments to delete one Model. - * @example - * // Delete one Model - * const Model = await prisma.model.delete({ - * where: { - * // ... filter to delete one Model - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__ModelClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one Model. - * @param {ModelUpdateArgs} args - Arguments to update one Model. - * @example - * // Update one Model - * const model = await prisma.model.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__ModelClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more Models. - * @param {ModelDeleteManyArgs} args - Arguments to filter Models to delete. - * @example - * // Delete a few Models - * const { count } = await prisma.model.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Models. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ModelUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Models - * const model = await prisma.model.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Models and returns the data updated in the database. - * @param {ModelUpdateManyAndReturnArgs} args - Arguments to update many Models. - * @example - * // Update many Models - * const model = await prisma.model.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Models and only return the `id` - * const modelWithIdOnly = await prisma.model.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one Model. - * @param {ModelUpsertArgs} args - Arguments to update or create a Model. - * @example - * // Update or create a Model - * const model = await prisma.model.upsert({ - * create: { - * // ... data to create a Model - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the Model we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ModelClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of Models. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ModelCountArgs} args - Arguments to filter Models to count. - * @example - * // Count the number of Models - * const count = await prisma.model.count({ - * where: { - * // ... the filter for the Models we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a Model. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ModelAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by Model. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ModelGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends ModelGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: ModelGroupByArgs['orderBy'] } - : { orderBy?: ModelGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetModelGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the Model model - */ -readonly fields: ModelFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for Model. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__ModelClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - provider = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProviderClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - agents = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the Model model - */ -export interface ModelFieldRefs { - readonly id: Prisma.FieldRef<"Model", 'String'> - readonly modelId: Prisma.FieldRef<"Model", 'String'> - readonly name: Prisma.FieldRef<"Model", 'String'> - readonly config: Prisma.FieldRef<"Model", 'Json'> - readonly createdAt: Prisma.FieldRef<"Model", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"Model", 'DateTime'> - readonly providerId: Prisma.FieldRef<"Model", 'String'> -} - - -// Custom InputTypes -/** - * Model findUnique - */ -export type ModelFindUniqueArgs = { - /** - * Select specific fields to fetch from the Model - */ - select?: Prisma.ModelSelect | null - /** - * Omit specific fields from the Model - */ - omit?: Prisma.ModelOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ModelInclude | null - /** - * Filter, which Model to fetch. - */ - where: Prisma.ModelWhereUniqueInput -} - -/** - * Model findUniqueOrThrow - */ -export type ModelFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the Model - */ - select?: Prisma.ModelSelect | null - /** - * Omit specific fields from the Model - */ - omit?: Prisma.ModelOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ModelInclude | null - /** - * Filter, which Model to fetch. - */ - where: Prisma.ModelWhereUniqueInput -} - -/** - * Model findFirst - */ -export type ModelFindFirstArgs = { - /** - * Select specific fields to fetch from the Model - */ - select?: Prisma.ModelSelect | null - /** - * Omit specific fields from the Model - */ - omit?: Prisma.ModelOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ModelInclude | null - /** - * Filter, which Model to fetch. - */ - where?: Prisma.ModelWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Models to fetch. - */ - orderBy?: Prisma.ModelOrderByWithRelationInput | Prisma.ModelOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Models. - */ - cursor?: Prisma.ModelWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Models from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Models. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Models. - */ - distinct?: Prisma.ModelScalarFieldEnum | Prisma.ModelScalarFieldEnum[] -} - -/** - * Model findFirstOrThrow - */ -export type ModelFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the Model - */ - select?: Prisma.ModelSelect | null - /** - * Omit specific fields from the Model - */ - omit?: Prisma.ModelOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ModelInclude | null - /** - * Filter, which Model to fetch. - */ - where?: Prisma.ModelWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Models to fetch. - */ - orderBy?: Prisma.ModelOrderByWithRelationInput | Prisma.ModelOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Models. - */ - cursor?: Prisma.ModelWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Models from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Models. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Models. - */ - distinct?: Prisma.ModelScalarFieldEnum | Prisma.ModelScalarFieldEnum[] -} - -/** - * Model findMany - */ -export type ModelFindManyArgs = { - /** - * Select specific fields to fetch from the Model - */ - select?: Prisma.ModelSelect | null - /** - * Omit specific fields from the Model - */ - omit?: Prisma.ModelOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ModelInclude | null - /** - * Filter, which Models to fetch. - */ - where?: Prisma.ModelWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Models to fetch. - */ - orderBy?: Prisma.ModelOrderByWithRelationInput | Prisma.ModelOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Models. - */ - cursor?: Prisma.ModelWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Models from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Models. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Models. - */ - distinct?: Prisma.ModelScalarFieldEnum | Prisma.ModelScalarFieldEnum[] -} - -/** - * Model create - */ -export type ModelCreateArgs = { - /** - * Select specific fields to fetch from the Model - */ - select?: Prisma.ModelSelect | null - /** - * Omit specific fields from the Model - */ - omit?: Prisma.ModelOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ModelInclude | null - /** - * The data needed to create a Model. - */ - data: Prisma.XOR -} - -/** - * Model createMany - */ -export type ModelCreateManyArgs = { - /** - * The data used to create many Models. - */ - data: Prisma.ModelCreateManyInput | Prisma.ModelCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * Model createManyAndReturn - */ -export type ModelCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Model - */ - select?: Prisma.ModelSelectCreateManyAndReturn | null - /** - * Omit specific fields from the Model - */ - omit?: Prisma.ModelOmit | null - /** - * The data used to create many Models. - */ - data: Prisma.ModelCreateManyInput | Prisma.ModelCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ModelIncludeCreateManyAndReturn | null -} - -/** - * Model update - */ -export type ModelUpdateArgs = { - /** - * Select specific fields to fetch from the Model - */ - select?: Prisma.ModelSelect | null - /** - * Omit specific fields from the Model - */ - omit?: Prisma.ModelOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ModelInclude | null - /** - * The data needed to update a Model. - */ - data: Prisma.XOR - /** - * Choose, which Model to update. - */ - where: Prisma.ModelWhereUniqueInput -} - -/** - * Model updateMany - */ -export type ModelUpdateManyArgs = { - /** - * The data used to update Models. - */ - data: Prisma.XOR - /** - * Filter which Models to update - */ - where?: Prisma.ModelWhereInput - /** - * Limit how many Models to update. - */ - limit?: number -} - -/** - * Model updateManyAndReturn - */ -export type ModelUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Model - */ - select?: Prisma.ModelSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the Model - */ - omit?: Prisma.ModelOmit | null - /** - * The data used to update Models. - */ - data: Prisma.XOR - /** - * Filter which Models to update - */ - where?: Prisma.ModelWhereInput - /** - * Limit how many Models to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ModelIncludeUpdateManyAndReturn | null -} - -/** - * Model upsert - */ -export type ModelUpsertArgs = { - /** - * Select specific fields to fetch from the Model - */ - select?: Prisma.ModelSelect | null - /** - * Omit specific fields from the Model - */ - omit?: Prisma.ModelOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ModelInclude | null - /** - * The filter to search for the Model to update in case it exists. - */ - where: Prisma.ModelWhereUniqueInput - /** - * In case the Model found by the `where` argument doesn't exist, create a new Model with this data. - */ - create: Prisma.XOR - /** - * In case the Model was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * Model delete - */ -export type ModelDeleteArgs = { - /** - * Select specific fields to fetch from the Model - */ - select?: Prisma.ModelSelect | null - /** - * Omit specific fields from the Model - */ - omit?: Prisma.ModelOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ModelInclude | null - /** - * Filter which Model to delete. - */ - where: Prisma.ModelWhereUniqueInput -} - -/** - * Model deleteMany - */ -export type ModelDeleteManyArgs = { - /** - * Filter which Models to delete - */ - where?: Prisma.ModelWhereInput - /** - * Limit how many Models to delete. - */ - limit?: number -} - -/** - * Model.agents - */ -export type Model$agentsArgs = { - /** - * Select specific fields to fetch from the Agent - */ - select?: Prisma.AgentSelect | null - /** - * Omit specific fields from the Agent - */ - omit?: Prisma.AgentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentInclude | null - where?: Prisma.AgentWhereInput - orderBy?: Prisma.AgentOrderByWithRelationInput | Prisma.AgentOrderByWithRelationInput[] - cursor?: Prisma.AgentWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.AgentScalarFieldEnum | Prisma.AgentScalarFieldEnum[] -} - -/** - * Model without action - */ -export type ModelDefaultArgs = { - /** - * Select specific fields to fetch from the Model - */ - select?: Prisma.ModelSelect | null - /** - * Omit specific fields from the Model - */ - omit?: Prisma.ModelOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ModelInclude | null -} diff --git a/src/generated/prisma/models/Notification.ts b/src/generated/prisma/models/Notification.ts deleted file mode 100644 index 1b974454..00000000 --- a/src/generated/prisma/models/Notification.ts +++ /dev/null @@ -1,2514 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `Notification` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model Notification - * - */ -export type NotificationModel = runtime.Types.Result.DefaultSelection - -export type AggregateNotification = { - _count: NotificationCountAggregateOutputType | null - _min: NotificationMinAggregateOutputType | null - _max: NotificationMaxAggregateOutputType | null -} - -export type NotificationMinAggregateOutputType = { - id: string | null - type: $Enums.NotificationType | null - createdAt: Date | null - updatedAt: Date | null - teamId: string | null - projectId: string | null - creatorId: string | null - assetId: string | null - taskId: string | null - userId: string | null -} - -export type NotificationMaxAggregateOutputType = { - id: string | null - type: $Enums.NotificationType | null - createdAt: Date | null - updatedAt: Date | null - teamId: string | null - projectId: string | null - creatorId: string | null - assetId: string | null - taskId: string | null - userId: string | null -} - -export type NotificationCountAggregateOutputType = { - id: number - type: number - createdAt: number - updatedAt: number - teamId: number - projectId: number - creatorId: number - assetId: number - taskId: number - userId: number - _all: number -} - - -export type NotificationMinAggregateInputType = { - id?: true - type?: true - createdAt?: true - updatedAt?: true - teamId?: true - projectId?: true - creatorId?: true - assetId?: true - taskId?: true - userId?: true -} - -export type NotificationMaxAggregateInputType = { - id?: true - type?: true - createdAt?: true - updatedAt?: true - teamId?: true - projectId?: true - creatorId?: true - assetId?: true - taskId?: true - userId?: true -} - -export type NotificationCountAggregateInputType = { - id?: true - type?: true - createdAt?: true - updatedAt?: true - teamId?: true - projectId?: true - creatorId?: true - assetId?: true - taskId?: true - userId?: true - _all?: true -} - -export type NotificationAggregateArgs = { - /** - * Filter which Notification to aggregate. - */ - where?: Prisma.NotificationWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Notifications to fetch. - */ - orderBy?: Prisma.NotificationOrderByWithRelationInput | Prisma.NotificationOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.NotificationWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Notifications from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Notifications. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Notifications - **/ - _count?: true | NotificationCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: NotificationMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: NotificationMaxAggregateInputType -} - -export type GetNotificationAggregateType = { - [P in keyof T & keyof AggregateNotification]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type NotificationGroupByArgs = { - where?: Prisma.NotificationWhereInput - orderBy?: Prisma.NotificationOrderByWithAggregationInput | Prisma.NotificationOrderByWithAggregationInput[] - by: Prisma.NotificationScalarFieldEnum[] | Prisma.NotificationScalarFieldEnum - having?: Prisma.NotificationScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: NotificationCountAggregateInputType | true - _min?: NotificationMinAggregateInputType - _max?: NotificationMaxAggregateInputType -} - -export type NotificationGroupByOutputType = { - id: string - type: $Enums.NotificationType | null - createdAt: Date - updatedAt: Date - teamId: string - projectId: string | null - creatorId: string | null - assetId: string | null - taskId: string | null - userId: string | null - _count: NotificationCountAggregateOutputType | null - _min: NotificationMinAggregateOutputType | null - _max: NotificationMaxAggregateOutputType | null -} - -export type GetNotificationGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof NotificationGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type NotificationWhereInput = { - AND?: Prisma.NotificationWhereInput | Prisma.NotificationWhereInput[] - OR?: Prisma.NotificationWhereInput[] - NOT?: Prisma.NotificationWhereInput | Prisma.NotificationWhereInput[] - id?: Prisma.StringFilter<"Notification"> | string - type?: Prisma.EnumNotificationTypeNullableFilter<"Notification"> | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFilter<"Notification"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Notification"> | Date | string - teamId?: Prisma.StringFilter<"Notification"> | string - projectId?: Prisma.StringNullableFilter<"Notification"> | string | null - creatorId?: Prisma.StringNullableFilter<"Notification"> | string | null - assetId?: Prisma.StringNullableFilter<"Notification"> | string | null - taskId?: Prisma.StringNullableFilter<"Notification"> | string | null - userId?: Prisma.StringNullableFilter<"Notification"> | string | null - team?: Prisma.XOR - project?: Prisma.XOR | null - creator?: Prisma.XOR | null - asset?: Prisma.XOR | null - task?: Prisma.XOR | null - user?: Prisma.XOR | null - readByMembers?: Prisma.XOR | null -} - -export type NotificationOrderByWithRelationInput = { - id?: Prisma.SortOrder - type?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder - projectId?: Prisma.SortOrderInput | Prisma.SortOrder - creatorId?: Prisma.SortOrderInput | Prisma.SortOrder - assetId?: Prisma.SortOrderInput | Prisma.SortOrder - taskId?: Prisma.SortOrderInput | Prisma.SortOrder - userId?: Prisma.SortOrderInput | Prisma.SortOrder - team?: Prisma.TeamOrderByWithRelationInput - project?: Prisma.ProjectOrderByWithRelationInput - creator?: Prisma.UserOrderByWithRelationInput - asset?: Prisma.AssetOrderByWithRelationInput - task?: Prisma.TaskOrderByWithRelationInput - user?: Prisma.UserOrderByWithRelationInput - readByMembers?: Prisma.TeamMemberOrderByWithRelationInput -} - -export type NotificationWhereUniqueInput = Prisma.AtLeast<{ - id?: string - AND?: Prisma.NotificationWhereInput | Prisma.NotificationWhereInput[] - OR?: Prisma.NotificationWhereInput[] - NOT?: Prisma.NotificationWhereInput | Prisma.NotificationWhereInput[] - type?: Prisma.EnumNotificationTypeNullableFilter<"Notification"> | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFilter<"Notification"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Notification"> | Date | string - teamId?: Prisma.StringFilter<"Notification"> | string - projectId?: Prisma.StringNullableFilter<"Notification"> | string | null - creatorId?: Prisma.StringNullableFilter<"Notification"> | string | null - assetId?: Prisma.StringNullableFilter<"Notification"> | string | null - taskId?: Prisma.StringNullableFilter<"Notification"> | string | null - userId?: Prisma.StringNullableFilter<"Notification"> | string | null - team?: Prisma.XOR - project?: Prisma.XOR | null - creator?: Prisma.XOR | null - asset?: Prisma.XOR | null - task?: Prisma.XOR | null - user?: Prisma.XOR | null - readByMembers?: Prisma.XOR | null -}, "id"> - -export type NotificationOrderByWithAggregationInput = { - id?: Prisma.SortOrder - type?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder - projectId?: Prisma.SortOrderInput | Prisma.SortOrder - creatorId?: Prisma.SortOrderInput | Prisma.SortOrder - assetId?: Prisma.SortOrderInput | Prisma.SortOrder - taskId?: Prisma.SortOrderInput | Prisma.SortOrder - userId?: Prisma.SortOrderInput | Prisma.SortOrder - _count?: Prisma.NotificationCountOrderByAggregateInput - _max?: Prisma.NotificationMaxOrderByAggregateInput - _min?: Prisma.NotificationMinOrderByAggregateInput -} - -export type NotificationScalarWhereWithAggregatesInput = { - AND?: Prisma.NotificationScalarWhereWithAggregatesInput | Prisma.NotificationScalarWhereWithAggregatesInput[] - OR?: Prisma.NotificationScalarWhereWithAggregatesInput[] - NOT?: Prisma.NotificationScalarWhereWithAggregatesInput | Prisma.NotificationScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"Notification"> | string - type?: Prisma.EnumNotificationTypeNullableWithAggregatesFilter<"Notification"> | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeWithAggregatesFilter<"Notification"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Notification"> | Date | string - teamId?: Prisma.StringWithAggregatesFilter<"Notification"> | string - projectId?: Prisma.StringNullableWithAggregatesFilter<"Notification"> | string | null - creatorId?: Prisma.StringNullableWithAggregatesFilter<"Notification"> | string | null - assetId?: Prisma.StringNullableWithAggregatesFilter<"Notification"> | string | null - taskId?: Prisma.StringNullableWithAggregatesFilter<"Notification"> | string | null - userId?: Prisma.StringNullableWithAggregatesFilter<"Notification"> | string | null -} - -export type NotificationCreateInput = { - id?: string - type?: $Enums.NotificationType | null - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutNotificationsInput - project?: Prisma.ProjectCreateNestedOneWithoutNotificationsInput - creator?: Prisma.UserCreateNestedOneWithoutCreatedNotificationsInput - asset?: Prisma.AssetCreateNestedOneWithoutNotificationsInput - task?: Prisma.TaskCreateNestedOneWithoutNotificationsInput - user?: Prisma.UserCreateNestedOneWithoutNotificationsInput - readByMembers?: Prisma.TeamMemberCreateNestedOneWithoutLastReadNotificationInput -} - -export type NotificationUncheckedCreateInput = { - id?: string - type?: $Enums.NotificationType | null - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - projectId?: string | null - creatorId?: string | null - assetId?: string | null - taskId?: string | null - userId?: string | null - readByMembers?: Prisma.TeamMemberUncheckedCreateNestedOneWithoutLastReadNotificationInput -} - -export type NotificationUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutNotificationsNestedInput - project?: Prisma.ProjectUpdateOneWithoutNotificationsNestedInput - creator?: Prisma.UserUpdateOneWithoutCreatedNotificationsNestedInput - asset?: Prisma.AssetUpdateOneWithoutNotificationsNestedInput - task?: Prisma.TaskUpdateOneWithoutNotificationsNestedInput - user?: Prisma.UserUpdateOneWithoutNotificationsNestedInput - readByMembers?: Prisma.TeamMemberUpdateOneWithoutLastReadNotificationNestedInput -} - -export type NotificationUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - readByMembers?: Prisma.TeamMemberUncheckedUpdateOneWithoutLastReadNotificationNestedInput -} - -export type NotificationCreateManyInput = { - id?: string - type?: $Enums.NotificationType | null - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - projectId?: string | null - creatorId?: string | null - assetId?: string | null - taskId?: string | null - userId?: string | null -} - -export type NotificationUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type NotificationUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type NotificationListRelationFilter = { - every?: Prisma.NotificationWhereInput - some?: Prisma.NotificationWhereInput - none?: Prisma.NotificationWhereInput -} - -export type NotificationOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type NotificationNullableScalarRelationFilter = { - is?: Prisma.NotificationWhereInput | null - isNot?: Prisma.NotificationWhereInput | null -} - -export type NotificationCountOrderByAggregateInput = { - id?: Prisma.SortOrder - type?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder - projectId?: Prisma.SortOrder - creatorId?: Prisma.SortOrder - assetId?: Prisma.SortOrder - taskId?: Prisma.SortOrder - userId?: Prisma.SortOrder -} - -export type NotificationMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - type?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder - projectId?: Prisma.SortOrder - creatorId?: Prisma.SortOrder - assetId?: Prisma.SortOrder - taskId?: Prisma.SortOrder - userId?: Prisma.SortOrder -} - -export type NotificationMinOrderByAggregateInput = { - id?: Prisma.SortOrder - type?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder - projectId?: Prisma.SortOrder - creatorId?: Prisma.SortOrder - assetId?: Prisma.SortOrder - taskId?: Prisma.SortOrder - userId?: Prisma.SortOrder -} - -export type NotificationCreateNestedManyWithoutCreatorInput = { - create?: Prisma.XOR | Prisma.NotificationCreateWithoutCreatorInput[] | Prisma.NotificationUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutCreatorInput | Prisma.NotificationCreateOrConnectWithoutCreatorInput[] - createMany?: Prisma.NotificationCreateManyCreatorInputEnvelope - connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] -} - -export type NotificationCreateNestedManyWithoutUserInput = { - create?: Prisma.XOR | Prisma.NotificationCreateWithoutUserInput[] | Prisma.NotificationUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutUserInput | Prisma.NotificationCreateOrConnectWithoutUserInput[] - createMany?: Prisma.NotificationCreateManyUserInputEnvelope - connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] -} - -export type NotificationUncheckedCreateNestedManyWithoutCreatorInput = { - create?: Prisma.XOR | Prisma.NotificationCreateWithoutCreatorInput[] | Prisma.NotificationUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutCreatorInput | Prisma.NotificationCreateOrConnectWithoutCreatorInput[] - createMany?: Prisma.NotificationCreateManyCreatorInputEnvelope - connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] -} - -export type NotificationUncheckedCreateNestedManyWithoutUserInput = { - create?: Prisma.XOR | Prisma.NotificationCreateWithoutUserInput[] | Prisma.NotificationUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutUserInput | Prisma.NotificationCreateOrConnectWithoutUserInput[] - createMany?: Prisma.NotificationCreateManyUserInputEnvelope - connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] -} - -export type NotificationUpdateManyWithoutCreatorNestedInput = { - create?: Prisma.XOR | Prisma.NotificationCreateWithoutCreatorInput[] | Prisma.NotificationUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutCreatorInput | Prisma.NotificationCreateOrConnectWithoutCreatorInput[] - upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutCreatorInput | Prisma.NotificationUpsertWithWhereUniqueWithoutCreatorInput[] - createMany?: Prisma.NotificationCreateManyCreatorInputEnvelope - set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - update?: Prisma.NotificationUpdateWithWhereUniqueWithoutCreatorInput | Prisma.NotificationUpdateWithWhereUniqueWithoutCreatorInput[] - updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutCreatorInput | Prisma.NotificationUpdateManyWithWhereWithoutCreatorInput[] - deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] -} - -export type NotificationUpdateManyWithoutUserNestedInput = { - create?: Prisma.XOR | Prisma.NotificationCreateWithoutUserInput[] | Prisma.NotificationUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutUserInput | Prisma.NotificationCreateOrConnectWithoutUserInput[] - upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutUserInput | Prisma.NotificationUpsertWithWhereUniqueWithoutUserInput[] - createMany?: Prisma.NotificationCreateManyUserInputEnvelope - set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - update?: Prisma.NotificationUpdateWithWhereUniqueWithoutUserInput | Prisma.NotificationUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutUserInput | Prisma.NotificationUpdateManyWithWhereWithoutUserInput[] - deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] -} - -export type NotificationUncheckedUpdateManyWithoutCreatorNestedInput = { - create?: Prisma.XOR | Prisma.NotificationCreateWithoutCreatorInput[] | Prisma.NotificationUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutCreatorInput | Prisma.NotificationCreateOrConnectWithoutCreatorInput[] - upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutCreatorInput | Prisma.NotificationUpsertWithWhereUniqueWithoutCreatorInput[] - createMany?: Prisma.NotificationCreateManyCreatorInputEnvelope - set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - update?: Prisma.NotificationUpdateWithWhereUniqueWithoutCreatorInput | Prisma.NotificationUpdateWithWhereUniqueWithoutCreatorInput[] - updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutCreatorInput | Prisma.NotificationUpdateManyWithWhereWithoutCreatorInput[] - deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] -} - -export type NotificationUncheckedUpdateManyWithoutUserNestedInput = { - create?: Prisma.XOR | Prisma.NotificationCreateWithoutUserInput[] | Prisma.NotificationUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutUserInput | Prisma.NotificationCreateOrConnectWithoutUserInput[] - upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutUserInput | Prisma.NotificationUpsertWithWhereUniqueWithoutUserInput[] - createMany?: Prisma.NotificationCreateManyUserInputEnvelope - set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - update?: Prisma.NotificationUpdateWithWhereUniqueWithoutUserInput | Prisma.NotificationUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutUserInput | Prisma.NotificationUpdateManyWithWhereWithoutUserInput[] - deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] -} - -export type NotificationCreateNestedManyWithoutTeamInput = { - create?: Prisma.XOR | Prisma.NotificationCreateWithoutTeamInput[] | Prisma.NotificationUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutTeamInput | Prisma.NotificationCreateOrConnectWithoutTeamInput[] - createMany?: Prisma.NotificationCreateManyTeamInputEnvelope - connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] -} - -export type NotificationUncheckedCreateNestedManyWithoutTeamInput = { - create?: Prisma.XOR | Prisma.NotificationCreateWithoutTeamInput[] | Prisma.NotificationUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutTeamInput | Prisma.NotificationCreateOrConnectWithoutTeamInput[] - createMany?: Prisma.NotificationCreateManyTeamInputEnvelope - connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] -} - -export type NotificationUpdateManyWithoutTeamNestedInput = { - create?: Prisma.XOR | Prisma.NotificationCreateWithoutTeamInput[] | Prisma.NotificationUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutTeamInput | Prisma.NotificationCreateOrConnectWithoutTeamInput[] - upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutTeamInput | Prisma.NotificationUpsertWithWhereUniqueWithoutTeamInput[] - createMany?: Prisma.NotificationCreateManyTeamInputEnvelope - set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - update?: Prisma.NotificationUpdateWithWhereUniqueWithoutTeamInput | Prisma.NotificationUpdateWithWhereUniqueWithoutTeamInput[] - updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutTeamInput | Prisma.NotificationUpdateManyWithWhereWithoutTeamInput[] - deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] -} - -export type NotificationUncheckedUpdateManyWithoutTeamNestedInput = { - create?: Prisma.XOR | Prisma.NotificationCreateWithoutTeamInput[] | Prisma.NotificationUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutTeamInput | Prisma.NotificationCreateOrConnectWithoutTeamInput[] - upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutTeamInput | Prisma.NotificationUpsertWithWhereUniqueWithoutTeamInput[] - createMany?: Prisma.NotificationCreateManyTeamInputEnvelope - set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - update?: Prisma.NotificationUpdateWithWhereUniqueWithoutTeamInput | Prisma.NotificationUpdateWithWhereUniqueWithoutTeamInput[] - updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutTeamInput | Prisma.NotificationUpdateManyWithWhereWithoutTeamInput[] - deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] -} - -export type NotificationCreateNestedOneWithoutReadByMembersInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutReadByMembersInput - connect?: Prisma.NotificationWhereUniqueInput -} - -export type NotificationUpdateOneWithoutReadByMembersNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutReadByMembersInput - upsert?: Prisma.NotificationUpsertWithoutReadByMembersInput - disconnect?: Prisma.NotificationWhereInput | boolean - delete?: Prisma.NotificationWhereInput | boolean - connect?: Prisma.NotificationWhereUniqueInput - update?: Prisma.XOR, Prisma.NotificationUncheckedUpdateWithoutReadByMembersInput> -} - -export type NotificationCreateNestedManyWithoutProjectInput = { - create?: Prisma.XOR | Prisma.NotificationCreateWithoutProjectInput[] | Prisma.NotificationUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutProjectInput | Prisma.NotificationCreateOrConnectWithoutProjectInput[] - createMany?: Prisma.NotificationCreateManyProjectInputEnvelope - connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] -} - -export type NotificationUncheckedCreateNestedManyWithoutProjectInput = { - create?: Prisma.XOR | Prisma.NotificationCreateWithoutProjectInput[] | Prisma.NotificationUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutProjectInput | Prisma.NotificationCreateOrConnectWithoutProjectInput[] - createMany?: Prisma.NotificationCreateManyProjectInputEnvelope - connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] -} - -export type NotificationUpdateManyWithoutProjectNestedInput = { - create?: Prisma.XOR | Prisma.NotificationCreateWithoutProjectInput[] | Prisma.NotificationUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutProjectInput | Prisma.NotificationCreateOrConnectWithoutProjectInput[] - upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutProjectInput | Prisma.NotificationUpsertWithWhereUniqueWithoutProjectInput[] - createMany?: Prisma.NotificationCreateManyProjectInputEnvelope - set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - update?: Prisma.NotificationUpdateWithWhereUniqueWithoutProjectInput | Prisma.NotificationUpdateWithWhereUniqueWithoutProjectInput[] - updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutProjectInput | Prisma.NotificationUpdateManyWithWhereWithoutProjectInput[] - deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] -} - -export type NotificationUncheckedUpdateManyWithoutProjectNestedInput = { - create?: Prisma.XOR | Prisma.NotificationCreateWithoutProjectInput[] | Prisma.NotificationUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutProjectInput | Prisma.NotificationCreateOrConnectWithoutProjectInput[] - upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutProjectInput | Prisma.NotificationUpsertWithWhereUniqueWithoutProjectInput[] - createMany?: Prisma.NotificationCreateManyProjectInputEnvelope - set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - update?: Prisma.NotificationUpdateWithWhereUniqueWithoutProjectInput | Prisma.NotificationUpdateWithWhereUniqueWithoutProjectInput[] - updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutProjectInput | Prisma.NotificationUpdateManyWithWhereWithoutProjectInput[] - deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] -} - -export type NotificationCreateNestedManyWithoutAssetInput = { - create?: Prisma.XOR | Prisma.NotificationCreateWithoutAssetInput[] | Prisma.NotificationUncheckedCreateWithoutAssetInput[] - connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutAssetInput | Prisma.NotificationCreateOrConnectWithoutAssetInput[] - createMany?: Prisma.NotificationCreateManyAssetInputEnvelope - connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] -} - -export type NotificationUncheckedCreateNestedManyWithoutAssetInput = { - create?: Prisma.XOR | Prisma.NotificationCreateWithoutAssetInput[] | Prisma.NotificationUncheckedCreateWithoutAssetInput[] - connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutAssetInput | Prisma.NotificationCreateOrConnectWithoutAssetInput[] - createMany?: Prisma.NotificationCreateManyAssetInputEnvelope - connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] -} - -export type NotificationUpdateManyWithoutAssetNestedInput = { - create?: Prisma.XOR | Prisma.NotificationCreateWithoutAssetInput[] | Prisma.NotificationUncheckedCreateWithoutAssetInput[] - connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutAssetInput | Prisma.NotificationCreateOrConnectWithoutAssetInput[] - upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutAssetInput | Prisma.NotificationUpsertWithWhereUniqueWithoutAssetInput[] - createMany?: Prisma.NotificationCreateManyAssetInputEnvelope - set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - update?: Prisma.NotificationUpdateWithWhereUniqueWithoutAssetInput | Prisma.NotificationUpdateWithWhereUniqueWithoutAssetInput[] - updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutAssetInput | Prisma.NotificationUpdateManyWithWhereWithoutAssetInput[] - deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] -} - -export type NotificationUncheckedUpdateManyWithoutAssetNestedInput = { - create?: Prisma.XOR | Prisma.NotificationCreateWithoutAssetInput[] | Prisma.NotificationUncheckedCreateWithoutAssetInput[] - connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutAssetInput | Prisma.NotificationCreateOrConnectWithoutAssetInput[] - upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutAssetInput | Prisma.NotificationUpsertWithWhereUniqueWithoutAssetInput[] - createMany?: Prisma.NotificationCreateManyAssetInputEnvelope - set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - update?: Prisma.NotificationUpdateWithWhereUniqueWithoutAssetInput | Prisma.NotificationUpdateWithWhereUniqueWithoutAssetInput[] - updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutAssetInput | Prisma.NotificationUpdateManyWithWhereWithoutAssetInput[] - deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] -} - -export type NullableEnumNotificationTypeFieldUpdateOperationsInput = { - set?: $Enums.NotificationType | null -} - -export type NotificationCreateNestedManyWithoutTaskInput = { - create?: Prisma.XOR | Prisma.NotificationCreateWithoutTaskInput[] | Prisma.NotificationUncheckedCreateWithoutTaskInput[] - connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutTaskInput | Prisma.NotificationCreateOrConnectWithoutTaskInput[] - createMany?: Prisma.NotificationCreateManyTaskInputEnvelope - connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] -} - -export type NotificationUncheckedCreateNestedManyWithoutTaskInput = { - create?: Prisma.XOR | Prisma.NotificationCreateWithoutTaskInput[] | Prisma.NotificationUncheckedCreateWithoutTaskInput[] - connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutTaskInput | Prisma.NotificationCreateOrConnectWithoutTaskInput[] - createMany?: Prisma.NotificationCreateManyTaskInputEnvelope - connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] -} - -export type NotificationUpdateManyWithoutTaskNestedInput = { - create?: Prisma.XOR | Prisma.NotificationCreateWithoutTaskInput[] | Prisma.NotificationUncheckedCreateWithoutTaskInput[] - connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutTaskInput | Prisma.NotificationCreateOrConnectWithoutTaskInput[] - upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutTaskInput | Prisma.NotificationUpsertWithWhereUniqueWithoutTaskInput[] - createMany?: Prisma.NotificationCreateManyTaskInputEnvelope - set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - update?: Prisma.NotificationUpdateWithWhereUniqueWithoutTaskInput | Prisma.NotificationUpdateWithWhereUniqueWithoutTaskInput[] - updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutTaskInput | Prisma.NotificationUpdateManyWithWhereWithoutTaskInput[] - deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] -} - -export type NotificationUncheckedUpdateManyWithoutTaskNestedInput = { - create?: Prisma.XOR | Prisma.NotificationCreateWithoutTaskInput[] | Prisma.NotificationUncheckedCreateWithoutTaskInput[] - connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutTaskInput | Prisma.NotificationCreateOrConnectWithoutTaskInput[] - upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutTaskInput | Prisma.NotificationUpsertWithWhereUniqueWithoutTaskInput[] - createMany?: Prisma.NotificationCreateManyTaskInputEnvelope - set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[] - update?: Prisma.NotificationUpdateWithWhereUniqueWithoutTaskInput | Prisma.NotificationUpdateWithWhereUniqueWithoutTaskInput[] - updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutTaskInput | Prisma.NotificationUpdateManyWithWhereWithoutTaskInput[] - deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] -} - -export type NotificationCreateWithoutCreatorInput = { - id?: string - type?: $Enums.NotificationType | null - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutNotificationsInput - project?: Prisma.ProjectCreateNestedOneWithoutNotificationsInput - asset?: Prisma.AssetCreateNestedOneWithoutNotificationsInput - task?: Prisma.TaskCreateNestedOneWithoutNotificationsInput - user?: Prisma.UserCreateNestedOneWithoutNotificationsInput - readByMembers?: Prisma.TeamMemberCreateNestedOneWithoutLastReadNotificationInput -} - -export type NotificationUncheckedCreateWithoutCreatorInput = { - id?: string - type?: $Enums.NotificationType | null - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - projectId?: string | null - assetId?: string | null - taskId?: string | null - userId?: string | null - readByMembers?: Prisma.TeamMemberUncheckedCreateNestedOneWithoutLastReadNotificationInput -} - -export type NotificationCreateOrConnectWithoutCreatorInput = { - where: Prisma.NotificationWhereUniqueInput - create: Prisma.XOR -} - -export type NotificationCreateManyCreatorInputEnvelope = { - data: Prisma.NotificationCreateManyCreatorInput | Prisma.NotificationCreateManyCreatorInput[] - skipDuplicates?: boolean -} - -export type NotificationCreateWithoutUserInput = { - id?: string - type?: $Enums.NotificationType | null - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutNotificationsInput - project?: Prisma.ProjectCreateNestedOneWithoutNotificationsInput - creator?: Prisma.UserCreateNestedOneWithoutCreatedNotificationsInput - asset?: Prisma.AssetCreateNestedOneWithoutNotificationsInput - task?: Prisma.TaskCreateNestedOneWithoutNotificationsInput - readByMembers?: Prisma.TeamMemberCreateNestedOneWithoutLastReadNotificationInput -} - -export type NotificationUncheckedCreateWithoutUserInput = { - id?: string - type?: $Enums.NotificationType | null - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - projectId?: string | null - creatorId?: string | null - assetId?: string | null - taskId?: string | null - readByMembers?: Prisma.TeamMemberUncheckedCreateNestedOneWithoutLastReadNotificationInput -} - -export type NotificationCreateOrConnectWithoutUserInput = { - where: Prisma.NotificationWhereUniqueInput - create: Prisma.XOR -} - -export type NotificationCreateManyUserInputEnvelope = { - data: Prisma.NotificationCreateManyUserInput | Prisma.NotificationCreateManyUserInput[] - skipDuplicates?: boolean -} - -export type NotificationUpsertWithWhereUniqueWithoutCreatorInput = { - where: Prisma.NotificationWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type NotificationUpdateWithWhereUniqueWithoutCreatorInput = { - where: Prisma.NotificationWhereUniqueInput - data: Prisma.XOR -} - -export type NotificationUpdateManyWithWhereWithoutCreatorInput = { - where: Prisma.NotificationScalarWhereInput - data: Prisma.XOR -} - -export type NotificationScalarWhereInput = { - AND?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] - OR?: Prisma.NotificationScalarWhereInput[] - NOT?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[] - id?: Prisma.StringFilter<"Notification"> | string - type?: Prisma.EnumNotificationTypeNullableFilter<"Notification"> | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFilter<"Notification"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Notification"> | Date | string - teamId?: Prisma.StringFilter<"Notification"> | string - projectId?: Prisma.StringNullableFilter<"Notification"> | string | null - creatorId?: Prisma.StringNullableFilter<"Notification"> | string | null - assetId?: Prisma.StringNullableFilter<"Notification"> | string | null - taskId?: Prisma.StringNullableFilter<"Notification"> | string | null - userId?: Prisma.StringNullableFilter<"Notification"> | string | null -} - -export type NotificationUpsertWithWhereUniqueWithoutUserInput = { - where: Prisma.NotificationWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type NotificationUpdateWithWhereUniqueWithoutUserInput = { - where: Prisma.NotificationWhereUniqueInput - data: Prisma.XOR -} - -export type NotificationUpdateManyWithWhereWithoutUserInput = { - where: Prisma.NotificationScalarWhereInput - data: Prisma.XOR -} - -export type NotificationCreateWithoutTeamInput = { - id?: string - type?: $Enums.NotificationType | null - createdAt?: Date | string - updatedAt?: Date | string - project?: Prisma.ProjectCreateNestedOneWithoutNotificationsInput - creator?: Prisma.UserCreateNestedOneWithoutCreatedNotificationsInput - asset?: Prisma.AssetCreateNestedOneWithoutNotificationsInput - task?: Prisma.TaskCreateNestedOneWithoutNotificationsInput - user?: Prisma.UserCreateNestedOneWithoutNotificationsInput - readByMembers?: Prisma.TeamMemberCreateNestedOneWithoutLastReadNotificationInput -} - -export type NotificationUncheckedCreateWithoutTeamInput = { - id?: string - type?: $Enums.NotificationType | null - createdAt?: Date | string - updatedAt?: Date | string - projectId?: string | null - creatorId?: string | null - assetId?: string | null - taskId?: string | null - userId?: string | null - readByMembers?: Prisma.TeamMemberUncheckedCreateNestedOneWithoutLastReadNotificationInput -} - -export type NotificationCreateOrConnectWithoutTeamInput = { - where: Prisma.NotificationWhereUniqueInput - create: Prisma.XOR -} - -export type NotificationCreateManyTeamInputEnvelope = { - data: Prisma.NotificationCreateManyTeamInput | Prisma.NotificationCreateManyTeamInput[] - skipDuplicates?: boolean -} - -export type NotificationUpsertWithWhereUniqueWithoutTeamInput = { - where: Prisma.NotificationWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type NotificationUpdateWithWhereUniqueWithoutTeamInput = { - where: Prisma.NotificationWhereUniqueInput - data: Prisma.XOR -} - -export type NotificationUpdateManyWithWhereWithoutTeamInput = { - where: Prisma.NotificationScalarWhereInput - data: Prisma.XOR -} - -export type NotificationCreateWithoutReadByMembersInput = { - id?: string - type?: $Enums.NotificationType | null - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutNotificationsInput - project?: Prisma.ProjectCreateNestedOneWithoutNotificationsInput - creator?: Prisma.UserCreateNestedOneWithoutCreatedNotificationsInput - asset?: Prisma.AssetCreateNestedOneWithoutNotificationsInput - task?: Prisma.TaskCreateNestedOneWithoutNotificationsInput - user?: Prisma.UserCreateNestedOneWithoutNotificationsInput -} - -export type NotificationUncheckedCreateWithoutReadByMembersInput = { - id?: string - type?: $Enums.NotificationType | null - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - projectId?: string | null - creatorId?: string | null - assetId?: string | null - taskId?: string | null - userId?: string | null -} - -export type NotificationCreateOrConnectWithoutReadByMembersInput = { - where: Prisma.NotificationWhereUniqueInput - create: Prisma.XOR -} - -export type NotificationUpsertWithoutReadByMembersInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.NotificationWhereInput -} - -export type NotificationUpdateToOneWithWhereWithoutReadByMembersInput = { - where?: Prisma.NotificationWhereInput - data: Prisma.XOR -} - -export type NotificationUpdateWithoutReadByMembersInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutNotificationsNestedInput - project?: Prisma.ProjectUpdateOneWithoutNotificationsNestedInput - creator?: Prisma.UserUpdateOneWithoutCreatedNotificationsNestedInput - asset?: Prisma.AssetUpdateOneWithoutNotificationsNestedInput - task?: Prisma.TaskUpdateOneWithoutNotificationsNestedInput - user?: Prisma.UserUpdateOneWithoutNotificationsNestedInput -} - -export type NotificationUncheckedUpdateWithoutReadByMembersInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type NotificationCreateWithoutProjectInput = { - id?: string - type?: $Enums.NotificationType | null - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutNotificationsInput - creator?: Prisma.UserCreateNestedOneWithoutCreatedNotificationsInput - asset?: Prisma.AssetCreateNestedOneWithoutNotificationsInput - task?: Prisma.TaskCreateNestedOneWithoutNotificationsInput - user?: Prisma.UserCreateNestedOneWithoutNotificationsInput - readByMembers?: Prisma.TeamMemberCreateNestedOneWithoutLastReadNotificationInput -} - -export type NotificationUncheckedCreateWithoutProjectInput = { - id?: string - type?: $Enums.NotificationType | null - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - creatorId?: string | null - assetId?: string | null - taskId?: string | null - userId?: string | null - readByMembers?: Prisma.TeamMemberUncheckedCreateNestedOneWithoutLastReadNotificationInput -} - -export type NotificationCreateOrConnectWithoutProjectInput = { - where: Prisma.NotificationWhereUniqueInput - create: Prisma.XOR -} - -export type NotificationCreateManyProjectInputEnvelope = { - data: Prisma.NotificationCreateManyProjectInput | Prisma.NotificationCreateManyProjectInput[] - skipDuplicates?: boolean -} - -export type NotificationUpsertWithWhereUniqueWithoutProjectInput = { - where: Prisma.NotificationWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type NotificationUpdateWithWhereUniqueWithoutProjectInput = { - where: Prisma.NotificationWhereUniqueInput - data: Prisma.XOR -} - -export type NotificationUpdateManyWithWhereWithoutProjectInput = { - where: Prisma.NotificationScalarWhereInput - data: Prisma.XOR -} - -export type NotificationCreateWithoutAssetInput = { - id?: string - type?: $Enums.NotificationType | null - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutNotificationsInput - project?: Prisma.ProjectCreateNestedOneWithoutNotificationsInput - creator?: Prisma.UserCreateNestedOneWithoutCreatedNotificationsInput - task?: Prisma.TaskCreateNestedOneWithoutNotificationsInput - user?: Prisma.UserCreateNestedOneWithoutNotificationsInput - readByMembers?: Prisma.TeamMemberCreateNestedOneWithoutLastReadNotificationInput -} - -export type NotificationUncheckedCreateWithoutAssetInput = { - id?: string - type?: $Enums.NotificationType | null - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - projectId?: string | null - creatorId?: string | null - taskId?: string | null - userId?: string | null - readByMembers?: Prisma.TeamMemberUncheckedCreateNestedOneWithoutLastReadNotificationInput -} - -export type NotificationCreateOrConnectWithoutAssetInput = { - where: Prisma.NotificationWhereUniqueInput - create: Prisma.XOR -} - -export type NotificationCreateManyAssetInputEnvelope = { - data: Prisma.NotificationCreateManyAssetInput | Prisma.NotificationCreateManyAssetInput[] - skipDuplicates?: boolean -} - -export type NotificationUpsertWithWhereUniqueWithoutAssetInput = { - where: Prisma.NotificationWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type NotificationUpdateWithWhereUniqueWithoutAssetInput = { - where: Prisma.NotificationWhereUniqueInput - data: Prisma.XOR -} - -export type NotificationUpdateManyWithWhereWithoutAssetInput = { - where: Prisma.NotificationScalarWhereInput - data: Prisma.XOR -} - -export type NotificationCreateWithoutTaskInput = { - id?: string - type?: $Enums.NotificationType | null - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutNotificationsInput - project?: Prisma.ProjectCreateNestedOneWithoutNotificationsInput - creator?: Prisma.UserCreateNestedOneWithoutCreatedNotificationsInput - asset?: Prisma.AssetCreateNestedOneWithoutNotificationsInput - user?: Prisma.UserCreateNestedOneWithoutNotificationsInput - readByMembers?: Prisma.TeamMemberCreateNestedOneWithoutLastReadNotificationInput -} - -export type NotificationUncheckedCreateWithoutTaskInput = { - id?: string - type?: $Enums.NotificationType | null - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - projectId?: string | null - creatorId?: string | null - assetId?: string | null - userId?: string | null - readByMembers?: Prisma.TeamMemberUncheckedCreateNestedOneWithoutLastReadNotificationInput -} - -export type NotificationCreateOrConnectWithoutTaskInput = { - where: Prisma.NotificationWhereUniqueInput - create: Prisma.XOR -} - -export type NotificationCreateManyTaskInputEnvelope = { - data: Prisma.NotificationCreateManyTaskInput | Prisma.NotificationCreateManyTaskInput[] - skipDuplicates?: boolean -} - -export type NotificationUpsertWithWhereUniqueWithoutTaskInput = { - where: Prisma.NotificationWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type NotificationUpdateWithWhereUniqueWithoutTaskInput = { - where: Prisma.NotificationWhereUniqueInput - data: Prisma.XOR -} - -export type NotificationUpdateManyWithWhereWithoutTaskInput = { - where: Prisma.NotificationScalarWhereInput - data: Prisma.XOR -} - -export type NotificationCreateManyCreatorInput = { - id?: string - type?: $Enums.NotificationType | null - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - projectId?: string | null - assetId?: string | null - taskId?: string | null - userId?: string | null -} - -export type NotificationCreateManyUserInput = { - id?: string - type?: $Enums.NotificationType | null - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - projectId?: string | null - creatorId?: string | null - assetId?: string | null - taskId?: string | null -} - -export type NotificationUpdateWithoutCreatorInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutNotificationsNestedInput - project?: Prisma.ProjectUpdateOneWithoutNotificationsNestedInput - asset?: Prisma.AssetUpdateOneWithoutNotificationsNestedInput - task?: Prisma.TaskUpdateOneWithoutNotificationsNestedInput - user?: Prisma.UserUpdateOneWithoutNotificationsNestedInput - readByMembers?: Prisma.TeamMemberUpdateOneWithoutLastReadNotificationNestedInput -} - -export type NotificationUncheckedUpdateWithoutCreatorInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - readByMembers?: Prisma.TeamMemberUncheckedUpdateOneWithoutLastReadNotificationNestedInput -} - -export type NotificationUncheckedUpdateManyWithoutCreatorInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type NotificationUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutNotificationsNestedInput - project?: Prisma.ProjectUpdateOneWithoutNotificationsNestedInput - creator?: Prisma.UserUpdateOneWithoutCreatedNotificationsNestedInput - asset?: Prisma.AssetUpdateOneWithoutNotificationsNestedInput - task?: Prisma.TaskUpdateOneWithoutNotificationsNestedInput - readByMembers?: Prisma.TeamMemberUpdateOneWithoutLastReadNotificationNestedInput -} - -export type NotificationUncheckedUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - readByMembers?: Prisma.TeamMemberUncheckedUpdateOneWithoutLastReadNotificationNestedInput -} - -export type NotificationUncheckedUpdateManyWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type NotificationCreateManyTeamInput = { - id?: string - type?: $Enums.NotificationType | null - createdAt?: Date | string - updatedAt?: Date | string - projectId?: string | null - creatorId?: string | null - assetId?: string | null - taskId?: string | null - userId?: string | null -} - -export type NotificationUpdateWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - project?: Prisma.ProjectUpdateOneWithoutNotificationsNestedInput - creator?: Prisma.UserUpdateOneWithoutCreatedNotificationsNestedInput - asset?: Prisma.AssetUpdateOneWithoutNotificationsNestedInput - task?: Prisma.TaskUpdateOneWithoutNotificationsNestedInput - user?: Prisma.UserUpdateOneWithoutNotificationsNestedInput - readByMembers?: Prisma.TeamMemberUpdateOneWithoutLastReadNotificationNestedInput -} - -export type NotificationUncheckedUpdateWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - readByMembers?: Prisma.TeamMemberUncheckedUpdateOneWithoutLastReadNotificationNestedInput -} - -export type NotificationUncheckedUpdateManyWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type NotificationCreateManyProjectInput = { - id?: string - type?: $Enums.NotificationType | null - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - creatorId?: string | null - assetId?: string | null - taskId?: string | null - userId?: string | null -} - -export type NotificationUpdateWithoutProjectInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutNotificationsNestedInput - creator?: Prisma.UserUpdateOneWithoutCreatedNotificationsNestedInput - asset?: Prisma.AssetUpdateOneWithoutNotificationsNestedInput - task?: Prisma.TaskUpdateOneWithoutNotificationsNestedInput - user?: Prisma.UserUpdateOneWithoutNotificationsNestedInput - readByMembers?: Prisma.TeamMemberUpdateOneWithoutLastReadNotificationNestedInput -} - -export type NotificationUncheckedUpdateWithoutProjectInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - readByMembers?: Prisma.TeamMemberUncheckedUpdateOneWithoutLastReadNotificationNestedInput -} - -export type NotificationUncheckedUpdateManyWithoutProjectInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type NotificationCreateManyAssetInput = { - id?: string - type?: $Enums.NotificationType | null - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - projectId?: string | null - creatorId?: string | null - taskId?: string | null - userId?: string | null -} - -export type NotificationUpdateWithoutAssetInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutNotificationsNestedInput - project?: Prisma.ProjectUpdateOneWithoutNotificationsNestedInput - creator?: Prisma.UserUpdateOneWithoutCreatedNotificationsNestedInput - task?: Prisma.TaskUpdateOneWithoutNotificationsNestedInput - user?: Prisma.UserUpdateOneWithoutNotificationsNestedInput - readByMembers?: Prisma.TeamMemberUpdateOneWithoutLastReadNotificationNestedInput -} - -export type NotificationUncheckedUpdateWithoutAssetInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - readByMembers?: Prisma.TeamMemberUncheckedUpdateOneWithoutLastReadNotificationNestedInput -} - -export type NotificationUncheckedUpdateManyWithoutAssetInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - taskId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type NotificationCreateManyTaskInput = { - id?: string - type?: $Enums.NotificationType | null - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - projectId?: string | null - creatorId?: string | null - assetId?: string | null - userId?: string | null -} - -export type NotificationUpdateWithoutTaskInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutNotificationsNestedInput - project?: Prisma.ProjectUpdateOneWithoutNotificationsNestedInput - creator?: Prisma.UserUpdateOneWithoutCreatedNotificationsNestedInput - asset?: Prisma.AssetUpdateOneWithoutNotificationsNestedInput - user?: Prisma.UserUpdateOneWithoutNotificationsNestedInput - readByMembers?: Prisma.TeamMemberUpdateOneWithoutLastReadNotificationNestedInput -} - -export type NotificationUncheckedUpdateWithoutTaskInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - readByMembers?: Prisma.TeamMemberUncheckedUpdateOneWithoutLastReadNotificationNestedInput -} - -export type NotificationUncheckedUpdateManyWithoutTaskInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - assetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - - - -export type NotificationSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - type?: boolean - createdAt?: boolean - updatedAt?: boolean - teamId?: boolean - projectId?: boolean - creatorId?: boolean - assetId?: boolean - taskId?: boolean - userId?: boolean - team?: boolean | Prisma.TeamDefaultArgs - project?: boolean | Prisma.Notification$projectArgs - creator?: boolean | Prisma.Notification$creatorArgs - asset?: boolean | Prisma.Notification$assetArgs - task?: boolean | Prisma.Notification$taskArgs - user?: boolean | Prisma.Notification$userArgs - readByMembers?: boolean | Prisma.Notification$readByMembersArgs -}, ExtArgs["result"]["notification"]> - -export type NotificationSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - type?: boolean - createdAt?: boolean - updatedAt?: boolean - teamId?: boolean - projectId?: boolean - creatorId?: boolean - assetId?: boolean - taskId?: boolean - userId?: boolean - team?: boolean | Prisma.TeamDefaultArgs - project?: boolean | Prisma.Notification$projectArgs - creator?: boolean | Prisma.Notification$creatorArgs - asset?: boolean | Prisma.Notification$assetArgs - task?: boolean | Prisma.Notification$taskArgs - user?: boolean | Prisma.Notification$userArgs -}, ExtArgs["result"]["notification"]> - -export type NotificationSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - type?: boolean - createdAt?: boolean - updatedAt?: boolean - teamId?: boolean - projectId?: boolean - creatorId?: boolean - assetId?: boolean - taskId?: boolean - userId?: boolean - team?: boolean | Prisma.TeamDefaultArgs - project?: boolean | Prisma.Notification$projectArgs - creator?: boolean | Prisma.Notification$creatorArgs - asset?: boolean | Prisma.Notification$assetArgs - task?: boolean | Prisma.Notification$taskArgs - user?: boolean | Prisma.Notification$userArgs -}, ExtArgs["result"]["notification"]> - -export type NotificationSelectScalar = { - id?: boolean - type?: boolean - createdAt?: boolean - updatedAt?: boolean - teamId?: boolean - projectId?: boolean - creatorId?: boolean - assetId?: boolean - taskId?: boolean - userId?: boolean -} - -export type NotificationOmit = runtime.Types.Extensions.GetOmit<"id" | "type" | "createdAt" | "updatedAt" | "teamId" | "projectId" | "creatorId" | "assetId" | "taskId" | "userId", ExtArgs["result"]["notification"]> -export type NotificationInclude = { - team?: boolean | Prisma.TeamDefaultArgs - project?: boolean | Prisma.Notification$projectArgs - creator?: boolean | Prisma.Notification$creatorArgs - asset?: boolean | Prisma.Notification$assetArgs - task?: boolean | Prisma.Notification$taskArgs - user?: boolean | Prisma.Notification$userArgs - readByMembers?: boolean | Prisma.Notification$readByMembersArgs -} -export type NotificationIncludeCreateManyAndReturn = { - team?: boolean | Prisma.TeamDefaultArgs - project?: boolean | Prisma.Notification$projectArgs - creator?: boolean | Prisma.Notification$creatorArgs - asset?: boolean | Prisma.Notification$assetArgs - task?: boolean | Prisma.Notification$taskArgs - user?: boolean | Prisma.Notification$userArgs -} -export type NotificationIncludeUpdateManyAndReturn = { - team?: boolean | Prisma.TeamDefaultArgs - project?: boolean | Prisma.Notification$projectArgs - creator?: boolean | Prisma.Notification$creatorArgs - asset?: boolean | Prisma.Notification$assetArgs - task?: boolean | Prisma.Notification$taskArgs - user?: boolean | Prisma.Notification$userArgs -} - -export type $NotificationPayload = { - name: "Notification" - objects: { - team: Prisma.$TeamPayload - project: Prisma.$ProjectPayload | null - creator: Prisma.$UserPayload | null - asset: Prisma.$AssetPayload | null - task: Prisma.$TaskPayload | null - user: Prisma.$UserPayload | null - readByMembers: Prisma.$TeamMemberPayload | null - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - type: $Enums.NotificationType | null - createdAt: Date - updatedAt: Date - teamId: string - projectId: string | null - creatorId: string | null - assetId: string | null - taskId: string | null - userId: string | null - }, ExtArgs["result"]["notification"]> - composites: {} -} - -export type NotificationGetPayload = runtime.Types.Result.GetResult - -export type NotificationCountArgs = - Omit & { - select?: NotificationCountAggregateInputType | true - } - -export interface NotificationDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['Notification'], meta: { name: 'Notification' } } - /** - * Find zero or one Notification that matches the filter. - * @param {NotificationFindUniqueArgs} args - Arguments to find a Notification - * @example - * // Get one Notification - * const notification = await prisma.notification.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__NotificationClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one Notification that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {NotificationFindUniqueOrThrowArgs} args - Arguments to find a Notification - * @example - * // Get one Notification - * const notification = await prisma.notification.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__NotificationClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Notification that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {NotificationFindFirstArgs} args - Arguments to find a Notification - * @example - * // Get one Notification - * const notification = await prisma.notification.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__NotificationClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Notification that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {NotificationFindFirstOrThrowArgs} args - Arguments to find a Notification - * @example - * // Get one Notification - * const notification = await prisma.notification.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__NotificationClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more Notifications that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {NotificationFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Notifications - * const notifications = await prisma.notification.findMany() - * - * // Get first 10 Notifications - * const notifications = await prisma.notification.findMany({ take: 10 }) - * - * // Only select the `id` - * const notificationWithIdOnly = await prisma.notification.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a Notification. - * @param {NotificationCreateArgs} args - Arguments to create a Notification. - * @example - * // Create one Notification - * const Notification = await prisma.notification.create({ - * data: { - * // ... data to create a Notification - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__NotificationClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many Notifications. - * @param {NotificationCreateManyArgs} args - Arguments to create many Notifications. - * @example - * // Create many Notifications - * const notification = await prisma.notification.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many Notifications and returns the data saved in the database. - * @param {NotificationCreateManyAndReturnArgs} args - Arguments to create many Notifications. - * @example - * // Create many Notifications - * const notification = await prisma.notification.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Notifications and only return the `id` - * const notificationWithIdOnly = await prisma.notification.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a Notification. - * @param {NotificationDeleteArgs} args - Arguments to delete one Notification. - * @example - * // Delete one Notification - * const Notification = await prisma.notification.delete({ - * where: { - * // ... filter to delete one Notification - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__NotificationClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one Notification. - * @param {NotificationUpdateArgs} args - Arguments to update one Notification. - * @example - * // Update one Notification - * const notification = await prisma.notification.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__NotificationClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more Notifications. - * @param {NotificationDeleteManyArgs} args - Arguments to filter Notifications to delete. - * @example - * // Delete a few Notifications - * const { count } = await prisma.notification.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Notifications. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {NotificationUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Notifications - * const notification = await prisma.notification.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Notifications and returns the data updated in the database. - * @param {NotificationUpdateManyAndReturnArgs} args - Arguments to update many Notifications. - * @example - * // Update many Notifications - * const notification = await prisma.notification.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Notifications and only return the `id` - * const notificationWithIdOnly = await prisma.notification.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one Notification. - * @param {NotificationUpsertArgs} args - Arguments to update or create a Notification. - * @example - * // Update or create a Notification - * const notification = await prisma.notification.upsert({ - * create: { - * // ... data to create a Notification - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the Notification we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__NotificationClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of Notifications. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {NotificationCountArgs} args - Arguments to filter Notifications to count. - * @example - * // Count the number of Notifications - * const count = await prisma.notification.count({ - * where: { - * // ... the filter for the Notifications we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a Notification. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {NotificationAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by Notification. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {NotificationGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends NotificationGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: NotificationGroupByArgs['orderBy'] } - : { orderBy?: NotificationGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetNotificationGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the Notification model - */ -readonly fields: NotificationFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for Notification. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__NotificationClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - team = {}>(args?: Prisma.Subset>): Prisma.Prisma__TeamClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - project = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProjectClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - creator = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - asset = {}>(args?: Prisma.Subset>): Prisma.Prisma__AssetClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - task = {}>(args?: Prisma.Subset>): Prisma.Prisma__TaskClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - readByMembers = {}>(args?: Prisma.Subset>): Prisma.Prisma__TeamMemberClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the Notification model - */ -export interface NotificationFieldRefs { - readonly id: Prisma.FieldRef<"Notification", 'String'> - readonly type: Prisma.FieldRef<"Notification", 'NotificationType'> - readonly createdAt: Prisma.FieldRef<"Notification", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"Notification", 'DateTime'> - readonly teamId: Prisma.FieldRef<"Notification", 'String'> - readonly projectId: Prisma.FieldRef<"Notification", 'String'> - readonly creatorId: Prisma.FieldRef<"Notification", 'String'> - readonly assetId: Prisma.FieldRef<"Notification", 'String'> - readonly taskId: Prisma.FieldRef<"Notification", 'String'> - readonly userId: Prisma.FieldRef<"Notification", 'String'> -} - - -// Custom InputTypes -/** - * Notification findUnique - */ -export type NotificationFindUniqueArgs = { - /** - * Select specific fields to fetch from the Notification - */ - select?: Prisma.NotificationSelect | null - /** - * Omit specific fields from the Notification - */ - omit?: Prisma.NotificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.NotificationInclude | null - /** - * Filter, which Notification to fetch. - */ - where: Prisma.NotificationWhereUniqueInput -} - -/** - * Notification findUniqueOrThrow - */ -export type NotificationFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the Notification - */ - select?: Prisma.NotificationSelect | null - /** - * Omit specific fields from the Notification - */ - omit?: Prisma.NotificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.NotificationInclude | null - /** - * Filter, which Notification to fetch. - */ - where: Prisma.NotificationWhereUniqueInput -} - -/** - * Notification findFirst - */ -export type NotificationFindFirstArgs = { - /** - * Select specific fields to fetch from the Notification - */ - select?: Prisma.NotificationSelect | null - /** - * Omit specific fields from the Notification - */ - omit?: Prisma.NotificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.NotificationInclude | null - /** - * Filter, which Notification to fetch. - */ - where?: Prisma.NotificationWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Notifications to fetch. - */ - orderBy?: Prisma.NotificationOrderByWithRelationInput | Prisma.NotificationOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Notifications. - */ - cursor?: Prisma.NotificationWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Notifications from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Notifications. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Notifications. - */ - distinct?: Prisma.NotificationScalarFieldEnum | Prisma.NotificationScalarFieldEnum[] -} - -/** - * Notification findFirstOrThrow - */ -export type NotificationFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the Notification - */ - select?: Prisma.NotificationSelect | null - /** - * Omit specific fields from the Notification - */ - omit?: Prisma.NotificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.NotificationInclude | null - /** - * Filter, which Notification to fetch. - */ - where?: Prisma.NotificationWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Notifications to fetch. - */ - orderBy?: Prisma.NotificationOrderByWithRelationInput | Prisma.NotificationOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Notifications. - */ - cursor?: Prisma.NotificationWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Notifications from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Notifications. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Notifications. - */ - distinct?: Prisma.NotificationScalarFieldEnum | Prisma.NotificationScalarFieldEnum[] -} - -/** - * Notification findMany - */ -export type NotificationFindManyArgs = { - /** - * Select specific fields to fetch from the Notification - */ - select?: Prisma.NotificationSelect | null - /** - * Omit specific fields from the Notification - */ - omit?: Prisma.NotificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.NotificationInclude | null - /** - * Filter, which Notifications to fetch. - */ - where?: Prisma.NotificationWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Notifications to fetch. - */ - orderBy?: Prisma.NotificationOrderByWithRelationInput | Prisma.NotificationOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Notifications. - */ - cursor?: Prisma.NotificationWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Notifications from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Notifications. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Notifications. - */ - distinct?: Prisma.NotificationScalarFieldEnum | Prisma.NotificationScalarFieldEnum[] -} - -/** - * Notification create - */ -export type NotificationCreateArgs = { - /** - * Select specific fields to fetch from the Notification - */ - select?: Prisma.NotificationSelect | null - /** - * Omit specific fields from the Notification - */ - omit?: Prisma.NotificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.NotificationInclude | null - /** - * The data needed to create a Notification. - */ - data: Prisma.XOR -} - -/** - * Notification createMany - */ -export type NotificationCreateManyArgs = { - /** - * The data used to create many Notifications. - */ - data: Prisma.NotificationCreateManyInput | Prisma.NotificationCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * Notification createManyAndReturn - */ -export type NotificationCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Notification - */ - select?: Prisma.NotificationSelectCreateManyAndReturn | null - /** - * Omit specific fields from the Notification - */ - omit?: Prisma.NotificationOmit | null - /** - * The data used to create many Notifications. - */ - data: Prisma.NotificationCreateManyInput | Prisma.NotificationCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.NotificationIncludeCreateManyAndReturn | null -} - -/** - * Notification update - */ -export type NotificationUpdateArgs = { - /** - * Select specific fields to fetch from the Notification - */ - select?: Prisma.NotificationSelect | null - /** - * Omit specific fields from the Notification - */ - omit?: Prisma.NotificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.NotificationInclude | null - /** - * The data needed to update a Notification. - */ - data: Prisma.XOR - /** - * Choose, which Notification to update. - */ - where: Prisma.NotificationWhereUniqueInput -} - -/** - * Notification updateMany - */ -export type NotificationUpdateManyArgs = { - /** - * The data used to update Notifications. - */ - data: Prisma.XOR - /** - * Filter which Notifications to update - */ - where?: Prisma.NotificationWhereInput - /** - * Limit how many Notifications to update. - */ - limit?: number -} - -/** - * Notification updateManyAndReturn - */ -export type NotificationUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Notification - */ - select?: Prisma.NotificationSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the Notification - */ - omit?: Prisma.NotificationOmit | null - /** - * The data used to update Notifications. - */ - data: Prisma.XOR - /** - * Filter which Notifications to update - */ - where?: Prisma.NotificationWhereInput - /** - * Limit how many Notifications to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.NotificationIncludeUpdateManyAndReturn | null -} - -/** - * Notification upsert - */ -export type NotificationUpsertArgs = { - /** - * Select specific fields to fetch from the Notification - */ - select?: Prisma.NotificationSelect | null - /** - * Omit specific fields from the Notification - */ - omit?: Prisma.NotificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.NotificationInclude | null - /** - * The filter to search for the Notification to update in case it exists. - */ - where: Prisma.NotificationWhereUniqueInput - /** - * In case the Notification found by the `where` argument doesn't exist, create a new Notification with this data. - */ - create: Prisma.XOR - /** - * In case the Notification was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * Notification delete - */ -export type NotificationDeleteArgs = { - /** - * Select specific fields to fetch from the Notification - */ - select?: Prisma.NotificationSelect | null - /** - * Omit specific fields from the Notification - */ - omit?: Prisma.NotificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.NotificationInclude | null - /** - * Filter which Notification to delete. - */ - where: Prisma.NotificationWhereUniqueInput -} - -/** - * Notification deleteMany - */ -export type NotificationDeleteManyArgs = { - /** - * Filter which Notifications to delete - */ - where?: Prisma.NotificationWhereInput - /** - * Limit how many Notifications to delete. - */ - limit?: number -} - -/** - * Notification.project - */ -export type Notification$projectArgs = { - /** - * Select specific fields to fetch from the Project - */ - select?: Prisma.ProjectSelect | null - /** - * Omit specific fields from the Project - */ - omit?: Prisma.ProjectOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectInclude | null - where?: Prisma.ProjectWhereInput -} - -/** - * Notification.creator - */ -export type Notification$creatorArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null - where?: Prisma.UserWhereInput -} - -/** - * Notification.asset - */ -export type Notification$assetArgs = { - /** - * Select specific fields to fetch from the Asset - */ - select?: Prisma.AssetSelect | null - /** - * Omit specific fields from the Asset - */ - omit?: Prisma.AssetOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetInclude | null - where?: Prisma.AssetWhereInput -} - -/** - * Notification.task - */ -export type Notification$taskArgs = { - /** - * Select specific fields to fetch from the Task - */ - select?: Prisma.TaskSelect | null - /** - * Omit specific fields from the Task - */ - omit?: Prisma.TaskOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TaskInclude | null - where?: Prisma.TaskWhereInput -} - -/** - * Notification.user - */ -export type Notification$userArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null - where?: Prisma.UserWhereInput -} - -/** - * Notification.readByMembers - */ -export type Notification$readByMembersArgs = { - /** - * Select specific fields to fetch from the TeamMember - */ - select?: Prisma.TeamMemberSelect | null - /** - * Omit specific fields from the TeamMember - */ - omit?: Prisma.TeamMemberOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamMemberInclude | null - where?: Prisma.TeamMemberWhereInput -} - -/** - * Notification without action - */ -export type NotificationDefaultArgs = { - /** - * Select specific fields to fetch from the Notification - */ - select?: Prisma.NotificationSelect | null - /** - * Omit specific fields from the Notification - */ - omit?: Prisma.NotificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.NotificationInclude | null -} diff --git a/src/generated/prisma/models/Project.ts b/src/generated/prisma/models/Project.ts deleted file mode 100644 index 72b63735..00000000 --- a/src/generated/prisma/models/Project.ts +++ /dev/null @@ -1,2943 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `Project` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model Project - * - */ -export type ProjectModel = runtime.Types.Result.DefaultSelection - -export type AggregateProject = { - _count: ProjectCountAggregateOutputType | null - _min: ProjectMinAggregateOutputType | null - _max: ProjectMaxAggregateOutputType | null -} - -export type ProjectMinAggregateOutputType = { - id: string | null - name: string | null - coverImageKey: string | null - enableNotification: boolean | null - createdAt: Date | null - updatedAt: Date | null - teamId: string | null - rootFolderId: string | null - shareRootId: string | null -} - -export type ProjectMaxAggregateOutputType = { - id: string | null - name: string | null - coverImageKey: string | null - enableNotification: boolean | null - createdAt: Date | null - updatedAt: Date | null - teamId: string | null - rootFolderId: string | null - shareRootId: string | null -} - -export type ProjectCountAggregateOutputType = { - id: number - name: number - coverImageKey: number - metadataOverrides:PrismaJson.MetadataOverrides - enableNotification: number - createdAt: number - updatedAt: number - teamId: number - rootFolderId: number - shareRootId: number - _all: number -} - - -export type ProjectMinAggregateInputType = { - id?: true - name?: true - coverImageKey?: true - enableNotification?: true - createdAt?: true - updatedAt?: true - teamId?: true - rootFolderId?: true - shareRootId?: true -} - -export type ProjectMaxAggregateInputType = { - id?: true - name?: true - coverImageKey?: true - enableNotification?: true - createdAt?: true - updatedAt?: true - teamId?: true - rootFolderId?: true - shareRootId?: true -} - -export type ProjectCountAggregateInputType = { - id?: true - name?: true - coverImageKey?: true - metadataOverrides?: true - enableNotification?: true - createdAt?: true - updatedAt?: true - teamId?: true - rootFolderId?: true - shareRootId?: true - _all?: true -} - -export type ProjectAggregateArgs = { - /** - * Filter which Project to aggregate. - */ - where?: Prisma.ProjectWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Projects to fetch. - */ - orderBy?: Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.ProjectWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Projects from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Projects. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Projects - **/ - _count?: true | ProjectCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: ProjectMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: ProjectMaxAggregateInputType -} - -export type GetProjectAggregateType = { - [P in keyof T & keyof AggregateProject]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type ProjectGroupByArgs = { - where?: Prisma.ProjectWhereInput - orderBy?: Prisma.ProjectOrderByWithAggregationInput | Prisma.ProjectOrderByWithAggregationInput[] - by: Prisma.ProjectScalarFieldEnum[] | Prisma.ProjectScalarFieldEnum - having?: Prisma.ProjectScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: ProjectCountAggregateInputType | true - _min?: ProjectMinAggregateInputType - _max?: ProjectMaxAggregateInputType -} - -export type ProjectGroupByOutputType = { - id: string - name: string - coverImageKey: string | null - metadataOverrides:PrismaJson.MetadataOverrides | null - enableNotification: boolean - createdAt: Date - updatedAt: Date - teamId: string - rootFolderId: string | null - shareRootId: string | null - _count: ProjectCountAggregateOutputType | null - _min: ProjectMinAggregateOutputType | null - _max: ProjectMaxAggregateOutputType | null -} - -export type GetProjectGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof ProjectGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type ProjectWhereInput = { - AND?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[] - OR?: Prisma.ProjectWhereInput[] - NOT?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[] - id?: Prisma.StringFilter<"Project"> | string - name?: Prisma.StringFilter<"Project"> | string - coverImageKey?: Prisma.StringNullableFilter<"Project"> | string | null - metadataOverrides?: Prisma.JsonNullableFilter<"Project"> - enableNotification?: Prisma.BoolFilter<"Project"> | boolean - createdAt?: Prisma.DateTimeFilter<"Project"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Project"> | Date | string - teamId?: Prisma.StringFilter<"Project"> | string - rootFolderId?: Prisma.StringNullableFilter<"Project"> | string | null - shareRootId?: Prisma.StringNullableFilter<"Project"> | string | null - team?: Prisma.XOR - rootFolder?: Prisma.XOR | null - shareRoot?: Prisma.XOR | null - members?: Prisma.ProjectMemberListRelationFilter - assets?: Prisma.AssetListRelationFilter - metadataFields?: Prisma.MetadataFieldListRelationFilter - invites?: Prisma.InviteListRelationFilter - notifications?: Prisma.NotificationListRelationFilter - shareLinks?: Prisma.ShareLinkListRelationFilter - collections?: Prisma.CollectionListRelationFilter -} - -export type ProjectOrderByWithRelationInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - coverImageKey?: Prisma.SortOrderInput | Prisma.SortOrder - metadataOverrides?: Prisma.SortOrderInput | Prisma.SortOrder - enableNotification?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder - rootFolderId?: Prisma.SortOrderInput | Prisma.SortOrder - shareRootId?: Prisma.SortOrderInput | Prisma.SortOrder - team?: Prisma.TeamOrderByWithRelationInput - rootFolder?: Prisma.AssetOrderByWithRelationInput - shareRoot?: Prisma.AssetOrderByWithRelationInput - members?: Prisma.ProjectMemberOrderByRelationAggregateInput - assets?: Prisma.AssetOrderByRelationAggregateInput - metadataFields?: Prisma.MetadataFieldOrderByRelationAggregateInput - invites?: Prisma.InviteOrderByRelationAggregateInput - notifications?: Prisma.NotificationOrderByRelationAggregateInput - shareLinks?: Prisma.ShareLinkOrderByRelationAggregateInput - collections?: Prisma.CollectionOrderByRelationAggregateInput -} - -export type ProjectWhereUniqueInput = Prisma.AtLeast<{ - id?: string - rootFolderId?: string - shareRootId?: string - AND?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[] - OR?: Prisma.ProjectWhereInput[] - NOT?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[] - name?: Prisma.StringFilter<"Project"> | string - coverImageKey?: Prisma.StringNullableFilter<"Project"> | string | null - metadataOverrides?: Prisma.JsonNullableFilter<"Project"> - enableNotification?: Prisma.BoolFilter<"Project"> | boolean - createdAt?: Prisma.DateTimeFilter<"Project"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Project"> | Date | string - teamId?: Prisma.StringFilter<"Project"> | string - team?: Prisma.XOR - rootFolder?: Prisma.XOR | null - shareRoot?: Prisma.XOR | null - members?: Prisma.ProjectMemberListRelationFilter - assets?: Prisma.AssetListRelationFilter - metadataFields?: Prisma.MetadataFieldListRelationFilter - invites?: Prisma.InviteListRelationFilter - notifications?: Prisma.NotificationListRelationFilter - shareLinks?: Prisma.ShareLinkListRelationFilter - collections?: Prisma.CollectionListRelationFilter -}, "id" | "rootFolderId" | "shareRootId"> - -export type ProjectOrderByWithAggregationInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - coverImageKey?: Prisma.SortOrderInput | Prisma.SortOrder - metadataOverrides?: Prisma.SortOrderInput | Prisma.SortOrder - enableNotification?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder - rootFolderId?: Prisma.SortOrderInput | Prisma.SortOrder - shareRootId?: Prisma.SortOrderInput | Prisma.SortOrder - _count?: Prisma.ProjectCountOrderByAggregateInput - _max?: Prisma.ProjectMaxOrderByAggregateInput - _min?: Prisma.ProjectMinOrderByAggregateInput -} - -export type ProjectScalarWhereWithAggregatesInput = { - AND?: Prisma.ProjectScalarWhereWithAggregatesInput | Prisma.ProjectScalarWhereWithAggregatesInput[] - OR?: Prisma.ProjectScalarWhereWithAggregatesInput[] - NOT?: Prisma.ProjectScalarWhereWithAggregatesInput | Prisma.ProjectScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"Project"> | string - name?: Prisma.StringWithAggregatesFilter<"Project"> | string - coverImageKey?: Prisma.StringNullableWithAggregatesFilter<"Project"> | string | null - metadataOverrides?: Prisma.JsonNullableWithAggregatesFilter<"Project"> - enableNotification?: Prisma.BoolWithAggregatesFilter<"Project"> | boolean - createdAt?: Prisma.DateTimeWithAggregatesFilter<"Project"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Project"> | Date | string - teamId?: Prisma.StringWithAggregatesFilter<"Project"> | string - rootFolderId?: Prisma.StringNullableWithAggregatesFilter<"Project"> | string | null - shareRootId?: Prisma.StringNullableWithAggregatesFilter<"Project"> | string | null -} - -export type ProjectCreateInput = { - id?: string - name: string - coverImageKey?: string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: boolean - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutProjectsInput - rootFolder?: Prisma.AssetCreateNestedOneWithoutProjectRootFolderInput - shareRoot?: Prisma.AssetCreateNestedOneWithoutProjectShareRootInput - members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput - assets?: Prisma.AssetCreateNestedManyWithoutProjectInput - metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutProjectInput - invites?: Prisma.InviteCreateNestedManyWithoutProjectInput - notifications?: Prisma.NotificationCreateNestedManyWithoutProjectInput - shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutProjectInput - collections?: Prisma.CollectionCreateNestedManyWithoutProjectInput -} - -export type ProjectUncheckedCreateInput = { - id?: string - name: string - coverImageKey?: string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: boolean - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - rootFolderId?: string | null - shareRootId?: string | null - members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutProjectInput - metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutProjectInput - invites?: Prisma.InviteUncheckedCreateNestedManyWithoutProjectInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutProjectInput - shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutProjectInput - collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutProjectInput -} - -export type ProjectUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - coverImageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutProjectsNestedInput - rootFolder?: Prisma.AssetUpdateOneWithoutProjectRootFolderNestedInput - shareRoot?: Prisma.AssetUpdateOneWithoutProjectShareRootNestedInput - members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput - assets?: Prisma.AssetUpdateManyWithoutProjectNestedInput - metadataFields?: Prisma.MetadataFieldUpdateManyWithoutProjectNestedInput - invites?: Prisma.InviteUpdateManyWithoutProjectNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutProjectNestedInput - shareLinks?: Prisma.ShareLinkUpdateManyWithoutProjectNestedInput - collections?: Prisma.CollectionUpdateManyWithoutProjectNestedInput -} - -export type ProjectUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - coverImageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - shareRootId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput - assets?: Prisma.AssetUncheckedUpdateManyWithoutProjectNestedInput - metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutProjectNestedInput - invites?: Prisma.InviteUncheckedUpdateManyWithoutProjectNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutProjectNestedInput - shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutProjectNestedInput - collections?: Prisma.CollectionUncheckedUpdateManyWithoutProjectNestedInput -} - -export type ProjectCreateManyInput = { - id?: string - name: string - coverImageKey?: string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: boolean - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - rootFolderId?: string | null - shareRootId?: string | null -} - -export type ProjectUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - coverImageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type ProjectUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - coverImageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - shareRootId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type ProjectListRelationFilter = { - every?: Prisma.ProjectWhereInput - some?: Prisma.ProjectWhereInput - none?: Prisma.ProjectWhereInput -} - -export type ProjectOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type ProjectCountOrderByAggregateInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - coverImageKey?: Prisma.SortOrder - metadataOverrides?: Prisma.SortOrder - enableNotification?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder - rootFolderId?: Prisma.SortOrder - shareRootId?: Prisma.SortOrder -} - -export type ProjectMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - coverImageKey?: Prisma.SortOrder - enableNotification?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder - rootFolderId?: Prisma.SortOrder - shareRootId?: Prisma.SortOrder -} - -export type ProjectMinOrderByAggregateInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - coverImageKey?: Prisma.SortOrder - enableNotification?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder - rootFolderId?: Prisma.SortOrder - shareRootId?: Prisma.SortOrder -} - -export type ProjectScalarRelationFilter = { - is?: Prisma.ProjectWhereInput - isNot?: Prisma.ProjectWhereInput -} - -export type ProjectNullableScalarRelationFilter = { - is?: Prisma.ProjectWhereInput | null - isNot?: Prisma.ProjectWhereInput | null -} - -export type ProjectCreateNestedManyWithoutTeamInput = { - create?: Prisma.XOR | Prisma.ProjectCreateWithoutTeamInput[] | Prisma.ProjectUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutTeamInput | Prisma.ProjectCreateOrConnectWithoutTeamInput[] - createMany?: Prisma.ProjectCreateManyTeamInputEnvelope - connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[] -} - -export type ProjectUncheckedCreateNestedManyWithoutTeamInput = { - create?: Prisma.XOR | Prisma.ProjectCreateWithoutTeamInput[] | Prisma.ProjectUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutTeamInput | Prisma.ProjectCreateOrConnectWithoutTeamInput[] - createMany?: Prisma.ProjectCreateManyTeamInputEnvelope - connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[] -} - -export type ProjectUpdateManyWithoutTeamNestedInput = { - create?: Prisma.XOR | Prisma.ProjectCreateWithoutTeamInput[] | Prisma.ProjectUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutTeamInput | Prisma.ProjectCreateOrConnectWithoutTeamInput[] - upsert?: Prisma.ProjectUpsertWithWhereUniqueWithoutTeamInput | Prisma.ProjectUpsertWithWhereUniqueWithoutTeamInput[] - createMany?: Prisma.ProjectCreateManyTeamInputEnvelope - set?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[] - disconnect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[] - delete?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[] - connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[] - update?: Prisma.ProjectUpdateWithWhereUniqueWithoutTeamInput | Prisma.ProjectUpdateWithWhereUniqueWithoutTeamInput[] - updateMany?: Prisma.ProjectUpdateManyWithWhereWithoutTeamInput | Prisma.ProjectUpdateManyWithWhereWithoutTeamInput[] - deleteMany?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[] -} - -export type ProjectUncheckedUpdateManyWithoutTeamNestedInput = { - create?: Prisma.XOR | Prisma.ProjectCreateWithoutTeamInput[] | Prisma.ProjectUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutTeamInput | Prisma.ProjectCreateOrConnectWithoutTeamInput[] - upsert?: Prisma.ProjectUpsertWithWhereUniqueWithoutTeamInput | Prisma.ProjectUpsertWithWhereUniqueWithoutTeamInput[] - createMany?: Prisma.ProjectCreateManyTeamInputEnvelope - set?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[] - disconnect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[] - delete?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[] - connect?: Prisma.ProjectWhereUniqueInput | Prisma.ProjectWhereUniqueInput[] - update?: Prisma.ProjectUpdateWithWhereUniqueWithoutTeamInput | Prisma.ProjectUpdateWithWhereUniqueWithoutTeamInput[] - updateMany?: Prisma.ProjectUpdateManyWithWhereWithoutTeamInput | Prisma.ProjectUpdateManyWithWhereWithoutTeamInput[] - deleteMany?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[] -} - -export type ProjectCreateNestedOneWithoutMembersInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutMembersInput - connect?: Prisma.ProjectWhereUniqueInput -} - -export type ProjectUpdateOneRequiredWithoutMembersNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutMembersInput - upsert?: Prisma.ProjectUpsertWithoutMembersInput - connect?: Prisma.ProjectWhereUniqueInput - update?: Prisma.XOR, Prisma.ProjectUncheckedUpdateWithoutMembersInput> -} - -export type ProjectCreateNestedOneWithoutShareLinksInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutShareLinksInput - connect?: Prisma.ProjectWhereUniqueInput -} - -export type ProjectUpdateOneRequiredWithoutShareLinksNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutShareLinksInput - upsert?: Prisma.ProjectUpsertWithoutShareLinksInput - connect?: Prisma.ProjectWhereUniqueInput - update?: Prisma.XOR, Prisma.ProjectUncheckedUpdateWithoutShareLinksInput> -} - -export type ProjectCreateNestedOneWithoutAssetsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutAssetsInput - connect?: Prisma.ProjectWhereUniqueInput -} - -export type ProjectCreateNestedOneWithoutRootFolderInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutRootFolderInput - connect?: Prisma.ProjectWhereUniqueInput -} - -export type ProjectCreateNestedOneWithoutShareRootInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutShareRootInput - connect?: Prisma.ProjectWhereUniqueInput -} - -export type ProjectUncheckedCreateNestedOneWithoutRootFolderInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutRootFolderInput - connect?: Prisma.ProjectWhereUniqueInput -} - -export type ProjectUncheckedCreateNestedOneWithoutShareRootInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutShareRootInput - connect?: Prisma.ProjectWhereUniqueInput -} - -export type ProjectUpdateOneWithoutAssetsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutAssetsInput - upsert?: Prisma.ProjectUpsertWithoutAssetsInput - disconnect?: Prisma.ProjectWhereInput | boolean - delete?: Prisma.ProjectWhereInput | boolean - connect?: Prisma.ProjectWhereUniqueInput - update?: Prisma.XOR, Prisma.ProjectUncheckedUpdateWithoutAssetsInput> -} - -export type ProjectUpdateOneWithoutRootFolderNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutRootFolderInput - upsert?: Prisma.ProjectUpsertWithoutRootFolderInput - disconnect?: Prisma.ProjectWhereInput | boolean - delete?: Prisma.ProjectWhereInput | boolean - connect?: Prisma.ProjectWhereUniqueInput - update?: Prisma.XOR, Prisma.ProjectUncheckedUpdateWithoutRootFolderInput> -} - -export type ProjectUpdateOneWithoutShareRootNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutShareRootInput - upsert?: Prisma.ProjectUpsertWithoutShareRootInput - disconnect?: Prisma.ProjectWhereInput | boolean - delete?: Prisma.ProjectWhereInput | boolean - connect?: Prisma.ProjectWhereUniqueInput - update?: Prisma.XOR, Prisma.ProjectUncheckedUpdateWithoutShareRootInput> -} - -export type ProjectUncheckedUpdateOneWithoutRootFolderNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutRootFolderInput - upsert?: Prisma.ProjectUpsertWithoutRootFolderInput - disconnect?: Prisma.ProjectWhereInput | boolean - delete?: Prisma.ProjectWhereInput | boolean - connect?: Prisma.ProjectWhereUniqueInput - update?: Prisma.XOR, Prisma.ProjectUncheckedUpdateWithoutRootFolderInput> -} - -export type ProjectUncheckedUpdateOneWithoutShareRootNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutShareRootInput - upsert?: Prisma.ProjectUpsertWithoutShareRootInput - disconnect?: Prisma.ProjectWhereInput | boolean - delete?: Prisma.ProjectWhereInput | boolean - connect?: Prisma.ProjectWhereUniqueInput - update?: Prisma.XOR, Prisma.ProjectUncheckedUpdateWithoutShareRootInput> -} - -export type ProjectCreateNestedOneWithoutInvitesInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutInvitesInput - connect?: Prisma.ProjectWhereUniqueInput -} - -export type ProjectUpdateOneWithoutInvitesNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutInvitesInput - upsert?: Prisma.ProjectUpsertWithoutInvitesInput - disconnect?: Prisma.ProjectWhereInput | boolean - delete?: Prisma.ProjectWhereInput | boolean - connect?: Prisma.ProjectWhereUniqueInput - update?: Prisma.XOR, Prisma.ProjectUncheckedUpdateWithoutInvitesInput> -} - -export type ProjectCreateNestedOneWithoutMetadataFieldsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutMetadataFieldsInput - connect?: Prisma.ProjectWhereUniqueInput -} - -export type ProjectUpdateOneWithoutMetadataFieldsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutMetadataFieldsInput - upsert?: Prisma.ProjectUpsertWithoutMetadataFieldsInput - disconnect?: Prisma.ProjectWhereInput | boolean - delete?: Prisma.ProjectWhereInput | boolean - connect?: Prisma.ProjectWhereUniqueInput - update?: Prisma.XOR, Prisma.ProjectUncheckedUpdateWithoutMetadataFieldsInput> -} - -export type ProjectCreateNestedOneWithoutNotificationsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutNotificationsInput - connect?: Prisma.ProjectWhereUniqueInput -} - -export type ProjectUpdateOneWithoutNotificationsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutNotificationsInput - upsert?: Prisma.ProjectUpsertWithoutNotificationsInput - disconnect?: Prisma.ProjectWhereInput | boolean - delete?: Prisma.ProjectWhereInput | boolean - connect?: Prisma.ProjectWhereUniqueInput - update?: Prisma.XOR, Prisma.ProjectUncheckedUpdateWithoutNotificationsInput> -} - -export type ProjectCreateNestedOneWithoutCollectionsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutCollectionsInput - connect?: Prisma.ProjectWhereUniqueInput -} - -export type ProjectUpdateOneRequiredWithoutCollectionsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutCollectionsInput - upsert?: Prisma.ProjectUpsertWithoutCollectionsInput - connect?: Prisma.ProjectWhereUniqueInput - update?: Prisma.XOR, Prisma.ProjectUncheckedUpdateWithoutCollectionsInput> -} - -export type ProjectCreateWithoutTeamInput = { - id?: string - name: string - coverImageKey?: string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: boolean - createdAt?: Date | string - updatedAt?: Date | string - rootFolder?: Prisma.AssetCreateNestedOneWithoutProjectRootFolderInput - shareRoot?: Prisma.AssetCreateNestedOneWithoutProjectShareRootInput - members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput - assets?: Prisma.AssetCreateNestedManyWithoutProjectInput - metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutProjectInput - invites?: Prisma.InviteCreateNestedManyWithoutProjectInput - notifications?: Prisma.NotificationCreateNestedManyWithoutProjectInput - shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutProjectInput - collections?: Prisma.CollectionCreateNestedManyWithoutProjectInput -} - -export type ProjectUncheckedCreateWithoutTeamInput = { - id?: string - name: string - coverImageKey?: string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: boolean - createdAt?: Date | string - updatedAt?: Date | string - rootFolderId?: string | null - shareRootId?: string | null - members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutProjectInput - metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutProjectInput - invites?: Prisma.InviteUncheckedCreateNestedManyWithoutProjectInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutProjectInput - shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutProjectInput - collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutProjectInput -} - -export type ProjectCreateOrConnectWithoutTeamInput = { - where: Prisma.ProjectWhereUniqueInput - create: Prisma.XOR -} - -export type ProjectCreateManyTeamInputEnvelope = { - data: Prisma.ProjectCreateManyTeamInput | Prisma.ProjectCreateManyTeamInput[] - skipDuplicates?: boolean -} - -export type ProjectUpsertWithWhereUniqueWithoutTeamInput = { - where: Prisma.ProjectWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type ProjectUpdateWithWhereUniqueWithoutTeamInput = { - where: Prisma.ProjectWhereUniqueInput - data: Prisma.XOR -} - -export type ProjectUpdateManyWithWhereWithoutTeamInput = { - where: Prisma.ProjectScalarWhereInput - data: Prisma.XOR -} - -export type ProjectScalarWhereInput = { - AND?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[] - OR?: Prisma.ProjectScalarWhereInput[] - NOT?: Prisma.ProjectScalarWhereInput | Prisma.ProjectScalarWhereInput[] - id?: Prisma.StringFilter<"Project"> | string - name?: Prisma.StringFilter<"Project"> | string - coverImageKey?: Prisma.StringNullableFilter<"Project"> | string | null - metadataOverrides?: Prisma.JsonNullableFilter<"Project"> - enableNotification?: Prisma.BoolFilter<"Project"> | boolean - createdAt?: Prisma.DateTimeFilter<"Project"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Project"> | Date | string - teamId?: Prisma.StringFilter<"Project"> | string - rootFolderId?: Prisma.StringNullableFilter<"Project"> | string | null - shareRootId?: Prisma.StringNullableFilter<"Project"> | string | null -} - -export type ProjectCreateWithoutMembersInput = { - id?: string - name: string - coverImageKey?: string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: boolean - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutProjectsInput - rootFolder?: Prisma.AssetCreateNestedOneWithoutProjectRootFolderInput - shareRoot?: Prisma.AssetCreateNestedOneWithoutProjectShareRootInput - assets?: Prisma.AssetCreateNestedManyWithoutProjectInput - metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutProjectInput - invites?: Prisma.InviteCreateNestedManyWithoutProjectInput - notifications?: Prisma.NotificationCreateNestedManyWithoutProjectInput - shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutProjectInput - collections?: Prisma.CollectionCreateNestedManyWithoutProjectInput -} - -export type ProjectUncheckedCreateWithoutMembersInput = { - id?: string - name: string - coverImageKey?: string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: boolean - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - rootFolderId?: string | null - shareRootId?: string | null - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutProjectInput - metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutProjectInput - invites?: Prisma.InviteUncheckedCreateNestedManyWithoutProjectInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutProjectInput - shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutProjectInput - collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutProjectInput -} - -export type ProjectCreateOrConnectWithoutMembersInput = { - where: Prisma.ProjectWhereUniqueInput - create: Prisma.XOR -} - -export type ProjectUpsertWithoutMembersInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.ProjectWhereInput -} - -export type ProjectUpdateToOneWithWhereWithoutMembersInput = { - where?: Prisma.ProjectWhereInput - data: Prisma.XOR -} - -export type ProjectUpdateWithoutMembersInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - coverImageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutProjectsNestedInput - rootFolder?: Prisma.AssetUpdateOneWithoutProjectRootFolderNestedInput - shareRoot?: Prisma.AssetUpdateOneWithoutProjectShareRootNestedInput - assets?: Prisma.AssetUpdateManyWithoutProjectNestedInput - metadataFields?: Prisma.MetadataFieldUpdateManyWithoutProjectNestedInput - invites?: Prisma.InviteUpdateManyWithoutProjectNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutProjectNestedInput - shareLinks?: Prisma.ShareLinkUpdateManyWithoutProjectNestedInput - collections?: Prisma.CollectionUpdateManyWithoutProjectNestedInput -} - -export type ProjectUncheckedUpdateWithoutMembersInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - coverImageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - shareRootId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - assets?: Prisma.AssetUncheckedUpdateManyWithoutProjectNestedInput - metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutProjectNestedInput - invites?: Prisma.InviteUncheckedUpdateManyWithoutProjectNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutProjectNestedInput - shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutProjectNestedInput - collections?: Prisma.CollectionUncheckedUpdateManyWithoutProjectNestedInput -} - -export type ProjectCreateWithoutShareLinksInput = { - id?: string - name: string - coverImageKey?: string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: boolean - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutProjectsInput - rootFolder?: Prisma.AssetCreateNestedOneWithoutProjectRootFolderInput - shareRoot?: Prisma.AssetCreateNestedOneWithoutProjectShareRootInput - members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput - assets?: Prisma.AssetCreateNestedManyWithoutProjectInput - metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutProjectInput - invites?: Prisma.InviteCreateNestedManyWithoutProjectInput - notifications?: Prisma.NotificationCreateNestedManyWithoutProjectInput - collections?: Prisma.CollectionCreateNestedManyWithoutProjectInput -} - -export type ProjectUncheckedCreateWithoutShareLinksInput = { - id?: string - name: string - coverImageKey?: string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: boolean - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - rootFolderId?: string | null - shareRootId?: string | null - members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutProjectInput - metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutProjectInput - invites?: Prisma.InviteUncheckedCreateNestedManyWithoutProjectInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutProjectInput - collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutProjectInput -} - -export type ProjectCreateOrConnectWithoutShareLinksInput = { - where: Prisma.ProjectWhereUniqueInput - create: Prisma.XOR -} - -export type ProjectUpsertWithoutShareLinksInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.ProjectWhereInput -} - -export type ProjectUpdateToOneWithWhereWithoutShareLinksInput = { - where?: Prisma.ProjectWhereInput - data: Prisma.XOR -} - -export type ProjectUpdateWithoutShareLinksInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - coverImageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutProjectsNestedInput - rootFolder?: Prisma.AssetUpdateOneWithoutProjectRootFolderNestedInput - shareRoot?: Prisma.AssetUpdateOneWithoutProjectShareRootNestedInput - members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput - assets?: Prisma.AssetUpdateManyWithoutProjectNestedInput - metadataFields?: Prisma.MetadataFieldUpdateManyWithoutProjectNestedInput - invites?: Prisma.InviteUpdateManyWithoutProjectNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutProjectNestedInput - collections?: Prisma.CollectionUpdateManyWithoutProjectNestedInput -} - -export type ProjectUncheckedUpdateWithoutShareLinksInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - coverImageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - shareRootId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput - assets?: Prisma.AssetUncheckedUpdateManyWithoutProjectNestedInput - metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutProjectNestedInput - invites?: Prisma.InviteUncheckedUpdateManyWithoutProjectNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutProjectNestedInput - collections?: Prisma.CollectionUncheckedUpdateManyWithoutProjectNestedInput -} - -export type ProjectCreateWithoutAssetsInput = { - id?: string - name: string - coverImageKey?: string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: boolean - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutProjectsInput - rootFolder?: Prisma.AssetCreateNestedOneWithoutProjectRootFolderInput - shareRoot?: Prisma.AssetCreateNestedOneWithoutProjectShareRootInput - members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput - metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutProjectInput - invites?: Prisma.InviteCreateNestedManyWithoutProjectInput - notifications?: Prisma.NotificationCreateNestedManyWithoutProjectInput - shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutProjectInput - collections?: Prisma.CollectionCreateNestedManyWithoutProjectInput -} - -export type ProjectUncheckedCreateWithoutAssetsInput = { - id?: string - name: string - coverImageKey?: string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: boolean - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - rootFolderId?: string | null - shareRootId?: string | null - members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput - metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutProjectInput - invites?: Prisma.InviteUncheckedCreateNestedManyWithoutProjectInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutProjectInput - shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutProjectInput - collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutProjectInput -} - -export type ProjectCreateOrConnectWithoutAssetsInput = { - where: Prisma.ProjectWhereUniqueInput - create: Prisma.XOR -} - -export type ProjectCreateWithoutRootFolderInput = { - id?: string - name: string - coverImageKey?: string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: boolean - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutProjectsInput - shareRoot?: Prisma.AssetCreateNestedOneWithoutProjectShareRootInput - members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput - assets?: Prisma.AssetCreateNestedManyWithoutProjectInput - metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutProjectInput - invites?: Prisma.InviteCreateNestedManyWithoutProjectInput - notifications?: Prisma.NotificationCreateNestedManyWithoutProjectInput - shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutProjectInput - collections?: Prisma.CollectionCreateNestedManyWithoutProjectInput -} - -export type ProjectUncheckedCreateWithoutRootFolderInput = { - id?: string - name: string - coverImageKey?: string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: boolean - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - shareRootId?: string | null - members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutProjectInput - metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutProjectInput - invites?: Prisma.InviteUncheckedCreateNestedManyWithoutProjectInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutProjectInput - shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutProjectInput - collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutProjectInput -} - -export type ProjectCreateOrConnectWithoutRootFolderInput = { - where: Prisma.ProjectWhereUniqueInput - create: Prisma.XOR -} - -export type ProjectCreateWithoutShareRootInput = { - id?: string - name: string - coverImageKey?: string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: boolean - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutProjectsInput - rootFolder?: Prisma.AssetCreateNestedOneWithoutProjectRootFolderInput - members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput - assets?: Prisma.AssetCreateNestedManyWithoutProjectInput - metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutProjectInput - invites?: Prisma.InviteCreateNestedManyWithoutProjectInput - notifications?: Prisma.NotificationCreateNestedManyWithoutProjectInput - shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutProjectInput - collections?: Prisma.CollectionCreateNestedManyWithoutProjectInput -} - -export type ProjectUncheckedCreateWithoutShareRootInput = { - id?: string - name: string - coverImageKey?: string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: boolean - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - rootFolderId?: string | null - members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutProjectInput - metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutProjectInput - invites?: Prisma.InviteUncheckedCreateNestedManyWithoutProjectInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutProjectInput - shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutProjectInput - collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutProjectInput -} - -export type ProjectCreateOrConnectWithoutShareRootInput = { - where: Prisma.ProjectWhereUniqueInput - create: Prisma.XOR -} - -export type ProjectUpsertWithoutAssetsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.ProjectWhereInput -} - -export type ProjectUpdateToOneWithWhereWithoutAssetsInput = { - where?: Prisma.ProjectWhereInput - data: Prisma.XOR -} - -export type ProjectUpdateWithoutAssetsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - coverImageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutProjectsNestedInput - rootFolder?: Prisma.AssetUpdateOneWithoutProjectRootFolderNestedInput - shareRoot?: Prisma.AssetUpdateOneWithoutProjectShareRootNestedInput - members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput - metadataFields?: Prisma.MetadataFieldUpdateManyWithoutProjectNestedInput - invites?: Prisma.InviteUpdateManyWithoutProjectNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutProjectNestedInput - shareLinks?: Prisma.ShareLinkUpdateManyWithoutProjectNestedInput - collections?: Prisma.CollectionUpdateManyWithoutProjectNestedInput -} - -export type ProjectUncheckedUpdateWithoutAssetsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - coverImageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - shareRootId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput - metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutProjectNestedInput - invites?: Prisma.InviteUncheckedUpdateManyWithoutProjectNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutProjectNestedInput - shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutProjectNestedInput - collections?: Prisma.CollectionUncheckedUpdateManyWithoutProjectNestedInput -} - -export type ProjectUpsertWithoutRootFolderInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.ProjectWhereInput -} - -export type ProjectUpdateToOneWithWhereWithoutRootFolderInput = { - where?: Prisma.ProjectWhereInput - data: Prisma.XOR -} - -export type ProjectUpdateWithoutRootFolderInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - coverImageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutProjectsNestedInput - shareRoot?: Prisma.AssetUpdateOneWithoutProjectShareRootNestedInput - members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput - assets?: Prisma.AssetUpdateManyWithoutProjectNestedInput - metadataFields?: Prisma.MetadataFieldUpdateManyWithoutProjectNestedInput - invites?: Prisma.InviteUpdateManyWithoutProjectNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutProjectNestedInput - shareLinks?: Prisma.ShareLinkUpdateManyWithoutProjectNestedInput - collections?: Prisma.CollectionUpdateManyWithoutProjectNestedInput -} - -export type ProjectUncheckedUpdateWithoutRootFolderInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - coverImageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - shareRootId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput - assets?: Prisma.AssetUncheckedUpdateManyWithoutProjectNestedInput - metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutProjectNestedInput - invites?: Prisma.InviteUncheckedUpdateManyWithoutProjectNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutProjectNestedInput - shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutProjectNestedInput - collections?: Prisma.CollectionUncheckedUpdateManyWithoutProjectNestedInput -} - -export type ProjectUpsertWithoutShareRootInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.ProjectWhereInput -} - -export type ProjectUpdateToOneWithWhereWithoutShareRootInput = { - where?: Prisma.ProjectWhereInput - data: Prisma.XOR -} - -export type ProjectUpdateWithoutShareRootInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - coverImageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutProjectsNestedInput - rootFolder?: Prisma.AssetUpdateOneWithoutProjectRootFolderNestedInput - members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput - assets?: Prisma.AssetUpdateManyWithoutProjectNestedInput - metadataFields?: Prisma.MetadataFieldUpdateManyWithoutProjectNestedInput - invites?: Prisma.InviteUpdateManyWithoutProjectNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutProjectNestedInput - shareLinks?: Prisma.ShareLinkUpdateManyWithoutProjectNestedInput - collections?: Prisma.CollectionUpdateManyWithoutProjectNestedInput -} - -export type ProjectUncheckedUpdateWithoutShareRootInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - coverImageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput - assets?: Prisma.AssetUncheckedUpdateManyWithoutProjectNestedInput - metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutProjectNestedInput - invites?: Prisma.InviteUncheckedUpdateManyWithoutProjectNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutProjectNestedInput - shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutProjectNestedInput - collections?: Prisma.CollectionUncheckedUpdateManyWithoutProjectNestedInput -} - -export type ProjectCreateWithoutInvitesInput = { - id?: string - name: string - coverImageKey?: string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: boolean - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutProjectsInput - rootFolder?: Prisma.AssetCreateNestedOneWithoutProjectRootFolderInput - shareRoot?: Prisma.AssetCreateNestedOneWithoutProjectShareRootInput - members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput - assets?: Prisma.AssetCreateNestedManyWithoutProjectInput - metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutProjectInput - notifications?: Prisma.NotificationCreateNestedManyWithoutProjectInput - shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutProjectInput - collections?: Prisma.CollectionCreateNestedManyWithoutProjectInput -} - -export type ProjectUncheckedCreateWithoutInvitesInput = { - id?: string - name: string - coverImageKey?: string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: boolean - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - rootFolderId?: string | null - shareRootId?: string | null - members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutProjectInput - metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutProjectInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutProjectInput - shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutProjectInput - collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutProjectInput -} - -export type ProjectCreateOrConnectWithoutInvitesInput = { - where: Prisma.ProjectWhereUniqueInput - create: Prisma.XOR -} - -export type ProjectUpsertWithoutInvitesInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.ProjectWhereInput -} - -export type ProjectUpdateToOneWithWhereWithoutInvitesInput = { - where?: Prisma.ProjectWhereInput - data: Prisma.XOR -} - -export type ProjectUpdateWithoutInvitesInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - coverImageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutProjectsNestedInput - rootFolder?: Prisma.AssetUpdateOneWithoutProjectRootFolderNestedInput - shareRoot?: Prisma.AssetUpdateOneWithoutProjectShareRootNestedInput - members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput - assets?: Prisma.AssetUpdateManyWithoutProjectNestedInput - metadataFields?: Prisma.MetadataFieldUpdateManyWithoutProjectNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutProjectNestedInput - shareLinks?: Prisma.ShareLinkUpdateManyWithoutProjectNestedInput - collections?: Prisma.CollectionUpdateManyWithoutProjectNestedInput -} - -export type ProjectUncheckedUpdateWithoutInvitesInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - coverImageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - shareRootId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput - assets?: Prisma.AssetUncheckedUpdateManyWithoutProjectNestedInput - metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutProjectNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutProjectNestedInput - shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutProjectNestedInput - collections?: Prisma.CollectionUncheckedUpdateManyWithoutProjectNestedInput -} - -export type ProjectCreateWithoutMetadataFieldsInput = { - id?: string - name: string - coverImageKey?: string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: boolean - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutProjectsInput - rootFolder?: Prisma.AssetCreateNestedOneWithoutProjectRootFolderInput - shareRoot?: Prisma.AssetCreateNestedOneWithoutProjectShareRootInput - members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput - assets?: Prisma.AssetCreateNestedManyWithoutProjectInput - invites?: Prisma.InviteCreateNestedManyWithoutProjectInput - notifications?: Prisma.NotificationCreateNestedManyWithoutProjectInput - shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutProjectInput - collections?: Prisma.CollectionCreateNestedManyWithoutProjectInput -} - -export type ProjectUncheckedCreateWithoutMetadataFieldsInput = { - id?: string - name: string - coverImageKey?: string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: boolean - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - rootFolderId?: string | null - shareRootId?: string | null - members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutProjectInput - invites?: Prisma.InviteUncheckedCreateNestedManyWithoutProjectInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutProjectInput - shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutProjectInput - collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutProjectInput -} - -export type ProjectCreateOrConnectWithoutMetadataFieldsInput = { - where: Prisma.ProjectWhereUniqueInput - create: Prisma.XOR -} - -export type ProjectUpsertWithoutMetadataFieldsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.ProjectWhereInput -} - -export type ProjectUpdateToOneWithWhereWithoutMetadataFieldsInput = { - where?: Prisma.ProjectWhereInput - data: Prisma.XOR -} - -export type ProjectUpdateWithoutMetadataFieldsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - coverImageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutProjectsNestedInput - rootFolder?: Prisma.AssetUpdateOneWithoutProjectRootFolderNestedInput - shareRoot?: Prisma.AssetUpdateOneWithoutProjectShareRootNestedInput - members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput - assets?: Prisma.AssetUpdateManyWithoutProjectNestedInput - invites?: Prisma.InviteUpdateManyWithoutProjectNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutProjectNestedInput - shareLinks?: Prisma.ShareLinkUpdateManyWithoutProjectNestedInput - collections?: Prisma.CollectionUpdateManyWithoutProjectNestedInput -} - -export type ProjectUncheckedUpdateWithoutMetadataFieldsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - coverImageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - shareRootId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput - assets?: Prisma.AssetUncheckedUpdateManyWithoutProjectNestedInput - invites?: Prisma.InviteUncheckedUpdateManyWithoutProjectNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutProjectNestedInput - shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutProjectNestedInput - collections?: Prisma.CollectionUncheckedUpdateManyWithoutProjectNestedInput -} - -export type ProjectCreateWithoutNotificationsInput = { - id?: string - name: string - coverImageKey?: string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: boolean - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutProjectsInput - rootFolder?: Prisma.AssetCreateNestedOneWithoutProjectRootFolderInput - shareRoot?: Prisma.AssetCreateNestedOneWithoutProjectShareRootInput - members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput - assets?: Prisma.AssetCreateNestedManyWithoutProjectInput - metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutProjectInput - invites?: Prisma.InviteCreateNestedManyWithoutProjectInput - shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutProjectInput - collections?: Prisma.CollectionCreateNestedManyWithoutProjectInput -} - -export type ProjectUncheckedCreateWithoutNotificationsInput = { - id?: string - name: string - coverImageKey?: string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: boolean - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - rootFolderId?: string | null - shareRootId?: string | null - members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutProjectInput - metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutProjectInput - invites?: Prisma.InviteUncheckedCreateNestedManyWithoutProjectInput - shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutProjectInput - collections?: Prisma.CollectionUncheckedCreateNestedManyWithoutProjectInput -} - -export type ProjectCreateOrConnectWithoutNotificationsInput = { - where: Prisma.ProjectWhereUniqueInput - create: Prisma.XOR -} - -export type ProjectUpsertWithoutNotificationsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.ProjectWhereInput -} - -export type ProjectUpdateToOneWithWhereWithoutNotificationsInput = { - where?: Prisma.ProjectWhereInput - data: Prisma.XOR -} - -export type ProjectUpdateWithoutNotificationsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - coverImageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutProjectsNestedInput - rootFolder?: Prisma.AssetUpdateOneWithoutProjectRootFolderNestedInput - shareRoot?: Prisma.AssetUpdateOneWithoutProjectShareRootNestedInput - members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput - assets?: Prisma.AssetUpdateManyWithoutProjectNestedInput - metadataFields?: Prisma.MetadataFieldUpdateManyWithoutProjectNestedInput - invites?: Prisma.InviteUpdateManyWithoutProjectNestedInput - shareLinks?: Prisma.ShareLinkUpdateManyWithoutProjectNestedInput - collections?: Prisma.CollectionUpdateManyWithoutProjectNestedInput -} - -export type ProjectUncheckedUpdateWithoutNotificationsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - coverImageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - shareRootId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput - assets?: Prisma.AssetUncheckedUpdateManyWithoutProjectNestedInput - metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutProjectNestedInput - invites?: Prisma.InviteUncheckedUpdateManyWithoutProjectNestedInput - shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutProjectNestedInput - collections?: Prisma.CollectionUncheckedUpdateManyWithoutProjectNestedInput -} - -export type ProjectCreateWithoutCollectionsInput = { - id?: string - name: string - coverImageKey?: string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: boolean - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutProjectsInput - rootFolder?: Prisma.AssetCreateNestedOneWithoutProjectRootFolderInput - shareRoot?: Prisma.AssetCreateNestedOneWithoutProjectShareRootInput - members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput - assets?: Prisma.AssetCreateNestedManyWithoutProjectInput - metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutProjectInput - invites?: Prisma.InviteCreateNestedManyWithoutProjectInput - notifications?: Prisma.NotificationCreateNestedManyWithoutProjectInput - shareLinks?: Prisma.ShareLinkCreateNestedManyWithoutProjectInput -} - -export type ProjectUncheckedCreateWithoutCollectionsInput = { - id?: string - name: string - coverImageKey?: string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: boolean - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - rootFolderId?: string | null - shareRootId?: string | null - members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutProjectInput - metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutProjectInput - invites?: Prisma.InviteUncheckedCreateNestedManyWithoutProjectInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutProjectInput - shareLinks?: Prisma.ShareLinkUncheckedCreateNestedManyWithoutProjectInput -} - -export type ProjectCreateOrConnectWithoutCollectionsInput = { - where: Prisma.ProjectWhereUniqueInput - create: Prisma.XOR -} - -export type ProjectUpsertWithoutCollectionsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.ProjectWhereInput -} - -export type ProjectUpdateToOneWithWhereWithoutCollectionsInput = { - where?: Prisma.ProjectWhereInput - data: Prisma.XOR -} - -export type ProjectUpdateWithoutCollectionsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - coverImageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutProjectsNestedInput - rootFolder?: Prisma.AssetUpdateOneWithoutProjectRootFolderNestedInput - shareRoot?: Prisma.AssetUpdateOneWithoutProjectShareRootNestedInput - members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput - assets?: Prisma.AssetUpdateManyWithoutProjectNestedInput - metadataFields?: Prisma.MetadataFieldUpdateManyWithoutProjectNestedInput - invites?: Prisma.InviteUpdateManyWithoutProjectNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutProjectNestedInput - shareLinks?: Prisma.ShareLinkUpdateManyWithoutProjectNestedInput -} - -export type ProjectUncheckedUpdateWithoutCollectionsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - coverImageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - shareRootId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput - assets?: Prisma.AssetUncheckedUpdateManyWithoutProjectNestedInput - metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutProjectNestedInput - invites?: Prisma.InviteUncheckedUpdateManyWithoutProjectNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutProjectNestedInput - shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutProjectNestedInput -} - -export type ProjectCreateManyTeamInput = { - id?: string - name: string - coverImageKey?: string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: boolean - createdAt?: Date | string - updatedAt?: Date | string - rootFolderId?: string | null - shareRootId?: string | null -} - -export type ProjectUpdateWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - coverImageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolder?: Prisma.AssetUpdateOneWithoutProjectRootFolderNestedInput - shareRoot?: Prisma.AssetUpdateOneWithoutProjectShareRootNestedInput - members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput - assets?: Prisma.AssetUpdateManyWithoutProjectNestedInput - metadataFields?: Prisma.MetadataFieldUpdateManyWithoutProjectNestedInput - invites?: Prisma.InviteUpdateManyWithoutProjectNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutProjectNestedInput - shareLinks?: Prisma.ShareLinkUpdateManyWithoutProjectNestedInput - collections?: Prisma.CollectionUpdateManyWithoutProjectNestedInput -} - -export type ProjectUncheckedUpdateWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - coverImageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - shareRootId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput - assets?: Prisma.AssetUncheckedUpdateManyWithoutProjectNestedInput - metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutProjectNestedInput - invites?: Prisma.InviteUncheckedUpdateManyWithoutProjectNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutProjectNestedInput - shareLinks?: Prisma.ShareLinkUncheckedUpdateManyWithoutProjectNestedInput - collections?: Prisma.CollectionUncheckedUpdateManyWithoutProjectNestedInput -} - -export type ProjectUncheckedUpdateManyWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - coverImageKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - metadataOverrides?:PrismaJson.MetadataOverrides | Prisma.NullableJsonNullValueInput - enableNotification?: Prisma.BoolFieldUpdateOperationsInput | boolean - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - shareRootId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - - -/** - * Count Type ProjectCountOutputType - */ - -export type ProjectCountOutputType = { - members: number - assets: number - metadataFields: number - invites: number - notifications: number - shareLinks: number - collections: number -} - -export type ProjectCountOutputTypeSelect = { - members?: boolean | ProjectCountOutputTypeCountMembersArgs - assets?: boolean | ProjectCountOutputTypeCountAssetsArgs - metadataFields?: boolean | ProjectCountOutputTypeCountMetadataFieldsArgs - invites?: boolean | ProjectCountOutputTypeCountInvitesArgs - notifications?: boolean | ProjectCountOutputTypeCountNotificationsArgs - shareLinks?: boolean | ProjectCountOutputTypeCountShareLinksArgs - collections?: boolean | ProjectCountOutputTypeCountCollectionsArgs -} - -/** - * ProjectCountOutputType without action - */ -export type ProjectCountOutputTypeDefaultArgs = { - /** - * Select specific fields to fetch from the ProjectCountOutputType - */ - select?: Prisma.ProjectCountOutputTypeSelect | null -} - -/** - * ProjectCountOutputType without action - */ -export type ProjectCountOutputTypeCountMembersArgs = { - where?: Prisma.ProjectMemberWhereInput -} - -/** - * ProjectCountOutputType without action - */ -export type ProjectCountOutputTypeCountAssetsArgs = { - where?: Prisma.AssetWhereInput -} - -/** - * ProjectCountOutputType without action - */ -export type ProjectCountOutputTypeCountMetadataFieldsArgs = { - where?: Prisma.MetadataFieldWhereInput -} - -/** - * ProjectCountOutputType without action - */ -export type ProjectCountOutputTypeCountInvitesArgs = { - where?: Prisma.InviteWhereInput -} - -/** - * ProjectCountOutputType without action - */ -export type ProjectCountOutputTypeCountNotificationsArgs = { - where?: Prisma.NotificationWhereInput -} - -/** - * ProjectCountOutputType without action - */ -export type ProjectCountOutputTypeCountShareLinksArgs = { - where?: Prisma.ShareLinkWhereInput -} - -/** - * ProjectCountOutputType without action - */ -export type ProjectCountOutputTypeCountCollectionsArgs = { - where?: Prisma.CollectionWhereInput -} - - -export type ProjectSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - name?: boolean - coverImageKey?: boolean - metadataOverrides?: boolean - enableNotification?: boolean - createdAt?: boolean - updatedAt?: boolean - teamId?: boolean - rootFolderId?: boolean - shareRootId?: boolean - team?: boolean | Prisma.TeamDefaultArgs - rootFolder?: boolean | Prisma.Project$rootFolderArgs - shareRoot?: boolean | Prisma.Project$shareRootArgs - members?: boolean | Prisma.Project$membersArgs - assets?: boolean | Prisma.Project$assetsArgs - metadataFields?: boolean | Prisma.Project$metadataFieldsArgs - invites?: boolean | Prisma.Project$invitesArgs - notifications?: boolean | Prisma.Project$notificationsArgs - shareLinks?: boolean | Prisma.Project$shareLinksArgs - collections?: boolean | Prisma.Project$collectionsArgs - _count?: boolean | Prisma.ProjectCountOutputTypeDefaultArgs -}, ExtArgs["result"]["project"]> - -export type ProjectSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - name?: boolean - coverImageKey?: boolean - metadataOverrides?: boolean - enableNotification?: boolean - createdAt?: boolean - updatedAt?: boolean - teamId?: boolean - rootFolderId?: boolean - shareRootId?: boolean - team?: boolean | Prisma.TeamDefaultArgs - rootFolder?: boolean | Prisma.Project$rootFolderArgs - shareRoot?: boolean | Prisma.Project$shareRootArgs -}, ExtArgs["result"]["project"]> - -export type ProjectSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - name?: boolean - coverImageKey?: boolean - metadataOverrides?: boolean - enableNotification?: boolean - createdAt?: boolean - updatedAt?: boolean - teamId?: boolean - rootFolderId?: boolean - shareRootId?: boolean - team?: boolean | Prisma.TeamDefaultArgs - rootFolder?: boolean | Prisma.Project$rootFolderArgs - shareRoot?: boolean | Prisma.Project$shareRootArgs -}, ExtArgs["result"]["project"]> - -export type ProjectSelectScalar = { - id?: boolean - name?: boolean - coverImageKey?: boolean - metadataOverrides?: boolean - enableNotification?: boolean - createdAt?: boolean - updatedAt?: boolean - teamId?: boolean - rootFolderId?: boolean - shareRootId?: boolean -} - -export type ProjectOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "coverImageKey" | "metadataOverrides" | "enableNotification" | "createdAt" | "updatedAt" | "teamId" | "rootFolderId" | "shareRootId", ExtArgs["result"]["project"]> -export type ProjectInclude = { - team?: boolean | Prisma.TeamDefaultArgs - rootFolder?: boolean | Prisma.Project$rootFolderArgs - shareRoot?: boolean | Prisma.Project$shareRootArgs - members?: boolean | Prisma.Project$membersArgs - assets?: boolean | Prisma.Project$assetsArgs - metadataFields?: boolean | Prisma.Project$metadataFieldsArgs - invites?: boolean | Prisma.Project$invitesArgs - notifications?: boolean | Prisma.Project$notificationsArgs - shareLinks?: boolean | Prisma.Project$shareLinksArgs - collections?: boolean | Prisma.Project$collectionsArgs - _count?: boolean | Prisma.ProjectCountOutputTypeDefaultArgs -} -export type ProjectIncludeCreateManyAndReturn = { - team?: boolean | Prisma.TeamDefaultArgs - rootFolder?: boolean | Prisma.Project$rootFolderArgs - shareRoot?: boolean | Prisma.Project$shareRootArgs -} -export type ProjectIncludeUpdateManyAndReturn = { - team?: boolean | Prisma.TeamDefaultArgs - rootFolder?: boolean | Prisma.Project$rootFolderArgs - shareRoot?: boolean | Prisma.Project$shareRootArgs -} - -export type $ProjectPayload = { - name: "Project" - objects: { - team: Prisma.$TeamPayload - rootFolder: Prisma.$AssetPayload | null - shareRoot: Prisma.$AssetPayload | null - members: Prisma.$ProjectMemberPayload[] - assets: Prisma.$AssetPayload[] - metadataFields: Prisma.$MetadataFieldPayload[] - invites: Prisma.$InvitePayload[] - notifications: Prisma.$NotificationPayload[] - shareLinks: Prisma.$ShareLinkPayload[] - collections: Prisma.$CollectionPayload[] - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - name: string - coverImageKey: string | null - /** - * [MetadataOverrides] - */ - metadataOverrides:PrismaJson.MetadataOverrides | null - enableNotification: boolean - createdAt: Date - updatedAt: Date - teamId: string - rootFolderId: string | null - shareRootId: string | null - }, ExtArgs["result"]["project"]> - composites: {} -} - -export type ProjectGetPayload = runtime.Types.Result.GetResult - -export type ProjectCountArgs = - Omit & { - select?: ProjectCountAggregateInputType | true - } - -export interface ProjectDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['Project'], meta: { name: 'Project' } } - /** - * Find zero or one Project that matches the filter. - * @param {ProjectFindUniqueArgs} args - Arguments to find a Project - * @example - * // Get one Project - * const project = await prisma.project.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ProjectClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one Project that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {ProjectFindUniqueOrThrowArgs} args - Arguments to find a Project - * @example - * // Get one Project - * const project = await prisma.project.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ProjectClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Project that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProjectFindFirstArgs} args - Arguments to find a Project - * @example - * // Get one Project - * const project = await prisma.project.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ProjectClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Project that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProjectFindFirstOrThrowArgs} args - Arguments to find a Project - * @example - * // Get one Project - * const project = await prisma.project.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ProjectClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more Projects that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProjectFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Projects - * const projects = await prisma.project.findMany() - * - * // Get first 10 Projects - * const projects = await prisma.project.findMany({ take: 10 }) - * - * // Only select the `id` - * const projectWithIdOnly = await prisma.project.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a Project. - * @param {ProjectCreateArgs} args - Arguments to create a Project. - * @example - * // Create one Project - * const Project = await prisma.project.create({ - * data: { - * // ... data to create a Project - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__ProjectClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many Projects. - * @param {ProjectCreateManyArgs} args - Arguments to create many Projects. - * @example - * // Create many Projects - * const project = await prisma.project.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many Projects and returns the data saved in the database. - * @param {ProjectCreateManyAndReturnArgs} args - Arguments to create many Projects. - * @example - * // Create many Projects - * const project = await prisma.project.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Projects and only return the `id` - * const projectWithIdOnly = await prisma.project.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a Project. - * @param {ProjectDeleteArgs} args - Arguments to delete one Project. - * @example - * // Delete one Project - * const Project = await prisma.project.delete({ - * where: { - * // ... filter to delete one Project - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__ProjectClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one Project. - * @param {ProjectUpdateArgs} args - Arguments to update one Project. - * @example - * // Update one Project - * const project = await prisma.project.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__ProjectClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more Projects. - * @param {ProjectDeleteManyArgs} args - Arguments to filter Projects to delete. - * @example - * // Delete a few Projects - * const { count } = await prisma.project.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Projects. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProjectUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Projects - * const project = await prisma.project.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Projects and returns the data updated in the database. - * @param {ProjectUpdateManyAndReturnArgs} args - Arguments to update many Projects. - * @example - * // Update many Projects - * const project = await prisma.project.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Projects and only return the `id` - * const projectWithIdOnly = await prisma.project.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one Project. - * @param {ProjectUpsertArgs} args - Arguments to update or create a Project. - * @example - * // Update or create a Project - * const project = await prisma.project.upsert({ - * create: { - * // ... data to create a Project - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the Project we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ProjectClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of Projects. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProjectCountArgs} args - Arguments to filter Projects to count. - * @example - * // Count the number of Projects - * const count = await prisma.project.count({ - * where: { - * // ... the filter for the Projects we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a Project. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProjectAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by Project. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProjectGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends ProjectGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: ProjectGroupByArgs['orderBy'] } - : { orderBy?: ProjectGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetProjectGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the Project model - */ -readonly fields: ProjectFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for Project. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__ProjectClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - team = {}>(args?: Prisma.Subset>): Prisma.Prisma__TeamClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - rootFolder = {}>(args?: Prisma.Subset>): Prisma.Prisma__AssetClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - shareRoot = {}>(args?: Prisma.Subset>): Prisma.Prisma__AssetClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - members = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - assets = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - metadataFields = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - invites = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - notifications = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - shareLinks = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - collections = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the Project model - */ -export interface ProjectFieldRefs { - readonly id: Prisma.FieldRef<"Project", 'String'> - readonly name: Prisma.FieldRef<"Project", 'String'> - readonly coverImageKey: Prisma.FieldRef<"Project", 'String'> - readonly metadataOverrides: Prisma.FieldRef<"Project", 'Json'> - readonly enableNotification: Prisma.FieldRef<"Project", 'Boolean'> - readonly createdAt: Prisma.FieldRef<"Project", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"Project", 'DateTime'> - readonly teamId: Prisma.FieldRef<"Project", 'String'> - readonly rootFolderId: Prisma.FieldRef<"Project", 'String'> - readonly shareRootId: Prisma.FieldRef<"Project", 'String'> -} - - -// Custom InputTypes -/** - * Project findUnique - */ -export type ProjectFindUniqueArgs = { - /** - * Select specific fields to fetch from the Project - */ - select?: Prisma.ProjectSelect | null - /** - * Omit specific fields from the Project - */ - omit?: Prisma.ProjectOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectInclude | null - /** - * Filter, which Project to fetch. - */ - where: Prisma.ProjectWhereUniqueInput -} - -/** - * Project findUniqueOrThrow - */ -export type ProjectFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the Project - */ - select?: Prisma.ProjectSelect | null - /** - * Omit specific fields from the Project - */ - omit?: Prisma.ProjectOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectInclude | null - /** - * Filter, which Project to fetch. - */ - where: Prisma.ProjectWhereUniqueInput -} - -/** - * Project findFirst - */ -export type ProjectFindFirstArgs = { - /** - * Select specific fields to fetch from the Project - */ - select?: Prisma.ProjectSelect | null - /** - * Omit specific fields from the Project - */ - omit?: Prisma.ProjectOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectInclude | null - /** - * Filter, which Project to fetch. - */ - where?: Prisma.ProjectWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Projects to fetch. - */ - orderBy?: Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Projects. - */ - cursor?: Prisma.ProjectWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Projects from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Projects. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Projects. - */ - distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[] -} - -/** - * Project findFirstOrThrow - */ -export type ProjectFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the Project - */ - select?: Prisma.ProjectSelect | null - /** - * Omit specific fields from the Project - */ - omit?: Prisma.ProjectOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectInclude | null - /** - * Filter, which Project to fetch. - */ - where?: Prisma.ProjectWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Projects to fetch. - */ - orderBy?: Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Projects. - */ - cursor?: Prisma.ProjectWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Projects from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Projects. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Projects. - */ - distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[] -} - -/** - * Project findMany - */ -export type ProjectFindManyArgs = { - /** - * Select specific fields to fetch from the Project - */ - select?: Prisma.ProjectSelect | null - /** - * Omit specific fields from the Project - */ - omit?: Prisma.ProjectOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectInclude | null - /** - * Filter, which Projects to fetch. - */ - where?: Prisma.ProjectWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Projects to fetch. - */ - orderBy?: Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Projects. - */ - cursor?: Prisma.ProjectWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Projects from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Projects. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Projects. - */ - distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[] -} - -/** - * Project create - */ -export type ProjectCreateArgs = { - /** - * Select specific fields to fetch from the Project - */ - select?: Prisma.ProjectSelect | null - /** - * Omit specific fields from the Project - */ - omit?: Prisma.ProjectOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectInclude | null - /** - * The data needed to create a Project. - */ - data: Prisma.XOR -} - -/** - * Project createMany - */ -export type ProjectCreateManyArgs = { - /** - * The data used to create many Projects. - */ - data: Prisma.ProjectCreateManyInput | Prisma.ProjectCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * Project createManyAndReturn - */ -export type ProjectCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Project - */ - select?: Prisma.ProjectSelectCreateManyAndReturn | null - /** - * Omit specific fields from the Project - */ - omit?: Prisma.ProjectOmit | null - /** - * The data used to create many Projects. - */ - data: Prisma.ProjectCreateManyInput | Prisma.ProjectCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectIncludeCreateManyAndReturn | null -} - -/** - * Project update - */ -export type ProjectUpdateArgs = { - /** - * Select specific fields to fetch from the Project - */ - select?: Prisma.ProjectSelect | null - /** - * Omit specific fields from the Project - */ - omit?: Prisma.ProjectOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectInclude | null - /** - * The data needed to update a Project. - */ - data: Prisma.XOR - /** - * Choose, which Project to update. - */ - where: Prisma.ProjectWhereUniqueInput -} - -/** - * Project updateMany - */ -export type ProjectUpdateManyArgs = { - /** - * The data used to update Projects. - */ - data: Prisma.XOR - /** - * Filter which Projects to update - */ - where?: Prisma.ProjectWhereInput - /** - * Limit how many Projects to update. - */ - limit?: number -} - -/** - * Project updateManyAndReturn - */ -export type ProjectUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Project - */ - select?: Prisma.ProjectSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the Project - */ - omit?: Prisma.ProjectOmit | null - /** - * The data used to update Projects. - */ - data: Prisma.XOR - /** - * Filter which Projects to update - */ - where?: Prisma.ProjectWhereInput - /** - * Limit how many Projects to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectIncludeUpdateManyAndReturn | null -} - -/** - * Project upsert - */ -export type ProjectUpsertArgs = { - /** - * Select specific fields to fetch from the Project - */ - select?: Prisma.ProjectSelect | null - /** - * Omit specific fields from the Project - */ - omit?: Prisma.ProjectOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectInclude | null - /** - * The filter to search for the Project to update in case it exists. - */ - where: Prisma.ProjectWhereUniqueInput - /** - * In case the Project found by the `where` argument doesn't exist, create a new Project with this data. - */ - create: Prisma.XOR - /** - * In case the Project was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * Project delete - */ -export type ProjectDeleteArgs = { - /** - * Select specific fields to fetch from the Project - */ - select?: Prisma.ProjectSelect | null - /** - * Omit specific fields from the Project - */ - omit?: Prisma.ProjectOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectInclude | null - /** - * Filter which Project to delete. - */ - where: Prisma.ProjectWhereUniqueInput -} - -/** - * Project deleteMany - */ -export type ProjectDeleteManyArgs = { - /** - * Filter which Projects to delete - */ - where?: Prisma.ProjectWhereInput - /** - * Limit how many Projects to delete. - */ - limit?: number -} - -/** - * Project.rootFolder - */ -export type Project$rootFolderArgs = { - /** - * Select specific fields to fetch from the Asset - */ - select?: Prisma.AssetSelect | null - /** - * Omit specific fields from the Asset - */ - omit?: Prisma.AssetOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetInclude | null - where?: Prisma.AssetWhereInput -} - -/** - * Project.shareRoot - */ -export type Project$shareRootArgs = { - /** - * Select specific fields to fetch from the Asset - */ - select?: Prisma.AssetSelect | null - /** - * Omit specific fields from the Asset - */ - omit?: Prisma.AssetOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetInclude | null - where?: Prisma.AssetWhereInput -} - -/** - * Project.members - */ -export type Project$membersArgs = { - /** - * Select specific fields to fetch from the ProjectMember - */ - select?: Prisma.ProjectMemberSelect | null - /** - * Omit specific fields from the ProjectMember - */ - omit?: Prisma.ProjectMemberOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectMemberInclude | null - where?: Prisma.ProjectMemberWhereInput - orderBy?: Prisma.ProjectMemberOrderByWithRelationInput | Prisma.ProjectMemberOrderByWithRelationInput[] - cursor?: Prisma.ProjectMemberWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.ProjectMemberScalarFieldEnum | Prisma.ProjectMemberScalarFieldEnum[] -} - -/** - * Project.assets - */ -export type Project$assetsArgs = { - /** - * Select specific fields to fetch from the Asset - */ - select?: Prisma.AssetSelect | null - /** - * Omit specific fields from the Asset - */ - omit?: Prisma.AssetOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetInclude | null - where?: Prisma.AssetWhereInput - orderBy?: Prisma.AssetOrderByWithRelationInput | Prisma.AssetOrderByWithRelationInput[] - cursor?: Prisma.AssetWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.AssetScalarFieldEnum | Prisma.AssetScalarFieldEnum[] -} - -/** - * Project.metadataFields - */ -export type Project$metadataFieldsArgs = { - /** - * Select specific fields to fetch from the MetadataField - */ - select?: Prisma.MetadataFieldSelect | null - /** - * Omit specific fields from the MetadataField - */ - omit?: Prisma.MetadataFieldOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.MetadataFieldInclude | null - where?: Prisma.MetadataFieldWhereInput - orderBy?: Prisma.MetadataFieldOrderByWithRelationInput | Prisma.MetadataFieldOrderByWithRelationInput[] - cursor?: Prisma.MetadataFieldWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.MetadataFieldScalarFieldEnum | Prisma.MetadataFieldScalarFieldEnum[] -} - -/** - * Project.invites - */ -export type Project$invitesArgs = { - /** - * Select specific fields to fetch from the Invite - */ - select?: Prisma.InviteSelect | null - /** - * Omit specific fields from the Invite - */ - omit?: Prisma.InviteOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.InviteInclude | null - where?: Prisma.InviteWhereInput - orderBy?: Prisma.InviteOrderByWithRelationInput | Prisma.InviteOrderByWithRelationInput[] - cursor?: Prisma.InviteWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.InviteScalarFieldEnum | Prisma.InviteScalarFieldEnum[] -} - -/** - * Project.notifications - */ -export type Project$notificationsArgs = { - /** - * Select specific fields to fetch from the Notification - */ - select?: Prisma.NotificationSelect | null - /** - * Omit specific fields from the Notification - */ - omit?: Prisma.NotificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.NotificationInclude | null - where?: Prisma.NotificationWhereInput - orderBy?: Prisma.NotificationOrderByWithRelationInput | Prisma.NotificationOrderByWithRelationInput[] - cursor?: Prisma.NotificationWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.NotificationScalarFieldEnum | Prisma.NotificationScalarFieldEnum[] -} - -/** - * Project.shareLinks - */ -export type Project$shareLinksArgs = { - /** - * Select specific fields to fetch from the ShareLink - */ - select?: Prisma.ShareLinkSelect | null - /** - * Omit specific fields from the ShareLink - */ - omit?: Prisma.ShareLinkOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ShareLinkInclude | null - where?: Prisma.ShareLinkWhereInput - orderBy?: Prisma.ShareLinkOrderByWithRelationInput | Prisma.ShareLinkOrderByWithRelationInput[] - cursor?: Prisma.ShareLinkWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.ShareLinkScalarFieldEnum | Prisma.ShareLinkScalarFieldEnum[] -} - -/** - * Project.collections - */ -export type Project$collectionsArgs = { - /** - * Select specific fields to fetch from the Collection - */ - select?: Prisma.CollectionSelect | null - /** - * Omit specific fields from the Collection - */ - omit?: Prisma.CollectionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.CollectionInclude | null - where?: Prisma.CollectionWhereInput - orderBy?: Prisma.CollectionOrderByWithRelationInput | Prisma.CollectionOrderByWithRelationInput[] - cursor?: Prisma.CollectionWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.CollectionScalarFieldEnum | Prisma.CollectionScalarFieldEnum[] -} - -/** - * Project without action - */ -export type ProjectDefaultArgs = { - /** - * Select specific fields to fetch from the Project - */ - select?: Prisma.ProjectSelect | null - /** - * Omit specific fields from the Project - */ - omit?: Prisma.ProjectOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectInclude | null -} diff --git a/src/generated/prisma/models/ProjectMember.ts b/src/generated/prisma/models/ProjectMember.ts deleted file mode 100644 index 210f2b55..00000000 --- a/src/generated/prisma/models/ProjectMember.ts +++ /dev/null @@ -1,1436 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `ProjectMember` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model ProjectMember - * - */ -export type ProjectMemberModel = runtime.Types.Result.DefaultSelection - -export type AggregateProjectMember = { - _count: ProjectMemberCountAggregateOutputType | null - _min: ProjectMemberMinAggregateOutputType | null - _max: ProjectMemberMaxAggregateOutputType | null -} - -export type ProjectMemberMinAggregateOutputType = { - id: string | null - role: $Enums.ProjectMemberRole | null - projectId: string | null - teamMemberId: string | null -} - -export type ProjectMemberMaxAggregateOutputType = { - id: string | null - role: $Enums.ProjectMemberRole | null - projectId: string | null - teamMemberId: string | null -} - -export type ProjectMemberCountAggregateOutputType = { - id: number - role: number - projectId: number - teamMemberId: number - _all: number -} - - -export type ProjectMemberMinAggregateInputType = { - id?: true - role?: true - projectId?: true - teamMemberId?: true -} - -export type ProjectMemberMaxAggregateInputType = { - id?: true - role?: true - projectId?: true - teamMemberId?: true -} - -export type ProjectMemberCountAggregateInputType = { - id?: true - role?: true - projectId?: true - teamMemberId?: true - _all?: true -} - -export type ProjectMemberAggregateArgs = { - /** - * Filter which ProjectMember to aggregate. - */ - where?: Prisma.ProjectMemberWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of ProjectMembers to fetch. - */ - orderBy?: Prisma.ProjectMemberOrderByWithRelationInput | Prisma.ProjectMemberOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.ProjectMemberWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` ProjectMembers from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` ProjectMembers. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned ProjectMembers - **/ - _count?: true | ProjectMemberCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: ProjectMemberMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: ProjectMemberMaxAggregateInputType -} - -export type GetProjectMemberAggregateType = { - [P in keyof T & keyof AggregateProjectMember]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type ProjectMemberGroupByArgs = { - where?: Prisma.ProjectMemberWhereInput - orderBy?: Prisma.ProjectMemberOrderByWithAggregationInput | Prisma.ProjectMemberOrderByWithAggregationInput[] - by: Prisma.ProjectMemberScalarFieldEnum[] | Prisma.ProjectMemberScalarFieldEnum - having?: Prisma.ProjectMemberScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: ProjectMemberCountAggregateInputType | true - _min?: ProjectMemberMinAggregateInputType - _max?: ProjectMemberMaxAggregateInputType -} - -export type ProjectMemberGroupByOutputType = { - id: string - role: $Enums.ProjectMemberRole - projectId: string - teamMemberId: string - _count: ProjectMemberCountAggregateOutputType | null - _min: ProjectMemberMinAggregateOutputType | null - _max: ProjectMemberMaxAggregateOutputType | null -} - -export type GetProjectMemberGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof ProjectMemberGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type ProjectMemberWhereInput = { - AND?: Prisma.ProjectMemberWhereInput | Prisma.ProjectMemberWhereInput[] - OR?: Prisma.ProjectMemberWhereInput[] - NOT?: Prisma.ProjectMemberWhereInput | Prisma.ProjectMemberWhereInput[] - id?: Prisma.StringFilter<"ProjectMember"> | string - role?: Prisma.EnumProjectMemberRoleFilter<"ProjectMember"> | $Enums.ProjectMemberRole - projectId?: Prisma.StringFilter<"ProjectMember"> | string - teamMemberId?: Prisma.StringFilter<"ProjectMember"> | string - project?: Prisma.XOR - teamMember?: Prisma.XOR -} - -export type ProjectMemberOrderByWithRelationInput = { - id?: Prisma.SortOrder - role?: Prisma.SortOrder - projectId?: Prisma.SortOrder - teamMemberId?: Prisma.SortOrder - project?: Prisma.ProjectOrderByWithRelationInput - teamMember?: Prisma.TeamMemberOrderByWithRelationInput -} - -export type ProjectMemberWhereUniqueInput = Prisma.AtLeast<{ - id?: string - projectIdTeamMemberId?: Prisma.ProjectMemberProjectIdTeamMemberIdCompoundUniqueInput - AND?: Prisma.ProjectMemberWhereInput | Prisma.ProjectMemberWhereInput[] - OR?: Prisma.ProjectMemberWhereInput[] - NOT?: Prisma.ProjectMemberWhereInput | Prisma.ProjectMemberWhereInput[] - role?: Prisma.EnumProjectMemberRoleFilter<"ProjectMember"> | $Enums.ProjectMemberRole - projectId?: Prisma.StringFilter<"ProjectMember"> | string - teamMemberId?: Prisma.StringFilter<"ProjectMember"> | string - project?: Prisma.XOR - teamMember?: Prisma.XOR -}, "id" | "projectIdTeamMemberId"> - -export type ProjectMemberOrderByWithAggregationInput = { - id?: Prisma.SortOrder - role?: Prisma.SortOrder - projectId?: Prisma.SortOrder - teamMemberId?: Prisma.SortOrder - _count?: Prisma.ProjectMemberCountOrderByAggregateInput - _max?: Prisma.ProjectMemberMaxOrderByAggregateInput - _min?: Prisma.ProjectMemberMinOrderByAggregateInput -} - -export type ProjectMemberScalarWhereWithAggregatesInput = { - AND?: Prisma.ProjectMemberScalarWhereWithAggregatesInput | Prisma.ProjectMemberScalarWhereWithAggregatesInput[] - OR?: Prisma.ProjectMemberScalarWhereWithAggregatesInput[] - NOT?: Prisma.ProjectMemberScalarWhereWithAggregatesInput | Prisma.ProjectMemberScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"ProjectMember"> | string - role?: Prisma.EnumProjectMemberRoleWithAggregatesFilter<"ProjectMember"> | $Enums.ProjectMemberRole - projectId?: Prisma.StringWithAggregatesFilter<"ProjectMember"> | string - teamMemberId?: Prisma.StringWithAggregatesFilter<"ProjectMember"> | string -} - -export type ProjectMemberCreateInput = { - id?: string - role: $Enums.ProjectMemberRole - project: Prisma.ProjectCreateNestedOneWithoutMembersInput - teamMember: Prisma.TeamMemberCreateNestedOneWithoutProjectMembersInput -} - -export type ProjectMemberUncheckedCreateInput = { - id?: string - role: $Enums.ProjectMemberRole - projectId: string - teamMemberId: string -} - -export type ProjectMemberUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.EnumProjectMemberRoleFieldUpdateOperationsInput | $Enums.ProjectMemberRole - project?: Prisma.ProjectUpdateOneRequiredWithoutMembersNestedInput - teamMember?: Prisma.TeamMemberUpdateOneRequiredWithoutProjectMembersNestedInput -} - -export type ProjectMemberUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.EnumProjectMemberRoleFieldUpdateOperationsInput | $Enums.ProjectMemberRole - projectId?: Prisma.StringFieldUpdateOperationsInput | string - teamMemberId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type ProjectMemberCreateManyInput = { - id?: string - role: $Enums.ProjectMemberRole - projectId: string - teamMemberId: string -} - -export type ProjectMemberUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.EnumProjectMemberRoleFieldUpdateOperationsInput | $Enums.ProjectMemberRole -} - -export type ProjectMemberUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.EnumProjectMemberRoleFieldUpdateOperationsInput | $Enums.ProjectMemberRole - projectId?: Prisma.StringFieldUpdateOperationsInput | string - teamMemberId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type ProjectMemberListRelationFilter = { - every?: Prisma.ProjectMemberWhereInput - some?: Prisma.ProjectMemberWhereInput - none?: Prisma.ProjectMemberWhereInput -} - -export type ProjectMemberOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type ProjectMemberProjectIdTeamMemberIdCompoundUniqueInput = { - projectId: string - teamMemberId: string -} - -export type ProjectMemberCountOrderByAggregateInput = { - id?: Prisma.SortOrder - role?: Prisma.SortOrder - projectId?: Prisma.SortOrder - teamMemberId?: Prisma.SortOrder -} - -export type ProjectMemberMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - role?: Prisma.SortOrder - projectId?: Prisma.SortOrder - teamMemberId?: Prisma.SortOrder -} - -export type ProjectMemberMinOrderByAggregateInput = { - id?: Prisma.SortOrder - role?: Prisma.SortOrder - projectId?: Prisma.SortOrder - teamMemberId?: Prisma.SortOrder -} - -export type ProjectMemberCreateNestedManyWithoutTeamMemberInput = { - create?: Prisma.XOR | Prisma.ProjectMemberCreateWithoutTeamMemberInput[] | Prisma.ProjectMemberUncheckedCreateWithoutTeamMemberInput[] - connectOrCreate?: Prisma.ProjectMemberCreateOrConnectWithoutTeamMemberInput | Prisma.ProjectMemberCreateOrConnectWithoutTeamMemberInput[] - createMany?: Prisma.ProjectMemberCreateManyTeamMemberInputEnvelope - connect?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] -} - -export type ProjectMemberUncheckedCreateNestedManyWithoutTeamMemberInput = { - create?: Prisma.XOR | Prisma.ProjectMemberCreateWithoutTeamMemberInput[] | Prisma.ProjectMemberUncheckedCreateWithoutTeamMemberInput[] - connectOrCreate?: Prisma.ProjectMemberCreateOrConnectWithoutTeamMemberInput | Prisma.ProjectMemberCreateOrConnectWithoutTeamMemberInput[] - createMany?: Prisma.ProjectMemberCreateManyTeamMemberInputEnvelope - connect?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] -} - -export type ProjectMemberUpdateManyWithoutTeamMemberNestedInput = { - create?: Prisma.XOR | Prisma.ProjectMemberCreateWithoutTeamMemberInput[] | Prisma.ProjectMemberUncheckedCreateWithoutTeamMemberInput[] - connectOrCreate?: Prisma.ProjectMemberCreateOrConnectWithoutTeamMemberInput | Prisma.ProjectMemberCreateOrConnectWithoutTeamMemberInput[] - upsert?: Prisma.ProjectMemberUpsertWithWhereUniqueWithoutTeamMemberInput | Prisma.ProjectMemberUpsertWithWhereUniqueWithoutTeamMemberInput[] - createMany?: Prisma.ProjectMemberCreateManyTeamMemberInputEnvelope - set?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] - disconnect?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] - delete?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] - connect?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] - update?: Prisma.ProjectMemberUpdateWithWhereUniqueWithoutTeamMemberInput | Prisma.ProjectMemberUpdateWithWhereUniqueWithoutTeamMemberInput[] - updateMany?: Prisma.ProjectMemberUpdateManyWithWhereWithoutTeamMemberInput | Prisma.ProjectMemberUpdateManyWithWhereWithoutTeamMemberInput[] - deleteMany?: Prisma.ProjectMemberScalarWhereInput | Prisma.ProjectMemberScalarWhereInput[] -} - -export type ProjectMemberUncheckedUpdateManyWithoutTeamMemberNestedInput = { - create?: Prisma.XOR | Prisma.ProjectMemberCreateWithoutTeamMemberInput[] | Prisma.ProjectMemberUncheckedCreateWithoutTeamMemberInput[] - connectOrCreate?: Prisma.ProjectMemberCreateOrConnectWithoutTeamMemberInput | Prisma.ProjectMemberCreateOrConnectWithoutTeamMemberInput[] - upsert?: Prisma.ProjectMemberUpsertWithWhereUniqueWithoutTeamMemberInput | Prisma.ProjectMemberUpsertWithWhereUniqueWithoutTeamMemberInput[] - createMany?: Prisma.ProjectMemberCreateManyTeamMemberInputEnvelope - set?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] - disconnect?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] - delete?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] - connect?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] - update?: Prisma.ProjectMemberUpdateWithWhereUniqueWithoutTeamMemberInput | Prisma.ProjectMemberUpdateWithWhereUniqueWithoutTeamMemberInput[] - updateMany?: Prisma.ProjectMemberUpdateManyWithWhereWithoutTeamMemberInput | Prisma.ProjectMemberUpdateManyWithWhereWithoutTeamMemberInput[] - deleteMany?: Prisma.ProjectMemberScalarWhereInput | Prisma.ProjectMemberScalarWhereInput[] -} - -export type ProjectMemberCreateNestedManyWithoutProjectInput = { - create?: Prisma.XOR | Prisma.ProjectMemberCreateWithoutProjectInput[] | Prisma.ProjectMemberUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.ProjectMemberCreateOrConnectWithoutProjectInput | Prisma.ProjectMemberCreateOrConnectWithoutProjectInput[] - createMany?: Prisma.ProjectMemberCreateManyProjectInputEnvelope - connect?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] -} - -export type ProjectMemberUncheckedCreateNestedManyWithoutProjectInput = { - create?: Prisma.XOR | Prisma.ProjectMemberCreateWithoutProjectInput[] | Prisma.ProjectMemberUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.ProjectMemberCreateOrConnectWithoutProjectInput | Prisma.ProjectMemberCreateOrConnectWithoutProjectInput[] - createMany?: Prisma.ProjectMemberCreateManyProjectInputEnvelope - connect?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] -} - -export type ProjectMemberUpdateManyWithoutProjectNestedInput = { - create?: Prisma.XOR | Prisma.ProjectMemberCreateWithoutProjectInput[] | Prisma.ProjectMemberUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.ProjectMemberCreateOrConnectWithoutProjectInput | Prisma.ProjectMemberCreateOrConnectWithoutProjectInput[] - upsert?: Prisma.ProjectMemberUpsertWithWhereUniqueWithoutProjectInput | Prisma.ProjectMemberUpsertWithWhereUniqueWithoutProjectInput[] - createMany?: Prisma.ProjectMemberCreateManyProjectInputEnvelope - set?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] - disconnect?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] - delete?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] - connect?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] - update?: Prisma.ProjectMemberUpdateWithWhereUniqueWithoutProjectInput | Prisma.ProjectMemberUpdateWithWhereUniqueWithoutProjectInput[] - updateMany?: Prisma.ProjectMemberUpdateManyWithWhereWithoutProjectInput | Prisma.ProjectMemberUpdateManyWithWhereWithoutProjectInput[] - deleteMany?: Prisma.ProjectMemberScalarWhereInput | Prisma.ProjectMemberScalarWhereInput[] -} - -export type ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput = { - create?: Prisma.XOR | Prisma.ProjectMemberCreateWithoutProjectInput[] | Prisma.ProjectMemberUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.ProjectMemberCreateOrConnectWithoutProjectInput | Prisma.ProjectMemberCreateOrConnectWithoutProjectInput[] - upsert?: Prisma.ProjectMemberUpsertWithWhereUniqueWithoutProjectInput | Prisma.ProjectMemberUpsertWithWhereUniqueWithoutProjectInput[] - createMany?: Prisma.ProjectMemberCreateManyProjectInputEnvelope - set?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] - disconnect?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] - delete?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] - connect?: Prisma.ProjectMemberWhereUniqueInput | Prisma.ProjectMemberWhereUniqueInput[] - update?: Prisma.ProjectMemberUpdateWithWhereUniqueWithoutProjectInput | Prisma.ProjectMemberUpdateWithWhereUniqueWithoutProjectInput[] - updateMany?: Prisma.ProjectMemberUpdateManyWithWhereWithoutProjectInput | Prisma.ProjectMemberUpdateManyWithWhereWithoutProjectInput[] - deleteMany?: Prisma.ProjectMemberScalarWhereInput | Prisma.ProjectMemberScalarWhereInput[] -} - -export type EnumProjectMemberRoleFieldUpdateOperationsInput = { - set?: $Enums.ProjectMemberRole -} - -export type ProjectMemberCreateWithoutTeamMemberInput = { - id?: string - role: $Enums.ProjectMemberRole - project: Prisma.ProjectCreateNestedOneWithoutMembersInput -} - -export type ProjectMemberUncheckedCreateWithoutTeamMemberInput = { - id?: string - role: $Enums.ProjectMemberRole - projectId: string -} - -export type ProjectMemberCreateOrConnectWithoutTeamMemberInput = { - where: Prisma.ProjectMemberWhereUniqueInput - create: Prisma.XOR -} - -export type ProjectMemberCreateManyTeamMemberInputEnvelope = { - data: Prisma.ProjectMemberCreateManyTeamMemberInput | Prisma.ProjectMemberCreateManyTeamMemberInput[] - skipDuplicates?: boolean -} - -export type ProjectMemberUpsertWithWhereUniqueWithoutTeamMemberInput = { - where: Prisma.ProjectMemberWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type ProjectMemberUpdateWithWhereUniqueWithoutTeamMemberInput = { - where: Prisma.ProjectMemberWhereUniqueInput - data: Prisma.XOR -} - -export type ProjectMemberUpdateManyWithWhereWithoutTeamMemberInput = { - where: Prisma.ProjectMemberScalarWhereInput - data: Prisma.XOR -} - -export type ProjectMemberScalarWhereInput = { - AND?: Prisma.ProjectMemberScalarWhereInput | Prisma.ProjectMemberScalarWhereInput[] - OR?: Prisma.ProjectMemberScalarWhereInput[] - NOT?: Prisma.ProjectMemberScalarWhereInput | Prisma.ProjectMemberScalarWhereInput[] - id?: Prisma.StringFilter<"ProjectMember"> | string - role?: Prisma.EnumProjectMemberRoleFilter<"ProjectMember"> | $Enums.ProjectMemberRole - projectId?: Prisma.StringFilter<"ProjectMember"> | string - teamMemberId?: Prisma.StringFilter<"ProjectMember"> | string -} - -export type ProjectMemberCreateWithoutProjectInput = { - id?: string - role: $Enums.ProjectMemberRole - teamMember: Prisma.TeamMemberCreateNestedOneWithoutProjectMembersInput -} - -export type ProjectMemberUncheckedCreateWithoutProjectInput = { - id?: string - role: $Enums.ProjectMemberRole - teamMemberId: string -} - -export type ProjectMemberCreateOrConnectWithoutProjectInput = { - where: Prisma.ProjectMemberWhereUniqueInput - create: Prisma.XOR -} - -export type ProjectMemberCreateManyProjectInputEnvelope = { - data: Prisma.ProjectMemberCreateManyProjectInput | Prisma.ProjectMemberCreateManyProjectInput[] - skipDuplicates?: boolean -} - -export type ProjectMemberUpsertWithWhereUniqueWithoutProjectInput = { - where: Prisma.ProjectMemberWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type ProjectMemberUpdateWithWhereUniqueWithoutProjectInput = { - where: Prisma.ProjectMemberWhereUniqueInput - data: Prisma.XOR -} - -export type ProjectMemberUpdateManyWithWhereWithoutProjectInput = { - where: Prisma.ProjectMemberScalarWhereInput - data: Prisma.XOR -} - -export type ProjectMemberCreateManyTeamMemberInput = { - id?: string - role: $Enums.ProjectMemberRole - projectId: string -} - -export type ProjectMemberUpdateWithoutTeamMemberInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.EnumProjectMemberRoleFieldUpdateOperationsInput | $Enums.ProjectMemberRole - project?: Prisma.ProjectUpdateOneRequiredWithoutMembersNestedInput -} - -export type ProjectMemberUncheckedUpdateWithoutTeamMemberInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.EnumProjectMemberRoleFieldUpdateOperationsInput | $Enums.ProjectMemberRole - projectId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type ProjectMemberUncheckedUpdateManyWithoutTeamMemberInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.EnumProjectMemberRoleFieldUpdateOperationsInput | $Enums.ProjectMemberRole - projectId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type ProjectMemberCreateManyProjectInput = { - id?: string - role: $Enums.ProjectMemberRole - teamMemberId: string -} - -export type ProjectMemberUpdateWithoutProjectInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.EnumProjectMemberRoleFieldUpdateOperationsInput | $Enums.ProjectMemberRole - teamMember?: Prisma.TeamMemberUpdateOneRequiredWithoutProjectMembersNestedInput -} - -export type ProjectMemberUncheckedUpdateWithoutProjectInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.EnumProjectMemberRoleFieldUpdateOperationsInput | $Enums.ProjectMemberRole - teamMemberId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type ProjectMemberUncheckedUpdateManyWithoutProjectInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.EnumProjectMemberRoleFieldUpdateOperationsInput | $Enums.ProjectMemberRole - teamMemberId?: Prisma.StringFieldUpdateOperationsInput | string -} - - - -export type ProjectMemberSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - role?: boolean - projectId?: boolean - teamMemberId?: boolean - project?: boolean | Prisma.ProjectDefaultArgs - teamMember?: boolean | Prisma.TeamMemberDefaultArgs -}, ExtArgs["result"]["projectMember"]> - -export type ProjectMemberSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - role?: boolean - projectId?: boolean - teamMemberId?: boolean - project?: boolean | Prisma.ProjectDefaultArgs - teamMember?: boolean | Prisma.TeamMemberDefaultArgs -}, ExtArgs["result"]["projectMember"]> - -export type ProjectMemberSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - role?: boolean - projectId?: boolean - teamMemberId?: boolean - project?: boolean | Prisma.ProjectDefaultArgs - teamMember?: boolean | Prisma.TeamMemberDefaultArgs -}, ExtArgs["result"]["projectMember"]> - -export type ProjectMemberSelectScalar = { - id?: boolean - role?: boolean - projectId?: boolean - teamMemberId?: boolean -} - -export type ProjectMemberOmit = runtime.Types.Extensions.GetOmit<"id" | "role" | "projectId" | "teamMemberId", ExtArgs["result"]["projectMember"]> -export type ProjectMemberInclude = { - project?: boolean | Prisma.ProjectDefaultArgs - teamMember?: boolean | Prisma.TeamMemberDefaultArgs -} -export type ProjectMemberIncludeCreateManyAndReturn = { - project?: boolean | Prisma.ProjectDefaultArgs - teamMember?: boolean | Prisma.TeamMemberDefaultArgs -} -export type ProjectMemberIncludeUpdateManyAndReturn = { - project?: boolean | Prisma.ProjectDefaultArgs - teamMember?: boolean | Prisma.TeamMemberDefaultArgs -} - -export type $ProjectMemberPayload = { - name: "ProjectMember" - objects: { - project: Prisma.$ProjectPayload - teamMember: Prisma.$TeamMemberPayload - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - role: $Enums.ProjectMemberRole - projectId: string - teamMemberId: string - }, ExtArgs["result"]["projectMember"]> - composites: {} -} - -export type ProjectMemberGetPayload = runtime.Types.Result.GetResult - -export type ProjectMemberCountArgs = - Omit & { - select?: ProjectMemberCountAggregateInputType | true - } - -export interface ProjectMemberDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['ProjectMember'], meta: { name: 'ProjectMember' } } - /** - * Find zero or one ProjectMember that matches the filter. - * @param {ProjectMemberFindUniqueArgs} args - Arguments to find a ProjectMember - * @example - * // Get one ProjectMember - * const projectMember = await prisma.projectMember.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ProjectMemberClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one ProjectMember that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {ProjectMemberFindUniqueOrThrowArgs} args - Arguments to find a ProjectMember - * @example - * // Get one ProjectMember - * const projectMember = await prisma.projectMember.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ProjectMemberClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first ProjectMember that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProjectMemberFindFirstArgs} args - Arguments to find a ProjectMember - * @example - * // Get one ProjectMember - * const projectMember = await prisma.projectMember.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ProjectMemberClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first ProjectMember that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProjectMemberFindFirstOrThrowArgs} args - Arguments to find a ProjectMember - * @example - * // Get one ProjectMember - * const projectMember = await prisma.projectMember.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ProjectMemberClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more ProjectMembers that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProjectMemberFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all ProjectMembers - * const projectMembers = await prisma.projectMember.findMany() - * - * // Get first 10 ProjectMembers - * const projectMembers = await prisma.projectMember.findMany({ take: 10 }) - * - * // Only select the `id` - * const projectMemberWithIdOnly = await prisma.projectMember.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a ProjectMember. - * @param {ProjectMemberCreateArgs} args - Arguments to create a ProjectMember. - * @example - * // Create one ProjectMember - * const ProjectMember = await prisma.projectMember.create({ - * data: { - * // ... data to create a ProjectMember - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__ProjectMemberClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many ProjectMembers. - * @param {ProjectMemberCreateManyArgs} args - Arguments to create many ProjectMembers. - * @example - * // Create many ProjectMembers - * const projectMember = await prisma.projectMember.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many ProjectMembers and returns the data saved in the database. - * @param {ProjectMemberCreateManyAndReturnArgs} args - Arguments to create many ProjectMembers. - * @example - * // Create many ProjectMembers - * const projectMember = await prisma.projectMember.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many ProjectMembers and only return the `id` - * const projectMemberWithIdOnly = await prisma.projectMember.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a ProjectMember. - * @param {ProjectMemberDeleteArgs} args - Arguments to delete one ProjectMember. - * @example - * // Delete one ProjectMember - * const ProjectMember = await prisma.projectMember.delete({ - * where: { - * // ... filter to delete one ProjectMember - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__ProjectMemberClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one ProjectMember. - * @param {ProjectMemberUpdateArgs} args - Arguments to update one ProjectMember. - * @example - * // Update one ProjectMember - * const projectMember = await prisma.projectMember.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__ProjectMemberClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more ProjectMembers. - * @param {ProjectMemberDeleteManyArgs} args - Arguments to filter ProjectMembers to delete. - * @example - * // Delete a few ProjectMembers - * const { count } = await prisma.projectMember.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more ProjectMembers. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProjectMemberUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many ProjectMembers - * const projectMember = await prisma.projectMember.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more ProjectMembers and returns the data updated in the database. - * @param {ProjectMemberUpdateManyAndReturnArgs} args - Arguments to update many ProjectMembers. - * @example - * // Update many ProjectMembers - * const projectMember = await prisma.projectMember.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more ProjectMembers and only return the `id` - * const projectMemberWithIdOnly = await prisma.projectMember.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one ProjectMember. - * @param {ProjectMemberUpsertArgs} args - Arguments to update or create a ProjectMember. - * @example - * // Update or create a ProjectMember - * const projectMember = await prisma.projectMember.upsert({ - * create: { - * // ... data to create a ProjectMember - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the ProjectMember we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ProjectMemberClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of ProjectMembers. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProjectMemberCountArgs} args - Arguments to filter ProjectMembers to count. - * @example - * // Count the number of ProjectMembers - * const count = await prisma.projectMember.count({ - * where: { - * // ... the filter for the ProjectMembers we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a ProjectMember. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProjectMemberAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by ProjectMember. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProjectMemberGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends ProjectMemberGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: ProjectMemberGroupByArgs['orderBy'] } - : { orderBy?: ProjectMemberGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetProjectMemberGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the ProjectMember model - */ -readonly fields: ProjectMemberFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for ProjectMember. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__ProjectMemberClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - project = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProjectClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - teamMember = {}>(args?: Prisma.Subset>): Prisma.Prisma__TeamMemberClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the ProjectMember model - */ -export interface ProjectMemberFieldRefs { - readonly id: Prisma.FieldRef<"ProjectMember", 'String'> - readonly role: Prisma.FieldRef<"ProjectMember", 'ProjectMemberRole'> - readonly projectId: Prisma.FieldRef<"ProjectMember", 'String'> - readonly teamMemberId: Prisma.FieldRef<"ProjectMember", 'String'> -} - - -// Custom InputTypes -/** - * ProjectMember findUnique - */ -export type ProjectMemberFindUniqueArgs = { - /** - * Select specific fields to fetch from the ProjectMember - */ - select?: Prisma.ProjectMemberSelect | null - /** - * Omit specific fields from the ProjectMember - */ - omit?: Prisma.ProjectMemberOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectMemberInclude | null - /** - * Filter, which ProjectMember to fetch. - */ - where: Prisma.ProjectMemberWhereUniqueInput -} - -/** - * ProjectMember findUniqueOrThrow - */ -export type ProjectMemberFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the ProjectMember - */ - select?: Prisma.ProjectMemberSelect | null - /** - * Omit specific fields from the ProjectMember - */ - omit?: Prisma.ProjectMemberOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectMemberInclude | null - /** - * Filter, which ProjectMember to fetch. - */ - where: Prisma.ProjectMemberWhereUniqueInput -} - -/** - * ProjectMember findFirst - */ -export type ProjectMemberFindFirstArgs = { - /** - * Select specific fields to fetch from the ProjectMember - */ - select?: Prisma.ProjectMemberSelect | null - /** - * Omit specific fields from the ProjectMember - */ - omit?: Prisma.ProjectMemberOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectMemberInclude | null - /** - * Filter, which ProjectMember to fetch. - */ - where?: Prisma.ProjectMemberWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of ProjectMembers to fetch. - */ - orderBy?: Prisma.ProjectMemberOrderByWithRelationInput | Prisma.ProjectMemberOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for ProjectMembers. - */ - cursor?: Prisma.ProjectMemberWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` ProjectMembers from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` ProjectMembers. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of ProjectMembers. - */ - distinct?: Prisma.ProjectMemberScalarFieldEnum | Prisma.ProjectMemberScalarFieldEnum[] -} - -/** - * ProjectMember findFirstOrThrow - */ -export type ProjectMemberFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the ProjectMember - */ - select?: Prisma.ProjectMemberSelect | null - /** - * Omit specific fields from the ProjectMember - */ - omit?: Prisma.ProjectMemberOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectMemberInclude | null - /** - * Filter, which ProjectMember to fetch. - */ - where?: Prisma.ProjectMemberWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of ProjectMembers to fetch. - */ - orderBy?: Prisma.ProjectMemberOrderByWithRelationInput | Prisma.ProjectMemberOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for ProjectMembers. - */ - cursor?: Prisma.ProjectMemberWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` ProjectMembers from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` ProjectMembers. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of ProjectMembers. - */ - distinct?: Prisma.ProjectMemberScalarFieldEnum | Prisma.ProjectMemberScalarFieldEnum[] -} - -/** - * ProjectMember findMany - */ -export type ProjectMemberFindManyArgs = { - /** - * Select specific fields to fetch from the ProjectMember - */ - select?: Prisma.ProjectMemberSelect | null - /** - * Omit specific fields from the ProjectMember - */ - omit?: Prisma.ProjectMemberOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectMemberInclude | null - /** - * Filter, which ProjectMembers to fetch. - */ - where?: Prisma.ProjectMemberWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of ProjectMembers to fetch. - */ - orderBy?: Prisma.ProjectMemberOrderByWithRelationInput | Prisma.ProjectMemberOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing ProjectMembers. - */ - cursor?: Prisma.ProjectMemberWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` ProjectMembers from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` ProjectMembers. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of ProjectMembers. - */ - distinct?: Prisma.ProjectMemberScalarFieldEnum | Prisma.ProjectMemberScalarFieldEnum[] -} - -/** - * ProjectMember create - */ -export type ProjectMemberCreateArgs = { - /** - * Select specific fields to fetch from the ProjectMember - */ - select?: Prisma.ProjectMemberSelect | null - /** - * Omit specific fields from the ProjectMember - */ - omit?: Prisma.ProjectMemberOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectMemberInclude | null - /** - * The data needed to create a ProjectMember. - */ - data: Prisma.XOR -} - -/** - * ProjectMember createMany - */ -export type ProjectMemberCreateManyArgs = { - /** - * The data used to create many ProjectMembers. - */ - data: Prisma.ProjectMemberCreateManyInput | Prisma.ProjectMemberCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * ProjectMember createManyAndReturn - */ -export type ProjectMemberCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the ProjectMember - */ - select?: Prisma.ProjectMemberSelectCreateManyAndReturn | null - /** - * Omit specific fields from the ProjectMember - */ - omit?: Prisma.ProjectMemberOmit | null - /** - * The data used to create many ProjectMembers. - */ - data: Prisma.ProjectMemberCreateManyInput | Prisma.ProjectMemberCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectMemberIncludeCreateManyAndReturn | null -} - -/** - * ProjectMember update - */ -export type ProjectMemberUpdateArgs = { - /** - * Select specific fields to fetch from the ProjectMember - */ - select?: Prisma.ProjectMemberSelect | null - /** - * Omit specific fields from the ProjectMember - */ - omit?: Prisma.ProjectMemberOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectMemberInclude | null - /** - * The data needed to update a ProjectMember. - */ - data: Prisma.XOR - /** - * Choose, which ProjectMember to update. - */ - where: Prisma.ProjectMemberWhereUniqueInput -} - -/** - * ProjectMember updateMany - */ -export type ProjectMemberUpdateManyArgs = { - /** - * The data used to update ProjectMembers. - */ - data: Prisma.XOR - /** - * Filter which ProjectMembers to update - */ - where?: Prisma.ProjectMemberWhereInput - /** - * Limit how many ProjectMembers to update. - */ - limit?: number -} - -/** - * ProjectMember updateManyAndReturn - */ -export type ProjectMemberUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the ProjectMember - */ - select?: Prisma.ProjectMemberSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the ProjectMember - */ - omit?: Prisma.ProjectMemberOmit | null - /** - * The data used to update ProjectMembers. - */ - data: Prisma.XOR - /** - * Filter which ProjectMembers to update - */ - where?: Prisma.ProjectMemberWhereInput - /** - * Limit how many ProjectMembers to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectMemberIncludeUpdateManyAndReturn | null -} - -/** - * ProjectMember upsert - */ -export type ProjectMemberUpsertArgs = { - /** - * Select specific fields to fetch from the ProjectMember - */ - select?: Prisma.ProjectMemberSelect | null - /** - * Omit specific fields from the ProjectMember - */ - omit?: Prisma.ProjectMemberOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectMemberInclude | null - /** - * The filter to search for the ProjectMember to update in case it exists. - */ - where: Prisma.ProjectMemberWhereUniqueInput - /** - * In case the ProjectMember found by the `where` argument doesn't exist, create a new ProjectMember with this data. - */ - create: Prisma.XOR - /** - * In case the ProjectMember was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * ProjectMember delete - */ -export type ProjectMemberDeleteArgs = { - /** - * Select specific fields to fetch from the ProjectMember - */ - select?: Prisma.ProjectMemberSelect | null - /** - * Omit specific fields from the ProjectMember - */ - omit?: Prisma.ProjectMemberOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectMemberInclude | null - /** - * Filter which ProjectMember to delete. - */ - where: Prisma.ProjectMemberWhereUniqueInput -} - -/** - * ProjectMember deleteMany - */ -export type ProjectMemberDeleteManyArgs = { - /** - * Filter which ProjectMembers to delete - */ - where?: Prisma.ProjectMemberWhereInput - /** - * Limit how many ProjectMembers to delete. - */ - limit?: number -} - -/** - * ProjectMember without action - */ -export type ProjectMemberDefaultArgs = { - /** - * Select specific fields to fetch from the ProjectMember - */ - select?: Prisma.ProjectMemberSelect | null - /** - * Omit specific fields from the ProjectMember - */ - omit?: Prisma.ProjectMemberOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectMemberInclude | null -} diff --git a/src/generated/prisma/models/Provider.ts b/src/generated/prisma/models/Provider.ts deleted file mode 100644 index 3368ef77..00000000 --- a/src/generated/prisma/models/Provider.ts +++ /dev/null @@ -1,1698 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `Provider` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model Provider - * - */ -export type ProviderModel = runtime.Types.Result.DefaultSelection - -export type AggregateProvider = { - _count: ProviderCountAggregateOutputType | null - _min: ProviderMinAggregateOutputType | null - _max: ProviderMaxAggregateOutputType | null -} - -export type ProviderMinAggregateOutputType = { - id: string | null - name: string | null - isBuiltin: boolean | null - createdAt: Date | null - updatedAt: Date | null - teamId: string | null -} - -export type ProviderMaxAggregateOutputType = { - id: string | null - name: string | null - isBuiltin: boolean | null - createdAt: Date | null - updatedAt: Date | null - teamId: string | null -} - -export type ProviderCountAggregateOutputType = { - id: number - name: number - isBuiltin: number - config:PrismaJson.ProviderConfig - createdAt: number - updatedAt: number - teamId: number - _all: number -} - - -export type ProviderMinAggregateInputType = { - id?: true - name?: true - isBuiltin?: true - createdAt?: true - updatedAt?: true - teamId?: true -} - -export type ProviderMaxAggregateInputType = { - id?: true - name?: true - isBuiltin?: true - createdAt?: true - updatedAt?: true - teamId?: true -} - -export type ProviderCountAggregateInputType = { - id?: true - name?: true - isBuiltin?: true - config?: true - createdAt?: true - updatedAt?: true - teamId?: true - _all?: true -} - -export type ProviderAggregateArgs = { - /** - * Filter which Provider to aggregate. - */ - where?: Prisma.ProviderWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Providers to fetch. - */ - orderBy?: Prisma.ProviderOrderByWithRelationInput | Prisma.ProviderOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.ProviderWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Providers from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Providers. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Providers - **/ - _count?: true | ProviderCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: ProviderMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: ProviderMaxAggregateInputType -} - -export type GetProviderAggregateType = { - [P in keyof T & keyof AggregateProvider]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type ProviderGroupByArgs = { - where?: Prisma.ProviderWhereInput - orderBy?: Prisma.ProviderOrderByWithAggregationInput | Prisma.ProviderOrderByWithAggregationInput[] - by: Prisma.ProviderScalarFieldEnum[] | Prisma.ProviderScalarFieldEnum - having?: Prisma.ProviderScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: ProviderCountAggregateInputType | true - _min?: ProviderMinAggregateInputType - _max?: ProviderMaxAggregateInputType -} - -export type ProviderGroupByOutputType = { - id: string - name: string - isBuiltin: boolean - config:PrismaJson.ProviderConfig - createdAt: Date - updatedAt: Date - teamId: string - _count: ProviderCountAggregateOutputType | null - _min: ProviderMinAggregateOutputType | null - _max: ProviderMaxAggregateOutputType | null -} - -export type GetProviderGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof ProviderGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type ProviderWhereInput = { - AND?: Prisma.ProviderWhereInput | Prisma.ProviderWhereInput[] - OR?: Prisma.ProviderWhereInput[] - NOT?: Prisma.ProviderWhereInput | Prisma.ProviderWhereInput[] - id?: Prisma.StringFilter<"Provider"> | string - name?: Prisma.StringFilter<"Provider"> | string - isBuiltin?: Prisma.BoolFilter<"Provider"> | boolean - config?: Prisma.JsonFilter<"Provider"> - createdAt?: Prisma.DateTimeFilter<"Provider"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Provider"> | Date | string - teamId?: Prisma.StringFilter<"Provider"> | string - team?: Prisma.XOR - models?: Prisma.ModelListRelationFilter - agents?: Prisma.AgentListRelationFilter -} - -export type ProviderOrderByWithRelationInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - isBuiltin?: Prisma.SortOrder - config?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder - team?: Prisma.TeamOrderByWithRelationInput - models?: Prisma.ModelOrderByRelationAggregateInput - agents?: Prisma.AgentOrderByRelationAggregateInput -} - -export type ProviderWhereUniqueInput = Prisma.AtLeast<{ - id?: string - teamId_name?: Prisma.ProviderTeamIdNameCompoundUniqueInput - AND?: Prisma.ProviderWhereInput | Prisma.ProviderWhereInput[] - OR?: Prisma.ProviderWhereInput[] - NOT?: Prisma.ProviderWhereInput | Prisma.ProviderWhereInput[] - name?: Prisma.StringFilter<"Provider"> | string - isBuiltin?: Prisma.BoolFilter<"Provider"> | boolean - config?: Prisma.JsonFilter<"Provider"> - createdAt?: Prisma.DateTimeFilter<"Provider"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Provider"> | Date | string - teamId?: Prisma.StringFilter<"Provider"> | string - team?: Prisma.XOR - models?: Prisma.ModelListRelationFilter - agents?: Prisma.AgentListRelationFilter -}, "id" | "teamId_name"> - -export type ProviderOrderByWithAggregationInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - isBuiltin?: Prisma.SortOrder - config?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder - _count?: Prisma.ProviderCountOrderByAggregateInput - _max?: Prisma.ProviderMaxOrderByAggregateInput - _min?: Prisma.ProviderMinOrderByAggregateInput -} - -export type ProviderScalarWhereWithAggregatesInput = { - AND?: Prisma.ProviderScalarWhereWithAggregatesInput | Prisma.ProviderScalarWhereWithAggregatesInput[] - OR?: Prisma.ProviderScalarWhereWithAggregatesInput[] - NOT?: Prisma.ProviderScalarWhereWithAggregatesInput | Prisma.ProviderScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"Provider"> | string - name?: Prisma.StringWithAggregatesFilter<"Provider"> | string - isBuiltin?: Prisma.BoolWithAggregatesFilter<"Provider"> | boolean - config?: Prisma.JsonWithAggregatesFilter<"Provider"> - createdAt?: Prisma.DateTimeWithAggregatesFilter<"Provider"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Provider"> | Date | string - teamId?: Prisma.StringWithAggregatesFilter<"Provider"> | string -} - -export type ProviderCreateInput = { - id?: string - name: string - isBuiltin?: boolean - config:PrismaJson.ProviderConfig - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutProvidersInput - models?: Prisma.ModelCreateNestedManyWithoutProviderInput - agents?: Prisma.AgentCreateNestedManyWithoutProviderInput -} - -export type ProviderUncheckedCreateInput = { - id?: string - name: string - isBuiltin?: boolean - config:PrismaJson.ProviderConfig - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - models?: Prisma.ModelUncheckedCreateNestedManyWithoutProviderInput - agents?: Prisma.AgentUncheckedCreateNestedManyWithoutProviderInput -} - -export type ProviderUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - isBuiltin?: Prisma.BoolFieldUpdateOperationsInput | boolean - config?:PrismaJson.ProviderConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutProvidersNestedInput - models?: Prisma.ModelUpdateManyWithoutProviderNestedInput - agents?: Prisma.AgentUpdateManyWithoutProviderNestedInput -} - -export type ProviderUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - isBuiltin?: Prisma.BoolFieldUpdateOperationsInput | boolean - config?:PrismaJson.ProviderConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - models?: Prisma.ModelUncheckedUpdateManyWithoutProviderNestedInput - agents?: Prisma.AgentUncheckedUpdateManyWithoutProviderNestedInput -} - -export type ProviderCreateManyInput = { - id?: string - name: string - isBuiltin?: boolean - config:PrismaJson.ProviderConfig - createdAt?: Date | string - updatedAt?: Date | string - teamId: string -} - -export type ProviderUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - isBuiltin?: Prisma.BoolFieldUpdateOperationsInput | boolean - config?:PrismaJson.ProviderConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type ProviderUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - isBuiltin?: Prisma.BoolFieldUpdateOperationsInput | boolean - config?:PrismaJson.ProviderConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type ProviderListRelationFilter = { - every?: Prisma.ProviderWhereInput - some?: Prisma.ProviderWhereInput - none?: Prisma.ProviderWhereInput -} - -export type ProviderOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type ProviderNullableScalarRelationFilter = { - is?: Prisma.ProviderWhereInput | null - isNot?: Prisma.ProviderWhereInput | null -} - -export type ProviderScalarRelationFilter = { - is?: Prisma.ProviderWhereInput - isNot?: Prisma.ProviderWhereInput -} - -export type ProviderTeamIdNameCompoundUniqueInput = { - teamId: string - name: string -} - -export type ProviderCountOrderByAggregateInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - isBuiltin?: Prisma.SortOrder - config?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder -} - -export type ProviderMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - isBuiltin?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder -} - -export type ProviderMinOrderByAggregateInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - isBuiltin?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder -} - -export type ProviderCreateNestedManyWithoutTeamInput = { - create?: Prisma.XOR | Prisma.ProviderCreateWithoutTeamInput[] | Prisma.ProviderUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutTeamInput | Prisma.ProviderCreateOrConnectWithoutTeamInput[] - createMany?: Prisma.ProviderCreateManyTeamInputEnvelope - connect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[] -} - -export type ProviderUncheckedCreateNestedManyWithoutTeamInput = { - create?: Prisma.XOR | Prisma.ProviderCreateWithoutTeamInput[] | Prisma.ProviderUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutTeamInput | Prisma.ProviderCreateOrConnectWithoutTeamInput[] - createMany?: Prisma.ProviderCreateManyTeamInputEnvelope - connect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[] -} - -export type ProviderUpdateManyWithoutTeamNestedInput = { - create?: Prisma.XOR | Prisma.ProviderCreateWithoutTeamInput[] | Prisma.ProviderUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutTeamInput | Prisma.ProviderCreateOrConnectWithoutTeamInput[] - upsert?: Prisma.ProviderUpsertWithWhereUniqueWithoutTeamInput | Prisma.ProviderUpsertWithWhereUniqueWithoutTeamInput[] - createMany?: Prisma.ProviderCreateManyTeamInputEnvelope - set?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[] - disconnect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[] - delete?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[] - connect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[] - update?: Prisma.ProviderUpdateWithWhereUniqueWithoutTeamInput | Prisma.ProviderUpdateWithWhereUniqueWithoutTeamInput[] - updateMany?: Prisma.ProviderUpdateManyWithWhereWithoutTeamInput | Prisma.ProviderUpdateManyWithWhereWithoutTeamInput[] - deleteMany?: Prisma.ProviderScalarWhereInput | Prisma.ProviderScalarWhereInput[] -} - -export type ProviderUncheckedUpdateManyWithoutTeamNestedInput = { - create?: Prisma.XOR | Prisma.ProviderCreateWithoutTeamInput[] | Prisma.ProviderUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutTeamInput | Prisma.ProviderCreateOrConnectWithoutTeamInput[] - upsert?: Prisma.ProviderUpsertWithWhereUniqueWithoutTeamInput | Prisma.ProviderUpsertWithWhereUniqueWithoutTeamInput[] - createMany?: Prisma.ProviderCreateManyTeamInputEnvelope - set?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[] - disconnect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[] - delete?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[] - connect?: Prisma.ProviderWhereUniqueInput | Prisma.ProviderWhereUniqueInput[] - update?: Prisma.ProviderUpdateWithWhereUniqueWithoutTeamInput | Prisma.ProviderUpdateWithWhereUniqueWithoutTeamInput[] - updateMany?: Prisma.ProviderUpdateManyWithWhereWithoutTeamInput | Prisma.ProviderUpdateManyWithWhereWithoutTeamInput[] - deleteMany?: Prisma.ProviderScalarWhereInput | Prisma.ProviderScalarWhereInput[] -} - -export type ProviderCreateNestedOneWithoutAgentsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutAgentsInput - connect?: Prisma.ProviderWhereUniqueInput -} - -export type ProviderUpdateOneWithoutAgentsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutAgentsInput - upsert?: Prisma.ProviderUpsertWithoutAgentsInput - disconnect?: Prisma.ProviderWhereInput | boolean - delete?: Prisma.ProviderWhereInput | boolean - connect?: Prisma.ProviderWhereUniqueInput - update?: Prisma.XOR, Prisma.ProviderUncheckedUpdateWithoutAgentsInput> -} - -export type ProviderCreateNestedOneWithoutModelsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutModelsInput - connect?: Prisma.ProviderWhereUniqueInput -} - -export type ProviderUpdateOneRequiredWithoutModelsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutModelsInput - upsert?: Prisma.ProviderUpsertWithoutModelsInput - connect?: Prisma.ProviderWhereUniqueInput - update?: Prisma.XOR, Prisma.ProviderUncheckedUpdateWithoutModelsInput> -} - -export type ProviderCreateWithoutTeamInput = { - id?: string - name: string - isBuiltin?: boolean - config:PrismaJson.ProviderConfig - createdAt?: Date | string - updatedAt?: Date | string - models?: Prisma.ModelCreateNestedManyWithoutProviderInput - agents?: Prisma.AgentCreateNestedManyWithoutProviderInput -} - -export type ProviderUncheckedCreateWithoutTeamInput = { - id?: string - name: string - isBuiltin?: boolean - config:PrismaJson.ProviderConfig - createdAt?: Date | string - updatedAt?: Date | string - models?: Prisma.ModelUncheckedCreateNestedManyWithoutProviderInput - agents?: Prisma.AgentUncheckedCreateNestedManyWithoutProviderInput -} - -export type ProviderCreateOrConnectWithoutTeamInput = { - where: Prisma.ProviderWhereUniqueInput - create: Prisma.XOR -} - -export type ProviderCreateManyTeamInputEnvelope = { - data: Prisma.ProviderCreateManyTeamInput | Prisma.ProviderCreateManyTeamInput[] - skipDuplicates?: boolean -} - -export type ProviderUpsertWithWhereUniqueWithoutTeamInput = { - where: Prisma.ProviderWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type ProviderUpdateWithWhereUniqueWithoutTeamInput = { - where: Prisma.ProviderWhereUniqueInput - data: Prisma.XOR -} - -export type ProviderUpdateManyWithWhereWithoutTeamInput = { - where: Prisma.ProviderScalarWhereInput - data: Prisma.XOR -} - -export type ProviderScalarWhereInput = { - AND?: Prisma.ProviderScalarWhereInput | Prisma.ProviderScalarWhereInput[] - OR?: Prisma.ProviderScalarWhereInput[] - NOT?: Prisma.ProviderScalarWhereInput | Prisma.ProviderScalarWhereInput[] - id?: Prisma.StringFilter<"Provider"> | string - name?: Prisma.StringFilter<"Provider"> | string - isBuiltin?: Prisma.BoolFilter<"Provider"> | boolean - config?: Prisma.JsonFilter<"Provider"> - createdAt?: Prisma.DateTimeFilter<"Provider"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Provider"> | Date | string - teamId?: Prisma.StringFilter<"Provider"> | string -} - -export type ProviderCreateWithoutAgentsInput = { - id?: string - name: string - isBuiltin?: boolean - config:PrismaJson.ProviderConfig - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutProvidersInput - models?: Prisma.ModelCreateNestedManyWithoutProviderInput -} - -export type ProviderUncheckedCreateWithoutAgentsInput = { - id?: string - name: string - isBuiltin?: boolean - config:PrismaJson.ProviderConfig - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - models?: Prisma.ModelUncheckedCreateNestedManyWithoutProviderInput -} - -export type ProviderCreateOrConnectWithoutAgentsInput = { - where: Prisma.ProviderWhereUniqueInput - create: Prisma.XOR -} - -export type ProviderUpsertWithoutAgentsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.ProviderWhereInput -} - -export type ProviderUpdateToOneWithWhereWithoutAgentsInput = { - where?: Prisma.ProviderWhereInput - data: Prisma.XOR -} - -export type ProviderUpdateWithoutAgentsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - isBuiltin?: Prisma.BoolFieldUpdateOperationsInput | boolean - config?:PrismaJson.ProviderConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutProvidersNestedInput - models?: Prisma.ModelUpdateManyWithoutProviderNestedInput -} - -export type ProviderUncheckedUpdateWithoutAgentsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - isBuiltin?: Prisma.BoolFieldUpdateOperationsInput | boolean - config?:PrismaJson.ProviderConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - models?: Prisma.ModelUncheckedUpdateManyWithoutProviderNestedInput -} - -export type ProviderCreateWithoutModelsInput = { - id?: string - name: string - isBuiltin?: boolean - config:PrismaJson.ProviderConfig - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutProvidersInput - agents?: Prisma.AgentCreateNestedManyWithoutProviderInput -} - -export type ProviderUncheckedCreateWithoutModelsInput = { - id?: string - name: string - isBuiltin?: boolean - config:PrismaJson.ProviderConfig - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - agents?: Prisma.AgentUncheckedCreateNestedManyWithoutProviderInput -} - -export type ProviderCreateOrConnectWithoutModelsInput = { - where: Prisma.ProviderWhereUniqueInput - create: Prisma.XOR -} - -export type ProviderUpsertWithoutModelsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.ProviderWhereInput -} - -export type ProviderUpdateToOneWithWhereWithoutModelsInput = { - where?: Prisma.ProviderWhereInput - data: Prisma.XOR -} - -export type ProviderUpdateWithoutModelsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - isBuiltin?: Prisma.BoolFieldUpdateOperationsInput | boolean - config?:PrismaJson.ProviderConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutProvidersNestedInput - agents?: Prisma.AgentUpdateManyWithoutProviderNestedInput -} - -export type ProviderUncheckedUpdateWithoutModelsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - isBuiltin?: Prisma.BoolFieldUpdateOperationsInput | boolean - config?:PrismaJson.ProviderConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - agents?: Prisma.AgentUncheckedUpdateManyWithoutProviderNestedInput -} - -export type ProviderCreateManyTeamInput = { - id?: string - name: string - isBuiltin?: boolean - config:PrismaJson.ProviderConfig - createdAt?: Date | string - updatedAt?: Date | string -} - -export type ProviderUpdateWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - isBuiltin?: Prisma.BoolFieldUpdateOperationsInput | boolean - config?:PrismaJson.ProviderConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - models?: Prisma.ModelUpdateManyWithoutProviderNestedInput - agents?: Prisma.AgentUpdateManyWithoutProviderNestedInput -} - -export type ProviderUncheckedUpdateWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - isBuiltin?: Prisma.BoolFieldUpdateOperationsInput | boolean - config?:PrismaJson.ProviderConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - models?: Prisma.ModelUncheckedUpdateManyWithoutProviderNestedInput - agents?: Prisma.AgentUncheckedUpdateManyWithoutProviderNestedInput -} - -export type ProviderUncheckedUpdateManyWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - isBuiltin?: Prisma.BoolFieldUpdateOperationsInput | boolean - config?:PrismaJson.ProviderConfig - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - - -/** - * Count Type ProviderCountOutputType - */ - -export type ProviderCountOutputType = { - models: number - agents: number -} - -export type ProviderCountOutputTypeSelect = { - models?: boolean | ProviderCountOutputTypeCountModelsArgs - agents?: boolean | ProviderCountOutputTypeCountAgentsArgs -} - -/** - * ProviderCountOutputType without action - */ -export type ProviderCountOutputTypeDefaultArgs = { - /** - * Select specific fields to fetch from the ProviderCountOutputType - */ - select?: Prisma.ProviderCountOutputTypeSelect | null -} - -/** - * ProviderCountOutputType without action - */ -export type ProviderCountOutputTypeCountModelsArgs = { - where?: Prisma.ModelWhereInput -} - -/** - * ProviderCountOutputType without action - */ -export type ProviderCountOutputTypeCountAgentsArgs = { - where?: Prisma.AgentWhereInput -} - - -export type ProviderSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - name?: boolean - isBuiltin?: boolean - config?: boolean - createdAt?: boolean - updatedAt?: boolean - teamId?: boolean - team?: boolean | Prisma.TeamDefaultArgs - models?: boolean | Prisma.Provider$modelsArgs - agents?: boolean | Prisma.Provider$agentsArgs - _count?: boolean | Prisma.ProviderCountOutputTypeDefaultArgs -}, ExtArgs["result"]["provider"]> - -export type ProviderSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - name?: boolean - isBuiltin?: boolean - config?: boolean - createdAt?: boolean - updatedAt?: boolean - teamId?: boolean - team?: boolean | Prisma.TeamDefaultArgs -}, ExtArgs["result"]["provider"]> - -export type ProviderSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - name?: boolean - isBuiltin?: boolean - config?: boolean - createdAt?: boolean - updatedAt?: boolean - teamId?: boolean - team?: boolean | Prisma.TeamDefaultArgs -}, ExtArgs["result"]["provider"]> - -export type ProviderSelectScalar = { - id?: boolean - name?: boolean - isBuiltin?: boolean - config?: boolean - createdAt?: boolean - updatedAt?: boolean - teamId?: boolean -} - -export type ProviderOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "isBuiltin" | "config" | "createdAt" | "updatedAt" | "teamId", ExtArgs["result"]["provider"]> -export type ProviderInclude = { - team?: boolean | Prisma.TeamDefaultArgs - models?: boolean | Prisma.Provider$modelsArgs - agents?: boolean | Prisma.Provider$agentsArgs - _count?: boolean | Prisma.ProviderCountOutputTypeDefaultArgs -} -export type ProviderIncludeCreateManyAndReturn = { - team?: boolean | Prisma.TeamDefaultArgs -} -export type ProviderIncludeUpdateManyAndReturn = { - team?: boolean | Prisma.TeamDefaultArgs -} - -export type $ProviderPayload = { - name: "Provider" - objects: { - team: Prisma.$TeamPayload - models: Prisma.$ModelPayload[] - agents: Prisma.$AgentPayload[] - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - name: string - isBuiltin: boolean - /** - * [ProviderConfig] - */ - config:PrismaJson.ProviderConfig - createdAt: Date - updatedAt: Date - teamId: string - }, ExtArgs["result"]["provider"]> - composites: {} -} - -export type ProviderGetPayload = runtime.Types.Result.GetResult - -export type ProviderCountArgs = - Omit & { - select?: ProviderCountAggregateInputType | true - } - -export interface ProviderDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['Provider'], meta: { name: 'Provider' } } - /** - * Find zero or one Provider that matches the filter. - * @param {ProviderFindUniqueArgs} args - Arguments to find a Provider - * @example - * // Get one Provider - * const provider = await prisma.provider.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ProviderClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one Provider that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {ProviderFindUniqueOrThrowArgs} args - Arguments to find a Provider - * @example - * // Get one Provider - * const provider = await prisma.provider.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ProviderClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Provider that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProviderFindFirstArgs} args - Arguments to find a Provider - * @example - * // Get one Provider - * const provider = await prisma.provider.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ProviderClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Provider that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProviderFindFirstOrThrowArgs} args - Arguments to find a Provider - * @example - * // Get one Provider - * const provider = await prisma.provider.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ProviderClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more Providers that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProviderFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Providers - * const providers = await prisma.provider.findMany() - * - * // Get first 10 Providers - * const providers = await prisma.provider.findMany({ take: 10 }) - * - * // Only select the `id` - * const providerWithIdOnly = await prisma.provider.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a Provider. - * @param {ProviderCreateArgs} args - Arguments to create a Provider. - * @example - * // Create one Provider - * const Provider = await prisma.provider.create({ - * data: { - * // ... data to create a Provider - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__ProviderClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many Providers. - * @param {ProviderCreateManyArgs} args - Arguments to create many Providers. - * @example - * // Create many Providers - * const provider = await prisma.provider.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many Providers and returns the data saved in the database. - * @param {ProviderCreateManyAndReturnArgs} args - Arguments to create many Providers. - * @example - * // Create many Providers - * const provider = await prisma.provider.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Providers and only return the `id` - * const providerWithIdOnly = await prisma.provider.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a Provider. - * @param {ProviderDeleteArgs} args - Arguments to delete one Provider. - * @example - * // Delete one Provider - * const Provider = await prisma.provider.delete({ - * where: { - * // ... filter to delete one Provider - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__ProviderClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one Provider. - * @param {ProviderUpdateArgs} args - Arguments to update one Provider. - * @example - * // Update one Provider - * const provider = await prisma.provider.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__ProviderClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more Providers. - * @param {ProviderDeleteManyArgs} args - Arguments to filter Providers to delete. - * @example - * // Delete a few Providers - * const { count } = await prisma.provider.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Providers. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProviderUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Providers - * const provider = await prisma.provider.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Providers and returns the data updated in the database. - * @param {ProviderUpdateManyAndReturnArgs} args - Arguments to update many Providers. - * @example - * // Update many Providers - * const provider = await prisma.provider.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Providers and only return the `id` - * const providerWithIdOnly = await prisma.provider.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one Provider. - * @param {ProviderUpsertArgs} args - Arguments to update or create a Provider. - * @example - * // Update or create a Provider - * const provider = await prisma.provider.upsert({ - * create: { - * // ... data to create a Provider - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the Provider we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ProviderClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of Providers. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProviderCountArgs} args - Arguments to filter Providers to count. - * @example - * // Count the number of Providers - * const count = await prisma.provider.count({ - * where: { - * // ... the filter for the Providers we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a Provider. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProviderAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by Provider. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ProviderGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends ProviderGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: ProviderGroupByArgs['orderBy'] } - : { orderBy?: ProviderGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetProviderGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the Provider model - */ -readonly fields: ProviderFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for Provider. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__ProviderClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - team = {}>(args?: Prisma.Subset>): Prisma.Prisma__TeamClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - models = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - agents = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the Provider model - */ -export interface ProviderFieldRefs { - readonly id: Prisma.FieldRef<"Provider", 'String'> - readonly name: Prisma.FieldRef<"Provider", 'String'> - readonly isBuiltin: Prisma.FieldRef<"Provider", 'Boolean'> - readonly config: Prisma.FieldRef<"Provider", 'Json'> - readonly createdAt: Prisma.FieldRef<"Provider", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"Provider", 'DateTime'> - readonly teamId: Prisma.FieldRef<"Provider", 'String'> -} - - -// Custom InputTypes -/** - * Provider findUnique - */ -export type ProviderFindUniqueArgs = { - /** - * Select specific fields to fetch from the Provider - */ - select?: Prisma.ProviderSelect | null - /** - * Omit specific fields from the Provider - */ - omit?: Prisma.ProviderOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProviderInclude | null - /** - * Filter, which Provider to fetch. - */ - where: Prisma.ProviderWhereUniqueInput -} - -/** - * Provider findUniqueOrThrow - */ -export type ProviderFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the Provider - */ - select?: Prisma.ProviderSelect | null - /** - * Omit specific fields from the Provider - */ - omit?: Prisma.ProviderOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProviderInclude | null - /** - * Filter, which Provider to fetch. - */ - where: Prisma.ProviderWhereUniqueInput -} - -/** - * Provider findFirst - */ -export type ProviderFindFirstArgs = { - /** - * Select specific fields to fetch from the Provider - */ - select?: Prisma.ProviderSelect | null - /** - * Omit specific fields from the Provider - */ - omit?: Prisma.ProviderOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProviderInclude | null - /** - * Filter, which Provider to fetch. - */ - where?: Prisma.ProviderWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Providers to fetch. - */ - orderBy?: Prisma.ProviderOrderByWithRelationInput | Prisma.ProviderOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Providers. - */ - cursor?: Prisma.ProviderWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Providers from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Providers. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Providers. - */ - distinct?: Prisma.ProviderScalarFieldEnum | Prisma.ProviderScalarFieldEnum[] -} - -/** - * Provider findFirstOrThrow - */ -export type ProviderFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the Provider - */ - select?: Prisma.ProviderSelect | null - /** - * Omit specific fields from the Provider - */ - omit?: Prisma.ProviderOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProviderInclude | null - /** - * Filter, which Provider to fetch. - */ - where?: Prisma.ProviderWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Providers to fetch. - */ - orderBy?: Prisma.ProviderOrderByWithRelationInput | Prisma.ProviderOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Providers. - */ - cursor?: Prisma.ProviderWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Providers from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Providers. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Providers. - */ - distinct?: Prisma.ProviderScalarFieldEnum | Prisma.ProviderScalarFieldEnum[] -} - -/** - * Provider findMany - */ -export type ProviderFindManyArgs = { - /** - * Select specific fields to fetch from the Provider - */ - select?: Prisma.ProviderSelect | null - /** - * Omit specific fields from the Provider - */ - omit?: Prisma.ProviderOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProviderInclude | null - /** - * Filter, which Providers to fetch. - */ - where?: Prisma.ProviderWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Providers to fetch. - */ - orderBy?: Prisma.ProviderOrderByWithRelationInput | Prisma.ProviderOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Providers. - */ - cursor?: Prisma.ProviderWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Providers from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Providers. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Providers. - */ - distinct?: Prisma.ProviderScalarFieldEnum | Prisma.ProviderScalarFieldEnum[] -} - -/** - * Provider create - */ -export type ProviderCreateArgs = { - /** - * Select specific fields to fetch from the Provider - */ - select?: Prisma.ProviderSelect | null - /** - * Omit specific fields from the Provider - */ - omit?: Prisma.ProviderOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProviderInclude | null - /** - * The data needed to create a Provider. - */ - data: Prisma.XOR -} - -/** - * Provider createMany - */ -export type ProviderCreateManyArgs = { - /** - * The data used to create many Providers. - */ - data: Prisma.ProviderCreateManyInput | Prisma.ProviderCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * Provider createManyAndReturn - */ -export type ProviderCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Provider - */ - select?: Prisma.ProviderSelectCreateManyAndReturn | null - /** - * Omit specific fields from the Provider - */ - omit?: Prisma.ProviderOmit | null - /** - * The data used to create many Providers. - */ - data: Prisma.ProviderCreateManyInput | Prisma.ProviderCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProviderIncludeCreateManyAndReturn | null -} - -/** - * Provider update - */ -export type ProviderUpdateArgs = { - /** - * Select specific fields to fetch from the Provider - */ - select?: Prisma.ProviderSelect | null - /** - * Omit specific fields from the Provider - */ - omit?: Prisma.ProviderOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProviderInclude | null - /** - * The data needed to update a Provider. - */ - data: Prisma.XOR - /** - * Choose, which Provider to update. - */ - where: Prisma.ProviderWhereUniqueInput -} - -/** - * Provider updateMany - */ -export type ProviderUpdateManyArgs = { - /** - * The data used to update Providers. - */ - data: Prisma.XOR - /** - * Filter which Providers to update - */ - where?: Prisma.ProviderWhereInput - /** - * Limit how many Providers to update. - */ - limit?: number -} - -/** - * Provider updateManyAndReturn - */ -export type ProviderUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Provider - */ - select?: Prisma.ProviderSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the Provider - */ - omit?: Prisma.ProviderOmit | null - /** - * The data used to update Providers. - */ - data: Prisma.XOR - /** - * Filter which Providers to update - */ - where?: Prisma.ProviderWhereInput - /** - * Limit how many Providers to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProviderIncludeUpdateManyAndReturn | null -} - -/** - * Provider upsert - */ -export type ProviderUpsertArgs = { - /** - * Select specific fields to fetch from the Provider - */ - select?: Prisma.ProviderSelect | null - /** - * Omit specific fields from the Provider - */ - omit?: Prisma.ProviderOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProviderInclude | null - /** - * The filter to search for the Provider to update in case it exists. - */ - where: Prisma.ProviderWhereUniqueInput - /** - * In case the Provider found by the `where` argument doesn't exist, create a new Provider with this data. - */ - create: Prisma.XOR - /** - * In case the Provider was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * Provider delete - */ -export type ProviderDeleteArgs = { - /** - * Select specific fields to fetch from the Provider - */ - select?: Prisma.ProviderSelect | null - /** - * Omit specific fields from the Provider - */ - omit?: Prisma.ProviderOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProviderInclude | null - /** - * Filter which Provider to delete. - */ - where: Prisma.ProviderWhereUniqueInput -} - -/** - * Provider deleteMany - */ -export type ProviderDeleteManyArgs = { - /** - * Filter which Providers to delete - */ - where?: Prisma.ProviderWhereInput - /** - * Limit how many Providers to delete. - */ - limit?: number -} - -/** - * Provider.models - */ -export type Provider$modelsArgs = { - /** - * Select specific fields to fetch from the Model - */ - select?: Prisma.ModelSelect | null - /** - * Omit specific fields from the Model - */ - omit?: Prisma.ModelOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ModelInclude | null - where?: Prisma.ModelWhereInput - orderBy?: Prisma.ModelOrderByWithRelationInput | Prisma.ModelOrderByWithRelationInput[] - cursor?: Prisma.ModelWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.ModelScalarFieldEnum | Prisma.ModelScalarFieldEnum[] -} - -/** - * Provider.agents - */ -export type Provider$agentsArgs = { - /** - * Select specific fields to fetch from the Agent - */ - select?: Prisma.AgentSelect | null - /** - * Omit specific fields from the Agent - */ - omit?: Prisma.AgentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentInclude | null - where?: Prisma.AgentWhereInput - orderBy?: Prisma.AgentOrderByWithRelationInput | Prisma.AgentOrderByWithRelationInput[] - cursor?: Prisma.AgentWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.AgentScalarFieldEnum | Prisma.AgentScalarFieldEnum[] -} - -/** - * Provider without action - */ -export type ProviderDefaultArgs = { - /** - * Select specific fields to fetch from the Provider - */ - select?: Prisma.ProviderSelect | null - /** - * Omit specific fields from the Provider - */ - omit?: Prisma.ProviderOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProviderInclude | null -} diff --git a/src/generated/prisma/models/Sandbox.ts b/src/generated/prisma/models/Sandbox.ts deleted file mode 100644 index ead3b939..00000000 --- a/src/generated/prisma/models/Sandbox.ts +++ /dev/null @@ -1,1308 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `Sandbox` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model Sandbox - * - */ -export type SandboxModel = runtime.Types.Result.DefaultSelection - -export type AggregateSandbox = { - _count: SandboxCountAggregateOutputType | null - _min: SandboxMinAggregateOutputType | null - _max: SandboxMaxAggregateOutputType | null -} - -export type SandboxMinAggregateOutputType = { - id: string | null - createdAt: Date | null - updatedAt: Date | null - teamId: string | null -} - -export type SandboxMaxAggregateOutputType = { - id: string | null - createdAt: Date | null - updatedAt: Date | null - teamId: string | null -} - -export type SandboxCountAggregateOutputType = { - id: number - allowedDomains: number - createdAt: number - updatedAt: number - teamId: number - _all: number -} - - -export type SandboxMinAggregateInputType = { - id?: true - createdAt?: true - updatedAt?: true - teamId?: true -} - -export type SandboxMaxAggregateInputType = { - id?: true - createdAt?: true - updatedAt?: true - teamId?: true -} - -export type SandboxCountAggregateInputType = { - id?: true - allowedDomains?: true - createdAt?: true - updatedAt?: true - teamId?: true - _all?: true -} - -export type SandboxAggregateArgs = { - /** - * Filter which Sandbox to aggregate. - */ - where?: Prisma.SandboxWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Sandboxes to fetch. - */ - orderBy?: Prisma.SandboxOrderByWithRelationInput | Prisma.SandboxOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.SandboxWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Sandboxes from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Sandboxes. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Sandboxes - **/ - _count?: true | SandboxCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: SandboxMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: SandboxMaxAggregateInputType -} - -export type GetSandboxAggregateType = { - [P in keyof T & keyof AggregateSandbox]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type SandboxGroupByArgs = { - where?: Prisma.SandboxWhereInput - orderBy?: Prisma.SandboxOrderByWithAggregationInput | Prisma.SandboxOrderByWithAggregationInput[] - by: Prisma.SandboxScalarFieldEnum[] | Prisma.SandboxScalarFieldEnum - having?: Prisma.SandboxScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: SandboxCountAggregateInputType | true - _min?: SandboxMinAggregateInputType - _max?: SandboxMaxAggregateInputType -} - -export type SandboxGroupByOutputType = { - id: string - allowedDomains: string[] - createdAt: Date - updatedAt: Date - teamId: string - _count: SandboxCountAggregateOutputType | null - _min: SandboxMinAggregateOutputType | null - _max: SandboxMaxAggregateOutputType | null -} - -export type GetSandboxGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof SandboxGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type SandboxWhereInput = { - AND?: Prisma.SandboxWhereInput | Prisma.SandboxWhereInput[] - OR?: Prisma.SandboxWhereInput[] - NOT?: Prisma.SandboxWhereInput | Prisma.SandboxWhereInput[] - id?: Prisma.StringFilter<"Sandbox"> | string - allowedDomains?: Prisma.StringNullableListFilter<"Sandbox"> - createdAt?: Prisma.DateTimeFilter<"Sandbox"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Sandbox"> | Date | string - teamId?: Prisma.StringFilter<"Sandbox"> | string - team?: Prisma.XOR -} - -export type SandboxOrderByWithRelationInput = { - id?: Prisma.SortOrder - allowedDomains?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder - team?: Prisma.TeamOrderByWithRelationInput -} - -export type SandboxWhereUniqueInput = Prisma.AtLeast<{ - id?: string - teamId?: string - AND?: Prisma.SandboxWhereInput | Prisma.SandboxWhereInput[] - OR?: Prisma.SandboxWhereInput[] - NOT?: Prisma.SandboxWhereInput | Prisma.SandboxWhereInput[] - allowedDomains?: Prisma.StringNullableListFilter<"Sandbox"> - createdAt?: Prisma.DateTimeFilter<"Sandbox"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Sandbox"> | Date | string - team?: Prisma.XOR -}, "id" | "teamId"> - -export type SandboxOrderByWithAggregationInput = { - id?: Prisma.SortOrder - allowedDomains?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder - _count?: Prisma.SandboxCountOrderByAggregateInput - _max?: Prisma.SandboxMaxOrderByAggregateInput - _min?: Prisma.SandboxMinOrderByAggregateInput -} - -export type SandboxScalarWhereWithAggregatesInput = { - AND?: Prisma.SandboxScalarWhereWithAggregatesInput | Prisma.SandboxScalarWhereWithAggregatesInput[] - OR?: Prisma.SandboxScalarWhereWithAggregatesInput[] - NOT?: Prisma.SandboxScalarWhereWithAggregatesInput | Prisma.SandboxScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"Sandbox"> | string - allowedDomains?: Prisma.StringNullableListFilter<"Sandbox"> - createdAt?: Prisma.DateTimeWithAggregatesFilter<"Sandbox"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Sandbox"> | Date | string - teamId?: Prisma.StringWithAggregatesFilter<"Sandbox"> | string -} - -export type SandboxCreateInput = { - id?: string - allowedDomains?: Prisma.SandboxCreateallowedDomainsInput | string[] - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutSandboxInput -} - -export type SandboxUncheckedCreateInput = { - id?: string - allowedDomains?: Prisma.SandboxCreateallowedDomainsInput | string[] - createdAt?: Date | string - updatedAt?: Date | string - teamId: string -} - -export type SandboxUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - allowedDomains?: Prisma.SandboxUpdateallowedDomainsInput | string[] - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutSandboxNestedInput -} - -export type SandboxUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - allowedDomains?: Prisma.SandboxUpdateallowedDomainsInput | string[] - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type SandboxCreateManyInput = { - id?: string - allowedDomains?: Prisma.SandboxCreateallowedDomainsInput | string[] - createdAt?: Date | string - updatedAt?: Date | string - teamId: string -} - -export type SandboxUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - allowedDomains?: Prisma.SandboxUpdateallowedDomainsInput | string[] - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type SandboxUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - allowedDomains?: Prisma.SandboxUpdateallowedDomainsInput | string[] - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type SandboxNullableScalarRelationFilter = { - is?: Prisma.SandboxWhereInput | null - isNot?: Prisma.SandboxWhereInput | null -} - -export type StringNullableListFilter<$PrismaModel = never> = { - equals?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null - has?: string | Prisma.StringFieldRefInput<$PrismaModel> | null - hasEvery?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - hasSome?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> - isEmpty?: boolean -} - -export type SandboxCountOrderByAggregateInput = { - id?: Prisma.SortOrder - allowedDomains?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder -} - -export type SandboxMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder -} - -export type SandboxMinOrderByAggregateInput = { - id?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder -} - -export type SandboxCreateNestedOneWithoutTeamInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.SandboxCreateOrConnectWithoutTeamInput - connect?: Prisma.SandboxWhereUniqueInput -} - -export type SandboxUncheckedCreateNestedOneWithoutTeamInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.SandboxCreateOrConnectWithoutTeamInput - connect?: Prisma.SandboxWhereUniqueInput -} - -export type SandboxUpdateOneWithoutTeamNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.SandboxCreateOrConnectWithoutTeamInput - upsert?: Prisma.SandboxUpsertWithoutTeamInput - disconnect?: Prisma.SandboxWhereInput | boolean - delete?: Prisma.SandboxWhereInput | boolean - connect?: Prisma.SandboxWhereUniqueInput - update?: Prisma.XOR, Prisma.SandboxUncheckedUpdateWithoutTeamInput> -} - -export type SandboxUncheckedUpdateOneWithoutTeamNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.SandboxCreateOrConnectWithoutTeamInput - upsert?: Prisma.SandboxUpsertWithoutTeamInput - disconnect?: Prisma.SandboxWhereInput | boolean - delete?: Prisma.SandboxWhereInput | boolean - connect?: Prisma.SandboxWhereUniqueInput - update?: Prisma.XOR, Prisma.SandboxUncheckedUpdateWithoutTeamInput> -} - -export type SandboxCreateallowedDomainsInput = { - set: string[] -} - -export type SandboxUpdateallowedDomainsInput = { - set?: string[] - push?: string | string[] -} - -export type SandboxCreateWithoutTeamInput = { - id?: string - allowedDomains?: Prisma.SandboxCreateallowedDomainsInput | string[] - createdAt?: Date | string - updatedAt?: Date | string -} - -export type SandboxUncheckedCreateWithoutTeamInput = { - id?: string - allowedDomains?: Prisma.SandboxCreateallowedDomainsInput | string[] - createdAt?: Date | string - updatedAt?: Date | string -} - -export type SandboxCreateOrConnectWithoutTeamInput = { - where: Prisma.SandboxWhereUniqueInput - create: Prisma.XOR -} - -export type SandboxUpsertWithoutTeamInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.SandboxWhereInput -} - -export type SandboxUpdateToOneWithWhereWithoutTeamInput = { - where?: Prisma.SandboxWhereInput - data: Prisma.XOR -} - -export type SandboxUpdateWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - allowedDomains?: Prisma.SandboxUpdateallowedDomainsInput | string[] - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type SandboxUncheckedUpdateWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - allowedDomains?: Prisma.SandboxUpdateallowedDomainsInput | string[] - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - - - -export type SandboxSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - allowedDomains?: boolean - createdAt?: boolean - updatedAt?: boolean - teamId?: boolean - team?: boolean | Prisma.TeamDefaultArgs -}, ExtArgs["result"]["sandbox"]> - -export type SandboxSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - allowedDomains?: boolean - createdAt?: boolean - updatedAt?: boolean - teamId?: boolean - team?: boolean | Prisma.TeamDefaultArgs -}, ExtArgs["result"]["sandbox"]> - -export type SandboxSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - allowedDomains?: boolean - createdAt?: boolean - updatedAt?: boolean - teamId?: boolean - team?: boolean | Prisma.TeamDefaultArgs -}, ExtArgs["result"]["sandbox"]> - -export type SandboxSelectScalar = { - id?: boolean - allowedDomains?: boolean - createdAt?: boolean - updatedAt?: boolean - teamId?: boolean -} - -export type SandboxOmit = runtime.Types.Extensions.GetOmit<"id" | "allowedDomains" | "createdAt" | "updatedAt" | "teamId", ExtArgs["result"]["sandbox"]> -export type SandboxInclude = { - team?: boolean | Prisma.TeamDefaultArgs -} -export type SandboxIncludeCreateManyAndReturn = { - team?: boolean | Prisma.TeamDefaultArgs -} -export type SandboxIncludeUpdateManyAndReturn = { - team?: boolean | Prisma.TeamDefaultArgs -} - -export type $SandboxPayload = { - name: "Sandbox" - objects: { - team: Prisma.$TeamPayload - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - allowedDomains: string[] - createdAt: Date - updatedAt: Date - teamId: string - }, ExtArgs["result"]["sandbox"]> - composites: {} -} - -export type SandboxGetPayload = runtime.Types.Result.GetResult - -export type SandboxCountArgs = - Omit & { - select?: SandboxCountAggregateInputType | true - } - -export interface SandboxDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['Sandbox'], meta: { name: 'Sandbox' } } - /** - * Find zero or one Sandbox that matches the filter. - * @param {SandboxFindUniqueArgs} args - Arguments to find a Sandbox - * @example - * // Get one Sandbox - * const sandbox = await prisma.sandbox.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__SandboxClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one Sandbox that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {SandboxFindUniqueOrThrowArgs} args - Arguments to find a Sandbox - * @example - * // Get one Sandbox - * const sandbox = await prisma.sandbox.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__SandboxClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Sandbox that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SandboxFindFirstArgs} args - Arguments to find a Sandbox - * @example - * // Get one Sandbox - * const sandbox = await prisma.sandbox.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__SandboxClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Sandbox that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SandboxFindFirstOrThrowArgs} args - Arguments to find a Sandbox - * @example - * // Get one Sandbox - * const sandbox = await prisma.sandbox.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__SandboxClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more Sandboxes that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SandboxFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Sandboxes - * const sandboxes = await prisma.sandbox.findMany() - * - * // Get first 10 Sandboxes - * const sandboxes = await prisma.sandbox.findMany({ take: 10 }) - * - * // Only select the `id` - * const sandboxWithIdOnly = await prisma.sandbox.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a Sandbox. - * @param {SandboxCreateArgs} args - Arguments to create a Sandbox. - * @example - * // Create one Sandbox - * const Sandbox = await prisma.sandbox.create({ - * data: { - * // ... data to create a Sandbox - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__SandboxClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many Sandboxes. - * @param {SandboxCreateManyArgs} args - Arguments to create many Sandboxes. - * @example - * // Create many Sandboxes - * const sandbox = await prisma.sandbox.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many Sandboxes and returns the data saved in the database. - * @param {SandboxCreateManyAndReturnArgs} args - Arguments to create many Sandboxes. - * @example - * // Create many Sandboxes - * const sandbox = await prisma.sandbox.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Sandboxes and only return the `id` - * const sandboxWithIdOnly = await prisma.sandbox.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a Sandbox. - * @param {SandboxDeleteArgs} args - Arguments to delete one Sandbox. - * @example - * // Delete one Sandbox - * const Sandbox = await prisma.sandbox.delete({ - * where: { - * // ... filter to delete one Sandbox - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__SandboxClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one Sandbox. - * @param {SandboxUpdateArgs} args - Arguments to update one Sandbox. - * @example - * // Update one Sandbox - * const sandbox = await prisma.sandbox.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__SandboxClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more Sandboxes. - * @param {SandboxDeleteManyArgs} args - Arguments to filter Sandboxes to delete. - * @example - * // Delete a few Sandboxes - * const { count } = await prisma.sandbox.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Sandboxes. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SandboxUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Sandboxes - * const sandbox = await prisma.sandbox.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Sandboxes and returns the data updated in the database. - * @param {SandboxUpdateManyAndReturnArgs} args - Arguments to update many Sandboxes. - * @example - * // Update many Sandboxes - * const sandbox = await prisma.sandbox.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Sandboxes and only return the `id` - * const sandboxWithIdOnly = await prisma.sandbox.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one Sandbox. - * @param {SandboxUpsertArgs} args - Arguments to update or create a Sandbox. - * @example - * // Update or create a Sandbox - * const sandbox = await prisma.sandbox.upsert({ - * create: { - * // ... data to create a Sandbox - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the Sandbox we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__SandboxClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of Sandboxes. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SandboxCountArgs} args - Arguments to filter Sandboxes to count. - * @example - * // Count the number of Sandboxes - * const count = await prisma.sandbox.count({ - * where: { - * // ... the filter for the Sandboxes we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a Sandbox. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SandboxAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by Sandbox. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SandboxGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends SandboxGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: SandboxGroupByArgs['orderBy'] } - : { orderBy?: SandboxGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetSandboxGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the Sandbox model - */ -readonly fields: SandboxFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for Sandbox. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__SandboxClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - team = {}>(args?: Prisma.Subset>): Prisma.Prisma__TeamClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the Sandbox model - */ -export interface SandboxFieldRefs { - readonly id: Prisma.FieldRef<"Sandbox", 'String'> - readonly allowedDomains: Prisma.FieldRef<"Sandbox", 'String[]'> - readonly createdAt: Prisma.FieldRef<"Sandbox", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"Sandbox", 'DateTime'> - readonly teamId: Prisma.FieldRef<"Sandbox", 'String'> -} - - -// Custom InputTypes -/** - * Sandbox findUnique - */ -export type SandboxFindUniqueArgs = { - /** - * Select specific fields to fetch from the Sandbox - */ - select?: Prisma.SandboxSelect | null - /** - * Omit specific fields from the Sandbox - */ - omit?: Prisma.SandboxOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SandboxInclude | null - /** - * Filter, which Sandbox to fetch. - */ - where: Prisma.SandboxWhereUniqueInput -} - -/** - * Sandbox findUniqueOrThrow - */ -export type SandboxFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the Sandbox - */ - select?: Prisma.SandboxSelect | null - /** - * Omit specific fields from the Sandbox - */ - omit?: Prisma.SandboxOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SandboxInclude | null - /** - * Filter, which Sandbox to fetch. - */ - where: Prisma.SandboxWhereUniqueInput -} - -/** - * Sandbox findFirst - */ -export type SandboxFindFirstArgs = { - /** - * Select specific fields to fetch from the Sandbox - */ - select?: Prisma.SandboxSelect | null - /** - * Omit specific fields from the Sandbox - */ - omit?: Prisma.SandboxOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SandboxInclude | null - /** - * Filter, which Sandbox to fetch. - */ - where?: Prisma.SandboxWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Sandboxes to fetch. - */ - orderBy?: Prisma.SandboxOrderByWithRelationInput | Prisma.SandboxOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Sandboxes. - */ - cursor?: Prisma.SandboxWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Sandboxes from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Sandboxes. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Sandboxes. - */ - distinct?: Prisma.SandboxScalarFieldEnum | Prisma.SandboxScalarFieldEnum[] -} - -/** - * Sandbox findFirstOrThrow - */ -export type SandboxFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the Sandbox - */ - select?: Prisma.SandboxSelect | null - /** - * Omit specific fields from the Sandbox - */ - omit?: Prisma.SandboxOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SandboxInclude | null - /** - * Filter, which Sandbox to fetch. - */ - where?: Prisma.SandboxWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Sandboxes to fetch. - */ - orderBy?: Prisma.SandboxOrderByWithRelationInput | Prisma.SandboxOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Sandboxes. - */ - cursor?: Prisma.SandboxWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Sandboxes from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Sandboxes. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Sandboxes. - */ - distinct?: Prisma.SandboxScalarFieldEnum | Prisma.SandboxScalarFieldEnum[] -} - -/** - * Sandbox findMany - */ -export type SandboxFindManyArgs = { - /** - * Select specific fields to fetch from the Sandbox - */ - select?: Prisma.SandboxSelect | null - /** - * Omit specific fields from the Sandbox - */ - omit?: Prisma.SandboxOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SandboxInclude | null - /** - * Filter, which Sandboxes to fetch. - */ - where?: Prisma.SandboxWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Sandboxes to fetch. - */ - orderBy?: Prisma.SandboxOrderByWithRelationInput | Prisma.SandboxOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Sandboxes. - */ - cursor?: Prisma.SandboxWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Sandboxes from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Sandboxes. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Sandboxes. - */ - distinct?: Prisma.SandboxScalarFieldEnum | Prisma.SandboxScalarFieldEnum[] -} - -/** - * Sandbox create - */ -export type SandboxCreateArgs = { - /** - * Select specific fields to fetch from the Sandbox - */ - select?: Prisma.SandboxSelect | null - /** - * Omit specific fields from the Sandbox - */ - omit?: Prisma.SandboxOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SandboxInclude | null - /** - * The data needed to create a Sandbox. - */ - data: Prisma.XOR -} - -/** - * Sandbox createMany - */ -export type SandboxCreateManyArgs = { - /** - * The data used to create many Sandboxes. - */ - data: Prisma.SandboxCreateManyInput | Prisma.SandboxCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * Sandbox createManyAndReturn - */ -export type SandboxCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Sandbox - */ - select?: Prisma.SandboxSelectCreateManyAndReturn | null - /** - * Omit specific fields from the Sandbox - */ - omit?: Prisma.SandboxOmit | null - /** - * The data used to create many Sandboxes. - */ - data: Prisma.SandboxCreateManyInput | Prisma.SandboxCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SandboxIncludeCreateManyAndReturn | null -} - -/** - * Sandbox update - */ -export type SandboxUpdateArgs = { - /** - * Select specific fields to fetch from the Sandbox - */ - select?: Prisma.SandboxSelect | null - /** - * Omit specific fields from the Sandbox - */ - omit?: Prisma.SandboxOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SandboxInclude | null - /** - * The data needed to update a Sandbox. - */ - data: Prisma.XOR - /** - * Choose, which Sandbox to update. - */ - where: Prisma.SandboxWhereUniqueInput -} - -/** - * Sandbox updateMany - */ -export type SandboxUpdateManyArgs = { - /** - * The data used to update Sandboxes. - */ - data: Prisma.XOR - /** - * Filter which Sandboxes to update - */ - where?: Prisma.SandboxWhereInput - /** - * Limit how many Sandboxes to update. - */ - limit?: number -} - -/** - * Sandbox updateManyAndReturn - */ -export type SandboxUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Sandbox - */ - select?: Prisma.SandboxSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the Sandbox - */ - omit?: Prisma.SandboxOmit | null - /** - * The data used to update Sandboxes. - */ - data: Prisma.XOR - /** - * Filter which Sandboxes to update - */ - where?: Prisma.SandboxWhereInput - /** - * Limit how many Sandboxes to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SandboxIncludeUpdateManyAndReturn | null -} - -/** - * Sandbox upsert - */ -export type SandboxUpsertArgs = { - /** - * Select specific fields to fetch from the Sandbox - */ - select?: Prisma.SandboxSelect | null - /** - * Omit specific fields from the Sandbox - */ - omit?: Prisma.SandboxOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SandboxInclude | null - /** - * The filter to search for the Sandbox to update in case it exists. - */ - where: Prisma.SandboxWhereUniqueInput - /** - * In case the Sandbox found by the `where` argument doesn't exist, create a new Sandbox with this data. - */ - create: Prisma.XOR - /** - * In case the Sandbox was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * Sandbox delete - */ -export type SandboxDeleteArgs = { - /** - * Select specific fields to fetch from the Sandbox - */ - select?: Prisma.SandboxSelect | null - /** - * Omit specific fields from the Sandbox - */ - omit?: Prisma.SandboxOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SandboxInclude | null - /** - * Filter which Sandbox to delete. - */ - where: Prisma.SandboxWhereUniqueInput -} - -/** - * Sandbox deleteMany - */ -export type SandboxDeleteManyArgs = { - /** - * Filter which Sandboxes to delete - */ - where?: Prisma.SandboxWhereInput - /** - * Limit how many Sandboxes to delete. - */ - limit?: number -} - -/** - * Sandbox without action - */ -export type SandboxDefaultArgs = { - /** - * Select specific fields to fetch from the Sandbox - */ - select?: Prisma.SandboxSelect | null - /** - * Omit specific fields from the Sandbox - */ - omit?: Prisma.SandboxOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SandboxInclude | null -} diff --git a/src/generated/prisma/models/Session.ts b/src/generated/prisma/models/Session.ts deleted file mode 100644 index a10c394b..00000000 --- a/src/generated/prisma/models/Session.ts +++ /dev/null @@ -1,1452 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `Session` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model Session - * - */ -export type SessionModel = runtime.Types.Result.DefaultSelection - -export type AggregateSession = { - _count: SessionCountAggregateOutputType | null - _min: SessionMinAggregateOutputType | null - _max: SessionMaxAggregateOutputType | null -} - -export type SessionMinAggregateOutputType = { - id: string | null - expiresAt: Date | null - token: string | null - createdAt: Date | null - updatedAt: Date | null - ipAddress: string | null - userAgent: string | null - userId: string | null -} - -export type SessionMaxAggregateOutputType = { - id: string | null - expiresAt: Date | null - token: string | null - createdAt: Date | null - updatedAt: Date | null - ipAddress: string | null - userAgent: string | null - userId: string | null -} - -export type SessionCountAggregateOutputType = { - id: number - expiresAt: number - token: number - createdAt: number - updatedAt: number - ipAddress: number - userAgent: number - userId: number - _all: number -} - - -export type SessionMinAggregateInputType = { - id?: true - expiresAt?: true - token?: true - createdAt?: true - updatedAt?: true - ipAddress?: true - userAgent?: true - userId?: true -} - -export type SessionMaxAggregateInputType = { - id?: true - expiresAt?: true - token?: true - createdAt?: true - updatedAt?: true - ipAddress?: true - userAgent?: true - userId?: true -} - -export type SessionCountAggregateInputType = { - id?: true - expiresAt?: true - token?: true - createdAt?: true - updatedAt?: true - ipAddress?: true - userAgent?: true - userId?: true - _all?: true -} - -export type SessionAggregateArgs = { - /** - * Filter which Session to aggregate. - */ - where?: Prisma.SessionWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Sessions to fetch. - */ - orderBy?: Prisma.SessionOrderByWithRelationInput | Prisma.SessionOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.SessionWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Sessions from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Sessions. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Sessions - **/ - _count?: true | SessionCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: SessionMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: SessionMaxAggregateInputType -} - -export type GetSessionAggregateType = { - [P in keyof T & keyof AggregateSession]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type SessionGroupByArgs = { - where?: Prisma.SessionWhereInput - orderBy?: Prisma.SessionOrderByWithAggregationInput | Prisma.SessionOrderByWithAggregationInput[] - by: Prisma.SessionScalarFieldEnum[] | Prisma.SessionScalarFieldEnum - having?: Prisma.SessionScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: SessionCountAggregateInputType | true - _min?: SessionMinAggregateInputType - _max?: SessionMaxAggregateInputType -} - -export type SessionGroupByOutputType = { - id: string - expiresAt: Date - token: string - createdAt: Date - updatedAt: Date - ipAddress: string | null - userAgent: string | null - userId: string - _count: SessionCountAggregateOutputType | null - _min: SessionMinAggregateOutputType | null - _max: SessionMaxAggregateOutputType | null -} - -export type GetSessionGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof SessionGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type SessionWhereInput = { - AND?: Prisma.SessionWhereInput | Prisma.SessionWhereInput[] - OR?: Prisma.SessionWhereInput[] - NOT?: Prisma.SessionWhereInput | Prisma.SessionWhereInput[] - id?: Prisma.StringFilter<"Session"> | string - expiresAt?: Prisma.DateTimeFilter<"Session"> | Date | string - token?: Prisma.StringFilter<"Session"> | string - createdAt?: Prisma.DateTimeFilter<"Session"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Session"> | Date | string - ipAddress?: Prisma.StringNullableFilter<"Session"> | string | null - userAgent?: Prisma.StringNullableFilter<"Session"> | string | null - userId?: Prisma.StringFilter<"Session"> | string - user?: Prisma.XOR -} - -export type SessionOrderByWithRelationInput = { - id?: Prisma.SortOrder - expiresAt?: Prisma.SortOrder - token?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - ipAddress?: Prisma.SortOrderInput | Prisma.SortOrder - userAgent?: Prisma.SortOrderInput | Prisma.SortOrder - userId?: Prisma.SortOrder - user?: Prisma.UserOrderByWithRelationInput -} - -export type SessionWhereUniqueInput = Prisma.AtLeast<{ - id?: string - token?: string - AND?: Prisma.SessionWhereInput | Prisma.SessionWhereInput[] - OR?: Prisma.SessionWhereInput[] - NOT?: Prisma.SessionWhereInput | Prisma.SessionWhereInput[] - expiresAt?: Prisma.DateTimeFilter<"Session"> | Date | string - createdAt?: Prisma.DateTimeFilter<"Session"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Session"> | Date | string - ipAddress?: Prisma.StringNullableFilter<"Session"> | string | null - userAgent?: Prisma.StringNullableFilter<"Session"> | string | null - userId?: Prisma.StringFilter<"Session"> | string - user?: Prisma.XOR -}, "id" | "token"> - -export type SessionOrderByWithAggregationInput = { - id?: Prisma.SortOrder - expiresAt?: Prisma.SortOrder - token?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - ipAddress?: Prisma.SortOrderInput | Prisma.SortOrder - userAgent?: Prisma.SortOrderInput | Prisma.SortOrder - userId?: Prisma.SortOrder - _count?: Prisma.SessionCountOrderByAggregateInput - _max?: Prisma.SessionMaxOrderByAggregateInput - _min?: Prisma.SessionMinOrderByAggregateInput -} - -export type SessionScalarWhereWithAggregatesInput = { - AND?: Prisma.SessionScalarWhereWithAggregatesInput | Prisma.SessionScalarWhereWithAggregatesInput[] - OR?: Prisma.SessionScalarWhereWithAggregatesInput[] - NOT?: Prisma.SessionScalarWhereWithAggregatesInput | Prisma.SessionScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"Session"> | string - expiresAt?: Prisma.DateTimeWithAggregatesFilter<"Session"> | Date | string - token?: Prisma.StringWithAggregatesFilter<"Session"> | string - createdAt?: Prisma.DateTimeWithAggregatesFilter<"Session"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Session"> | Date | string - ipAddress?: Prisma.StringNullableWithAggregatesFilter<"Session"> | string | null - userAgent?: Prisma.StringNullableWithAggregatesFilter<"Session"> | string | null - userId?: Prisma.StringWithAggregatesFilter<"Session"> | string -} - -export type SessionCreateInput = { - id?: string - expiresAt: Date | string - token: string - createdAt?: Date | string - updatedAt?: Date | string - ipAddress?: string | null - userAgent?: string | null - user: Prisma.UserCreateNestedOneWithoutSessionsInput -} - -export type SessionUncheckedCreateInput = { - id?: string - expiresAt: Date | string - token: string - createdAt?: Date | string - updatedAt?: Date | string - ipAddress?: string | null - userAgent?: string | null - userId: string -} - -export type SessionUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - token?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - user?: Prisma.UserUpdateOneRequiredWithoutSessionsNestedInput -} - -export type SessionUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - token?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - userId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type SessionCreateManyInput = { - id?: string - expiresAt: Date | string - token: string - createdAt?: Date | string - updatedAt?: Date | string - ipAddress?: string | null - userAgent?: string | null - userId: string -} - -export type SessionUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - token?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type SessionUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - token?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - userId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type SessionListRelationFilter = { - every?: Prisma.SessionWhereInput - some?: Prisma.SessionWhereInput - none?: Prisma.SessionWhereInput -} - -export type SessionOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type SessionCountOrderByAggregateInput = { - id?: Prisma.SortOrder - expiresAt?: Prisma.SortOrder - token?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - ipAddress?: Prisma.SortOrder - userAgent?: Prisma.SortOrder - userId?: Prisma.SortOrder -} - -export type SessionMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - expiresAt?: Prisma.SortOrder - token?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - ipAddress?: Prisma.SortOrder - userAgent?: Prisma.SortOrder - userId?: Prisma.SortOrder -} - -export type SessionMinOrderByAggregateInput = { - id?: Prisma.SortOrder - expiresAt?: Prisma.SortOrder - token?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - ipAddress?: Prisma.SortOrder - userAgent?: Prisma.SortOrder - userId?: Prisma.SortOrder -} - -export type SessionCreateNestedManyWithoutUserInput = { - create?: Prisma.XOR | Prisma.SessionCreateWithoutUserInput[] | Prisma.SessionUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.SessionCreateOrConnectWithoutUserInput | Prisma.SessionCreateOrConnectWithoutUserInput[] - createMany?: Prisma.SessionCreateManyUserInputEnvelope - connect?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[] -} - -export type SessionUncheckedCreateNestedManyWithoutUserInput = { - create?: Prisma.XOR | Prisma.SessionCreateWithoutUserInput[] | Prisma.SessionUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.SessionCreateOrConnectWithoutUserInput | Prisma.SessionCreateOrConnectWithoutUserInput[] - createMany?: Prisma.SessionCreateManyUserInputEnvelope - connect?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[] -} - -export type SessionUpdateManyWithoutUserNestedInput = { - create?: Prisma.XOR | Prisma.SessionCreateWithoutUserInput[] | Prisma.SessionUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.SessionCreateOrConnectWithoutUserInput | Prisma.SessionCreateOrConnectWithoutUserInput[] - upsert?: Prisma.SessionUpsertWithWhereUniqueWithoutUserInput | Prisma.SessionUpsertWithWhereUniqueWithoutUserInput[] - createMany?: Prisma.SessionCreateManyUserInputEnvelope - set?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[] - disconnect?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[] - delete?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[] - connect?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[] - update?: Prisma.SessionUpdateWithWhereUniqueWithoutUserInput | Prisma.SessionUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: Prisma.SessionUpdateManyWithWhereWithoutUserInput | Prisma.SessionUpdateManyWithWhereWithoutUserInput[] - deleteMany?: Prisma.SessionScalarWhereInput | Prisma.SessionScalarWhereInput[] -} - -export type SessionUncheckedUpdateManyWithoutUserNestedInput = { - create?: Prisma.XOR | Prisma.SessionCreateWithoutUserInput[] | Prisma.SessionUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.SessionCreateOrConnectWithoutUserInput | Prisma.SessionCreateOrConnectWithoutUserInput[] - upsert?: Prisma.SessionUpsertWithWhereUniqueWithoutUserInput | Prisma.SessionUpsertWithWhereUniqueWithoutUserInput[] - createMany?: Prisma.SessionCreateManyUserInputEnvelope - set?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[] - disconnect?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[] - delete?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[] - connect?: Prisma.SessionWhereUniqueInput | Prisma.SessionWhereUniqueInput[] - update?: Prisma.SessionUpdateWithWhereUniqueWithoutUserInput | Prisma.SessionUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: Prisma.SessionUpdateManyWithWhereWithoutUserInput | Prisma.SessionUpdateManyWithWhereWithoutUserInput[] - deleteMany?: Prisma.SessionScalarWhereInput | Prisma.SessionScalarWhereInput[] -} - -export type SessionCreateWithoutUserInput = { - id?: string - expiresAt: Date | string - token: string - createdAt?: Date | string - updatedAt?: Date | string - ipAddress?: string | null - userAgent?: string | null -} - -export type SessionUncheckedCreateWithoutUserInput = { - id?: string - expiresAt: Date | string - token: string - createdAt?: Date | string - updatedAt?: Date | string - ipAddress?: string | null - userAgent?: string | null -} - -export type SessionCreateOrConnectWithoutUserInput = { - where: Prisma.SessionWhereUniqueInput - create: Prisma.XOR -} - -export type SessionCreateManyUserInputEnvelope = { - data: Prisma.SessionCreateManyUserInput | Prisma.SessionCreateManyUserInput[] - skipDuplicates?: boolean -} - -export type SessionUpsertWithWhereUniqueWithoutUserInput = { - where: Prisma.SessionWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type SessionUpdateWithWhereUniqueWithoutUserInput = { - where: Prisma.SessionWhereUniqueInput - data: Prisma.XOR -} - -export type SessionUpdateManyWithWhereWithoutUserInput = { - where: Prisma.SessionScalarWhereInput - data: Prisma.XOR -} - -export type SessionScalarWhereInput = { - AND?: Prisma.SessionScalarWhereInput | Prisma.SessionScalarWhereInput[] - OR?: Prisma.SessionScalarWhereInput[] - NOT?: Prisma.SessionScalarWhereInput | Prisma.SessionScalarWhereInput[] - id?: Prisma.StringFilter<"Session"> | string - expiresAt?: Prisma.DateTimeFilter<"Session"> | Date | string - token?: Prisma.StringFilter<"Session"> | string - createdAt?: Prisma.DateTimeFilter<"Session"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Session"> | Date | string - ipAddress?: Prisma.StringNullableFilter<"Session"> | string | null - userAgent?: Prisma.StringNullableFilter<"Session"> | string | null - userId?: Prisma.StringFilter<"Session"> | string -} - -export type SessionCreateManyUserInput = { - id?: string - expiresAt: Date | string - token: string - createdAt?: Date | string - updatedAt?: Date | string - ipAddress?: string | null - userAgent?: string | null -} - -export type SessionUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - token?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type SessionUncheckedUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - token?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type SessionUncheckedUpdateManyWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - token?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - userAgent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - - - -export type SessionSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - expiresAt?: boolean - token?: boolean - createdAt?: boolean - updatedAt?: boolean - ipAddress?: boolean - userAgent?: boolean - userId?: boolean - user?: boolean | Prisma.UserDefaultArgs -}, ExtArgs["result"]["session"]> - -export type SessionSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - expiresAt?: boolean - token?: boolean - createdAt?: boolean - updatedAt?: boolean - ipAddress?: boolean - userAgent?: boolean - userId?: boolean - user?: boolean | Prisma.UserDefaultArgs -}, ExtArgs["result"]["session"]> - -export type SessionSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - expiresAt?: boolean - token?: boolean - createdAt?: boolean - updatedAt?: boolean - ipAddress?: boolean - userAgent?: boolean - userId?: boolean - user?: boolean | Prisma.UserDefaultArgs -}, ExtArgs["result"]["session"]> - -export type SessionSelectScalar = { - id?: boolean - expiresAt?: boolean - token?: boolean - createdAt?: boolean - updatedAt?: boolean - ipAddress?: boolean - userAgent?: boolean - userId?: boolean -} - -export type SessionOmit = runtime.Types.Extensions.GetOmit<"id" | "expiresAt" | "token" | "createdAt" | "updatedAt" | "ipAddress" | "userAgent" | "userId", ExtArgs["result"]["session"]> -export type SessionInclude = { - user?: boolean | Prisma.UserDefaultArgs -} -export type SessionIncludeCreateManyAndReturn = { - user?: boolean | Prisma.UserDefaultArgs -} -export type SessionIncludeUpdateManyAndReturn = { - user?: boolean | Prisma.UserDefaultArgs -} - -export type $SessionPayload = { - name: "Session" - objects: { - user: Prisma.$UserPayload - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - expiresAt: Date - token: string - createdAt: Date - updatedAt: Date - ipAddress: string | null - userAgent: string | null - userId: string - }, ExtArgs["result"]["session"]> - composites: {} -} - -export type SessionGetPayload = runtime.Types.Result.GetResult - -export type SessionCountArgs = - Omit & { - select?: SessionCountAggregateInputType | true - } - -export interface SessionDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['Session'], meta: { name: 'Session' } } - /** - * Find zero or one Session that matches the filter. - * @param {SessionFindUniqueArgs} args - Arguments to find a Session - * @example - * // Get one Session - * const session = await prisma.session.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__SessionClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one Session that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {SessionFindUniqueOrThrowArgs} args - Arguments to find a Session - * @example - * // Get one Session - * const session = await prisma.session.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__SessionClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Session that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SessionFindFirstArgs} args - Arguments to find a Session - * @example - * // Get one Session - * const session = await prisma.session.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__SessionClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Session that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SessionFindFirstOrThrowArgs} args - Arguments to find a Session - * @example - * // Get one Session - * const session = await prisma.session.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__SessionClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more Sessions that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SessionFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Sessions - * const sessions = await prisma.session.findMany() - * - * // Get first 10 Sessions - * const sessions = await prisma.session.findMany({ take: 10 }) - * - * // Only select the `id` - * const sessionWithIdOnly = await prisma.session.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a Session. - * @param {SessionCreateArgs} args - Arguments to create a Session. - * @example - * // Create one Session - * const Session = await prisma.session.create({ - * data: { - * // ... data to create a Session - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__SessionClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many Sessions. - * @param {SessionCreateManyArgs} args - Arguments to create many Sessions. - * @example - * // Create many Sessions - * const session = await prisma.session.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many Sessions and returns the data saved in the database. - * @param {SessionCreateManyAndReturnArgs} args - Arguments to create many Sessions. - * @example - * // Create many Sessions - * const session = await prisma.session.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Sessions and only return the `id` - * const sessionWithIdOnly = await prisma.session.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a Session. - * @param {SessionDeleteArgs} args - Arguments to delete one Session. - * @example - * // Delete one Session - * const Session = await prisma.session.delete({ - * where: { - * // ... filter to delete one Session - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__SessionClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one Session. - * @param {SessionUpdateArgs} args - Arguments to update one Session. - * @example - * // Update one Session - * const session = await prisma.session.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__SessionClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more Sessions. - * @param {SessionDeleteManyArgs} args - Arguments to filter Sessions to delete. - * @example - * // Delete a few Sessions - * const { count } = await prisma.session.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Sessions. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SessionUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Sessions - * const session = await prisma.session.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Sessions and returns the data updated in the database. - * @param {SessionUpdateManyAndReturnArgs} args - Arguments to update many Sessions. - * @example - * // Update many Sessions - * const session = await prisma.session.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Sessions and only return the `id` - * const sessionWithIdOnly = await prisma.session.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one Session. - * @param {SessionUpsertArgs} args - Arguments to update or create a Session. - * @example - * // Update or create a Session - * const session = await prisma.session.upsert({ - * create: { - * // ... data to create a Session - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the Session we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__SessionClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of Sessions. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SessionCountArgs} args - Arguments to filter Sessions to count. - * @example - * // Count the number of Sessions - * const count = await prisma.session.count({ - * where: { - * // ... the filter for the Sessions we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a Session. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SessionAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by Session. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SessionGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends SessionGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: SessionGroupByArgs['orderBy'] } - : { orderBy?: SessionGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetSessionGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the Session model - */ -readonly fields: SessionFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for Session. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__SessionClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the Session model - */ -export interface SessionFieldRefs { - readonly id: Prisma.FieldRef<"Session", 'String'> - readonly expiresAt: Prisma.FieldRef<"Session", 'DateTime'> - readonly token: Prisma.FieldRef<"Session", 'String'> - readonly createdAt: Prisma.FieldRef<"Session", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"Session", 'DateTime'> - readonly ipAddress: Prisma.FieldRef<"Session", 'String'> - readonly userAgent: Prisma.FieldRef<"Session", 'String'> - readonly userId: Prisma.FieldRef<"Session", 'String'> -} - - -// Custom InputTypes -/** - * Session findUnique - */ -export type SessionFindUniqueArgs = { - /** - * Select specific fields to fetch from the Session - */ - select?: Prisma.SessionSelect | null - /** - * Omit specific fields from the Session - */ - omit?: Prisma.SessionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SessionInclude | null - /** - * Filter, which Session to fetch. - */ - where: Prisma.SessionWhereUniqueInput -} - -/** - * Session findUniqueOrThrow - */ -export type SessionFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the Session - */ - select?: Prisma.SessionSelect | null - /** - * Omit specific fields from the Session - */ - omit?: Prisma.SessionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SessionInclude | null - /** - * Filter, which Session to fetch. - */ - where: Prisma.SessionWhereUniqueInput -} - -/** - * Session findFirst - */ -export type SessionFindFirstArgs = { - /** - * Select specific fields to fetch from the Session - */ - select?: Prisma.SessionSelect | null - /** - * Omit specific fields from the Session - */ - omit?: Prisma.SessionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SessionInclude | null - /** - * Filter, which Session to fetch. - */ - where?: Prisma.SessionWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Sessions to fetch. - */ - orderBy?: Prisma.SessionOrderByWithRelationInput | Prisma.SessionOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Sessions. - */ - cursor?: Prisma.SessionWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Sessions from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Sessions. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Sessions. - */ - distinct?: Prisma.SessionScalarFieldEnum | Prisma.SessionScalarFieldEnum[] -} - -/** - * Session findFirstOrThrow - */ -export type SessionFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the Session - */ - select?: Prisma.SessionSelect | null - /** - * Omit specific fields from the Session - */ - omit?: Prisma.SessionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SessionInclude | null - /** - * Filter, which Session to fetch. - */ - where?: Prisma.SessionWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Sessions to fetch. - */ - orderBy?: Prisma.SessionOrderByWithRelationInput | Prisma.SessionOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Sessions. - */ - cursor?: Prisma.SessionWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Sessions from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Sessions. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Sessions. - */ - distinct?: Prisma.SessionScalarFieldEnum | Prisma.SessionScalarFieldEnum[] -} - -/** - * Session findMany - */ -export type SessionFindManyArgs = { - /** - * Select specific fields to fetch from the Session - */ - select?: Prisma.SessionSelect | null - /** - * Omit specific fields from the Session - */ - omit?: Prisma.SessionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SessionInclude | null - /** - * Filter, which Sessions to fetch. - */ - where?: Prisma.SessionWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Sessions to fetch. - */ - orderBy?: Prisma.SessionOrderByWithRelationInput | Prisma.SessionOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Sessions. - */ - cursor?: Prisma.SessionWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Sessions from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Sessions. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Sessions. - */ - distinct?: Prisma.SessionScalarFieldEnum | Prisma.SessionScalarFieldEnum[] -} - -/** - * Session create - */ -export type SessionCreateArgs = { - /** - * Select specific fields to fetch from the Session - */ - select?: Prisma.SessionSelect | null - /** - * Omit specific fields from the Session - */ - omit?: Prisma.SessionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SessionInclude | null - /** - * The data needed to create a Session. - */ - data: Prisma.XOR -} - -/** - * Session createMany - */ -export type SessionCreateManyArgs = { - /** - * The data used to create many Sessions. - */ - data: Prisma.SessionCreateManyInput | Prisma.SessionCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * Session createManyAndReturn - */ -export type SessionCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Session - */ - select?: Prisma.SessionSelectCreateManyAndReturn | null - /** - * Omit specific fields from the Session - */ - omit?: Prisma.SessionOmit | null - /** - * The data used to create many Sessions. - */ - data: Prisma.SessionCreateManyInput | Prisma.SessionCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SessionIncludeCreateManyAndReturn | null -} - -/** - * Session update - */ -export type SessionUpdateArgs = { - /** - * Select specific fields to fetch from the Session - */ - select?: Prisma.SessionSelect | null - /** - * Omit specific fields from the Session - */ - omit?: Prisma.SessionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SessionInclude | null - /** - * The data needed to update a Session. - */ - data: Prisma.XOR - /** - * Choose, which Session to update. - */ - where: Prisma.SessionWhereUniqueInput -} - -/** - * Session updateMany - */ -export type SessionUpdateManyArgs = { - /** - * The data used to update Sessions. - */ - data: Prisma.XOR - /** - * Filter which Sessions to update - */ - where?: Prisma.SessionWhereInput - /** - * Limit how many Sessions to update. - */ - limit?: number -} - -/** - * Session updateManyAndReturn - */ -export type SessionUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Session - */ - select?: Prisma.SessionSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the Session - */ - omit?: Prisma.SessionOmit | null - /** - * The data used to update Sessions. - */ - data: Prisma.XOR - /** - * Filter which Sessions to update - */ - where?: Prisma.SessionWhereInput - /** - * Limit how many Sessions to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SessionIncludeUpdateManyAndReturn | null -} - -/** - * Session upsert - */ -export type SessionUpsertArgs = { - /** - * Select specific fields to fetch from the Session - */ - select?: Prisma.SessionSelect | null - /** - * Omit specific fields from the Session - */ - omit?: Prisma.SessionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SessionInclude | null - /** - * The filter to search for the Session to update in case it exists. - */ - where: Prisma.SessionWhereUniqueInput - /** - * In case the Session found by the `where` argument doesn't exist, create a new Session with this data. - */ - create: Prisma.XOR - /** - * In case the Session was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * Session delete - */ -export type SessionDeleteArgs = { - /** - * Select specific fields to fetch from the Session - */ - select?: Prisma.SessionSelect | null - /** - * Omit specific fields from the Session - */ - omit?: Prisma.SessionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SessionInclude | null - /** - * Filter which Session to delete. - */ - where: Prisma.SessionWhereUniqueInput -} - -/** - * Session deleteMany - */ -export type SessionDeleteManyArgs = { - /** - * Filter which Sessions to delete - */ - where?: Prisma.SessionWhereInput - /** - * Limit how many Sessions to delete. - */ - limit?: number -} - -/** - * Session without action - */ -export type SessionDefaultArgs = { - /** - * Select specific fields to fetch from the Session - */ - select?: Prisma.SessionSelect | null - /** - * Omit specific fields from the Session - */ - omit?: Prisma.SessionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SessionInclude | null -} diff --git a/src/generated/prisma/models/ShareLink.ts b/src/generated/prisma/models/ShareLink.ts deleted file mode 100644 index 49b74525..00000000 --- a/src/generated/prisma/models/ShareLink.ts +++ /dev/null @@ -1,1669 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `ShareLink` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model ShareLink - * - */ -export type ShareLinkModel = runtime.Types.Result.DefaultSelection - -export type AggregateShareLink = { - _count: ShareLinkCountAggregateOutputType | null - _min: ShareLinkMinAggregateOutputType | null - _max: ShareLinkMaxAggregateOutputType | null -} - -export type ShareLinkMinAggregateOutputType = { - id: string | null - name: string | null - expireAt: Date | null - password: string | null - isDisabled: boolean | null - defaultSortOrder: string | null - createdAt: Date | null - updatedAt: Date | null - projectId: string | null - rootFolderId: string | null -} - -export type ShareLinkMaxAggregateOutputType = { - id: string | null - name: string | null - expireAt: Date | null - password: string | null - isDisabled: boolean | null - defaultSortOrder: string | null - createdAt: Date | null - updatedAt: Date | null - projectId: string | null - rootFolderId: string | null -} - -export type ShareLinkCountAggregateOutputType = { - id: number - name: number - expireAt: number - password: number - isDisabled: number - defaultSortOrder: number - fieldVisibility:PrismaJson.ShareLinkFieldVisibility - createdAt: number - updatedAt: number - projectId: number - rootFolderId: number - _all: number -} - - -export type ShareLinkMinAggregateInputType = { - id?: true - name?: true - expireAt?: true - password?: true - isDisabled?: true - defaultSortOrder?: true - createdAt?: true - updatedAt?: true - projectId?: true - rootFolderId?: true -} - -export type ShareLinkMaxAggregateInputType = { - id?: true - name?: true - expireAt?: true - password?: true - isDisabled?: true - defaultSortOrder?: true - createdAt?: true - updatedAt?: true - projectId?: true - rootFolderId?: true -} - -export type ShareLinkCountAggregateInputType = { - id?: true - name?: true - expireAt?: true - password?: true - isDisabled?: true - defaultSortOrder?: true - fieldVisibility?: true - createdAt?: true - updatedAt?: true - projectId?: true - rootFolderId?: true - _all?: true -} - -export type ShareLinkAggregateArgs = { - /** - * Filter which ShareLink to aggregate. - */ - where?: Prisma.ShareLinkWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of ShareLinks to fetch. - */ - orderBy?: Prisma.ShareLinkOrderByWithRelationInput | Prisma.ShareLinkOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.ShareLinkWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` ShareLinks from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` ShareLinks. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned ShareLinks - **/ - _count?: true | ShareLinkCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: ShareLinkMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: ShareLinkMaxAggregateInputType -} - -export type GetShareLinkAggregateType = { - [P in keyof T & keyof AggregateShareLink]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type ShareLinkGroupByArgs = { - where?: Prisma.ShareLinkWhereInput - orderBy?: Prisma.ShareLinkOrderByWithAggregationInput | Prisma.ShareLinkOrderByWithAggregationInput[] - by: Prisma.ShareLinkScalarFieldEnum[] | Prisma.ShareLinkScalarFieldEnum - having?: Prisma.ShareLinkScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: ShareLinkCountAggregateInputType | true - _min?: ShareLinkMinAggregateInputType - _max?: ShareLinkMaxAggregateInputType -} - -export type ShareLinkGroupByOutputType = { - id: string - name: string - expireAt: Date | null - password: string | null - isDisabled: boolean - defaultSortOrder: string | null - fieldVisibility:PrismaJson.ShareLinkFieldVisibility | null - createdAt: Date - updatedAt: Date - projectId: string - rootFolderId: string - _count: ShareLinkCountAggregateOutputType | null - _min: ShareLinkMinAggregateOutputType | null - _max: ShareLinkMaxAggregateOutputType | null -} - -export type GetShareLinkGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof ShareLinkGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type ShareLinkWhereInput = { - AND?: Prisma.ShareLinkWhereInput | Prisma.ShareLinkWhereInput[] - OR?: Prisma.ShareLinkWhereInput[] - NOT?: Prisma.ShareLinkWhereInput | Prisma.ShareLinkWhereInput[] - id?: Prisma.StringFilter<"ShareLink"> | string - name?: Prisma.StringFilter<"ShareLink"> | string - expireAt?: Prisma.DateTimeNullableFilter<"ShareLink"> | Date | string | null - password?: Prisma.StringNullableFilter<"ShareLink"> | string | null - isDisabled?: Prisma.BoolFilter<"ShareLink"> | boolean - defaultSortOrder?: Prisma.StringNullableFilter<"ShareLink"> | string | null - fieldVisibility?: Prisma.JsonNullableFilter<"ShareLink"> - createdAt?: Prisma.DateTimeFilter<"ShareLink"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"ShareLink"> | Date | string - projectId?: Prisma.StringFilter<"ShareLink"> | string - rootFolderId?: Prisma.StringFilter<"ShareLink"> | string - project?: Prisma.XOR - rootFolder?: Prisma.XOR -} - -export type ShareLinkOrderByWithRelationInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - expireAt?: Prisma.SortOrderInput | Prisma.SortOrder - password?: Prisma.SortOrderInput | Prisma.SortOrder - isDisabled?: Prisma.SortOrder - defaultSortOrder?: Prisma.SortOrderInput | Prisma.SortOrder - fieldVisibility?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - projectId?: Prisma.SortOrder - rootFolderId?: Prisma.SortOrder - project?: Prisma.ProjectOrderByWithRelationInput - rootFolder?: Prisma.AssetOrderByWithRelationInput -} - -export type ShareLinkWhereUniqueInput = Prisma.AtLeast<{ - id?: string - rootFolderId?: string - AND?: Prisma.ShareLinkWhereInput | Prisma.ShareLinkWhereInput[] - OR?: Prisma.ShareLinkWhereInput[] - NOT?: Prisma.ShareLinkWhereInput | Prisma.ShareLinkWhereInput[] - name?: Prisma.StringFilter<"ShareLink"> | string - expireAt?: Prisma.DateTimeNullableFilter<"ShareLink"> | Date | string | null - password?: Prisma.StringNullableFilter<"ShareLink"> | string | null - isDisabled?: Prisma.BoolFilter<"ShareLink"> | boolean - defaultSortOrder?: Prisma.StringNullableFilter<"ShareLink"> | string | null - fieldVisibility?: Prisma.JsonNullableFilter<"ShareLink"> - createdAt?: Prisma.DateTimeFilter<"ShareLink"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"ShareLink"> | Date | string - projectId?: Prisma.StringFilter<"ShareLink"> | string - project?: Prisma.XOR - rootFolder?: Prisma.XOR -}, "id" | "rootFolderId"> - -export type ShareLinkOrderByWithAggregationInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - expireAt?: Prisma.SortOrderInput | Prisma.SortOrder - password?: Prisma.SortOrderInput | Prisma.SortOrder - isDisabled?: Prisma.SortOrder - defaultSortOrder?: Prisma.SortOrderInput | Prisma.SortOrder - fieldVisibility?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - projectId?: Prisma.SortOrder - rootFolderId?: Prisma.SortOrder - _count?: Prisma.ShareLinkCountOrderByAggregateInput - _max?: Prisma.ShareLinkMaxOrderByAggregateInput - _min?: Prisma.ShareLinkMinOrderByAggregateInput -} - -export type ShareLinkScalarWhereWithAggregatesInput = { - AND?: Prisma.ShareLinkScalarWhereWithAggregatesInput | Prisma.ShareLinkScalarWhereWithAggregatesInput[] - OR?: Prisma.ShareLinkScalarWhereWithAggregatesInput[] - NOT?: Prisma.ShareLinkScalarWhereWithAggregatesInput | Prisma.ShareLinkScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"ShareLink"> | string - name?: Prisma.StringWithAggregatesFilter<"ShareLink"> | string - expireAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ShareLink"> | Date | string | null - password?: Prisma.StringNullableWithAggregatesFilter<"ShareLink"> | string | null - isDisabled?: Prisma.BoolWithAggregatesFilter<"ShareLink"> | boolean - defaultSortOrder?: Prisma.StringNullableWithAggregatesFilter<"ShareLink"> | string | null - fieldVisibility?: Prisma.JsonNullableWithAggregatesFilter<"ShareLink"> - createdAt?: Prisma.DateTimeWithAggregatesFilter<"ShareLink"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ShareLink"> | Date | string - projectId?: Prisma.StringWithAggregatesFilter<"ShareLink"> | string - rootFolderId?: Prisma.StringWithAggregatesFilter<"ShareLink"> | string -} - -export type ShareLinkCreateInput = { - id?: string - name: string - expireAt?: Date | string | null - password?: string | null - isDisabled?: boolean - defaultSortOrder?: string | null - fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - project: Prisma.ProjectCreateNestedOneWithoutShareLinksInput - rootFolder: Prisma.AssetCreateNestedOneWithoutShareLinkRootFolderInput -} - -export type ShareLinkUncheckedCreateInput = { - id?: string - name: string - expireAt?: Date | string | null - password?: string | null - isDisabled?: boolean - defaultSortOrder?: string | null - fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - projectId: string - rootFolderId: string -} - -export type ShareLinkUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - expireAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - isDisabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - defaultSortOrder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - project?: Prisma.ProjectUpdateOneRequiredWithoutShareLinksNestedInput - rootFolder?: Prisma.AssetUpdateOneRequiredWithoutShareLinkRootFolderNestedInput -} - -export type ShareLinkUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - expireAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - isDisabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - defaultSortOrder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - projectId?: Prisma.StringFieldUpdateOperationsInput | string - rootFolderId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type ShareLinkCreateManyInput = { - id?: string - name: string - expireAt?: Date | string | null - password?: string | null - isDisabled?: boolean - defaultSortOrder?: string | null - fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - projectId: string - rootFolderId: string -} - -export type ShareLinkUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - expireAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - isDisabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - defaultSortOrder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type ShareLinkUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - expireAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - isDisabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - defaultSortOrder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - projectId?: Prisma.StringFieldUpdateOperationsInput | string - rootFolderId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type ShareLinkListRelationFilter = { - every?: Prisma.ShareLinkWhereInput - some?: Prisma.ShareLinkWhereInput - none?: Prisma.ShareLinkWhereInput -} - -export type ShareLinkOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type ShareLinkCountOrderByAggregateInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - expireAt?: Prisma.SortOrder - password?: Prisma.SortOrder - isDisabled?: Prisma.SortOrder - defaultSortOrder?: Prisma.SortOrder - fieldVisibility?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - projectId?: Prisma.SortOrder - rootFolderId?: Prisma.SortOrder -} - -export type ShareLinkMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - expireAt?: Prisma.SortOrder - password?: Prisma.SortOrder - isDisabled?: Prisma.SortOrder - defaultSortOrder?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - projectId?: Prisma.SortOrder - rootFolderId?: Prisma.SortOrder -} - -export type ShareLinkMinOrderByAggregateInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - expireAt?: Prisma.SortOrder - password?: Prisma.SortOrder - isDisabled?: Prisma.SortOrder - defaultSortOrder?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - projectId?: Prisma.SortOrder - rootFolderId?: Prisma.SortOrder -} - -export type ShareLinkNullableScalarRelationFilter = { - is?: Prisma.ShareLinkWhereInput | null - isNot?: Prisma.ShareLinkWhereInput | null -} - -export type ShareLinkCreateNestedManyWithoutProjectInput = { - create?: Prisma.XOR | Prisma.ShareLinkCreateWithoutProjectInput[] | Prisma.ShareLinkUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.ShareLinkCreateOrConnectWithoutProjectInput | Prisma.ShareLinkCreateOrConnectWithoutProjectInput[] - createMany?: Prisma.ShareLinkCreateManyProjectInputEnvelope - connect?: Prisma.ShareLinkWhereUniqueInput | Prisma.ShareLinkWhereUniqueInput[] -} - -export type ShareLinkUncheckedCreateNestedManyWithoutProjectInput = { - create?: Prisma.XOR | Prisma.ShareLinkCreateWithoutProjectInput[] | Prisma.ShareLinkUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.ShareLinkCreateOrConnectWithoutProjectInput | Prisma.ShareLinkCreateOrConnectWithoutProjectInput[] - createMany?: Prisma.ShareLinkCreateManyProjectInputEnvelope - connect?: Prisma.ShareLinkWhereUniqueInput | Prisma.ShareLinkWhereUniqueInput[] -} - -export type ShareLinkUpdateManyWithoutProjectNestedInput = { - create?: Prisma.XOR | Prisma.ShareLinkCreateWithoutProjectInput[] | Prisma.ShareLinkUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.ShareLinkCreateOrConnectWithoutProjectInput | Prisma.ShareLinkCreateOrConnectWithoutProjectInput[] - upsert?: Prisma.ShareLinkUpsertWithWhereUniqueWithoutProjectInput | Prisma.ShareLinkUpsertWithWhereUniqueWithoutProjectInput[] - createMany?: Prisma.ShareLinkCreateManyProjectInputEnvelope - set?: Prisma.ShareLinkWhereUniqueInput | Prisma.ShareLinkWhereUniqueInput[] - disconnect?: Prisma.ShareLinkWhereUniqueInput | Prisma.ShareLinkWhereUniqueInput[] - delete?: Prisma.ShareLinkWhereUniqueInput | Prisma.ShareLinkWhereUniqueInput[] - connect?: Prisma.ShareLinkWhereUniqueInput | Prisma.ShareLinkWhereUniqueInput[] - update?: Prisma.ShareLinkUpdateWithWhereUniqueWithoutProjectInput | Prisma.ShareLinkUpdateWithWhereUniqueWithoutProjectInput[] - updateMany?: Prisma.ShareLinkUpdateManyWithWhereWithoutProjectInput | Prisma.ShareLinkUpdateManyWithWhereWithoutProjectInput[] - deleteMany?: Prisma.ShareLinkScalarWhereInput | Prisma.ShareLinkScalarWhereInput[] -} - -export type ShareLinkUncheckedUpdateManyWithoutProjectNestedInput = { - create?: Prisma.XOR | Prisma.ShareLinkCreateWithoutProjectInput[] | Prisma.ShareLinkUncheckedCreateWithoutProjectInput[] - connectOrCreate?: Prisma.ShareLinkCreateOrConnectWithoutProjectInput | Prisma.ShareLinkCreateOrConnectWithoutProjectInput[] - upsert?: Prisma.ShareLinkUpsertWithWhereUniqueWithoutProjectInput | Prisma.ShareLinkUpsertWithWhereUniqueWithoutProjectInput[] - createMany?: Prisma.ShareLinkCreateManyProjectInputEnvelope - set?: Prisma.ShareLinkWhereUniqueInput | Prisma.ShareLinkWhereUniqueInput[] - disconnect?: Prisma.ShareLinkWhereUniqueInput | Prisma.ShareLinkWhereUniqueInput[] - delete?: Prisma.ShareLinkWhereUniqueInput | Prisma.ShareLinkWhereUniqueInput[] - connect?: Prisma.ShareLinkWhereUniqueInput | Prisma.ShareLinkWhereUniqueInput[] - update?: Prisma.ShareLinkUpdateWithWhereUniqueWithoutProjectInput | Prisma.ShareLinkUpdateWithWhereUniqueWithoutProjectInput[] - updateMany?: Prisma.ShareLinkUpdateManyWithWhereWithoutProjectInput | Prisma.ShareLinkUpdateManyWithWhereWithoutProjectInput[] - deleteMany?: Prisma.ShareLinkScalarWhereInput | Prisma.ShareLinkScalarWhereInput[] -} - -export type ShareLinkCreateNestedOneWithoutRootFolderInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ShareLinkCreateOrConnectWithoutRootFolderInput - connect?: Prisma.ShareLinkWhereUniqueInput -} - -export type ShareLinkUncheckedCreateNestedOneWithoutRootFolderInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ShareLinkCreateOrConnectWithoutRootFolderInput - connect?: Prisma.ShareLinkWhereUniqueInput -} - -export type ShareLinkUpdateOneWithoutRootFolderNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ShareLinkCreateOrConnectWithoutRootFolderInput - upsert?: Prisma.ShareLinkUpsertWithoutRootFolderInput - disconnect?: Prisma.ShareLinkWhereInput | boolean - delete?: Prisma.ShareLinkWhereInput | boolean - connect?: Prisma.ShareLinkWhereUniqueInput - update?: Prisma.XOR, Prisma.ShareLinkUncheckedUpdateWithoutRootFolderInput> -} - -export type ShareLinkUncheckedUpdateOneWithoutRootFolderNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.ShareLinkCreateOrConnectWithoutRootFolderInput - upsert?: Prisma.ShareLinkUpsertWithoutRootFolderInput - disconnect?: Prisma.ShareLinkWhereInput | boolean - delete?: Prisma.ShareLinkWhereInput | boolean - connect?: Prisma.ShareLinkWhereUniqueInput - update?: Prisma.XOR, Prisma.ShareLinkUncheckedUpdateWithoutRootFolderInput> -} - -export type ShareLinkCreateWithoutProjectInput = { - id?: string - name: string - expireAt?: Date | string | null - password?: string | null - isDisabled?: boolean - defaultSortOrder?: string | null - fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - rootFolder: Prisma.AssetCreateNestedOneWithoutShareLinkRootFolderInput -} - -export type ShareLinkUncheckedCreateWithoutProjectInput = { - id?: string - name: string - expireAt?: Date | string | null - password?: string | null - isDisabled?: boolean - defaultSortOrder?: string | null - fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - rootFolderId: string -} - -export type ShareLinkCreateOrConnectWithoutProjectInput = { - where: Prisma.ShareLinkWhereUniqueInput - create: Prisma.XOR -} - -export type ShareLinkCreateManyProjectInputEnvelope = { - data: Prisma.ShareLinkCreateManyProjectInput | Prisma.ShareLinkCreateManyProjectInput[] - skipDuplicates?: boolean -} - -export type ShareLinkUpsertWithWhereUniqueWithoutProjectInput = { - where: Prisma.ShareLinkWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type ShareLinkUpdateWithWhereUniqueWithoutProjectInput = { - where: Prisma.ShareLinkWhereUniqueInput - data: Prisma.XOR -} - -export type ShareLinkUpdateManyWithWhereWithoutProjectInput = { - where: Prisma.ShareLinkScalarWhereInput - data: Prisma.XOR -} - -export type ShareLinkScalarWhereInput = { - AND?: Prisma.ShareLinkScalarWhereInput | Prisma.ShareLinkScalarWhereInput[] - OR?: Prisma.ShareLinkScalarWhereInput[] - NOT?: Prisma.ShareLinkScalarWhereInput | Prisma.ShareLinkScalarWhereInput[] - id?: Prisma.StringFilter<"ShareLink"> | string - name?: Prisma.StringFilter<"ShareLink"> | string - expireAt?: Prisma.DateTimeNullableFilter<"ShareLink"> | Date | string | null - password?: Prisma.StringNullableFilter<"ShareLink"> | string | null - isDisabled?: Prisma.BoolFilter<"ShareLink"> | boolean - defaultSortOrder?: Prisma.StringNullableFilter<"ShareLink"> | string | null - fieldVisibility?: Prisma.JsonNullableFilter<"ShareLink"> - createdAt?: Prisma.DateTimeFilter<"ShareLink"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"ShareLink"> | Date | string - projectId?: Prisma.StringFilter<"ShareLink"> | string - rootFolderId?: Prisma.StringFilter<"ShareLink"> | string -} - -export type ShareLinkCreateWithoutRootFolderInput = { - id?: string - name: string - expireAt?: Date | string | null - password?: string | null - isDisabled?: boolean - defaultSortOrder?: string | null - fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - project: Prisma.ProjectCreateNestedOneWithoutShareLinksInput -} - -export type ShareLinkUncheckedCreateWithoutRootFolderInput = { - id?: string - name: string - expireAt?: Date | string | null - password?: string | null - isDisabled?: boolean - defaultSortOrder?: string | null - fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - projectId: string -} - -export type ShareLinkCreateOrConnectWithoutRootFolderInput = { - where: Prisma.ShareLinkWhereUniqueInput - create: Prisma.XOR -} - -export type ShareLinkUpsertWithoutRootFolderInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.ShareLinkWhereInput -} - -export type ShareLinkUpdateToOneWithWhereWithoutRootFolderInput = { - where?: Prisma.ShareLinkWhereInput - data: Prisma.XOR -} - -export type ShareLinkUpdateWithoutRootFolderInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - expireAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - isDisabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - defaultSortOrder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - project?: Prisma.ProjectUpdateOneRequiredWithoutShareLinksNestedInput -} - -export type ShareLinkUncheckedUpdateWithoutRootFolderInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - expireAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - isDisabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - defaultSortOrder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - projectId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type ShareLinkCreateManyProjectInput = { - id?: string - name: string - expireAt?: Date | string | null - password?: string | null - isDisabled?: boolean - defaultSortOrder?: string | null - fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - rootFolderId: string -} - -export type ShareLinkUpdateWithoutProjectInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - expireAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - isDisabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - defaultSortOrder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolder?: Prisma.AssetUpdateOneRequiredWithoutShareLinkRootFolderNestedInput -} - -export type ShareLinkUncheckedUpdateWithoutProjectInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - expireAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - isDisabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - defaultSortOrder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolderId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type ShareLinkUncheckedUpdateManyWithoutProjectInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - expireAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - isDisabled?: Prisma.BoolFieldUpdateOperationsInput | boolean - defaultSortOrder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - fieldVisibility?:PrismaJson.ShareLinkFieldVisibility | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolderId?: Prisma.StringFieldUpdateOperationsInput | string -} - - - -export type ShareLinkSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - name?: boolean - expireAt?: boolean - password?: boolean - isDisabled?: boolean - defaultSortOrder?: boolean - fieldVisibility?: boolean - createdAt?: boolean - updatedAt?: boolean - projectId?: boolean - rootFolderId?: boolean - project?: boolean | Prisma.ProjectDefaultArgs - rootFolder?: boolean | Prisma.AssetDefaultArgs -}, ExtArgs["result"]["shareLink"]> - -export type ShareLinkSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - name?: boolean - expireAt?: boolean - password?: boolean - isDisabled?: boolean - defaultSortOrder?: boolean - fieldVisibility?: boolean - createdAt?: boolean - updatedAt?: boolean - projectId?: boolean - rootFolderId?: boolean - project?: boolean | Prisma.ProjectDefaultArgs - rootFolder?: boolean | Prisma.AssetDefaultArgs -}, ExtArgs["result"]["shareLink"]> - -export type ShareLinkSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - name?: boolean - expireAt?: boolean - password?: boolean - isDisabled?: boolean - defaultSortOrder?: boolean - fieldVisibility?: boolean - createdAt?: boolean - updatedAt?: boolean - projectId?: boolean - rootFolderId?: boolean - project?: boolean | Prisma.ProjectDefaultArgs - rootFolder?: boolean | Prisma.AssetDefaultArgs -}, ExtArgs["result"]["shareLink"]> - -export type ShareLinkSelectScalar = { - id?: boolean - name?: boolean - expireAt?: boolean - password?: boolean - isDisabled?: boolean - defaultSortOrder?: boolean - fieldVisibility?: boolean - createdAt?: boolean - updatedAt?: boolean - projectId?: boolean - rootFolderId?: boolean -} - -export type ShareLinkOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "expireAt" | "password" | "isDisabled" | "defaultSortOrder" | "fieldVisibility" | "createdAt" | "updatedAt" | "projectId" | "rootFolderId", ExtArgs["result"]["shareLink"]> -export type ShareLinkInclude = { - project?: boolean | Prisma.ProjectDefaultArgs - rootFolder?: boolean | Prisma.AssetDefaultArgs -} -export type ShareLinkIncludeCreateManyAndReturn = { - project?: boolean | Prisma.ProjectDefaultArgs - rootFolder?: boolean | Prisma.AssetDefaultArgs -} -export type ShareLinkIncludeUpdateManyAndReturn = { - project?: boolean | Prisma.ProjectDefaultArgs - rootFolder?: boolean | Prisma.AssetDefaultArgs -} - -export type $ShareLinkPayload = { - name: "ShareLink" - objects: { - project: Prisma.$ProjectPayload - rootFolder: Prisma.$AssetPayload - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - name: string - expireAt: Date | null - password: string | null - isDisabled: boolean - defaultSortOrder: string | null - /** - * [ShareLinkFieldVisibility] - */ - fieldVisibility:PrismaJson.ShareLinkFieldVisibility | null - createdAt: Date - updatedAt: Date - projectId: string - rootFolderId: string - }, ExtArgs["result"]["shareLink"]> - composites: {} -} - -export type ShareLinkGetPayload = runtime.Types.Result.GetResult - -export type ShareLinkCountArgs = - Omit & { - select?: ShareLinkCountAggregateInputType | true - } - -export interface ShareLinkDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['ShareLink'], meta: { name: 'ShareLink' } } - /** - * Find zero or one ShareLink that matches the filter. - * @param {ShareLinkFindUniqueArgs} args - Arguments to find a ShareLink - * @example - * // Get one ShareLink - * const shareLink = await prisma.shareLink.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ShareLinkClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one ShareLink that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {ShareLinkFindUniqueOrThrowArgs} args - Arguments to find a ShareLink - * @example - * // Get one ShareLink - * const shareLink = await prisma.shareLink.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ShareLinkClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first ShareLink that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ShareLinkFindFirstArgs} args - Arguments to find a ShareLink - * @example - * // Get one ShareLink - * const shareLink = await prisma.shareLink.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ShareLinkClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first ShareLink that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ShareLinkFindFirstOrThrowArgs} args - Arguments to find a ShareLink - * @example - * // Get one ShareLink - * const shareLink = await prisma.shareLink.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ShareLinkClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more ShareLinks that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ShareLinkFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all ShareLinks - * const shareLinks = await prisma.shareLink.findMany() - * - * // Get first 10 ShareLinks - * const shareLinks = await prisma.shareLink.findMany({ take: 10 }) - * - * // Only select the `id` - * const shareLinkWithIdOnly = await prisma.shareLink.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a ShareLink. - * @param {ShareLinkCreateArgs} args - Arguments to create a ShareLink. - * @example - * // Create one ShareLink - * const ShareLink = await prisma.shareLink.create({ - * data: { - * // ... data to create a ShareLink - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__ShareLinkClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many ShareLinks. - * @param {ShareLinkCreateManyArgs} args - Arguments to create many ShareLinks. - * @example - * // Create many ShareLinks - * const shareLink = await prisma.shareLink.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many ShareLinks and returns the data saved in the database. - * @param {ShareLinkCreateManyAndReturnArgs} args - Arguments to create many ShareLinks. - * @example - * // Create many ShareLinks - * const shareLink = await prisma.shareLink.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many ShareLinks and only return the `id` - * const shareLinkWithIdOnly = await prisma.shareLink.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a ShareLink. - * @param {ShareLinkDeleteArgs} args - Arguments to delete one ShareLink. - * @example - * // Delete one ShareLink - * const ShareLink = await prisma.shareLink.delete({ - * where: { - * // ... filter to delete one ShareLink - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__ShareLinkClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one ShareLink. - * @param {ShareLinkUpdateArgs} args - Arguments to update one ShareLink. - * @example - * // Update one ShareLink - * const shareLink = await prisma.shareLink.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__ShareLinkClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more ShareLinks. - * @param {ShareLinkDeleteManyArgs} args - Arguments to filter ShareLinks to delete. - * @example - * // Delete a few ShareLinks - * const { count } = await prisma.shareLink.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more ShareLinks. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ShareLinkUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many ShareLinks - * const shareLink = await prisma.shareLink.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more ShareLinks and returns the data updated in the database. - * @param {ShareLinkUpdateManyAndReturnArgs} args - Arguments to update many ShareLinks. - * @example - * // Update many ShareLinks - * const shareLink = await prisma.shareLink.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more ShareLinks and only return the `id` - * const shareLinkWithIdOnly = await prisma.shareLink.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one ShareLink. - * @param {ShareLinkUpsertArgs} args - Arguments to update or create a ShareLink. - * @example - * // Update or create a ShareLink - * const shareLink = await prisma.shareLink.upsert({ - * create: { - * // ... data to create a ShareLink - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the ShareLink we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ShareLinkClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of ShareLinks. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ShareLinkCountArgs} args - Arguments to filter ShareLinks to count. - * @example - * // Count the number of ShareLinks - * const count = await prisma.shareLink.count({ - * where: { - * // ... the filter for the ShareLinks we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a ShareLink. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ShareLinkAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by ShareLink. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {ShareLinkGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends ShareLinkGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: ShareLinkGroupByArgs['orderBy'] } - : { orderBy?: ShareLinkGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetShareLinkGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the ShareLink model - */ -readonly fields: ShareLinkFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for ShareLink. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__ShareLinkClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - project = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProjectClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - rootFolder = {}>(args?: Prisma.Subset>): Prisma.Prisma__AssetClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the ShareLink model - */ -export interface ShareLinkFieldRefs { - readonly id: Prisma.FieldRef<"ShareLink", 'String'> - readonly name: Prisma.FieldRef<"ShareLink", 'String'> - readonly expireAt: Prisma.FieldRef<"ShareLink", 'DateTime'> - readonly password: Prisma.FieldRef<"ShareLink", 'String'> - readonly isDisabled: Prisma.FieldRef<"ShareLink", 'Boolean'> - readonly defaultSortOrder: Prisma.FieldRef<"ShareLink", 'String'> - readonly fieldVisibility: Prisma.FieldRef<"ShareLink", 'Json'> - readonly createdAt: Prisma.FieldRef<"ShareLink", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"ShareLink", 'DateTime'> - readonly projectId: Prisma.FieldRef<"ShareLink", 'String'> - readonly rootFolderId: Prisma.FieldRef<"ShareLink", 'String'> -} - - -// Custom InputTypes -/** - * ShareLink findUnique - */ -export type ShareLinkFindUniqueArgs = { - /** - * Select specific fields to fetch from the ShareLink - */ - select?: Prisma.ShareLinkSelect | null - /** - * Omit specific fields from the ShareLink - */ - omit?: Prisma.ShareLinkOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ShareLinkInclude | null - /** - * Filter, which ShareLink to fetch. - */ - where: Prisma.ShareLinkWhereUniqueInput -} - -/** - * ShareLink findUniqueOrThrow - */ -export type ShareLinkFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the ShareLink - */ - select?: Prisma.ShareLinkSelect | null - /** - * Omit specific fields from the ShareLink - */ - omit?: Prisma.ShareLinkOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ShareLinkInclude | null - /** - * Filter, which ShareLink to fetch. - */ - where: Prisma.ShareLinkWhereUniqueInput -} - -/** - * ShareLink findFirst - */ -export type ShareLinkFindFirstArgs = { - /** - * Select specific fields to fetch from the ShareLink - */ - select?: Prisma.ShareLinkSelect | null - /** - * Omit specific fields from the ShareLink - */ - omit?: Prisma.ShareLinkOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ShareLinkInclude | null - /** - * Filter, which ShareLink to fetch. - */ - where?: Prisma.ShareLinkWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of ShareLinks to fetch. - */ - orderBy?: Prisma.ShareLinkOrderByWithRelationInput | Prisma.ShareLinkOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for ShareLinks. - */ - cursor?: Prisma.ShareLinkWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` ShareLinks from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` ShareLinks. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of ShareLinks. - */ - distinct?: Prisma.ShareLinkScalarFieldEnum | Prisma.ShareLinkScalarFieldEnum[] -} - -/** - * ShareLink findFirstOrThrow - */ -export type ShareLinkFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the ShareLink - */ - select?: Prisma.ShareLinkSelect | null - /** - * Omit specific fields from the ShareLink - */ - omit?: Prisma.ShareLinkOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ShareLinkInclude | null - /** - * Filter, which ShareLink to fetch. - */ - where?: Prisma.ShareLinkWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of ShareLinks to fetch. - */ - orderBy?: Prisma.ShareLinkOrderByWithRelationInput | Prisma.ShareLinkOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for ShareLinks. - */ - cursor?: Prisma.ShareLinkWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` ShareLinks from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` ShareLinks. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of ShareLinks. - */ - distinct?: Prisma.ShareLinkScalarFieldEnum | Prisma.ShareLinkScalarFieldEnum[] -} - -/** - * ShareLink findMany - */ -export type ShareLinkFindManyArgs = { - /** - * Select specific fields to fetch from the ShareLink - */ - select?: Prisma.ShareLinkSelect | null - /** - * Omit specific fields from the ShareLink - */ - omit?: Prisma.ShareLinkOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ShareLinkInclude | null - /** - * Filter, which ShareLinks to fetch. - */ - where?: Prisma.ShareLinkWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of ShareLinks to fetch. - */ - orderBy?: Prisma.ShareLinkOrderByWithRelationInput | Prisma.ShareLinkOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing ShareLinks. - */ - cursor?: Prisma.ShareLinkWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` ShareLinks from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` ShareLinks. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of ShareLinks. - */ - distinct?: Prisma.ShareLinkScalarFieldEnum | Prisma.ShareLinkScalarFieldEnum[] -} - -/** - * ShareLink create - */ -export type ShareLinkCreateArgs = { - /** - * Select specific fields to fetch from the ShareLink - */ - select?: Prisma.ShareLinkSelect | null - /** - * Omit specific fields from the ShareLink - */ - omit?: Prisma.ShareLinkOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ShareLinkInclude | null - /** - * The data needed to create a ShareLink. - */ - data: Prisma.XOR -} - -/** - * ShareLink createMany - */ -export type ShareLinkCreateManyArgs = { - /** - * The data used to create many ShareLinks. - */ - data: Prisma.ShareLinkCreateManyInput | Prisma.ShareLinkCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * ShareLink createManyAndReturn - */ -export type ShareLinkCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the ShareLink - */ - select?: Prisma.ShareLinkSelectCreateManyAndReturn | null - /** - * Omit specific fields from the ShareLink - */ - omit?: Prisma.ShareLinkOmit | null - /** - * The data used to create many ShareLinks. - */ - data: Prisma.ShareLinkCreateManyInput | Prisma.ShareLinkCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ShareLinkIncludeCreateManyAndReturn | null -} - -/** - * ShareLink update - */ -export type ShareLinkUpdateArgs = { - /** - * Select specific fields to fetch from the ShareLink - */ - select?: Prisma.ShareLinkSelect | null - /** - * Omit specific fields from the ShareLink - */ - omit?: Prisma.ShareLinkOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ShareLinkInclude | null - /** - * The data needed to update a ShareLink. - */ - data: Prisma.XOR - /** - * Choose, which ShareLink to update. - */ - where: Prisma.ShareLinkWhereUniqueInput -} - -/** - * ShareLink updateMany - */ -export type ShareLinkUpdateManyArgs = { - /** - * The data used to update ShareLinks. - */ - data: Prisma.XOR - /** - * Filter which ShareLinks to update - */ - where?: Prisma.ShareLinkWhereInput - /** - * Limit how many ShareLinks to update. - */ - limit?: number -} - -/** - * ShareLink updateManyAndReturn - */ -export type ShareLinkUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the ShareLink - */ - select?: Prisma.ShareLinkSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the ShareLink - */ - omit?: Prisma.ShareLinkOmit | null - /** - * The data used to update ShareLinks. - */ - data: Prisma.XOR - /** - * Filter which ShareLinks to update - */ - where?: Prisma.ShareLinkWhereInput - /** - * Limit how many ShareLinks to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ShareLinkIncludeUpdateManyAndReturn | null -} - -/** - * ShareLink upsert - */ -export type ShareLinkUpsertArgs = { - /** - * Select specific fields to fetch from the ShareLink - */ - select?: Prisma.ShareLinkSelect | null - /** - * Omit specific fields from the ShareLink - */ - omit?: Prisma.ShareLinkOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ShareLinkInclude | null - /** - * The filter to search for the ShareLink to update in case it exists. - */ - where: Prisma.ShareLinkWhereUniqueInput - /** - * In case the ShareLink found by the `where` argument doesn't exist, create a new ShareLink with this data. - */ - create: Prisma.XOR - /** - * In case the ShareLink was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * ShareLink delete - */ -export type ShareLinkDeleteArgs = { - /** - * Select specific fields to fetch from the ShareLink - */ - select?: Prisma.ShareLinkSelect | null - /** - * Omit specific fields from the ShareLink - */ - omit?: Prisma.ShareLinkOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ShareLinkInclude | null - /** - * Filter which ShareLink to delete. - */ - where: Prisma.ShareLinkWhereUniqueInput -} - -/** - * ShareLink deleteMany - */ -export type ShareLinkDeleteManyArgs = { - /** - * Filter which ShareLinks to delete - */ - where?: Prisma.ShareLinkWhereInput - /** - * Limit how many ShareLinks to delete. - */ - limit?: number -} - -/** - * ShareLink without action - */ -export type ShareLinkDefaultArgs = { - /** - * Select specific fields to fetch from the ShareLink - */ - select?: Prisma.ShareLinkSelect | null - /** - * Omit specific fields from the ShareLink - */ - omit?: Prisma.ShareLinkOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ShareLinkInclude | null -} diff --git a/src/generated/prisma/models/Skill.ts b/src/generated/prisma/models/Skill.ts deleted file mode 100644 index 2a0bfafd..00000000 --- a/src/generated/prisma/models/Skill.ts +++ /dev/null @@ -1,1643 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `Skill` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model Skill - * - */ -export type SkillModel = runtime.Types.Result.DefaultSelection - -export type AggregateSkill = { - _count: SkillCountAggregateOutputType | null - _min: SkillMinAggregateOutputType | null - _max: SkillMaxAggregateOutputType | null -} - -export type SkillMinAggregateOutputType = { - id: string | null - name: string | null - description: string | null - assetId: string | null - hash: string | null - createdAt: Date | null - updatedAt: Date | null - teamId: string | null -} - -export type SkillMaxAggregateOutputType = { - id: string | null - name: string | null - description: string | null - assetId: string | null - hash: string | null - createdAt: Date | null - updatedAt: Date | null - teamId: string | null -} - -export type SkillCountAggregateOutputType = { - id: number - name: number - description: number - config:PrismaJson.SkillConfig - assetId: number - hash: number - createdAt: number - updatedAt: number - teamId: number - _all: number -} - - -export type SkillMinAggregateInputType = { - id?: true - name?: true - description?: true - assetId?: true - hash?: true - createdAt?: true - updatedAt?: true - teamId?: true -} - -export type SkillMaxAggregateInputType = { - id?: true - name?: true - description?: true - assetId?: true - hash?: true - createdAt?: true - updatedAt?: true - teamId?: true -} - -export type SkillCountAggregateInputType = { - id?: true - name?: true - description?: true - config?: true - assetId?: true - hash?: true - createdAt?: true - updatedAt?: true - teamId?: true - _all?: true -} - -export type SkillAggregateArgs = { - /** - * Filter which Skill to aggregate. - */ - where?: Prisma.SkillWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Skills to fetch. - */ - orderBy?: Prisma.SkillOrderByWithRelationInput | Prisma.SkillOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.SkillWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Skills from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Skills. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Skills - **/ - _count?: true | SkillCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: SkillMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: SkillMaxAggregateInputType -} - -export type GetSkillAggregateType = { - [P in keyof T & keyof AggregateSkill]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type SkillGroupByArgs = { - where?: Prisma.SkillWhereInput - orderBy?: Prisma.SkillOrderByWithAggregationInput | Prisma.SkillOrderByWithAggregationInput[] - by: Prisma.SkillScalarFieldEnum[] | Prisma.SkillScalarFieldEnum - having?: Prisma.SkillScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: SkillCountAggregateInputType | true - _min?: SkillMinAggregateInputType - _max?: SkillMaxAggregateInputType -} - -export type SkillGroupByOutputType = { - id: string - name: string - description: string | null - config:PrismaJson.SkillConfig | null - assetId: string - hash: string - createdAt: Date - updatedAt: Date - teamId: string - _count: SkillCountAggregateOutputType | null - _min: SkillMinAggregateOutputType | null - _max: SkillMaxAggregateOutputType | null -} - -export type GetSkillGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof SkillGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type SkillWhereInput = { - AND?: Prisma.SkillWhereInput | Prisma.SkillWhereInput[] - OR?: Prisma.SkillWhereInput[] - NOT?: Prisma.SkillWhereInput | Prisma.SkillWhereInput[] - id?: Prisma.StringFilter<"Skill"> | string - name?: Prisma.StringFilter<"Skill"> | string - description?: Prisma.StringNullableFilter<"Skill"> | string | null - config?: Prisma.JsonNullableFilter<"Skill"> - assetId?: Prisma.StringFilter<"Skill"> | string - hash?: Prisma.StringFilter<"Skill"> | string - createdAt?: Prisma.DateTimeFilter<"Skill"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Skill"> | Date | string - teamId?: Prisma.StringFilter<"Skill"> | string - team?: Prisma.XOR - agentSkills?: Prisma.AgentSkillListRelationFilter -} - -export type SkillOrderByWithRelationInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - description?: Prisma.SortOrderInput | Prisma.SortOrder - config?: Prisma.SortOrderInput | Prisma.SortOrder - assetId?: Prisma.SortOrder - hash?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder - team?: Prisma.TeamOrderByWithRelationInput - agentSkills?: Prisma.AgentSkillOrderByRelationAggregateInput -} - -export type SkillWhereUniqueInput = Prisma.AtLeast<{ - id?: string - teamId_name?: Prisma.SkillTeamIdNameCompoundUniqueInput - AND?: Prisma.SkillWhereInput | Prisma.SkillWhereInput[] - OR?: Prisma.SkillWhereInput[] - NOT?: Prisma.SkillWhereInput | Prisma.SkillWhereInput[] - name?: Prisma.StringFilter<"Skill"> | string - description?: Prisma.StringNullableFilter<"Skill"> | string | null - config?: Prisma.JsonNullableFilter<"Skill"> - assetId?: Prisma.StringFilter<"Skill"> | string - hash?: Prisma.StringFilter<"Skill"> | string - createdAt?: Prisma.DateTimeFilter<"Skill"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Skill"> | Date | string - teamId?: Prisma.StringFilter<"Skill"> | string - team?: Prisma.XOR - agentSkills?: Prisma.AgentSkillListRelationFilter -}, "id" | "teamId_name"> - -export type SkillOrderByWithAggregationInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - description?: Prisma.SortOrderInput | Prisma.SortOrder - config?: Prisma.SortOrderInput | Prisma.SortOrder - assetId?: Prisma.SortOrder - hash?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder - _count?: Prisma.SkillCountOrderByAggregateInput - _max?: Prisma.SkillMaxOrderByAggregateInput - _min?: Prisma.SkillMinOrderByAggregateInput -} - -export type SkillScalarWhereWithAggregatesInput = { - AND?: Prisma.SkillScalarWhereWithAggregatesInput | Prisma.SkillScalarWhereWithAggregatesInput[] - OR?: Prisma.SkillScalarWhereWithAggregatesInput[] - NOT?: Prisma.SkillScalarWhereWithAggregatesInput | Prisma.SkillScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"Skill"> | string - name?: Prisma.StringWithAggregatesFilter<"Skill"> | string - description?: Prisma.StringNullableWithAggregatesFilter<"Skill"> | string | null - config?: Prisma.JsonNullableWithAggregatesFilter<"Skill"> - assetId?: Prisma.StringWithAggregatesFilter<"Skill"> | string - hash?: Prisma.StringWithAggregatesFilter<"Skill"> | string - createdAt?: Prisma.DateTimeWithAggregatesFilter<"Skill"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Skill"> | Date | string - teamId?: Prisma.StringWithAggregatesFilter<"Skill"> | string -} - -export type SkillCreateInput = { - id?: string - name: string - description?: string | null - config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput - assetId: string - hash: string - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutSkillsInput - agentSkills?: Prisma.AgentSkillCreateNestedManyWithoutSkillInput -} - -export type SkillUncheckedCreateInput = { - id?: string - name: string - description?: string | null - config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput - assetId: string - hash: string - createdAt?: Date | string - updatedAt?: Date | string - teamId: string - agentSkills?: Prisma.AgentSkillUncheckedCreateNestedManyWithoutSkillInput -} - -export type SkillUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput - assetId?: Prisma.StringFieldUpdateOperationsInput | string - hash?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutSkillsNestedInput - agentSkills?: Prisma.AgentSkillUpdateManyWithoutSkillNestedInput -} - -export type SkillUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput - assetId?: Prisma.StringFieldUpdateOperationsInput | string - hash?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string - agentSkills?: Prisma.AgentSkillUncheckedUpdateManyWithoutSkillNestedInput -} - -export type SkillCreateManyInput = { - id?: string - name: string - description?: string | null - config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput - assetId: string - hash: string - createdAt?: Date | string - updatedAt?: Date | string - teamId: string -} - -export type SkillUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput - assetId?: Prisma.StringFieldUpdateOperationsInput | string - hash?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type SkillUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput - assetId?: Prisma.StringFieldUpdateOperationsInput | string - hash?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type SkillListRelationFilter = { - every?: Prisma.SkillWhereInput - some?: Prisma.SkillWhereInput - none?: Prisma.SkillWhereInput -} - -export type SkillOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type SkillTeamIdNameCompoundUniqueInput = { - teamId: string - name: string -} - -export type SkillCountOrderByAggregateInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - description?: Prisma.SortOrder - config?: Prisma.SortOrder - assetId?: Prisma.SortOrder - hash?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder -} - -export type SkillMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - description?: Prisma.SortOrder - assetId?: Prisma.SortOrder - hash?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder -} - -export type SkillMinOrderByAggregateInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - description?: Prisma.SortOrder - assetId?: Prisma.SortOrder - hash?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - teamId?: Prisma.SortOrder -} - -export type SkillScalarRelationFilter = { - is?: Prisma.SkillWhereInput - isNot?: Prisma.SkillWhereInput -} - -export type SkillCreateNestedManyWithoutTeamInput = { - create?: Prisma.XOR | Prisma.SkillCreateWithoutTeamInput[] | Prisma.SkillUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.SkillCreateOrConnectWithoutTeamInput | Prisma.SkillCreateOrConnectWithoutTeamInput[] - createMany?: Prisma.SkillCreateManyTeamInputEnvelope - connect?: Prisma.SkillWhereUniqueInput | Prisma.SkillWhereUniqueInput[] -} - -export type SkillUncheckedCreateNestedManyWithoutTeamInput = { - create?: Prisma.XOR | Prisma.SkillCreateWithoutTeamInput[] | Prisma.SkillUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.SkillCreateOrConnectWithoutTeamInput | Prisma.SkillCreateOrConnectWithoutTeamInput[] - createMany?: Prisma.SkillCreateManyTeamInputEnvelope - connect?: Prisma.SkillWhereUniqueInput | Prisma.SkillWhereUniqueInput[] -} - -export type SkillUpdateManyWithoutTeamNestedInput = { - create?: Prisma.XOR | Prisma.SkillCreateWithoutTeamInput[] | Prisma.SkillUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.SkillCreateOrConnectWithoutTeamInput | Prisma.SkillCreateOrConnectWithoutTeamInput[] - upsert?: Prisma.SkillUpsertWithWhereUniqueWithoutTeamInput | Prisma.SkillUpsertWithWhereUniqueWithoutTeamInput[] - createMany?: Prisma.SkillCreateManyTeamInputEnvelope - set?: Prisma.SkillWhereUniqueInput | Prisma.SkillWhereUniqueInput[] - disconnect?: Prisma.SkillWhereUniqueInput | Prisma.SkillWhereUniqueInput[] - delete?: Prisma.SkillWhereUniqueInput | Prisma.SkillWhereUniqueInput[] - connect?: Prisma.SkillWhereUniqueInput | Prisma.SkillWhereUniqueInput[] - update?: Prisma.SkillUpdateWithWhereUniqueWithoutTeamInput | Prisma.SkillUpdateWithWhereUniqueWithoutTeamInput[] - updateMany?: Prisma.SkillUpdateManyWithWhereWithoutTeamInput | Prisma.SkillUpdateManyWithWhereWithoutTeamInput[] - deleteMany?: Prisma.SkillScalarWhereInput | Prisma.SkillScalarWhereInput[] -} - -export type SkillUncheckedUpdateManyWithoutTeamNestedInput = { - create?: Prisma.XOR | Prisma.SkillCreateWithoutTeamInput[] | Prisma.SkillUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.SkillCreateOrConnectWithoutTeamInput | Prisma.SkillCreateOrConnectWithoutTeamInput[] - upsert?: Prisma.SkillUpsertWithWhereUniqueWithoutTeamInput | Prisma.SkillUpsertWithWhereUniqueWithoutTeamInput[] - createMany?: Prisma.SkillCreateManyTeamInputEnvelope - set?: Prisma.SkillWhereUniqueInput | Prisma.SkillWhereUniqueInput[] - disconnect?: Prisma.SkillWhereUniqueInput | Prisma.SkillWhereUniqueInput[] - delete?: Prisma.SkillWhereUniqueInput | Prisma.SkillWhereUniqueInput[] - connect?: Prisma.SkillWhereUniqueInput | Prisma.SkillWhereUniqueInput[] - update?: Prisma.SkillUpdateWithWhereUniqueWithoutTeamInput | Prisma.SkillUpdateWithWhereUniqueWithoutTeamInput[] - updateMany?: Prisma.SkillUpdateManyWithWhereWithoutTeamInput | Prisma.SkillUpdateManyWithWhereWithoutTeamInput[] - deleteMany?: Prisma.SkillScalarWhereInput | Prisma.SkillScalarWhereInput[] -} - -export type SkillCreateNestedOneWithoutAgentSkillsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.SkillCreateOrConnectWithoutAgentSkillsInput - connect?: Prisma.SkillWhereUniqueInput -} - -export type SkillUpdateOneRequiredWithoutAgentSkillsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.SkillCreateOrConnectWithoutAgentSkillsInput - upsert?: Prisma.SkillUpsertWithoutAgentSkillsInput - connect?: Prisma.SkillWhereUniqueInput - update?: Prisma.XOR, Prisma.SkillUncheckedUpdateWithoutAgentSkillsInput> -} - -export type SkillCreateWithoutTeamInput = { - id?: string - name: string - description?: string | null - config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput - assetId: string - hash: string - createdAt?: Date | string - updatedAt?: Date | string - agentSkills?: Prisma.AgentSkillCreateNestedManyWithoutSkillInput -} - -export type SkillUncheckedCreateWithoutTeamInput = { - id?: string - name: string - description?: string | null - config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput - assetId: string - hash: string - createdAt?: Date | string - updatedAt?: Date | string - agentSkills?: Prisma.AgentSkillUncheckedCreateNestedManyWithoutSkillInput -} - -export type SkillCreateOrConnectWithoutTeamInput = { - where: Prisma.SkillWhereUniqueInput - create: Prisma.XOR -} - -export type SkillCreateManyTeamInputEnvelope = { - data: Prisma.SkillCreateManyTeamInput | Prisma.SkillCreateManyTeamInput[] - skipDuplicates?: boolean -} - -export type SkillUpsertWithWhereUniqueWithoutTeamInput = { - where: Prisma.SkillWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type SkillUpdateWithWhereUniqueWithoutTeamInput = { - where: Prisma.SkillWhereUniqueInput - data: Prisma.XOR -} - -export type SkillUpdateManyWithWhereWithoutTeamInput = { - where: Prisma.SkillScalarWhereInput - data: Prisma.XOR -} - -export type SkillScalarWhereInput = { - AND?: Prisma.SkillScalarWhereInput | Prisma.SkillScalarWhereInput[] - OR?: Prisma.SkillScalarWhereInput[] - NOT?: Prisma.SkillScalarWhereInput | Prisma.SkillScalarWhereInput[] - id?: Prisma.StringFilter<"Skill"> | string - name?: Prisma.StringFilter<"Skill"> | string - description?: Prisma.StringNullableFilter<"Skill"> | string | null - config?: Prisma.JsonNullableFilter<"Skill"> - assetId?: Prisma.StringFilter<"Skill"> | string - hash?: Prisma.StringFilter<"Skill"> | string - createdAt?: Prisma.DateTimeFilter<"Skill"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Skill"> | Date | string - teamId?: Prisma.StringFilter<"Skill"> | string -} - -export type SkillCreateWithoutAgentSkillsInput = { - id?: string - name: string - description?: string | null - config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput - assetId: string - hash: string - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutSkillsInput -} - -export type SkillUncheckedCreateWithoutAgentSkillsInput = { - id?: string - name: string - description?: string | null - config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput - assetId: string - hash: string - createdAt?: Date | string - updatedAt?: Date | string - teamId: string -} - -export type SkillCreateOrConnectWithoutAgentSkillsInput = { - where: Prisma.SkillWhereUniqueInput - create: Prisma.XOR -} - -export type SkillUpsertWithoutAgentSkillsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.SkillWhereInput -} - -export type SkillUpdateToOneWithWhereWithoutAgentSkillsInput = { - where?: Prisma.SkillWhereInput - data: Prisma.XOR -} - -export type SkillUpdateWithoutAgentSkillsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput - assetId?: Prisma.StringFieldUpdateOperationsInput | string - hash?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutSkillsNestedInput -} - -export type SkillUncheckedUpdateWithoutAgentSkillsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput - assetId?: Prisma.StringFieldUpdateOperationsInput | string - hash?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type SkillCreateManyTeamInput = { - id?: string - name: string - description?: string | null - config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput - assetId: string - hash: string - createdAt?: Date | string - updatedAt?: Date | string -} - -export type SkillUpdateWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput - assetId?: Prisma.StringFieldUpdateOperationsInput | string - hash?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - agentSkills?: Prisma.AgentSkillUpdateManyWithoutSkillNestedInput -} - -export type SkillUncheckedUpdateWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput - assetId?: Prisma.StringFieldUpdateOperationsInput | string - hash?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - agentSkills?: Prisma.AgentSkillUncheckedUpdateManyWithoutSkillNestedInput -} - -export type SkillUncheckedUpdateManyWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - config?:PrismaJson.SkillConfig | Prisma.NullableJsonNullValueInput - assetId?: Prisma.StringFieldUpdateOperationsInput | string - hash?: Prisma.StringFieldUpdateOperationsInput | string - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - - -/** - * Count Type SkillCountOutputType - */ - -export type SkillCountOutputType = { - agentSkills: number -} - -export type SkillCountOutputTypeSelect = { - agentSkills?: boolean | SkillCountOutputTypeCountAgentSkillsArgs -} - -/** - * SkillCountOutputType without action - */ -export type SkillCountOutputTypeDefaultArgs = { - /** - * Select specific fields to fetch from the SkillCountOutputType - */ - select?: Prisma.SkillCountOutputTypeSelect | null -} - -/** - * SkillCountOutputType without action - */ -export type SkillCountOutputTypeCountAgentSkillsArgs = { - where?: Prisma.AgentSkillWhereInput -} - - -export type SkillSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - name?: boolean - description?: boolean - config?: boolean - assetId?: boolean - hash?: boolean - createdAt?: boolean - updatedAt?: boolean - teamId?: boolean - team?: boolean | Prisma.TeamDefaultArgs - agentSkills?: boolean | Prisma.Skill$agentSkillsArgs - _count?: boolean | Prisma.SkillCountOutputTypeDefaultArgs -}, ExtArgs["result"]["skill"]> - -export type SkillSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - name?: boolean - description?: boolean - config?: boolean - assetId?: boolean - hash?: boolean - createdAt?: boolean - updatedAt?: boolean - teamId?: boolean - team?: boolean | Prisma.TeamDefaultArgs -}, ExtArgs["result"]["skill"]> - -export type SkillSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - name?: boolean - description?: boolean - config?: boolean - assetId?: boolean - hash?: boolean - createdAt?: boolean - updatedAt?: boolean - teamId?: boolean - team?: boolean | Prisma.TeamDefaultArgs -}, ExtArgs["result"]["skill"]> - -export type SkillSelectScalar = { - id?: boolean - name?: boolean - description?: boolean - config?: boolean - assetId?: boolean - hash?: boolean - createdAt?: boolean - updatedAt?: boolean - teamId?: boolean -} - -export type SkillOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "config" | "assetId" | "hash" | "createdAt" | "updatedAt" | "teamId", ExtArgs["result"]["skill"]> -export type SkillInclude = { - team?: boolean | Prisma.TeamDefaultArgs - agentSkills?: boolean | Prisma.Skill$agentSkillsArgs - _count?: boolean | Prisma.SkillCountOutputTypeDefaultArgs -} -export type SkillIncludeCreateManyAndReturn = { - team?: boolean | Prisma.TeamDefaultArgs -} -export type SkillIncludeUpdateManyAndReturn = { - team?: boolean | Prisma.TeamDefaultArgs -} - -export type $SkillPayload = { - name: "Skill" - objects: { - team: Prisma.$TeamPayload - agentSkills: Prisma.$AgentSkillPayload[] - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - name: string - description: string | null - /** - * [SkillConfig] - */ - config:PrismaJson.SkillConfig | null - assetId: string - hash: string - createdAt: Date - updatedAt: Date - teamId: string - }, ExtArgs["result"]["skill"]> - composites: {} -} - -export type SkillGetPayload = runtime.Types.Result.GetResult - -export type SkillCountArgs = - Omit & { - select?: SkillCountAggregateInputType | true - } - -export interface SkillDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['Skill'], meta: { name: 'Skill' } } - /** - * Find zero or one Skill that matches the filter. - * @param {SkillFindUniqueArgs} args - Arguments to find a Skill - * @example - * // Get one Skill - * const skill = await prisma.skill.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__SkillClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one Skill that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {SkillFindUniqueOrThrowArgs} args - Arguments to find a Skill - * @example - * // Get one Skill - * const skill = await prisma.skill.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__SkillClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Skill that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SkillFindFirstArgs} args - Arguments to find a Skill - * @example - * // Get one Skill - * const skill = await prisma.skill.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__SkillClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Skill that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SkillFindFirstOrThrowArgs} args - Arguments to find a Skill - * @example - * // Get one Skill - * const skill = await prisma.skill.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__SkillClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more Skills that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SkillFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Skills - * const skills = await prisma.skill.findMany() - * - * // Get first 10 Skills - * const skills = await prisma.skill.findMany({ take: 10 }) - * - * // Only select the `id` - * const skillWithIdOnly = await prisma.skill.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a Skill. - * @param {SkillCreateArgs} args - Arguments to create a Skill. - * @example - * // Create one Skill - * const Skill = await prisma.skill.create({ - * data: { - * // ... data to create a Skill - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__SkillClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many Skills. - * @param {SkillCreateManyArgs} args - Arguments to create many Skills. - * @example - * // Create many Skills - * const skill = await prisma.skill.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many Skills and returns the data saved in the database. - * @param {SkillCreateManyAndReturnArgs} args - Arguments to create many Skills. - * @example - * // Create many Skills - * const skill = await prisma.skill.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Skills and only return the `id` - * const skillWithIdOnly = await prisma.skill.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a Skill. - * @param {SkillDeleteArgs} args - Arguments to delete one Skill. - * @example - * // Delete one Skill - * const Skill = await prisma.skill.delete({ - * where: { - * // ... filter to delete one Skill - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__SkillClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one Skill. - * @param {SkillUpdateArgs} args - Arguments to update one Skill. - * @example - * // Update one Skill - * const skill = await prisma.skill.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__SkillClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more Skills. - * @param {SkillDeleteManyArgs} args - Arguments to filter Skills to delete. - * @example - * // Delete a few Skills - * const { count } = await prisma.skill.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Skills. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SkillUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Skills - * const skill = await prisma.skill.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Skills and returns the data updated in the database. - * @param {SkillUpdateManyAndReturnArgs} args - Arguments to update many Skills. - * @example - * // Update many Skills - * const skill = await prisma.skill.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Skills and only return the `id` - * const skillWithIdOnly = await prisma.skill.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one Skill. - * @param {SkillUpsertArgs} args - Arguments to update or create a Skill. - * @example - * // Update or create a Skill - * const skill = await prisma.skill.upsert({ - * create: { - * // ... data to create a Skill - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the Skill we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__SkillClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of Skills. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SkillCountArgs} args - Arguments to filter Skills to count. - * @example - * // Count the number of Skills - * const count = await prisma.skill.count({ - * where: { - * // ... the filter for the Skills we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a Skill. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SkillAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by Skill. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SkillGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends SkillGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: SkillGroupByArgs['orderBy'] } - : { orderBy?: SkillGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetSkillGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the Skill model - */ -readonly fields: SkillFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for Skill. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__SkillClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - team = {}>(args?: Prisma.Subset>): Prisma.Prisma__TeamClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - agentSkills = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the Skill model - */ -export interface SkillFieldRefs { - readonly id: Prisma.FieldRef<"Skill", 'String'> - readonly name: Prisma.FieldRef<"Skill", 'String'> - readonly description: Prisma.FieldRef<"Skill", 'String'> - readonly config: Prisma.FieldRef<"Skill", 'Json'> - readonly assetId: Prisma.FieldRef<"Skill", 'String'> - readonly hash: Prisma.FieldRef<"Skill", 'String'> - readonly createdAt: Prisma.FieldRef<"Skill", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"Skill", 'DateTime'> - readonly teamId: Prisma.FieldRef<"Skill", 'String'> -} - - -// Custom InputTypes -/** - * Skill findUnique - */ -export type SkillFindUniqueArgs = { - /** - * Select specific fields to fetch from the Skill - */ - select?: Prisma.SkillSelect | null - /** - * Omit specific fields from the Skill - */ - omit?: Prisma.SkillOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SkillInclude | null - /** - * Filter, which Skill to fetch. - */ - where: Prisma.SkillWhereUniqueInput -} - -/** - * Skill findUniqueOrThrow - */ -export type SkillFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the Skill - */ - select?: Prisma.SkillSelect | null - /** - * Omit specific fields from the Skill - */ - omit?: Prisma.SkillOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SkillInclude | null - /** - * Filter, which Skill to fetch. - */ - where: Prisma.SkillWhereUniqueInput -} - -/** - * Skill findFirst - */ -export type SkillFindFirstArgs = { - /** - * Select specific fields to fetch from the Skill - */ - select?: Prisma.SkillSelect | null - /** - * Omit specific fields from the Skill - */ - omit?: Prisma.SkillOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SkillInclude | null - /** - * Filter, which Skill to fetch. - */ - where?: Prisma.SkillWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Skills to fetch. - */ - orderBy?: Prisma.SkillOrderByWithRelationInput | Prisma.SkillOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Skills. - */ - cursor?: Prisma.SkillWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Skills from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Skills. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Skills. - */ - distinct?: Prisma.SkillScalarFieldEnum | Prisma.SkillScalarFieldEnum[] -} - -/** - * Skill findFirstOrThrow - */ -export type SkillFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the Skill - */ - select?: Prisma.SkillSelect | null - /** - * Omit specific fields from the Skill - */ - omit?: Prisma.SkillOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SkillInclude | null - /** - * Filter, which Skill to fetch. - */ - where?: Prisma.SkillWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Skills to fetch. - */ - orderBy?: Prisma.SkillOrderByWithRelationInput | Prisma.SkillOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Skills. - */ - cursor?: Prisma.SkillWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Skills from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Skills. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Skills. - */ - distinct?: Prisma.SkillScalarFieldEnum | Prisma.SkillScalarFieldEnum[] -} - -/** - * Skill findMany - */ -export type SkillFindManyArgs = { - /** - * Select specific fields to fetch from the Skill - */ - select?: Prisma.SkillSelect | null - /** - * Omit specific fields from the Skill - */ - omit?: Prisma.SkillOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SkillInclude | null - /** - * Filter, which Skills to fetch. - */ - where?: Prisma.SkillWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Skills to fetch. - */ - orderBy?: Prisma.SkillOrderByWithRelationInput | Prisma.SkillOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Skills. - */ - cursor?: Prisma.SkillWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Skills from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Skills. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Skills. - */ - distinct?: Prisma.SkillScalarFieldEnum | Prisma.SkillScalarFieldEnum[] -} - -/** - * Skill create - */ -export type SkillCreateArgs = { - /** - * Select specific fields to fetch from the Skill - */ - select?: Prisma.SkillSelect | null - /** - * Omit specific fields from the Skill - */ - omit?: Prisma.SkillOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SkillInclude | null - /** - * The data needed to create a Skill. - */ - data: Prisma.XOR -} - -/** - * Skill createMany - */ -export type SkillCreateManyArgs = { - /** - * The data used to create many Skills. - */ - data: Prisma.SkillCreateManyInput | Prisma.SkillCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * Skill createManyAndReturn - */ -export type SkillCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Skill - */ - select?: Prisma.SkillSelectCreateManyAndReturn | null - /** - * Omit specific fields from the Skill - */ - omit?: Prisma.SkillOmit | null - /** - * The data used to create many Skills. - */ - data: Prisma.SkillCreateManyInput | Prisma.SkillCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SkillIncludeCreateManyAndReturn | null -} - -/** - * Skill update - */ -export type SkillUpdateArgs = { - /** - * Select specific fields to fetch from the Skill - */ - select?: Prisma.SkillSelect | null - /** - * Omit specific fields from the Skill - */ - omit?: Prisma.SkillOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SkillInclude | null - /** - * The data needed to update a Skill. - */ - data: Prisma.XOR - /** - * Choose, which Skill to update. - */ - where: Prisma.SkillWhereUniqueInput -} - -/** - * Skill updateMany - */ -export type SkillUpdateManyArgs = { - /** - * The data used to update Skills. - */ - data: Prisma.XOR - /** - * Filter which Skills to update - */ - where?: Prisma.SkillWhereInput - /** - * Limit how many Skills to update. - */ - limit?: number -} - -/** - * Skill updateManyAndReturn - */ -export type SkillUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Skill - */ - select?: Prisma.SkillSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the Skill - */ - omit?: Prisma.SkillOmit | null - /** - * The data used to update Skills. - */ - data: Prisma.XOR - /** - * Filter which Skills to update - */ - where?: Prisma.SkillWhereInput - /** - * Limit how many Skills to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SkillIncludeUpdateManyAndReturn | null -} - -/** - * Skill upsert - */ -export type SkillUpsertArgs = { - /** - * Select specific fields to fetch from the Skill - */ - select?: Prisma.SkillSelect | null - /** - * Omit specific fields from the Skill - */ - omit?: Prisma.SkillOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SkillInclude | null - /** - * The filter to search for the Skill to update in case it exists. - */ - where: Prisma.SkillWhereUniqueInput - /** - * In case the Skill found by the `where` argument doesn't exist, create a new Skill with this data. - */ - create: Prisma.XOR - /** - * In case the Skill was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * Skill delete - */ -export type SkillDeleteArgs = { - /** - * Select specific fields to fetch from the Skill - */ - select?: Prisma.SkillSelect | null - /** - * Omit specific fields from the Skill - */ - omit?: Prisma.SkillOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SkillInclude | null - /** - * Filter which Skill to delete. - */ - where: Prisma.SkillWhereUniqueInput -} - -/** - * Skill deleteMany - */ -export type SkillDeleteManyArgs = { - /** - * Filter which Skills to delete - */ - where?: Prisma.SkillWhereInput - /** - * Limit how many Skills to delete. - */ - limit?: number -} - -/** - * Skill.agentSkills - */ -export type Skill$agentSkillsArgs = { - /** - * Select specific fields to fetch from the AgentSkill - */ - select?: Prisma.AgentSkillSelect | null - /** - * Omit specific fields from the AgentSkill - */ - omit?: Prisma.AgentSkillOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSkillInclude | null - where?: Prisma.AgentSkillWhereInput - orderBy?: Prisma.AgentSkillOrderByWithRelationInput | Prisma.AgentSkillOrderByWithRelationInput[] - cursor?: Prisma.AgentSkillWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.AgentSkillScalarFieldEnum | Prisma.AgentSkillScalarFieldEnum[] -} - -/** - * Skill without action - */ -export type SkillDefaultArgs = { - /** - * Select specific fields to fetch from the Skill - */ - select?: Prisma.SkillSelect | null - /** - * Omit specific fields from the Skill - */ - omit?: Prisma.SkillOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SkillInclude | null -} diff --git a/src/generated/prisma/models/StorageKey.ts b/src/generated/prisma/models/StorageKey.ts deleted file mode 100644 index 505382fb..00000000 --- a/src/generated/prisma/models/StorageKey.ts +++ /dev/null @@ -1,1335 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `StorageKey` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model StorageKey - * - */ -export type StorageKeyModel = runtime.Types.Result.DefaultSelection - -export type AggregateStorageKey = { - _count: StorageKeyCountAggregateOutputType | null - _min: StorageKeyMinAggregateOutputType | null - _max: StorageKeyMaxAggregateOutputType | null -} - -export type StorageKeyMinAggregateOutputType = { - id: string | null - key: string | null - status: $Enums.StorageKeyStatus | null - createdAt: Date | null - updatedAt: Date | null -} - -export type StorageKeyMaxAggregateOutputType = { - id: string | null - key: string | null - status: $Enums.StorageKeyStatus | null - createdAt: Date | null - updatedAt: Date | null -} - -export type StorageKeyCountAggregateOutputType = { - id: number - key: number - status: number - createdAt: number - updatedAt: number - _all: number -} - - -export type StorageKeyMinAggregateInputType = { - id?: true - key?: true - status?: true - createdAt?: true - updatedAt?: true -} - -export type StorageKeyMaxAggregateInputType = { - id?: true - key?: true - status?: true - createdAt?: true - updatedAt?: true -} - -export type StorageKeyCountAggregateInputType = { - id?: true - key?: true - status?: true - createdAt?: true - updatedAt?: true - _all?: true -} - -export type StorageKeyAggregateArgs = { - /** - * Filter which StorageKey to aggregate. - */ - where?: Prisma.StorageKeyWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of StorageKeys to fetch. - */ - orderBy?: Prisma.StorageKeyOrderByWithRelationInput | Prisma.StorageKeyOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.StorageKeyWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` StorageKeys from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` StorageKeys. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned StorageKeys - **/ - _count?: true | StorageKeyCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: StorageKeyMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: StorageKeyMaxAggregateInputType -} - -export type GetStorageKeyAggregateType = { - [P in keyof T & keyof AggregateStorageKey]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type StorageKeyGroupByArgs = { - where?: Prisma.StorageKeyWhereInput - orderBy?: Prisma.StorageKeyOrderByWithAggregationInput | Prisma.StorageKeyOrderByWithAggregationInput[] - by: Prisma.StorageKeyScalarFieldEnum[] | Prisma.StorageKeyScalarFieldEnum - having?: Prisma.StorageKeyScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: StorageKeyCountAggregateInputType | true - _min?: StorageKeyMinAggregateInputType - _max?: StorageKeyMaxAggregateInputType -} - -export type StorageKeyGroupByOutputType = { - id: string - key: string - status: $Enums.StorageKeyStatus - createdAt: Date - updatedAt: Date - _count: StorageKeyCountAggregateOutputType | null - _min: StorageKeyMinAggregateOutputType | null - _max: StorageKeyMaxAggregateOutputType | null -} - -export type GetStorageKeyGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof StorageKeyGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type StorageKeyWhereInput = { - AND?: Prisma.StorageKeyWhereInput | Prisma.StorageKeyWhereInput[] - OR?: Prisma.StorageKeyWhereInput[] - NOT?: Prisma.StorageKeyWhereInput | Prisma.StorageKeyWhereInput[] - id?: Prisma.StringFilter<"StorageKey"> | string - key?: Prisma.StringFilter<"StorageKey"> | string - status?: Prisma.EnumStorageKeyStatusFilter<"StorageKey"> | $Enums.StorageKeyStatus - createdAt?: Prisma.DateTimeFilter<"StorageKey"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"StorageKey"> | Date | string - assets?: Prisma.AssetListRelationFilter -} - -export type StorageKeyOrderByWithRelationInput = { - id?: Prisma.SortOrder - key?: Prisma.SortOrder - status?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - assets?: Prisma.AssetOrderByRelationAggregateInput -} - -export type StorageKeyWhereUniqueInput = Prisma.AtLeast<{ - id?: string - key?: string - AND?: Prisma.StorageKeyWhereInput | Prisma.StorageKeyWhereInput[] - OR?: Prisma.StorageKeyWhereInput[] - NOT?: Prisma.StorageKeyWhereInput | Prisma.StorageKeyWhereInput[] - status?: Prisma.EnumStorageKeyStatusFilter<"StorageKey"> | $Enums.StorageKeyStatus - createdAt?: Prisma.DateTimeFilter<"StorageKey"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"StorageKey"> | Date | string - assets?: Prisma.AssetListRelationFilter -}, "id" | "key"> - -export type StorageKeyOrderByWithAggregationInput = { - id?: Prisma.SortOrder - key?: Prisma.SortOrder - status?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - _count?: Prisma.StorageKeyCountOrderByAggregateInput - _max?: Prisma.StorageKeyMaxOrderByAggregateInput - _min?: Prisma.StorageKeyMinOrderByAggregateInput -} - -export type StorageKeyScalarWhereWithAggregatesInput = { - AND?: Prisma.StorageKeyScalarWhereWithAggregatesInput | Prisma.StorageKeyScalarWhereWithAggregatesInput[] - OR?: Prisma.StorageKeyScalarWhereWithAggregatesInput[] - NOT?: Prisma.StorageKeyScalarWhereWithAggregatesInput | Prisma.StorageKeyScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"StorageKey"> | string - key?: Prisma.StringWithAggregatesFilter<"StorageKey"> | string - status?: Prisma.EnumStorageKeyStatusWithAggregatesFilter<"StorageKey"> | $Enums.StorageKeyStatus - createdAt?: Prisma.DateTimeWithAggregatesFilter<"StorageKey"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"StorageKey"> | Date | string -} - -export type StorageKeyCreateInput = { - id?: string - key: string - status?: $Enums.StorageKeyStatus - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetCreateNestedManyWithoutStorageKeyInput -} - -export type StorageKeyUncheckedCreateInput = { - id?: string - key: string - status?: $Enums.StorageKeyStatus - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutStorageKeyInput -} - -export type StorageKeyUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumStorageKeyStatusFieldUpdateOperationsInput | $Enums.StorageKeyStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUpdateManyWithoutStorageKeyNestedInput -} - -export type StorageKeyUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumStorageKeyStatusFieldUpdateOperationsInput | $Enums.StorageKeyStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUncheckedUpdateManyWithoutStorageKeyNestedInput -} - -export type StorageKeyCreateManyInput = { - id?: string - key: string - status?: $Enums.StorageKeyStatus - createdAt?: Date | string - updatedAt?: Date | string -} - -export type StorageKeyUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumStorageKeyStatusFieldUpdateOperationsInput | $Enums.StorageKeyStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type StorageKeyUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumStorageKeyStatusFieldUpdateOperationsInput | $Enums.StorageKeyStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type StorageKeyNullableScalarRelationFilter = { - is?: Prisma.StorageKeyWhereInput | null - isNot?: Prisma.StorageKeyWhereInput | null -} - -export type StorageKeyCountOrderByAggregateInput = { - id?: Prisma.SortOrder - key?: Prisma.SortOrder - status?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type StorageKeyMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - key?: Prisma.SortOrder - status?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type StorageKeyMinOrderByAggregateInput = { - id?: Prisma.SortOrder - key?: Prisma.SortOrder - status?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type StorageKeyCreateNestedOneWithoutAssetsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.StorageKeyCreateOrConnectWithoutAssetsInput - connect?: Prisma.StorageKeyWhereUniqueInput -} - -export type StorageKeyUpdateOneWithoutAssetsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.StorageKeyCreateOrConnectWithoutAssetsInput - upsert?: Prisma.StorageKeyUpsertWithoutAssetsInput - disconnect?: Prisma.StorageKeyWhereInput | boolean - delete?: Prisma.StorageKeyWhereInput | boolean - connect?: Prisma.StorageKeyWhereUniqueInput - update?: Prisma.XOR, Prisma.StorageKeyUncheckedUpdateWithoutAssetsInput> -} - -export type EnumStorageKeyStatusFieldUpdateOperationsInput = { - set?: $Enums.StorageKeyStatus -} - -export type StorageKeyCreateWithoutAssetsInput = { - id?: string - key: string - status?: $Enums.StorageKeyStatus - createdAt?: Date | string - updatedAt?: Date | string -} - -export type StorageKeyUncheckedCreateWithoutAssetsInput = { - id?: string - key: string - status?: $Enums.StorageKeyStatus - createdAt?: Date | string - updatedAt?: Date | string -} - -export type StorageKeyCreateOrConnectWithoutAssetsInput = { - where: Prisma.StorageKeyWhereUniqueInput - create: Prisma.XOR -} - -export type StorageKeyUpsertWithoutAssetsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.StorageKeyWhereInput -} - -export type StorageKeyUpdateToOneWithWhereWithoutAssetsInput = { - where?: Prisma.StorageKeyWhereInput - data: Prisma.XOR -} - -export type StorageKeyUpdateWithoutAssetsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumStorageKeyStatusFieldUpdateOperationsInput | $Enums.StorageKeyStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type StorageKeyUncheckedUpdateWithoutAssetsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - status?: Prisma.EnumStorageKeyStatusFieldUpdateOperationsInput | $Enums.StorageKeyStatus - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - - -/** - * Count Type StorageKeyCountOutputType - */ - -export type StorageKeyCountOutputType = { - assets: number -} - -export type StorageKeyCountOutputTypeSelect = { - assets?: boolean | StorageKeyCountOutputTypeCountAssetsArgs -} - -/** - * StorageKeyCountOutputType without action - */ -export type StorageKeyCountOutputTypeDefaultArgs = { - /** - * Select specific fields to fetch from the StorageKeyCountOutputType - */ - select?: Prisma.StorageKeyCountOutputTypeSelect | null -} - -/** - * StorageKeyCountOutputType without action - */ -export type StorageKeyCountOutputTypeCountAssetsArgs = { - where?: Prisma.AssetWhereInput -} - - -export type StorageKeySelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - key?: boolean - status?: boolean - createdAt?: boolean - updatedAt?: boolean - assets?: boolean | Prisma.StorageKey$assetsArgs - _count?: boolean | Prisma.StorageKeyCountOutputTypeDefaultArgs -}, ExtArgs["result"]["storageKey"]> - -export type StorageKeySelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - key?: boolean - status?: boolean - createdAt?: boolean - updatedAt?: boolean -}, ExtArgs["result"]["storageKey"]> - -export type StorageKeySelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - key?: boolean - status?: boolean - createdAt?: boolean - updatedAt?: boolean -}, ExtArgs["result"]["storageKey"]> - -export type StorageKeySelectScalar = { - id?: boolean - key?: boolean - status?: boolean - createdAt?: boolean - updatedAt?: boolean -} - -export type StorageKeyOmit = runtime.Types.Extensions.GetOmit<"id" | "key" | "status" | "createdAt" | "updatedAt", ExtArgs["result"]["storageKey"]> -export type StorageKeyInclude = { - assets?: boolean | Prisma.StorageKey$assetsArgs - _count?: boolean | Prisma.StorageKeyCountOutputTypeDefaultArgs -} -export type StorageKeyIncludeCreateManyAndReturn = {} -export type StorageKeyIncludeUpdateManyAndReturn = {} - -export type $StorageKeyPayload = { - name: "StorageKey" - objects: { - assets: Prisma.$AssetPayload[] - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - key: string - status: $Enums.StorageKeyStatus - createdAt: Date - updatedAt: Date - }, ExtArgs["result"]["storageKey"]> - composites: {} -} - -export type StorageKeyGetPayload = runtime.Types.Result.GetResult - -export type StorageKeyCountArgs = - Omit & { - select?: StorageKeyCountAggregateInputType | true - } - -export interface StorageKeyDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['StorageKey'], meta: { name: 'StorageKey' } } - /** - * Find zero or one StorageKey that matches the filter. - * @param {StorageKeyFindUniqueArgs} args - Arguments to find a StorageKey - * @example - * // Get one StorageKey - * const storageKey = await prisma.storageKey.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__StorageKeyClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one StorageKey that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {StorageKeyFindUniqueOrThrowArgs} args - Arguments to find a StorageKey - * @example - * // Get one StorageKey - * const storageKey = await prisma.storageKey.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__StorageKeyClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first StorageKey that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {StorageKeyFindFirstArgs} args - Arguments to find a StorageKey - * @example - * // Get one StorageKey - * const storageKey = await prisma.storageKey.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__StorageKeyClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first StorageKey that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {StorageKeyFindFirstOrThrowArgs} args - Arguments to find a StorageKey - * @example - * // Get one StorageKey - * const storageKey = await prisma.storageKey.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__StorageKeyClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more StorageKeys that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {StorageKeyFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all StorageKeys - * const storageKeys = await prisma.storageKey.findMany() - * - * // Get first 10 StorageKeys - * const storageKeys = await prisma.storageKey.findMany({ take: 10 }) - * - * // Only select the `id` - * const storageKeyWithIdOnly = await prisma.storageKey.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a StorageKey. - * @param {StorageKeyCreateArgs} args - Arguments to create a StorageKey. - * @example - * // Create one StorageKey - * const StorageKey = await prisma.storageKey.create({ - * data: { - * // ... data to create a StorageKey - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__StorageKeyClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many StorageKeys. - * @param {StorageKeyCreateManyArgs} args - Arguments to create many StorageKeys. - * @example - * // Create many StorageKeys - * const storageKey = await prisma.storageKey.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many StorageKeys and returns the data saved in the database. - * @param {StorageKeyCreateManyAndReturnArgs} args - Arguments to create many StorageKeys. - * @example - * // Create many StorageKeys - * const storageKey = await prisma.storageKey.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many StorageKeys and only return the `id` - * const storageKeyWithIdOnly = await prisma.storageKey.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a StorageKey. - * @param {StorageKeyDeleteArgs} args - Arguments to delete one StorageKey. - * @example - * // Delete one StorageKey - * const StorageKey = await prisma.storageKey.delete({ - * where: { - * // ... filter to delete one StorageKey - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__StorageKeyClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one StorageKey. - * @param {StorageKeyUpdateArgs} args - Arguments to update one StorageKey. - * @example - * // Update one StorageKey - * const storageKey = await prisma.storageKey.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__StorageKeyClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more StorageKeys. - * @param {StorageKeyDeleteManyArgs} args - Arguments to filter StorageKeys to delete. - * @example - * // Delete a few StorageKeys - * const { count } = await prisma.storageKey.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more StorageKeys. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {StorageKeyUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many StorageKeys - * const storageKey = await prisma.storageKey.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more StorageKeys and returns the data updated in the database. - * @param {StorageKeyUpdateManyAndReturnArgs} args - Arguments to update many StorageKeys. - * @example - * // Update many StorageKeys - * const storageKey = await prisma.storageKey.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more StorageKeys and only return the `id` - * const storageKeyWithIdOnly = await prisma.storageKey.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one StorageKey. - * @param {StorageKeyUpsertArgs} args - Arguments to update or create a StorageKey. - * @example - * // Update or create a StorageKey - * const storageKey = await prisma.storageKey.upsert({ - * create: { - * // ... data to create a StorageKey - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the StorageKey we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__StorageKeyClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of StorageKeys. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {StorageKeyCountArgs} args - Arguments to filter StorageKeys to count. - * @example - * // Count the number of StorageKeys - * const count = await prisma.storageKey.count({ - * where: { - * // ... the filter for the StorageKeys we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a StorageKey. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {StorageKeyAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by StorageKey. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {StorageKeyGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends StorageKeyGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: StorageKeyGroupByArgs['orderBy'] } - : { orderBy?: StorageKeyGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetStorageKeyGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the StorageKey model - */ -readonly fields: StorageKeyFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for StorageKey. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__StorageKeyClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - assets = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the StorageKey model - */ -export interface StorageKeyFieldRefs { - readonly id: Prisma.FieldRef<"StorageKey", 'String'> - readonly key: Prisma.FieldRef<"StorageKey", 'String'> - readonly status: Prisma.FieldRef<"StorageKey", 'StorageKeyStatus'> - readonly createdAt: Prisma.FieldRef<"StorageKey", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"StorageKey", 'DateTime'> -} - - -// Custom InputTypes -/** - * StorageKey findUnique - */ -export type StorageKeyFindUniqueArgs = { - /** - * Select specific fields to fetch from the StorageKey - */ - select?: Prisma.StorageKeySelect | null - /** - * Omit specific fields from the StorageKey - */ - omit?: Prisma.StorageKeyOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.StorageKeyInclude | null - /** - * Filter, which StorageKey to fetch. - */ - where: Prisma.StorageKeyWhereUniqueInput -} - -/** - * StorageKey findUniqueOrThrow - */ -export type StorageKeyFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the StorageKey - */ - select?: Prisma.StorageKeySelect | null - /** - * Omit specific fields from the StorageKey - */ - omit?: Prisma.StorageKeyOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.StorageKeyInclude | null - /** - * Filter, which StorageKey to fetch. - */ - where: Prisma.StorageKeyWhereUniqueInput -} - -/** - * StorageKey findFirst - */ -export type StorageKeyFindFirstArgs = { - /** - * Select specific fields to fetch from the StorageKey - */ - select?: Prisma.StorageKeySelect | null - /** - * Omit specific fields from the StorageKey - */ - omit?: Prisma.StorageKeyOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.StorageKeyInclude | null - /** - * Filter, which StorageKey to fetch. - */ - where?: Prisma.StorageKeyWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of StorageKeys to fetch. - */ - orderBy?: Prisma.StorageKeyOrderByWithRelationInput | Prisma.StorageKeyOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for StorageKeys. - */ - cursor?: Prisma.StorageKeyWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` StorageKeys from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` StorageKeys. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of StorageKeys. - */ - distinct?: Prisma.StorageKeyScalarFieldEnum | Prisma.StorageKeyScalarFieldEnum[] -} - -/** - * StorageKey findFirstOrThrow - */ -export type StorageKeyFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the StorageKey - */ - select?: Prisma.StorageKeySelect | null - /** - * Omit specific fields from the StorageKey - */ - omit?: Prisma.StorageKeyOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.StorageKeyInclude | null - /** - * Filter, which StorageKey to fetch. - */ - where?: Prisma.StorageKeyWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of StorageKeys to fetch. - */ - orderBy?: Prisma.StorageKeyOrderByWithRelationInput | Prisma.StorageKeyOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for StorageKeys. - */ - cursor?: Prisma.StorageKeyWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` StorageKeys from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` StorageKeys. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of StorageKeys. - */ - distinct?: Prisma.StorageKeyScalarFieldEnum | Prisma.StorageKeyScalarFieldEnum[] -} - -/** - * StorageKey findMany - */ -export type StorageKeyFindManyArgs = { - /** - * Select specific fields to fetch from the StorageKey - */ - select?: Prisma.StorageKeySelect | null - /** - * Omit specific fields from the StorageKey - */ - omit?: Prisma.StorageKeyOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.StorageKeyInclude | null - /** - * Filter, which StorageKeys to fetch. - */ - where?: Prisma.StorageKeyWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of StorageKeys to fetch. - */ - orderBy?: Prisma.StorageKeyOrderByWithRelationInput | Prisma.StorageKeyOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing StorageKeys. - */ - cursor?: Prisma.StorageKeyWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` StorageKeys from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` StorageKeys. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of StorageKeys. - */ - distinct?: Prisma.StorageKeyScalarFieldEnum | Prisma.StorageKeyScalarFieldEnum[] -} - -/** - * StorageKey create - */ -export type StorageKeyCreateArgs = { - /** - * Select specific fields to fetch from the StorageKey - */ - select?: Prisma.StorageKeySelect | null - /** - * Omit specific fields from the StorageKey - */ - omit?: Prisma.StorageKeyOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.StorageKeyInclude | null - /** - * The data needed to create a StorageKey. - */ - data: Prisma.XOR -} - -/** - * StorageKey createMany - */ -export type StorageKeyCreateManyArgs = { - /** - * The data used to create many StorageKeys. - */ - data: Prisma.StorageKeyCreateManyInput | Prisma.StorageKeyCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * StorageKey createManyAndReturn - */ -export type StorageKeyCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the StorageKey - */ - select?: Prisma.StorageKeySelectCreateManyAndReturn | null - /** - * Omit specific fields from the StorageKey - */ - omit?: Prisma.StorageKeyOmit | null - /** - * The data used to create many StorageKeys. - */ - data: Prisma.StorageKeyCreateManyInput | Prisma.StorageKeyCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * StorageKey update - */ -export type StorageKeyUpdateArgs = { - /** - * Select specific fields to fetch from the StorageKey - */ - select?: Prisma.StorageKeySelect | null - /** - * Omit specific fields from the StorageKey - */ - omit?: Prisma.StorageKeyOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.StorageKeyInclude | null - /** - * The data needed to update a StorageKey. - */ - data: Prisma.XOR - /** - * Choose, which StorageKey to update. - */ - where: Prisma.StorageKeyWhereUniqueInput -} - -/** - * StorageKey updateMany - */ -export type StorageKeyUpdateManyArgs = { - /** - * The data used to update StorageKeys. - */ - data: Prisma.XOR - /** - * Filter which StorageKeys to update - */ - where?: Prisma.StorageKeyWhereInput - /** - * Limit how many StorageKeys to update. - */ - limit?: number -} - -/** - * StorageKey updateManyAndReturn - */ -export type StorageKeyUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the StorageKey - */ - select?: Prisma.StorageKeySelectUpdateManyAndReturn | null - /** - * Omit specific fields from the StorageKey - */ - omit?: Prisma.StorageKeyOmit | null - /** - * The data used to update StorageKeys. - */ - data: Prisma.XOR - /** - * Filter which StorageKeys to update - */ - where?: Prisma.StorageKeyWhereInput - /** - * Limit how many StorageKeys to update. - */ - limit?: number -} - -/** - * StorageKey upsert - */ -export type StorageKeyUpsertArgs = { - /** - * Select specific fields to fetch from the StorageKey - */ - select?: Prisma.StorageKeySelect | null - /** - * Omit specific fields from the StorageKey - */ - omit?: Prisma.StorageKeyOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.StorageKeyInclude | null - /** - * The filter to search for the StorageKey to update in case it exists. - */ - where: Prisma.StorageKeyWhereUniqueInput - /** - * In case the StorageKey found by the `where` argument doesn't exist, create a new StorageKey with this data. - */ - create: Prisma.XOR - /** - * In case the StorageKey was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * StorageKey delete - */ -export type StorageKeyDeleteArgs = { - /** - * Select specific fields to fetch from the StorageKey - */ - select?: Prisma.StorageKeySelect | null - /** - * Omit specific fields from the StorageKey - */ - omit?: Prisma.StorageKeyOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.StorageKeyInclude | null - /** - * Filter which StorageKey to delete. - */ - where: Prisma.StorageKeyWhereUniqueInput -} - -/** - * StorageKey deleteMany - */ -export type StorageKeyDeleteManyArgs = { - /** - * Filter which StorageKeys to delete - */ - where?: Prisma.StorageKeyWhereInput - /** - * Limit how many StorageKeys to delete. - */ - limit?: number -} - -/** - * StorageKey.assets - */ -export type StorageKey$assetsArgs = { - /** - * Select specific fields to fetch from the Asset - */ - select?: Prisma.AssetSelect | null - /** - * Omit specific fields from the Asset - */ - omit?: Prisma.AssetOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetInclude | null - where?: Prisma.AssetWhereInput - orderBy?: Prisma.AssetOrderByWithRelationInput | Prisma.AssetOrderByWithRelationInput[] - cursor?: Prisma.AssetWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.AssetScalarFieldEnum | Prisma.AssetScalarFieldEnum[] -} - -/** - * StorageKey without action - */ -export type StorageKeyDefaultArgs = { - /** - * Select specific fields to fetch from the StorageKey - */ - select?: Prisma.StorageKeySelect | null - /** - * Omit specific fields from the StorageKey - */ - omit?: Prisma.StorageKeyOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.StorageKeyInclude | null -} diff --git a/src/generated/prisma/models/SystemSettings.ts b/src/generated/prisma/models/SystemSettings.ts deleted file mode 100644 index 2a223152..00000000 --- a/src/generated/prisma/models/SystemSettings.ts +++ /dev/null @@ -1,1148 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `SystemSettings` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model SystemSettings - * - */ -export type SystemSettingsModel = runtime.Types.Result.DefaultSelection - -export type AggregateSystemSettings = { - _count: SystemSettingsCountAggregateOutputType | null - _min: SystemSettingsMinAggregateOutputType | null - _max: SystemSettingsMaxAggregateOutputType | null -} - -export type SystemSettingsMinAggregateOutputType = { - id: string | null - key: string | null - createdAt: Date | null - updatedAt: Date | null -} - -export type SystemSettingsMaxAggregateOutputType = { - id: string | null - key: string | null - createdAt: Date | null - updatedAt: Date | null -} - -export type SystemSettingsCountAggregateOutputType = { - id: number - key: number - value:PrismaJson.SystemSettingsValue - createdAt: number - updatedAt: number - _all: number -} - - -export type SystemSettingsMinAggregateInputType = { - id?: true - key?: true - createdAt?: true - updatedAt?: true -} - -export type SystemSettingsMaxAggregateInputType = { - id?: true - key?: true - createdAt?: true - updatedAt?: true -} - -export type SystemSettingsCountAggregateInputType = { - id?: true - key?: true - value?: true - createdAt?: true - updatedAt?: true - _all?: true -} - -export type SystemSettingsAggregateArgs = { - /** - * Filter which SystemSettings to aggregate. - */ - where?: Prisma.SystemSettingsWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of SystemSettings to fetch. - */ - orderBy?: Prisma.SystemSettingsOrderByWithRelationInput | Prisma.SystemSettingsOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.SystemSettingsWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` SystemSettings from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` SystemSettings. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned SystemSettings - **/ - _count?: true | SystemSettingsCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: SystemSettingsMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: SystemSettingsMaxAggregateInputType -} - -export type GetSystemSettingsAggregateType = { - [P in keyof T & keyof AggregateSystemSettings]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type SystemSettingsGroupByArgs = { - where?: Prisma.SystemSettingsWhereInput - orderBy?: Prisma.SystemSettingsOrderByWithAggregationInput | Prisma.SystemSettingsOrderByWithAggregationInput[] - by: Prisma.SystemSettingsScalarFieldEnum[] | Prisma.SystemSettingsScalarFieldEnum - having?: Prisma.SystemSettingsScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: SystemSettingsCountAggregateInputType | true - _min?: SystemSettingsMinAggregateInputType - _max?: SystemSettingsMaxAggregateInputType -} - -export type SystemSettingsGroupByOutputType = { - id: string - key: string - value:PrismaJson.SystemSettingsValue | null - createdAt: Date - updatedAt: Date - _count: SystemSettingsCountAggregateOutputType | null - _min: SystemSettingsMinAggregateOutputType | null - _max: SystemSettingsMaxAggregateOutputType | null -} - -export type GetSystemSettingsGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof SystemSettingsGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type SystemSettingsWhereInput = { - AND?: Prisma.SystemSettingsWhereInput | Prisma.SystemSettingsWhereInput[] - OR?: Prisma.SystemSettingsWhereInput[] - NOT?: Prisma.SystemSettingsWhereInput | Prisma.SystemSettingsWhereInput[] - id?: Prisma.StringFilter<"SystemSettings"> | string - key?: Prisma.StringFilter<"SystemSettings"> | string - value?: Prisma.JsonNullableFilter<"SystemSettings"> - createdAt?: Prisma.DateTimeFilter<"SystemSettings"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"SystemSettings"> | Date | string -} - -export type SystemSettingsOrderByWithRelationInput = { - id?: Prisma.SortOrder - key?: Prisma.SortOrder - value?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type SystemSettingsWhereUniqueInput = Prisma.AtLeast<{ - id?: string - key?: string - AND?: Prisma.SystemSettingsWhereInput | Prisma.SystemSettingsWhereInput[] - OR?: Prisma.SystemSettingsWhereInput[] - NOT?: Prisma.SystemSettingsWhereInput | Prisma.SystemSettingsWhereInput[] - value?: Prisma.JsonNullableFilter<"SystemSettings"> - createdAt?: Prisma.DateTimeFilter<"SystemSettings"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"SystemSettings"> | Date | string -}, "id" | "key"> - -export type SystemSettingsOrderByWithAggregationInput = { - id?: Prisma.SortOrder - key?: Prisma.SortOrder - value?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - _count?: Prisma.SystemSettingsCountOrderByAggregateInput - _max?: Prisma.SystemSettingsMaxOrderByAggregateInput - _min?: Prisma.SystemSettingsMinOrderByAggregateInput -} - -export type SystemSettingsScalarWhereWithAggregatesInput = { - AND?: Prisma.SystemSettingsScalarWhereWithAggregatesInput | Prisma.SystemSettingsScalarWhereWithAggregatesInput[] - OR?: Prisma.SystemSettingsScalarWhereWithAggregatesInput[] - NOT?: Prisma.SystemSettingsScalarWhereWithAggregatesInput | Prisma.SystemSettingsScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"SystemSettings"> | string - key?: Prisma.StringWithAggregatesFilter<"SystemSettings"> | string - value?: Prisma.JsonNullableWithAggregatesFilter<"SystemSettings"> - createdAt?: Prisma.DateTimeWithAggregatesFilter<"SystemSettings"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"SystemSettings"> | Date | string -} - -export type SystemSettingsCreateInput = { - id?: string - key: string - value?:PrismaJson.SystemSettingsValue | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string -} - -export type SystemSettingsUncheckedCreateInput = { - id?: string - key: string - value?:PrismaJson.SystemSettingsValue | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string -} - -export type SystemSettingsUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - value?:PrismaJson.SystemSettingsValue | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type SystemSettingsUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - value?:PrismaJson.SystemSettingsValue | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type SystemSettingsCreateManyInput = { - id?: string - key: string - value?:PrismaJson.SystemSettingsValue | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string -} - -export type SystemSettingsUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - value?:PrismaJson.SystemSettingsValue | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type SystemSettingsUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - value?:PrismaJson.SystemSettingsValue | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type SystemSettingsCountOrderByAggregateInput = { - id?: Prisma.SortOrder - key?: Prisma.SortOrder - value?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type SystemSettingsMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - key?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type SystemSettingsMinOrderByAggregateInput = { - id?: Prisma.SortOrder - key?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - - - -export type SystemSettingsSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - key?: boolean - value?: boolean - createdAt?: boolean - updatedAt?: boolean -}, ExtArgs["result"]["systemSettings"]> - -export type SystemSettingsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - key?: boolean - value?: boolean - createdAt?: boolean - updatedAt?: boolean -}, ExtArgs["result"]["systemSettings"]> - -export type SystemSettingsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - key?: boolean - value?: boolean - createdAt?: boolean - updatedAt?: boolean -}, ExtArgs["result"]["systemSettings"]> - -export type SystemSettingsSelectScalar = { - id?: boolean - key?: boolean - value?: boolean - createdAt?: boolean - updatedAt?: boolean -} - -export type SystemSettingsOmit = runtime.Types.Extensions.GetOmit<"id" | "key" | "value" | "createdAt" | "updatedAt", ExtArgs["result"]["systemSettings"]> - -export type $SystemSettingsPayload = { - name: "SystemSettings" - objects: {} - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - key: string - /** - * [SystemSettingsValue] - */ - value:PrismaJson.SystemSettingsValue | null - createdAt: Date - updatedAt: Date - }, ExtArgs["result"]["systemSettings"]> - composites: {} -} - -export type SystemSettingsGetPayload = runtime.Types.Result.GetResult - -export type SystemSettingsCountArgs = - Omit & { - select?: SystemSettingsCountAggregateInputType | true - } - -export interface SystemSettingsDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['SystemSettings'], meta: { name: 'SystemSettings' } } - /** - * Find zero or one SystemSettings that matches the filter. - * @param {SystemSettingsFindUniqueArgs} args - Arguments to find a SystemSettings - * @example - * // Get one SystemSettings - * const systemSettings = await prisma.systemSettings.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__SystemSettingsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one SystemSettings that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {SystemSettingsFindUniqueOrThrowArgs} args - Arguments to find a SystemSettings - * @example - * // Get one SystemSettings - * const systemSettings = await prisma.systemSettings.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__SystemSettingsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first SystemSettings that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SystemSettingsFindFirstArgs} args - Arguments to find a SystemSettings - * @example - * // Get one SystemSettings - * const systemSettings = await prisma.systemSettings.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__SystemSettingsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first SystemSettings that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SystemSettingsFindFirstOrThrowArgs} args - Arguments to find a SystemSettings - * @example - * // Get one SystemSettings - * const systemSettings = await prisma.systemSettings.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__SystemSettingsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more SystemSettings that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SystemSettingsFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all SystemSettings - * const systemSettings = await prisma.systemSettings.findMany() - * - * // Get first 10 SystemSettings - * const systemSettings = await prisma.systemSettings.findMany({ take: 10 }) - * - * // Only select the `id` - * const systemSettingsWithIdOnly = await prisma.systemSettings.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a SystemSettings. - * @param {SystemSettingsCreateArgs} args - Arguments to create a SystemSettings. - * @example - * // Create one SystemSettings - * const SystemSettings = await prisma.systemSettings.create({ - * data: { - * // ... data to create a SystemSettings - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__SystemSettingsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many SystemSettings. - * @param {SystemSettingsCreateManyArgs} args - Arguments to create many SystemSettings. - * @example - * // Create many SystemSettings - * const systemSettings = await prisma.systemSettings.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many SystemSettings and returns the data saved in the database. - * @param {SystemSettingsCreateManyAndReturnArgs} args - Arguments to create many SystemSettings. - * @example - * // Create many SystemSettings - * const systemSettings = await prisma.systemSettings.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many SystemSettings and only return the `id` - * const systemSettingsWithIdOnly = await prisma.systemSettings.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a SystemSettings. - * @param {SystemSettingsDeleteArgs} args - Arguments to delete one SystemSettings. - * @example - * // Delete one SystemSettings - * const SystemSettings = await prisma.systemSettings.delete({ - * where: { - * // ... filter to delete one SystemSettings - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__SystemSettingsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one SystemSettings. - * @param {SystemSettingsUpdateArgs} args - Arguments to update one SystemSettings. - * @example - * // Update one SystemSettings - * const systemSettings = await prisma.systemSettings.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__SystemSettingsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more SystemSettings. - * @param {SystemSettingsDeleteManyArgs} args - Arguments to filter SystemSettings to delete. - * @example - * // Delete a few SystemSettings - * const { count } = await prisma.systemSettings.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more SystemSettings. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SystemSettingsUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many SystemSettings - * const systemSettings = await prisma.systemSettings.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more SystemSettings and returns the data updated in the database. - * @param {SystemSettingsUpdateManyAndReturnArgs} args - Arguments to update many SystemSettings. - * @example - * // Update many SystemSettings - * const systemSettings = await prisma.systemSettings.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more SystemSettings and only return the `id` - * const systemSettingsWithIdOnly = await prisma.systemSettings.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one SystemSettings. - * @param {SystemSettingsUpsertArgs} args - Arguments to update or create a SystemSettings. - * @example - * // Update or create a SystemSettings - * const systemSettings = await prisma.systemSettings.upsert({ - * create: { - * // ... data to create a SystemSettings - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the SystemSettings we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__SystemSettingsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of SystemSettings. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SystemSettingsCountArgs} args - Arguments to filter SystemSettings to count. - * @example - * // Count the number of SystemSettings - * const count = await prisma.systemSettings.count({ - * where: { - * // ... the filter for the SystemSettings we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a SystemSettings. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SystemSettingsAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by SystemSettings. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {SystemSettingsGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends SystemSettingsGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: SystemSettingsGroupByArgs['orderBy'] } - : { orderBy?: SystemSettingsGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetSystemSettingsGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the SystemSettings model - */ -readonly fields: SystemSettingsFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for SystemSettings. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__SystemSettingsClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the SystemSettings model - */ -export interface SystemSettingsFieldRefs { - readonly id: Prisma.FieldRef<"SystemSettings", 'String'> - readonly key: Prisma.FieldRef<"SystemSettings", 'String'> - readonly value: Prisma.FieldRef<"SystemSettings", 'Json'> - readonly createdAt: Prisma.FieldRef<"SystemSettings", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"SystemSettings", 'DateTime'> -} - - -// Custom InputTypes -/** - * SystemSettings findUnique - */ -export type SystemSettingsFindUniqueArgs = { - /** - * Select specific fields to fetch from the SystemSettings - */ - select?: Prisma.SystemSettingsSelect | null - /** - * Omit specific fields from the SystemSettings - */ - omit?: Prisma.SystemSettingsOmit | null - /** - * Filter, which SystemSettings to fetch. - */ - where: Prisma.SystemSettingsWhereUniqueInput -} - -/** - * SystemSettings findUniqueOrThrow - */ -export type SystemSettingsFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the SystemSettings - */ - select?: Prisma.SystemSettingsSelect | null - /** - * Omit specific fields from the SystemSettings - */ - omit?: Prisma.SystemSettingsOmit | null - /** - * Filter, which SystemSettings to fetch. - */ - where: Prisma.SystemSettingsWhereUniqueInput -} - -/** - * SystemSettings findFirst - */ -export type SystemSettingsFindFirstArgs = { - /** - * Select specific fields to fetch from the SystemSettings - */ - select?: Prisma.SystemSettingsSelect | null - /** - * Omit specific fields from the SystemSettings - */ - omit?: Prisma.SystemSettingsOmit | null - /** - * Filter, which SystemSettings to fetch. - */ - where?: Prisma.SystemSettingsWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of SystemSettings to fetch. - */ - orderBy?: Prisma.SystemSettingsOrderByWithRelationInput | Prisma.SystemSettingsOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for SystemSettings. - */ - cursor?: Prisma.SystemSettingsWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` SystemSettings from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` SystemSettings. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of SystemSettings. - */ - distinct?: Prisma.SystemSettingsScalarFieldEnum | Prisma.SystemSettingsScalarFieldEnum[] -} - -/** - * SystemSettings findFirstOrThrow - */ -export type SystemSettingsFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the SystemSettings - */ - select?: Prisma.SystemSettingsSelect | null - /** - * Omit specific fields from the SystemSettings - */ - omit?: Prisma.SystemSettingsOmit | null - /** - * Filter, which SystemSettings to fetch. - */ - where?: Prisma.SystemSettingsWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of SystemSettings to fetch. - */ - orderBy?: Prisma.SystemSettingsOrderByWithRelationInput | Prisma.SystemSettingsOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for SystemSettings. - */ - cursor?: Prisma.SystemSettingsWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` SystemSettings from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` SystemSettings. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of SystemSettings. - */ - distinct?: Prisma.SystemSettingsScalarFieldEnum | Prisma.SystemSettingsScalarFieldEnum[] -} - -/** - * SystemSettings findMany - */ -export type SystemSettingsFindManyArgs = { - /** - * Select specific fields to fetch from the SystemSettings - */ - select?: Prisma.SystemSettingsSelect | null - /** - * Omit specific fields from the SystemSettings - */ - omit?: Prisma.SystemSettingsOmit | null - /** - * Filter, which SystemSettings to fetch. - */ - where?: Prisma.SystemSettingsWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of SystemSettings to fetch. - */ - orderBy?: Prisma.SystemSettingsOrderByWithRelationInput | Prisma.SystemSettingsOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing SystemSettings. - */ - cursor?: Prisma.SystemSettingsWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` SystemSettings from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` SystemSettings. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of SystemSettings. - */ - distinct?: Prisma.SystemSettingsScalarFieldEnum | Prisma.SystemSettingsScalarFieldEnum[] -} - -/** - * SystemSettings create - */ -export type SystemSettingsCreateArgs = { - /** - * Select specific fields to fetch from the SystemSettings - */ - select?: Prisma.SystemSettingsSelect | null - /** - * Omit specific fields from the SystemSettings - */ - omit?: Prisma.SystemSettingsOmit | null - /** - * The data needed to create a SystemSettings. - */ - data: Prisma.XOR -} - -/** - * SystemSettings createMany - */ -export type SystemSettingsCreateManyArgs = { - /** - * The data used to create many SystemSettings. - */ - data: Prisma.SystemSettingsCreateManyInput | Prisma.SystemSettingsCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * SystemSettings createManyAndReturn - */ -export type SystemSettingsCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the SystemSettings - */ - select?: Prisma.SystemSettingsSelectCreateManyAndReturn | null - /** - * Omit specific fields from the SystemSettings - */ - omit?: Prisma.SystemSettingsOmit | null - /** - * The data used to create many SystemSettings. - */ - data: Prisma.SystemSettingsCreateManyInput | Prisma.SystemSettingsCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * SystemSettings update - */ -export type SystemSettingsUpdateArgs = { - /** - * Select specific fields to fetch from the SystemSettings - */ - select?: Prisma.SystemSettingsSelect | null - /** - * Omit specific fields from the SystemSettings - */ - omit?: Prisma.SystemSettingsOmit | null - /** - * The data needed to update a SystemSettings. - */ - data: Prisma.XOR - /** - * Choose, which SystemSettings to update. - */ - where: Prisma.SystemSettingsWhereUniqueInput -} - -/** - * SystemSettings updateMany - */ -export type SystemSettingsUpdateManyArgs = { - /** - * The data used to update SystemSettings. - */ - data: Prisma.XOR - /** - * Filter which SystemSettings to update - */ - where?: Prisma.SystemSettingsWhereInput - /** - * Limit how many SystemSettings to update. - */ - limit?: number -} - -/** - * SystemSettings updateManyAndReturn - */ -export type SystemSettingsUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the SystemSettings - */ - select?: Prisma.SystemSettingsSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the SystemSettings - */ - omit?: Prisma.SystemSettingsOmit | null - /** - * The data used to update SystemSettings. - */ - data: Prisma.XOR - /** - * Filter which SystemSettings to update - */ - where?: Prisma.SystemSettingsWhereInput - /** - * Limit how many SystemSettings to update. - */ - limit?: number -} - -/** - * SystemSettings upsert - */ -export type SystemSettingsUpsertArgs = { - /** - * Select specific fields to fetch from the SystemSettings - */ - select?: Prisma.SystemSettingsSelect | null - /** - * Omit specific fields from the SystemSettings - */ - omit?: Prisma.SystemSettingsOmit | null - /** - * The filter to search for the SystemSettings to update in case it exists. - */ - where: Prisma.SystemSettingsWhereUniqueInput - /** - * In case the SystemSettings found by the `where` argument doesn't exist, create a new SystemSettings with this data. - */ - create: Prisma.XOR - /** - * In case the SystemSettings was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * SystemSettings delete - */ -export type SystemSettingsDeleteArgs = { - /** - * Select specific fields to fetch from the SystemSettings - */ - select?: Prisma.SystemSettingsSelect | null - /** - * Omit specific fields from the SystemSettings - */ - omit?: Prisma.SystemSettingsOmit | null - /** - * Filter which SystemSettings to delete. - */ - where: Prisma.SystemSettingsWhereUniqueInput -} - -/** - * SystemSettings deleteMany - */ -export type SystemSettingsDeleteManyArgs = { - /** - * Filter which SystemSettings to delete - */ - where?: Prisma.SystemSettingsWhereInput - /** - * Limit how many SystemSettings to delete. - */ - limit?: number -} - -/** - * SystemSettings without action - */ -export type SystemSettingsDefaultArgs = { - /** - * Select specific fields to fetch from the SystemSettings - */ - select?: Prisma.SystemSettingsSelect | null - /** - * Omit specific fields from the SystemSettings - */ - omit?: Prisma.SystemSettingsOmit | null -} diff --git a/src/generated/prisma/models/Task.ts b/src/generated/prisma/models/Task.ts deleted file mode 100644 index 6a6ddcd2..00000000 --- a/src/generated/prisma/models/Task.ts +++ /dev/null @@ -1,1863 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `Task` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model Task - * - */ -export type TaskModel = runtime.Types.Result.DefaultSelection - -export type AggregateTask = { - _count: TaskCountAggregateOutputType | null - _avg: TaskAvgAggregateOutputType | null - _sum: TaskSumAggregateOutputType | null - _min: TaskMinAggregateOutputType | null - _max: TaskMaxAggregateOutputType | null -} - -export type TaskAvgAggregateOutputType = { - total: number | null - uploaded: number | null -} - -export type TaskSumAggregateOutputType = { - total: number | null - uploaded: number | null -} - -export type TaskMinAggregateOutputType = { - id: string | null - type: $Enums.TaskType | null - status: $Enums.TaskStatus | null - name: string | null - total: number | null - uploaded: number | null - createdAt: Date | null - updatedAt: Date | null - creatorId: string | null -} - -export type TaskMaxAggregateOutputType = { - id: string | null - type: $Enums.TaskType | null - status: $Enums.TaskStatus | null - name: string | null - total: number | null - uploaded: number | null - createdAt: Date | null - updatedAt: Date | null - creatorId: string | null -} - -export type TaskCountAggregateOutputType = { - id: number - type: number - status: number - name: number - total: number - uploaded: number - createdAt: number - updatedAt: number - creatorId: number - _all: number -} - - -export type TaskAvgAggregateInputType = { - total?: true - uploaded?: true -} - -export type TaskSumAggregateInputType = { - total?: true - uploaded?: true -} - -export type TaskMinAggregateInputType = { - id?: true - type?: true - status?: true - name?: true - total?: true - uploaded?: true - createdAt?: true - updatedAt?: true - creatorId?: true -} - -export type TaskMaxAggregateInputType = { - id?: true - type?: true - status?: true - name?: true - total?: true - uploaded?: true - createdAt?: true - updatedAt?: true - creatorId?: true -} - -export type TaskCountAggregateInputType = { - id?: true - type?: true - status?: true - name?: true - total?: true - uploaded?: true - createdAt?: true - updatedAt?: true - creatorId?: true - _all?: true -} - -export type TaskAggregateArgs = { - /** - * Filter which Task to aggregate. - */ - where?: Prisma.TaskWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Tasks to fetch. - */ - orderBy?: Prisma.TaskOrderByWithRelationInput | Prisma.TaskOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.TaskWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Tasks from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Tasks. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Tasks - **/ - _count?: true | TaskCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to average - **/ - _avg?: TaskAvgAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to sum - **/ - _sum?: TaskSumAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: TaskMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: TaskMaxAggregateInputType -} - -export type GetTaskAggregateType = { - [P in keyof T & keyof AggregateTask]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type TaskGroupByArgs = { - where?: Prisma.TaskWhereInput - orderBy?: Prisma.TaskOrderByWithAggregationInput | Prisma.TaskOrderByWithAggregationInput[] - by: Prisma.TaskScalarFieldEnum[] | Prisma.TaskScalarFieldEnum - having?: Prisma.TaskScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: TaskCountAggregateInputType | true - _avg?: TaskAvgAggregateInputType - _sum?: TaskSumAggregateInputType - _min?: TaskMinAggregateInputType - _max?: TaskMaxAggregateInputType -} - -export type TaskGroupByOutputType = { - id: string - type: $Enums.TaskType | null - status: $Enums.TaskStatus - name: string | null - total: number | null - uploaded: number - createdAt: Date - updatedAt: Date - creatorId: string | null - _count: TaskCountAggregateOutputType | null - _avg: TaskAvgAggregateOutputType | null - _sum: TaskSumAggregateOutputType | null - _min: TaskMinAggregateOutputType | null - _max: TaskMaxAggregateOutputType | null -} - -export type GetTaskGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof TaskGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type TaskWhereInput = { - AND?: Prisma.TaskWhereInput | Prisma.TaskWhereInput[] - OR?: Prisma.TaskWhereInput[] - NOT?: Prisma.TaskWhereInput | Prisma.TaskWhereInput[] - id?: Prisma.StringFilter<"Task"> | string - type?: Prisma.EnumTaskTypeNullableFilter<"Task"> | $Enums.TaskType | null - status?: Prisma.EnumTaskStatusFilter<"Task"> | $Enums.TaskStatus - name?: Prisma.StringNullableFilter<"Task"> | string | null - total?: Prisma.IntNullableFilter<"Task"> | number | null - uploaded?: Prisma.IntFilter<"Task"> | number - createdAt?: Prisma.DateTimeFilter<"Task"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Task"> | Date | string - creatorId?: Prisma.StringNullableFilter<"Task"> | string | null - creator?: Prisma.XOR | null - assets?: Prisma.AssetListRelationFilter - notifications?: Prisma.NotificationListRelationFilter -} - -export type TaskOrderByWithRelationInput = { - id?: Prisma.SortOrder - type?: Prisma.SortOrderInput | Prisma.SortOrder - status?: Prisma.SortOrder - name?: Prisma.SortOrderInput | Prisma.SortOrder - total?: Prisma.SortOrderInput | Prisma.SortOrder - uploaded?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - creatorId?: Prisma.SortOrderInput | Prisma.SortOrder - creator?: Prisma.UserOrderByWithRelationInput - assets?: Prisma.AssetOrderByRelationAggregateInput - notifications?: Prisma.NotificationOrderByRelationAggregateInput -} - -export type TaskWhereUniqueInput = Prisma.AtLeast<{ - id?: string - AND?: Prisma.TaskWhereInput | Prisma.TaskWhereInput[] - OR?: Prisma.TaskWhereInput[] - NOT?: Prisma.TaskWhereInput | Prisma.TaskWhereInput[] - type?: Prisma.EnumTaskTypeNullableFilter<"Task"> | $Enums.TaskType | null - status?: Prisma.EnumTaskStatusFilter<"Task"> | $Enums.TaskStatus - name?: Prisma.StringNullableFilter<"Task"> | string | null - total?: Prisma.IntNullableFilter<"Task"> | number | null - uploaded?: Prisma.IntFilter<"Task"> | number - createdAt?: Prisma.DateTimeFilter<"Task"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Task"> | Date | string - creatorId?: Prisma.StringNullableFilter<"Task"> | string | null - creator?: Prisma.XOR | null - assets?: Prisma.AssetListRelationFilter - notifications?: Prisma.NotificationListRelationFilter -}, "id"> - -export type TaskOrderByWithAggregationInput = { - id?: Prisma.SortOrder - type?: Prisma.SortOrderInput | Prisma.SortOrder - status?: Prisma.SortOrder - name?: Prisma.SortOrderInput | Prisma.SortOrder - total?: Prisma.SortOrderInput | Prisma.SortOrder - uploaded?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - creatorId?: Prisma.SortOrderInput | Prisma.SortOrder - _count?: Prisma.TaskCountOrderByAggregateInput - _avg?: Prisma.TaskAvgOrderByAggregateInput - _max?: Prisma.TaskMaxOrderByAggregateInput - _min?: Prisma.TaskMinOrderByAggregateInput - _sum?: Prisma.TaskSumOrderByAggregateInput -} - -export type TaskScalarWhereWithAggregatesInput = { - AND?: Prisma.TaskScalarWhereWithAggregatesInput | Prisma.TaskScalarWhereWithAggregatesInput[] - OR?: Prisma.TaskScalarWhereWithAggregatesInput[] - NOT?: Prisma.TaskScalarWhereWithAggregatesInput | Prisma.TaskScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"Task"> | string - type?: Prisma.EnumTaskTypeNullableWithAggregatesFilter<"Task"> | $Enums.TaskType | null - status?: Prisma.EnumTaskStatusWithAggregatesFilter<"Task"> | $Enums.TaskStatus - name?: Prisma.StringNullableWithAggregatesFilter<"Task"> | string | null - total?: Prisma.IntNullableWithAggregatesFilter<"Task"> | number | null - uploaded?: Prisma.IntWithAggregatesFilter<"Task"> | number - createdAt?: Prisma.DateTimeWithAggregatesFilter<"Task"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Task"> | Date | string - creatorId?: Prisma.StringNullableWithAggregatesFilter<"Task"> | string | null -} - -export type TaskCreateInput = { - id?: string - type?: $Enums.TaskType | null - status?: $Enums.TaskStatus - name?: string | null - total?: number | null - uploaded?: number - createdAt?: Date | string - updatedAt?: Date | string - creator?: Prisma.UserCreateNestedOneWithoutTasksInput - assets?: Prisma.AssetCreateNestedManyWithoutTaskInput - notifications?: Prisma.NotificationCreateNestedManyWithoutTaskInput -} - -export type TaskUncheckedCreateInput = { - id?: string - type?: $Enums.TaskType | null - status?: $Enums.TaskStatus - name?: string | null - total?: number | null - uploaded?: number - createdAt?: Date | string - updatedAt?: Date | string - creatorId?: string | null - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutTaskInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTaskInput -} - -export type TaskUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumTaskTypeFieldUpdateOperationsInput | $Enums.TaskType | null - status?: Prisma.EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - total?: Prisma.NullableIntFieldUpdateOperationsInput | number | null - uploaded?: Prisma.IntFieldUpdateOperationsInput | number - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - creator?: Prisma.UserUpdateOneWithoutTasksNestedInput - assets?: Prisma.AssetUpdateManyWithoutTaskNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutTaskNestedInput -} - -export type TaskUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumTaskTypeFieldUpdateOperationsInput | $Enums.TaskType | null - status?: Prisma.EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - total?: Prisma.NullableIntFieldUpdateOperationsInput | number | null - uploaded?: Prisma.IntFieldUpdateOperationsInput | number - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - assets?: Prisma.AssetUncheckedUpdateManyWithoutTaskNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTaskNestedInput -} - -export type TaskCreateManyInput = { - id?: string - type?: $Enums.TaskType | null - status?: $Enums.TaskStatus - name?: string | null - total?: number | null - uploaded?: number - createdAt?: Date | string - updatedAt?: Date | string - creatorId?: string | null -} - -export type TaskUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumTaskTypeFieldUpdateOperationsInput | $Enums.TaskType | null - status?: Prisma.EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - total?: Prisma.NullableIntFieldUpdateOperationsInput | number | null - uploaded?: Prisma.IntFieldUpdateOperationsInput | number - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type TaskUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumTaskTypeFieldUpdateOperationsInput | $Enums.TaskType | null - status?: Prisma.EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - total?: Prisma.NullableIntFieldUpdateOperationsInput | number | null - uploaded?: Prisma.IntFieldUpdateOperationsInput | number - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type TaskListRelationFilter = { - every?: Prisma.TaskWhereInput - some?: Prisma.TaskWhereInput - none?: Prisma.TaskWhereInput -} - -export type TaskOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type TaskNullableScalarRelationFilter = { - is?: Prisma.TaskWhereInput | null - isNot?: Prisma.TaskWhereInput | null -} - -export type TaskCountOrderByAggregateInput = { - id?: Prisma.SortOrder - type?: Prisma.SortOrder - status?: Prisma.SortOrder - name?: Prisma.SortOrder - total?: Prisma.SortOrder - uploaded?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - creatorId?: Prisma.SortOrder -} - -export type TaskAvgOrderByAggregateInput = { - total?: Prisma.SortOrder - uploaded?: Prisma.SortOrder -} - -export type TaskMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - type?: Prisma.SortOrder - status?: Prisma.SortOrder - name?: Prisma.SortOrder - total?: Prisma.SortOrder - uploaded?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - creatorId?: Prisma.SortOrder -} - -export type TaskMinOrderByAggregateInput = { - id?: Prisma.SortOrder - type?: Prisma.SortOrder - status?: Prisma.SortOrder - name?: Prisma.SortOrder - total?: Prisma.SortOrder - uploaded?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - creatorId?: Prisma.SortOrder -} - -export type TaskSumOrderByAggregateInput = { - total?: Prisma.SortOrder - uploaded?: Prisma.SortOrder -} - -export type TaskCreateNestedManyWithoutCreatorInput = { - create?: Prisma.XOR | Prisma.TaskCreateWithoutCreatorInput[] | Prisma.TaskUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: Prisma.TaskCreateOrConnectWithoutCreatorInput | Prisma.TaskCreateOrConnectWithoutCreatorInput[] - createMany?: Prisma.TaskCreateManyCreatorInputEnvelope - connect?: Prisma.TaskWhereUniqueInput | Prisma.TaskWhereUniqueInput[] -} - -export type TaskUncheckedCreateNestedManyWithoutCreatorInput = { - create?: Prisma.XOR | Prisma.TaskCreateWithoutCreatorInput[] | Prisma.TaskUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: Prisma.TaskCreateOrConnectWithoutCreatorInput | Prisma.TaskCreateOrConnectWithoutCreatorInput[] - createMany?: Prisma.TaskCreateManyCreatorInputEnvelope - connect?: Prisma.TaskWhereUniqueInput | Prisma.TaskWhereUniqueInput[] -} - -export type TaskUpdateManyWithoutCreatorNestedInput = { - create?: Prisma.XOR | Prisma.TaskCreateWithoutCreatorInput[] | Prisma.TaskUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: Prisma.TaskCreateOrConnectWithoutCreatorInput | Prisma.TaskCreateOrConnectWithoutCreatorInput[] - upsert?: Prisma.TaskUpsertWithWhereUniqueWithoutCreatorInput | Prisma.TaskUpsertWithWhereUniqueWithoutCreatorInput[] - createMany?: Prisma.TaskCreateManyCreatorInputEnvelope - set?: Prisma.TaskWhereUniqueInput | Prisma.TaskWhereUniqueInput[] - disconnect?: Prisma.TaskWhereUniqueInput | Prisma.TaskWhereUniqueInput[] - delete?: Prisma.TaskWhereUniqueInput | Prisma.TaskWhereUniqueInput[] - connect?: Prisma.TaskWhereUniqueInput | Prisma.TaskWhereUniqueInput[] - update?: Prisma.TaskUpdateWithWhereUniqueWithoutCreatorInput | Prisma.TaskUpdateWithWhereUniqueWithoutCreatorInput[] - updateMany?: Prisma.TaskUpdateManyWithWhereWithoutCreatorInput | Prisma.TaskUpdateManyWithWhereWithoutCreatorInput[] - deleteMany?: Prisma.TaskScalarWhereInput | Prisma.TaskScalarWhereInput[] -} - -export type TaskUncheckedUpdateManyWithoutCreatorNestedInput = { - create?: Prisma.XOR | Prisma.TaskCreateWithoutCreatorInput[] | Prisma.TaskUncheckedCreateWithoutCreatorInput[] - connectOrCreate?: Prisma.TaskCreateOrConnectWithoutCreatorInput | Prisma.TaskCreateOrConnectWithoutCreatorInput[] - upsert?: Prisma.TaskUpsertWithWhereUniqueWithoutCreatorInput | Prisma.TaskUpsertWithWhereUniqueWithoutCreatorInput[] - createMany?: Prisma.TaskCreateManyCreatorInputEnvelope - set?: Prisma.TaskWhereUniqueInput | Prisma.TaskWhereUniqueInput[] - disconnect?: Prisma.TaskWhereUniqueInput | Prisma.TaskWhereUniqueInput[] - delete?: Prisma.TaskWhereUniqueInput | Prisma.TaskWhereUniqueInput[] - connect?: Prisma.TaskWhereUniqueInput | Prisma.TaskWhereUniqueInput[] - update?: Prisma.TaskUpdateWithWhereUniqueWithoutCreatorInput | Prisma.TaskUpdateWithWhereUniqueWithoutCreatorInput[] - updateMany?: Prisma.TaskUpdateManyWithWhereWithoutCreatorInput | Prisma.TaskUpdateManyWithWhereWithoutCreatorInput[] - deleteMany?: Prisma.TaskScalarWhereInput | Prisma.TaskScalarWhereInput[] -} - -export type TaskCreateNestedOneWithoutAssetsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TaskCreateOrConnectWithoutAssetsInput - connect?: Prisma.TaskWhereUniqueInput -} - -export type TaskUpdateOneWithoutAssetsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TaskCreateOrConnectWithoutAssetsInput - upsert?: Prisma.TaskUpsertWithoutAssetsInput - disconnect?: Prisma.TaskWhereInput | boolean - delete?: Prisma.TaskWhereInput | boolean - connect?: Prisma.TaskWhereUniqueInput - update?: Prisma.XOR, Prisma.TaskUncheckedUpdateWithoutAssetsInput> -} - -export type TaskCreateNestedOneWithoutNotificationsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TaskCreateOrConnectWithoutNotificationsInput - connect?: Prisma.TaskWhereUniqueInput -} - -export type TaskUpdateOneWithoutNotificationsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TaskCreateOrConnectWithoutNotificationsInput - upsert?: Prisma.TaskUpsertWithoutNotificationsInput - disconnect?: Prisma.TaskWhereInput | boolean - delete?: Prisma.TaskWhereInput | boolean - connect?: Prisma.TaskWhereUniqueInput - update?: Prisma.XOR, Prisma.TaskUncheckedUpdateWithoutNotificationsInput> -} - -export type NullableEnumTaskTypeFieldUpdateOperationsInput = { - set?: $Enums.TaskType | null -} - -export type EnumTaskStatusFieldUpdateOperationsInput = { - set?: $Enums.TaskStatus -} - -export type NullableIntFieldUpdateOperationsInput = { - set?: number | null - increment?: number - decrement?: number - multiply?: number - divide?: number -} - -export type TaskCreateWithoutCreatorInput = { - id?: string - type?: $Enums.TaskType | null - status?: $Enums.TaskStatus - name?: string | null - total?: number | null - uploaded?: number - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetCreateNestedManyWithoutTaskInput - notifications?: Prisma.NotificationCreateNestedManyWithoutTaskInput -} - -export type TaskUncheckedCreateWithoutCreatorInput = { - id?: string - type?: $Enums.TaskType | null - status?: $Enums.TaskStatus - name?: string | null - total?: number | null - uploaded?: number - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutTaskInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTaskInput -} - -export type TaskCreateOrConnectWithoutCreatorInput = { - where: Prisma.TaskWhereUniqueInput - create: Prisma.XOR -} - -export type TaskCreateManyCreatorInputEnvelope = { - data: Prisma.TaskCreateManyCreatorInput | Prisma.TaskCreateManyCreatorInput[] - skipDuplicates?: boolean -} - -export type TaskUpsertWithWhereUniqueWithoutCreatorInput = { - where: Prisma.TaskWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type TaskUpdateWithWhereUniqueWithoutCreatorInput = { - where: Prisma.TaskWhereUniqueInput - data: Prisma.XOR -} - -export type TaskUpdateManyWithWhereWithoutCreatorInput = { - where: Prisma.TaskScalarWhereInput - data: Prisma.XOR -} - -export type TaskScalarWhereInput = { - AND?: Prisma.TaskScalarWhereInput | Prisma.TaskScalarWhereInput[] - OR?: Prisma.TaskScalarWhereInput[] - NOT?: Prisma.TaskScalarWhereInput | Prisma.TaskScalarWhereInput[] - id?: Prisma.StringFilter<"Task"> | string - type?: Prisma.EnumTaskTypeNullableFilter<"Task"> | $Enums.TaskType | null - status?: Prisma.EnumTaskStatusFilter<"Task"> | $Enums.TaskStatus - name?: Prisma.StringNullableFilter<"Task"> | string | null - total?: Prisma.IntNullableFilter<"Task"> | number | null - uploaded?: Prisma.IntFilter<"Task"> | number - createdAt?: Prisma.DateTimeFilter<"Task"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Task"> | Date | string - creatorId?: Prisma.StringNullableFilter<"Task"> | string | null -} - -export type TaskCreateWithoutAssetsInput = { - id?: string - type?: $Enums.TaskType | null - status?: $Enums.TaskStatus - name?: string | null - total?: number | null - uploaded?: number - createdAt?: Date | string - updatedAt?: Date | string - creator?: Prisma.UserCreateNestedOneWithoutTasksInput - notifications?: Prisma.NotificationCreateNestedManyWithoutTaskInput -} - -export type TaskUncheckedCreateWithoutAssetsInput = { - id?: string - type?: $Enums.TaskType | null - status?: $Enums.TaskStatus - name?: string | null - total?: number | null - uploaded?: number - createdAt?: Date | string - updatedAt?: Date | string - creatorId?: string | null - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTaskInput -} - -export type TaskCreateOrConnectWithoutAssetsInput = { - where: Prisma.TaskWhereUniqueInput - create: Prisma.XOR -} - -export type TaskUpsertWithoutAssetsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.TaskWhereInput -} - -export type TaskUpdateToOneWithWhereWithoutAssetsInput = { - where?: Prisma.TaskWhereInput - data: Prisma.XOR -} - -export type TaskUpdateWithoutAssetsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumTaskTypeFieldUpdateOperationsInput | $Enums.TaskType | null - status?: Prisma.EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - total?: Prisma.NullableIntFieldUpdateOperationsInput | number | null - uploaded?: Prisma.IntFieldUpdateOperationsInput | number - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - creator?: Prisma.UserUpdateOneWithoutTasksNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutTaskNestedInput -} - -export type TaskUncheckedUpdateWithoutAssetsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumTaskTypeFieldUpdateOperationsInput | $Enums.TaskType | null - status?: Prisma.EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - total?: Prisma.NullableIntFieldUpdateOperationsInput | number | null - uploaded?: Prisma.IntFieldUpdateOperationsInput | number - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTaskNestedInput -} - -export type TaskCreateWithoutNotificationsInput = { - id?: string - type?: $Enums.TaskType | null - status?: $Enums.TaskStatus - name?: string | null - total?: number | null - uploaded?: number - createdAt?: Date | string - updatedAt?: Date | string - creator?: Prisma.UserCreateNestedOneWithoutTasksInput - assets?: Prisma.AssetCreateNestedManyWithoutTaskInput -} - -export type TaskUncheckedCreateWithoutNotificationsInput = { - id?: string - type?: $Enums.TaskType | null - status?: $Enums.TaskStatus - name?: string | null - total?: number | null - uploaded?: number - createdAt?: Date | string - updatedAt?: Date | string - creatorId?: string | null - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutTaskInput -} - -export type TaskCreateOrConnectWithoutNotificationsInput = { - where: Prisma.TaskWhereUniqueInput - create: Prisma.XOR -} - -export type TaskUpsertWithoutNotificationsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.TaskWhereInput -} - -export type TaskUpdateToOneWithWhereWithoutNotificationsInput = { - where?: Prisma.TaskWhereInput - data: Prisma.XOR -} - -export type TaskUpdateWithoutNotificationsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumTaskTypeFieldUpdateOperationsInput | $Enums.TaskType | null - status?: Prisma.EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - total?: Prisma.NullableIntFieldUpdateOperationsInput | number | null - uploaded?: Prisma.IntFieldUpdateOperationsInput | number - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - creator?: Prisma.UserUpdateOneWithoutTasksNestedInput - assets?: Prisma.AssetUpdateManyWithoutTaskNestedInput -} - -export type TaskUncheckedUpdateWithoutNotificationsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumTaskTypeFieldUpdateOperationsInput | $Enums.TaskType | null - status?: Prisma.EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - total?: Prisma.NullableIntFieldUpdateOperationsInput | number | null - uploaded?: Prisma.IntFieldUpdateOperationsInput | number - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - creatorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - assets?: Prisma.AssetUncheckedUpdateManyWithoutTaskNestedInput -} - -export type TaskCreateManyCreatorInput = { - id?: string - type?: $Enums.TaskType | null - status?: $Enums.TaskStatus - name?: string | null - total?: number | null - uploaded?: number - createdAt?: Date | string - updatedAt?: Date | string -} - -export type TaskUpdateWithoutCreatorInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumTaskTypeFieldUpdateOperationsInput | $Enums.TaskType | null - status?: Prisma.EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - total?: Prisma.NullableIntFieldUpdateOperationsInput | number | null - uploaded?: Prisma.IntFieldUpdateOperationsInput | number - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUpdateManyWithoutTaskNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutTaskNestedInput -} - -export type TaskUncheckedUpdateWithoutCreatorInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumTaskTypeFieldUpdateOperationsInput | $Enums.TaskType | null - status?: Prisma.EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - total?: Prisma.NullableIntFieldUpdateOperationsInput | number | null - uploaded?: Prisma.IntFieldUpdateOperationsInput | number - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUncheckedUpdateManyWithoutTaskNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTaskNestedInput -} - -export type TaskUncheckedUpdateManyWithoutCreatorInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumTaskTypeFieldUpdateOperationsInput | $Enums.TaskType | null - status?: Prisma.EnumTaskStatusFieldUpdateOperationsInput | $Enums.TaskStatus - name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - total?: Prisma.NullableIntFieldUpdateOperationsInput | number | null - uploaded?: Prisma.IntFieldUpdateOperationsInput | number - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - - -/** - * Count Type TaskCountOutputType - */ - -export type TaskCountOutputType = { - assets: number - notifications: number -} - -export type TaskCountOutputTypeSelect = { - assets?: boolean | TaskCountOutputTypeCountAssetsArgs - notifications?: boolean | TaskCountOutputTypeCountNotificationsArgs -} - -/** - * TaskCountOutputType without action - */ -export type TaskCountOutputTypeDefaultArgs = { - /** - * Select specific fields to fetch from the TaskCountOutputType - */ - select?: Prisma.TaskCountOutputTypeSelect | null -} - -/** - * TaskCountOutputType without action - */ -export type TaskCountOutputTypeCountAssetsArgs = { - where?: Prisma.AssetWhereInput -} - -/** - * TaskCountOutputType without action - */ -export type TaskCountOutputTypeCountNotificationsArgs = { - where?: Prisma.NotificationWhereInput -} - - -export type TaskSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - type?: boolean - status?: boolean - name?: boolean - total?: boolean - uploaded?: boolean - createdAt?: boolean - updatedAt?: boolean - creatorId?: boolean - creator?: boolean | Prisma.Task$creatorArgs - assets?: boolean | Prisma.Task$assetsArgs - notifications?: boolean | Prisma.Task$notificationsArgs - _count?: boolean | Prisma.TaskCountOutputTypeDefaultArgs -}, ExtArgs["result"]["task"]> - -export type TaskSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - type?: boolean - status?: boolean - name?: boolean - total?: boolean - uploaded?: boolean - createdAt?: boolean - updatedAt?: boolean - creatorId?: boolean - creator?: boolean | Prisma.Task$creatorArgs -}, ExtArgs["result"]["task"]> - -export type TaskSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - type?: boolean - status?: boolean - name?: boolean - total?: boolean - uploaded?: boolean - createdAt?: boolean - updatedAt?: boolean - creatorId?: boolean - creator?: boolean | Prisma.Task$creatorArgs -}, ExtArgs["result"]["task"]> - -export type TaskSelectScalar = { - id?: boolean - type?: boolean - status?: boolean - name?: boolean - total?: boolean - uploaded?: boolean - createdAt?: boolean - updatedAt?: boolean - creatorId?: boolean -} - -export type TaskOmit = runtime.Types.Extensions.GetOmit<"id" | "type" | "status" | "name" | "total" | "uploaded" | "createdAt" | "updatedAt" | "creatorId", ExtArgs["result"]["task"]> -export type TaskInclude = { - creator?: boolean | Prisma.Task$creatorArgs - assets?: boolean | Prisma.Task$assetsArgs - notifications?: boolean | Prisma.Task$notificationsArgs - _count?: boolean | Prisma.TaskCountOutputTypeDefaultArgs -} -export type TaskIncludeCreateManyAndReturn = { - creator?: boolean | Prisma.Task$creatorArgs -} -export type TaskIncludeUpdateManyAndReturn = { - creator?: boolean | Prisma.Task$creatorArgs -} - -export type $TaskPayload = { - name: "Task" - objects: { - creator: Prisma.$UserPayload | null - assets: Prisma.$AssetPayload[] - notifications: Prisma.$NotificationPayload[] - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - type: $Enums.TaskType | null - status: $Enums.TaskStatus - name: string | null - total: number | null - uploaded: number - createdAt: Date - updatedAt: Date - creatorId: string | null - }, ExtArgs["result"]["task"]> - composites: {} -} - -export type TaskGetPayload = runtime.Types.Result.GetResult - -export type TaskCountArgs = - Omit & { - select?: TaskCountAggregateInputType | true - } - -export interface TaskDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['Task'], meta: { name: 'Task' } } - /** - * Find zero or one Task that matches the filter. - * @param {TaskFindUniqueArgs} args - Arguments to find a Task - * @example - * // Get one Task - * const task = await prisma.task.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__TaskClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one Task that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {TaskFindUniqueOrThrowArgs} args - Arguments to find a Task - * @example - * // Get one Task - * const task = await prisma.task.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__TaskClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Task that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TaskFindFirstArgs} args - Arguments to find a Task - * @example - * // Get one Task - * const task = await prisma.task.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__TaskClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Task that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TaskFindFirstOrThrowArgs} args - Arguments to find a Task - * @example - * // Get one Task - * const task = await prisma.task.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__TaskClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more Tasks that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TaskFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Tasks - * const tasks = await prisma.task.findMany() - * - * // Get first 10 Tasks - * const tasks = await prisma.task.findMany({ take: 10 }) - * - * // Only select the `id` - * const taskWithIdOnly = await prisma.task.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a Task. - * @param {TaskCreateArgs} args - Arguments to create a Task. - * @example - * // Create one Task - * const Task = await prisma.task.create({ - * data: { - * // ... data to create a Task - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__TaskClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many Tasks. - * @param {TaskCreateManyArgs} args - Arguments to create many Tasks. - * @example - * // Create many Tasks - * const task = await prisma.task.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many Tasks and returns the data saved in the database. - * @param {TaskCreateManyAndReturnArgs} args - Arguments to create many Tasks. - * @example - * // Create many Tasks - * const task = await prisma.task.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Tasks and only return the `id` - * const taskWithIdOnly = await prisma.task.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a Task. - * @param {TaskDeleteArgs} args - Arguments to delete one Task. - * @example - * // Delete one Task - * const Task = await prisma.task.delete({ - * where: { - * // ... filter to delete one Task - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__TaskClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one Task. - * @param {TaskUpdateArgs} args - Arguments to update one Task. - * @example - * // Update one Task - * const task = await prisma.task.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__TaskClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more Tasks. - * @param {TaskDeleteManyArgs} args - Arguments to filter Tasks to delete. - * @example - * // Delete a few Tasks - * const { count } = await prisma.task.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Tasks. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TaskUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Tasks - * const task = await prisma.task.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Tasks and returns the data updated in the database. - * @param {TaskUpdateManyAndReturnArgs} args - Arguments to update many Tasks. - * @example - * // Update many Tasks - * const task = await prisma.task.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Tasks and only return the `id` - * const taskWithIdOnly = await prisma.task.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one Task. - * @param {TaskUpsertArgs} args - Arguments to update or create a Task. - * @example - * // Update or create a Task - * const task = await prisma.task.upsert({ - * create: { - * // ... data to create a Task - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the Task we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__TaskClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of Tasks. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TaskCountArgs} args - Arguments to filter Tasks to count. - * @example - * // Count the number of Tasks - * const count = await prisma.task.count({ - * where: { - * // ... the filter for the Tasks we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a Task. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TaskAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by Task. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TaskGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends TaskGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: TaskGroupByArgs['orderBy'] } - : { orderBy?: TaskGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetTaskGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the Task model - */ -readonly fields: TaskFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for Task. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__TaskClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - creator = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - assets = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - notifications = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the Task model - */ -export interface TaskFieldRefs { - readonly id: Prisma.FieldRef<"Task", 'String'> - readonly type: Prisma.FieldRef<"Task", 'TaskType'> - readonly status: Prisma.FieldRef<"Task", 'TaskStatus'> - readonly name: Prisma.FieldRef<"Task", 'String'> - readonly total: Prisma.FieldRef<"Task", 'Int'> - readonly uploaded: Prisma.FieldRef<"Task", 'Int'> - readonly createdAt: Prisma.FieldRef<"Task", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"Task", 'DateTime'> - readonly creatorId: Prisma.FieldRef<"Task", 'String'> -} - - -// Custom InputTypes -/** - * Task findUnique - */ -export type TaskFindUniqueArgs = { - /** - * Select specific fields to fetch from the Task - */ - select?: Prisma.TaskSelect | null - /** - * Omit specific fields from the Task - */ - omit?: Prisma.TaskOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TaskInclude | null - /** - * Filter, which Task to fetch. - */ - where: Prisma.TaskWhereUniqueInput -} - -/** - * Task findUniqueOrThrow - */ -export type TaskFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the Task - */ - select?: Prisma.TaskSelect | null - /** - * Omit specific fields from the Task - */ - omit?: Prisma.TaskOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TaskInclude | null - /** - * Filter, which Task to fetch. - */ - where: Prisma.TaskWhereUniqueInput -} - -/** - * Task findFirst - */ -export type TaskFindFirstArgs = { - /** - * Select specific fields to fetch from the Task - */ - select?: Prisma.TaskSelect | null - /** - * Omit specific fields from the Task - */ - omit?: Prisma.TaskOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TaskInclude | null - /** - * Filter, which Task to fetch. - */ - where?: Prisma.TaskWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Tasks to fetch. - */ - orderBy?: Prisma.TaskOrderByWithRelationInput | Prisma.TaskOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Tasks. - */ - cursor?: Prisma.TaskWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Tasks from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Tasks. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Tasks. - */ - distinct?: Prisma.TaskScalarFieldEnum | Prisma.TaskScalarFieldEnum[] -} - -/** - * Task findFirstOrThrow - */ -export type TaskFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the Task - */ - select?: Prisma.TaskSelect | null - /** - * Omit specific fields from the Task - */ - omit?: Prisma.TaskOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TaskInclude | null - /** - * Filter, which Task to fetch. - */ - where?: Prisma.TaskWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Tasks to fetch. - */ - orderBy?: Prisma.TaskOrderByWithRelationInput | Prisma.TaskOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Tasks. - */ - cursor?: Prisma.TaskWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Tasks from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Tasks. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Tasks. - */ - distinct?: Prisma.TaskScalarFieldEnum | Prisma.TaskScalarFieldEnum[] -} - -/** - * Task findMany - */ -export type TaskFindManyArgs = { - /** - * Select specific fields to fetch from the Task - */ - select?: Prisma.TaskSelect | null - /** - * Omit specific fields from the Task - */ - omit?: Prisma.TaskOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TaskInclude | null - /** - * Filter, which Tasks to fetch. - */ - where?: Prisma.TaskWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Tasks to fetch. - */ - orderBy?: Prisma.TaskOrderByWithRelationInput | Prisma.TaskOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Tasks. - */ - cursor?: Prisma.TaskWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Tasks from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Tasks. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Tasks. - */ - distinct?: Prisma.TaskScalarFieldEnum | Prisma.TaskScalarFieldEnum[] -} - -/** - * Task create - */ -export type TaskCreateArgs = { - /** - * Select specific fields to fetch from the Task - */ - select?: Prisma.TaskSelect | null - /** - * Omit specific fields from the Task - */ - omit?: Prisma.TaskOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TaskInclude | null - /** - * The data needed to create a Task. - */ - data: Prisma.XOR -} - -/** - * Task createMany - */ -export type TaskCreateManyArgs = { - /** - * The data used to create many Tasks. - */ - data: Prisma.TaskCreateManyInput | Prisma.TaskCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * Task createManyAndReturn - */ -export type TaskCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Task - */ - select?: Prisma.TaskSelectCreateManyAndReturn | null - /** - * Omit specific fields from the Task - */ - omit?: Prisma.TaskOmit | null - /** - * The data used to create many Tasks. - */ - data: Prisma.TaskCreateManyInput | Prisma.TaskCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TaskIncludeCreateManyAndReturn | null -} - -/** - * Task update - */ -export type TaskUpdateArgs = { - /** - * Select specific fields to fetch from the Task - */ - select?: Prisma.TaskSelect | null - /** - * Omit specific fields from the Task - */ - omit?: Prisma.TaskOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TaskInclude | null - /** - * The data needed to update a Task. - */ - data: Prisma.XOR - /** - * Choose, which Task to update. - */ - where: Prisma.TaskWhereUniqueInput -} - -/** - * Task updateMany - */ -export type TaskUpdateManyArgs = { - /** - * The data used to update Tasks. - */ - data: Prisma.XOR - /** - * Filter which Tasks to update - */ - where?: Prisma.TaskWhereInput - /** - * Limit how many Tasks to update. - */ - limit?: number -} - -/** - * Task updateManyAndReturn - */ -export type TaskUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Task - */ - select?: Prisma.TaskSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the Task - */ - omit?: Prisma.TaskOmit | null - /** - * The data used to update Tasks. - */ - data: Prisma.XOR - /** - * Filter which Tasks to update - */ - where?: Prisma.TaskWhereInput - /** - * Limit how many Tasks to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TaskIncludeUpdateManyAndReturn | null -} - -/** - * Task upsert - */ -export type TaskUpsertArgs = { - /** - * Select specific fields to fetch from the Task - */ - select?: Prisma.TaskSelect | null - /** - * Omit specific fields from the Task - */ - omit?: Prisma.TaskOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TaskInclude | null - /** - * The filter to search for the Task to update in case it exists. - */ - where: Prisma.TaskWhereUniqueInput - /** - * In case the Task found by the `where` argument doesn't exist, create a new Task with this data. - */ - create: Prisma.XOR - /** - * In case the Task was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * Task delete - */ -export type TaskDeleteArgs = { - /** - * Select specific fields to fetch from the Task - */ - select?: Prisma.TaskSelect | null - /** - * Omit specific fields from the Task - */ - omit?: Prisma.TaskOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TaskInclude | null - /** - * Filter which Task to delete. - */ - where: Prisma.TaskWhereUniqueInput -} - -/** - * Task deleteMany - */ -export type TaskDeleteManyArgs = { - /** - * Filter which Tasks to delete - */ - where?: Prisma.TaskWhereInput - /** - * Limit how many Tasks to delete. - */ - limit?: number -} - -/** - * Task.creator - */ -export type Task$creatorArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null - where?: Prisma.UserWhereInput -} - -/** - * Task.assets - */ -export type Task$assetsArgs = { - /** - * Select specific fields to fetch from the Asset - */ - select?: Prisma.AssetSelect | null - /** - * Omit specific fields from the Asset - */ - omit?: Prisma.AssetOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetInclude | null - where?: Prisma.AssetWhereInput - orderBy?: Prisma.AssetOrderByWithRelationInput | Prisma.AssetOrderByWithRelationInput[] - cursor?: Prisma.AssetWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.AssetScalarFieldEnum | Prisma.AssetScalarFieldEnum[] -} - -/** - * Task.notifications - */ -export type Task$notificationsArgs = { - /** - * Select specific fields to fetch from the Notification - */ - select?: Prisma.NotificationSelect | null - /** - * Omit specific fields from the Notification - */ - omit?: Prisma.NotificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.NotificationInclude | null - where?: Prisma.NotificationWhereInput - orderBy?: Prisma.NotificationOrderByWithRelationInput | Prisma.NotificationOrderByWithRelationInput[] - cursor?: Prisma.NotificationWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.NotificationScalarFieldEnum | Prisma.NotificationScalarFieldEnum[] -} - -/** - * Task without action - */ -export type TaskDefaultArgs = { - /** - * Select specific fields to fetch from the Task - */ - select?: Prisma.TaskSelect | null - /** - * Omit specific fields from the Task - */ - omit?: Prisma.TaskOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TaskInclude | null -} diff --git a/src/generated/prisma/models/Team.ts b/src/generated/prisma/models/Team.ts deleted file mode 100644 index 1aa6ff4e..00000000 --- a/src/generated/prisma/models/Team.ts +++ /dev/null @@ -1,2860 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `Team` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model Team - * - */ -export type TeamModel = runtime.Types.Result.DefaultSelection - -export type AggregateTeam = { - _count: TeamCountAggregateOutputType | null - _min: TeamMinAggregateOutputType | null - _max: TeamMaxAggregateOutputType | null -} - -export type TeamMinAggregateOutputType = { - id: string | null - name: string | null - createdAt: Date | null - updatedAt: Date | null - rootFolderId: string | null -} - -export type TeamMaxAggregateOutputType = { - id: string | null - name: string | null - createdAt: Date | null - updatedAt: Date | null - rootFolderId: string | null -} - -export type TeamCountAggregateOutputType = { - id: number - name: number - settings:PrismaJson.Settings - createdAt: number - updatedAt: number - rootFolderId: number - _all: number -} - - -export type TeamMinAggregateInputType = { - id?: true - name?: true - createdAt?: true - updatedAt?: true - rootFolderId?: true -} - -export type TeamMaxAggregateInputType = { - id?: true - name?: true - createdAt?: true - updatedAt?: true - rootFolderId?: true -} - -export type TeamCountAggregateInputType = { - id?: true - name?: true - settings?: true - createdAt?: true - updatedAt?: true - rootFolderId?: true - _all?: true -} - -export type TeamAggregateArgs = { - /** - * Filter which Team to aggregate. - */ - where?: Prisma.TeamWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Teams to fetch. - */ - orderBy?: Prisma.TeamOrderByWithRelationInput | Prisma.TeamOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.TeamWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Teams from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Teams. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Teams - **/ - _count?: true | TeamCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: TeamMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: TeamMaxAggregateInputType -} - -export type GetTeamAggregateType = { - [P in keyof T & keyof AggregateTeam]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type TeamGroupByArgs = { - where?: Prisma.TeamWhereInput - orderBy?: Prisma.TeamOrderByWithAggregationInput | Prisma.TeamOrderByWithAggregationInput[] - by: Prisma.TeamScalarFieldEnum[] | Prisma.TeamScalarFieldEnum - having?: Prisma.TeamScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: TeamCountAggregateInputType | true - _min?: TeamMinAggregateInputType - _max?: TeamMaxAggregateInputType -} - -export type TeamGroupByOutputType = { - id: string - name: string - settings:PrismaJson.Settings | null - createdAt: Date - updatedAt: Date - rootFolderId: string | null - _count: TeamCountAggregateOutputType | null - _min: TeamMinAggregateOutputType | null - _max: TeamMaxAggregateOutputType | null -} - -export type GetTeamGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof TeamGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type TeamWhereInput = { - AND?: Prisma.TeamWhereInput | Prisma.TeamWhereInput[] - OR?: Prisma.TeamWhereInput[] - NOT?: Prisma.TeamWhereInput | Prisma.TeamWhereInput[] - id?: Prisma.StringFilter<"Team"> | string - name?: Prisma.StringFilter<"Team"> | string - settings?: Prisma.JsonNullableFilter<"Team"> - createdAt?: Prisma.DateTimeFilter<"Team"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Team"> | Date | string - rootFolderId?: Prisma.StringNullableFilter<"Team"> | string | null - rootFolder?: Prisma.XOR | null - members?: Prisma.TeamMemberListRelationFilter - projects?: Prisma.ProjectListRelationFilter - metadataFields?: Prisma.MetadataFieldListRelationFilter - invites?: Prisma.InviteListRelationFilter - notifications?: Prisma.NotificationListRelationFilter - userMetadata?: Prisma.UserMetadataListRelationFilter - providers?: Prisma.ProviderListRelationFilter - skills?: Prisma.SkillListRelationFilter - sandbox?: Prisma.XOR | null - agents?: Prisma.AgentListRelationFilter -} - -export type TeamOrderByWithRelationInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - settings?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - rootFolderId?: Prisma.SortOrderInput | Prisma.SortOrder - rootFolder?: Prisma.AssetOrderByWithRelationInput - members?: Prisma.TeamMemberOrderByRelationAggregateInput - projects?: Prisma.ProjectOrderByRelationAggregateInput - metadataFields?: Prisma.MetadataFieldOrderByRelationAggregateInput - invites?: Prisma.InviteOrderByRelationAggregateInput - notifications?: Prisma.NotificationOrderByRelationAggregateInput - userMetadata?: Prisma.UserMetadataOrderByRelationAggregateInput - providers?: Prisma.ProviderOrderByRelationAggregateInput - skills?: Prisma.SkillOrderByRelationAggregateInput - sandbox?: Prisma.SandboxOrderByWithRelationInput - agents?: Prisma.AgentOrderByRelationAggregateInput -} - -export type TeamWhereUniqueInput = Prisma.AtLeast<{ - id?: string - rootFolderId?: string - AND?: Prisma.TeamWhereInput | Prisma.TeamWhereInput[] - OR?: Prisma.TeamWhereInput[] - NOT?: Prisma.TeamWhereInput | Prisma.TeamWhereInput[] - name?: Prisma.StringFilter<"Team"> | string - settings?: Prisma.JsonNullableFilter<"Team"> - createdAt?: Prisma.DateTimeFilter<"Team"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"Team"> | Date | string - rootFolder?: Prisma.XOR | null - members?: Prisma.TeamMemberListRelationFilter - projects?: Prisma.ProjectListRelationFilter - metadataFields?: Prisma.MetadataFieldListRelationFilter - invites?: Prisma.InviteListRelationFilter - notifications?: Prisma.NotificationListRelationFilter - userMetadata?: Prisma.UserMetadataListRelationFilter - providers?: Prisma.ProviderListRelationFilter - skills?: Prisma.SkillListRelationFilter - sandbox?: Prisma.XOR | null - agents?: Prisma.AgentListRelationFilter -}, "id" | "rootFolderId"> - -export type TeamOrderByWithAggregationInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - settings?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - rootFolderId?: Prisma.SortOrderInput | Prisma.SortOrder - _count?: Prisma.TeamCountOrderByAggregateInput - _max?: Prisma.TeamMaxOrderByAggregateInput - _min?: Prisma.TeamMinOrderByAggregateInput -} - -export type TeamScalarWhereWithAggregatesInput = { - AND?: Prisma.TeamScalarWhereWithAggregatesInput | Prisma.TeamScalarWhereWithAggregatesInput[] - OR?: Prisma.TeamScalarWhereWithAggregatesInput[] - NOT?: Prisma.TeamScalarWhereWithAggregatesInput | Prisma.TeamScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"Team"> | string - name?: Prisma.StringWithAggregatesFilter<"Team"> | string - settings?: Prisma.JsonNullableWithAggregatesFilter<"Team"> - createdAt?: Prisma.DateTimeWithAggregatesFilter<"Team"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Team"> | Date | string - rootFolderId?: Prisma.StringNullableWithAggregatesFilter<"Team"> | string | null -} - -export type TeamCreateInput = { - id?: string - name: string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - rootFolder?: Prisma.AssetCreateNestedOneWithoutTeamRootFolderInput - members?: Prisma.TeamMemberCreateNestedManyWithoutTeamInput - projects?: Prisma.ProjectCreateNestedManyWithoutTeamInput - metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutTeamInput - invites?: Prisma.InviteCreateNestedManyWithoutTeamInput - notifications?: Prisma.NotificationCreateNestedManyWithoutTeamInput - userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutTeamInput - providers?: Prisma.ProviderCreateNestedManyWithoutTeamInput - skills?: Prisma.SkillCreateNestedManyWithoutTeamInput - sandbox?: Prisma.SandboxCreateNestedOneWithoutTeamInput - agents?: Prisma.AgentCreateNestedManyWithoutTeamInput -} - -export type TeamUncheckedCreateInput = { - id?: string - name: string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - rootFolderId?: string | null - members?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutTeamInput - projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutTeamInput - metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutTeamInput - invites?: Prisma.InviteUncheckedCreateNestedManyWithoutTeamInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTeamInput - userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutTeamInput - providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutTeamInput - skills?: Prisma.SkillUncheckedCreateNestedManyWithoutTeamInput - sandbox?: Prisma.SandboxUncheckedCreateNestedOneWithoutTeamInput - agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput -} - -export type TeamUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolder?: Prisma.AssetUpdateOneWithoutTeamRootFolderNestedInput - members?: Prisma.TeamMemberUpdateManyWithoutTeamNestedInput - projects?: Prisma.ProjectUpdateManyWithoutTeamNestedInput - metadataFields?: Prisma.MetadataFieldUpdateManyWithoutTeamNestedInput - invites?: Prisma.InviteUpdateManyWithoutTeamNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutTeamNestedInput - userMetadata?: Prisma.UserMetadataUpdateManyWithoutTeamNestedInput - providers?: Prisma.ProviderUpdateManyWithoutTeamNestedInput - skills?: Prisma.SkillUpdateManyWithoutTeamNestedInput - sandbox?: Prisma.SandboxUpdateOneWithoutTeamNestedInput - agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput -} - -export type TeamUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - members?: Prisma.TeamMemberUncheckedUpdateManyWithoutTeamNestedInput - projects?: Prisma.ProjectUncheckedUpdateManyWithoutTeamNestedInput - metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutTeamNestedInput - invites?: Prisma.InviteUncheckedUpdateManyWithoutTeamNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTeamNestedInput - userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutTeamNestedInput - providers?: Prisma.ProviderUncheckedUpdateManyWithoutTeamNestedInput - skills?: Prisma.SkillUncheckedUpdateManyWithoutTeamNestedInput - sandbox?: Prisma.SandboxUncheckedUpdateOneWithoutTeamNestedInput - agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput -} - -export type TeamCreateManyInput = { - id?: string - name: string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - rootFolderId?: string | null -} - -export type TeamUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type TeamUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type TeamCountOrderByAggregateInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - settings?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - rootFolderId?: Prisma.SortOrder -} - -export type TeamMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - rootFolderId?: Prisma.SortOrder -} - -export type TeamMinOrderByAggregateInput = { - id?: Prisma.SortOrder - name?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - rootFolderId?: Prisma.SortOrder -} - -export type TeamScalarRelationFilter = { - is?: Prisma.TeamWhereInput - isNot?: Prisma.TeamWhereInput -} - -export type TeamNullableScalarRelationFilter = { - is?: Prisma.TeamWhereInput | null - isNot?: Prisma.TeamWhereInput | null -} - -export type TeamCreateNestedOneWithoutSandboxInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamCreateOrConnectWithoutSandboxInput - connect?: Prisma.TeamWhereUniqueInput -} - -export type TeamUpdateOneRequiredWithoutSandboxNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamCreateOrConnectWithoutSandboxInput - upsert?: Prisma.TeamUpsertWithoutSandboxInput - connect?: Prisma.TeamWhereUniqueInput - update?: Prisma.XOR, Prisma.TeamUncheckedUpdateWithoutSandboxInput> -} - -export type TeamCreateNestedOneWithoutSkillsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamCreateOrConnectWithoutSkillsInput - connect?: Prisma.TeamWhereUniqueInput -} - -export type TeamUpdateOneRequiredWithoutSkillsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamCreateOrConnectWithoutSkillsInput - upsert?: Prisma.TeamUpsertWithoutSkillsInput - connect?: Prisma.TeamWhereUniqueInput - update?: Prisma.XOR, Prisma.TeamUncheckedUpdateWithoutSkillsInput> -} - -export type TeamCreateNestedOneWithoutMembersInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamCreateOrConnectWithoutMembersInput - connect?: Prisma.TeamWhereUniqueInput -} - -export type TeamUpdateOneRequiredWithoutMembersNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamCreateOrConnectWithoutMembersInput - upsert?: Prisma.TeamUpsertWithoutMembersInput - connect?: Prisma.TeamWhereUniqueInput - update?: Prisma.XOR, Prisma.TeamUncheckedUpdateWithoutMembersInput> -} - -export type TeamCreateNestedOneWithoutProjectsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamCreateOrConnectWithoutProjectsInput - connect?: Prisma.TeamWhereUniqueInput -} - -export type TeamUpdateOneRequiredWithoutProjectsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamCreateOrConnectWithoutProjectsInput - upsert?: Prisma.TeamUpsertWithoutProjectsInput - connect?: Prisma.TeamWhereUniqueInput - update?: Prisma.XOR, Prisma.TeamUncheckedUpdateWithoutProjectsInput> -} - -export type TeamCreateNestedOneWithoutRootFolderInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamCreateOrConnectWithoutRootFolderInput - connect?: Prisma.TeamWhereUniqueInput -} - -export type TeamUncheckedCreateNestedOneWithoutRootFolderInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamCreateOrConnectWithoutRootFolderInput - connect?: Prisma.TeamWhereUniqueInput -} - -export type TeamUpdateOneWithoutRootFolderNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamCreateOrConnectWithoutRootFolderInput - upsert?: Prisma.TeamUpsertWithoutRootFolderInput - disconnect?: Prisma.TeamWhereInput | boolean - delete?: Prisma.TeamWhereInput | boolean - connect?: Prisma.TeamWhereUniqueInput - update?: Prisma.XOR, Prisma.TeamUncheckedUpdateWithoutRootFolderInput> -} - -export type TeamUncheckedUpdateOneWithoutRootFolderNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamCreateOrConnectWithoutRootFolderInput - upsert?: Prisma.TeamUpsertWithoutRootFolderInput - disconnect?: Prisma.TeamWhereInput | boolean - delete?: Prisma.TeamWhereInput | boolean - connect?: Prisma.TeamWhereUniqueInput - update?: Prisma.XOR, Prisma.TeamUncheckedUpdateWithoutRootFolderInput> -} - -export type TeamCreateNestedOneWithoutInvitesInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamCreateOrConnectWithoutInvitesInput - connect?: Prisma.TeamWhereUniqueInput -} - -export type TeamUpdateOneRequiredWithoutInvitesNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamCreateOrConnectWithoutInvitesInput - upsert?: Prisma.TeamUpsertWithoutInvitesInput - connect?: Prisma.TeamWhereUniqueInput - update?: Prisma.XOR, Prisma.TeamUncheckedUpdateWithoutInvitesInput> -} - -export type TeamCreateNestedOneWithoutMetadataFieldsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamCreateOrConnectWithoutMetadataFieldsInput - connect?: Prisma.TeamWhereUniqueInput -} - -export type TeamUpdateOneWithoutMetadataFieldsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamCreateOrConnectWithoutMetadataFieldsInput - upsert?: Prisma.TeamUpsertWithoutMetadataFieldsInput - disconnect?: Prisma.TeamWhereInput | boolean - delete?: Prisma.TeamWhereInput | boolean - connect?: Prisma.TeamWhereUniqueInput - update?: Prisma.XOR, Prisma.TeamUncheckedUpdateWithoutMetadataFieldsInput> -} - -export type TeamCreateNestedOneWithoutNotificationsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamCreateOrConnectWithoutNotificationsInput - connect?: Prisma.TeamWhereUniqueInput -} - -export type TeamUpdateOneRequiredWithoutNotificationsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamCreateOrConnectWithoutNotificationsInput - upsert?: Prisma.TeamUpsertWithoutNotificationsInput - connect?: Prisma.TeamWhereUniqueInput - update?: Prisma.XOR, Prisma.TeamUncheckedUpdateWithoutNotificationsInput> -} - -export type TeamCreateNestedOneWithoutAgentsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamCreateOrConnectWithoutAgentsInput - connect?: Prisma.TeamWhereUniqueInput -} - -export type TeamUpdateOneRequiredWithoutAgentsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamCreateOrConnectWithoutAgentsInput - upsert?: Prisma.TeamUpsertWithoutAgentsInput - connect?: Prisma.TeamWhereUniqueInput - update?: Prisma.XOR, Prisma.TeamUncheckedUpdateWithoutAgentsInput> -} - -export type TeamCreateNestedOneWithoutUserMetadataInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamCreateOrConnectWithoutUserMetadataInput - connect?: Prisma.TeamWhereUniqueInput -} - -export type TeamUpdateOneRequiredWithoutUserMetadataNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamCreateOrConnectWithoutUserMetadataInput - upsert?: Prisma.TeamUpsertWithoutUserMetadataInput - connect?: Prisma.TeamWhereUniqueInput - update?: Prisma.XOR, Prisma.TeamUncheckedUpdateWithoutUserMetadataInput> -} - -export type TeamCreateNestedOneWithoutProvidersInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamCreateOrConnectWithoutProvidersInput - connect?: Prisma.TeamWhereUniqueInput -} - -export type TeamUpdateOneRequiredWithoutProvidersNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamCreateOrConnectWithoutProvidersInput - upsert?: Prisma.TeamUpsertWithoutProvidersInput - connect?: Prisma.TeamWhereUniqueInput - update?: Prisma.XOR, Prisma.TeamUncheckedUpdateWithoutProvidersInput> -} - -export type TeamCreateWithoutSandboxInput = { - id?: string - name: string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - rootFolder?: Prisma.AssetCreateNestedOneWithoutTeamRootFolderInput - members?: Prisma.TeamMemberCreateNestedManyWithoutTeamInput - projects?: Prisma.ProjectCreateNestedManyWithoutTeamInput - metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutTeamInput - invites?: Prisma.InviteCreateNestedManyWithoutTeamInput - notifications?: Prisma.NotificationCreateNestedManyWithoutTeamInput - userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutTeamInput - providers?: Prisma.ProviderCreateNestedManyWithoutTeamInput - skills?: Prisma.SkillCreateNestedManyWithoutTeamInput - agents?: Prisma.AgentCreateNestedManyWithoutTeamInput -} - -export type TeamUncheckedCreateWithoutSandboxInput = { - id?: string - name: string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - rootFolderId?: string | null - members?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutTeamInput - projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutTeamInput - metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutTeamInput - invites?: Prisma.InviteUncheckedCreateNestedManyWithoutTeamInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTeamInput - userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutTeamInput - providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutTeamInput - skills?: Prisma.SkillUncheckedCreateNestedManyWithoutTeamInput - agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput -} - -export type TeamCreateOrConnectWithoutSandboxInput = { - where: Prisma.TeamWhereUniqueInput - create: Prisma.XOR -} - -export type TeamUpsertWithoutSandboxInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.TeamWhereInput -} - -export type TeamUpdateToOneWithWhereWithoutSandboxInput = { - where?: Prisma.TeamWhereInput - data: Prisma.XOR -} - -export type TeamUpdateWithoutSandboxInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolder?: Prisma.AssetUpdateOneWithoutTeamRootFolderNestedInput - members?: Prisma.TeamMemberUpdateManyWithoutTeamNestedInput - projects?: Prisma.ProjectUpdateManyWithoutTeamNestedInput - metadataFields?: Prisma.MetadataFieldUpdateManyWithoutTeamNestedInput - invites?: Prisma.InviteUpdateManyWithoutTeamNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutTeamNestedInput - userMetadata?: Prisma.UserMetadataUpdateManyWithoutTeamNestedInput - providers?: Prisma.ProviderUpdateManyWithoutTeamNestedInput - skills?: Prisma.SkillUpdateManyWithoutTeamNestedInput - agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput -} - -export type TeamUncheckedUpdateWithoutSandboxInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - members?: Prisma.TeamMemberUncheckedUpdateManyWithoutTeamNestedInput - projects?: Prisma.ProjectUncheckedUpdateManyWithoutTeamNestedInput - metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutTeamNestedInput - invites?: Prisma.InviteUncheckedUpdateManyWithoutTeamNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTeamNestedInput - userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutTeamNestedInput - providers?: Prisma.ProviderUncheckedUpdateManyWithoutTeamNestedInput - skills?: Prisma.SkillUncheckedUpdateManyWithoutTeamNestedInput - agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput -} - -export type TeamCreateWithoutSkillsInput = { - id?: string - name: string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - rootFolder?: Prisma.AssetCreateNestedOneWithoutTeamRootFolderInput - members?: Prisma.TeamMemberCreateNestedManyWithoutTeamInput - projects?: Prisma.ProjectCreateNestedManyWithoutTeamInput - metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutTeamInput - invites?: Prisma.InviteCreateNestedManyWithoutTeamInput - notifications?: Prisma.NotificationCreateNestedManyWithoutTeamInput - userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutTeamInput - providers?: Prisma.ProviderCreateNestedManyWithoutTeamInput - sandbox?: Prisma.SandboxCreateNestedOneWithoutTeamInput - agents?: Prisma.AgentCreateNestedManyWithoutTeamInput -} - -export type TeamUncheckedCreateWithoutSkillsInput = { - id?: string - name: string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - rootFolderId?: string | null - members?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutTeamInput - projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutTeamInput - metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutTeamInput - invites?: Prisma.InviteUncheckedCreateNestedManyWithoutTeamInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTeamInput - userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutTeamInput - providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutTeamInput - sandbox?: Prisma.SandboxUncheckedCreateNestedOneWithoutTeamInput - agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput -} - -export type TeamCreateOrConnectWithoutSkillsInput = { - where: Prisma.TeamWhereUniqueInput - create: Prisma.XOR -} - -export type TeamUpsertWithoutSkillsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.TeamWhereInput -} - -export type TeamUpdateToOneWithWhereWithoutSkillsInput = { - where?: Prisma.TeamWhereInput - data: Prisma.XOR -} - -export type TeamUpdateWithoutSkillsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolder?: Prisma.AssetUpdateOneWithoutTeamRootFolderNestedInput - members?: Prisma.TeamMemberUpdateManyWithoutTeamNestedInput - projects?: Prisma.ProjectUpdateManyWithoutTeamNestedInput - metadataFields?: Prisma.MetadataFieldUpdateManyWithoutTeamNestedInput - invites?: Prisma.InviteUpdateManyWithoutTeamNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutTeamNestedInput - userMetadata?: Prisma.UserMetadataUpdateManyWithoutTeamNestedInput - providers?: Prisma.ProviderUpdateManyWithoutTeamNestedInput - sandbox?: Prisma.SandboxUpdateOneWithoutTeamNestedInput - agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput -} - -export type TeamUncheckedUpdateWithoutSkillsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - members?: Prisma.TeamMemberUncheckedUpdateManyWithoutTeamNestedInput - projects?: Prisma.ProjectUncheckedUpdateManyWithoutTeamNestedInput - metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutTeamNestedInput - invites?: Prisma.InviteUncheckedUpdateManyWithoutTeamNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTeamNestedInput - userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutTeamNestedInput - providers?: Prisma.ProviderUncheckedUpdateManyWithoutTeamNestedInput - sandbox?: Prisma.SandboxUncheckedUpdateOneWithoutTeamNestedInput - agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput -} - -export type TeamCreateWithoutMembersInput = { - id?: string - name: string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - rootFolder?: Prisma.AssetCreateNestedOneWithoutTeamRootFolderInput - projects?: Prisma.ProjectCreateNestedManyWithoutTeamInput - metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutTeamInput - invites?: Prisma.InviteCreateNestedManyWithoutTeamInput - notifications?: Prisma.NotificationCreateNestedManyWithoutTeamInput - userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutTeamInput - providers?: Prisma.ProviderCreateNestedManyWithoutTeamInput - skills?: Prisma.SkillCreateNestedManyWithoutTeamInput - sandbox?: Prisma.SandboxCreateNestedOneWithoutTeamInput - agents?: Prisma.AgentCreateNestedManyWithoutTeamInput -} - -export type TeamUncheckedCreateWithoutMembersInput = { - id?: string - name: string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - rootFolderId?: string | null - projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutTeamInput - metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutTeamInput - invites?: Prisma.InviteUncheckedCreateNestedManyWithoutTeamInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTeamInput - userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutTeamInput - providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutTeamInput - skills?: Prisma.SkillUncheckedCreateNestedManyWithoutTeamInput - sandbox?: Prisma.SandboxUncheckedCreateNestedOneWithoutTeamInput - agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput -} - -export type TeamCreateOrConnectWithoutMembersInput = { - where: Prisma.TeamWhereUniqueInput - create: Prisma.XOR -} - -export type TeamUpsertWithoutMembersInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.TeamWhereInput -} - -export type TeamUpdateToOneWithWhereWithoutMembersInput = { - where?: Prisma.TeamWhereInput - data: Prisma.XOR -} - -export type TeamUpdateWithoutMembersInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolder?: Prisma.AssetUpdateOneWithoutTeamRootFolderNestedInput - projects?: Prisma.ProjectUpdateManyWithoutTeamNestedInput - metadataFields?: Prisma.MetadataFieldUpdateManyWithoutTeamNestedInput - invites?: Prisma.InviteUpdateManyWithoutTeamNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutTeamNestedInput - userMetadata?: Prisma.UserMetadataUpdateManyWithoutTeamNestedInput - providers?: Prisma.ProviderUpdateManyWithoutTeamNestedInput - skills?: Prisma.SkillUpdateManyWithoutTeamNestedInput - sandbox?: Prisma.SandboxUpdateOneWithoutTeamNestedInput - agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput -} - -export type TeamUncheckedUpdateWithoutMembersInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projects?: Prisma.ProjectUncheckedUpdateManyWithoutTeamNestedInput - metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutTeamNestedInput - invites?: Prisma.InviteUncheckedUpdateManyWithoutTeamNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTeamNestedInput - userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutTeamNestedInput - providers?: Prisma.ProviderUncheckedUpdateManyWithoutTeamNestedInput - skills?: Prisma.SkillUncheckedUpdateManyWithoutTeamNestedInput - sandbox?: Prisma.SandboxUncheckedUpdateOneWithoutTeamNestedInput - agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput -} - -export type TeamCreateWithoutProjectsInput = { - id?: string - name: string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - rootFolder?: Prisma.AssetCreateNestedOneWithoutTeamRootFolderInput - members?: Prisma.TeamMemberCreateNestedManyWithoutTeamInput - metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutTeamInput - invites?: Prisma.InviteCreateNestedManyWithoutTeamInput - notifications?: Prisma.NotificationCreateNestedManyWithoutTeamInput - userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutTeamInput - providers?: Prisma.ProviderCreateNestedManyWithoutTeamInput - skills?: Prisma.SkillCreateNestedManyWithoutTeamInput - sandbox?: Prisma.SandboxCreateNestedOneWithoutTeamInput - agents?: Prisma.AgentCreateNestedManyWithoutTeamInput -} - -export type TeamUncheckedCreateWithoutProjectsInput = { - id?: string - name: string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - rootFolderId?: string | null - members?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutTeamInput - metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutTeamInput - invites?: Prisma.InviteUncheckedCreateNestedManyWithoutTeamInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTeamInput - userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutTeamInput - providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutTeamInput - skills?: Prisma.SkillUncheckedCreateNestedManyWithoutTeamInput - sandbox?: Prisma.SandboxUncheckedCreateNestedOneWithoutTeamInput - agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput -} - -export type TeamCreateOrConnectWithoutProjectsInput = { - where: Prisma.TeamWhereUniqueInput - create: Prisma.XOR -} - -export type TeamUpsertWithoutProjectsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.TeamWhereInput -} - -export type TeamUpdateToOneWithWhereWithoutProjectsInput = { - where?: Prisma.TeamWhereInput - data: Prisma.XOR -} - -export type TeamUpdateWithoutProjectsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolder?: Prisma.AssetUpdateOneWithoutTeamRootFolderNestedInput - members?: Prisma.TeamMemberUpdateManyWithoutTeamNestedInput - metadataFields?: Prisma.MetadataFieldUpdateManyWithoutTeamNestedInput - invites?: Prisma.InviteUpdateManyWithoutTeamNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutTeamNestedInput - userMetadata?: Prisma.UserMetadataUpdateManyWithoutTeamNestedInput - providers?: Prisma.ProviderUpdateManyWithoutTeamNestedInput - skills?: Prisma.SkillUpdateManyWithoutTeamNestedInput - sandbox?: Prisma.SandboxUpdateOneWithoutTeamNestedInput - agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput -} - -export type TeamUncheckedUpdateWithoutProjectsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - members?: Prisma.TeamMemberUncheckedUpdateManyWithoutTeamNestedInput - metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutTeamNestedInput - invites?: Prisma.InviteUncheckedUpdateManyWithoutTeamNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTeamNestedInput - userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutTeamNestedInput - providers?: Prisma.ProviderUncheckedUpdateManyWithoutTeamNestedInput - skills?: Prisma.SkillUncheckedUpdateManyWithoutTeamNestedInput - sandbox?: Prisma.SandboxUncheckedUpdateOneWithoutTeamNestedInput - agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput -} - -export type TeamCreateWithoutRootFolderInput = { - id?: string - name: string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - members?: Prisma.TeamMemberCreateNestedManyWithoutTeamInput - projects?: Prisma.ProjectCreateNestedManyWithoutTeamInput - metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutTeamInput - invites?: Prisma.InviteCreateNestedManyWithoutTeamInput - notifications?: Prisma.NotificationCreateNestedManyWithoutTeamInput - userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutTeamInput - providers?: Prisma.ProviderCreateNestedManyWithoutTeamInput - skills?: Prisma.SkillCreateNestedManyWithoutTeamInput - sandbox?: Prisma.SandboxCreateNestedOneWithoutTeamInput - agents?: Prisma.AgentCreateNestedManyWithoutTeamInput -} - -export type TeamUncheckedCreateWithoutRootFolderInput = { - id?: string - name: string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - members?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutTeamInput - projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutTeamInput - metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutTeamInput - invites?: Prisma.InviteUncheckedCreateNestedManyWithoutTeamInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTeamInput - userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutTeamInput - providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutTeamInput - skills?: Prisma.SkillUncheckedCreateNestedManyWithoutTeamInput - sandbox?: Prisma.SandboxUncheckedCreateNestedOneWithoutTeamInput - agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput -} - -export type TeamCreateOrConnectWithoutRootFolderInput = { - where: Prisma.TeamWhereUniqueInput - create: Prisma.XOR -} - -export type TeamUpsertWithoutRootFolderInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.TeamWhereInput -} - -export type TeamUpdateToOneWithWhereWithoutRootFolderInput = { - where?: Prisma.TeamWhereInput - data: Prisma.XOR -} - -export type TeamUpdateWithoutRootFolderInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - members?: Prisma.TeamMemberUpdateManyWithoutTeamNestedInput - projects?: Prisma.ProjectUpdateManyWithoutTeamNestedInput - metadataFields?: Prisma.MetadataFieldUpdateManyWithoutTeamNestedInput - invites?: Prisma.InviteUpdateManyWithoutTeamNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutTeamNestedInput - userMetadata?: Prisma.UserMetadataUpdateManyWithoutTeamNestedInput - providers?: Prisma.ProviderUpdateManyWithoutTeamNestedInput - skills?: Prisma.SkillUpdateManyWithoutTeamNestedInput - sandbox?: Prisma.SandboxUpdateOneWithoutTeamNestedInput - agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput -} - -export type TeamUncheckedUpdateWithoutRootFolderInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - members?: Prisma.TeamMemberUncheckedUpdateManyWithoutTeamNestedInput - projects?: Prisma.ProjectUncheckedUpdateManyWithoutTeamNestedInput - metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutTeamNestedInput - invites?: Prisma.InviteUncheckedUpdateManyWithoutTeamNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTeamNestedInput - userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutTeamNestedInput - providers?: Prisma.ProviderUncheckedUpdateManyWithoutTeamNestedInput - skills?: Prisma.SkillUncheckedUpdateManyWithoutTeamNestedInput - sandbox?: Prisma.SandboxUncheckedUpdateOneWithoutTeamNestedInput - agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput -} - -export type TeamCreateWithoutInvitesInput = { - id?: string - name: string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - rootFolder?: Prisma.AssetCreateNestedOneWithoutTeamRootFolderInput - members?: Prisma.TeamMemberCreateNestedManyWithoutTeamInput - projects?: Prisma.ProjectCreateNestedManyWithoutTeamInput - metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutTeamInput - notifications?: Prisma.NotificationCreateNestedManyWithoutTeamInput - userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutTeamInput - providers?: Prisma.ProviderCreateNestedManyWithoutTeamInput - skills?: Prisma.SkillCreateNestedManyWithoutTeamInput - sandbox?: Prisma.SandboxCreateNestedOneWithoutTeamInput - agents?: Prisma.AgentCreateNestedManyWithoutTeamInput -} - -export type TeamUncheckedCreateWithoutInvitesInput = { - id?: string - name: string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - rootFolderId?: string | null - members?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutTeamInput - projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutTeamInput - metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutTeamInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTeamInput - userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutTeamInput - providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutTeamInput - skills?: Prisma.SkillUncheckedCreateNestedManyWithoutTeamInput - sandbox?: Prisma.SandboxUncheckedCreateNestedOneWithoutTeamInput - agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput -} - -export type TeamCreateOrConnectWithoutInvitesInput = { - where: Prisma.TeamWhereUniqueInput - create: Prisma.XOR -} - -export type TeamUpsertWithoutInvitesInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.TeamWhereInput -} - -export type TeamUpdateToOneWithWhereWithoutInvitesInput = { - where?: Prisma.TeamWhereInput - data: Prisma.XOR -} - -export type TeamUpdateWithoutInvitesInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolder?: Prisma.AssetUpdateOneWithoutTeamRootFolderNestedInput - members?: Prisma.TeamMemberUpdateManyWithoutTeamNestedInput - projects?: Prisma.ProjectUpdateManyWithoutTeamNestedInput - metadataFields?: Prisma.MetadataFieldUpdateManyWithoutTeamNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutTeamNestedInput - userMetadata?: Prisma.UserMetadataUpdateManyWithoutTeamNestedInput - providers?: Prisma.ProviderUpdateManyWithoutTeamNestedInput - skills?: Prisma.SkillUpdateManyWithoutTeamNestedInput - sandbox?: Prisma.SandboxUpdateOneWithoutTeamNestedInput - agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput -} - -export type TeamUncheckedUpdateWithoutInvitesInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - members?: Prisma.TeamMemberUncheckedUpdateManyWithoutTeamNestedInput - projects?: Prisma.ProjectUncheckedUpdateManyWithoutTeamNestedInput - metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutTeamNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTeamNestedInput - userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutTeamNestedInput - providers?: Prisma.ProviderUncheckedUpdateManyWithoutTeamNestedInput - skills?: Prisma.SkillUncheckedUpdateManyWithoutTeamNestedInput - sandbox?: Prisma.SandboxUncheckedUpdateOneWithoutTeamNestedInput - agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput -} - -export type TeamCreateWithoutMetadataFieldsInput = { - id?: string - name: string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - rootFolder?: Prisma.AssetCreateNestedOneWithoutTeamRootFolderInput - members?: Prisma.TeamMemberCreateNestedManyWithoutTeamInput - projects?: Prisma.ProjectCreateNestedManyWithoutTeamInput - invites?: Prisma.InviteCreateNestedManyWithoutTeamInput - notifications?: Prisma.NotificationCreateNestedManyWithoutTeamInput - userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutTeamInput - providers?: Prisma.ProviderCreateNestedManyWithoutTeamInput - skills?: Prisma.SkillCreateNestedManyWithoutTeamInput - sandbox?: Prisma.SandboxCreateNestedOneWithoutTeamInput - agents?: Prisma.AgentCreateNestedManyWithoutTeamInput -} - -export type TeamUncheckedCreateWithoutMetadataFieldsInput = { - id?: string - name: string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - rootFolderId?: string | null - members?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutTeamInput - projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutTeamInput - invites?: Prisma.InviteUncheckedCreateNestedManyWithoutTeamInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTeamInput - userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutTeamInput - providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutTeamInput - skills?: Prisma.SkillUncheckedCreateNestedManyWithoutTeamInput - sandbox?: Prisma.SandboxUncheckedCreateNestedOneWithoutTeamInput - agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput -} - -export type TeamCreateOrConnectWithoutMetadataFieldsInput = { - where: Prisma.TeamWhereUniqueInput - create: Prisma.XOR -} - -export type TeamUpsertWithoutMetadataFieldsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.TeamWhereInput -} - -export type TeamUpdateToOneWithWhereWithoutMetadataFieldsInput = { - where?: Prisma.TeamWhereInput - data: Prisma.XOR -} - -export type TeamUpdateWithoutMetadataFieldsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolder?: Prisma.AssetUpdateOneWithoutTeamRootFolderNestedInput - members?: Prisma.TeamMemberUpdateManyWithoutTeamNestedInput - projects?: Prisma.ProjectUpdateManyWithoutTeamNestedInput - invites?: Prisma.InviteUpdateManyWithoutTeamNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutTeamNestedInput - userMetadata?: Prisma.UserMetadataUpdateManyWithoutTeamNestedInput - providers?: Prisma.ProviderUpdateManyWithoutTeamNestedInput - skills?: Prisma.SkillUpdateManyWithoutTeamNestedInput - sandbox?: Prisma.SandboxUpdateOneWithoutTeamNestedInput - agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput -} - -export type TeamUncheckedUpdateWithoutMetadataFieldsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - members?: Prisma.TeamMemberUncheckedUpdateManyWithoutTeamNestedInput - projects?: Prisma.ProjectUncheckedUpdateManyWithoutTeamNestedInput - invites?: Prisma.InviteUncheckedUpdateManyWithoutTeamNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTeamNestedInput - userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutTeamNestedInput - providers?: Prisma.ProviderUncheckedUpdateManyWithoutTeamNestedInput - skills?: Prisma.SkillUncheckedUpdateManyWithoutTeamNestedInput - sandbox?: Prisma.SandboxUncheckedUpdateOneWithoutTeamNestedInput - agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput -} - -export type TeamCreateWithoutNotificationsInput = { - id?: string - name: string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - rootFolder?: Prisma.AssetCreateNestedOneWithoutTeamRootFolderInput - members?: Prisma.TeamMemberCreateNestedManyWithoutTeamInput - projects?: Prisma.ProjectCreateNestedManyWithoutTeamInput - metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutTeamInput - invites?: Prisma.InviteCreateNestedManyWithoutTeamInput - userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutTeamInput - providers?: Prisma.ProviderCreateNestedManyWithoutTeamInput - skills?: Prisma.SkillCreateNestedManyWithoutTeamInput - sandbox?: Prisma.SandboxCreateNestedOneWithoutTeamInput - agents?: Prisma.AgentCreateNestedManyWithoutTeamInput -} - -export type TeamUncheckedCreateWithoutNotificationsInput = { - id?: string - name: string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - rootFolderId?: string | null - members?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutTeamInput - projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutTeamInput - metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutTeamInput - invites?: Prisma.InviteUncheckedCreateNestedManyWithoutTeamInput - userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutTeamInput - providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutTeamInput - skills?: Prisma.SkillUncheckedCreateNestedManyWithoutTeamInput - sandbox?: Prisma.SandboxUncheckedCreateNestedOneWithoutTeamInput - agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput -} - -export type TeamCreateOrConnectWithoutNotificationsInput = { - where: Prisma.TeamWhereUniqueInput - create: Prisma.XOR -} - -export type TeamUpsertWithoutNotificationsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.TeamWhereInput -} - -export type TeamUpdateToOneWithWhereWithoutNotificationsInput = { - where?: Prisma.TeamWhereInput - data: Prisma.XOR -} - -export type TeamUpdateWithoutNotificationsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolder?: Prisma.AssetUpdateOneWithoutTeamRootFolderNestedInput - members?: Prisma.TeamMemberUpdateManyWithoutTeamNestedInput - projects?: Prisma.ProjectUpdateManyWithoutTeamNestedInput - metadataFields?: Prisma.MetadataFieldUpdateManyWithoutTeamNestedInput - invites?: Prisma.InviteUpdateManyWithoutTeamNestedInput - userMetadata?: Prisma.UserMetadataUpdateManyWithoutTeamNestedInput - providers?: Prisma.ProviderUpdateManyWithoutTeamNestedInput - skills?: Prisma.SkillUpdateManyWithoutTeamNestedInput - sandbox?: Prisma.SandboxUpdateOneWithoutTeamNestedInput - agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput -} - -export type TeamUncheckedUpdateWithoutNotificationsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - members?: Prisma.TeamMemberUncheckedUpdateManyWithoutTeamNestedInput - projects?: Prisma.ProjectUncheckedUpdateManyWithoutTeamNestedInput - metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutTeamNestedInput - invites?: Prisma.InviteUncheckedUpdateManyWithoutTeamNestedInput - userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutTeamNestedInput - providers?: Prisma.ProviderUncheckedUpdateManyWithoutTeamNestedInput - skills?: Prisma.SkillUncheckedUpdateManyWithoutTeamNestedInput - sandbox?: Prisma.SandboxUncheckedUpdateOneWithoutTeamNestedInput - agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput -} - -export type TeamCreateWithoutAgentsInput = { - id?: string - name: string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - rootFolder?: Prisma.AssetCreateNestedOneWithoutTeamRootFolderInput - members?: Prisma.TeamMemberCreateNestedManyWithoutTeamInput - projects?: Prisma.ProjectCreateNestedManyWithoutTeamInput - metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutTeamInput - invites?: Prisma.InviteCreateNestedManyWithoutTeamInput - notifications?: Prisma.NotificationCreateNestedManyWithoutTeamInput - userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutTeamInput - providers?: Prisma.ProviderCreateNestedManyWithoutTeamInput - skills?: Prisma.SkillCreateNestedManyWithoutTeamInput - sandbox?: Prisma.SandboxCreateNestedOneWithoutTeamInput -} - -export type TeamUncheckedCreateWithoutAgentsInput = { - id?: string - name: string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - rootFolderId?: string | null - members?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutTeamInput - projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutTeamInput - metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutTeamInput - invites?: Prisma.InviteUncheckedCreateNestedManyWithoutTeamInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTeamInput - userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutTeamInput - providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutTeamInput - skills?: Prisma.SkillUncheckedCreateNestedManyWithoutTeamInput - sandbox?: Prisma.SandboxUncheckedCreateNestedOneWithoutTeamInput -} - -export type TeamCreateOrConnectWithoutAgentsInput = { - where: Prisma.TeamWhereUniqueInput - create: Prisma.XOR -} - -export type TeamUpsertWithoutAgentsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.TeamWhereInput -} - -export type TeamUpdateToOneWithWhereWithoutAgentsInput = { - where?: Prisma.TeamWhereInput - data: Prisma.XOR -} - -export type TeamUpdateWithoutAgentsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolder?: Prisma.AssetUpdateOneWithoutTeamRootFolderNestedInput - members?: Prisma.TeamMemberUpdateManyWithoutTeamNestedInput - projects?: Prisma.ProjectUpdateManyWithoutTeamNestedInput - metadataFields?: Prisma.MetadataFieldUpdateManyWithoutTeamNestedInput - invites?: Prisma.InviteUpdateManyWithoutTeamNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutTeamNestedInput - userMetadata?: Prisma.UserMetadataUpdateManyWithoutTeamNestedInput - providers?: Prisma.ProviderUpdateManyWithoutTeamNestedInput - skills?: Prisma.SkillUpdateManyWithoutTeamNestedInput - sandbox?: Prisma.SandboxUpdateOneWithoutTeamNestedInput -} - -export type TeamUncheckedUpdateWithoutAgentsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - members?: Prisma.TeamMemberUncheckedUpdateManyWithoutTeamNestedInput - projects?: Prisma.ProjectUncheckedUpdateManyWithoutTeamNestedInput - metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutTeamNestedInput - invites?: Prisma.InviteUncheckedUpdateManyWithoutTeamNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTeamNestedInput - userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutTeamNestedInput - providers?: Prisma.ProviderUncheckedUpdateManyWithoutTeamNestedInput - skills?: Prisma.SkillUncheckedUpdateManyWithoutTeamNestedInput - sandbox?: Prisma.SandboxUncheckedUpdateOneWithoutTeamNestedInput -} - -export type TeamCreateWithoutUserMetadataInput = { - id?: string - name: string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - rootFolder?: Prisma.AssetCreateNestedOneWithoutTeamRootFolderInput - members?: Prisma.TeamMemberCreateNestedManyWithoutTeamInput - projects?: Prisma.ProjectCreateNestedManyWithoutTeamInput - metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutTeamInput - invites?: Prisma.InviteCreateNestedManyWithoutTeamInput - notifications?: Prisma.NotificationCreateNestedManyWithoutTeamInput - providers?: Prisma.ProviderCreateNestedManyWithoutTeamInput - skills?: Prisma.SkillCreateNestedManyWithoutTeamInput - sandbox?: Prisma.SandboxCreateNestedOneWithoutTeamInput - agents?: Prisma.AgentCreateNestedManyWithoutTeamInput -} - -export type TeamUncheckedCreateWithoutUserMetadataInput = { - id?: string - name: string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - rootFolderId?: string | null - members?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutTeamInput - projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutTeamInput - metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutTeamInput - invites?: Prisma.InviteUncheckedCreateNestedManyWithoutTeamInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTeamInput - providers?: Prisma.ProviderUncheckedCreateNestedManyWithoutTeamInput - skills?: Prisma.SkillUncheckedCreateNestedManyWithoutTeamInput - sandbox?: Prisma.SandboxUncheckedCreateNestedOneWithoutTeamInput - agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput -} - -export type TeamCreateOrConnectWithoutUserMetadataInput = { - where: Prisma.TeamWhereUniqueInput - create: Prisma.XOR -} - -export type TeamUpsertWithoutUserMetadataInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.TeamWhereInput -} - -export type TeamUpdateToOneWithWhereWithoutUserMetadataInput = { - where?: Prisma.TeamWhereInput - data: Prisma.XOR -} - -export type TeamUpdateWithoutUserMetadataInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolder?: Prisma.AssetUpdateOneWithoutTeamRootFolderNestedInput - members?: Prisma.TeamMemberUpdateManyWithoutTeamNestedInput - projects?: Prisma.ProjectUpdateManyWithoutTeamNestedInput - metadataFields?: Prisma.MetadataFieldUpdateManyWithoutTeamNestedInput - invites?: Prisma.InviteUpdateManyWithoutTeamNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutTeamNestedInput - providers?: Prisma.ProviderUpdateManyWithoutTeamNestedInput - skills?: Prisma.SkillUpdateManyWithoutTeamNestedInput - sandbox?: Prisma.SandboxUpdateOneWithoutTeamNestedInput - agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput -} - -export type TeamUncheckedUpdateWithoutUserMetadataInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - members?: Prisma.TeamMemberUncheckedUpdateManyWithoutTeamNestedInput - projects?: Prisma.ProjectUncheckedUpdateManyWithoutTeamNestedInput - metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutTeamNestedInput - invites?: Prisma.InviteUncheckedUpdateManyWithoutTeamNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTeamNestedInput - providers?: Prisma.ProviderUncheckedUpdateManyWithoutTeamNestedInput - skills?: Prisma.SkillUncheckedUpdateManyWithoutTeamNestedInput - sandbox?: Prisma.SandboxUncheckedUpdateOneWithoutTeamNestedInput - agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput -} - -export type TeamCreateWithoutProvidersInput = { - id?: string - name: string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - rootFolder?: Prisma.AssetCreateNestedOneWithoutTeamRootFolderInput - members?: Prisma.TeamMemberCreateNestedManyWithoutTeamInput - projects?: Prisma.ProjectCreateNestedManyWithoutTeamInput - metadataFields?: Prisma.MetadataFieldCreateNestedManyWithoutTeamInput - invites?: Prisma.InviteCreateNestedManyWithoutTeamInput - notifications?: Prisma.NotificationCreateNestedManyWithoutTeamInput - userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutTeamInput - skills?: Prisma.SkillCreateNestedManyWithoutTeamInput - sandbox?: Prisma.SandboxCreateNestedOneWithoutTeamInput - agents?: Prisma.AgentCreateNestedManyWithoutTeamInput -} - -export type TeamUncheckedCreateWithoutProvidersInput = { - id?: string - name: string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Date | string - updatedAt?: Date | string - rootFolderId?: string | null - members?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutTeamInput - projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutTeamInput - metadataFields?: Prisma.MetadataFieldUncheckedCreateNestedManyWithoutTeamInput - invites?: Prisma.InviteUncheckedCreateNestedManyWithoutTeamInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutTeamInput - userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutTeamInput - skills?: Prisma.SkillUncheckedCreateNestedManyWithoutTeamInput - sandbox?: Prisma.SandboxUncheckedCreateNestedOneWithoutTeamInput - agents?: Prisma.AgentUncheckedCreateNestedManyWithoutTeamInput -} - -export type TeamCreateOrConnectWithoutProvidersInput = { - where: Prisma.TeamWhereUniqueInput - create: Prisma.XOR -} - -export type TeamUpsertWithoutProvidersInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.TeamWhereInput -} - -export type TeamUpdateToOneWithWhereWithoutProvidersInput = { - where?: Prisma.TeamWhereInput - data: Prisma.XOR -} - -export type TeamUpdateWithoutProvidersInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolder?: Prisma.AssetUpdateOneWithoutTeamRootFolderNestedInput - members?: Prisma.TeamMemberUpdateManyWithoutTeamNestedInput - projects?: Prisma.ProjectUpdateManyWithoutTeamNestedInput - metadataFields?: Prisma.MetadataFieldUpdateManyWithoutTeamNestedInput - invites?: Prisma.InviteUpdateManyWithoutTeamNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutTeamNestedInput - userMetadata?: Prisma.UserMetadataUpdateManyWithoutTeamNestedInput - skills?: Prisma.SkillUpdateManyWithoutTeamNestedInput - sandbox?: Prisma.SandboxUpdateOneWithoutTeamNestedInput - agents?: Prisma.AgentUpdateManyWithoutTeamNestedInput -} - -export type TeamUncheckedUpdateWithoutProvidersInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - name?: Prisma.StringFieldUpdateOperationsInput | string - settings?:PrismaJson.Settings | Prisma.NullableJsonNullValueInput - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - rootFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - members?: Prisma.TeamMemberUncheckedUpdateManyWithoutTeamNestedInput - projects?: Prisma.ProjectUncheckedUpdateManyWithoutTeamNestedInput - metadataFields?: Prisma.MetadataFieldUncheckedUpdateManyWithoutTeamNestedInput - invites?: Prisma.InviteUncheckedUpdateManyWithoutTeamNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutTeamNestedInput - userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutTeamNestedInput - skills?: Prisma.SkillUncheckedUpdateManyWithoutTeamNestedInput - sandbox?: Prisma.SandboxUncheckedUpdateOneWithoutTeamNestedInput - agents?: Prisma.AgentUncheckedUpdateManyWithoutTeamNestedInput -} - - -/** - * Count Type TeamCountOutputType - */ - -export type TeamCountOutputType = { - members: number - projects: number - metadataFields: number - invites: number - notifications: number - userMetadata: number - providers: number - skills: number - agents: number -} - -export type TeamCountOutputTypeSelect = { - members?: boolean | TeamCountOutputTypeCountMembersArgs - projects?: boolean | TeamCountOutputTypeCountProjectsArgs - metadataFields?: boolean | TeamCountOutputTypeCountMetadataFieldsArgs - invites?: boolean | TeamCountOutputTypeCountInvitesArgs - notifications?: boolean | TeamCountOutputTypeCountNotificationsArgs - userMetadata?: boolean | TeamCountOutputTypeCountUserMetadataArgs - providers?: boolean | TeamCountOutputTypeCountProvidersArgs - skills?: boolean | TeamCountOutputTypeCountSkillsArgs - agents?: boolean | TeamCountOutputTypeCountAgentsArgs -} - -/** - * TeamCountOutputType without action - */ -export type TeamCountOutputTypeDefaultArgs = { - /** - * Select specific fields to fetch from the TeamCountOutputType - */ - select?: Prisma.TeamCountOutputTypeSelect | null -} - -/** - * TeamCountOutputType without action - */ -export type TeamCountOutputTypeCountMembersArgs = { - where?: Prisma.TeamMemberWhereInput -} - -/** - * TeamCountOutputType without action - */ -export type TeamCountOutputTypeCountProjectsArgs = { - where?: Prisma.ProjectWhereInput -} - -/** - * TeamCountOutputType without action - */ -export type TeamCountOutputTypeCountMetadataFieldsArgs = { - where?: Prisma.MetadataFieldWhereInput -} - -/** - * TeamCountOutputType without action - */ -export type TeamCountOutputTypeCountInvitesArgs = { - where?: Prisma.InviteWhereInput -} - -/** - * TeamCountOutputType without action - */ -export type TeamCountOutputTypeCountNotificationsArgs = { - where?: Prisma.NotificationWhereInput -} - -/** - * TeamCountOutputType without action - */ -export type TeamCountOutputTypeCountUserMetadataArgs = { - where?: Prisma.UserMetadataWhereInput -} - -/** - * TeamCountOutputType without action - */ -export type TeamCountOutputTypeCountProvidersArgs = { - where?: Prisma.ProviderWhereInput -} - -/** - * TeamCountOutputType without action - */ -export type TeamCountOutputTypeCountSkillsArgs = { - where?: Prisma.SkillWhereInput -} - -/** - * TeamCountOutputType without action - */ -export type TeamCountOutputTypeCountAgentsArgs = { - where?: Prisma.AgentWhereInput -} - - -export type TeamSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - name?: boolean - settings?: boolean - createdAt?: boolean - updatedAt?: boolean - rootFolderId?: boolean - rootFolder?: boolean | Prisma.Team$rootFolderArgs - members?: boolean | Prisma.Team$membersArgs - projects?: boolean | Prisma.Team$projectsArgs - metadataFields?: boolean | Prisma.Team$metadataFieldsArgs - invites?: boolean | Prisma.Team$invitesArgs - notifications?: boolean | Prisma.Team$notificationsArgs - userMetadata?: boolean | Prisma.Team$userMetadataArgs - providers?: boolean | Prisma.Team$providersArgs - skills?: boolean | Prisma.Team$skillsArgs - sandbox?: boolean | Prisma.Team$sandboxArgs - agents?: boolean | Prisma.Team$agentsArgs - _count?: boolean | Prisma.TeamCountOutputTypeDefaultArgs -}, ExtArgs["result"]["team"]> - -export type TeamSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - name?: boolean - settings?: boolean - createdAt?: boolean - updatedAt?: boolean - rootFolderId?: boolean - rootFolder?: boolean | Prisma.Team$rootFolderArgs -}, ExtArgs["result"]["team"]> - -export type TeamSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - name?: boolean - settings?: boolean - createdAt?: boolean - updatedAt?: boolean - rootFolderId?: boolean - rootFolder?: boolean | Prisma.Team$rootFolderArgs -}, ExtArgs["result"]["team"]> - -export type TeamSelectScalar = { - id?: boolean - name?: boolean - settings?: boolean - createdAt?: boolean - updatedAt?: boolean - rootFolderId?: boolean -} - -export type TeamOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "settings" | "createdAt" | "updatedAt" | "rootFolderId", ExtArgs["result"]["team"]> -export type TeamInclude = { - rootFolder?: boolean | Prisma.Team$rootFolderArgs - members?: boolean | Prisma.Team$membersArgs - projects?: boolean | Prisma.Team$projectsArgs - metadataFields?: boolean | Prisma.Team$metadataFieldsArgs - invites?: boolean | Prisma.Team$invitesArgs - notifications?: boolean | Prisma.Team$notificationsArgs - userMetadata?: boolean | Prisma.Team$userMetadataArgs - providers?: boolean | Prisma.Team$providersArgs - skills?: boolean | Prisma.Team$skillsArgs - sandbox?: boolean | Prisma.Team$sandboxArgs - agents?: boolean | Prisma.Team$agentsArgs - _count?: boolean | Prisma.TeamCountOutputTypeDefaultArgs -} -export type TeamIncludeCreateManyAndReturn = { - rootFolder?: boolean | Prisma.Team$rootFolderArgs -} -export type TeamIncludeUpdateManyAndReturn = { - rootFolder?: boolean | Prisma.Team$rootFolderArgs -} - -export type $TeamPayload = { - name: "Team" - objects: { - rootFolder: Prisma.$AssetPayload | null - members: Prisma.$TeamMemberPayload[] - projects: Prisma.$ProjectPayload[] - metadataFields: Prisma.$MetadataFieldPayload[] - invites: Prisma.$InvitePayload[] - notifications: Prisma.$NotificationPayload[] - userMetadata: Prisma.$UserMetadataPayload[] - providers: Prisma.$ProviderPayload[] - skills: Prisma.$SkillPayload[] - sandbox: Prisma.$SandboxPayload | null - agents: Prisma.$AgentPayload[] - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - name: string - /** - * [Settings] - */ - settings:PrismaJson.Settings | null - createdAt: Date - updatedAt: Date - rootFolderId: string | null - }, ExtArgs["result"]["team"]> - composites: {} -} - -export type TeamGetPayload = runtime.Types.Result.GetResult - -export type TeamCountArgs = - Omit & { - select?: TeamCountAggregateInputType | true - } - -export interface TeamDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['Team'], meta: { name: 'Team' } } - /** - * Find zero or one Team that matches the filter. - * @param {TeamFindUniqueArgs} args - Arguments to find a Team - * @example - * // Get one Team - * const team = await prisma.team.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__TeamClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one Team that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {TeamFindUniqueOrThrowArgs} args - Arguments to find a Team - * @example - * // Get one Team - * const team = await prisma.team.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__TeamClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Team that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TeamFindFirstArgs} args - Arguments to find a Team - * @example - * // Get one Team - * const team = await prisma.team.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__TeamClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Team that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TeamFindFirstOrThrowArgs} args - Arguments to find a Team - * @example - * // Get one Team - * const team = await prisma.team.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__TeamClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more Teams that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TeamFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Teams - * const teams = await prisma.team.findMany() - * - * // Get first 10 Teams - * const teams = await prisma.team.findMany({ take: 10 }) - * - * // Only select the `id` - * const teamWithIdOnly = await prisma.team.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a Team. - * @param {TeamCreateArgs} args - Arguments to create a Team. - * @example - * // Create one Team - * const Team = await prisma.team.create({ - * data: { - * // ... data to create a Team - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__TeamClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many Teams. - * @param {TeamCreateManyArgs} args - Arguments to create many Teams. - * @example - * // Create many Teams - * const team = await prisma.team.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many Teams and returns the data saved in the database. - * @param {TeamCreateManyAndReturnArgs} args - Arguments to create many Teams. - * @example - * // Create many Teams - * const team = await prisma.team.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Teams and only return the `id` - * const teamWithIdOnly = await prisma.team.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a Team. - * @param {TeamDeleteArgs} args - Arguments to delete one Team. - * @example - * // Delete one Team - * const Team = await prisma.team.delete({ - * where: { - * // ... filter to delete one Team - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__TeamClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one Team. - * @param {TeamUpdateArgs} args - Arguments to update one Team. - * @example - * // Update one Team - * const team = await prisma.team.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__TeamClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more Teams. - * @param {TeamDeleteManyArgs} args - Arguments to filter Teams to delete. - * @example - * // Delete a few Teams - * const { count } = await prisma.team.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Teams. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TeamUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Teams - * const team = await prisma.team.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Teams and returns the data updated in the database. - * @param {TeamUpdateManyAndReturnArgs} args - Arguments to update many Teams. - * @example - * // Update many Teams - * const team = await prisma.team.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Teams and only return the `id` - * const teamWithIdOnly = await prisma.team.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one Team. - * @param {TeamUpsertArgs} args - Arguments to update or create a Team. - * @example - * // Update or create a Team - * const team = await prisma.team.upsert({ - * create: { - * // ... data to create a Team - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the Team we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__TeamClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of Teams. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TeamCountArgs} args - Arguments to filter Teams to count. - * @example - * // Count the number of Teams - * const count = await prisma.team.count({ - * where: { - * // ... the filter for the Teams we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a Team. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TeamAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by Team. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TeamGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends TeamGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: TeamGroupByArgs['orderBy'] } - : { orderBy?: TeamGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetTeamGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the Team model - */ -readonly fields: TeamFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for Team. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__TeamClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - rootFolder = {}>(args?: Prisma.Subset>): Prisma.Prisma__AssetClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - members = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - projects = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - metadataFields = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - invites = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - notifications = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - userMetadata = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - providers = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - skills = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - sandbox = {}>(args?: Prisma.Subset>): Prisma.Prisma__SandboxClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - agents = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the Team model - */ -export interface TeamFieldRefs { - readonly id: Prisma.FieldRef<"Team", 'String'> - readonly name: Prisma.FieldRef<"Team", 'String'> - readonly settings: Prisma.FieldRef<"Team", 'Json'> - readonly createdAt: Prisma.FieldRef<"Team", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"Team", 'DateTime'> - readonly rootFolderId: Prisma.FieldRef<"Team", 'String'> -} - - -// Custom InputTypes -/** - * Team findUnique - */ -export type TeamFindUniqueArgs = { - /** - * Select specific fields to fetch from the Team - */ - select?: Prisma.TeamSelect | null - /** - * Omit specific fields from the Team - */ - omit?: Prisma.TeamOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamInclude | null - /** - * Filter, which Team to fetch. - */ - where: Prisma.TeamWhereUniqueInput -} - -/** - * Team findUniqueOrThrow - */ -export type TeamFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the Team - */ - select?: Prisma.TeamSelect | null - /** - * Omit specific fields from the Team - */ - omit?: Prisma.TeamOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamInclude | null - /** - * Filter, which Team to fetch. - */ - where: Prisma.TeamWhereUniqueInput -} - -/** - * Team findFirst - */ -export type TeamFindFirstArgs = { - /** - * Select specific fields to fetch from the Team - */ - select?: Prisma.TeamSelect | null - /** - * Omit specific fields from the Team - */ - omit?: Prisma.TeamOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamInclude | null - /** - * Filter, which Team to fetch. - */ - where?: Prisma.TeamWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Teams to fetch. - */ - orderBy?: Prisma.TeamOrderByWithRelationInput | Prisma.TeamOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Teams. - */ - cursor?: Prisma.TeamWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Teams from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Teams. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Teams. - */ - distinct?: Prisma.TeamScalarFieldEnum | Prisma.TeamScalarFieldEnum[] -} - -/** - * Team findFirstOrThrow - */ -export type TeamFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the Team - */ - select?: Prisma.TeamSelect | null - /** - * Omit specific fields from the Team - */ - omit?: Prisma.TeamOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamInclude | null - /** - * Filter, which Team to fetch. - */ - where?: Prisma.TeamWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Teams to fetch. - */ - orderBy?: Prisma.TeamOrderByWithRelationInput | Prisma.TeamOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Teams. - */ - cursor?: Prisma.TeamWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Teams from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Teams. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Teams. - */ - distinct?: Prisma.TeamScalarFieldEnum | Prisma.TeamScalarFieldEnum[] -} - -/** - * Team findMany - */ -export type TeamFindManyArgs = { - /** - * Select specific fields to fetch from the Team - */ - select?: Prisma.TeamSelect | null - /** - * Omit specific fields from the Team - */ - omit?: Prisma.TeamOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamInclude | null - /** - * Filter, which Teams to fetch. - */ - where?: Prisma.TeamWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Teams to fetch. - */ - orderBy?: Prisma.TeamOrderByWithRelationInput | Prisma.TeamOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Teams. - */ - cursor?: Prisma.TeamWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Teams from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Teams. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Teams. - */ - distinct?: Prisma.TeamScalarFieldEnum | Prisma.TeamScalarFieldEnum[] -} - -/** - * Team create - */ -export type TeamCreateArgs = { - /** - * Select specific fields to fetch from the Team - */ - select?: Prisma.TeamSelect | null - /** - * Omit specific fields from the Team - */ - omit?: Prisma.TeamOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamInclude | null - /** - * The data needed to create a Team. - */ - data: Prisma.XOR -} - -/** - * Team createMany - */ -export type TeamCreateManyArgs = { - /** - * The data used to create many Teams. - */ - data: Prisma.TeamCreateManyInput | Prisma.TeamCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * Team createManyAndReturn - */ -export type TeamCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Team - */ - select?: Prisma.TeamSelectCreateManyAndReturn | null - /** - * Omit specific fields from the Team - */ - omit?: Prisma.TeamOmit | null - /** - * The data used to create many Teams. - */ - data: Prisma.TeamCreateManyInput | Prisma.TeamCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamIncludeCreateManyAndReturn | null -} - -/** - * Team update - */ -export type TeamUpdateArgs = { - /** - * Select specific fields to fetch from the Team - */ - select?: Prisma.TeamSelect | null - /** - * Omit specific fields from the Team - */ - omit?: Prisma.TeamOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamInclude | null - /** - * The data needed to update a Team. - */ - data: Prisma.XOR - /** - * Choose, which Team to update. - */ - where: Prisma.TeamWhereUniqueInput -} - -/** - * Team updateMany - */ -export type TeamUpdateManyArgs = { - /** - * The data used to update Teams. - */ - data: Prisma.XOR - /** - * Filter which Teams to update - */ - where?: Prisma.TeamWhereInput - /** - * Limit how many Teams to update. - */ - limit?: number -} - -/** - * Team updateManyAndReturn - */ -export type TeamUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Team - */ - select?: Prisma.TeamSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the Team - */ - omit?: Prisma.TeamOmit | null - /** - * The data used to update Teams. - */ - data: Prisma.XOR - /** - * Filter which Teams to update - */ - where?: Prisma.TeamWhereInput - /** - * Limit how many Teams to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamIncludeUpdateManyAndReturn | null -} - -/** - * Team upsert - */ -export type TeamUpsertArgs = { - /** - * Select specific fields to fetch from the Team - */ - select?: Prisma.TeamSelect | null - /** - * Omit specific fields from the Team - */ - omit?: Prisma.TeamOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamInclude | null - /** - * The filter to search for the Team to update in case it exists. - */ - where: Prisma.TeamWhereUniqueInput - /** - * In case the Team found by the `where` argument doesn't exist, create a new Team with this data. - */ - create: Prisma.XOR - /** - * In case the Team was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * Team delete - */ -export type TeamDeleteArgs = { - /** - * Select specific fields to fetch from the Team - */ - select?: Prisma.TeamSelect | null - /** - * Omit specific fields from the Team - */ - omit?: Prisma.TeamOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamInclude | null - /** - * Filter which Team to delete. - */ - where: Prisma.TeamWhereUniqueInput -} - -/** - * Team deleteMany - */ -export type TeamDeleteManyArgs = { - /** - * Filter which Teams to delete - */ - where?: Prisma.TeamWhereInput - /** - * Limit how many Teams to delete. - */ - limit?: number -} - -/** - * Team.rootFolder - */ -export type Team$rootFolderArgs = { - /** - * Select specific fields to fetch from the Asset - */ - select?: Prisma.AssetSelect | null - /** - * Omit specific fields from the Asset - */ - omit?: Prisma.AssetOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetInclude | null - where?: Prisma.AssetWhereInput -} - -/** - * Team.members - */ -export type Team$membersArgs = { - /** - * Select specific fields to fetch from the TeamMember - */ - select?: Prisma.TeamMemberSelect | null - /** - * Omit specific fields from the TeamMember - */ - omit?: Prisma.TeamMemberOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamMemberInclude | null - where?: Prisma.TeamMemberWhereInput - orderBy?: Prisma.TeamMemberOrderByWithRelationInput | Prisma.TeamMemberOrderByWithRelationInput[] - cursor?: Prisma.TeamMemberWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.TeamMemberScalarFieldEnum | Prisma.TeamMemberScalarFieldEnum[] -} - -/** - * Team.projects - */ -export type Team$projectsArgs = { - /** - * Select specific fields to fetch from the Project - */ - select?: Prisma.ProjectSelect | null - /** - * Omit specific fields from the Project - */ - omit?: Prisma.ProjectOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectInclude | null - where?: Prisma.ProjectWhereInput - orderBy?: Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[] - cursor?: Prisma.ProjectWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[] -} - -/** - * Team.metadataFields - */ -export type Team$metadataFieldsArgs = { - /** - * Select specific fields to fetch from the MetadataField - */ - select?: Prisma.MetadataFieldSelect | null - /** - * Omit specific fields from the MetadataField - */ - omit?: Prisma.MetadataFieldOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.MetadataFieldInclude | null - where?: Prisma.MetadataFieldWhereInput - orderBy?: Prisma.MetadataFieldOrderByWithRelationInput | Prisma.MetadataFieldOrderByWithRelationInput[] - cursor?: Prisma.MetadataFieldWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.MetadataFieldScalarFieldEnum | Prisma.MetadataFieldScalarFieldEnum[] -} - -/** - * Team.invites - */ -export type Team$invitesArgs = { - /** - * Select specific fields to fetch from the Invite - */ - select?: Prisma.InviteSelect | null - /** - * Omit specific fields from the Invite - */ - omit?: Prisma.InviteOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.InviteInclude | null - where?: Prisma.InviteWhereInput - orderBy?: Prisma.InviteOrderByWithRelationInput | Prisma.InviteOrderByWithRelationInput[] - cursor?: Prisma.InviteWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.InviteScalarFieldEnum | Prisma.InviteScalarFieldEnum[] -} - -/** - * Team.notifications - */ -export type Team$notificationsArgs = { - /** - * Select specific fields to fetch from the Notification - */ - select?: Prisma.NotificationSelect | null - /** - * Omit specific fields from the Notification - */ - omit?: Prisma.NotificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.NotificationInclude | null - where?: Prisma.NotificationWhereInput - orderBy?: Prisma.NotificationOrderByWithRelationInput | Prisma.NotificationOrderByWithRelationInput[] - cursor?: Prisma.NotificationWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.NotificationScalarFieldEnum | Prisma.NotificationScalarFieldEnum[] -} - -/** - * Team.userMetadata - */ -export type Team$userMetadataArgs = { - /** - * Select specific fields to fetch from the UserMetadata - */ - select?: Prisma.UserMetadataSelect | null - /** - * Omit specific fields from the UserMetadata - */ - omit?: Prisma.UserMetadataOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserMetadataInclude | null - where?: Prisma.UserMetadataWhereInput - orderBy?: Prisma.UserMetadataOrderByWithRelationInput | Prisma.UserMetadataOrderByWithRelationInput[] - cursor?: Prisma.UserMetadataWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.UserMetadataScalarFieldEnum | Prisma.UserMetadataScalarFieldEnum[] -} - -/** - * Team.providers - */ -export type Team$providersArgs = { - /** - * Select specific fields to fetch from the Provider - */ - select?: Prisma.ProviderSelect | null - /** - * Omit specific fields from the Provider - */ - omit?: Prisma.ProviderOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProviderInclude | null - where?: Prisma.ProviderWhereInput - orderBy?: Prisma.ProviderOrderByWithRelationInput | Prisma.ProviderOrderByWithRelationInput[] - cursor?: Prisma.ProviderWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.ProviderScalarFieldEnum | Prisma.ProviderScalarFieldEnum[] -} - -/** - * Team.skills - */ -export type Team$skillsArgs = { - /** - * Select specific fields to fetch from the Skill - */ - select?: Prisma.SkillSelect | null - /** - * Omit specific fields from the Skill - */ - omit?: Prisma.SkillOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SkillInclude | null - where?: Prisma.SkillWhereInput - orderBy?: Prisma.SkillOrderByWithRelationInput | Prisma.SkillOrderByWithRelationInput[] - cursor?: Prisma.SkillWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.SkillScalarFieldEnum | Prisma.SkillScalarFieldEnum[] -} - -/** - * Team.sandbox - */ -export type Team$sandboxArgs = { - /** - * Select specific fields to fetch from the Sandbox - */ - select?: Prisma.SandboxSelect | null - /** - * Omit specific fields from the Sandbox - */ - omit?: Prisma.SandboxOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SandboxInclude | null - where?: Prisma.SandboxWhereInput -} - -/** - * Team.agents - */ -export type Team$agentsArgs = { - /** - * Select specific fields to fetch from the Agent - */ - select?: Prisma.AgentSelect | null - /** - * Omit specific fields from the Agent - */ - omit?: Prisma.AgentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentInclude | null - where?: Prisma.AgentWhereInput - orderBy?: Prisma.AgentOrderByWithRelationInput | Prisma.AgentOrderByWithRelationInput[] - cursor?: Prisma.AgentWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.AgentScalarFieldEnum | Prisma.AgentScalarFieldEnum[] -} - -/** - * Team without action - */ -export type TeamDefaultArgs = { - /** - * Select specific fields to fetch from the Team - */ - select?: Prisma.TeamSelect | null - /** - * Omit specific fields from the Team - */ - omit?: Prisma.TeamOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamInclude | null -} diff --git a/src/generated/prisma/models/TeamMember.ts b/src/generated/prisma/models/TeamMember.ts deleted file mode 100644 index f3cfc6ee..00000000 --- a/src/generated/prisma/models/TeamMember.ts +++ /dev/null @@ -1,1785 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `TeamMember` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model TeamMember - * - */ -export type TeamMemberModel = runtime.Types.Result.DefaultSelection - -export type AggregateTeamMember = { - _count: TeamMemberCountAggregateOutputType | null - _min: TeamMemberMinAggregateOutputType | null - _max: TeamMemberMaxAggregateOutputType | null -} - -export type TeamMemberMinAggregateOutputType = { - id: string | null - role: $Enums.TeamMemberRole | null - scope: $Enums.TeamMemberScope | null - teamId: string | null - userId: string | null - lastReadNotificationId: string | null -} - -export type TeamMemberMaxAggregateOutputType = { - id: string | null - role: $Enums.TeamMemberRole | null - scope: $Enums.TeamMemberScope | null - teamId: string | null - userId: string | null - lastReadNotificationId: string | null -} - -export type TeamMemberCountAggregateOutputType = { - id: number - role: number - scope: number - teamId: number - userId: number - lastReadNotificationId: number - _all: number -} - - -export type TeamMemberMinAggregateInputType = { - id?: true - role?: true - scope?: true - teamId?: true - userId?: true - lastReadNotificationId?: true -} - -export type TeamMemberMaxAggregateInputType = { - id?: true - role?: true - scope?: true - teamId?: true - userId?: true - lastReadNotificationId?: true -} - -export type TeamMemberCountAggregateInputType = { - id?: true - role?: true - scope?: true - teamId?: true - userId?: true - lastReadNotificationId?: true - _all?: true -} - -export type TeamMemberAggregateArgs = { - /** - * Filter which TeamMember to aggregate. - */ - where?: Prisma.TeamMemberWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of TeamMembers to fetch. - */ - orderBy?: Prisma.TeamMemberOrderByWithRelationInput | Prisma.TeamMemberOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.TeamMemberWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` TeamMembers from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` TeamMembers. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned TeamMembers - **/ - _count?: true | TeamMemberCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: TeamMemberMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: TeamMemberMaxAggregateInputType -} - -export type GetTeamMemberAggregateType = { - [P in keyof T & keyof AggregateTeamMember]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type TeamMemberGroupByArgs = { - where?: Prisma.TeamMemberWhereInput - orderBy?: Prisma.TeamMemberOrderByWithAggregationInput | Prisma.TeamMemberOrderByWithAggregationInput[] - by: Prisma.TeamMemberScalarFieldEnum[] | Prisma.TeamMemberScalarFieldEnum - having?: Prisma.TeamMemberScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: TeamMemberCountAggregateInputType | true - _min?: TeamMemberMinAggregateInputType - _max?: TeamMemberMaxAggregateInputType -} - -export type TeamMemberGroupByOutputType = { - id: string - role: $Enums.TeamMemberRole - scope: $Enums.TeamMemberScope - teamId: string - userId: string - lastReadNotificationId: string | null - _count: TeamMemberCountAggregateOutputType | null - _min: TeamMemberMinAggregateOutputType | null - _max: TeamMemberMaxAggregateOutputType | null -} - -export type GetTeamMemberGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof TeamMemberGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type TeamMemberWhereInput = { - AND?: Prisma.TeamMemberWhereInput | Prisma.TeamMemberWhereInput[] - OR?: Prisma.TeamMemberWhereInput[] - NOT?: Prisma.TeamMemberWhereInput | Prisma.TeamMemberWhereInput[] - id?: Prisma.StringFilter<"TeamMember"> | string - role?: Prisma.EnumTeamMemberRoleFilter<"TeamMember"> | $Enums.TeamMemberRole - scope?: Prisma.EnumTeamMemberScopeFilter<"TeamMember"> | $Enums.TeamMemberScope - teamId?: Prisma.StringFilter<"TeamMember"> | string - userId?: Prisma.StringFilter<"TeamMember"> | string - lastReadNotificationId?: Prisma.StringNullableFilter<"TeamMember"> | string | null - team?: Prisma.XOR - user?: Prisma.XOR - projectMembers?: Prisma.ProjectMemberListRelationFilter - lastReadNotification?: Prisma.XOR | null -} - -export type TeamMemberOrderByWithRelationInput = { - id?: Prisma.SortOrder - role?: Prisma.SortOrder - scope?: Prisma.SortOrder - teamId?: Prisma.SortOrder - userId?: Prisma.SortOrder - lastReadNotificationId?: Prisma.SortOrderInput | Prisma.SortOrder - team?: Prisma.TeamOrderByWithRelationInput - user?: Prisma.UserOrderByWithRelationInput - projectMembers?: Prisma.ProjectMemberOrderByRelationAggregateInput - lastReadNotification?: Prisma.NotificationOrderByWithRelationInput -} - -export type TeamMemberWhereUniqueInput = Prisma.AtLeast<{ - id?: string - lastReadNotificationId?: string - teamIdUserId?: Prisma.TeamMemberTeamIdUserIdCompoundUniqueInput - AND?: Prisma.TeamMemberWhereInput | Prisma.TeamMemberWhereInput[] - OR?: Prisma.TeamMemberWhereInput[] - NOT?: Prisma.TeamMemberWhereInput | Prisma.TeamMemberWhereInput[] - role?: Prisma.EnumTeamMemberRoleFilter<"TeamMember"> | $Enums.TeamMemberRole - scope?: Prisma.EnumTeamMemberScopeFilter<"TeamMember"> | $Enums.TeamMemberScope - teamId?: Prisma.StringFilter<"TeamMember"> | string - userId?: Prisma.StringFilter<"TeamMember"> | string - team?: Prisma.XOR - user?: Prisma.XOR - projectMembers?: Prisma.ProjectMemberListRelationFilter - lastReadNotification?: Prisma.XOR | null -}, "id" | "lastReadNotificationId" | "teamIdUserId"> - -export type TeamMemberOrderByWithAggregationInput = { - id?: Prisma.SortOrder - role?: Prisma.SortOrder - scope?: Prisma.SortOrder - teamId?: Prisma.SortOrder - userId?: Prisma.SortOrder - lastReadNotificationId?: Prisma.SortOrderInput | Prisma.SortOrder - _count?: Prisma.TeamMemberCountOrderByAggregateInput - _max?: Prisma.TeamMemberMaxOrderByAggregateInput - _min?: Prisma.TeamMemberMinOrderByAggregateInput -} - -export type TeamMemberScalarWhereWithAggregatesInput = { - AND?: Prisma.TeamMemberScalarWhereWithAggregatesInput | Prisma.TeamMemberScalarWhereWithAggregatesInput[] - OR?: Prisma.TeamMemberScalarWhereWithAggregatesInput[] - NOT?: Prisma.TeamMemberScalarWhereWithAggregatesInput | Prisma.TeamMemberScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"TeamMember"> | string - role?: Prisma.EnumTeamMemberRoleWithAggregatesFilter<"TeamMember"> | $Enums.TeamMemberRole - scope?: Prisma.EnumTeamMemberScopeWithAggregatesFilter<"TeamMember"> | $Enums.TeamMemberScope - teamId?: Prisma.StringWithAggregatesFilter<"TeamMember"> | string - userId?: Prisma.StringWithAggregatesFilter<"TeamMember"> | string - lastReadNotificationId?: Prisma.StringNullableWithAggregatesFilter<"TeamMember"> | string | null -} - -export type TeamMemberCreateInput = { - id?: string - role: $Enums.TeamMemberRole - scope?: $Enums.TeamMemberScope - team: Prisma.TeamCreateNestedOneWithoutMembersInput - user: Prisma.UserCreateNestedOneWithoutTeamMembersInput - projectMembers?: Prisma.ProjectMemberCreateNestedManyWithoutTeamMemberInput - lastReadNotification?: Prisma.NotificationCreateNestedOneWithoutReadByMembersInput -} - -export type TeamMemberUncheckedCreateInput = { - id?: string - role: $Enums.TeamMemberRole - scope?: $Enums.TeamMemberScope - teamId: string - userId: string - lastReadNotificationId?: string | null - projectMembers?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutTeamMemberInput -} - -export type TeamMemberUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole - scope?: Prisma.EnumTeamMemberScopeFieldUpdateOperationsInput | $Enums.TeamMemberScope - team?: Prisma.TeamUpdateOneRequiredWithoutMembersNestedInput - user?: Prisma.UserUpdateOneRequiredWithoutTeamMembersNestedInput - projectMembers?: Prisma.ProjectMemberUpdateManyWithoutTeamMemberNestedInput - lastReadNotification?: Prisma.NotificationUpdateOneWithoutReadByMembersNestedInput -} - -export type TeamMemberUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole - scope?: Prisma.EnumTeamMemberScopeFieldUpdateOperationsInput | $Enums.TeamMemberScope - teamId?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.StringFieldUpdateOperationsInput | string - lastReadNotificationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectMembers?: Prisma.ProjectMemberUncheckedUpdateManyWithoutTeamMemberNestedInput -} - -export type TeamMemberCreateManyInput = { - id?: string - role: $Enums.TeamMemberRole - scope?: $Enums.TeamMemberScope - teamId: string - userId: string - lastReadNotificationId?: string | null -} - -export type TeamMemberUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole - scope?: Prisma.EnumTeamMemberScopeFieldUpdateOperationsInput | $Enums.TeamMemberScope -} - -export type TeamMemberUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole - scope?: Prisma.EnumTeamMemberScopeFieldUpdateOperationsInput | $Enums.TeamMemberScope - teamId?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.StringFieldUpdateOperationsInput | string - lastReadNotificationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type TeamMemberListRelationFilter = { - every?: Prisma.TeamMemberWhereInput - some?: Prisma.TeamMemberWhereInput - none?: Prisma.TeamMemberWhereInput -} - -export type TeamMemberOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type TeamMemberTeamIdUserIdCompoundUniqueInput = { - teamId: string - userId: string -} - -export type TeamMemberCountOrderByAggregateInput = { - id?: Prisma.SortOrder - role?: Prisma.SortOrder - scope?: Prisma.SortOrder - teamId?: Prisma.SortOrder - userId?: Prisma.SortOrder - lastReadNotificationId?: Prisma.SortOrder -} - -export type TeamMemberMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - role?: Prisma.SortOrder - scope?: Prisma.SortOrder - teamId?: Prisma.SortOrder - userId?: Prisma.SortOrder - lastReadNotificationId?: Prisma.SortOrder -} - -export type TeamMemberMinOrderByAggregateInput = { - id?: Prisma.SortOrder - role?: Prisma.SortOrder - scope?: Prisma.SortOrder - teamId?: Prisma.SortOrder - userId?: Prisma.SortOrder - lastReadNotificationId?: Prisma.SortOrder -} - -export type TeamMemberScalarRelationFilter = { - is?: Prisma.TeamMemberWhereInput - isNot?: Prisma.TeamMemberWhereInput -} - -export type TeamMemberNullableScalarRelationFilter = { - is?: Prisma.TeamMemberWhereInput | null - isNot?: Prisma.TeamMemberWhereInput | null -} - -export type TeamMemberCreateNestedManyWithoutUserInput = { - create?: Prisma.XOR | Prisma.TeamMemberCreateWithoutUserInput[] | Prisma.TeamMemberUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.TeamMemberCreateOrConnectWithoutUserInput | Prisma.TeamMemberCreateOrConnectWithoutUserInput[] - createMany?: Prisma.TeamMemberCreateManyUserInputEnvelope - connect?: Prisma.TeamMemberWhereUniqueInput | Prisma.TeamMemberWhereUniqueInput[] -} - -export type TeamMemberUncheckedCreateNestedManyWithoutUserInput = { - create?: Prisma.XOR | Prisma.TeamMemberCreateWithoutUserInput[] | Prisma.TeamMemberUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.TeamMemberCreateOrConnectWithoutUserInput | Prisma.TeamMemberCreateOrConnectWithoutUserInput[] - createMany?: Prisma.TeamMemberCreateManyUserInputEnvelope - connect?: Prisma.TeamMemberWhereUniqueInput | Prisma.TeamMemberWhereUniqueInput[] -} - -export type TeamMemberUpdateManyWithoutUserNestedInput = { - create?: Prisma.XOR | Prisma.TeamMemberCreateWithoutUserInput[] | Prisma.TeamMemberUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.TeamMemberCreateOrConnectWithoutUserInput | Prisma.TeamMemberCreateOrConnectWithoutUserInput[] - upsert?: Prisma.TeamMemberUpsertWithWhereUniqueWithoutUserInput | Prisma.TeamMemberUpsertWithWhereUniqueWithoutUserInput[] - createMany?: Prisma.TeamMemberCreateManyUserInputEnvelope - set?: Prisma.TeamMemberWhereUniqueInput | Prisma.TeamMemberWhereUniqueInput[] - disconnect?: Prisma.TeamMemberWhereUniqueInput | Prisma.TeamMemberWhereUniqueInput[] - delete?: Prisma.TeamMemberWhereUniqueInput | Prisma.TeamMemberWhereUniqueInput[] - connect?: Prisma.TeamMemberWhereUniqueInput | Prisma.TeamMemberWhereUniqueInput[] - update?: Prisma.TeamMemberUpdateWithWhereUniqueWithoutUserInput | Prisma.TeamMemberUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: Prisma.TeamMemberUpdateManyWithWhereWithoutUserInput | Prisma.TeamMemberUpdateManyWithWhereWithoutUserInput[] - deleteMany?: Prisma.TeamMemberScalarWhereInput | Prisma.TeamMemberScalarWhereInput[] -} - -export type TeamMemberUncheckedUpdateManyWithoutUserNestedInput = { - create?: Prisma.XOR | Prisma.TeamMemberCreateWithoutUserInput[] | Prisma.TeamMemberUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.TeamMemberCreateOrConnectWithoutUserInput | Prisma.TeamMemberCreateOrConnectWithoutUserInput[] - upsert?: Prisma.TeamMemberUpsertWithWhereUniqueWithoutUserInput | Prisma.TeamMemberUpsertWithWhereUniqueWithoutUserInput[] - createMany?: Prisma.TeamMemberCreateManyUserInputEnvelope - set?: Prisma.TeamMemberWhereUniqueInput | Prisma.TeamMemberWhereUniqueInput[] - disconnect?: Prisma.TeamMemberWhereUniqueInput | Prisma.TeamMemberWhereUniqueInput[] - delete?: Prisma.TeamMemberWhereUniqueInput | Prisma.TeamMemberWhereUniqueInput[] - connect?: Prisma.TeamMemberWhereUniqueInput | Prisma.TeamMemberWhereUniqueInput[] - update?: Prisma.TeamMemberUpdateWithWhereUniqueWithoutUserInput | Prisma.TeamMemberUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: Prisma.TeamMemberUpdateManyWithWhereWithoutUserInput | Prisma.TeamMemberUpdateManyWithWhereWithoutUserInput[] - deleteMany?: Prisma.TeamMemberScalarWhereInput | Prisma.TeamMemberScalarWhereInput[] -} - -export type TeamMemberCreateNestedManyWithoutTeamInput = { - create?: Prisma.XOR | Prisma.TeamMemberCreateWithoutTeamInput[] | Prisma.TeamMemberUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.TeamMemberCreateOrConnectWithoutTeamInput | Prisma.TeamMemberCreateOrConnectWithoutTeamInput[] - createMany?: Prisma.TeamMemberCreateManyTeamInputEnvelope - connect?: Prisma.TeamMemberWhereUniqueInput | Prisma.TeamMemberWhereUniqueInput[] -} - -export type TeamMemberUncheckedCreateNestedManyWithoutTeamInput = { - create?: Prisma.XOR | Prisma.TeamMemberCreateWithoutTeamInput[] | Prisma.TeamMemberUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.TeamMemberCreateOrConnectWithoutTeamInput | Prisma.TeamMemberCreateOrConnectWithoutTeamInput[] - createMany?: Prisma.TeamMemberCreateManyTeamInputEnvelope - connect?: Prisma.TeamMemberWhereUniqueInput | Prisma.TeamMemberWhereUniqueInput[] -} - -export type TeamMemberUpdateManyWithoutTeamNestedInput = { - create?: Prisma.XOR | Prisma.TeamMemberCreateWithoutTeamInput[] | Prisma.TeamMemberUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.TeamMemberCreateOrConnectWithoutTeamInput | Prisma.TeamMemberCreateOrConnectWithoutTeamInput[] - upsert?: Prisma.TeamMemberUpsertWithWhereUniqueWithoutTeamInput | Prisma.TeamMemberUpsertWithWhereUniqueWithoutTeamInput[] - createMany?: Prisma.TeamMemberCreateManyTeamInputEnvelope - set?: Prisma.TeamMemberWhereUniqueInput | Prisma.TeamMemberWhereUniqueInput[] - disconnect?: Prisma.TeamMemberWhereUniqueInput | Prisma.TeamMemberWhereUniqueInput[] - delete?: Prisma.TeamMemberWhereUniqueInput | Prisma.TeamMemberWhereUniqueInput[] - connect?: Prisma.TeamMemberWhereUniqueInput | Prisma.TeamMemberWhereUniqueInput[] - update?: Prisma.TeamMemberUpdateWithWhereUniqueWithoutTeamInput | Prisma.TeamMemberUpdateWithWhereUniqueWithoutTeamInput[] - updateMany?: Prisma.TeamMemberUpdateManyWithWhereWithoutTeamInput | Prisma.TeamMemberUpdateManyWithWhereWithoutTeamInput[] - deleteMany?: Prisma.TeamMemberScalarWhereInput | Prisma.TeamMemberScalarWhereInput[] -} - -export type TeamMemberUncheckedUpdateManyWithoutTeamNestedInput = { - create?: Prisma.XOR | Prisma.TeamMemberCreateWithoutTeamInput[] | Prisma.TeamMemberUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.TeamMemberCreateOrConnectWithoutTeamInput | Prisma.TeamMemberCreateOrConnectWithoutTeamInput[] - upsert?: Prisma.TeamMemberUpsertWithWhereUniqueWithoutTeamInput | Prisma.TeamMemberUpsertWithWhereUniqueWithoutTeamInput[] - createMany?: Prisma.TeamMemberCreateManyTeamInputEnvelope - set?: Prisma.TeamMemberWhereUniqueInput | Prisma.TeamMemberWhereUniqueInput[] - disconnect?: Prisma.TeamMemberWhereUniqueInput | Prisma.TeamMemberWhereUniqueInput[] - delete?: Prisma.TeamMemberWhereUniqueInput | Prisma.TeamMemberWhereUniqueInput[] - connect?: Prisma.TeamMemberWhereUniqueInput | Prisma.TeamMemberWhereUniqueInput[] - update?: Prisma.TeamMemberUpdateWithWhereUniqueWithoutTeamInput | Prisma.TeamMemberUpdateWithWhereUniqueWithoutTeamInput[] - updateMany?: Prisma.TeamMemberUpdateManyWithWhereWithoutTeamInput | Prisma.TeamMemberUpdateManyWithWhereWithoutTeamInput[] - deleteMany?: Prisma.TeamMemberScalarWhereInput | Prisma.TeamMemberScalarWhereInput[] -} - -export type EnumTeamMemberRoleFieldUpdateOperationsInput = { - set?: $Enums.TeamMemberRole -} - -export type EnumTeamMemberScopeFieldUpdateOperationsInput = { - set?: $Enums.TeamMemberScope -} - -export type TeamMemberCreateNestedOneWithoutProjectMembersInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamMemberCreateOrConnectWithoutProjectMembersInput - connect?: Prisma.TeamMemberWhereUniqueInput -} - -export type TeamMemberUpdateOneRequiredWithoutProjectMembersNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamMemberCreateOrConnectWithoutProjectMembersInput - upsert?: Prisma.TeamMemberUpsertWithoutProjectMembersInput - connect?: Prisma.TeamMemberWhereUniqueInput - update?: Prisma.XOR, Prisma.TeamMemberUncheckedUpdateWithoutProjectMembersInput> -} - -export type TeamMemberCreateNestedOneWithoutLastReadNotificationInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamMemberCreateOrConnectWithoutLastReadNotificationInput - connect?: Prisma.TeamMemberWhereUniqueInput -} - -export type TeamMemberUncheckedCreateNestedOneWithoutLastReadNotificationInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamMemberCreateOrConnectWithoutLastReadNotificationInput - connect?: Prisma.TeamMemberWhereUniqueInput -} - -export type TeamMemberUpdateOneWithoutLastReadNotificationNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamMemberCreateOrConnectWithoutLastReadNotificationInput - upsert?: Prisma.TeamMemberUpsertWithoutLastReadNotificationInput - disconnect?: Prisma.TeamMemberWhereInput | boolean - delete?: Prisma.TeamMemberWhereInput | boolean - connect?: Prisma.TeamMemberWhereUniqueInput - update?: Prisma.XOR, Prisma.TeamMemberUncheckedUpdateWithoutLastReadNotificationInput> -} - -export type TeamMemberUncheckedUpdateOneWithoutLastReadNotificationNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.TeamMemberCreateOrConnectWithoutLastReadNotificationInput - upsert?: Prisma.TeamMemberUpsertWithoutLastReadNotificationInput - disconnect?: Prisma.TeamMemberWhereInput | boolean - delete?: Prisma.TeamMemberWhereInput | boolean - connect?: Prisma.TeamMemberWhereUniqueInput - update?: Prisma.XOR, Prisma.TeamMemberUncheckedUpdateWithoutLastReadNotificationInput> -} - -export type TeamMemberCreateWithoutUserInput = { - id?: string - role: $Enums.TeamMemberRole - scope?: $Enums.TeamMemberScope - team: Prisma.TeamCreateNestedOneWithoutMembersInput - projectMembers?: Prisma.ProjectMemberCreateNestedManyWithoutTeamMemberInput - lastReadNotification?: Prisma.NotificationCreateNestedOneWithoutReadByMembersInput -} - -export type TeamMemberUncheckedCreateWithoutUserInput = { - id?: string - role: $Enums.TeamMemberRole - scope?: $Enums.TeamMemberScope - teamId: string - lastReadNotificationId?: string | null - projectMembers?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutTeamMemberInput -} - -export type TeamMemberCreateOrConnectWithoutUserInput = { - where: Prisma.TeamMemberWhereUniqueInput - create: Prisma.XOR -} - -export type TeamMemberCreateManyUserInputEnvelope = { - data: Prisma.TeamMemberCreateManyUserInput | Prisma.TeamMemberCreateManyUserInput[] - skipDuplicates?: boolean -} - -export type TeamMemberUpsertWithWhereUniqueWithoutUserInput = { - where: Prisma.TeamMemberWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type TeamMemberUpdateWithWhereUniqueWithoutUserInput = { - where: Prisma.TeamMemberWhereUniqueInput - data: Prisma.XOR -} - -export type TeamMemberUpdateManyWithWhereWithoutUserInput = { - where: Prisma.TeamMemberScalarWhereInput - data: Prisma.XOR -} - -export type TeamMemberScalarWhereInput = { - AND?: Prisma.TeamMemberScalarWhereInput | Prisma.TeamMemberScalarWhereInput[] - OR?: Prisma.TeamMemberScalarWhereInput[] - NOT?: Prisma.TeamMemberScalarWhereInput | Prisma.TeamMemberScalarWhereInput[] - id?: Prisma.StringFilter<"TeamMember"> | string - role?: Prisma.EnumTeamMemberRoleFilter<"TeamMember"> | $Enums.TeamMemberRole - scope?: Prisma.EnumTeamMemberScopeFilter<"TeamMember"> | $Enums.TeamMemberScope - teamId?: Prisma.StringFilter<"TeamMember"> | string - userId?: Prisma.StringFilter<"TeamMember"> | string - lastReadNotificationId?: Prisma.StringNullableFilter<"TeamMember"> | string | null -} - -export type TeamMemberCreateWithoutTeamInput = { - id?: string - role: $Enums.TeamMemberRole - scope?: $Enums.TeamMemberScope - user: Prisma.UserCreateNestedOneWithoutTeamMembersInput - projectMembers?: Prisma.ProjectMemberCreateNestedManyWithoutTeamMemberInput - lastReadNotification?: Prisma.NotificationCreateNestedOneWithoutReadByMembersInput -} - -export type TeamMemberUncheckedCreateWithoutTeamInput = { - id?: string - role: $Enums.TeamMemberRole - scope?: $Enums.TeamMemberScope - userId: string - lastReadNotificationId?: string | null - projectMembers?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutTeamMemberInput -} - -export type TeamMemberCreateOrConnectWithoutTeamInput = { - where: Prisma.TeamMemberWhereUniqueInput - create: Prisma.XOR -} - -export type TeamMemberCreateManyTeamInputEnvelope = { - data: Prisma.TeamMemberCreateManyTeamInput | Prisma.TeamMemberCreateManyTeamInput[] - skipDuplicates?: boolean -} - -export type TeamMemberUpsertWithWhereUniqueWithoutTeamInput = { - where: Prisma.TeamMemberWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type TeamMemberUpdateWithWhereUniqueWithoutTeamInput = { - where: Prisma.TeamMemberWhereUniqueInput - data: Prisma.XOR -} - -export type TeamMemberUpdateManyWithWhereWithoutTeamInput = { - where: Prisma.TeamMemberScalarWhereInput - data: Prisma.XOR -} - -export type TeamMemberCreateWithoutProjectMembersInput = { - id?: string - role: $Enums.TeamMemberRole - scope?: $Enums.TeamMemberScope - team: Prisma.TeamCreateNestedOneWithoutMembersInput - user: Prisma.UserCreateNestedOneWithoutTeamMembersInput - lastReadNotification?: Prisma.NotificationCreateNestedOneWithoutReadByMembersInput -} - -export type TeamMemberUncheckedCreateWithoutProjectMembersInput = { - id?: string - role: $Enums.TeamMemberRole - scope?: $Enums.TeamMemberScope - teamId: string - userId: string - lastReadNotificationId?: string | null -} - -export type TeamMemberCreateOrConnectWithoutProjectMembersInput = { - where: Prisma.TeamMemberWhereUniqueInput - create: Prisma.XOR -} - -export type TeamMemberUpsertWithoutProjectMembersInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.TeamMemberWhereInput -} - -export type TeamMemberUpdateToOneWithWhereWithoutProjectMembersInput = { - where?: Prisma.TeamMemberWhereInput - data: Prisma.XOR -} - -export type TeamMemberUpdateWithoutProjectMembersInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole - scope?: Prisma.EnumTeamMemberScopeFieldUpdateOperationsInput | $Enums.TeamMemberScope - team?: Prisma.TeamUpdateOneRequiredWithoutMembersNestedInput - user?: Prisma.UserUpdateOneRequiredWithoutTeamMembersNestedInput - lastReadNotification?: Prisma.NotificationUpdateOneWithoutReadByMembersNestedInput -} - -export type TeamMemberUncheckedUpdateWithoutProjectMembersInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole - scope?: Prisma.EnumTeamMemberScopeFieldUpdateOperationsInput | $Enums.TeamMemberScope - teamId?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.StringFieldUpdateOperationsInput | string - lastReadNotificationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type TeamMemberCreateWithoutLastReadNotificationInput = { - id?: string - role: $Enums.TeamMemberRole - scope?: $Enums.TeamMemberScope - team: Prisma.TeamCreateNestedOneWithoutMembersInput - user: Prisma.UserCreateNestedOneWithoutTeamMembersInput - projectMembers?: Prisma.ProjectMemberCreateNestedManyWithoutTeamMemberInput -} - -export type TeamMemberUncheckedCreateWithoutLastReadNotificationInput = { - id?: string - role: $Enums.TeamMemberRole - scope?: $Enums.TeamMemberScope - teamId: string - userId: string - projectMembers?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutTeamMemberInput -} - -export type TeamMemberCreateOrConnectWithoutLastReadNotificationInput = { - where: Prisma.TeamMemberWhereUniqueInput - create: Prisma.XOR -} - -export type TeamMemberUpsertWithoutLastReadNotificationInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.TeamMemberWhereInput -} - -export type TeamMemberUpdateToOneWithWhereWithoutLastReadNotificationInput = { - where?: Prisma.TeamMemberWhereInput - data: Prisma.XOR -} - -export type TeamMemberUpdateWithoutLastReadNotificationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole - scope?: Prisma.EnumTeamMemberScopeFieldUpdateOperationsInput | $Enums.TeamMemberScope - team?: Prisma.TeamUpdateOneRequiredWithoutMembersNestedInput - user?: Prisma.UserUpdateOneRequiredWithoutTeamMembersNestedInput - projectMembers?: Prisma.ProjectMemberUpdateManyWithoutTeamMemberNestedInput -} - -export type TeamMemberUncheckedUpdateWithoutLastReadNotificationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole - scope?: Prisma.EnumTeamMemberScopeFieldUpdateOperationsInput | $Enums.TeamMemberScope - teamId?: Prisma.StringFieldUpdateOperationsInput | string - userId?: Prisma.StringFieldUpdateOperationsInput | string - projectMembers?: Prisma.ProjectMemberUncheckedUpdateManyWithoutTeamMemberNestedInput -} - -export type TeamMemberCreateManyUserInput = { - id?: string - role: $Enums.TeamMemberRole - scope?: $Enums.TeamMemberScope - teamId: string - lastReadNotificationId?: string | null -} - -export type TeamMemberUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole - scope?: Prisma.EnumTeamMemberScopeFieldUpdateOperationsInput | $Enums.TeamMemberScope - team?: Prisma.TeamUpdateOneRequiredWithoutMembersNestedInput - projectMembers?: Prisma.ProjectMemberUpdateManyWithoutTeamMemberNestedInput - lastReadNotification?: Prisma.NotificationUpdateOneWithoutReadByMembersNestedInput -} - -export type TeamMemberUncheckedUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole - scope?: Prisma.EnumTeamMemberScopeFieldUpdateOperationsInput | $Enums.TeamMemberScope - teamId?: Prisma.StringFieldUpdateOperationsInput | string - lastReadNotificationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectMembers?: Prisma.ProjectMemberUncheckedUpdateManyWithoutTeamMemberNestedInput -} - -export type TeamMemberUncheckedUpdateManyWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole - scope?: Prisma.EnumTeamMemberScopeFieldUpdateOperationsInput | $Enums.TeamMemberScope - teamId?: Prisma.StringFieldUpdateOperationsInput | string - lastReadNotificationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - -export type TeamMemberCreateManyTeamInput = { - id?: string - role: $Enums.TeamMemberRole - scope?: $Enums.TeamMemberScope - userId: string - lastReadNotificationId?: string | null -} - -export type TeamMemberUpdateWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole - scope?: Prisma.EnumTeamMemberScopeFieldUpdateOperationsInput | $Enums.TeamMemberScope - user?: Prisma.UserUpdateOneRequiredWithoutTeamMembersNestedInput - projectMembers?: Prisma.ProjectMemberUpdateManyWithoutTeamMemberNestedInput - lastReadNotification?: Prisma.NotificationUpdateOneWithoutReadByMembersNestedInput -} - -export type TeamMemberUncheckedUpdateWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole - scope?: Prisma.EnumTeamMemberScopeFieldUpdateOperationsInput | $Enums.TeamMemberScope - userId?: Prisma.StringFieldUpdateOperationsInput | string - lastReadNotificationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectMembers?: Prisma.ProjectMemberUncheckedUpdateManyWithoutTeamMemberNestedInput -} - -export type TeamMemberUncheckedUpdateManyWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - role?: Prisma.EnumTeamMemberRoleFieldUpdateOperationsInput | $Enums.TeamMemberRole - scope?: Prisma.EnumTeamMemberScopeFieldUpdateOperationsInput | $Enums.TeamMemberScope - userId?: Prisma.StringFieldUpdateOperationsInput | string - lastReadNotificationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null -} - - -/** - * Count Type TeamMemberCountOutputType - */ - -export type TeamMemberCountOutputType = { - projectMembers: number -} - -export type TeamMemberCountOutputTypeSelect = { - projectMembers?: boolean | TeamMemberCountOutputTypeCountProjectMembersArgs -} - -/** - * TeamMemberCountOutputType without action - */ -export type TeamMemberCountOutputTypeDefaultArgs = { - /** - * Select specific fields to fetch from the TeamMemberCountOutputType - */ - select?: Prisma.TeamMemberCountOutputTypeSelect | null -} - -/** - * TeamMemberCountOutputType without action - */ -export type TeamMemberCountOutputTypeCountProjectMembersArgs = { - where?: Prisma.ProjectMemberWhereInput -} - - -export type TeamMemberSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - role?: boolean - scope?: boolean - teamId?: boolean - userId?: boolean - lastReadNotificationId?: boolean - team?: boolean | Prisma.TeamDefaultArgs - user?: boolean | Prisma.UserDefaultArgs - projectMembers?: boolean | Prisma.TeamMember$projectMembersArgs - lastReadNotification?: boolean | Prisma.TeamMember$lastReadNotificationArgs - _count?: boolean | Prisma.TeamMemberCountOutputTypeDefaultArgs -}, ExtArgs["result"]["teamMember"]> - -export type TeamMemberSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - role?: boolean - scope?: boolean - teamId?: boolean - userId?: boolean - lastReadNotificationId?: boolean - team?: boolean | Prisma.TeamDefaultArgs - user?: boolean | Prisma.UserDefaultArgs - lastReadNotification?: boolean | Prisma.TeamMember$lastReadNotificationArgs -}, ExtArgs["result"]["teamMember"]> - -export type TeamMemberSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - role?: boolean - scope?: boolean - teamId?: boolean - userId?: boolean - lastReadNotificationId?: boolean - team?: boolean | Prisma.TeamDefaultArgs - user?: boolean | Prisma.UserDefaultArgs - lastReadNotification?: boolean | Prisma.TeamMember$lastReadNotificationArgs -}, ExtArgs["result"]["teamMember"]> - -export type TeamMemberSelectScalar = { - id?: boolean - role?: boolean - scope?: boolean - teamId?: boolean - userId?: boolean - lastReadNotificationId?: boolean -} - -export type TeamMemberOmit = runtime.Types.Extensions.GetOmit<"id" | "role" | "scope" | "teamId" | "userId" | "lastReadNotificationId", ExtArgs["result"]["teamMember"]> -export type TeamMemberInclude = { - team?: boolean | Prisma.TeamDefaultArgs - user?: boolean | Prisma.UserDefaultArgs - projectMembers?: boolean | Prisma.TeamMember$projectMembersArgs - lastReadNotification?: boolean | Prisma.TeamMember$lastReadNotificationArgs - _count?: boolean | Prisma.TeamMemberCountOutputTypeDefaultArgs -} -export type TeamMemberIncludeCreateManyAndReturn = { - team?: boolean | Prisma.TeamDefaultArgs - user?: boolean | Prisma.UserDefaultArgs - lastReadNotification?: boolean | Prisma.TeamMember$lastReadNotificationArgs -} -export type TeamMemberIncludeUpdateManyAndReturn = { - team?: boolean | Prisma.TeamDefaultArgs - user?: boolean | Prisma.UserDefaultArgs - lastReadNotification?: boolean | Prisma.TeamMember$lastReadNotificationArgs -} - -export type $TeamMemberPayload = { - name: "TeamMember" - objects: { - team: Prisma.$TeamPayload - user: Prisma.$UserPayload - projectMembers: Prisma.$ProjectMemberPayload[] - lastReadNotification: Prisma.$NotificationPayload | null - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - role: $Enums.TeamMemberRole - scope: $Enums.TeamMemberScope - teamId: string - userId: string - lastReadNotificationId: string | null - }, ExtArgs["result"]["teamMember"]> - composites: {} -} - -export type TeamMemberGetPayload = runtime.Types.Result.GetResult - -export type TeamMemberCountArgs = - Omit & { - select?: TeamMemberCountAggregateInputType | true - } - -export interface TeamMemberDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['TeamMember'], meta: { name: 'TeamMember' } } - /** - * Find zero or one TeamMember that matches the filter. - * @param {TeamMemberFindUniqueArgs} args - Arguments to find a TeamMember - * @example - * // Get one TeamMember - * const teamMember = await prisma.teamMember.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__TeamMemberClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one TeamMember that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {TeamMemberFindUniqueOrThrowArgs} args - Arguments to find a TeamMember - * @example - * // Get one TeamMember - * const teamMember = await prisma.teamMember.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__TeamMemberClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first TeamMember that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TeamMemberFindFirstArgs} args - Arguments to find a TeamMember - * @example - * // Get one TeamMember - * const teamMember = await prisma.teamMember.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__TeamMemberClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first TeamMember that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TeamMemberFindFirstOrThrowArgs} args - Arguments to find a TeamMember - * @example - * // Get one TeamMember - * const teamMember = await prisma.teamMember.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__TeamMemberClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more TeamMembers that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TeamMemberFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all TeamMembers - * const teamMembers = await prisma.teamMember.findMany() - * - * // Get first 10 TeamMembers - * const teamMembers = await prisma.teamMember.findMany({ take: 10 }) - * - * // Only select the `id` - * const teamMemberWithIdOnly = await prisma.teamMember.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a TeamMember. - * @param {TeamMemberCreateArgs} args - Arguments to create a TeamMember. - * @example - * // Create one TeamMember - * const TeamMember = await prisma.teamMember.create({ - * data: { - * // ... data to create a TeamMember - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__TeamMemberClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many TeamMembers. - * @param {TeamMemberCreateManyArgs} args - Arguments to create many TeamMembers. - * @example - * // Create many TeamMembers - * const teamMember = await prisma.teamMember.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many TeamMembers and returns the data saved in the database. - * @param {TeamMemberCreateManyAndReturnArgs} args - Arguments to create many TeamMembers. - * @example - * // Create many TeamMembers - * const teamMember = await prisma.teamMember.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many TeamMembers and only return the `id` - * const teamMemberWithIdOnly = await prisma.teamMember.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a TeamMember. - * @param {TeamMemberDeleteArgs} args - Arguments to delete one TeamMember. - * @example - * // Delete one TeamMember - * const TeamMember = await prisma.teamMember.delete({ - * where: { - * // ... filter to delete one TeamMember - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__TeamMemberClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one TeamMember. - * @param {TeamMemberUpdateArgs} args - Arguments to update one TeamMember. - * @example - * // Update one TeamMember - * const teamMember = await prisma.teamMember.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__TeamMemberClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more TeamMembers. - * @param {TeamMemberDeleteManyArgs} args - Arguments to filter TeamMembers to delete. - * @example - * // Delete a few TeamMembers - * const { count } = await prisma.teamMember.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more TeamMembers. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TeamMemberUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many TeamMembers - * const teamMember = await prisma.teamMember.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more TeamMembers and returns the data updated in the database. - * @param {TeamMemberUpdateManyAndReturnArgs} args - Arguments to update many TeamMembers. - * @example - * // Update many TeamMembers - * const teamMember = await prisma.teamMember.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more TeamMembers and only return the `id` - * const teamMemberWithIdOnly = await prisma.teamMember.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one TeamMember. - * @param {TeamMemberUpsertArgs} args - Arguments to update or create a TeamMember. - * @example - * // Update or create a TeamMember - * const teamMember = await prisma.teamMember.upsert({ - * create: { - * // ... data to create a TeamMember - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the TeamMember we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__TeamMemberClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of TeamMembers. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TeamMemberCountArgs} args - Arguments to filter TeamMembers to count. - * @example - * // Count the number of TeamMembers - * const count = await prisma.teamMember.count({ - * where: { - * // ... the filter for the TeamMembers we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a TeamMember. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TeamMemberAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by TeamMember. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {TeamMemberGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends TeamMemberGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: TeamMemberGroupByArgs['orderBy'] } - : { orderBy?: TeamMemberGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetTeamMemberGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the TeamMember model - */ -readonly fields: TeamMemberFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for TeamMember. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__TeamMemberClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - team = {}>(args?: Prisma.Subset>): Prisma.Prisma__TeamClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - projectMembers = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - lastReadNotification = {}>(args?: Prisma.Subset>): Prisma.Prisma__NotificationClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the TeamMember model - */ -export interface TeamMemberFieldRefs { - readonly id: Prisma.FieldRef<"TeamMember", 'String'> - readonly role: Prisma.FieldRef<"TeamMember", 'TeamMemberRole'> - readonly scope: Prisma.FieldRef<"TeamMember", 'TeamMemberScope'> - readonly teamId: Prisma.FieldRef<"TeamMember", 'String'> - readonly userId: Prisma.FieldRef<"TeamMember", 'String'> - readonly lastReadNotificationId: Prisma.FieldRef<"TeamMember", 'String'> -} - - -// Custom InputTypes -/** - * TeamMember findUnique - */ -export type TeamMemberFindUniqueArgs = { - /** - * Select specific fields to fetch from the TeamMember - */ - select?: Prisma.TeamMemberSelect | null - /** - * Omit specific fields from the TeamMember - */ - omit?: Prisma.TeamMemberOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamMemberInclude | null - /** - * Filter, which TeamMember to fetch. - */ - where: Prisma.TeamMemberWhereUniqueInput -} - -/** - * TeamMember findUniqueOrThrow - */ -export type TeamMemberFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the TeamMember - */ - select?: Prisma.TeamMemberSelect | null - /** - * Omit specific fields from the TeamMember - */ - omit?: Prisma.TeamMemberOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamMemberInclude | null - /** - * Filter, which TeamMember to fetch. - */ - where: Prisma.TeamMemberWhereUniqueInput -} - -/** - * TeamMember findFirst - */ -export type TeamMemberFindFirstArgs = { - /** - * Select specific fields to fetch from the TeamMember - */ - select?: Prisma.TeamMemberSelect | null - /** - * Omit specific fields from the TeamMember - */ - omit?: Prisma.TeamMemberOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamMemberInclude | null - /** - * Filter, which TeamMember to fetch. - */ - where?: Prisma.TeamMemberWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of TeamMembers to fetch. - */ - orderBy?: Prisma.TeamMemberOrderByWithRelationInput | Prisma.TeamMemberOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for TeamMembers. - */ - cursor?: Prisma.TeamMemberWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` TeamMembers from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` TeamMembers. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of TeamMembers. - */ - distinct?: Prisma.TeamMemberScalarFieldEnum | Prisma.TeamMemberScalarFieldEnum[] -} - -/** - * TeamMember findFirstOrThrow - */ -export type TeamMemberFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the TeamMember - */ - select?: Prisma.TeamMemberSelect | null - /** - * Omit specific fields from the TeamMember - */ - omit?: Prisma.TeamMemberOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamMemberInclude | null - /** - * Filter, which TeamMember to fetch. - */ - where?: Prisma.TeamMemberWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of TeamMembers to fetch. - */ - orderBy?: Prisma.TeamMemberOrderByWithRelationInput | Prisma.TeamMemberOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for TeamMembers. - */ - cursor?: Prisma.TeamMemberWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` TeamMembers from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` TeamMembers. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of TeamMembers. - */ - distinct?: Prisma.TeamMemberScalarFieldEnum | Prisma.TeamMemberScalarFieldEnum[] -} - -/** - * TeamMember findMany - */ -export type TeamMemberFindManyArgs = { - /** - * Select specific fields to fetch from the TeamMember - */ - select?: Prisma.TeamMemberSelect | null - /** - * Omit specific fields from the TeamMember - */ - omit?: Prisma.TeamMemberOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamMemberInclude | null - /** - * Filter, which TeamMembers to fetch. - */ - where?: Prisma.TeamMemberWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of TeamMembers to fetch. - */ - orderBy?: Prisma.TeamMemberOrderByWithRelationInput | Prisma.TeamMemberOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing TeamMembers. - */ - cursor?: Prisma.TeamMemberWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` TeamMembers from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` TeamMembers. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of TeamMembers. - */ - distinct?: Prisma.TeamMemberScalarFieldEnum | Prisma.TeamMemberScalarFieldEnum[] -} - -/** - * TeamMember create - */ -export type TeamMemberCreateArgs = { - /** - * Select specific fields to fetch from the TeamMember - */ - select?: Prisma.TeamMemberSelect | null - /** - * Omit specific fields from the TeamMember - */ - omit?: Prisma.TeamMemberOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamMemberInclude | null - /** - * The data needed to create a TeamMember. - */ - data: Prisma.XOR -} - -/** - * TeamMember createMany - */ -export type TeamMemberCreateManyArgs = { - /** - * The data used to create many TeamMembers. - */ - data: Prisma.TeamMemberCreateManyInput | Prisma.TeamMemberCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * TeamMember createManyAndReturn - */ -export type TeamMemberCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the TeamMember - */ - select?: Prisma.TeamMemberSelectCreateManyAndReturn | null - /** - * Omit specific fields from the TeamMember - */ - omit?: Prisma.TeamMemberOmit | null - /** - * The data used to create many TeamMembers. - */ - data: Prisma.TeamMemberCreateManyInput | Prisma.TeamMemberCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamMemberIncludeCreateManyAndReturn | null -} - -/** - * TeamMember update - */ -export type TeamMemberUpdateArgs = { - /** - * Select specific fields to fetch from the TeamMember - */ - select?: Prisma.TeamMemberSelect | null - /** - * Omit specific fields from the TeamMember - */ - omit?: Prisma.TeamMemberOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamMemberInclude | null - /** - * The data needed to update a TeamMember. - */ - data: Prisma.XOR - /** - * Choose, which TeamMember to update. - */ - where: Prisma.TeamMemberWhereUniqueInput -} - -/** - * TeamMember updateMany - */ -export type TeamMemberUpdateManyArgs = { - /** - * The data used to update TeamMembers. - */ - data: Prisma.XOR - /** - * Filter which TeamMembers to update - */ - where?: Prisma.TeamMemberWhereInput - /** - * Limit how many TeamMembers to update. - */ - limit?: number -} - -/** - * TeamMember updateManyAndReturn - */ -export type TeamMemberUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the TeamMember - */ - select?: Prisma.TeamMemberSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the TeamMember - */ - omit?: Prisma.TeamMemberOmit | null - /** - * The data used to update TeamMembers. - */ - data: Prisma.XOR - /** - * Filter which TeamMembers to update - */ - where?: Prisma.TeamMemberWhereInput - /** - * Limit how many TeamMembers to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamMemberIncludeUpdateManyAndReturn | null -} - -/** - * TeamMember upsert - */ -export type TeamMemberUpsertArgs = { - /** - * Select specific fields to fetch from the TeamMember - */ - select?: Prisma.TeamMemberSelect | null - /** - * Omit specific fields from the TeamMember - */ - omit?: Prisma.TeamMemberOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamMemberInclude | null - /** - * The filter to search for the TeamMember to update in case it exists. - */ - where: Prisma.TeamMemberWhereUniqueInput - /** - * In case the TeamMember found by the `where` argument doesn't exist, create a new TeamMember with this data. - */ - create: Prisma.XOR - /** - * In case the TeamMember was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * TeamMember delete - */ -export type TeamMemberDeleteArgs = { - /** - * Select specific fields to fetch from the TeamMember - */ - select?: Prisma.TeamMemberSelect | null - /** - * Omit specific fields from the TeamMember - */ - omit?: Prisma.TeamMemberOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamMemberInclude | null - /** - * Filter which TeamMember to delete. - */ - where: Prisma.TeamMemberWhereUniqueInput -} - -/** - * TeamMember deleteMany - */ -export type TeamMemberDeleteManyArgs = { - /** - * Filter which TeamMembers to delete - */ - where?: Prisma.TeamMemberWhereInput - /** - * Limit how many TeamMembers to delete. - */ - limit?: number -} - -/** - * TeamMember.projectMembers - */ -export type TeamMember$projectMembersArgs = { - /** - * Select specific fields to fetch from the ProjectMember - */ - select?: Prisma.ProjectMemberSelect | null - /** - * Omit specific fields from the ProjectMember - */ - omit?: Prisma.ProjectMemberOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.ProjectMemberInclude | null - where?: Prisma.ProjectMemberWhereInput - orderBy?: Prisma.ProjectMemberOrderByWithRelationInput | Prisma.ProjectMemberOrderByWithRelationInput[] - cursor?: Prisma.ProjectMemberWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.ProjectMemberScalarFieldEnum | Prisma.ProjectMemberScalarFieldEnum[] -} - -/** - * TeamMember.lastReadNotification - */ -export type TeamMember$lastReadNotificationArgs = { - /** - * Select specific fields to fetch from the Notification - */ - select?: Prisma.NotificationSelect | null - /** - * Omit specific fields from the Notification - */ - omit?: Prisma.NotificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.NotificationInclude | null - where?: Prisma.NotificationWhereInput -} - -/** - * TeamMember without action - */ -export type TeamMemberDefaultArgs = { - /** - * Select specific fields to fetch from the TeamMember - */ - select?: Prisma.TeamMemberSelect | null - /** - * Omit specific fields from the TeamMember - */ - omit?: Prisma.TeamMemberOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamMemberInclude | null -} diff --git a/src/generated/prisma/models/User.ts b/src/generated/prisma/models/User.ts deleted file mode 100644 index b34ba426..00000000 --- a/src/generated/prisma/models/User.ts +++ /dev/null @@ -1,3725 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `User` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model User - * - */ -export type UserModel = runtime.Types.Result.DefaultSelection - -export type AggregateUser = { - _count: UserCountAggregateOutputType | null - _min: UserMinAggregateOutputType | null - _max: UserMaxAggregateOutputType | null -} - -export type UserMinAggregateOutputType = { - id: string | null - type: $Enums.UserType | null - name: string | null - email: string | null - emailVerified: boolean | null - image: string | null - password: string | null - guestEmail: string | null - createdAt: Date | null - updatedAt: Date | null -} - -export type UserMaxAggregateOutputType = { - id: string | null - type: $Enums.UserType | null - name: string | null - email: string | null - emailVerified: boolean | null - image: string | null - password: string | null - guestEmail: string | null - createdAt: Date | null - updatedAt: Date | null -} - -export type UserCountAggregateOutputType = { - id: number - type: number - name: number - email: number - emailVerified: number - image: number - password: number - agentSettings:PrismaJson.AgentSettings - guestEmail: number - createdAt: number - updatedAt: number - _all: number -} - - -export type UserMinAggregateInputType = { - id?: true - type?: true - name?: true - email?: true - emailVerified?: true - image?: true - password?: true - guestEmail?: true - createdAt?: true - updatedAt?: true -} - -export type UserMaxAggregateInputType = { - id?: true - type?: true - name?: true - email?: true - emailVerified?: true - image?: true - password?: true - guestEmail?: true - createdAt?: true - updatedAt?: true -} - -export type UserCountAggregateInputType = { - id?: true - type?: true - name?: true - email?: true - emailVerified?: true - image?: true - password?: true - agentSettings?: true - guestEmail?: true - createdAt?: true - updatedAt?: true - _all?: true -} - -export type UserAggregateArgs = { - /** - * Filter which User to aggregate. - */ - where?: Prisma.UserWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Users to fetch. - */ - orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.UserWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Users from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Users. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Users - **/ - _count?: true | UserCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: UserMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: UserMaxAggregateInputType -} - -export type GetUserAggregateType = { - [P in keyof T & keyof AggregateUser]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type UserGroupByArgs = { - where?: Prisma.UserWhereInput - orderBy?: Prisma.UserOrderByWithAggregationInput | Prisma.UserOrderByWithAggregationInput[] - by: Prisma.UserScalarFieldEnum[] | Prisma.UserScalarFieldEnum - having?: Prisma.UserScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: UserCountAggregateInputType | true - _min?: UserMinAggregateInputType - _max?: UserMaxAggregateInputType -} - -export type UserGroupByOutputType = { - id: string - type: $Enums.UserType - name: string - email: string - emailVerified: boolean - image: string | null - password: string | null - agentSettings:PrismaJson.AgentSettings | null - guestEmail: string | null - createdAt: Date - updatedAt: Date - _count: UserCountAggregateOutputType | null - _min: UserMinAggregateOutputType | null - _max: UserMaxAggregateOutputType | null -} - -export type GetUserGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof UserGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type UserWhereInput = { - AND?: Prisma.UserWhereInput | Prisma.UserWhereInput[] - OR?: Prisma.UserWhereInput[] - NOT?: Prisma.UserWhereInput | Prisma.UserWhereInput[] - id?: Prisma.StringFilter<"User"> | string - type?: Prisma.EnumUserTypeFilter<"User"> | $Enums.UserType - name?: Prisma.StringFilter<"User"> | string - email?: Prisma.StringFilter<"User"> | string - emailVerified?: Prisma.BoolFilter<"User"> | boolean - image?: Prisma.StringNullableFilter<"User"> | string | null - password?: Prisma.StringNullableFilter<"User"> | string | null - agentSettings?: Prisma.JsonNullableFilter<"User"> - guestEmail?: Prisma.StringNullableFilter<"User"> | string | null - createdAt?: Prisma.DateTimeFilter<"User"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"User"> | Date | string - assets?: Prisma.AssetListRelationFilter - authTokens?: Prisma.AuthTokenListRelationFilter - tasks?: Prisma.TaskListRelationFilter - teamMembers?: Prisma.TeamMemberListRelationFilter - comments?: Prisma.AssetCommentListRelationFilter - createdInvites?: Prisma.InviteListRelationFilter - createdNotifications?: Prisma.NotificationListRelationFilter - notifications?: Prisma.NotificationListRelationFilter - sessions?: Prisma.SessionListRelationFilter - accounts?: Prisma.AccountListRelationFilter - agent?: Prisma.XOR | null - agentSessions?: Prisma.AgentSessionListRelationFilter - userMetadata?: Prisma.UserMetadataListRelationFilter -} - -export type UserOrderByWithRelationInput = { - id?: Prisma.SortOrder - type?: Prisma.SortOrder - name?: Prisma.SortOrder - email?: Prisma.SortOrder - emailVerified?: Prisma.SortOrder - image?: Prisma.SortOrderInput | Prisma.SortOrder - password?: Prisma.SortOrderInput | Prisma.SortOrder - agentSettings?: Prisma.SortOrderInput | Prisma.SortOrder - guestEmail?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - assets?: Prisma.AssetOrderByRelationAggregateInput - authTokens?: Prisma.AuthTokenOrderByRelationAggregateInput - tasks?: Prisma.TaskOrderByRelationAggregateInput - teamMembers?: Prisma.TeamMemberOrderByRelationAggregateInput - comments?: Prisma.AssetCommentOrderByRelationAggregateInput - createdInvites?: Prisma.InviteOrderByRelationAggregateInput - createdNotifications?: Prisma.NotificationOrderByRelationAggregateInput - notifications?: Prisma.NotificationOrderByRelationAggregateInput - sessions?: Prisma.SessionOrderByRelationAggregateInput - accounts?: Prisma.AccountOrderByRelationAggregateInput - agent?: Prisma.AgentOrderByWithRelationInput - agentSessions?: Prisma.AgentSessionOrderByRelationAggregateInput - userMetadata?: Prisma.UserMetadataOrderByRelationAggregateInput -} - -export type UserWhereUniqueInput = Prisma.AtLeast<{ - id?: string - email?: string - AND?: Prisma.UserWhereInput | Prisma.UserWhereInput[] - OR?: Prisma.UserWhereInput[] - NOT?: Prisma.UserWhereInput | Prisma.UserWhereInput[] - type?: Prisma.EnumUserTypeFilter<"User"> | $Enums.UserType - name?: Prisma.StringFilter<"User"> | string - emailVerified?: Prisma.BoolFilter<"User"> | boolean - image?: Prisma.StringNullableFilter<"User"> | string | null - password?: Prisma.StringNullableFilter<"User"> | string | null - agentSettings?: Prisma.JsonNullableFilter<"User"> - guestEmail?: Prisma.StringNullableFilter<"User"> | string | null - createdAt?: Prisma.DateTimeFilter<"User"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"User"> | Date | string - assets?: Prisma.AssetListRelationFilter - authTokens?: Prisma.AuthTokenListRelationFilter - tasks?: Prisma.TaskListRelationFilter - teamMembers?: Prisma.TeamMemberListRelationFilter - comments?: Prisma.AssetCommentListRelationFilter - createdInvites?: Prisma.InviteListRelationFilter - createdNotifications?: Prisma.NotificationListRelationFilter - notifications?: Prisma.NotificationListRelationFilter - sessions?: Prisma.SessionListRelationFilter - accounts?: Prisma.AccountListRelationFilter - agent?: Prisma.XOR | null - agentSessions?: Prisma.AgentSessionListRelationFilter - userMetadata?: Prisma.UserMetadataListRelationFilter -}, "id" | "email"> - -export type UserOrderByWithAggregationInput = { - id?: Prisma.SortOrder - type?: Prisma.SortOrder - name?: Prisma.SortOrder - email?: Prisma.SortOrder - emailVerified?: Prisma.SortOrder - image?: Prisma.SortOrderInput | Prisma.SortOrder - password?: Prisma.SortOrderInput | Prisma.SortOrder - agentSettings?: Prisma.SortOrderInput | Prisma.SortOrder - guestEmail?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - _count?: Prisma.UserCountOrderByAggregateInput - _max?: Prisma.UserMaxOrderByAggregateInput - _min?: Prisma.UserMinOrderByAggregateInput -} - -export type UserScalarWhereWithAggregatesInput = { - AND?: Prisma.UserScalarWhereWithAggregatesInput | Prisma.UserScalarWhereWithAggregatesInput[] - OR?: Prisma.UserScalarWhereWithAggregatesInput[] - NOT?: Prisma.UserScalarWhereWithAggregatesInput | Prisma.UserScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"User"> | string - type?: Prisma.EnumUserTypeWithAggregatesFilter<"User"> | $Enums.UserType - name?: Prisma.StringWithAggregatesFilter<"User"> | string - email?: Prisma.StringWithAggregatesFilter<"User"> | string - emailVerified?: Prisma.BoolWithAggregatesFilter<"User"> | boolean - image?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null - password?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null - agentSettings?: Prisma.JsonNullableWithAggregatesFilter<"User"> - guestEmail?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null - createdAt?: Prisma.DateTimeWithAggregatesFilter<"User"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"User"> | Date | string -} - -export type UserCreateInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput - authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput - tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput - teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput - createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput - createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput - notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput - sessions?: Prisma.SessionCreateNestedManyWithoutUserInput - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput - agent?: Prisma.AgentCreateNestedOneWithoutUserInput - agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput - userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput -} - -export type UserUncheckedCreateInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput - authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput - tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput - teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput - createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput - createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput - sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput - agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput - agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput - userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput -} - -export type UserUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput - authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput - tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput - teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput - createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput - createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput - sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput - agent?: Prisma.AgentUpdateOneWithoutUserNestedInput - agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput - userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput -} - -export type UserUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput - authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput - tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput - teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput - createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput - createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput - sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput - agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput - agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput - userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput -} - -export type UserCreateManyInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type UserUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type UserUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type UserCountOrderByAggregateInput = { - id?: Prisma.SortOrder - type?: Prisma.SortOrder - name?: Prisma.SortOrder - email?: Prisma.SortOrder - emailVerified?: Prisma.SortOrder - image?: Prisma.SortOrder - password?: Prisma.SortOrder - agentSettings?: Prisma.SortOrder - guestEmail?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type UserMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - type?: Prisma.SortOrder - name?: Prisma.SortOrder - email?: Prisma.SortOrder - emailVerified?: Prisma.SortOrder - image?: Prisma.SortOrder - password?: Prisma.SortOrder - guestEmail?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type UserMinOrderByAggregateInput = { - id?: Prisma.SortOrder - type?: Prisma.SortOrder - name?: Prisma.SortOrder - email?: Prisma.SortOrder - emailVerified?: Prisma.SortOrder - image?: Prisma.SortOrder - password?: Prisma.SortOrder - guestEmail?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type UserScalarRelationFilter = { - is?: Prisma.UserWhereInput - isNot?: Prisma.UserWhereInput -} - -export type UserNullableScalarRelationFilter = { - is?: Prisma.UserWhereInput | null - isNot?: Prisma.UserWhereInput | null -} - -export type StringFieldUpdateOperationsInput = { - set?: string -} - -export type EnumUserTypeFieldUpdateOperationsInput = { - set?: $Enums.UserType -} - -export type BoolFieldUpdateOperationsInput = { - set?: boolean -} - -export type NullableStringFieldUpdateOperationsInput = { - set?: string | null -} - -export type DateTimeFieldUpdateOperationsInput = { - set?: Date | string -} - -export type UserCreateNestedOneWithoutSessionsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutSessionsInput - connect?: Prisma.UserWhereUniqueInput -} - -export type UserUpdateOneRequiredWithoutSessionsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutSessionsInput - upsert?: Prisma.UserUpsertWithoutSessionsInput - connect?: Prisma.UserWhereUniqueInput - update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutSessionsInput> -} - -export type UserCreateNestedOneWithoutAccountsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutAccountsInput - connect?: Prisma.UserWhereUniqueInput -} - -export type UserUpdateOneRequiredWithoutAccountsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutAccountsInput - upsert?: Prisma.UserUpsertWithoutAccountsInput - connect?: Prisma.UserWhereUniqueInput - update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutAccountsInput> -} - -export type UserCreateNestedOneWithoutAuthTokensInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutAuthTokensInput - connect?: Prisma.UserWhereUniqueInput -} - -export type UserUpdateOneRequiredWithoutAuthTokensNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutAuthTokensInput - upsert?: Prisma.UserUpsertWithoutAuthTokensInput - connect?: Prisma.UserWhereUniqueInput - update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutAuthTokensInput> -} - -export type UserCreateNestedOneWithoutTeamMembersInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutTeamMembersInput - connect?: Prisma.UserWhereUniqueInput -} - -export type UserUpdateOneRequiredWithoutTeamMembersNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutTeamMembersInput - upsert?: Prisma.UserUpsertWithoutTeamMembersInput - connect?: Prisma.UserWhereUniqueInput - update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutTeamMembersInput> -} - -export type UserCreateNestedOneWithoutAssetsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutAssetsInput - connect?: Prisma.UserWhereUniqueInput -} - -export type UserUpdateOneWithoutAssetsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutAssetsInput - upsert?: Prisma.UserUpsertWithoutAssetsInput - disconnect?: Prisma.UserWhereInput | boolean - delete?: Prisma.UserWhereInput | boolean - connect?: Prisma.UserWhereUniqueInput - update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutAssetsInput> -} - -export type UserCreateNestedOneWithoutCommentsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutCommentsInput - connect?: Prisma.UserWhereUniqueInput -} - -export type UserUpdateOneWithoutCommentsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutCommentsInput - upsert?: Prisma.UserUpsertWithoutCommentsInput - disconnect?: Prisma.UserWhereInput | boolean - delete?: Prisma.UserWhereInput | boolean - connect?: Prisma.UserWhereUniqueInput - update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutCommentsInput> -} - -export type UserCreateNestedOneWithoutCreatedInvitesInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutCreatedInvitesInput - connect?: Prisma.UserWhereUniqueInput -} - -export type UserUpdateOneRequiredWithoutCreatedInvitesNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutCreatedInvitesInput - upsert?: Prisma.UserUpsertWithoutCreatedInvitesInput - connect?: Prisma.UserWhereUniqueInput - update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutCreatedInvitesInput> -} - -export type UserCreateNestedOneWithoutCreatedNotificationsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutCreatedNotificationsInput - connect?: Prisma.UserWhereUniqueInput -} - -export type UserCreateNestedOneWithoutNotificationsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutNotificationsInput - connect?: Prisma.UserWhereUniqueInput -} - -export type UserUpdateOneWithoutCreatedNotificationsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutCreatedNotificationsInput - upsert?: Prisma.UserUpsertWithoutCreatedNotificationsInput - disconnect?: Prisma.UserWhereInput | boolean - delete?: Prisma.UserWhereInput | boolean - connect?: Prisma.UserWhereUniqueInput - update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutCreatedNotificationsInput> -} - -export type UserUpdateOneWithoutNotificationsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutNotificationsInput - upsert?: Prisma.UserUpsertWithoutNotificationsInput - disconnect?: Prisma.UserWhereInput | boolean - delete?: Prisma.UserWhereInput | boolean - connect?: Prisma.UserWhereUniqueInput - update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutNotificationsInput> -} - -export type UserCreateNestedOneWithoutTasksInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutTasksInput - connect?: Prisma.UserWhereUniqueInput -} - -export type UserUpdateOneWithoutTasksNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutTasksInput - upsert?: Prisma.UserUpsertWithoutTasksInput - disconnect?: Prisma.UserWhereInput | boolean - delete?: Prisma.UserWhereInput | boolean - connect?: Prisma.UserWhereUniqueInput - update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutTasksInput> -} - -export type UserCreateNestedOneWithoutAgentInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutAgentInput - connect?: Prisma.UserWhereUniqueInput -} - -export type UserUpdateOneRequiredWithoutAgentNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutAgentInput - upsert?: Prisma.UserUpsertWithoutAgentInput - connect?: Prisma.UserWhereUniqueInput - update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutAgentInput> -} - -export type UserCreateNestedOneWithoutAgentSessionsInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutAgentSessionsInput - connect?: Prisma.UserWhereUniqueInput -} - -export type UserUpdateOneWithoutAgentSessionsNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutAgentSessionsInput - upsert?: Prisma.UserUpsertWithoutAgentSessionsInput - disconnect?: Prisma.UserWhereInput | boolean - delete?: Prisma.UserWhereInput | boolean - connect?: Prisma.UserWhereUniqueInput - update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutAgentSessionsInput> -} - -export type UserCreateNestedOneWithoutUserMetadataInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutUserMetadataInput - connect?: Prisma.UserWhereUniqueInput -} - -export type UserUpdateOneRequiredWithoutUserMetadataNestedInput = { - create?: Prisma.XOR - connectOrCreate?: Prisma.UserCreateOrConnectWithoutUserMetadataInput - upsert?: Prisma.UserUpsertWithoutUserMetadataInput - connect?: Prisma.UserWhereUniqueInput - update?: Prisma.XOR, Prisma.UserUncheckedUpdateWithoutUserMetadataInput> -} - -export type UserCreateWithoutSessionsInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput - authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput - tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput - teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput - createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput - createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput - notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput - agent?: Prisma.AgentCreateNestedOneWithoutUserInput - agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput - userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput -} - -export type UserUncheckedCreateWithoutSessionsInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput - authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput - tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput - teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput - createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput - createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput - agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput - agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput - userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput -} - -export type UserCreateOrConnectWithoutSessionsInput = { - where: Prisma.UserWhereUniqueInput - create: Prisma.XOR -} - -export type UserUpsertWithoutSessionsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.UserWhereInput -} - -export type UserUpdateToOneWithWhereWithoutSessionsInput = { - where?: Prisma.UserWhereInput - data: Prisma.XOR -} - -export type UserUpdateWithoutSessionsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput - authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput - tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput - teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput - createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput - createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput - agent?: Prisma.AgentUpdateOneWithoutUserNestedInput - agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput - userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput -} - -export type UserUncheckedUpdateWithoutSessionsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput - authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput - tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput - teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput - createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput - createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput - agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput - agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput - userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput -} - -export type UserCreateWithoutAccountsInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput - authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput - tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput - teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput - createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput - createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput - notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput - sessions?: Prisma.SessionCreateNestedManyWithoutUserInput - agent?: Prisma.AgentCreateNestedOneWithoutUserInput - agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput - userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput -} - -export type UserUncheckedCreateWithoutAccountsInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput - authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput - tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput - teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput - createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput - createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput - sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput - agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput - agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput - userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput -} - -export type UserCreateOrConnectWithoutAccountsInput = { - where: Prisma.UserWhereUniqueInput - create: Prisma.XOR -} - -export type UserUpsertWithoutAccountsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.UserWhereInput -} - -export type UserUpdateToOneWithWhereWithoutAccountsInput = { - where?: Prisma.UserWhereInput - data: Prisma.XOR -} - -export type UserUpdateWithoutAccountsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput - authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput - tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput - teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput - createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput - createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput - sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput - agent?: Prisma.AgentUpdateOneWithoutUserNestedInput - agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput - userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput -} - -export type UserUncheckedUpdateWithoutAccountsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput - authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput - tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput - teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput - createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput - createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput - sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput - agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput - agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput - userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput -} - -export type UserCreateWithoutAuthTokensInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput - tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput - teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput - createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput - createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput - notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput - sessions?: Prisma.SessionCreateNestedManyWithoutUserInput - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput - agent?: Prisma.AgentCreateNestedOneWithoutUserInput - agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput - userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput -} - -export type UserUncheckedCreateWithoutAuthTokensInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput - tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput - teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput - createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput - createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput - sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput - agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput - agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput - userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput -} - -export type UserCreateOrConnectWithoutAuthTokensInput = { - where: Prisma.UserWhereUniqueInput - create: Prisma.XOR -} - -export type UserUpsertWithoutAuthTokensInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.UserWhereInput -} - -export type UserUpdateToOneWithWhereWithoutAuthTokensInput = { - where?: Prisma.UserWhereInput - data: Prisma.XOR -} - -export type UserUpdateWithoutAuthTokensInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput - tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput - teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput - createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput - createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput - sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput - agent?: Prisma.AgentUpdateOneWithoutUserNestedInput - agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput - userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput -} - -export type UserUncheckedUpdateWithoutAuthTokensInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput - tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput - teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput - createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput - createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput - sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput - agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput - agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput - userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput -} - -export type UserCreateWithoutTeamMembersInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput - authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput - tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput - createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput - createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput - notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput - sessions?: Prisma.SessionCreateNestedManyWithoutUserInput - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput - agent?: Prisma.AgentCreateNestedOneWithoutUserInput - agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput - userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput -} - -export type UserUncheckedCreateWithoutTeamMembersInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput - authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput - tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput - createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput - createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput - sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput - agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput - agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput - userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput -} - -export type UserCreateOrConnectWithoutTeamMembersInput = { - where: Prisma.UserWhereUniqueInput - create: Prisma.XOR -} - -export type UserUpsertWithoutTeamMembersInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.UserWhereInput -} - -export type UserUpdateToOneWithWhereWithoutTeamMembersInput = { - where?: Prisma.UserWhereInput - data: Prisma.XOR -} - -export type UserUpdateWithoutTeamMembersInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput - authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput - tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput - createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput - createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput - sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput - agent?: Prisma.AgentUpdateOneWithoutUserNestedInput - agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput - userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput -} - -export type UserUncheckedUpdateWithoutTeamMembersInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput - authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput - tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput - createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput - createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput - sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput - agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput - agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput - userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput -} - -export type UserCreateWithoutAssetsInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput - tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput - teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput - createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput - createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput - notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput - sessions?: Prisma.SessionCreateNestedManyWithoutUserInput - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput - agent?: Prisma.AgentCreateNestedOneWithoutUserInput - agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput - userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput -} - -export type UserUncheckedCreateWithoutAssetsInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput - tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput - teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput - createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput - createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput - sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput - agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput - agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput - userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput -} - -export type UserCreateOrConnectWithoutAssetsInput = { - where: Prisma.UserWhereUniqueInput - create: Prisma.XOR -} - -export type UserUpsertWithoutAssetsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.UserWhereInput -} - -export type UserUpdateToOneWithWhereWithoutAssetsInput = { - where?: Prisma.UserWhereInput - data: Prisma.XOR -} - -export type UserUpdateWithoutAssetsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput - tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput - teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput - createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput - createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput - sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput - agent?: Prisma.AgentUpdateOneWithoutUserNestedInput - agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput - userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput -} - -export type UserUncheckedUpdateWithoutAssetsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput - tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput - teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput - createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput - createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput - sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput - agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput - agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput - userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput -} - -export type UserCreateWithoutCommentsInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput - authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput - tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput - teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput - createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput - createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput - notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput - sessions?: Prisma.SessionCreateNestedManyWithoutUserInput - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput - agent?: Prisma.AgentCreateNestedOneWithoutUserInput - agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput - userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput -} - -export type UserUncheckedCreateWithoutCommentsInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput - authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput - tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput - teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput - createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput - createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput - sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput - agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput - agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput - userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput -} - -export type UserCreateOrConnectWithoutCommentsInput = { - where: Prisma.UserWhereUniqueInput - create: Prisma.XOR -} - -export type UserUpsertWithoutCommentsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.UserWhereInput -} - -export type UserUpdateToOneWithWhereWithoutCommentsInput = { - where?: Prisma.UserWhereInput - data: Prisma.XOR -} - -export type UserUpdateWithoutCommentsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput - authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput - tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput - teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput - createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput - createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput - sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput - agent?: Prisma.AgentUpdateOneWithoutUserNestedInput - agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput - userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput -} - -export type UserUncheckedUpdateWithoutCommentsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput - authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput - tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput - teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput - createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput - createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput - sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput - agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput - agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput - userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput -} - -export type UserCreateWithoutCreatedInvitesInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput - authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput - tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput - teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput - createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput - notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput - sessions?: Prisma.SessionCreateNestedManyWithoutUserInput - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput - agent?: Prisma.AgentCreateNestedOneWithoutUserInput - agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput - userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput -} - -export type UserUncheckedCreateWithoutCreatedInvitesInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput - authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput - tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput - teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput - createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput - sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput - agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput - agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput - userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput -} - -export type UserCreateOrConnectWithoutCreatedInvitesInput = { - where: Prisma.UserWhereUniqueInput - create: Prisma.XOR -} - -export type UserUpsertWithoutCreatedInvitesInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.UserWhereInput -} - -export type UserUpdateToOneWithWhereWithoutCreatedInvitesInput = { - where?: Prisma.UserWhereInput - data: Prisma.XOR -} - -export type UserUpdateWithoutCreatedInvitesInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput - authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput - tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput - teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput - createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput - sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput - agent?: Prisma.AgentUpdateOneWithoutUserNestedInput - agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput - userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput -} - -export type UserUncheckedUpdateWithoutCreatedInvitesInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput - authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput - tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput - teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput - createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput - sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput - agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput - agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput - userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput -} - -export type UserCreateWithoutCreatedNotificationsInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput - authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput - tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput - teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput - createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput - notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput - sessions?: Prisma.SessionCreateNestedManyWithoutUserInput - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput - agent?: Prisma.AgentCreateNestedOneWithoutUserInput - agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput - userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput -} - -export type UserUncheckedCreateWithoutCreatedNotificationsInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput - authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput - tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput - teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput - createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput - sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput - agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput - agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput - userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput -} - -export type UserCreateOrConnectWithoutCreatedNotificationsInput = { - where: Prisma.UserWhereUniqueInput - create: Prisma.XOR -} - -export type UserCreateWithoutNotificationsInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput - authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput - tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput - teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput - createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput - createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput - sessions?: Prisma.SessionCreateNestedManyWithoutUserInput - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput - agent?: Prisma.AgentCreateNestedOneWithoutUserInput - agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput - userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput -} - -export type UserUncheckedCreateWithoutNotificationsInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput - authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput - tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput - teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput - createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput - createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput - sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput - agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput - agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput - userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput -} - -export type UserCreateOrConnectWithoutNotificationsInput = { - where: Prisma.UserWhereUniqueInput - create: Prisma.XOR -} - -export type UserUpsertWithoutCreatedNotificationsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.UserWhereInput -} - -export type UserUpdateToOneWithWhereWithoutCreatedNotificationsInput = { - where?: Prisma.UserWhereInput - data: Prisma.XOR -} - -export type UserUpdateWithoutCreatedNotificationsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput - authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput - tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput - teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput - createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput - sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput - agent?: Prisma.AgentUpdateOneWithoutUserNestedInput - agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput - userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput -} - -export type UserUncheckedUpdateWithoutCreatedNotificationsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput - authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput - tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput - teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput - createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput - sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput - agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput - agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput - userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput -} - -export type UserUpsertWithoutNotificationsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.UserWhereInput -} - -export type UserUpdateToOneWithWhereWithoutNotificationsInput = { - where?: Prisma.UserWhereInput - data: Prisma.XOR -} - -export type UserUpdateWithoutNotificationsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput - authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput - tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput - teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput - createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput - createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput - sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput - agent?: Prisma.AgentUpdateOneWithoutUserNestedInput - agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput - userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput -} - -export type UserUncheckedUpdateWithoutNotificationsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput - authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput - tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput - teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput - createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput - createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput - sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput - agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput - agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput - userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput -} - -export type UserCreateWithoutTasksInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput - authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput - teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput - createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput - createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput - notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput - sessions?: Prisma.SessionCreateNestedManyWithoutUserInput - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput - agent?: Prisma.AgentCreateNestedOneWithoutUserInput - agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput - userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput -} - -export type UserUncheckedCreateWithoutTasksInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput - authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput - teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput - createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput - createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput - sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput - agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput - agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput - userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput -} - -export type UserCreateOrConnectWithoutTasksInput = { - where: Prisma.UserWhereUniqueInput - create: Prisma.XOR -} - -export type UserUpsertWithoutTasksInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.UserWhereInput -} - -export type UserUpdateToOneWithWhereWithoutTasksInput = { - where?: Prisma.UserWhereInput - data: Prisma.XOR -} - -export type UserUpdateWithoutTasksInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput - authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput - teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput - createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput - createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput - sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput - agent?: Prisma.AgentUpdateOneWithoutUserNestedInput - agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput - userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput -} - -export type UserUncheckedUpdateWithoutTasksInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput - authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput - teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput - createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput - createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput - sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput - agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput - agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput - userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput -} - -export type UserCreateWithoutAgentInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput - authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput - tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput - teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput - createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput - createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput - notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput - sessions?: Prisma.SessionCreateNestedManyWithoutUserInput - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput - agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput - userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput -} - -export type UserUncheckedCreateWithoutAgentInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput - authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput - tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput - teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput - createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput - createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput - sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput - agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput - userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput -} - -export type UserCreateOrConnectWithoutAgentInput = { - where: Prisma.UserWhereUniqueInput - create: Prisma.XOR -} - -export type UserUpsertWithoutAgentInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.UserWhereInput -} - -export type UserUpdateToOneWithWhereWithoutAgentInput = { - where?: Prisma.UserWhereInput - data: Prisma.XOR -} - -export type UserUpdateWithoutAgentInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput - authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput - tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput - teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput - createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput - createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput - sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput - agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput - userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput -} - -export type UserUncheckedUpdateWithoutAgentInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput - authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput - tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput - teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput - createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput - createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput - sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput - agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput - userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput -} - -export type UserCreateWithoutAgentSessionsInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput - authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput - tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput - teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput - createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput - createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput - notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput - sessions?: Prisma.SessionCreateNestedManyWithoutUserInput - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput - agent?: Prisma.AgentCreateNestedOneWithoutUserInput - userMetadata?: Prisma.UserMetadataCreateNestedManyWithoutUserInput -} - -export type UserUncheckedCreateWithoutAgentSessionsInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput - authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput - tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput - teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput - createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput - createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput - sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput - agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput - userMetadata?: Prisma.UserMetadataUncheckedCreateNestedManyWithoutUserInput -} - -export type UserCreateOrConnectWithoutAgentSessionsInput = { - where: Prisma.UserWhereUniqueInput - create: Prisma.XOR -} - -export type UserUpsertWithoutAgentSessionsInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.UserWhereInput -} - -export type UserUpdateToOneWithWhereWithoutAgentSessionsInput = { - where?: Prisma.UserWhereInput - data: Prisma.XOR -} - -export type UserUpdateWithoutAgentSessionsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput - authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput - tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput - teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput - createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput - createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput - sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput - agent?: Prisma.AgentUpdateOneWithoutUserNestedInput - userMetadata?: Prisma.UserMetadataUpdateManyWithoutUserNestedInput -} - -export type UserUncheckedUpdateWithoutAgentSessionsInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput - authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput - tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput - teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput - createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput - createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput - sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput - agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput - userMetadata?: Prisma.UserMetadataUncheckedUpdateManyWithoutUserNestedInput -} - -export type UserCreateWithoutUserMetadataInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetCreateNestedManyWithoutCreatorInput - authTokens?: Prisma.AuthTokenCreateNestedManyWithoutUserInput - tasks?: Prisma.TaskCreateNestedManyWithoutCreatorInput - teamMembers?: Prisma.TeamMemberCreateNestedManyWithoutUserInput - comments?: Prisma.AssetCommentCreateNestedManyWithoutCreatorInput - createdInvites?: Prisma.InviteCreateNestedManyWithoutInviterInput - createdNotifications?: Prisma.NotificationCreateNestedManyWithoutCreatorInput - notifications?: Prisma.NotificationCreateNestedManyWithoutUserInput - sessions?: Prisma.SessionCreateNestedManyWithoutUserInput - accounts?: Prisma.AccountCreateNestedManyWithoutUserInput - agent?: Prisma.AgentCreateNestedOneWithoutUserInput - agentSessions?: Prisma.AgentSessionCreateNestedManyWithoutUserInput -} - -export type UserUncheckedCreateWithoutUserMetadataInput = { - id?: string - type?: $Enums.UserType - name: string - email: string - emailVerified?: boolean - image?: string | null - password?: string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: string | null - createdAt?: Date | string - updatedAt?: Date | string - assets?: Prisma.AssetUncheckedCreateNestedManyWithoutCreatorInput - authTokens?: Prisma.AuthTokenUncheckedCreateNestedManyWithoutUserInput - tasks?: Prisma.TaskUncheckedCreateNestedManyWithoutCreatorInput - teamMembers?: Prisma.TeamMemberUncheckedCreateNestedManyWithoutUserInput - comments?: Prisma.AssetCommentUncheckedCreateNestedManyWithoutCreatorInput - createdInvites?: Prisma.InviteUncheckedCreateNestedManyWithoutInviterInput - createdNotifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutCreatorInput - notifications?: Prisma.NotificationUncheckedCreateNestedManyWithoutUserInput - sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput - accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutUserInput - agent?: Prisma.AgentUncheckedCreateNestedOneWithoutUserInput - agentSessions?: Prisma.AgentSessionUncheckedCreateNestedManyWithoutUserInput -} - -export type UserCreateOrConnectWithoutUserMetadataInput = { - where: Prisma.UserWhereUniqueInput - create: Prisma.XOR -} - -export type UserUpsertWithoutUserMetadataInput = { - update: Prisma.XOR - create: Prisma.XOR - where?: Prisma.UserWhereInput -} - -export type UserUpdateToOneWithWhereWithoutUserMetadataInput = { - where?: Prisma.UserWhereInput - data: Prisma.XOR -} - -export type UserUpdateWithoutUserMetadataInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUpdateManyWithoutCreatorNestedInput - authTokens?: Prisma.AuthTokenUpdateManyWithoutUserNestedInput - tasks?: Prisma.TaskUpdateManyWithoutCreatorNestedInput - teamMembers?: Prisma.TeamMemberUpdateManyWithoutUserNestedInput - comments?: Prisma.AssetCommentUpdateManyWithoutCreatorNestedInput - createdInvites?: Prisma.InviteUpdateManyWithoutInviterNestedInput - createdNotifications?: Prisma.NotificationUpdateManyWithoutCreatorNestedInput - notifications?: Prisma.NotificationUpdateManyWithoutUserNestedInput - sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput - accounts?: Prisma.AccountUpdateManyWithoutUserNestedInput - agent?: Prisma.AgentUpdateOneWithoutUserNestedInput - agentSessions?: Prisma.AgentSessionUpdateManyWithoutUserNestedInput -} - -export type UserUncheckedUpdateWithoutUserMetadataInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.EnumUserTypeFieldUpdateOperationsInput | $Enums.UserType - name?: Prisma.StringFieldUpdateOperationsInput | string - email?: Prisma.StringFieldUpdateOperationsInput | string - emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean - image?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - agentSettings?:PrismaJson.AgentSettings | Prisma.NullableJsonNullValueInput - guestEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - assets?: Prisma.AssetUncheckedUpdateManyWithoutCreatorNestedInput - authTokens?: Prisma.AuthTokenUncheckedUpdateManyWithoutUserNestedInput - tasks?: Prisma.TaskUncheckedUpdateManyWithoutCreatorNestedInput - teamMembers?: Prisma.TeamMemberUncheckedUpdateManyWithoutUserNestedInput - comments?: Prisma.AssetCommentUncheckedUpdateManyWithoutCreatorNestedInput - createdInvites?: Prisma.InviteUncheckedUpdateManyWithoutInviterNestedInput - createdNotifications?: Prisma.NotificationUncheckedUpdateManyWithoutCreatorNestedInput - notifications?: Prisma.NotificationUncheckedUpdateManyWithoutUserNestedInput - sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput - accounts?: Prisma.AccountUncheckedUpdateManyWithoutUserNestedInput - agent?: Prisma.AgentUncheckedUpdateOneWithoutUserNestedInput - agentSessions?: Prisma.AgentSessionUncheckedUpdateManyWithoutUserNestedInput -} - - -/** - * Count Type UserCountOutputType - */ - -export type UserCountOutputType = { - assets: number - authTokens: number - tasks: number - teamMembers: number - comments: number - createdInvites: number - createdNotifications: number - notifications: number - sessions: number - accounts: number - agentSessions: number - userMetadata: number -} - -export type UserCountOutputTypeSelect = { - assets?: boolean | UserCountOutputTypeCountAssetsArgs - authTokens?: boolean | UserCountOutputTypeCountAuthTokensArgs - tasks?: boolean | UserCountOutputTypeCountTasksArgs - teamMembers?: boolean | UserCountOutputTypeCountTeamMembersArgs - comments?: boolean | UserCountOutputTypeCountCommentsArgs - createdInvites?: boolean | UserCountOutputTypeCountCreatedInvitesArgs - createdNotifications?: boolean | UserCountOutputTypeCountCreatedNotificationsArgs - notifications?: boolean | UserCountOutputTypeCountNotificationsArgs - sessions?: boolean | UserCountOutputTypeCountSessionsArgs - accounts?: boolean | UserCountOutputTypeCountAccountsArgs - agentSessions?: boolean | UserCountOutputTypeCountAgentSessionsArgs - userMetadata?: boolean | UserCountOutputTypeCountUserMetadataArgs -} - -/** - * UserCountOutputType without action - */ -export type UserCountOutputTypeDefaultArgs = { - /** - * Select specific fields to fetch from the UserCountOutputType - */ - select?: Prisma.UserCountOutputTypeSelect | null -} - -/** - * UserCountOutputType without action - */ -export type UserCountOutputTypeCountAssetsArgs = { - where?: Prisma.AssetWhereInput -} - -/** - * UserCountOutputType without action - */ -export type UserCountOutputTypeCountAuthTokensArgs = { - where?: Prisma.AuthTokenWhereInput -} - -/** - * UserCountOutputType without action - */ -export type UserCountOutputTypeCountTasksArgs = { - where?: Prisma.TaskWhereInput -} - -/** - * UserCountOutputType without action - */ -export type UserCountOutputTypeCountTeamMembersArgs = { - where?: Prisma.TeamMemberWhereInput -} - -/** - * UserCountOutputType without action - */ -export type UserCountOutputTypeCountCommentsArgs = { - where?: Prisma.AssetCommentWhereInput -} - -/** - * UserCountOutputType without action - */ -export type UserCountOutputTypeCountCreatedInvitesArgs = { - where?: Prisma.InviteWhereInput -} - -/** - * UserCountOutputType without action - */ -export type UserCountOutputTypeCountCreatedNotificationsArgs = { - where?: Prisma.NotificationWhereInput -} - -/** - * UserCountOutputType without action - */ -export type UserCountOutputTypeCountNotificationsArgs = { - where?: Prisma.NotificationWhereInput -} - -/** - * UserCountOutputType without action - */ -export type UserCountOutputTypeCountSessionsArgs = { - where?: Prisma.SessionWhereInput -} - -/** - * UserCountOutputType without action - */ -export type UserCountOutputTypeCountAccountsArgs = { - where?: Prisma.AccountWhereInput -} - -/** - * UserCountOutputType without action - */ -export type UserCountOutputTypeCountAgentSessionsArgs = { - where?: Prisma.AgentSessionWhereInput -} - -/** - * UserCountOutputType without action - */ -export type UserCountOutputTypeCountUserMetadataArgs = { - where?: Prisma.UserMetadataWhereInput -} - - -export type UserSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - type?: boolean - name?: boolean - email?: boolean - emailVerified?: boolean - image?: boolean - password?: boolean - agentSettings?: boolean - guestEmail?: boolean - createdAt?: boolean - updatedAt?: boolean - assets?: boolean | Prisma.User$assetsArgs - authTokens?: boolean | Prisma.User$authTokensArgs - tasks?: boolean | Prisma.User$tasksArgs - teamMembers?: boolean | Prisma.User$teamMembersArgs - comments?: boolean | Prisma.User$commentsArgs - createdInvites?: boolean | Prisma.User$createdInvitesArgs - createdNotifications?: boolean | Prisma.User$createdNotificationsArgs - notifications?: boolean | Prisma.User$notificationsArgs - sessions?: boolean | Prisma.User$sessionsArgs - accounts?: boolean | Prisma.User$accountsArgs - agent?: boolean | Prisma.User$agentArgs - agentSessions?: boolean | Prisma.User$agentSessionsArgs - userMetadata?: boolean | Prisma.User$userMetadataArgs - _count?: boolean | Prisma.UserCountOutputTypeDefaultArgs -}, ExtArgs["result"]["user"]> - -export type UserSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - type?: boolean - name?: boolean - email?: boolean - emailVerified?: boolean - image?: boolean - password?: boolean - agentSettings?: boolean - guestEmail?: boolean - createdAt?: boolean - updatedAt?: boolean -}, ExtArgs["result"]["user"]> - -export type UserSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - type?: boolean - name?: boolean - email?: boolean - emailVerified?: boolean - image?: boolean - password?: boolean - agentSettings?: boolean - guestEmail?: boolean - createdAt?: boolean - updatedAt?: boolean -}, ExtArgs["result"]["user"]> - -export type UserSelectScalar = { - id?: boolean - type?: boolean - name?: boolean - email?: boolean - emailVerified?: boolean - image?: boolean - password?: boolean - agentSettings?: boolean - guestEmail?: boolean - createdAt?: boolean - updatedAt?: boolean -} - -export type UserOmit = runtime.Types.Extensions.GetOmit<"id" | "type" | "name" | "email" | "emailVerified" | "image" | "password" | "agentSettings" | "guestEmail" | "createdAt" | "updatedAt", ExtArgs["result"]["user"]> -export type UserInclude = { - assets?: boolean | Prisma.User$assetsArgs - authTokens?: boolean | Prisma.User$authTokensArgs - tasks?: boolean | Prisma.User$tasksArgs - teamMembers?: boolean | Prisma.User$teamMembersArgs - comments?: boolean | Prisma.User$commentsArgs - createdInvites?: boolean | Prisma.User$createdInvitesArgs - createdNotifications?: boolean | Prisma.User$createdNotificationsArgs - notifications?: boolean | Prisma.User$notificationsArgs - sessions?: boolean | Prisma.User$sessionsArgs - accounts?: boolean | Prisma.User$accountsArgs - agent?: boolean | Prisma.User$agentArgs - agentSessions?: boolean | Prisma.User$agentSessionsArgs - userMetadata?: boolean | Prisma.User$userMetadataArgs - _count?: boolean | Prisma.UserCountOutputTypeDefaultArgs -} -export type UserIncludeCreateManyAndReturn = {} -export type UserIncludeUpdateManyAndReturn = {} - -export type $UserPayload = { - name: "User" - objects: { - assets: Prisma.$AssetPayload[] - authTokens: Prisma.$AuthTokenPayload[] - tasks: Prisma.$TaskPayload[] - teamMembers: Prisma.$TeamMemberPayload[] - comments: Prisma.$AssetCommentPayload[] - createdInvites: Prisma.$InvitePayload[] - createdNotifications: Prisma.$NotificationPayload[] - notifications: Prisma.$NotificationPayload[] - sessions: Prisma.$SessionPayload[] - accounts: Prisma.$AccountPayload[] - agent: Prisma.$AgentPayload | null - agentSessions: Prisma.$AgentSessionPayload[] - userMetadata: Prisma.$UserMetadataPayload[] - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - type: $Enums.UserType - name: string - email: string - emailVerified: boolean - image: string | null - password: string | null - /** - * [AgentSettings] - */ - agentSettings:PrismaJson.AgentSettings | null - guestEmail: string | null - createdAt: Date - updatedAt: Date - }, ExtArgs["result"]["user"]> - composites: {} -} - -export type UserGetPayload = runtime.Types.Result.GetResult - -export type UserCountArgs = - Omit & { - select?: UserCountAggregateInputType | true - } - -export interface UserDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['User'], meta: { name: 'User' } } - /** - * Find zero or one User that matches the filter. - * @param {UserFindUniqueArgs} args - Arguments to find a User - * @example - * // Get one User - * const user = await prisma.user.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one User that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {UserFindUniqueOrThrowArgs} args - Arguments to find a User - * @example - * // Get one User - * const user = await prisma.user.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first User that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserFindFirstArgs} args - Arguments to find a User - * @example - * // Get one User - * const user = await prisma.user.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first User that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserFindFirstOrThrowArgs} args - Arguments to find a User - * @example - * // Get one User - * const user = await prisma.user.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more Users that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Users - * const users = await prisma.user.findMany() - * - * // Get first 10 Users - * const users = await prisma.user.findMany({ take: 10 }) - * - * // Only select the `id` - * const userWithIdOnly = await prisma.user.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a User. - * @param {UserCreateArgs} args - Arguments to create a User. - * @example - * // Create one User - * const User = await prisma.user.create({ - * data: { - * // ... data to create a User - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many Users. - * @param {UserCreateManyArgs} args - Arguments to create many Users. - * @example - * // Create many Users - * const user = await prisma.user.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many Users and returns the data saved in the database. - * @param {UserCreateManyAndReturnArgs} args - Arguments to create many Users. - * @example - * // Create many Users - * const user = await prisma.user.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Users and only return the `id` - * const userWithIdOnly = await prisma.user.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a User. - * @param {UserDeleteArgs} args - Arguments to delete one User. - * @example - * // Delete one User - * const User = await prisma.user.delete({ - * where: { - * // ... filter to delete one User - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one User. - * @param {UserUpdateArgs} args - Arguments to update one User. - * @example - * // Update one User - * const user = await prisma.user.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more Users. - * @param {UserDeleteManyArgs} args - Arguments to filter Users to delete. - * @example - * // Delete a few Users - * const { count } = await prisma.user.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Users. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Users - * const user = await prisma.user.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Users and returns the data updated in the database. - * @param {UserUpdateManyAndReturnArgs} args - Arguments to update many Users. - * @example - * // Update many Users - * const user = await prisma.user.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Users and only return the `id` - * const userWithIdOnly = await prisma.user.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one User. - * @param {UserUpsertArgs} args - Arguments to update or create a User. - * @example - * // Update or create a User - * const user = await prisma.user.upsert({ - * create: { - * // ... data to create a User - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the User we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__UserClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of Users. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserCountArgs} args - Arguments to filter Users to count. - * @example - * // Count the number of Users - * const count = await prisma.user.count({ - * where: { - * // ... the filter for the Users we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a User. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by User. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends UserGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: UserGroupByArgs['orderBy'] } - : { orderBy?: UserGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetUserGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the User model - */ -readonly fields: UserFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for User. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__UserClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - assets = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - authTokens = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - tasks = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - teamMembers = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - comments = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - createdInvites = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - createdNotifications = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - notifications = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - sessions = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - accounts = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - agent = {}>(args?: Prisma.Subset>): Prisma.Prisma__AgentClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - agentSessions = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - userMetadata = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the User model - */ -export interface UserFieldRefs { - readonly id: Prisma.FieldRef<"User", 'String'> - readonly type: Prisma.FieldRef<"User", 'UserType'> - readonly name: Prisma.FieldRef<"User", 'String'> - readonly email: Prisma.FieldRef<"User", 'String'> - readonly emailVerified: Prisma.FieldRef<"User", 'Boolean'> - readonly image: Prisma.FieldRef<"User", 'String'> - readonly password: Prisma.FieldRef<"User", 'String'> - readonly agentSettings: Prisma.FieldRef<"User", 'Json'> - readonly guestEmail: Prisma.FieldRef<"User", 'String'> - readonly createdAt: Prisma.FieldRef<"User", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"User", 'DateTime'> -} - - -// Custom InputTypes -/** - * User findUnique - */ -export type UserFindUniqueArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null - /** - * Filter, which User to fetch. - */ - where: Prisma.UserWhereUniqueInput -} - -/** - * User findUniqueOrThrow - */ -export type UserFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null - /** - * Filter, which User to fetch. - */ - where: Prisma.UserWhereUniqueInput -} - -/** - * User findFirst - */ -export type UserFindFirstArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null - /** - * Filter, which User to fetch. - */ - where?: Prisma.UserWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Users to fetch. - */ - orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Users. - */ - cursor?: Prisma.UserWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Users from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Users. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Users. - */ - distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[] -} - -/** - * User findFirstOrThrow - */ -export type UserFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null - /** - * Filter, which User to fetch. - */ - where?: Prisma.UserWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Users to fetch. - */ - orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Users. - */ - cursor?: Prisma.UserWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Users from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Users. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Users. - */ - distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[] -} - -/** - * User findMany - */ -export type UserFindManyArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null - /** - * Filter, which Users to fetch. - */ - where?: Prisma.UserWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Users to fetch. - */ - orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Users. - */ - cursor?: Prisma.UserWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Users from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Users. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Users. - */ - distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[] -} - -/** - * User create - */ -export type UserCreateArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null - /** - * The data needed to create a User. - */ - data: Prisma.XOR -} - -/** - * User createMany - */ -export type UserCreateManyArgs = { - /** - * The data used to create many Users. - */ - data: Prisma.UserCreateManyInput | Prisma.UserCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * User createManyAndReturn - */ -export type UserCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelectCreateManyAndReturn | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * The data used to create many Users. - */ - data: Prisma.UserCreateManyInput | Prisma.UserCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * User update - */ -export type UserUpdateArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null - /** - * The data needed to update a User. - */ - data: Prisma.XOR - /** - * Choose, which User to update. - */ - where: Prisma.UserWhereUniqueInput -} - -/** - * User updateMany - */ -export type UserUpdateManyArgs = { - /** - * The data used to update Users. - */ - data: Prisma.XOR - /** - * Filter which Users to update - */ - where?: Prisma.UserWhereInput - /** - * Limit how many Users to update. - */ - limit?: number -} - -/** - * User updateManyAndReturn - */ -export type UserUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * The data used to update Users. - */ - data: Prisma.XOR - /** - * Filter which Users to update - */ - where?: Prisma.UserWhereInput - /** - * Limit how many Users to update. - */ - limit?: number -} - -/** - * User upsert - */ -export type UserUpsertArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null - /** - * The filter to search for the User to update in case it exists. - */ - where: Prisma.UserWhereUniqueInput - /** - * In case the User found by the `where` argument doesn't exist, create a new User with this data. - */ - create: Prisma.XOR - /** - * In case the User was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * User delete - */ -export type UserDeleteArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null - /** - * Filter which User to delete. - */ - where: Prisma.UserWhereUniqueInput -} - -/** - * User deleteMany - */ -export type UserDeleteManyArgs = { - /** - * Filter which Users to delete - */ - where?: Prisma.UserWhereInput - /** - * Limit how many Users to delete. - */ - limit?: number -} - -/** - * User.assets - */ -export type User$assetsArgs = { - /** - * Select specific fields to fetch from the Asset - */ - select?: Prisma.AssetSelect | null - /** - * Omit specific fields from the Asset - */ - omit?: Prisma.AssetOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetInclude | null - where?: Prisma.AssetWhereInput - orderBy?: Prisma.AssetOrderByWithRelationInput | Prisma.AssetOrderByWithRelationInput[] - cursor?: Prisma.AssetWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.AssetScalarFieldEnum | Prisma.AssetScalarFieldEnum[] -} - -/** - * User.authTokens - */ -export type User$authTokensArgs = { - /** - * Select specific fields to fetch from the AuthToken - */ - select?: Prisma.AuthTokenSelect | null - /** - * Omit specific fields from the AuthToken - */ - omit?: Prisma.AuthTokenOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AuthTokenInclude | null - where?: Prisma.AuthTokenWhereInput - orderBy?: Prisma.AuthTokenOrderByWithRelationInput | Prisma.AuthTokenOrderByWithRelationInput[] - cursor?: Prisma.AuthTokenWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.AuthTokenScalarFieldEnum | Prisma.AuthTokenScalarFieldEnum[] -} - -/** - * User.tasks - */ -export type User$tasksArgs = { - /** - * Select specific fields to fetch from the Task - */ - select?: Prisma.TaskSelect | null - /** - * Omit specific fields from the Task - */ - omit?: Prisma.TaskOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TaskInclude | null - where?: Prisma.TaskWhereInput - orderBy?: Prisma.TaskOrderByWithRelationInput | Prisma.TaskOrderByWithRelationInput[] - cursor?: Prisma.TaskWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.TaskScalarFieldEnum | Prisma.TaskScalarFieldEnum[] -} - -/** - * User.teamMembers - */ -export type User$teamMembersArgs = { - /** - * Select specific fields to fetch from the TeamMember - */ - select?: Prisma.TeamMemberSelect | null - /** - * Omit specific fields from the TeamMember - */ - omit?: Prisma.TeamMemberOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.TeamMemberInclude | null - where?: Prisma.TeamMemberWhereInput - orderBy?: Prisma.TeamMemberOrderByWithRelationInput | Prisma.TeamMemberOrderByWithRelationInput[] - cursor?: Prisma.TeamMemberWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.TeamMemberScalarFieldEnum | Prisma.TeamMemberScalarFieldEnum[] -} - -/** - * User.comments - */ -export type User$commentsArgs = { - /** - * Select specific fields to fetch from the AssetComment - */ - select?: Prisma.AssetCommentSelect | null - /** - * Omit specific fields from the AssetComment - */ - omit?: Prisma.AssetCommentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AssetCommentInclude | null - where?: Prisma.AssetCommentWhereInput - orderBy?: Prisma.AssetCommentOrderByWithRelationInput | Prisma.AssetCommentOrderByWithRelationInput[] - cursor?: Prisma.AssetCommentWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.AssetCommentScalarFieldEnum | Prisma.AssetCommentScalarFieldEnum[] -} - -/** - * User.createdInvites - */ -export type User$createdInvitesArgs = { - /** - * Select specific fields to fetch from the Invite - */ - select?: Prisma.InviteSelect | null - /** - * Omit specific fields from the Invite - */ - omit?: Prisma.InviteOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.InviteInclude | null - where?: Prisma.InviteWhereInput - orderBy?: Prisma.InviteOrderByWithRelationInput | Prisma.InviteOrderByWithRelationInput[] - cursor?: Prisma.InviteWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.InviteScalarFieldEnum | Prisma.InviteScalarFieldEnum[] -} - -/** - * User.createdNotifications - */ -export type User$createdNotificationsArgs = { - /** - * Select specific fields to fetch from the Notification - */ - select?: Prisma.NotificationSelect | null - /** - * Omit specific fields from the Notification - */ - omit?: Prisma.NotificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.NotificationInclude | null - where?: Prisma.NotificationWhereInput - orderBy?: Prisma.NotificationOrderByWithRelationInput | Prisma.NotificationOrderByWithRelationInput[] - cursor?: Prisma.NotificationWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.NotificationScalarFieldEnum | Prisma.NotificationScalarFieldEnum[] -} - -/** - * User.notifications - */ -export type User$notificationsArgs = { - /** - * Select specific fields to fetch from the Notification - */ - select?: Prisma.NotificationSelect | null - /** - * Omit specific fields from the Notification - */ - omit?: Prisma.NotificationOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.NotificationInclude | null - where?: Prisma.NotificationWhereInput - orderBy?: Prisma.NotificationOrderByWithRelationInput | Prisma.NotificationOrderByWithRelationInput[] - cursor?: Prisma.NotificationWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.NotificationScalarFieldEnum | Prisma.NotificationScalarFieldEnum[] -} - -/** - * User.sessions - */ -export type User$sessionsArgs = { - /** - * Select specific fields to fetch from the Session - */ - select?: Prisma.SessionSelect | null - /** - * Omit specific fields from the Session - */ - omit?: Prisma.SessionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.SessionInclude | null - where?: Prisma.SessionWhereInput - orderBy?: Prisma.SessionOrderByWithRelationInput | Prisma.SessionOrderByWithRelationInput[] - cursor?: Prisma.SessionWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.SessionScalarFieldEnum | Prisma.SessionScalarFieldEnum[] -} - -/** - * User.accounts - */ -export type User$accountsArgs = { - /** - * Select specific fields to fetch from the Account - */ - select?: Prisma.AccountSelect | null - /** - * Omit specific fields from the Account - */ - omit?: Prisma.AccountOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AccountInclude | null - where?: Prisma.AccountWhereInput - orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[] - cursor?: Prisma.AccountWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[] -} - -/** - * User.agent - */ -export type User$agentArgs = { - /** - * Select specific fields to fetch from the Agent - */ - select?: Prisma.AgentSelect | null - /** - * Omit specific fields from the Agent - */ - omit?: Prisma.AgentOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentInclude | null - where?: Prisma.AgentWhereInput -} - -/** - * User.agentSessions - */ -export type User$agentSessionsArgs = { - /** - * Select specific fields to fetch from the AgentSession - */ - select?: Prisma.AgentSessionSelect | null - /** - * Omit specific fields from the AgentSession - */ - omit?: Prisma.AgentSessionOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.AgentSessionInclude | null - where?: Prisma.AgentSessionWhereInput - orderBy?: Prisma.AgentSessionOrderByWithRelationInput | Prisma.AgentSessionOrderByWithRelationInput[] - cursor?: Prisma.AgentSessionWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.AgentSessionScalarFieldEnum | Prisma.AgentSessionScalarFieldEnum[] -} - -/** - * User.userMetadata - */ -export type User$userMetadataArgs = { - /** - * Select specific fields to fetch from the UserMetadata - */ - select?: Prisma.UserMetadataSelect | null - /** - * Omit specific fields from the UserMetadata - */ - omit?: Prisma.UserMetadataOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserMetadataInclude | null - where?: Prisma.UserMetadataWhereInput - orderBy?: Prisma.UserMetadataOrderByWithRelationInput | Prisma.UserMetadataOrderByWithRelationInput[] - cursor?: Prisma.UserMetadataWhereUniqueInput - take?: number - skip?: number - distinct?: Prisma.UserMetadataScalarFieldEnum | Prisma.UserMetadataScalarFieldEnum[] -} - -/** - * User without action - */ -export type UserDefaultArgs = { - /** - * Select specific fields to fetch from the User - */ - select?: Prisma.UserSelect | null - /** - * Omit specific fields from the User - */ - omit?: Prisma.UserOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserInclude | null -} diff --git a/src/generated/prisma/models/UserMetadata.ts b/src/generated/prisma/models/UserMetadata.ts deleted file mode 100644 index e307f037..00000000 --- a/src/generated/prisma/models/UserMetadata.ts +++ /dev/null @@ -1,1553 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `UserMetadata` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model UserMetadata - * - */ -export type UserMetadataModel = runtime.Types.Result.DefaultSelection - -export type AggregateUserMetadata = { - _count: UserMetadataCountAggregateOutputType | null - _min: UserMetadataMinAggregateOutputType | null - _max: UserMetadataMaxAggregateOutputType | null -} - -export type UserMetadataMinAggregateOutputType = { - id: string | null - key: string | null - createdAt: Date | null - updatedAt: Date | null - userId: string | null - teamId: string | null -} - -export type UserMetadataMaxAggregateOutputType = { - id: string | null - key: string | null - createdAt: Date | null - updatedAt: Date | null - userId: string | null - teamId: string | null -} - -export type UserMetadataCountAggregateOutputType = { - id: number - key: number - value:PrismaJson.UserMetadataValue - createdAt: number - updatedAt: number - userId: number - teamId: number - _all: number -} - - -export type UserMetadataMinAggregateInputType = { - id?: true - key?: true - createdAt?: true - updatedAt?: true - userId?: true - teamId?: true -} - -export type UserMetadataMaxAggregateInputType = { - id?: true - key?: true - createdAt?: true - updatedAt?: true - userId?: true - teamId?: true -} - -export type UserMetadataCountAggregateInputType = { - id?: true - key?: true - value?: true - createdAt?: true - updatedAt?: true - userId?: true - teamId?: true - _all?: true -} - -export type UserMetadataAggregateArgs = { - /** - * Filter which UserMetadata to aggregate. - */ - where?: Prisma.UserMetadataWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of UserMetadata to fetch. - */ - orderBy?: Prisma.UserMetadataOrderByWithRelationInput | Prisma.UserMetadataOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.UserMetadataWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` UserMetadata from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` UserMetadata. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned UserMetadata - **/ - _count?: true | UserMetadataCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: UserMetadataMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: UserMetadataMaxAggregateInputType -} - -export type GetUserMetadataAggregateType = { - [P in keyof T & keyof AggregateUserMetadata]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type UserMetadataGroupByArgs = { - where?: Prisma.UserMetadataWhereInput - orderBy?: Prisma.UserMetadataOrderByWithAggregationInput | Prisma.UserMetadataOrderByWithAggregationInput[] - by: Prisma.UserMetadataScalarFieldEnum[] | Prisma.UserMetadataScalarFieldEnum - having?: Prisma.UserMetadataScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: UserMetadataCountAggregateInputType | true - _min?: UserMetadataMinAggregateInputType - _max?: UserMetadataMaxAggregateInputType -} - -export type UserMetadataGroupByOutputType = { - id: string - key: string - value:PrismaJson.UserMetadataValue - createdAt: Date - updatedAt: Date - userId: string - teamId: string - _count: UserMetadataCountAggregateOutputType | null - _min: UserMetadataMinAggregateOutputType | null - _max: UserMetadataMaxAggregateOutputType | null -} - -export type GetUserMetadataGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof UserMetadataGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type UserMetadataWhereInput = { - AND?: Prisma.UserMetadataWhereInput | Prisma.UserMetadataWhereInput[] - OR?: Prisma.UserMetadataWhereInput[] - NOT?: Prisma.UserMetadataWhereInput | Prisma.UserMetadataWhereInput[] - id?: Prisma.StringFilter<"UserMetadata"> | string - key?: Prisma.StringFilter<"UserMetadata"> | string - value?: Prisma.JsonFilter<"UserMetadata"> - createdAt?: Prisma.DateTimeFilter<"UserMetadata"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"UserMetadata"> | Date | string - userId?: Prisma.StringFilter<"UserMetadata"> | string - teamId?: Prisma.StringFilter<"UserMetadata"> | string - user?: Prisma.XOR - team?: Prisma.XOR -} - -export type UserMetadataOrderByWithRelationInput = { - id?: Prisma.SortOrder - key?: Prisma.SortOrder - value?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - userId?: Prisma.SortOrder - teamId?: Prisma.SortOrder - user?: Prisma.UserOrderByWithRelationInput - team?: Prisma.TeamOrderByWithRelationInput -} - -export type UserMetadataWhereUniqueInput = Prisma.AtLeast<{ - id?: string - userIdTeamIdKey?: Prisma.UserMetadataUserIdTeamIdKeyCompoundUniqueInput - AND?: Prisma.UserMetadataWhereInput | Prisma.UserMetadataWhereInput[] - OR?: Prisma.UserMetadataWhereInput[] - NOT?: Prisma.UserMetadataWhereInput | Prisma.UserMetadataWhereInput[] - key?: Prisma.StringFilter<"UserMetadata"> | string - value?: Prisma.JsonFilter<"UserMetadata"> - createdAt?: Prisma.DateTimeFilter<"UserMetadata"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"UserMetadata"> | Date | string - userId?: Prisma.StringFilter<"UserMetadata"> | string - teamId?: Prisma.StringFilter<"UserMetadata"> | string - user?: Prisma.XOR - team?: Prisma.XOR -}, "id" | "userIdTeamIdKey"> - -export type UserMetadataOrderByWithAggregationInput = { - id?: Prisma.SortOrder - key?: Prisma.SortOrder - value?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - userId?: Prisma.SortOrder - teamId?: Prisma.SortOrder - _count?: Prisma.UserMetadataCountOrderByAggregateInput - _max?: Prisma.UserMetadataMaxOrderByAggregateInput - _min?: Prisma.UserMetadataMinOrderByAggregateInput -} - -export type UserMetadataScalarWhereWithAggregatesInput = { - AND?: Prisma.UserMetadataScalarWhereWithAggregatesInput | Prisma.UserMetadataScalarWhereWithAggregatesInput[] - OR?: Prisma.UserMetadataScalarWhereWithAggregatesInput[] - NOT?: Prisma.UserMetadataScalarWhereWithAggregatesInput | Prisma.UserMetadataScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"UserMetadata"> | string - key?: Prisma.StringWithAggregatesFilter<"UserMetadata"> | string - value?: Prisma.JsonWithAggregatesFilter<"UserMetadata"> - createdAt?: Prisma.DateTimeWithAggregatesFilter<"UserMetadata"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"UserMetadata"> | Date | string - userId?: Prisma.StringWithAggregatesFilter<"UserMetadata"> | string - teamId?: Prisma.StringWithAggregatesFilter<"UserMetadata"> | string -} - -export type UserMetadataCreateInput = { - id?: string - key: string - value:PrismaJson.UserMetadataValue - createdAt?: Date | string - updatedAt?: Date | string - user: Prisma.UserCreateNestedOneWithoutUserMetadataInput - team: Prisma.TeamCreateNestedOneWithoutUserMetadataInput -} - -export type UserMetadataUncheckedCreateInput = { - id?: string - key: string - value:PrismaJson.UserMetadataValue - createdAt?: Date | string - updatedAt?: Date | string - userId: string - teamId: string -} - -export type UserMetadataUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - value?:PrismaJson.UserMetadataValue - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - user?: Prisma.UserUpdateOneRequiredWithoutUserMetadataNestedInput - team?: Prisma.TeamUpdateOneRequiredWithoutUserMetadataNestedInput -} - -export type UserMetadataUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - value?:PrismaJson.UserMetadataValue - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - userId?: Prisma.StringFieldUpdateOperationsInput | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type UserMetadataCreateManyInput = { - id?: string - key: string - value:PrismaJson.UserMetadataValue - createdAt?: Date | string - updatedAt?: Date | string - userId: string - teamId: string -} - -export type UserMetadataUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - value?:PrismaJson.UserMetadataValue - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type UserMetadataUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - value?:PrismaJson.UserMetadataValue - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - userId?: Prisma.StringFieldUpdateOperationsInput | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type UserMetadataListRelationFilter = { - every?: Prisma.UserMetadataWhereInput - some?: Prisma.UserMetadataWhereInput - none?: Prisma.UserMetadataWhereInput -} - -export type UserMetadataOrderByRelationAggregateInput = { - _count?: Prisma.SortOrder -} - -export type UserMetadataUserIdTeamIdKeyCompoundUniqueInput = { - userId: string - teamId: string - key: string -} - -export type UserMetadataCountOrderByAggregateInput = { - id?: Prisma.SortOrder - key?: Prisma.SortOrder - value?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - userId?: Prisma.SortOrder - teamId?: Prisma.SortOrder -} - -export type UserMetadataMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - key?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - userId?: Prisma.SortOrder - teamId?: Prisma.SortOrder -} - -export type UserMetadataMinOrderByAggregateInput = { - id?: Prisma.SortOrder - key?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - userId?: Prisma.SortOrder - teamId?: Prisma.SortOrder -} - -export type UserMetadataCreateNestedManyWithoutUserInput = { - create?: Prisma.XOR | Prisma.UserMetadataCreateWithoutUserInput[] | Prisma.UserMetadataUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.UserMetadataCreateOrConnectWithoutUserInput | Prisma.UserMetadataCreateOrConnectWithoutUserInput[] - createMany?: Prisma.UserMetadataCreateManyUserInputEnvelope - connect?: Prisma.UserMetadataWhereUniqueInput | Prisma.UserMetadataWhereUniqueInput[] -} - -export type UserMetadataUncheckedCreateNestedManyWithoutUserInput = { - create?: Prisma.XOR | Prisma.UserMetadataCreateWithoutUserInput[] | Prisma.UserMetadataUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.UserMetadataCreateOrConnectWithoutUserInput | Prisma.UserMetadataCreateOrConnectWithoutUserInput[] - createMany?: Prisma.UserMetadataCreateManyUserInputEnvelope - connect?: Prisma.UserMetadataWhereUniqueInput | Prisma.UserMetadataWhereUniqueInput[] -} - -export type UserMetadataUpdateManyWithoutUserNestedInput = { - create?: Prisma.XOR | Prisma.UserMetadataCreateWithoutUserInput[] | Prisma.UserMetadataUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.UserMetadataCreateOrConnectWithoutUserInput | Prisma.UserMetadataCreateOrConnectWithoutUserInput[] - upsert?: Prisma.UserMetadataUpsertWithWhereUniqueWithoutUserInput | Prisma.UserMetadataUpsertWithWhereUniqueWithoutUserInput[] - createMany?: Prisma.UserMetadataCreateManyUserInputEnvelope - set?: Prisma.UserMetadataWhereUniqueInput | Prisma.UserMetadataWhereUniqueInput[] - disconnect?: Prisma.UserMetadataWhereUniqueInput | Prisma.UserMetadataWhereUniqueInput[] - delete?: Prisma.UserMetadataWhereUniqueInput | Prisma.UserMetadataWhereUniqueInput[] - connect?: Prisma.UserMetadataWhereUniqueInput | Prisma.UserMetadataWhereUniqueInput[] - update?: Prisma.UserMetadataUpdateWithWhereUniqueWithoutUserInput | Prisma.UserMetadataUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: Prisma.UserMetadataUpdateManyWithWhereWithoutUserInput | Prisma.UserMetadataUpdateManyWithWhereWithoutUserInput[] - deleteMany?: Prisma.UserMetadataScalarWhereInput | Prisma.UserMetadataScalarWhereInput[] -} - -export type UserMetadataUncheckedUpdateManyWithoutUserNestedInput = { - create?: Prisma.XOR | Prisma.UserMetadataCreateWithoutUserInput[] | Prisma.UserMetadataUncheckedCreateWithoutUserInput[] - connectOrCreate?: Prisma.UserMetadataCreateOrConnectWithoutUserInput | Prisma.UserMetadataCreateOrConnectWithoutUserInput[] - upsert?: Prisma.UserMetadataUpsertWithWhereUniqueWithoutUserInput | Prisma.UserMetadataUpsertWithWhereUniqueWithoutUserInput[] - createMany?: Prisma.UserMetadataCreateManyUserInputEnvelope - set?: Prisma.UserMetadataWhereUniqueInput | Prisma.UserMetadataWhereUniqueInput[] - disconnect?: Prisma.UserMetadataWhereUniqueInput | Prisma.UserMetadataWhereUniqueInput[] - delete?: Prisma.UserMetadataWhereUniqueInput | Prisma.UserMetadataWhereUniqueInput[] - connect?: Prisma.UserMetadataWhereUniqueInput | Prisma.UserMetadataWhereUniqueInput[] - update?: Prisma.UserMetadataUpdateWithWhereUniqueWithoutUserInput | Prisma.UserMetadataUpdateWithWhereUniqueWithoutUserInput[] - updateMany?: Prisma.UserMetadataUpdateManyWithWhereWithoutUserInput | Prisma.UserMetadataUpdateManyWithWhereWithoutUserInput[] - deleteMany?: Prisma.UserMetadataScalarWhereInput | Prisma.UserMetadataScalarWhereInput[] -} - -export type UserMetadataCreateNestedManyWithoutTeamInput = { - create?: Prisma.XOR | Prisma.UserMetadataCreateWithoutTeamInput[] | Prisma.UserMetadataUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.UserMetadataCreateOrConnectWithoutTeamInput | Prisma.UserMetadataCreateOrConnectWithoutTeamInput[] - createMany?: Prisma.UserMetadataCreateManyTeamInputEnvelope - connect?: Prisma.UserMetadataWhereUniqueInput | Prisma.UserMetadataWhereUniqueInput[] -} - -export type UserMetadataUncheckedCreateNestedManyWithoutTeamInput = { - create?: Prisma.XOR | Prisma.UserMetadataCreateWithoutTeamInput[] | Prisma.UserMetadataUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.UserMetadataCreateOrConnectWithoutTeamInput | Prisma.UserMetadataCreateOrConnectWithoutTeamInput[] - createMany?: Prisma.UserMetadataCreateManyTeamInputEnvelope - connect?: Prisma.UserMetadataWhereUniqueInput | Prisma.UserMetadataWhereUniqueInput[] -} - -export type UserMetadataUpdateManyWithoutTeamNestedInput = { - create?: Prisma.XOR | Prisma.UserMetadataCreateWithoutTeamInput[] | Prisma.UserMetadataUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.UserMetadataCreateOrConnectWithoutTeamInput | Prisma.UserMetadataCreateOrConnectWithoutTeamInput[] - upsert?: Prisma.UserMetadataUpsertWithWhereUniqueWithoutTeamInput | Prisma.UserMetadataUpsertWithWhereUniqueWithoutTeamInput[] - createMany?: Prisma.UserMetadataCreateManyTeamInputEnvelope - set?: Prisma.UserMetadataWhereUniqueInput | Prisma.UserMetadataWhereUniqueInput[] - disconnect?: Prisma.UserMetadataWhereUniqueInput | Prisma.UserMetadataWhereUniqueInput[] - delete?: Prisma.UserMetadataWhereUniqueInput | Prisma.UserMetadataWhereUniqueInput[] - connect?: Prisma.UserMetadataWhereUniqueInput | Prisma.UserMetadataWhereUniqueInput[] - update?: Prisma.UserMetadataUpdateWithWhereUniqueWithoutTeamInput | Prisma.UserMetadataUpdateWithWhereUniqueWithoutTeamInput[] - updateMany?: Prisma.UserMetadataUpdateManyWithWhereWithoutTeamInput | Prisma.UserMetadataUpdateManyWithWhereWithoutTeamInput[] - deleteMany?: Prisma.UserMetadataScalarWhereInput | Prisma.UserMetadataScalarWhereInput[] -} - -export type UserMetadataUncheckedUpdateManyWithoutTeamNestedInput = { - create?: Prisma.XOR | Prisma.UserMetadataCreateWithoutTeamInput[] | Prisma.UserMetadataUncheckedCreateWithoutTeamInput[] - connectOrCreate?: Prisma.UserMetadataCreateOrConnectWithoutTeamInput | Prisma.UserMetadataCreateOrConnectWithoutTeamInput[] - upsert?: Prisma.UserMetadataUpsertWithWhereUniqueWithoutTeamInput | Prisma.UserMetadataUpsertWithWhereUniqueWithoutTeamInput[] - createMany?: Prisma.UserMetadataCreateManyTeamInputEnvelope - set?: Prisma.UserMetadataWhereUniqueInput | Prisma.UserMetadataWhereUniqueInput[] - disconnect?: Prisma.UserMetadataWhereUniqueInput | Prisma.UserMetadataWhereUniqueInput[] - delete?: Prisma.UserMetadataWhereUniqueInput | Prisma.UserMetadataWhereUniqueInput[] - connect?: Prisma.UserMetadataWhereUniqueInput | Prisma.UserMetadataWhereUniqueInput[] - update?: Prisma.UserMetadataUpdateWithWhereUniqueWithoutTeamInput | Prisma.UserMetadataUpdateWithWhereUniqueWithoutTeamInput[] - updateMany?: Prisma.UserMetadataUpdateManyWithWhereWithoutTeamInput | Prisma.UserMetadataUpdateManyWithWhereWithoutTeamInput[] - deleteMany?: Prisma.UserMetadataScalarWhereInput | Prisma.UserMetadataScalarWhereInput[] -} - -export type UserMetadataCreateWithoutUserInput = { - id?: string - key: string - value:PrismaJson.UserMetadataValue - createdAt?: Date | string - updatedAt?: Date | string - team: Prisma.TeamCreateNestedOneWithoutUserMetadataInput -} - -export type UserMetadataUncheckedCreateWithoutUserInput = { - id?: string - key: string - value:PrismaJson.UserMetadataValue - createdAt?: Date | string - updatedAt?: Date | string - teamId: string -} - -export type UserMetadataCreateOrConnectWithoutUserInput = { - where: Prisma.UserMetadataWhereUniqueInput - create: Prisma.XOR -} - -export type UserMetadataCreateManyUserInputEnvelope = { - data: Prisma.UserMetadataCreateManyUserInput | Prisma.UserMetadataCreateManyUserInput[] - skipDuplicates?: boolean -} - -export type UserMetadataUpsertWithWhereUniqueWithoutUserInput = { - where: Prisma.UserMetadataWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type UserMetadataUpdateWithWhereUniqueWithoutUserInput = { - where: Prisma.UserMetadataWhereUniqueInput - data: Prisma.XOR -} - -export type UserMetadataUpdateManyWithWhereWithoutUserInput = { - where: Prisma.UserMetadataScalarWhereInput - data: Prisma.XOR -} - -export type UserMetadataScalarWhereInput = { - AND?: Prisma.UserMetadataScalarWhereInput | Prisma.UserMetadataScalarWhereInput[] - OR?: Prisma.UserMetadataScalarWhereInput[] - NOT?: Prisma.UserMetadataScalarWhereInput | Prisma.UserMetadataScalarWhereInput[] - id?: Prisma.StringFilter<"UserMetadata"> | string - key?: Prisma.StringFilter<"UserMetadata"> | string - value?: Prisma.JsonFilter<"UserMetadata"> - createdAt?: Prisma.DateTimeFilter<"UserMetadata"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"UserMetadata"> | Date | string - userId?: Prisma.StringFilter<"UserMetadata"> | string - teamId?: Prisma.StringFilter<"UserMetadata"> | string -} - -export type UserMetadataCreateWithoutTeamInput = { - id?: string - key: string - value:PrismaJson.UserMetadataValue - createdAt?: Date | string - updatedAt?: Date | string - user: Prisma.UserCreateNestedOneWithoutUserMetadataInput -} - -export type UserMetadataUncheckedCreateWithoutTeamInput = { - id?: string - key: string - value:PrismaJson.UserMetadataValue - createdAt?: Date | string - updatedAt?: Date | string - userId: string -} - -export type UserMetadataCreateOrConnectWithoutTeamInput = { - where: Prisma.UserMetadataWhereUniqueInput - create: Prisma.XOR -} - -export type UserMetadataCreateManyTeamInputEnvelope = { - data: Prisma.UserMetadataCreateManyTeamInput | Prisma.UserMetadataCreateManyTeamInput[] - skipDuplicates?: boolean -} - -export type UserMetadataUpsertWithWhereUniqueWithoutTeamInput = { - where: Prisma.UserMetadataWhereUniqueInput - update: Prisma.XOR - create: Prisma.XOR -} - -export type UserMetadataUpdateWithWhereUniqueWithoutTeamInput = { - where: Prisma.UserMetadataWhereUniqueInput - data: Prisma.XOR -} - -export type UserMetadataUpdateManyWithWhereWithoutTeamInput = { - where: Prisma.UserMetadataScalarWhereInput - data: Prisma.XOR -} - -export type UserMetadataCreateManyUserInput = { - id?: string - key: string - value:PrismaJson.UserMetadataValue - createdAt?: Date | string - updatedAt?: Date | string - teamId: string -} - -export type UserMetadataUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - value?:PrismaJson.UserMetadataValue - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - team?: Prisma.TeamUpdateOneRequiredWithoutUserMetadataNestedInput -} - -export type UserMetadataUncheckedUpdateWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - value?:PrismaJson.UserMetadataValue - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type UserMetadataUncheckedUpdateManyWithoutUserInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - value?:PrismaJson.UserMetadataValue - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - teamId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type UserMetadataCreateManyTeamInput = { - id?: string - key: string - value:PrismaJson.UserMetadataValue - createdAt?: Date | string - updatedAt?: Date | string - userId: string -} - -export type UserMetadataUpdateWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - value?:PrismaJson.UserMetadataValue - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - user?: Prisma.UserUpdateOneRequiredWithoutUserMetadataNestedInput -} - -export type UserMetadataUncheckedUpdateWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - value?:PrismaJson.UserMetadataValue - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - userId?: Prisma.StringFieldUpdateOperationsInput | string -} - -export type UserMetadataUncheckedUpdateManyWithoutTeamInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - key?: Prisma.StringFieldUpdateOperationsInput | string - value?:PrismaJson.UserMetadataValue - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - userId?: Prisma.StringFieldUpdateOperationsInput | string -} - - - -export type UserMetadataSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - key?: boolean - value?: boolean - createdAt?: boolean - updatedAt?: boolean - userId?: boolean - teamId?: boolean - user?: boolean | Prisma.UserDefaultArgs - team?: boolean | Prisma.TeamDefaultArgs -}, ExtArgs["result"]["userMetadata"]> - -export type UserMetadataSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - key?: boolean - value?: boolean - createdAt?: boolean - updatedAt?: boolean - userId?: boolean - teamId?: boolean - user?: boolean | Prisma.UserDefaultArgs - team?: boolean | Prisma.TeamDefaultArgs -}, ExtArgs["result"]["userMetadata"]> - -export type UserMetadataSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - key?: boolean - value?: boolean - createdAt?: boolean - updatedAt?: boolean - userId?: boolean - teamId?: boolean - user?: boolean | Prisma.UserDefaultArgs - team?: boolean | Prisma.TeamDefaultArgs -}, ExtArgs["result"]["userMetadata"]> - -export type UserMetadataSelectScalar = { - id?: boolean - key?: boolean - value?: boolean - createdAt?: boolean - updatedAt?: boolean - userId?: boolean - teamId?: boolean -} - -export type UserMetadataOmit = runtime.Types.Extensions.GetOmit<"id" | "key" | "value" | "createdAt" | "updatedAt" | "userId" | "teamId", ExtArgs["result"]["userMetadata"]> -export type UserMetadataInclude = { - user?: boolean | Prisma.UserDefaultArgs - team?: boolean | Prisma.TeamDefaultArgs -} -export type UserMetadataIncludeCreateManyAndReturn = { - user?: boolean | Prisma.UserDefaultArgs - team?: boolean | Prisma.TeamDefaultArgs -} -export type UserMetadataIncludeUpdateManyAndReturn = { - user?: boolean | Prisma.UserDefaultArgs - team?: boolean | Prisma.TeamDefaultArgs -} - -export type $UserMetadataPayload = { - name: "UserMetadata" - objects: { - user: Prisma.$UserPayload - team: Prisma.$TeamPayload - } - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - key: string - /** - * [UserMetadataValue] - */ - value:PrismaJson.UserMetadataValue - createdAt: Date - updatedAt: Date - userId: string - teamId: string - }, ExtArgs["result"]["userMetadata"]> - composites: {} -} - -export type UserMetadataGetPayload = runtime.Types.Result.GetResult - -export type UserMetadataCountArgs = - Omit & { - select?: UserMetadataCountAggregateInputType | true - } - -export interface UserMetadataDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['UserMetadata'], meta: { name: 'UserMetadata' } } - /** - * Find zero or one UserMetadata that matches the filter. - * @param {UserMetadataFindUniqueArgs} args - Arguments to find a UserMetadata - * @example - * // Get one UserMetadata - * const userMetadata = await prisma.userMetadata.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__UserMetadataClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one UserMetadata that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {UserMetadataFindUniqueOrThrowArgs} args - Arguments to find a UserMetadata - * @example - * // Get one UserMetadata - * const userMetadata = await prisma.userMetadata.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__UserMetadataClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first UserMetadata that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserMetadataFindFirstArgs} args - Arguments to find a UserMetadata - * @example - * // Get one UserMetadata - * const userMetadata = await prisma.userMetadata.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__UserMetadataClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first UserMetadata that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserMetadataFindFirstOrThrowArgs} args - Arguments to find a UserMetadata - * @example - * // Get one UserMetadata - * const userMetadata = await prisma.userMetadata.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__UserMetadataClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more UserMetadata that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserMetadataFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all UserMetadata - * const userMetadata = await prisma.userMetadata.findMany() - * - * // Get first 10 UserMetadata - * const userMetadata = await prisma.userMetadata.findMany({ take: 10 }) - * - * // Only select the `id` - * const userMetadataWithIdOnly = await prisma.userMetadata.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a UserMetadata. - * @param {UserMetadataCreateArgs} args - Arguments to create a UserMetadata. - * @example - * // Create one UserMetadata - * const UserMetadata = await prisma.userMetadata.create({ - * data: { - * // ... data to create a UserMetadata - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__UserMetadataClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many UserMetadata. - * @param {UserMetadataCreateManyArgs} args - Arguments to create many UserMetadata. - * @example - * // Create many UserMetadata - * const userMetadata = await prisma.userMetadata.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many UserMetadata and returns the data saved in the database. - * @param {UserMetadataCreateManyAndReturnArgs} args - Arguments to create many UserMetadata. - * @example - * // Create many UserMetadata - * const userMetadata = await prisma.userMetadata.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many UserMetadata and only return the `id` - * const userMetadataWithIdOnly = await prisma.userMetadata.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a UserMetadata. - * @param {UserMetadataDeleteArgs} args - Arguments to delete one UserMetadata. - * @example - * // Delete one UserMetadata - * const UserMetadata = await prisma.userMetadata.delete({ - * where: { - * // ... filter to delete one UserMetadata - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__UserMetadataClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one UserMetadata. - * @param {UserMetadataUpdateArgs} args - Arguments to update one UserMetadata. - * @example - * // Update one UserMetadata - * const userMetadata = await prisma.userMetadata.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__UserMetadataClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more UserMetadata. - * @param {UserMetadataDeleteManyArgs} args - Arguments to filter UserMetadata to delete. - * @example - * // Delete a few UserMetadata - * const { count } = await prisma.userMetadata.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more UserMetadata. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserMetadataUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many UserMetadata - * const userMetadata = await prisma.userMetadata.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more UserMetadata and returns the data updated in the database. - * @param {UserMetadataUpdateManyAndReturnArgs} args - Arguments to update many UserMetadata. - * @example - * // Update many UserMetadata - * const userMetadata = await prisma.userMetadata.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more UserMetadata and only return the `id` - * const userMetadataWithIdOnly = await prisma.userMetadata.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one UserMetadata. - * @param {UserMetadataUpsertArgs} args - Arguments to update or create a UserMetadata. - * @example - * // Update or create a UserMetadata - * const userMetadata = await prisma.userMetadata.upsert({ - * create: { - * // ... data to create a UserMetadata - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the UserMetadata we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__UserMetadataClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of UserMetadata. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserMetadataCountArgs} args - Arguments to filter UserMetadata to count. - * @example - * // Count the number of UserMetadata - * const count = await prisma.userMetadata.count({ - * where: { - * // ... the filter for the UserMetadata we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a UserMetadata. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserMetadataAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by UserMetadata. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {UserMetadataGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends UserMetadataGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: UserMetadataGroupByArgs['orderBy'] } - : { orderBy?: UserMetadataGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetUserMetadataGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the UserMetadata model - */ -readonly fields: UserMetadataFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for UserMetadata. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__UserMetadataClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - team = {}>(args?: Prisma.Subset>): Prisma.Prisma__TeamClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the UserMetadata model - */ -export interface UserMetadataFieldRefs { - readonly id: Prisma.FieldRef<"UserMetadata", 'String'> - readonly key: Prisma.FieldRef<"UserMetadata", 'String'> - readonly value: Prisma.FieldRef<"UserMetadata", 'Json'> - readonly createdAt: Prisma.FieldRef<"UserMetadata", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"UserMetadata", 'DateTime'> - readonly userId: Prisma.FieldRef<"UserMetadata", 'String'> - readonly teamId: Prisma.FieldRef<"UserMetadata", 'String'> -} - - -// Custom InputTypes -/** - * UserMetadata findUnique - */ -export type UserMetadataFindUniqueArgs = { - /** - * Select specific fields to fetch from the UserMetadata - */ - select?: Prisma.UserMetadataSelect | null - /** - * Omit specific fields from the UserMetadata - */ - omit?: Prisma.UserMetadataOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserMetadataInclude | null - /** - * Filter, which UserMetadata to fetch. - */ - where: Prisma.UserMetadataWhereUniqueInput -} - -/** - * UserMetadata findUniqueOrThrow - */ -export type UserMetadataFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the UserMetadata - */ - select?: Prisma.UserMetadataSelect | null - /** - * Omit specific fields from the UserMetadata - */ - omit?: Prisma.UserMetadataOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserMetadataInclude | null - /** - * Filter, which UserMetadata to fetch. - */ - where: Prisma.UserMetadataWhereUniqueInput -} - -/** - * UserMetadata findFirst - */ -export type UserMetadataFindFirstArgs = { - /** - * Select specific fields to fetch from the UserMetadata - */ - select?: Prisma.UserMetadataSelect | null - /** - * Omit specific fields from the UserMetadata - */ - omit?: Prisma.UserMetadataOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserMetadataInclude | null - /** - * Filter, which UserMetadata to fetch. - */ - where?: Prisma.UserMetadataWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of UserMetadata to fetch. - */ - orderBy?: Prisma.UserMetadataOrderByWithRelationInput | Prisma.UserMetadataOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for UserMetadata. - */ - cursor?: Prisma.UserMetadataWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` UserMetadata from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` UserMetadata. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of UserMetadata. - */ - distinct?: Prisma.UserMetadataScalarFieldEnum | Prisma.UserMetadataScalarFieldEnum[] -} - -/** - * UserMetadata findFirstOrThrow - */ -export type UserMetadataFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the UserMetadata - */ - select?: Prisma.UserMetadataSelect | null - /** - * Omit specific fields from the UserMetadata - */ - omit?: Prisma.UserMetadataOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserMetadataInclude | null - /** - * Filter, which UserMetadata to fetch. - */ - where?: Prisma.UserMetadataWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of UserMetadata to fetch. - */ - orderBy?: Prisma.UserMetadataOrderByWithRelationInput | Prisma.UserMetadataOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for UserMetadata. - */ - cursor?: Prisma.UserMetadataWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` UserMetadata from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` UserMetadata. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of UserMetadata. - */ - distinct?: Prisma.UserMetadataScalarFieldEnum | Prisma.UserMetadataScalarFieldEnum[] -} - -/** - * UserMetadata findMany - */ -export type UserMetadataFindManyArgs = { - /** - * Select specific fields to fetch from the UserMetadata - */ - select?: Prisma.UserMetadataSelect | null - /** - * Omit specific fields from the UserMetadata - */ - omit?: Prisma.UserMetadataOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserMetadataInclude | null - /** - * Filter, which UserMetadata to fetch. - */ - where?: Prisma.UserMetadataWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of UserMetadata to fetch. - */ - orderBy?: Prisma.UserMetadataOrderByWithRelationInput | Prisma.UserMetadataOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing UserMetadata. - */ - cursor?: Prisma.UserMetadataWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` UserMetadata from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` UserMetadata. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of UserMetadata. - */ - distinct?: Prisma.UserMetadataScalarFieldEnum | Prisma.UserMetadataScalarFieldEnum[] -} - -/** - * UserMetadata create - */ -export type UserMetadataCreateArgs = { - /** - * Select specific fields to fetch from the UserMetadata - */ - select?: Prisma.UserMetadataSelect | null - /** - * Omit specific fields from the UserMetadata - */ - omit?: Prisma.UserMetadataOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserMetadataInclude | null - /** - * The data needed to create a UserMetadata. - */ - data: Prisma.XOR -} - -/** - * UserMetadata createMany - */ -export type UserMetadataCreateManyArgs = { - /** - * The data used to create many UserMetadata. - */ - data: Prisma.UserMetadataCreateManyInput | Prisma.UserMetadataCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * UserMetadata createManyAndReturn - */ -export type UserMetadataCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the UserMetadata - */ - select?: Prisma.UserMetadataSelectCreateManyAndReturn | null - /** - * Omit specific fields from the UserMetadata - */ - omit?: Prisma.UserMetadataOmit | null - /** - * The data used to create many UserMetadata. - */ - data: Prisma.UserMetadataCreateManyInput | Prisma.UserMetadataCreateManyInput[] - skipDuplicates?: boolean - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserMetadataIncludeCreateManyAndReturn | null -} - -/** - * UserMetadata update - */ -export type UserMetadataUpdateArgs = { - /** - * Select specific fields to fetch from the UserMetadata - */ - select?: Prisma.UserMetadataSelect | null - /** - * Omit specific fields from the UserMetadata - */ - omit?: Prisma.UserMetadataOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserMetadataInclude | null - /** - * The data needed to update a UserMetadata. - */ - data: Prisma.XOR - /** - * Choose, which UserMetadata to update. - */ - where: Prisma.UserMetadataWhereUniqueInput -} - -/** - * UserMetadata updateMany - */ -export type UserMetadataUpdateManyArgs = { - /** - * The data used to update UserMetadata. - */ - data: Prisma.XOR - /** - * Filter which UserMetadata to update - */ - where?: Prisma.UserMetadataWhereInput - /** - * Limit how many UserMetadata to update. - */ - limit?: number -} - -/** - * UserMetadata updateManyAndReturn - */ -export type UserMetadataUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the UserMetadata - */ - select?: Prisma.UserMetadataSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the UserMetadata - */ - omit?: Prisma.UserMetadataOmit | null - /** - * The data used to update UserMetadata. - */ - data: Prisma.XOR - /** - * Filter which UserMetadata to update - */ - where?: Prisma.UserMetadataWhereInput - /** - * Limit how many UserMetadata to update. - */ - limit?: number - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserMetadataIncludeUpdateManyAndReturn | null -} - -/** - * UserMetadata upsert - */ -export type UserMetadataUpsertArgs = { - /** - * Select specific fields to fetch from the UserMetadata - */ - select?: Prisma.UserMetadataSelect | null - /** - * Omit specific fields from the UserMetadata - */ - omit?: Prisma.UserMetadataOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserMetadataInclude | null - /** - * The filter to search for the UserMetadata to update in case it exists. - */ - where: Prisma.UserMetadataWhereUniqueInput - /** - * In case the UserMetadata found by the `where` argument doesn't exist, create a new UserMetadata with this data. - */ - create: Prisma.XOR - /** - * In case the UserMetadata was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * UserMetadata delete - */ -export type UserMetadataDeleteArgs = { - /** - * Select specific fields to fetch from the UserMetadata - */ - select?: Prisma.UserMetadataSelect | null - /** - * Omit specific fields from the UserMetadata - */ - omit?: Prisma.UserMetadataOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserMetadataInclude | null - /** - * Filter which UserMetadata to delete. - */ - where: Prisma.UserMetadataWhereUniqueInput -} - -/** - * UserMetadata deleteMany - */ -export type UserMetadataDeleteManyArgs = { - /** - * Filter which UserMetadata to delete - */ - where?: Prisma.UserMetadataWhereInput - /** - * Limit how many UserMetadata to delete. - */ - limit?: number -} - -/** - * UserMetadata without action - */ -export type UserMetadataDefaultArgs = { - /** - * Select specific fields to fetch from the UserMetadata - */ - select?: Prisma.UserMetadataSelect | null - /** - * Omit specific fields from the UserMetadata - */ - omit?: Prisma.UserMetadataOmit | null - /** - * Choose, which related nodes to fetch as well - */ - include?: Prisma.UserMetadataInclude | null -} diff --git a/src/generated/prisma/models/Verification.ts b/src/generated/prisma/models/Verification.ts deleted file mode 100644 index fbfd9633..00000000 --- a/src/generated/prisma/models/Verification.ts +++ /dev/null @@ -1,1179 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `Verification` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model Verification - * - */ -export type VerificationModel = runtime.Types.Result.DefaultSelection - -export type AggregateVerification = { - _count: VerificationCountAggregateOutputType | null - _min: VerificationMinAggregateOutputType | null - _max: VerificationMaxAggregateOutputType | null -} - -export type VerificationMinAggregateOutputType = { - id: string | null - identifier: string | null - value: string | null - expiresAt: Date | null - createdAt: Date | null - updatedAt: Date | null -} - -export type VerificationMaxAggregateOutputType = { - id: string | null - identifier: string | null - value: string | null - expiresAt: Date | null - createdAt: Date | null - updatedAt: Date | null -} - -export type VerificationCountAggregateOutputType = { - id: number - identifier: number - value: number - expiresAt: number - createdAt: number - updatedAt: number - _all: number -} - - -export type VerificationMinAggregateInputType = { - id?: true - identifier?: true - value?: true - expiresAt?: true - createdAt?: true - updatedAt?: true -} - -export type VerificationMaxAggregateInputType = { - id?: true - identifier?: true - value?: true - expiresAt?: true - createdAt?: true - updatedAt?: true -} - -export type VerificationCountAggregateInputType = { - id?: true - identifier?: true - value?: true - expiresAt?: true - createdAt?: true - updatedAt?: true - _all?: true -} - -export type VerificationAggregateArgs = { - /** - * Filter which Verification to aggregate. - */ - where?: Prisma.VerificationWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Verifications to fetch. - */ - orderBy?: Prisma.VerificationOrderByWithRelationInput | Prisma.VerificationOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.VerificationWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Verifications from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Verifications. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned Verifications - **/ - _count?: true | VerificationCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: VerificationMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: VerificationMaxAggregateInputType -} - -export type GetVerificationAggregateType = { - [P in keyof T & keyof AggregateVerification]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type VerificationGroupByArgs = { - where?: Prisma.VerificationWhereInput - orderBy?: Prisma.VerificationOrderByWithAggregationInput | Prisma.VerificationOrderByWithAggregationInput[] - by: Prisma.VerificationScalarFieldEnum[] | Prisma.VerificationScalarFieldEnum - having?: Prisma.VerificationScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: VerificationCountAggregateInputType | true - _min?: VerificationMinAggregateInputType - _max?: VerificationMaxAggregateInputType -} - -export type VerificationGroupByOutputType = { - id: string - identifier: string - value: string - expiresAt: Date - createdAt: Date | null - updatedAt: Date | null - _count: VerificationCountAggregateOutputType | null - _min: VerificationMinAggregateOutputType | null - _max: VerificationMaxAggregateOutputType | null -} - -export type GetVerificationGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof VerificationGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type VerificationWhereInput = { - AND?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[] - OR?: Prisma.VerificationWhereInput[] - NOT?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[] - id?: Prisma.StringFilter<"Verification"> | string - identifier?: Prisma.StringFilter<"Verification"> | string - value?: Prisma.StringFilter<"Verification"> | string - expiresAt?: Prisma.DateTimeFilter<"Verification"> | Date | string - createdAt?: Prisma.DateTimeNullableFilter<"Verification"> | Date | string | null - updatedAt?: Prisma.DateTimeNullableFilter<"Verification"> | Date | string | null -} - -export type VerificationOrderByWithRelationInput = { - id?: Prisma.SortOrder - identifier?: Prisma.SortOrder - value?: Prisma.SortOrder - expiresAt?: Prisma.SortOrder - createdAt?: Prisma.SortOrderInput | Prisma.SortOrder - updatedAt?: Prisma.SortOrderInput | Prisma.SortOrder -} - -export type VerificationWhereUniqueInput = Prisma.AtLeast<{ - id?: string - AND?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[] - OR?: Prisma.VerificationWhereInput[] - NOT?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[] - identifier?: Prisma.StringFilter<"Verification"> | string - value?: Prisma.StringFilter<"Verification"> | string - expiresAt?: Prisma.DateTimeFilter<"Verification"> | Date | string - createdAt?: Prisma.DateTimeNullableFilter<"Verification"> | Date | string | null - updatedAt?: Prisma.DateTimeNullableFilter<"Verification"> | Date | string | null -}, "id"> - -export type VerificationOrderByWithAggregationInput = { - id?: Prisma.SortOrder - identifier?: Prisma.SortOrder - value?: Prisma.SortOrder - expiresAt?: Prisma.SortOrder - createdAt?: Prisma.SortOrderInput | Prisma.SortOrder - updatedAt?: Prisma.SortOrderInput | Prisma.SortOrder - _count?: Prisma.VerificationCountOrderByAggregateInput - _max?: Prisma.VerificationMaxOrderByAggregateInput - _min?: Prisma.VerificationMinOrderByAggregateInput -} - -export type VerificationScalarWhereWithAggregatesInput = { - AND?: Prisma.VerificationScalarWhereWithAggregatesInput | Prisma.VerificationScalarWhereWithAggregatesInput[] - OR?: Prisma.VerificationScalarWhereWithAggregatesInput[] - NOT?: Prisma.VerificationScalarWhereWithAggregatesInput | Prisma.VerificationScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"Verification"> | string - identifier?: Prisma.StringWithAggregatesFilter<"Verification"> | string - value?: Prisma.StringWithAggregatesFilter<"Verification"> | string - expiresAt?: Prisma.DateTimeWithAggregatesFilter<"Verification"> | Date | string - createdAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Verification"> | Date | string | null - updatedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Verification"> | Date | string | null -} - -export type VerificationCreateInput = { - id?: string - identifier: string - value: string - expiresAt: Date | string - createdAt?: Date | string | null - updatedAt?: Date | string | null -} - -export type VerificationUncheckedCreateInput = { - id?: string - identifier: string - value: string - expiresAt: Date | string - createdAt?: Date | string | null - updatedAt?: Date | string | null -} - -export type VerificationUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - identifier?: Prisma.StringFieldUpdateOperationsInput | string - value?: Prisma.StringFieldUpdateOperationsInput | string - expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null -} - -export type VerificationUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - identifier?: Prisma.StringFieldUpdateOperationsInput | string - value?: Prisma.StringFieldUpdateOperationsInput | string - expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null -} - -export type VerificationCreateManyInput = { - id?: string - identifier: string - value: string - expiresAt: Date | string - createdAt?: Date | string | null - updatedAt?: Date | string | null -} - -export type VerificationUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - identifier?: Prisma.StringFieldUpdateOperationsInput | string - value?: Prisma.StringFieldUpdateOperationsInput | string - expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null -} - -export type VerificationUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - identifier?: Prisma.StringFieldUpdateOperationsInput | string - value?: Prisma.StringFieldUpdateOperationsInput | string - expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null -} - -export type VerificationCountOrderByAggregateInput = { - id?: Prisma.SortOrder - identifier?: Prisma.SortOrder - value?: Prisma.SortOrder - expiresAt?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type VerificationMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - identifier?: Prisma.SortOrder - value?: Prisma.SortOrder - expiresAt?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type VerificationMinOrderByAggregateInput = { - id?: Prisma.SortOrder - identifier?: Prisma.SortOrder - value?: Prisma.SortOrder - expiresAt?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - - - -export type VerificationSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - identifier?: boolean - value?: boolean - expiresAt?: boolean - createdAt?: boolean - updatedAt?: boolean -}, ExtArgs["result"]["verification"]> - -export type VerificationSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - identifier?: boolean - value?: boolean - expiresAt?: boolean - createdAt?: boolean - updatedAt?: boolean -}, ExtArgs["result"]["verification"]> - -export type VerificationSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - identifier?: boolean - value?: boolean - expiresAt?: boolean - createdAt?: boolean - updatedAt?: boolean -}, ExtArgs["result"]["verification"]> - -export type VerificationSelectScalar = { - id?: boolean - identifier?: boolean - value?: boolean - expiresAt?: boolean - createdAt?: boolean - updatedAt?: boolean -} - -export type VerificationOmit = runtime.Types.Extensions.GetOmit<"id" | "identifier" | "value" | "expiresAt" | "createdAt" | "updatedAt", ExtArgs["result"]["verification"]> - -export type $VerificationPayload = { - name: "Verification" - objects: {} - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - identifier: string - value: string - expiresAt: Date - createdAt: Date | null - updatedAt: Date | null - }, ExtArgs["result"]["verification"]> - composites: {} -} - -export type VerificationGetPayload = runtime.Types.Result.GetResult - -export type VerificationCountArgs = - Omit & { - select?: VerificationCountAggregateInputType | true - } - -export interface VerificationDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['Verification'], meta: { name: 'Verification' } } - /** - * Find zero or one Verification that matches the filter. - * @param {VerificationFindUniqueArgs} args - Arguments to find a Verification - * @example - * // Get one Verification - * const verification = await prisma.verification.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__VerificationClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one Verification that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {VerificationFindUniqueOrThrowArgs} args - Arguments to find a Verification - * @example - * // Get one Verification - * const verification = await prisma.verification.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__VerificationClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Verification that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {VerificationFindFirstArgs} args - Arguments to find a Verification - * @example - * // Get one Verification - * const verification = await prisma.verification.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__VerificationClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first Verification that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {VerificationFindFirstOrThrowArgs} args - Arguments to find a Verification - * @example - * // Get one Verification - * const verification = await prisma.verification.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__VerificationClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more Verifications that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {VerificationFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all Verifications - * const verifications = await prisma.verification.findMany() - * - * // Get first 10 Verifications - * const verifications = await prisma.verification.findMany({ take: 10 }) - * - * // Only select the `id` - * const verificationWithIdOnly = await prisma.verification.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a Verification. - * @param {VerificationCreateArgs} args - Arguments to create a Verification. - * @example - * // Create one Verification - * const Verification = await prisma.verification.create({ - * data: { - * // ... data to create a Verification - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__VerificationClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many Verifications. - * @param {VerificationCreateManyArgs} args - Arguments to create many Verifications. - * @example - * // Create many Verifications - * const verification = await prisma.verification.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many Verifications and returns the data saved in the database. - * @param {VerificationCreateManyAndReturnArgs} args - Arguments to create many Verifications. - * @example - * // Create many Verifications - * const verification = await prisma.verification.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many Verifications and only return the `id` - * const verificationWithIdOnly = await prisma.verification.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a Verification. - * @param {VerificationDeleteArgs} args - Arguments to delete one Verification. - * @example - * // Delete one Verification - * const Verification = await prisma.verification.delete({ - * where: { - * // ... filter to delete one Verification - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__VerificationClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one Verification. - * @param {VerificationUpdateArgs} args - Arguments to update one Verification. - * @example - * // Update one Verification - * const verification = await prisma.verification.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__VerificationClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more Verifications. - * @param {VerificationDeleteManyArgs} args - Arguments to filter Verifications to delete. - * @example - * // Delete a few Verifications - * const { count } = await prisma.verification.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Verifications. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {VerificationUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many Verifications - * const verification = await prisma.verification.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more Verifications and returns the data updated in the database. - * @param {VerificationUpdateManyAndReturnArgs} args - Arguments to update many Verifications. - * @example - * // Update many Verifications - * const verification = await prisma.verification.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more Verifications and only return the `id` - * const verificationWithIdOnly = await prisma.verification.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one Verification. - * @param {VerificationUpsertArgs} args - Arguments to update or create a Verification. - * @example - * // Update or create a Verification - * const verification = await prisma.verification.upsert({ - * create: { - * // ... data to create a Verification - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the Verification we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__VerificationClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of Verifications. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {VerificationCountArgs} args - Arguments to filter Verifications to count. - * @example - * // Count the number of Verifications - * const count = await prisma.verification.count({ - * where: { - * // ... the filter for the Verifications we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a Verification. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {VerificationAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by Verification. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {VerificationGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends VerificationGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: VerificationGroupByArgs['orderBy'] } - : { orderBy?: VerificationGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetVerificationGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the Verification model - */ -readonly fields: VerificationFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for Verification. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__VerificationClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the Verification model - */ -export interface VerificationFieldRefs { - readonly id: Prisma.FieldRef<"Verification", 'String'> - readonly identifier: Prisma.FieldRef<"Verification", 'String'> - readonly value: Prisma.FieldRef<"Verification", 'String'> - readonly expiresAt: Prisma.FieldRef<"Verification", 'DateTime'> - readonly createdAt: Prisma.FieldRef<"Verification", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"Verification", 'DateTime'> -} - - -// Custom InputTypes -/** - * Verification findUnique - */ -export type VerificationFindUniqueArgs = { - /** - * Select specific fields to fetch from the Verification - */ - select?: Prisma.VerificationSelect | null - /** - * Omit specific fields from the Verification - */ - omit?: Prisma.VerificationOmit | null - /** - * Filter, which Verification to fetch. - */ - where: Prisma.VerificationWhereUniqueInput -} - -/** - * Verification findUniqueOrThrow - */ -export type VerificationFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the Verification - */ - select?: Prisma.VerificationSelect | null - /** - * Omit specific fields from the Verification - */ - omit?: Prisma.VerificationOmit | null - /** - * Filter, which Verification to fetch. - */ - where: Prisma.VerificationWhereUniqueInput -} - -/** - * Verification findFirst - */ -export type VerificationFindFirstArgs = { - /** - * Select specific fields to fetch from the Verification - */ - select?: Prisma.VerificationSelect | null - /** - * Omit specific fields from the Verification - */ - omit?: Prisma.VerificationOmit | null - /** - * Filter, which Verification to fetch. - */ - where?: Prisma.VerificationWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Verifications to fetch. - */ - orderBy?: Prisma.VerificationOrderByWithRelationInput | Prisma.VerificationOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Verifications. - */ - cursor?: Prisma.VerificationWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Verifications from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Verifications. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Verifications. - */ - distinct?: Prisma.VerificationScalarFieldEnum | Prisma.VerificationScalarFieldEnum[] -} - -/** - * Verification findFirstOrThrow - */ -export type VerificationFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the Verification - */ - select?: Prisma.VerificationSelect | null - /** - * Omit specific fields from the Verification - */ - omit?: Prisma.VerificationOmit | null - /** - * Filter, which Verification to fetch. - */ - where?: Prisma.VerificationWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Verifications to fetch. - */ - orderBy?: Prisma.VerificationOrderByWithRelationInput | Prisma.VerificationOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for Verifications. - */ - cursor?: Prisma.VerificationWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Verifications from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Verifications. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Verifications. - */ - distinct?: Prisma.VerificationScalarFieldEnum | Prisma.VerificationScalarFieldEnum[] -} - -/** - * Verification findMany - */ -export type VerificationFindManyArgs = { - /** - * Select specific fields to fetch from the Verification - */ - select?: Prisma.VerificationSelect | null - /** - * Omit specific fields from the Verification - */ - omit?: Prisma.VerificationOmit | null - /** - * Filter, which Verifications to fetch. - */ - where?: Prisma.VerificationWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of Verifications to fetch. - */ - orderBy?: Prisma.VerificationOrderByWithRelationInput | Prisma.VerificationOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing Verifications. - */ - cursor?: Prisma.VerificationWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` Verifications from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` Verifications. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of Verifications. - */ - distinct?: Prisma.VerificationScalarFieldEnum | Prisma.VerificationScalarFieldEnum[] -} - -/** - * Verification create - */ -export type VerificationCreateArgs = { - /** - * Select specific fields to fetch from the Verification - */ - select?: Prisma.VerificationSelect | null - /** - * Omit specific fields from the Verification - */ - omit?: Prisma.VerificationOmit | null - /** - * The data needed to create a Verification. - */ - data: Prisma.XOR -} - -/** - * Verification createMany - */ -export type VerificationCreateManyArgs = { - /** - * The data used to create many Verifications. - */ - data: Prisma.VerificationCreateManyInput | Prisma.VerificationCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * Verification createManyAndReturn - */ -export type VerificationCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Verification - */ - select?: Prisma.VerificationSelectCreateManyAndReturn | null - /** - * Omit specific fields from the Verification - */ - omit?: Prisma.VerificationOmit | null - /** - * The data used to create many Verifications. - */ - data: Prisma.VerificationCreateManyInput | Prisma.VerificationCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * Verification update - */ -export type VerificationUpdateArgs = { - /** - * Select specific fields to fetch from the Verification - */ - select?: Prisma.VerificationSelect | null - /** - * Omit specific fields from the Verification - */ - omit?: Prisma.VerificationOmit | null - /** - * The data needed to update a Verification. - */ - data: Prisma.XOR - /** - * Choose, which Verification to update. - */ - where: Prisma.VerificationWhereUniqueInput -} - -/** - * Verification updateMany - */ -export type VerificationUpdateManyArgs = { - /** - * The data used to update Verifications. - */ - data: Prisma.XOR - /** - * Filter which Verifications to update - */ - where?: Prisma.VerificationWhereInput - /** - * Limit how many Verifications to update. - */ - limit?: number -} - -/** - * Verification updateManyAndReturn - */ -export type VerificationUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the Verification - */ - select?: Prisma.VerificationSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the Verification - */ - omit?: Prisma.VerificationOmit | null - /** - * The data used to update Verifications. - */ - data: Prisma.XOR - /** - * Filter which Verifications to update - */ - where?: Prisma.VerificationWhereInput - /** - * Limit how many Verifications to update. - */ - limit?: number -} - -/** - * Verification upsert - */ -export type VerificationUpsertArgs = { - /** - * Select specific fields to fetch from the Verification - */ - select?: Prisma.VerificationSelect | null - /** - * Omit specific fields from the Verification - */ - omit?: Prisma.VerificationOmit | null - /** - * The filter to search for the Verification to update in case it exists. - */ - where: Prisma.VerificationWhereUniqueInput - /** - * In case the Verification found by the `where` argument doesn't exist, create a new Verification with this data. - */ - create: Prisma.XOR - /** - * In case the Verification was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * Verification delete - */ -export type VerificationDeleteArgs = { - /** - * Select specific fields to fetch from the Verification - */ - select?: Prisma.VerificationSelect | null - /** - * Omit specific fields from the Verification - */ - omit?: Prisma.VerificationOmit | null - /** - * Filter which Verification to delete. - */ - where: Prisma.VerificationWhereUniqueInput -} - -/** - * Verification deleteMany - */ -export type VerificationDeleteManyArgs = { - /** - * Filter which Verifications to delete - */ - where?: Prisma.VerificationWhereInput - /** - * Limit how many Verifications to delete. - */ - limit?: number -} - -/** - * Verification without action - */ -export type VerificationDefaultArgs = { - /** - * Select specific fields to fetch from the Verification - */ - select?: Prisma.VerificationSelect | null - /** - * Omit specific fields from the Verification - */ - omit?: Prisma.VerificationOmit | null -} diff --git a/src/generated/prisma/models/WorkflowTask.ts b/src/generated/prisma/models/WorkflowTask.ts deleted file mode 100644 index e5703b20..00000000 --- a/src/generated/prisma/models/WorkflowTask.ts +++ /dev/null @@ -1,1483 +0,0 @@ - -/* !!! This is code generated by Prisma. Do not edit directly. !!! */ -/* eslint-disable */ -// biome-ignore-all lint: generated file -// @ts-nocheck -/* - * This file exports the `WorkflowTask` model and its related types. - * - * 🟢 You can import this file directly. - */ - -import type * as PJTG from '../pjtg'; -import type * as runtime from "@prisma/client/runtime/client" -import type * as $Enums from "../enums.ts" -import type * as Prisma from "../internal/prismaNamespace.ts" - -/** - * Model WorkflowTask - * - */ -export type WorkflowTaskModel = runtime.Types.Result.DefaultSelection - -export type AggregateWorkflowTask = { - _count: WorkflowTaskCountAggregateOutputType | null - _avg: WorkflowTaskAvgAggregateOutputType | null - _sum: WorkflowTaskSumAggregateOutputType | null - _min: WorkflowTaskMinAggregateOutputType | null - _max: WorkflowTaskMaxAggregateOutputType | null -} - -export type WorkflowTaskAvgAggregateOutputType = { - inputTokens: number | null - outputTokens: number | null -} - -export type WorkflowTaskSumAggregateOutputType = { - inputTokens: number | null - outputTokens: number | null -} - -export type WorkflowTaskMinAggregateOutputType = { - id: string | null - uid: string | null - teamId: string | null - projectId: string | null - assetId: string | null - type: $Enums.WorkflowTaskType | null - status: $Enums.WorkflowTaskStatus | null - heartbeat: Date | null - inputTokens: number | null - outputTokens: number | null - model: string | null - createdAt: Date | null - updatedAt: Date | null -} - -export type WorkflowTaskMaxAggregateOutputType = { - id: string | null - uid: string | null - teamId: string | null - projectId: string | null - assetId: string | null - type: $Enums.WorkflowTaskType | null - status: $Enums.WorkflowTaskStatus | null - heartbeat: Date | null - inputTokens: number | null - outputTokens: number | null - model: string | null - createdAt: Date | null - updatedAt: Date | null -} - -export type WorkflowTaskCountAggregateOutputType = { - id: number - uid: number - teamId: number - projectId: number - assetId: number - type: number - status: number - payload:PrismaJson.WorkflowTaskPayload - output:PrismaJson.WorkflowTaskOutput - heartbeat: number - inputTokens: number - outputTokens: number - model: number - createdAt: number - updatedAt: number - _all: number -} - - -export type WorkflowTaskAvgAggregateInputType = { - inputTokens?: true - outputTokens?: true -} - -export type WorkflowTaskSumAggregateInputType = { - inputTokens?: true - outputTokens?: true -} - -export type WorkflowTaskMinAggregateInputType = { - id?: true - uid?: true - teamId?: true - projectId?: true - assetId?: true - type?: true - status?: true - heartbeat?: true - inputTokens?: true - outputTokens?: true - model?: true - createdAt?: true - updatedAt?: true -} - -export type WorkflowTaskMaxAggregateInputType = { - id?: true - uid?: true - teamId?: true - projectId?: true - assetId?: true - type?: true - status?: true - heartbeat?: true - inputTokens?: true - outputTokens?: true - model?: true - createdAt?: true - updatedAt?: true -} - -export type WorkflowTaskCountAggregateInputType = { - id?: true - uid?: true - teamId?: true - projectId?: true - assetId?: true - type?: true - status?: true - payload?: true - output?: true - heartbeat?: true - inputTokens?: true - outputTokens?: true - model?: true - createdAt?: true - updatedAt?: true - _all?: true -} - -export type WorkflowTaskAggregateArgs = { - /** - * Filter which WorkflowTask to aggregate. - */ - where?: Prisma.WorkflowTaskWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of WorkflowTasks to fetch. - */ - orderBy?: Prisma.WorkflowTaskOrderByWithRelationInput | Prisma.WorkflowTaskOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the start position - */ - cursor?: Prisma.WorkflowTaskWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` WorkflowTasks from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` WorkflowTasks. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Count returned WorkflowTasks - **/ - _count?: true | WorkflowTaskCountAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to average - **/ - _avg?: WorkflowTaskAvgAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to sum - **/ - _sum?: WorkflowTaskSumAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the minimum value - **/ - _min?: WorkflowTaskMinAggregateInputType - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} - * - * Select which fields to find the maximum value - **/ - _max?: WorkflowTaskMaxAggregateInputType -} - -export type GetWorkflowTaskAggregateType = { - [P in keyof T & keyof AggregateWorkflowTask]: P extends '_count' | 'count' - ? T[P] extends true - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType -} - - - - -export type WorkflowTaskGroupByArgs = { - where?: Prisma.WorkflowTaskWhereInput - orderBy?: Prisma.WorkflowTaskOrderByWithAggregationInput | Prisma.WorkflowTaskOrderByWithAggregationInput[] - by: Prisma.WorkflowTaskScalarFieldEnum[] | Prisma.WorkflowTaskScalarFieldEnum - having?: Prisma.WorkflowTaskScalarWhereWithAggregatesInput - take?: number - skip?: number - _count?: WorkflowTaskCountAggregateInputType | true - _avg?: WorkflowTaskAvgAggregateInputType - _sum?: WorkflowTaskSumAggregateInputType - _min?: WorkflowTaskMinAggregateInputType - _max?: WorkflowTaskMaxAggregateInputType -} - -export type WorkflowTaskGroupByOutputType = { - id: string - uid: string - teamId: string | null - projectId: string | null - assetId: string - type: $Enums.WorkflowTaskType | null - status: $Enums.WorkflowTaskStatus | null - payload:PrismaJson.WorkflowTaskPayload | null - output:PrismaJson.WorkflowTaskOutput | null - heartbeat: Date | null - inputTokens: number - outputTokens: number - model: string | null - createdAt: Date - updatedAt: Date - _count: WorkflowTaskCountAggregateOutputType | null - _avg: WorkflowTaskAvgAggregateOutputType | null - _sum: WorkflowTaskSumAggregateOutputType | null - _min: WorkflowTaskMinAggregateOutputType | null - _max: WorkflowTaskMaxAggregateOutputType | null -} - -export type GetWorkflowTaskGroupByPayload = Prisma.PrismaPromise< - Array< - Prisma.PickEnumerable & - { - [P in ((keyof T) & (keyof WorkflowTaskGroupByOutputType))]: P extends '_count' - ? T[P] extends boolean - ? number - : Prisma.GetScalarType - : Prisma.GetScalarType - } - > - > - - - -export type WorkflowTaskWhereInput = { - AND?: Prisma.WorkflowTaskWhereInput | Prisma.WorkflowTaskWhereInput[] - OR?: Prisma.WorkflowTaskWhereInput[] - NOT?: Prisma.WorkflowTaskWhereInput | Prisma.WorkflowTaskWhereInput[] - id?: Prisma.StringFilter<"WorkflowTask"> | string - uid?: Prisma.UuidFilter<"WorkflowTask"> | string - teamId?: Prisma.StringNullableFilter<"WorkflowTask"> | string | null - projectId?: Prisma.StringNullableFilter<"WorkflowTask"> | string | null - assetId?: Prisma.StringFilter<"WorkflowTask"> | string - type?: Prisma.EnumWorkflowTaskTypeNullableFilter<"WorkflowTask"> | $Enums.WorkflowTaskType | null - status?: Prisma.EnumWorkflowTaskStatusNullableFilter<"WorkflowTask"> | $Enums.WorkflowTaskStatus | null - payload?: Prisma.JsonNullableFilter<"WorkflowTask"> - output?: Prisma.JsonNullableFilter<"WorkflowTask"> - heartbeat?: Prisma.DateTimeNullableFilter<"WorkflowTask"> | Date | string | null - inputTokens?: Prisma.IntFilter<"WorkflowTask"> | number - outputTokens?: Prisma.IntFilter<"WorkflowTask"> | number - model?: Prisma.StringNullableFilter<"WorkflowTask"> | string | null - createdAt?: Prisma.DateTimeFilter<"WorkflowTask"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"WorkflowTask"> | Date | string -} - -export type WorkflowTaskOrderByWithRelationInput = { - id?: Prisma.SortOrder - uid?: Prisma.SortOrder - teamId?: Prisma.SortOrderInput | Prisma.SortOrder - projectId?: Prisma.SortOrderInput | Prisma.SortOrder - assetId?: Prisma.SortOrder - type?: Prisma.SortOrderInput | Prisma.SortOrder - status?: Prisma.SortOrderInput | Prisma.SortOrder - payload?: Prisma.SortOrderInput | Prisma.SortOrder - output?: Prisma.SortOrderInput | Prisma.SortOrder - heartbeat?: Prisma.SortOrderInput | Prisma.SortOrder - inputTokens?: Prisma.SortOrder - outputTokens?: Prisma.SortOrder - model?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type WorkflowTaskWhereUniqueInput = Prisma.AtLeast<{ - id?: string - AND?: Prisma.WorkflowTaskWhereInput | Prisma.WorkflowTaskWhereInput[] - OR?: Prisma.WorkflowTaskWhereInput[] - NOT?: Prisma.WorkflowTaskWhereInput | Prisma.WorkflowTaskWhereInput[] - uid?: Prisma.UuidFilter<"WorkflowTask"> | string - teamId?: Prisma.StringNullableFilter<"WorkflowTask"> | string | null - projectId?: Prisma.StringNullableFilter<"WorkflowTask"> | string | null - assetId?: Prisma.StringFilter<"WorkflowTask"> | string - type?: Prisma.EnumWorkflowTaskTypeNullableFilter<"WorkflowTask"> | $Enums.WorkflowTaskType | null - status?: Prisma.EnumWorkflowTaskStatusNullableFilter<"WorkflowTask"> | $Enums.WorkflowTaskStatus | null - payload?: Prisma.JsonNullableFilter<"WorkflowTask"> - output?: Prisma.JsonNullableFilter<"WorkflowTask"> - heartbeat?: Prisma.DateTimeNullableFilter<"WorkflowTask"> | Date | string | null - inputTokens?: Prisma.IntFilter<"WorkflowTask"> | number - outputTokens?: Prisma.IntFilter<"WorkflowTask"> | number - model?: Prisma.StringNullableFilter<"WorkflowTask"> | string | null - createdAt?: Prisma.DateTimeFilter<"WorkflowTask"> | Date | string - updatedAt?: Prisma.DateTimeFilter<"WorkflowTask"> | Date | string -}, "id"> - -export type WorkflowTaskOrderByWithAggregationInput = { - id?: Prisma.SortOrder - uid?: Prisma.SortOrder - teamId?: Prisma.SortOrderInput | Prisma.SortOrder - projectId?: Prisma.SortOrderInput | Prisma.SortOrder - assetId?: Prisma.SortOrder - type?: Prisma.SortOrderInput | Prisma.SortOrder - status?: Prisma.SortOrderInput | Prisma.SortOrder - payload?: Prisma.SortOrderInput | Prisma.SortOrder - output?: Prisma.SortOrderInput | Prisma.SortOrder - heartbeat?: Prisma.SortOrderInput | Prisma.SortOrder - inputTokens?: Prisma.SortOrder - outputTokens?: Prisma.SortOrder - model?: Prisma.SortOrderInput | Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder - _count?: Prisma.WorkflowTaskCountOrderByAggregateInput - _avg?: Prisma.WorkflowTaskAvgOrderByAggregateInput - _max?: Prisma.WorkflowTaskMaxOrderByAggregateInput - _min?: Prisma.WorkflowTaskMinOrderByAggregateInput - _sum?: Prisma.WorkflowTaskSumOrderByAggregateInput -} - -export type WorkflowTaskScalarWhereWithAggregatesInput = { - AND?: Prisma.WorkflowTaskScalarWhereWithAggregatesInput | Prisma.WorkflowTaskScalarWhereWithAggregatesInput[] - OR?: Prisma.WorkflowTaskScalarWhereWithAggregatesInput[] - NOT?: Prisma.WorkflowTaskScalarWhereWithAggregatesInput | Prisma.WorkflowTaskScalarWhereWithAggregatesInput[] - id?: Prisma.StringWithAggregatesFilter<"WorkflowTask"> | string - uid?: Prisma.UuidWithAggregatesFilter<"WorkflowTask"> | string - teamId?: Prisma.StringNullableWithAggregatesFilter<"WorkflowTask"> | string | null - projectId?: Prisma.StringNullableWithAggregatesFilter<"WorkflowTask"> | string | null - assetId?: Prisma.StringWithAggregatesFilter<"WorkflowTask"> | string - type?: Prisma.EnumWorkflowTaskTypeNullableWithAggregatesFilter<"WorkflowTask"> | $Enums.WorkflowTaskType | null - status?: Prisma.EnumWorkflowTaskStatusNullableWithAggregatesFilter<"WorkflowTask"> | $Enums.WorkflowTaskStatus | null - payload?: Prisma.JsonNullableWithAggregatesFilter<"WorkflowTask"> - output?: Prisma.JsonNullableWithAggregatesFilter<"WorkflowTask"> - heartbeat?: Prisma.DateTimeNullableWithAggregatesFilter<"WorkflowTask"> | Date | string | null - inputTokens?: Prisma.IntWithAggregatesFilter<"WorkflowTask"> | number - outputTokens?: Prisma.IntWithAggregatesFilter<"WorkflowTask"> | number - model?: Prisma.StringNullableWithAggregatesFilter<"WorkflowTask"> | string | null - createdAt?: Prisma.DateTimeWithAggregatesFilter<"WorkflowTask"> | Date | string - updatedAt?: Prisma.DateTimeWithAggregatesFilter<"WorkflowTask"> | Date | string -} - -export type WorkflowTaskCreateInput = { - id?: string - uid?: string - teamId?: string | null - projectId?: string | null - assetId: string - type?: $Enums.WorkflowTaskType | null - status?: $Enums.WorkflowTaskStatus | null - payload?:PrismaJson.WorkflowTaskPayload | Prisma.NullableJsonNullValueInput - output?:PrismaJson.WorkflowTaskOutput | Prisma.NullableJsonNullValueInput - heartbeat?: Date | string | null - inputTokens?: number - outputTokens?: number - model?: string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type WorkflowTaskUncheckedCreateInput = { - id?: string - uid?: string - teamId?: string | null - projectId?: string | null - assetId: string - type?: $Enums.WorkflowTaskType | null - status?: $Enums.WorkflowTaskStatus | null - payload?:PrismaJson.WorkflowTaskPayload | Prisma.NullableJsonNullValueInput - output?:PrismaJson.WorkflowTaskOutput | Prisma.NullableJsonNullValueInput - heartbeat?: Date | string | null - inputTokens?: number - outputTokens?: number - model?: string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type WorkflowTaskUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - uid?: Prisma.StringFieldUpdateOperationsInput | string - teamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - assetId?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumWorkflowTaskTypeFieldUpdateOperationsInput | $Enums.WorkflowTaskType | null - status?: Prisma.NullableEnumWorkflowTaskStatusFieldUpdateOperationsInput | $Enums.WorkflowTaskStatus | null - payload?:PrismaJson.WorkflowTaskPayload | Prisma.NullableJsonNullValueInput - output?:PrismaJson.WorkflowTaskOutput | Prisma.NullableJsonNullValueInput - heartbeat?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - inputTokens?: Prisma.IntFieldUpdateOperationsInput | number - outputTokens?: Prisma.IntFieldUpdateOperationsInput | number - model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type WorkflowTaskUncheckedUpdateInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - uid?: Prisma.StringFieldUpdateOperationsInput | string - teamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - assetId?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumWorkflowTaskTypeFieldUpdateOperationsInput | $Enums.WorkflowTaskType | null - status?: Prisma.NullableEnumWorkflowTaskStatusFieldUpdateOperationsInput | $Enums.WorkflowTaskStatus | null - payload?:PrismaJson.WorkflowTaskPayload | Prisma.NullableJsonNullValueInput - output?:PrismaJson.WorkflowTaskOutput | Prisma.NullableJsonNullValueInput - heartbeat?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - inputTokens?: Prisma.IntFieldUpdateOperationsInput | number - outputTokens?: Prisma.IntFieldUpdateOperationsInput | number - model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type WorkflowTaskCreateManyInput = { - id?: string - uid?: string - teamId?: string | null - projectId?: string | null - assetId: string - type?: $Enums.WorkflowTaskType | null - status?: $Enums.WorkflowTaskStatus | null - payload?:PrismaJson.WorkflowTaskPayload | Prisma.NullableJsonNullValueInput - output?:PrismaJson.WorkflowTaskOutput | Prisma.NullableJsonNullValueInput - heartbeat?: Date | string | null - inputTokens?: number - outputTokens?: number - model?: string | null - createdAt?: Date | string - updatedAt?: Date | string -} - -export type WorkflowTaskUpdateManyMutationInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - uid?: Prisma.StringFieldUpdateOperationsInput | string - teamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - assetId?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumWorkflowTaskTypeFieldUpdateOperationsInput | $Enums.WorkflowTaskType | null - status?: Prisma.NullableEnumWorkflowTaskStatusFieldUpdateOperationsInput | $Enums.WorkflowTaskStatus | null - payload?:PrismaJson.WorkflowTaskPayload | Prisma.NullableJsonNullValueInput - output?:PrismaJson.WorkflowTaskOutput | Prisma.NullableJsonNullValueInput - heartbeat?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - inputTokens?: Prisma.IntFieldUpdateOperationsInput | number - outputTokens?: Prisma.IntFieldUpdateOperationsInput | number - model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type WorkflowTaskUncheckedUpdateManyInput = { - id?: Prisma.StringFieldUpdateOperationsInput | string - uid?: Prisma.StringFieldUpdateOperationsInput | string - teamId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - assetId?: Prisma.StringFieldUpdateOperationsInput | string - type?: Prisma.NullableEnumWorkflowTaskTypeFieldUpdateOperationsInput | $Enums.WorkflowTaskType | null - status?: Prisma.NullableEnumWorkflowTaskStatusFieldUpdateOperationsInput | $Enums.WorkflowTaskStatus | null - payload?:PrismaJson.WorkflowTaskPayload | Prisma.NullableJsonNullValueInput - output?:PrismaJson.WorkflowTaskOutput | Prisma.NullableJsonNullValueInput - heartbeat?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null - inputTokens?: Prisma.IntFieldUpdateOperationsInput | number - outputTokens?: Prisma.IntFieldUpdateOperationsInput | number - model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null - createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string - updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string -} - -export type WorkflowTaskCountOrderByAggregateInput = { - id?: Prisma.SortOrder - uid?: Prisma.SortOrder - teamId?: Prisma.SortOrder - projectId?: Prisma.SortOrder - assetId?: Prisma.SortOrder - type?: Prisma.SortOrder - status?: Prisma.SortOrder - payload?: Prisma.SortOrder - output?: Prisma.SortOrder - heartbeat?: Prisma.SortOrder - inputTokens?: Prisma.SortOrder - outputTokens?: Prisma.SortOrder - model?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type WorkflowTaskAvgOrderByAggregateInput = { - inputTokens?: Prisma.SortOrder - outputTokens?: Prisma.SortOrder -} - -export type WorkflowTaskMaxOrderByAggregateInput = { - id?: Prisma.SortOrder - uid?: Prisma.SortOrder - teamId?: Prisma.SortOrder - projectId?: Prisma.SortOrder - assetId?: Prisma.SortOrder - type?: Prisma.SortOrder - status?: Prisma.SortOrder - heartbeat?: Prisma.SortOrder - inputTokens?: Prisma.SortOrder - outputTokens?: Prisma.SortOrder - model?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type WorkflowTaskMinOrderByAggregateInput = { - id?: Prisma.SortOrder - uid?: Prisma.SortOrder - teamId?: Prisma.SortOrder - projectId?: Prisma.SortOrder - assetId?: Prisma.SortOrder - type?: Prisma.SortOrder - status?: Prisma.SortOrder - heartbeat?: Prisma.SortOrder - inputTokens?: Prisma.SortOrder - outputTokens?: Prisma.SortOrder - model?: Prisma.SortOrder - createdAt?: Prisma.SortOrder - updatedAt?: Prisma.SortOrder -} - -export type WorkflowTaskSumOrderByAggregateInput = { - inputTokens?: Prisma.SortOrder - outputTokens?: Prisma.SortOrder -} - -export type NullableEnumWorkflowTaskTypeFieldUpdateOperationsInput = { - set?: $Enums.WorkflowTaskType | null -} - -export type NullableEnumWorkflowTaskStatusFieldUpdateOperationsInput = { - set?: $Enums.WorkflowTaskStatus | null -} - - - -export type WorkflowTaskSelect = runtime.Types.Extensions.GetSelect<{ - id?: boolean - uid?: boolean - teamId?: boolean - projectId?: boolean - assetId?: boolean - type?: boolean - status?: boolean - payload?: boolean - output?: boolean - heartbeat?: boolean - inputTokens?: boolean - outputTokens?: boolean - model?: boolean - createdAt?: boolean - updatedAt?: boolean -}, ExtArgs["result"]["workflowTask"]> - -export type WorkflowTaskSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - uid?: boolean - teamId?: boolean - projectId?: boolean - assetId?: boolean - type?: boolean - status?: boolean - payload?: boolean - output?: boolean - heartbeat?: boolean - inputTokens?: boolean - outputTokens?: boolean - model?: boolean - createdAt?: boolean - updatedAt?: boolean -}, ExtArgs["result"]["workflowTask"]> - -export type WorkflowTaskSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ - id?: boolean - uid?: boolean - teamId?: boolean - projectId?: boolean - assetId?: boolean - type?: boolean - status?: boolean - payload?: boolean - output?: boolean - heartbeat?: boolean - inputTokens?: boolean - outputTokens?: boolean - model?: boolean - createdAt?: boolean - updatedAt?: boolean -}, ExtArgs["result"]["workflowTask"]> - -export type WorkflowTaskSelectScalar = { - id?: boolean - uid?: boolean - teamId?: boolean - projectId?: boolean - assetId?: boolean - type?: boolean - status?: boolean - payload?: boolean - output?: boolean - heartbeat?: boolean - inputTokens?: boolean - outputTokens?: boolean - model?: boolean - createdAt?: boolean - updatedAt?: boolean -} - -export type WorkflowTaskOmit = runtime.Types.Extensions.GetOmit<"id" | "uid" | "teamId" | "projectId" | "assetId" | "type" | "status" | "payload" | "output" | "heartbeat" | "inputTokens" | "outputTokens" | "model" | "createdAt" | "updatedAt", ExtArgs["result"]["workflowTask"]> - -export type $WorkflowTaskPayload = { - name: "WorkflowTask" - objects: {} - scalars: runtime.Types.Extensions.GetPayloadResult<{ - id: string - uid: string - teamId: string | null - projectId: string | null - assetId: string - type: $Enums.WorkflowTaskType | null - status: $Enums.WorkflowTaskStatus | null - /** - * [WorkflowTaskPayload] - */ - payload:PrismaJson.WorkflowTaskPayload | null - /** - * [WorkflowTaskOutput] - */ - output:PrismaJson.WorkflowTaskOutput | null - heartbeat: Date | null - inputTokens: number - outputTokens: number - model: string | null - createdAt: Date - updatedAt: Date - }, ExtArgs["result"]["workflowTask"]> - composites: {} -} - -export type WorkflowTaskGetPayload = runtime.Types.Result.GetResult - -export type WorkflowTaskCountArgs = - Omit & { - select?: WorkflowTaskCountAggregateInputType | true - } - -export interface WorkflowTaskDelegate { - [K: symbol]: { types: Prisma.TypeMap['model']['WorkflowTask'], meta: { name: 'WorkflowTask' } } - /** - * Find zero or one WorkflowTask that matches the filter. - * @param {WorkflowTaskFindUniqueArgs} args - Arguments to find a WorkflowTask - * @example - * // Get one WorkflowTask - * const workflowTask = await prisma.workflowTask.findUnique({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__WorkflowTaskClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find one WorkflowTask that matches the filter or throw an error with `error.code='P2025'` - * if no matches were found. - * @param {WorkflowTaskFindUniqueOrThrowArgs} args - Arguments to find a WorkflowTask - * @example - * // Get one WorkflowTask - * const workflowTask = await prisma.workflowTask.findUniqueOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__WorkflowTaskClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find the first WorkflowTask that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {WorkflowTaskFindFirstArgs} args - Arguments to find a WorkflowTask - * @example - * // Get one WorkflowTask - * const workflowTask = await prisma.workflowTask.findFirst({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__WorkflowTaskClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> - - /** - * Find the first WorkflowTask that matches the filter or - * throw `PrismaKnownClientError` with `P2025` code if no matches were found. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {WorkflowTaskFindFirstOrThrowArgs} args - Arguments to find a WorkflowTask - * @example - * // Get one WorkflowTask - * const workflowTask = await prisma.workflowTask.findFirstOrThrow({ - * where: { - * // ... provide filter here - * } - * }) - */ - findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__WorkflowTaskClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Find zero or more WorkflowTasks that matches the filter. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {WorkflowTaskFindManyArgs} args - Arguments to filter and select certain fields only. - * @example - * // Get all WorkflowTasks - * const workflowTasks = await prisma.workflowTask.findMany() - * - * // Get first 10 WorkflowTasks - * const workflowTasks = await prisma.workflowTask.findMany({ take: 10 }) - * - * // Only select the `id` - * const workflowTaskWithIdOnly = await prisma.workflowTask.findMany({ select: { id: true } }) - * - */ - findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> - - /** - * Create a WorkflowTask. - * @param {WorkflowTaskCreateArgs} args - Arguments to create a WorkflowTask. - * @example - * // Create one WorkflowTask - * const WorkflowTask = await prisma.workflowTask.create({ - * data: { - * // ... data to create a WorkflowTask - * } - * }) - * - */ - create(args: Prisma.SelectSubset>): Prisma.Prisma__WorkflowTaskClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Create many WorkflowTasks. - * @param {WorkflowTaskCreateManyArgs} args - Arguments to create many WorkflowTasks. - * @example - * // Create many WorkflowTasks - * const workflowTask = await prisma.workflowTask.createMany({ - * data: [ - * // ... provide data here - * ] - * }) - * - */ - createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Create many WorkflowTasks and returns the data saved in the database. - * @param {WorkflowTaskCreateManyAndReturnArgs} args - Arguments to create many WorkflowTasks. - * @example - * // Create many WorkflowTasks - * const workflowTask = await prisma.workflowTask.createManyAndReturn({ - * data: [ - * // ... provide data here - * ] - * }) - * - * // Create many WorkflowTasks and only return the `id` - * const workflowTaskWithIdOnly = await prisma.workflowTask.createManyAndReturn({ - * select: { id: true }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> - - /** - * Delete a WorkflowTask. - * @param {WorkflowTaskDeleteArgs} args - Arguments to delete one WorkflowTask. - * @example - * // Delete one WorkflowTask - * const WorkflowTask = await prisma.workflowTask.delete({ - * where: { - * // ... filter to delete one WorkflowTask - * } - * }) - * - */ - delete(args: Prisma.SelectSubset>): Prisma.Prisma__WorkflowTaskClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Update one WorkflowTask. - * @param {WorkflowTaskUpdateArgs} args - Arguments to update one WorkflowTask. - * @example - * // Update one WorkflowTask - * const workflowTask = await prisma.workflowTask.update({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - update(args: Prisma.SelectSubset>): Prisma.Prisma__WorkflowTaskClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - /** - * Delete zero or more WorkflowTasks. - * @param {WorkflowTaskDeleteManyArgs} args - Arguments to filter WorkflowTasks to delete. - * @example - * // Delete a few WorkflowTasks - * const { count } = await prisma.workflowTask.deleteMany({ - * where: { - * // ... provide filter here - * } - * }) - * - */ - deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more WorkflowTasks. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {WorkflowTaskUpdateManyArgs} args - Arguments to update one or more rows. - * @example - * // Update many WorkflowTasks - * const workflowTask = await prisma.workflowTask.updateMany({ - * where: { - * // ... provide filter here - * }, - * data: { - * // ... provide data here - * } - * }) - * - */ - updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise - - /** - * Update zero or more WorkflowTasks and returns the data updated in the database. - * @param {WorkflowTaskUpdateManyAndReturnArgs} args - Arguments to update many WorkflowTasks. - * @example - * // Update many WorkflowTasks - * const workflowTask = await prisma.workflowTask.updateManyAndReturn({ - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * - * // Update zero or more WorkflowTasks and only return the `id` - * const workflowTaskWithIdOnly = await prisma.workflowTask.updateManyAndReturn({ - * select: { id: true }, - * where: { - * // ... provide filter here - * }, - * data: [ - * // ... provide data here - * ] - * }) - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * - */ - updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> - - /** - * Create or update one WorkflowTask. - * @param {WorkflowTaskUpsertArgs} args - Arguments to update or create a WorkflowTask. - * @example - * // Update or create a WorkflowTask - * const workflowTask = await prisma.workflowTask.upsert({ - * create: { - * // ... data to create a WorkflowTask - * }, - * update: { - * // ... in case it already exists, update - * }, - * where: { - * // ... the filter for the WorkflowTask we want to update - * } - * }) - */ - upsert(args: Prisma.SelectSubset>): Prisma.Prisma__WorkflowTaskClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> - - - /** - * Count the number of WorkflowTasks. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {WorkflowTaskCountArgs} args - Arguments to filter WorkflowTasks to count. - * @example - * // Count the number of WorkflowTasks - * const count = await prisma.workflowTask.count({ - * where: { - * // ... the filter for the WorkflowTasks we want to count - * } - * }) - **/ - count( - args?: Prisma.Subset, - ): Prisma.PrismaPromise< - T extends runtime.Types.Utils.Record<'select', any> - ? T['select'] extends true - ? number - : Prisma.GetScalarType - : number - > - - /** - * Allows you to perform aggregations operations on a WorkflowTask. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {WorkflowTaskAggregateArgs} args - Select which aggregations you would like to apply and on what fields. - * @example - * // Ordered by age ascending - * // Where email contains prisma.io - * // Limited to the 10 users - * const aggregations = await prisma.user.aggregate({ - * _avg: { - * age: true, - * }, - * where: { - * email: { - * contains: "prisma.io", - * }, - * }, - * orderBy: { - * age: "asc", - * }, - * take: 10, - * }) - **/ - aggregate(args: Prisma.Subset): Prisma.PrismaPromise> - - /** - * Group by WorkflowTask. - * Note, that providing `undefined` is treated as the value not being there. - * Read more here: https://pris.ly/d/null-undefined - * @param {WorkflowTaskGroupByArgs} args - Group by arguments. - * @example - * // Group by city, order by createdAt, get count - * const result = await prisma.user.groupBy({ - * by: ['city', 'createdAt'], - * orderBy: { - * createdAt: true - * }, - * _count: { - * _all: true - * }, - * }) - * - **/ - groupBy< - T extends WorkflowTaskGroupByArgs, - HasSelectOrTake extends Prisma.Or< - Prisma.Extends<'skip', Prisma.Keys>, - Prisma.Extends<'take', Prisma.Keys> - >, - OrderByArg extends Prisma.True extends HasSelectOrTake - ? { orderBy: WorkflowTaskGroupByArgs['orderBy'] } - : { orderBy?: WorkflowTaskGroupByArgs['orderBy'] }, - OrderFields extends Prisma.ExcludeUnderscoreKeys>>, - ByFields extends Prisma.MaybeTupleToUnion, - ByValid extends Prisma.Has, - HavingFields extends Prisma.GetHavingFields, - HavingValid extends Prisma.Has, - ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, - InputErrors extends ByEmpty extends Prisma.True - ? `Error: "by" must not be empty.` - : HavingValid extends Prisma.False - ? { - [P in HavingFields]: P extends ByFields - ? never - : P extends string - ? `Error: Field "${P}" used in "having" needs to be provided in "by".` - : [ - Error, - 'Field ', - P, - ` in "having" needs to be provided in "by"`, - ] - }[HavingFields] - : 'take' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "take", you also need to provide "orderBy"' - : 'skip' extends Prisma.Keys - ? 'orderBy' extends Prisma.Keys - ? ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - : 'Error: If you provide "skip", you also need to provide "orderBy"' - : ByValid extends Prisma.True - ? {} - : { - [P in OrderFields]: P extends ByFields - ? never - : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` - }[OrderFields] - >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetWorkflowTaskGroupByPayload : Prisma.PrismaPromise -/** - * Fields of the WorkflowTask model - */ -readonly fields: WorkflowTaskFieldRefs; -} - -/** - * The delegate class that acts as a "Promise-like" for WorkflowTask. - * Why is this prefixed with `Prisma__`? - * Because we want to prevent naming conflicts as mentioned in - * https://github.com/prisma/prisma-client-js/issues/707 - */ -export interface Prisma__WorkflowTaskClient extends Prisma.PrismaPromise { - readonly [Symbol.toStringTag]: "PrismaPromise" - /** - * Attaches callbacks for the resolution and/or rejection of the Promise. - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of which ever callback is executed. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback for only the rejection of the Promise. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A Promise for the completion of the callback. - */ - catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise - /** - * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The - * resolved value cannot be modified from the callback. - * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). - * @returns A Promise for the completion of the callback. - */ - finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise -} - - - - -/** - * Fields of the WorkflowTask model - */ -export interface WorkflowTaskFieldRefs { - readonly id: Prisma.FieldRef<"WorkflowTask", 'String'> - readonly uid: Prisma.FieldRef<"WorkflowTask", 'String'> - readonly teamId: Prisma.FieldRef<"WorkflowTask", 'String'> - readonly projectId: Prisma.FieldRef<"WorkflowTask", 'String'> - readonly assetId: Prisma.FieldRef<"WorkflowTask", 'String'> - readonly type: Prisma.FieldRef<"WorkflowTask", 'WorkflowTaskType'> - readonly status: Prisma.FieldRef<"WorkflowTask", 'WorkflowTaskStatus'> - readonly payload: Prisma.FieldRef<"WorkflowTask", 'Json'> - readonly output: Prisma.FieldRef<"WorkflowTask", 'Json'> - readonly heartbeat: Prisma.FieldRef<"WorkflowTask", 'DateTime'> - readonly inputTokens: Prisma.FieldRef<"WorkflowTask", 'Int'> - readonly outputTokens: Prisma.FieldRef<"WorkflowTask", 'Int'> - readonly model: Prisma.FieldRef<"WorkflowTask", 'String'> - readonly createdAt: Prisma.FieldRef<"WorkflowTask", 'DateTime'> - readonly updatedAt: Prisma.FieldRef<"WorkflowTask", 'DateTime'> -} - - -// Custom InputTypes -/** - * WorkflowTask findUnique - */ -export type WorkflowTaskFindUniqueArgs = { - /** - * Select specific fields to fetch from the WorkflowTask - */ - select?: Prisma.WorkflowTaskSelect | null - /** - * Omit specific fields from the WorkflowTask - */ - omit?: Prisma.WorkflowTaskOmit | null - /** - * Filter, which WorkflowTask to fetch. - */ - where: Prisma.WorkflowTaskWhereUniqueInput -} - -/** - * WorkflowTask findUniqueOrThrow - */ -export type WorkflowTaskFindUniqueOrThrowArgs = { - /** - * Select specific fields to fetch from the WorkflowTask - */ - select?: Prisma.WorkflowTaskSelect | null - /** - * Omit specific fields from the WorkflowTask - */ - omit?: Prisma.WorkflowTaskOmit | null - /** - * Filter, which WorkflowTask to fetch. - */ - where: Prisma.WorkflowTaskWhereUniqueInput -} - -/** - * WorkflowTask findFirst - */ -export type WorkflowTaskFindFirstArgs = { - /** - * Select specific fields to fetch from the WorkflowTask - */ - select?: Prisma.WorkflowTaskSelect | null - /** - * Omit specific fields from the WorkflowTask - */ - omit?: Prisma.WorkflowTaskOmit | null - /** - * Filter, which WorkflowTask to fetch. - */ - where?: Prisma.WorkflowTaskWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of WorkflowTasks to fetch. - */ - orderBy?: Prisma.WorkflowTaskOrderByWithRelationInput | Prisma.WorkflowTaskOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for WorkflowTasks. - */ - cursor?: Prisma.WorkflowTaskWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` WorkflowTasks from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` WorkflowTasks. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of WorkflowTasks. - */ - distinct?: Prisma.WorkflowTaskScalarFieldEnum | Prisma.WorkflowTaskScalarFieldEnum[] -} - -/** - * WorkflowTask findFirstOrThrow - */ -export type WorkflowTaskFindFirstOrThrowArgs = { - /** - * Select specific fields to fetch from the WorkflowTask - */ - select?: Prisma.WorkflowTaskSelect | null - /** - * Omit specific fields from the WorkflowTask - */ - omit?: Prisma.WorkflowTaskOmit | null - /** - * Filter, which WorkflowTask to fetch. - */ - where?: Prisma.WorkflowTaskWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of WorkflowTasks to fetch. - */ - orderBy?: Prisma.WorkflowTaskOrderByWithRelationInput | Prisma.WorkflowTaskOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for searching for WorkflowTasks. - */ - cursor?: Prisma.WorkflowTaskWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` WorkflowTasks from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` WorkflowTasks. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of WorkflowTasks. - */ - distinct?: Prisma.WorkflowTaskScalarFieldEnum | Prisma.WorkflowTaskScalarFieldEnum[] -} - -/** - * WorkflowTask findMany - */ -export type WorkflowTaskFindManyArgs = { - /** - * Select specific fields to fetch from the WorkflowTask - */ - select?: Prisma.WorkflowTaskSelect | null - /** - * Omit specific fields from the WorkflowTask - */ - omit?: Prisma.WorkflowTaskOmit | null - /** - * Filter, which WorkflowTasks to fetch. - */ - where?: Prisma.WorkflowTaskWhereInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} - * - * Determine the order of WorkflowTasks to fetch. - */ - orderBy?: Prisma.WorkflowTaskOrderByWithRelationInput | Prisma.WorkflowTaskOrderByWithRelationInput[] - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} - * - * Sets the position for listing WorkflowTasks. - */ - cursor?: Prisma.WorkflowTaskWhereUniqueInput - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Take `±n` WorkflowTasks from the position of the cursor. - */ - take?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} - * - * Skip the first `n` WorkflowTasks. - */ - skip?: number - /** - * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} - * - * Filter by unique combinations of WorkflowTasks. - */ - distinct?: Prisma.WorkflowTaskScalarFieldEnum | Prisma.WorkflowTaskScalarFieldEnum[] -} - -/** - * WorkflowTask create - */ -export type WorkflowTaskCreateArgs = { - /** - * Select specific fields to fetch from the WorkflowTask - */ - select?: Prisma.WorkflowTaskSelect | null - /** - * Omit specific fields from the WorkflowTask - */ - omit?: Prisma.WorkflowTaskOmit | null - /** - * The data needed to create a WorkflowTask. - */ - data: Prisma.XOR -} - -/** - * WorkflowTask createMany - */ -export type WorkflowTaskCreateManyArgs = { - /** - * The data used to create many WorkflowTasks. - */ - data: Prisma.WorkflowTaskCreateManyInput | Prisma.WorkflowTaskCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * WorkflowTask createManyAndReturn - */ -export type WorkflowTaskCreateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the WorkflowTask - */ - select?: Prisma.WorkflowTaskSelectCreateManyAndReturn | null - /** - * Omit specific fields from the WorkflowTask - */ - omit?: Prisma.WorkflowTaskOmit | null - /** - * The data used to create many WorkflowTasks. - */ - data: Prisma.WorkflowTaskCreateManyInput | Prisma.WorkflowTaskCreateManyInput[] - skipDuplicates?: boolean -} - -/** - * WorkflowTask update - */ -export type WorkflowTaskUpdateArgs = { - /** - * Select specific fields to fetch from the WorkflowTask - */ - select?: Prisma.WorkflowTaskSelect | null - /** - * Omit specific fields from the WorkflowTask - */ - omit?: Prisma.WorkflowTaskOmit | null - /** - * The data needed to update a WorkflowTask. - */ - data: Prisma.XOR - /** - * Choose, which WorkflowTask to update. - */ - where: Prisma.WorkflowTaskWhereUniqueInput -} - -/** - * WorkflowTask updateMany - */ -export type WorkflowTaskUpdateManyArgs = { - /** - * The data used to update WorkflowTasks. - */ - data: Prisma.XOR - /** - * Filter which WorkflowTasks to update - */ - where?: Prisma.WorkflowTaskWhereInput - /** - * Limit how many WorkflowTasks to update. - */ - limit?: number -} - -/** - * WorkflowTask updateManyAndReturn - */ -export type WorkflowTaskUpdateManyAndReturnArgs = { - /** - * Select specific fields to fetch from the WorkflowTask - */ - select?: Prisma.WorkflowTaskSelectUpdateManyAndReturn | null - /** - * Omit specific fields from the WorkflowTask - */ - omit?: Prisma.WorkflowTaskOmit | null - /** - * The data used to update WorkflowTasks. - */ - data: Prisma.XOR - /** - * Filter which WorkflowTasks to update - */ - where?: Prisma.WorkflowTaskWhereInput - /** - * Limit how many WorkflowTasks to update. - */ - limit?: number -} - -/** - * WorkflowTask upsert - */ -export type WorkflowTaskUpsertArgs = { - /** - * Select specific fields to fetch from the WorkflowTask - */ - select?: Prisma.WorkflowTaskSelect | null - /** - * Omit specific fields from the WorkflowTask - */ - omit?: Prisma.WorkflowTaskOmit | null - /** - * The filter to search for the WorkflowTask to update in case it exists. - */ - where: Prisma.WorkflowTaskWhereUniqueInput - /** - * In case the WorkflowTask found by the `where` argument doesn't exist, create a new WorkflowTask with this data. - */ - create: Prisma.XOR - /** - * In case the WorkflowTask was found with the provided `where` argument, update it with this data. - */ - update: Prisma.XOR -} - -/** - * WorkflowTask delete - */ -export type WorkflowTaskDeleteArgs = { - /** - * Select specific fields to fetch from the WorkflowTask - */ - select?: Prisma.WorkflowTaskSelect | null - /** - * Omit specific fields from the WorkflowTask - */ - omit?: Prisma.WorkflowTaskOmit | null - /** - * Filter which WorkflowTask to delete. - */ - where: Prisma.WorkflowTaskWhereUniqueInput -} - -/** - * WorkflowTask deleteMany - */ -export type WorkflowTaskDeleteManyArgs = { - /** - * Filter which WorkflowTasks to delete - */ - where?: Prisma.WorkflowTaskWhereInput - /** - * Limit how many WorkflowTasks to delete. - */ - limit?: number -} - -/** - * WorkflowTask without action - */ -export type WorkflowTaskDefaultArgs = { - /** - * Select specific fields to fetch from the WorkflowTask - */ - select?: Prisma.WorkflowTaskSelect | null - /** - * Omit specific fields from the WorkflowTask - */ - omit?: Prisma.WorkflowTaskOmit | null -} diff --git a/src/generated/prisma/pjtg.ts b/src/generated/prisma/pjtg.ts deleted file mode 100644 index cc3b6b1f..00000000 --- a/src/generated/prisma/pjtg.ts +++ /dev/null @@ -1,183 +0,0 @@ -import * as Prisma from './internal/prismaNamespace'; -declare global { - namespace PrismaJson { - // This namespace will always be empty. Definitions should be done by - // you manually, and merged automatically by typescript. Make sure that - // your declaration merging file is included in your tsconfig.json - // - // Learn more: https://github.com/arthurfiorette/prisma-json-types-generator/issues/143 - // Declaration Merging: https://www.typescriptlang.org/docs/handbook/declaration-merging.html - } -} - -/** A filter to be used against nullable List types. */ -export type NullableListFilter = { - equals?: T | T[] | null; - has?: T | null; - hasEvery?: T[]; - hasSome?: T[]; - isEmpty?: boolean; -}; - -/** A type to determine how to update a json field */ -export type UpdateInput = T extends object ? { [P in keyof T]?: UpdateInput } : T; - -/** A type to determine how to update a json[] field */ -export type UpdateManyInput = T | T[] | { set?: T[]; push?: T | T[] }; - -/** A type to determine how to create a json[] input */ -export type CreateManyInput = T | T[] | { set?: T[] }; - -/** - * A typed version of NestedStringFilter, allowing narrowing of string types to - * discriminated unions. - */ -export type TypedNestedStringFilter = - //@ts-ignore - When Prisma.StringFilter is not present, this type is not used - Prisma.StringFilter & { - equals?: S; - in?: S[]; - notIn?: S[]; - not?: TypedNestedStringFilter | S; - }; - -/** - * A typed version of StringFilter, allowing narrowing of string types to discriminated - * unions. - */ -export type TypedStringFilter = - //@ts-ignore - When Prisma.StringFilter is not present, this type is not used - Prisma.StringFilter & { - equals?: S; - in?: S[]; - notIn?: S[]; - not?: TypedNestedStringFilter | S; - }; - -/** - * A typed version of NestedStringNullableFilter, allowing narrowing of string types to - * discriminated unions. - */ -export type TypedNestedStringNullableFilter = - //@ts-ignore - When Prisma.StringNullableFilter is not present, this type is not used - Prisma.StringNullableFilter & { - equals?: S | null; - in?: S[] | null; - notIn?: S[] | null; - not?: TypedNestedStringNullableFilter | S | null; - }; - -/** - * A typed version of StringNullableFilter, allowing narrowing of string types to - * discriminated unions. - */ -export type TypedStringNullableFilter = - //@ts-ignore - When Prisma.StringNullableFilter is not present, this type is not used - Prisma.StringNullableFilter & { - equals?: S | null; - in?: S[] | null; - notIn?: S[] | null; - not?: TypedNestedStringNullableFilter | S | null; - }; - -/** - * A typed version of NestedStringWithAggregatesFilter, allowing narrowing of string types - * to discriminated unions. - */ -export type TypedNestedStringWithAggregatesFilter = - //@ts-ignore - When Prisma.NestedStringWithAggregatesFilter is not present, this type is not used - Prisma.NestedStringWithAggregatesFilter & { - equals?: S; - in?: S[]; - notIn?: S[]; - not?: TypedNestedStringWithAggregatesFilter | S; - }; - -/** - * A typed version of StringWithAggregatesFilter, allowing narrowing of string types to - * discriminated unions. - */ -export type TypedStringWithAggregatesFilter = - //@ts-ignore - When Prisma.StringWithAggregatesFilter is not present, this type is not used - Prisma.StringWithAggregatesFilter & { - equals?: S; - in?: S[]; - notIn?: S[]; - not?: TypedNestedStringWithAggregatesFilter | S; - }; - -/** - * A typed version of NestedStringNullableWithAggregatesFilter, allowing narrowing of - * string types to discriminated unions. - */ -export type TypedNestedStringNullableWithAggregatesFilter = - //@ts-ignore - When Prisma.NestedStringNullableWithAggregatesFilter is not present, this type is not used - Prisma.NestedStringNullableWithAggregatesFilter & { - equals?: S | null; - in?: S[] | null; - notIn?: S[] | null; - not?: TypedNestedStringNullableWithAggregatesFilter | S | null; - }; - -/** - * A typed version of StringNullableWithAggregatesFilter, allowing narrowing of string - * types to discriminated unions. - */ -export type TypedStringNullableWithAggregatesFilter = - //@ts-ignore - When Prisma.StringNullableWithAggregatesFilter is not present, this type is not used - Prisma.StringNullableWithAggregatesFilter & { - equals?: S | null; - in?: S[] | null; - notIn?: S[] | null; - not?: TypedNestedStringNullableWithAggregatesFilter | S | null; - }; - -/** - * A typed version of StringFieldUpdateOperationsInput, allowing narrowing of string types - * to discriminated unions. - */ -export type TypedStringFieldUpdateOperationsInput = - //@ts-ignore - When Prisma.StringFieldUpdateOperationsInput is not present, this type is not used - Prisma.StringFieldUpdateOperationsInput & { - set?: S; - }; - -/** - * A typed version of NullableStringFieldUpdateOperationsInput, allowing narrowing of - * string types to discriminated unions. - */ -export type TypedNullableStringFieldUpdateOperationsInput = - //@ts-ignore - When Prisma.NullableStringFieldUpdateOperationsInput is not present, this type is not used - Prisma.NullableStringFieldUpdateOperationsInput & { - set?: S | null; - }; - -/** - * A typed version of StringNullableListFilter, allowing narrowing of string types to - * discriminated unions. - */ -export type TypedStringNullableListFilter = - //@ts-ignore - When Prisma.StringNullableListFilter is not present, this type is not used - Prisma.StringNullableListFilter & { - equals?: S[] | null; - has?: S | null; - hasEvery?: S[]; - hasSome?: S[]; - }; - -/** - * A typed version of the input type to update a string[] field, allowing narrowing of - * string types to discriminated unions. - */ -export type UpdateStringArrayInput = { - set?: S[]; - push?: S | S[]; -}; - -/** - * A typed version of the input type to create a string[] field, allowing narrowing of - * string types to discriminated unions. - */ -export type CreateStringArrayInput = { - set?: S[]; -}; \ No newline at end of file diff --git a/src/test-utils.ts b/src/test-utils.ts index b2815e81..6dafd7cc 100644 --- a/src/test-utils.ts +++ b/src/test-utils.ts @@ -1,5 +1,5 @@ import { AsyncLocalStorage } from 'node:async_hooks' -import { Prisma } from './generated/prisma/client' +import { Prisma } from '@shumai/db' type PromiseResolveFunction = (value: void | PromiseLike) => void const internalRollbackErrorSymbol = Symbol( diff --git a/src/transcode/activities/transcode.test.ts b/src/transcode/activities/transcode.test.ts index e9b5bf7a..d12b241a 100644 --- a/src/transcode/activities/transcode.test.ts +++ b/src/transcode/activities/transcode.test.ts @@ -2,10 +2,10 @@ import { describe, it, expect, vi, beforeEach } from 'vitest' import { prisma } from '@shumai/db' import { setupTestDbHooks } from '@shumai/db' import { getMediaInfoActivity, transcodeVideoActivity, updateAssetMediaActivity } from './transcode' -import { s3Service } from '@/services/s3/s3' +import { s3Service } from '@shumai/core/src/s3/s3' import { transcodeService } from '@/transcode/transcode' -vi.mock('@/services/s3/s3', () => ({ +vi.mock('@shumai/core/src/s3/s3', () => ({ s3Service: { getObject: vi.fn(), putObject: vi.fn(), diff --git a/src/transcode/activities/transcode.ts b/src/transcode/activities/transcode.ts index 17164ad9..8679d921 100644 --- a/src/transcode/activities/transcode.ts +++ b/src/transcode/activities/transcode.ts @@ -1,7 +1,7 @@ import { prisma } from '@shumai/db' -import { s3Service } from '@/services/s3/s3' +import { s3Service } from '@shumai/core/src/s3/s3' import { transcodeService } from '@/transcode/transcode' -import { metadataService } from '@/services/metadata/metadata' +import { metadataService } from '@shumai/core/src/metadata/metadata' import { ApplicationFailure } from '@temporalio/activity' import * as path from 'path' import * as fs from 'fs' diff --git a/src/transcode/transcode.test.ts b/src/transcode/transcode.test.ts index 819f5cce..6d6e876e 100644 --- a/src/transcode/transcode.test.ts +++ b/src/transcode/transcode.test.ts @@ -2,7 +2,7 @@ import { describe, it, expect, beforeEach, afterEach, vi } from 'vitest' import { transcodeService } from './transcode' import * as path from 'path' import * as child_process from 'child_process' -import { WorkflowTask } from '@/generated/prisma/client' +import { WorkflowTask } from '@shumai/db' import sharp from 'sharp' // Mock child_process diff --git a/src/transcode/transcode.ts b/src/transcode/transcode.ts index fc181dec..a67a07a5 100644 --- a/src/transcode/transcode.ts +++ b/src/transcode/transcode.ts @@ -1,5 +1,5 @@ import { prisma } from '@shumai/db' -import { WorkflowTaskStatus, WorkflowTaskType } from '@/generated/prisma/client' +import { WorkflowTaskStatus, WorkflowTaskType } from '@shumai/db' import '@shumai/db/src/prisma-json-types' import { exec } from 'child_process' import * as fs from 'fs' diff --git a/src/transcode/transcoder.ts b/src/transcode/transcoder.ts index a6c02260..525d0602 100644 --- a/src/transcode/transcoder.ts +++ b/src/transcode/transcoder.ts @@ -1,5 +1,5 @@ import { prisma } from '@shumai/db' -import { WorkflowTaskType, WorkflowTaskStatus } from '@/generated/prisma/client' +import { WorkflowTaskType, WorkflowTaskStatus } from '@shumai/db' import '@shumai/db/src/prisma-json-types' type TransactionClient = Omit< diff --git a/src/transcode/workflows/transcode.test.ts b/src/transcode/workflows/transcode.test.ts index 7b4efeac..2663aaa0 100644 --- a/src/transcode/workflows/transcode.test.ts +++ b/src/transcode/workflows/transcode.test.ts @@ -5,7 +5,7 @@ import { WorkflowTaskStatus, WorkflowTaskType, AssetStatus, -} from '@/generated/prisma/client' +} from '@shumai/db' import * as workflowUtils from '@/workflow/workflow-utils' vi.mock('@/workflow/workflow-utils', async (importOriginal) => { diff --git a/src/transcode/workflows/transcode.ts b/src/transcode/workflows/transcode.ts index 19f2fc42..471d10fa 100644 --- a/src/transcode/workflows/transcode.ts +++ b/src/transcode/workflows/transcode.ts @@ -1,4 +1,4 @@ -import type { WorkflowTask } from '@/generated/prisma/client' +import type { WorkflowTask } from '@shumai/db' import { ApplicationFailure } from '@temporalio/workflow' import { getActivities, diff --git a/src/workflow/activities/agent.ts b/src/workflow/activities/agent.ts index fb795d8e..f465a5d0 100644 --- a/src/workflow/activities/agent.ts +++ b/src/workflow/activities/agent.ts @@ -1,8 +1,8 @@ import { createAgentSession, fieldsToTypeBoxSchema, type AutofillField } from '@/agent' import { DatabaseSessionStorage } from '@/agent/database-session-storage' -import type { Prisma, Skill } from '@/generated/prisma/client' +import type { Prisma, Skill } from '@shumai/db' import { logger } from '@/logger' -import { s3Service } from '@/services/s3/s3' +import { s3Service } from '@shumai/core/src/s3/s3' import { type AgentTool } from '@earendil-works/pi-agent-core' import { type ImageContent } from '@earendil-works/pi-ai' import { ApplicationFailure } from '@temporalio/activity' diff --git a/src/workflow/activities/ai.test.ts b/src/workflow/activities/ai.test.ts index e25f0647..53741b25 100644 --- a/src/workflow/activities/ai.test.ts +++ b/src/workflow/activities/ai.test.ts @@ -1,8 +1,8 @@ import { describe, it, expect, vi, beforeEach } from 'vitest' import { generateEmbeddingActivity } from './ai' -import { s3Service } from '@/services/s3/s3' +import { s3Service } from '@shumai/core/src/s3/s3' -vi.mock('@/services/s3/s3', () => ({ +vi.mock('@shumai/core/src/s3/s3', () => ({ s3Service: { getObject: vi.fn(), putObject: vi.fn(), diff --git a/src/workflow/activities/ai.ts b/src/workflow/activities/ai.ts index 729c1fc7..a67049a0 100644 --- a/src/workflow/activities/ai.ts +++ b/src/workflow/activities/ai.ts @@ -1,5 +1,5 @@ import { GoogleGenAI } from '@google/genai' -import { s3Service } from '@/services/s3/s3' +import { s3Service } from '@shumai/core/src/s3/s3' import { transcodeService } from '@/transcode/transcode' import { exec } from 'child_process' import * as fs from 'fs' diff --git a/src/workflow/activities/db.test.ts b/src/workflow/activities/db.test.ts index 01fb5888..bbbb5a1b 100644 --- a/src/workflow/activities/db.test.ts +++ b/src/workflow/activities/db.test.ts @@ -14,7 +14,7 @@ import { executeAgentToolActivity, } from './db' import type { SessionTreeEntry } from '@earendil-works/pi-agent-core' -import { s3Service } from '@/services/s3/s3' +import { s3Service } from '@shumai/core/src/s3/s3' describe('Database Activities', () => { setupTestDbHooks() diff --git a/src/workflow/activities/db.ts b/src/workflow/activities/db.ts index 7bb641c2..b4eebab0 100644 --- a/src/workflow/activities/db.ts +++ b/src/workflow/activities/db.ts @@ -2,16 +2,16 @@ import { prisma } from '@shumai/db' import { ApplicationFailure } from '@temporalio/activity' import type { AgentMessage, SessionTreeEntry } from '@earendil-works/pi-agent-core' import { ulid } from 'ulid' -import { metadataService } from '@/services/metadata/metadata' +import { metadataService } from '@shumai/core/src/metadata/metadata' import { UpdateAssetMetadataRequest } from '@shumai/dtos' -import { WorkflowTaskStatus, AssetStatus, Prisma, AssetType } from '@/generated/prisma/client' +import { WorkflowTaskStatus, AssetStatus, Prisma, AssetType } from '@shumai/db' import type { AgentExecutionContext } from './agent' -import { assetService } from '@/services/asset/asset' -import { VersionStackService } from '@/services/versionStack/versionStack' -import { uploadService } from '@/services/upload/upload' -import { authzService, Permission, ResourceType } from '@/services/authz/authz' +import { assetService } from '@shumai/core/src/asset/asset' +import { VersionStackService } from '@shumai/core/src/versionStack/versionStack' +import { uploadService } from '@shumai/core/src/upload/upload' +import { authzService, Permission, ResourceType } from '@shumai/core/src/authz/authz' import { generateKeyBetween } from 'jittered-fractional-indexing' -import { paginateQuery, encodeCursor } from '@/services/pagination' +import { paginateQuery, encodeCursor } from '@shumai/core/src/pagination' export interface InitializeAgentSessionParams { teamId: string diff --git a/src/workflow/activities/task.test.ts b/src/workflow/activities/task.test.ts index d8d5152c..44aa1e24 100644 --- a/src/workflow/activities/task.test.ts +++ b/src/workflow/activities/task.test.ts @@ -2,7 +2,7 @@ import { describe, it, expect } from 'vitest' import { prisma } from '@shumai/db' import { setupTestDbHooks } from '@shumai/db' import { updateTaskStatusActivity, updateAssetStatusActivity, updateTaskUsageActivity } from './db' -import { WorkflowTaskStatus, WorkflowTaskType, AssetStatus } from '@/generated/prisma/client' +import { WorkflowTaskStatus, WorkflowTaskType, AssetStatus } from '@shumai/db' describe('Task Activities', () => { setupTestDbHooks() diff --git a/src/workflow/executor.ts b/src/workflow/executor.ts index f24b1382..865bbebc 100644 --- a/src/workflow/executor.ts +++ b/src/workflow/executor.ts @@ -1,4 +1,4 @@ -import { WorkflowTask } from '@/generated/prisma/client' +import { WorkflowTask } from '@shumai/db' export interface Executor { submit(task: WorkflowTask): Promise diff --git a/src/workflow/local-executor.test.ts b/src/workflow/local-executor.test.ts index a97368c9..04965012 100644 --- a/src/workflow/local-executor.test.ts +++ b/src/workflow/local-executor.test.ts @@ -3,7 +3,7 @@ import { prisma } from '@shumai/db' import { setupTestDbHooks } from '@shumai/db' import { workflowService } from './workflow' import { LocalExecutor, ConcurrencyLimiter } from './local-executor' -import { WorkflowTaskStatus, WorkflowTaskType } from '@/generated/prisma/client' +import { WorkflowTaskStatus, WorkflowTaskType } from '@shumai/db' // Mock the individual workflows const mocks = { diff --git a/src/workflow/local-executor.ts b/src/workflow/local-executor.ts index 67627bf2..33a099ae 100644 --- a/src/workflow/local-executor.ts +++ b/src/workflow/local-executor.ts @@ -1,5 +1,5 @@ import { prisma } from '@shumai/db' -import { WorkflowTask, WorkflowTaskStatus, WorkflowTaskType } from '@/generated/prisma/client' +import { WorkflowTask, WorkflowTaskStatus, WorkflowTaskType } from '@shumai/db' import { Executor } from './executor' import { agentEmbeddingMedia } from './workflows/agent-embedding' import { queryEmbeddingForSearch } from './workflows/query-embedding-for-search' diff --git a/src/workflow/temporal-executor.ts b/src/workflow/temporal-executor.ts index b317c34a..3cf83d8f 100644 --- a/src/workflow/temporal-executor.ts +++ b/src/workflow/temporal-executor.ts @@ -1,5 +1,5 @@ import { Connection, Client } from '@temporalio/client' -import { WorkflowTask, WorkflowTaskType } from '@/generated/prisma/client' +import { WorkflowTask, WorkflowTaskType } from '@shumai/db' import { Executor } from './executor' export const TASK_QUEUE_DB = 'db_queue' diff --git a/src/workflow/workflow.test.ts b/src/workflow/workflow.test.ts index c1d9e523..237082b8 100644 --- a/src/workflow/workflow.test.ts +++ b/src/workflow/workflow.test.ts @@ -1,9 +1,9 @@ import { describe, it, expect, beforeEach, afterEach, vi } from 'vitest' import { prisma } from '@shumai/db' import { workflowService } from './workflow' -import { WorkflowTaskStatus, WorkflowTaskType } from '@/generated/prisma/client' +import { WorkflowTaskStatus, WorkflowTaskType } from '@shumai/db' -vi.mock('@/services/s3/s3', () => ({ +vi.mock('@shumai/core/src/s3/s3', () => ({ s3Service: { getObject: vi.fn(), putObject: vi.fn(), diff --git a/src/workflow/workflow.ts b/src/workflow/workflow.ts index 995dc75c..015b8748 100644 --- a/src/workflow/workflow.ts +++ b/src/workflow/workflow.ts @@ -1,4 +1,4 @@ -import { WorkflowTask } from '@/generated/prisma/client' +import { WorkflowTask } from '@shumai/db' import { Executor } from './executor' import { LocalExecutor } from './local-executor' import { TemporalExecutor } from './temporal-executor' diff --git a/src/workflow/workflows/agent-autofill.ts b/src/workflow/workflows/agent-autofill.ts index e9054580..884a5ac1 100644 --- a/src/workflow/workflows/agent-autofill.ts +++ b/src/workflow/workflows/agent-autofill.ts @@ -1,5 +1,5 @@ import { ApplicationFailure } from '@temporalio/workflow' -import type { WorkflowTask } from '@/generated/prisma/client' +import type { WorkflowTask } from '@shumai/db' import { getActivities, executeActivity, diff --git a/src/workflow/workflows/agent-chat.ts b/src/workflow/workflows/agent-chat.ts index 38ccd744..973f044d 100644 --- a/src/workflow/workflows/agent-chat.ts +++ b/src/workflow/workflows/agent-chat.ts @@ -1,5 +1,5 @@ import { ApplicationFailure } from '@temporalio/workflow' -import type { WorkflowTask } from '@/generated/prisma/client' +import type { WorkflowTask } from '@shumai/db' import { executeActivity, getActivities, diff --git a/src/workflow/workflows/agent-embedding.ts b/src/workflow/workflows/agent-embedding.ts index ebd20117..cdec798b 100644 --- a/src/workflow/workflows/agent-embedding.ts +++ b/src/workflow/workflows/agent-embedding.ts @@ -1,5 +1,5 @@ import { ApplicationFailure } from '@temporalio/workflow' -import type { WorkflowTask } from '@/generated/prisma/client' +import type { WorkflowTask } from '@shumai/db' import { getActivities, executeActivity, TaskQueueDb, TaskQueueAgent } from '../workflow-utils' export async function agentEmbeddingMedia(task: WorkflowTask): Promise { diff --git a/src/workflow/workflows/agent-tool-call.ts b/src/workflow/workflows/agent-tool-call.ts index 89cc7c24..4ef5efbc 100644 --- a/src/workflow/workflows/agent-tool-call.ts +++ b/src/workflow/workflows/agent-tool-call.ts @@ -1,5 +1,5 @@ import { ApplicationFailure } from '@temporalio/workflow' -import type { WorkflowTask } from '@/generated/prisma/client' +import type { WorkflowTask } from '@shumai/db' import { getActivities, executeActivity, TaskQueueDb } from '../workflow-utils' export async function agentToolCall(task: WorkflowTask): Promise { diff --git a/src/workflow/workflows/query-embedding-for-search.ts b/src/workflow/workflows/query-embedding-for-search.ts index 2d6ff9f5..acc49dc3 100644 --- a/src/workflow/workflows/query-embedding-for-search.ts +++ b/src/workflow/workflows/query-embedding-for-search.ts @@ -1,4 +1,4 @@ -import type { WorkflowTask } from '@/generated/prisma/client' +import type { WorkflowTask } from '@shumai/db' import { getActivities, executeActivity, TaskQueueDb } from '../workflow-utils' export async function queryEmbeddingForSearch(task: WorkflowTask): Promise {