@xenon-device-management/xenon 1.7.2 → 1.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/package.json +2 -1
- package/lib/src/app/index.js +6 -0
- package/lib/src/app/routers/auth.js +30 -0
- package/lib/src/app/routers/capabilities.js +25 -0
- package/lib/src/app/routers/control.js +14 -0
- package/lib/src/app/routers/projects.js +55 -0
- package/lib/src/generated/client/edge.js +22 -4
- package/lib/src/generated/client/index-browser.js +19 -1
- package/lib/src/generated/client/index.d.ts +2376 -158
- package/lib/src/generated/client/index.js +22 -4
- package/lib/src/generated/client/package.json +1 -1
- package/lib/src/generated/client/schema.prisma +21 -0
- package/lib/src/generated/client/wasm.js +19 -1
- package/lib/src/middleware/authMiddleware.js +64 -3
- package/lib/src/prisma.js +1 -1
- package/lib/src/services/EventLogService.js +81 -0
- package/lib/src/services/ServerManager.js +36 -0
- package/lib/src/services/SocketServer.js +2 -0
- package/lib/src/services/artifacts/ArtifactStore.js +60 -0
- package/lib/src/services/recording/RecordingOrchestrator.js +4 -5
- package/lib/src/services/token/JwtKeyService.js +137 -0
- package/lib/src/services/token/StreamTicketService.js +61 -0
- package/lib/test/unit/ArtifactStore.spec.js +59 -0
- package/lib/test/unit/CapabilitiesRouter.spec.js +18 -0
- package/lib/test/unit/EventLogService.spec.js +67 -0
- package/lib/test/unit/JwtKeyService.spec.js +86 -0
- package/lib/test/unit/ProjectsRouter.spec.js +45 -0
- package/lib/test/unit/StreamTicketService.spec.js +95 -0
- package/lib/test/unit/TokenEndpoint.spec.js +68 -0
- package/lib/test/unit/authMiddleware.bearer.spec.js +102 -0
- package/lib/test/unit/authMiddleware.streamTicket.spec.js +217 -0
- package/lib/test/unit/recording-instrumentation.spec.js +8 -0
- package/lib/test/unit/recording-orchestrator.spec.js +14 -0
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -1
- package/prisma/migrations/20260717063103_event_log/migration.sql +15 -0
- package/prisma/migrations/20260717070124_project_entity/migration.sql +10 -0
- package/prisma/schema.prisma +21 -0
|
@@ -133,6 +133,16 @@ export type PasswordResetToken = $Result.DefaultSelection<Prisma.$PasswordResetT
|
|
|
133
133
|
*
|
|
134
134
|
*/
|
|
135
135
|
export type TeamMember = $Result.DefaultSelection<Prisma.$TeamMemberPayload>
|
|
136
|
+
/**
|
|
137
|
+
* Model EventLog
|
|
138
|
+
*
|
|
139
|
+
*/
|
|
140
|
+
export type EventLog = $Result.DefaultSelection<Prisma.$EventLogPayload>
|
|
141
|
+
/**
|
|
142
|
+
* Model Project
|
|
143
|
+
*
|
|
144
|
+
*/
|
|
145
|
+
export type Project = $Result.DefaultSelection<Prisma.$ProjectPayload>
|
|
136
146
|
|
|
137
147
|
/**
|
|
138
148
|
* ## Prisma Client ʲˢ
|
|
@@ -496,6 +506,26 @@ export class PrismaClient<
|
|
|
496
506
|
* ```
|
|
497
507
|
*/
|
|
498
508
|
get teamMember(): Prisma.TeamMemberDelegate<ExtArgs>;
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* `prisma.eventLog`: Exposes CRUD operations for the **EventLog** model.
|
|
512
|
+
* Example usage:
|
|
513
|
+
* ```ts
|
|
514
|
+
* // Fetch zero or more EventLogs
|
|
515
|
+
* const eventLogs = await prisma.eventLog.findMany()
|
|
516
|
+
* ```
|
|
517
|
+
*/
|
|
518
|
+
get eventLog(): Prisma.EventLogDelegate<ExtArgs>;
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* `prisma.project`: Exposes CRUD operations for the **Project** model.
|
|
522
|
+
* Example usage:
|
|
523
|
+
* ```ts
|
|
524
|
+
* // Fetch zero or more Projects
|
|
525
|
+
* const projects = await prisma.project.findMany()
|
|
526
|
+
* ```
|
|
527
|
+
*/
|
|
528
|
+
get project(): Prisma.ProjectDelegate<ExtArgs>;
|
|
499
529
|
}
|
|
500
530
|
|
|
501
531
|
export namespace Prisma {
|
|
@@ -960,7 +990,9 @@ export namespace Prisma {
|
|
|
960
990
|
User: 'User',
|
|
961
991
|
UserSession: 'UserSession',
|
|
962
992
|
PasswordResetToken: 'PasswordResetToken',
|
|
963
|
-
TeamMember: 'TeamMember'
|
|
993
|
+
TeamMember: 'TeamMember',
|
|
994
|
+
EventLog: 'EventLog',
|
|
995
|
+
Project: 'Project'
|
|
964
996
|
};
|
|
965
997
|
|
|
966
998
|
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
|
@@ -976,7 +1008,7 @@ export namespace Prisma {
|
|
|
976
1008
|
|
|
977
1009
|
export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> = {
|
|
978
1010
|
meta: {
|
|
979
|
-
modelProps: "build" | "session" | "sessionLog" | "log" | "profiling" | "app" | "device" | "pendingSession" | "cLIArgs" | "webhookConfig" | "webConfig" | "locatorEtalon" | "portLease" | "lease" | "apiKey" | "team" | "selectorState" | "recording" | "bookmark" | "annotation" | "user" | "userSession" | "passwordResetToken" | "teamMember"
|
|
1011
|
+
modelProps: "build" | "session" | "sessionLog" | "log" | "profiling" | "app" | "device" | "pendingSession" | "cLIArgs" | "webhookConfig" | "webConfig" | "locatorEtalon" | "portLease" | "lease" | "apiKey" | "team" | "selectorState" | "recording" | "bookmark" | "annotation" | "user" | "userSession" | "passwordResetToken" | "teamMember" | "eventLog" | "project"
|
|
980
1012
|
txIsolationLevel: Prisma.TransactionIsolationLevel
|
|
981
1013
|
}
|
|
982
1014
|
model: {
|
|
@@ -2660,6 +2692,146 @@ export namespace Prisma {
|
|
|
2660
2692
|
}
|
|
2661
2693
|
}
|
|
2662
2694
|
}
|
|
2695
|
+
EventLog: {
|
|
2696
|
+
payload: Prisma.$EventLogPayload<ExtArgs>
|
|
2697
|
+
fields: Prisma.EventLogFieldRefs
|
|
2698
|
+
operations: {
|
|
2699
|
+
findUnique: {
|
|
2700
|
+
args: Prisma.EventLogFindUniqueArgs<ExtArgs>
|
|
2701
|
+
result: $Utils.PayloadToResult<Prisma.$EventLogPayload> | null
|
|
2702
|
+
}
|
|
2703
|
+
findUniqueOrThrow: {
|
|
2704
|
+
args: Prisma.EventLogFindUniqueOrThrowArgs<ExtArgs>
|
|
2705
|
+
result: $Utils.PayloadToResult<Prisma.$EventLogPayload>
|
|
2706
|
+
}
|
|
2707
|
+
findFirst: {
|
|
2708
|
+
args: Prisma.EventLogFindFirstArgs<ExtArgs>
|
|
2709
|
+
result: $Utils.PayloadToResult<Prisma.$EventLogPayload> | null
|
|
2710
|
+
}
|
|
2711
|
+
findFirstOrThrow: {
|
|
2712
|
+
args: Prisma.EventLogFindFirstOrThrowArgs<ExtArgs>
|
|
2713
|
+
result: $Utils.PayloadToResult<Prisma.$EventLogPayload>
|
|
2714
|
+
}
|
|
2715
|
+
findMany: {
|
|
2716
|
+
args: Prisma.EventLogFindManyArgs<ExtArgs>
|
|
2717
|
+
result: $Utils.PayloadToResult<Prisma.$EventLogPayload>[]
|
|
2718
|
+
}
|
|
2719
|
+
create: {
|
|
2720
|
+
args: Prisma.EventLogCreateArgs<ExtArgs>
|
|
2721
|
+
result: $Utils.PayloadToResult<Prisma.$EventLogPayload>
|
|
2722
|
+
}
|
|
2723
|
+
createMany: {
|
|
2724
|
+
args: Prisma.EventLogCreateManyArgs<ExtArgs>
|
|
2725
|
+
result: BatchPayload
|
|
2726
|
+
}
|
|
2727
|
+
createManyAndReturn: {
|
|
2728
|
+
args: Prisma.EventLogCreateManyAndReturnArgs<ExtArgs>
|
|
2729
|
+
result: $Utils.PayloadToResult<Prisma.$EventLogPayload>[]
|
|
2730
|
+
}
|
|
2731
|
+
delete: {
|
|
2732
|
+
args: Prisma.EventLogDeleteArgs<ExtArgs>
|
|
2733
|
+
result: $Utils.PayloadToResult<Prisma.$EventLogPayload>
|
|
2734
|
+
}
|
|
2735
|
+
update: {
|
|
2736
|
+
args: Prisma.EventLogUpdateArgs<ExtArgs>
|
|
2737
|
+
result: $Utils.PayloadToResult<Prisma.$EventLogPayload>
|
|
2738
|
+
}
|
|
2739
|
+
deleteMany: {
|
|
2740
|
+
args: Prisma.EventLogDeleteManyArgs<ExtArgs>
|
|
2741
|
+
result: BatchPayload
|
|
2742
|
+
}
|
|
2743
|
+
updateMany: {
|
|
2744
|
+
args: Prisma.EventLogUpdateManyArgs<ExtArgs>
|
|
2745
|
+
result: BatchPayload
|
|
2746
|
+
}
|
|
2747
|
+
upsert: {
|
|
2748
|
+
args: Prisma.EventLogUpsertArgs<ExtArgs>
|
|
2749
|
+
result: $Utils.PayloadToResult<Prisma.$EventLogPayload>
|
|
2750
|
+
}
|
|
2751
|
+
aggregate: {
|
|
2752
|
+
args: Prisma.EventLogAggregateArgs<ExtArgs>
|
|
2753
|
+
result: $Utils.Optional<AggregateEventLog>
|
|
2754
|
+
}
|
|
2755
|
+
groupBy: {
|
|
2756
|
+
args: Prisma.EventLogGroupByArgs<ExtArgs>
|
|
2757
|
+
result: $Utils.Optional<EventLogGroupByOutputType>[]
|
|
2758
|
+
}
|
|
2759
|
+
count: {
|
|
2760
|
+
args: Prisma.EventLogCountArgs<ExtArgs>
|
|
2761
|
+
result: $Utils.Optional<EventLogCountAggregateOutputType> | number
|
|
2762
|
+
}
|
|
2763
|
+
}
|
|
2764
|
+
}
|
|
2765
|
+
Project: {
|
|
2766
|
+
payload: Prisma.$ProjectPayload<ExtArgs>
|
|
2767
|
+
fields: Prisma.ProjectFieldRefs
|
|
2768
|
+
operations: {
|
|
2769
|
+
findUnique: {
|
|
2770
|
+
args: Prisma.ProjectFindUniqueArgs<ExtArgs>
|
|
2771
|
+
result: $Utils.PayloadToResult<Prisma.$ProjectPayload> | null
|
|
2772
|
+
}
|
|
2773
|
+
findUniqueOrThrow: {
|
|
2774
|
+
args: Prisma.ProjectFindUniqueOrThrowArgs<ExtArgs>
|
|
2775
|
+
result: $Utils.PayloadToResult<Prisma.$ProjectPayload>
|
|
2776
|
+
}
|
|
2777
|
+
findFirst: {
|
|
2778
|
+
args: Prisma.ProjectFindFirstArgs<ExtArgs>
|
|
2779
|
+
result: $Utils.PayloadToResult<Prisma.$ProjectPayload> | null
|
|
2780
|
+
}
|
|
2781
|
+
findFirstOrThrow: {
|
|
2782
|
+
args: Prisma.ProjectFindFirstOrThrowArgs<ExtArgs>
|
|
2783
|
+
result: $Utils.PayloadToResult<Prisma.$ProjectPayload>
|
|
2784
|
+
}
|
|
2785
|
+
findMany: {
|
|
2786
|
+
args: Prisma.ProjectFindManyArgs<ExtArgs>
|
|
2787
|
+
result: $Utils.PayloadToResult<Prisma.$ProjectPayload>[]
|
|
2788
|
+
}
|
|
2789
|
+
create: {
|
|
2790
|
+
args: Prisma.ProjectCreateArgs<ExtArgs>
|
|
2791
|
+
result: $Utils.PayloadToResult<Prisma.$ProjectPayload>
|
|
2792
|
+
}
|
|
2793
|
+
createMany: {
|
|
2794
|
+
args: Prisma.ProjectCreateManyArgs<ExtArgs>
|
|
2795
|
+
result: BatchPayload
|
|
2796
|
+
}
|
|
2797
|
+
createManyAndReturn: {
|
|
2798
|
+
args: Prisma.ProjectCreateManyAndReturnArgs<ExtArgs>
|
|
2799
|
+
result: $Utils.PayloadToResult<Prisma.$ProjectPayload>[]
|
|
2800
|
+
}
|
|
2801
|
+
delete: {
|
|
2802
|
+
args: Prisma.ProjectDeleteArgs<ExtArgs>
|
|
2803
|
+
result: $Utils.PayloadToResult<Prisma.$ProjectPayload>
|
|
2804
|
+
}
|
|
2805
|
+
update: {
|
|
2806
|
+
args: Prisma.ProjectUpdateArgs<ExtArgs>
|
|
2807
|
+
result: $Utils.PayloadToResult<Prisma.$ProjectPayload>
|
|
2808
|
+
}
|
|
2809
|
+
deleteMany: {
|
|
2810
|
+
args: Prisma.ProjectDeleteManyArgs<ExtArgs>
|
|
2811
|
+
result: BatchPayload
|
|
2812
|
+
}
|
|
2813
|
+
updateMany: {
|
|
2814
|
+
args: Prisma.ProjectUpdateManyArgs<ExtArgs>
|
|
2815
|
+
result: BatchPayload
|
|
2816
|
+
}
|
|
2817
|
+
upsert: {
|
|
2818
|
+
args: Prisma.ProjectUpsertArgs<ExtArgs>
|
|
2819
|
+
result: $Utils.PayloadToResult<Prisma.$ProjectPayload>
|
|
2820
|
+
}
|
|
2821
|
+
aggregate: {
|
|
2822
|
+
args: Prisma.ProjectAggregateArgs<ExtArgs>
|
|
2823
|
+
result: $Utils.Optional<AggregateProject>
|
|
2824
|
+
}
|
|
2825
|
+
groupBy: {
|
|
2826
|
+
args: Prisma.ProjectGroupByArgs<ExtArgs>
|
|
2827
|
+
result: $Utils.Optional<ProjectGroupByOutputType>[]
|
|
2828
|
+
}
|
|
2829
|
+
count: {
|
|
2830
|
+
args: Prisma.ProjectCountArgs<ExtArgs>
|
|
2831
|
+
result: $Utils.Optional<ProjectCountAggregateOutputType> | number
|
|
2832
|
+
}
|
|
2833
|
+
}
|
|
2834
|
+
}
|
|
2663
2835
|
}
|
|
2664
2836
|
} & {
|
|
2665
2837
|
other: {
|
|
@@ -27370,339 +27542,2091 @@ export namespace Prisma {
|
|
|
27370
27542
|
|
|
27371
27543
|
|
|
27372
27544
|
/**
|
|
27373
|
-
* Fields of the TeamMember model
|
|
27545
|
+
* Fields of the TeamMember model
|
|
27546
|
+
*/
|
|
27547
|
+
interface TeamMemberFieldRefs {
|
|
27548
|
+
readonly teamId: FieldRef<"TeamMember", 'String'>
|
|
27549
|
+
readonly userId: FieldRef<"TeamMember", 'String'>
|
|
27550
|
+
readonly createdAt: FieldRef<"TeamMember", 'DateTime'>
|
|
27551
|
+
}
|
|
27552
|
+
|
|
27553
|
+
|
|
27554
|
+
// Custom InputTypes
|
|
27555
|
+
/**
|
|
27556
|
+
* TeamMember findUnique
|
|
27557
|
+
*/
|
|
27558
|
+
export type TeamMemberFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27559
|
+
/**
|
|
27560
|
+
* Select specific fields to fetch from the TeamMember
|
|
27561
|
+
*/
|
|
27562
|
+
select?: TeamMemberSelect<ExtArgs> | null
|
|
27563
|
+
/**
|
|
27564
|
+
* Choose, which related nodes to fetch as well
|
|
27565
|
+
*/
|
|
27566
|
+
include?: TeamMemberInclude<ExtArgs> | null
|
|
27567
|
+
/**
|
|
27568
|
+
* Filter, which TeamMember to fetch.
|
|
27569
|
+
*/
|
|
27570
|
+
where: TeamMemberWhereUniqueInput
|
|
27571
|
+
}
|
|
27572
|
+
|
|
27573
|
+
/**
|
|
27574
|
+
* TeamMember findUniqueOrThrow
|
|
27575
|
+
*/
|
|
27576
|
+
export type TeamMemberFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27577
|
+
/**
|
|
27578
|
+
* Select specific fields to fetch from the TeamMember
|
|
27579
|
+
*/
|
|
27580
|
+
select?: TeamMemberSelect<ExtArgs> | null
|
|
27581
|
+
/**
|
|
27582
|
+
* Choose, which related nodes to fetch as well
|
|
27583
|
+
*/
|
|
27584
|
+
include?: TeamMemberInclude<ExtArgs> | null
|
|
27585
|
+
/**
|
|
27586
|
+
* Filter, which TeamMember to fetch.
|
|
27587
|
+
*/
|
|
27588
|
+
where: TeamMemberWhereUniqueInput
|
|
27589
|
+
}
|
|
27590
|
+
|
|
27591
|
+
/**
|
|
27592
|
+
* TeamMember findFirst
|
|
27593
|
+
*/
|
|
27594
|
+
export type TeamMemberFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27595
|
+
/**
|
|
27596
|
+
* Select specific fields to fetch from the TeamMember
|
|
27597
|
+
*/
|
|
27598
|
+
select?: TeamMemberSelect<ExtArgs> | null
|
|
27599
|
+
/**
|
|
27600
|
+
* Choose, which related nodes to fetch as well
|
|
27601
|
+
*/
|
|
27602
|
+
include?: TeamMemberInclude<ExtArgs> | null
|
|
27603
|
+
/**
|
|
27604
|
+
* Filter, which TeamMember to fetch.
|
|
27605
|
+
*/
|
|
27606
|
+
where?: TeamMemberWhereInput
|
|
27607
|
+
/**
|
|
27608
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
27609
|
+
*
|
|
27610
|
+
* Determine the order of TeamMembers to fetch.
|
|
27611
|
+
*/
|
|
27612
|
+
orderBy?: TeamMemberOrderByWithRelationInput | TeamMemberOrderByWithRelationInput[]
|
|
27613
|
+
/**
|
|
27614
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
27615
|
+
*
|
|
27616
|
+
* Sets the position for searching for TeamMembers.
|
|
27617
|
+
*/
|
|
27618
|
+
cursor?: TeamMemberWhereUniqueInput
|
|
27619
|
+
/**
|
|
27620
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
27621
|
+
*
|
|
27622
|
+
* Take `±n` TeamMembers from the position of the cursor.
|
|
27623
|
+
*/
|
|
27624
|
+
take?: number
|
|
27625
|
+
/**
|
|
27626
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
27627
|
+
*
|
|
27628
|
+
* Skip the first `n` TeamMembers.
|
|
27629
|
+
*/
|
|
27630
|
+
skip?: number
|
|
27631
|
+
/**
|
|
27632
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
27633
|
+
*
|
|
27634
|
+
* Filter by unique combinations of TeamMembers.
|
|
27635
|
+
*/
|
|
27636
|
+
distinct?: TeamMemberScalarFieldEnum | TeamMemberScalarFieldEnum[]
|
|
27637
|
+
}
|
|
27638
|
+
|
|
27639
|
+
/**
|
|
27640
|
+
* TeamMember findFirstOrThrow
|
|
27641
|
+
*/
|
|
27642
|
+
export type TeamMemberFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27643
|
+
/**
|
|
27644
|
+
* Select specific fields to fetch from the TeamMember
|
|
27645
|
+
*/
|
|
27646
|
+
select?: TeamMemberSelect<ExtArgs> | null
|
|
27647
|
+
/**
|
|
27648
|
+
* Choose, which related nodes to fetch as well
|
|
27649
|
+
*/
|
|
27650
|
+
include?: TeamMemberInclude<ExtArgs> | null
|
|
27651
|
+
/**
|
|
27652
|
+
* Filter, which TeamMember to fetch.
|
|
27653
|
+
*/
|
|
27654
|
+
where?: TeamMemberWhereInput
|
|
27655
|
+
/**
|
|
27656
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
27657
|
+
*
|
|
27658
|
+
* Determine the order of TeamMembers to fetch.
|
|
27659
|
+
*/
|
|
27660
|
+
orderBy?: TeamMemberOrderByWithRelationInput | TeamMemberOrderByWithRelationInput[]
|
|
27661
|
+
/**
|
|
27662
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
27663
|
+
*
|
|
27664
|
+
* Sets the position for searching for TeamMembers.
|
|
27665
|
+
*/
|
|
27666
|
+
cursor?: TeamMemberWhereUniqueInput
|
|
27667
|
+
/**
|
|
27668
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
27669
|
+
*
|
|
27670
|
+
* Take `±n` TeamMembers from the position of the cursor.
|
|
27671
|
+
*/
|
|
27672
|
+
take?: number
|
|
27673
|
+
/**
|
|
27674
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
27675
|
+
*
|
|
27676
|
+
* Skip the first `n` TeamMembers.
|
|
27677
|
+
*/
|
|
27678
|
+
skip?: number
|
|
27679
|
+
/**
|
|
27680
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
27681
|
+
*
|
|
27682
|
+
* Filter by unique combinations of TeamMembers.
|
|
27683
|
+
*/
|
|
27684
|
+
distinct?: TeamMemberScalarFieldEnum | TeamMemberScalarFieldEnum[]
|
|
27685
|
+
}
|
|
27686
|
+
|
|
27687
|
+
/**
|
|
27688
|
+
* TeamMember findMany
|
|
27689
|
+
*/
|
|
27690
|
+
export type TeamMemberFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27691
|
+
/**
|
|
27692
|
+
* Select specific fields to fetch from the TeamMember
|
|
27693
|
+
*/
|
|
27694
|
+
select?: TeamMemberSelect<ExtArgs> | null
|
|
27695
|
+
/**
|
|
27696
|
+
* Choose, which related nodes to fetch as well
|
|
27697
|
+
*/
|
|
27698
|
+
include?: TeamMemberInclude<ExtArgs> | null
|
|
27699
|
+
/**
|
|
27700
|
+
* Filter, which TeamMembers to fetch.
|
|
27701
|
+
*/
|
|
27702
|
+
where?: TeamMemberWhereInput
|
|
27703
|
+
/**
|
|
27704
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
27705
|
+
*
|
|
27706
|
+
* Determine the order of TeamMembers to fetch.
|
|
27707
|
+
*/
|
|
27708
|
+
orderBy?: TeamMemberOrderByWithRelationInput | TeamMemberOrderByWithRelationInput[]
|
|
27709
|
+
/**
|
|
27710
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
27711
|
+
*
|
|
27712
|
+
* Sets the position for listing TeamMembers.
|
|
27713
|
+
*/
|
|
27714
|
+
cursor?: TeamMemberWhereUniqueInput
|
|
27715
|
+
/**
|
|
27716
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
27717
|
+
*
|
|
27718
|
+
* Take `±n` TeamMembers from the position of the cursor.
|
|
27719
|
+
*/
|
|
27720
|
+
take?: number
|
|
27721
|
+
/**
|
|
27722
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
27723
|
+
*
|
|
27724
|
+
* Skip the first `n` TeamMembers.
|
|
27725
|
+
*/
|
|
27726
|
+
skip?: number
|
|
27727
|
+
distinct?: TeamMemberScalarFieldEnum | TeamMemberScalarFieldEnum[]
|
|
27728
|
+
}
|
|
27729
|
+
|
|
27730
|
+
/**
|
|
27731
|
+
* TeamMember create
|
|
27732
|
+
*/
|
|
27733
|
+
export type TeamMemberCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27734
|
+
/**
|
|
27735
|
+
* Select specific fields to fetch from the TeamMember
|
|
27736
|
+
*/
|
|
27737
|
+
select?: TeamMemberSelect<ExtArgs> | null
|
|
27738
|
+
/**
|
|
27739
|
+
* Choose, which related nodes to fetch as well
|
|
27740
|
+
*/
|
|
27741
|
+
include?: TeamMemberInclude<ExtArgs> | null
|
|
27742
|
+
/**
|
|
27743
|
+
* The data needed to create a TeamMember.
|
|
27744
|
+
*/
|
|
27745
|
+
data: XOR<TeamMemberCreateInput, TeamMemberUncheckedCreateInput>
|
|
27746
|
+
}
|
|
27747
|
+
|
|
27748
|
+
/**
|
|
27749
|
+
* TeamMember createMany
|
|
27750
|
+
*/
|
|
27751
|
+
export type TeamMemberCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27752
|
+
/**
|
|
27753
|
+
* The data used to create many TeamMembers.
|
|
27754
|
+
*/
|
|
27755
|
+
data: TeamMemberCreateManyInput | TeamMemberCreateManyInput[]
|
|
27756
|
+
}
|
|
27757
|
+
|
|
27758
|
+
/**
|
|
27759
|
+
* TeamMember createManyAndReturn
|
|
27760
|
+
*/
|
|
27761
|
+
export type TeamMemberCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27762
|
+
/**
|
|
27763
|
+
* Select specific fields to fetch from the TeamMember
|
|
27764
|
+
*/
|
|
27765
|
+
select?: TeamMemberSelectCreateManyAndReturn<ExtArgs> | null
|
|
27766
|
+
/**
|
|
27767
|
+
* The data used to create many TeamMembers.
|
|
27768
|
+
*/
|
|
27769
|
+
data: TeamMemberCreateManyInput | TeamMemberCreateManyInput[]
|
|
27770
|
+
/**
|
|
27771
|
+
* Choose, which related nodes to fetch as well
|
|
27772
|
+
*/
|
|
27773
|
+
include?: TeamMemberIncludeCreateManyAndReturn<ExtArgs> | null
|
|
27774
|
+
}
|
|
27775
|
+
|
|
27776
|
+
/**
|
|
27777
|
+
* TeamMember update
|
|
27778
|
+
*/
|
|
27779
|
+
export type TeamMemberUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27780
|
+
/**
|
|
27781
|
+
* Select specific fields to fetch from the TeamMember
|
|
27782
|
+
*/
|
|
27783
|
+
select?: TeamMemberSelect<ExtArgs> | null
|
|
27784
|
+
/**
|
|
27785
|
+
* Choose, which related nodes to fetch as well
|
|
27786
|
+
*/
|
|
27787
|
+
include?: TeamMemberInclude<ExtArgs> | null
|
|
27788
|
+
/**
|
|
27789
|
+
* The data needed to update a TeamMember.
|
|
27790
|
+
*/
|
|
27791
|
+
data: XOR<TeamMemberUpdateInput, TeamMemberUncheckedUpdateInput>
|
|
27792
|
+
/**
|
|
27793
|
+
* Choose, which TeamMember to update.
|
|
27794
|
+
*/
|
|
27795
|
+
where: TeamMemberWhereUniqueInput
|
|
27796
|
+
}
|
|
27797
|
+
|
|
27798
|
+
/**
|
|
27799
|
+
* TeamMember updateMany
|
|
27800
|
+
*/
|
|
27801
|
+
export type TeamMemberUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27802
|
+
/**
|
|
27803
|
+
* The data used to update TeamMembers.
|
|
27804
|
+
*/
|
|
27805
|
+
data: XOR<TeamMemberUpdateManyMutationInput, TeamMemberUncheckedUpdateManyInput>
|
|
27806
|
+
/**
|
|
27807
|
+
* Filter which TeamMembers to update
|
|
27808
|
+
*/
|
|
27809
|
+
where?: TeamMemberWhereInput
|
|
27810
|
+
}
|
|
27811
|
+
|
|
27812
|
+
/**
|
|
27813
|
+
* TeamMember upsert
|
|
27814
|
+
*/
|
|
27815
|
+
export type TeamMemberUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27816
|
+
/**
|
|
27817
|
+
* Select specific fields to fetch from the TeamMember
|
|
27818
|
+
*/
|
|
27819
|
+
select?: TeamMemberSelect<ExtArgs> | null
|
|
27820
|
+
/**
|
|
27821
|
+
* Choose, which related nodes to fetch as well
|
|
27822
|
+
*/
|
|
27823
|
+
include?: TeamMemberInclude<ExtArgs> | null
|
|
27824
|
+
/**
|
|
27825
|
+
* The filter to search for the TeamMember to update in case it exists.
|
|
27826
|
+
*/
|
|
27827
|
+
where: TeamMemberWhereUniqueInput
|
|
27828
|
+
/**
|
|
27829
|
+
* In case the TeamMember found by the `where` argument doesn't exist, create a new TeamMember with this data.
|
|
27830
|
+
*/
|
|
27831
|
+
create: XOR<TeamMemberCreateInput, TeamMemberUncheckedCreateInput>
|
|
27832
|
+
/**
|
|
27833
|
+
* In case the TeamMember was found with the provided `where` argument, update it with this data.
|
|
27834
|
+
*/
|
|
27835
|
+
update: XOR<TeamMemberUpdateInput, TeamMemberUncheckedUpdateInput>
|
|
27836
|
+
}
|
|
27837
|
+
|
|
27838
|
+
/**
|
|
27839
|
+
* TeamMember delete
|
|
27840
|
+
*/
|
|
27841
|
+
export type TeamMemberDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27842
|
+
/**
|
|
27843
|
+
* Select specific fields to fetch from the TeamMember
|
|
27844
|
+
*/
|
|
27845
|
+
select?: TeamMemberSelect<ExtArgs> | null
|
|
27846
|
+
/**
|
|
27847
|
+
* Choose, which related nodes to fetch as well
|
|
27848
|
+
*/
|
|
27849
|
+
include?: TeamMemberInclude<ExtArgs> | null
|
|
27850
|
+
/**
|
|
27851
|
+
* Filter which TeamMember to delete.
|
|
27852
|
+
*/
|
|
27853
|
+
where: TeamMemberWhereUniqueInput
|
|
27854
|
+
}
|
|
27855
|
+
|
|
27856
|
+
/**
|
|
27857
|
+
* TeamMember deleteMany
|
|
27858
|
+
*/
|
|
27859
|
+
export type TeamMemberDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27860
|
+
/**
|
|
27861
|
+
* Filter which TeamMembers to delete
|
|
27862
|
+
*/
|
|
27863
|
+
where?: TeamMemberWhereInput
|
|
27864
|
+
}
|
|
27865
|
+
|
|
27866
|
+
/**
|
|
27867
|
+
* TeamMember without action
|
|
27868
|
+
*/
|
|
27869
|
+
export type TeamMemberDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27870
|
+
/**
|
|
27871
|
+
* Select specific fields to fetch from the TeamMember
|
|
27872
|
+
*/
|
|
27873
|
+
select?: TeamMemberSelect<ExtArgs> | null
|
|
27874
|
+
/**
|
|
27875
|
+
* Choose, which related nodes to fetch as well
|
|
27876
|
+
*/
|
|
27877
|
+
include?: TeamMemberInclude<ExtArgs> | null
|
|
27878
|
+
}
|
|
27879
|
+
|
|
27880
|
+
|
|
27881
|
+
/**
|
|
27882
|
+
* Model EventLog
|
|
27883
|
+
*/
|
|
27884
|
+
|
|
27885
|
+
export type AggregateEventLog = {
|
|
27886
|
+
_count: EventLogCountAggregateOutputType | null
|
|
27887
|
+
_min: EventLogMinAggregateOutputType | null
|
|
27888
|
+
_max: EventLogMaxAggregateOutputType | null
|
|
27889
|
+
}
|
|
27890
|
+
|
|
27891
|
+
export type EventLogMinAggregateOutputType = {
|
|
27892
|
+
id: string | null
|
|
27893
|
+
type: string | null
|
|
27894
|
+
payload: string | null
|
|
27895
|
+
correlationId: string | null
|
|
27896
|
+
teamId: string | null
|
|
27897
|
+
occurredAt: Date | null
|
|
27898
|
+
}
|
|
27899
|
+
|
|
27900
|
+
export type EventLogMaxAggregateOutputType = {
|
|
27901
|
+
id: string | null
|
|
27902
|
+
type: string | null
|
|
27903
|
+
payload: string | null
|
|
27904
|
+
correlationId: string | null
|
|
27905
|
+
teamId: string | null
|
|
27906
|
+
occurredAt: Date | null
|
|
27907
|
+
}
|
|
27908
|
+
|
|
27909
|
+
export type EventLogCountAggregateOutputType = {
|
|
27910
|
+
id: number
|
|
27911
|
+
type: number
|
|
27912
|
+
payload: number
|
|
27913
|
+
correlationId: number
|
|
27914
|
+
teamId: number
|
|
27915
|
+
occurredAt: number
|
|
27916
|
+
_all: number
|
|
27917
|
+
}
|
|
27918
|
+
|
|
27919
|
+
|
|
27920
|
+
export type EventLogMinAggregateInputType = {
|
|
27921
|
+
id?: true
|
|
27922
|
+
type?: true
|
|
27923
|
+
payload?: true
|
|
27924
|
+
correlationId?: true
|
|
27925
|
+
teamId?: true
|
|
27926
|
+
occurredAt?: true
|
|
27927
|
+
}
|
|
27928
|
+
|
|
27929
|
+
export type EventLogMaxAggregateInputType = {
|
|
27930
|
+
id?: true
|
|
27931
|
+
type?: true
|
|
27932
|
+
payload?: true
|
|
27933
|
+
correlationId?: true
|
|
27934
|
+
teamId?: true
|
|
27935
|
+
occurredAt?: true
|
|
27936
|
+
}
|
|
27937
|
+
|
|
27938
|
+
export type EventLogCountAggregateInputType = {
|
|
27939
|
+
id?: true
|
|
27940
|
+
type?: true
|
|
27941
|
+
payload?: true
|
|
27942
|
+
correlationId?: true
|
|
27943
|
+
teamId?: true
|
|
27944
|
+
occurredAt?: true
|
|
27945
|
+
_all?: true
|
|
27946
|
+
}
|
|
27947
|
+
|
|
27948
|
+
export type EventLogAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27949
|
+
/**
|
|
27950
|
+
* Filter which EventLog to aggregate.
|
|
27951
|
+
*/
|
|
27952
|
+
where?: EventLogWhereInput
|
|
27953
|
+
/**
|
|
27954
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
27955
|
+
*
|
|
27956
|
+
* Determine the order of EventLogs to fetch.
|
|
27957
|
+
*/
|
|
27958
|
+
orderBy?: EventLogOrderByWithRelationInput | EventLogOrderByWithRelationInput[]
|
|
27959
|
+
/**
|
|
27960
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
27961
|
+
*
|
|
27962
|
+
* Sets the start position
|
|
27963
|
+
*/
|
|
27964
|
+
cursor?: EventLogWhereUniqueInput
|
|
27965
|
+
/**
|
|
27966
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
27967
|
+
*
|
|
27968
|
+
* Take `±n` EventLogs from the position of the cursor.
|
|
27969
|
+
*/
|
|
27970
|
+
take?: number
|
|
27971
|
+
/**
|
|
27972
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
27973
|
+
*
|
|
27974
|
+
* Skip the first `n` EventLogs.
|
|
27975
|
+
*/
|
|
27976
|
+
skip?: number
|
|
27977
|
+
/**
|
|
27978
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
27979
|
+
*
|
|
27980
|
+
* Count returned EventLogs
|
|
27981
|
+
**/
|
|
27982
|
+
_count?: true | EventLogCountAggregateInputType
|
|
27983
|
+
/**
|
|
27984
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
27985
|
+
*
|
|
27986
|
+
* Select which fields to find the minimum value
|
|
27987
|
+
**/
|
|
27988
|
+
_min?: EventLogMinAggregateInputType
|
|
27989
|
+
/**
|
|
27990
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
27991
|
+
*
|
|
27992
|
+
* Select which fields to find the maximum value
|
|
27993
|
+
**/
|
|
27994
|
+
_max?: EventLogMaxAggregateInputType
|
|
27995
|
+
}
|
|
27996
|
+
|
|
27997
|
+
export type GetEventLogAggregateType<T extends EventLogAggregateArgs> = {
|
|
27998
|
+
[P in keyof T & keyof AggregateEventLog]: P extends '_count' | 'count'
|
|
27999
|
+
? T[P] extends true
|
|
28000
|
+
? number
|
|
28001
|
+
: GetScalarType<T[P], AggregateEventLog[P]>
|
|
28002
|
+
: GetScalarType<T[P], AggregateEventLog[P]>
|
|
28003
|
+
}
|
|
28004
|
+
|
|
28005
|
+
|
|
28006
|
+
|
|
28007
|
+
|
|
28008
|
+
export type EventLogGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
28009
|
+
where?: EventLogWhereInput
|
|
28010
|
+
orderBy?: EventLogOrderByWithAggregationInput | EventLogOrderByWithAggregationInput[]
|
|
28011
|
+
by: EventLogScalarFieldEnum[] | EventLogScalarFieldEnum
|
|
28012
|
+
having?: EventLogScalarWhereWithAggregatesInput
|
|
28013
|
+
take?: number
|
|
28014
|
+
skip?: number
|
|
28015
|
+
_count?: EventLogCountAggregateInputType | true
|
|
28016
|
+
_min?: EventLogMinAggregateInputType
|
|
28017
|
+
_max?: EventLogMaxAggregateInputType
|
|
28018
|
+
}
|
|
28019
|
+
|
|
28020
|
+
export type EventLogGroupByOutputType = {
|
|
28021
|
+
id: string
|
|
28022
|
+
type: string
|
|
28023
|
+
payload: string
|
|
28024
|
+
correlationId: string | null
|
|
28025
|
+
teamId: string | null
|
|
28026
|
+
occurredAt: Date
|
|
28027
|
+
_count: EventLogCountAggregateOutputType | null
|
|
28028
|
+
_min: EventLogMinAggregateOutputType | null
|
|
28029
|
+
_max: EventLogMaxAggregateOutputType | null
|
|
28030
|
+
}
|
|
28031
|
+
|
|
28032
|
+
type GetEventLogGroupByPayload<T extends EventLogGroupByArgs> = Prisma.PrismaPromise<
|
|
28033
|
+
Array<
|
|
28034
|
+
PickEnumerable<EventLogGroupByOutputType, T['by']> &
|
|
28035
|
+
{
|
|
28036
|
+
[P in ((keyof T) & (keyof EventLogGroupByOutputType))]: P extends '_count'
|
|
28037
|
+
? T[P] extends boolean
|
|
28038
|
+
? number
|
|
28039
|
+
: GetScalarType<T[P], EventLogGroupByOutputType[P]>
|
|
28040
|
+
: GetScalarType<T[P], EventLogGroupByOutputType[P]>
|
|
28041
|
+
}
|
|
28042
|
+
>
|
|
28043
|
+
>
|
|
28044
|
+
|
|
28045
|
+
|
|
28046
|
+
export type EventLogSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
28047
|
+
id?: boolean
|
|
28048
|
+
type?: boolean
|
|
28049
|
+
payload?: boolean
|
|
28050
|
+
correlationId?: boolean
|
|
28051
|
+
teamId?: boolean
|
|
28052
|
+
occurredAt?: boolean
|
|
28053
|
+
}, ExtArgs["result"]["eventLog"]>
|
|
28054
|
+
|
|
28055
|
+
export type EventLogSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
28056
|
+
id?: boolean
|
|
28057
|
+
type?: boolean
|
|
28058
|
+
payload?: boolean
|
|
28059
|
+
correlationId?: boolean
|
|
28060
|
+
teamId?: boolean
|
|
28061
|
+
occurredAt?: boolean
|
|
28062
|
+
}, ExtArgs["result"]["eventLog"]>
|
|
28063
|
+
|
|
28064
|
+
export type EventLogSelectScalar = {
|
|
28065
|
+
id?: boolean
|
|
28066
|
+
type?: boolean
|
|
28067
|
+
payload?: boolean
|
|
28068
|
+
correlationId?: boolean
|
|
28069
|
+
teamId?: boolean
|
|
28070
|
+
occurredAt?: boolean
|
|
28071
|
+
}
|
|
28072
|
+
|
|
28073
|
+
|
|
28074
|
+
export type $EventLogPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
28075
|
+
name: "EventLog"
|
|
28076
|
+
objects: {}
|
|
28077
|
+
scalars: $Extensions.GetPayloadResult<{
|
|
28078
|
+
id: string
|
|
28079
|
+
type: string
|
|
28080
|
+
payload: string
|
|
28081
|
+
correlationId: string | null
|
|
28082
|
+
teamId: string | null
|
|
28083
|
+
occurredAt: Date
|
|
28084
|
+
}, ExtArgs["result"]["eventLog"]>
|
|
28085
|
+
composites: {}
|
|
28086
|
+
}
|
|
28087
|
+
|
|
28088
|
+
type EventLogGetPayload<S extends boolean | null | undefined | EventLogDefaultArgs> = $Result.GetResult<Prisma.$EventLogPayload, S>
|
|
28089
|
+
|
|
28090
|
+
type EventLogCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
28091
|
+
Omit<EventLogFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
|
28092
|
+
select?: EventLogCountAggregateInputType | true
|
|
28093
|
+
}
|
|
28094
|
+
|
|
28095
|
+
export interface EventLogDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
|
|
28096
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['EventLog'], meta: { name: 'EventLog' } }
|
|
28097
|
+
/**
|
|
28098
|
+
* Find zero or one EventLog that matches the filter.
|
|
28099
|
+
* @param {EventLogFindUniqueArgs} args - Arguments to find a EventLog
|
|
28100
|
+
* @example
|
|
28101
|
+
* // Get one EventLog
|
|
28102
|
+
* const eventLog = await prisma.eventLog.findUnique({
|
|
28103
|
+
* where: {
|
|
28104
|
+
* // ... provide filter here
|
|
28105
|
+
* }
|
|
28106
|
+
* })
|
|
28107
|
+
*/
|
|
28108
|
+
findUnique<T extends EventLogFindUniqueArgs>(args: SelectSubset<T, EventLogFindUniqueArgs<ExtArgs>>): Prisma__EventLogClient<$Result.GetResult<Prisma.$EventLogPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
|
|
28109
|
+
|
|
28110
|
+
/**
|
|
28111
|
+
* Find one EventLog that matches the filter or throw an error with `error.code='P2025'`
|
|
28112
|
+
* if no matches were found.
|
|
28113
|
+
* @param {EventLogFindUniqueOrThrowArgs} args - Arguments to find a EventLog
|
|
28114
|
+
* @example
|
|
28115
|
+
* // Get one EventLog
|
|
28116
|
+
* const eventLog = await prisma.eventLog.findUniqueOrThrow({
|
|
28117
|
+
* where: {
|
|
28118
|
+
* // ... provide filter here
|
|
28119
|
+
* }
|
|
28120
|
+
* })
|
|
28121
|
+
*/
|
|
28122
|
+
findUniqueOrThrow<T extends EventLogFindUniqueOrThrowArgs>(args: SelectSubset<T, EventLogFindUniqueOrThrowArgs<ExtArgs>>): Prisma__EventLogClient<$Result.GetResult<Prisma.$EventLogPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
|
|
28123
|
+
|
|
28124
|
+
/**
|
|
28125
|
+
* Find the first EventLog that matches the filter.
|
|
28126
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
28127
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
28128
|
+
* @param {EventLogFindFirstArgs} args - Arguments to find a EventLog
|
|
28129
|
+
* @example
|
|
28130
|
+
* // Get one EventLog
|
|
28131
|
+
* const eventLog = await prisma.eventLog.findFirst({
|
|
28132
|
+
* where: {
|
|
28133
|
+
* // ... provide filter here
|
|
28134
|
+
* }
|
|
28135
|
+
* })
|
|
28136
|
+
*/
|
|
28137
|
+
findFirst<T extends EventLogFindFirstArgs>(args?: SelectSubset<T, EventLogFindFirstArgs<ExtArgs>>): Prisma__EventLogClient<$Result.GetResult<Prisma.$EventLogPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
|
|
28138
|
+
|
|
28139
|
+
/**
|
|
28140
|
+
* Find the first EventLog that matches the filter or
|
|
28141
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
28142
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
28143
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
28144
|
+
* @param {EventLogFindFirstOrThrowArgs} args - Arguments to find a EventLog
|
|
28145
|
+
* @example
|
|
28146
|
+
* // Get one EventLog
|
|
28147
|
+
* const eventLog = await prisma.eventLog.findFirstOrThrow({
|
|
28148
|
+
* where: {
|
|
28149
|
+
* // ... provide filter here
|
|
28150
|
+
* }
|
|
28151
|
+
* })
|
|
28152
|
+
*/
|
|
28153
|
+
findFirstOrThrow<T extends EventLogFindFirstOrThrowArgs>(args?: SelectSubset<T, EventLogFindFirstOrThrowArgs<ExtArgs>>): Prisma__EventLogClient<$Result.GetResult<Prisma.$EventLogPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
|
|
28154
|
+
|
|
28155
|
+
/**
|
|
28156
|
+
* Find zero or more EventLogs that matches the filter.
|
|
28157
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
28158
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
28159
|
+
* @param {EventLogFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
28160
|
+
* @example
|
|
28161
|
+
* // Get all EventLogs
|
|
28162
|
+
* const eventLogs = await prisma.eventLog.findMany()
|
|
28163
|
+
*
|
|
28164
|
+
* // Get first 10 EventLogs
|
|
28165
|
+
* const eventLogs = await prisma.eventLog.findMany({ take: 10 })
|
|
28166
|
+
*
|
|
28167
|
+
* // Only select the `id`
|
|
28168
|
+
* const eventLogWithIdOnly = await prisma.eventLog.findMany({ select: { id: true } })
|
|
28169
|
+
*
|
|
28170
|
+
*/
|
|
28171
|
+
findMany<T extends EventLogFindManyArgs>(args?: SelectSubset<T, EventLogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$EventLogPayload<ExtArgs>, T, "findMany">>
|
|
28172
|
+
|
|
28173
|
+
/**
|
|
28174
|
+
* Create a EventLog.
|
|
28175
|
+
* @param {EventLogCreateArgs} args - Arguments to create a EventLog.
|
|
28176
|
+
* @example
|
|
28177
|
+
* // Create one EventLog
|
|
28178
|
+
* const EventLog = await prisma.eventLog.create({
|
|
28179
|
+
* data: {
|
|
28180
|
+
* // ... data to create a EventLog
|
|
28181
|
+
* }
|
|
28182
|
+
* })
|
|
28183
|
+
*
|
|
28184
|
+
*/
|
|
28185
|
+
create<T extends EventLogCreateArgs>(args: SelectSubset<T, EventLogCreateArgs<ExtArgs>>): Prisma__EventLogClient<$Result.GetResult<Prisma.$EventLogPayload<ExtArgs>, T, "create">, never, ExtArgs>
|
|
28186
|
+
|
|
28187
|
+
/**
|
|
28188
|
+
* Create many EventLogs.
|
|
28189
|
+
* @param {EventLogCreateManyArgs} args - Arguments to create many EventLogs.
|
|
28190
|
+
* @example
|
|
28191
|
+
* // Create many EventLogs
|
|
28192
|
+
* const eventLog = await prisma.eventLog.createMany({
|
|
28193
|
+
* data: [
|
|
28194
|
+
* // ... provide data here
|
|
28195
|
+
* ]
|
|
28196
|
+
* })
|
|
28197
|
+
*
|
|
28198
|
+
*/
|
|
28199
|
+
createMany<T extends EventLogCreateManyArgs>(args?: SelectSubset<T, EventLogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
28200
|
+
|
|
28201
|
+
/**
|
|
28202
|
+
* Create many EventLogs and returns the data saved in the database.
|
|
28203
|
+
* @param {EventLogCreateManyAndReturnArgs} args - Arguments to create many EventLogs.
|
|
28204
|
+
* @example
|
|
28205
|
+
* // Create many EventLogs
|
|
28206
|
+
* const eventLog = await prisma.eventLog.createManyAndReturn({
|
|
28207
|
+
* data: [
|
|
28208
|
+
* // ... provide data here
|
|
28209
|
+
* ]
|
|
28210
|
+
* })
|
|
28211
|
+
*
|
|
28212
|
+
* // Create many EventLogs and only return the `id`
|
|
28213
|
+
* const eventLogWithIdOnly = await prisma.eventLog.createManyAndReturn({
|
|
28214
|
+
* select: { id: true },
|
|
28215
|
+
* data: [
|
|
28216
|
+
* // ... provide data here
|
|
28217
|
+
* ]
|
|
28218
|
+
* })
|
|
28219
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
28220
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
28221
|
+
*
|
|
28222
|
+
*/
|
|
28223
|
+
createManyAndReturn<T extends EventLogCreateManyAndReturnArgs>(args?: SelectSubset<T, EventLogCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$EventLogPayload<ExtArgs>, T, "createManyAndReturn">>
|
|
28224
|
+
|
|
28225
|
+
/**
|
|
28226
|
+
* Delete a EventLog.
|
|
28227
|
+
* @param {EventLogDeleteArgs} args - Arguments to delete one EventLog.
|
|
28228
|
+
* @example
|
|
28229
|
+
* // Delete one EventLog
|
|
28230
|
+
* const EventLog = await prisma.eventLog.delete({
|
|
28231
|
+
* where: {
|
|
28232
|
+
* // ... filter to delete one EventLog
|
|
28233
|
+
* }
|
|
28234
|
+
* })
|
|
28235
|
+
*
|
|
28236
|
+
*/
|
|
28237
|
+
delete<T extends EventLogDeleteArgs>(args: SelectSubset<T, EventLogDeleteArgs<ExtArgs>>): Prisma__EventLogClient<$Result.GetResult<Prisma.$EventLogPayload<ExtArgs>, T, "delete">, never, ExtArgs>
|
|
28238
|
+
|
|
28239
|
+
/**
|
|
28240
|
+
* Update one EventLog.
|
|
28241
|
+
* @param {EventLogUpdateArgs} args - Arguments to update one EventLog.
|
|
28242
|
+
* @example
|
|
28243
|
+
* // Update one EventLog
|
|
28244
|
+
* const eventLog = await prisma.eventLog.update({
|
|
28245
|
+
* where: {
|
|
28246
|
+
* // ... provide filter here
|
|
28247
|
+
* },
|
|
28248
|
+
* data: {
|
|
28249
|
+
* // ... provide data here
|
|
28250
|
+
* }
|
|
28251
|
+
* })
|
|
28252
|
+
*
|
|
28253
|
+
*/
|
|
28254
|
+
update<T extends EventLogUpdateArgs>(args: SelectSubset<T, EventLogUpdateArgs<ExtArgs>>): Prisma__EventLogClient<$Result.GetResult<Prisma.$EventLogPayload<ExtArgs>, T, "update">, never, ExtArgs>
|
|
28255
|
+
|
|
28256
|
+
/**
|
|
28257
|
+
* Delete zero or more EventLogs.
|
|
28258
|
+
* @param {EventLogDeleteManyArgs} args - Arguments to filter EventLogs to delete.
|
|
28259
|
+
* @example
|
|
28260
|
+
* // Delete a few EventLogs
|
|
28261
|
+
* const { count } = await prisma.eventLog.deleteMany({
|
|
28262
|
+
* where: {
|
|
28263
|
+
* // ... provide filter here
|
|
28264
|
+
* }
|
|
28265
|
+
* })
|
|
28266
|
+
*
|
|
28267
|
+
*/
|
|
28268
|
+
deleteMany<T extends EventLogDeleteManyArgs>(args?: SelectSubset<T, EventLogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
28269
|
+
|
|
28270
|
+
/**
|
|
28271
|
+
* Update zero or more EventLogs.
|
|
28272
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
28273
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
28274
|
+
* @param {EventLogUpdateManyArgs} args - Arguments to update one or more rows.
|
|
28275
|
+
* @example
|
|
28276
|
+
* // Update many EventLogs
|
|
28277
|
+
* const eventLog = await prisma.eventLog.updateMany({
|
|
28278
|
+
* where: {
|
|
28279
|
+
* // ... provide filter here
|
|
28280
|
+
* },
|
|
28281
|
+
* data: {
|
|
28282
|
+
* // ... provide data here
|
|
28283
|
+
* }
|
|
28284
|
+
* })
|
|
28285
|
+
*
|
|
28286
|
+
*/
|
|
28287
|
+
updateMany<T extends EventLogUpdateManyArgs>(args: SelectSubset<T, EventLogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
28288
|
+
|
|
28289
|
+
/**
|
|
28290
|
+
* Create or update one EventLog.
|
|
28291
|
+
* @param {EventLogUpsertArgs} args - Arguments to update or create a EventLog.
|
|
28292
|
+
* @example
|
|
28293
|
+
* // Update or create a EventLog
|
|
28294
|
+
* const eventLog = await prisma.eventLog.upsert({
|
|
28295
|
+
* create: {
|
|
28296
|
+
* // ... data to create a EventLog
|
|
28297
|
+
* },
|
|
28298
|
+
* update: {
|
|
28299
|
+
* // ... in case it already exists, update
|
|
28300
|
+
* },
|
|
28301
|
+
* where: {
|
|
28302
|
+
* // ... the filter for the EventLog we want to update
|
|
28303
|
+
* }
|
|
28304
|
+
* })
|
|
28305
|
+
*/
|
|
28306
|
+
upsert<T extends EventLogUpsertArgs>(args: SelectSubset<T, EventLogUpsertArgs<ExtArgs>>): Prisma__EventLogClient<$Result.GetResult<Prisma.$EventLogPayload<ExtArgs>, T, "upsert">, never, ExtArgs>
|
|
28307
|
+
|
|
28308
|
+
|
|
28309
|
+
/**
|
|
28310
|
+
* Count the number of EventLogs.
|
|
28311
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
28312
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
28313
|
+
* @param {EventLogCountArgs} args - Arguments to filter EventLogs to count.
|
|
28314
|
+
* @example
|
|
28315
|
+
* // Count the number of EventLogs
|
|
28316
|
+
* const count = await prisma.eventLog.count({
|
|
28317
|
+
* where: {
|
|
28318
|
+
* // ... the filter for the EventLogs we want to count
|
|
28319
|
+
* }
|
|
28320
|
+
* })
|
|
28321
|
+
**/
|
|
28322
|
+
count<T extends EventLogCountArgs>(
|
|
28323
|
+
args?: Subset<T, EventLogCountArgs>,
|
|
28324
|
+
): Prisma.PrismaPromise<
|
|
28325
|
+
T extends $Utils.Record<'select', any>
|
|
28326
|
+
? T['select'] extends true
|
|
28327
|
+
? number
|
|
28328
|
+
: GetScalarType<T['select'], EventLogCountAggregateOutputType>
|
|
28329
|
+
: number
|
|
28330
|
+
>
|
|
28331
|
+
|
|
28332
|
+
/**
|
|
28333
|
+
* Allows you to perform aggregations operations on a EventLog.
|
|
28334
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
28335
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
28336
|
+
* @param {EventLogAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
28337
|
+
* @example
|
|
28338
|
+
* // Ordered by age ascending
|
|
28339
|
+
* // Where email contains prisma.io
|
|
28340
|
+
* // Limited to the 10 users
|
|
28341
|
+
* const aggregations = await prisma.user.aggregate({
|
|
28342
|
+
* _avg: {
|
|
28343
|
+
* age: true,
|
|
28344
|
+
* },
|
|
28345
|
+
* where: {
|
|
28346
|
+
* email: {
|
|
28347
|
+
* contains: "prisma.io",
|
|
28348
|
+
* },
|
|
28349
|
+
* },
|
|
28350
|
+
* orderBy: {
|
|
28351
|
+
* age: "asc",
|
|
28352
|
+
* },
|
|
28353
|
+
* take: 10,
|
|
28354
|
+
* })
|
|
28355
|
+
**/
|
|
28356
|
+
aggregate<T extends EventLogAggregateArgs>(args: Subset<T, EventLogAggregateArgs>): Prisma.PrismaPromise<GetEventLogAggregateType<T>>
|
|
28357
|
+
|
|
28358
|
+
/**
|
|
28359
|
+
* Group by EventLog.
|
|
28360
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
28361
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
28362
|
+
* @param {EventLogGroupByArgs} args - Group by arguments.
|
|
28363
|
+
* @example
|
|
28364
|
+
* // Group by city, order by createdAt, get count
|
|
28365
|
+
* const result = await prisma.user.groupBy({
|
|
28366
|
+
* by: ['city', 'createdAt'],
|
|
28367
|
+
* orderBy: {
|
|
28368
|
+
* createdAt: true
|
|
28369
|
+
* },
|
|
28370
|
+
* _count: {
|
|
28371
|
+
* _all: true
|
|
28372
|
+
* },
|
|
28373
|
+
* })
|
|
28374
|
+
*
|
|
28375
|
+
**/
|
|
28376
|
+
groupBy<
|
|
28377
|
+
T extends EventLogGroupByArgs,
|
|
28378
|
+
HasSelectOrTake extends Or<
|
|
28379
|
+
Extends<'skip', Keys<T>>,
|
|
28380
|
+
Extends<'take', Keys<T>>
|
|
28381
|
+
>,
|
|
28382
|
+
OrderByArg extends True extends HasSelectOrTake
|
|
28383
|
+
? { orderBy: EventLogGroupByArgs['orderBy'] }
|
|
28384
|
+
: { orderBy?: EventLogGroupByArgs['orderBy'] },
|
|
28385
|
+
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
28386
|
+
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
28387
|
+
ByValid extends Has<ByFields, OrderFields>,
|
|
28388
|
+
HavingFields extends GetHavingFields<T['having']>,
|
|
28389
|
+
HavingValid extends Has<ByFields, HavingFields>,
|
|
28390
|
+
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
28391
|
+
InputErrors extends ByEmpty extends True
|
|
28392
|
+
? `Error: "by" must not be empty.`
|
|
28393
|
+
: HavingValid extends False
|
|
28394
|
+
? {
|
|
28395
|
+
[P in HavingFields]: P extends ByFields
|
|
28396
|
+
? never
|
|
28397
|
+
: P extends string
|
|
28398
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
28399
|
+
: [
|
|
28400
|
+
Error,
|
|
28401
|
+
'Field ',
|
|
28402
|
+
P,
|
|
28403
|
+
` in "having" needs to be provided in "by"`,
|
|
28404
|
+
]
|
|
28405
|
+
}[HavingFields]
|
|
28406
|
+
: 'take' extends Keys<T>
|
|
28407
|
+
? 'orderBy' extends Keys<T>
|
|
28408
|
+
? ByValid extends True
|
|
28409
|
+
? {}
|
|
28410
|
+
: {
|
|
28411
|
+
[P in OrderFields]: P extends ByFields
|
|
28412
|
+
? never
|
|
28413
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
28414
|
+
}[OrderFields]
|
|
28415
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
28416
|
+
: 'skip' extends Keys<T>
|
|
28417
|
+
? 'orderBy' extends Keys<T>
|
|
28418
|
+
? ByValid extends True
|
|
28419
|
+
? {}
|
|
28420
|
+
: {
|
|
28421
|
+
[P in OrderFields]: P extends ByFields
|
|
28422
|
+
? never
|
|
28423
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
28424
|
+
}[OrderFields]
|
|
28425
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
28426
|
+
: ByValid extends True
|
|
28427
|
+
? {}
|
|
28428
|
+
: {
|
|
28429
|
+
[P in OrderFields]: P extends ByFields
|
|
28430
|
+
? never
|
|
28431
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
28432
|
+
}[OrderFields]
|
|
28433
|
+
>(args: SubsetIntersection<T, EventLogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEventLogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
28434
|
+
/**
|
|
28435
|
+
* Fields of the EventLog model
|
|
28436
|
+
*/
|
|
28437
|
+
readonly fields: EventLogFieldRefs;
|
|
28438
|
+
}
|
|
28439
|
+
|
|
28440
|
+
/**
|
|
28441
|
+
* The delegate class that acts as a "Promise-like" for EventLog.
|
|
28442
|
+
* Why is this prefixed with `Prisma__`?
|
|
28443
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
28444
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
28445
|
+
*/
|
|
28446
|
+
export interface Prisma__EventLogClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
|
|
28447
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
28448
|
+
/**
|
|
28449
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
28450
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
28451
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
28452
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
28453
|
+
*/
|
|
28454
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
28455
|
+
/**
|
|
28456
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
28457
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
28458
|
+
* @returns A Promise for the completion of the callback.
|
|
28459
|
+
*/
|
|
28460
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
28461
|
+
/**
|
|
28462
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
28463
|
+
* resolved value cannot be modified from the callback.
|
|
28464
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
28465
|
+
* @returns A Promise for the completion of the callback.
|
|
28466
|
+
*/
|
|
28467
|
+
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
28468
|
+
}
|
|
28469
|
+
|
|
28470
|
+
|
|
28471
|
+
|
|
28472
|
+
|
|
28473
|
+
/**
|
|
28474
|
+
* Fields of the EventLog model
|
|
28475
|
+
*/
|
|
28476
|
+
interface EventLogFieldRefs {
|
|
28477
|
+
readonly id: FieldRef<"EventLog", 'String'>
|
|
28478
|
+
readonly type: FieldRef<"EventLog", 'String'>
|
|
28479
|
+
readonly payload: FieldRef<"EventLog", 'String'>
|
|
28480
|
+
readonly correlationId: FieldRef<"EventLog", 'String'>
|
|
28481
|
+
readonly teamId: FieldRef<"EventLog", 'String'>
|
|
28482
|
+
readonly occurredAt: FieldRef<"EventLog", 'DateTime'>
|
|
28483
|
+
}
|
|
28484
|
+
|
|
28485
|
+
|
|
28486
|
+
// Custom InputTypes
|
|
28487
|
+
/**
|
|
28488
|
+
* EventLog findUnique
|
|
28489
|
+
*/
|
|
28490
|
+
export type EventLogFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
28491
|
+
/**
|
|
28492
|
+
* Select specific fields to fetch from the EventLog
|
|
28493
|
+
*/
|
|
28494
|
+
select?: EventLogSelect<ExtArgs> | null
|
|
28495
|
+
/**
|
|
28496
|
+
* Filter, which EventLog to fetch.
|
|
28497
|
+
*/
|
|
28498
|
+
where: EventLogWhereUniqueInput
|
|
28499
|
+
}
|
|
28500
|
+
|
|
28501
|
+
/**
|
|
28502
|
+
* EventLog findUniqueOrThrow
|
|
28503
|
+
*/
|
|
28504
|
+
export type EventLogFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
28505
|
+
/**
|
|
28506
|
+
* Select specific fields to fetch from the EventLog
|
|
28507
|
+
*/
|
|
28508
|
+
select?: EventLogSelect<ExtArgs> | null
|
|
28509
|
+
/**
|
|
28510
|
+
* Filter, which EventLog to fetch.
|
|
28511
|
+
*/
|
|
28512
|
+
where: EventLogWhereUniqueInput
|
|
28513
|
+
}
|
|
28514
|
+
|
|
28515
|
+
/**
|
|
28516
|
+
* EventLog findFirst
|
|
28517
|
+
*/
|
|
28518
|
+
export type EventLogFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
28519
|
+
/**
|
|
28520
|
+
* Select specific fields to fetch from the EventLog
|
|
28521
|
+
*/
|
|
28522
|
+
select?: EventLogSelect<ExtArgs> | null
|
|
28523
|
+
/**
|
|
28524
|
+
* Filter, which EventLog to fetch.
|
|
28525
|
+
*/
|
|
28526
|
+
where?: EventLogWhereInput
|
|
28527
|
+
/**
|
|
28528
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
28529
|
+
*
|
|
28530
|
+
* Determine the order of EventLogs to fetch.
|
|
28531
|
+
*/
|
|
28532
|
+
orderBy?: EventLogOrderByWithRelationInput | EventLogOrderByWithRelationInput[]
|
|
28533
|
+
/**
|
|
28534
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
28535
|
+
*
|
|
28536
|
+
* Sets the position for searching for EventLogs.
|
|
28537
|
+
*/
|
|
28538
|
+
cursor?: EventLogWhereUniqueInput
|
|
28539
|
+
/**
|
|
28540
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
28541
|
+
*
|
|
28542
|
+
* Take `±n` EventLogs from the position of the cursor.
|
|
28543
|
+
*/
|
|
28544
|
+
take?: number
|
|
28545
|
+
/**
|
|
28546
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
28547
|
+
*
|
|
28548
|
+
* Skip the first `n` EventLogs.
|
|
28549
|
+
*/
|
|
28550
|
+
skip?: number
|
|
28551
|
+
/**
|
|
28552
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
28553
|
+
*
|
|
28554
|
+
* Filter by unique combinations of EventLogs.
|
|
28555
|
+
*/
|
|
28556
|
+
distinct?: EventLogScalarFieldEnum | EventLogScalarFieldEnum[]
|
|
28557
|
+
}
|
|
28558
|
+
|
|
28559
|
+
/**
|
|
28560
|
+
* EventLog findFirstOrThrow
|
|
28561
|
+
*/
|
|
28562
|
+
export type EventLogFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
28563
|
+
/**
|
|
28564
|
+
* Select specific fields to fetch from the EventLog
|
|
28565
|
+
*/
|
|
28566
|
+
select?: EventLogSelect<ExtArgs> | null
|
|
28567
|
+
/**
|
|
28568
|
+
* Filter, which EventLog to fetch.
|
|
28569
|
+
*/
|
|
28570
|
+
where?: EventLogWhereInput
|
|
28571
|
+
/**
|
|
28572
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
28573
|
+
*
|
|
28574
|
+
* Determine the order of EventLogs to fetch.
|
|
28575
|
+
*/
|
|
28576
|
+
orderBy?: EventLogOrderByWithRelationInput | EventLogOrderByWithRelationInput[]
|
|
28577
|
+
/**
|
|
28578
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
28579
|
+
*
|
|
28580
|
+
* Sets the position for searching for EventLogs.
|
|
28581
|
+
*/
|
|
28582
|
+
cursor?: EventLogWhereUniqueInput
|
|
28583
|
+
/**
|
|
28584
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
28585
|
+
*
|
|
28586
|
+
* Take `±n` EventLogs from the position of the cursor.
|
|
28587
|
+
*/
|
|
28588
|
+
take?: number
|
|
28589
|
+
/**
|
|
28590
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
28591
|
+
*
|
|
28592
|
+
* Skip the first `n` EventLogs.
|
|
28593
|
+
*/
|
|
28594
|
+
skip?: number
|
|
28595
|
+
/**
|
|
28596
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
28597
|
+
*
|
|
28598
|
+
* Filter by unique combinations of EventLogs.
|
|
28599
|
+
*/
|
|
28600
|
+
distinct?: EventLogScalarFieldEnum | EventLogScalarFieldEnum[]
|
|
28601
|
+
}
|
|
28602
|
+
|
|
28603
|
+
/**
|
|
28604
|
+
* EventLog findMany
|
|
28605
|
+
*/
|
|
28606
|
+
export type EventLogFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
28607
|
+
/**
|
|
28608
|
+
* Select specific fields to fetch from the EventLog
|
|
28609
|
+
*/
|
|
28610
|
+
select?: EventLogSelect<ExtArgs> | null
|
|
28611
|
+
/**
|
|
28612
|
+
* Filter, which EventLogs to fetch.
|
|
28613
|
+
*/
|
|
28614
|
+
where?: EventLogWhereInput
|
|
28615
|
+
/**
|
|
28616
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
28617
|
+
*
|
|
28618
|
+
* Determine the order of EventLogs to fetch.
|
|
28619
|
+
*/
|
|
28620
|
+
orderBy?: EventLogOrderByWithRelationInput | EventLogOrderByWithRelationInput[]
|
|
28621
|
+
/**
|
|
28622
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
28623
|
+
*
|
|
28624
|
+
* Sets the position for listing EventLogs.
|
|
28625
|
+
*/
|
|
28626
|
+
cursor?: EventLogWhereUniqueInput
|
|
28627
|
+
/**
|
|
28628
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
28629
|
+
*
|
|
28630
|
+
* Take `±n` EventLogs from the position of the cursor.
|
|
28631
|
+
*/
|
|
28632
|
+
take?: number
|
|
28633
|
+
/**
|
|
28634
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
28635
|
+
*
|
|
28636
|
+
* Skip the first `n` EventLogs.
|
|
28637
|
+
*/
|
|
28638
|
+
skip?: number
|
|
28639
|
+
distinct?: EventLogScalarFieldEnum | EventLogScalarFieldEnum[]
|
|
28640
|
+
}
|
|
28641
|
+
|
|
28642
|
+
/**
|
|
28643
|
+
* EventLog create
|
|
28644
|
+
*/
|
|
28645
|
+
export type EventLogCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
28646
|
+
/**
|
|
28647
|
+
* Select specific fields to fetch from the EventLog
|
|
28648
|
+
*/
|
|
28649
|
+
select?: EventLogSelect<ExtArgs> | null
|
|
28650
|
+
/**
|
|
28651
|
+
* The data needed to create a EventLog.
|
|
28652
|
+
*/
|
|
28653
|
+
data: XOR<EventLogCreateInput, EventLogUncheckedCreateInput>
|
|
28654
|
+
}
|
|
28655
|
+
|
|
28656
|
+
/**
|
|
28657
|
+
* EventLog createMany
|
|
28658
|
+
*/
|
|
28659
|
+
export type EventLogCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
28660
|
+
/**
|
|
28661
|
+
* The data used to create many EventLogs.
|
|
28662
|
+
*/
|
|
28663
|
+
data: EventLogCreateManyInput | EventLogCreateManyInput[]
|
|
28664
|
+
}
|
|
28665
|
+
|
|
28666
|
+
/**
|
|
28667
|
+
* EventLog createManyAndReturn
|
|
28668
|
+
*/
|
|
28669
|
+
export type EventLogCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
28670
|
+
/**
|
|
28671
|
+
* Select specific fields to fetch from the EventLog
|
|
28672
|
+
*/
|
|
28673
|
+
select?: EventLogSelectCreateManyAndReturn<ExtArgs> | null
|
|
28674
|
+
/**
|
|
28675
|
+
* The data used to create many EventLogs.
|
|
28676
|
+
*/
|
|
28677
|
+
data: EventLogCreateManyInput | EventLogCreateManyInput[]
|
|
28678
|
+
}
|
|
28679
|
+
|
|
28680
|
+
/**
|
|
28681
|
+
* EventLog update
|
|
28682
|
+
*/
|
|
28683
|
+
export type EventLogUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
28684
|
+
/**
|
|
28685
|
+
* Select specific fields to fetch from the EventLog
|
|
28686
|
+
*/
|
|
28687
|
+
select?: EventLogSelect<ExtArgs> | null
|
|
28688
|
+
/**
|
|
28689
|
+
* The data needed to update a EventLog.
|
|
28690
|
+
*/
|
|
28691
|
+
data: XOR<EventLogUpdateInput, EventLogUncheckedUpdateInput>
|
|
28692
|
+
/**
|
|
28693
|
+
* Choose, which EventLog to update.
|
|
28694
|
+
*/
|
|
28695
|
+
where: EventLogWhereUniqueInput
|
|
28696
|
+
}
|
|
28697
|
+
|
|
28698
|
+
/**
|
|
28699
|
+
* EventLog updateMany
|
|
28700
|
+
*/
|
|
28701
|
+
export type EventLogUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
28702
|
+
/**
|
|
28703
|
+
* The data used to update EventLogs.
|
|
28704
|
+
*/
|
|
28705
|
+
data: XOR<EventLogUpdateManyMutationInput, EventLogUncheckedUpdateManyInput>
|
|
28706
|
+
/**
|
|
28707
|
+
* Filter which EventLogs to update
|
|
28708
|
+
*/
|
|
28709
|
+
where?: EventLogWhereInput
|
|
28710
|
+
}
|
|
28711
|
+
|
|
28712
|
+
/**
|
|
28713
|
+
* EventLog upsert
|
|
28714
|
+
*/
|
|
28715
|
+
export type EventLogUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
28716
|
+
/**
|
|
28717
|
+
* Select specific fields to fetch from the EventLog
|
|
28718
|
+
*/
|
|
28719
|
+
select?: EventLogSelect<ExtArgs> | null
|
|
28720
|
+
/**
|
|
28721
|
+
* The filter to search for the EventLog to update in case it exists.
|
|
28722
|
+
*/
|
|
28723
|
+
where: EventLogWhereUniqueInput
|
|
28724
|
+
/**
|
|
28725
|
+
* In case the EventLog found by the `where` argument doesn't exist, create a new EventLog with this data.
|
|
28726
|
+
*/
|
|
28727
|
+
create: XOR<EventLogCreateInput, EventLogUncheckedCreateInput>
|
|
28728
|
+
/**
|
|
28729
|
+
* In case the EventLog was found with the provided `where` argument, update it with this data.
|
|
28730
|
+
*/
|
|
28731
|
+
update: XOR<EventLogUpdateInput, EventLogUncheckedUpdateInput>
|
|
28732
|
+
}
|
|
28733
|
+
|
|
28734
|
+
/**
|
|
28735
|
+
* EventLog delete
|
|
28736
|
+
*/
|
|
28737
|
+
export type EventLogDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
28738
|
+
/**
|
|
28739
|
+
* Select specific fields to fetch from the EventLog
|
|
28740
|
+
*/
|
|
28741
|
+
select?: EventLogSelect<ExtArgs> | null
|
|
28742
|
+
/**
|
|
28743
|
+
* Filter which EventLog to delete.
|
|
28744
|
+
*/
|
|
28745
|
+
where: EventLogWhereUniqueInput
|
|
28746
|
+
}
|
|
28747
|
+
|
|
28748
|
+
/**
|
|
28749
|
+
* EventLog deleteMany
|
|
28750
|
+
*/
|
|
28751
|
+
export type EventLogDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
28752
|
+
/**
|
|
28753
|
+
* Filter which EventLogs to delete
|
|
28754
|
+
*/
|
|
28755
|
+
where?: EventLogWhereInput
|
|
28756
|
+
}
|
|
28757
|
+
|
|
28758
|
+
/**
|
|
28759
|
+
* EventLog without action
|
|
28760
|
+
*/
|
|
28761
|
+
export type EventLogDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
28762
|
+
/**
|
|
28763
|
+
* Select specific fields to fetch from the EventLog
|
|
28764
|
+
*/
|
|
28765
|
+
select?: EventLogSelect<ExtArgs> | null
|
|
28766
|
+
}
|
|
28767
|
+
|
|
28768
|
+
|
|
28769
|
+
/**
|
|
28770
|
+
* Model Project
|
|
28771
|
+
*/
|
|
28772
|
+
|
|
28773
|
+
export type AggregateProject = {
|
|
28774
|
+
_count: ProjectCountAggregateOutputType | null
|
|
28775
|
+
_min: ProjectMinAggregateOutputType | null
|
|
28776
|
+
_max: ProjectMaxAggregateOutputType | null
|
|
28777
|
+
}
|
|
28778
|
+
|
|
28779
|
+
export type ProjectMinAggregateOutputType = {
|
|
28780
|
+
id: string | null
|
|
28781
|
+
name: string | null
|
|
28782
|
+
teamId: string | null
|
|
28783
|
+
createdAt: Date | null
|
|
28784
|
+
}
|
|
28785
|
+
|
|
28786
|
+
export type ProjectMaxAggregateOutputType = {
|
|
28787
|
+
id: string | null
|
|
28788
|
+
name: string | null
|
|
28789
|
+
teamId: string | null
|
|
28790
|
+
createdAt: Date | null
|
|
28791
|
+
}
|
|
28792
|
+
|
|
28793
|
+
export type ProjectCountAggregateOutputType = {
|
|
28794
|
+
id: number
|
|
28795
|
+
name: number
|
|
28796
|
+
teamId: number
|
|
28797
|
+
createdAt: number
|
|
28798
|
+
_all: number
|
|
28799
|
+
}
|
|
28800
|
+
|
|
28801
|
+
|
|
28802
|
+
export type ProjectMinAggregateInputType = {
|
|
28803
|
+
id?: true
|
|
28804
|
+
name?: true
|
|
28805
|
+
teamId?: true
|
|
28806
|
+
createdAt?: true
|
|
28807
|
+
}
|
|
28808
|
+
|
|
28809
|
+
export type ProjectMaxAggregateInputType = {
|
|
28810
|
+
id?: true
|
|
28811
|
+
name?: true
|
|
28812
|
+
teamId?: true
|
|
28813
|
+
createdAt?: true
|
|
28814
|
+
}
|
|
28815
|
+
|
|
28816
|
+
export type ProjectCountAggregateInputType = {
|
|
28817
|
+
id?: true
|
|
28818
|
+
name?: true
|
|
28819
|
+
teamId?: true
|
|
28820
|
+
createdAt?: true
|
|
28821
|
+
_all?: true
|
|
28822
|
+
}
|
|
28823
|
+
|
|
28824
|
+
export type ProjectAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
28825
|
+
/**
|
|
28826
|
+
* Filter which Project to aggregate.
|
|
28827
|
+
*/
|
|
28828
|
+
where?: ProjectWhereInput
|
|
28829
|
+
/**
|
|
28830
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
28831
|
+
*
|
|
28832
|
+
* Determine the order of Projects to fetch.
|
|
28833
|
+
*/
|
|
28834
|
+
orderBy?: ProjectOrderByWithRelationInput | ProjectOrderByWithRelationInput[]
|
|
28835
|
+
/**
|
|
28836
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
28837
|
+
*
|
|
28838
|
+
* Sets the start position
|
|
28839
|
+
*/
|
|
28840
|
+
cursor?: ProjectWhereUniqueInput
|
|
28841
|
+
/**
|
|
28842
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
28843
|
+
*
|
|
28844
|
+
* Take `±n` Projects from the position of the cursor.
|
|
28845
|
+
*/
|
|
28846
|
+
take?: number
|
|
28847
|
+
/**
|
|
28848
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
28849
|
+
*
|
|
28850
|
+
* Skip the first `n` Projects.
|
|
28851
|
+
*/
|
|
28852
|
+
skip?: number
|
|
28853
|
+
/**
|
|
28854
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
28855
|
+
*
|
|
28856
|
+
* Count returned Projects
|
|
28857
|
+
**/
|
|
28858
|
+
_count?: true | ProjectCountAggregateInputType
|
|
28859
|
+
/**
|
|
28860
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
28861
|
+
*
|
|
28862
|
+
* Select which fields to find the minimum value
|
|
28863
|
+
**/
|
|
28864
|
+
_min?: ProjectMinAggregateInputType
|
|
28865
|
+
/**
|
|
28866
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
28867
|
+
*
|
|
28868
|
+
* Select which fields to find the maximum value
|
|
28869
|
+
**/
|
|
28870
|
+
_max?: ProjectMaxAggregateInputType
|
|
28871
|
+
}
|
|
28872
|
+
|
|
28873
|
+
export type GetProjectAggregateType<T extends ProjectAggregateArgs> = {
|
|
28874
|
+
[P in keyof T & keyof AggregateProject]: P extends '_count' | 'count'
|
|
28875
|
+
? T[P] extends true
|
|
28876
|
+
? number
|
|
28877
|
+
: GetScalarType<T[P], AggregateProject[P]>
|
|
28878
|
+
: GetScalarType<T[P], AggregateProject[P]>
|
|
28879
|
+
}
|
|
28880
|
+
|
|
28881
|
+
|
|
28882
|
+
|
|
28883
|
+
|
|
28884
|
+
export type ProjectGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
28885
|
+
where?: ProjectWhereInput
|
|
28886
|
+
orderBy?: ProjectOrderByWithAggregationInput | ProjectOrderByWithAggregationInput[]
|
|
28887
|
+
by: ProjectScalarFieldEnum[] | ProjectScalarFieldEnum
|
|
28888
|
+
having?: ProjectScalarWhereWithAggregatesInput
|
|
28889
|
+
take?: number
|
|
28890
|
+
skip?: number
|
|
28891
|
+
_count?: ProjectCountAggregateInputType | true
|
|
28892
|
+
_min?: ProjectMinAggregateInputType
|
|
28893
|
+
_max?: ProjectMaxAggregateInputType
|
|
28894
|
+
}
|
|
28895
|
+
|
|
28896
|
+
export type ProjectGroupByOutputType = {
|
|
28897
|
+
id: string
|
|
28898
|
+
name: string
|
|
28899
|
+
teamId: string | null
|
|
28900
|
+
createdAt: Date
|
|
28901
|
+
_count: ProjectCountAggregateOutputType | null
|
|
28902
|
+
_min: ProjectMinAggregateOutputType | null
|
|
28903
|
+
_max: ProjectMaxAggregateOutputType | null
|
|
28904
|
+
}
|
|
28905
|
+
|
|
28906
|
+
type GetProjectGroupByPayload<T extends ProjectGroupByArgs> = Prisma.PrismaPromise<
|
|
28907
|
+
Array<
|
|
28908
|
+
PickEnumerable<ProjectGroupByOutputType, T['by']> &
|
|
28909
|
+
{
|
|
28910
|
+
[P in ((keyof T) & (keyof ProjectGroupByOutputType))]: P extends '_count'
|
|
28911
|
+
? T[P] extends boolean
|
|
28912
|
+
? number
|
|
28913
|
+
: GetScalarType<T[P], ProjectGroupByOutputType[P]>
|
|
28914
|
+
: GetScalarType<T[P], ProjectGroupByOutputType[P]>
|
|
28915
|
+
}
|
|
28916
|
+
>
|
|
28917
|
+
>
|
|
28918
|
+
|
|
28919
|
+
|
|
28920
|
+
export type ProjectSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
28921
|
+
id?: boolean
|
|
28922
|
+
name?: boolean
|
|
28923
|
+
teamId?: boolean
|
|
28924
|
+
createdAt?: boolean
|
|
28925
|
+
}, ExtArgs["result"]["project"]>
|
|
28926
|
+
|
|
28927
|
+
export type ProjectSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
28928
|
+
id?: boolean
|
|
28929
|
+
name?: boolean
|
|
28930
|
+
teamId?: boolean
|
|
28931
|
+
createdAt?: boolean
|
|
28932
|
+
}, ExtArgs["result"]["project"]>
|
|
28933
|
+
|
|
28934
|
+
export type ProjectSelectScalar = {
|
|
28935
|
+
id?: boolean
|
|
28936
|
+
name?: boolean
|
|
28937
|
+
teamId?: boolean
|
|
28938
|
+
createdAt?: boolean
|
|
28939
|
+
}
|
|
28940
|
+
|
|
28941
|
+
|
|
28942
|
+
export type $ProjectPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
28943
|
+
name: "Project"
|
|
28944
|
+
objects: {}
|
|
28945
|
+
scalars: $Extensions.GetPayloadResult<{
|
|
28946
|
+
id: string
|
|
28947
|
+
name: string
|
|
28948
|
+
teamId: string | null
|
|
28949
|
+
createdAt: Date
|
|
28950
|
+
}, ExtArgs["result"]["project"]>
|
|
28951
|
+
composites: {}
|
|
28952
|
+
}
|
|
28953
|
+
|
|
28954
|
+
type ProjectGetPayload<S extends boolean | null | undefined | ProjectDefaultArgs> = $Result.GetResult<Prisma.$ProjectPayload, S>
|
|
28955
|
+
|
|
28956
|
+
type ProjectCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
28957
|
+
Omit<ProjectFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
|
28958
|
+
select?: ProjectCountAggregateInputType | true
|
|
28959
|
+
}
|
|
28960
|
+
|
|
28961
|
+
export interface ProjectDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
|
|
28962
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Project'], meta: { name: 'Project' } }
|
|
28963
|
+
/**
|
|
28964
|
+
* Find zero or one Project that matches the filter.
|
|
28965
|
+
* @param {ProjectFindUniqueArgs} args - Arguments to find a Project
|
|
28966
|
+
* @example
|
|
28967
|
+
* // Get one Project
|
|
28968
|
+
* const project = await prisma.project.findUnique({
|
|
28969
|
+
* where: {
|
|
28970
|
+
* // ... provide filter here
|
|
28971
|
+
* }
|
|
28972
|
+
* })
|
|
28973
|
+
*/
|
|
28974
|
+
findUnique<T extends ProjectFindUniqueArgs>(args: SelectSubset<T, ProjectFindUniqueArgs<ExtArgs>>): Prisma__ProjectClient<$Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
|
|
28975
|
+
|
|
28976
|
+
/**
|
|
28977
|
+
* Find one Project that matches the filter or throw an error with `error.code='P2025'`
|
|
28978
|
+
* if no matches were found.
|
|
28979
|
+
* @param {ProjectFindUniqueOrThrowArgs} args - Arguments to find a Project
|
|
28980
|
+
* @example
|
|
28981
|
+
* // Get one Project
|
|
28982
|
+
* const project = await prisma.project.findUniqueOrThrow({
|
|
28983
|
+
* where: {
|
|
28984
|
+
* // ... provide filter here
|
|
28985
|
+
* }
|
|
28986
|
+
* })
|
|
28987
|
+
*/
|
|
28988
|
+
findUniqueOrThrow<T extends ProjectFindUniqueOrThrowArgs>(args: SelectSubset<T, ProjectFindUniqueOrThrowArgs<ExtArgs>>): Prisma__ProjectClient<$Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
|
|
28989
|
+
|
|
28990
|
+
/**
|
|
28991
|
+
* Find the first Project that matches the filter.
|
|
28992
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
28993
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
28994
|
+
* @param {ProjectFindFirstArgs} args - Arguments to find a Project
|
|
28995
|
+
* @example
|
|
28996
|
+
* // Get one Project
|
|
28997
|
+
* const project = await prisma.project.findFirst({
|
|
28998
|
+
* where: {
|
|
28999
|
+
* // ... provide filter here
|
|
29000
|
+
* }
|
|
29001
|
+
* })
|
|
29002
|
+
*/
|
|
29003
|
+
findFirst<T extends ProjectFindFirstArgs>(args?: SelectSubset<T, ProjectFindFirstArgs<ExtArgs>>): Prisma__ProjectClient<$Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
|
|
29004
|
+
|
|
29005
|
+
/**
|
|
29006
|
+
* Find the first Project that matches the filter or
|
|
29007
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
29008
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
29009
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
29010
|
+
* @param {ProjectFindFirstOrThrowArgs} args - Arguments to find a Project
|
|
29011
|
+
* @example
|
|
29012
|
+
* // Get one Project
|
|
29013
|
+
* const project = await prisma.project.findFirstOrThrow({
|
|
29014
|
+
* where: {
|
|
29015
|
+
* // ... provide filter here
|
|
29016
|
+
* }
|
|
29017
|
+
* })
|
|
29018
|
+
*/
|
|
29019
|
+
findFirstOrThrow<T extends ProjectFindFirstOrThrowArgs>(args?: SelectSubset<T, ProjectFindFirstOrThrowArgs<ExtArgs>>): Prisma__ProjectClient<$Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
|
|
29020
|
+
|
|
29021
|
+
/**
|
|
29022
|
+
* Find zero or more Projects that matches the filter.
|
|
29023
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
29024
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
29025
|
+
* @param {ProjectFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
29026
|
+
* @example
|
|
29027
|
+
* // Get all Projects
|
|
29028
|
+
* const projects = await prisma.project.findMany()
|
|
29029
|
+
*
|
|
29030
|
+
* // Get first 10 Projects
|
|
29031
|
+
* const projects = await prisma.project.findMany({ take: 10 })
|
|
29032
|
+
*
|
|
29033
|
+
* // Only select the `id`
|
|
29034
|
+
* const projectWithIdOnly = await prisma.project.findMany({ select: { id: true } })
|
|
29035
|
+
*
|
|
29036
|
+
*/
|
|
29037
|
+
findMany<T extends ProjectFindManyArgs>(args?: SelectSubset<T, ProjectFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findMany">>
|
|
29038
|
+
|
|
29039
|
+
/**
|
|
29040
|
+
* Create a Project.
|
|
29041
|
+
* @param {ProjectCreateArgs} args - Arguments to create a Project.
|
|
29042
|
+
* @example
|
|
29043
|
+
* // Create one Project
|
|
29044
|
+
* const Project = await prisma.project.create({
|
|
29045
|
+
* data: {
|
|
29046
|
+
* // ... data to create a Project
|
|
29047
|
+
* }
|
|
29048
|
+
* })
|
|
29049
|
+
*
|
|
29050
|
+
*/
|
|
29051
|
+
create<T extends ProjectCreateArgs>(args: SelectSubset<T, ProjectCreateArgs<ExtArgs>>): Prisma__ProjectClient<$Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "create">, never, ExtArgs>
|
|
29052
|
+
|
|
29053
|
+
/**
|
|
29054
|
+
* Create many Projects.
|
|
29055
|
+
* @param {ProjectCreateManyArgs} args - Arguments to create many Projects.
|
|
29056
|
+
* @example
|
|
29057
|
+
* // Create many Projects
|
|
29058
|
+
* const project = await prisma.project.createMany({
|
|
29059
|
+
* data: [
|
|
29060
|
+
* // ... provide data here
|
|
29061
|
+
* ]
|
|
29062
|
+
* })
|
|
29063
|
+
*
|
|
29064
|
+
*/
|
|
29065
|
+
createMany<T extends ProjectCreateManyArgs>(args?: SelectSubset<T, ProjectCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
29066
|
+
|
|
29067
|
+
/**
|
|
29068
|
+
* Create many Projects and returns the data saved in the database.
|
|
29069
|
+
* @param {ProjectCreateManyAndReturnArgs} args - Arguments to create many Projects.
|
|
29070
|
+
* @example
|
|
29071
|
+
* // Create many Projects
|
|
29072
|
+
* const project = await prisma.project.createManyAndReturn({
|
|
29073
|
+
* data: [
|
|
29074
|
+
* // ... provide data here
|
|
29075
|
+
* ]
|
|
29076
|
+
* })
|
|
29077
|
+
*
|
|
29078
|
+
* // Create many Projects and only return the `id`
|
|
29079
|
+
* const projectWithIdOnly = await prisma.project.createManyAndReturn({
|
|
29080
|
+
* select: { id: true },
|
|
29081
|
+
* data: [
|
|
29082
|
+
* // ... provide data here
|
|
29083
|
+
* ]
|
|
29084
|
+
* })
|
|
29085
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
29086
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
29087
|
+
*
|
|
29088
|
+
*/
|
|
29089
|
+
createManyAndReturn<T extends ProjectCreateManyAndReturnArgs>(args?: SelectSubset<T, ProjectCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "createManyAndReturn">>
|
|
29090
|
+
|
|
29091
|
+
/**
|
|
29092
|
+
* Delete a Project.
|
|
29093
|
+
* @param {ProjectDeleteArgs} args - Arguments to delete one Project.
|
|
29094
|
+
* @example
|
|
29095
|
+
* // Delete one Project
|
|
29096
|
+
* const Project = await prisma.project.delete({
|
|
29097
|
+
* where: {
|
|
29098
|
+
* // ... filter to delete one Project
|
|
29099
|
+
* }
|
|
29100
|
+
* })
|
|
29101
|
+
*
|
|
29102
|
+
*/
|
|
29103
|
+
delete<T extends ProjectDeleteArgs>(args: SelectSubset<T, ProjectDeleteArgs<ExtArgs>>): Prisma__ProjectClient<$Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "delete">, never, ExtArgs>
|
|
29104
|
+
|
|
29105
|
+
/**
|
|
29106
|
+
* Update one Project.
|
|
29107
|
+
* @param {ProjectUpdateArgs} args - Arguments to update one Project.
|
|
29108
|
+
* @example
|
|
29109
|
+
* // Update one Project
|
|
29110
|
+
* const project = await prisma.project.update({
|
|
29111
|
+
* where: {
|
|
29112
|
+
* // ... provide filter here
|
|
29113
|
+
* },
|
|
29114
|
+
* data: {
|
|
29115
|
+
* // ... provide data here
|
|
29116
|
+
* }
|
|
29117
|
+
* })
|
|
29118
|
+
*
|
|
29119
|
+
*/
|
|
29120
|
+
update<T extends ProjectUpdateArgs>(args: SelectSubset<T, ProjectUpdateArgs<ExtArgs>>): Prisma__ProjectClient<$Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "update">, never, ExtArgs>
|
|
29121
|
+
|
|
29122
|
+
/**
|
|
29123
|
+
* Delete zero or more Projects.
|
|
29124
|
+
* @param {ProjectDeleteManyArgs} args - Arguments to filter Projects to delete.
|
|
29125
|
+
* @example
|
|
29126
|
+
* // Delete a few Projects
|
|
29127
|
+
* const { count } = await prisma.project.deleteMany({
|
|
29128
|
+
* where: {
|
|
29129
|
+
* // ... provide filter here
|
|
29130
|
+
* }
|
|
29131
|
+
* })
|
|
29132
|
+
*
|
|
29133
|
+
*/
|
|
29134
|
+
deleteMany<T extends ProjectDeleteManyArgs>(args?: SelectSubset<T, ProjectDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
29135
|
+
|
|
29136
|
+
/**
|
|
29137
|
+
* Update zero or more Projects.
|
|
29138
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
29139
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
29140
|
+
* @param {ProjectUpdateManyArgs} args - Arguments to update one or more rows.
|
|
29141
|
+
* @example
|
|
29142
|
+
* // Update many Projects
|
|
29143
|
+
* const project = await prisma.project.updateMany({
|
|
29144
|
+
* where: {
|
|
29145
|
+
* // ... provide filter here
|
|
29146
|
+
* },
|
|
29147
|
+
* data: {
|
|
29148
|
+
* // ... provide data here
|
|
29149
|
+
* }
|
|
29150
|
+
* })
|
|
29151
|
+
*
|
|
29152
|
+
*/
|
|
29153
|
+
updateMany<T extends ProjectUpdateManyArgs>(args: SelectSubset<T, ProjectUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
29154
|
+
|
|
29155
|
+
/**
|
|
29156
|
+
* Create or update one Project.
|
|
29157
|
+
* @param {ProjectUpsertArgs} args - Arguments to update or create a Project.
|
|
29158
|
+
* @example
|
|
29159
|
+
* // Update or create a Project
|
|
29160
|
+
* const project = await prisma.project.upsert({
|
|
29161
|
+
* create: {
|
|
29162
|
+
* // ... data to create a Project
|
|
29163
|
+
* },
|
|
29164
|
+
* update: {
|
|
29165
|
+
* // ... in case it already exists, update
|
|
29166
|
+
* },
|
|
29167
|
+
* where: {
|
|
29168
|
+
* // ... the filter for the Project we want to update
|
|
29169
|
+
* }
|
|
29170
|
+
* })
|
|
29171
|
+
*/
|
|
29172
|
+
upsert<T extends ProjectUpsertArgs>(args: SelectSubset<T, ProjectUpsertArgs<ExtArgs>>): Prisma__ProjectClient<$Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "upsert">, never, ExtArgs>
|
|
29173
|
+
|
|
29174
|
+
|
|
29175
|
+
/**
|
|
29176
|
+
* Count the number of Projects.
|
|
29177
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
29178
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
29179
|
+
* @param {ProjectCountArgs} args - Arguments to filter Projects to count.
|
|
29180
|
+
* @example
|
|
29181
|
+
* // Count the number of Projects
|
|
29182
|
+
* const count = await prisma.project.count({
|
|
29183
|
+
* where: {
|
|
29184
|
+
* // ... the filter for the Projects we want to count
|
|
29185
|
+
* }
|
|
29186
|
+
* })
|
|
29187
|
+
**/
|
|
29188
|
+
count<T extends ProjectCountArgs>(
|
|
29189
|
+
args?: Subset<T, ProjectCountArgs>,
|
|
29190
|
+
): Prisma.PrismaPromise<
|
|
29191
|
+
T extends $Utils.Record<'select', any>
|
|
29192
|
+
? T['select'] extends true
|
|
29193
|
+
? number
|
|
29194
|
+
: GetScalarType<T['select'], ProjectCountAggregateOutputType>
|
|
29195
|
+
: number
|
|
29196
|
+
>
|
|
29197
|
+
|
|
29198
|
+
/**
|
|
29199
|
+
* Allows you to perform aggregations operations on a Project.
|
|
29200
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
29201
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
29202
|
+
* @param {ProjectAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
29203
|
+
* @example
|
|
29204
|
+
* // Ordered by age ascending
|
|
29205
|
+
* // Where email contains prisma.io
|
|
29206
|
+
* // Limited to the 10 users
|
|
29207
|
+
* const aggregations = await prisma.user.aggregate({
|
|
29208
|
+
* _avg: {
|
|
29209
|
+
* age: true,
|
|
29210
|
+
* },
|
|
29211
|
+
* where: {
|
|
29212
|
+
* email: {
|
|
29213
|
+
* contains: "prisma.io",
|
|
29214
|
+
* },
|
|
29215
|
+
* },
|
|
29216
|
+
* orderBy: {
|
|
29217
|
+
* age: "asc",
|
|
29218
|
+
* },
|
|
29219
|
+
* take: 10,
|
|
29220
|
+
* })
|
|
29221
|
+
**/
|
|
29222
|
+
aggregate<T extends ProjectAggregateArgs>(args: Subset<T, ProjectAggregateArgs>): Prisma.PrismaPromise<GetProjectAggregateType<T>>
|
|
29223
|
+
|
|
29224
|
+
/**
|
|
29225
|
+
* Group by Project.
|
|
29226
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
29227
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
29228
|
+
* @param {ProjectGroupByArgs} args - Group by arguments.
|
|
29229
|
+
* @example
|
|
29230
|
+
* // Group by city, order by createdAt, get count
|
|
29231
|
+
* const result = await prisma.user.groupBy({
|
|
29232
|
+
* by: ['city', 'createdAt'],
|
|
29233
|
+
* orderBy: {
|
|
29234
|
+
* createdAt: true
|
|
29235
|
+
* },
|
|
29236
|
+
* _count: {
|
|
29237
|
+
* _all: true
|
|
29238
|
+
* },
|
|
29239
|
+
* })
|
|
29240
|
+
*
|
|
29241
|
+
**/
|
|
29242
|
+
groupBy<
|
|
29243
|
+
T extends ProjectGroupByArgs,
|
|
29244
|
+
HasSelectOrTake extends Or<
|
|
29245
|
+
Extends<'skip', Keys<T>>,
|
|
29246
|
+
Extends<'take', Keys<T>>
|
|
29247
|
+
>,
|
|
29248
|
+
OrderByArg extends True extends HasSelectOrTake
|
|
29249
|
+
? { orderBy: ProjectGroupByArgs['orderBy'] }
|
|
29250
|
+
: { orderBy?: ProjectGroupByArgs['orderBy'] },
|
|
29251
|
+
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
29252
|
+
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
29253
|
+
ByValid extends Has<ByFields, OrderFields>,
|
|
29254
|
+
HavingFields extends GetHavingFields<T['having']>,
|
|
29255
|
+
HavingValid extends Has<ByFields, HavingFields>,
|
|
29256
|
+
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
29257
|
+
InputErrors extends ByEmpty extends True
|
|
29258
|
+
? `Error: "by" must not be empty.`
|
|
29259
|
+
: HavingValid extends False
|
|
29260
|
+
? {
|
|
29261
|
+
[P in HavingFields]: P extends ByFields
|
|
29262
|
+
? never
|
|
29263
|
+
: P extends string
|
|
29264
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
29265
|
+
: [
|
|
29266
|
+
Error,
|
|
29267
|
+
'Field ',
|
|
29268
|
+
P,
|
|
29269
|
+
` in "having" needs to be provided in "by"`,
|
|
29270
|
+
]
|
|
29271
|
+
}[HavingFields]
|
|
29272
|
+
: 'take' extends Keys<T>
|
|
29273
|
+
? 'orderBy' extends Keys<T>
|
|
29274
|
+
? ByValid extends True
|
|
29275
|
+
? {}
|
|
29276
|
+
: {
|
|
29277
|
+
[P in OrderFields]: P extends ByFields
|
|
29278
|
+
? never
|
|
29279
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
29280
|
+
}[OrderFields]
|
|
29281
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
29282
|
+
: 'skip' extends Keys<T>
|
|
29283
|
+
? 'orderBy' extends Keys<T>
|
|
29284
|
+
? ByValid extends True
|
|
29285
|
+
? {}
|
|
29286
|
+
: {
|
|
29287
|
+
[P in OrderFields]: P extends ByFields
|
|
29288
|
+
? never
|
|
29289
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
29290
|
+
}[OrderFields]
|
|
29291
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
29292
|
+
: ByValid extends True
|
|
29293
|
+
? {}
|
|
29294
|
+
: {
|
|
29295
|
+
[P in OrderFields]: P extends ByFields
|
|
29296
|
+
? never
|
|
29297
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
29298
|
+
}[OrderFields]
|
|
29299
|
+
>(args: SubsetIntersection<T, ProjectGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProjectGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
29300
|
+
/**
|
|
29301
|
+
* Fields of the Project model
|
|
29302
|
+
*/
|
|
29303
|
+
readonly fields: ProjectFieldRefs;
|
|
29304
|
+
}
|
|
29305
|
+
|
|
29306
|
+
/**
|
|
29307
|
+
* The delegate class that acts as a "Promise-like" for Project.
|
|
29308
|
+
* Why is this prefixed with `Prisma__`?
|
|
29309
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
29310
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
29311
|
+
*/
|
|
29312
|
+
export interface Prisma__ProjectClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
|
|
29313
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
29314
|
+
/**
|
|
29315
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
29316
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
29317
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
29318
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
29319
|
+
*/
|
|
29320
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
29321
|
+
/**
|
|
29322
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
29323
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
29324
|
+
* @returns A Promise for the completion of the callback.
|
|
29325
|
+
*/
|
|
29326
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
29327
|
+
/**
|
|
29328
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
29329
|
+
* resolved value cannot be modified from the callback.
|
|
29330
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
29331
|
+
* @returns A Promise for the completion of the callback.
|
|
29332
|
+
*/
|
|
29333
|
+
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
29334
|
+
}
|
|
29335
|
+
|
|
29336
|
+
|
|
29337
|
+
|
|
29338
|
+
|
|
29339
|
+
/**
|
|
29340
|
+
* Fields of the Project model
|
|
27374
29341
|
*/
|
|
27375
|
-
interface
|
|
27376
|
-
readonly
|
|
27377
|
-
readonly
|
|
27378
|
-
readonly
|
|
29342
|
+
interface ProjectFieldRefs {
|
|
29343
|
+
readonly id: FieldRef<"Project", 'String'>
|
|
29344
|
+
readonly name: FieldRef<"Project", 'String'>
|
|
29345
|
+
readonly teamId: FieldRef<"Project", 'String'>
|
|
29346
|
+
readonly createdAt: FieldRef<"Project", 'DateTime'>
|
|
27379
29347
|
}
|
|
27380
29348
|
|
|
27381
29349
|
|
|
27382
29350
|
// Custom InputTypes
|
|
27383
29351
|
/**
|
|
27384
|
-
*
|
|
29352
|
+
* Project findUnique
|
|
27385
29353
|
*/
|
|
27386
|
-
export type
|
|
27387
|
-
/**
|
|
27388
|
-
* Select specific fields to fetch from the TeamMember
|
|
27389
|
-
*/
|
|
27390
|
-
select?: TeamMemberSelect<ExtArgs> | null
|
|
29354
|
+
export type ProjectFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27391
29355
|
/**
|
|
27392
|
-
*
|
|
29356
|
+
* Select specific fields to fetch from the Project
|
|
27393
29357
|
*/
|
|
27394
|
-
|
|
29358
|
+
select?: ProjectSelect<ExtArgs> | null
|
|
27395
29359
|
/**
|
|
27396
|
-
* Filter, which
|
|
29360
|
+
* Filter, which Project to fetch.
|
|
27397
29361
|
*/
|
|
27398
|
-
where:
|
|
29362
|
+
where: ProjectWhereUniqueInput
|
|
27399
29363
|
}
|
|
27400
29364
|
|
|
27401
29365
|
/**
|
|
27402
|
-
*
|
|
29366
|
+
* Project findUniqueOrThrow
|
|
27403
29367
|
*/
|
|
27404
|
-
export type
|
|
27405
|
-
/**
|
|
27406
|
-
* Select specific fields to fetch from the TeamMember
|
|
27407
|
-
*/
|
|
27408
|
-
select?: TeamMemberSelect<ExtArgs> | null
|
|
29368
|
+
export type ProjectFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27409
29369
|
/**
|
|
27410
|
-
*
|
|
29370
|
+
* Select specific fields to fetch from the Project
|
|
27411
29371
|
*/
|
|
27412
|
-
|
|
29372
|
+
select?: ProjectSelect<ExtArgs> | null
|
|
27413
29373
|
/**
|
|
27414
|
-
* Filter, which
|
|
29374
|
+
* Filter, which Project to fetch.
|
|
27415
29375
|
*/
|
|
27416
|
-
where:
|
|
29376
|
+
where: ProjectWhereUniqueInput
|
|
27417
29377
|
}
|
|
27418
29378
|
|
|
27419
29379
|
/**
|
|
27420
|
-
*
|
|
29380
|
+
* Project findFirst
|
|
27421
29381
|
*/
|
|
27422
|
-
export type
|
|
27423
|
-
/**
|
|
27424
|
-
* Select specific fields to fetch from the TeamMember
|
|
27425
|
-
*/
|
|
27426
|
-
select?: TeamMemberSelect<ExtArgs> | null
|
|
29382
|
+
export type ProjectFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27427
29383
|
/**
|
|
27428
|
-
*
|
|
29384
|
+
* Select specific fields to fetch from the Project
|
|
27429
29385
|
*/
|
|
27430
|
-
|
|
29386
|
+
select?: ProjectSelect<ExtArgs> | null
|
|
27431
29387
|
/**
|
|
27432
|
-
* Filter, which
|
|
29388
|
+
* Filter, which Project to fetch.
|
|
27433
29389
|
*/
|
|
27434
|
-
where?:
|
|
29390
|
+
where?: ProjectWhereInput
|
|
27435
29391
|
/**
|
|
27436
29392
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
27437
29393
|
*
|
|
27438
|
-
* Determine the order of
|
|
29394
|
+
* Determine the order of Projects to fetch.
|
|
27439
29395
|
*/
|
|
27440
|
-
orderBy?:
|
|
29396
|
+
orderBy?: ProjectOrderByWithRelationInput | ProjectOrderByWithRelationInput[]
|
|
27441
29397
|
/**
|
|
27442
29398
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
27443
29399
|
*
|
|
27444
|
-
* Sets the position for searching for
|
|
29400
|
+
* Sets the position for searching for Projects.
|
|
27445
29401
|
*/
|
|
27446
|
-
cursor?:
|
|
29402
|
+
cursor?: ProjectWhereUniqueInput
|
|
27447
29403
|
/**
|
|
27448
29404
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
27449
29405
|
*
|
|
27450
|
-
* Take `±n`
|
|
29406
|
+
* Take `±n` Projects from the position of the cursor.
|
|
27451
29407
|
*/
|
|
27452
29408
|
take?: number
|
|
27453
29409
|
/**
|
|
27454
29410
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
27455
29411
|
*
|
|
27456
|
-
* Skip the first `n`
|
|
29412
|
+
* Skip the first `n` Projects.
|
|
27457
29413
|
*/
|
|
27458
29414
|
skip?: number
|
|
27459
29415
|
/**
|
|
27460
29416
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
27461
29417
|
*
|
|
27462
|
-
* Filter by unique combinations of
|
|
29418
|
+
* Filter by unique combinations of Projects.
|
|
27463
29419
|
*/
|
|
27464
|
-
distinct?:
|
|
29420
|
+
distinct?: ProjectScalarFieldEnum | ProjectScalarFieldEnum[]
|
|
27465
29421
|
}
|
|
27466
29422
|
|
|
27467
29423
|
/**
|
|
27468
|
-
*
|
|
29424
|
+
* Project findFirstOrThrow
|
|
27469
29425
|
*/
|
|
27470
|
-
export type
|
|
29426
|
+
export type ProjectFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27471
29427
|
/**
|
|
27472
|
-
* Select specific fields to fetch from the
|
|
27473
|
-
*/
|
|
27474
|
-
select?: TeamMemberSelect<ExtArgs> | null
|
|
27475
|
-
/**
|
|
27476
|
-
* Choose, which related nodes to fetch as well
|
|
29428
|
+
* Select specific fields to fetch from the Project
|
|
27477
29429
|
*/
|
|
27478
|
-
|
|
29430
|
+
select?: ProjectSelect<ExtArgs> | null
|
|
27479
29431
|
/**
|
|
27480
|
-
* Filter, which
|
|
29432
|
+
* Filter, which Project to fetch.
|
|
27481
29433
|
*/
|
|
27482
|
-
where?:
|
|
29434
|
+
where?: ProjectWhereInput
|
|
27483
29435
|
/**
|
|
27484
29436
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
27485
29437
|
*
|
|
27486
|
-
* Determine the order of
|
|
29438
|
+
* Determine the order of Projects to fetch.
|
|
27487
29439
|
*/
|
|
27488
|
-
orderBy?:
|
|
29440
|
+
orderBy?: ProjectOrderByWithRelationInput | ProjectOrderByWithRelationInput[]
|
|
27489
29441
|
/**
|
|
27490
29442
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
27491
29443
|
*
|
|
27492
|
-
* Sets the position for searching for
|
|
29444
|
+
* Sets the position for searching for Projects.
|
|
27493
29445
|
*/
|
|
27494
|
-
cursor?:
|
|
29446
|
+
cursor?: ProjectWhereUniqueInput
|
|
27495
29447
|
/**
|
|
27496
29448
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
27497
29449
|
*
|
|
27498
|
-
* Take `±n`
|
|
29450
|
+
* Take `±n` Projects from the position of the cursor.
|
|
27499
29451
|
*/
|
|
27500
29452
|
take?: number
|
|
27501
29453
|
/**
|
|
27502
29454
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
27503
29455
|
*
|
|
27504
|
-
* Skip the first `n`
|
|
29456
|
+
* Skip the first `n` Projects.
|
|
27505
29457
|
*/
|
|
27506
29458
|
skip?: number
|
|
27507
29459
|
/**
|
|
27508
29460
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
27509
29461
|
*
|
|
27510
|
-
* Filter by unique combinations of
|
|
29462
|
+
* Filter by unique combinations of Projects.
|
|
27511
29463
|
*/
|
|
27512
|
-
distinct?:
|
|
29464
|
+
distinct?: ProjectScalarFieldEnum | ProjectScalarFieldEnum[]
|
|
27513
29465
|
}
|
|
27514
29466
|
|
|
27515
29467
|
/**
|
|
27516
|
-
*
|
|
29468
|
+
* Project findMany
|
|
27517
29469
|
*/
|
|
27518
|
-
export type
|
|
29470
|
+
export type ProjectFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27519
29471
|
/**
|
|
27520
|
-
* Select specific fields to fetch from the
|
|
29472
|
+
* Select specific fields to fetch from the Project
|
|
27521
29473
|
*/
|
|
27522
|
-
select?:
|
|
29474
|
+
select?: ProjectSelect<ExtArgs> | null
|
|
27523
29475
|
/**
|
|
27524
|
-
*
|
|
29476
|
+
* Filter, which Projects to fetch.
|
|
27525
29477
|
*/
|
|
27526
|
-
|
|
27527
|
-
/**
|
|
27528
|
-
* Filter, which TeamMembers to fetch.
|
|
27529
|
-
*/
|
|
27530
|
-
where?: TeamMemberWhereInput
|
|
29478
|
+
where?: ProjectWhereInput
|
|
27531
29479
|
/**
|
|
27532
29480
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
27533
29481
|
*
|
|
27534
|
-
* Determine the order of
|
|
29482
|
+
* Determine the order of Projects to fetch.
|
|
27535
29483
|
*/
|
|
27536
|
-
orderBy?:
|
|
29484
|
+
orderBy?: ProjectOrderByWithRelationInput | ProjectOrderByWithRelationInput[]
|
|
27537
29485
|
/**
|
|
27538
29486
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
27539
29487
|
*
|
|
27540
|
-
* Sets the position for listing
|
|
29488
|
+
* Sets the position for listing Projects.
|
|
27541
29489
|
*/
|
|
27542
|
-
cursor?:
|
|
29490
|
+
cursor?: ProjectWhereUniqueInput
|
|
27543
29491
|
/**
|
|
27544
29492
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
27545
29493
|
*
|
|
27546
|
-
* Take `±n`
|
|
29494
|
+
* Take `±n` Projects from the position of the cursor.
|
|
27547
29495
|
*/
|
|
27548
29496
|
take?: number
|
|
27549
29497
|
/**
|
|
27550
29498
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
27551
29499
|
*
|
|
27552
|
-
* Skip the first `n`
|
|
29500
|
+
* Skip the first `n` Projects.
|
|
27553
29501
|
*/
|
|
27554
29502
|
skip?: number
|
|
27555
|
-
distinct?:
|
|
29503
|
+
distinct?: ProjectScalarFieldEnum | ProjectScalarFieldEnum[]
|
|
27556
29504
|
}
|
|
27557
29505
|
|
|
27558
29506
|
/**
|
|
27559
|
-
*
|
|
29507
|
+
* Project create
|
|
27560
29508
|
*/
|
|
27561
|
-
export type
|
|
27562
|
-
/**
|
|
27563
|
-
* Select specific fields to fetch from the TeamMember
|
|
27564
|
-
*/
|
|
27565
|
-
select?: TeamMemberSelect<ExtArgs> | null
|
|
29509
|
+
export type ProjectCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27566
29510
|
/**
|
|
27567
|
-
*
|
|
29511
|
+
* Select specific fields to fetch from the Project
|
|
27568
29512
|
*/
|
|
27569
|
-
|
|
29513
|
+
select?: ProjectSelect<ExtArgs> | null
|
|
27570
29514
|
/**
|
|
27571
|
-
* The data needed to create a
|
|
29515
|
+
* The data needed to create a Project.
|
|
27572
29516
|
*/
|
|
27573
|
-
data: XOR<
|
|
29517
|
+
data: XOR<ProjectCreateInput, ProjectUncheckedCreateInput>
|
|
27574
29518
|
}
|
|
27575
29519
|
|
|
27576
29520
|
/**
|
|
27577
|
-
*
|
|
29521
|
+
* Project createMany
|
|
27578
29522
|
*/
|
|
27579
|
-
export type
|
|
29523
|
+
export type ProjectCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27580
29524
|
/**
|
|
27581
|
-
* The data used to create many
|
|
29525
|
+
* The data used to create many Projects.
|
|
27582
29526
|
*/
|
|
27583
|
-
data:
|
|
29527
|
+
data: ProjectCreateManyInput | ProjectCreateManyInput[]
|
|
27584
29528
|
}
|
|
27585
29529
|
|
|
27586
29530
|
/**
|
|
27587
|
-
*
|
|
29531
|
+
* Project createManyAndReturn
|
|
27588
29532
|
*/
|
|
27589
|
-
export type
|
|
29533
|
+
export type ProjectCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27590
29534
|
/**
|
|
27591
|
-
* Select specific fields to fetch from the
|
|
27592
|
-
*/
|
|
27593
|
-
select?: TeamMemberSelectCreateManyAndReturn<ExtArgs> | null
|
|
27594
|
-
/**
|
|
27595
|
-
* The data used to create many TeamMembers.
|
|
29535
|
+
* Select specific fields to fetch from the Project
|
|
27596
29536
|
*/
|
|
27597
|
-
|
|
29537
|
+
select?: ProjectSelectCreateManyAndReturn<ExtArgs> | null
|
|
27598
29538
|
/**
|
|
27599
|
-
*
|
|
29539
|
+
* The data used to create many Projects.
|
|
27600
29540
|
*/
|
|
27601
|
-
|
|
29541
|
+
data: ProjectCreateManyInput | ProjectCreateManyInput[]
|
|
27602
29542
|
}
|
|
27603
29543
|
|
|
27604
29544
|
/**
|
|
27605
|
-
*
|
|
29545
|
+
* Project update
|
|
27606
29546
|
*/
|
|
27607
|
-
export type
|
|
29547
|
+
export type ProjectUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27608
29548
|
/**
|
|
27609
|
-
* Select specific fields to fetch from the
|
|
27610
|
-
*/
|
|
27611
|
-
select?: TeamMemberSelect<ExtArgs> | null
|
|
27612
|
-
/**
|
|
27613
|
-
* Choose, which related nodes to fetch as well
|
|
29549
|
+
* Select specific fields to fetch from the Project
|
|
27614
29550
|
*/
|
|
27615
|
-
|
|
29551
|
+
select?: ProjectSelect<ExtArgs> | null
|
|
27616
29552
|
/**
|
|
27617
|
-
* The data needed to update a
|
|
29553
|
+
* The data needed to update a Project.
|
|
27618
29554
|
*/
|
|
27619
|
-
data: XOR<
|
|
29555
|
+
data: XOR<ProjectUpdateInput, ProjectUncheckedUpdateInput>
|
|
27620
29556
|
/**
|
|
27621
|
-
* Choose, which
|
|
29557
|
+
* Choose, which Project to update.
|
|
27622
29558
|
*/
|
|
27623
|
-
where:
|
|
29559
|
+
where: ProjectWhereUniqueInput
|
|
27624
29560
|
}
|
|
27625
29561
|
|
|
27626
29562
|
/**
|
|
27627
|
-
*
|
|
29563
|
+
* Project updateMany
|
|
27628
29564
|
*/
|
|
27629
|
-
export type
|
|
29565
|
+
export type ProjectUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27630
29566
|
/**
|
|
27631
|
-
* The data used to update
|
|
29567
|
+
* The data used to update Projects.
|
|
27632
29568
|
*/
|
|
27633
|
-
data: XOR<
|
|
29569
|
+
data: XOR<ProjectUpdateManyMutationInput, ProjectUncheckedUpdateManyInput>
|
|
27634
29570
|
/**
|
|
27635
|
-
* Filter which
|
|
29571
|
+
* Filter which Projects to update
|
|
27636
29572
|
*/
|
|
27637
|
-
where?:
|
|
29573
|
+
where?: ProjectWhereInput
|
|
27638
29574
|
}
|
|
27639
29575
|
|
|
27640
29576
|
/**
|
|
27641
|
-
*
|
|
29577
|
+
* Project upsert
|
|
27642
29578
|
*/
|
|
27643
|
-
export type
|
|
27644
|
-
/**
|
|
27645
|
-
* Select specific fields to fetch from the TeamMember
|
|
27646
|
-
*/
|
|
27647
|
-
select?: TeamMemberSelect<ExtArgs> | null
|
|
29579
|
+
export type ProjectUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27648
29580
|
/**
|
|
27649
|
-
*
|
|
29581
|
+
* Select specific fields to fetch from the Project
|
|
27650
29582
|
*/
|
|
27651
|
-
|
|
29583
|
+
select?: ProjectSelect<ExtArgs> | null
|
|
27652
29584
|
/**
|
|
27653
|
-
* The filter to search for the
|
|
29585
|
+
* The filter to search for the Project to update in case it exists.
|
|
27654
29586
|
*/
|
|
27655
|
-
where:
|
|
29587
|
+
where: ProjectWhereUniqueInput
|
|
27656
29588
|
/**
|
|
27657
|
-
* In case the
|
|
29589
|
+
* In case the Project found by the `where` argument doesn't exist, create a new Project with this data.
|
|
27658
29590
|
*/
|
|
27659
|
-
create: XOR<
|
|
29591
|
+
create: XOR<ProjectCreateInput, ProjectUncheckedCreateInput>
|
|
27660
29592
|
/**
|
|
27661
|
-
* In case the
|
|
29593
|
+
* In case the Project was found with the provided `where` argument, update it with this data.
|
|
27662
29594
|
*/
|
|
27663
|
-
update: XOR<
|
|
29595
|
+
update: XOR<ProjectUpdateInput, ProjectUncheckedUpdateInput>
|
|
27664
29596
|
}
|
|
27665
29597
|
|
|
27666
29598
|
/**
|
|
27667
|
-
*
|
|
29599
|
+
* Project delete
|
|
27668
29600
|
*/
|
|
27669
|
-
export type
|
|
29601
|
+
export type ProjectDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27670
29602
|
/**
|
|
27671
|
-
* Select specific fields to fetch from the
|
|
29603
|
+
* Select specific fields to fetch from the Project
|
|
27672
29604
|
*/
|
|
27673
|
-
select?:
|
|
29605
|
+
select?: ProjectSelect<ExtArgs> | null
|
|
27674
29606
|
/**
|
|
27675
|
-
*
|
|
29607
|
+
* Filter which Project to delete.
|
|
27676
29608
|
*/
|
|
27677
|
-
|
|
27678
|
-
/**
|
|
27679
|
-
* Filter which TeamMember to delete.
|
|
27680
|
-
*/
|
|
27681
|
-
where: TeamMemberWhereUniqueInput
|
|
29609
|
+
where: ProjectWhereUniqueInput
|
|
27682
29610
|
}
|
|
27683
29611
|
|
|
27684
29612
|
/**
|
|
27685
|
-
*
|
|
29613
|
+
* Project deleteMany
|
|
27686
29614
|
*/
|
|
27687
|
-
export type
|
|
29615
|
+
export type ProjectDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27688
29616
|
/**
|
|
27689
|
-
* Filter which
|
|
29617
|
+
* Filter which Projects to delete
|
|
27690
29618
|
*/
|
|
27691
|
-
where?:
|
|
29619
|
+
where?: ProjectWhereInput
|
|
27692
29620
|
}
|
|
27693
29621
|
|
|
27694
29622
|
/**
|
|
27695
|
-
*
|
|
29623
|
+
* Project without action
|
|
27696
29624
|
*/
|
|
27697
|
-
export type
|
|
29625
|
+
export type ProjectDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
27698
29626
|
/**
|
|
27699
|
-
* Select specific fields to fetch from the
|
|
29627
|
+
* Select specific fields to fetch from the Project
|
|
27700
29628
|
*/
|
|
27701
|
-
select?:
|
|
27702
|
-
/**
|
|
27703
|
-
* Choose, which related nodes to fetch as well
|
|
27704
|
-
*/
|
|
27705
|
-
include?: TeamMemberInclude<ExtArgs> | null
|
|
29629
|
+
select?: ProjectSelect<ExtArgs> | null
|
|
27706
29630
|
}
|
|
27707
29631
|
|
|
27708
29632
|
|
|
@@ -28135,6 +30059,28 @@ export namespace Prisma {
|
|
|
28135
30059
|
export type TeamMemberScalarFieldEnum = (typeof TeamMemberScalarFieldEnum)[keyof typeof TeamMemberScalarFieldEnum]
|
|
28136
30060
|
|
|
28137
30061
|
|
|
30062
|
+
export const EventLogScalarFieldEnum: {
|
|
30063
|
+
id: 'id',
|
|
30064
|
+
type: 'type',
|
|
30065
|
+
payload: 'payload',
|
|
30066
|
+
correlationId: 'correlationId',
|
|
30067
|
+
teamId: 'teamId',
|
|
30068
|
+
occurredAt: 'occurredAt'
|
|
30069
|
+
};
|
|
30070
|
+
|
|
30071
|
+
export type EventLogScalarFieldEnum = (typeof EventLogScalarFieldEnum)[keyof typeof EventLogScalarFieldEnum]
|
|
30072
|
+
|
|
30073
|
+
|
|
30074
|
+
export const ProjectScalarFieldEnum: {
|
|
30075
|
+
id: 'id',
|
|
30076
|
+
name: 'name',
|
|
30077
|
+
teamId: 'teamId',
|
|
30078
|
+
createdAt: 'createdAt'
|
|
30079
|
+
};
|
|
30080
|
+
|
|
30081
|
+
export type ProjectScalarFieldEnum = (typeof ProjectScalarFieldEnum)[keyof typeof ProjectScalarFieldEnum]
|
|
30082
|
+
|
|
30083
|
+
|
|
28138
30084
|
export const SortOrder: {
|
|
28139
30085
|
asc: 'asc',
|
|
28140
30086
|
desc: 'desc'
|
|
@@ -30327,6 +32273,110 @@ export namespace Prisma {
|
|
|
30327
32273
|
createdAt?: DateTimeWithAggregatesFilter<"TeamMember"> | Date | string
|
|
30328
32274
|
}
|
|
30329
32275
|
|
|
32276
|
+
export type EventLogWhereInput = {
|
|
32277
|
+
AND?: EventLogWhereInput | EventLogWhereInput[]
|
|
32278
|
+
OR?: EventLogWhereInput[]
|
|
32279
|
+
NOT?: EventLogWhereInput | EventLogWhereInput[]
|
|
32280
|
+
id?: StringFilter<"EventLog"> | string
|
|
32281
|
+
type?: StringFilter<"EventLog"> | string
|
|
32282
|
+
payload?: StringFilter<"EventLog"> | string
|
|
32283
|
+
correlationId?: StringNullableFilter<"EventLog"> | string | null
|
|
32284
|
+
teamId?: StringNullableFilter<"EventLog"> | string | null
|
|
32285
|
+
occurredAt?: DateTimeFilter<"EventLog"> | Date | string
|
|
32286
|
+
}
|
|
32287
|
+
|
|
32288
|
+
export type EventLogOrderByWithRelationInput = {
|
|
32289
|
+
id?: SortOrder
|
|
32290
|
+
type?: SortOrder
|
|
32291
|
+
payload?: SortOrder
|
|
32292
|
+
correlationId?: SortOrderInput | SortOrder
|
|
32293
|
+
teamId?: SortOrderInput | SortOrder
|
|
32294
|
+
occurredAt?: SortOrder
|
|
32295
|
+
}
|
|
32296
|
+
|
|
32297
|
+
export type EventLogWhereUniqueInput = Prisma.AtLeast<{
|
|
32298
|
+
id?: string
|
|
32299
|
+
AND?: EventLogWhereInput | EventLogWhereInput[]
|
|
32300
|
+
OR?: EventLogWhereInput[]
|
|
32301
|
+
NOT?: EventLogWhereInput | EventLogWhereInput[]
|
|
32302
|
+
type?: StringFilter<"EventLog"> | string
|
|
32303
|
+
payload?: StringFilter<"EventLog"> | string
|
|
32304
|
+
correlationId?: StringNullableFilter<"EventLog"> | string | null
|
|
32305
|
+
teamId?: StringNullableFilter<"EventLog"> | string | null
|
|
32306
|
+
occurredAt?: DateTimeFilter<"EventLog"> | Date | string
|
|
32307
|
+
}, "id">
|
|
32308
|
+
|
|
32309
|
+
export type EventLogOrderByWithAggregationInput = {
|
|
32310
|
+
id?: SortOrder
|
|
32311
|
+
type?: SortOrder
|
|
32312
|
+
payload?: SortOrder
|
|
32313
|
+
correlationId?: SortOrderInput | SortOrder
|
|
32314
|
+
teamId?: SortOrderInput | SortOrder
|
|
32315
|
+
occurredAt?: SortOrder
|
|
32316
|
+
_count?: EventLogCountOrderByAggregateInput
|
|
32317
|
+
_max?: EventLogMaxOrderByAggregateInput
|
|
32318
|
+
_min?: EventLogMinOrderByAggregateInput
|
|
32319
|
+
}
|
|
32320
|
+
|
|
32321
|
+
export type EventLogScalarWhereWithAggregatesInput = {
|
|
32322
|
+
AND?: EventLogScalarWhereWithAggregatesInput | EventLogScalarWhereWithAggregatesInput[]
|
|
32323
|
+
OR?: EventLogScalarWhereWithAggregatesInput[]
|
|
32324
|
+
NOT?: EventLogScalarWhereWithAggregatesInput | EventLogScalarWhereWithAggregatesInput[]
|
|
32325
|
+
id?: StringWithAggregatesFilter<"EventLog"> | string
|
|
32326
|
+
type?: StringWithAggregatesFilter<"EventLog"> | string
|
|
32327
|
+
payload?: StringWithAggregatesFilter<"EventLog"> | string
|
|
32328
|
+
correlationId?: StringNullableWithAggregatesFilter<"EventLog"> | string | null
|
|
32329
|
+
teamId?: StringNullableWithAggregatesFilter<"EventLog"> | string | null
|
|
32330
|
+
occurredAt?: DateTimeWithAggregatesFilter<"EventLog"> | Date | string
|
|
32331
|
+
}
|
|
32332
|
+
|
|
32333
|
+
export type ProjectWhereInput = {
|
|
32334
|
+
AND?: ProjectWhereInput | ProjectWhereInput[]
|
|
32335
|
+
OR?: ProjectWhereInput[]
|
|
32336
|
+
NOT?: ProjectWhereInput | ProjectWhereInput[]
|
|
32337
|
+
id?: StringFilter<"Project"> | string
|
|
32338
|
+
name?: StringFilter<"Project"> | string
|
|
32339
|
+
teamId?: StringNullableFilter<"Project"> | string | null
|
|
32340
|
+
createdAt?: DateTimeFilter<"Project"> | Date | string
|
|
32341
|
+
}
|
|
32342
|
+
|
|
32343
|
+
export type ProjectOrderByWithRelationInput = {
|
|
32344
|
+
id?: SortOrder
|
|
32345
|
+
name?: SortOrder
|
|
32346
|
+
teamId?: SortOrderInput | SortOrder
|
|
32347
|
+
createdAt?: SortOrder
|
|
32348
|
+
}
|
|
32349
|
+
|
|
32350
|
+
export type ProjectWhereUniqueInput = Prisma.AtLeast<{
|
|
32351
|
+
id?: string
|
|
32352
|
+
AND?: ProjectWhereInput | ProjectWhereInput[]
|
|
32353
|
+
OR?: ProjectWhereInput[]
|
|
32354
|
+
NOT?: ProjectWhereInput | ProjectWhereInput[]
|
|
32355
|
+
name?: StringFilter<"Project"> | string
|
|
32356
|
+
teamId?: StringNullableFilter<"Project"> | string | null
|
|
32357
|
+
createdAt?: DateTimeFilter<"Project"> | Date | string
|
|
32358
|
+
}, "id">
|
|
32359
|
+
|
|
32360
|
+
export type ProjectOrderByWithAggregationInput = {
|
|
32361
|
+
id?: SortOrder
|
|
32362
|
+
name?: SortOrder
|
|
32363
|
+
teamId?: SortOrderInput | SortOrder
|
|
32364
|
+
createdAt?: SortOrder
|
|
32365
|
+
_count?: ProjectCountOrderByAggregateInput
|
|
32366
|
+
_max?: ProjectMaxOrderByAggregateInput
|
|
32367
|
+
_min?: ProjectMinOrderByAggregateInput
|
|
32368
|
+
}
|
|
32369
|
+
|
|
32370
|
+
export type ProjectScalarWhereWithAggregatesInput = {
|
|
32371
|
+
AND?: ProjectScalarWhereWithAggregatesInput | ProjectScalarWhereWithAggregatesInput[]
|
|
32372
|
+
OR?: ProjectScalarWhereWithAggregatesInput[]
|
|
32373
|
+
NOT?: ProjectScalarWhereWithAggregatesInput | ProjectScalarWhereWithAggregatesInput[]
|
|
32374
|
+
id?: StringWithAggregatesFilter<"Project"> | string
|
|
32375
|
+
name?: StringWithAggregatesFilter<"Project"> | string
|
|
32376
|
+
teamId?: StringNullableWithAggregatesFilter<"Project"> | string | null
|
|
32377
|
+
createdAt?: DateTimeWithAggregatesFilter<"Project"> | Date | string
|
|
32378
|
+
}
|
|
32379
|
+
|
|
30330
32380
|
export type BuildCreateInput = {
|
|
30331
32381
|
id?: string
|
|
30332
32382
|
name?: string | null
|
|
@@ -32782,6 +34832,118 @@ export namespace Prisma {
|
|
|
32782
34832
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
32783
34833
|
}
|
|
32784
34834
|
|
|
34835
|
+
export type EventLogCreateInput = {
|
|
34836
|
+
id?: string
|
|
34837
|
+
type: string
|
|
34838
|
+
payload: string
|
|
34839
|
+
correlationId?: string | null
|
|
34840
|
+
teamId?: string | null
|
|
34841
|
+
occurredAt?: Date | string
|
|
34842
|
+
}
|
|
34843
|
+
|
|
34844
|
+
export type EventLogUncheckedCreateInput = {
|
|
34845
|
+
id?: string
|
|
34846
|
+
type: string
|
|
34847
|
+
payload: string
|
|
34848
|
+
correlationId?: string | null
|
|
34849
|
+
teamId?: string | null
|
|
34850
|
+
occurredAt?: Date | string
|
|
34851
|
+
}
|
|
34852
|
+
|
|
34853
|
+
export type EventLogUpdateInput = {
|
|
34854
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
34855
|
+
type?: StringFieldUpdateOperationsInput | string
|
|
34856
|
+
payload?: StringFieldUpdateOperationsInput | string
|
|
34857
|
+
correlationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
34858
|
+
teamId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
34859
|
+
occurredAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
34860
|
+
}
|
|
34861
|
+
|
|
34862
|
+
export type EventLogUncheckedUpdateInput = {
|
|
34863
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
34864
|
+
type?: StringFieldUpdateOperationsInput | string
|
|
34865
|
+
payload?: StringFieldUpdateOperationsInput | string
|
|
34866
|
+
correlationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
34867
|
+
teamId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
34868
|
+
occurredAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
34869
|
+
}
|
|
34870
|
+
|
|
34871
|
+
export type EventLogCreateManyInput = {
|
|
34872
|
+
id?: string
|
|
34873
|
+
type: string
|
|
34874
|
+
payload: string
|
|
34875
|
+
correlationId?: string | null
|
|
34876
|
+
teamId?: string | null
|
|
34877
|
+
occurredAt?: Date | string
|
|
34878
|
+
}
|
|
34879
|
+
|
|
34880
|
+
export type EventLogUpdateManyMutationInput = {
|
|
34881
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
34882
|
+
type?: StringFieldUpdateOperationsInput | string
|
|
34883
|
+
payload?: StringFieldUpdateOperationsInput | string
|
|
34884
|
+
correlationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
34885
|
+
teamId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
34886
|
+
occurredAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
34887
|
+
}
|
|
34888
|
+
|
|
34889
|
+
export type EventLogUncheckedUpdateManyInput = {
|
|
34890
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
34891
|
+
type?: StringFieldUpdateOperationsInput | string
|
|
34892
|
+
payload?: StringFieldUpdateOperationsInput | string
|
|
34893
|
+
correlationId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
34894
|
+
teamId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
34895
|
+
occurredAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
34896
|
+
}
|
|
34897
|
+
|
|
34898
|
+
export type ProjectCreateInput = {
|
|
34899
|
+
id?: string
|
|
34900
|
+
name: string
|
|
34901
|
+
teamId?: string | null
|
|
34902
|
+
createdAt?: Date | string
|
|
34903
|
+
}
|
|
34904
|
+
|
|
34905
|
+
export type ProjectUncheckedCreateInput = {
|
|
34906
|
+
id?: string
|
|
34907
|
+
name: string
|
|
34908
|
+
teamId?: string | null
|
|
34909
|
+
createdAt?: Date | string
|
|
34910
|
+
}
|
|
34911
|
+
|
|
34912
|
+
export type ProjectUpdateInput = {
|
|
34913
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
34914
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
34915
|
+
teamId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
34916
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
34917
|
+
}
|
|
34918
|
+
|
|
34919
|
+
export type ProjectUncheckedUpdateInput = {
|
|
34920
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
34921
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
34922
|
+
teamId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
34923
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
34924
|
+
}
|
|
34925
|
+
|
|
34926
|
+
export type ProjectCreateManyInput = {
|
|
34927
|
+
id?: string
|
|
34928
|
+
name: string
|
|
34929
|
+
teamId?: string | null
|
|
34930
|
+
createdAt?: Date | string
|
|
34931
|
+
}
|
|
34932
|
+
|
|
34933
|
+
export type ProjectUpdateManyMutationInput = {
|
|
34934
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
34935
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
34936
|
+
teamId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
34937
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
34938
|
+
}
|
|
34939
|
+
|
|
34940
|
+
export type ProjectUncheckedUpdateManyInput = {
|
|
34941
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
34942
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
34943
|
+
teamId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
34944
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
34945
|
+
}
|
|
34946
|
+
|
|
32785
34947
|
export type StringFilter<$PrismaModel = never> = {
|
|
32786
34948
|
equals?: string | StringFieldRefInput<$PrismaModel>
|
|
32787
34949
|
in?: string[]
|
|
@@ -34399,6 +36561,54 @@ export namespace Prisma {
|
|
|
34399
36561
|
createdAt?: SortOrder
|
|
34400
36562
|
}
|
|
34401
36563
|
|
|
36564
|
+
export type EventLogCountOrderByAggregateInput = {
|
|
36565
|
+
id?: SortOrder
|
|
36566
|
+
type?: SortOrder
|
|
36567
|
+
payload?: SortOrder
|
|
36568
|
+
correlationId?: SortOrder
|
|
36569
|
+
teamId?: SortOrder
|
|
36570
|
+
occurredAt?: SortOrder
|
|
36571
|
+
}
|
|
36572
|
+
|
|
36573
|
+
export type EventLogMaxOrderByAggregateInput = {
|
|
36574
|
+
id?: SortOrder
|
|
36575
|
+
type?: SortOrder
|
|
36576
|
+
payload?: SortOrder
|
|
36577
|
+
correlationId?: SortOrder
|
|
36578
|
+
teamId?: SortOrder
|
|
36579
|
+
occurredAt?: SortOrder
|
|
36580
|
+
}
|
|
36581
|
+
|
|
36582
|
+
export type EventLogMinOrderByAggregateInput = {
|
|
36583
|
+
id?: SortOrder
|
|
36584
|
+
type?: SortOrder
|
|
36585
|
+
payload?: SortOrder
|
|
36586
|
+
correlationId?: SortOrder
|
|
36587
|
+
teamId?: SortOrder
|
|
36588
|
+
occurredAt?: SortOrder
|
|
36589
|
+
}
|
|
36590
|
+
|
|
36591
|
+
export type ProjectCountOrderByAggregateInput = {
|
|
36592
|
+
id?: SortOrder
|
|
36593
|
+
name?: SortOrder
|
|
36594
|
+
teamId?: SortOrder
|
|
36595
|
+
createdAt?: SortOrder
|
|
36596
|
+
}
|
|
36597
|
+
|
|
36598
|
+
export type ProjectMaxOrderByAggregateInput = {
|
|
36599
|
+
id?: SortOrder
|
|
36600
|
+
name?: SortOrder
|
|
36601
|
+
teamId?: SortOrder
|
|
36602
|
+
createdAt?: SortOrder
|
|
36603
|
+
}
|
|
36604
|
+
|
|
36605
|
+
export type ProjectMinOrderByAggregateInput = {
|
|
36606
|
+
id?: SortOrder
|
|
36607
|
+
name?: SortOrder
|
|
36608
|
+
teamId?: SortOrder
|
|
36609
|
+
createdAt?: SortOrder
|
|
36610
|
+
}
|
|
36611
|
+
|
|
34402
36612
|
export type SessionCreateNestedManyWithoutBuildInput = {
|
|
34403
36613
|
create?: XOR<SessionCreateWithoutBuildInput, SessionUncheckedCreateWithoutBuildInput> | SessionCreateWithoutBuildInput[] | SessionUncheckedCreateWithoutBuildInput[]
|
|
34404
36614
|
connectOrCreate?: SessionCreateOrConnectWithoutBuildInput | SessionCreateOrConnectWithoutBuildInput[]
|
|
@@ -38901,6 +41111,14 @@ export namespace Prisma {
|
|
|
38901
41111
|
* @deprecated Use TeamMemberDefaultArgs instead
|
|
38902
41112
|
*/
|
|
38903
41113
|
export type TeamMemberArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = TeamMemberDefaultArgs<ExtArgs>
|
|
41114
|
+
/**
|
|
41115
|
+
* @deprecated Use EventLogDefaultArgs instead
|
|
41116
|
+
*/
|
|
41117
|
+
export type EventLogArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = EventLogDefaultArgs<ExtArgs>
|
|
41118
|
+
/**
|
|
41119
|
+
* @deprecated Use ProjectDefaultArgs instead
|
|
41120
|
+
*/
|
|
41121
|
+
export type ProjectArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = ProjectDefaultArgs<ExtArgs>
|
|
38904
41122
|
|
|
38905
41123
|
/**
|
|
38906
41124
|
* Batch Payload for updateMany & deleteMany & createMany
|